Next Article in Journal
Association between Polymorphism in the Janus Kinase 2 (JAK2) Gene and Selected Performance Traits in Cattle and Sheep
Next Article in Special Issue
Chinese Herbal Extracts Mitigate Ammonia Generation in the Cecum of Laying Hens: An In Vitro Study
Previous Article in Journal
Effect of Ferulic Acid on Semen Quality of Goat Bucks during Liquid Storage at 17 °C
Previous Article in Special Issue
Profitability and Cost Analysis for Contract Broiler Production in Turkey
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Application of Mamdani Fuzzy Inference System in Poultry Weight Estimation

1
Department of Agricultural Structures and Irrigation, Ondokuz Mayıs University, Samsun 55139, Türkiye
2
Department of Agricultural and Biological Engineering, Purdue University, West Lafayette, IN 47907, USA
*
Author to whom correspondence should be addressed.
Animals 2023, 13(15), 2471; https://doi.org/10.3390/ani13152471
Submission received: 30 May 2023 / Revised: 19 July 2023 / Accepted: 28 July 2023 / Published: 31 July 2023
(This article belongs to the Collection Current Advances in Poultry Research)

Abstract

:

Simple Summary

With the rapid technological advances, the application of artificial intelligence (AI) has witnessed significant growth in the agricultural industry, specifically in the poultry sector. The use of AI in estimating poultry weight can significantly impact production economics and overall efficiency in the poultry sector. Therefore, this paper presents an innovative AI approach based on the fuzzy logic (FL) method for estimating poultry weight. The FL models were created using expert knowledge and key input variables such as indoor temperature, humidity, and feed consumption. This study’s findings demonstrate that FL-based methods exhibit great promise for achieving accurate and efficient poultry weight estimation. Integrating the FL technique in the poultry industry can bring numerous benefits, including improved decision-making processes, enhanced efficiency, and reduced costs.

Abstract

Traditional manual weighing systems for birds on poultry farms are time-consuming and may compromise animal welfare. Although automatic weighing systems have been introduced as an alternative, they face limitations in accurately estimating the weight of heavy birds. Therefore, exploring alternative methods that offer improved efficiency and precision is necessary. One promising solution lies in the application of AI, which has the potential to revolutionize various aspects of poultry production and management, making it an indispensable tool for the modern poultry industry. This study aimed to develop an AI approach based on the FL model as a viable solution for estimating poultry weight. By incorporating expert knowledge and considering key input variables such as indoor temperature, indoor humidity, and feed consumption, FL-based models were developed with different configurations using Mamdani inferences and evaluated across eight different rearing periods in Samsun, Türkiye. This study’s results demonstrated the effectiveness of FL-based models in estimating poultry weight. The models achieved varying average absolute error values across different age groups of broilers, ranging from 0.02% to 5.81%. These findings suggest that FL-based methods hold promise for accurate and efficient poultry weight estimation. This study opens up avenues for further research in the field, encouraging the exploration of FL-based approaches for improved poultry weight estimation in poultry farming operations.

1. Introduction

The increasing world population is expected to pose significant challenges for meeting the growing food demand in the coming years [1,2]. Poultry meat production has proven to be a crucial factor in meeting this demand due to its ability to efficiently produce high-quality protein, making it a key player in the global food system [3]. The world’s chicken meat production has been continuously expanding since 2015 and reached 102 million tons in 2022 due to its affordable prices and superior quality nutrition [4]. Although projected to rise more slowly in the future than in the past decade, poultry meat is expected to continue to be the primary growth driver for meat production [5].
The physical growth attributes of poultry, including their size and body weight, are crucial factors in evaluating the efficiency of poultry production [6]. This evaluation involves comparing the amount of feed consumed with the measured weight of the birds. It is also essential for flock managers to know the average weight and weight range at slaughter to select and slaughter broilers accurately. Accurate weight estimation of poultry is crucial for efficiently managing poultry farming operations. Poultry farming is essential for the livestock industry, providing a significant portion of the world’s meat products. With the rapid expansion of poultry enterprises to meet the growing demand for meat products, the importance of monitoring the weight of poultry has increased significantly [7].
The most common method of measuring weight is a manual process that is labor-intensive, compromises chicken welfare, and can lead to lower quality and yield and even death of the birds [8]. Automatic weighing systems in modern poultry houses weigh birds where they volunteer, but heavier birds are less likely to visit the platform, making it difficult to determine their weight accurately [9]. To overcome such challenges, researchers have developed weight estimation models [10,11] but rely on empirical formulas based on linear regressions that may not fully capture the complex and nonlinear relations among factors that influence bird weight [12]. Therefore, alternative approaches are needed to improve the accuracy and reliability of weight estimation in poultry.
FL offers a promising alternative approach to poultry weight estimation, as it is capable of handling uncertain and imprecise data while capturing complex, nonlinear relations among variables. The methodology of FL involves utilizing a set of linguistic rules to generate an output by combining various input variables [13]. The primary objective of this approach is to establish a common linguistic platform that links a set of words, representing qualitative assessments provided by an expert, to a numerical set, representing quantitative data. This process aims to bridge the gap between qualitative and quantitative information, thereby facilitating a more comprehensive analysis and informed decision making [14].
By integrating expert knowledge and experience, FL systems enhance the accuracy of weight estimation, even when dealing with incomplete or uncertain data. This ability to account for uncertainty and vagueness in the data makes FL a valuable tool for poultry weight estimation, allowing for more reliable results in practical applications [15].
Accurate weight estimation is critical to optimizing production efficiency, minimizing waste, and ensuring profitability. The use of FL poultry weight estimation systems can help meet the increasing demand for food by improving production capacity and quality in the poultry industry. In this study, an AI model for poultry weight prediction was developed using an FL approach based on this premise.

Literature Review, Research Questions, and Contributions of the Study

AI techniques for poultry management have gained popularity worldwide due to their ability to accurately model complex relations among various factors [15,16,17,18,19]. These techniques can handle imprecise and uncertain data and adapt to changing conditions, making them a powerful tool in poultry production [19,20,21].
The poultry industry is an important sector in Türkiye, and the demand for poultry products is rapidly increasing [22]. However, AI techniques for poultry weight estimation are not yet widely used in Türkiye. By adopting AI techniques, including FL expert systems, for poultry weight estimation, the Turkish poultry industry can remain competitive and sustainable in the long term, especially as the demand for poultry products continues to increase worldwide.
The systematic application of FL is essential for solving complicated real-life problems, especially for decision making. From a human perspective, tools are needed to manage subjective information, while from a data processing perspective, precise definitions are required to facilitate decision making. However, humans can work with vague, imprecise, and linguistic definitions commonly observed in the real world. Therefore, the inclusion of FL enables handling such complex, uncertain, and imprecise information and can improve the accuracy and reliability of decision-making processes [15,23,24,25].
The literature presents numerous studies that utilize various AI techniques for modeling poultry production data. For example, the authors of [26] implemented a three-layer feedforward artificial neural network to predict body weight in broiler chickens. In ref. [27], the author employed neural network models to predict the growth of broiler chickens over the next 50 days using actual growth data. In the research of [28], a novel approach was proposed for modeling the growth of broiler chickens by introducing a differential recurrent neural network. The researchers in [29] explored the feasibility of analyzing the growth of chickens using a radial basis function neural network approach. In ref. [30], the author developed an artificial neural network model that effectively established the relations between the input and output variables of feed intake, weight gain, and feed conversion ratio. In the investigation of [31], dynamic neural network forecasting models were trained on farm-scale broiler batch production data from 12 batches within the same house. These models were used to forecast future broiler weight while incorporating environmental conditions such as heating, ventilation, temperature, and behavioral factors like feed and water consumption. The study’s findings indicated that the model successfully captured the dynamic interconnection between environmental conditions and broiler growth, highlighting the model’s ability to accurately predict the future growth patterns of broilers based on the provided inputs. The authors of [32] demonstrated that their neural network model achieved satisfactory performance in predicting the feed conversion of broilers under heat stress.
These studies have contributed significantly to our understanding; however, to the best of our knowledge, this study is a pioneering study that, for the first time, reports the use of FL systems for estimating broiler weights in poultry buildings. Particularly, this study addresses the following research questions: (1) What is the predictive ability of FL systems in estimating bird weights in poultry houses? (2) What is the effect of the different defuzzification methods in the developed FL model for weight estimation? (3) What potential impact will the developed FL model have on the poultry industry? Various research methods were used to address these research questions. After conducting the literature survey and finding the research gaps, the main contribution of the current work will be to provide a novel method for estimating the broiler weights in poultry buildings based on an FL approach.
The remaining sections of the article are organized as follows: Section 2 describes the methodology proposed in the study, detailing the approach for estimating broiler weights in poultry buildings. Section 3 presents the results obtained from implementing the proposed methodology. It includes the findings related to broiler weight estimation using the FL systems and any additional analyses. The discussion section (Section 4) analyzes and interprets the results obtained. It provides insights into the implications of the findings, explores potential limitations faced during the study, and compares the outcomes with previous research. Section 5 summarizes the main findings of the study and highlights their significance. Additionally, it offers recommendations for future research directions.

2. Materials and Methods

2.1. Experimental Building and Data

The research was conducted at a commercial broiler farm located in Samsun, Türkiye (41°70′ N, 36°30′ E). The farm had the dimensions of 90 m in length, 14 m in width, and 3.80 m in height. Chickens from the “Ross 308” breeding stock were reared until they reached 40–42 days of age. The farm utilized an automatic control system to regulate ventilation, heating, lighting, feeding, and watering. Chicken weights and feed consumption were recorded weekly over eight rearing seasons. The statistical parameters of indoor temperature, indoor relative humidity, feed consumption, and chicken weights are shown in Table 1.

2.2. Fuzzy Logic (FL)

FL was introduced by ref. [33] in the 1960s as a mathematical framework for dealing with uncertainty and ambiguity in decision making. FL extends classical (crisp) set theory by allowing degrees of membership or truth values between 0 and 1 rather than just binary membership (either 0 or 1), as in classical set theory [33].
FL is an expert system composed of fuzzification, knowledge base, inference engine, and defuzzifier parts [34,35]:
Fuzzifier: It converts crisp input values (e.g., numerical values) into fuzzy values, representing degrees of membership in fuzzy sets. The fuzzifier takes input values and maps them to fuzzy sets using membership functions, which define the shape of the fuzzy sets and determine how input values are transformed into fuzzy values.
Knowledge Base: It contains the fuzzy rules and the associated fuzzy sets. Fuzzy rules are typically expressed in the form of “If–Then” statements, where the antecedent (input) part consists of fuzzy sets and the consequent (output) part consists of fuzzy sets or crisp values. The knowledge base stores these rules, which are used for making decisions or performing actions based on the fuzzy input values.
Inference Engine: It is responsible for applying the fuzzy rules to the fuzzy input values to determine the fuzzy output values. The inference engine uses FL operations, such as AND, OR, and NOT, to combine the fuzzy sets and perform fuzzy reasoning. The result is a set of fuzzy output values representing the degrees of membership in fuzzy sets for the output variables.
Defuzzifier: It is responsible for converting the fuzzy output values into crisp output values. The defuzzifier takes the fuzzy output values and maps them back to crisp values using various methods, such as centroid, mean of maximum, or weighted average. The crisp output values represent the final decisions or actions based on the fuzzy input values and the fuzzy rules.

2.3. Fuzzification

Membership functions are determined as the initial step in designing a Mamdani fuzzy inference system (MFIS), considering the fact that fuzzy inputs are used [36]. The membership functions can take different functional forms to represent different degrees of fuzziness, such as linear, concave, and exponential forms. Among these, the linear triangular and linear trapezoidal membership functions are commonly used in many studies [37].
A triangular fuzzy number is defined by a membership function that assigns membership degrees to values within a certain range (Figure 1a). The membership function for a triangular fuzzy number with the triplet (a, b, c) can be described as follows:
μ A x = x a o r   x c ; 0 a < x < b ; ( x a ) / ( b a ) b < x < c ; ( c x ) / ( c b ) x = b ; 1
A trapezoidal fuzzy number is characterized by a membership function that assigns membership degrees to values within a specific range (Figure 1b). The membership function for a trapezoidal fuzzy number with the vertices (a, b, c, d) can be defined as follows:
μ A x = x a   o r x d ; 0 a < x < b ; ( x a ) / ( b a ) c < x < d ; ( d x ) / ( d c ) b x c ; 1

2.4. Fuzzy Rule Base

The establishment of rules holds a central position within a fuzzy inference system (FIS). These rules are typically expressed using linguistic terms, offering a more intuitive representation compared to numerical terms. The commonly adopted format for these rules is the “If–Then” structure, which applies well to implementing fuzzy conditional statements. The utilization of ‘‘If–Then’’ rules is crucial because they provide a means to effectively capture and embody human expertise and knowledge within a fuzzy framework [38]. When it comes to deriving fuzzy rules, various approaches exist, including integrating expert knowledge and applying fuzzy modeling techniques. The present study implemented a fuzzy model by defining a set of fuzzy linguistic rules based on expert knowledge.

2.5. Inference Engine and Defuzzification

The fuzzy interface engine is an essential component of an FL system that processes the inputs and applies the rules to produce a meaningful output. It combines the linguistic variables and fuzzy sets identified in the previous steps to make a decision.
The integration process combines the individual fuzzy areas determined in the previous step to generate the overall fuzzy conclusion. This process involves aggregating the fuzzy sets, considering the weights assigned to each rule and output fuzzy set.
The fuzzy inference process used in this step typically employs the “min–max inference” method. This method uses the minimum and maximum operators to determine the degree of membership of the output variable in the fuzzy sets. The minimum operator is used to find the degree of membership of the input variable in the corresponding fuzzy set, while the maximum operator is used to determine the degree of membership of the output variable in the fuzzy set associated with the rule [39].
The result of the integration step is a fuzzy conclusion that provides an output value or a range of values. This output value is then defuzzified to obtain a crisp value that can be used as the final decision or as an input to another system. There are several popular defuzzification approaches, including the center of area method (COA), the bisector of area method (BOA), the mean of maximum method (MOM), the smallest of maximum method (SOM), and the largest of maximum method (LOM) [40]. This paper used these defuzzification methods to prove the model’s validity. The predictive abilities of these methods were investigated according to the coefficient of determination (R2), mean absolute error (MAE), and root mean square error (RMSE). The equations are defined below:
R 2 = i = 1 n ( X m e a X m e a , a v g ) ( X e s t X e s t , a v g ) i = 1 n ( X m e a X m e a , a v g ) 2 i = 1 n ( X e s t X e s t , a v g ) 2
M A E = i = 1 n ( X m e a X e s t ) n
R M S E = i = 1 n ( X m e a X e s t ) 2 n
In addition, the prediction of the MFIS model was made according to the absolute percentage error (APE) as follows:
A P E = X m e a X e s t X m e a × 100
where Xmea is the measured value of variables, Xest is the estimated value of variables, and Xmea,avg and Xest,avg are the measured and estimated average values of variables, respectively. n is the sample number.

3. Results

The determination of membership functions is a critical step in developing an accurate and reliable FIS. It requires expert knowledge, careful analysis, and sound judgment. This paper used triangular and trapezoidal membership functions due to their simplicity and good computational efficiency. We employed five fuzzy sets of membership functions for the inputs and outputs of the MFIS (FIS 1, FIS 2, FIS 3, FIS 4, FIS 5, and FIS 6). The fuzzy sets were represented in the form of linguistic rating variables, such as ‘‘Very Low’’, ‘‘Low’’, ‘‘Medium’’, ‘‘High’’, and ‘‘Very High’’ for the weeks of the rearing period, as shown in Table 2. The memberships of the inputs and output of the MFIS are illustrated in Figure 2 and Figure 3, respectively.
These membership functions helped in converting numeric variables into linguistic terms. For example, some linguistic expressions and membership functions of FIS1 obtained from the developed rules were given as follows:
For indoor temperature (ti): Very Low (VL) and Medium (M) linguistic variables,
μ V L ( t i ) = 23 t i 25 ; 1 25 < t i < 27 ; ( 27 t i ) / 2 t i 27 ; 0 μ V L ( t i ) = 1.00 25.00 + 0.90 25.20 + + 0.50 26.00 + + 0.10 26.80 + 0.00 27.00
μ M ( t i ) = t i 27 o r t i 31 ; 0 27 < t i < 29 ; ( t i 27 ) / 2 29 < t i < 31 ; ( 31 t i ) / 2 t i = 29 ; 1 μ M ( t i ) = 0.00 27.00 + 0.10 27.20 + + 1.00 29.00 + + 0.10 30.80 + 0.00 31.00
For indoor relative humidity (rhi): Low (L) and High (H) linguistic variables,
μ L ( r h i ) = r h i 40 o r r h i 60 ; 0 40 < r h i < 50 ; ( r h i 40 ) / 10 50 < r h i < 60 ; ( 60 r h i ) / 10 r h i = 50 ; 1 μ L ( r h i ) = 0.00 40.00 + 0.10 41.00 + + 1.00 50.00 + + 0.10 59.00 + 0.00 60.00
μ H ( r h i ) = r h i 60 o r r h i 80 ; 0 60 < r h i < 70 ; ( r h i 60 ) / 10 70 < r h i < 80 ; ( 80 r h i ) / 10 r h i = 70 ; 1 μ H ( r h i ) = 0.00 60.00 + 0.10 61.00 + + 1.00 70.00 + + 0.10 79.00 + 0.00 80.00
For feed consumption (fc): Medium (L) and Very High (VH) linguistic variables,
μ M ( f c ) = f c 160 o r f c 200 ; 0 160 < f c < 180 ; ( f c 160 ) / 20 180 < f c < 200 ; ( 200 f c ) / 20 f c = 180 ; 1 μ M ( f c ) = 0.00 160.00 + 0.10 162.00 + + 1.00 170.00 + + 0.10 198.00 + 0.00 200.00
μ V H ( f c ) = f c 200 ; 0 200 < f c < 220 ; ( f c 200 ) / 20 220 f c 260 ; 1 μ V H ( f c ) = 0.00 200.00 + 0.10 202.00 + + 0.50 210.00 + + 0.90 218.00 + 1.00 220.00
For weight (wa): Very Low (VL) and Very High (VH) linguistic variables,
μ V L ( w a ) = 100 w a 140 ; 1 140 < w a < 160 ; ( 160 w a ) / 20 w a 160 ; 0 μ V L ( w a ) = 1.00 140.00 + 0.90 142.00 + + 0.50 150.00 + + 0.10 158.00 + 0.00 160.00
μ V H ( w a ) = w a 200 ; 0 200 < w a < 220 ; ( w a 200 ) / 20 220 w a 260 ; 1 μ V H ( w a ) = 0.00 200.00 + 0.10 202.00 + + 0.50 210.00 + + 0.90 218.00 + 1.00 220.00
After determining the fuzzy sets in the form of linguistic rating variables, the next step was to establish rules based on expert knowledge. In this case, a total of 97 possible rules were formed from the six FISs: 10 rules for FIS1, 20 rules for FIS2, 15 rules for FIS3, 15 rules for FIS4, 17 rules for FIS5, and 20 rules for FIS6. For example, if the indoor temperature is “Low”, indoor relative humidity is “Low”, and feed consumption is also “Very Low”, then the weight for FIS1 output is “Very Low”. Another example of a rule is, if the indoor temperature is “Medium”, indoor relative humidity is “Medium”, and feed consumption is also “Very High”, then the weight for FIS6 output is “High”. However, since there were too many rules to display, only some of the dominant rules in the proposed model are listed in Table 3.
In the last step of the MFIS, a defuzzification process was performed to obtain crisp values. We applied various defuzzification methods, including COA, BOA, MOM, SOM, and LOM, to demonstrate the model’s validity. The R2, RMSE, and MAE results of these models are presented in Figure 4a–c. These figures indicate that the COA defuzzification method outperformed the others based on the R2, RMSE, and MAE criteria. The BOA, MOM, and SOM methods followed closely behind, while the LOM method was the least accurate model. Therefore, the COA method was used for the defuzzification process in further experiments.
The measured and estimated broiler weight values and their corresponding APE values are presented in Table 4. The APE values for FIS1, FIS2, FIS3, FIS4, FIS5, and FIS6 ranged between 0.02–5.78%, 0.21–5.81%, 0.12–4.84%, 0.41–4.29%, 0.15–3.66%, and 0.37–2.47%, respectively, depending on the season.
Figure 5 illustrates box plots that depict the distribution of the data. As shown in the figure, the measured weight values ranged from 146 g to 2666 g, while the estimated values ranged from 154.4 g to 2649.83 g. The data indicated that the MFIS models exhibited higher accuracy in predicting broiler weight.

4. Discussion

Physical growth characteristics are critical factors that determine the efficiency of poultry production. Body weight is a crucial indicator of overall poultry health and development and is a key factor in determining the market value of poultry [6]. Traditional methods of measuring poultry weight can compromise bird welfare and may even lead to lower quality and yield or death [8]. FL represents a promising alternative approach to poultry weight estimation that can handle uncertain and imprecise data while modeling complex, nonlinear relations among variables.
AI models for poultry growth prediction offer several advantages over traditional methods, including faster predictions, greater accessibility, and the ability to simultaneously analyze a wide range of variables [20,41,42]. However, it is crucial to handle the data appropriately to ensure that the model’s predictions are accurate and unbiased.
The application of AI models in poultry growth prediction is expanding. For instance, in the investigation of [17], the utilization of AI models with various training inputs resulted in a prediction accuracy of growth and body weight in broiler chickens ranging from 98% to 99%. In another study, conducted for ref. [26], the AI approach appeared highly satisfactory, and the performance was very high, at approximately 99%. This level of performance was deemed acceptable by broiler researchers. The authors of [43] aimed to enhance the prediction of live weight using various artificial neural network techniques, such as Bayesian regulation, Levenberg–Marquardt, scaled conjugate gradient, and gradient descent. Among these, Bayesian regulation exhibited the best performance with an R2 value of 0.98 for predicting broiler weight. Ref. [27] utilized various neural network models to forecast the growth of broiler chickens for a subsequent 50 days, based on actual growth data. The study concluded that differences between the response of the neural network models and the actual poultry could be attributed to a variety of factors, including the pattern of the data, the examples used for training and testing, the architecture of the network, and the training process of each model.
These above-mentioned studies can provide valuable insights into the factors that influence poultry growth and help producers optimize their operations for greater efficiency and profitability. However, no study has been conducted about using FL systems to estimate poultry building broiler weights. This paper introduces a novel FL-based approach for estimating broiler weights in poultry buildings. The proposed method achieved mean absolute percentage errors (MAPEs) of 2.83%, 2.95%, 2.52%, 2.08%, 2.03%, and 1.20% based on rearing weeks, demonstrating its effectiveness. Similarly, in the studies conducted by the authors [44,45], neural networks achieved MAPEs ranging from 1.32% to 1.99% and 1.83% to 4.07%, respectively, for biological growth modeling. These findings highlight the potential of neural networks as an alternative approach to regression analysis for accurately modeling biological growth processes.
FL-based models have several limitations, despite their usefulness in handling uncertainty and imprecision. Foremost among them, these models can become highly complex, especially when dealing with multiple input variables and numerous linguistic rules. The more complex the system becomes, the more difficult it can become to interpret and manage it effectively. Moreover, building an accurate FL model often requires expert input to refine the linguistic variables and membership functions. However, eliciting expert knowledge can be time-consuming and subjective, leading to biases in the model. Like other AI models, FL models are also prone to overfitting if the training data does not adequately represent the entire domain. Overfitting can lead to poor generalization and inaccurate predictions. Despite these limitations, FL remains a valuable tool for certain problems, especially in the presence of uncertainty and vagueness, and when expert knowledge is readily available to build a useful model.
While this study produced noteworthy results, it is important to consider its limitations. Specifically, this study only focused on researching the use of FL for weight estimation. Future studies should explore practical approaches for the automatic weight estimation of live broiler chickens using machine vision and FL, which could have significant implications for the poultry industry.

5. Conclusions

Accurately estimating poultry body weight is a critical task for the poultry industry, as it directly affects farm management and profitability. To this end, researchers have explored various approaches to estimating poultry body weight, including traditional methods and advanced AI techniques. This research introduces a novel technique for the weight estimation of broiler chickens utilizing an FL approach. The developed Mamdani FL model was evaluated using different defuzzification methods to obtain the best results, with the COA method ultimately used for the defuzzification process. The FL models (FIS1, FIS2, FIS3, FIS4, FIS5, and FIS6) showed APE values (%) ranged between 0.02–5.78, 0.21–5.81, 0.12–4.84, 0.41–4.29, 0.15–3.66, and 0.37–2.47, respectively, depending on the season.
These results suggest that FL systems with Mamdani inference, which include triangular and trapezoidal membership functions of input–output variables and COA defuzzification, have potential for accurately and efficiently estimating the weight of poultry and could pave the way for further research in this field. However, there is still room for further research to develop more accurate and practical methods for automatic weight estimation of live broiler chickens using machine vision. By exploring innovative approaches, the poultry industry can continue to improve its management practices and ensure the optimal growth and productivity of poultry flocks.

Author Contributions

Conceptualization, E.K. and B.C.; methodology, B.C. and H.S.; software, E.K. and B.C.; formal analysis, E.K. and H.S.; data curation, E.K. and B.C.; writing—original draft preparation, E.K., B.C. and H.S.; writing—review and editing, B.C. and H.S.; visualization, E.K. and H.S.; supervision, B.C. and H.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Scientific and Technological Research Council of Turkey, TUBITAK (215O650), and the Ondokuz Mayıs University Scientific Research Projects Department (PYO.ZRT.1901.18.018).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data presented in this study are available on request from the corresponding author.

Acknowledgments

The authors would also like to express thanks for the help and contributions of Mehmet KURAN.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Berckmans, D. Precision livestock farming technologies for welfare management in intensive livestock systems. Rev. Sci. Tech. 2014, 33, 189–196. [Google Scholar] [CrossRef]
  2. Gerland, P.; Raftery, A.E.; Ševčíková, H.; Li, N.; Gu, D.; Spoorenberg, T.; Alkema, L.; Fosdick, B.K.; Chunn, J.; Lalic, N. World population stabilization unlikely this century. Science 2014, 346, 234–237. [Google Scholar] [CrossRef] [Green Version]
  3. Okinda, C.; Lu, M.; Liu, L.; Nyalala, I.; Muneri, C.; Wang, J.; Zhang, H.; Shen, M. A machine vision system for early detection and prediction of sick birds: A broiler chicken model. Biosyst. Eng. 2019, 188, 229–242. [Google Scholar] [CrossRef]
  4. USDA. Livestock and Poultry: World Markets and Trade. Available online: https://apps.fas.usda.gov/psdonline/circulars/livestock_poultry.pdf (accessed on 20 April 2023).
  5. Chowdhury, M.A.H.; Ashrafudoulla, M.; Mevo, S.I.U.; Mizan, M.F.R.; Park, S.H.; Ha, S.D. Current and future interventions for improving poultry health and poultry food safety and security: A comprehensive review. Compr. Rev. Food Sci. Food Saf. 2023, 22, 1555–1596. [Google Scholar] [CrossRef]
  6. Mortensen, A.K.; Lisouski, P.; Ahrendt, P. Weight prediction of broiler chickens using 3D computer vision. Comput. Electron. Agric. 2016, 123, 319–326. [Google Scholar] [CrossRef]
  7. Nyalala, I.; Okinda, C.; Kunjie, C.; Korohou, T.; Nyalala, L.; Chao, Q. Weight and volume estimation of poultry and products based on computer vision systems: A review. Poult. Sci. 2021, 100, 101072. [Google Scholar] [CrossRef]
  8. Wang, L.; Sun, C.; Li, W.; Ji, Z.; Zhang, X.; Wang, Y.; Lei, P.; Yang, X. Establishment of broiler quality estimation model based on depth image and BP neural network. Trans. Chin. Soc. Agric. Eng. 2017, 33, 199–205. [Google Scholar]
  9. Chedad, A.; Aerts, J.-M.; Vranken, E.; Lippens, M.; Zoons, J.; Berckmans, D. Do heavy broiler chickens visit automatic weighing systems less than lighter birds? Br. Poult. Sci. 2003, 44, 663–668. [Google Scholar] [CrossRef]
  10. Momoh, O.; Kershima, D. Linear body measurements as predictors of body weight in Nigerian local chickens. ASSET Int. J. Ser. A 2010, 8, 206–212. [Google Scholar]
  11. Narinç, D.; Narinç, N.Ö.; Aygün, A. Growth curve analyses in poultry science. World Poult. Sci. J. 2017, 73, 395–408. [Google Scholar] [CrossRef]
  12. Assan, N. Bioprediction of body weight and carcass parameters from morphometric measurements in livestock and poultry. Sci. J. Rev. 2013, 2, 140–150. [Google Scholar]
  13. Zadeh, L.A. Fuzzy logic. Computer 1988, 21, 83–93. [Google Scholar] [CrossRef]
  14. Birle, S.; Hussein, M.; Becker, T. Fuzzy logic control and soft sensing applications in food and beverage processes. Food Control 2013, 29, 254–269. [Google Scholar] [CrossRef]
  15. Cardiel-Ortega, J.J.; Baeza-Serrato, R. Failure mode and effect analysis with a Fuzzy Logic approach. Systems 2023, 11, 348. [Google Scholar] [CrossRef]
  16. Küçüktopcu, E.; Cemek, B. Comparison of neuro-fuzzy and neural networks techniques for estimating ammonia concentration in poultry farms. J. Environ. Chem. Eng. 2021, 9, 105699. [Google Scholar] [CrossRef]
  17. Milosevic, B.; Ciric, S.; Lalic, N.; Milanovic, V.; Savic, Z.; Omerovic, I.; Doskovic, V.; Djordjevic, S.; Andjusic, L. Machine learning application in growth and health prediction of broiler chickens. World Poult. Sci. J. 2019, 75, 401–410. [Google Scholar] [CrossRef]
  18. Okinda, C.; Nyalala, I.; Korohou, T.; Okinda, C.; Wang, J.; Achieng, T.; Wamalwa, P.; Mang, T.; Shen, M. A review on computer vision systems in monitoring of poultry: A welfare perspective. Artif. Intell. Agric. 2020, 4, 184–208. [Google Scholar] [CrossRef]
  19. Wu, D.; Cui, D.; Zhou, M.; Ying, Y. Information perception in modern poultry farming: A review. Comput. Electron. Agric. 2022, 199, 107131. [Google Scholar] [CrossRef]
  20. Bao, J.; Xie, Q. Artificial intelligence in animal farming: A systematic literature review. J. Clean. Prod. 2022, 331, 129956. [Google Scholar] [CrossRef]
  21. Ojo, R.O.; Ajayi, A.O.; Owolabi, H.A.; Oyedele, L.O.; Akanbi, L.A. Internet of Things and Machine Learning techniques in poultry health and welfare management: A systematic literature review. Comput. Electron. Agric. 2022, 200, 107266. [Google Scholar] [CrossRef]
  22. Küçüktopcu, E.; Cemek, B. Evaluating the influence of turbulence models used in computational fluid dynamics for the prediction of airflows inside poultry houses. Biosyst. Eng. 2019, 183, 1–12. [Google Scholar] [CrossRef]
  23. Chen, G.; Pham, T.T.; Boustany, N. Introduction to fuzzy sets, fuzzy logic, and fuzzy control systems. Appl. Mech. Rev. 2001, 54, B102–B103. [Google Scholar] [CrossRef] [Green Version]
  24. Zadeh, L.A. The concept of a linguistic variable and its application to approximate reasoning—I. Inf. Sci. 1975, 8, 199–249. [Google Scholar] [CrossRef]
  25. Alojaiman, B. A Multi-Criteria Decision-Making Process for the Selection of an Efficient and Reliable IoT Application. Processes 2023, 11, 1313. [Google Scholar] [CrossRef]
  26. Moharrery, A.; Kargar, A. Artificial Neural Network for prediction of plasma hormones, liver enzymes and performance in broilers. J. Anim. Feed Sci. 2007, 16, 293. [Google Scholar] [CrossRef] [Green Version]
  27. Ahmad, H. Poultry growth modeling using neural networks and simulated data. J. Appl. Poult. Res. 2009, 18, 440–446. [Google Scholar] [CrossRef]
  28. Demmers, T.G.; Cao, Y.; Gauss, S.; Lowe, J.C.; Parsons, D.J.; Wathes, C.M. Neural predictive control of broiler chicken growth. IFAC Proc. Vol. 2010, 43, 311–316. [Google Scholar] [CrossRef]
  29. Ahmadi, H.; Golian, A. Growth analysis of chickens fed diets varying in the percentage of metabolizable energy provided by protein, fat, and carbohydrate through artificial neural network. Poult. Sci. 2010, 89, 173–179. [Google Scholar] [CrossRef]
  30. Ghazanfari, S. Application of Linear Regression and Artificial NeuralNetwork for Broiler Chicken Growth Performance Prediction. Iran J. Appl. Anim. Sci. 2014, 4, 411–416. [Google Scholar]
  31. Johansen, S.V.; Bendtsen, J.D.; Martin, R.; Mogensen, J. Data driven broiler weight forecasting using dynamic neural network models. IFAC-Pap. 2017, 50, 5398–5403. [Google Scholar] [CrossRef]
  32. Pedrozo Abreu, L.H.; Yanagi Junior, T.; Bahuti, M.; Lima, R.R.d.; Lourençoni, D.; Fassani, É.J. Performance of broilers submitted to different intensities and duration of thermal stress. Dyna 2019, 86, 131–137. [Google Scholar] [CrossRef] [Green Version]
  33. Zadeh, L.A. Fuzzy sets. Inf. Control 1965, 8, 338–353. [Google Scholar] [CrossRef] [Green Version]
  34. Rahimi, H.; Nazemizadeh, M. Dynamic analysis and intelligent control techniques for flexible manipulators: A review. Adv. Robot. 2014, 28, 63–76. [Google Scholar] [CrossRef]
  35. Castillo, O.; Melin, P. A review on interval type-2 fuzzy logic applications in intelligent control. Inf. Sci. 2014, 279, 615–631. [Google Scholar] [CrossRef]
  36. Mamdani, E.H.; Assilian, S. An experiment in linguistic synthesis with a fuzzy logic controller. Int. J. Man-Mach. Stud. 1975, 7, 1–13. [Google Scholar] [CrossRef]
  37. Chen, C.-M. A fuzzy-based decision-support model for rebuy procurement. Int. J. Prod. Econ. 2009, 122, 714–724. [Google Scholar] [CrossRef]
  38. Bottani, E.; Gentilotti, M.C.; Rinaldi, M. A fuzzy logic-based tool for the assessment of corporate sustainability: A case study in the food machinery industry. Sustainability 2017, 9, 583. [Google Scholar] [CrossRef] [Green Version]
  39. El Jaouhari, A.; El Bhilat, E.M.; Arif, J. Scrutinizing IoT applicability in green warehouse inventory management system based on Mamdani fuzzy inference system: A case study of an automotive semiconductors industrial firm. J. Ind. Prod. Eng. 2023, 40, 87–101. [Google Scholar] [CrossRef]
  40. Klir, G.J.; St. Clair, U.; Yuan, B. Fuzzy Set Theory: Foundations and Applications; Prentice-Hall, Inc.: Upper Saddle River, NJ, USA, 1997. [Google Scholar]
  41. Franzo, G.; Legnardi, M.; Faustini, G.; Tucciarone, C.M.; Cecchinato, M. When Everything Becomes Bigger: Big Data for Big Poultry Production. Animals 2023, 13, 1804. [Google Scholar] [CrossRef]
  42. Leishman, E.; You, J.; Ferreira, N.; Adams, S.; Tulpan, D.; Zuidhof, M.; Gous, R.; Jacobs, M.; Ellis, J. When worlds collide–Poultry modelling in the ‘Big Data’era. Animal 2023, 100874. [Google Scholar] [CrossRef]
  43. Amraei, S.; Abdanan Mehdizadeh, S.; Salari, S. Broiler weight estimation based on machine vision and artificial neural network. Br. Poult. Sci. 2017, 58, 200–205. [Google Scholar] [CrossRef] [PubMed]
  44. Küçüktopcu, E.; Cemek, B. Comparative analysis of artificial intelligence and nonlinear models for broiler growth curve. Int. J. Agric. Wild. Sci. 2021, 7, 515–523. [Google Scholar] [CrossRef]
  45. Roush, W.; Dozier, W., 3rd; Branton, S. Comparison of Gompertz and neural network models of broiler growth. Poult. Sci. 2006, 85, 794–797. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. (a) Triangular and (b) trapezoidal membership functions.
Figure 1. (a) Triangular and (b) trapezoidal membership functions.
Animals 13 02471 g001
Figure 2. Membership functions for inputs.
Figure 2. Membership functions for inputs.
Animals 13 02471 g002
Figure 3. Membership functions for output.
Figure 3. Membership functions for output.
Animals 13 02471 g003
Figure 4. (a) R2, (b) MAE, and (c) RMSE values of the different defuzzification methods.
Figure 4. (a) R2, (b) MAE, and (c) RMSE values of the different defuzzification methods.
Animals 13 02471 g004aAnimals 13 02471 g004b
Figure 5. Box plot—measured vs. estimated (MFIS).
Figure 5. Box plot—measured vs. estimated (MFIS).
Animals 13 02471 g005
Table 1. The statistical parameters of the inputs and output data.
Table 1. The statistical parameters of the inputs and output data.
InputsOutput
Seasons
(Dates)
StatisticsTemperature
(ti, °C)
Relative
Humidity
(rhi, %)
Feed
Consumption
(fc, g)
Chicken
Weight
(wa, g)
S1
(3 February 2018
16 March 2018)
Minimum20.9057.03189190
Maximum29.9564.4042842380
Mean24.9662.221885.501233.83
S2
(9 April 2018
20 May 2018)
Minimum21.1455.43170164
Maximum30.5669.9540872400
Mean25.8163.111851.331234.33
S3
(12 June 2018
22 July 2018)
Minimum25.9658.43186182
Maximum30.1870.7743822420
Mean27.1865.632021.501320.17
S4
(9 November 2018
19 December 2018)
Minimum20.1156.45155158
Maximum29.7673.2942392420
Mean24.5268.661841.831186.83
S5
(9 January 2019
19 February 2019)
Minimum20.1958.00169174
Maximum29.5574.0044082666
Mean24.3165.042008.831366.17
S6
(14 March 2019
29 April 2019)
Minimum20.3656.43223213
Maximum30.1074.4343492660
Mean24.5667.052007.671414.83
S7
(16 July 2019
26 August 2019)
Minimum23.0655.70185196
Maximum30.7073.4148122640
Mean26.3963.7222091391.67
S8
(11 September 2019
23 October 2019)
Minimum20.4556.64150146
Maximum28.8785.8641022350
Mean25.3970.481796.501183.50
Table 2. Linguistic terms for inputs and output for weeks of the rearing periods.
Table 2. Linguistic terms for inputs and output for weeks of the rearing periods.
Fuzzy
Set
WeeksLinguistic
Terms
InputsOutput
ti, °Crhi, %fc, gwa, g
FIS1W1Very Low (VL)23–2730–50100–160100–160
Low (L)25–2940–60140–180140–180
Medium (M)27–3150–70160–200160–200
High (H)29–3360–80180–220180–220
Very High (VH)31–3570–100200–260200–260
Very Low (VL)20–2430–50250–400250–400
Low (L)22–2640–60350–450350–450
FIS2W2Medium (M)24–2850–70400–500400–500
High (H)26–3060–80450–550450–550
Very High (VH)28–3270–100500–650500–650
Very Low (VL)18–2230–501000–1175700–875
Low (L)20–2440–601100–1250800–950
FIS3W3Medium (M)22–2650–701175–1325875–1025
High (H)24–2860–801250–1400950–1100
Very High (VH)26–3070–1001325–15001025–1200
Very Low (VL)18–2130–501800–20001250–1375
Low (L)19.5–22.540–601900–21001300–1450
FIS4W4Medium (M)21–2450–702000–22001375–1525
High (H)22.5–25.560–802100–23001450–1600
Very High (VH)24–2870–1002200–25001525–1700
Very Low (VL)18–20.530–503000–32001750–1950
Low (L)19–2240–603100–33001850–2050
FIS5W5Medium (M)20.5–23.550–703200–34001950–2150
High (H)22–2560–803300–35002050–2250
Very High (VH)23.5–2770–1003400–37002150–2400
Very Low (VL)16.0–18.530–504000–43002250–2375
Low (L)17.0–20.040–604150–44502300–2450
FIS6W6Medium (M)18.5–21.550–704300–46002375–2525
High (H)20.0–23.060–804450–47502450–2600
Very High (VH)21.5–26.070–1004600–49002525–2750
Table 3. Some implemented if–then rules.
Table 3. Some implemented if–then rules.
MFISRulesIfThen
tirhifcwa
FIS11LowLowVery LowVery Low
2MediumMediumMediumMedium
10MediumMediumVery HighVery High
FIS211MediumMediumVery LowVery Low
12MediumLowVery HighHigh
30HighHighLowLow
FIS331MediumMediumLowLow
32MediumMediumMediumHigh
45MediumLowVery LowVery Low
FIS446HighMediumMediumLow
47MediumHighHighHigh
60Very HighHighVery LowVery Low
FIS561MediumHighVery HighVery High
62LowMediumLowLow
77HighMediumMediumMedium
FIS678LowMediumLowMedium
79MediumMediumVery HighVery High
97HighVery HighLowLow
Table 4. Summary of the measured and estimated broiler weight values.
Table 4. Summary of the measured and estimated broiler weight values.
Fuzzy SetsWeeksSeasonsMeasuredEstimatedAPE (%)
FIS1W1S1190.00189.700.16
S2164.00170.513.97
S3182.00189.714.24
S4158.00163.053.20
S5174.00170.442.05
S6213.00212.950.02
S7196.00189.733.20
S8146.00154.445.78
FIS2W2S1499.00469.995.81
S2469.00469.990.21
S3532.00524.991.32
S4378.00367.772.71
S5484.00469.982.90
S6553.00565.272.22
S7546.00524.973.85
S8392.00410.004.59
FIS3W3S1948.00919.912.96
S2931.00950.002.04
S31177.001130.833.92
S4869.00870.000.12
S51024.001073.524.84
S61101.001069.942.82
S71085.001118.433.08
S8802.00805.120.39
FIS4W4S11397.001367.682.10
S21466.001460.000.41
S31536.001520.001.04
S41400.001460.004.29
S51588.001631.582.74
S61689.001631.243.42
S71580.001600.001.27
S81379.001359.821.39
FIS5W5S11989.001967.761.07
S21976.002001.931.31
S32074.002070.800.15
S41896.001965.443.66
S52261.002200.032.70
S62273.002200.073.21
S72303.002353.532.19
S82032.002071.791.96
FIS6W6S12380.002392.080.51
S22400.002379.140.87
S32420.002404.990.62
S42420.002390.111.24
S52666.002600.052.47
S62660.002600.052.25
S72640.002649.830.37
S82350.002379.411.25
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Küçüktopçu, E.; Cemek, B.; Simsek, H. Application of Mamdani Fuzzy Inference System in Poultry Weight Estimation. Animals 2023, 13, 2471. https://doi.org/10.3390/ani13152471

AMA Style

Küçüktopçu E, Cemek B, Simsek H. Application of Mamdani Fuzzy Inference System in Poultry Weight Estimation. Animals. 2023; 13(15):2471. https://doi.org/10.3390/ani13152471

Chicago/Turabian Style

Küçüktopçu, Erdem, Bilal Cemek, and Halis Simsek. 2023. "Application of Mamdani Fuzzy Inference System in Poultry Weight Estimation" Animals 13, no. 15: 2471. https://doi.org/10.3390/ani13152471

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop