Robust Control Optimization Based on Actuator Fault and Sensor Fault Compensation for Mini Motion Package Electro-Hydraulic Actuator

: In recent years, electro-hydraulic systems have been widely used in many industries and have attracted research attention because of their outstanding characteristics such as power, accuracy, efﬁciency, and ease of maintenance. However, such systems face serious problems caused simultaneously by disturbances, internal leakage fault, sensor fault, and dynamic uncertain equation components, which make the system unstable and unsafe. Therefore, in this paper, we focus on the estimation of system fault and uncertainties with the aid of advanced fault compensation techniques. First, we design a sliding mode observer using the Lyapunov algorithm to estimate actuator faults that produce not only internal leakage fault but also disturbances or unknown input uncertainties. These faults occur under the effect of payload variations and unknown friction nonlinearities. Second, Lyapunov analysis-based unknown input observer model is designed to estimate sensor faults arising from sensor noises and faults. Third, to minimize the estimated faults, a combination of actuator and sensor compensation fault is proposed, in which the compensation process is performed due to the difference between the output signal and its estimation. Finally, the numerical simulations are performed to demonstrate the effectiveness of the proposed method obtained under various faulty scenarios. The simulation results show that the efﬁciency of the proposed solution is better than the traditional PID controller and the sensor fault compensation method, despite the inﬂuence of noises.


Introduction
Nowadays, the breakthrough in information technology has promoted the progress of modern industry towards Industry 4.0. In meeting the requirements of precise control in industrial applications, electro-hydraulic actuator (EHA) systems play a significant role because they have the advantages of fast response, wide adjustment speed range, high power ratio, high speed, high accuracy, and high durability. Therefore, the EHA has been widely applied in industrial manufacture, agricultural machinery such as CNC machines, robotic manipulators, ships, and aerospace systems. However, EHA systems also have disadvantages including internal leakage, parametric uncertainties, external disturbance which makes these systems unstable, and the fluids inside them being often caustic and some seals [1][2][3][4]. To minimize the effect of parametric uncertainties in the EHA, nonlinear control schemes such as PID controller [5,6], adaptive control [7,8], Fuzzy-PID [9,10], sliding mode control [11][12][13][14][15], and neural network control [16][17][18][19] were proposed. The PID controller and adaptive control can reduce the adverse effect of parametric uncertainties, but they cannot completely deal with the influence of the above noises. Fuzzy-PID control position tracking control capabilities of a class of electro-hydraulic actuators known as small motion packages (MMPs). This technique utilizes the PID controller to ensure the position response, then to obtain the desired results as shown in [33][34][35][36][37]. The gain parameters of the UIO model are achieved by solving the control error equations based on the LMI optimization algorithm; if the algorithm is feasible, the UIO system reaches asymptotic stability. A comparison between the PID control and the FTC error is provided to evaluate the performance of the controller failure. Actuator fault and sensor fault estimation are designed by augmented observers as shown in [38,39], and a scheme of sliding mode observer is also performed in [40][41][42][43]. In [40], Wenhan Zhang et al. developed an augmented descriptor to estimate the actuator faults via a robust fault estimation observer. In another approach, sliding mode observers for fault detection was investigated. Especially, some of the unique properties of sliding mode observer was thoroughly exploited in [41]. In [42], the authors developed an UIO-based augmented system which can estimate both sensor fault and system states. Also, to reduce actuator faults in linear multi-agent system, Shahram H. et al. [43] designed a distributed fault estimation model by applying sliding mode observer for each agent.
In this paper, a fault-tolerant control approach based on a robust fault estimator is carried out to reduce the impact of disturbance, actuator, and sensor fault, applied to electro-hydraulics actuator systems in the presence of simultaneous faults. Additionally, a fault estimator is designed by integrating the UIO model based on the LMI optimization algorithm and augmented system, such that the control error dynamic reaches the asymptotic state stability. Here, the FTC model acts as the fault signal compensation against impacts from actuator and sensor faults, as well as disturbance, and maintains the stability of the closed-loop system. The robustness of the actuator fault estimator using the sliding mode observer model for Lipschitz nonlinear EHA systems are presented. Further, a UIO model integrating the LMI optimization algorithm and augmenting system to estimate sensor fault and to determine residual are described for Lipschitz nonlinear EHA systems. The contributions of this work include: (1) Concurrent fault/state estimation techniques robust to partially unknown inputs are developed under the support of the input-stable theory. (2) A combination of fault compensation for fault-tolerant control model and PID controller creates a robust fault estimation that makes tolerant strategies simple to apply and to improve the control performance under the impact of faults and external disturbances. (3) Input-to-state stability theory based on LMI optimization algorithm and augmented system is addressed by the tolerant closed-loop control system. The error dynamics reach the asymptotic stable state, which is shown as an effective tool for handling fault control issues. (4) The proposed method is compared to the PID controller to evaluate the effectiveness and performance of the proposed solution.
The remainder of this paper is organized as follows: Section 2 introduces the overview of the mini motion package EHA model. Sections 3 and 4 respectively present the robust actuator fault estimation and unknown input observers for nonlinear system. Our proposed solution, namely actuator-sensor fault tolerant control, is described in detail in Section 5. The simulation results and conclusion are shown in Sections 6 and 7.

Modelling Mini Motion Package Electro-Hydraulics Actuator
Modelling of the EHA system is shown in Figure 1. The dynamics of the object M p can be written as [15]: where M p is the equivalent mass of the piston and object M, χ, . χ, and ..
χ are the position, acceleration, and the velocity of the piston, respectively, S 1 , and S 2 are the areas in two chambers, respectively, N sp is the external load force of the spring of the piston, P 1 and P 2 are the pressures in two chambers, respectively, B v , N f rc , and ζ are the viscosity damping coefficient, friction force, and unknown disturbance, respectively. The spring force N sp can be computed as: where K sp is the stiffness of the spring. The N f rc friction force can be presented as [33]: where N ps , and N ns are the static friction forces, N pc and N nc are the Coulomb friction forces, ε p and ε n are the viscous friction parameters, v ps , and v ns are known as Stribeck velocity parameters for the positive and negative velocity motion of the cylinder, respectively. Based on [33], the mathematical model of the EHA system can be presented as: Scalar β e is the effective bulk modulus in each chamber and Q i is the internal leakage flow rate of the cylinder; V 01 , and V 02 are the initial total control volumes of the first and the second chamber respectively [4]. Q 1v , and Q 2v are the flow rate through of the pilot operated check valve on the left, and on the right, respectively. Similarly, Q 3v , and Q 4v are the flow rate through the pressure relief valve on the left, and on the right, respectively.
Q pump , and ω are the pump flow rate, and the speed of the servo pump as shown in Figure 1, respectively. To simplify the control process, (4) can be divided into two parts. The first part is designed as a mathematical model of the EHA system and presented as: The second part plays the role of an input of system (6) which is described as: where µ is the input control signal and µ = ω; ∆ p is the displacement, of the servo pump. The dynamics equation of the EHA system is established based on (5) in the following form: . where Based on the nonlinear dynamic equation of the EHA in (8), the observer design and fault estimation are developed in the next section.

Robust Actuator Fault Estimation for Nonlinear System
The EHA system can be considered in the form: .
where χ ∈ R n , y ∈ R p , f a ∈ R f and u ∈ R q represent the state, output, unknown actuator fault, and input vector, respectively Φ ∈ R n×n , Θ ∈ R n×q , F ∈ R n×q , and Y ∈ R p×n denote known constant matrices with suitable dimensions. Based on [43], a coordinate transformation z → T Y χ related to the invertible matrix where the columns of N ∈ R n×(n−p) span the null space of Y. Using the change of coordinate z → T Y χ , z → T Y χ , the triple (Φ, Θ, Y) with det T Y = 0 has the following form: According to the Assumption 1, there exists a matrix L ∈ R n×p such that Φ − LY is stable, and thus for any Q > 0, the Lyapunov equation below has a unique solution when Q > 0, U > 0 [43]: With U ∈ R n×n , Q ∈ R n×n , these matrices can be expressed as: These satisfy the condition U 11 ∈ R q×q > 0 , U 22 ∈ R p×p , Q 11 ∈ R q×q > 0 , and Q 22 ∈ R p×p if U > 0 and Q > 0.
Suppose that the F has the following structure: where F 1 ∈ R q×r , and F 2 ∈ R p×r . Lemma 1. [43] If U and Q have been partitioned as in (12), then

Assumption 2.
The actuator fault vector f a and disturbance vector ζ satisfy the following constraint: where δ a and δ d two known positive constants.

Sliding Mode Observer Design
The design of the sliding mode observer performs is based on a linear transformation construction of coordinates z = Tχ [43] to impose a specific structure on the fault distribution matrix z. The transformation matrix T has the following form: where T 1 = I n−p U −1 11 U 12 , and T 2 = 0 I p Equation (9), can be transformed into the new coordinate z as: where (16), can be rewritten as: where T with the column z 1 ∈ R n−p and z 2 ∈ R p Based on [16], the sliding mode observer is designed as: whereẑ 1 andẑ 2 are the estimates of z 1 and z 2 , respectively;ŷ denotes the estimate of y Φ 0 ∈ R p×p is a stable design matrix. The discontinuous vector υ is computed by [43] and is given as: where U 0 is a symmetric positive definite matrix and the positive constant k = |F 2 |ρ + η, ρ and η are the positive constants. If the state estimation error is defined by

Assumption 3.
Item of nonlinear function f (χ, t) in (9) is Lipschitz with relation to the state χ andχ: Note thatẑ = ẑ 1ŷ . Therefore, we has: and Then state error dynamic system can be described as .
Proof of (26). Consider a Lyapunov function as: where In the new coordinate, U z has the following quadratic as: Concerning the time derivative (28), we have: Since the inequality 2X T Y ≤ 1 α X T X + αY T Y holds for any scalar α > 0 [43] then and .
From (28) to (33); we have: where To obtain the asymptotical stability of the state estimation errors ξ 1 , and ξ 2 Equation (30) needs to satisfy the following condition: Based on the initial condition ξ ≤ µ ζ , the matrix J can be described as: From (34) and (35), we can demonstrate: The system obtains the asymptotical stability then Π< 0 and apply Schur complement Lemma (36) for Π < 0, we obtain: Substitution U 11 = ZG 1 and U 12 = ZG 2 into Equation (37), then (26) is satisfied. Proof is complete.
Moreover, Equation (25) needs to transform into a linear matrix inequality (LMI). This transformation is performed into the issue of finding the minimum of a positive scalar µ satisfying the following inequality constraint: By solving the LMI (26) and (38), terms U 1 , U 2 , U 0 and Q are obtained to calculate the observer To compute the error dynamic system in (23) and (24), the sliding mode surface is defined as: Theorem 2. Using the Assumptions 1-3, and the observer (18), the error systems (23) and (24) can be given to the sliding surface (39) if gain τ is chosen for satisfaction: where ξ 2 ≤ ψ, ψ is the upper bound of ξ 2 , f a ≤ ρ a with ρ a is a scalar and ξ 1 ≤ ρ with ρ is a positive scalar.
Proof of (40). Consider a Lyapunov function as: Derivative of V a in (41), we have: Based on (20), and since the matrix Φ 0 is the stable matrix. (42) is re-written as: .
If the condition (40) holds, then with ∀γ > 0, we have: Therefore, the reachability condition is satisfied. Consequently, an ideal sliding motion will take place on the surface S in finite time [43].

Actuator Fault Estimation
The actuator fault estimation based on the proposed observer in the form of (19) is to estimate actuator faults using the so-called equivalent output injection [43]. Assuming that a sliding motion has been obtained, then ξ 2 = 0, and . ξ 2 = 0. Equation (24) is presented as: where υ eq is the named equivalent output error injection signal which is required to maintain the motion on the sliding surface [43]. The discontinuous component in (19) can be approximated by the continuous approximation as [43]: where δ is a small positive scalar to reduce the chattering effect, with this approximation, the error dynamics cannot slide on the surface S perfectly, but within a small boundary layer around it. Based on [43], the actuator fault estimation is defined as: where Equation (45) can be represented as: By considering the norm of (48), we obtain: where β = σ max F + 2 Φ 21 σ max F + 2 λ , and ς 1 = σ max F + 2 T 2 Therefore, for a rather small βξ + ς 1 ζ , then the actuator can be approximated aŝ

Unknown Inputs Observer (UIO) for Non-Linear Disturbance
In this section, an UIO method is designed to estimate the state vector for the computing arm of the residual in Section 5. We consider a nonlinear system in the following form: .
where x ∈ R n , and u ∈ R q are state vector and known inputs vector, respectively. ξ ∈ R m , and y ∈ R p are unknown input disturbance vector and output vector of the system, respectively. Ψ, and S are known matrices with the suitable dimension, respectively. f s is the fault sensor. Equation (51) can be rewritten as the following form: where The UIO model can be constructed in the influences of unknown inputs in the system (52) as: wherex ∈ R n , andŷ ∈ R p are state vector estimation of x, and measurement output estimation vector, respectively. z ∈ R n is the state vector of the observer. M ∈ R n×n ,G ∈ R n×n , H ∈ R n×p , L ∈ R n×p , L 1 ∈ R n×p , and L 2 ∈ R n×p are the observer matrices and these matrices should be designed according to the state estimation error vector.
The estimation error ξ can be calculated as: and The measurement error may be calculated as From (52), we have: From (58), we can write as: By substituting (56) and (58) into (59), we have: The estimation error (61) can be reduced to In which, matrix G is selected as: The matrix H can be computed from (56) as following: This matrix depends on the matrix rank YΨ, H exists if rank(YΨ) = m.
In general, based on [32][33][34][35][36][37], the matrix H can be expressed as: where To simplify calculating, (61) can be presented as: where K = MH + L Gain L can be inferred from (64) as The nonlinear component ∆ f of the nonlinear system satisfies the condition with Lipschitz constant δ s , such as: where (66), we can infer as: where [41] The necessary and enough conditions for the existence of UIO in (54), if the system (52) guarantees as follows: (a) rank(YΨ) = rank(Ψ) Lemma 3. [33] For the equation in the following form The eigenvalues of a given matrix Φ s ∈ R n×n belong to the circular region D(α s , ρ s ) with the center α s + j0 and the radius ρ s if and only if there exists a symmetric positive definite matrix P ∈ R n×n such that the following condition holds −P P(Φ s − α s I n ) * −ρ 2 P < 0 (69) Theorem 3. The system (52) exists a robust UIO in the form of (53) such that output the estimation error satisfies ξ y ≤ γ s ζ , and a prescribed circular region D(α s , ρ s ) if there exists a positivedefinite symmetric matrix P ∈ R n×n , matrix Q s ∈ R n×p , and the positive scalars γ s , and ϕ s such that the following inequalities (70) and (71) hold: where Q s = PL Proof of (70). Consider a Lyapunov function as: Derivative the Equation (72), we have: The steady state of the system is obtained if the (73) inequality ≤ 0 exists. According to (67) and (73), a matrix V L can be archived if there exists a scalar ϕ s > 0 that satisfy for the system stable condition as: where In addition, based on the initial measurement error condition ξ y ≤ γ s ζ of output, and ξ y ≤ ε s f s with scalars γ s and ε s , then the matrix J s can be written as: A matrix T n can be deduced based on (74) and (75) as: An inequality (76) can be rewritten as: where Apply Schur complement Lemma (78) for Ω < 0, we obtain: Substituting the matrices M, G and H into (79), then (70) is satisfied.

Proof of (71).
If we consider ∆ f , f s and ζ in Equation (61) have characteristics similar to u, we can application of the Lemma 2 for (61) with Φ s = GΦ − LY, we has: Substitution Q s = PL into Equation (80), then Equation (71) is satisfied.
In summary, the full order observer for the nonlinear systems is implemented in the following steps: Step 1: Find a suitable Lipschitz constant δ s that satisfies the Lipschitz condition of the Equation (66) Step 2: Calculate U s and V s based on Equations (61) and (63) Step 3: Determine the matrices P, Q s , and K = P −1 Q s using solve the LMI defined by matrix inequality (70) and (71) Step 4: Calculate the matrices H, N, and G using the Equations (56)-(64) Step 5: Calculate the observer gain L using the Equation (65)

Fault Tolerant Control Based General Residual and the Actuator and Sensor Fault Compensation
Fault-Tolerant Control (FTC) is implemented by compensating the actuator and sensor faults through UIO and SMO models. The residual has been proposed by [34][35][36][37][38], which is calculated as: The fault compensation process consists of two main processes: fault detection and compensation. The fault detection process involves determining whether a fault has occurred or not, depending on the information of the residual, which means that r = 0 if s = 0 without fault and r = 0 if s = 0 with fault (s = f T P f T v T or s = f a ). The fault isolation process is executed to make a binary decision signal based on the fault detection process. Here, making a binary decision is defined by a logical process that is constructed out of the residual and the threshold value k. The binary decision signal is 0, if |r| ≤ k, and conversely, this signal is 1, if |r| > k. However, the selection of the coefficient k is realized from the following experience.

Actuator and Sensor Fault Compensation
FTC-based actuator and sensor fault compensation is designed through residual shown in Figure 2. The main PID controller will operate conventional closed-loop trajectory control.
The actuator compensation signal for the EHA system can be designed as u f = K afa , where K a = Θ + F (82) The component of the measurement output can be described as: The binary decision signal is used to operate a logic process, when it has a value '1', a fault occurs, and the fault compensation is performed. If no fault occurs, the binary decision signal has a value '0' as in [33][34][35][36].

Evaluating the Control Error Performance
The position tracking error is one of the important factors to evaluate the position tracking controller performance. In this paper, the performance of the position tracking controller PID is proposed. To simplify the calculation, the one-norm µ ξ of a position error vector ξ y is presented as: The maximum value of the error ξ y is presented in a period from t 0 to t is given as: The position tracking error performance using the fault compensation method is computed as: where µ max is the maximum value of the obtained error when applying for fault compensation in a period from t 0 to t.

The Parameters of the MMP System
The basic parameters of the MMP system are shown in Table 1. Following these parameters, the received data are shown as [33]:  The basic parameters of the MMP system utilized in the observer model are as follows: A non-singular transformation matrix can be selected as: The equation of the commanded input is given as: We assume that the actuator fault f a (t) is given as:

Simulation Results for Actuator Fault
In this section, we consider the influence of actuator fault f a on the EHA system that is given by Equation (88) in Matlab/Simulink environment with a sinusoidal input signal, as shown in Equation (87). On the other hand, the actuator error compensationbased FTC process is applied through the actuator fault estimation of the SMO model. As shown in Figure 3a, the simulation results obtained from the EHA system for the no-fault case demonstrate that the system works well, using the traditional PID controller. From Figure 3b-e, the negative effects of actuator fault on the position response and actuator fault estimation with and without actuator fault compensation are described respectively. Figure 3b shows that the position feedback signal (blue line) is adversely affected by the actuator fault (green line), and Figure 3c shows an increased efficiency of the SMO algorithm in estimating the actuator fault. At the same time, the feedback signal affected by the actuator fault is also effectively handled by the FTC compensation algorithm, as illustrated in Figure 3d,e.

Sensor Fault Estimation
We assume that the position sensor fault f p (t) is given as: Suppose the position velocity fault f s (t) can be described as: Assume that we choose the Lipschitz constant ζ s = 5 and positive coefficients r = α = ε = 0.1, and µ = 0.2 by applying LMI algorithm. We can solve matrices P; Q and L by

• Position Fault
A consideration of the effects of the position and velocity sensor (PVS) faults on the EHA system in the case of the sinusoidal input signal is also presented, as given in Equation (87). An FTC process using PVS error compensation is also considered through the PVS error estimation of the UIO model, as shown in Figure 2. In Figures 4a and 5a, the position feedback signal (red line) is affected by position sensor fault (green line) and sensor fault (orange line). Here, PVS fault estimation is effectively executed under the support of the UIO model, which is shown in Figures 4b and 5b. By applying the FTC compensation algorithm, the feedback signal under the negative impact of the position sensor fault (Figure 4c,d) and velocity sensor fault (Figure 5c,d) is handled, respectively.

• Velocity Sensor Fault
• Position sensor, velocity sensor, and actuator faults   In this section, the impact of three components (i.e., actuator fault f a (AF), position sensor fault f p , and velocity sensor fault f v ) on the EHA system is under consideration to minimize the effect of noises, disturbances, and uncertain kinetic parameters. Specifically, an FTC process of compensating for AF and PVS is suggested based on a sequential combination of the AF and PVS estimation using the SMO and UOI models, as shown in Figure 2. In Figure 6a, the position feedback signal (red line) of the system is simultaneously affected by three fault components: actuator fault (black line), position sensor fault (green line), and velocity sensor fault (orange line). Thanks to the estimated errors shown in Figure 6b-d, we can easily compute the estimated actuator error difference affected by the position sensor and velocity fault, which is illustrated in Figure 6b. Figure 6c.d clearly show the effect of actuator fault on the estimated sensor fault. Here, the controlled error signal is evaluated in Figure 6e, and the error magnitude is shown in Figure 6f. In addition, to evaluate the performance of the proposed control method FTC under the impact of the aforesaid faults, the control error is shown in Figure 6g when sensor fault compensation is applied, and the error level is evaluated in Figure 6h. By applying the closed-loop control system with FTC to the actuator fault, and sensor fault compensation method as shown in Figure 2, the effects of the fault are greatly reduced, as shown in Figure 6i. Thanks to this FTC error compensation technology, the estimation errors are almost eliminated and approximate to zero, as described in Figure  6j,k,l. The control error shown in Figure 6m corresponds to the case where actuator and sensor fault compensation is applied, as well as the evaluated value of the fault in Figure  6n.
Here, μξmax, μsξmax, and μasξmax are respectively the maximum values of the errors when using the PID controller, the sensor fault compensation method, and the actuator-sensor fault compensation method, respectively; ηsξ, and ηasξ are fault efficiencies achieved by the sensor fault compensation method and actuator-sensor fault compensation method. Table 2 shows that the efficiency of control error is approximately 96.95% when using the sensor fault compensation method, compared to the PID controller in the period from 1s to 5s. Moreover, when we use the actuator-sensor fault compensation method, the efficiency reaches 97.41% and the result is, therefore, better than the sensor fault compensation method. In addition, in the periods that the system suffers from position sensor fault (i.e., 5 s-8 s and 11 s-15 s), although the performance of the fault compensation method is much more efficient than the PID method, the actuator-sensor fault compensation method still achieves higher efficiency than the sensor fault compensation method. In the period from 8s to 11s, although the speed error adversely affects the system, the efficiency is also relatively high at about 77.5%, and the efficiency of the actuator-sensor fault compensation and sensor fault compensation methods is the same in this case. Based on the above results, we can see that the actuator-sensor fault By applying the closed-loop control system with FTC to the actuator fault, and sensor fault compensation method as shown in Figure 2, the effects of the fault are greatly reduced, as shown in Figure 6i. Thanks to this FTC error compensation technology, the estimation errors are almost eliminated and approximate to zero, as described in Figure 6j,k,l. The control error shown in Figure 6m corresponds to the case where actuator and sensor fault compensation is applied, as well as the evaluated value of the fault in Figure 6n.
Here, µ ξmax , µ sξmax , and µ asξmax are respectively the maximum values of the errors when using the PID controller, the sensor fault compensation method, and the actuatorsensor fault compensation method, respectively; η sξ , and η asξ are fault efficiencies achieved by the sensor fault compensation method and actuator-sensor fault compensation method. Table 2 shows that the efficiency of control error is approximately 96.95% when using the sensor fault compensation method, compared to the PID controller in the period from 1s to 5s. Moreover, when we use the actuator-sensor fault compensation method, the efficiency reaches 97.41% and the result is, therefore, better than the sensor fault compensation method. In addition, in the periods that the system suffers from position sensor fault (i.e., 5 s-8 s and 11 s-15 s), although the performance of the fault compensation method is much more efficient than the PID method, the actuator-sensor fault compensation method still achieves higher efficiency than the sensor fault compensation method. In the period from 8s to 11s, although the speed error adversely affects the system, the efficiency is also relatively high at about 77.5%, and the efficiency of the actuator-sensor fault compensation and sensor fault compensation methods is the same in this case. Based on the above results, we can see that the actuator-sensor fault compensation method is more effective than the sensor fault compensation method presented previously [33]. With the implementation of powerful control methods, the impact of the control input signal is very large when the input signal is very high, as shown in [44,45]. However, when the control speed is in the allowable limits (no more than 25 mm/s), a fault compensation based robust fault-tolerant control method can greatly reduce the effects of faults after each closed control loop. In practice, the sensor fault compensation algorithm has been proved that it can successfully minimized the sensor faults under various conditions [33].

Conclusions
Recently, the EHA has been widely applied in many applications, from industry to agriculture. Although this system has a lot of advantages, for it to better meet practical applications, some disadvantages of the system, including disturbances, internal leakage fault, sensor fault, and the dynamic uncertain equation components of the system that make the system unstable and unsafe, need to be overcome, especially eliminating the influence of noise on the system operation. In this paper, an actuator-sensor fault compensation was proposed. To implement the proposed solution, we developed the Lyapunov-based SMO to estimate the faults that come from the payload variations and unknown friction nonlinearities. Next, we estimated the sensor faults thanks to Lyapunov analysis-based UIO model. Then, we applied actuator-sensor compensation faults to minimize the estimated faults. Simulation results demonstrated that this method achieved very high efficiency, despite the influence of noises. Obviously, this result is superior to the traditional PID method and even better than an advanced method, namely the sensor error compensation method. The above analysis results significantly contributed to improving the performance of EHA systems in practice.