#### Abstract

A compound fuzzy disturbance observer based on sliding modes is developed, and its application on flight simulator is presented. Fuzzy disturbance observer (FDO) is an effective method in nonlinear control. However, traditional FDO is confined to monitor dynamic disturbance, and the frequency bandwidth of the system is restricted. Sliding mode control (SMC) compensates the high-frequency component of disturbance while it is limited by the chattering phenomenon. The proposed method uses the sliding mode technique to deal with the uncompensated dynamic equivalent disturbance. The switching gain of sliding mode control designed according to the error of disturbance estimation is a small value. Therefore, the proposal also helps to decrease the chattering. The validity of the proposal method is confirmed by experiments on flight simulator.

#### 1. Introduction

Flight simulator simulates the attitude of aircraft and helps the ground experiments. High precision motion control is the key of a flight simulator, which influences the accuracy of simulation experiments. As a typical kind of servomotor system, the robustness against external nonlinear disturbances, time-varied characters, and modeling uncertainties is urgently required [1]. The disturbance observer (DOB) approach has been widely used as an effective robust method to compensate the disturbance and parameter variations from both environment and system [2, 3]. The disturbance observer, which makes the system dynamics same as the nominal model in ideal condition, can absolutely compensate the equivalent disturbance regarding the external disturbance torque, modeling error, and other uncertain factors. However, this method is a linear one and equivalent to high-gain control, which may cause resonance in controlling elastic electromechanical systems [4]. Moreover, there exists huge modeling mismatch if the nonlinear characters of the system are ignored and the performance of the system is limited as the two elements are contradictive in stable controller designing.

Fuzzy method, as a nonlinear method, has been studied with the basic idea that a fuzzy logic system can well approximate arbitrary highly nonlinear system [5, 6]. In previous work, fuzzy approach has been used in complex nonlinear areas such as facial pattern recognition [7], project management [8], and economic dispatch [9] and obtained good effect. Facing to the difficulties caused by nonlinear factors in control area, an apparent view is to use fuzzy tools to monitor and compensate these uncertainties. In some investigations, fuzzy method has been used in controller design [10, 11], filter design [12, 13], and observer design [14, 15]. Thereinto, a fuzzy-disturbance-observer- (FDO-) based control suggested by Kim [14] inherits the advantages of disturbance observer and avoids the unstable factors when there exists huge difference between the nominal model and the actual system. Compared with the indirect and direct adaptive fuzzy approaches suggested by Chen et al. [15] and Ordonez and Passino [16], the FDO-based method guarantees the uniformly ultimately bounded of the disturbance observation error within a sufficiently small region by appropriate choice of the design parameter without the requirement of a supervisory or a robustifying controller. FDO deals with nonlinear problems in motion control systems and is optimal to industrial application. However, FDO still has difficulty in compensating high-frequency component of a nonlinear disturbance sufficiently.

Sliding mode control (SMC) can inhibit high-frequency disturbance by switching control value, which also causes chattering phenomenon. SMC is an effective approach to deal with nonlinear systems [17, 18]; therefore, an apparent solution is to combine SMC and disturbance observer together. SMC is used as an outer loop controller in some investigations while disturbance observer deals with the compensation of disturbance [19, 20]. In these conditions, the SMC needs to improve the tracking performance as well as inhibiting the disturbance simultaneous. As a result, the chattering phenomenon is hardly decreased as the switching gain keeps affecting. Meanwhile, the upper bound on unknown disturbances is generally considered as constant estimation in order to meet the conditions for the existence of generalized sliding mode [21, 22]. Therefore, if the upper bound is underestimated, the tracking performance of motor servo system is difficult to improve and the system is possibly unstable. Moreover, the switching gain of SMC is designed conservatively and the chattering alleviation is also limited. In previous work, sliding mode disturbance observer has also been proposed as an independent branch which employs the sliding mode technique to estimate the lumped disturbance rather than to do the position control directly [23, 24], and some intelligent methods have also been employed to observe the varying disturbances and estimate the upper bound accordingly [25, 26]. However, the conservative is still a great problem as the switching gain should be larger than the unknown upper bound, and most of intelligent units are not sufficiently sensitive to the chattering in the output of the controller.

In this paper, a compound fuzzy disturbance observer (CFDO) based on sliding modes is proposed, and the task of disturbance compensation is divided into two parts. Low-frequency disturbance is compensated by FDO while high-frequency disturbance is treated by SMC. As low-frequency component is the main part of equivalent disturbance, SMC deals with only the secondary part of the disturbance. Consequently, the switching gain of SMC may be designed as a relative small value, and the chattering alleviation is achieved. The proposed method comprehended the advantages of both FDO and SMC. By using this method, the equivalent disturbance can be compensated more accurately, and the resonance caused by traditional methods in controlling elastic electromechanical systems can be avoided. Compared with the traditional proposed DOB and FDO schemes, CFDO has better robustness when there exists large nonlinear factors, decreases the modeling mismatch, and extends the frequency bandwidth of the systems. The model of disturbance is not required when the CFDO is designed. As a typical kind of servo motor system, the theoretic results in flight simulator can be used in other servo motion control systems.

The brief outline of the paper is as follows. In Section 2, the fuzzy disturbance observer is introduced. In Section 3, the control problem is formulated. Then, the structure and design of CFDO are proposed. In Section 4, experimental results are included to support the theoretical work. Finally, the paper is concluded in Section 5.

#### 2. Fuzzy Disturbance Observer

Consider a system described as where denotes controller output, denotes state vector of the system, and are decided by nominal model, and denote the internal unknown time-varying nonlinear dynamics, and denotes generalized external disturbance. In the viewpoint of disturbance observer, both internal uncertainty and external disturbance can be defined as equivalent disturbance, and the system can be written as where is the nonlinear equivalent disturbance in controller output terminal and cannot be described by mathematical expressions in general. A fuzzy logic is used as a solution to approximate the nonlinear disturbance as an FDO.

Figure 1 shows the structure of FDO. From the structure, the equivalent disturbance can be compensated sufficiently, and the system has the same dynamics as the nominal model in the case of the fuzzy system follows the disturbance completely.

In order to achieve the compensation, the estimated value can be obtained by fuzzy logic system, which is described briefly here. The fuzzy inference engine uses the fuzzy IF-THEN rules to perform a mapping from an input compact set to an output variable . The fuzzy rules can be described as where are fuzzy variables and is a singleton number. By using product inference engine, center-average defuzzifier, and singleton fuzzifier, the output of the fuzzy system can be expressed as where is membership function value of the fuzzy variable , is the number of fuzzy rules, denote adjustable parameter vector, and denote fuzzy basis functions defined by In order to design an FDO, a tuning method must be developed for the adjustable parameter vector. Consider the following dynamic system (7): Define disturbance observation error as . Obviously, implies that the estimated disturbance value approaches the actual but unknown disturbance .

The disturbance observation error is uniformly ultimately bounded within a region, which size can be kept arbitrarily small, if the adjustable parameter vector of the FDO is tuned by (8) and bounded. To ensure the FDO outputs zero signal in case of (perfect matching), the adjustable parameter vector is set to zero as (9). The correlated proof can be found in [14]. Consider As a typical servo system, a flight simulator system can be described as where is the nonlinear equivalent disturbance in controller output terminal, is the nominal inertia, and is the nominal damping. Define , , it is significant that the system (10) is a special case of system (2), and the FDO can be designed as is stated previously.

The FDO makes system response the same as the nominal model. Compared with DOB, FDO-based control has advantages on the robust stability and static performance when the system lacks mechanical stiffness. Unfortunately, some flight simulator systems are elastic electromechanical systems, and the use of DOB is restricted. Therefore, the FDO helps to improve the static performance and robustness of these flight simulators.

However, the nonlinear disturbance, such as friction, is composed of the components of many frequencies. The high-frequency components limit the system performance and the effect of FDO is limited in practice [27]. Therefore, disturbance compensation method with better effect is expected.

#### 3. Compound Fuzzy Disturbance Observer

Consider the flight simulator system (10) with the help of FDO, it can be described as (11), where is the estimated disturbance by FDO. The difference between the observer value and the equivalent disturbance should be compensated. Define a secondary system as (12), where is the objective control value to make . In this case, is expected to . Consider Define the sliding surface as (14), where . Then the objective turns into making . The control value is designed as (15), where is a positive constant gain, is the positive switching gain, is a small constant that communicates with the boundary layer near the sliding mode surface, and is the saturation function defined as (16): According to (11)~(15), there is (17). Define a positive definite Lyapunov candidate (18); its time derivative is obtained as (19): Suppose that (20) is satisfied; the analysis of (19) is discussed as follows.

If and , there is (21). From (21) and considering , there is (22): If and , there is (23). According to the solution of the differential inequality, there is (24) and (25): Consequently, if (20) is satisfied, exponentially converges and satisfied (25). By the definition of , exponentially converges and satisfied (26). Therefore, the compound disturbance observer can be designed if (20) is satisfied: The expression (20) should be satisfied; that is, the switching gain is related to the difference between equivalent disturbance and observer value of FDO. From the process of FDO design, the difference aforementioned are decided by the disturbance observation error . Therefore, the estimation of upper bound which is used to design sliding mode controller can be got by . When the disturbance observation error disappears after some time, the switching gain of the SMC can be kept in a small value. And further, the chattering phenomenon can be decreased. The expression (27) gives the description of the switching gain in this paper, where is the magnification coefficient that can be tried in practice. The whole structure of CFDO is showed in Figure 2. Consider

#### 4. Experiment Results

In order to test the effect of the proposed method, an experiment is implemented by using a three-axis flight simulator shown in Figure 3. The optical-electrical encoder with resolution of 0.0007 degrees is employed as the position sensor. The program of control algorithm is written with C language based on Windows-RTX real-time system in an industrial computer (Advantech IPC 610), which connects with the servo drivers by a 16-bit D/A convertor of PCI bus. The control cycle is 0.001s.

As in the previous discussion, FDO monitors both the internal and the external disturbance so that each axis of the flight simulator can be designed independently. Therefore, the pitch axis is chosen herein to verify the method. The controller design is based on the parameters which are acquired by identifying the flight simulator. The parameters of the nominal model are identified as , . The fitting curves for frequency characteristics of actual plant and nominal model are shown in Figure 4. A PD controller is used as a position controller and , . The membership functions shown in Figure 5 are selected for the premise parts of the FDO. Other factors employed in the experiment are given as follows: , , , and . A nonlinear tracking differential estimator is used to get differential value [28], and the nonlinear tracking differential gain is . The accuracy of the static position, the stationarity of the static velocity, and the dynamic frequency are the most important indexes to a flight simulator. Generally, the static position accuracy can be guaranteed by a stable disturbance observer.

**(a)**

**(b)**

Figure 6 shows the curves of the steady-state speed under DOB, FDO, and CFDO schemes, respectively. In this case, the reference signal is constant and the response curves tracking with the velocity of 1°/s as well. All of the systems can reach the position command value ultimately. However, the DOB scheme has a oscillatory speed because of the influence of elasticity. The FDO and CFDO schemes can keep a stable speed while tracking and it is the effect of FDO as the sliding mode part almost has no effect in static condition. Compared with traditional DOB scheme, the proposed method has better robustness as FDO is a nonlinear approach and decreases the modeling mismatch. Evidently, reducing the effect of DOB helps to decrease the oscillation while restricting the performance of the system.

Figure 7 compares the tracking error and the control value of the FDO and CFDO schemes when the reference signal is described as . The figure shows that the maximum tracking error under the FDO scheme approximately equals 0.037 deg while that decreases to 0.028 deg using the proposed CFDO. The tracking error indicates that the system with CFDO has better dynamic performance than the system with only FDO. Furthermore, the control value of the CFDO system does not exhibit obvious chattering phenomenon compared with the value of the FDO system. The system performance is effected by FDO primarily, and the sliding mode controller whose switching gain is restricted in a small range only assists secondarily.

**(a)**

**(b)**

Figure 8 shows the tracking error and the control value of the two systems when the reference signal is described as . High-frequency disturbance, treated by SMC, is the main problem in this environment. The figure shows that the maximum tracking error under the FDO scheme approximately equals 0.652 deg while that decreases to 0.203 deg using the proposed CFDO. From the comparison of the two error curves, the CFDO system has better dynamic performance and the frequency range is extended with the help of SMC. Inevitably, chattering phenomenon can hardly be alleviated for the SMC need to recover rapidly.

**(a)**

**(b)**

Neither the steady-state error of FDO nor the error of CFDO is influenced by the extra constant disturbance, as FDO compensates the constant disturbance over time. However, under the condition of small time-varying disturbance like Figure 8, CFDO has better performance than FDO as the sliding mode controller deals with the high-frequency disturbance rapidly. According to Figures 7 and 8, changes of working frequency have less influence under CFDO scheme than under FDO scheme; that is, the system with CFDO has better robustness than the system with FDO.

The part of sliding mode controller compensates the high-frequency component of disturbance and improves not only the robustness but also the dynamic performance of the system, meanwhile, the FDO deals with the low-frequency component of disturbance and helps to weaken the chattering. In consequence, they help each other to compensate the equivalent disturbance.

To a flight simulator system, the references are often slow-varying signals, which can be seen as static signals, in most part of an aircraft trajectory. In the last part of the trajectory, there will be fast-varying signals. CFDO meets the demand of these systems perfectly: FDO guarantees the accuracy, chattering is limited in most part of time, and SMC helps the system to respond fast while facing enormous variations.

#### 5. Conclusion

This paper proposes a compound fuzzy disturbance observer based on sliding modes. The equivalent disturbance is sufficiently compensated by using the proposed CFDO when there exists huge modeling mismatch, and the disadvantages of FDO and SMC are avoided. The performance, especially the accuracy, of the system is improved. The switching gain of sliding mode controller is designed by disturbance estimation error, and the reduction of switching gain helps to weaken the chattering.

The method has been validated by experiments. By using the proposed method, the maximum tracking error decreases from 0.037 deg to 0.028 deg in low-frequency condition with the reference of , and from 0.652 deg to 0.203 deg in high-frequency condition with the reference of . Most servo motion control systems have similar characteristics as flight simulator; therefore, the theoretic results are able to be extended to other relational fields such as mechanical arm systems, camera tracking systems, and other servo motion control systems, especially those with high-precision requirement and deficient mechanical stiffness.

However, the coefficient about the fuzzy disturbance observer error can only be decided by trying in practice and an unsuitable parameter may lead to performance degradation or make the system unstable. In future work, better ways to decide switching gain will be studied and the fuzzy adjustable method will be optimized.

#### Acknowledgment

This work was supported by the National Natural Science Foundation of China (Grant no. 91216304).