Mathematical Problems in Engineering

Volume 2013, Article ID 973903, 9 pages

http://dx.doi.org/10.1155/2013/973903

## Nonlinear State Space Modeling and System Identification for Electrohydraulic Control

College of Field Engineering, PLA University of Science and Technology, Nanjing 210007, China

Received 6 January 2013; Accepted 29 January 2013

Academic Editor: Shengyong Chen

Copyright © 2013 Jun Yan 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

The paper deals with nonlinear modeling and identification of an electrohydraulic control system for improving its tracking performance. We build the nonlinear state space model for analyzing the highly nonlinear system and then develop a Hammerstein-Wiener (H-W) model which consists of a static input nonlinear block with two-segment polynomial nonlinearities, a linear time-invariant dynamic block, and a static output nonlinear block with single polynomial nonlinearity to describe it. We simplify the H-W model into a linear-in-parameters structure by using the key term separation principle and then use a modified recursive least square method with iterative estimation of internal variables to identify all the unknown parameters simultaneously. It is found that the proposed H-W model approximates the actual system better than the independent Hammerstein, Wiener, and ARX models. The prediction error of the H-W model is about 13%, 54%, and 58% less than the Hammerstein, Wiener, and ARX models, respectively.

#### 1. Introduction

Electrohydraulic control systems are widely used in industry, due to their unique features of small size to power ratio, high nature frequency, high position stiffness, and low position error [1]. However, the dynamics of hydraulic systems is highly nonlinear in nature. The systems may be subjected to nonsmooth nonlinearities due to control input saturation, friction, valve overlapping, and directional changes of valve opening. A number of robust and adaptive control strategies have been proposed to deal with such problems [2–4], but modeling and identification of control systems remain an important and difficult issue in most real-world applications.

Linear models of electrohydraulic control systems are simple and widely used, but they assume that the hydraulic actuator always moves around an operating point [5, 6], which does not accord with most real-world cases where the actuator moves in a wide range with hard nonlinearities. In the literature, Wang et al. [7] analyzed the nonlinear dynamic characteristics of hydraulic cylinder, such as nonlinear gain, nonlinear spring, and nonlinear friction force. Jelali and Schwarz [8] identified the nonlinear models in observer canonical form of hydraulic servodrives. Kleinsteuber and Sepehri [9] used a polynomial abductive network modeling technique to describe a class of hydraulic actuation systems which were used in heavy-duty mobile machines. Yousefi et al. [10] proposed the Differential Evolution algorithm to identify the nonlinear model of a servohydraulic system with flexible load. Yao et al. [2] also pointed out that there were many considerable model uncertainties, such as parametric uncertainties and uncertain nonlinearities. As we can see, modeling and identifying the electrohydraulic control system as a flexible nonlinear black-box or grey-box are more appropriate for real-world applications.

In the field of nonlinear system identification, the Hammerstein and Wiener (H-W) models are widely used [11]. Kwak et al. [12] proposed two Hammerstein-type models to identify hydraulic actuator friction dynamics. The Hammerstein-type models are built by linear time-invariant (LTI) dynamic subsystems and static nonlinear (SN) elements in a cascade structure; they are able to approximate most of the nonlinear dynamics with an arbitrarily high accuracy, and can generate both physical insights and flexible structures. Generally, the Wiener model is supposed to represent the output nonlinearities and sensor nonlinearities, while the Hammerstein model is supposed to represent the input nonlinearities and actuator nonlinearities. The Hammerstein-Wiener (H-W) model, which is defined as a static nonlinear element in cascade with a linear dynamic system followed by another static nonlinear element, is adopted in this paper.

The H-W model is a parameterized nonlinear model in black-box term. There are two advantages of the H-W model. The first one is that only the input and output singles are used for identification of all the unknown parameters; that is, no information on the internal states is needed, which can simplify the identification process and improve the prediction accuracy by less sensors and noise. The second one is that it has a physical insight into the nonlinear characteristics of the actual system, which is important in system analyzing, monitoring, diagnosis, and controller design.

The rest of this paper is organized as follows. Section 2 presents the theoretic modeling of an electrohydraulic control system. Section 3 describes our H-W model in detail. Section 4 proposes the iterative identification algorithm for the H-W model. Section 5 presents the experimental tests as well as the identification results. Finally, Section 6 concludes the paper.

#### 2. Theoretic Modeling

A general electrohydraulic control system is mainly comprised of an electrohydraulic proportional valve and a valve controlled asymmetric cylinder. In this paper, we study a proportional relief valve controlled valve-cylinder system as shown in Figure 1, where is the displacement of piston, is the equivalent load mass, and are the areas of piston in the head and rod sides of cylinder, and are the pressures inside the two chambers of the cylinder, is the supply pressure, is the pressure of return oil, and are the flows in and out of the cylinder, is displacement of the spool valve, is the viscous damping coefficient, represents nonlinear friction, represents nonlinear spring force, represents viscous force, and represents uncertain load.

Modeling the system by physical laws gives us a particular insight into the system’s properties, which allows us to seek the parameterized models that are flexible enough to capture all dynamic behavior of the system [13, 14]. The electrohydraulic proportional valve is controlled directly by the digital controller. It can be modeled as a first order transfer function [9]: where is the gain of the electrohydraulic proportional valve, is the time constant of the first order system, is the effective current, and are the practical input current of the proportional relief valve and the current to overcome dead band of the valve, respectively. The dead bands mainly due to the pilot relief valve and the main valve are depicted in Figure 2.

The valve controlled asymmetric cylinder is shown in Figure 1. Generally, its model is constructed by combining the flow equation of spool valve, the continuity equation of hydraulic cylinder, and the force equilibrium equation of hydraulic cylinder [2]. Define the state variables as

The entire system can be modeled as the following nonlinear state space model [15]: where is the effective bulk modulus, and are effective volumes of the two chambers, and are internal and external leakage coefficients, is the area gradient of the valve orifice, and and are flow discharge coefficients of the spool valve.

Several physical phenomena have been taken into consideration in the above model, for example, nonlinear friction , nonlinear spring force , viscous force , uncertain load , discontinuous flow discharge , oil compliance, internal leakage, and external leakage. From the theoretic modeling of the electrohydraulic control system, we can see that the system is a highly nonlinear system containing complex features, such as the dead band nonlinearity, saturation, squared pressure drop, and asymmetric response property.

There are also some hard-to-model nonlinearities in (3), such as nonlinear friction, nonlinear spring force, and uncertain external disturbances. So, modeling this system just by physical laws fails to approximate the actual system. Furthermore, identification of the unknown parameters in (3) is hard due to its demand on internal states measurement. In the following, we adopt an H-W model to model this highly nonlinear dynamic system. The H-W model is a flexible black-box model based on the physical insight into the actual system. We identify the parameters of the H-W model using the input and output signals, which can simplify the identification process and improve the prediction accuracy by less sensors and noise.

#### 3. Hammerstein-Wiener Model

The “universal” nonlinear black-box methods, such as neural networks, Volterra series, and fuzzy models, are widely used to model complex nonlinear systems. Most of these methods can avoid unmodeled dynamics in the aforementioned mathematical model [16, 17]. However, these models do not provide deep insight into the nonlinear characteristics of the actual system, which is important in system analyzing, monitoring, diagnosis, and controller design. In comparison, the Hammerstein-Wiener (H-W) model possesses the flexibility to capture all relevant nonlinear phenomena as well as the physical insight into the actual system. In this section, we develop an H-W model to describe the electrohydraulic control system.

The H-W model is composed of an internal linear dynamic block and two static nonlinear blocks; it is the combination of Hammerstein and Wiener model. The Hammerstein model is a nonlinear model with a static nonlinear block followed by a linear dynamic block, as shown in Figure 3(a), and this N-L type of model may account for actuator nonlinearities and other input nonlinear effects. The Wiener model has linear dynamic block followed by a nonlinear block, as shown in Figure 3(b), and this L-N type of model mainly accounts for sensor nonlinearities and output nonlinear effects. A series combination of a Hammerstein and a Wiener model yields the H-W model, as shown in Figure 3(c), and this N-L-N type of model has both characteristics of the Hammerstein and Wiener models. Moreover, all of the three models have proved to be able to accurately describe a wide variety of nonlinear systems in [9].

According to the nonlinearities of the abovementioned electrohydraulic control system, for example, dead band, saturation, nonlinear friction, nonlinear spring force, and asymmetric dynamics of the cylinder, we describe the input nonlinearity () block of the models in Figure 3 by a two-segment polynomial nonlinearities. The two-segment polynomial nonlinearities have the advantage of describing a system whose dynamic properties differ significantly at the positive and negative directions [18]; it has less parameters to be estimated than a single polynomial and piecewise linear models [19]. It can be written as where and are parameters of the polynomial function, is the input, is the output of static nonlinear function , and is the degree of the polynomial function.

Define the switching function as

Then the relation between inputs and outputs of the input nonlinear block can be written as where .

The difference equation model of the linear dynamic block is described by an extended autoregressive (ARX) model as where and are the input and output of the linear dynamic block, respectively, is white noise, represents the pure delay of the system, and and are scalar polynomials in the unit delay operator :

The output nonlinear block is described by a single polynomials: where is unknown parameter, is the degree of the polynomial function , and is output of the entire system, and in this paper, it represents the output velocity.

The H-W model of the system is depicted in Figure 4.

#### 4. Iterative Identification Algorithm

As we know, the cascade mode of the models depicted in Figure 3 leads to composite mappings, for example, Hammerstein model: , Wiener model: , H-W model: . Substituting the mathematic models of each block (i.e., (7), (8), and (10)) into the composite mappings directly leads to complex models which are strongly nonlinear in both of the variables and the unknown parameters. It is not appropriate for parameter estimation [20]. In the following, we apply the so-called key term separation principle to simplify the H-W model into a linear-in-parameters structure and then adopt a modified recursive least square algorithm with internal variable estimation to estimate both of the linear and nonlinear block parameters simultaneously.

##### 4.1. Key Term Separation Principle

Let , , and be one-to-one mappings defined on nonempty sets , , and as

Then the composite mapping can be given by

The basic idea of key term separation principle is a form of half-substitution suggested in [21]. Suppose be an analytic nonlinear mapping which can be rewritten into the following additive form: Which consists of the key term , plus the remainder of the original mapping assigned as . Rewrite the one-to-one mapping

We substitute (13) only into the first term in the right side of (14) and then obtain the following mapping:

Equations (14) and (15) describe the mapping function in a compositional way. This makes the inner mapping appears both explicitly and implicitly in the outer one, which may be helpful for parameter identification. Note that, this decomposition technique can easily be extended to a more multilayer composite mapping.

##### 4.2. Modified Least Square Algorithm

In this section, we decompose the H-W model into a linear-in-parameters structure by the key term separation principle and develop a modified iterative least square algorithm with internal variables estimation to identify all the unknown parameters of the H-W model. We also apply this method to the Hammerstein and Wiener models.

According to the key term separation principle, we rewrite the output nonlinear block , that is, (10) as where the internal variable is separated. The dynamic linear block , that is, (8) can be rewritten as where the internal variable is separated. Now, to complete the sequential decomposition, first, we substitute (7) into (17) only for in the first term and then substitute the new equation (17) into (16) only for in the first term again. The final output equation of the H-W model will be

As the H-W model depicted in Figure 4 consists of three subsystems in series, the parameterization of the model is not unique because many combinations of parameters can be found [22]. Therefore, one parameter in at least two blocks has to be fixed in (18). Evidently, the choices and will simplify the model description. Then, the H-W model can be written as

Equation (19) is linear-in-parameters for given , , and ; it can be written in the following least square format: where the internal variables and are estimated by (7) and (17) using the preceding estimated parameters during each iterative process and

Now, we apply the modified recursive least square method with iterative estimation of the internal variable to (20) [17]. Minimizing the following least square criterion [12]: where is the forgetting factor, the formulas of the recursive identification algorithm supplemented with internal variable estimation are as follows: where , is unit matrix, and .

In conclusion, the iterative identification algorithm can be presented as follwos.

*Step 1. * Set the initial values of , , , and .

*Step 2. * Estimate the parameter by algorithm (23) and calculate by (24).

*Step 3. *Estimate the internal variables and by (25) and (26) using the recent estimates of model parameters .

*Step 4. * Update the values of by (27).

*Step 5. * Return to Step 2 until the parameter estimates converge to constant values.

#### 5. Experiment

##### 5.1. Experimental Environment

A hydraulic excavator was retrofitted to be controlled by computer in our laboratory [23]. Figure 5 shows the prototype machine, whose manual pilot hydraulic control system was replaced by electrohydraulic proportional control system; inclinometers and pressure transducers were also installed on the excavator arms for position and force servocontrol. Schematic diagram of the electrohydraulic servosystem is shown in Figure 6.

##### 5.2. Experimental Results

In order to obtain the nonlinear characteristics of the system when changing the directions and to obtain sufficient excitation, we adopted a multisine input signal which contained the frequency of 0.05 Hz, 0.1 Hz, 0.2 Hz, 0.4 Hz, and 0.5 Hz to the identification experiments. The sample rate was chosen to be 20 Hz on the machine. The input signal and angle output were obtained from the computer of the experiment machine. Ten groups of input and output signals with time duration of 55 seconds were sampled in the repeated experiments; the averaged measurement results are shown in Figure 7. Finally, we calculate the output angle velocity by numerical differentiation.

We set the parameters , , , , , , , and . Note that lower forgetting factor is useful for reducing the influences of old date, while a value of close to 1 is less sensitive to disturbance. Therefore, we chose the forgetting factor to be during the first 200 samples, and otherwise. Compiling the developed iterative least square algorithm in MATLAB to identify the ARX model containing only the block, Hammerstein model consisting of and , Wiener model consisting of and , and H-W model consisting of , , and , respectively, we obtain the identification results shown in Table 1.

We use the identified models to predict the tracking velocity of a general trajectory. The comparative results are shown in Figures 8 and 9. They demonstrate that the H-W and Hammerstein models which contain the input nonlinear block with two-segment polynomial nonlinearities capture the actual system well, while the Wiener and ARX models cannot approximate the actual system well. The mean-square errors (MSE) of the identified models in Table 2 show that the prediction error of the H-W model is about 13%, 54%, and 58% less than the Hammerstein, Wiener, and ARX models, respectively.

#### 6. Conclusion

This paper investigates the nonlinear modeling and identification of an electrohydraulic control system. We develop a theoretic state space model for system analysis, propose an H-W model for the highly nonlinear system based on a deeply physical insight into the actual system, and apply a modified recursive least square method with internal variables estimation to identify its parameters. The main findings of the paper include the follwoing: (1) the proposed H-W model simplifies the identification procedure because it only uses the input and output signals to identify all the parameters. (2) The H-W model containing the input nonlinear block with two-segment polynomial nonlinearities captures the actual system very well. As shown by the comparative results, the prediction error of the H-W model is about 13%, 54%, and 58% less than the Hammerstein, Wiener, and ARX models, respectively. The results provide a physical insight into the nonlinear characteristics of the actual system, which is important for system analyzing, monitoring, and diagnosis. Future work includes addressing uncertain and fuzzy properties of the system [24, 25] and extending the model for a wider range of equipment [26].

#### Acknowledgment

This work was supported in part by grants from National Natural Science Foundation (Grant nos. 51175511 and 61105073) of China.

#### References

- H. E. Merritt,
*Hydraulic Control System*, John Wiley & Sons, New York, USA, 1967. - B. Yao, F. Bu, J. Reedy, and G. T. C. Chiu, “Adaptive robust motion control of single-rod hydraulic actuators: theory and experiments,”
*IEEE/ASME Transactions on Mechatronics*, vol. 5, no. 1, pp. 79–91, 2000. View at Publisher · View at Google Scholar · View at Scopus - S. Wen, W. Zheng, J. Zhu, X. Li, and S. Chen, “Elman fuzzy adaptive control for obstacle avoidance of mobile robots
using hybrid force/position incorporation,”
*IEEE Transactions on Systems, Man and Cybernetics C*, vol. 42, no. 4, pp. 603–608, 2012. View at Publisher · View at Google Scholar · View at Scopus - S. Y. Chen, J. Zhang, H. Zhang, N. M. Kwok, and Y. F. Li, “Intelligent lighting control for vision-based robotic manipulation,”
*IEEE Transactions on Industrial Electronics*, vol. 59, no. 8, pp. 3254–3263, 2012. View at Publisher · View at Google Scholar - Q. H. He, P. Hao, and D. Q. Zhang, “Modeling and parameter estimation for hydraulic system of excavator's arm,”
*Journal of Central South University of Technology*, vol. 15, no. 3, pp. 382–386, 2008. View at Publisher · View at Google Scholar · View at Scopus - K. Ziaei and N. Sepehri, “Modeling and identification of electrohydraulic servos,”
*Mechatronics*, vol. 10, no. 7, pp. 761–772, 2000. View at Publisher · View at Google Scholar · View at Scopus - L. Wang, B. Wu, R. Du, and S. Yang, “Nonlinear dynamic characteristics of moving hydraulic cylinder,”
*Chinese Journal of Mechanical Engineering*, vol. 43, no. 12, pp. 12–19, 2007. View at Publisher · View at Google Scholar · View at Scopus - M. Jelali and H. Schwarz, “Nonlinear identification of hydraulic servo-drive systems,”
*IEEE Control Systems Magazine*, vol. 15, no. 5, pp. 17–22, 1995. View at Publisher · View at Google Scholar · View at Scopus - S. Kleinsteuber and N. Sepehri, “A polynomial network modeling approach to a class of large-scale hydraulic systems,”
*Computers and Electrical Engineering*, vol. 22, no. 2, pp. 151–168, 1996. View at Publisher · View at Google Scholar · View at Scopus - H. Yousefi, H. Handroos, and A. Soleymani, “Application of differential evolution in system identification of a servo-hydraulic system with a flexible load,”
*Mechatronics*, vol. 18, no. 9, pp. 513–528, 2008. View at Publisher · View at Google Scholar · View at Scopus - F. Giri and E. W. Bai,
*Block-Oriented Nonlinear System Identification*, vol. 404 of*Lecture Notes in Control and Information Sciences*, Springer, Berlin, Germany, 2010. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - B. -J. Kwak, A. E. Yagle, and J. A. Levitt, “Nonlinear system identification of hydraulic actuator friction dynamics using a Hammerstein model,” in
*Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing*, vol. 4, pp. 1933–1936, Seattle, Wash, USA, 1998. View at Publisher · View at Google Scholar - Y. J. Zheng, S. Y. Chen, Y. Lin, and W. L. Wang, “Bio-Inspired optimization of sustainable energy systems: a review,”
*Mathematical Problems in Engineering*, vol. 2013, Article ID 354523, 12 pages, 2013. View at Publisher · View at Google Scholar - C. Cattani, R. Badea, S. Chen, and M. Crisan, “Biomedical signal processing and modeling complexity of living systems,”
*Computational and Mathematical Methods in Medicine*, vol. 2012, Article ID 298634, 2 pages, 2012. View at Publisher · View at Google Scholar - B. Li, J. Yan, A. X. Liu, Y. H. Zeng, and G. Guo, “Nonlinear identification of excavator's electro-hydraulic servo system,”
*Transactions of the Chinese Society For Agricultural Machinery*, vol. 43, no. 4, pp. 20–25, 2012. View at Google Scholar - J. Ljung,
*System Identification, Theory for the User*, Prentice Hall Press, New York, NY, USA, 1999. - S. Chen, W. Huang, C. Cattani, and G. Altieri, “Traffic dynamics on complex networks: a survey,”
*Mathematical Problems in Engineering*, vol. 2012, Article ID 732698, 23 pages, 2012. View at Publisher · View at Google Scholar · View at MathSciNet - J. Vörös, “Iterative algorithm for parameter identification of Hammerstein systems with two-segment nonlinearities,”
*IEEE Transactions on Automatic Control*, vol. 44, no. 11, pp. 2145–2149, 1999. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Vörös, “Recursive identification of Hammerstein systems with discontinuous nonlinearities containing dead-zones,”
*IEEE Transactions on Automatic Control*, vol. 48, no. 12, pp. 2203–2206, 2003. View at Publisher · View at Google Scholar · View at MathSciNet - J. Vörös, “An iterative method for Hammerstein-Wiener systems parameter identification,”
*Journal of Electrical Engineering*, vol. 55, no. 11-12, pp. 328–331, 2004. View at Google Scholar · View at Scopus - J. Vörös, “Identification of nonlinear dynamic systems using extended Hammerstein and Wiener models,”
*Control Theory and Advanced Technology*, vol. 10, no. 4, part 2, pp. 1203–1212, 1995. View at Google Scholar · View at MathSciNet - E.-W. Bai, “A blind approach to the Hammerstein-Wiener model identification,”
*Automatica*, vol. 38, no. 6, pp. 967–979, 2002. View at Publisher · View at Google Scholar · View at Zentralblatt MATH · View at MathSciNet - J. Yan, B. Li, Q. Z. Tu, G. Gang, and Y. H. Zeng, “Automatization of excavator and study of its auto-control,” in
*Proceedings of the 3rd International Conference on Measuring Technology and Mechatronics Automation*, pp. 604–609, Shanghai, China, 2011. - Y. J. Zheng and H. F. Ling, “Emergency transportation planning in disaster relief supply chain management: a cooperative fuzzy optimization approach,”
*Soft Computing*, 2013. View at Publisher · View at Google Scholar - Y. J. Zheng and S. Y. Chen, “Cooperative particle swarm optimization for multiobjective transportation planning,”
*Applied Intelligence*, 2013. View at Publisher · View at Google Scholar - Y. Zheng, S. Chen, and H. Ling, “Efficient multi-objective tabu search for emergency equipment maintenance scheduling in disaster rescue,”
*Optimization Letters*, vol. 7, no. 1, pp. 89–100, 2013. View at Publisher · View at Google Scholar · View at MathSciNet