Journal of Control Science and Engineering

Volume 2012, Article ID 846458, 13 pages

http://dx.doi.org/10.1155/2012/846458

## Nonlinear Dynamic Model-Based Adaptive Control of a Solenoid-Valve System

Department of Mechanical Engineering and Center for Nonlinear Dynamics & Control (CENDAC), Villanova University, Villanova, PA 19085, USA

Received 6 December 2011; Revised 8 March 2012; Accepted 30 March 2012

Academic Editor: Lili Ma

Copyright © 2012 DongBin Lee et al. 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.

#### Abstract

In this paper, a nonlinear model-based adaptive control approach is proposed for a solenoid-valve system. The challenge is that solenoids and butterfly valves have uncertainties in multiple parameters in the nonlinear model; various kinds of physical appearance such as size and stroke, dynamic parameters including inertia, damping, and torque coefficients, and operational parameters especially, pipe diameters and flow velocities. These uncertainties are making the system not only difficult to adjust to the environment, but also further complicated to develop the appropriate control approach for meeting the system objectives. The main contribution of this research is the application of adaptive control theory and Lyapunov-type stability approach to design a controller for a dynamic model of the solenoid-valve system in the presence of those uncertainties. The control objectives such as set-point regulation, parameter compensation, and stability are supposed to be simultaneously accomplished. The error signals are first formulated based on the nonlinear dynamic models and then the control input is developed using the Lyapunov stability-type analysis to obtain the error bounded while overcoming the uncertainties. The parameter groups are updated by adaptation laws using a projection algorithm. Numerical simulation results are shown to demonstrate good performance of the proposed nonlinear model-based adaptive approach and to compare the performance of the same solenoid-valve system with a non-adaptive method as well.

#### 1. Introduction

In order to achieve advanced automation [1] in systems such as marine vessels or ship-based machinery system [2], solenoid actuators and valves are often used [3] to increase survivability and capability. One typical type of actuator driven by solenoids is shown in Figure 1, which is operated by the electromagnetic force. The electric-driven solenoid valve system [4] and its sophisticated control can provide high levels of automation in large systems. The useful function of the solenoid-valve, once an electrical signal (current or voltage) is applied, is to activate a mechanical motion such as displacement or rotation via the solenoid magnetic forces and torques. The proportional solenoids normally require integrated electronics for controlling the plunger to give such a signal. Hydrodynamic torque of a butterfly valve comprises the core knowledge of fluid valve system design [5], and it is known that most of the valves in real systems have strongly nonlinear characteristics between the force and displacement [6, 7]. The use of an intelligent approach [8, 9] such as adaptive, robust, optimal, or nonlinear control of the actuator-valve machinery systems will benefit a wide spectrum of nonlinear systems, compensating for nonlinearities [10] and dynamic characteristics. This approach will not only decrease the amount of cost and casualties but also improve the performance of the mechatronic system. To investigate the particular application, it is important to emphasize the nonlinear dynamic modeling analysis of such actuator-valve systems because the accuracy and reliability of these systems depend highly on the mathematical system modeling [11] and its validation. In [12], the authors developed and analyzed the nonlinear dynamic model of a solenoid-valve system; the reader is also referred to [13, 14] for recent modeling and analysis of solenoid actuators.

This paper will focus on model-based nonlinear adaptive control of an actuator-butterfly valve. The solenoid-valve system is described based on the exact model knowledge of the system. Figure 1 shows the integrated system, which consists of an electric-driven solenoid and a butterfly valve. The valve operates by solenoids that use a magnetic coil to move a movable plunger connected with the valve stem by means of a gear train and linkage. The control input is designed by substituting the current signal from the model of the electromagnetic force, pulling the plunger, and then controlling the angular position of the butterfly valve. The system has uncertainties in multiple parameters in the dynamic model, which requires the system to continuously adjust to the environment and consequently requires adaptation for sustainability and capability. The integrated system is highly nonlinear in addition to its parameter uncertainties. Hence, an adaptation law is proposed [8, 9, 17] and an adaptive control method is developed for the solenoid-valve system in multiple parametric uncertainties. A closed-loop stable controller is designed for the set-point trajectory tracking by introducing a Lyapunov-based stability analysis [9] based on the error signals of the nonlinear solenoid-valve system. The numerical results in the simulation are used for initial verification and performance evaluation.

#### 2. Model-Based Nonlinear System

##### 2.1. System Model

The dynamic equations of motion of the plunger and butterfly valve are given by [15] where is the displacement of the solenoid plunger, is the angle of butterfly disk, and is the sum of the hydrodynamic and bearing torques expressed as . The bearing torque is given as , where the bearing toque coefficient, , is obtained from the valve modeling (see [5, 15]) and the two subterms, lifting force and drag force , are nonlinear functions of the valve angle rotation . The hydrodynamic torque is obtained by reviewing three-dimensional hydrodynamic torque coefficient based on [7, 16] as , where both and depend on the closing angle () of the butterfly valve and term is a nonlinear term according to the pipe size. Solving the two equations in (1) with the contact force, , and substituting the magnetic force, , into the equation yields where the magnetic force used to lift the plunger of the solenoid actuator. The actuator is a current-controlled solenoid [15], proportional to the square of the current , and , are reluctances of the magnetic paths, obtained from the geometry of electric actuator [4, 15]. It is assumed that the pinion and the valve are moving at the same speed, that is, the gear ratio is 1 : 1 and is the simple geometric relationship between the displacement of the pinion and the valve angle. Hence, the current source is substituted for designing the closed-loop control input, , and then the following equation is obtained:

For the subsequent controller design, multiplying (3) with the inverse term of the control input, , yields a compact form of the dynamic equation as where describes a lumped expression of parameters obtained from (3) and (4), where each parameter is shown in Table 2 and the substituted terms are defined as follows:

##### 2.2. Error Signals Formulation

The following set-point control approach is used. Let define the set-point trajectory and then the error can be defined as where and are the first and second time derivatives of , which are assumed to be bounded. Premultiplying in the last error signal of (6) with yields . Substituting in (4) into the above equation produces

A filtered error signal and its derivative are defined as where is a positive adjustable control gain. Multiplying (8) with and then substituting for in (7) yields where the last term is added and subtracted for further development of the control design based on Lyapunov’s method.

#### 3. Lyapunov-Based Adaptive Feedback Control

Let be a Lyapunov candidate function where the last term of the Lyapunov candidate function, , is a constant diagonal matrix with the gain value , is a identity matrix, and the parameter estimation error, , is defined as , where is a known constant parameter vector and is the estimated constant parameter vector (see Table 1). Differentiating (10) yields where the time derivative of the inertia matrix is obtained as , where , as , , in which the error signals of the valve angle, , can be defined using the geometric relationship and comes from the definition of .

##### 3.1. Design of Control Input

Substituting into (11) yields where the last term in (9) premultiplied by came out of the parenthesis in (12) and is used for the definition of in (8). Then, combining the parameterized terms in (12) and substituting them into yields where is a known regression vector, which is shown in the left side of Table 1 via the process given later (see (17)) and as the nominal value of the lumped parameter vector. Rearranging (12) produces where is canceled in the last second term in (12), having the opposite sign because they are scalar, .

The control input can be designed based on Lyapunov stability analysis, making negative definite to be shown in the end, as where is a feedback error term, is a positive constant as the control gain, is another feedback error term added to cancel the term having the opposite sign, , outside the parenthesis by utilizing the definition of given in (8), and captures the uncertainties associated with the elements of , , , , , , and , which is defined as where the estimated parameter sets are given as , where , , , , and . In order to develop the estimate parameter vector in (16), we need to first define the regression and the estimate terms. Thus, the first term, , in (16) can be defined as where (this is shown in Table 1), and , , or are canceled. are the measurable regression terms and is the estimated parameters, defined in Table 1, respectively. Similarly to (17), the rest of the terms in (16) are also given in Table 1.

##### 3.2. Online Adaptation Laws for Parameter Updates

The following is constructed to define the known upper and lower bounds but with an unknown parameter of in the sense that where are the estimated parameters as shown in Table 1 and and are the lower and upper bounds of the estimated parameters, respectively, which will be set to the amount of percentage of their true values. The vector is designed to update using a projection-based algorithm as where is the projection operator [8] and each lumped parameter is adaptively updated using the adaptation laws [17] for online estimation of unknown parameter as follows: Thus, substituting in (15) into in (13) yields Here, is defined as where , , , , , , and , in which and . Actually, can be expressed, for example, using the definitions of in (16), as follows: owing to the subsequent adaptation law, the time derivative of yields a negative definite function except the origin and upper bound by which can be written as where is a positive constant and Using Barbalat’s lemma [18], the set-point tracking error , thus and as .

*Remark 1. *According to the analysis from (11) to (25) of , the property of , and the control law of (15) with the parameter updates of (19) and the projection-based method of update laws of (20), it is straightforward to derive a conclusion that the tracking error vector in (25) is driven to zero. Thus, the set-point errors , , and also vanish and the parameter estimation error vector in (10) is bounded where , defined after (10), is bounded due to the projection-based update method and the constant known parameter, . Owing to the bounds of , in (8), is bounded and then , resulting in , and are bounded, respectively, where all desired trajectories such as and are assumed to be bounded. , , , and matrices in (4) are bounded because (due to ) and are bounded, and and after (11) are also bounded owing to the bounds of . is thus bounded because is bounded. Hence, and the control input are bounded and, thus, the current is bounded. This leads to the boundedness of in the dynamic model given in (4), which enables the boundedness of in (6), and then the set-point tracking error dynamics in (8) is bounded. Therefore, we can conclude that all signals are bounded.

*Remark 2. * in (16) where the known regression terms and the parameter estimates are given in this system as in Table 1.

#### 4. Simulation Results

Based on the dynamic model in (4), the numerical simulation is performed to verify the proposed controllers with consistently changing parameter values. The parameter values can be divided into two categories: operational values such as and and uncertain values such as , and . After the flow velocity is kept on 3.7 [m/s], the pipe diameter shown in Table 2 is used to vary from 5 inches to 8 inches as , where , by assuming that the pipe or transmission lines are different according to their applications. With each size, the variations of all the parameters are set to 30% for the simulation results provided here. The determined parameter vectors and of the butterfly valve model are borrowed from [16] for the simulation given as look-up tables from the experimental data. The amount of upper and lower variation of the unknown parameter sets is 30% of their real values. The control gains were chosen selectively as , , and for all cases. MATLAB and Simulink are used for the simulation. The desired set-point distance of the solenoid, , is given as , where and .

A typical parameter set for this simulation is given by Table 2. Figures 2 and 3 show the rotation of the valve angle and the actual displacement of the plunger, respectively. This adaptive control approach shows better results compared to the results obtained from the previous research [15] using nonadaptive method, which are shown in Figures 4 and 5 for the displacement of the plunger and the angle of the butterfly valve. The developed mathematical model is the same as that of adaptive method based on the nonlinear models and the new specific approach in this paper is that the error signals are formulated by introducing the desired trajectory to reducing the displacement error in the adaptive method while overcoming the complicated parametric uncertainties. And also the response of the adaptive method shows that the motion process is more consistent in both variables, showing overdamped phenomena and short rising times, and then it quickly reaches the steady state. The actual movement is smoother and faster while all the parameters are varying 30% in each flow velocity.

Figures 6 and 7 are the filtered error , defined in (8), and set-point error , given in (6), respectively. Figure 8 shows the rate of the displacement to Figure 3. From Figure 8, all figures are presented without the notation of the adaptive approach. Figure 9 shows the control input of the solenoid actuator for each pipe diameter, , designed in (15) with the nonlinear adaptive controller by substituting the square of the current, . The electromagnetic force given in (2) and the total torque given in (1) by summing up the hydrodynamic and bearing torques are plotted in Figures 10 and 11, respectively. The torque coefficient shown in Figure 12 and the ratio of input and output jet velocities shown in Figure 13 are changed for every of the butterfly angle. As the strokes are increased by the control input, the angles get larger and then accordingly the value of the inlet jet velocity increases, which affects the slower motion of the strokes and angles but the variables (strokes and angles) reach the steady state and the ratio as well.

The challenge is that most parameter terms in Table 1 are combined and lumped together due to the dynamic model in the presence of parameter uncertainty and the model is complicated owing to the control objectives, set-point regulation, and parametric adaptation. As given in the right side of Table 1, the unknown bounded parameter estimate vector is shown in Figures 14, 15, 16, 17, 18, and 19. It can be seen that the parameters such as 101, 110, 111, 113, 116, 118, and 121 are quickly updated in the form of premultiplication by its regression term, and go to steady state. Thus, they are more parametric-centric terms and related to the filtered error . The parameters such as 102, 103, 104, 105, 117, 119, and 122 are updated according to the motion of the angle and stroke of the solenoid-butterfly valve system. Some parameters such as 106, 112, 114, and 115 are not updated but other parameters such as 107, 108, and 120 keep getting updated. Any parameters changing their values must be related to the control objective because these terms are incorporated into the control input in the form of the estimates.

#### 5. Conclusion and Future Work

For developing advanced automation systems such as ship-based hydraulic systems, a typical solenoid-butterfly valve, which is driven by electromagnetic, fluid mechanics, and hydrodynamic forces and torques, is chosen as a continuation of previous research and an adaptive stable control approach with adaptation laws is developed accounting for uncertainties in multiple parameters on the nonlinear dynamic model. A stable adaptive controller of the solenoid-valve system is designed positioning the angle of the butterfly valve via a Lyapunov-based approach. The approach yields bounded error while adapting to the environment in the presence of complex uncertainties such as different physical appearances, uncertain parameters, operational characteristics, and parametric nonlinear dynamic models.

The parameter estimation for the unknown bounded parameters is performed using a projection algorithm whose output yields the upper and lower bounds. Numerical simulation is used to verify the performance of the proposed approach to show its effectiveness by comparing to the same dynamic model without adaptation from the previous research; when compared to the nonadaptive method, the responses of the plunger displacement and the rotating angle are steadier, smoother, and faster. Future work will be focused on demonstrating the results of hardware-in-the-loop or experiments for the nonlinear solenoid valve system as well as applying the suggested adaptive method based on Lyapunov-based control approach to the real-world system. Further research on developing control techniques using robust or optimal method would be continued to overcome nonlinearities such as hysteresis or nonlinear dynamics.

#### Nomenclature

, : | Damping coefficients of the solenoid and butterfly valve, respectively (Ns/m) |

, : | Reluctances of the magnetic paths obtained from plunger geometry of solenoid actuator |

: | Bearing torque coefficient as a function of the valve angle () |

: | Stem diameter (m) |

: | Pipe diameter (inch or m) |

: | Magnetic force (N) |

: | Contact force or resultant force (N) |

: | Current of solenoid actuator (A) |

: | Inertia moment () |

: | Spring stiffness (N/m) |

: | Mass of solenoid plunger (kg) |

: | Friction coefficient of bearing area |

: | Number of turns of the coil |

: | Valve differential pressure (psi) |

: | Number of estimates |

: | Radius of pinion gear (m) |

: | Fluid mass density () |

: | Control input () |

: | Hydrodynamic torque coefficient as a function of the valve angle () |

, : | Bearing and hydrodynamic torques, respectively (Nm) |

, , | Jet velocity, mean flow velocity, and their ratio as a function of the valve angle (), respectively. |

#### Acknowledgments

This research is supported by the Office of Naval Research (N00014-08-1-0435), which the authors gratefully acknowledge. Thanks are in particular due to Mr. Anthony Seman III. The authors would also like to thank Dr. Stephen Mastro and Mr. Frank Ferrese of Naval Surface Warfare Center (NSWC, Philadelphia) for help with many aspects of the paper. They are grateful to the anonymous reviewer for critical comments, which led to substantial improvement of the paper.

#### References

- A. Seman, “Adaptive automation for machinery control,” in
*Proceedings of the Office of Naval Research (ONR) Presentation*, 2007. - R. Hughes, S. Balestrini, K. Kelly, N. Weston, and D. Mavris, “Modeling of an integrated reconfigurable intelligent system (IRIS) for ship design,” in
*Proceedings of the ASNE Ships & Ship Systems Symposium*, 2006. - P. Tich, V. Mark, P. Vrba, and M. Pechoucek, “Chilled water system automation,”
*Rockwell Automation Case Study Report*, 2005. View at Google Scholar - J. R. Brauer,
*Magnetic Actuators and Sensors*, Wiley IEEE Press, Hoboken, NY, USA, 2006. - Z. Leutwyier and H. Dalton, “A CFD study of the flow field, resultant force, and aerodynamic torque on a symmetric disk butterfly valve in a compressible fluid,”
*Journal of Pressure Vessel Technology*, vol. 130, Article ID 021302, pp. 1–10, 2008. View at Google Scholar - T. Sarpkaya, “Oblique impact of a bounded stream on a plane lamina,”
*Journal of the Franklin Institute*, vol. 267, no. 3, pp. 229–242, 1959. View at Google Scholar · View at Scopus - T. Sarpkaya, “Torque and cavitation characteristics of butterfly valves,”
*Journal of Applied Mechanics*, vol. 29, pp. 511–518, 1961. View at Google Scholar - M. Krstic, I. Kanellakopoulos, and P. Kokotovic,
*Nonlinear and Adaptive Control Design*, Series on Adaptive and Learning Systems for Signal Processing, John Wiley & Sons, New York, NY, USA, 1st edition, 1995. - D. B. Lee, C. Nataraj, and P. Naseradinmousavi, “Nonlinear model-based adaptive control of a solenoid-valve system,” in
*Proceedings of the ASME Dynamic Systems and Control Conference (DSCC '10)*, pp. 1–8, Boston, Mass, USA, September 2010. View at Scopus - J. Pohl, M. Sethson, P. Krus, and J.-O. Palmberg, “Modelling and validation of a fast switching valve intended for combustion engine valve trains,”
*Proceedings of the Institution of Mechanical Engineers. Part I: Journal of Systems and Control Engineering*, vol. 216, no. 2, pp. 105–116, 2002. View at Publisher · View at Google Scholar · View at Scopus - C. Nataraj,
*Vibration of Mechanical Systems*, Cengage, 1st edition, 2011. - P. Naseradinmousavi and C. Nataraj, “Nonlinear mathematical modeling of butterfly valves driven by solenoid actuators,”
*Applied Mathematical Modelling*, vol. 35, no. 5, pp. 2324–2335, 2011. View at Publisher · View at Google Scholar · View at Scopus - M. K. Zavarehi, P. D. Lawrence, and F. Sassani, “Nonlinear modeling and validation of solenoid-controlled pilot-operated servovalves,”
*IEEE/ASME Transactions on Mechatronics*, vol. 4, no. 3, pp. 324–334, 1999. View at Publisher · View at Google Scholar · View at Scopus - R. R. Chladny, C. R. Koch, and A. F. Lynch, “Modeling automotive gas-exchange solenoid valve actuators,”
*IEEE Transactions on Magnetics*, vol. 41, no. 3, pp. 1155–1162, 2005. View at Publisher · View at Google Scholar · View at Scopus - C. Nataraj and P. Mousavi, “Nonlinear analysis of solenoid actuators and butterfly valve systems,” in
*Proceedings of the 14th International Ship Control Systems Symposium*, pp. 1–8, Ottawa, Canada, September 2009. - J. Y. Park and M. K. Chung, “Study on hydrodynamic torque of a butterfly valve,”
*Journal of Fluids Engineering, Transactions of the ASME*, vol. 128, no. 1, pp. 190–195, 2006. View at Publisher · View at Google Scholar · View at Scopus - J. B. Pomet and L. Praly, “Adaptive nonlinear regulation: estimation from the Lyapunov equation,”
*IEEE Transactions on Automatic Control*, vol. 37, no. 6, pp. 729–740, 1992. View at Publisher · View at Google Scholar · View at Scopus - H. K. Khalil,
*Nonlinear Systems*, Prentice Hall, Upper Saddle River, NJ, USA, 3rd edition, 2002.