Review Article  Open Access
M. N. Ab Malek, M. S. Mohamed Ali, "Evolutionary Tuning Method for PID Controller Parameters of a Cruise Control System Using Metamodeling", Modelling and Simulation in Engineering, vol. 2009, Article ID 234529, 8 pages, 2009. https://doi.org/10.1155/2009/234529
Evolutionary Tuning Method for PID Controller Parameters of a Cruise Control System Using Metamodeling
Abstract
For long time the optimization of controller parameters uses the wellknown classical method such as the ZieglerNichols and the CohenCoon tuning techniques. Despite its effectiveness, these offline tuning techniques can be time consuming especially for a case of complex nonlinear system. This paper attempts to show a great deal on how Metamodeling techniques can be utilized to tune the PID controller parameters quickly. Note that the plant use in this study is the cruise control system with 2 different models, which are the linear model and the nonlinear model. The difference between both models is that the disturbances were taken into consideration for the nonlinear model, but in the linear model the disturbances were assumed as zero. The Radial Basis Function Neural Network Metamodel is able to prove that it can minimize the time in tuning process as it is able to give a good approximation to the optimum controller parameters in both models of this system.
1. Introduction
It is crucial to tune the controller parameters wisely for any control system in order to obtain the optimum results for its output. That is, the system output response should be as similar as possible due to the corresponding reference.
There were several techniques that commonly used to tune the controller parameters. For example, the ZieglerNichols tuning technique, the CohenCoon tuning technique, the tuning based on process response, the Damped Oscillation tuning method and so on. Each technique has its own pros and cons. But, for sure these conventional techniques consume lot of time as the tuning process need to be tuned again and again until the best response is met.
Usually, computer simulation is used to model the real complicated system to save cost and time. In spite of the advances in computer technology, the required time to simulate the actual model might still be long and thus it becomes impractical to rely exclusively on simulation for the purpose of design optimization. To overcome this timing issue, the Metamodeling techniques offer good approximation to the actual model due to the usage of simpler model, added on with less computation algorithms.
This paper illustrates how to optimize the PID controller parameters for both models (linear and nonlinear) of the cruise control system.
2. Metamodeling Review
Metamodeling or sometimes called as “model of the model” has been used extensively in many fields to give simpler model of the input and output function that approximates the relationship between system performances and controller parameters of a system. The required significant set of data for each PID controller parameter that fit the actual set of data will give the best results of approximation.
Recently, as studied in [1], Metamodeling had been used to optimize various type of system, included the nonlinear system. Some of the system that were successfully optimized using the Metamodeling technique are the fluid mixing system, the Cartesian coordinates control of hovercraft system and the flexible robot manipulator. Through their study, they also had proved that the Metamodeling technique can optimize various types of controller parameters, for example, the fuzzy logic controller and the PID controller.
In another example, in a test Metamodeling for optimization problem in Rashid [2], training a FuzzyNeuro Metamodel on 130 measurement data and the search for its global minimum took only 5.62 minutes of execution time using a Pentium based PC. Hence, although the output of the Metamodel is only an approximate of the actual measurement of the complex model, evaluation of this output value is fast and it usually provides enough information especially during the design phase of a project.
3. Radial Basis Function Neural Network
The RBFs were first used to design Artificial Neural Networks in 1988 by Broomhead and Lowe [3]. Past works reported that the roots of RBF are entrenched in much older pattern recognition techniques as for example potential functions, clustering, functional approximation, spline interpolation and mixture model [4].
In this study, it was used as the Metamodel for matching process between the inputoutput of the cruise control system. The architecture of the RBFNN used in this study is illustrated in Figure 1.
The network consists of three layers: an input layer, a hidden layer and an output layer. Here, R denotes the number of inputs while the number of outputs. Equation (1) is used to calculate the output of the RBF NN for ,
where is an input vector, is a basis function, denotes the Euclidean norm, are the weights in the output layer, is the number of neurons (and centers) in the hidden layer and are the RBF centers in the input vector space. Equation (1) can also be written as,
where:
where is the spread parameter of the RBF. For training, the least squares formula was used to find the second layer weights while the centers are set using the available data samples.
RBF NN offer several advantages compared to the Multilayer Perceptrons. RBFNN has also been successfully applied to a large diversity of applications including interpolation [3, 5], chaotic time series modeling [6], system identification, control engineering [7], electronic device parameter modeling, channel equalization [8–10], speech recognition [8, 11], image restoration [12], shape from shading [13], 3D object modeling [5, 14], motion estimation and moving object segmentation [15], data fusion [16], and so forth, The advantages of RBF are they can be trained using fast two stages training algorithm without the need for time consuming nonlinear optimization techniques and an ANN RBF possesses the property of “best approximation” [17]. In Metamodeling, RBF NN has also been successfully used, as reported by [18, 19].
4. Cruise Control System
This section presents the mathematical equation that represents both linear and nonlinear model of the cruise control system.
In this paper, all equations were modeled base on the block diagram given by Dorf and Bishop [20] as shown in Figure 2. The cruise control system properties and values used are given in Table 1.

The following equations model the plant dynamics of nonlinear system:
The nonlinear model includes the disturbances parameter into account, therefore all terms include the gravitational force () and the wind disturbance variable () were used in (4), (5), and (6). These disturbances are actually opposing forces that reduced the forward force that accelerates the car. Also note that in this paper, the wind gust was assumed to be in the front direction only. Hence, it was calculated into the error signal together with the output signal.
Take a glance at (5) above. There is squared terms in that equation. To eliminate the squared term in (5), equations (5) and (6) were differentiated both left and right sides to yield:
The inverse Laplace Transform will facilitate the solution of this plant to be modeled in SIMULINK model. Hence, taking the inverse Laplace Transform of (7) yields:
Lastly by equating all initial conditions for (8) to zero, the complete equation that model the nonlinear model become:
In contrast, the linear model did not consider all disturbances parameter into the equation. That is, all terms involving the disturbances parameter such as the gravitational force () and the wind disturbance variable () were eliminated. The following equations model the plant dynamics of linear system:
Same procedure as before, the nonlinearity functions need to be converted to the linear function. Therefore, (10) above were differentiated to obtain (11) as below:
Then, taking inverse Laplace Transform of (11):
By setting all initial conditions to zero, the transfer function is as follow:
The transfer function can be obtained by eliminating and solving above equations for the ratio of .
All mathematical equations for nonlinear model and linear model at which were obtained above were modeled in SIMULINK model. This can be illustrated by Figures 3 and 4, respectively.
Note that, the PID controller parameters used in this study are , , and and the performance measure that was used in this case was the Integral Square Error (ISE) given by:
where is the desired output speed (set point) while is the actual output speed.
5. Simulation Results
The Taylor Series Expansion is utilized to check the system’s stability. It should be done before the tuning process started. Referring to the eigenvalues obtained, it shows that the system is indeed stable and hence the control of the system should be possible.
The tuning procedures for Metamodeling technique are listed below:
(1)Define the input design space, , which consists of a set of initial values of the controller parameters.(2)Obtain the ISE for speed parameter for all the design space defined in 1.(3)Create the target data set, , which consists of the ISE for speed .(4)Fit the RBF NN using and .(5)Evaluate the RBF NN on a larger input space, .(6)Find the minimum of the RBF NN output (estimated ). The corresponding controller gains that minimized the RBF output will be the gains to be verified in actual model simulation.(7)Repeat step 1 to 6 should the controller parameter gains are not satisfactory.In this case, and are the sets of discrete values given in Table 2. The parameters for the RBF NN used to fit the data is summarized as:

The limitation of this study is the use of MATLAB on an INTEL PENTIUM M PC to simulate the whole process of optimization. For verification purpose, the actual simulation had been done on , which consist of 26691 data. The result of actual simulation is then compared with the Metamodeling techniques for each model as illustrated in Figures 5 and 6.
The best controller gain that minimized the error or noted as ISE for both approaches are given in Table 3. Meanwhile, the time taken to complete the tuning process is noted down as presented in Table 4.


Using the optimized PID gains obtained by Metamodeling technique, the results of the system output response are sketched in Figures 7 and 8.
6. Discussion
Tables 5 and 6 show a comparison of the results in terms of system characteristics. From the results obtained, it can be observed that the adoption of PID controller using the Metamodeling tuning technique can give an almost similar and good response to the system. The effect of each controller , and on a closedloop system will make that system more stable than the original one. For the case of nonlinear model, the optimized PID controller has proven it can attenuate the disturbances signal that appeared to its system.


As referred to Figures 5 and 6, the best controller gain that minimizes the ISE () for the actual simulation is given in Table 7. Meanwhile, the time taken to complete the actual process for each model is given in Table 8.


Next, the comparison of the minimum errors between the actual process and Metamodel is done and implied in Table 9. Although the results are slightly differed between each others, it can be observed that the Metamodel managed to approximate the global minimum of the error curve fairly well.

7. Conclusion
In this study, the initial data set, was created based on the background knowledge of the problem. The data contained in the initial data set, need to be determined carefully, as the data that mismatch much points in the large space, will not run the Metamodeling process efficiently. Hence, there is a need of improvement for Metamodeling techniques. An investigation on the possible use of the Worst Case Approach [21] and the Cross Validation technique [22] in data sampling would seems be the appropriate next step forward. It can be simplified that more strategic data location will allow the creation of a more accurate Metamodel using less data, and therefore, less time is required to estimate the best controller parameters.
References
 M. Mohamed Sultan, A. Shahrum Shah, and C. Osman David, “Controllers optimization for a fluid mixing system using metamodeling approach,” International Journal of Simulation Modelling, vol. 8, no. 1, pp. 48–59, 2009. View at: Google Scholar
 K. Rashid, Optimization in electromagnetics using computational intelligence, Ph.D. thesis, Department of Electrical and Electronics Engineering, Imperial College of Science, Technology and Medicine, London, UK, 2000.
 D. Broomhead and D. Lowe, “Multivariable functional interpolation and adaptive networks,” Complex Systems, vol. 2, pp. 321–355, 1988. View at: Google Scholar
 J. T. Tou and R. C. Gonzalez, Pattern Recognition, AddisonWesley, Reading, Mass, USA, 1974.
 S. Matej and R. M. Lewitt, “Practical considerations for 3D image reconstruction using spherically symmetric volume elements,” IEEE Transactions on Medical Imaging, vol. 15, no. 1, pp. 68–78, 1996. View at: Publisher Site  Google Scholar
 M. Casdagli, “Nonlinear prediction of chaotic time series,” Physica D, vol. 35, no. 3, pp. 335–356, 1989. View at: Google Scholar
 R. M. Sanner and J. E. Slotine, “Gaussian networks for direct adaptive control,” IEEE Transactions on Neural Networks, vol. 3, no. 6, pp. 837–863, 1992. View at: Publisher Site  Google Scholar
 A. G. Bors and M. Gabbouj, “Minimal topology for a radial basis functions neural network for pattern classification,” Digital Signal Processing, vol. 4, no. 3, pp. 173–188, 1994. View at: Publisher Site  Google Scholar
 S. Chen, C. F. N. Cowan, and P. M. Grant, “Orthogonal least squares learning algorithm for radial basis function networks,” IEEE Transactions on Neural Networks, vol. 2, no. 2, pp. 302–309, 1991. View at: Publisher Site  Google Scholar
 S. Haykin, Neural Networks: A Comprehensive Foundation, PrenticeHall, Upper Saddle River, NJ, USA, 1994.
 M. Niranjan and F. Fallside, “Neural networks and radial basis functions in classifying static speech patterns,” Computer Speech and Language, vol. 4, no. 3, pp. 275–289, 1990. View at: Google Scholar
 I. Cha and S. A. Kassam, “RBFN restoration of nonlinearly degraded images,” IEEE Transactions on Image Processing, vol. 5, no. 6, pp. 964–975, 1996. View at: Publisher Site  Google Scholar
 G.Q. Wei and G. Hirzinger, “Parametric shapefromshading by radial basis functions,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 19, no. 4, pp. 353–365, 1997. View at: Publisher Site  Google Scholar
 A. G. Bors and I. Pitas, “Object classification in 3D images using alphatrimmed mean radial basis function network,” IEEE Transactions on Image Processing, vol. 8, no. 12, pp. 1744–1756, 1999. View at: Publisher Site  Google Scholar
 A. G. Bors and I. Pitas, “Optical flow estimation and moving object segmentation based on median radial basis function network,” IEEE Transactions on Image Processing, vol. 7, no. 5, pp. 693–702, 1998. View at: Publisher Site  Google Scholar
 V. Chatzis, A. G. Bors, and I. Pitas, “Multimodal decisionlevel fusion for person authentication,” IEEE Transactions on Systems, Man, and Cybernetics, Part A, vol. 29, no. 6, pp. 674–680, 1999. View at: Publisher Site  Google Scholar
 F. Girosi and T. Poggio, “Networks and the best approximation property,” Biological Cybernetics, vol. 63, no. 3, pp. 169–176, 1990. View at: Publisher Site  Google Scholar  Zentralblatt MATH  MathSciNet
 A. A. Mullur and A. Messac, “Extended radial basis functions: more flexible and effective metamodeling,” AIAA Journal, vol. 43, no. 6, pp. 1306–1315, 2005. View at: Google Scholar
 N. Dyn, D. Levin, and S. Rippa, “Numerical procedures for surface fitting of scattered data by radial basis functions,” SIAM Journal of Scientific and Statistical Computing, vol. 7, no. 2, pp. 639–659, 1986. View at: Publisher Site  Google Scholar
 R. C. Dorf and R. H. Bishop, Modern Control Systems, PrenticeHall, Upper Saddle River, NJ, USA, 11th edition, 1998.
 S. S. Abdullah, Experiment design for deterministic model reduction (metamodeling) and neural network training, Ph.D. thesis, Department of Electrical and Electronics Engineering, Imperial College of Science, Technology and Medicine, London, UK, 2003.
 R. Jin, W. Chen, and A. Sudjianto, “On sequential sampling for global metamodeling in engineering design,” in Proceedings of the ASME Design Engineering Technical Conference and Computers and Information in Engineering Conference, vol. 2, pp. 539–548, Montreal, Canada, 2002. View at: Google Scholar
Copyright
Copyright © 2009 M. N. Ab Malek and M. S. Mohamed Ali. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.