Skip to main content
Sensors (Basel, Switzerland) logoLink to Sensors (Basel, Switzerland)
. 2019 Aug 14;19(16):3546. doi: 10.3390/s19163546

Sensorless Control of the Permanent Magnet Synchronous Motor

Konrad Urbanski 1,*, Dariusz Janiszewski 1
PMCID: PMC6721119  PMID: 31416233

Abstract

This paper describes the study and experimental verification of sensorless control of permanent magnet synchronous motors with a high precision drive using two novel estimation methods. All the studies of the modified Luenberger observer, reference model, and unscented Kalman filter are presented with algorithm details. The main part determines trials with a full range of reference speeds with a special near-zero speed area taken into account. In order to compare the estimation performances of the observers, both are designed for the same motor and control system and run in the same environment. The experimental results indicate that the presented methods are capable of tracking the actual values of speed and motor position with small deviation, sufficient for precise control.

Keywords: PMSM, permanent magnet motors, sensorless control, observers, variable-speed drives, Kalman filter

1. Introduction

Permanent magnet synchronous motors (PMSM) are commonly used in machining tools and industrial power systems. PMSM-based drives are used in industry both in the drives with the highest precision and those without. The basic advantages of the PMSM drive are high dynamics and high energy efficiency. These attributes result from a small moment of inertia, a high torque to weight ratio, and negligible electrical losses in the rotor. The disadvantage of the traditional PMSM drive is the need to know the flux position. Information about the current position of the shaft flux is used to control the transformation between the coordinate systems and to determine the rotational speed. Eliminating the mechanical sensor that is used to measure the speed and position of the shaft will make it possible to obtain low-cost solutions (the cost of the sensor and its installation) and more compact construction (two-side shaft) and will increase the reliability of the drive [1].

Controlled electric drives without mechanical speed and position sensors at the motor shaft are attractive because of low cost and high reliability. The adjective “sensorless” refers to the lack of any mechanical sensors, but the presence of electrical transducers. Readers can consult [2,3,4,5,6,7,8,9,10,11,12,13,14,15,16], current works on several developed methods, most of which are based on observer theory. One such work, considered here, is based on back electromotive force (EMF) estimation [17,18,19]. Another is the widely-known Kalman filter theory [20]. During all investigations, only terminal signals were used: stator voltages and stator currents, both for simulation and laboratory experiment proof.

In order to control the drive systems for the non-zero speed range, different methods for estimating the shaft position are used [21,22,23,24,25,26,27], including the Luenberger observer [17], the modified Luenberger observer (with multiple integrator) [24], and the above-mentioned Kalman filter [25]. In the case of sensorless drives in the low-speed range (assuming the following distinction for sensorless operation: low speed, the speed of a single revolution per second; very low speed, the speed of a single revolution per minute), it is usually assumed that the methods based on estimating the electromotive forces do not work properly [22,26,27]. This is explained by the small amplitude values of back EMF and a relatively high noise level in this speed range, which has an impact on the accuracy and stability of the back EMF estimator. Experimental tests have shown in [18] that even at the low speed, shaft position can be estimated using the back EMF observer with satisfactory accuracy. The question of the (estimated) speed calculation using common methods gives sufficient accuracy, for example the method based on the length of the back EMF vector or the derivative of the position of the shaft, whereas this range of speed usually does not give good results. The solution may be a new control structure, as presented in this paper.

This article is organized as follows. First, the design considerations are presented, and some problems in sensorless control are indicated. Next, the model of the PMSM oriented into observers’ structures is proposed. Then, the theoretical background of the unscented Kalman filter (UKF) and Luenberger observer with novel correction models is described. Finally, the effectiveness of the proposed sensorless control system is verified in the laboratory.

2. Sensorless Control

Achieving comparable speed control of an electrical machine with and without external shaft sensors is possible. Sensorless control is based on rejecting any mechanical sensors placed on the machine shaft during mechanical quantities’ control. As described in [2,28,29], that type of rejection provides advantages such as: increased reliability of the drive, ability to work in adverse environmental conditions, and a decrease in the cost of the drive system.

Field-oriented control can be called the classical method of PMSM control, where field orientation determines the space vectors of magnetic flux, current, and voltage [2,30,31,32]. This simple control scheme is presented in Figure 1. There is a two-axis flat space, perpendicular dq axes, where d is rotor flux coordinated. Thus, its magnitude position can be obtained directly from the rotor shaft by measuring the rotor angle. An optimally-efficient operation is achieved by the stator’s current control, which ensures that it contains only a quadrature q axis component [28,30]. It is possible to set up the coordinate system to decompose the vectors into electromagnetic field generation and torque production [33]. Field-oriented control ensures the high dynamic performance of the electric drive with PMSM and the PWM inverter.

Figure 1.

Figure 1

The proposed sensorless drive scheme.

2.1. Estimation Vector

In analyzing real motor and model behaviors, some variables should be specifically considered. From the observer’s point of view, some variables should be estimated because they are an important part of the state space model. Based on the analysis, complex mechanical structures of supplied electric drives are noted; such generalized load torque Tl can be helpful during control. The problem of this extended observation has often been noted in the literature [13,34,35]. The state space vector of the proposed observer is:

x_^=idiqωrγTlT, (1)

where id and iq are the dq axis currents, ωr is the rotor speed, γ is the mechanical shaft (excitation flux magnitude) position, and Tl is the generalized load torque.

2.2. Mathematical Model of PMSM

The classical control system statistical approach determines the state transition and measurement probability model of the system with densities:

px_t|x_t1,u_t (2)
py_t|x_t (3)

where x_tRnx denotes the states (hidden variables and/or parameters) of the system in time t and y_tRny known observations. The states follow a first order Markov chain process, and the observations are assumed to be independent given the states, so the model can be expressed as:

x_t=fx_t1,u_t,v_t1, (4)
z_t=hx_t,n_t, (5)

where u_tRnu denotes the input observations and v_tRnx and n_tRny are noises for the process and measurements, respectively. State space representation can be presented as:

x_t=Ft(x_t1)x_t1+Bt(x_t1)u_t+v_t1, (6)
z_t=Ht(x_t)x_t+n_t, (7)

The mathematical model of the considered PMSM can be divided into three main parts: the stator’s electrical circuit, electromechanical torque production, and the mechanical subsystem [36]. Some simplified assumptions should be introduced: saturation is neglected; inducted electromagnetic force is sinusoidal; eddy currents and hysteresis losses are neglected; no dynamical dependencies in the air-gap; no rotor cage. The rotor-oriented dq electrical network equations of PMSM can be described as:

ud=Rsid+LddiddtpωrLqiq, (8)
uq=Rsiq+Lqdiqdt+pωrLdid+pωrΨm. (9)

where ud, uq are the dq axis voltages, id, iq are the dq axis currents, Ld, Lq are the dq axis inductances, Rs is the stator resistance, and Ψm is magnetic flux produced by permanent magnets placed on the rotor.

The produced electromagnetic torque is given by the relationship:

Te=32pΨmLqLdidiq, (10)

where p is the number of pole pairs, and fraction 32 stems from frame conversion: perpendicular stator αβ into the rotor dq reference frame.

Drive dynamics can be described as:

TeTl=Jdωrdt, (11)

where Tl is load torque and J is the summary moment of inertia of the kinematic chain.

Based on (10) and (11), the movement equation is:

dωrdt=pJ32ΨmLqLdidiqTeJ. (12)

Rotor position γ can be described by the derivative equation of the rotational speed:

dγdt=pωr. (13)

For the presented approach, the assumption that load torque Tl is invariable in a small interval is true:

ddtTl0. (14)

The model can be described as the classical discrete function model, with sample time Ts as the state space model. The system parameters’ matrix Ft is:

Ft(x_^t)=1TsRsLdTsωrLqLd000TsωrLdLq1TsRsLqTsΨmLq000T100Ts1J00Ts1000001, (15)

where:

T1=Ts32pJΨfLqLdid

The output matrix Ht is a Clarke/Park transformation:

Ht(x_^t)=cosγsinγ00sinγcosγ00, (16)

and matrix Bt:

Bt(x_^t)=Ts1LdcosγTs1LdsinγTs1LqsinγTs1Lqcosγ000000. (17)

3. The Kalman Filter Sensorless Control

In control systems and statistics, the Kalman filter is a recursive algorithm with infinite impulse response [20]. This means that the derivative of the known estimate ddtx_, called the system trend, and the set of output measurements y_k are sufficient to estimate the current state of the system x_k at each time t(0,). For the Kalman filter, it is not necessary to know the history of observations. Mathematically, the Kalman filter states can be described by two variables: ddtx_, a trend that is the derivative of the current state estimate obtained based on knowledge of observation and Pk|k the uncertainty of that, the error covariance matrix of the estimation process.

The Kalman filter estimation process is divided into two subsequent stages: prediction and correction. The entire process filter’s computation is performed recursively to obtain the optimum value of the corrector Kk with an assumed error that is as small as possible ε. Prediction performs the state estimate x_^ based on the trend and input signal u_. Correction leads to improvements in the new estimate of the exact value x_^ based on the measured output y_k and the value of the corrector Kk. Prediction is also called time actualization and is based on knowing the derivative of the state ddtx_^. It is described as a relation in the presence of input u_:

ddtx_^=Fkx_^+Bku_. (18)

Innovation and some form of filtering at this stage cause updates with a vector of state variables x_ of the system covariance P, based on state function (18):

Pk|k1=FkPk1|k1FkT+Q. (19)

Correction, which is the actualization of the measurement, involves the introduction of the correction signal based on the measured output z_k. It is defined as the difference in response values of the observer and the measured output signal, like a residual:

y_˜k=z_kHkx_^k|k1. (20)

Additionally, the innovation covariance system is introduced, based on knowledge of the measurement covariance R:

Sk=HkPk|k1HkT+R. (21)

Based on the above, the mathematical form of the corrector can be determined by:

Kk=Pk|k1HkTSk1, (22)

which together with the calculated residual (20) corrects the state vector:

x_^k=x_^k1+Kky_˜k. (23)

With this correction of the state vector x_^k, the covariance is also corrected:

Pk|k=(IKkHk)Pk|k1. (24)

The above formula for the Kalman filter at optimal Kalman gain Kk is valid only for linear systems. Based on the above assumptions, Pk|k and the Kalman gain Kk are constant and can be derived once based on Fk, Bk, Hk. The calculation is usually carried out iteratively until there is a certain convergence to a consistent result.

There are many developments of the above technical procedure to gain Kk, which very often reduces the computational complexity. These are: extended Kalman filters (EKF) and the unscented Kalman filters, both extended for non-linear systems, as described below.

Unscented Kalman Filter

A main noticeable problem during the estimation of non-linear systems’ behavior exists: it is difficult to determine the probability distribution and the non-linear function of the state and output [37,38,39,40]. This means that the non-linear transformation of the deviation and the Jacobians needed for an extended Kalman filter do not determine the real covariances. An EKF is based on the classical Kalman filter with the following main assumption: linearity of the object. It is in this way that the covariances are calculated [20,38]. For the class of non-linear objects, the covariances should be associated with the process, but cannot be coupled to setpoint the linearized models of the object. Based on the particular analysis of non-linear systems, the covariance of the state should not be associated with a linearized system and can even be far from them.

An unscented Kalman filter is an improvement over the extended Kalman filter algorithm. Simon Julier and Julie Uhlman demonstrated in [39] a new context for the estimation of the theoretical problem based on unscented transformations. This method is for calculating the statistics of a random variable, so it is easier to approximate the Gaussian distribution associated with each proposed state vector variable, rather than approximate the non-linear function of the described system behavior. It is possible to simplify the algorithm by eliminating Jacobian calculations. The used approach is based on two assumptions: the first is the determination of the non-linear transformation of the function at work that does not apply to the whole range of the probability density distribution function. The second point concerns the search for work in which this density corresponds to the actual decomposition of the non-linear system. This filter is based on two cycles of procedures: prediction and correction, like its predecessor.

Prediction can be used independently of the UKF update, in combination with the proposed classical linear update. As assumed in the classical Kalman filter approach [20] and as is the case for extended Kalman filter prediction, one proceeds in a similar way for each solution. In this case, however, the estimation state vector of the value of disturbances is extended. Such a procedure makes it possible to estimate the state vector and its distributed environment. Strictly speaking, this surrounding will transform non-linear disturbances [39].

A new x_k1|k1a vector is defined:

x_k1|k1a=[x_^k1|k1TEw_kTEv_kT]T. (25)

Thus, it is natural to define its covariances, which are formed by taking the covariances of the state vector Pk1|k1, the known process noise covariance Qk, and the distortion measurement Rk. It therefore assumes the form:

Pk1|k1a=Pk1|k1000Qk000Rk. (26)

A set of 2L+1 sigma points, χk1|k1, is derived from the augmented state and covariance, where L is the dimension of the augmented state:

χk1|k10=x_k1|k1a, (27)
χk1|k1i=x_k1|k1a+(L+λ)Pk1|k1ai,fori=1..L, (28)
χk1|k1i=x_k1|k1a(L+λ)Pk1|k1aiL,fori=L+1,2L, (29)

The matrix square root nPk should be calculated using numerically-efficient and stable methods, such as the Cholesky decomposition. The sigma points χk|k1i are propagated through the state space transition function (18):

χk|k1i=Fkχk1|k1i+Bku_k,i=0..2L. (30)

The weighted sigma points χk|k1i are recombined to produce the predicted state x_^k|k1 and covariance Pk|k1:

x_^k|k1=i=02LWsiχk|k1i, (31)
Pk|k1=i=02LWci[χk|k1ix_^k|k1][χk|k1ix_^k|k1]T, (32)

where the weights Ws and Wc for the state and covariance are given by:

Ws0=λL+λ, (33)
Wc0=λL+λ+(1α2+β), (34)
Wsi=Wci=12(L+λ), (35)

where α, β, and κ are noise distribution parameters and λ is chosen arbitrarily. These are helpful during filter tuning [40]. Typical values for α, β, and κ for the majority of applications in which the disturbance is located in the Gaussian noise assumptions are, respectively, 103, 2, and 0. Any differences from these values can only lead to easier tuning of the filter because they add additional degrees of freedom.

Correction is fitted strictly from the classical form. The proposed sigma points χk|k1i are projected through the known observation function Hk:

Υki=Hkχk|k1i,i=0..2L. (36)

Based on weights Wsi and Wci from (33) and the observation matrix Υki, it is possible by recombination to obtain the output signal:

z_^k=i=02LWsiΥki, (37)

and also the output covariance:

Pzkzk=i=02LWci[Υkiz_^k][Υkiz_^k]T. (38)

The correction Kk depends on the obtained state Pk|k1 and the innovation of the system Sk covariances and so is similar to (38). Based on the Kalman correction definition:

Kk=PxkzkPzkzk1, (39)

where Pxkzk should be:

Pxkzk=i=02LWci[χk|k1ix_^k|k1][γkiz_^k]T. (40)

As in the classical Kalman filter, the output residual is:

y_˜k=z_kh(x_^k|k1). (41)

The correction of the state is done by:

x_^k|k=x_^k|k1+Kk(z_kz_^k). (42)

The adjusted covariance matrix Pk|k is a prediction of Pk|k1 corrected by weighted values:

Pk|k=Pk|k1KkPzkzkKkT. (43)

The algorithm is periodic, and the obtained data are shifted for future steps.

The main advantage of the unscented Kalman filter is the estimation of the state and output variables with each natural noised environment described by sigma points χk|k1i. Each of the variables and their environment are easily described by noise covariance, Qk and Rk, respectively for states x_k and outputs y_k. During the estimation process, sigma points χk|k1i change towards least squares error minimization. Based on that, the operations Qk and Rk as part of Pk are under modification. Consequently, it is important to choose properly the initial values of Q0 and R0.

4. Control Structure for Low-Speed Range Using the Reference Model

4.1. Position Observer

The choice of a position observer structure is not essential for the present mode of operation of the speed control. The described control structure for the low-speed range, however, includes also the observer (Figure 2, Module 12). The shaft position is determined on the basis of the estimated value of the back EMF. In order to reconstruct the back electromotive forces in a stationary coordinate system αβ associated with the stator, a modified structure of the Luenberger [17,41] observer was used, with the proportional-integral correction function:

FΔi=KpΔi+KiΔidt (44)

where Kp is a proportional gain, Ki is an integration gain, and Δi is an estimation error of current.

Figure 2.

Figure 2

Control structure for the low-speed range.

The used type of observer was thoroughly described in [11] and its potential for low speed range in [18]. The sine and cosine values of the shaft position were determined based on simplified trigonometric dependency:

sinγ^=e^α|e^|, (45)
cosγ^=e^β|e^|, (46)

where e^α and e^β are estimated in a stationary coordinate system. The back EMF values and modulus |e^| were defined as:

|e^|=e^α2+e^β2. (47)

4.2. Modified Control Structure

The proposed sensorless control system was designed to work specifically at the low-speed range, despite the fact that the system was based on an EMF estimation. This system has the ability to start without the use of additional boot algorithm, and could also be used in other speed ranges. The presented structure differs from the known form of control structures, such as MFC (model following control) [42], MRAS (model reference adaptive system) [43], or MRAC (model reference adaptive control) [44]. This system is characterized by the use of the source of reference voltage in the control chain and the use of the correction loops, which are based on currents idiq in the rotor reference frame.

The scheme of the new sensorless control structure for speed control of the PMSM drive is shown in Figure 2. The structure components are as follows:

  1. Adder for the reference speed modifier

  2. Reference model of the drive

  3. Reference modifying speed gain

  4. Rotator

  5. Inverse Clarke transformation unit

  6. Inverter unit

  7. Transformer

  8. Current sensors

  9. Controlled motor

  10. Clarke transformation unit

  11. Park transformation unit

  12. Position observer

  13. Current id corrector

  14. Adder for the correction circuit for current id

  15. Load estimator

  16. Adder for the load estimator

  17. Rate limiter

You will notice a dedicated block for the shaft position observer and the block that is the source of reference signals. The main elements of the control scheme are: the source of reference signals (Module 2), the position observer (Module 12), and the auxiliary systems: correction circuit for the current axis d (Modules 3, 4, 13, 14), the load estimation (Modules 15, 16), and the correction of reference speed (Modules 1, 3, 14, 17). The source of reference voltages is an appropriately-transformed model of the PMSM drive, which is working in speed control mode (Figure 3).

Figure 3.

Figure 3

Inner structure of the PMSM drive reference (Figure 2, Module 2) block.

Its inputs are the current value of the corrected reference speed ωref2 and estimated load torque T^l. Its outputs are: reference voltage uαref, uβref, set in a stationary αβ coordinate system associated with the stator, and the current reference idref and iqref in the dq reference frame rotating synchronously with the rotor. The model of the speed control is determined on the basis of generally-known relationships describing PMSM and the well-known vector control structure with speed and current control. It includes the current control circuits in the dq coordinate system and also the outer speed control loop. The inverter in the reference model is omitted. The shown structure of sensorless control allows controlling the current (in a real machine) in the axes d and q, as in conventional systems of vector control. The accuracy of modeling the drive with PMSM affects the accuracy of estimating the operating point of the motor in the reference model, which affects the real motor operating point. In the case of the presented structure, the type and structure of the position observer are not important for the operation of the whole system. In the examined drive system, in order to reproduce the position of the shaft, an observer of the electromotive force is used. These values are used to determine the sine and cosine of the shaft position. Electromotive forces are estimated by generally-known dependencies, and also, generally-known dependencies determine the sine and cosine of the estimated value of the angle. The most important feature of the method is the possibility for the stable operation of the drive at low speed, without a shaft position sensor and without calculation or determination of the speed based on the reconstructed value of electromotive force or reconstituted position. Due to correction feedbacks, the system works correctly even when the parameters of the reference model are estimated with limited accuracy.

The sensorless speed control structure was launched in a laboratory setup, with lowered supply voltage through the small transformer (Figure 2, Module 7). The control system operates as follows: the PMSM drive reference model (Figure 2, Module 2) generates reference voltages uαref, uβref, which depend on the current operating point. If the operating point of the PMSM reference model and the operating point of real PMSM match, the module named the rotator (Module 4) leaves the voltage vector unchanged. In the case of non-compliance involving the different values of reference current idref (Module 2) and estimated current i^d (with Observer 12 and Transform Block 11), this error is integrated in the integrator (Module 13), whose output value is the correction angle Δγ, whose value forces the rotation of the input voltage uαrefuβref, creating a corrected reference voltage uαref2uβref2 for the inverter (Module 6). The system uses three correction loops. First, the current id correction loop, which is described above, adjusts the position (using the rotator) of the voltage vector PMSM so as to minimize the error value of current id, while the reference value is maintained at a value of zero in accordance with the control strategy used in the reference drive model. The second loop estimates a load torque using Module 15. The proportional-integral structure (Module 15) based on the reference current iqref (output of Module 2) and estimated current i^q (using Modules 12 and 11) estimates the value of the load T^l. The third loop modifies the speed setpoint for Module 2, using Modules 3 and 1. In the case of higher values of gain k, an additional block, the rate limiter (Module 17), may be used, which decreases the slope of the correcting speed value and increases the tolerance range for the motor parameter estimation error. Correction of the reference speed is necessary in a situation whereby the action of the rotator and the rotation speed of the voltage vector uref2 are different than the speed of rotation of the voltage vector uref. As a result of that correction, if a speed error occurs, the reference model follows the operating point of the real object. Hence, the system operates differently from the typical MFC, where if a difference in object output value and model output occurs, the supplementary controller acts on the object.

5. Results

In order to verify experimentally the proposed estimation methods, a laboratory stand has been designed and built. It consists of two similar PMSMs: the first is powered by the laboratory, three phase power IGBT inverter, controlled by the digital signal processor (DSP). The second, which acts as a controlled load, is powered by an industrial inverter. Both motors are coupled by a stiff shaft. The voltages and currents are measured using 12-bit A/D converters. The shaft position is measured using a precision incremental encoder. The general view of the mechanical setup (motors used in experiments) is shown in Figure 4.

Figure 4.

Figure 4

Mechanical setup: twin PMSM with a stiff shaft.

All control algorithms were implemented in DSP by AnalogDevices (SHARC 21369) using the C language. For the calculation period, both the speed and current control loops were equal to 50 μs in the case where the estimation method was based on the Kalman filter. They were synchronized with a 10-bit PWM generator. In the case of the low-speed method, which was based on the reference model, the calculation period was equal to 100 μs. The motor shaft position was measured by an incremental encoder, and then, the raw signals were processed using FPGA and sent to DSP by parallel memory fields. The PWM symmetrical generator operated with a carrier frequency equal to 20 kHz or 10 kHz, dependent on the used sensorless control structure, and can be updated twice on pulse. The parameters of the current controller were determined according to the modulus optimum [1] using the IPstructure. The speed controller was prepared using the PI structure. The results presented in Section 5.1 were obtained in a typical structure control system using the Kalman filter, the control system shown in Figure 1. The results presented in Section 5.2 include tests of a control system containing a reference model, the structure of which is shown in Figure 2.

5.1. Unscented Kalman Filter

The operation of the control system with unscented Kalman filter for laboratory verification on the referenced setup from Figure 4 is presented below. There are two important references: first, changing the desired speed in a wide range and, second, load torque acting during constant speed operation.

5.1.1. Speed Control

In order to test the behavior of observers under varying conditions of work, it was decided to use tests involving a change of reference speed ωr. The first investigation was performed as a speed reference in stages: start, constant speed region, reverse, and braking. The maximum modulus of reference speed in this case was 13 of maximum speed: 1000revmin=104.72rads.

The operation for this speed range is shown in Figure 5. Estimated speed overlap measured steady states, and a small difference is visible in transient states (Figure 5a). The process of estimating the load torque is presented in Figure 5b. It can be seen that, at a constant speed, the estimated load torque ceased to change its value. The error waveforms for the above test are shown in Figure 6. It is visible that the most critical situation included a zero speed crossing (in time just above 0.3 s and above 0.5 s, braking). An interesting point of the works control system with the observer is the work during real speeds near zero. The same shape as above is presented in Figure 7, but the maximum modulus is ωr=5.28rads. Errors obtained during the experiment are presented in: Figure 8.

Figure 5.

Figure 5

Unscented Kalman filter speed (a) and torque (b) response for reference speed ωr=104.72rads.

Figure 6.

Figure 6

Unscented Kalman filter estimation speed (a) and torque (b) errors for referenced speed ωr=104.72rads.

Figure 7.

Figure 7

Unscented Kalman filter response speed (a) and torque (b) for referenced speed ωr=5.28rads.

Figure 8.

Figure 8

Unscented Kalman filter estimation speed (a) and torque (b) errors for reference speed ωr=5.28rads.

5.1.2. Load Torque

The presented formal approach of reference signals consisted of a few important stages of operation like: zero speed with no initial (random) observer values, demand speed, positive and negative steps, and external load torque step. The constant reference speed was equal to 104.72rads and disturbance; additional load torque was equal 3Nm. The collected results are presented in Figure 9 with associated errors in Figure 10.

Figure 9.

Figure 9

Unscented Kalman filter speed (a) and torque (b) response for load torque Tl=3Nm.

Figure 10.

Figure 10

Unscented Kalman filter estimation speed (a), torque (b) and position (c) errors for load torque Tl=3Nm.

5.2. Low-Speed Structure Using the Reference Model

Preliminary simulation studies were designed to determine the robustness of the analyzed control structure on the inaccurate estimation of the parameters of the power circuit of the drive. The presented selected waveforms showed the result of the following experiment: start-up to the speed of 4rads; at time 0.1s, the motor was loaded, and at time 0.25s, the load Tl was turned off. All tests were performed in a closed system, where the control chain used the position information, which was estimated by the observer. The modeled system was powered directly, without considering the step-down transformer. The real motor inverter was simplified to zero order hold, and the inverter in the reference module was omitted (as in the reference model implemented in the real system).

5.2.1. Simulations Research

The waveforms of Figure 11, Figure 12, Figure 13 and Figure 17 were obtained for gain k of the correction angle Δγ (Figure 2, Module 3) with the optimal value in terms of the dynamics of tracking the speed setpoint. In Figures 15 and 16, gain k had twice reduced its value. In this way, the robustness of the drive was increased in the case of incorrect estimation of the parameters of the motor. Waveforms of Figure 11, Figure 12 and Figure 13 show the essential waveforms for different values of resistance of the motor (altered only in the machine), for an initial shaft position equal to 30 (electric angle).

Figure 11.

Figure 11

Measured ωr and corrected reference ωref2 speeds waveforms for different estimation errors of motor resistance (the initial position equals 30) (a) Rmotor=Ropt, (b) Rmotor=1.5·Ropt, (c) Rmotor=0.75·Ropt.

Figure 12.

Figure 12

Waveforms of reference (model) iqref, estimated i^qest, and measured iqreal currents for different estimation errors of motor resistance (the initial position equals 30) (a) Rmotor=Ropt, (b) Rmotor=1.5·Ropt,(c) Rmotor=0.75·Ropt.

Figure 13.

Figure 13

Waveforms of correction angle Δγ for different estimation errors of motor resistance (the initial position equals 30) (a) Rmotor=Ropt, (b) Rmotor=1.5·Ropt, (c) Rmotor=0.75·Ropt.

Figure 11a, Figure 12a and Figure 13a show the reference results for correctly-determined resistance (the optimum value is Ropt). Where the resistance value of the machine was increased by 50% of the value used in the control loop, the stability did not deteriorate significantly. In the case of a lower value by 25%, this clearly increased the oscillations. The figures show the waveforms of measured speed ωr and adjusted reference speed ωref2. It is noticed that the speed was adjusted, depending on the accuracy of the estimate, to a degree greater to or lesser than the set value. The compensation value was associated with the load of the machine. The waveforms in Figure 12 show the high correspondence of the current in the q-axis reference model (iqref) and the measured current iqreal of the machine. The operation of the rotator is shown in Figure 13. Since the initial position of the shaft for this test was 30 (0.52rad), after starting the drive, the correction angle value Δγ quickly tended to approach this value and then changed towards minimizing the d-axis component of the the current vector. The rate of change Δγ was related to the accuracy of estimation of the parameters and the value of the load of the machine. Figure 14 shows the effect of changing the factor of correction angle Δγ on the stability of the sensorless operation: even in the case of a large error in the estimation of inductance, which caused an oscillating course of the speed (Figure 14a), one can get a stable, non-oscillating operation of the drive. The result of this, however, was the increase in the steady state error of speed (Figure 14b). The speed waveforms shown in Figure 14b correspond to the current waveforms of Figure 15 and the waveform of angle correction Δγ of Figure 16. Finally, in Figure 17, the test sequence of reference speed response is shown, which was verified in laboratory conditions (Figure 18). In this case, the PMSM model was supplemented with additional non-linearity: in the function of the shaft position, a back EMF was modified in a sinusoidal manner. It is visible that in both cases (simulation and experiment), the waveforms were similar, especially in the case of (measured) speed waveforms (Figure 17a and Figure 18a). Only the differences in the waveform shape of the current iq (Figure 17b and Figure 18b) are visible in the moments of decreasing the reference speed (the minimum value of the current). Furthermore, the general characteristics of the currents’ shapes of id were quite similar (Figure 17c and Figure 18c).

Figure 14.

Figure 14

Waveforms measured ωr and corrected reference ωref2 speed waveforms, for the wrong estimation of motor inductance and for different values of gain k (amplification of correction angle input); the initial position equals 0. (a) Lmotor=Lopt·1.5,k=240, (b) Lmotor=Lopt·1.5,k=120.

Figure 15.

Figure 15

Reference iqref, estimated i^qest, and measured iqreal current waveforms; wrong estimation of the inductance of the motor, reduced the value of gain k; the initial position equals 0.

Figure 16.

Figure 16

Correction angle Δγ; wrong estimation of the inductance of motor reduced the value of gain k; the initial position equals 0.

Figure 17.

Figure 17

Simulation of low-speed control structure operation during speed changes ωref=8.86.84.8[rads], corresponding to the experiment shown in Figure 18. Values of motor speed ωr (a), currents iq (b) and id (c) respectively.

Figure 18.

Figure 18

Experimental behavior of low-speed control structure operation during speed changes ωref=8.86.84.8[rads]. Values of motor speed ωr (a), currents iq (b) and id (c) respectively.

5.2.2. Experimental Research

Figure 18 and Figure 19 show experimental results for the control method with the reference model. The system operates as fully sensorless; a position sensor was used only to evaluate the accuracy of the estimation of the position of the shaft in the test control system. The first test compared the behavior of the model and the real drive. It consisted of the sequence of step changes in the speed command in the range ωref=8.86.84.8[rads] (Figure 18). It proved the correct operation of the drive in transient states. There were visible pulses of estimated current i^dest in times of reference speed changes; however, the real value of current idreal was maintained near the referenced value equal to zero. Figure 19 shows the waveforms obtained in the steady state, for a speed of 4.8rads. One may notice the effects of periodic electromagnetic interference in the measured speed waveforms (Figure 19a) which, however, did not affect the reliability of the sensorless drive operation. One can notice that the value of the position (sine of position angle; this observer did not estimate the position angle) had a smooth path (also in the presence of external interference, it was visible in the course of the measured velocity), although the error was not close to zero (Figure 19b). The error in estimating the position was compensated by the action of the rotator, so that the measured current in the d-axis was maintained with reasonable accuracy at the (zero) value (Figure 19c). In the case of a bigger error value of a position estimation (as is visible in Figure 19), it was necessary to improve the accuracy of the current id tracking by an additional compensation value Δγ2, which in general is the function of the load. This additional value Δγ2 was added to the output of the current id corrector (the control input of the rotator was given the value Δγ+Δγ2).

Figure 19.

Figure 19

Low-speed control structure at steady state, ωref=4.8rads. Values of motor speed ωr (a), position sine—sin(γ) (b) and d axis current id (c) respectively.

6. Conclusions

The paper showed the effects of the operation of the sensorless drive, using different control structures. Both structures were compared in a range of low speeds. It was shown that the system based on back EMF estimation can work properly in this speed range. All the results were obtained using sensorless operation with a closed-loop mode. This means that the sine and cosine of the motor shaft position used in the control were produced by the observers. Two control structures were used in the study. The first was a typical control structure with a UKF observer. The second was a new control structure with the reference model. The position observer, which was based on the back EMF estimation, turned out to be useful also at a low-speed range. In the case of the studied PMSM laboratory set, the lowest speed that gave stable operation was about 45[rads].

The UKF observer of the mechanical quantities worked in every range of operation speed. Such a system provides an interesting research object and may find its use in industrial applications. The advantage of the sensorless structure with the Kalman filter is the possibility to estimate the speed and also its sign correctly, even in the case of speed reversal. The wide development of an experimental sensorless drive system is under way.

The presented new control structure, which used the drive model, was particularly effective in the field of low speed. The module called the rotator (Figure 2, Module 4) allowed compensating for the position error estimated by the observer. This allowed maintaining the zero (reference and real) value of the current in the d-axis with good accuracy, also in transient states. The main advantage of the sensorless structure with the reference model was that it reduced the need to estimate the speed, despite the fact that it was a speed control system. This is an important feature because it eliminated problems with speed estimation without the excitation of oscillations. The correct operation of the new control structure was checked by comparing the simulation with the experiment.

It is worth noting that both the presented estimation and the control schemes detected load torque. For the Kalman filter, this essential process was realized by including the load torque in the estimated state vector, and for the structure with the reference model, the additional PI unit was sufficient. These concepts were fully proven in different ways, which showed the good properties of the presented methods. In the current state of research, it seems that the new control structure with the reference model has reached a more advanced stage, because it provides more accurate control of d-axis and q-axis currents and also provides satisfactory accuracy of speed control.

Appendix A

Motor parameters: Basic parameters of the PMSM are presented in Table A1 below.

Table A1.

Parameters of the PMSM.

Parameter Units Value
P kW 1.23
TN Nm 3.9
Rs Ω 1.15
Ld mH 6.8
Lq mH 6.8
Ψm Wb 0.254

Author Contributions

Conceptualization, K.U. and D.J.; Investigation, K.U. and D.J.; Methodology, K.U. and D.J.; Software, K.U. and D.J.; Validation, K.U. and D.J.

Funding

This research was financially supported as a statutory work of Poznan University of Technology (04/45/DSPB/0196).

Conflicts of Interest

The authors declare no conflict of interest.

References

  • 1.Vas P. Vector Control of AC Machines. Oxford University Press; New York, NY, USA: 1990. Monographs in Electrical and Electronic Engineering. [Google Scholar]
  • 2.Vas P. Sensorless Vector and Direct Torque Control. Oxford University Press; New York, NY, USA: 1998. Monographs in Electrical and Electronic Engineering Number 42. [Google Scholar]
  • 3.Dhaouadi R., Mohan N., Norum L. Design and implementation of an extended Kalman filter for the state estimation of a permanent magnet synchronous motor. IEEE Trans. Power Electron. 1991;6:491–497. doi: 10.1109/63.85891. [DOI] [Google Scholar]
  • 4.Grzesiak L., Kazmierkowski M. Improving flux and speed estimators for sensorless AC drives. IEEE Ind. Electron. Mag. 2007;1:8–19. doi: 10.1109/MIE.2007.901483. [DOI] [Google Scholar]
  • 5.Janiszewski D. Unscented Kalman Filter for sensorless PMSM drive with output filter fed by PWM converter; Proceedings of the IECON 2012—38th Annual Conf. IEEE Industrial Electronics Society; Monteral, QC, Canada. 25–28 October 2012; pp. 4660–4665. [DOI] [Google Scholar]
  • 6.Comanescu M. Rotor position estimation of PMSM by Sliding Mode EMF observer under improper speed; Proceedings of the 2010 IEEE International Symposium on Industrial Electronics; Bari, Italy. 4–7 July 2010; pp. 1474–1478. [DOI] [Google Scholar]
  • 7.Qiao Z., Shi T., Wang Y., Yan Y., Xia C., He X. New Sliding Mode Observer for Position Sensorless Control of Permanent Magnet Synchronous Motor. IEEE Trans. Ind. Electron. 2012;60:710–719. doi: 10.1109/TIE.2012.2206359. [DOI] [Google Scholar]
  • 8.Briz F., Degner M.W. Rotor Position Estimation. IEEE Ind. Electron. Mag. 2011;5:24–36. doi: 10.1109/MIE.2011.941118. [DOI] [Google Scholar]
  • 9.Qu B., Lin H. Electronics and Signal Processing: Selected Papers from the 2011 International Conference on Electric and Electronics (EEIC 2011) in Nanchang, China on 20–22 June 2011. Volume 1. Springer; Berlin/Heidelberg, Germany: 2011. Chapter Design of Sensorless Permanent Magnet Synchronous Motor Control System; pp. 533–539. [DOI] [Google Scholar]
  • 10.Hrbáč Z., Sova V., Grepl R. Advanced Mechatronics Solutions. Springer International Publishing; Cham, Switzerland: 2016. Chapter Sensorless Speed Control of BLDC Motor using EKF with Computed Inputs and Disturbance; pp. 45–50. [DOI] [Google Scholar]
  • 11.Urbanski K., Zawirski K. Improved Method for Position Estimation Using a Two-Dimensional Scheduling Array. Autom. J. Control Meas. Electron. Comput. Commun. 2015;53:331–340. doi: 10.7305/automatika.2015.12.732. [DOI] [Google Scholar]
  • 12.Janiszewski D. Load torque estimation in sensorless PMSM drive using Unscented Kalman Filter; Proceedings of the 2011 IEEE International Symposium on Industrial Electronics; Gdansk, Poland. 27–30 June 2011; pp. 643–648. [DOI] [Google Scholar]
  • 13.Zhu G., Dessaint L.A., Akhrif O., Kaddouri A. Speed tracking control of a permanent-magnet synchronous motor with state and load torque observer. IEEE Trans. Ind. Electron. 2000;47:346–355. doi: 10.1109/41.836350. [DOI] [Google Scholar]
  • 14.Urbanski K. Sensorless control of PMSM high dynamic drive at low speed range; Proceedings of the 2011 IEEE International Symposium on Industrial Electronics; Gdansk, Poland. 27–30 June 2011; pp. 728–732. [DOI] [Google Scholar]
  • 15.Jarzebowicz L., Karwowski K., Kulesza W.J. Sensorless algorithm for sustaining controllability of IPMSM drive in electric vehicle after resolver fault. Control Eng. Pract. 2017;58:117–126. doi: 10.1016/j.conengprac.2016.10.004. [DOI] [Google Scholar]
  • 16.Yuan Q., Yang Z., Cui L., Hu T., Lin F. Proceedings of the 1st International Workshop on High-Speed and Intercity Railways. Volume 2. Springer; Berlin/Heidelberg, Germany: 2012. Chapter A Position Estimation Method Based on Modified Integrator of PMSM Sensorless Control forHigh-Speed Vehicles; pp. 9–18. [DOI] [Google Scholar]
  • 17.Luenberger D. An introduction to observers. IEEE Trans. Autom. Control. 1971;16:596–602. doi: 10.1109/TAC.1971.1099826. [DOI] [Google Scholar]
  • 18.Urbanski K. Estimation of Back EMF for PMSM at Low Speed Range. MM Modern Mach. Sci. J. 2015:564–569. doi: 10.17973/MMSJ.2015_03_201506. [DOI] [Google Scholar]
  • 19.Nagarajan V.S., Balaji M., Kamaraj V. Artificial Intelligence and Evolutionary Algorithms in Engineering Systems: Proceedings of ICAEES 2014. Volume 2. Springer; New Delhi, India: 2015. Chapter Back-Emf-Based Sensorless Field-Oriented Control of PMSM Using Neural-Network-Based Controller with a Start-Up Strategy; pp. 449–457. [DOI] [Google Scholar]
  • 20.Kalman R.E. A New Approach to Linear Filtering and Prediction Problems. Trans. ASME J. Basic Eng. 1960;82:35–45. doi: 10.1115/1.3662552. [DOI] [Google Scholar]
  • 21.Rasmussen H. Sensorless speed control including zero speed of non salient PM synchronous drives. Bull. Pol. Acad. Sci. Tech. Sci. 2006;54:293–298. [Google Scholar]
  • 22.Wisniewski J., Koczara W. The sensorless rotor position identification and low speed operation of the axial flux permanent magnet motor controlled by the novel PIPCRM method; Proceedings of the 2008 IEEE Power Electronics Specialists Conference; Rhodes, Greece. 15–19 June 2008; pp. 1502–1507. [DOI] [Google Scholar]
  • 23.Yan T., Liu J., Zhang H. Computational Intelligence, Networked Systems and Their Applications: International Conference of Life System Modeling and Simulation, LSMS 2014 and International Conference on Intelligent Computing for Sustainable Energy and Environment, ICSEE 2014, Shanghai, China, 20–23 September 2014, Proceedings, Part II. Springer; Berlin/Heidelberg, Germany: 2014. Chapter Sensorless Vector Control of PMSM in Wide Speed Range; pp. 363–369. [DOI] [Google Scholar]
  • 24.Urbanski K. Sensorless control of PMSM fed through the sinusoidal filter; Proceedings of the 2013 15th European Conference on Power Electronics and Applications (EPE); Lille, France. 2–6 September 2013; pp. 1–8. [DOI] [Google Scholar]
  • 25.Janiszewski D., Kielczewski M. Kalman filter sensor fusion for multi-head position encoder; Proceedings of the 2017 19th European Conference on Power Electronics and Applications (EPE’17 ECCE Europe); Warsaw, Poland. 11–14 September 2017; pp. P.1–P.7. [DOI] [Google Scholar]
  • 26.Wang Z., Lu Q., Ye Y., Lu K., Fang Y. Investigation of PMSM Back-EMF using Sensorless Control with Parameter Variations and Measurement Errors. Przeglad Elektrotechniczny. 2012;88:182–186. [Google Scholar]
  • 27.Flieh H., Slininger T., Lorenz R.D., Totoki E. Self-Sensing via Flux Injection with Servo Dynamics including a Smooth Transition to Back-EMF Tracking; Proceedings of the 2018 IEEE Energy Conversion Congress and Exposition (ECCE); Portland, OR, USA. 23–27 September 2018; pp. 1762–1769. [DOI] [Google Scholar]
  • 28.Kazmierkowski M., Franquelo L., Rodriguez J., Perez M., Leon J. High-Performance Motor Drives. IEEE Ind. Electron. Mag. 2011;5:6–26. doi: 10.1109/MIE.2011.942173. [DOI] [Google Scholar]
  • 29.Janiszewski D. Load torque estimation for sensorless PMSM drive with output filter fed by PWM converter; Proceedings of the IECON 2013—39th Annual Conference of the IEEE Industrial Electronics Society; Vienna, Austria. 10–13 November 2013; pp. 2953–2959. [DOI] [Google Scholar]
  • 30.Malinowski M., Kazmierkowski M., Trzynadlowski A. A comparative study of control techniques for PWM rectifiers in AC adjustable speed drives. IEEE Trans. Power Electron. 2003;18:1390–1396. doi: 10.1109/TPEL.2003.818871. [DOI] [Google Scholar]
  • 31.Krishnan R., Irwin J.D., Kazmierkowski M.P., Blaabjerg F. Control in Power Electronics: Selected Problems. Academic Press; Burlington, MA, USA: 2002. (Academic Press Series in Engineering). [DOI] [Google Scholar]
  • 32.Brock S. Analysis and Simulation of Electrical and Computer Systems. Springer International Publishing; Cham, Switzerland: 2015. Chapter Robust Integral Sliding Mode Tracking Control of a Servo Drives with Reference Trajectory Generator; pp. 305–313. [DOI] [Google Scholar]
  • 33.Kazmierkowski M.P., Tunia H. Automatic Control of Converter-Fed Drives. Elsevier Science & Technology; Amsterdam, The Netherlands: 1994. [Google Scholar]
  • 34.De Angelo C., Bossio G., Solsona J., Garcia G., Valla M. Mechanical sensorless speed control of permanent-magnet AC motors driving an unknown load. IEEE Trans. Ind. Electron. 2006;53:406–414. doi: 10.1109/TIE.2006.870723. [DOI] [Google Scholar]
  • 35.Szabat K., Orlowska-Kowalska T. Application of the Kalman Filters to the High-Performance Drive System With Elastic Coupling. IEEE Trans. Ind. Electron. 2012;59:4226–4235. doi: 10.1109/TIE.2012.2183836. [DOI] [Google Scholar]
  • 36.Pillay P., Krishnan R. Modeling, simulation, and analysis of permanent-magnet motor drives. I. The permanent-magnet synchronous motor drive. IEEE Trans. Ind. Appl. 1989;25:265–273. doi: 10.1109/28.25541. [DOI] [Google Scholar]
  • 37.Simon D. Using Nonlinear Kalman Filtering to Estimate Signals. Embed. Syst. Design. 2006;19:38–53. [Google Scholar]
  • 38.Simon D. Kalman Filtering. Embed. Syst. Program. 2001;14:72–79. [Google Scholar]
  • 39.Julier S.J., Uhlmann J.K. A new extension of the Kalman filter to nonlinear systems; Proceedings of the International Symposium on Aerospace/Defense Sensing, Simulation and Controls; Orlando, FL, USA. 21–25 April 1997; p. 12. [DOI] [Google Scholar]
  • 40.Julier S.J., Uhlmann J.K. Unscented filtering and nonlinear estimation. Proc. IEEE. 2004;92:401–422. doi: 10.1109/JPROC.2003.823141. [DOI] [Google Scholar]
  • 41.Li J., Zhang Z., Li B. Sensor Fault Detection and System Reconfiguration for DC-DC Boost Converter. Sensors. 2018;18:1375. doi: 10.3390/s18051375. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 42.Dong X., Tianmiao W., Hongxing W., Jingmeng L. Adaptive model following speed control method of permanent magnet synchronous motor; Proceedings of the 2009 4th IEEE Conference on Industrial Electronics and Applications; Xi’an, China. 25–27 May 2009; pp. 721–725. [DOI] [Google Scholar]
  • 43.Kang J., Zeng X., Wu Y., Hu D. Study of position sensorless control of PMSM based on MRAS; Proceedings of the 2009 IEEE International Conference on Industrial Technology; Gippsland, Australia. 10–13 February 2009; pp. 1–4. [DOI] [Google Scholar]
  • 44.Mustafa R., Ibrahim Z., Lazi J.M. Sensorless adaptive speed control for PMSM drives; Proceedings of the 2010 4th International Power Engineering and Optimization Conference (PEOCO); Shah Alam, Malaysia. 23–24 June 2010; pp. 511–516. [DOI] [Google Scholar]

Articles from Sensors (Basel, Switzerland) are provided here courtesy of Multidisciplinary Digital Publishing Institute (MDPI)

RESOURCES