Mathematical Problems in Engineering
Volume 2020 (2020), Article ID 9216019, 9 pages
https://doi.org/10.1155/2020/9216019

Research Article

Parameter Identification and Control Algorithm of Electrohydraulic Servo System for Robotic Excavator Based on Improved Hammerstein Model

Shen Jinxing,¹ Cui Hongxin,2,3 Feng Ke,¹ Zhang Hong,¹ and Li Huanliang¹

¹College of Field Engineering, Army Engineering University of PLA, Nanjing 210007, China
²Institute of Systems Engineering, Academy of People’s Armed Police, Beijing 100012, China
³Institute of System Engineering, Military Academy of Sciences, Beijing 100101, China

Correspondence should be addressed to Cui Hongxin; chx503207@163.com

Received 26 February 2020; Accepted 11 May 2020; Published 23 May 2020

Guest Editor: Cuimei Jiang

Copyright © 2020 Shen Jinxing 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 view of the nonlinearity and time-varying characteristics of the electrohydraulic servo system of the robotic excavator, a nonlinear adaptive identification and control algorithm based on improved Hammerstein model is proposed. The Hammerstein algorithm model can approximate the nonlinear system with enough precision, but for the time-varying systems is not satisfactory. In order to compensate for the influence of time-varying factors, the fuzzy control module is designed to adaptively update the forgetting factor. The experimental results show that the improved Hammerstein model error is about 40.11% less than the classical Hammerstein model error. This proves that the improved Hammerstein model is feasible and effective to describe the electrohydraulic servo system of the robotic excavator.

1. Introduction

In order to continuously improve the operation efficiency and operation quality of excavator, and to expand the application areas of the excavator, autonomous operation has become an important research direction [1, 2]. A key problem of the excavator’s autonomous operation is how to establish the scientific effective model of the electrohydraulic servo system and improve the trajectory tracking accuracy of the robotic excavator [3, 4]. Due to the existence of dead zone, saturation, nonlinear friction, and the nonsymmetry of hydraulic cylinder, the electrohydraulic servo system has strong nonlinear and time-varying characteristics [5–8]. Traditionally, the mechanism modeling method [9] and the linear identification algorithm [10] are used to establish the mathematical model of the nonlinear system. In the modeling process, the mechanism modeling method makes some assumptions and simplifies the system, resulting in a certain error between the established model and the actual system. The linear model identification algorithm establishes the model of the approximation system according to the input and output data, but the model cannot describe the nonlinear characteristics such as friction and dead zone.

Many researchers have done a lot of works in this field. Tri et al. [11] proposed and designed an adaptive control algorithm based on a modified backstepping algorithm with the iterative learning scheme for the trajectory control of an electrohydraulic actuator; experimental results showed that the proposed controller can provide excellent tracking response. Yung et al. [12] designed a controller based on a proportional feedback, a disturbance compensator, and a relay controller for a hydraulic cylinder in mobile hydraulics applications; the controller shows its robustness to different lowering velocities by comparing with a PI controller. Guo et al. [13] carried out a study on the nonlinear cascade trajectory tracking control for an electrohydraulic system using the sliding mode control and the backstepping technique, and the stability of the controller was proved based on Lyapunov theory. Both the simulation and experimental results proved the excellent tracking performance of proposed approaches. Boaventura et al. [14] conducted an investigation on impedance control for a hydraulic robot actuator, many relevant aspects regarding the control algorithm were presented, and the experiment showed that tracking capabilities of the system were improved. Yao et al. [15] carried out a study on high-accuracy tracking control for hydraulic actuators, an improved LuGre friction model was derived, and then, an adaptive backstepping controller was proposed. Experimental results showed the controller can not only achieve the excellent asymptotic tracking performance but also ensure the robustness. Besides, the hybrid synchronization problem of chaotic systems was also investigated [16–19]. From all the research studies above, we can find that many valuable results have been obtained in the research field of hydraulic servo system. However, existing studies focused on the nonlinear characteristics, and little research on the time-varying characteristics has been done.

According to the strong nonlinear and time-varying characteristics of the electrohydraulic servo system, an adaptive identification algorithm based on the Hammerstein model is proposed. Hammerstein model [20, 21] consists of static nonlinear module and dynamic linear module. Its linear module is described by discrete autoregressive model, and nonlinear module is described by piecewise polynomial basis function. The Hammerstein model can effectively describe the nonlinear system, and the output error is significantly smaller than the linear identification algorithm. However, when the algorithm is used for nonlinear systems with time-varying parameters, the identification results are not satisfactory. Therefore, on the basis of the Hammerstein nonlinear identification algorithm, the limited memory method is introduced, fuzzy control module is designed, and the forgetting factor is adaptively adjusted by the fuzzy algorithm. The identified model can be updated in real time to better approximate the actual system.

The rest of the paper is organized as follows. In Section 2, the mathematical model of the electrohydraulic servo system is established by using the mechanism modeling method, and the nonlinearity and time-varying characteristics of the system are analyzed. In Section 3, the Hammerstein model structure is presented, and the identification algorithm of the electrohydraulic servo system based on the Hammerstein algorithm is developed. In Section 4, the forgetting factor is introduced, and the fuzzy control model is established to tune the forgetting factor in real time. In Section 5, the experimental setup and experimental procedure are explained, and the experimental results are discussed. In Section 6, conclusions are presented in the final section.

2. Model Analysis of Electrohydraulic Servo System

The electrohydraulic servo system of the robotic excavator is mainly composed of pilot electrohydraulic proportional valve, valve-controlled asymmetric hydraulic cylinder, sensor, and control system, etc. The system model can be represented by the dynamic equation of electrohydraulic proportional valve, flow equation of spool valve, the flow continuity equation of hydraulic cylinder, the hydraulic cylinder, and the load force balance equation.

The electrohydraulic proportional valve is a conversion unit between the electric signal and the hydraulic output, and the corresponding pressure output is related to the input signal, which is used to move the spool of the multiway directional valve. This can be expressed by the first-order linear differential equations:

where is the main spool displacement, is the time constant, is the gain of the electrohydraulic proportional valve, and is the system input.

The movement of the robotic excavator’s working device can be simplified as the valve control asymmetric hydraulic cylinder system. The pressure fluid and load can be seen as a mass-spring-damped oscillation system. The system schematic diagram is shown in Figure 1. and are the effective areas of the cylinder chambers; and are the pressures in cylinder chambers; and are inlet flow and return flow; and are system pressure and return pressure; is the cylinder piston displacement; is the equivalent mass of the piston and workload; is the viscous damping coefficient; is the load elasticity coefficient; is the disturbance force.

Figure 1: Schematic diagram of servo hydraulic cylinder system.

Take the forward movement of the hydraulic cylinder as an example to establish the mathematic model of the valve-controlled cylinder system. The load pressure equation of the hydraulic cylinder in steady state is as follows:

where is the load pressure; is the effective area ratio.

The flow of the directional valve is related to the pressure of inlet and outlet and the speed of the piston. The flow calculation formula of the directional valve is as follows:

where is the flow coefficient, is the area gradient of the valve, and is the liquid density.

According to equations (2) and (3), the load flow equation of the spool valve can be obtained:

Its linearized expression is as follows:

where is the flow gain and is the pressure-flow gain.

Ignoring the influence of the pipeline on the hydraulic system, and assuming that the pressure in the working chamber of the hydraulic cylinder is equal everywhere, the flow continuity equation of the hydraulic cylinder is as follows [22]:

where and ; and are the initial volumes of the hydraulic cylinder; and are internal leakage and external leakage coefficients; is liquid bulk elastic modulus.

At this point, the calculation formula of load pressure is as follows:

From equation (3) and equation (6), the load pressure equation can be obtained:

where is the equivalent volume, , and , is the total stroke of the hydraulic cylinder piston; is equivalent leakage coefficient; is additional leakage coefficient.

The load force of the hydraulic cylinder includes inertial force, viscous damping force, elastic force, and random load force. According to Newton’s second law, the force equilibrium equation can be obtained:

The piston displacement of the hydraulic cylinder under the action of the system input and the external load force can be obtained based on the above equations:

It can be seen from the transfer function of the electrohydraulic servo system that some parameters are difficult to be calculated. Due to the nonlinear factors such as dead zone, saturation, and friction, the system has strong nonlinear and time-varying characteristics; at the same time, the linear terms are cross-coupled with the nonlinear terms. If the parameters of the electrohydraulic servo system are identified directly, several state variables need to be measured, in addition to increasing the test cost; the measurement noise is also introduced to produce larger identification error. Therefore, it is necessary to design an identification algorithm which can accurately describe the nonlinear and time-varying characteristics of the system.

3. Nonlinear Identification Algorithm Based on Hammerstein

The Hammerstein algorithm model describes the nonlinear system by the combination of static nonlinear module and dynamic linear module, and its system structure diagram is shown in Figure 2, where , , , and are identification input, intermediate state, noise sequence, and system output, respectively. and are nonlinear module and linear module. The linear and nonlinear characteristics are distinguished by the intermediate state , which can be used to decouple the linear and nonlinear models. The Hammerstein algorithm only requires the input and output data, which can effectively reduce the measurement noise and improve the identification precision [23].

Figure 2: Hammerstein system identification structure.

Due to the asymmetric characteristics of friction in the electrohydraulic servo system, the nonlinear part of the Hammerstein algorithm is represented by piecewise polynomial function [24], and the input and output relationship of the nonlinear part is as follows:

where and are nonlinear coefficients and is the order of the polynomial.

The linear part of the Hammerstein model is represented by a discrete autoregressive model, namely:

where ; ; is system delay; and are linear coefficients.

Take the case of . Substituting equation (11) into equation (12), the least square format based on the Hammerstein model can be simplified as follows:

The autoregressive variable and the estimated parameter vector are as follows:

where .

The estimated value of can be obtained by the least square method:

where and .

Using the normalization method, and let . The following equation can be obtained:

After matrix transformation, the expression of is as follows:

According to equation (16), the intermediate variable can be calculated in the iterative process.

4. Adaptive Dynamic Identification Based on Fuzzy Algorithm

Due to the time-varying characteristics of the electrohydraulic servo system, the problem of model mismatch may occur over the long run, which requires the system model has to be frequently updated. At the same time, it is necessary to consider the phenomenon of “data saturation” in the update process, that is, the impact of new data on parameter estimation becomes weaker and weaker over time. When the system is highly variable, the Hammerstein model will not be able to quickly track the changes in the system, causing the identification to fail. Therefore, the “forgetting factor” is introduced to solve the problem of data saturation.

According to the limited memory recursive least square algorithm [25], the following equation can be obtained:

where .

The forgetting factor is the weight of the old data in the identification process. The bigger the forgetting factor , the smaller the influence of the new data on the identification results. The smaller the forgetting factor , the greater the impact of the new data on the identification results. Therefore, in order to solve the problem of model mismatch, when the system changes slowly, it can adopt the larger forgetting factor to reduce the influence of the sensor’s interference error on the model; when the system changes rapidly, it should adopt the smaller forgetting factor to make the model match the system more quickly.

In order to adapt to this change and obtain the optimal forgetting factor in real time, a fuzzy controller [26, 27] is designed to update the forgetting factor. The input of the controller is the displacement error and the error variation . Let the fuzzy universes of the error and error variation be , and their lingual variables are . The output of the controller is forgetting factor and its lingual variables are .

The linear function can adjust the factors to reduce the error rapidly. The curve function is relatively smooth and is conducive to the stability of control. The membership function of fuzzy controller is designed based on the advantages of above two functions. When the error is large, the speed of adjustment is mainly considered and the trigonometric membership function is adopted; when the error is small, the stationarity is considered mainly and the curve membership function is adopted. The curve membership function is shown in Figure 3, and the corresponding fuzzy control rules are shown in Table 1.

(a)

(b)

Figure 3: Input and output curves of the membership function.

Table 1: Fuzzy control rules.

Δe/e
NB
NM
NS
ZO
PS
PM
PB

NB
VS
VS
MS
S
B
MB
MB

NM
VS
MS
S
B
MB
VB
B

NS
MS
S
B
MB
MB
VB
S

ZO
S
S
VB
VB
VB
S
MS

PS
S
B
MB
VB
B
S
MS

PM
S
MB
MB
MB
S
MS
VS

PB
MB
MB
VB
S
S
VS
VS

The methods of defuzzification include weighted average method, maximum membership function method, and gravity method. According to the advantages and disadvantages of these methods, the gravity method is chosen for defuzzification, its calculation formula is as follows:

where is the updated value of forgetting factor .

The overall control structure and data flow of the electrohydraulic servo system of the robotic excavator are shown in Figure 4. In the figure, is the desired displacement and is the actual displacement.

Figure 4: Structure diagram of controller.

In summary, the steps of adaptive identification and control for robotic excavator based on Hammerstein are as follows:

 Step 1: according to the mechanism characteristics of the electrohydraulic servo system of the robotic excavator, set the values of , , and  Step 2: set the values of , , and forgetting factor  Step 3: offline identification; calculate the nonlinear module coefficients of the Hammerstein model Step 4: collect the experimental data of the electrohydraulic servo system of the robotic excavator Step 5: update the forgetting factor by fuzzy control algorithm Step 6: update the linear module coefficients of the Hammerstein model Step 7: calculate the next output of the controller Step 8: return to Step 4 and continue the loop

5. Experimental Analysis

The experimental prototype of the robotic excavator is developed from the existing backhoe mountain excavator, which is composed of backhoe mountain excavator, sensor control system, and the 3D laser radar. The working device of the robotic excavator is composed of boom, arm, telescopic arm, and bucket in series, as shown in Figure 5. Each joint is driven by servo hydraulic cylinder, and the displacement of the piston rod is measured by using the cable type of absolute encoder, as shown in Figure 6.

Figure 5: Experimental prototype of the robotic excavator.

Figure 6: Electrohydraulic servo control system of the robotic excavator.

The structure of electrohydraulic proportional position control system of the robotic excavator’s working device is the same, which is mainly composed of the electrohydraulic pilot proportional pressure reducing valve, LUDV multiway valve, hydraulic cylinder, and the cable type absolute encoder used to measure the displacement of the hydraulic cylinder piston rod, as shown in Figure 6.

The DSP controller is connected with main control computer and encoder through CAN bus. The main control computer gives the target position of the piston rod of the hydraulic cylinder, and the controller collects the displacement of the piston rod as the feedback, takes the difference between the target position and the feedback as the input of the controller, and then sends the control amount to the driver. The driver generates the PWM signal PWM and changes the voltage of the electrohydraulic pilot proportional reducing valve by adjusting the duty ratio of the PWM signal value. Therefore, the input pressure of LUDV multiway valve can be controlled to control the flow of the hydraulic cylinder, and then the movement of the working device can be driven by the piston rod of the hydraulic cylinder.

In order to study the nonlinear dynamic characteristics of the electrohydraulic servo system of the robotic excavator, take the boom control system for example, and the combination of low amplitude sinusoidal signal is used as excitation signal (as shown in Figure 7(a)). The stable low-speed output signal of the boom is shown in Figure 7(b).

(a)

(b)

Figure 7: Input and output signal of the identification experiment. (a) Open-loop input and (b) output signal.

It can be seen from Figure 7(b) that when the excitation signal is near 0, the output remains almost constant due to dead zone characteristics; when the input is sinusoidal symmetric signal, the output shows a downward trend, which is that the response characteristic of the positive and negative direction is asymmetrical.

In order to verify the effectiveness of the adaptive Hammerstein nonlinear identification algorithm, the system model of the electrohydraulic servo system of the robotic excavator is identified by the classical Hammerstein nonlinear identification algorithm (CHNLIA) and adaptive Hammerstein nonlinear identification algorithm (AHNLIA), respectively, which is combined with the control algorithm to form the controller, and the control performance of two algorithms is compared by experiments.

Based on the hydraulic control theory, the linear module orders of the Hammerstein model structure are set to , , and ; the polynomial order of the nonlinear module is set to . The basic universe of error is , and the basic universe of error variation is . Let , based on the adaptive Hammerstein nonlinear identification algorithm, and the model parameters of the boom control system of the robotic excavator are obtained, as shown in Table 2.

Table 2: Model parameters of the electrohydraulic servo system.

Name
Estimated value
Name
Estimated value

−0.9923

0.8375

0.0236

1.0

0.0042

0.0924

0.7237

−0.0133

For the same test data, the model parameters of the boom control system of the robotic excavator are identified by the classical Hammerstein nonlinear identification algorithm again. The identified system model is compared with the actual system, and servo tracking experiment is carried out. The experimental results of the two algorithms are shown in Figure 8.

(a)

(b)

Figure 8: Comparison curves of output and output error. (a) Output comparison curve and (b) error comparison curve.

It can be seen from Figure 8 that the adaptive Hammerstein nonlinear identification algorithm (AHNLIA) has better approximation accuracy than the classical Hammerstein nonlinear identification algorithm (CHNLIA). The calculated standard deviation of the CHNLIA is  = 5.8921, and the error of the identified model is obvious when the hydraulic cylinder changes its motion direction. The calculated standard deviation of the AHNLIA is  = 3.5287, the error of the algorithm fluctuates within a small range, and the hydraulic cylinder always stays near the designated position. It can be seen that the identification error of the AHNLIA is about 40.11% lower than that of the CHNLIA, and it can describe the dynamic characteristics of the electrohydraulic servo system of the robotic excavator more accurately.

6. Conclusion

On the basis of establishing the nonlinear model of the electrohydraulic servo system of the robotic excavator, the complex dynamic characteristics of the system are analyzed. Due to the nonlinear and time-varying characteristics of the electrohydraulic servo system, it is difficult to establish a precise mathematical model. The Hammerstein model with dynamic linear module and static nonlinear module is applied to describe the system; a forgetting factor is introduced to adjust the model, and the fuzzy control module is designed to adaptively update the forgetting factor. The identification results provide a reference model for the adaptive control of the robotic excavator, and the model predictive control can be used to track the predetermined trajectory accurately.

Experimental results show that the tracking accuracy of the adaptive Hammerstein nonlinear identification algorithm is improved significantly compared with the classical Hammerstein identification algorithm, which can describe the dynamic characteristics of the electrohydraulic servo system of the robotic excavator more accurately. The method provides a reference for the identification and control of other nonlinear time-varying systems in the industrial field.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported by the military doctoral candidate funded project of the PLA, China (Grant no. 2015JY138).

References

D. Wang, L. Zheng, H. Yu, W. Zhou, and L. Shao, “Robotic excavator motion control using a nonlinear proportional-integral controller and cross-coupled pre-compensation,” Automation in Construction, vol. 64, pp. 1–6, 2016.

K. Skonieczny, D. Wettergreen, and W. R. Whittaker, “Advantages of continuous excavation in lightweight planetary robotic operations,” The International Journal of Robotics Research, vol. 35, no. 9, pp. 1121–1139, 2016.

J. Park, D. Cho, S. Kim, Y. B. Kim, P. Y. Kim, and H. J. Kim, “Utilizing online learning based on echo-state networks for the control of a hydraulic excavator,” Mechatronics, vol. 24, no. 8, pp. 986–1000, 2014.

S. Jianpeng, Q. Long, Z. Xiaogang et al., “Electro-hydraulic velocity and position control based on independent metering valve control in mobile construction equipment,” Automation in Construction, vol. 94, pp. 73–84, 2018.

Y. Zhu, W. L. Jiang, X. D. Kong et al., “Study on nonlinear dynamics characteristics of electro hydraulic servo system,” Nonlinear Dynamics, vol. 80, no. 1-2, pp. 723–737, 2015.

Q. Guo, T. Yu, and D. Jiang, “Robust H∞ positional control of 2-DOF robotic arm driven by electro-hydraulic servo system,” Isa Transactions, vol. 59, pp. 55–64, 2015.

W.-h. Ding, H. Deng, Y.-m. Xia, and X.-g. Duan, “Tracking control of electro-hydraulic servo multi-closed-chain mechanisms with the use of an approximate nonlinear internal model,” Control Engineering Practice, vol. 58, pp. 225–241, 2017.

Y. He, J. Wang, and R. Hao, “Adaptive robust dead-zone compensation control of electro-hydraulic servo systems with load disturbance rejection,” Journal of Systems Science and Complexity, vol. 28, no. 2, pp. 341–359, 2015.

A. Kovari, “Effect of leakage in electrohydraulic servo systems based on complex nonlinear mathematical model and experimental results,” Acta Polytechnica Hungarica, vol. 12, no. 3, pp. 2015–2129, 2015.

X. Wang and S. Wang, “New approach of friction identification for electro-hydraulic servo system based on evolutionary algorithm and statistical logics with experiments,” Journal of Mechanical Science and Technology, vol. 30, no. 5, pp. 2311–2317, 2016.

N. M. Tri, D. N. C. Nam, H. G. Park, and K. K. Ahn, “Trajectory control of an electro hydraulic actuator using an iterative backstepping control scheme,” Mechatronics, vol. 29, pp. 96–102, 2015.

I. Yung, C. Vázquez, and L. B. Freidovich, “Robust position control design for a cylinder in mobile hydraulics applications,” Control Engineering Practice, vol. 69, pp. 36–49, 2017.

K. Guo, J. Wei, J. Fang, R. Feng, and X. Wang, “Position tracking control of electro-hydraulic single-rod actuator based on an extended disturbance observer,” Mechatronics, vol. 27, pp. 47–56, 2015.

T. Boaventura, J. Buchli, C. Semini, and D. G. Caldwell, “Model-based hydraulic impedance control for dynamic robots,” IEEE Transactions on Robotics, vol. 31, no. 6, pp. 1324–1336, 2015.

J. Yao, W. Deng, and Z. Jiao, “Adaptive control of hydraulic actuators with LuGre model-based friction compensation,” IEEE Transactions on Industrial Electronics, vol. 62, no. 10, pp. 6469–6477, 2015.

A. Yang, L. Li, Z. Wang, and R. Guo, “Tracking control of a class of chaotic systems,” Symmetry, vol. 11, no. 4, p. 568, 2019.

G. Rongwei, “Projective synchronization of a class of chaotic systems by dynamic feedback control method,” Nonlinear Dynamics, vol. 90, no. 1, pp. 53–64, 2017.

Z. Wang and R. Guo, “Hybrid synchronization problem of a class of chaotic systems by an universal control method,” Symmetry, vol. 10, no. 11, p. 552, 2018.

R. Ling, G. Rongwei, and E. V. Uchechukwu, “Coexistence of synchronization and anti-synchronization in chaotic systems,” Archives of Control Sciences, vol. 26, no. 1, pp. 69–79, 2016.

J. Chen and X. Wang, “Identification of Hammerstein systems with continuous nonlinearity,” Information Processing Letters, vol. 115, no. 11, pp. 822–827, 2015.

N. I. Chaudhary and M. A. Z. Raja, “Identification of Hammerstein nonlinear ARMAX systems using nonlinear adaptive algorithms,” Nonlinear Dynamics, vol. 79, no. 2, pp. 1385–1397, 2015.

K. Baghestan, S. M. Rezaei, H. A. Talebi, and M. Zareinejad, “An energy-saving nonlinear position control strategy for electro-hydraulic servo systems,” Isa Transactions, vol. 59, pp. 268–279, 2015.

A. Gotmare, R. Patidar, and N. V. George, “Nonlinear system identification using a cuckoo search optimized adaptive Hammerstein model,” Expert Systems with Applications, vol. 42, no. 5, pp. 2538–2546, 2015.

N. Zhang, J. Cao, L. A. James, and T. E. Johansen, “Streamline tracing methods based on piecewise polynomial pressure approximations,” Water Resources Research, vol. 54, no. 9, pp. 7029–7045, 2018.

R. Xu, Q. Chen, G. Yang et al., “Identification of a certain mechanism’s recoiling mass by limited memory least square method,” Journal of Vibroengineering, vol. 16, no. 1, pp. 513–521, 2014.

Y. Li and S. Tong, “Adaptive fuzzy output-feedback stabilization control for a class of switched nonstrict-feedback nonlinear systems,” IEEE Transactions on Cybernetics, vol. 47, no. 4, pp. 1007–1016, 2017.

J. Wu and J. Li, “Adaptive fuzzy control for perturbed strict-feedback nonlinear systems with predefined tracking accuracy,” Nonlinear Dynamics, vol. 83, no. 3, pp. 1185–1197, 2016.