Research Article | Open Access

# A Design Method for Fault Reconfiguration and Fault-Tolerant Control of a Servo Motor

**Academic Editor:**Yuqiang Wu

#### Abstract

A design scheme that integrates fault reconfiguration and fault-tolerant position control is proposed for a nonlinear servo system with friction. Analysis of the non-linear friction torque and fault in the system is used to guide design of a sliding mode position controller. A sliding mode observer is designed to achieve fault reconfiguration based on the equivalence principle. Thus, active fault-tolerant position control of the system can be realized. A real-time simulation experiment is performed on a hardware-in-loop simulation platform. The results show that the system reconfigures well for both incipient and abrupt faults. Under the fault-tolerant control mechanism, the output signal for the system position can rapidly track given values without being influenced by faults.

#### 1. Introduction

Modern wars require rapid troop mobility over a large combat field. This means that ground operation platforms have to accurately determine the current position and must also possess ground navigation ability [1]. Electromechanical tracking and stable servo platforms are designed based on this requirement. The platform consists of posture sensors, a main control unit, a servo control unit, a precision servo mechanism, and a signal receiving unit. The antenna is jointly controlled by rotation on a horizontal axial system (azimuth control) and on a vertical axial system (pitch control). Both axial systems use independent servo control systems, a transmission system, and a rotary actuator.

In the servo control unit, both the azimuth and pitch motors are DC servo motors. The inverting problem is complicated from a theoretical viewpoint and is constrained by operating conditions in actual applications. Multiple faults such as electrical brush faults, open circuits in component, interturn short circuits, and coil resistance caused by temperature increases may occur during operation, which leads to difficulties in system maintenance of DC motors. Friction is almost ubiquitous in servo systems. Nonlinear friction torque impacts greatly the dynamic and static performance of a system. As a consequence, the output response will have a large static error or produce steady-state limit-cycle oscillations. The influence on dynamic performance is manifest as the creep phenomenon at low speed [2, 3]. When static friction is greater than Coulomb friction, a conventional PI controller cannot eliminate the static error. Instead, it will cause a limit oscillation of the system response [4, 5]. Hence, high-precision position servo systems require a better controller to cancel out the influence of friction torque to yield higher system precision, a quicker response, and lower overshoots and static errors [6, 7]. It is well known that sliding mode control (SMC) is attracting a significant interest in servo system application research duo to its simplicity in application and good performance. Utkin’s book [8] is fully dedicated to SMC in this subject. Šabanovic [9] presents a comprehensive overview of the application of SMC methods in motion control systems.

In this paper, a servo control unit is investigated for electromechanical tracking and a steady servo platform. The effect of faults and nonlinear friction torque in the DC servo motor control system is first analyzed. Then an SMC is used for control of the DC azimuth and pitch servo motors, taking advantage of its nonlinear processing capacity. On this basis, a fault reconfiguration algorithm and an algorithm for rectifying the control parameters using the output of an observer are developed, both of which contribute to achieving active fault-tolerant control (FTC) of the system.

The remainder of the paper is organized as follows: Section 2 describes the servo motor system. Section 3 proposes the scheme for fault reconstruction and FTC. Experimental results are presented in Section 4, with conclusions in Section 5.

#### 2. System Description

Under normal conditions, DC servo motors used for azimuth and pitch control can be simplified into linear second-order elements. However, under low-speed conditions, the system shows severe nonlinearity because of strong friction. The system can be described by [10] where and represent the electrical angular position and speed, respectively, and is the amplification factor of the power amplifier, is the armature resistance, is the motor moment coefficient, is the voltage feedback coefficient, is the moment of inertia, is the control input, and is the output. () is the friction, given by the following. [11]

When , the static friction is

When , the dynamic friction is where is the driving force, is the maximum static friction, is Coulomb friction, is the proportionality factor for viscous friction torque, and and are very small positive constants.

Assume that , and are three nominal values. When considering the occurrence of faults in the controlled object, the following equation is obtained:

Then (1) can be written as where and are faults leading to variations in parameters such as and . Normally these are zero; otherwise, they are unknown nonlinear functions that can be described by the generalized fault in (4).

Actuator faults involve sticking, constant-gain variations or constant errors, and time-varying errors for execution of order in the control circuit. Then the input signal becomes , where is the actuator fault. Equation (5) can still be used to describe a system with an actuator fault, and then the generalized fault would be .

#### 3. FTC Algorithm for a Servo Motor

To ensure that the azimuth and pitch axis stabilization and tracking platform can operate reliably during combat missions, the tracking precision of the antenna should be guaranteed under all circumstances. Therefore, the most important purpose of fault diagnosis is to ensure that the system can maintain accurate tracking of the azimuth and pitch motors for a given angle, even under a fault condition, that is, to implement FTC for the system.

FTC is divided into passive and active fault tolerance for the control mechanism. Passive FTC only takes controller robustness into consideration and can assure system performance to a certain extent. However, its self-adaptive ability related to fault timing and amplitude is poor, so passive FTC has a limited fault tolerance capacity. On the contrary, active FTC readjusts the controller parameters after a fault has taken place and can even change the structure of a controller if necessary. Thus, it can greatly increase the system performance [12]. In this paper, fault reconfiguration is first constructed on the basis of a variable structure for the sliding mode, which leads to simultaneous active FTC for the servo motor. The general structure of the system is shown in Figure 1.

In Figure 1, is given by the system, is the input of the controlled object, and is the electrical angular position, detected by an angular displacement sensor. is the estimation (or reconfiguration) of the fault provided by the fault reconfiguration mechanism, and is the estimation of .

For the driving module and nonlinear system for the servo motor shown in Figure 1, a measurable signal and output are used to construct a state observer. On one hand, fault reconfiguration is realized; on the other hand, the estimation of the fault and other state variables are used to rectify the parameters of the SMC to achieve active FTC. Besides, the system utilizes only one sensor, which is the angular displacement sensor in the servo motor. This method reduces the number of sensors and has strong practicality for industrial application.

##### 3.1. Design of the Sliding Mode Controller

The advantage of SMC is that when a sliding mode occurs on a surface, the system has better invariance and robustness with regard to uncertainties such as modeling errors, parameter variations, and disturbances [13]. Therefore, SMC has greatly improved the robustness of fault diagnosis systems [14]. In addition, the SMC algorithm is simple and easy to implement for real-time engineering. Therefore, the SMC is first designed.

We define the control error as and choose the sliding surface as where .

When no fault has occurred (i.e., ), the reaching law is used as the basis for SMC [14]. The SMC iswhere .

It is evident from (7) that the system state variable is one of the basic prerequisites for accomplishing control. Thus, the key to realizing control is design of an effective state observer. When a fault occurs, FTC has to be accomplished in combination with fault evaluation.

##### 3.2. FTC Design

Considering that the state variable in (7) is immeasurable and that a fault influences the system, the following state observer and FTC are proposed using input and output signals.

First, the sliding mode observer for the system in (5) is where denotes the observed value of the corresponding variable and and are the coefficients to be designed ().

If the errors of the observer and the fault reconfiguration are defined as and , then the state estimation error dynamics can be obtained from (5) and (8):

is chosen as the Lyapunov function. Along the trajectory of system (9), the derivative of the Lyapunov function with respect to time is

If is chosen such that and , then . Then, after a limited time , the sliding mode is reached. Then can be obtained based on the equivalent principle for the sliding mode variable structure [15]. That is, where is the equivalent output injection value of the discontinuous term, which is used to estimate .

Next, is chosen as the Lyapunov function.

By considering the previous steps, the time derivative of along the trajectories of system (10) is given by

Assuming that is a bounded function and the system has input-to-state stability before and after the fault; then is also a bounded function. Hence, a large enough is chosen to make (14) negative definite; that is, , and is obtained.

Similarly, according to the equivalent principle for the sliding mode variable structure, it follows that a sliding motion takes place in finite time and during the sliding motion and thus from (10)

To reduce chattering in the sliding mode variable structure and eliminate high-frequency interference, a continuous function can be used to replace the sign function in (13) and (16) [16]. The fault reconfiguration can then be expressed as where and are small positive constants.

The FTC algorithm is where

The procedures of the system control algorithm are summarized as follows.

*Step 1. *Construct the sliding state observer using (8).

*Step 2. *Calculate the estimated value of using (17).

*Step 3. *Calculate the reconfigured value of the generalized fault using (18).

*Step 4. *Calculate the FTC output using (19), in which is the rectified value that the controller uses to overcome the effect of the fault on the system.

#### 4. Experiments

For a real-time control program it is more difficult to rectify online parameters and monitor the system in real time. Debugging is time consuming and expensive. Hardware-in-loop (HIL) simulation and debugging are used to test and verify the effectiveness of the proposed control algorithm. In HIL simulation, the part that needs to be inspected represents the actual object and the other part is simulated digitally. Compared with pure digital simulation, this method is closer to real conditions. Simulink/xPC is used to carry out HIL simulation of our position servo system. xPCTarget is a product based on the framework provided by RTW (Real-Time Workshop) in MATLAB and this tool kit can provide a real-time simulation environment in which the host and target machines are independent from each other using standard PCs. In this environment, a model is built on the host machine using Simulink. The model is compiled as an executable file through RTW and a C compiler. The executable file is sent from the host to the target machine via serial port communication for operation. Thus, xPCTarget provides a precise approach for accomplishing simulation between two machines.

##### 4.1. Configuration of the HIL Simulation System

In the environment MATLAB/xPCTarget, the real-time simulation system is constructed with the host machine and the target machine based on two microcomputers. The configuration is shown in Figure 2.

The host machine is a PC that controls the algorithm online and achieves real-time interaction during simulation. The PC is responsible for operating Matlab/Simulink/RTW to generate the code in real time, and performing interaction control and curve display functions during operation. The target machine is also a PC equipped with a GT-400-SV controller with an I/O interface board. The core of the controller is an ADSP2181 digital signal processor and FPGA, which implements high-performance control and computation. The target machine is responsible for executing the code downloaded by the host machine and performing data exchange with the external object via the I/O channel. The external object comprises the DC servo motor, the drive circuit consisting of the isolated driver circuit and the power switch tube, and the incremental photoelectric encoder. This type of HIL simulation is also known as rapid control prototyping.

##### 4.2. Experiments and Results

Under a Simulink environment, the control algorithm determined by (8) and (17), (18), and (19), and the position detection signal of a photoelectric encoder are delivered to a PC for real-time online control according to a given position signal. The control signal thus produced drove the DC servo motor using a drive circuit and simultaneously reconfigured the system fault.

During system operation, serial communication between the host machine and the target machine enables the host to receive a real-time feedback signal from the motor. The response curve is displayed in real time during system operation. The control parameters are also rectified in the Simulink environment according to the control state reflected by the curve until satisfactory system performance is achieved. Finally, an executable code is directly transferred from the host to the target machine, which is the core of the system control, and thus rapid prototyping of the control system is accomplished.

Since the system shows strong nonlinearity only under low-speed conditions, a low-amplitude and low-frequency sinusoidal signal are used as the given position signal, chosen as rad; the system noise is a uniformly distributed random number; the nominal resistance for the system is ?O; and the control system parameters are , and .

The fault configuration ability and fault-tolerant performance of the system are tested by the following two types of faults.

*Case 1. *An incipient actuator fault is given as .

The experimental results obtained using xPC Target for Scope are shown in Figures 3, 4, and 5. From Figure 3 it is evident that in spite of the fault under the FTC mechanism the actual output signal of system rapidly tracks the given value immediately after ?s and is no longer impacted by the fault.

Figure 4 shows the waveform for the actual speed and the observed speed value. It is evident that the observed speed value can rapidly track the actual speed value , which is a good foundation for implementing fault reconfiguration and FTC.

Figure 5 shows the corresponding waveform for incipient fault reconfiguration. It is evident that, after *t* > 0.5?s, good reconfiguration of the fault is obtained.

*Case 2. *An abrupt actuator fault is given by a step waveform.

When ?s, an abrupt fault occurs for which the amplitude is four times that in Case 1. The observer and controller parameters have the same values as in Case 1. Figure 6 shows the waveform of the fault reconfiguration. After ?s, good reconfiguration of the fault is obtained.

#### 5. Conclusion

This paper presents a design for fault reconfiguration and FTC integrated in a built-in test system for electromechanical tracking of a servo platform. In comparison with fault detection by evaluation of residuals, the proposed fault reconfiguration approach better overcomes false or missing diagnoses for incipient faults. More importantly, the fault reconfiguration not only detects fault occurrences but also estimates the waveform and amplitude of the fault development, so that more precise fault diagnosis can be implemented. Furthermore, a simplified hardware configuration can be achieved by specific design of the state observer in which the observation of other state variables can be carried out as long as the value of one of them is known. Specific to this case, one angular displacement transducer is sufficient for data collection for the application example considered. The experimental results indicate that, in addition to efficient reconfiguration of actuator faults, the present algorithm allows the position output of the servo system to rapidly track the signal of a given position, even under fault conditions, which means that effective FTC is accomplished.

#### Acknowledgments

This work is supported by the Natural Science Foundation of China (nos. 61273157 and 61104024), Hunan Provincial Natural Science Foundation of China (no. 13JJ8020), and Hunan Province Education Department (no. 12A040).

#### References

- X. S. Wen, Y. C. Xu, X. S. Yi, and X. Chen,
*Theory and Application of intelligent Built in Test*, National Defence Industry Press, Bejing, China, 2002. - B. Armstrong-Hélouvry, P. Dupont, and C. C. de Wit, “A survey of models, analysis tools and compensation methods for the control of machines with friction,”
*Automatica*, vol. 30, no. 7, pp. 1083–1138, 1994. View at: Publisher Site | Google Scholar - L. Xu and B. Yao, “Adaptive robust control of mechanical systems with non-linear dynamic friction compensation,”
*International Journal of Control*, vol. 81, no. 2, pp. 167–176, 2008. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - S. L. Chen, K. K. Tan, S. Huang, and C. S. Teo, “Modeling and compensation of ripples and friction in permanent-magnet linear motor using a hysteretic relay,”
*IEEE/ASME Transactions on Mechatronics*, vol. 15, no. 4, pp. 586–594, 2010. View at: Publisher Site | Google Scholar - H. Chaoui and P. Sicard, “Adaptive fuzzy logic control of permanent magnet synchronous machines with nonlinear friction,”
*IEEE Transactions on Industrial Electronics*, vol. 59, no. 2, pp. 1123–1133, 2012. View at: Publisher Site | Google Scholar - X. Li and W. Chen, “Application of active disturbance rejection controller for high precision servo system,” in
*Proceedings of the International Conference on Mechatronic Science, Electric Engineering and Computer (MEC '11)*, pp. 2467–2470, Jilin, China, August 2011. View at: Publisher Site | Google Scholar - S. Li and Z. Liu, “Adaptive speed control for permanent-magnet synchronous motor system with variations of load inertia,”
*IEEE Transactions on Industrial Electronics*, vol. 56, no. 8, pp. 3050–3059, 2009. View at: Publisher Site | Google Scholar - V. Utkin, J. Guldner, and J. X. Shi,
*Sliding Mode Control in Electro-Mechanical Systems*, Taylor & Francis, London, UK, 1999. - A. Šabanovic, “Variable structure systems with sliding modes in motion control—a survey,”
*IEEE Transactions on Industrial Informatics*, vol. 7, no. 2, pp. 212–223, 2011. View at: Publisher Site | Google Scholar - S. L. Chen, K. K. Tan, and S. Huang, “Identification of coulomb friction-impeded systems with a triple-relay feedback apparatus,”
*IEEE Transactions on Control Systems Technology*, vol. 20, no. 3, pp. 726–737, 2012. View at: Publisher Site | Google Scholar - S. W. Lee and J. H. Kim, “Robust adaptive stick-slip friction compensation,”
*IEEE Transactions on Industrial Electronics*, vol. 42, no. 5, pp. 474–479, 1995. View at: Publisher Site | Google Scholar - Z. F. Gao, B. Jiang, P. Shi, M. S. Qian, and J. X. Lin, “Active fault tolerant control design for reusable launch vehicle using adaptive sliding mode technique,”
*Journal of the Franklin Institute*, vol. 349, no. 4, pp. 1543–1560, 2012. View at: Publisher Site | Google Scholar | Zentralblatt MATH | MathSciNet - Y. Q. Wu, J. Z. Gu, and X. H. Yu, “Finite time sliding mode control for time delay systems,” in
*Proceedings of the 4th World Congress on Intelligent Control and Automation*, pp. 872–877, Shanghai, China, June 2002. View at: Google Scholar - X. Yu, B. Wang, and X. Li, “Computer-controlled variable structure systems: the state-of-the-art,”
*IEEE Transactions on Industrial Informatics*, vol. 8, no. 2, pp. 197–205, 2012. View at: Publisher Site | Google Scholar - S. K. Spurgeon, “Sliding mode observers: a survey,”
*International Journal of Systems Science*, vol. 39, no. 8, pp. 751–764, 2008. View at: Publisher Site | Google Scholar | MathSciNet - G. Bartolini, A. Pisano, L. Fridman, and E. Usai,
*Modern Sliding Mode Control Theory*, vol. 375 of*Lecture Notes in Control and Information Sciences*, Springer, Berlin, Germany, 2008. View at: Publisher Site | MathSciNet

#### Copyright

Copyright © 2013 Jing He and Changfan Zhang. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.