Next Article in Journal
PolarBearVidID: A Video-Based Re-Identification Benchmark Dataset for Polar Bears
Previous Article in Journal
Locomotion as a Measure of Well-Being in Captive Chimpanzees (Pan troglodytes)
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

The Development of Smart Dairy Farm System and Its Application in Nutritional Grouping and Mastitis Prediction

1
College of Animal Science and Technology, Beijing University of Agriculture, Beijing 102206, China
2
Department of Computer and Information Engineering, Beijing University of Agriculture, Beijing 102206, China
*
Author to whom correspondence should be addressed.
These authors contributed equally to this work.
Animals 2023, 13(5), 804; https://doi.org/10.3390/ani13050804
Submission received: 15 December 2022 / Revised: 4 February 2023 / Accepted: 11 February 2023 / Published: 23 February 2023
(This article belongs to the Section Animal Nutrition)

Abstract

:

Simple Summary

This study combined Internet of Things technology with dairy farm management to set up a smart dairy farm system (SDFS). All kinds of data in the dairy farm will be intelligently captured by various sensors and transmitted to the SDFS in time for corresponding integration analysis. Nutritional grouping was demonstrated to improve production performance and methane and carbon dioxide emission reduction, which is also a hotspot of concern for the public and scientific research. The information from dairy herd improvement (DHI) analysis was used to predict the incidence of mastitis in dairy cows, which would lead to a new way to predict individual mastitis. By fully interpreting the hidden value of dairy farm data, SDFS could help in the better management of dairy farms and promote the application of intelligent systems in dairy farm production.

Abstract

In order to study the smart management of dairy farms, this study combined Internet of Things (IoT) technology and dairy farm daily management to form an intelligent dairy farm sensor network and set up a smart dairy farm system (SDFS), which could provide timely guidance for dairy production. To illustrate the concept and benefits of the SDFS, two application scenarios were sampled: (1) Nutritional grouping (NG): grouping cows according to the nutritional requirements by considering parities, days in lactation, dry matter intake (DMI), metabolic protein (MP), net energy of lactation (NEL), etc. By supplying feed corresponding to nutritional needs, milk production, methane and carbon dioxide emissions were compared with those of the original farm grouping (OG), which was grouped according to lactation stage. (2) Mastitis risk prediction: using the dairy herd improvement (DHI) data of the previous 4 lactation months of the dairy cows, logistic regression analysis was applied to predict dairy cows at risk of mastitis in successive months in order to make suitable measurements in advance. The results showed that compared with OG, NG significantly increased milk production and reduced methane and carbon dioxide emissions of dairy cows (p < 0.05). The predictive value of the mastitis risk assessment model was 0.773, with an accuracy of 89.91%, a specificity of 70.2%, and a sensitivity of 76.3%. By applying the intelligent dairy farm sensor network and establishing an SDFS, through intelligent analysis, full use of dairy farm data would be made to achieve higher milk production of dairy cows, lower greenhouse gas emissions, and predict in advance the occurrence of mastitis of dairy cows.

1. Introduction

With the rapid development of modern science and technology and the continuous improvement of communication technology, the development and application of the Internet of Things (IoT) have gradually been penetrating every aspect of life [1]. It is estimated that there would be about 2.5 billion bytes of data every day, which is beyond the capacity of human computing. Artificial intelligence (AI), big data, and machine learning (ML) emerged as the times require [2]. Traditional agriculture has gradually entered the era of intelligent agriculture after the era of mechanization and automation [3]. Smart animal husbandry combines farm management with technologies such as IoT, 5G, ML, and AI to improve the production level of animal husbandry and promote profound changes in animal husbandry [4,5]. Smart dairy farming is a specific application of animal husbandry intelligence, and it is also the mainstream trend in the modernization of dairy farms. Nowadays, ever more dairy farms are covered with large areas of 5G networks and sensors [6]. Precise feeding is performed regularly and quantitatively using automated technology [7], and dairy farms are managed automatically and intelligently using technologies such as automatic ventilation and drainage [8] and air quality detection [9]. Dairy farms generate more and more data while the dairy farm scale expands [10]. For example, radio frequency identification technology is used to recognize individual dairy cows and obtain information such as the location and body temperature [11]. Different models (Wood model, Ali Schaeffer model, etc.) are used to predict 305d milk yield of cows and then evaluate the effect of genetic evaluation of dairy cows [12]. The movement of dairy cows can be precisely calculated by a collar monitoring system to reveal whether animals are in heat [13]. Different data streams represent different information, and most have their own collection and analysis systems. Most dairy farms are not able to effectively utilize data streams from different sources to extract their full value. Determining how to effectively integrate and utilize these data streams for dairy farm management has become a challenge [14]. Studies have shown that the management of the entire farm can be improved by integrating these data streams in real time, which in turn enables data-driven decision making on the farm [15,16].
In China, almost every large dairy farm has 2–3 management systems. The levels of dairy farm management systems are uneven and there is no well-recognized system that can efficiently integrate different sources of data flow and propose corresponding improvement measures for dairy farms. In order to solve this problem, we developed a system for data collection, processing, and analysis, namely a smart dairy farm system (SDFS), and illustrated the concept of the SDFS through two application scenarios: (1) nutritional grouping of dairy cows through cluster analysis for precise nutritional management, improving milk production and reducing greenhouse gas (GHG) emissions; (2) risk prediction of dairy cow mastitis through logistic regression to identify the dairy cows with mastitis risk in order to take measurements in advance. Through the overall analysis of dairy farm data, the SDFS could make better use of dairy farm data and improve the management level of dairy farms. However, farm data are a huge treasure, and the data used in this paper are only a part of the huge data of farms, so we need to constantly excavate, analyze, and interpret the data behind the farms and constantly promote the application of intelligent systems in farm production management.

2. Materials and Methods

2.1. SDFS Establishment and Data Collection

2.1.1. Setup of SDFS

A dairy farm in the Beijing area with a herd of 2500 cows, including 1256 lactating cows, was selected. The dairy farm is designed with an intelligent sensor network structure, and dairy farm managers can achieve remote and precise monitoring and control via computer and mobile phone. The dairy farm was equipped with a large number of diversified intelligent devices for cow monitoring and management, such as radio frequency identification (RFID) electronic ear tags [17]. A weighing system is combined with RFID technology to obtain the weight information of individual cows, which is sent to a management computer, providing management staff with basic information for the management of cattle farms. The farm also has a total mixed ration (TMR) precision feeding system [18] and unmanned aerial vehicle (UAV) photography system [19]. The installation of sensors for monitoring temperature, humidity, wind speed, and GHGs (such as methane (CH4) and carbon dioxide (CO2)) [20] enables the monitoring of environmental parameters in the dairy farm (Figure 1). The dairy farm data are transmitted to the computer terminal of the SDFS (as a database) through sensors, and the relevant data can be extracted from the database for advanced analysis and visual presentation. The system enables the timely collection and analysis of data collected by the dairy farm sensor network. The SDFS includes automatic monthly reports, annual reports, growth performance, DHI data, reproductive performance, individual cow value display and analysis, nitrogen and phosphorus emissions, and GHG emissions. Two application examples (nutrient grouping and mastitis prediction) ae used below to illustrate the application of the SDFS.

2.1.2. Data Collection in Dairy Farm

The data collected mainly included the following: (1) individual information: cattle pedigree information, body weight, appearance score, body condition score, etc.; (2) farm information: farm location, stalls, cattle barns, environment, etc.; (3) cattle management: recording routine events in herds, such as heat, insemination, calving, and disease prevention and control events; (4) feed: including diet composition, average delivery and feed residues per day, and dry matter intake (DMI); (5) dairy herd improvement (DHI) parameters: milk yield, milk fat percentage, milk protein percentage, fat/protein ratio, milk fat content, milk protein content, and somatic cell count (SCC) were recorded on monthly test days [21].

2.2. Application Scene of Smart Dairy Farm System

2.2.1. Nutrition Grouping

Based on the individual cow information, DMI, and DHI data collected by the SDFS, Nutrient Dynamic System Professional Software (NDS, developed by Rum&n srl), which adopted the Cornell Net Carbohydrate and Protein System (CNCPS6.55) [22], was used to calculate metabolic protein (MP) and metabolic energy (ME) as two of references for nutritional grouping. Two hundred seventy lactating cows were divided into 9 pens by cluster analysis as the nutritional group (NG). The control groups were assigned to 9 pens with 30 cows in each pen according to the original grouping (OG; divided according to milk production of cows) method in the farm, in which cows were grouped according to lactation stages. The corresponding diets calculated by NDS were provided for each pen (Table 1 and Table 2). Since the monitoring of methane and carbon dioxide is greatly influenced by the environment, space, and air flow, the stability of the data detected by this sensor needs to be further improved. Therefore, the methane and carbon dioxide data in this study mainly used the predicted value of CNCPS system, and the stability was guaranteed to a certain extent [23]. N intake was calculated and CH4 and CO2 emissions were also estimated by NDS [24].

2.2.2. Mastitis Prediction

The mastitis prediction was carried out using the original DHI records of the dairy farm from 1 January 2019 to 31 December 2021. In general, SCC greater than 200,000/mL was used as the criterion for subclinical mastitis in dairy cows [25]. From the original DHI records, records without SCC were deleted. Due to the skewed distribution of the SCC values and the heterogeneous variance, SCC was first transformed into somatic cell score (SCS), which was close to a normal distribution, before the subsequent analysis [26]. The conversion formula was as follows:
SCS = log2(SCC/100000) + 3.
To improve the accuracy of model predictions, the values of SCS ranging from 0 to 10 were used [27]. According to the SCC values, cows were divided into a healthy group and a mastitis risk group (Table 3). According to the SCC in DHI data, when SCC ≤ 200,000/mL, it indicates a healthy condition; when 200,000/mL < SCC ≤ 500,000/mL, it indicates subclinical mastitis, when SCC > 500,000/mL, it indicates clinical mastitis [28]. In this paper, both subclinical and clinical mastitis were named as the mastitis risk group.
Altogether, 2555 DHI records were used for regression analysis. The following independent variables were chosen: parity, days in milk (DIM), and milk indicators of the previous four lactation months (milk yield, milk protein percentage, milk fat percentage, lactose percentage, fat/protein ratio). A training set (70%) and a validation set (30%) were created from the collected data. The training set was used to filter the independent variables (equation 1) by bidirectional elimination stepwise regression. The parameters with statistically significant effects on the prediction of mastitis in dairy cows were obtained (Table 4), and corresponding coefficients were substituted into the logistic regression equation for further analysis using the validation set:
logit ( P ) = log ( P 1 P ) = β 0 + β 1 X 1 + β 2 X 2 + β 3 X 3 + β 4 X 4 + ... β 26 X 26
where P represents the probability of positive results; 1 − P represents the probability of non-positive results. P 1 P is the strength of the disease as a statistical indicator, called the odds ratio (OR), used to estimate the effect of the independent variable on disease. X1 is parity, X2–X5 represent the amount of milk produced during the first 1–4 lactation months, X6–X9 represent milk fat percentage in the first 1–4 lactation months, X10–X13 represent the protein rate of the first 1–4 lactation months, X14–X17 represent lactose rate in the first 1–4 lactation months, X18–X21 represent the fat-to-egg ratio of the first 1–4 lactation months, X22–X26 represent the natural months of the first 1–5 lactation months; β0 is a constant, and β1–β26 are the regression coefficients of each variable (X1–X26).
The receiver operating characteristic (ROC) curve was plotted to reflect the prediction accuracy of predictive variables in the dairy cow mastitis risk assessment model. The X-axis is specificity (percentage of healthy cows that tested negative) and the Y-axis is sensitivity (the percentage of risk cows that correctly tested positive), The area under the curve (AUC) was calculated. An AUC of the prediction model between 0.50 and 0.70 indicates that the effect is average, an AUC between 0.70 and 0.90 is considered to indicate a good model, and an AUC higher than 0.90 is considered to indicate an excellent model [29,30].

2.3. Statistical Analysis

First of all, the data were preliminarily sorted using Excel and SPSS 21.0.
Cluster analysis was performed using the hclust function in the stats package of Rx64 (version 4.0.5) for nutritional parameters (milk production, parity, DIM, MP, ME, etc.).
For mastitis prediction, the DHI data were analyzed using ANOVA in SPSS 21.0. Logistic regression analysis was performed using the general linear model (GLM) function, and the ROC curve was drawn using the PROC package of Rx64 software.

3. Results

3.1. Application of SDFS

3.1.1. Nutrient Grouping

As shown in Table 5, compared with OG, the milk production of NG increased significantly (p < 0.05), except that the milk production in the mid-lactation group of the second parity was not significantly different. In general, the use of NG can significantly improve the milk yield of dairy cows at the same stage.
As shown in Table 6, the N intake of dairy cows in NG was higher than that in OG; N production and N efficiency in NG were highly significantly increased than that in OG (p < 0.01). Compared to OG, overall N efficiency in NG increased by 1.98%. Generally speaking, the N intake of cows increased after NG treatment.
The GHG emissions are shown in Table 7. CH4 and CO2 emissions of dairy cows in NG were lower than those in OG. In general, the use of NG resulted in a decrease in dairy cow methane and carbon dioxide emissions.

3.1.2. Mastitis Prediction

The risk factors related to mastitis in the experimental dairy farm are shown in Table 8. OR values indicated the fitting degree of the model was good (Hosmer–Lemeshow (p > 0.05)). The results showed that milk yield in the second lactation month (p < 0.05), fat percentage in the first and third lactation months (p < 0.05), and natural month in the fifth lactation month (p < 0.05) had significant effects on mastitis risk in dairy cows. The predictive value of the mastitis risk assessment model was 0.773. The accuracy was 89.9%, the specificity was 70.2%, and the sensitivity was 76.3% (Figure 2).

4. Discussion

Recently, the utilization of 5G and IoT technology has become a major trend in the development of animal husbandry [31]. This study formed a large sensing network by applying the concept of precision animal husbandry and installing various types of equipment on dairy farms. Data are collected through various sensors, and IoT facilitates the transmission of data from the network to the SDFS for data analysis, forming the basis for the transformation of intelligent dairy farms into smart management.

4.1. Nutrition Grouping

Currently, most dairy farms usually only consider the lactation stage when grouping cows to determine feed ration, resulting in less accurate feed nutrition on dairy farms [32]. Studies have shown that grouping dairy cows according to their actual nutritional needs can increase the utilization rate of N in the diet [33], and milk production, so as to reduce GHG emissions [34].
In this study, for dairy cows in NG, milk production significantly increased (p < 0.05). The dairy cows with different needs were fed different TMR formulations, which greatly improved the N efficiency and increased milk production. This is in agreement with the results of Cabrera et al. [35]. Nutritional grouping of dairy cows could improve the nutritional accuracy of diet, prevent nutrient loss, reduce dietary costs, and increase milk production.
Nutritional grouping had better theoretical nutritional accuracy, thereby reducing nutritional loss due to dietary and environmental influences [36]. GHG emissions (CH4, N2O, CO2) are currently a research hotspot all over the world [37,38]. In this study, dairy cows in NG had CH4 and CO2 emissions lower than those in OG, and the N efficiency increased by 1.98% on average. Kalalantari et al. [39]. reported an increase in N efficiency by 2.7% when cows were divided into multiple nutritional groups and fed with an average MP lower than requirements. The methane emission also decreased. The reason for this discrepancy could be that the authors fully considered the cow’s body weight (BW), BCS (the range of 2.0–4.5 to ensure the accuracy of the model), and NEL in their study, while in this study these factors were not in consideration. Therefore, the nutritional grouping of lactating dairy cows can fully consider the physical condition and nutritional needs of dairy cows and provide different diets for different groups to better meet the nutritional needs of dairy cows and lower GHG emissions [40].

4.2. Smart Prediction of Mastitis

As dairy cows produce ever more milk, cow mastitis has been becoming one of the most important diseases that restrict the development of the global dairy industry [41]. It is estimated that economic losses due to mastitis in dairy cows account for 38% of the total direct cost of common production diseases on dairy farms [42]. Risk assessment and timely prevention of mastitis in cows are essential to ensure the health of cows and the consistent improvement of raw milk quality [43].
Recent studies on mastitis prediction have focused on factors such as year, month, and farm [44,45]. Individual information about cows has not been taken into account, making the prediction less practical. This study screened the factors that could predict the mastitis risk in the fifth lactation month based on the previous four lactation months using DHI data of individual cows. The milk yield in the second lactation month and fat percentage in the first and third lactation months were influential risk factors for mastitis and could accurately predict the risk of mastitis in the fifth lactation month. In this way, the incidence of mastitis in the dairy farm could be predicted two months in advance. This is expected to have a certain guiding significance for dairy farms.
The ROC curve is a comprehensive representation of a model’s accuracy. Sensitivity and specificity are indispensable indicators that reflect authenticity [46]. The area under the curve (AUC) is the diagnostic value of the model. The larger the area is, the better the diagnostic performance of the model is [47]. The predictive specificity of this study was similar to Cavero’s predictive specificity (74.9%), which was calculated for mastitis prediction using data from 478 cows from neural networks and automated milking systems [18]. Sun et al. [48] reported a result of 87% true positives using artificial neural networks, which was similar to this study. The predictive value of this study was lower than the predictive value (AUC) of 0.93 reported by Jadhav et al. [49] based on a 214-cow dataset. This may be due to the authors using more variables such as mammary and bedding hygiene and milking methods in their study. In practice, bedding hygiene status, teat shape, and udder hygiene also affect the occurrence of mastitis in dairy cows, interfering with the accuracy of individual dairy cow mastitis risk assessment [50].
However, the prediction process could be always developing. With continuous accumulation and aggregation of more data and real-time data streams, the accuracy of model prediction could be improved over time. According to logistic regression and ROC curve description, we can find the risk indicators of dairy mastitis. Significantly, this equation does not apply to all cases; our team is still studying further, hoping to find a general equation that can be updated automatically by continuously merging the past data to detect the incidence of cow disease in time.

5. Conclusions

This study combined IoT technology with dairy farm management to set up an SDFS. All kinds of data in the dairy farm will be intelligently captured by various sensors and transmitted to the SDFS in time for corresponding integration analysis. The applications of the SDFS were demonstrated in two aspects. NG according to the nutritional needs of dairy cows could improve nutritional accuracy, thus leading to increased milk production and N efficiency and reduced CH4 and CO2 emissions, so as to mitigate the environmental impacts. A mastitis prediction model was established using DHI data to identify potential cows at risk of mastitis in advance, thus reducing economic losses. By fully interpreting the hidden value of dairy farm data, the SDFS could help in the better management of dairy farms and promote the application of intelligent systems in dairy farm production. At present, our data mining of dairy farms is not comprehensive enough; we still need to continue to work hard.

Author Contributions

Conceptualization, K.G.; data curation, T.H. and J.Z.; formal analysis, J.Z. and X.Z.; funding acquisition, K.G.; investigation, T.H. and X.Z.; methodology, T.H. and J.Z.; project administration, K.G.; supervision, K.G.; validation, Y.C., R.Z. and K.G.; writing—original draft, T.H.; writing—review and editing, T.H., J.Z., X.Z., Y.C., R.Z. and K.G. All authors have read and agreed to the published version of the manuscript.

Funding

This work was conducted with financial support from the Beijing innovation team of Livestock Industry System (BAIC05-2023).

Institutional Review Board Statement

The study was approved by the Animal Care and Ethics Committee of Beijing University of Agriculture (protocol code BUA 2101030, date of approval: 30 January 2021).

Informed Consent Statement

Not applicable.

Data Availability Statement

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

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Misra, N.; Dixit, Y.; Al-Mallahi, A.; Bhullar, M.; Upadhyay, R.; Martynenko, A. IoT, Big Data, and Artificial Intelligence in Agriculture and Food Industry. IEEE Internet Things 2022, 9, 6305–6324. [Google Scholar] [CrossRef]
  2. Neethirajan, S.; Kemp, B. Digital Twins in Livestock Farming. Animals 2021, 11, 1008. [Google Scholar] [CrossRef] [PubMed]
  3. Liu, Y.; Ma, X.; Shu, L.; Hancke, G.; Abu-Mahfouz, A.M. From Industry 4.0 to Agriculture 4.0: Current Status, Enabling Technologies, and Research Challenges. IEEE Trans Ind. Inform. 2021, 17, 4322–4334. [Google Scholar] [CrossRef]
  4. Garibaldi, M.J. The need for fuzzy AI. IEEE/CAA J. Autom. Sin. 2019, 6, 610–622. [Google Scholar] [CrossRef]
  5. Ghahramani, M.; Qiao, Y.; Zhou, M.; O’Hagan, A.; Sweeney, J. AI-based modeling and data-driven evaluation for smart manufacturing processes. IEEE/CAA J. Autom. Sin. 2020, 7, 1026–1037. [Google Scholar] [CrossRef]
  6. Elijah, O.; Rahman, T.A.; Orikumhi, I.; Leow, C.Y.; Hindia, M.N. An Overview of Internet of Things (IoT) and Data Analytics in Agriculture: Benefits and Challenges. IEEE Internet Things J. 2018, 5, 3758–3773. [Google Scholar] [CrossRef]
  7. Gengler, N. Symposium review: Challenges and opportunities for evaluating and using the genetic potential of dairy cattle in the new era of sensor data from automation. J. Dairy Sci. 2019, 102, 5756–5763. [Google Scholar] [CrossRef]
  8. De Paepe, M.; Pieters, J.G.; Mendes, L.B.; Van Weyenberg, S.; Merci, B.; Demeyer, P. Wind tunnel study of ammonia transfer from a manure pit fitted with a dairy cattle slatted floor. Environ. Technol. 2016, 37, 202–215. [Google Scholar] [CrossRef]
  9. Talukder, S.; Kerrisk, K.L.; Ingenhoff, L.; Thomson, P.C.; Garcia, S.C.; Celi, P. Infrared technology for estrus detection and as a predictor of time of ovulation in dairy cows in a pasture-based system. Theriogenology 2014, 81, 925–935. [Google Scholar] [CrossRef] [PubMed]
  10. Fadul-Pacheco, L.; Wangen, S.R.; Da, S.T.; Cabrera, V.E. Addressing Data Bottlenecks in the Dairy Farm Industry. Animals 2022, 12, 721. [Google Scholar] [CrossRef] [PubMed]
  11. Adrion, F.; Keller, M.; Bozzolini, G.B.; Umstatter, C. Setup, Test and Validation of a UHF RFID System for Monitoring Feeding Behaviour of Dairy Cows. Sensors 2020, 20, 7035. [Google Scholar] [CrossRef]
  12. Njubi, D.M.; Wakhungu, J.W.; Badamana, M.S. Use of test-day records to predict first lactation 305-day milk yield using artificial neural network in Kenyan Holstein-Friesian dairy cows. Trop. Anim. Health Prod. 2010, 42, 639–644. [Google Scholar] [CrossRef] [PubMed]
  13. Zhuang, M.; Lu, X.; Caro, D.; Gao, J.; Zhang, J.; Cullen, B.; Li, Q. Emissions of non-CO2 greenhouse gases from livestock in China during 2000–2015: Magnitude, trends and spatiotemporal patterns. J. Environ. Manag. 2019, 242, 40–45. [Google Scholar] [CrossRef] [PubMed]
  14. Navarro, E.; Costa, N.; Pereira, A. A Systematic Review of IoT Solutions for Smart Farming. Sensors 2020, 20, 4231. [Google Scholar] [CrossRef] [PubMed]
  15. Nikkilä, R.; Seilonen, I.; Koskinen, K. Software architecture for farm management information systems in precision agriculture. Comput. Electron. Agric. 2010, 70, 328–336. [Google Scholar] [CrossRef]
  16. Barrientos-Blanco, J.A.; White, H.; Shaver, R.D.; Cabrera, V.E. Improving nutritional accuracy and economics through a multiple ration-grouping strategy. J Dairy Sci. 2020, 103, 3774–3785. [Google Scholar] [CrossRef] [PubMed]
  17. Harrison, N.D.; Kelly, E.L. Affordable RFID loggers for monitoring animal movement, activity, and behaviour. PLoS ONE 2022, 17, e0276388. [Google Scholar] [CrossRef]
  18. Schingoethe, D.J. A 100-Year Review: Total mixed ration feeding of dairy cows. J. Dairy Sci. 2017, 100, 10143–10150. [Google Scholar] [CrossRef]
  19. Aquilani, C.; Confessore, A.; Bozzi, R.; Sirtori, F.; Pugliese, C. Review: Precision Livestock Farming technologies in pasture-based livestock systems. Animal 2022, 16, 100429. [Google Scholar] [CrossRef]
  20. Wang, S.J.; Fox, D.G.; Cherney, D.J.; Chase, L.E.; Tedeschi, L.O. Whole-herd optimization with the Cornell Net Carbohydrate and Protein System. III. Application of an optimization model to evaluate alternatives to reduce nitrogen and phosphorus mass balance. J. Dairy Sci. 2000, 83, 2160–2169. [Google Scholar] [CrossRef]
  21. Cabrera, V.E.; Barrientos-Blanco, J.A.; Delgado, H.; Fadul-Pacheco, L. Symposium review: Real-time continuous decision making using big data on dairy farms. J. Dairy Sci. 2020, 103, 3856–3866. [Google Scholar] [CrossRef] [PubMed]
  22. Coffey, E.M.; Vinson, W.E.; Pearson, R.E. Somatic cell counts and infection rates for cows of varying somatic cell count in initial test of first lactation. J. Dairy Sci. 1986, 69, 552–555. [Google Scholar] [CrossRef] [PubMed]
  23. Amburgh, M.E.; Collao-Saenz, E.A.; Higgs, R.J.; Ross, D.A.; Recktenwald, E.B.; Raffrenato, E.; Chase, L.E.; Foskolos, A. The Cornell Net Carbohydrate and Protein System: Updates to the model and evaluation of version 6.5. J. Dairy Sci. 2015, 98, 6361–6380. [Google Scholar] [CrossRef] [PubMed]
  24. Higgs, R.J.; Chase, L.E.; Amburgh, M.E. Development and evaluation of equations in the Cornell Net Carbohydrate and Protein System to predict nitrogen excretion in lactating dairy cows. J. Dairy Sci. 2012, 95, 2004–2014. [Google Scholar] [CrossRef] [PubMed]
  25. Koess, C.; Hamann, J. Detection of mastitis in the bovine mammary gland by flow cytometry at early stages. J. Dairy Res. 2008, 75, 225–232. [Google Scholar] [CrossRef] [PubMed]
  26. Wiggans, G.R.; Shook, G.E. A lactation measure of somatic cell count. J. Dairy Sci. 1987, 70, 2666–2672. [Google Scholar] [CrossRef] [PubMed]
  27. Min, X.; Ping, F.Q.; Che, S.Y.; Liu, Y.P. CXCR2 gene polymorphism is associated with mastitis and milk quality in dairy cows. Heredity 2008, 4, 463–468. [Google Scholar]
  28. Khatun, M.; Thomson, P.C.; Kerrisk, K.L.; Lyons, N.A.; Clark, C.; Molfino, J.; Garcia, S.C. Development of a new clinical mastitis detection method for automatic milking systems. J. Dairy Sci. 2018, 101, 9385–9395. [Google Scholar] [CrossRef]
  29. Chen, S.; Lin, K.H.; Mittra, R. A Measurement Technique for Verifying the Match Condition of Assembled RFID Tags. IEEE Trans. Instrum. Meas. 2010, 59, 2123–2133. [Google Scholar] [CrossRef]
  30. Attaran, M. The impact of 5G on the evolution of intelligent automation and industry digitization. J. Ambient. Intell. Humaniz. Comput. 2021, 1–17. [Google Scholar] [CrossRef]
  31. Herlin, A.; Brunberg, E.; Hultgren, J.; Hogberg, N.; Rydberg, A.; Skarin, A. Animal Welfare Implications of Digital Tools for Monitoring and Management of Cattle and Sheep on Pasture. Animals 2021, 11, 829. [Google Scholar] [CrossRef] [PubMed]
  32. Roche, J.R.; Friggens, N.C.; Kay, J.K.; Fisher, M.W.; Stafford, K.J.; Berry, D.P. Invited review: Body condition score and its association with dairy cow productivity, health, and welfare. J. Dairy Sci. 2009, 92, 5769–5801. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  33. Bach, A.; Terre, M.; Vidal, M. Symposium review: Decomposing efficiency of milk production and maximizing profit. J. Dairy Sci. 2020, 103, 5709–5725. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  34. Wu, Y.; Liang, D.; Shaver, R.D.; Cabrera, V.E. An income over feed cost nutritional grouping strategy. J. Dairy Sci. 2019, 102, 4682–4693. [Google Scholar] [CrossRef]
  35. Cabrera, V.E.; Kalantari, A.S. Economics of production efficiency: Nutritional grouping of the lactating cow. J. Dairy Sci. 2016, 99, 825–841. [Google Scholar] [CrossRef] [Green Version]
  36. White, R.R.; Capper, J.L. Precision diet formulation to improve performance and profitability across various climates: Modeling the implications of increasing the formulation frequency of dairy cattle diets. J. Dairy Sci. 2014, 97, 1563–1577. [Google Scholar] [CrossRef] [Green Version]
  37. Jiao, H.P.; Dale, A.J.; Carson, A.F.; Murray, S.; Gordon, A.W.; Ferris, C.P. Effect of concentrate feed level on methane emissions from grazing dairy cows. J. Dairy Sci. 2014, 97, 7043–7053. [Google Scholar] [CrossRef] [Green Version]
  38. Bai, Z.; Ma, W.; Ma, L.; Velthof, G.L.; Wei, Z.; Havlik, P.; Zhang, F. China’s livestock transition: Driving forces, impacts, and consequences. Sci. Adv. 2018, 4, r8534. [Google Scholar] [CrossRef] [Green Version]
  39. Kalantari, A.S.; Armentano, L.E.; Shaver, R.D.; Cabrera, V.E. Economic impact of nutritional grouping in dairy herds. J. Dairy Sci. 2016, 99, 1672–1692. [Google Scholar] [CrossRef]
  40. Contreras-Govea, F.E.; Cabrera, V.E.; Armentano, L.E.; Shaver, R.D.; Crump, P.M.; Beede, D.K.; VandeHaar, M.J. Constraints for nutritional grouping in Wisconsin and Michigan dairy farms. J. Dairy Sci. 2015, 98, 1336–1344. [Google Scholar] [CrossRef] [Green Version]
  41. Goncalves, J.L.; Kamphuis, C.; Vernooij, H.; Araujo, J.J.; Grenfell, R.C.; Juliano, L.; Dos, S.M. Pathogen effects on milk yield and composition in chronic subclinical mastitis in dairy cows. Vet. J. 2020, 262, 105473. [Google Scholar] [CrossRef] [PubMed]
  42. Bochniarz, M.; Szczubial, M.; Brodzki, P.; Krakowski, L.; Dabrowski, R. Serum amyloid A as an marker of cow s mastitis caused by Streptococcus sp. Comp. Immunol. Microbiol. Infect. Dis. 2020, 72, 101498. [Google Scholar] [CrossRef]
  43. Feng, Y.; Niu, H.; Wang, F.; Ivey, S.J.; Wu, J.J.; Qi, H.; Almeida, R.A.; Eda, S.; Cao, Q. SocialCattle: IoT-Based Mastitis Detection and Control Through Social Cattle Behavior Sensing in Smart Farms. IEEE Internet Things J. 2022, 9, 10130–10138. [Google Scholar] [CrossRef]
  44. Liangyu, S.; Wenlong, L.; Yongjie, T.; Siyuan, M.; Ying, Y. Establishment and predictive analysis of Chinese Holstein Mastitis Risk Assessment Model. China J. Anim. Husb. 2021, 57, 84–90. [Google Scholar]
  45. Wenlong, L.; Tingting, Z.; Liangyu, S.; Ying, Y. Application and optimization of dairy cow Mastitis Risk Assessment System in Chinese Holstein herd. China J. Anim. Husb. 2021, 57, 65–72. [Google Scholar]
  46. Sun, Z.; Samarasinghe, S.; Jago, J. Detection of mastitis and its stage of progression by automatic milking systems using artificial neural networks. J. Dairy Res. 2010, 77, 168–175. [Google Scholar] [CrossRef] [Green Version]
  47. Kamphuis, C.; Mollenhorst, H.; Heesterbeek, J.A.; Hogeveen, H. Detection of clinical mastitis with sensor data from automatic milking systems is improved by using decision-tree induction. J. Dairy Sci. 2010, 93, 3616–3627. [Google Scholar] [CrossRef] [Green Version]
  48. Sun, Y.; Wang, B.; Shu, S.; Zhang, H.; Xu, C.; Wu, L.; Xia, C. Critical thresholds of liver function parameters for ketosis prediction in dairy cows using receiver operating characteristic (ROC) analysis. Vet. Q. 2015, 35, 159–164. [Google Scholar] [CrossRef]
  49. Jadhav, P.V.; Das, D.N.; Suresh, K.P.; Shome, B.R. Threshold somatic cell count for delineation of subclinical mastitis cases. Vet. World 2018, 11, 789–793. [Google Scholar] [CrossRef] [Green Version]
  50. Miles, A.M.; McArt, J.; Leal, Y.F.; Stambuk, C.R.; Virkler, P.D.; Huson, H.J. Udder and teat conformational risk factors for elevated somatic cell count and clinical mastitis in New York Holsteins. Prev. Vet. Med. 2019, 163, 7–13. [Google Scholar] [CrossRef]
Figure 1. Structure of smart dairy farm sensing network.
Figure 1. Structure of smart dairy farm sensing network.
Animals 13 00804 g001
Figure 2. ROC curve of mastitis prediction.
Figure 2. ROC curve of mastitis prediction.
Animals 13 00804 g002
Table 1. Diet composition and routine nutrient composition—original farm grouping.
Table 1. Diet composition and routine nutrient composition—original farm grouping.
IngredientTMR Diet Formulation (kg) Pens (OG)
12 and 34 and 75 and 86 and 9
Corn silage23.0023.0023.3123.3223.21
Alfalfa hay2.342.202.312.402.31
Oat hay2.382.182.392.502.39
Corn grain fine3.102.703.352.923.21
Soybean meal2.932.663.323.003.12
Soft wheat bran1.2941.2631.451.381.32
Soybean steam flaked1.2801.2911.441.381.32
Beet pulp pellet1.2871.3121.461.371.36
Calcium salt of fatty acids0.100.000.400.100.15
Sugarcane molasses0.510.350.600.300.56
Cottonseed meal0.500.400.620.300.60
Premix0.400.550.450.550.40
Nutritional composition
ME (Mcal/day)56.2952.8761.5156.2158.28
MP (g/day)2518.802344.802732.502484.102604.02
CP (%)16.7616.4617.1016.6317.02
Crude fat (%)4.003.694.974.044.14
NFC (%)37.8537.3237.3437.0237.80
NDF (%)33.9834.4932.9734.3033.65
peNDF (%)24.7725.2324.0325.0124.23
Starch (%)24.2624.1524.2423.9224.14
Predicted DMI
(kg/cow per day)
21.6620.6023.3021.8122.60
1–3 stand for diets for early, middle, and late stages of first lactation, respectively; 4–6 stand for early, middle, and late stages of second lactation, respectively; 7–9 stand for early, middle, and late stages of third lactation and over, respectively.
Table 2. Diet composition and routine nutrient composition—nutrient grouping.
Table 2. Diet composition and routine nutrient composition—nutrient grouping.
IngredientTMR Diet Formulation (kg) Pen (NG)
123456789
Corn silage22.0022.1522.0022.2022.2022.3022.6022.4322.41
Alfalfa hay2.202.202.002.212.212.312.402.282.28
Oat hay2.002.002.002.342.342.322.522.222.28
Corn grain fine3.323.142.843.543.433.223.663.573.36
Soybean meal3.343.202.873.543.443.243.693.583.34
Soft wheat bran1.171.201.271.571.371.161.441.381.36
Soybean steam flaked1.131.111.271.431.231.131.541.371.27
Beet pulp pellet1.301.301.211.401.201.111.461.361.26
Calcium salt of fatty acids0.400.250.100.440.330.250.500.430.25
Sugarcane molasses0.620.600.400.620.600.600.600.560.56
Cottonseed meal0.580.500.400.600.540.580.600.600.60
Premix0.410.450.400.430.430.350.400.380.38
Nutritional composition of diet
ME (Mcal/day)57.8555.9052.8261.5558.9957.0163.7561.7658.62
MP (g/day)2572.002491.802336.402764.502630.602526.702863.902766.102622.80
CP (%)17.2517.0716.9817.4617.2817.1817.5617.5717.37
Crude fat (%)4.914.394.095.114.714.435.285.064.46
NFC (%)38.0138.0437.8337.5237.9038.0537.3337.7437.90
NDF (%)32.1932.7733.6332.3532.5233.0032.3632.2632.91
peNDF (%)22.9323.5224.2822.4423.2924.2622.6722.6523.51
Starch (%)24.4724.3724.5923.9624.2824.2323.7024.2524.29
Predicted DMI
(kg/cow per day)
22.1421.6420.7323.6422.8822.3024.1423.4722.92
1–3 stand for diets for early, middle, and late stages of first lactation, respectively; 4–6 stand for early, middle, and late stages of second lactation, respectively; 7–9 stand for early, middle, and late stages of third lactation and over, respectively.
Table 3. Disease grouping of Holstein cows.
Table 3. Disease grouping of Holstein cows.
GroupSCC 1, 104/mLSCS 2
Health GroupSCC ≤ 20SCS ≤ 4
Risk GroupSCC > 20SCS > 4
1 SCC: somatic cell count. 2 SCS: somatic cell score.
Table 4. Risk factors of mastitis in Chinese Holstein cattle in the Beijing area.
Table 4. Risk factors of mastitis in Chinese Holstein cattle in the Beijing area.
VariableAbbreviationName
State of illnessHealth0
Risk1
Milk yield 2cnl2X3
Fat percentage 1rzl1X6
Fat percentage 2rzl2X7
Fat percentage 3rzl3X8
Protein percentage 1dbl1X10
Lactose percentage 4rtl4X17
Fat/protein ratio1zdb1X18
Fat/protein ratio 3zdb3X20
Month 5yuefen5X26
Table 5. Effects of farm group and nutrient group strategies on milk production of dairy cows.
Table 5. Effects of farm group and nutrient group strategies on milk production of dairy cows.
ParityPenStageMilk yieldp Value
OG 1NG 2
11Early37.45 + 3.45 a39.28 + 2.90 b0.031
2Mid35.78 + 4.22 a37.87 + 3.19 b0.035
3Late33.10 ±2.90 a34.84 ±2.33 b0.013
24Early40.17 ±4.07 a42.29 ± 2.98 b0.025
5Mid38.34 ± 4.2239.74 ± 3.470.165
6Late36.48 ± 3.70 a38.20 ± 2.75 b0.046
≥37Early41.22 ± 4.36 a43.58 ± 3.83 b0.030
8Mid39.20 ± 3.81 a41.64 ± 4.55 b0.029
9Late37.55 ± 3.38 a39.31 ± 3.14 b0.041
Different lowercase letters in the same row differ significantly (p < 0.05). 1 OG: original grouping. 2 NG: nutritional grouping.
Table 6. Effects of different grouping strategies on dietary N utilization.
Table 6. Effects of different grouping strategies on dietary N utilization.
ParityPenStageN Intake (g)NG-
OG
N Production (g)p ValueN Efficiency (%)p ValueChanges in N Efficiency 3
(%)
OG 1NG 2OGNGOGNG
11Early598.88617.1018.22201.94 ± 0.90 B216.19 ± 0.76 A<0.00133.72 ± 0.15 B35.03 ± 0.12 A<0.0013.88
2Mid579.68597.8918.21197.86 ± 1.06 B210.80 ± 1.06 A<0.00134.13 ± 0.18 B35.26 ± 0.18 A<0.0013.31
3Late546.03565.1120.50184.87 ± 0.90 B194.38 ± 1.16 A<0.00133.86 ± 0.17 B34.40 ± 0.20 A<0.0011.59
24Early654.1666.1312.03224.40 ± 0.70 B233.28 ± 0.83 A<0.00134.31 ± 0.11 B35.02 ± 0.12 A<0.0012.07
5Mid624.9634.849.94215.92 ± 1.07 B219.03 ± 1.07 A<0.00134.55 ± 0.1734.50 ± 0.170.248−0.14
6Late598.03610.9512.92203.08 ± 1.01 B212.16 ± 0.95 A<0.00133.96 ± 0.17 B34.73 ± 0.15 A<0.0012.27
≥37Early677.66691.3913.73231.61 ± 1.09 B237.45 ± 1.39 A<0.00134.18 ± 0.16 B34.37 ± 0.15 A<0.0010.56
8Mid645.23663.1517.92218.02 ± 0.96 B228.40 ± 1.99 A<0.00133.79 ± 0.15 B34.49 ± 0.15 A<0.0012.07
9Late623.76635.3611.6210.00 ± 0.96 B217.73 ± 1.53 A<0.00133.67 ± 0.15 B34.40 ± 0.14 A<0.0012.17
Different uppercase letters in the same row differ highly significantly (p < 0.01). 1 OG: original grouping. 2 NG: nutritional grouping. 3 Changes in N efficiency = (NG–OG)/OG.
Table 7. Methane and carbon dioxide emissions from cattle for group and nutrient group strategies.
Table 7. Methane and carbon dioxide emissions from cattle for group and nutrient group strategies.
ParityPenStageCH4, g/d/HeadDifference
(%)
CO2, kg/d/HeadDifference
(%)
OG 1NG 2 OGNG
11Early451.46450.78−0.1513.1613.14−0.15
2Mid445.10443.55−0.3512.9712.95−0.15
3Late432.10428.40−0.8612.5112.46−0.40
24Early474.76472.24−0.5313.9013.82−0.58
5Mid461.90459.06−0.6113.5013.46−0.30
6Late453.69452.21−0.3313.2313.10−0.98
≥37Early486.24485.58−0.1414.2614.18−0.56
8Mid475.23469.33−1.2413.8613.72−1.01
9Late463.48458.97−0.9713.5613.39−1.25
1 OG: original grouping. 2 NG: nutritional grouping.
Table 8. Risk factors of mastitis.
Table 8. Risk factors of mastitis.
VariableAbbreviationΒ 1OR 295%CI 3p Value
Milk yield 2cnl20.141.151.011.310.031
Fat percentage 1rzl11.906.720.9348.790.036
Fat percentage 2rzl20.952.600.778.710.127
Fat percentage 3rzl31.203.321.417.810.003
Protein percentage 1dbl1−2.730.070.001.460.054
Lactose percentage 4rtl4−4.020.020.000.150.000
Fat/protein ratio 1zdb1−4.530.010.004.160.102
Fat/protein ratio 3zdb3−2.550.080.011.190.043
Month 5yuefen50.141.151.021.300.021
1 β = regression coefficient. 2 OR = odds ratio. 3 CI = confidence interval.
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

Hu, T.; Zhang, J.; Zhang, X.; Chen, Y.; Zhang, R.; Guo, K. The Development of Smart Dairy Farm System and Its Application in Nutritional Grouping and Mastitis Prediction. Animals 2023, 13, 804. https://doi.org/10.3390/ani13050804

AMA Style

Hu T, Zhang J, Zhang X, Chen Y, Zhang R, Guo K. The Development of Smart Dairy Farm System and Its Application in Nutritional Grouping and Mastitis Prediction. Animals. 2023; 13(5):804. https://doi.org/10.3390/ani13050804

Chicago/Turabian Style

Hu, Tingting, Jinmen Zhang, Xinrui Zhang, Yidan Chen, Renlong Zhang, and Kaijun Guo. 2023. "The Development of Smart Dairy Farm System and Its Application in Nutritional Grouping and Mastitis Prediction" Animals 13, no. 5: 804. https://doi.org/10.3390/ani13050804

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