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

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.


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.

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  1 and  2 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.  ( 2 , ) is the friction, given by the following [11].
When | 2 | < , the static friction is When | 2 | > , the dynamic friction is where () is the driving force,   is the maximum static friction,   is Coulomb friction,  V is the proportionality factor for viscous friction torque, and  and  1 are very small positive constants.Assume that  1 =     /,  2 =   (  /), and  3 = 1/ 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 Δ 1 and Δ 2 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   =  2   ().

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.F is the estimation (or reconfiguration) of the fault provided by the fault reconfiguration mechanism, and x2 is the estimation of  2 .
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.

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  =  −  1 and choose the sliding surface as where  > 0.
When no fault has occurred (i.e.,   = 0), the reaching law is used as the basis for SMC [14].The SMC is where  > 0.
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.

FTC Design.
Considering that the state variable  2 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  1 and  2 are the coefficients to be designed ( 1 ,  2 > 0).
If the errors of the observer and the fault reconfiguration are defined as  1 =  1 − x1 and  2 =  2 − x2 ,   =   ( 2 , ) −   ( x2 , ), then the state estimation error dynamics can be obtained from ( 5) and ( 8): 1 is chosen as the Lyapunov function.Along the trajectory of system (9), the derivative of the Lyapunov function with respect to time is Then, after a limited time  1 , the sliding mode is reached.Then  1 = ė 1 = 0 can be obtained based on the equivalent principle for the sliding mode variable structure [15].That is, where ( 1 sgn  1 ) eq is the equivalent output injection value of the discontinuous term, which is used to estimate  2 . Next, ) is chosen as the Lyapunov function.
By considering the previous steps, the time derivative of  2 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  2 is chosen to make (14) negative definite; that is,  2 > |  | +  3 |  |, and  2 ė 2 ≤ − 1  2 2 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  1 and  2 are small positive constants.The FTC algorithm is where The procedures of the system control algorithm are summarized as follows.

Mathematical Problems in Engineering
Step 1. Construct the sliding state observer using (8).
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.

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-inloop (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.

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.

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  = 0.1 sin(2) rad; the system noise is a uniformly distributed random number; the nominal resistance for the system is  = 7.77 Ω; and the control system parameters are  1 =  2 = 0.01,  = 5,  1 = 1,  2 = 20, and  = 30.
The fault configuration ability and fault-tolerant performance of the system are tested by the following two types of faults.
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  1 rapidly tracks the given value immediately after  > 0.5 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 x2 can rapidly track the actual speed value  2 , 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  > 1s, 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  > 0.5 s, good reconfiguration of the fault is obtained.

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.

Figure 1 :
Figure 1: Structural diagram of FTC of a servo motor.

Figure 4 :
Figure 4: The speed and its estimation.

5 Figure 5 :
Figure 5: The incipient fault and its reconstruction.

4 Figure 6 :
Figure 6: The abrupt fault and its reconstruction.