347
Views
18
CrossRef citations to date
0
Altmetric
Original Articles

HYBRID NEURAL MODELING OF THE ELECTRICAL CONDUCTIVITY PROPERTY OF RECOMBINED MILK

Pages 49-61 | Received 05 Sep 2000, Accepted 19 Mar 2001, Published online: 06 Feb 2007

Abstract

This paper focuses on modeling the electrical conductivity of recombined milk by a hybrid neural modeling technique. It aims to establish a model that accounts for the effect of milk constituents (protein, lactose, and fat) and temperature on the electrical conductivity of recombined milk. Such a model should provide physical insight to the underlying relationship, in addition to its high precision.

A hybrid neural model was established by combining a mechanistic model to explain the major interrelation and an ANN model to deal with the difference and noise. Two mechanistic models and two 4-layer ANN models were developed. The best mechanistic model in terms of the smallest sum square error (SSE) combined a linear equation describing the effect of milk component concentration and a non-linear equation describing the effect of temperature. For this model, the correlation coefficient between the actual electrical conductivity and the modelled electrical conductivity was 0.9878 and SSE was 1.3376. Combining it with the 4-layer ANN model that produced the smallest SSE, the resulted hybrid neural model provided the best performance, with a correlation coefficient of 0.9982 between the actual electrical conductivity and the modelled electrical conductivity and a SSE of 0.1410.

Abbreviations: ANN, artificial neural network; EC, electrical conductivity (mS/cm); c, concentration (mol.m−3); D, diffusion coefficient (m2.s−1); F, Faraday constant (A.s.mol−1); ΔG, Gibbs free energy of activation for the reaction (kJ.mol−1); K, specific conductivity (Ω−1.m−1); k, dissociation constant (mol.m−3); R, ideal gas constant (J.K−1.mol−1); T, temperature (K); Λ0, molar conductivity at infinite dilution (Ω−1.m2.mol−1); Λc, molar conductivity at finite dilution (Ω−1.m2.mol−1); z i , charge number

INTRODUCTION

Electrical conductivity is a property of a solution involving the movement of ions and the electron transportation to complete the current path.Citation[1] It has been used widely in dairy industry. The electrical conductivity is one of the testing methods used to determine quantities such as soluble saltsCitation[2], protein content in whey powderCitation[3], and casein content during rennetingCitation[4]. It can also be used as a diagnostic tool for intramammary infectionCitation[5]. Electrical conductivity measurement has long been used during cleaning-in-place (CIP) as a quality control indicator.

Typically the electrical conductivity of milk at 25°C is in the range from 4.0 to 5.5 mS/cm.Citation[6] It increases with temperature and ion concentration in milkCitation[1], so protein has a positive influence on it.Citation[7] On the other hand, it decreases as the concentrations of fat and lactose increase because their structures cannot conduct current.Citation[8]

Although there were many studies on the effect of a single factor (such as temperature, protein, lactose) on electrical conductivity,Citation8-10, Citation[7]> there was generally a lack of study on the comprehensive effect of temperature and milk constituents on electrical conductivity, particularly their interactions. Consequently, HutabaratCitation[11] studied the electrical conductivity property of recombined milk at various temperatures and milk concentrations by applying multiple regression technique. It was found that the electrical conductivity change was caused by the variation in temperature and milk constituents, which include protein, fat, and lactose. Furthennore, the interaction between the milk constituents and temperature was non-linear.

Due to its superb capability of learning non-linear relationships from experimental data, feed-forward artificial neural network (ANN) with backpropagation training was used in our previous study to establish a non-linear model for the electrical conductivity of recombined milk.Citation[12] Various ANN models of 4 layers (1 input layer, 2 hidden layers and 1 output layer) and 3 layers (1 input layer, 1 hidden layer and 1 output layer) were developed. It was found that the performance of the 4-layer models was better than that of the 3-layer ones. The sum square error (SSE) of the best ANN model was only 0.4864 and the correlation coefficient between the actual electrical conductivity and the modelled electrical conductivity was as high as 0.9937. However, the model provided no physical insight to the relationship, because ANN is a black box approach expressing a relationship in the form of numeric weights and bias. This disadvantage can be alleviated by hybrid neural modelling, which integrates an ANN model with a mechanistic model.Citation[13] The integration reduces the disadvantages of both ANN modelling and mechanistic modelling while combining their advantages. ANN is able to deal with fuzzy or noisy data that are too complex to be explained by a mechanistic model. Meanwhile, the mechanistic model is able to explain the interrelation in the black box of ANN model. Therefore, hybrid model is proved to be superior to both ANN model and mechanistic model.Citation[14] Citation[15] Citation[16]

The aim of this study was to model the relationship between electrical conductivity and milk constituents and temperature by using hybrid neural modelling. The new model was expected to provide more explicit physical significance than the previously established ANN model.Citation[12]

The experimental data used in this study were taken from Hutabarat,Citation[11] who conducted the experiments by a 2×4×4×4 (fat×protein×lactose×temperature) factorial design. A total of 32 samples of recombined milk were prepared. The fat level of the samples was at 3% and 6%. The protein level was at 1%, 2%, 3%, and 4%. The lactose level was at 4%, 6%, 8%, and 10%. The electrical conductivity of the samples was measured by a Microprocessor 900C electrical conductivity meter at 50°C, 55°C, 60°C, and 65°C. Consequently, 128 experimental data sets were produced. Each set consisted of fat content, protein content, lactose content, temperature, and electrical conductivity value.

The rest of this paper is organised as follows. Firstly, the structure of hybrid neural model will be given in the next section. Then the results of modelling including mechanistic modelling and hybrid neural modelling are presented together with discussions. Conclusions are provided at the end.

STRUCTURE OF HYBRID NEURAL MODELS

There are two typical structures for hybrid neural models, namely serial structure and parallel structure. In the serial structure, an ANN model produces its output that becomes the input of a mechanistic model. In the parallel structure, an ANN model and a mechanistic model produce their own outputs. The combination of the outputs is the final result.Citation[14] The structure of the hybrid neural model for this study is shown in Figure . Input data including %protein, %lactose, %fat and temperature were introduced to both mechanistic part and ANN part of the hybrid model. The difference between the modelled electrical conductivity by the mechanistic model and the actual measured electrical conductivity was taken as the target output for training the ANN model. As a result, the ANN model provided the estimated difference, which was added to the estimated electrical conductivity by the mechanistic model. The mechanistic model provided physical insight to the major relationship between the electrical conductivity and milk constituents and temperature. The ANN model provided an estimation of the complicated and subtle interactions among the variables, which were not accounted by the mechanistic model. The electrical conductivity estimated by the hybrid model was compared to the actual electrical conductivity to verify the model performance in terms of SSE and correlation coefficient.

Structure of hybrid neural model.

Structure of hybrid neural model.

MECHANISTIC MODELS

Two mechanistic models were developed, based on different electro-chemical theories.

The First Mechanistic Model

According to Nernst-Einstein Equation,Citation[2] the influence of ion concentration on electrical conductivity is linear in fashion. Each ionic component in milk contributes to electrical conductivity at constant temperature as follows:

where K i is specific conductivity, c i is ion concentration, D i is diffusion coefficient, z i is charge number, F is the Faraday constant, R is the ideal gas constant, and T is temperature.

Taking (D i z i 2 F 2)/RT as a temperature dependent coefficient, we have:

Let K P , K L , K F , and K O represent the contribution of protein, lactose, fat and other components to the electrical conductivity respectively, we have:

where A, B, C, and D are coefficients. Then the total conductivity becomes:
or

The 128 experimental data sets fromCitation[11] were used to calculate the coefficients by the least square regression (LSR) method. At each constant temperature, the coefficients A, B, and C were calculated for the molar concentration of protein, lactose and fat respectively. The constant D, which represents the electrical conductivity contributed by other components in milk, was also calculated. Results are presented in Table .

Electrical Conductivity at Different Temperatures in the First Mechanistic Model

In all equations in Table , the protein coefficients were positive while the lactose and fat coefficients were negative. This proves that protein can contribute to electrical conductivity whereas lactose and fat are only ion dillutants because they cannot conduct current. The constant coefficients were also positive. This term includes the conductivity contributed by other constituents including salts, the major conductors in milk. Due to the small SSEs and high correlation coefficients in all equations at various temperatures, the relationship between electrical conductivity and concentration of each component is reasonably concluded to be linear.

In fact, the coefficients embedded several parameters such as temperature that influences the activity of ions. As a result, with the same concentration, the electrical conductivity was different at different temperatures. This coincides with the claim inCitation[2] that electrical conductivity is influenced by the activity of component, not its concentration. The influence of temperature on the concentration coefficients was proposed to follow Arrhenius type of equation as follows:

Again, LSR method was used for computing the values of the parameters. Results are given in Table .

Concentration Coefficients in the First Mechanistic Model

Substituting all equations in Table into equationEquation8, the first mechanistic model for the electrical conductivity of recombined milk was obtained as follows:

The corresponding R and SSE were 0.9878 and 1.337.

Based on this mechanistic model, the relationship between electrical conductivity and milk component concentration was linear whereas the relationship between electrical conductivity and temperature was non-linear. However, this model produced a much higher SSE and a much lower correlation coefficient than the ANN model in the previous study Citation[12]. Therefore the model's accuracy is not acceptable and a hybrid model incorporating ANN will be developed to address this issue.

The Second Mechanistic Model

Kohlrausch Equation Citation[2] describes the relationship between molar conductivity and ion concentration for weak electrolyte. It can be modified to express the relationship between electrical conductivity and ion concentration as follows:

where k is dissociation constant, Λ c is molar conductivity at finite dilution, and Λ 0 is molar conductivity at infinite dilution.

Taking Λ c =K/c, equationEquation14 can be rearranged to:

Therefore, the relationship between molar concentration and electrical conductivity is quadratic. For simplicity, we assume 0≈2, equationEquation15 becomes:
Taking 2Λ 0 as a coefficient, we have:

Thus each milk component contributes to the electrical conductivity as follows:

The total conductivity becomes:

LSR was again used for solving the coefficients in the above non-linear equation. At constant temperature, the coefficients A, B, C, and D were calculated. Results are presented in Table .

Similar to the first mechanistic model, the protein coefficient was positive whereas the lactose and fat coefficients were negative at any temperature. Again, this strongly proves that protein can contribute to electrical conductivity whereas lactose and fat cannot. In fact, they diluted ion concentration in milk resulting in a decreased conductivity with increasing either fat or lactose concentration or both. The constant D was also positive. This is because other constituents also contribute to the electrical conductivity in milk. Compared to the linear equations in the first model, these non-linear equations provided slightly higher SSEs and lower correlation coefficients. However, the results were still reasonable.

Electrical Conductivity at Different Temperatures in the Second Mechanistic Model

The influence of temperature on the coefficients was again proposed to follow Arrhenius type of equation. New parameters were computed by LSR and given in Table .

Concentration Coefficients in the Second Mechanistic Model

Substituting all equations in Table into equationEquation22, the second mechanistic model for the electrical conductivity of recombined milk was obtained:

Solving the above second order algebraic equation yields:

where SQRT stands for square root function. This model presented a non-linear relationship between electrical conductivity and milk component concentration as well as a non-linear relationship between electrical conductivity and temperature. It produced a correlation coefficient of 0.9822 between the actual electrical conductivity and the modelled electrical conductivity with a SSE of 1.5656. The model performance was not significantly different from that of the first model. Therefore, the relationship between electrical conductivity and milk component concentration could be mechanistically described as being either linear or non-linear for the recombined milk studied (1–4% protein, 4–10% lactose, and 3–6% fat). The relationship between electrical conductivity and temperature was found to be nonlinear from both mechanistic models and can be described by an Arrhenius type of equation. However, both mechanistic models produced significantly higher SSE and lower correlation coefficient compared to the ANN models inCitation[12].

HYBRID NEURAL MODELS

As the first and second mechanistic models produced comparable model performance, both models were selected to combine with ANN to produce hybrid models. The difference (i.e. the gap) between the actual electrical conductivity and the modelled electrical conductivity by the mechanistic models was calculated and used as the target output for training ANN, as shown in Figure . Therefore, for an ANN model, the inputs consisted of %protein, %lactose, %fat and temperature, while the output was only the difference between the actual electrical conductivity and the modelled electrical conductivity by the mechanistic model. Such an ANN model does not directly predict electrical conductivity but only the gap. It will be part of a final hybrid neural model.

The 128 experimental data fromCitation[11] were divided into two sets for developing ANN models, 90% for training and 10% for verification. The training set contained 115 pairs of input and output vectors and they were normalised to a dimensionless range from zero to one. Normalising data to a dimensionless range between zero and one generally helps to improve the training speed of an ANN. The training set was then used to train 4-layer feed-forward ANN models with back propagation algorithm. The 4-layer ANNs had four neurons in the input layer, four neurons in the first hidden layer, four neurons in the second hidden layers and one neuron in the output layer. All neurons had a bias and a log-sigmoid transfer function. Two ANN models were developed, one for each of the two mechanistic models. Table shows the performance of the two ANN models after being trained with back propagation algorithm for 1×106 epochs with an error criteria of 0.001. The model performance for verification is also shown in Table .

Performance of the Two ANN Models for Hybrid Neural Modelling

As shown in Figure , the first and second mechanistic models were then combined with the first and second ANN models, resulting in two hybrid neural models. The model performance of the two hybrid neural models is given in Table . Also given in Table are the model performance of the two mechanistic models and the model performance of the ANN model in Citation[12]. It is clear from this table that the hybrid neural models are much better than both the mechanistic models and the ANN model, as they have smaller sum square error (SSE), smaller mean square error (MSE), and higher correlation coefficient (R) between the actual electrical conductivity and the modelled electrical conductivity. Comparisons between the actual electrical conductivity and the modelled electrical conductivity by the first and the second hybrid neural models are shown in Figures and respectively.

Model Performance of Various EC Models

Figure 2.Correlation between the actual EC and the modelled EC by the 1st hybrid neural model.

Figure 2.Correlation between the actual EC and the modelled EC by the 1st hybrid neural model.

Figure 3. Correlation between the actual EC and the modelled EC by the 2nd hybrid neural model.

Figure 3. Correlation between the actual EC and the modelled EC by the 2nd hybrid neural model.

Among the three types of models in Table (ANN model,Citation[12] mechanistic models, and hybrid neural models), the mechanistic models produced the worst performance. The ANN model proved to be very effective, which demonstrated ANN's modelling potential over the conventional techniques, because it can learn from experience and can predict from recognised data patterns.Citation[12] However, the hybrid models showed even better performance than the ANN model. Furthermore, the interrelation between electrical conductivity and concentration of milk constituents at different temperatures could be explained physically in the hybrid models. All these substantiated the great potential of hybrid neural modelling technique.

Compared to the second hybrid neural model, the mathematical structure of the first hybrid neural model was simpler while its performance was better. Consequently, the best model for the electrical conductivity of recombined milk was the first hybrid neural model. It described the major linear relationship between electrical conductivity and concentration as well as the non-linear relationship between electrical conductivity and temperature with the highest correlation coefficient (0.9982) and the smallest SSE (0.0011).

CONCLUSIONS

Relationship that accounts for the effects of milk composition and temperature on the electrical conductivity of recombined milk has been established by hybrid neural modelling. The hybrid neural model was obtained by combining a mechanistic model with a 4-layer ANN.

Within the hybrid neural model, its mechanistic model part can physically explain that the molar concentration of milk constituents affects the electrical conductivity in a linear fashion. Increasing the protein concentration increases the electrical conductivity whereas increasing the lactose and fat concentration decreases the electrical conductivity. Moreover, the influence of temperature is described by a non-linear function. The electrical conductivity increases as temperature increases.

The ANN model part within the hybrid neural model accounts for the difference between the measured electrical conductivity value and the value by the mechanistic model. This difference is due to many factors that are not covered by the mechanistic model. Some of these factors include the non-linear effects of milk composition, interactions among the milk constituents and temperature and measurement noise.

It has been shown that the hybrid neural model is superior to other models developed by mechanistic modelling only or by ANN modelling only. This research has demonstrated the great potential of hybrid neural modelling technique.

ACKNOWLEDGEMENT

Financial support to N. Therdthai from the Australian Agency for International Development (AusAID) is gratefully acknowledged.

REFERENCES

  • Loveland , J.W. 1986 . “ Conductance and Oscillometry ” . In Instrument Analysis , 2 Edited by: Christian , G.D. and O'Reilly , J.E. 122 – 143 . USA : Allyn and Bacon. Inc. .
  • Crow , D.R. 1994 . Principles and Application of Electro Chemistry , 4 282 Glasgow, , UK : Blackie Academic & Professional .
  • Zhuang , W. , Zhou , W. , Nguyen , M.H. and Hourigan , J.A. 1997 . Determination of Protein Content of Whey Powder Using Electrical Conductivity Measurement . International Dairy Journal , 7 ( 10 ) : 647 – 653 .
  • Dejmek , P. 1989 . Precision Conductometry in Milk Renneting . Journal of Dairy Research , 56 ( 1 ) : 69 – 78 .
  • Woolford , M.W. , Williamson , J.H. and Henderson , H.V. 1998 . Changes in Electrical Conductivity and Somatic Cell Count between Milk Fractions from Quarters Sub-Clinical Infected with Particular Mastitis Pathogens . Journal of Dairy Research , 65 ( 2 ) : 187 – 198 .
  • Nielen , M. , Deluyker , H. , Schukken , Y.H. and Brand , A. 1992 . Electrical Conductivity of Milk: Measurement, Modifiers, and Meta Analysis of Mastitis Detection Performance . Journal of Dairy Science , 75 ( 2 ) : 606 – 614 .
  • St-Gelais , D. , Champagne , C.P. , Erepmoc , F. and Audet , P. 1995 . The Use of Electrical Conductivity to Follow Acidification of Dairy Blends . International Dairy Journal , 5 ( 5 ) : 427 – 438 .
  • Prentice , J.H. 1962 . The Conductivity of Milk – The Effect of the Volume and Degree of Dispersion of the Fat . Journal of Dairy Research , 29 ( 2 ) : 131 – 139 .
  • Prentice , J.H. 1972 . The Temperature Coefficient of Electrolytic Conductivity of Milk . Journal of Dairy Research , 39 ( 2 ) : 275 – 278 .
  • Oshima , M. 1978 . Empirical Formula for Correcting Electrical Conductivity Values of Milk in Relation to Temperature . Japanese Journal of Zootechnical Science , 49 ( 3 ) : 180 – 188 .
  • Hutabarat , T. 1998 . Studies on Correlation between Electrical Conductivity of Recombined Milk and its Constituents under Different Temperatures 123 Hawkesbury, , Australia : University of Western Sydney . BAS Honors Thesis
  • Therdthai , N. and Zhou , W. 2001 . Artificial Neural Network Modelling of the Electrical Conductivity Property of Recombined Milk . Journal of Food Engineering , 50 ( 2 ) : 107 – 111 .
  • Medsker , L. and Liebowitz , J. 1994 . Design and Development of Expert Systems and Neural Networks 273 USA : Macmillan College Publishing Company, Inc. .
  • Zbicinski , I. , Kaminski , W. , Ciesielski , K. and Strumillo , P. 1997 . Dynamic and Hybrid Neural Model of Thermal Drying in a Fluidised Bed . Drying Technology , 15 ( 6–8 ) : 1743 – 1752 .
  • Hussain , M.A. and Rahman , M.S. 1999 . Thermal Conductivity Prediction of Fruits and Vegetables using Neural Networks . International Journal of Food Properties , 2 ( 2 ) : 121 – 137 .
  • Henriques , S.A. , Costa , A. , Alves , T. and Lima , E. 1999 . A Hybrid Neural Model of Ethanol Production by Zymomonas mobilis . Applied Biochemistry and Biotechnology , 77–79 : 277 – 291 .

Reprints and Corporate Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

To request a reprint or corporate permissions for this article, please click on the relevant link below:

Academic Permissions

Please note: Selecting permissions does not provide access to the full text of the article, please see our help page How do I view content?

Obtain permissions instantly via Rightslink by clicking on the button below:

If you are unable to obtain permissions via Rightslink, please complete and submit this Permissions form. For more information, please visit our Permissions help page.