Hostname: page-component-54dcc4c588-b5cpw Total loading time: 0 Render date: 2025-10-01T13:22:41.581Z Has data issue: false hasContentIssue false

Evaluation of sensor measurements for early identification of clinical mastitis in an automatic milking system

Published online by Cambridge University Press:  18 September 2025

Ivens Navarro Haponiuk Prus
Affiliation:
Graduate Program in Animal Science, School of Medicine and Life Sciences, PontifÍcia Universidade CatÓlica do Paraná, Curitiba, PR, Brazil
Saulo Henrique Weber
Affiliation:
Graduate Program in Animal Science, School of Medicine and Life Sciences, PontifÍcia Universidade CatÓlica do Paraná, Curitiba, PR, Brazil
Andre Ostrensky
Affiliation:
Department of Veterinary Medicine, School of Medicine and Life Sciences, PontifiÍcia Universidade CatÓlica do Paraná, Curitiba, PR, Brazil
Ruan R. Daros
Affiliation:
Graduate Program in Animal Science, School of Medicine and Life Sciences, PontifÍcia Universidade CatÓlica do Paraná, Curitiba, PR, Brazil EthoLab – Applied Ethology and Animal Welfare Lab, Pontifícia Universidade Católica do Paraná, Curitiba, Brazil
R. Daniel Ollhoff
Affiliation:
Graduate Program in Animal Science, School of Medicine and Life Sciences, PontifÍcia Universidade CatÓlica do Paraná, Curitiba, PR, Brazil
Cristina Santos Sotomaior*
Affiliation:
Graduate Program in Animal Science, School of Medicine and Life Sciences, PontifÍcia Universidade CatÓlica do Paraná, Curitiba, PR, Brazil
*
Corresponding author: Cristina Santos Sotomaior; Email: cristina.sotomaior@pucpr.br

Abstract

This study aimed to identify the best automatic milking system (AMS) parameters and monitoring data for early detection of clinical mastitis in dairy cows and to determine the earliest possible detection within 30 days with the highest predictive accuracy. From August 2021 to February 2022, 55 Holstein cows were monitored for mastitis using physical examination, positive California mastitis test (CMT) and the AMS manufacturer’s software (Delpro®) criteria: milk electrical conductivity ≥ 5.37 mS/cm, milk yield ≤ 80%, somatic cell count (SCC) > 200,000 cells/mL and Mastitis Detection Index (MDi) ≥ 2.0. For every cow suspected of mastitis, two other lactating cows were randomly chosen for evaluation to provide a comparison with healthy herd companions. In total, 129 inspections were evaluated: 39 with clinical mastitis and 90 without. Data on milking, milk composition and production from the AMS, and behavioural data from monitoring collars were summarized for the 30 days leading up to the mastitis diagnosis. Thirty measurement parameters were analysed using generalized linear models. Sensitivity, specificity, accuracy, positive predictive value and negative predictive value were calculated. In the final model, significant parameters included: milk production per day (kg), SCC (cells/mL), average flow mean (kg/min), average conductivity (mS/cm), average flow peak (kg/min), average production per milking (kg), milking duration (s), rumination (min/day), panting (min/day) and feeding activity (min/day). From −30 to −10 days, accuracy, sensitivity and specificity varied without a defined pattern. However, from day −9, there was stabilization of the evaluated parameters. Results showed an average accuracy of 79.2%, a sensitivity of 82.5%, a specificity of 78.7%, a positive predictive value of 41.5% and a negative predictive value of 92.2% in predicting mastitis occurrence. In conclusion, using AMS parameters and behavioural data from monitoring collars, it was possible to predict clinical mastitis in dairy cows in an AMS with a 9-day advance notice.

Information

Type
Research Article
Copyright
© The Author(s), 2025. Published by Cambridge University Press on behalf of Hannah Dairy Research Foundation.

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable

References

Akobeng, AK (2007) Understanding diagnostic tests 1: sensitivity, specificity and predictive values. Acta Paediatrica 96(3), 338341. doi:10.1111/j.1651-2227.2006.00180.xCrossRefGoogle ScholarPubMed
Banoo, S, Bell, D, Bossuyt, P, Herring, A, Mabey, D, Poole, F, Smith, PG, Sriram, N, Wongsrichanalai, C, Linke, R, O'Brien, R, Perkins, M, Cunningham, J, Matsoso, P, Nathanson, CM, Olliaro, P, Peeling, RW, Ramsay, A (2006) Evaluation of diagnostic tests for infectious diseases: general principles. Nature Reviews Microbiology 4(Suppl 9), S21S31. doi:10.1038/nrmicro1523CrossRefGoogle ScholarPubMed
Barkema, HW, Schukken, YH, Lam, TJ, Beiboer, ML and Benedictus, G, Brand, A and others (2008) The value of pathogen-specific cow-level data for diagnostic test evaluation: a novel latent class analysis approach applied to subclinical mastitis in dairy cows. Epidemiology & Infection 136, 613625Google Scholar
Birgel, JEHF (2021) Formas clínicas das mamites dos bovinos. Revista Brasileira de Buiatria 1, 100123.10.4322/2763-955X.2021.004CrossRefGoogle Scholar
Caviglione, JH, Kiihl, LRB, Caramori, PH and Oliveira, D (2000) Climate Charts of Parana. IAPAR CD Rom: Londrina.Google Scholar
Deng, Z, Tjgm, L, Hogeveen, H, Spaninks, M, Heij, N, Postema, M, van Werven T, and Koop, G (2020) Antimicrobial use and farmers’ attitude toward mastitis treatment on dairy farms with automatic or conventional milking systems. Journal of Dairy Science 103, 73027314.10.3168/jds.2019-17960CrossRefGoogle ScholarPubMed
Gustav Rosenberger - Die Klinische Untersuchung Des Rindes editors Dirksen, G, Gründer, H-D and Stöber, M 1990 3rd ed. Berlin and Hamburg: Paul Parey, 718pGoogle Scholar
Dohmen, W, Neijenhuis, F and Hogeveen, H (2010) Relationship between udder health and hygiene on farms with an automatic milking system. Journal of Dairy Science 93, 40194033.10.3168/jds.2009-3028CrossRefGoogle ScholarPubMed
Dohoo, IR, Wayne, M and Stryhn, H (2012) Methods in Epidemiologic Research. 2nd, ISBN 0919013732 Charlottetown, PE, Canada: VER Inc.Google Scholar
Evangelista, VB, Schenkel, FS, Chen, S-Y, Oliveira, HR, Casey, TM, Melka, MG and Brito, LF (2024) Influence of environmental factors on lactation curve parameters and milk production in Holstein cows in Paraná, Brazil. Journal of Dairy Science 107(2), 345355.Google Scholar
Fan, X, Watters, RD, Nydam, DV, Virkler, PD, Wieland, M and Reed, KF (2023) Multivariable time series classification for clinical mastitis detection and prediction in automated milking systems. Journal of Dairy Science 106, 34483464.CrossRefGoogle ScholarPubMed
Fitzpatrick, CE, Chapinal, N, Petersson-Wolfe, CS, DeVries, TJ, Kelton, DF, Duffield, TF and Leslie, KE (2013) The effect of meloxicam on pain sensitivity, rumination time, and clinical signs in dairy cows with endotoxin-induced clinical mastitis. Journal of Dairy Science 96, 28472856.10.3168/jds.2012-5855CrossRefGoogle ScholarPubMed
Granja, BM, Fidelis, CE, Garcia, BLN and Santos, MV (2021) Evaluation of chromogenic culture media for rapid identification of microorganisms isolated from cows with clinical and subclinical mastitis. Journal of Dairy Science 104, 91159129.CrossRefGoogle ScholarPubMed
Hogeveen, H, Kamphuis, C, Steeneveld, W and Mollenhorst, H (2010) Sensors and clinical mastitis—the quest for the perfect alert. Sensors 10, 79918009.CrossRefGoogle ScholarPubMed
Hogeveen, H, Klaas, IC, Dalen, G, Honig, H, Zecconi, A, Kelton, DF and Sánchez Mainar, M (2021) Novel ways to use sensor data to improve mastitis management. Journal of Dairy Science 104, 1131711332.10.3168/jds.2020-19097CrossRefGoogle ScholarPubMed
Hovinen, M and Pyörälä, S (2011) Invited review: udder health of dairy cows in automatic milking. Journal of Dairy Science 94, 547562.CrossRefGoogle ScholarPubMed
IBM Corp (2017) IBM SPSS Statistics for Windows, Version 25.0. Armonk, NY: IBM Corp.Google Scholar
Inzaghi, V, Zucali, M, Thompson, PD, Penry, JF and Reinemann, DJ (2021) Changes in electrical conductivity, milk production rate and milk flow rate prior to clinical mastitis confirmation. Italian Journal of Animal Science 20, 15541561.10.1080/1828051X.2021.1984852CrossRefGoogle Scholar
ISO 20966:2007: Sistemas de ordenha automática - requisitos e testes. Anexo C: exemplo de métodos de avaliação de sistemas de detecção de leite considerado anormal devido a sangue ou a alterações na homogeneidade. Organização Internacional de Normalização (ISO) 2007Google Scholar
Jago, JG, Davis, PJ, Copeman, P and Wollford, MM (2006) The effect of pre-milking teat-brushing on milk processing time in automated milking system. Journal of Dairy Science 73, 187192.Google ScholarPubMed
Kamphuis, C, Mollenhorst, H, Feelders, A, Pietersma, D and Hogeveen, H (2010) Decision-tree induction to detect clinical mastitis with automatic milking. Computers and Electronics in Agriculture 70, 6068.CrossRefGoogle Scholar
Kamphuis, C, Sherlock, R, Jago, J, Mein, G and Hogeveen, H (2008) Automatic detection of clinical mastitis is improved by in-line monitoring of somatic cell count. Journal of Dairy Science 91, 45604570.10.3168/jds.2008-1160CrossRefGoogle ScholarPubMed
Khatun, M, Thomson, PC, Kerrisk, KL, Lyons, NA, Clark, CF and Molfino, J and Garcia SC (2018) Development of a new clinical mastitis detection method for automatic milking systems. Journal of Dairy Science 101(10), 93859395. doi:10.3168/jds.2017-14310CrossRefGoogle ScholarPubMed
Lovatti, JVR, Dijkinga, KA, Aires, JF, Garrido, LFC, Costa, JH and Daros, R (2024) Validation and inter-device reliability of a behavior monitoring collar to measure rumination, feeding activity, and idle time of lactating dairy cows. JDS Communications 5. doi:10.3168/jdsc.2023-0467CrossRefGoogle Scholar
Lusis, I, Antane, V and Laurs, A (2017) Effectiveness of mastitis detection index for cow monitoring and abnormal milk detection in milking robots. Engineering in Rural Development 16, 13831387.Google Scholar
Medrano-Galarza, C, Gibbons, J, Wagner, S, de, PAM and Rushen, J (2012) Behavioral changes in dairy cows with mastitis. Journal of Dairy Science 95, 69947002.10.3168/jds.2011-5247CrossRefGoogle ScholarPubMed
Mollenhorst, H, Rijkaart, LJ and Hogeveen, H (2012) Mastitis alert preferences of farmers milking with automatic milking systems. Journal of Dairy Science 95, 25232530.10.3168/jds.2011-4993CrossRefGoogle ScholarPubMed
Naranjo-Lucena, A and Slowey, R (2023) Invited review: antimicrobial resistance in bovine mastitis pathogens: a review of genetic determinants and prevalence of resistance in European countries. Journal of Dairy Science 106, 123.10.3168/jds.2022-22267CrossRefGoogle ScholarPubMed
NASEM (National Academies of Sciences, Engineering, and Medicine) 2021 Nutrient Requirements of Dairy Cattle. 8th rev. Edn. Washington, DC: The National Academies Press.Google Scholar
Norberg, E, Rogers, GW, Goodling, RC, Cooper, JB and Madsen, P (2004) Genetic parameters for test-day electrical conductivity of milk for first-lactation cows from random regression models. Journal of Dairy Science 87, 19171924.Google ScholarPubMed
Pakrashi, A, Ryan, C, Guéret, C, Perry, DP, Corcoran, M, Keane, MT and Mac Namee, B (2023) Early detection of subclinical mastitis in lactating dairy cows using cow-level features. Journal of Dairy Science 106, 123.10.3168/jds.2022-22803CrossRefGoogle ScholarPubMed
Penry, JF, Crump, PM, Ruegg, PL and Reinemann, DJ (2017) Short communication: cow- and quarter-level milking indicators and their associations with clinical mastitis in an automatic milking system. Journal of Dairy Science 100(11), 92679272. doi:10.3168/jds.2017-12839CrossRefGoogle Scholar
Petrovski, KR, Trajcev, M and Buneski, G (2006) A review of the factors affecting the costs of bovine mastitis: review article. Journal of Dairy Science 77, 5260.Google Scholar
Ruegg, PL (2017) A 100-Year Review: mastitis detection, management, and prevention. Journal of Dairy Science 100, 1038110397.CrossRefGoogle ScholarPubMed
Rutten, CJ, Velthuis, AGJ, Steeneveld, W and Hogeveen, H (2013) Invited review: sensors to support health management on dairy farms. Journal Dairy Science 96(4), 19281952.10.3168/jds.2012-6107CrossRefGoogle ScholarPubMed
Schalm, OW and Noorlander, DO (1957) Experiments and observations leading to the development of the California Mastitis Test. Journal of the American Veterinary Medical Association 130(5), 199204.Google Scholar
Schwarz, D, Diesterbeck, US, Failing, K, König, S, Brügemann, K, Zschöck, M, Wolter, W and Czerny, CP (2010) Somatic cell counts and bacteriological status in quarter foremilk samples of cows in Hesse, Germany–a longitudinal study. Journal of Dairy Science 93, 57165728.CrossRefGoogle ScholarPubMed
Sepúlveda-Varas, P, Proudfoot, KL, Weary, DM and von Keyserlingk, MAG (2016) Changes in behaviour of dairy cows with clinical mastitis. Applied Animal Behaviour Science 175, 813.10.1016/j.applanim.2014.09.022CrossRefGoogle Scholar
Shook, GE (1993) Genetic improvement of mastitis through selection on somatic cell count. The Veterinary Clinics of North America. Food Animal Practice 9(3), 563581. doi:10.1016/s0749-0720(15)30622-8Google Scholar
Siivonen, J, Taponen, S, Hovinen, M, Pastell, M, Lensink, J, Pyörälä, S and Hänninen, L (2011) Impact of acute clinical mastitis on cow behaviour. Applied Animal Behaviour Science 132(3–4), 101106. doi:10.1016/j.applanim.2011.04.005CrossRefGoogle Scholar
Steeneveld, W, Gaag Lc, van der, Barkema, HW and Hogeveen, H (2010) Simplify the interpretation of alert lists for clinical mastitis in automatic milking systems. Computers and Electronics in Agriculture 71, 5056.10.1016/j.compag.2009.12.011CrossRefGoogle Scholar
Zhao, X and Lacasse, P (2008) Mammary tissue damage during bovine mastitis: causes and control. Journal of Animal Science 86, 5765.10.2527/jas.2007-0302CrossRefGoogle Scholar
Supplementary material: File

Haponiuk Prus et al. supplementary material

Haponiuk Prus et al. supplementary material
Download Haponiuk Prus et al. supplementary material(File)
File 69.2 KB