Abstract
It is impossible to install or apply position sensors appropriately in some special applications of PMSM. Sensorless PMSM control is an appropriate choice to solve some problems in the control of PMSM. It is necessary to acquire an estimated position precisely and avoid the chattering phenomenon for sensorless PMSM control. This paper proposes an algorithm for estimating position with sliding mode observer (SMO) based on sigmoid function, and a sufficient condition that leads SMO into a sliding surface is acquired using Lyapunov stabilization analysis. The outcome of this study shows that SMO based on sigmoid function for sensorless PMSM control can estimate position with high precision and avoid chattering phenomenon under the condition of different velocity and load. However, the estimated position needs to be compensated for according to load, and the compensating value is in proportion to the value of the current.
Similar content being viewed by others
Avoid common mistakes on your manuscript.
1 Introduction
With the development of permanent magnet materials, permanent magnet synchronous motor (PMSM) has the advantages of no rotor loss, high power density, energy efficiency, and good static performance [1,2,3,4]. It has attracted widespread attention and recognition. In general, PMSM needs to be controlled to get constant torque according to the position of the rotor. While the encoder and the rotary transformer have been used to detect the position of the rotor, it increases costs, mechanical instabilities, and the complexity of the system. Meanwhile, the position sensor is sensitive to temperature and vibration, which makes it impossible to install and apply in some special applications [5]. Therefore, sensorless control is gaining increasing attention. Sensorless technology has always been a hot topic, including rotor position information derived through the direct detection of voltage and current [6], linear observer [7], model reference adaptive control methods [8], and nonlinear estimation based on the extended Kalman filter algorithm [9, 10]. However, these technologies have some shortcomings, such as DC offset, non-global convergence, parameter dependence, and large amounts of computing.
Because of the advantages of fast dynamic response, insensitivity to parameter variations, and strong robustness [11, 12], sliding mode observer (SMO) is widely used for the sensorless control of PMSM [13, 14]. Sensorless control based on SMO is an appropriate method to estimate the position according to electromotive force (EMF). In the stator voltage equation, the EMF is processed as a disturbance, and any interference is considered to be a part of EMF. Chattering problem, caused by the discontinuous switch character of sliding mode variable structure control methods, is the main obstacle in using SMOs as back EMF observers [11].
Several methods have been proposed for reducing the effect of chattering on position estimation in SMO. In [15], an iterative sliding mode observer (ISMO) is proposed for the robust sensorless control of a PMSM with variable parameters. The proposed ISMO improves the performance of the sensorless technique by iteratively applying the observer 4 times in a current regular period, which reduces the error of back EMF estimation. However, the ISMO requires more running time than conventional SMO. In [16], the chattering noise is reduced by introducing the fuzzy control algorithm to effectively adjust the switching gains according to the sliding mode arrival condition. However, the addition of fuzzy control increases the complexity of the algorithm.
The method based on switching function is another main method to reduce the effect of chattering on position estimation. The sign function is used to enter into the sliding surface of the conventional SMO. However, the step sign function demanding higher requirements of the low-pass filtering may cause the buffeting phenomenon, resulting in large delay, reducing the accuracy of position estimation. To reduce the chattering problem, a sigmoid function is proposed to replace the sign function. In [17], a sigmoid function with variable boundary layers is used as the switching function. The width of the boundary layers must be adjusted according to velocity, otherwise chattering or steady-state error will occur.
In this paper, sensorless PMSM control with SMO based on sigmoid function is presented. First, the SMO model is derived based on the sigmoid function in this paper according to the mathematical model of the IPMSM. Second, sliding mode gain \(k\) and sufficient condition under which SMO can enter into the sliding surface are obtained using Lyapunov stability analysis method. The key parameter \(a\) in the sigmoid function is discussed. Finally, the results of the simulation and experiment show that the sigmoid function can eliminate the chattering phenomenon, and the accuracy of the estimated position is guaranteed.
2 Sliding Mode Observer Model of IPMSM Based on Sigmoid Function
Considering the salient effect, the relationship of PMSM is shown below in the coordinate system \(A - B - C\),\(\alpha - \beta\),\(d - q\).
The voltage equation in the coordinate system \(d - q\) is:
Because the first matrix of the right part of the Eq. (1) is asymmetric, this matrix can be transformed to be of odd symmetry.
According to the coordinate transformation, Eq. (2) is transformed under the coordinate \(\alpha - \beta\) system.
The second term of (3) is the extension EMF (EEMF).
So, the position of rotor is
Equation (3) can be written in the form of state equation.
From the equation, we can observe that the EEMF includes significant information. The position of the rotor can be obtained through the estimated EEMF.
When resistance deviation is considered, based on the method of state observer and Eq. (6), SMO model of EEMF is
\(A = \left[ {\begin{array}{*{20}c} { - \frac{R}{{L_{d} }}} & { - \omega \frac{{L_{d} - L_{q} }}{{L_{d} }}} \\ {\omega \frac{{L_{d} - L_{q} }}{{L_{d} }}} & { - \frac{R}{{L_{d} }}} \\ \end{array} } \right],B = \left[ {\begin{array}{*{20}c} {\frac{1}{{L_{d} }}} & 0 \\ 0 & {\frac{1}{{L_{d} }}} \\ \end{array} } \right]\),
\(\overline{i}_{\alpha } = \widehat{i}_{\alpha } - i_{\alpha }\), \(\overline{i}_{\beta } = \widehat{i}_{\beta } - i_{\beta }\)
\(\widehat{i}_{\alpha } ,\,\;\widehat{i}_{\beta }\)—the estimated current.
\(\overline{i}_{\alpha } ,\;\overline{i}_{\beta }\)—the error of the estimated current.
Equation (7) is the sliding mode state observer. When the error of the estimated current is processed with sign function in the traditional SMO, the estimated EMF is a modulation waveform, and the cutoff frequency of the low pass filter is designed to be very low. This causes the estimated position lag, while the estimated position has jitter problems. The performance of the whole system comes down or does not function properly (Fig. 1). Therefore, the sigmoid function is applied to the SMO in this study.
The expression of the sigmoid function is
In Eq. (8), \(a\) is a constant used for adjusting the slope of the sigmoid function, and when \(a\) is close to infinity, the sigmoid function is transformed into a sign function.
According to (6) and (7), the estimated EEMF is
The diagram of the estimated position can be obtained from the analysis above, as shown in Fig. 2.
The diagram of SMO based on the sigmoid function for sensorless PMSM control is shown in Fig. 3. Phase voltage is calculated based on the voltage of the DC bus and SVPWM switching state. The measured phase currents are transformed into \(i_{\alpha } ,i_{\beta }\), then \(i_{\alpha } ,i_{\beta }\) are placed into the SMO model with phase voltage, and the position is obtained according to (5) and (9).
3 The stability Analysis of the System
The key of SMO for PMSM is to ensure that the estimated values can converge to the sliding surface. When the current error is negative, its differential value is positive; when the current error is positive, its differential value is negative. This law is presented by the non-negative Lyapunov function in Eq. (10).
\(s = [\begin{array}{*{20}c} {\overline{i}_{\alpha } } & {\overline{i}_{\beta } } \\ \end{array} ]^{T}\) is estimated current error.
According to the Lyapunov stability theory, the derivative of V must be less than zero to ensure that the stable point has asymptotic stability. The derivative of the Eq. (11) is
Substituting (6) and (7) into (11), Eq. (12) is obtained.
According to (8), \(H(\overline{i}_{\alpha } )\) and \(H(\overline{i}_{\beta } )\) are increasing functions, which pass through the origin and are restricted within \(\pm 1\). Therefore, a sufficient condition to Eq. (12) is (13).
Equation (13) determines the feedback coefficient of SMO to guarantee that SMO based on the sigmoid function will converge to the sliding surface. At the same time, k determines the speed of convergence. At the switching point of sliding mode, the change of the current error will lead to the change of the sigmoid function; motor voltage equation is equivalent to a first-order incentive system, and the main reason of the jitter is the response of the stimulus in SMO. The higher the number of k, the greater the response value. Therefore, the jitter and stability must reach an equilibrium point with the selection of k. Furthermore, a must also be selected appropriately; if a is too small, it will affect the stability of the system or the speed of convergence; if a is too large, the jitter problem will appear. Under the condition of proper a and k, the sigmoid function, instead of sign function, has a significant advantage in the jitter problem.
4 The Simulation and Experimental Results
The parameters of the motor are shown in Table 1. The motor was connected to the DC generator with a belt as the load. Selecting the photoelectric encoder of Autonics, the position can be used as the actual position. \(a = 1\) in the sigmoid function, the gain of current error is K = 250.
In this study, the current waveforms are obtained by the current sensor. The actual position \(\theta\), estimate position \(\widehat{\theta }\), and estimation error \(\theta - \widehat{\theta }\) are obtained by the TLC7528 after processed by a DSP. There are only two DA channels in TLC7528, so the three waveforms about the position cannot appear in the oscilloscope at the same time. The experiments were run under the conditions of sensorless PMSM control (Fig. 4).
The calculated electromotive force is shown in Fig. 5a. The upper part in the figure is the waveform before the low-pass filter, and the lower part is the waveform after the low pass filter. There is no high-frequency component, and there is little delay in the lower part of Fig. 5a. The spectrum analysis of the waveform before the low-pass filter is shown in Fig. 5b. The frequency of harmonics is \(250*n\) times of the fundamental. The fundamental component is the electrical frequency of the machine, which is far lower than the frequency of harmonics. Therefore, jitter and delay are produced substantially.
While there is no load at 2 Hz, the current of phase A, actual position, and estimated position are shown in Fig. 6a. The A-phase current, actual position, and estimated error are shown in Fig. 6b. The actual position coincides with the estimated position, and the estimated error is significantly small. This algorithm is well verified in low-speed operating conditions.
While there is no load at 20 Hz, the position and current are shown in Fig. 7. Compared with 2 Hz, there are higher estimation accuracy and better matching degree.
The position estimation at 20 Hz and sudden load are shown in Fig. 8. When loading suddenly, the estimated error increases from 0º to 5º.
The figure of stable operation is shown in Fig. 9 at 20 Hz and loading; when loaded stable operation, the position error is stable ahead of the actual position about 5º. The error can be compensated for according to the load and is easy to implement; a similar phenomenon also appears in [18]. The stable estimated error in the figure shows that there is no chattering phenomenon.
5 Conclusion
The SMO of the sigmoid function is based on BEMF of the IPMSM. The obtained findings of this study are:
-
1.
Lyapunov stability analysis was used to obtain the sliding mode gain range
-
2.
2. The sigmoid function to eliminate the chattering phenomenon of SMO is analyzed.
-
3.
3. The experimental results show that this method can suppress and eliminate the buffeting phenomenon and proved that the SMO of the sigmoid function has much higher accuracy.
-
4.
4. The estimated position which is ahead of the actual position on load needs further analysis to reduce or eliminate.
References
Zhou Yu, Li H, Wang W, Cao Q, Zhou S (2015) Improved method for calculating magnetic field of surface-mounted permanent magnet machines accounting for slots and eccentric magnet pole. J Electr Eng Technol 10(3):1025–1034
Chen Z, Tomita M, Doki S, Okuma S (2003) An extended electromotive force model for sensorless control of interior permanent magnet synchronous motors. IEEE Trans Indus Electron 50(2):288–295
Zhou Y, Li HS, Meng GW, Zhou S, Cao Q (2015) Analytical calculation of magnetic field and cogging torque in surface-mounted permanent-magnet machines accounting for any eccentric rotor shape. IEEE Trans Industr Electron 62(6):1–1
M. Aryanezhad A novel designing approach to dual rotor switched reluctance motor based electric vehicles. In: 2015 30th International Power System Conference (PSC); IEEE published, 2015:54-59
Maidum M (1992) Rotor position estimation scheme of a permanent magnet synchronous machine for high performance variable speed drive. Houston, USA, IEEE IAS, pp 48–53
Bose Bimal K (2003) Modern power electrics and AC drives. China Machine Press, Beijing, pp 157–160
YS Kim, SK Kim, MRAS based sensorless control of permanent magnet synchronous motor. In: IEEE SICE Annual Conference, 2003, Fukui, Japan:1632–1637.
Zhe S, Rong-xiang Z, Ru-zhen D (2007) Research on sensorless control method of PMSM based on an adaptive sliding mode observer. Proc CSEE 27(3):23–27
Mercorelli P (2012) A hysteresis hybrid extended kalman filter as an observer for sensorless valve control in camless internal combustion engines. IEEE Trans Ind Appl 48(6):1940–1949
Mercorelli P (2012) A two-stage augmented extended kalman filter as an observer for sensorless valve control in camless internal combustion engines. IEEE Trans Industr Electron 59(11):4236–4247
Wang Y, Yongxiang Xu, Zou J (2019) Sliding mode sensorless control of PMSM with inverter nonlinearity compensation. IEEE Trans Power Electron 34(10):10206–10220
Liang D, Li J, Ronghai Qu, Kong W (2018) Adaptive second-order sliding-mode observer for PMSM sensorless control considering VSI nonlinearity. IEEE Trans Power Electron 33(10):8994–9004
Wen-qi LU, Yu-wen HU, Du X (2010) Sensorless vector control using a novel sliding mode observer for PMSM speed control system. Proc CSEE 30(33):78–83
Ran L, Zhao G, Xu S (2012) Sensorless control of permanent magnet synchronous motor based on extended sliding mode observer. Trans China Electrotech Soc 27(3):79–85
Lee H, Lee J (2013) Design of iterative sliding mode observer for sensorless PMSM control. IEEE Trans Control Syst Technol 21(4):1394–1399
Sheng L, Li W, Wang Y, Fan M, Yang X (2017) Sensorless control of a shearer short-range cutting interior permanent magnet synchronous motor based on a new sliding mode observer. IEEE Access 5:18439–18450
Kim H, Son J, Lee J (2011) A high-speed sliding-mode observer for the sensorless speed control of a pmsm. IEEE Trans Indus Electron 58(9):4069–4077
Corley MJ, Lorenz RD (1998) Rotor position and velocity estimation for a salient-pole permanent magnet synchronous machine at standstill and high speeds. IEEE Trans Indus Appl 34(4):784–789
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
This work was supported in part by the Key Research of Development and Promotion of Henan Province under Grant 212102210250, and in part by the Key Research of Development and Promotion of Henan Province under Grant 202102210307.
Rights and permissions
About this article
Cite this article
Ren, N., Fan, L. & Zhang, Z. Sensorless PMSM Control with Sliding Mode Observer Based on Sigmoid Function. J. Electr. Eng. Technol. 16, 933–939 (2021). https://doi.org/10.1007/s42835-021-00661-4
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s42835-021-00661-4