| Literature DB >> 27420069 |
Mauro Zaninelli1, Francesco Maria Tangorra2, Annamaria Costa3, Luciana Rossi4, Vittorio Dell'Orto5, Giovanni Savoini6.
Abstract
The aim of this study was to develop and test a new fuzzy logic model for monitoring the udder health status (HS) of goats. The model evaluated, as input variables, the milk electrical conductivity (EC) signal, acquired on-line for each gland by a dedicated sensor, the bandwidth length and the frequency and amplitude of the first main peak of the Fourier frequency spectrum of the recorded milk EC signal. Two foremilk gland samples were collected from eight Saanen goats for six months at morning milking (lactation stages (LS): 0-60 Days In Milking (DIM); 61-120 DIM; 121-180 DIM), for a total of 5592 samples. Bacteriological analyses and somatic cell counts (SCC) were used to define the HS of the glands. With negative bacteriological analyses and SCC < 1,000,000 cells/mL, glands were classified as healthy. When bacteriological analyses were positive or showed a SCC > 1,000,000 cells/mL, glands were classified as not healthy (NH). For each EC signal, an estimated EC value was calculated and a relative deviation was obtained. Furthermore, the Fourier frequency spectrum was evaluated and bandwidth length, frequency and amplitude of the first main peak were identified. Before using these indexes as input variables of the fuzzy logic model a linear mixed-effects model was developed to evaluate the acquired data considering the HS, LS and LS × HS as explanatory variables. Results showed that performance of a fuzzy logic model, in the monitoring of mammary gland HS, could be improved by the use of EC indexes derived from the Fourier frequency spectra of gland milk EC signals recorded by on-line EC sensors.Entities:
Keywords: dairy goats; electrical conductivity; fuzzy logic; mastitis
Mesh:
Year: 2016 PMID: 27420069 PMCID: PMC4970125 DOI: 10.3390/s16071079
Source DB: PubMed Journal: Sensors (Basel) ISSN: 1424-8220 Impact factor: 3.576
Figure 1Dimensions of the EC sensor head placed at the base of each individual teatcup.
Figure 2Example of gauges obtained from the milk electrical conductivity (EC) signals acquired within a milking. Furthermore, the following graphs report: (A) the sequences without the signal samples related to the start and the end of milking; (B) the sequences where the mean value of each sequence have been subtracted to each signal sample acquired; (C) the Fourier frequency spectra of the previous sequences of signal samples and the three main frequency peaks and (D) the bandwidth length of the signal (also colored to be easily highlighted).
Membership functions for the milk electrical conductivity (EC) traits considered in the study. These traits were: (1) Maximum EC; (2) Deviation EC; (3) Bandwidth Length; (4) Peak Frequency and (5) Peak Amplitude.
| Trait | Function | Shape | Point of Characterization |
|---|---|---|---|
| Maximum EC | Low | Trapezoidal | (0; 1) (3.5; 1) (7; 0) |
| Middle | Triangular | (3.5; 0) (7; 1) (10.5; 0) | |
| High | Trapezoidal | (7; 0) (10.5; 1) (14; 1) | |
| Deviation in EC | Low | Trapezoidal | (0; 1) (0.04; 1) (0.11; 0) |
| Middle | Triangular | (0.04; 0) (0.11; 1) (0.18; 0) | |
| High | Triangular | (0.11; 0) (0.18; 1) (0.25; 0) | |
| Very high | Trapezoidal | (0.18; 0) (0.25; 1) (0.7; 1) | |
| Bandwidth Length | Low | Trapezoidal | (0; 1) (0.09; 1) (0.13; 0) |
| Middle | Triangular | (0.13; 0) (0.17; 1) (0.21; 0) | |
| High | Trapezoidal | (0.21; 0) (0.25; 1) (1; 1) | |
| Peak Frequency | Low | Trapezoidal | (0; 1) (0.009; 1) (0.013; 0) |
| Middle | Triangular | (0.009; 0) (0.013; 1) (0.017; 0) | |
| High | Trapezoidal | (0.013; 0) (0.017; 1) (0.025; 1) | |
| Peak Amplitude | Low | Trapezoidal | (0; 1) (15; 1) (30; 0) |
| Middle | Triangular | (15; 0) (30; 1) (45; 0) | |
| High | Trapezoidal | (30; 0) (45; 1) (60; 1) |
EC, electrical conductivity.
Rules of the fuzzy inference phase about the electrical conductivity (EC) traits considered in the study. The rules are applied to the input variables: maximum EC, deviation EC, bandwidth length, peak frequency and peak amplitude and, with membership functions equal to low, middle, high, and very high, they provide, as outcomes, the probability to find a not healthy gland.
| Fuzzy Inference Rules | Bandwidth Length | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Low | Middle | High | ||||||||||||
| Maximum EC | Maximum EC | Maximum EC | ||||||||||||
| Low | Middle | High | Low | Middle | High | Low | Middle | High | ||||||
| Peak Amplitude | Low | Peak Frequency | Low | Deviation EC | Low | None | None | None | None | None | None | None | None | None |
| Middle | None | None | None | None | None | None | None | None | None | |||||
| High | None | None | None | None | None | None | None | None | Low | |||||
| Very high | None | None | None | None | None | Low | None | Low | Middle | |||||
| Middle | Deviation EC | Low | None | None | None | None | None | None | None | None | None | |||
| Middle | None | None | None | None | None | None | None | None | Low | |||||
| High | None | None | None | None | None | Low | None | Low | High | |||||
| Very high | None | None | Low | None | Low | Middle | Low | Middle | Very high | |||||
| High | Deviation EC | Low | None | None | None | None | None | None | None | None | Low | |||
| Middle | None | None | None | None | None | Low | None | Low | High | |||||
| High | None | None | Low | None | Low | High | Low | High | Very high | |||||
| Very high | None | Low | Middle | Low | Middle | Very high | Middle | Very high | Very high | |||||
| Middle | Peak Frequency | Low | Deviation EC | Low | None | None | None | None | None | None | None | None | None | |
| Middle | None | None | None | None | None | None | None | None | Low | |||||
| High | None | None | None | None | None | Low | None | Low | High | |||||
| Very high | None | None | Low | None | Low | Middle | Low | Middle | Very high | |||||
| Middle | Deviation EC | Low | None | None | None | None | None | None | None | None | Low | |||
| Middle | None | None | None | None | None | Low | None | Low | High | |||||
| High | None | None | Low | None | Low | High | Low | High | Very high | |||||
| Very high | None | Low | Middle | Low | Middle | Very high | Middle | Very high | Very high | |||||
| High | Deviation EC | Low | None | None | None | None | None | Low | None | Low | High | |||
| Middle | None | None | Low | None | Low | High | Low | High | Very high | |||||
| High | None | Low | High | Low | High | Very high | Middle | Very high | Very high | |||||
| Very high | Low | Middle | Very high | Middle | Very high | Very high | Very high | Very high | Very high | |||||
| High | Peak Frequency | Low | Deviation EC | Low | None | None | None | None | None | None | None | None | Low | |
| Middle | None | None | None | None | None | Low | None | Low | High | |||||
| High | None | None | Low | None | Low | High | Low | High | Very high | |||||
| Very high | None | Low | Middle | Low | Middle | Very high | Middle | Very high | Very high | |||||
| Middle | Deviation EC | Low | None | None | None | None | None | Low | None | Low | High | |||
| Middle | None | None | Low | None | Low | High | Low | High | Very high | |||||
| High | None | Low | High | Low | High | Very high | Middle | Very high | Very high | |||||
| Very high | Low | Middle | Very high | Middle | Very high | Very high | Very high | Very high | Very high | |||||
| High | Deviation EC | Low | None | None | Low | None | Low | High | Low | High | Very high | |||
| Middle | None | Low | High | Low | High | Very high | Middle | Very high | Very high | |||||
| High | Low | High | Very high | Middle | Very high | Very high | Very high | Very high | Very high | |||||
| Very high | Middle | Very high | Very high | Very high | Very high | Very high | Very high | Very high | Very high | |||||
EC, electrical conductivity.
Figure 3Example of a rule used in the fuzzy inference.
Parameters of the linear regressions performed on the electrical conductivity (EC) sensors used in the experiment and evaluated at different EC levels, from 4 mS/cm up to 12 mS/cm, by incremental steps of 2 mS/cm.
| Sensor | Angular Coefficient | R2 |
|---|---|---|
|
| 1.88 | 0.98 |
|
| 1.72 | 0.99 |
|
| 1.73 | 0.98 |
|
| 1.80 | 0.98 |
|
| 1.81 | 0.97 |
|
| 1.76 | 0.98 |
|
| 1.66 | 0.97 |
|
| 1.72 | 0.97 |
Distribution of pathogenic microorganisms found in infected mammary glands.
| Isolated Bacterial Strains | N | % |
|---|---|---|
| Coagulase-negative | 1148 | 41.1 |
|
| 36 | 1.3 |
|
| 136 | 4.9 |
|
| 47 | 1.7 |
| Contaminated | 11 | 0.3 |
|
| 1418 | 50.7 |
Distribution of infected cases along mammary glands, different goats and ranges of days of milking.
| Glands | Goats | Days of Milking |
|---|---|---|
| 2 | 1 | 30–60 |
| 6 | 4 | 60–90 |
| 8 | 5 | 90–120 |
Distribution of samples for each mammary gland health status considered.
| Health Status of Glands | N | % | Samples with Positive Bacteriological Analyses and SCC < 1,000,000 (cells/mL) | Samples with Positive Bacteriological Analyses and SCC > 1,000,000 (cells/mL) | Samples with Negative Bacteriological Analyses and SCC > 1,000,000 (cells/mL) | |||
|---|---|---|---|---|---|---|---|---|
| N | % | N | % | N | % | |||
| Not healthy | 1431 | 51.2 | 1155 | 41.3 | 223 | 8.0 | 53 | 1.9 |
| Healthy | 1365 | 48.8 | -- | -- | -- | -- | -- | -- |
Overall means and standard errors (S.E.) of SCC (log) of gland milk samples according to mammary gland health status and lactation stages.
| Health Status of Glands | Days in Milking | |||
|---|---|---|---|---|
| Not healthy | 5.34 ± 0.03 | 5.49 ± 0.02 | 5.58 ± 0.03 | 5.46 A ± 0.03 |
| Healthy | 5.28 ± 0.03 | 5.43 ± 0.03 | 5.48 ± 0.02 | 5.35 B ± 0.02 |
| All | 5.30 x ± 0.02 | 5.47 y ± 0.02 | 5.55 z ± 0.02 | 5.40 ± 0.02 |
A,B means in the same column with different uppercase superscripts differ significantly (p < 0.01); x,y,z means in the same row with different uppercase superscripts differ significantly (p < 0.05).
Overall means and standard errors (S.E.) of electrical conductivity (mS/cm) of gland milk samples according to mammary gland health status and lactation stages.
| Health Status of Glands | Days in Milking | |||
|---|---|---|---|---|
| Not healthy | 7.56 ± 0.09 | 9.57 ± 0.08 | 10.25 ± 0.11 | 9.07 A ± 0.06 |
| Healthy | 6.55 ± 0.07 | 8.88 ± 0.13 | 10.07 ± 0.23 | 7.64 B ± 0.07 |
| All | 7.01 X ± 0.06 | 9.32 Y ± 0.07 | 10.22 Y ± 0.1 | 8.48 ± 0.07 |
A,B means in the same column with different uppercase superscripts differ significantly (p < 0.01); X,Y means in the same row with different uppercase superscripts differ significantly (p < 0.01).
Overall means and standard errors (S.E.) of the bandwidth length, according to mammary gland health status and lactation stages.
| Health Status of Glands | Days in Milking | |||
|---|---|---|---|---|
| Not healthy | 0.26 ± 0.005 | 0.26 ± 0.007 | 0.25 ± 0.008 | 0.26 a ± 0.004 |
| Healthy | 0.24 ± 0.006 | 0.23 ± 0.005 | 0.22 ± 0.0073 | 0.23 b ± 0.003 |
| All | 0.25 X ± 0.004 | 0.24 x ± 0.004 | 0.22 Y,y ± 0.006 | 0.24 ± 0.004 |
a,b means in the same column, with different uppercase superscripts differ significantly (p < 0.05); X,Y means in the same, row with different uppercase superscripts differ significantly (p < 0.01); x,y means in the some row, with different lowercase superscripts differ significantly (p < 0.05).
Overall means and standard errors (S.E.) of the frequency of the first most representative spectrum peak (FFT_P1), according to mammary gland health status and lactation stages.
| Health Status of Glands | Days in Milking | |||
|---|---|---|---|---|
| Not healthy | 12.83 ± 0.31 × 10−3 | 11.89 ± 0.65 × 10−3 | 9.30 ± 0.29 × 10−3 | 11.63 a ± 0.32 × 10−3 |
| Healthy | 14.44 ± 0.64 × 10−3 | 13.03 ± 0.55 × 10−3 | 10.39 ± 0.91 × 10−3 | 13.66 b ± 0.42 × 10−3 |
| All | 13.72 X ± 0.38 × 10−3 | 12.30 Y ± 0.46 × 10−3 | 9.49 Z ± 0.29 × 10−3 | 12.47 ± 0.51 × 10−3 |
a,b means in the same column, with different uppercase superscripts differ significantly (p < 0.05); X,Y,Z means in the same, row with different uppercase superscripts differ significantly (p < 0.01).
Overall means and standard errors (S.E.) of the amplitude of the first most representative spectrum peak (FFT_P1), according to mammary gland health status and lactation stages.
| Health Status of Glands | Days in Milking | |||
|---|---|---|---|---|
| Not healthy | 28.95 ± 0.67 | 40.71 ± 0.96 | 40.68 ± 1.38 | 37.19 a ± 0.60 |
| Healthy | 25.07 ± 0.69 | 36.27 ± 1.24 | 39.23 ± 3.39 | 30.68 b ± 0.69 |
| All | 26.87 X ± 0.96 | 39.09 Y ± 0.76 | 40.43 Y ± 1.28 | 32.97 ± 0.59 |
a,b means in the same column with different lowercase superscripts differ significantly (p < 0.05); X,Y means in the same, row with different uppercase superscripts differ significantly (p < 0.01).
Accuracy reached by the fuzzy logic model in terms of sensitivity and specificity at different cut-off levels.
| Cut-Off Level | Sensitivity (%) | Specificity (%) |
|---|---|---|
| 0.90 | 56 | 92 |
| 0.80 | 69 | 86 |
| 0.70 | 76 | 83 |
| 0.60 | 80 | 78 |
| 0.50 | 85 | 74 |
| 0.40 | 90 | 68 |
| 0.30 | 93 | 59 |
| 0.20 | 97 | 47 |
| 0.10 | 99 | 27 |