• Tidak ada hasil yang ditemukan

Example: ANN modeling for snack food frying process control

Dalam dokumen ENGINEERINGFOOD for AUTOMATION (Halaman 150-155)

4.3 ANN modeling

4.3.5 Example: ANN modeling for snack food frying process control

network stability and to reduce noise fitting in modeling. Table 4.12 shows that incorporating weight-decay into the leave-one-out Levenberg–Marquardt BP training achieved better models which had higher R2 and lower validation MSE values. The decay constant λ was determined to see if it gave a better model generalization. The results indicated that these models had better out-put variation accounting and generalization. These models were evaluated as the best models with good output variation accounting and less noise fitting.

It was also interesting that incorporating weight decay made the training slightly more efficient vs. implementing the Levenberg–Marquardt algorithm alone.

for the equation of y1(t) and Θ2 is for the equation of y2(t): d represents the time lags between the process input (t) and the process output (t), that is, (t − d) = [u1(t − d1), u2(t − d2)]T in which d1 and d2 are the minimum time lags of the inputs related to the present outputs y1(t) and y2(t), respectively: (t) =1(t), ε2(t)]T is the measurement noise vector in which ε1(t) is for the equation of y1(t) and ε2(t) is for the equation of y2(t) at time t, which is assumed to be two-dimensional Gaussian distributed with zero mean and constant variance.

Eq. (4.4) provided a more general description of this representation. In Eq. (4.47), the time lags are represented explicitly with the symbol d (5 s) because in the process any action from the actuators for controlling the temperature and the conveyor speed will take a period of time to take effect on the sensor readings for color and moisture content. These time lags were determined through field measurement and statistical analysis. They were 20 and 16 units (5 s), respectively, from inlet temperature, residence time to the process outputs, color and moisture content.

ANNs could be used to directly approximate the function f ( ) as described in Eq. (4.51) as follows

(4.52) This modeling approach has no network output feedback and takes the structure of a MFN. It can provide the one-step-ahead predictor, described in the next chapter, for internal model control (IMC) which is described in Chapter 6.

A one-hidden-layered feedforward neural network was trained with the BP algorithm to model the 2 × 2 system. Before training, the data were scaled as Eq. (3.1). Following the procedure of model identification for neural net-works, the smallest structure of the neural network process model was identified. From Table 4.13, it can be seen that although the FPE still decreased, 3 was chosen as the number of hidden nodes of the neural network process model because the test MSE had a minimum there. Table 4.14 shows that the test MSE and FPE had the minimum values at (2, 2, 2, 2) of the

Table 4.13 Results of the Determination of the Number of Hidden Nodes of the Neural Network Model for the Snack

Food Frying Process*

Number of

Hidden Nodes Training MSE Test MSE FPE

1 0.107641 0.132214 0.108852

2 0.031462 0.051293 0.032226

3 0.029928 0.050594 0.030994

4 0.029437 0.050692 0.030823

5 0.028460 0.052278 0.030130

* From Huang et al. (1998a). With permission.

u y

u

e

yˆ t( ) = fˆ y t 1( ( – ), y t 2( – ),…, y t p( – ), u t d( – –1), u t d( – –2),…, u t d( – –q), W )

model order (p1, p2, q1, q2). The order of the neural network model was determined as (2, 2, 2, 2). The resulting smallest structure of the neural network model was 8 × 3 × 2, that is, 8 inputs by 3 hidden nodes by 2 outputs, which is shown in Figure 4.9.

Table 4.14 Results of the Order Determination of the Neural Network Model for the Snack Food Frying Process*

Model Order Training MSE Test MSE FPE

(1, 1, 1, 1) 0.032226 0.055117 0.032648

(2, 2, 2, 2) 0.029928 0.050594 0.030655

(3, 3, 3, 3) 0.031292 0.052863 0.032407

(4, 4, 4, 4) 0.034187 0.054443 0.043841

* From Huang et al. (1998a). With permission.

Figure 4.9 Resulting structure of the neural network model for the snack food frying process.

y1(t)

y2(t) y1(t-1)

y2(t-1)

y1(t-2)

y2(t-2)

u1(t-17)

u2(t-17)

u1(t-18)

u2(t-18)

References

Akaike, H., Fitting autoregressive models for prediction, Ann. Inst. Stat. Math., 21, 243, 1969.

Akaike, H., Information theory and an extension of the maximum likelihood princi-ple, Proc. 2nd Int. Symp. Inf. Theor., Budapest, 1973, 267.

Aleksander, I., Neural Computing Architecture, MIT Press, Cambridge, MA, 1989.

Bullock, D., Modeling of a continuous food process with neural networks, M.Sc.

thesis. Texas A&M University, College Station, TX, 1995.

Cybenko, G., Approximator by superpositions of a sigmoidal function, Math. Contr.

Sign. Syst., 2, 303, 1989.

Duda, R. O. and Hart, P. E., Pattern Classification and Scene Analysis, John Wiley &

Sons, New York, 1973.

Efroymson, M. A., Multiple regression analysis, in Mathematical Methods for Digital Computers, Ralston, A., and Wilf, H. S., Eds., John Wiley & Sons, New York, 1962.

Finnoff, W., Hergert, F., and Zimmermann, H. G., Improving model selection by nonconvergent methods, Neur. Net., 6, 771, 1993.

Grossberg, S., Adaptive pattern classification and universal recording. I. Parallel development and coding of neural feature detectors, Biol. Cybern., 23, 121, 1976.

Hagan, M. T. and Menhaj, M. B., Training feedforward networks with the Marquardt algorithm, IEEE Trans. Neur. Net., 596, 989, 1994.

Haralick, R. M., Shanmugam, K., and Dinstein, I., Textural features for image classi-fication, IEEE Trans. Syst., Man, Cybern., 3(6), 610, 1973.

Hebb, D. O., The Organization of Behavior, John Wiley & Sons, New York, 1949.

Hopfield, J. J., Neural networks and physical systems with emergent collective com-putational abilities, Proc. Nat. Acad. Sci., 79, 2554, 1982.

Hornik, K., Stinchcombe, M., and White, H., Multilayer feedforward neural networks are universal approximators, Neur. Net., January, 359, 1989.

Huang, Y., Snack food frying process input–output modeling and control through artificial neural networks, Ph.D. dissertation, Texas A&M University, College Station, TX, 1995.

Huang, Y., Lacey, R. E., Moore, L. L., Miller, R. K., Whittaker, A. D., and Ophir, J., Wavelet textural features from ultrasonic elastograms for meat quality pre-diction, Trans. ASAE, 40(6), 1741, 1997.

Huang, Y., Lacey, R. E., and Whittaker, A. D., Neural network prediction modeling based on elastographic textural features for meat quality evaluation, Trans.

ASAE, 41(4), 1173, 1998.

Huang, Y., Whittaker, A. D., and Lacey, R. E., Neural network prediction modeling for a continuous, snack food frying process, Trans. ASAE, 41(5), 1511, 1998a.

Kohonen, T., Self-Organization and Associative Memory, Springer-Verlag, Berlin, 1984.

Lacey, R. E. and Osborn, G. S., Applications of electronic noses in measuring biolog-ical systems, ASAE paper No. 98-6116, St. Joseph, MI, 1998.

Lippman, R. P., An introduction to computing with neural nets, IEEE ASSP Mag., April, 4, 1987.

Ljung, L., System Identification: Theory for the User, 2nd ed., Prentice-Hall, Upper Saddle River, NJ, 1999.

Lozano, M. S. R., Ultrasonic elastography to evaluate beef and pork quality, Ph.D.

dissertation, Texas A&M University, College Station, TX, 1995.

McCulloch, W. S. and Pitts, W., A logical calculus of the ideas immanent in nervous activity, Bull. Math. Biophys., 9, 127, 1943.

Milton, J. S. and Arnold, J. C., Introduction to Probability and Statistics: Principles and Applications for Engineering and the Computing Sciences, 2nd ed., McGraw-Hill, New York, 1990.

Minsky, M. L. and Papert, S. A., Perceptrons, MIT Press, Cambridge, MA, 1969.

Moore, L. L., Ultrasonic elastography to predict beef tenderness, M.Sc. thesis, Texas A&M University, College Station, TX, 1996.

Moreira, R. G., Palau, J., and Sun, X., Simultaneous heat and mass transfer during deep fat frying of tortilla chips, J. Food Proc. Eng., 18, 307, 1995.

Nasrabadi, N. M. and Feng, Y., Vector quantization of images based upon the Kohonen self-organizing feature maps, Proc. IEEE Int. Conf. Neur. Net., 1, 101, 1988.

Park, B., Non-invasive, objective measurements of intramuscular fat in beef through ultrasonic A-model and frequency analysis, Ph.D. dissertation, Texas A&M University, College Station, TX, 1991.

Rosenblatt, F., The perceptron: a probabilistic model for information storage and organization in the brain, Psychol. Rev., 65, 386, 1958.

Rumelhart, D. E. and McClelland, J. L., Parallel Distributed Processing: Explorations in the Microstructures of Cognition, Vols. I & II, MIT Press, Cambridge, Massachusetts, 1986.

Rumelhart, D. E., Hinton, G. E., and Williams, R. J., Learning representations by back-propagating errors, Nature, 323, 533, 1986a.

Rumelhart, D. E., Hinton, G. E., and Williams, R. J., Learning internal representation by error propagation, in Parallel Distributed Processing: Explorations in the Microstructures of Cognition, Vol. I, MIT Press, Cambridge, MA, 1986b.

Sarle, W. S., Neural Nets FAQ, SAS Institute Inc., Cary, NC, 1999.

Sayeed, M. S., Whittaker, A. D., and Kehtarnavaz, N. D., Snack quality evaluation method based on image features and neural network prediction, Trans. ASAE, 38(4), 1239, 1995.

Scales, L. E., Introduction to Nonlinear Optimization, Springer-Verlag, New York, 1985.

Shibata, R., Various model selection techniques in time series analysis, in Handbook of Statistics, Vol. 5, 179, North-Holland, Amsterdam, 1985.

Werbos, P. J., Beyond regression: new tools for prediction and analysis in the behavior sciences, Ph.D. dissertation, Harvard University, MA, 1974.

Whittaker, A. D., Park, B., McCauley, J. D., and Huang, Y., Ultrasonic signal classifi-cation for beef quality grading through neural networks, Proc. 1991 Symp.

Automat. Agric. 21st century, St. Joseph, MI, 1991.

Whittaker, A. D., Park, B., Thane, B. R., Miller, R. K., and Savell, J. W., Principles of ultrasound and measurement of intramuscular fat, J. Anim. Sci., 70, 942, 1992.

chapter five

Prediction

Dalam dokumen ENGINEERINGFOOD for AUTOMATION (Halaman 150-155)