Next Article in Journal
The Fault-Tolerant Control Strategy for the Steering System Failure of Four-Wheel Independent By-Wire Steering Electric Vehicles
Previous Article in Journal
The Practical Learning on Electric Bus Conversion to Support Carbon Neutrality Policy in Thailand’s Transport Sector
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

PMSM Position Sensorless Control Based on Improved Second-Order SOIFO

1
School of Internet of Things, Jiangnan University, Wuxi 214122, China
2
State Grid Zhejiang Electric Power Co., Ltd., Shaoxing 214111, China
*
Author to whom correspondence should be addressed.
World Electr. Veh. J. 2025, 16(3), 182; https://doi.org/10.3390/wevj16030182
Submission received: 20 February 2025 / Revised: 12 March 2025 / Accepted: 14 March 2025 / Published: 17 March 2025

Abstract

:
Due to detection errors, motor parameter deviations, and other uncertainties, traditional motor flux estimation models suffer from the complications of DC bias and high-order harmonics. To address these issues, two flux observers, the second-order generalized integrator flux observer (SOIFO) and the second-order SOIFO, are designed for position sensorless control of permanent magnet synchronous motors (PMSMs). The position sensorless control of PMSMs based on an improved second-order SOIFO is proposed in this paper. The proposed method enhances the frequency-locked loop (FLL) in the observer by introducing a double-axis frequency-locked loop (DFLL), which improves the dynamic performance and disturbance rejection capability of the flux observer. By replacing FLL with DFLL for angular frequency estimation, the method effectively eliminates second-harmonic interference while reducing estimation delays, leading to faster and more accurate rotor position estimation in the second-order SOIFO. Additionally, the improved observer demonstrates enhanced robustness against disturbances, ensuring more stable position sensorless control. The effectiveness of the proposed approach is validated through both simulations and experimental comparisons.

1. Introduction

Permanent magnet synchronous motors (PMSMs) are widely used in electrical vehicles (EVs), industrial applications, and rail transit because of their high reliability, high efficiency and high power density [1]. Accurate speed control typically requires a position sensor mounted on the motor shaft to obtain position information. However, in practical industrial applications, position sensors increase both cost and mechanical complexity. To address these challenges and enhance motor control performance, position sensorless control technology has gained significant attention for its ability to operate without a position sensor.
Sensorless control methods can be broadly classified into the model-based control method and the signal injection control method [2], which are suitable for medium-to-high-speed ranges and low-speed ranges, respectively. In model-based methods, back electromotive force (back EMF) [3], extended back EMF [4,5,6,7], and rotor flux [8,9,10,11] are commonly used as estimation variables. Rotor flux estimation has the advantage of being independent of speed, giving it a theoretically broader operating range compared to back EMF or extended back EMF estimation. Rotor flux estimation methods are typically divided into observer-based approaches, where flux is estimated using an observer, and integration-based approaches, where flux is obtained by integrating the back EMF. The integration method is simple and practical, and has been widely studied in recent years. However, pure integration has limitations, due to the presence of the integral initial value and initial phase drift. In [12,13], various low-pass filters are used instead of pure integrators. In these low-pass filters, DC bias can decay exponentially with time, but it will cause fundamental phase delay and amplitude attenuation [14]. The second-order generalized integrator (SOIFO) proposed in [15] has no phase delay and amplitude attenuation, and can also suppress high-order harmonics. However, the DC bias is inversely proportional to the speed and cannot be completely eliminated. In recent years, compared with the traditional flux observer, the second-order SOIFO proposed in [16] can completely eliminate the negative effects caused by DC bias and it demonstrates excellent performance in eliminating high-order harmonics existing in the back EMF.
In the conventional second-order SOIFO, the frequency-locked loop (FLL) is used to track the estimated angular frequency. However, it introduces a second harmonic component, causing estimation delays and reducing the observer’s resistance to disturbances. To address this issue, a double-axis frequency-locked loop (DFLL) is introduced to eliminate the second harmonic influence. By using DFLL instead of FLL, the system achieves faster frequency and angle estimation, improving response speed and overall performance. In addition, to ensure practical implementation in a digital system, the transfer function is discretized using the bilinear transform and applied in experiments. Finally, both simulations and experimental results confirm the effectiveness of the proposed method.

2. Analysis of Proposed Sensorless PMSM Control

2.1. PMSM Mathematical Model

The mathematical expression of surface-mounted PMSMs (SPMSMs) in the α β axis is as follows:
u α u β = R s + p L 0 0 R s + p L i α i β + p ψ r α ψ r β
ψ r α ψ r β = ψ f cos θ e sin θ e
p θ e = ω e
where u α , u β , i α , i β , R s , L are the stator voltage in the α β axis, the stator current in the α β axis, the stator resistance, and the stator inductance, respectively, ψ r α , ψ r β are the stator flux, ψ f is the flux linkage, p is the differential operator, and ω e , θ e are the rotor electrical angular velocity and the rotor electrical position.
As shown in (1), the rotor flux is the integration of back EMF, which can be given as
ψ r α ψ r β = u α u β R s + p L 0 0 R s + p L i α i β d t = E r α E r β d t
E r α E r β = ω e ψ f sin θ e cos θ e
where E r α , E r β are the back EMF of the motor in the α β axis.

2.2. Second-Order SOIFO

Although the rotor flux can be obtained from (4), the pure integrator introduces DC bias, causing the rotor flux to drift. In addition, the nonlinear characteristics of the inverter, sampling error of the current and voltage, zero drift of the sensor, temperature change, and other problems will make the flux estimation more inaccurate. To better analyze these issues, the actual back EMF can be expressed as follows:
E r s = ( u s + Δ u s ) ( ( R s 0 + Δ R s ) + p ( L 0 + Δ L ) ) ( i s + Δ i s ) + E r s 0 + δ s
where “s” represents α or β , Δ u s , Δ i s are the stator voltage error and the stator current error, respectively. Δ L , Δ R s is the error of the motor’s parameter. E r s 0 is the initial back EMF. δ s are the other disturbances. In the form of DC bias, fundamental and harmonic components (6) can be described as
E r s ( t ) = A 0 + A 1 sin ( ω 1 t + θ 1 ) + h = 2 A h sin ( ω h t + θ h )
where ω 1 , ω h are the fundamental angular frequency and the harmonic angular frequency, respectively. A 0 , A 1 , A h are the amplitude of the DC component, the amplitude of the fundamental wave, and the amplitude of the high-order harmonic wave, respectively. θ 1 , θ h are the initial phase angle of the fundamental wave and the initial phase angle of the high-order harmonic wave, respectively.
The Laplace transformation of (7) can be expressed as
E r s ( s ) = A 0 s + A 1 s sin θ 1 + ω 1 cos θ 1 s 2 + ω 1 2 + i = 2 A h s sin θ h + ω h cos θ h s 2 + ω h 2
where E r s ( s ) is the Laplace transform of E r s ( t ) .
If the back EMF is directly integrated, the estimated rotor flux E r s ( s ) · 1 / s is given as
ψ r s _ I ( t ) = L 1 E r s ( s ) s = A 0 t + A 1 cos θ 1 ω 1 + h = 2 A h cos θ h ω h + A 1 ω 1 sin ( ω 1 t + θ 1 π 2 ) + h = 2 A h ω h sin ( ω 1 t + θ h π 2 )
In (9), due to the presence of the integral initial value A 0 t , the rotor flux will increase with time and eventually saturate, making it difficult for position sensorless control to accurately estimate the motor’s electrical angle and speed. Moreover, under low-speed conditions, the harmonic amplitude A h ω h will also increase, leading to inaccurate position estimation.
To eliminate DC bias and high-order harmonics in the back EMF of PMSM, the second-order SOIFO is proposed in [16]. The basic structure of the second-order SOIFO is shown in Figure 1, which consists of two parts: the second-order SOIFO and FLL. v is the input signal, but also the actual back EMF, v is the estimation of the input signal, but also the estimated back EMF, ε e s is the synchronous error, q v is the orthogonal quantity of v , ω ^ is the synchronous estimation of the angular frequency, but also the center frequency of the observer, ψ ^ r s is the estimation of the rotor flux linkage, k 1 , k 2 are the gain coefficient of second-order SOIFO, and Γ is the gain coefficient of FLL.
In order to analyze the influence of FLL and facilitate its application in discrete systems, this paper gives the transfer functions of the estimation of input signal and input signal, the orthogonal quantity of input signal and input signal, and synchronization error and input signal as follows
D ( s ) = v ( s ) v ( s ) = k 1 k 2 ω ^ 2 s 2 s 4 + k 2 ω ^ s 3 + ( 2 + k 1 k 2 ) ω ^ 2 s 2 + k 2 ω ^ 3 s + ω ^ 4
Q ( s ) = q v ( s ) v ( s ) = k 1 k 2 ω ^ 3 s s 4 + k 2 ω ^ s 3 + ( 2 + k 1 k 2 ) ω ^ 2 s 2 + k 2 ω ^ 3 s + ω ^ 4
E ( s ) = ε e s ( s ) v ( s ) = k 1 ω ^ s ( s 2 + ω ^ 2 ) s 4 + k 2 ω ^ s 3 + ( 2 + k 1 k 2 ) ω ^ 2 s 2 + k 2 ω ^ 3 s + ω ^ 4
In the steady state, it is defined that s = j ω ^ , ψ ^ rs = q v ω ^ , v = E r s ; thus, (11) can be expressed as
ψ ^ rs = 1 s E r s
In the steady state, the estimated flux linkage is the integral of back EMF, which is the real flux linkage, so the flux linkage observation can be realized. In order to ensure that the center frequency is synchronized with the fundamental frequency of back EMF, FLL is introduced to estimate the frequency.

2.3. Improved Second-Order SOIFO

2.3.1. Analysis of FLL

In (5), the input signal v ( s ) can be expressed as
v t = A cos ( ω t + φ ) = A cos ( θ )
where A , ω , φ , θ are the amplitude, angular frequency, initial phase angle, and phase angle of the input signal, respectively. Thus, the output signal v and q v can be described as
v = A ^ cos θ ^ q v = A ^ sin θ ^
where A ^ , θ ^ are the estimated amplitude and phase angle. Thus, (5) can be expressed as
v α = E ^ r α = A ^ sin θ ^ q v α = A ^ cos θ ^ v β = E ^ r β = A ^ cos θ ^ q v β = A ^ sin θ ^
By dividing (11) and (12), it is given as
ε e s q v = s 2 + ω ^ 2 k 2 ω ^ 2
In the steady state, it is defined as s = j ω , (17) can be described as
ε e s = q v ω ^ 2 ω 2 k 2 ω ^ 2
From Figure 1, it is given as
ω ^ ˙ = Γ · ε e s · q v · k 2 ω ^ v 2 + q v 2
By introducing (18) and (15) into (19), it is given as
ω ^ ˙ = Γ · ω ^ 2 ω 2 ω ^ · 1 + cos 2 θ ^ 2
In the steady state, it is defined ω ω ^ , thus (20) can be described as
ω ^ ˙ = Γ ( ω ^ ω ) ( 1 + cos 2 θ ^ )
Because the second harmonic component is included in (21), the estimated frequency fluctuates more violently when back EMF changes, and the frequency change in back EMF is related to the speed of the PMSM. Therefore, when the speed of the PMSM changes, this second harmonic component will change the value of angular frequency estimated by FLL. The angular frequency estimated by FLL interferes with the flux linkage estimated by the second-order SOIFO, ultimately leading to disturbances in the entire system.

2.3.2. Analysis of DFLL

Figure 2 shows the diagram of FLL/DFLL. In Figure 2a, there is a squared trigonometric function on either the α axis or the β axis. After the trigonometric transformation, the fundamental angular frequency is doubled, resulting in a second-harmonic component in the estimated motor angular frequency. Therefore, a DFLL method is used to solve this issue, and the structure of DFLL is shown in Figure 2b. As shown in Figure 2, using cos θ ^ 2 + sin θ ^ 2 = 1 , the second-harmonic component from FLL can be estimated.
Using DFLL, (19) can be rewritten as
ω ^ ˙ = Γ 2 · ω ^ 2 ω 2 k 2 ω ^ 2 · q v α 2 + q v β 2 · 2 k 2 ω ^ v α 2 + q v α 2 + v β 2 + q v β 2 = Γ · ω ^ 2 ω 2 2 ω ^
In the steady state, it is defined as ω ω ^ , (22) can be rewritten as
ω ^ ˙ = Γ · ω ^ ω
Compared with (21) and (23), it can be seen that the frequency response of the DFLL does not fluctuate twice as much as the frequency, which effectively improves the accuracy and speed of synchronous angular frequency estimation. However, in reality, the observer’s estimated value still contains noise and high-frequency oscillation. In addition, using the arctangent function to estimate the phase angle introduces high-frequency oscillations into the estimated value, leading to greater angle estimation errors. Therefore, this paper uses a phase-locked loop (PLL) to process the estimated values of angle and speed. The PLL is shown in Figure 3.

2.4. Discretization Method

In reference [17], a method for the discretization of second-order generalized integrators is proposed, and it is widely used in many papers and engineering applications. Therefore, this paper also adopts the method of bilinear transformation to discretize ( s = 2 T s 1 z 1 1 + z 1 ). The discrete forms of (10)–(12) are given as
D ( z ) = 2 b 0 ( 1 2 z 2 + z 4 ) 1 + a 1 z 1 + a 2 z 2 + a 3 z 3 + a 4 z 4
Q ( z ) = b 0 ω ^ T s ( 1 + 2 z 1 2 z 3 z 4 ) 1 + a 1 z 1 + a 2 z 2 + a 3 z 3 + a 4 z 4
E ( z ) = b 1 + b 2 z 1 b 2 z 3 b 1 z 4 1 + a 1 z 1 + a 2 z 2 + a 3 z 3 + a 4 z 4
where u = 2 k 1 k 2 ω ^ 2 T s 2 , v = 8 k 2 ω ^ T s , w = 4 ( 2 + k 1 k 2 ) ω ^ 2 T s 2 , x = 2 k 2 ω ^ 3 T s 3 , y = ω ^ 4 T s 4 , a 1 = 64 2 v + 2 x + 4 y 16 + v + w + x + y , a 2 = 96 2 w + 6 y 16 + v + w + x + y , a 3 = 64 + 2 v 2 x + 4 y 16 + v + w + x + y , a 4 = 16 v + w x + y 16 + v + w + x + y , b 0 = u 16 + v + w + x + y , b 1 = k 1 k 2 x + v 16 + v + w + x + y , b 2 = 2 k 1 k 2 x v 16 + v + w + x + y .
The bilinear discrete implementation structure of the improved second-order SOIFO is shown in Figure 4.

3. Simulation Analysis

3.1. Simulation Parameters

In order to verify the rationality and effectiveness of the method, this paper uses Matlab R2021a/Simulink for simulation. The structural block diagram of simulation and experiment is shown in Figure 5, and the parameters of simulation and motor platform are shown in Table 1. In order to ensure the scientific comparison experiment, the PI controller parameters of the speed loop and current loop are kept consistent in the simulation. In order to make the simulation effect close to reality, it is set so that the simulation adopts a fixed step 1 × 10−5 and SVPWM modulation, and the parameters of the second-order SOIFO are k 1 = 1.56 , k 2 = 3.11 , and Γ = 100 . In this article, the position error refers to the actual motor angle obtained from the encoder minus the estimated motor angle from the position sensorless control algorithm.

3.2. Simulation Result

3.2.1. Simulation of Motor Operation Under Sudden Speed Variations

To compare the dynamic performance of the proposed strategy under a sudden speed change, the SPMSM is operated at 500 r/min, and suddenly increased to 800 r/min at 1 s. Figure 6 shows the simulation results of the position sensorless control strategies under speed variations. In Figure 6, the “traditional method” refers to the position sensorless control based on second-order SOIFO, while the “proposed method” refers to the position sensorless control based on improved second-order SOIFO. In Figure 6b, the speed error is defined as the actual speed obtained by the encoder minus the speed obtained by the FLL/DFLL. As shown in Figure 6, the settling time of angle error in the traditional method is about 3.1 s, while that in the proposed method is about 5.5 s, which is about 44% shorter than that in the traditional method, thus verifying that the proposed method in this paper can effectively enhance the observer’s response speed under sudden speed variations.

3.2.2. Simulation of Motor Operation Under Load Variations

To evaluate the dynamic performance of the proposed strategy under a sudden load change, the SPMSM is operated at 1500 r/min, and a 5% rated load is added at 0.5 s. Figure 7 presents the simulation results of the position sensorless control strategies under load variations. In Figure 7, the “traditional method” refers to the position sensorless control based on second-order SOIFO, while the “proposed method” refers to the position sensorless control based on improved second-order SOIFO. In Figure 7b, the speed error is defined as the actual speed obtained by the encoder minus the speed obtained by the FLL/DFLL. As shown in Figure 7, under the control of the traditional method when the motor is subjected to a load change, the angle error is disturbed by external disturbance, resulting in a maximum drop of 22°, while the speed error results in a maximum drop of 130 r/min. However, under the control of proposed method, the angle error is disturbed by external disturbance, resulting in a drop of 21.4°, while the speed error results in a maximum drop of 96 r/min. Compared to the conventional method, the proposed method reduces the angular error drop by 4.5% and the velocity error drop by 26.1%. Furthermore, Figure 7b shows that the settling time of the speed error using the conventional method is shorter than that using the proposed method, which shows that the proposed strategy has better anti-disturbance performance and dynamic performance.

3.2.3. Simulation of Motor Operation over a Wide Speed Range

To verify the speed and position estimation performance of the position sensorless control strategy based on the improved second-order SOIFO over a wide speed range, the setting speed changes as 800–1500–2500–1500–800 r/min with no load, and the acceleration rate is 2000 r/min, and the deceleration rate is 2000 r/min.
Figure 8a displays the simulation waveforms of the estimated speed, actual speed, and estimated flux linkage using the position sensorless control based on the improved second-order SOIFO. Figure 8b illustrates the simulation waveforms of speed error and position error. In Figure 8, the speed error refers to the actual motor speed obtained from the encoder minus the estimated motor speed from the improved second-order SOIFO. As shown in Figure 8b, when the speed increases from 800 r/min to 1500 r/min, the maximum speed estimation error is approximately 39 r/min, and the maximum angle estimation error is about 24°. When the speed increases from 800 r/min to 1500 r/min, the maximum speed estimation error remains around 39 r/min, while the maximum angle estimation error is about 5°. These results indicate that the proposed scheme demonstrates excellent speed and position estimation capabilities over a wide speed range.

3.2.4. Simulation of the Motor Operation with Parameter Deviation or DC Bias

To evaluate the speed and position estimation performance of the position sensorless control algorithm based on the improved second-order SOIFO under the conditions of motor parameter deviation and DC bias, the following simulation is conducted.
  • Simulation of the motor operation with a voltage DC bias
    Under actual experimental conditions, the acquired voltage signals may contain a DC bias. To evaluate the robustness of the proposed method, the speed command is set to 800 r/min with no load and a 2 V DC offset is imposed on the stator voltage at 1 s. In the Figure 9, F l a g = 0 represents Δ u α = 0 V, and F l a g = 1 represents Δ u α = +2 V. As shown in Figure 9, after the stator voltage u α increases, the maximum speed drop is approximately 11 r/min, and the maximum position error reaches around 27°. The system then quickly recovers to a steady state, demonstrating that the proposed scheme has excellent performance in suppressing DC voltage bias.
  • Simulation of the motor operation with a current DC bias
    Under actual experimental conditions, the acquired current signals may contain a DC bias. To assess the robustness of the proposed method, the speed command is set to 800 r/min with no load and a 1.5 A DC bias is imposed on the stator current at 1 s. In Figure 10, F l a g = 0 represents Δ i α = 0 A, and F l a g = 1 represents Δ i α = +1.5 A. As shown in Figure 10, after imposing the DC bias on the stator current i α , the maximum measured speed drop is approximately 3 r/min, and the maximum position error is around 6°. The system then quickly recovers to a steady state, demonstrating that the proposed scheme has excellent performance in suppressing current DC bias.
  • Simulation of the motor operation with stator resistance deviation
    Under actual experimental conditions, the resistance value used in the control algorithm may have measurement errors. To evaluate the robustness of the proposed method, the speed command is set to 800 r/min with no load and the stator resistance is increased to 1.5 times its original value at 1 s. In Figure 11, F l a g = 0 represents Δ R s = 0 , and F l a g = 1 represents Δ R s = 0.5 R s . As shown in Figure 11, after the stator resistance is increased by 50%, the estimated rotor flux linkage remains almost unchanged, the actual motor speed remains unaffected, and the position error remains stable. Therefore, the proposed scheme has excellent performance in suppressing the resistance deviation.
  • Simulation of the motor operation with stator inductance deviation
    Under actual experimental conditions, the stator inductance used in the control algorithm may have measurement errors. To evaluate the robustness of the proposed method, the speed command is set to 800 r/min with no load, and the stator inductance is increased to 1.5 times its original value at 1 s. In Figure 12, F l a g = 0 represents Δ L s = 0 , and F l a g = 1 represents Δ L s = 0.5 L s . As shown in Figure 12, after the stator inductance is increased by 50%, the estimated flux linkage remains almost unchanged, the actual motor speed is not affected, and the position error remains the same. Therefore, the proposed scheme has excellent performance in suppressing inductance measurement errors.

4. Experimental Analysis

4.1. Experiment Parameters

As shown in Figure 13, the experimental platform is a permanent magnet synchronous motor drag system, which consists of a controlled motor and a load motor. Among them, the controlled motor is an SPMSM, which is controlled by an inverter platform driven by the main control chip TMS320F28335. The load motor is a servo motor, which communicates with the PC through Ethercat to provide load torque. To accurately measure the real angle and real speed, a 2500-line magnetic encoder is installed at the end of the SPMSM. This experiment utilizes a MATLAB R2021a embedded code support package provided by TI company, which generates and writes code to the control chip. The motor is then controlled via a PC and the experimental data are recorded for further analysis. The parameters of the SPMSM experimental platform are consistent with Table 1.

4.2. Experimental Results

4.2.1. Experimental Verification of Motor Operation Under Sudden Speed Variations

To compare the dynamic performance of the proposed method under a sudden speed change, the command speed of the SPMSM is increased from 500 r/min to 800 r/min at 0.5 s. Figure 14 shows the experimental results of the position sensorless control strategies under speed changes. In Figure 14, the “traditional method” refers to the position sensorless control based on a second-order SOIFO, and the “proposed method” refers to the position sensorless control based on an improved second-order SOIFO. In Figure 14b, the speed error refers to the actual speed obtained by the encoder minus the speed obtained by the FLL/DFLL. Figure 14 shows that the adjustment time of angle error in the traditional method is about 2.8 s, while that in the proposed method is about 1.8 s. Comparatively, the adjustment time of the proposed method is 55% shorter than that of the traditional method, which is consistent with the conclusion of simulation analysis.

4.2.2. Experimental Verification of Motor Operation Under Load Variations

To compare the dynamic performance of the proposed strategy under a sudden load change, the SPMSM is operated at 1500 r/min, and the load torque is changed from 0% rated load to 5% rated load at 0.69 s. Figure 15 shows the experimental results of the position sensorless control strategies under load changes. In Figure 15, the “traditional method” refers to the position sensorless control based on a second-order SOIFO, and the “proposed method” refers to the position sensorless control based on an improved second-order SOIFO. In Figure 15b, the speed error is defined as the actual speed obtained by the encoder minus the speed obtained by the FLL/DFLL. As shown in Figure 15, under the control of the traditional method, when the SPMSM is loaded, the position error is disturbed by external disturbance, resulting in a drop of 8.1°, while the speed error results in a drop of 94 r/min. However, under the control of the proposed method, the angle error caused by external disturbance dropped by 9.3°, while the speed error results in a drop of 49 r/min. Compared to the traditional method, the proposed method reduces the angular error drop by 12.3% and the velocity error drop by 47.9%. Furthermore, in Figure 15b, the settling time of the speed error under proposed control is shorter than that under conventional control, which is consistent with the simulation analysis conclusion.

4.2.3. Experimental Verification of Motor Operation over a Wide Speed Range

To verify the speed and position estimation performance of the proposed improved second-order SOIFO over a wide speed range from 800 to 2500 r/min, the same procedure as in the simulation is followed under no-load conditions: the setting speed changes as 800–1500–2500–1500–800 r/min, and the acceleration rate is 2000 r/min, and the deceleration rate is 2000 r/min.
Figure 16a presents the simulation waveforms of the estimated speed, actual speed, and estimated flux linkage using the position sensorless control scheme based on the improved second-order SOIFO. Figure 16b illustrates the experimental results of speed error and position error. In Figure 16b, the speed error refers to the actual speed obtained by the encoder minus the speed obtained by the position sensorless control scheme based on the improved second-order SOIFO. As shown in Figure 16, when the speed increases from 800 r/min to 1500 r/min, the maximum speed estimation error is approximately 14 r/min, and the maximum angle estimation error is about 23°. When the speed increases from 1500 r/min to 2500 r/min, the maximum speed estimation error is about 12 r/min, and the maximum angle estimation error is around 8°. When the speed decreases from 2500 r/min to 1500 r/min, the maximum speed estimation error is approximately 17 r/min, and the maximum angle estimation error is about 2°. When the speed decreases from 1500 r/min to 800 r/min, the maximum speed estimation error is about 13 r/min, and the maximum angle estimation error is around 22°. These results demonstrate that the proposed scheme has excellent speed and position estimation capabilities over a wide speed range.

4.2.4. Experiment of the Motor Operation with Parameter Deviation

To verify the speed and position estimation performance of the proposed improved second-order SOIFO with parameter deviation, the following experiments are conducted.
  • Experiment of the motor operation with a voltage DC bias
    Under actual experimental conditions, the acquired voltage signals may contain a DC bias. Therefore, the speed command is set to 800 r/min with no load and a 2 V DC offset is imposed on the stator voltage at 1s. In Figure 17, F l a g = 0 represents Δ u α = 0 V, and F l a g = 1 represents Δ u α = +2 V. As shown in Figure 17, after the stator voltage u α increases, the actual motor speed is not affected, and the maximum position error is around 17°. The system then quickly recovers to a steady state, demonstrating that the proposed scheme has excellent performance in suppressing DC voltage bias.
  • Experiment of the motor operation with a current DC bias
    Under actual experimental conditions, the acquired current signals may contain a DC bias. Therefore, the speed command is set to 800 r/min with no load and a 1.5 A DC bias is imposed on the stator current at 1s. In Figure 18, F l a g = 0 represents Δ i α = 0 A and F l a g = 1 represents Δ i α = +1.5 A. As shown in Figure 18, after imposing the DC bias on the stator current i α , the actual motor speed is not affected, and the position error remains the same. Therefore, the proposed scheme has excellent performance in suppressing the current DC bias.
  • Experiment of the motor operation with stator resistance deviation
    Under actual experimental conditions, the resistance value used in the control algorithm may have measurement errors. Therefore, the speed command is set to 800 r/min with no load and the stator resistance is increased to 1.5 times its original value at 1 s. In Figure 19, F l a g = 0 represents Δ R s = 0 , and F l a g = 1 represents Δ R s = 0.5 R s . As shown in Figure 19, after the stator resistance is increased by 50%, the estimated rotor flux linkage remains almost unchanged, the actual motor speed is not affected, and the position error remains the same. Therefore, the proposed scheme has excellent performance in suppressing the resistance deviation.
  • Experiment of the motor operation with stator inductance deviation
    Under actual experimental conditions, the stator inductance used in the control algorithm may have measurement errors. Therefore, the speed command is set to 800 r/min with no load, and the stator inductance is increased to 1.5 times its original value at 1 s. In Figure 20, F l a g = 0 represents Δ L s = 0 , and F l a g = 1 represents Δ L s = 0.5 L s . As shown in Figure 20, after the stator inductance is increased by 50%, the estimated flux linkage remains almost unchanged, the actual motor speed is not affected, and the position error remains the same. Therefore, the proposed scheme has excellent performance in suppressing inductance measurement errors.

5. Conclusions

In this study, an improved second-order SOIFO is proposed for estimating the flux of PMSMs. The estimated flux is further processed through a phase-locked loop (PLL) to obtain the motor speed and rotor position. Section 2 presents the mathematical modeling of the PMSM, introduces the fundamental principles and transfer function of the second-order SOIFO, and analyzes the FLL to explain the origin of second-harmonic components. To address this issue, a DFLL is employed to suppress the second-harmonic disturbance. In Section 3, MATLAB-based simulations are conducted to validate the proposed position sensorless control method. The results demonstrate that the proposed method achieves a faster response time compared to traditional approaches and exhibits robustness against parameter variations and DC bias. In Section 4, experimental validation is conducted using a motor control platform based on the DSP TMS320F28335.
On one hand, this study provides a comprehensive theoretical analysis of the second-harmonic components generated by the FLL, highlighting the necessity for improvement. Compared to conventional methods, the proposed position sensorless control approach based on the improved second-order SOIFO significantly enhances system performance. Specifically, when the motor undergoes a sudden speed change, the settling time of the estimated rotor position error (actual motor angle measured by an encoder minus the estimated angle from position sensorless control) is reduced by nearly 50%. When the motor is subjected to a sudden load change, the peak deviation of the rotor position error decreases by 19%, and the peak deviation of the speed error (actual speed minus the estimated speed from FLL/DFLL) is reduced by 47.9%. These results confirm that the proposed method exhibits superior robustness in handling speed and load disturbances compared to conventional approaches. On the other hand, both simulation and experimental results verify that the proposed method operates effectively over a wide speed range while demonstrating resistance to parameter variations and DC bias. Furthermore, the introduced discretization approach facilitates seamless implementation in MATLAB/Simulink and can be conveniently deployed on embedded platforms via a MATLAB embedded code support package provided by TI company.
In summary, the proposed method outperforms traditional position sensorless control techniques in handling sudden speed and load changes, provides a wider operational speed range, and effectively mitigates parameter deviations such as motor parameter variations and DC bias. Future research could focus on optimizing parameter tuning strategies to further improve adaptability to complex operating conditions. Additionally, the proposed position sensorless control can contribute to the development of high-performance, energy-efficient, and intelligent EV systems.

Author Contributions

Conceptualization, G.S. and H.N.; Methodology, G.S., W.Y., W.W. and H.N.; Software, G.S. and W.W.; Validation, G.S. and W.W.; Formal analysis, G.S. and W.W.; Investigation, G.S., W.Y. and H.N.; Resources, H.N. and W.Y.; Data curation, G.S. and H.N.; Writing—original draft, G.S. and W.W.; Writing—review & editing, G.S. and W.W.; Visualization, G.S. and W.W.; Supervision, H.N. and W.Y.; Project administration, G.S., H.N. and W.Y.; Funding acquisition, W.Y. and H.N. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the project named Research on the Control Method of Transmission Line Enclosure Robot at Shaoxing Daming Electric Power Design Institute Co., Ltd. (Shaoxing, China) (CF058506002023008).

Data Availability Statement

The original contributions presented in this study are included in the article. Further inquiries can be directed to the corresponding author.

Conflicts of Interest

Author Hongyu Ni was employed by the company State Grid Zhejiang Electric Power Co., Ltd., Shaoxing, China. The remaining authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  1. Xing, J.; Zhang, J.; Zhuang, X.; Xu, Y. Online Inductance Identification of Permanent Magnet Synchronous Motors Independent of Rotor Position Information. World Electr. Veh. J. 2024, 15, 35. [Google Scholar] [CrossRef]
  2. Ferdiansyah, I.; Hanamoto, T. FPGA-Based High-Frequency Voltage Injection Position Sensorless Control with Novel Rotor Posit-ion Estimation Extraction for Permanent Magnet Synchronous Motor. World Electr. Veh. J. 2024, 15, 506. [Google Scholar] [CrossRef]
  3. Liang, D.; Li, J.; Qu, R.; Kong, W. Adaptive Second-Order Sliding-Mode Observer for PMSM Position Sensorless Control Considering VSI Nonlinearity. IEEE Trans. Power Electron. 2017, 33, 8994–9004. [Google Scholar] [CrossRef]
  4. Xu, Y.; Lin, C.; Xing, J. Transient response characteristics improvement of permanent magnet synchronous motor based on enhanced linear active disturbance rejection sensorless control. IEEE Trans. Power Electron. 2023, 38, 4378–4390. [Google Scholar] [CrossRef]
  5. Qu, L.; Qiao, W.; Qu, L. An enhanced linear active disturbance rejection rotor position sensorless control for perma-nent magnet synchronous motors. IEEE Trans. Power Electron. 2020, 35, 6175–6184. [Google Scholar] [CrossRef]
  6. Rafaq, M.S.; Mwasilu, F.; Kim, J.; Choi, H.H.; Jung, J.-W. Online parameter identification for model-based sensorless control of interior permanent magnet synchronous machine. IEEE Trans. Power Electron. 2017, 32, 4631–4643. [Google Scholar] [CrossRef]
  7. Du, B.; Wu, S.; Han, S.; Cui, S. Application of linear active disturbance rejection controller for sensorless control of internal permanentmagnet synchronous motor. IEEE Trans. Ind. Electron. 2016, 63, 3019–3027. [Google Scholar] [CrossRef]
  8. Liu, J.; Zhang, Y. Performance improvement of nonlinear flux observer for sensorless control of PMSM. IEEE Trans. Ind. Electron. 2023, 70, 12014–12023. [Google Scholar] [CrossRef]
  9. Lin, Q.; Liu, L.; Liang, D. Hybrid active flux observer to suppress position estimation error for sensorless IPMSM drives. IEEE Trans. Power Electron. 2023, 38, 872–886. [Google Scholar] [CrossRef]
  10. Woldegiorgis, A.T.; Ge, X.; Wang, H.; Zuo, Y. An active flux estimation in the estimated reference frame for sensorless control of IPMSM. IEEE Trans. Ind. Electron. 2022, 37, 9047–9060. [Google Scholar] [CrossRef]
  11. Ye, S.; Yao, X. A modified flux sliding-mode observer for the sensorless control of PMSMs with online stator resistance and inductance estimation. IEEE Trans. Power Electron. 2020, 35, 8652–8662. [Google Scholar] [CrossRef]
  12. Stojic, D.; Milinkovic, M.; Veinovic, S.; Klasnic, I. Improved stator flux estimator for speed sensorless induction motor drives. IEEE Trans. Power Electron. 2015, 30, 2363–2371. [Google Scholar] [CrossRef]
  13. Wang, Y.; Deng, Z. An integration algorithm for stator flux estimation of a direct-torque-controlled electrical excitation flux-switching generator. IEEE Trans. Energy Convers. 2012, 27, 411–420. [Google Scholar] [CrossRef]
  14. Jiang, Y.; Xu, W.; Mu, C.; Zhu, J.; Dian, R. An improved third-order generalized integral flux observer for sensorless drive of PMSMs. IEEE Trans. Ind. Electron. 2019, 66, 9149–9160. [Google Scholar] [CrossRef]
  15. Xin, Z.; Zhao, R.; Blaabjerg, F.; Zhang, L.; Loh, P.C. An improved flux observer for field-oriented control of induction motors based on dual second-order generalized integrator frequency-locked loop. IEEE J. Emerg. Sel. Top. Power Electron. 2017, 5, 513–525. [Google Scholar] [CrossRef]
  16. Xu, W.; Jiang, Y.; Mu, C.; Blaabjerg, F. Improved Nonlinear Flux Observer-Based Second-Order SOIFO for PMSM Sensorless Control. IEEE Trans. Power Electron. 2019, 34, 565–579. [Google Scholar] [CrossRef]
  17. Ciobotaru, M.; Teodorescu, R.; Blaabjerg, F. A New Single-Phase PLL Structure Based on Second Order Generalized Integrator. In Proceedings of the 2006 37th IEEE Power Electronics Specialists Conference (PESC), Jeju, Republic of Korea, 18–22 June 2006. [Google Scholar] [CrossRef]
Figure 1. Diagram of second-order SOIFO.
Figure 1. Diagram of second-order SOIFO.
Wevj 16 00182 g001
Figure 2. Diagram of frequency-locked loop: (a) conventional FLL and (b) DFLL.
Figure 2. Diagram of frequency-locked loop: (a) conventional FLL and (b) DFLL.
Wevj 16 00182 g002
Figure 3. The structure of the PLL.
Figure 3. The structure of the PLL.
Wevj 16 00182 g003
Figure 4. Discrete improved second-order SOIFO.
Figure 4. Discrete improved second-order SOIFO.
Wevj 16 00182 g004
Figure 5. Control block diagram of the motor system (‘*’ in this figure refers to the reference value).
Figure 5. Control block diagram of the motor system (‘*’ in this figure refers to the reference value).
Wevj 16 00182 g005
Figure 6. Simulated results for speed sudden changes: (a) Waveform of position error and (b) Waveform of speed error.
Figure 6. Simulated results for speed sudden changes: (a) Waveform of position error and (b) Waveform of speed error.
Wevj 16 00182 g006
Figure 7. Simulated results for load torque sudden change: (a) Waveform of position error and (b) Waveform of speed error.
Figure 7. Simulated results for load torque sudden change: (a) Waveform of position error and (b) Waveform of speed error.
Wevj 16 00182 g007
Figure 8. Simulated results of motor operation over a wide speed range: (a) Waveforms of the estimated speed, actual speed, and estimated flux linkage (b) Waveforms of the speed error and position error.
Figure 8. Simulated results of motor operation over a wide speed range: (a) Waveforms of the estimated speed, actual speed, and estimated flux linkage (b) Waveforms of the speed error and position error.
Wevj 16 00182 g008
Figure 9. Simulated results of the motor operation with a voltage DC bias.
Figure 9. Simulated results of the motor operation with a voltage DC bias.
Wevj 16 00182 g009
Figure 10. Simulated results of the motor operation with a current DC bias.
Figure 10. Simulated results of the motor operation with a current DC bias.
Wevj 16 00182 g010
Figure 11. Simulated results of the motor operation with stator resistance deviation.
Figure 11. Simulated results of the motor operation with stator resistance deviation.
Wevj 16 00182 g011
Figure 12. Simulated results of the motor operation with stator inductance deviation.
Figure 12. Simulated results of the motor operation with stator inductance deviation.
Wevj 16 00182 g012
Figure 13. Experimental platform of the SPMSM control system.
Figure 13. Experimental platform of the SPMSM control system.
Wevj 16 00182 g013
Figure 14. Experimental results for speed sudden changes: (a) Waveform of position error and (b) Waveform of speed error.
Figure 14. Experimental results for speed sudden changes: (a) Waveform of position error and (b) Waveform of speed error.
Wevj 16 00182 g014
Figure 15. Experimental results for load torque sudden change: (a) Waveform of position error and (b) Waveform of speed error.
Figure 15. Experimental results for load torque sudden change: (a) Waveform of position error and (b) Waveform of speed error.
Wevj 16 00182 g015
Figure 16. Experimental results of the motor over a wide speed range of operation: (a) Waveforms of the estimated speed, actual speed, and estimated flux linkage (b) Waveforms of the speed error and position error.
Figure 16. Experimental results of the motor over a wide speed range of operation: (a) Waveforms of the estimated speed, actual speed, and estimated flux linkage (b) Waveforms of the speed error and position error.
Wevj 16 00182 g016
Figure 17. Experimental results of the motor operation with a voltage DC bias.
Figure 17. Experimental results of the motor operation with a voltage DC bias.
Wevj 16 00182 g017
Figure 18. Experimental results of the motor operation with a current DC bias.
Figure 18. Experimental results of the motor operation with a current DC bias.
Wevj 16 00182 g018
Figure 19. Experimental results of the motor operation with stator resistance deviation.
Figure 19. Experimental results of the motor operation with stator resistance deviation.
Wevj 16 00182 g019
Figure 20. Experimental results of the motor operation with stator inductance deviation.
Figure 20. Experimental results of the motor operation with stator inductance deviation.
Wevj 16 00182 g020
Table 1. The parameters of the PMSM.
Table 1. The parameters of the PMSM.
ParametersValue
Rated voltage48 V
Rated speed3000 r/min
Rated current11 A
Rated torque1.27 N·m
Rotational inertia5.8 × 10−5 kg·m2
Stator resistance0.48 Ω
Stator inductance0.56 mH
Pole-pair number5
Flux linkage of permanent magnet0.0142 Wb
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Song, G.; Ni, H.; Wang, W.; Yan, W. PMSM Position Sensorless Control Based on Improved Second-Order SOIFO. World Electr. Veh. J. 2025, 16, 182. https://doi.org/10.3390/wevj16030182

AMA Style

Song G, Ni H, Wang W, Yan W. PMSM Position Sensorless Control Based on Improved Second-Order SOIFO. World Electric Vehicle Journal. 2025; 16(3):182. https://doi.org/10.3390/wevj16030182

Chicago/Turabian Style

Song, Ge, Hongyu Ni, Wenyuan Wang, and Wenxu Yan. 2025. "PMSM Position Sensorless Control Based on Improved Second-Order SOIFO" World Electric Vehicle Journal 16, no. 3: 182. https://doi.org/10.3390/wevj16030182

APA Style

Song, G., Ni, H., Wang, W., & Yan, W. (2025). PMSM Position Sensorless Control Based on Improved Second-Order SOIFO. World Electric Vehicle Journal, 16(3), 182. https://doi.org/10.3390/wevj16030182

Article Metrics

Back to TopTop