You are on page 1of 10

HYDRAULIC LINEAR ACTUATOR VELOCITY CONTROL USING A FEEDFORWARD-PLUS-PID CONTROL Qin Zhang Department of Agricultural Engineering University of Illinois

at Urbana-Champaign, Urbana, IL 61801

ABSTRACT: A practical approach to design a feedforward-plus-proportional-integral-derivative (FPID) controller for accurate and smooth velocity control on a hydraulic linear actuator is presented. The integrated controller consists of a feedforward loop and a PID loop. The feedforward loop is designed to compensate for the nonlinearity of the electrohydraulic system, including the deadband of the system and the nonlinear flow gain of the control valve. A feedforward gain schedule determines the basic control input based on the command velocity. The PID loop complements the feedforward control via velocity tracking error compensation. Also presented are comparisons of the experimental results from an open-loop feedforward controller, a conventional PID controller, and an integrated feedforward-PID (FPID) controller. In each experiment, the controllers were tuned to provide optimal responses. Results demonstrate that the FPID controller is capable of improving the accuracy and dynamic performance of velocity control of a hydraulic linear actuator. INTRODUCTION Hydraulic actuators are widely used on mobile equipment and robots, due to their high power density, environment tolerance, and compact size (Backe, 1993). One of the fundamental tasks in designing hydraulic actuating systems is the development of effective velocity control of the actuator using a control valve (Burrows, 1994). The adoption of electrohydraulic (E/H) proportional valves, which are usually 4-way infinite position directional control valves, increased the efficiency and performance of hydraulic actuating systems (Caputo, 1994). Most E/H proportional valves have undesirable inherent characteristics including high nonlinearity, asymmetric flow gain, and hysteresis. The nonlinear behavior may vary with changes in system load and operating conditions. Nonlinear effects can cause performance deterioration in terms of response speed, control accuracy, and stability of the system (Anderson, 1988). Nonlinear characteristics make it difficult to adequately control an E/H actuating system using a classical proportional-integral-derivative (PID) controller (Zhang et al. 1996). Many researchers attempted to develop adequate controls for accurate and efficient control of nonlinear systems. Edge and Figueredo (1987) developed a model reference adaptive control (MRAC) for a hydraulic servosystem utilizing a linear model. The MRAC algorithm modified the controller parameters to make the plant track the system model. Researchers have successfully developed various neural networkbased controllers for E/H systems (Newton, 1994; Watton and Kwon, 1996; Qian et al. 1998). Neural network-based control is capable of offering good nonlinear control and an ability to learn. Fuzzy logic control is another capable control technology for handling the high nonlinearity inherent in hydraulic actuating systems (Tessier and Kinsner, 1995; Wang and Chang, 1998; Zhang et al.

1999). Zheng et al. (1998) applied an adaptive learning approach to control the position of a hydraulic linear actuator using an E/H proportional valve. The system is capable of compensating for major nonlinearities, including deadband, saturation, and friction, to achieve satisfactory performance. This paper presents a practical approach to design a feedforward-plus-proportional-integralderivative (FPID) controller for accurate and smooth velocity control on a hydraulic linear actuator. The integrated FPID controller consists of a feedforward loop and a PID loop. The feedforward loop is designed to compensate for the nonlinearity of the electrohydraulic system, including the deadband of the system and the nonlinear flow gain of the control valve. A feedforward gain schedule determines the basic control input based on the command velocity. The PID loop complements the feedforward control via the velocity tracking error compensation. DESCRIPTION OF THE HYDRAULIC LINEAR ACTUATOR SYSTEM Hydraulic cylinder actuators are widely used in many fluid power systems, such as robots, aircraft, construction machinery, and agricultural machinery. To develop an adequate velocity controller for hydraulic cylinder actuators without loss of generality, a hardware-in-the-loop E/H linear actuating system simulator was developed. This interactive simulator consists of a computer-based controller, a pulse width modulation (PWM) valve control driver, an electrohydraulic proportional directional control valve, a hydraulic linear actuator, and a load adjustable cylinder (Fig.1). The load adjustable cylinder is linked to the actuator and allowed a positive load to resist the motion of the actuator. The linear actuator is a single-rod, double-acting hydraulic cylinder; its velocity is determined by the flow rate supplied to the cylinder. A Packer-Hannifin (Elyria, OH) four-way proportional E/H directional control valve is used to regulate the flow rate (Fig. 2). In this system, the orifice area of the cylinder-to-tank (C-T) port is always larger than that of the pump-to-cylinder (P-C) port, and a positive load is always applied to the actuator. It is reasonable to assume that the actuator velocity is controlled solely by the P-C orifice. Based on flow continuity theory, the actuator extending motion can be described using a flow continuity theory when the friction and leakage are neglected. The system momentum can be determined by actuating force, system load, and system mass. The actuator retracting motion can be modeled in a similar manner to the extending motion. QS = A1 dy V1 dP1 + dt dt d2y +F dt 2
Linear

(1) (2)

P1 A1 P2 A2 = m

ECU

where, QS is the supplying flow rate to the actuator, A1 and A2 are the cylinder areas of the headend and the rod-end, P1 and are cylinder pressures in the head-end and the rod-end, V1 is the cylinder chamber volume at the head-end, is the fluid bulk modulus, F is the external force acting on the cylinder, m is the mass of the actuator, y is the displacement of the actuator, and t is the time. A directional control valve regulates the flow rate by adding flow restriction to the pathways through an adjustable orifice. Therefore, the supplying flow rate to the head-end chamber of the cylinder can be determined by orifice equations. 2 (PS P1 ) (3) where, Aori is the valve orifice area, C d is the orifice coefficient, is the fluid mass density, and PS is the pump supply pressure. QS = C d Aori For a solenoid driven spool valve, the orifice areas are determined by the displacement of the spool, which is controlled by the solenoid actuating force against the centering springs if the friction and flow forces are neglected. The solenoid actuating force is regulated by the control input voltage signal, u, to the PWM driver of the solenoid valve. Aori = g d u (4) where, g d is the gain coefficient of the solenoid drive, and u is the control input voltage signal. Furthermore, the flow discharge coefficient Cd is also a function of spool displacement x, which is a function of control signal u. Introducing a flow gain coefficient g F to the orifice equation, the valve orifice equation can be represented as follows. QS = g F u PS P1 2 where, g F is the flow gain coefficient. g F = Cd g d (5) (6)

Modifying the orifice equation using QS , modifying the momentum equation using actuator motion mass, and neglecting cylinder friction and back pressure, eqn. (7) and (8) give the nonlinear state
PS QP-C1 QC-H2

V P1 A1 V1 P2 A2, V2, F

QP-C2

QC-T1

PT

Figure 2. Asymmetric hydraulic linear actuator system with a directional control valve.

model of extending motion. Similarly, the nonlinear state model of retracting motion can be developed. These models provide the fundamentals for accurate velocity control on the hydraulic linear actuator. g F u PS P1 = A1v + P1 A1 = m V1 dP1 dt (7) (8)

dv +F dt where, v is the velocity of the actuator.

Equations (7) and (8) were linearized about an operating point to create a set of differential equations with constant coefficients. The solutions of these equations can be used to design the control system for the E/H linear actuator. kuu k pP1 = A1v + C1 P 1A 1 = m and, ku = kP = QS u QS P1 d (v ) dt
u =u0

d (P 1) dt

(9) (10) (11) (12)

P 1 =P 10

V C1 = 1

(13)

where, k P and k u are, respectively, the gain factors of cylinder chamber pressure and input control signal, C1 is the hydraulic damping factor, P1 , QS , and v are, respectively, the increment of cylinder pressure, pump flow supply, and actuating velocity, and u is the increment of control input signal. The velocity of the actuator is governed by the flow rate of the supplied fluid, which is determined by the pressure drop across the valve orifice. The dynamic model of the system studied is given as eqn. (14). C1m & & k p P P1 = ku u A1x 1 A1 (14)

& is the increment of pressure changing rate in the cylinder, x & is the velocity of the linear where, P 1 & is the increment of cylinder velocity. actuator, and x CONTROLLER DESIGN The form of eqn. (14) falls under the category of systems that is feedback linearizable (Isidori, 1989) as follows. & = f ( x ) + g ( x )u x y = h( x ) (15) (16)

GFF (s)

uff

vd

+ -

e GPID (s)

upid

u GHYD (s)

va

vfa

F(s)

vs

ds

Disp. Sensor

Figure 3. Schematic block diagram of the feedforward-plus-proportional-integralderivative (FPID) controller. GFF(s) is the feedforward gain, GPID(s) is the overall gain of the feedback PID controller, GHYD(s) is hydraulic system gain, and F(s) is the filter. where x R n is the state of the system, u R m is the control variable, and y R p is the system output. The resulting equation of the linear plant of the nonlinear system is: v (s ) =
2 n ku u (s ) . 2 A1 s s 2 + 2 n s + n

(17)

The model indicates that the velocity control system for an E/H linear actuator is a third-order system. The dynamic behavior of such a system is affected by the spool valve dynamics, the system pressure, and the size of the hydraulic cylinder. A model-based controller was developed based on the transfer function of this linearized system for the feedforward-plus-feedback control system. This controller uses a simple proportional-integral-derivative (PID) algorithm to stabilize the system. K G (s ) = K P + I + K D s (18) s where, K D , K I , and K P are, respectively, the derivative, integral, and proportional gains of the base controller. The feedforward loop in this FPID controller (Fig. 3) consists of an inverse valve transform, which provides the steady-state control characteristics of the E/H valve in terms of actuator velocity and control voltage to the PWM driver. The valve transform was developed by applying a series of excitation signals to the system and measuring the response. The valve transform was then converted into an inverse valve transform using the following equation. u = f 1 ( v ) (19)

The inverse valve transform was used as the gain scheduled in the feedforward control, which was integrated into the feedforward loop of the FPID controller. The resulting controller is capable of compensating for valve deadband and asymmetric flow gain via the feedforward gain schedule, and compensating for velocity tracking error via the feedback PID gains. The FPID controller was implemented on the hardware-in-the-loop E/H linear actuator system simulator. The robustness of the FPID control was evaluated based on its performance and stability. Performance robustness deals with unexpected external disturbances and stability robustness deals with internal structural or parametric changes in the system. The design of this FPID controller was

based on the worst case scenario of the system operating conditions in tuning both the PID gains and the feedforward gain. RESULTS AND DISCUSSIONS In implementing the developed controller on the hardware-in-the-loop E/H actuating system simulator, various tests have been conducted for evaluating the performance of the FPID controller versus a feedforward controller and a PID controller. The tests were performed by disconnecting either the PID loop or the feedforward loop of the FPID controller, and carefully tuning the parameters in the remaining loop to optimal levels. Experimental results indicate a superior performance of the FPID controller over both the feedforward controller and the PID controller. Results also indicate that the controller is capable of compensating for external disturbances and internal gain changes, which verified the robustness of the FPID controller. Figure 4 shows the velocity tracking accuracy of a feedforward controller with rough-tuned (Fig. 4A) and well-tuned (Fig. 4B.) inverse valve transforms. The rough-tuned inverse valve transform consists of five characteristic points, including the neutral point, the deadband points and the
100

50

Velocity (mm/s)

-50

-100 0 4 8 12 16

Time (sec)

(A) Roughly tuned inverse valve transform (consists of 5 points)


100

50

Velocity (mm/s)

-50

-100 0 4 8 12 16

Time (sec)

(B) Well tuned inverse valve transform (consists of 35 points) Figure 4. Velocity control performance on the hydraulic actuator from feedforward controls with inverse valve transforms. The dashed line is the desired velocity and the solid line is the actual obtained velocity.

saturation points for both positive and negative motion of the cylinder actuator. Test results indicate that a roughly tuned feedforward controller can effectively compensate for the system deadband. However, it resulted in noticeable errors in velocity control, especially when the external load changed, because it is not capable of compensating for the nonlinear flow gain, and its characteristic points do not reflect load variations. The mean square root (RMS) error in the velocity tracking from a ramp test was 12.1 mm/s (Fig. 4A). The velocity tracking accuracy can be greatly improved by adding more points to the inverse valve transform, which provides the capability of compensating for the asymmetric nonlinear flow gain of the control valve. Figure 4B presents an almost perfect velocity tracking control by using a 35 points inverse valve transform. The RMS error in velocity tracking was 6.7 mm/s, which is a 50% reduction in velocity tracking error compared to the five-point valve transform. Notice that the valve transform is external load and flow rate sensitive, which results in variations in the optimal valve transform. One well-tuned inverse valve transform would not be sufficient to ensure accurate velocity tracking under all operation conditions in an open-loop feedforward controller. A PID controller is capable of compensating for the tracking error to achieve more accurate velocity control. The evaluation tests investigated the velocity tracking performance using a well-tuned PID controller. Figure 5A shows the velocity tracking accuracy using a controller with a proportional
100

50

Velocity (mm/s)

-50

-100 0 4 8 12 16

Time (s)

(A) P control with KP=0.2


100

50

Velocity (mm/s)

-50

-100 0 4 8 12 16

Time (s)

(B) PI control with KP=0.1 and KI=0.05 Figure 5. Velocity control performance on the hydraulic actuator from different PID controllers. The dashed line is the desired velocity and the solid line is the actual obtained velocity.

gain factor of 0.2. The controller resulted in a noticeable error in velocity control (RMS error of 10.2mm/s) without loss its stability. Adding an integral term to the controller improved the tracking accuracy in the low velocity region. However, higher gains would result in larger errors in velocity tracking (RMS error of 12.7 mm/s) and cause a visible jerky motion at higher velocities (Fig. 5B). Such problems resulted from using high feedback gains to compensate for the large deadband with the PID controller. By integrating both the feedforward and the PID loops, an integrated FPID controller was created. The FPID controller compensated for the large deadband and nonlinear flow gain (Fig. 6) using the feedforward loop and compensated for the disturbance generated tracking errors using the PID loop.
100 75

Velocity (mm/s)

50 25 0 -25 -50 -75

-100 0 2 4 6 8 10 12 14 16

Time (s)

(A) Ramp input


60 40

Velocity (mm/s)

20 0 -20 -40 -60

10

12

14

16

Time (s)

(B) Sine wave input


100 75 50

Velocity (mm/s)

25 0 -25 -50 -75 -100 0 2 4 6 8 10

Time (s)

(C) Step input Figure 6. Velocity control performance on the hydraulic actuator from the FPID control with a roughly tuned inverse valve transforms. The dashed line is the desired velocity and the solid line is the actual obtained velocity.

Figure shows the velocity tracking accuracy of the cylinder actuator with either ramp, sinusoidal, or step control inputs from the FPID controller. The integrated controller consists of a five-point inverse valve transform in the feedforward loop and reduced proportional and integral gains of 0.05 and 0.01 in the PID loop. The reduction in the PID feedback gains improved the stability of the system and assured the robustness of the controller. The RMS errors were 5.6 mm/s, 5.7 mm/s, and 17.8 mm/s from a ramp, a sinusoidal, and a step-input test, respectively. The RMS error from the FPID controller was about 16.4% and 45.1% lower than that from the well-tuned feedforward controller and PID controller, respectively, under ramp input conditions. It is concluded that the FPID controller is capable of compensating for system deadband and nonlinear gain via an inverse valve transform, and compensating for velocity tracking error via reduced PID gains. CONCLUSIONS Electrohydraulic linear actuators are highly nonlinear systems, with load- and flow-sensitive system deadband, asymmetric flow gain hysteresis, and saturation. The dynamic behavior of the nonlinear system could be described using a fluid continuity equation, a valve orifice equation, and an actuator momentum equation with assumptions of no flow leakage and no friction. It is reasonable to assume that actuator velocity is controlled solely by the valve orifice of the pump-to-cylinder (P-C) port, and if the load on the actuator is positive. A feedforward-plus-proportional-integral-derivative (FPID) control was developed to achieve highperformance velocity control on a hydraulic linear actuator. The FPID controller consists of a feedforward loop for nonlinearity compensation and PID loop for tracking error compensation. The controller is capable of compensating for system deadband and nonlinear gain via an inverse valve transform, and compensating for the velocity tracking error via reduced PID gains. Experimental results indicate that the RMS error from the FPID controller is about 15% and 45% lower than that from a well-tuned feedforward controller and a well-tuned PID controller, respectively, under ramp input conditions. Test results demonstrate the effectiveness of using a FPID controller to achieve accurate velocity control on linear actuators, and verify that FPID control is capable of improving the dynamic performance and the stability of hydraulic linear actuator systems. REFERENCES 1. Anderson, W.R. 1988. Controlling Electrohydraulic Systems. Marcel Dekker, New York. 2. Backe, W. 1993. The present and future of fluid power. Proc Instn Mech Engrs, Part I: Journal of Systems and Control Engineering, 207:193-212. 3. Burrows, C.R. 1994. Fluid power progress in a key technology. JSME International Journal, Series B, 37:691-701. 4. Caputo, D. 1994. Electrohydraulic proportional valves increase system efficiency. Hydraulics & Pneumatics, November 1994, pp.41-42. 5. Edge, K.A. and K.R.A. Figueredo 1987. An adaptively controlled electro-hydraulic servo system. Proc Instn Mech Engrs, Part B: Journal of Management & Engineering Manufacture, 201:175-189. 6. Isidori, A. 1989. Nonlinear Control Systems. Springer Verlag, New York, NY.

7. Newton, D.A. 1994. Design and implementation of a neural network controlled electrohydraulic drive. Proc Instn Mech Engrs, Part I: Journal of Systems and Control Engineering, 208:31-42. 8. Qian, W., R. Burton, G. Schoenau, and P. Ukrainetz 1998. Comparison of a PID controller to a neural net controller in a hydraulic system with nonlinear friction. Fluid Power Systems and Technology, ASME, Fairfield, NJ, pp.91-98. 9. Wang, Y.T. and C.C. Chang 1998. Fuzzy control of an electrohydraulic fatigue testing system. International Journal of Materials & Product Technology, 13:184-194. 10. Watton, J. and K. Kwon 1996. Neural network modelling of fluid power control systems using internal state variables. Mechatronics 6:817-827. 11. Tessier, T. and W. Kinsner 1995. Implementation of a fuzzy logic-based seeding depth control system. IEEE WESCANEX Communications, Power, and Computing, 2:489-494. 12. Zhang, H., P.R. Ukrainetz, R.T. Burton, and P.N. Nikiforuk 1996. Implementation of neural network approach in MIMO electrohydraulic servosystem control. Proceedings of the 1996 UKACC International Conference on Control (Part 2), IEE, Stevenage, UK. pp.1468-1473. 13. Zhang, Q., D.R. Meinhold, and J.J. Krone 1999. Valve transform fuzzy tuning algorithm for open-center electrohydraulic systems. Journal of Agricultural Engineering Research, 73:331339. 14. Zheng, D., H. Havlicsek, and A. Alleyne 1998. Nonlinear adaptive learning for electrohydraulic control systems. Fluid Power Systems and Technology, ASME, Fairfield, NJ, pp.83-90.

You might also like