Journal of Sensors

Volume 2016, Article ID 9307560, 9 pages

http://dx.doi.org/10.1155/2016/9307560

## Fault Reconstruction Based on Sliding Mode Observer for Current Sensors of PMSM

College of Electrical and Information Engineering, Hunan University of Technology, Zhuzhou, Hunan 412007, China

Received 6 January 2015; Revised 20 April 2015; Accepted 20 April 2015

Academic Editor: Mehmet Karakose

Copyright © 2016 Changfan Zhang et al. 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.

#### Abstract

This paper deals with a method of phase current sensor fault reconstruction for permanent magnet synchronous motor (PMSM) drives. A new state variable is introduced so that an augmented system can be constructed to treat PMSM sensor faults as actuator faults. This method uses the PMSM two-phase stationary reference frame fault model and a sliding mode variable structure observer to reconstruct fault signals. A logic algorithm is built to isolate and identify the faulty sensor for a stator phase current fault after reconstructing the two-phase stationary reference frame fault signals, which allows the phase fault signals to be reconstructed. Simulation results are presented to illustrate the functionality of the theoretical developments.

#### 1. Introduction

Permanent magnet synchronous motors (PMSMs) are an important category of electric machines, in which the rotor magnetization is created by permanent magnets attached to the rotor. Due to their high efficiency, high ratio of torque to weight, high power factor, faster response, and rugged construction, PMSMs are widely used for high performance variable speed motors in many industry applications. With the development of permanent magnet materials, especially the neodymium-iron-boron (Nd-Fe-B), which has high magnetic energy, high coercive force, and low price, the applications of PMSMs have become more extensive in recent years.

High performance systems usually have demanding requirements on availability, reliability, and survivability [1]. The reliable operation of PMSM is a primary concern for the entire ship system. Early detection of abnormalities in the PMSM drives will help to avoid failures. Indeed, detection, location, and analysis of faults play a very important role in reliable operation of electrical machines and are essential for major concerns such as efficiency and performance of applications involving PMSM drives. Sensor failure is one of several faults occurring in drive systems. Sensors are of great importance in the installation of monitoring and control systems. However, in most publications, detection of inverter faults or physical damage of the electrical machine is considered, rather than sensor faults. This paper proposes a method of phase current sensor fault detection and reconstruction for PMSM control systems.

In recent years, fault-tolerant control has been developed, which can be realized by reconstructing phase currents to substitute current feedback after the fault occurrence. For example, Lu et al. [2] reconstructed three-phase current based on DC bus sensors for fault-tolerant control for electric machines. Salmasi and Najafabadi [3] observed faulty phase stator currents based on an adaptive observer when there is only one normal phase current sensor. However, these designs do not separate fault signals from faulty sensors. Therefore, no further information can be obtained on the sensor state itself.

Due to the simplicity of the two-axis --model, it has become the most widely used model in electric machine engineering controller design. The --model offers significant convenience for control system design by transforming stationary symmetrical AC variables to DC variables in a rotating reference frame. Therefore, for electric machine sensor fault detection, the - axis currents, and , are assumed to be measured directly through sensors. Najafabadi et al. [4] detected - axis current sensor faults based on an adaptive observer. Liu [5] used a nonlinear parity relation method for detection of additive faults for virtual sensors for - axis currents. Huang [6], an unknown input observer was designed for detection of axis stator current residuals for induction motor. However, the two currents, and , are not practically measurable. These two virtual sensing signals are calculated from the measured phase current, , by applying a linear Clarke transformation. Abnormal changes in and may indicate a fault appearing in the phase current sensors, but this design will not provide more specific information. Furthermore, as the calculations of and are coupled, if a fault occurred in the measurement devices for , consequential faults in and will appear simultaneously. Hence, it is relatively difficult to detect the abnormal signals in the measurement devices for .

Sliding mode techniques are known for their robustness and insensitivity to the so-called matched uncertainty. Therefore these techniques offer great potential for robust fault detection and isolation (FDI) [7–10]. Faults are classified according to their physical locations into system, actuator, and sensor faults. Compared with actuators, sensors are passive elements in the sense that they only provide operational information about the system and do not affect the system behavior directly. Thus they have been less studied compared to actuator fault detection and isolation. This paper presents a method in which, using a newly designed filter, the sensor faults can be modeled as pseudoactuator faults. Then, using the transformed system structure and characteristics of the designed filter, a sliding mode observer is proposed to reconstruct the sensor fault in the system [11–13].

The paper is organized as follows. Section 2 describes a surface-mounted PMSM with current sensor faults. Section 3 proposes the method for reconstruction of faults. Section 4 presents simulation results and conclusions in Section 5 follow.

#### 2. System Formulation

In the - rotor reference frame, a surface-mounted PMSM with current sensors faults can be expressed as the following dynamic model:where , , , , and are the state variables, inputs, outputs, rotor flux, and sensor faults, respectively. Then the matrices are defined aswithwhere , , , and are the - axis currents and voltages, respectively; is the rotor permanent magnet flux linkage; is the electrical rotor angular position; , , , and are the - axis stator flux linkages and current sensor faults, respectively; is the stator resistance; , , and are the - axis stator inductances and electrical rotor speed, respectively; and and are the stator and axis inductances, respectively. The surface-mounted PMSM stator winding shows the same electrical inductance on both and axes; that is, , where is the stator inductance.

#### 3. Sensor Faults Reconstruction Based on Sliding Mode Variable Structure

The section proposes a novel method to reconstruct the phase current sensor faults for PMSM drives. Before dealing with the faults, an extended - axis fault model of PMSM is reformulated by using a transformation filter, which increases the system’s state. Then, a sliding mode observer is constructed to reconstruct - fault signals. A logic algorithm is built to convert the reconstructed - fault signal into -phase, so as to reconstruct phase current sensor faults.

##### 3.1. Extended PMSM - Axis Fault Model and Sensor Faults Reconstruction

For system (1), a low-pass linear filter is introduced [11]: where is the new vector state; and are constant matrices, which are design parameters to be defined later; and is the output.

Combining systems (1) and (4), we have

Then, the following augmented system can be obtained:where is the sensor faults of system (1). The new state variables and matrices in a compatible way with system (6) are as follows:

Therefore, following this transformation, the system is extended and the initial sensor fault problem has become an actuator fault problem. The corresponding extended fault model is

This paper focuses only on sensor faults, which have been transformed into pseudoactuator faults in system (8).

*Assumption 1 ( is observable). *When is a nonsingular matrix, if in system (1) is observable, in system (8) will still be observable [14].

Therefore, there is a matrix , which makes a stable matrix and satisfies the Lyapunov function:where matrices , are symmetric positive definite.

*Assumption 2. *There is a matrix , such that .

*Assumption 3. *A fault in the system is a bounded function, such that , where is a selected scalar larger than 0.

The sliding mode observer for system (8) can be designed aswhere and are the estimated states and outputs, respectively, and is the sliding mode signal, defined aswhere is the observer gain and is a positive scalar. Both of these need to be designed.

If the state estimation errors are defined as and , then from (8) and (10), the state estimation error dynamical system is

The convergence of the above observer is guaranteed by the following proposition.

Proposition 4. *Considering the system described by (8) and its observers described by (10), if Assumptions 1–3 hold, the parameter of the observer is selected according to the following criteria:and thus is asymptotically convergent; that is, .*

*Proof. *For system (12), consider a Lyapunov function candidate . The time derivative of along the trajectories of system (12) is and it follows thatThen, under Assumption 3, the following can be obtained from (15):from which is negative definite. From the Lyapunov theorem, observer (10) is designed asymptotically stable.

It can be known from above that will make asymptotic convergence to zero; that is, .

This completes the proof.

Proposition 4 implies that is bounded; that is, exists, and when ,where is a finite positive scalar.

*Remark 5. *The obtained control algorithm of a sliding mode observer is simple and easy to implement. Because of the excellent robustness of the sliding mode variable techniques, the dependence on the precise mathematical model can be effectively reduced. The performance of the observer can be ensured in the case of a system modeling error, parameter perturbation, and the unknown inputs such as external noise and disturbance. Therefore, it has very strong engineering practicability.

Consider a sliding mode surface:Proposition 4 implies that the sliding mode dynamics of the error system (12) associated with the sliding surface (18) is stable. According to the sliding mode theory, observer stability will be guaranteed upon proving that the error system can be driven to the sliding mode surface in finite time by choosing an appropriate gain of for the input signals (11). In view of this, the conclusion is presented by the following proposition.

Proposition 6. *If Assumptions 1–3 hold and is sufficiently large, then the error system (12) will be driven to the sliding mode surface in finite time.*

*Proof. *Selecting the Lyapunov functionthen the time derivative of along the trajectories of system (12) is Thus, from (17), there isThe variables can be defined asSince , it follows that . So the scalar in (11) satisfies , and can be selected to be large enough to satisfy thenThis shows that the sliding mode reachability condition is satisfied. As a consequence, according to sliding mode principle [15], an ideal sliding motion will take place on the surface after some finite time.

This completes the proof.

When the system reaches the sliding mode surface, according to the sliding mode equivalent principle [9]. This impliesand, from (12) and (25), the fault reconstruction equation can be got in the form ofthat is, the fault is now equivalent to the sliding mode signal.

*Remark 7. *Unlike many other methods which use residuals to diagnose the occurrence of sensor fault qualitatively, the method of fault reconstruction presented in this paper estimates the current sensor fault quantitatively. By this way, not only the original appearance of a fault can be reflected vividly, but also more specific fault information can be obtained. It actually becomes the important basis of adopting more targeted measures to eliminate the effect of fault on PMSM drives or achieving the active fault-tolerant control proposal as presented in this paper.

##### 3.2. Reconstructing the Phase Current Sensors Fault Signals

As mentioned previously, a fault on one of the - axis current sensors can be reconstructed. But this design will not provide more specific information whether the faulty sensor is in phase “” or “.” Therefore, the phase current sensor fault isolation and identification become somewhat complicated. To overcome this problem, a logic algorithm is constructed, devoted to transforming the - axis fault signals in -phase fault signals of PMSM. Thus, the phase current sensor faults will be reconstructed.

Generally, for electric motors, only two phase sensors are used. That is based on considerations of cost and the fact that the three phase currents make a vector sum to zero in a star connected system without a neutral line. So, in actual control systems of PMSM, the two phase stator currents, and , are measured by the phase current sensors, respectively, and the third phase current, , is calculated using .

A linear (3/2) Clarke transformation is applied to transform the three-phase plane coordinate system* ABC* to the two-phase plane rectangular coordinate system , the transformation equation is as below: where is a variable introduced, distinct from and , used for construction of the -- coordinate system, called the zero-axis current. The zero-axis is vertical to both and axes, and so it will have no influence on and axes.

For star connected systems without a neutral line, ; that is, . Equation (27) becomes

It can be seen that decoupling can be realized for current in this equation.

As discussed above, practically, currents and are calculated from phase currents and . Then, from (28), the effects of the stator - axis currents are related to the errors in phase and current sensors outputs:where and are the - axis sensor faults, respectively, and and are the and phase sensor faults, respectively.

From (28) and (29), the phase sensor faults and arewhere , are derived by reconstruction of the state observer in the previous section.

In addition, the actual phase current is

Thus, the phase current sensor fault signals can be reconstructed by transformation of the - axis fault signals of a PMSM.

*Remark 8. *In the previous literature [5, 6], the current sensor fault detection was usually corresponding to - axis, which is a virtual axis. In contrast, this paper proposes a new current sensor FDI algorithm which is directly corresponding to -phase, the actual mounting position of current sensor. This innovation can significantly improve the practicability of traditional FDI algorithm, as well as bring many potential applications.

#### 4. Simulation Study

To verify the effectiveness of the method proposed in this paper, the drive tests with respect to two types of faults have been carried out. One tested fault is the incipient fault and the other is the gain sensor fault. The parameters for the PMSM of this study are given in Table 1.