# Position Control of Electro-hydraulic Actuator System Using Fuzzy Logic Controller Optimized by Particle Swarm Optimization

- 2.7k Downloads
- 16 Citations

## Abstract

The position control system of an electro-hydraulic actuator system (EHAS) is investigated in this paper. The EHAS is developed by taking into consideration the nonlinearities of the system: the friction and the internal leakage. A variable load that simulates a realistic load in robotic excavator is taken as the trajectory reference. A method of control strategy that is implemented by employing a fuzzy logic controller (FLC) whose parameters are optimized using particle swarm optimization (PSO) is proposed. The scaling factors of the fuzzy inference system are tuned to obtain the optimal values which yield the best system performance. The simulation results show that the FLC is able to track the trajectory reference accurately for a range of values of orifice opening. Beyond that range, the orifice opening may introduce chattering, which the FLC alone is not sufficient to overcome. The PSO optimized FLC can reduce the chattering significantly. This result justifies the implementation of the proposed method in position control of EHAS.

## Key Words

Position control electro-hydraulic actuator fuzzy logic controller particle swarm optimization (PSO) nonlinear## 1 Introduction

Position control applications in most equipment that are implemented using servo mechanism need a robust control scheme with tracking accuracy. This requires good positioning and smooth response of the actuation system. Due to their capability, electro-hydraulic actuators have been used in these servo systems for the last few years. Its robustness and accuracy of position tracking contribute significantly to the applications and equipment such as robotics, mining, and aircraft.

The constraints appearing in the applications of the hydraulic control system are the internal and external disturbances that yield the nonlinearities and uncertainties. Such characteristics emerge on the system and degrade its performance significantly. These disturbances have adverse impact on the robustness and accuracy of position tracking of the system. Such nonlinearities and uncertainties in the hydraulic actuation system are caused by the presence of friction and internal leakage of the system.

The performance of electro-hydraulic actuator system (EHAS) in position control requires an accurate electro-hydraulic actuator which is determined by its position tracking performance and robustness of the controller. Therefore, the development of such system which guarantees the tracking accuracy and robustness is significant.

Nonlinearities and uncertainties in EHAS arise from the friction and internal fluid leakage in the system. A large number of studies have been conducted to overcome these problems, in which friction has received more attention. Despite the less number of studies on the leakage, it cannot be neglected in practices. Both friction and leakage effects introduce chattering which degrades the performance of the system in terms of tracking performance and robustness.

A number of studies have been conducted to minimize the impact of friction and internal leakage. Issues related to the control of the electro-hydraulic actuators was addressed[1], in which a nonlinear model of hydraulic cylinder controlled by servo valves was developed. Specifically, a linearized model of a hydraulic servo system was used to develop a proportional, integral and derivative (PID) controller. It also utilized the design of feedback linearization controller to overcome some limitations of the linear controllers. This led to the improved performance of feedback linearization control compared to the PID control. A similar study proposing a technique that combined the features of sliding mode control and fuzzy control was reported[2]. However, the systems developed in both of these studies still suffered from chattering. The fuzzy logic was only employed to accelerate the phase change and attenuate the chattering introduced by the sliding mode control method. In addition, the study did not take into account the internal fluid leakage in the hydraulic system.

In [3], a technique was proposed for the control of excavator dynamics and its hydraulic actuators when executing robotic excavation tasks involving soil contact operations. The results obtained suggested that the proposed control technique can provide robust performance when employed in the automated excavation with soil contact. However, the robustness of this system to the chattering in the hydraulic actuator was not addressed in this study. The fuzzy tuning approach implemented for the control of the ram force and the cylinder position did not specify the friction and internal leakage of the excavator hydraulic actuator system, either.

A self-tuning fuzzy PID controller, developed to improve the performance of the electro-hydraulic actuator[4], was based on the mathematical model of the system. This method used a system identification technique and fuzzy logic to tune each parameter of the PID controller. However, this study did not consider the load of the hydraulic system, the friction in the hydraulic cylinder and the leakage in the hydraulic actuator system. Another study which described an application of a fuzzy logic position control to an electro-hydraulic servo system[5] included a mathematical model of that system which considered its internal leakage. However, this work did not take into account the load of the electro-hydraulic system.

An adaptive control scheme was reported in [6] to overcome system uncertainty. This approach used the error equations for velocity, acceleration and jerk, which were generated in the design procedure of the standard back-stepping control scheme. However, a major issue concerning the load of the actuator system was not addressed.

In [7], a fuzzy plus proportional integral (PI) controller, which combined fuzzy logic and conventional PI control was developed with a fuzzy rule based on the soft-switch method. This study did not address specific nonlinearity and uncertainty parameters in the electro-hydraulic system. Furthermore, the switching mechanism used was not tested using these parameters to verify its robustness and smooth switching.

In another study, retrofitted electro-hydraulic pilot proportional relief valves were developed to effect an excavator automatization[8]. This study also developed a model of excavator motion control. The system was used to handle the nonlinearity, parameter uncertainties and external disturbances. However, questions were raised over the system's robustness, because the study did not specify the nonlin-earities and parameter uncertainties that emerged in the system.

A sliding mode control (SMC) with fixed and varying boundary layers was proposed[9]. The controller scheme was employed to control the position tracking performance of an electro-hydraulic actuator system. It was aimed to compensate for nonlinearities and uncertainties caused by the presence of friction and internal leakage, and this study also considered a fixed load for the system. However, the chattering in the SMC's control signals, due to the discontinuous term in its control law, was not overcome.

An available nonlinear observer for Coulomb friction was modified to simultaneously estimate friction, velocity, and acceleration. This scheme was investigated in [10]. An observer-based friction compensating control strategy was developed to improve tracking performance of the manipulator. This study did not take into consideration the leakage that emerged in the electro-hydraulic system.

In this paper, a method to control the position of electro-hydraulic servo system is proposed. The objective of this study is to develop a method of position control of the EHAS using an intelligent controller. The controller is robust to the nonlinearities and uncertainties that emerge in the system. The position tracking should be able to find the optimum parameters of the controller so that the error in position and chattering are minimized. The development of that method includes several steps. First, a fuzzy logic controller (FLC) is designed as the controller of the nonlinear model of electro-hydraulic system. The model takes into consideration the friction and internal leakage. Then, the unoptimized FLC is employed and the system response is observed with computer simulation. Next, parameters of the FLC are optimized by the particle swarm optimization (PSO) algorithm. The optimized parameters are the scaling factors of the fuzzy inference system. When the optimized parameters are obtained, the performance and robustness of the unoptimized and optimized FLC is compared. The optimization is confirmed through computer simulation.

Despite the wide range of applications of EHAS in industries, aircraft, robotics and machinery, it will be investigated by taking into consideration the use of EHAS in excavators in this paper.

The paper is organized as follows. Section 2 describes the mathematical models to develop the electro-hydraulic servo system with the complete Simulink model presented at the end of this section. The FLC design is explained in Section 3. Then, we explain the PSO in Section 4. The testing and simulations of the position control of the electro-hydraulic actuator system are presented in Section 5 followed by the results and discussion in Section 6. We then conclude our study in Section 7.

## 2 Electro-hydraulic actuator system

### 2.1 Hydraulic dynamics and force balance model

The electro-hydraulic actuator system modelled in this study consists of two main parts: the valve and the cylinder. The cylinder is modelled as a double acting single rod or single ended piston, with a single load attached at the end of the piston. The cylinder is depicted in Fig. 1[11].

In Fig. 1, *X* _{ p } is the cylinder position, *F* denotes the applied load to the cylinder, *Q* _{1} and *Q* _{2} are the fluid flow to and from the cylinder, respectively. *P* _{1} is the fluid pressure within side 1 and *P* _{2} is the fluid pressure within side 2. The pressurized areas on side 1 and side 2 are *A* _{1} and *A* _{2}, respectively. The cylinder will retract or extend when a pressure difference between *P* _{1} and *P* _{2} occurs.

*X*

_{ p }is the piston position,

*V*

_{ p }is the piston velocity,

*a*

_{ p }is the piston acceleration, and

*m*is the piston and load mass. There are two forces in (2) that influence the system: the hydraulic actuating force

*F*

_{ a }and the friction force

*F*

_{ f }which are functions of nonlinearities that will significantly influence the system. The parameters that affect

*F*

_{ a }are the control input voltage, environment load, cylinder pressure, friction force and leakage. Hence, it can be represented by

*A*

_{ p }is the cross section of the hydraulic cylinder, and

*P*

_{ l }is the cylinder differential pressure written as

Equality (4) represents the dynamics of the system.

*P*

_{ l }to be the pressure across the actuator piston, the derivative of the load pressure is given by the total load flow through the actuator divided by the fluid capacitance as

*V*

_{ t }is the total actuator volume of both cylinder sides,

*β*

_{ e }is the bulk modulus of hydraulic oil,

*C*

_{ t }is the total leakage coefficient, and

*Q*

_{ l }is the load flow. By using (6), the flow equality of the servo valve is given in (7), which expresses the relationship between spool valve displacement

*X*

_{ v }and the load flow

*Q*

_{ l }.

*C*

_{ d }is discharge coefficient,

*W*is the spool valve area gradient,

*P*

_{ s }is the supply pressure, and

*ρ*is the oil density. Substituting (7) into (6), one can find the hydraulics dynamics of the cylinder pressure as

*X*

_{ v }is controlled by the control signal generated by the FLC

*u*. The corresponding relation can be simplified to

*k*

_{ v }is the servo valve gain,

*τ*

_{ v }is the time constant,

*ω*

_{ v }is the natural frequency, and

*DR*

_{ V }is the damping ratio of servo valve. Based on (1)-(10), if the state variables are determined as

### 2.2 Friction model

Friction is an important aspect of many control systems both for high quality servo mechanisms and simple pneumatic and hydraulic systems. Friction can lead to tracking errors, limit cycles, and undesired stick-slip motion[12]. Friction is the tangential reaction force between two surfaces in contact. Physically, these reaction forces are the results of many different mechanisms, which depend on contact geometry and topology, properties of the bulk and surface materials of the bodies, displacement and relative velocity of the bodies, and presence of lubrication[6].

The commonly used model for friction is usually depicted by the discontinuous static mapping between velocity and friction force. This needs to consider the Coulomb and viscous friction that depends on the velocity sign. The static model, however, does not take into consideration the dynamics behavior of the friction force, such as stick-slip motion, re-sliding displacement and friction lag. These characteristics are properties of friction in nature. Therefore, friction does not have instantaneous response to the velocity change.

In order to model the static and dynamic behavior of friction force, LuGre model[13] is used in the design of friction in this study. It accommodates both the static and dynamic characteristics of the friction force. Fig. 2 shows the characteristic of friction-velocity of this model. The friction characteristics are generated during two cycles of oscillation. The oscillation results in a narrow hysteretic effect around the zero relative velocity in the graph (presliding motion area)[14].

*z*is the average deflections of the bristle between each pair of the contact surfaces described by the friction internal state,

*v*

_{ p }is the relative velocity between two surfaces

*σ*

_{0},

*σ*

_{1}, and

*σ*

_{2}are the stiffness of the bristle between two contact surfaces, the bristles damping coefficient, and the viscous friction coefficient, respectively. The nonlinear property of friction is described by

*g*(

*v*

_{ p }) in (18), which can be parameterized to characterize the Stribeck effect.

*F*

_{ c },

*F*

_{ s }and

*v*

_{ s }are the Coulomb friction, viscous friction and stribeck velocity, respectively.

### 2.3 Internal leakage model

At small servo valve spool displacements, the leakage flow between the valve spool and body dominates the orifice flow through the valve[15]. In precision positioning applications, where the servo valve operates within the null region, this flow, if ignored, may severely degrade the performance of a conventional servo hydraulic design.

In this study, an accurate model of leakage flow[15] that takes into consideration the leakage flow and orifice flow is applied. By making smooth transition between them would likely improve the precision of the servo hydraulic system design and performance. The model used is a nonlinear servo valve model that accurately captures the servo valve leakage behavior over the whole range of spool movement. The leakage behavior is modeled as turbulent flow with a flow area inversely proportional to the overlap between the spool areas and the servo valve orifices.

A servo valve configuration depicted in Fig. 3 consists of two control ports with variable orifices which regulate the flow rates. The flow rates through the control ports of the servo valve are expressed in (19), and the flow rate at the supply and return ports are represented in (20).

*X*

_{0}is the leakage flow rate at null (

*X*

_{ v }= 0).

*X*

_{0}is equivalent to a spool displacement that would result in the same amount of flow in a nonleaking servo valve as the leakage flow rate in a leaking servo valve with a centered spool. Since the leakage resistance increases at larger valve openings, the leakage flow rate is inversely proportional to the spool displacement[15].

*Q*

_{ S }represents the internal leakage flow since the control ports are blocked for an internal leakage test[5]. The internal leakage flow can be expressed by

Having discussed the electro-hydraulic actuator model, the friction model, and the internal leakage model, we then integrate them into an integrated model. The friction model is integrated by supplying the output of (16)–(18) into the model. The internal leakage model in (23)–(27) are integrated into (6)–(7) to determine the total supply flow into side 1 of the cylinder.

The parameters and values of the system are listed in Table l. The servo valve and hydraulic cylinder parameters are obtained from the physical system in [9]. The compatibility of these subsystems has been verified in simulations as well as experimental tests in that study.

Parameters of the hydraulic system[4]

Cylinder | ||
---|---|---|

| Supply pressure (Pa) | 0.7 × 10 |

| Return pressure (Pa) | 0 |

| Total actuator volume (m | 0.89 × 10 |

| Actuator ram area (m | 2.97 × 10 |

| Total stroke of piston (m) | 0.3 |

| Total mass of piston and load (kg) | 18 |

| Effective bulk modulus (Pa) | 1× 10 |

| Fluid mass density (kg/m | 850 |

Servo valve | ||

| Discharge coefficient | 0.6 |

| Total leakage coefficient | 2 x 10 |

| Spool valve area gradient (m | 0.02 |

| Servo valve spool position gain (m/V) | 1.27 x 10 |

Leakage parameter | ||

| Equivalent orifice opening (m) | 8 x 10 |

235x10 | ||

| Leakage coefficient | 0.3 |

| Flow gain | 1.42 × 10 |

Friction parameter | ||

| Static friction (N) | 300 |

| Coulomb friction (N) | 230 |

| Bristles stiffness coefficient (N/m) | 14 × 10 |

| Bristles damping coefficient (Ns/m) | 340 |

| Viscous friction (Ns/m) | 70 |

| Stribeck velocity (m/s) | 0.05 |

The Simulink block diagram of the electro-hydraulic servo system with friction and internal leakage modeled from (1)–(28) is shown in Fig. 4. The next section will discuss the FLC used to control the position of electro-hydraulic system (EHS) model that contains friction and internal leakage.

## 3 Fuzzy logic controller

### 3.1 Fuzzy inference system

The control strategy of the EHAS needs to be able to overcome the nonlinearities and uncertainties emerging from the system. A controller with robust tracking performance is obviously significant. A fuzzy logic controller is designed to fulfil the need for such a controller.

Fuzzy control can provide a formal methodology for representing, manipulating, and implementing a human*s* heuristic knowledge about how to control a system[9]. The fuzzy logic controller block diagram is given in Fig. 5.

The fuzzy controller has four main components: 1) The “rule-base” holds the knowledge in the form of a set of rules of how to control the system best. 2) The inference mechanism evaluates which control rules are relevant at the current time and then decides what the input to the plant should be. 3) The fuzzification interface simply modifies the inputs so that they can be interpreted and compared to the rules in the rule-base. 4) The defuzzification interface converts the conclusions reached by the inference mechanism into the inputs to the plant[16].

### 3.2 Universe of discourse and membership functions

The universe of discourse in the fuzzy membership function designed for the error, change of error and the output is normalized with [−1,1]. The linguistic values of the error and change of error are designed with 7 linguistic terms for each input: negative big (NB), negative medium (NM), negative small (NS), zero (Z), positive small (PS), positive medium (PM), and positive big (PB). The same linguistic terms are used for the output. Each linguistic value is assigned a triangular membership function. The membership functions of inputs and output are shown in Figs. 6–8.

### 3.3 Rules

Using the 7 linguistic values for each input and 7 values for the output, the FLC is designed with 49 rules in this study. These rules were selected using the trial and error method. The rule base is presented in Table 2.

Rule base of the FLC

E ΔE | PB | PM | PS | Z | NS | NM | NB |
---|---|---|---|---|---|---|---|

PB | PB | PB | PM | PM | PS | PS | Z |

PM | PB | PM | PM | PS | PS | Z | NS |

PS | PM | PM | PS | PS | PZ | NS | NS |

Z | PM | PS | PS | Z | NS | NS | NM |

NS | PS | PS | Z | NS | NS | NM | NB |

NM | PS | Z | NS | NS | NM | NB | NB |

NB | Z | NS | NS | NM | NB | NB | NB |

### 3.4 PI-like FLC

*K*

_{ p }and

*K*

_{ i }are the proportional and the integral gain coefficients, respectively,

*u*

_{0}is the output of the controller in the previous sampling time and

*K*

_{ u }is the output scaling factor. A block diagram for a PI like fuzzy logic control system is depicted in Fig. 9[17].

Based on Fig. 9, it is clear that the FLC has two input variables: error and change of error. The output variable of the controller is the control signal to control the plant. Thus, the FLC is a two-inputs and one-output system.

After the design of FLC, it is connected with the plant which is the integrated model of the electro-hydraulic system to be controlled. This forms a closed loop system with the FLC as the controller, and the output of the plant is observed as the feedback to control system. The system output is denoted by *y*(*t*), its inputs are denoted by *u*(*t*), and the reference input to the fuzzy logic controller is denoted by *r*(*t*) as shown in Fig. 10. The Simulink block diagram of the closed loop system is depicted in Fig. 11.

### 3.5 FLC tuning

The rest of the process will be the simulation of the whole system and the tuning of the FLC. The objective is to obtain the best system performance. This can be accomplished by tuning the values of scaling factors: *K* _{ p }, *K* _{ i } and *K* _{ u } that can result in the minimum oscillation, overshoot and error in position.

Tuning of FLC parameters using the trial and error method does not always give the optimum results. In addition, it is a time consuming process. Therefore, an intelligent optimization technique to optimize the FLC parameters is obviously necessary. The next section discusses the particle swarm optimization.

## 4 Particle swarm optimization

In 1995, Kennedy and Eberhart introduced particle swarm optimization as an evolutionary algorithm. PSO was inspired by swarming behaviors observed in flocks of birds, schools of fish, or swarms of bees. PSO is a population-based optimization tool, which could be implemented and applied to solve various function optimization problems, or the problems that can be transformed to function optimization problems. This method was developed through simulation of a simplified social system, and has been found to be robust in solving continuous nonlinear optimization problems[18].

*g** and its own best location

*x**in history, and at the same time, it has tendency to move randomly. When a particle finds a location that is better than previously found locations, then it updates the location as the new current best location for particle

*i.*There is a current best location for all

*n*particles at any time

*t*during iterations. The aim is to find the global best solution among all the current best solutions until the objective no longer improves or after a certain number of iterations. The essential steps of the PSO can be summarized as the pseudo code[13]:

Particle swarm optimization

Objective function

f(x),x= (x_{1},⋯,x_{ p })^{1}Initialize locations

x_{ i }and velocitiesv_{ i }ofnparticlesFind

g* from min {f(x_{1}),⋯,f(x_{ n })}(att= 0)While (criterion)

T = t+ 1 (pseudo time or iteration counter)For loop over all

nparticles and allddimensionsGenerate new velocity \(v_i^{t + 1}\) using (30)

Evaluate objective functions at new locations \(x_i^{t + 1}\)

Find the current best location for each particle \(x_i^{*}\) End for

Find the current global best

g*End while

Output the final results

x*andg*

*x*

_{ i }and

*v*

_{ i }are the position vector and velocity for particle

*i,*the new vector is determined by

_{1}and

*β*

_{2}are two random vectors, and each entry takes the value between 0 and 1. Parameters α and

*β*are the learning parameters or acceleration constants, which can be typically taken as 2[19].

### 4.1 Accelerated PSO

The accelerated PSO based on [19] is employed in this study. The standard PSO uses both the current global best *g** and the individual best \(x_i^{*}\). The reason of using the individual best particle is primarily to increase the diversity in the quality solutions. However, this diversity can be simulated using some randomness. Subsequently, there is no compelling reason for using the individual best particle, unless the optimization problem of interest is highly nonlinear and multimodal[19].

*E*

*E*is a random variable with values ranging from 0 to 1. We can also use a standard normal distribution

*αE*

_{ n }, where

*E*

_{ n }is drawn from

*N*(0,1) to replace the second term. The update of the position is

This simpler version will give the same order of convergence. The typical values for this accelerated PSO are *α* ≈ 0.1 ∼ 0.7, though *α* ≈ 0.2 and *β* ≈ 0.5 can be taken as the initial values for most unimodal objective functions. It is worth pointing out that parameters *α* and *β* should be related to the scales of the independent variables *x* _{ i } and the search domain in general.

*α*≈ 0.5 ∼ 1 is the initial value of the randomness parameter. Here,

*t*is the number of iterations or time steps, 0

*< γ <*1 is a control parameter, where

*t*∈ [0,10]. Obviously, these parameters are fine-tuned to suit the current optimization problem.

### 4.2 PSO implementation

The parameters used in the PSO are as follows:

Number of particles: 25,

Dimension of the problem: 3,

Number of maximum iterations: 500,

Speed of convergence (*β* = acceleration coefficient determining the scale of the forces in the direction of *p* _{ i }): 0.5,

Randomness amplitude of roaming particles (*α* = acceleration coefficient determining the scale of the forces in the direction of *g* _{ i }): 0.2,

*γ* = 0.95.

*K*

_{ i },

*K*

_{ p },

*K*

_{ u }. These factors are optimized at the same time. The function of these parameters in the FLC is shown as

The fitness function considered is based on the error criterion. The performance of a controller is evaluated in terms of error criterion. Fig. 12 shows the closed loop system of the integrated EHAS controlled by PSO optimized FLC.

## 5 Tests and simulations

The simulation tests are conducted to evaluate the performance of the closed loop system under the prescribed environments. The tests are conducted using variable load with 500N maximum value of the load, friction parameters specified in Table 1, and the values of orifice opening which represent internal leakage. The variable load is depicted in Fig. 13.

Tests and simulations are conducted to assess the system performance with respect to the type of reference signals and orifice openings. These consist of two steps:

- 1)
The first test is undertaken to investigate the system performance to respond to different reference signals in the presence of friction and internal leakage. It is conducted by applying two different reference signals and comparing performance of the FLC with the conventional PID controller. The FLC performance is investigated in both unoptimized and optimized conditions. The first reference is a signal which simulates the EHAS trajectory in excavator, while the second one is the sinusoidal signal. The variable load is used for simulated reference signal for both controllers, while the friction and internal leakage are used in the tests for both reference signals and controllers. The orifice opening to represent the internal leakage is 8 x 10

^{−5}m to coincide with [9]. The friction parameters and values applied to the tests are listed in Table 1. - 2)
The second test is conducted to investigate the system response to different orifice openings which represent internal leakage. A low level opening of 8 x10

^{ -5}m is used in Test 1. The opening is then increased until chattering occurs, while the proposed controller is in place. This opening is then used as the high level of the opening. Then, the system response to low level opening in Test 1 is compared to the response to high level one in this test. Both reference signals are used in these tests to compare the FLC performance to the PID controllers, where the FLC is tested both in unoptimized and optimized settings.

In both tests, ITAE is used as the index of the tracking performance.

## 6 System stability

The stability analysis methods enable the design of fuzzy logic control system, while providing conditions that permit parameter setting for FLCs. In principle, for the stability analysis of fuzzy logic control systems controlling nonlinear processes, we use method suitable for the analysis of the nonlinear dynamical system[20]. Which method is the best one to use depends only on the prerequisites, which are the structure of the system, the type of information describing the process, and the type of sufficient conditions for the stability. There are a number of studies in stability analysis of fuzzy logic control systems with Mamdani type FLCs. They include the Lyapunovs[21] and Krasovskiis[22] approaches, the describing function method[20], the algebraic approaches[23], or the use of Mamdani fuzzy dynamic models[24].

The new stability analysis approach proposed in [25] is employed as the foundation in this study. In several essential aspects, it is different from the application of Lyapunov's theorem[20,26], and it allows more applications. Specifically, it is suitable to control the processes where the derivative of the Lyapunov function candidate is not negative definite. Therefore, applying LaSalle's invariance principle to the nonlinear processes controlled by Mamdani type FLCs can be applicable to a wide area of nonlinear dynamic systems. Another important difference is that the stability of the closed-loop system is guaranteed by the stability of each fuzzy subsystem.

*n*order nonlinear system

*x*is the state vector,

*f*(

*x*) and

*b*(

*x*) are the dynamics describing dynamics of the plant, and

*u*is the control input of the plant, whose value is determined by an FLC with inputs depending on

*x*. It has been proved in [27] that if every rule of the FLC applying to the plant individually gives a stable subsystem in the sense of Lyapunov (ISL) in the active region of the fuzzy rule subject to a common Lyapunov function, the whole fuzzy logic control system is stable in the sense of Lyapunov.

*X*∈

**R**^{ n }be a universe of discourse. The following class of single input nonlinear dynamical systems modeled by the state-space equations is accepted.

*x∈X,x=*[

*x*

_{1}

*x*

_{2}

*⋯ x*

_{ n }]

^{ T }is the state vector, and

*x*with respect to the time variable

*t*,

*u*is the control signal fed to the process, obtained by the centre of gravity (COG) defuzzification method for Mamdani type fuzzy logic.

In [25], it was proved that if each subsystem is stable in the sense of Lyapunov. Under a common Lyapunov function, the overall system will be also stable in the sense of Lyapunov. In these conditions, it is guaranteed that the equilibrium point at the origin is globally asymptotically stable. Theorem 1 in [25] states that if *P* is a positive definite matrix and

- 1)
*V*(*x*) =*x*^{ T }*Px*→∼ as*||x||*→∼,*V*(0) = 0. - 2)
*V*(*x*) ⩽ 0,∀*x*∈*X*for all fuzzy subsystems. - 3)
The set {

*x ∈ X*|\(\dot V\)(*X*) = 0} contains no trajectory of the system except the trivial trajectory*x*(*t*) = 0 for*t*⩾ 0, then, a fuzzy logic controller with the AND-SUM-COG is globally asymptotically stable at the origin.

The fuzzy logic controller defined in Section 3 with AND-SUM-COG can fulfill the one defined in [25, 27]. According to Theorem 1 in [25] and Lemma 3.1 in [27], the closed loop system in Fig. 10 is then simulated to analyse the response. The simulation result is depicted in Fig. 14. The result shows that input, output and the control signal converge for *t ⩾* 0. This indicates that the fuzzy logic control system is globally asymptotically stable.

## 7 Results and discussion

By applying simulated reference input with 8 × 10^{−5} m orifice opening, Figs. 15 and 16 show the responses of the systems using the unoptimized FLC and PID controllers, respectively. It can be observed that the FLC is able to track the reference accurately without overshoot, chattering and steady state error, so that it does not need to be optimized. The ITAE of this test is 0.0089. The PID controller tracks the reference with a delay time up to 2 s, overshoot of 5% and ITAE of 0.4904. It can also be assessed, that the ITAE for PID is higher than the one for FLC with significant difference. This indicates that the performance of FLC is better than that of the PID in this test.

Using the same orifice opening and friction parameters, both of the controllers are tested with sinusoidal signal reference. Position response of the system for unoptimized FLC and PID controllers are shown in Figs.17 and 18, respectively. It can be seen from Fig. 17 that the unoptimized FLC performs satisfactorily to track the reference without errors, delay and chattering. The ITAE of this test is 0.0164. Fig. 18 shows that although the PID controller is able to track the position reference, it still introduces delay between 0 s and 2 s, where the ITAE of this test is 0.8114.

The second test is conducted for both FLC and PID controllers by increasing orifice opening until the first observable chattering occurs. For simulated reference, the first observable chattering is noticed at 235 x 10^{−5} m orifice opening. Figs. 19 and 20 show the responses of the systems using unoptimized FLC and optimized FLC.

It can be seen from Fig. 19 that the 235 x10^{−5} orifice opening introduces deflection and chattering in the system response. The deflection starts from 8s when the variable load reaches its maximum value until the chattering occurs from 12.5 s to 18 s of the simulation time. After that, the system output is able to track the trajectory reference without error. This indicates that the FLC is not able to handle the nonlinearities in the system introduced by the orifice opening in particular section of the trajectory anymore. The ITAE obtained from this test is 0.8251.

The next test is undertaken by employing PSO to optimize the FLC parameters, by using the same trajectory reference, variable load, friction parameters, and orifice opening. The converged result of the optimized parameters are obtained: *K* _{ p } = 200.4922, *K* _{ i } = 4.278447, and *K* _{ u } = 17.44137. The result in Fig. 20 shows that the PSO optimized FLC reduces the chattering so that it occurs from 14 s to 15.2 s. It is also observed that there is no delay, or overshoot or tracking errors in the system response, where the ITAE of this test is 0.5704.

For PID controller, it is observed in Fig. 21 that it contributes oscillation from 4 s to 11.5 s and 12 s to 18 s. The ITAE of this test is 0.8716.

For sinusoidal reference, the first observable chattering occurs at 43 x 10^{−5} orifice opening. Position response of the system is depicted in Fig. 22 for unoptimized FLC.

It is observed from Fig. 22 that the unoptimized FLC is able to track the reference input, while chattering occurs from 23.5 s to 28 s with ITAE = 0.5016. Then, using the optimized FLC parameters, the system response is presented in Fig. 23. The result shows that the optimized FLC by PSO reduces the chattering so that it now occurs from 23.5 s to 25 s. It can also be seen that there is no delay or tracking error in the system response where the ITAE is 0.3374.

For PID controller, the result is depicted in Fig. 24. It shows that there is a delay of 2.5 s, and errors in tracking occur between 6s to 17.5s and 24s to 36s. The ITAE obtained is 2.2378. Figs. 25 and 26 show the close views to highlight the tracking errors.

Based on the preceding results, it is obvious that in the first test, the unoptimized FLC is able to track both types of reference trajectories in the presence of friction and internal leakage with good performance. Although the PID controller can track both of the reference trajectories, it introduces delay time and overshoot. For both reference trajectories, the ITAEs of the unoptimized FLC are lower than the ITAE of PID controller, which means that the FLC performs better than the PID controller for both trajectories.

In the second test, the unoptimized FLC is not able to handle the orifice opening of 235 x 10^{−5} m, where the first observable chattering occurs. When the PSO is employed to optimize the FLC, it is able to reduce the chattering significantly in the presence of friction and internal leakage. The system response using PID controller shows that the increased orifice opening contributes the delay and tracking errors. The ITAE of the optimized FLC is lower than that of the unoptimized FLC, which indicates the effectiveness of the PSO to optimize the parameters of FLC. The ITAE of PID controller is higher than that of both the unoptimized and optimized FLCs. This indicates that both the unoptimized and optimized FLCs outperform the PID controller.

These results show that the increased orifice opening introduces chattering in the system, where the FLC can handle until particular value of opening. Beyond that value, the FLC needs to be optimized by the PSO. This also indicates that for a particular range of internal leakage value, the FLC alone is not sufficient to control the system where the nonlinearities and uncertainties emerge.

These results also show the effectiveness of the PSO to optimize the FLC parameters in order to reduce the chattering introduced by the nonlinearities in the EHAS. These demonstrate that PSO has been successfully implemented to optimize the FLC parameters in the EHAS. It has shown a good performance to handle the friction and internal leakage in the system.

Compared with the PID controller, the proposed controller shows better performance in handling the nonlinearities and uncertainties of the system.

All the results also show that the position responses converge to a steady state value. This results and the discussion in Section 6 indicate that the closed loop control system is stable.

This justifies the ability of the proposed method to improve the tracking performance and robustness to the nonlinearities and uncertainties in the electro-hydraulic actuator system.

## 8 Conclusions

The position control of electro-hydraulic actuator using the proposed method has been presented in this paper. With the friction and internal leakage integrated in the system, the FLC is able to overcome the nonlinearities and uncertainties in the system. For low level values of orifice opening, FLC performs satisfactorily without being optimized by PSO. It outperforms the PID controller to track the reference without delay and overshoot for both types of reference trajectories.

When larger values of orifice opening are applied, starting from a particular value, the system responses using FLC introduce chattering for both types of reference trajectories. The proposed method shows that it can be reduced significantly by using FLC whose parameters are optimized by PSO. This method also shows that it does not introduce any delay and tracking error compared to the system responses using PID controller which suffers from the errors and delay when larger orifice openings are applied for both types of reference trajectories.

This work justifies that the PSO optimized FLC has been successfully implemented on the position control of EHAS. The proposed controller offers the guaranteed robustness and tracking accuracy of position control in the EHAS applications.

## References

- [1]N. H. Quang. Robust Low Level Control of Robotic Excavation, Ph. D. dissertation, University of Sydney, Australia, 2000.Google Scholar
- [2]Q. P. Ha, Q. H. Nguyen, D. C. Rye, H. F. Durrant-Whyte. Fuzzy sliding-mode controllers with applications.
*IEEE Transactions on Industrial Electronics*, vol. 48, no. 1, pp. 38–46, 2001.CrossRefGoogle Scholar - [3]Q. P. Ha, Q. H. Nguyen, D. C. Rye, H. F. Durrant-Whyte. Impedance control of a hydraulically actuated robotic excavator.
*Automation in Construction*, vol. 9, no. 5-6, pp. 421–435, 2000.CrossRefGoogle Scholar - [4]Zulfatman, M. F. Rahmat. Application of self-tuning fuzzy PID controller on industrial hydraulic actuator using system identification approach.
*International Journal on Smart Sensing and Intelligent Systems*, vol. 2, no. 2, pp. 246–261, 2009.Google Scholar - [5]M. Kalyoncu, M. Haydim. Mathematical modelling and fuzzy logic based position control of an electrohydraulic ser-vosystem with internal leakage.
*Mechatronics*, vol. 19, no. 6, pp. 847–858, 2009.CrossRefGoogle Scholar - [6]M. M. Lee, H. M. Kim, S. H. Park, J. S. Kim. A position control of electro-hydraulic actuator systems using the adaptive control scheme. In
*Proceedings of the 7th Asian Control Conference*, IEEE, Hong Kong, China, pp.21–26, 2009.Google Scholar - [7]B. Li, J. Yan, G. Guo, Y. H. Zeng, W. X. Luo. High performance control of hydraulic excavator based on fuzzy-PI soft-switch controller. In
*Proceedings of the IEEE International Conference on Computer Science and Automation Engineering*, IEEE, Shanghai, China, pp. 676–679, 2011.Google Scholar - [8]J. Yan, B. Li, Q. Z. Tu, G. Guo, Y. H. Zeng. Automatization of excavator and study of its autocontrol. In
*Proceedings of the 3rd International Conference on Measuring Technology and Mechatronics Automation*, IEEE, Shanghai, China, pp. 604–609, 2011.Google Scholar - [9]M. F. Rahmat, Zulfatman, A. R. Husain, K. Ishaque, Y. M. Sam, R. Ghazali, S. Md Rozali. Modeling and controller design of an industrial hydraulic actuator system in the presence of friction and internal leakage.
*International Journal of Physical Sciences*, vol. 6, no. 4, pp. 3502–3517, 2011.Google Scholar - [10]S. Tafazoli, C. W. De Silva, P. D. Lawrence. Tracking control of an electrohydraulic manipulator in the presence of friction.
*IEEE Transactions on Control Systems Technology*, vol. 6, no. 3, pp. 401–411, 1998.CrossRefGoogle Scholar - [11]N. D. Manring.
*Hydraulic Control Systems*, New Jersey: John Wiley & Sons, 2005.Google Scholar - [12]H. Olsson, K. J. AAstrm, C. Canudas de Wit, M. Gäfvert, P. Lischinsky. Friction models and friction compensation.
*European Journal of Control*, vol. 4, no. 3, pp. 176–195, 1998.CrossRefzbMATHGoogle Scholar - [13]C. Canudas de Wit, H. Olsson, K. J. Astrom, P. Lischinsky. A new model for control of systems with friction.
*IEEE Transactions on Automatic Control*, vol. 40, no.3, pp. 419–425, 1995.CrossRefzbMATHMathSciNetGoogle Scholar - [14]J. Wojewoda, A. Stefan´ski, M. Wiercigroch, T. Kapitaniak. Hysteretic effects of dry friction: modelling and experimental studies.
*Philosophical Transactions of the Royal Society*, vol. 366, no. 1866, pp. 747–765, 2008.CrossRefzbMATHMathSciNetGoogle Scholar - [15]B. Eryilmaz, B. H. Wilson. Combining leakage and orifice flows in a hydraulic servovalve model.
*Journal of Dynamic Systems, Measurement, and Control*, vol.122, no. 3, pp. 576–579, 2000.CrossRefGoogle Scholar - [16]K. M. Passino, S. Yurkovich.
*Fuzzy Control*, Menlo Park, CA: Addison Wesley Longman, 1998.Google Scholar - [17]L. Reznik.
*Fuzzy Controllers*, Oxford, Boston: Newnes, 1997.Google Scholar - [18]Y. Shi, R. Eberhart. A modified particle swarm optimizer. In
*Proceedings of the IEEE International Conference on Evolutionary Computation*, IEEE, Piscataway, NJ, USA, pp. 69–73, 1998.Google Scholar - [19]X. S. Yang,
*Nature-inspired Metaheuristic Algorithms*, 2nd ed., United Kingdom: Luniver Press, 2010.Google Scholar - [20]K. Michels, F. Klawonn, R. Kruse, A. Nrnberger.
*Fuzzy Control: Fundamentals, Stability and Design of Fuzzy Controllers*, New York: Springer-Verlag, 2006.Google Scholar - [21]M. Sugeno, T. Taniguchi. On improvement of stability conditions for continuous Mamdani-like fuzzy systems.
*IEEE Transactions on Systems, Man, and Cybernetics, Part B: Cybernetics*, vol. 34, no. 1, pp. 120–131, 2004.CrossRefGoogle Scholar - [22]E. G. Tian, C. Peng. Delay-dependent stability analysis and synthesis of uncertain T-S fuzzy systems with time-varying delay.
*Fuzzy Sets and Systems*, vol. 157, no. 4, pp. 544–559, 2006.CrossRefzbMATHMathSciNetGoogle Scholar - [23]J. M. Andújar, J. M. Bravo, A. Peregrín. Stability analysis and synthesis of multivariable fuzzy systems using interval arithmetic.
*Fuzzy Sets and Systems*, vol. 148, no. 3, pp. 337–353, 2004.CrossRefzbMATHMathSciNetGoogle Scholar - [24]H. Ying. Structure and stability analysis of general Mam-dani fuzzy dynamic models.
*International Journal of Intelligent Systems*, vol. 20, no.1, pp. 103–125, 2005.CrossRefzbMATHGoogle Scholar - [25]R. E. Precup, M. L. Tomescu, S. Preitl, J. K. Tar, A. S. Paul. Stability analysis approach for fuzzy logic control systems with Mamdani type fuzzy logic controllers.
*Journal of Control Engineering and Applied Informatics*, vol. 9, no. 1, pp. 3–10, 2007.Google Scholar - [26]L. K. Wong, F. H. F. Leung, P. K. S. Tam. A fuzzy sliding controller for nonlinear systems.
*IEEE Transactions on Industrial Electronics*, vol. 48, no. 1, pp. 32–37, 2001.CrossRefGoogle Scholar - [27]L. K. Wong, F. H. F. Leung, P. K. S. Tam. Lyapunov-function-based design of fuzzy logic controllers and its application on combining controllers.
*IEEE Transactions on Industrial Electronics*, vol. 45, no. 3, pp. 502–509, 1998.CrossRefGoogle Scholar