Keywords

1 Introduction

The PMSM sensorless control has attracted extensive attention because it can effectively reduce costs, improve space utilization and reliability [1]. In the medium and high speed region, the sensorless control mainly adopts the model estimation method [2,3,4,5], i.e., using the voltage-flux model to estimate the back-EMF or rotor flux, and then calculate the rotor position and speed.

The model estimation method relies on the accurate resistance and inductance values. However, in practice, it is hard to obtain them directly. Moreover, their values could change under complex working conditions. For example, the resistance will change with the operating temperature, and the inductance value could change with the current under the magnetic circuit saturation [6, 7]. At medium and high speed, the influence of inductance error will be more obvious than that of resistance error. Therefore, the on-line inductance identification is very necessary to improve the sensorless control performance.

At present, some research on parameters identification of PMSM under sensorless control have been carried out. In [8], an inductance identification method, in which the current differential and DC voltage measurement is required, is proposed. This method achieves inductance identification by measuring current differential in each PMW cycle in real time. However, it requires high-performance hardware and high bandwidth current sensors. In [9, 10], it is proposed to obtain a new voltage equation by injecting rotating high-frequency voltage and extracting the amplitude of high-frequency current for inductance identification. This method requires to inject dq-axis voltage at the same time. But, at higher speed, the identification accuracy will be degraded due to the increased coupling effect. Besides, the frequency of the rotating voltage is difficult to be high enough, so the influence on the motor speed of injected voltage will be larger, and the resistance voltage will also lead to identification error. In [11, 12], a parameter identification method based on DC signal injection is proposed. But this method has to work until all current injections are finished, so the real-time property is not satisfactory. In addition, this method needs to assume that the inductance value remains constant under different DC currents, but due to the magnetic circuit saturation, this assumption is difficult to meet in practice.

In order to achieve the online identification of inductance for PMSM sensorless control. An online inductance identification scheme based on high-frequency (HF) square wave voltage injection is presented. By injecting HF square wave voltage on d-axis and q-axis by turns, the HF current response is obtained and the coupling effect is reduced. Then, using the triangular characteristics of current response, its envelope can be extracted on this basis, the identification algorithm of dq-axis inductance is designed. Since the frequency of square wave voltage can be 0.5 times of the switching frequency, this method has little effect on the motor speed. The simulation results indicates that the proposed method can accurately identify the inductance value and improve the sensorless performance.

2 Problem Formulation

2.1 The Model-Based Sensorless Control of PMSM

Assuming the winding of PMSM is symmetric and the saturation effect is neglected, the αβ-axis voltage-flux model is given by

$$ \left\{ \begin{gathered} u_{\alpha } = p\psi_{r\alpha } + R_{s} i_{\alpha } + L_{q} (pi_{\alpha } ) \hfill \\ u_{\beta } = p\psi_{r\beta } + R_{s} i_{\beta } + L_{q} (pi_{\beta } ) \hfill \\ \end{gathered} \right. $$
(1)

where iα,β and uα,β denote the αβ-axis currents and voltages; \(\psi_{r\alpha } =\)\([\psi_{r} + (L_{d} - L_{q} )i_{d} ]\cos \theta\) and \(\psi_{r\beta } = [\psi_{r} + (L_{d} - L_{q} )i_{d} ]\sin \theta\) denote the “equivalent flux”; Rs, Ld and Lq denote stator resistance and dq-axis inductance. Based on Eq. (1), \(\psi_{r\alpha }\) and \(\psi_{r\beta }\) can be estimated by second-order generalized integrator (SOGI), which is presented as

$$ \frac{dv}{{dt}} = [(u_{\alpha } - \hat{R}_{s} i_{\alpha } - v)k - \hat{\omega }\int_{0}^{t} v dt]\hat{\omega } $$
(2)

According to [13], v will track \(u_{\alpha } - R_{s} i_{\alpha }\), and \(\int_{0}^{t} v dt\) can be simultaneously obtained. Then, \(\psi_{r\alpha }\) can be estimated by \(\hat{\psi }_{r\alpha } = \int_{0}^{t} v dt - \hat{L}_{q} i_{\alpha }\), where the hat “^” indicates the estimated value hereafter. Similarly, \(\hat{\psi }_{r\beta }\) can be also estimated using SOGI. Then, both the position and speed will be acquired by PLL. We can see in above process, the accurate resistance and inductance are necessary for position and speed estimation.

2.2 The Influence of Parameter Error on Position Estimation

Assuming \(\hat{R}_{s} \ne R_{s}\) and \(\hat{L}_{q} \ne L_{q}\), the following equation can be obtained from Eq. (1)

$$ \left\{ \begin{gathered} \hat{\psi }_{r\alpha } = \psi_{r\alpha } - \tilde{R}_{s} \int_{0}^{t} {i_{\alpha } dt} - \tilde{L}_{q} i_{\alpha } \hfill \\ \hat{\psi }_{r\beta } = \psi_{r\beta } - \tilde{R}_{s} \int_{0}^{t} {i_{\beta } dt} - \tilde{L}_{q} i_{\beta } \hfill \\ \end{gathered} \right. $$
(3)

where \(\tilde{R}_{s} \,{ = }\,\hat{R}_{s} - R_{s}\) and \(\tilde{L}_{q} = \hat{L}_{q} - L_{q}\). Then, multiply \(\left( {\begin{array}{*{20}c} {\cos \hat{\theta }} & {\sin \hat{\theta }} \\ { - \sin \hat{\theta }} & {\cos \hat{\theta }} \\ \end{array} } \right)\) on both sides of Eq. (3), it yields

$$ \left\{ \begin{gathered} \psi_{rm} = [\psi_{r} + (L_{d} - L_{q} )i_{d} ]\cos \tilde{\theta } - ({{\tilde{R}_{s} } \mathord{\left/ {\vphantom {{\tilde{R}_{s} } \omega }} \right. \kern-0pt} \omega })i_{q} - \tilde{L}_{q} i_{d} \hfill \\ 0 = [\psi_{r} + (L_{d} - L_{q} )i_{d} ]\sin \tilde{\theta } + ({{\tilde{R}_{s} } \mathord{\left/ {\vphantom {{\tilde{R}_{s} } \omega }} \right. \kern-0pt} \omega })i_{d} - \tilde{L}_{q} i_{q} \hfill \\ \end{gathered} \right. $$
(4)

Then, the position error can be deduced as

$$ \tilde{\theta } = \arcsin [{{(\tilde{R}_{s} i_{d} )} \mathord{\left/ {\vphantom {{(\tilde{R}_{s} i_{d} )} {(\psi_{m} \omega )}}} \right. \kern-0pt} {(\psi_{m} \omega )}} - {{(\tilde{L}_{q} i_{q} )} \mathord{\left/ {\vphantom {{(\tilde{L}_{q} i_{q} )} {\psi_{m} }}} \right. \kern-0pt} {\psi_{m} }}] $$
(5)

where \(\psi_{m} = \psi_{r} + (L_{d} - L_{q} )i_{d}\). We can see the position error resulted by \(\tilde{R}_{s}\) relates to \(i_{d}\) and ω, and the position error resulted by \(\tilde{L}_{q}\) is determined by iq. For surface-mounted PMSM, id is generally controlled as zero, and iq produces the electromagnetic torque, so the effect of \(\tilde{L}_{q}\) will be more severe than that of \(\tilde{R}_{s}\). For interior PMSM, both \(\tilde{R}_{s}\) and \(\tilde{L}_{q}\) will lead to the position error, especially under heavy load.

3 The HF Square Voltage Injection Based Inductance Identification

3.1 The HF Voltage Equation

From above section, we can see that the inductance error will lead to the larger position error in medium and high speed region. So, in this paper, an inductance identification method is proposed. Injecting the HF square voltage, and ignoring the resistance voltage and back-EMF, we have

$$ \left\{ \begin{gathered} u_{din} = L_{d} pi_{din} - \omega L_{q} i_{qin} \hfill \\ u_{qin} = L_{q} pi_{qin} + \omega L_{d} i_{din} \hfill \\ \end{gathered} \right. $$
(6)

where \(u_{din}\), \(u_{qin}\), \(i_{din}\) and \(i_{qin}\) are HF voltages and currents. It should be noted that, unlike the traditional high-frequency signal injection method which is generally used at low-speed, the coupling term should not be ignored at higher speed. Since the frequency of the square voltage can be very high, the influence on the rotor speed will be slight. And considering the high-frequency voltage drop of the resistance is very small, we can ignore the back-EMF and the resistance voltage.

3.2 The Inductance Identification Algorithm

In this section, the inductance identification algorithm is presented.

First, at high-speed region, the effect of coupling term \(\omega L_{q} i_{qin}\) and \(\omega L_{d} i_{din}\) is larger. To reduce the coupling effect, the d-axis and q-axis square voltages are injected by turns, i.e., when \(u_{din}\) is injected, \(u_{qin} = 0\); and when \(u_{qin}\) is injected, \(u_{din} = 0\). Here, we take injecting \(u_{din}\) as an example. Since \(u_{qin} = 0\), iqin can be ignored, then we have

$$ u_{din} = L_{d} pi_{din} $$
(7)

Since \(u_{din}\) is a square wave, \(i_{din}\) will be a triangular wave. Therefore, if we extract the envelope of idin, i.e., peak value of the triangular wave. Ld can be calculated using Eq. (7).

Let id = idf + idin, where iqf denotes fundamental wave in id. Assuming iqf is constant in \({{T_{i} } \mathord{\left/ {\vphantom {{T_{i} } 2}} \right. \kern-0pt} 2}\), where Ti is the injection cycle time, and considering the characteristic of triangular wave, we have

$$ \left\{ \begin{gathered} i_{d} (k_{1} ) - i_{d} (k_{0} ) = 2I_{dh} {\text{sgn}} (u_{qh} (k_{0} )) \hfill \\ i_{d} (k_{1} ) + i_{d} (k_{0} ) = 2i_{df} (k_{0} ) \hfill \\ \end{gathered} \right. $$
(8)

where \(I_{dh}\) is the envelope of iqh, i.e., peak value of the triangular wave. Using Eq. (8), both \(I_{dh}\) and idf can be extracted. Considering Iqh is a constant or slowly varying variable, we can use the low pass filter to reduce the noise of current with little information loss.

Then, according to Eq. (7), we have

$$ \left| {u_{dh} } \right| = L_{d} \frac{{4I_{dhL} }}{{T_{i} }} $$
(9)

where \(I_{dhL}\) is the filtered Idh. Define

$$ H = (\left| {u_{din} } \right| - \frac{{\hat{L}_{d} }}{4}TI_{dinL} )^{2} $$
(10)

It can be known that the optimum value of \(L_{d}\) can make H become minimum. Using gradient theory, the identification algorithm is designed as

$$ \frac{{d\hat{L}_{d} }}{dt} = \lambda (\left| {u_{din} } \right| - \frac{{\hat{L}_{d} }}{4}TI_{dinL} ) - \frac{1}{4}TI_{dinL} $$
(11)

where \(\lambda > 0\) is the adaptive parameter which determines the convergence rate.

When q-axis voltage is injected, the identification algorithm of q-axis inductance can be designed similarly. In order to improve the real-time performance, the dq-axis voltage injection period of should be shorter. In this paper, it set as 0.1 s.

Figure 1 shows the block diagram of inductance identification algorithm. When \(u_{din}\) is injected, \(u_{qin}\) is zero, Ld is identified using idin, and at the same time, Lq is also identified using the data obtained in last period. Since this method does not rely on the rotor saliency, it is applicable to surface mounted and interior PMSM. Figure 2 shows the overall system including the sensorless control of PMSM.

Fig. 1.
figure 1

The diagram of inductance identification

Fig. 2.
figure 2

The diagram of the overall system

Table 1. Parameters of PMSM
Fig. 3.
figure 3

Inductance identification results

Fig. 4.
figure 4

Rotor position estimation and its error

Fig. 5.
figure 5

Injected voltage and the current response

4 Simulation Results

The simulation is carried out in this section. The motor parameters used in simulation are shown in Table 1.

Figure 3 shows the inductance estimation results. We can see that after the identification algorithm is enabled, the estimated inductance can quickly converge from the initial value to the actual value. Figure 4 shows the position estimation and its error. When the inductance error exists, the position error is also large. As the estimated inductance converges to its actual value, the position estimation error also converges to around zero. Figure 5 shows the injected voltage, the current response and its envelope extraction. It can be seen that the envelope of the current response can be accurately acquired using Eq. (8). We can also see the extracted envelope contains high-frequency noise, which can be reduced by low-pass filter, and it will not affect the inductance identification accuracy.

5 Conclusion

In order to resolve the inductance mismatch problem in sensorless PMSM control, an online inductance identification method based on high-frequency (HF) square wave voltage injection is proposed. By injecting HF square wave voltage on dq-axis by turns, the HF current response is obtained. And the envelope of current response can be extracted using the characteristic of triangular wave. Based on that, an identification algorithm of inductance is designed. The simulation results validate the effectiveness of this method.