1. Introduction
Over the past decades, there has been a rapid increase in the deployment of surface-mounted permanent magnet synchronous motors (SPMSM) in industrial and commercial applications, such as wind energy conversion systems, hybrid electric vehicles, robotics, home appliances, etc. Adjustable speed SPM drives offer many distinct advantages including large torque to weight ratio, wide constant-power operating range, high efficiency and reliability, etc.
A wide variety of adjustable-speed control techniques have been studied in literature for permanent magnet AC motors. Among them, field oriented control (FOC) for SPMSM drives has reached industrial application maturity. FOC requires coordinate transforms and space-vector pulse width modulation (SVPWM), through which the flux and torque of AC machines are controlled independently [
1,
2,
3,
4,
5]. In order to eliminate these requirements, direct torque control (DTC) was proposed as a powerful alternative [
6,
7]. The advantages of DTC include fast dynamic responses, elimination of coordinate transforms and SVPWM. DTC also has minor disadvantages, in comparison with FOC, including: difficulties to control torque and flux at relatively low speed, variable switching frequency, larger harmonics, larger noise level and ripples at low speed range. Despite the aforementioned shortcomings, DTC is also a feasible solution for commercial permanent magnet AC drives.
DTC is in nature “sensorless”, as rotor position is not required for performing coordinate transform [
6,
7]. However, it relies on the information of stator flux vector. Especially, at relatively low speed range, due to inaccurate estimation of flux vector, DTC suffers from the performance degradation. Sensorless estimation of stator flux and rotor speed has to be designed to preserve the advantages of direct torque control. For traditional DTC, stator flux linkage (
) is estimated through integrating stator induced voltage over time.
Even minor dc offsets in voltage or current signals accumulated by integration will form a substantial disturbance. Hence, traditional estimation of
contains large and noisy ripples [
8,
9,
10].
To improve the estimation of stator flux linkage, various estimators have been developed including the back-emf integration methods such as low-pass filtering [
11,
12,
13], and stabilizing the integrator with a PI-corrector or current offset methods [
14,
15,
16,
17]. However, these approaches are not designed for real-time estimation. The sliding mode observer (SMO) is developed for providing real-time state estimates for permanent magnet synchronous motors in [
18,
19,
20]. However, higher-order derivatives presented in SMO are not desirable for hardware implementations. The extended Kalman filter (EKF) is a popular approach for sensorless control scheme. However, the performance of EKF deteriorates or may even become unstable under measurement failure conditions [
21,
22,
23,
24,
25,
26,
27].
To improve EKF performance under external disturbances, noise and measurement failures, this paper presents a comparative study of the extended Kalman filter (EKF), the resilient extended Kalman filter (REKF), and the unscented Kalman filter (UKF)-based sensorless direct torque control approaches for SPMSM drives. Computer simulation studies and hardware implementation results have shown the efficiency and superior performance of the resilient extended Kalman filter and the unscented Kalman filter over the traditional extended Kalman filter for sensorless direct torque control applications.
This paper is organized as follows:
Section 2 presents the dynamics of surface-mounted permanent magnet synchronous motors.
Section 3 provides the overall control scheme of direct torque control.
Section 4 presents the traditional extended Kalman filtering, the resilient extended Kalman filter and the unscented Kalman filter for nonlinear estimation. Computer simulation results and hardware implementation results are illustrated in
Section 5. Finally, conclusions are summarized in
Section 6.
2. Dynamics of Surface-Mounted Permanent Magnet Synchronous Motors
Applying Park’s transform, the surface-mounted permanent magnet synchronous motors (SPMSM) can be modeled as follows:
It should be noted that the direct and quadrature axis stator inductance are the same for SPMSM, i.e., , as no rotor saliency exists.
Equivalently, the current frame of reference model can be reached as follows:
The developed electromechanical torque is
Note that the mechanical and electrical angular velocities are related by
The mechanical dynamics can be summarized as
Applying (
8) and (
9), we have
and
The external torque load
is also considered as state variable, which is assumed to be constant over a brief period of sampling time
, i.e., we have
The continuous-time SPMSM state space model can be written as follows:
where we have
and
Notice that subscript c represents continuous-time signals.
Applying Euler’s discretization, the discrete-time system model can be reached as follows:
where
is the sampling time.
Based on Jacobian matrices computation, a linear-time-invariant discrete-time state space model can be reached as follows:
where we have
The measurement equation can be expressed as:
and
3. Direct Torque Control
Direct Torque control (DTC) was proposed by I. Takahashi for controlling induction motors in the mid 1980s [
6,
7]. The main feature of DTC is to apply appropriate voltage space vectors for voltage source inverter (VSI) from a predefined switching table. Voltage vectors with their position in space is shown in
Figure 1. The six voltage space-vectors
divides the space domain into six equal-area sectors. Either
or
can be used to represent a null vector at the origin. As DTC does not rely on pulse-width-modulation for generating the inverter voltage vectors, it requires less computational time with a reduced structure.
The overall scheme of the sensorless direct torque control with nonlinear Kalman filtering is shown in
Figure 2. The desired stator flux
and torque
are compared with the estimated stator flux
and torque
in the hysteresis flux and torque controllers, respectively. The flux controller is a two-level hysteresis comparator, whereas the torque controller is a three-level hysteresis comparator. The flux and torque hysteresis comparators are illustrated in
Figure 3.
The digitized output signal of the flux controller are defined based on
where
is the flux tolerance band.
The digitized output signal of the torque controller are defined based on
where
is the torque tolerance band.
The stator flux sector index
N is obtained from the computed angular position
Together with digitized variables
and
, a digital address for accessing an EPROM or EEPROM can be created. Hence, the appropriate voltage space-vector can be selected, which is governed by the switching rules in
Table 1. Hence, the voltage source inverter can produce the desired three-phase voltages for controlling rotation.
4. Nonlinear Estimation
First, we revisit the traditional extended Kalman filter [
28,
29]. Over the past 40 years, EKF has been the most widely used nonlinear estimation technique for various industrial applications [
30,
31,
32]. In order to provide a more reliable nonlinear estimation against external disturbances, noise, bad data and measurement failures, we propose the unscented Kalman filter (UKF) and the resilient extended Kalman filter (REKF)-based sensorless DTC technique for permanent magnet synchronous motors.
4.1. Extended Kalman Filter
Consider the discrete-time nonlinear system dynamics and measurement equation given as follows:
The extended Kalman filter estimation consists two steps: time update and measurement update.
First, define the following Jacobian matrices:
For time update, we compute the priori covariance and priori state estimate
where
is the covariance matrix of process noise
at time step
k.
is the priori state estimate and
is the priori covariance matrix.
The measurement update can be summarized as follows
where
is the posteriori state estimate;
is the posteriori covariance matrix.
4.2. Resilient Extended Kalman Filter
Consider the discrete-time nonlinear stochastic system model and measurement equations as follows [
33]:
where
state vector
system noise
measurement vector
measurement noise in each phasor
measurement unit and
differentiable non-linear vector functions
The mean of initial state is and covariance of initial state is . The process and measurement noises, and , are white, zero mean, uncorrelated with each other and with , and have covariance and , respectively.
The scalar binary Bernoulli distributed random variables are with mean and variance whose possible outcomes 0,1 are defined as and . The formulation involves hard measurement failures, where the sensor either works properly or fails to provide reliable estimation.
By denoting
the measurement equation can be written as
Our goal is to estimate the state vector based on our knowledge of system dynamics and the availability of the noisy measurement under the effect of sensor failures. The following discrete time nonlinear Luenberger observer is considered in this work.
Although the filter gain should be
, due to computational or tuning uncertainties, it is erroneously implemented as
. The term
is defined as
is the feedback gain with additive uncertainty
. The uncertainty
, is assumed to have zero mean, bounded second moment and be uncorrelated with initial state, process and measurement noises, i.e.,
The resilient extended Kalman filter is defined as follows:
Computation of Jacobian matrices
For time steps
, the estimator propagates by calculating the feedback gain
from an upper bound on the local estimation error covariance
to be used in updating the state estimate as
where
4.3. Unscented Kalman Filter
Consider the following system and measurement equations [
34,
35,
36,
37,
38].
where
The initial state has a mean and a covariance . The process and measurement noise are white Gaussian noise (WGN), which can be expressed as , . The initial state variables obey normal distribution with and . The size of the sigma points is , from which the UKF can be implemented using the following steps:
Define sigma points
and weights
for
as follows:
The weighing coefficients are determined by
where the weight must agree
and
is
row or column of the matrix square root of
.
Process Update
The priori mean and covariance of the estimated value
can be obtained using the transformed sigma points as follows:
Output Covariance Update
The predicted measurement is
Cross-correlation Update
The cross-correlation
is determined by
Measurement Update
The final measurement update can be performed using normal Kalman filter equations as: The Kalman gain
can be written as follows:
The posteriori covariance matrix
and the estimated state variable
can be expressed as follows:
5. Computer Simulation Studies and Hardware Implementations
Computer simulation studies and Texas Instrument TMS320F28335 DSP processor implementations have been developed to show the efficiency of proposed sensorless direct torque control approach. The testing SPMSM parameters are summarized in
Table 2. The hardware implementation is shown in
Figure 4.
The final reference speed of SPMSM motor is set to be 400 mechanical rad/s. An external load of 1.5 Nm is applied at 0.5 s.
Figure 5,
Figure 6,
Figure 7 and
Figure 8 show rotor speed, developed torque, stator flux, quadrature-axis stator current estimation comparisons, respectively. Figures in the first, second and third row show EKF, REKF and UKF estimation results, respectively. The first column figures are nonlinear estimation results under sensing failure condition. The second column figures are nonlinear estimation results without sensing failures. Note that EKF, UKF and REKF all converge to the real-state values. However, since the EKF uses first-order linearization to update the covariance of the state, it shows more estimation error compared with REKF and UKF.
Without measurement failures, the estimation error comparisons of EKF, UKF and REKF are summarized in
Table 3,
Table 4 and
Table 5. In comparison with EKF and REKF, UKF shows superior accuracy in torque, speed, and current estimation, under the condition that all sensors work properly. Under no sensing failure condition, UKF tracks the real state variables more closely with less ripples, since it relies on the unscented transformation to characterize the probability density function, without linearization involved. EKF truncates Taylor series of the mean at the first term, its prediction error of the mean value is in the second and higher order terms. EKF truncates at the first term of the covariance matrix, therefore, it is correct up to the second order with errors in fourth order term and above. UKF does not truncate any terms of the Taylor series, but uses sigma points through nonlinear transformation to decide the mean and covariance.
Under the sensing failure condition, computer simulations are conducted based on the assumption that each sensor has failure rate. Scalar binary random variables following Bernoulli distribution are generated for the measurements in order to produce random sensing failures. In another word, the sensor either works properly or fail to provide true measurements with a probability of . In this case, the resilient extended Kalman filter provides more reliable state estimation with greater accuracy compared to EKF and UKF, since the resilient extended Kalman filter is designed to handle measurement failures. Hence, REKF is a more robust nonlinear estimation approach.