Open access peer-reviewed chapter

A Hybrid of Fuzzy and Fuzzy Self-Tuning PID Controller for Servo Electro-Hydraulic System

By Kwanchai Sinthipsomboon, Issaree Hunsacharoonroj, Josept Khedari, Watcharin Po-ngaen and Pornjit Pratumsuwan

Submitted: December 8th 2011Reviewed: May 7th 2012Published: September 27th 2012

DOI: 10.5772/48614

Downloaded: 4121

1. Introduction

The application of hydraulic actuation to heavy duty equipment reflects the ability of the hydraulic circuit to transmit larger forces and to be easily controlled. It has many distinct advantages such as the response accuracy, self-lubricating and heat transfer properties of the fluid, relative large torques, large torque-to-inertia ratios, high loop gains, relatively high stiffness and small position error. Although the high cost of hydraulic components and power unit, loss of power due to leakage, inflexibility, nonlinear response, and error-prone low power operation tends to limit the use of hydraulic drives, they nevertheless constitute a large subset of all industrial drives and are extensively used in the transportation and manufacturing industries (Merrit, 1976; Rong-Fong Fung et al, 1997; Aliyari et al, 2007).

The Servo Electro-hydraulic System (SEHS), among others, is perhaps the most important system because it takes the advantages of both the large output power of traditional hydraulic systems and the rapid response of electric systems. However, there are also many challenges in the design of SEHS. For example, they are the highly nonlinear phenomena such as fluid compressibility, the flow/pressure relationship and dead-band due to the internal leakage and hysteresis, and the many uncertainties of hydraulic systems due to linearization. Therefore, it seems to be quite difficult to perform a high precision servo control by using linear control method Rong-Fong Fung et al, 1997; Aliyari et al, 2007; Pratumsuwan et al, 2010).

Classical PID controller is the most popular control tool in many industrial applications because they can improve both the transient response and steady state error of the system at the same time. Moreover, it has simple architecture and conceivable physical intuition of its parameter. Traditionally, the parameters of a classical PID controller, i.e. KP, KI, and KD, are usually fixed during operation. Consequently, such a controller is inefficient for control a system while the system is disturbed by unknown facts, or the surrounding environment of the system is changed (Panichkun & Ngaechroenkul, 2000; Pratumsuwan et al, 2010).

Fuzzy control is robust to the system with variation of system dynamics and the system of model free or the system which precise information is not required. It has been successfully used in the complex ill-defined process with better performance than that of a PID controller. Another important advance of fuzzy controller is a short rise time and a small overshoot (Aliyari et al, 2007; Panichkun & Ngaechroenkul, 2000). However, PID controller is better able to control and minimize the steady state error of the system. To enhance the controller performance, hybridization of these two controller structures comes to one mind immediately to exploit the beneficial sides of both categories, know as a hybrid of fuzzy and PID controller (Panichkun & Ngaechroenkul, 2000; Pratumsuwan et al, 2010).

Nevertheless, a hybrid of fuzzy and PID does not perform well when applied to the SEHS, because when the SEHS parameters changes will require new adjustment of the PID gains. A hybrid of fuzzy and fuzzy self-tuning PID controller is proposed in this paper. The proposed control scheme is separated into two parts, fuzzy controller and fuzzy self-tuning PID controller. Fuzzy controller is used to control systems when the output value of system far away from the target value. Fuzzy self-tuning PID controller is applied when the output value is near the desired value. In terms of adjusting the PID gains tuning using fuzzy as to obtain an optimum value.

2. Servo electro-hydraulic system

The physical model of a nonlinear servo electro-hydraulic system is shown in Figure 1.

Figure 1.

The physical model of a servo electro-hydraulic system.

The inertial-damping with a nonlinear torsional spring system is driven by a hydraulic motor and the rotation motion of the motor is controlled by a servo valve. Higher control input voltage can produce larger valve flow from the servo valve and fast rotation motion of the motor. The entire system equations are described as follows. The servo valve flow equation (1) is described as:

QL=KqxvKcPLE1
(1)

where QL is the load flow, Xv is the displacement of the spool in the servo valve, Kc is the flow-pressure coefficient, PL is the load pressure, and Kq is the flow gain which varies at different operating points. Kq is given by

Kq=Cdw(PSPL)sgn(Xv)ρE2
(2)

where Cd is the discharge coefficient, w is the area gradient, ρ is the fluid mass density, and PS is the supply pressure.

The continuity equation to the motor is formulated as

QL=Dmθ˙m+ClPL+Vt4βeP˙LE3
(3)

where Dm is the volumetric displacement, θ˙mis the angular velocity of the motor shaft, Cl is the total leakage coefficient of the motor, Vt is the total compressed volume, and βe is the effective bulk modulus of the system.

Substituting (1) into (3) leads to

KqXv=Dmθ˙m+KlPL+Vt4βeP˙LE4
(4)

where Kl=Kc+Cl is the total leakage coefficient of the hydraulic system.

The torque balance equation for the motor is described as follows:

PLDm=Jtθ¨m+Bmθ˙m+G(θm+Gnθm3)+TdE5
(5)

where Jt is the total inertial of motor and load, Bm is the viscous damping coefficient of the load, Td is the disturbance of the system, and Gnθm3is the nonlinear stiffness of the spring.

From (1) to (5), the hydraulic servomechanism system equation can be described by a state equation as follows:

X˙1=X2X˙2=X3X˙3=i=13aiXi+bUN(X,t)d(t)Z˙=rX1E6
(6)

Where X(t)=[X1(t)X2(t)X3(t)]T=[θm(t)θ˙m(t)θ¨m(t)]Ta1(t)=4βeVtKltJtGa2(t)=4βeVtDm2Jt+4βeVtKltJtBm+GJta3(t)=4βeVtKlt+BmJtb(X)=4βeVtDmJtKqKVN(x,t)=4βeKltGnVtJtGX13+3GnJtGX12X2d(t)=4βeVtKltJtTd+1JtTdin which N(X,t) represents the nonlinear terms of the system.

3. System descriptions

We are considering a PC-based speed control of the SEHS that will use either a hybrid fuzzy PID or a hybrid of fuzzy and fuzzy self-tuning PID controller. The motor speed of this system is controlled. In order to construct fair test case for comparing both controllers, the experiments are constructed based on the same hardware elements. The specifications of this system are depicted in Table 1 and Figure 2 respectively.

Figure 2.

Experimental Setup.

ElementsDescriptions
Hydraulic MotorGeometric displacement 19.9 cm3
Max. Speed 1000 rpm, Max. torque 25Nm
Max. pressure drop 100bar
Max. oil flow 20l/min
Proportional valvedirectly actuated spool valve, grade of filtration 10 μm, nominal flow rate 60l/min (at ΔpN = 6.9 bar/control edge), nominal current 1600 mA, repeatability < 1%, hysteresis <5%
Pump (supply pressure)100 bar
Amplifier cardset point values ± 5 VDC, solenoid outputs (PWM signal) 24 V, dither frequency 200 Hz, max power 45W.
Encoder8 c/t, I(optical shaft encoder)
DACResolution 15 bit DAC, output 0-10V
DAQ Card NI 6221 PCIanalog input resolutions 16 bits (input range ±10V), output resolutions 16 bits (output range ±10V), 833 kS/s (6 μs full-scale settling)
Operating systems & ProgramWindows XP, and LabVIEW 8.6

Table 1.

Specifications of the SEHS.

4. Controller designs

A closed loop system, whither the reference signal is set manually or automatically, can perform control of motor speed. Figure 3 represents typical of an “Automatic Closed Loop” control system. As shown in the figure, the velocity of a hydraulic motor is controlled by a servo valve. The servo valve solenoid is receiving driving electrical current from an amplifier card, which is generating the driving current based on a control signal supplied by a controller. The controller responsibility is to continuously compare the reference signal and the actual motor speed feedback by the velocity sensor, after consequently generate the adequate control signal.

Figure 3.

Block diagram of using a hybrid fuzzy and fuzzy self-tuning PID controls the SEHS.

There are various types of control system used in classical control, modern control and intelligent control systems, each having been studied and implemented in many industrial applications. Every control system method has its advantages and disadvantages. Therefore, the trend is to implement hybrid systems consisting of more than one type of control technique.

4.1. PID controller

The PID control method has been widely used in industry during last several decades because of its simplicity. The implementation of PID control, as shown in (7), requires finding suitable values for the gain parameters KP, KI, and KD. To tune these parameters, the model is linearized around different equilibrium points,

u(k)=KPe(k)+KIi=0ke(i)+KD[e(k)e(k1)]E7
(7)

where e(k) is the error signal.

Figure 4.

Block diagram of a PID controller.

However, the PID method is not suitable for controlling a system with a large amount of lag, parameter variations, and uncertainty in the model. Thus, PID control cannot accurately control velocity in a SEHS (Rong-Fong Fung et al, 1997; Aliyari et al, 2007).

4.2. Fuzzy controller

Fuzzy Control (FC) has the advantage that it does not require an accurate mathematical model of the process. It uses a set of artificial rules in a decision-making table and calculates an output based on the table (Aliyari et al, 2007; Panichkun & Ngaechroenkul, 2000).

Figure 5.

Structure of FC.

Figure 5 & 6 show a schematic diagram of a fuzzy control system. Input variables go through the fuzzification interface and are converted to linguistic variables. Then, a database and rule base holding the decision-making logic are used to infer the fuzzy output. Finally, a defuzzification method converts the fuzzy output into a signal to be sent out.

First, the two input variables must be defined in terms of linguistics. The error (e) in velocity is expressed by a number in the interval from -10 to 10. There are five linguistic terms of the error in velocity: negative big (NB), negative (N), zero (Z), positive (P), and positive big (PB). Similarly, the fuzzy set of the error change of the velocity or acceleration (Δe) is presented as {NB, N, Z, P, PB} over the interval from -10 to 10V. Finally, the fuzzy set of the output signal is presented as {NB, N, Z, P, PB} over the interval from -5 to 5V.

Figure 6.

Block digram of a FC.

The knowledge base for a fuzzy controller consists of a rule base and membership functions. It is reasonable to present these linguistic terms by triangular-shape membership functions, as shown in Figure 6. A fuzzy control knowledge base must be developed that uses the linguistic description of the input variable. In this paper, an expert’s experience and knowledge method is used to build a rule base (Zhang et al, 2004). The rule base consists of a set of linguistic IF-THEN rules containing two antecedences and one consequence, as expressed in the following form:

Ri,j,k  :  IF  e=Ai and Δe=Bj THEN  u=Ck,E8
(8)

where 1 ≤ i ≤ 5, 1 ≤ j ≤ 5, and 1 ≤ k ≤ 5. The total number of IF-THEN rules is 25 and is represented in matrix form, called a fuzzy rule matrix, as shown in Table 2.

The decision-making output can be obtained using a max-min fuzzy inference where the crisp output is calculated by the center of gravity (COG) method.

Δe
e
NBNZPPB
NBNBNBNNZ
NNBNNZP
ZNNZPP
PNZPPPB
PBZPPPBPB

Table 2.

Fuzzy Rules of a FC.

Figure 7.

Fuzzy sets of a FC.

Figure 8.

Input-output mapping of a FC.

4.3. Hybrid of fuzzy and PID controller

While conventional PID controllers are sensitive to variations in the system parameters, fuzzy controllers do not need precise information about the system variables in order to be effective. However, PID controllers are better able to control and minimize the steady state error of the system. Hence, a hybrid system, as shown in figure 9, was developed to utilize the advantages of both PID controller and fuzzy controller (Parnichkul & Ngaecharoenkul, 2000; Erenoglu et al., 2006; Pratumsuwan et al., 2009;).

Figure 9 shows a switch between the fuzzy controller and the PID controller, where the position of the switch depends on the error between the actual value and set point value. If the error in velocity reaches a value higher than that of the threshold e0, the hybrid system applies the fuzzy controller, which has a fast rise time and a small amount of overshoot, to the system in order to correct the velocity with respect to the set point. When the velocity is below the threshold e0 or close to the set point, the hybrid system shifts control to the PID, which has better accuracy near the set velocity (Parnichkul & Ngaecharoenkul, 2000; Erenoglu et al., 2006; Pratumsuwan et al., 2009;).

Figure 9.

Block diagram of a hybrid fuzzy PID controller.

4.4. Fuzzy self-tuning PID controller

Fuzzy self-tuning PID controller means that the tree parameters KP, KI, and KD of PID controller are tuned by using fuzzy tuner (Zhang et al, 2004; Song & Liu, 2010; Zulfatman & Rahmat, 2006; Feng et al, 2009). The coefficients of the conventional PID controller are not often property tuned for the nonlinear plant with unpredictable parameter variations. Hence, it is necessary to automatically tune the PID parameters. The structure of the fuzzy self-tuning PID controller is shown in Figure 10. Where e is the error between desired velocity set point and the output, is the derivation of error. The PID parameters are tuned by using fuzzy tuner, which provide a nonlinear mapping from e and of error to PID parameters.

Figure 10.

Block diagram of a fuzzy self-tuning PID controller.

Regarding to the fuzzy structure, there are two inputs to fuzzy inference: e and , and there outputs for each PID controller parameter K′P, K′I, and K′D respectively. Mamdani model is applied as structure of fuzzy inference with some modification to obtain the optimum value for KP, KI, and KD. Suppose the variable ranges of the parameters of PID controller are [KPmin, KPmax], [KImin, KImax], and [KDmin, KDmax] respectively. The range of each parameters was determined based on the experimental on PID controls the SEHS. The range of each parameters are, KP∈[8,15], KI∈[0.003,0.01], and KD∈[0.0001,0.000001]. Therefore, they can be calibrated over the interval [0,1] as follows: KP=KPKPminKPmaxKPmin=KP8158,KP=7KP+8KI=KIKIminKImaxKImin=KI0.0030.010.003,KI=0.007KI+0.003KD=KDKDminKDmaxKDmin=KD0.0000010.000010.000001,KD=0.0000009KD+0.000001

The membership functions of these inputs fuzzy sets are shown in Figure 8. The linguistic variable levels are assigned as: negative big (NB), negative (N), zero (Z), positive (P), and positive big (PB). Similarly, the fuzzy set of the error change of the velocity or acceleration (Δe) is presented as {NB, N, Z, P, PB}. These levels are chosen from the characteristics and specification of the SEHS. The ranges of these inputs are from -10 to 10. Finally, whereas the membership functions of outputs K′P, K′I, and K′D are shown in Fig. 8. The linguistic levels of these outputs are assigned as: negative big (NB), negative (N), zero (Z), positive (P), and positive big (PB) similarly where the ranges from 0 to 1.

NBNZPPB
NBNBNBNBNZ
NNBNNNZ
ZNBNZPPB
PZPPPPB
PBZPPBPBPB

Table 3.

Fuzzy Rules of KP Gain.

NBNZPPB
NBPBPBPBNNB
NPBPPZNB
ZPPZNNB
PZPNNNB
PBZNNBNBNB

Table 4.

Fuzzy Rules of KI Gain.

NBNZPPB
NBNBNBNBPPB
NNBNNZPB
ZNNZPPB
PZNPPPB
PBZPPBPBPB

Table 5.

. Fuzzy Rules of KD Gain.

Figure 11.

Fuzzy sets of a fuzzy self-tuning PID controller.

4.5. Hybrid of fuzzy and fuzzy self-tuning PID controller

A hybrid of fuzzy and fuzzy self-tuning PID controller, as shown in Figure 12, was developed to combine the advantages of both fuzzy and PID controller together. In addition, the adjustment gain of PID with a fuzzy tuner is included to purposed controller also, which all of these described in section 4.1, 4.2, 4.3, and 4.4.

Figure 12.

Block diagram of a fuzzy self-tuning PID controller.

5. The experimental results

The effectiveness of the proposed hybrid of fuzzy and fuzzy-tune PID controller is evaluated experimentally with the SEHS and is compared with that of the hybrid fuzzy PID controller which uses the nominal values of the gains obtained by experiment. The control algorithms described in section 4.1, 4.2, 4.3, and 4.4 were hybridized and applied to the SEHS using by LabVIEW program as the development platform and shown in Figure 13.

Figure 13.

The control algorithms are developed by LabVIEW program.

The proposed of a hybrid of fuzzy and fuzzy self-tuning PID controller is evaluated experimentally with the motor speed control of SEHS and is compared with that of the conventional of a hybrid of fuzzy and PID controller. For the first experiment to observe the response of the SEHS control output of the both controller, which shown in Figure. 14 and Table 6, respectively. Then, change the parameters of the SEHS, because existing experimental set is difficult to change the load so that this change in pressure of the SEHS instead. The change in pressure will make many values, but the parameters of the both controller still use the original setting from the previous first. Figure 14, Table 6, and Figure 15, Table 7 show examples of the responses of the output of the both controller, which resulted from changing the original value of system pressure are 50 bar and 10 bar pressure. However, all these experiments the value of e0 which is used as a reference in the selection of a controller is set at 0.92 that is the optimum value from experiment.

When the experiment has changed the parameters of the SEHS will find that the hybrid of fuzzy and fuzzy self-tuning PID would lead to a satisfactory response over the hybrid of fuzzy and PID controller. This is because the proposed controller does not require to adjustment the new parameters of PID controller although the parameters of the SEHS will change.

Figure 14.

Comparison of the results of the five controls when the pressure was set at 50 bar

ControllerVelocity
(rpm)
ResultsP.O.=MOFv×100
% Overshoot
Rise time (Tr)(s)Time
delay (Td)(s)
Settling Time
(Ts)(s)
Velocity
(rpm)
Output
Error
PID0 -10099.9320.00300.6750.252.15
Fuzzy0 -10099.9190.00400.3250.250.5
Hybrid Fuzzy PID0 -10099.9520.00200.3250.252.6
Fuzzy Self-tuning PID0 -10099.8600.00600.250.20.525
Hybrid Fuzzy and Fuzzy self-tuning PID0 -10099.5520.02200.3250.20.525

Table 6.

Comparison of the results of the five controls when the pressure was set at 50 bar.

Figure 15.

Comparison of the results of the five controls when the pressure was set at 10 bar

ControllerVelocity
(rpm)
ResultsP.O.=MOFv×100
% Overshoot
Rise time (Tr)(s)Time
delay (Td)(s)
Settling Time
(Ts)(s)
Velocity
(rpm)
Output
Error
PID0 -10099.6970.0152.50.8750.552.45
Fuzzy0 -10099.8740.006010.71.7
Hybrid Fuzzy PID0 -10099.8890.001310.73.05
Fuzzy Self-tuning PID0 -10099.5130.02400.8250.552.6
Hybrid Fuzzy and Fuzzy self-tuning PID0 -10099.8470.007010.41.8

Table 7.

Comparison of the results of the five controls when the pressure was set at 10 bar.

6. Conclusions

The objective of this study, we proposed the hybrid of fuzzy and fuzzy self-tuning PID controller for motor speed control of a SEHS. The proposed control scheme is separated into two parts, fuzzy controller and fuzzy self-tuning PID controller. Fuzzy controller is used to control systems when the output value of system far away from the target value. Fuzzy self-tuning PID controller is applied when the output value is near the desired value. In the terms of adjusting the PID parameters are tuned by using fuzzy tuner as to obtain the optimum value. We demonstrate the performance of control scheme via experiments performed on the motor speed control of the SEHS. The results from the experiments show that the proposed a hybrid of fuzzy and fuzzy self-tuning PID controller has superior performance compared to a hybrid of fuzzy and PID controller. This is because the proposed controller does not require to readjustment the parameters of PID controller although the parameters of the SEHS will change any.

© 2012 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution 3.0 License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

Kwanchai Sinthipsomboon, Issaree Hunsacharoonroj, Josept Khedari, Watcharin Po-ngaen and Pornjit Pratumsuwan (September 27th 2012). A Hybrid of Fuzzy and Fuzzy Self-Tuning PID Controller for Servo Electro-Hydraulic System, Fuzzy Controllers - Recent Advances in Theory and Applications, Sohail Iqbal, Nora Boumella and Juan Carlos Figueroa Garcia, IntechOpen, DOI: 10.5772/48614. Available from:

chapter statistics

4121total chapter downloads

3Crossref citations

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Design and Simulation of Anfis Controller for Virtual-Reality-Built Manipulator

By Yousif I. Al Mashhadany

Related Book

First chapter

New Strategy to Approach the Inverse Kinematics Model for Manipulators with Rotational Joints

By José-Emilio Vargas-Soto, Efren Gorrostieta-Hurtado, Saúl Tovar- Arriaga, Jesús-Carlos Pedraza-Ortega and Juan-Manuel Ramos- Arreguín

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us