Next Article in Journal
Enhancing Flood Resilience: Streamflow Forecasting and Inundation Modeling in Pakistan
Previous Article in Journal
Synthesis of Fused Isoxazoles: A Comprehensive Review
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Proceeding Paper

Cow Milk Quality Determination Using a Near-Infrared Spectroscopic Sensing System for Smart Dairy Farming †

1
Graduate School of Agricultural Science, Hokkaido University, Sapporo 060-8589, Japan
2
Field Science for Northern Biosphere, Hokkaido University, Sapporo 060-0811, Japan
3
Orion Machinery Co., Ltd., Nagano 382-8502, Japan
*
Authors to whom correspondence should be addressed.
Presented at the 10th International Electronic Conference on Sensors and Applications (ECSA-10), 15–30 November 2023; Available online: https://ecsa-10.sciforum.net/.
Eng. Proc. 2023, 58(1), 118; https://doi.org/10.3390/ecsa-10-16020
Published: 15 November 2023

Abstract

:
This study investigated the accuracy of a near-infrared spectroscopic sensing system for predicting milk quality indicators in cow milk. The system determined three major milk quality indicators (milk fat, protein, and lactose), milk urea nitrogen (MUN), and somatic cell count (SCC) of two Holstein cows at the Hokkaido University dairy farm. The results showed excellent accuracy for milk fat and protein contents, while sufficient accuracy was found for lactose, MUN, and SCC. This suggests that the NIR spectroscopic sensing system could be used for online real-time milk quality determination, aiding dairy farmers in effective individual cow management and smart dairy farming.

1. Introduction

Smart dairy farming technologies are used to continually and in real time determine cattle milk and health quality indicators in order to maximize nutrition and productivity and to discover health problems at an early stage [1,2,3,4]. The ability to determine the three major milk quality indicators, such as milk fat, protein, and lactose; milk urea nitrogen (MUN), which is the nutritional indicator; and somatic cell count (SCC), which is the mastitis disease indicator, from milk samples taken during milking using near-infrared spectroscopy (NIRS) has grown in popularity [5,6,7].
NIRS is an appropriate technology for assessing milk quality during the milking process due to its non-invasive, quick, user-friendly, time-saving, and pretreatment-free characteristics [8]. NIRS has been utilized to determine agricultural items such as rice, wheat, pomegranate, and other vegetables and to offer qualitative and quantitative information [9,10,11,12]. In Japan, NIRS has been used to determine rice quality [9].
Numerous studies have been carried out on the development of online near-infrared (NIR) sensing systems that could help dairy farmers navigate the challenges that come with individual cow management, but there has been difficulty in developing an efficient and sustainable NIR sensing system [13,14,15,16]. According to Iweka et al. [17,18], the developed NIR spectroscopic sensing system might be utilized to accurately and precisely measure the quality of the milk of individual cows while milking in real-time. Nevertheless, the actual application of the NIR sensing system for real-time online identification of each cow’s milk quality while milking has yet to be realized. One of the major reasons is the measurement accuracy of the sensing system [19].
Therefore, we developed an experimental online NIR spectroscopic sensing system for milk quality determination of individual cows during milking. The goal of this study was to assess both the precision and accuracy of the developed novel NIR spectroscopic sensing system in our study for individual cow milk quality determination every 20 s during milking.

2. Materials and Methods

2.1. Description of the Near-Infrared Spectroscopic Sensing System

To determine the quality of each cow’s milk during milking, an experimentally based online NIR spectroscopic sensing system was created. The system included an NIR spectrum sensor, an NIR spectrometer, a milk flowmeter, a sampler, and a laptop computer (Figure 1). The system was linked between a teatcup cluster and the milking system’s milking bucket. Through a bypass, raw milk from the teatcup cluster was constantly flowing into the milk chamber (sample cell) of the NIR spectrum sensor. The extra milk flowed down a line tube past the milk flowmeter and into the bucket (Figure 1). The volume of the milk in the NIR milk chamber is about 30 mL (Table 1). The optical axes of halogen lamps A and B were positioned at the same height as the optical fiber, whereas the optical axes of halogen lamp C were set 5 mm higher (Figure 2, Figure 3 and Figure 4). The milk chamber of the NIR spectrum sensor has a path length of 100 mm and a diameter of 16 mm (Figure 2). The NIR spectrum sensor collected absorbance spectra via the milk. During milking, the spectra were taken at 1 nm intervals every 20 s in the 700 nm to 1050 nm range. The milk flow rate was also recorded on the laptop computer.

2.2. Holstein Cows and Milk Samples

In this study, we used two Holstein cows belonging to the Hokkaido University dairy barn in Japan. The lactation phases of these cows varied. During the experiment, the measurements were taken during two consecutive milkings, one in the evening and one in the morning. On the Hokkaido University dairy farm, cows were milked using a pipeline milking system. Milk spectra and flow data were collected, and raw milk samples were drawn from the milk sampler every 20 s during milking.

2.3. Reference Analysis

The MilkoScan device was used to determine the three primary milk quality indices and MUN, while the Fossomatic device was utilized for estimating SCC. The two devices are from Foss Electric, Hillerod, Denmark. The reference analyses involved 142 milk samples.

2.4. Chemometric Analysis

Statistical investigations were conducted to generate calibration models for each milk quality indicator and to validate the model’s accuracy as well as precision. The analyses were carried out utilizing the spectra data analysis technique, the Unscrambler ver. 10.3 from Camo AS Trondheim, Norway. The total data from the reference analyses were used to develop calibration using the full cross-validation method. The calibration models were built using the partial least squares regression (PLSR) method from the absorbance spectra and reference data. No data pretreatment method was used for this analysis.

3. Results and Discussion

3.1. Near-Infrared Spectra

Figure 5 shows the original raw milk spectra. The NIR spectra indicated a pair of bands, having peaks at 740 and 840 nm, respectively. These peaks represent overtone absorptions by the C-H and C-C bands, which are associated with the different absorption bands of milk components such as fat, protein, and lactose. The O-H functional groups found in water exhibited an elevated absorption peak, distinguishing the spectra band at about 960 nm [15].

3.2. Calibration Models’ Precision and Accuracy

Table 2 summarizes the validation results of the NIR spectroscopic sensing system utilized to determine milk quality indicators. The relationships between the reference and NIR-predicted values of the milk fat content and SCC are shown in Figure 6 and Figure 7, respectively.
For predicting milk fat, protein, lactose, MUN, and SCC, the coefficient of determination (r2), standard error prediction (SEP), and bias were 0.98, 0.12%, and 0.00% for milk fat content; 0.92, 0.03%, and 0.00% for milk protein content; 0.70, 0.03%, and 0.00% for milk lactose; 0.45, 0.60%, and 0.00 mg/dL for MUN; and 0.60, 0.22 log SCC/mL, and 0.00 log SCC/mL, respectively. The high r2 values and low SEP and bias values were indicative of high levels of precision and accuracy. The calibration model for milk fat worked quite well. The carbon–hydrogen strings of triacylglycerol were adequately represented in the NIR spectra, allowing for extraordinarily high precision. These findings suggested that the NIR could be used to determine the three major milk quality indicators of raw milk and the MUN and SCC of each cow during milking. The level of precision and accuracy for predicting SCC was adequate. SCC is a globally recognized indicator of cow subclinical mastitis disease, and the calibration model created for SCC could be used to diagnose subclinical mastitis.

3.3. Near-Infrared Sensing System

The accuracy for determining the three major milk quality indicators, MUN, and SCC was very good, especially for milk fat and protein, as compared to the accuracy of the previous NIR sensing system [6]. The cylindrical structure of the NIR spectrum sensor contributed to its high accuracy by reducing the effect of air bubbles and fluctuations in milk flow. Another explanation is that the NIR spectroscopic sensing system used in our work has three halogen lamps that were used as near-infrared light sources to irradiate the milk samples from three directions with an exposure length of 200 ms, which was repeated ten times in one experimental run. It was discovered that our NIR sensor, which is comprised of three halogen lamps, accurately collected the near-infrared light by fat content, as opposed to the prior study’s single halogen lamp [6]. As a result, a strong signal was produced. The exposure time ensured that the important bright part of the captured spectra was not lost, resulting in a reduction in various random and fixed pattern noises.
This indicates that the NIR sensing system might provide dairy farmers and vets with useful information on each cow’s physiological state and milk quality, providing evaluation control for better dairy farm management. By deploying the data from each cow, dairy farm management might proceed to the next step of smart dairy farming by using this NIR sensing technology.

4. Conclusions

The NIR spectroscopic sensing system created in this study might be utilized to determine the three major milk quality indices, MUN and SCC, of each cow during milking in real time. Further research should be undertaken to improve the precision and accuracy of the proposed calibration models, allowing for the practical implementation of this NIR sensing technology, resulting in smart dairy farming.

Author Contributions

Conceptualization, S.K. and P.I.; methodology, S.K., P.I., T.M., and T.K.; software, S.K. and P.I.; validation, P.I. and S.K.; formal analysis, P.I., S.K., and T.M.; investigation, P.I., S.K., T.M., and T.K.; data curation, P.I. and S.K.; writing—original draft preparation, P.I., writing—review and editing, S.K., T.M., and P.I. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by a grant from the National Agriculture and Food Research Organization (NARO) of Japan named Project for Development of New Practical Technology.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The content of this paper summarizes all the new data obtained in this study.

Conflicts of Interest

The author Takashi Kawaguchi works for Orion Company in Nagano, Japan. He worked in collaboration with the authors from Hokkaido University, Japan. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Evangelista, C.; Basirico, L.; Bernabucci, U. An Overview on the Use of Near Infrared Spectroscopy (NIRS) on Farms for the Management of Dairy Cows. Agriculture 2021, 11, 296. [Google Scholar] [CrossRef]
  2. Diaz-Olivares, J.A.; Adriaens, I.; Stevens, E.; Saeys, W.; Aernouts, B. Online Milk Composition Analysis with an On-farm Near-infrared Sensor. Comput. Electron. Agric. 2020, 178, 105734. [Google Scholar] [CrossRef]
  3. Zhu, Z.; Lin, B.; Zhu, X.; Guo, W. A Rapid Method of Identifying Mastitis Degree of Bovines Based on Dielectric Spectra of Raw milk. Food Qual. Saf. 2023, 7, fyad014. [Google Scholar] [CrossRef]
  4. Iweka, P.; Kawamura, S.; Mitani, T.; Yamaguchi, T.; Koseki, S. Near-infrared Spectroscopic Sensing System for Online Real-time Milk Quality Evaluation in an Automatic Milking System. In Proceedings of the Seventh Asian NIR Symposium (ANS 2020), Khonkaen, Thailand, 12–15 February 2020. [Google Scholar]
  5. Tsenkova, R.; Atanassova, S.; Morita, H.; Ikuta, K.; Toyoda, K.; Iordanova, K.I.; Hakogi, E. Near Infrared Spectra of Cows’ Milk for Milk Quality Evaluation: Disease Diagnosis and Pathogen Identification. J. Near Infrared Spectrosc. 2006, 14, 363–370. [Google Scholar] [CrossRef]
  6. Kawasaki, M.; Kawamura, S.; Tsukahara, M.; Morita, S.; Komiya, M.; Natsuga, M. Near-infrared spectroscopic sensing system for on-line milk quality assessment in a milking robot. Comput. Electron. Agric. 2008, 63, 22–27. [Google Scholar] [CrossRef]
  7. Iweka, P.; Kawamura, S.; Mitani, T.; Yokoe, M.; Okatani, T. Effect of Milking Season on the Accuracy of Calibration Models for Milk Quality Determination using Near-infrared Spectroscopic Sensing System during Milking. In Proceedings of the 5th Asian NIR Symposium, Kagoshima, Japan, 30 November–3 December 2016. [Google Scholar]
  8. Iweka, P.N. Development of Near-Infrared Spectroscopic Sensing System for Online Real-Time Monitoring of Milk Quality during Milking. Ph.D. Thesis, Hokkaido University, Sapporo, Japan, 25 September 2019. Available online: https://eprints.lib.hokudai.ac.jp/dspace/bitstream/2115/75864/1/Iweka_Patricia_Nneka. (accessed on 15 October 2023).
  9. Ohtsubo, K.; Kobayashi, A.; Shimizu, H. Quality evaluation of rice in Japan. JARQ 1993, 27, 95–101. [Google Scholar]
  10. Du, Z.; Tian, W.; Tilley, M.; Wang, D.; Zhang, G.; Li, Y. Quantitative assessment of wheat quality using near-infrared spectroscopy: A comprehensive review. Compr. Rev. Food Sci Food Saf. 2022, 21, 2956–3009. [Google Scholar] [CrossRef] [PubMed]
  11. Opara, U.L.; Arendse, E. Near-Infrared Spectroscopy for Pomegranate Quality Measurement and Prediction. In Nondestructive Quality Assessment Techniques for Fresh Fruits and Vegetables; Pathare, P.B., Rahman, M.S., Eds.; Springer: Singapore, 2022; pp. 211–232. [Google Scholar] [CrossRef]
  12. Nicolaï, B.M.; Defraeye, T.; Ketelaere, B.; Herremans, E.; Hertog, M.L.; Saeys, W.; Torricelli, A.; Vandendriessche, T.; Verboven, P. Nondestructive measurement of fruit and vegetable quality. Annu. Rev. Food. Sci. Technol. 2014, 5, 285–312. [Google Scholar] [CrossRef] [PubMed]
  13. Tsenkova, R.; Atanassova, S.; Kawano, S.; Toyoda, K. Somatic cell count determination in cow’s milk by near-infrared spectroscopy: A new diagnostic tool. J. Anim Sci. 2001, 79, 2550–2557. [Google Scholar] [CrossRef] [PubMed]
  14. Iweka, P.; Kawamura, S.; Mitani, T.; Koseki, S. Non-destructive determination of bovine milk progesterone concentration during milking using near-infrared spectroscopy. CIGR J. 2020, 22, 171–178. [Google Scholar]
  15. Ozaki, Y.; McClure, W.F.; Christy, A.A. Near-Infrared Spectroscopy in Food Science and Technology, 1st ed.; Wiley: Hoboken, NJ, USA, 2006. [Google Scholar] [CrossRef]
  16. Sato, T.; Yoshino, M.; Furukawa, S.; Someya, Y.; Yano, N.; Uozumi, J.; Iwamoto, M. Analysis of Near Infrared Milk Constituents by the Spectrophotometric Method. Jpn. J. Zootech. Sci. 1987, 58, 698–706. [Google Scholar]
  17. Iweka, P.; Kawamura, S.; Mitani, T.; Kawaguchi, T.; Koseki, S. Cow Milk Progesterone Concentration Assessment during Milking Using Near-infrared Spectroscopy. EAEF 2021, 14, 30–36. [Google Scholar] [CrossRef] [PubMed]
  18. Iweka, P.; Kawamura, S.; Mitani, T.; Kawaguchi, T.; Koseki, S. Online Milk Quality Assessment during Milking Using Near-infrared Spectroscopic Sensing System. Environ. Control Biol. 2020, 58, 1–6. [Google Scholar] [CrossRef]
  19. Iweka, P.; Kawamura, S.; Mitani, T.; Koseki, S. Effect of cow individuality and calving times on accuracy of near-infrared spectroscopic sensing system for milk quality determination during milking. In Proceedings of the 33rd NIR Forum JCNIR, Tsukuba, Japan, 15–17 November 2017; p. 83. [Google Scholar]
  20. Iweka, P.; Kawamura, S.; Mitani, T.; Kawaguchi, T. Online near-infrared spectroscopy for the measurement of cow milk quality in an automatic milking system. Eng. Proc. 2023, 56, 145. [Google Scholar] [CrossRef]
Figure 1. Flow chart of an on-line real-time near-infrared spectroscopic sensing system for determining milk quality indicators during milking. Adapted from [18] with permission from Environmental Control in Biology, 2020.
Figure 1. Flow chart of an on-line real-time near-infrared spectroscopic sensing system for determining milk quality indicators during milking. Adapted from [18] with permission from Environmental Control in Biology, 2020.
Engproc 58 00118 g001
Figure 2. Schematic of the optical system of the NIR spectrum sensor’s milk chamber. Adapted from [20] with permission from MDPI, 2023.
Figure 2. Schematic of the optical system of the NIR spectrum sensor’s milk chamber. Adapted from [20] with permission from MDPI, 2023.
Engproc 58 00118 g002
Figure 3. Original NIR spectrum sensor.
Figure 3. Original NIR spectrum sensor.
Engproc 58 00118 g003
Figure 4. Overview of the NIR spectroscopic sensing system.
Figure 4. Overview of the NIR spectroscopic sensing system.
Engproc 58 00118 g004
Figure 5. The original spectra of raw milk from cow number 1256 during milking.
Figure 5. The original spectra of raw milk from cow number 1256 during milking.
Engproc 58 00118 g005
Figure 6. Correlation between reference fat content and NIRS-predicted fat content.
Figure 6. Correlation between reference fat content and NIRS-predicted fat content.
Engproc 58 00118 g006
Figure 7. Correlation between reference SCC and NIRS-predicted SCC.
Figure 7. Correlation between reference SCC and NIRS-predicted SCC.
Engproc 58 00118 g007
Table 1. Specifications of the near-infrared (NIR) spectroscopic instrument.
Table 1. Specifications of the near-infrared (NIR) spectroscopic instrument.
Devices Specifications
NIR spectrum sensorAbsorbance spectrum sensor
  Light sourceThree halogen lamps
  Optical fiberQuartz Fiber
  Milk chamber surfaceGlass
  Volume of milk sampleApprox. 30 mL
  Distance between optical axis and milk level55 mm
NIR spectrometerDiffraction grating spectrometer
  Optical densityAbsorbance
  Wavelength range700–1050 nm, 1 nm internal
  Wavelength resolutionApprox. 6.4 nm
  PhotocellCMOS linear array, 512 pixels
  Thermal controllerHeater and cooling fan
Data processing computerWindows 7
  A/D converter16 bit
  Spectrum data acquisitionEvery 20 s
Table 2. Validation statistics of the near-infrared sensing system for milk quality determination.
Table 2. Validation statistics of the near-infrared sensing system for milk quality determination.
Milk Quality IndicatorsnRangeR2SEPBiasRPDRegression Line
Fat (%)1422.1–6.80.980.120.008.05y = 1.00x + 0.01
Protein (%)1423.3–3.80.920.030.003.58y = 0.99x + 0.04
Lactose (%)1423.9–4.70.700.090.001.83y = 0.96x + 0.18
MUN (mg/dL)1428.9–13.80.450.600.001.35y = 0.92x + 0.97
SCC (log SCCmL−1)1425.2–6.80.600.220.001.58y = 0.94x + 0.36
n: number of validation samples. R2: coefficient of determination value of validation set. SEP: standard error of prediction. RPD: ratio of SEP to standard deviation of reference data. Regression line: regression line from predicted value (x) to reference value (y). MUN: milk urea nitrogen. SCC: Somatic cell count.
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

Iweka, P.; Kawamura, S.; Mitani, T.; Kawaguchi, T. Cow Milk Quality Determination Using a Near-Infrared Spectroscopic Sensing System for Smart Dairy Farming. Eng. Proc. 2023, 58, 118. https://doi.org/10.3390/ecsa-10-16020

AMA Style

Iweka P, Kawamura S, Mitani T, Kawaguchi T. Cow Milk Quality Determination Using a Near-Infrared Spectroscopic Sensing System for Smart Dairy Farming. Engineering Proceedings. 2023; 58(1):118. https://doi.org/10.3390/ecsa-10-16020

Chicago/Turabian Style

Iweka, Patricia, Shuso Kawamura, Tomohiro Mitani, and Takashi Kawaguchi. 2023. "Cow Milk Quality Determination Using a Near-Infrared Spectroscopic Sensing System for Smart Dairy Farming" Engineering Proceedings 58, no. 1: 118. https://doi.org/10.3390/ecsa-10-16020

Article Metrics

Back to TopTop