1. Introduction
Permanent magnet synchronous machine (PMSM) has been widely used in industrial applications that require high precision or high efficiency, such as automation production lines, electric vehicles, robots, and wind turbines. The PMSM sensorless control techniques can be mainly classified in two groups: model-saliency-dependent techniques and model-dependent techniques.
In the first group, rotor position is usually detected by measuring the response signals, which are induced from high-frequency signals injected in windings [
1,
2,
3,
4]. However, signal injection can cause torque ripple, increase power loss, and decrease available voltage for the motor drive. Moreover, the signal injection technique is not suitable for surface-mounted PMSM (SPMSM) applications. Additionally, secondary saliency-like cross-saturation and higher harmonic saliency coupling can also degrade the position estimation precision.
In the second group, position-related-variables, such as flux, back electromotive force (EMF), or speed, can be obtained using motor model-dependent tools (such as observer [
5,
6,
7], model reference method [
8,
9], etc.) with known model input and some measurable state variables. In the extremely high speed range, the iron loss is not negligible for back EMF estimation, which can be compensated for using a look-up table [
5]. As an open-loop voltage/frequency (V/F) or current/frequency (I/F) start-up can be used for a low speed range, a back EMF observation technique is widely adopted in industrial applications, such as fans and pumps, which works in the medium to high speed range and do not suffer from heavy load torque during startup.
To obtain back EMF, different observers are adopted. The Kalman filter observer [
6,
10,
11] is limited due to its demand of computation resources for the matrix calculations. Luenberger observer [
12] and disturbance observer convergence speeds are less than non-linear observers. Besides, conventional linear observers are based on real plant variables, resulting in sensitivity on parameter variation. As revealed in Reference [
13], the use of real plant variable can induce observation errors on two levels: the parameter mismatch level and the observer dynamic level. Given these circumstances, the sliding mode observer is widely used because of its simplicity and robustness [
14,
15,
16,
17].
However, the conventional SMO suffers from a chattering problem because of discrete switching control function. The conventional solution of introducing one or several low-pass filters can increase the phase delay. Both chattering and phase delay can result in estimation error, which will decrease control accuracy, cause extra power loss, or even cause instability during the dynamic process. Different approaches have been proposed to handle the chattering problem. Chattering can be reduced using a sigmoid function [
16,
18]. A sigmoid function improved with a variable boundary for different speed range is also reported [
19]. After having obtained a back EMF signal, a synchronous frequency filter (SFF) is reported to filter out the chattering high frequency oscillation [
20]. Extracting the position signal using a phase-lock-loop (PLL) [
20,
21] also gives improved chattering than a trigonometric function.
In the above observing solutions, either conventional SMO or improved SMO eventually provides purely proportional gain, although non-linear. The proportional gain can result in a steady-state error for estimation. Increasing the gain leads to less steady-state error, but the oscillation of position estimation can be enlarged.
Different from a conventional linear observer using real plant variable or SMO using proportional gain, a simple proportional-integral linear observer (PILO) using virtual variables is proposed in this paper. This paper also provides a comparative study with SMO. By introducing two virtual variables without physical meaning, the PILO is able to get a smaller phase shift, adapt mismatched parameters, and obtain a fixed phase-shift relation. The PILO is not only simple, but also improves the estimation precision by solving the controversy between chattering and phase-delay, steady-state error. Moreover, the PILO is less sensitive to parameters mismatching. Simulation and experimental results indicate the merits of PILO technique.
This paper is organized as follows: The PMSM model is given in
Section 2. In
Section 3, the drawbacks of SMO and the proposed PILO are given.
Section 4 provides simulation and experimental results.
Section 5 concludes this paper.
3. Comparison of SMO and PILO
This section starts with the analysis of the drawbacks of conventional SMO, and then the proposed PILO is given in continuous and discrete form with analysis.
3.1. SMO and Its Drawbacks
In this part, a widely used SMO in engineering is analyzed. This SMO has an integrated filter to reduce chattering. The drawbacks are analyzed as follows.
Equation (1) is extended to:
where
always takes the value of zero.
The back EMF estimation contains high frequency noise due to sliding mode switching. A satisfactory filtering of the signal can result in a large phase delay. One solution is to use both filtered and switching signals, where the SMO with a filter is as follows:
Usually, the estimated back EMF takes the value as follows:
Subtracting Equation (5) from Equation (6) yields:
In a steady state,
and
should be satisfied, thus:
It can be seen that
equals to
in a steady state, instead of the real EMF
precisely.
is obtained from a combination of proportional gain and the sign function. Note
always takes the value of zero. Therefore,
. Thus:
It can be seen that in one state, the EMF observation can only converge to the gain value other than the real EMF value, where an estimation error exists. In fact, to ensure the sliding mode works, it should be large enough, as . In this case, when reaching one steady state, where the EMF is overestimated according to the definition, the current estimation will decrease and result in the other “steady state.” The single steady state cannot persist, which is the cause of chattering. To sum up, two main inherent drawbacks of ESO, estimation error and chattering, are unavoidable, even with filters. When the parameters of SMO are inappropriate, chopping and error become more serious.
3.2. Continuous-Time Model of the Proposed PILO
In order to estimate the back EMF in the stationary reference frame with integral gain, the observer equation of PILO is given as:
where
, which has no physical meaning and is a virtual variable to establish the PILO and to simplify the observer relation.
is a normal linear equation for introducing integral gain to the observer. The equation is:
and the variables
are defined as the integral of
, and
is given by Equation (13):
For observation error analysis, Equation (1) is subtracted from Equation (11), and the difference equation is obtained as in Equation (14):
Equation (14) including
and
can be written with a second-order transfer function, as in Equation (15):
where
Let the estimated back EMF
take the form as follows:
represents the observer bandwidth. In this paper, the damping ratio
takes the value of 1. Then, the transfer function is:
This transfer function is second order, which does not suffer from chattering and steady-state error. By introducing the virtual variable, the observer relation is simplified.
3.3. Discrete-Time Model of PILO
The discrete-time model of Equations (11), (12), and (13) is given as:
where
,
,
,
, and
are the discrete signals of
,
,
,
, and
, respectively.
According to Equation (17) the estimated back EMF
, i.e.,
, is as follows:
The observer parameter has to be fixed. By discretizing the transfer function Equation (18) using zero-order hold methods, Equation (21) can be obtained:
and
can be calculated through Equations (19)–(21) as Equation (22):
The estimated electrical angular position is as follows:
where
is the estimated value of the electrical rotor position
.
is the compensation of the steady-state phase shift produced by the observer.
The inputs of transform function Equation (18),
and
, are trigonometric functions, and
can be calculated as:
where
is the estimated electrical angular velocity.
4. Results and Discussion
This section gives the performance comparison of the PILO and SMO. The comparison involves performance in the steady-state, transient-state, and parameter mismatch cases.
Table 1 shows the tested motor parameters. The parameters of the two observers are given in
Table 2 and
Table 3, respectively.
In an actual situation, the parameters of the motor have uncertainties. The mismatched parameter influence is also evaluated. The mismatched parameters used in observers are given in
Table 4.
4.1. Simulation Results
In the simulation, the load of motor was set from 0 to 1 Nm at 0.15 s. In order to ensure good performance of the SMO with less chattering, the SMO gain k was adjusted according to the speed of the motor, which satisfied to ensure the convergence of the EMF estimation with switching. The higher the motor speed, the greater the value of the gain .
The phase delay was compensated. For the PILO, the phase delay was calculated and compensated for using Equation (24). For SMO, the phase delay was tuned manually for different speeds. The phase delay is further discussed in experimental results.
Figure 2 shows the dynamic performance of the two observers. For the PILO, as in
Figure 2a, the position error was less than 0.2% throughout the test.
Figure 2b shows the performance of the SMO. The position error was less than 0.6%. In
Figure 2b, the required SMO gain was larger when the motor rotated faster. Therefore, the chattering problem was more serious at high speeds. In simulation, where current measurement was ideal (without noise and filter), the SMO chattering was caused by sliding mode switching. Low gain values gave lower chattering, which resulted in better performance at low speeds.
Figure 3 gives the dynamic performance of the two observers with the mismatched parameters used in the observer, as given in
Table 4. The motor parameters remained unchanged. For the PILO, as in
Figure 3a, the position error was less than 0.7%.
Figure 3b shows the performance of the SMO. The position error was less than 5%. Comparing
Figure 2 and
Figure 3, the performance of SMO and PILO were both influenced by the parameters mismatching. Comparing
Figure 3a,b, the PILO performance was better than SMO when the motor parameters were mismatched.
4.2. Experimental Results
The observers and sensorless vector control algorithm was implemented in a TI TMS320F28069. The experimental setup is shown in
Figure 4. It consisted of a DSP (Digital signal processor)-based control board, power stage, and a PMSM motor equipped with a resolver. The data was collected through the JTAG (Joint Test Action Group) communication. The two observers were compared under no-load and load conditions.
As aforementioned, the phase error was compensated during the test. For the PILO, the phase delay was calculated and compensated for using Equation (24). For SMO, the phase delay was tuned manually for different speeds. The phase delay is compared later in the following part.
Figure 5 and
Figure 6 give the performance with appropriate observer parameters under no-load and load conditions, respectively. With mechanical speeds of 100 and 600 rpm, it can be seen in the case of appropriate parameters that the loading conditions do not affect the estimation error too much. Due to current measurement noise in practical conditions, the SMO at a low speed condition did not provide less chattering than higher speed as given in simulation. Whether using loading or not, the PILO did not have chattering problems and the estimation errors were smaller.
Figure 7 and
Figure 8 give the performance with mismatched observer parameters under no-load and load conditions, respectively. For the PILO, the estimation errors under no-load and load conditions are within ±1%, signifying that the mismatched parameter influence was not obvious. For the SMO, especially for low speed conditions with load, the estimation error was about ±7%, as given in
Figure 8c, which was more than three times the no-loading case in
Figure 7c. Besides, large oscillations could be seen. Compared with PILO, the SMO was more sensitive for parameter mismatch in a low-speed loading condition. The result is consistent with the simulation results.
As aforementioned, the PILO phase delay
was calculated using Equation (24), and the SMO phase delay
was manually adjusted. The two-phase compensations were compared in
Figure 9 for different speeds. It was shown that phase delay of PILO was also smaller than conventional SMO. Moreover, the compensation of PILO was much simpler as it did not require extra tuning effort performed with extra tests. From the test results, it can be seen that the compensation using Equation (24) works well with only a small steady-state error less than 1%, which is acceptable.
5. Conclusions
This paper has proposed a PILO observer using a virtual variable and has given a comparative study of PMSM sensorless control using SMO and PILO. Unlike an SMO based on pure proportional gain, the PILO worked with proportional integral gain by using a virtual variable. Moreover, by introducing a virtual variable, the whole observer relation could be simplified, it was also able to get smaller phase shift, adapt mismatched motor parameters, and obtain a fixed phase relation, as indicated by experimental results.
The PILO is simple because it has only one bandwidth parameter to tune, and phase-delay compensation is easy. The PILO has good dynamic and steady-state performance. Compared with SMO, it does not suffer from a chattering problem, and it is less sensitive to mismatched parameters. The superiority of the observer has been indicated through simulation and experiment.