Permanent magnet motor rotor speed and position estimation method using sliding mode rotating speed observer
Through the combination of three-phase current injection method and sliding mode speed observer, the high-precision speed and position estimation of permanent magnet motors in the full speed range is achieved, solving the problem of limited applicability of traditional methods in different speed ranges, reducing the System cost and hardware complexity provide reliable technical means for high-performance motor control.
Patent Information
- Application Number
- CN202410986784.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-19
AI Technical Summary
The traditional permanent magnet motor rotor speed and position estimation method has limited applicability in the full speed range and cannot be used effectively in the high-speed and low-speed ranges at the same time, resulting in high system cost and high hardware complexity.
The three-phase current injection method is used to realize the pre-position of the rotor, and a sliding mode speed observer is designed to observe the rotation speed in real time through current and voltage signals, and combine the integral operation to realize the real-time estimation of the rotor position.
Achieve high-precision speed and position estimation in the full speed range, reducing system costs and hardware complexity, and providing a reliable solution for high-performance motor control.
Smart Images

Figure CN118984091A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of permanent magnet motor rotor speed and position estimation, and in particular relates to a permanent magnet motor rotor speed and position estimation method using a sliding mode speed observer. Background Art
[0002] The rotor speed and position are necessary state quantities for realizing closed-loop control of permanent magnet motors, and are of great value for realizing high-performance control algorithms such as motor vector control and maximum torque current ratio control. Traditional speed and position acquisition methods rely on real-time detection by physical sensors and other devices, but they have disadvantages such as high system cost and complex hardware. In order to solve these problems, rotor speed and position estimation methods have received widespread attention. At present, the commonly used rotor speed and position estimation methods are divided into two categories: one is the back-EMF detection method suitable for high speed, and the other is the high-frequency injection method based on the motor salient pole effect characteristics suitable for low speed. However, these two methods have obvious disadvantages: neither method can be used in the full speed range. For example, the high-frequency injection method proposed by Wang Long et al. in the patent "A method for compensating the rotor position estimation error of a permanent magnet synchronous motor by a rotating high-frequency voltage signal injection method" is only applicable to the low-speed operation range of permanent magnet motors; the back-EMF detection method proposed by many others in "A method for controlling brushless DC motors without position sensors based on sliding mode observers" is only applicable to high-speed motor control, while in the low-speed range, an open-loop control algorithm that does not require speed and position is required to realize motor control.
[0003] The present invention proposes a method for estimating the speed and position of a permanent magnet motor rotor using a sliding mode speed observer, and its main principles are as follows: First, a three-phase current injection method is proposed to achieve rotor pre-positioning, that is, the initial rotor position of the motor is obtained by injecting a specific current signal. This method can accurately determine the initial position when the motor is stationary, providing a reliable basis for subsequent control. Secondly, a sliding mode speed observer is designed to observe the motor speed in real time by processing the current and voltage signals of the motor. Finally, the observed motor rotor speed is integrated to obtain the real-time position of the motor rotor. The new method can achieve high-precision speed and position estimation of the permanent magnet motor within the full speed range, effectively reducing the system cost and hardware complexity, and providing a reliable solution for high-performance motor control. Summary of the invention
[0004] In order to effectively estimate the rotor speed and position of a permanent magnet motor in the full speed range, the present invention proposes a permanent magnet motor rotor speed and position estimation method using a sliding mode speed observer. The method estimates the motor rotor position and speed in real time through processes such as rotor pre-positioning, speed observer construction, and speed integration.
[0005] A method for estimating the speed and position of a permanent magnet motor rotor using a sliding mode speed observer is characterized by the following steps:
[0006] Step 1: Generate six pulse width modulation signals: Use a digital control chip to send out six pulse width modulation signals, wherein the characteristics of the six pulse width signals are as follows: the frequency of the first pulse width modulation signal is 10kHz, and the duty cycle is 5%, the frequency of the second pulse width modulation signal is 10kHz, and the phase is complementary to the first pulse width modulation signal, the frequency of the third pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 0, the frequency of the fourth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 100%, the frequency of the fifth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 0, and the frequency of the fourth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 100%;
[0007] Step 2: Inject three-phase current: use the first pulse width modulation signal to control the upper tube of the inverter bridge arm connected to the a-phase winding, use the second pulse width modulation signal to control the lower tube of the inverter bridge arm connected to the a-phase winding, use the third pulse width modulation signal to control the upper tube of the inverter bridge arm connected to the b-phase winding, use the fourth pulse width modulation signal to control the lower tube of the inverter bridge arm connected to the b-phase winding, use the fifth pulse width modulation signal to control the upper tube of the inverter bridge arm connected to the c-phase winding, and use the sixth pulse width modulation signal to control the lower tube of the inverter bridge arm connected to the c-phase winding;
[0008] Step 3: Rotor pre-positioning: After the three-phase current is injected, the position value of the motor rotor is recorded as 0, that is, the motor rotor position θ = 0;
[0009] Step 4: Measure current and voltage: Use a voltage sensor to measure the three-phase voltage of the permanent magnet motor a, bc, and use a current sensor to measure the three-phase current of the permanent magnet motor. The three-phase voltage is recorded as u a ,u b ,u c , the three-phase currents are denoted as i a ,i b ,i c ;
[0010] Step 5: Coordinate transformation: transform the measured three-phase voltage u a ,u b ,u c and three-phase current i a ,i b ,i c Use the following coordinate transformation formula to convert to the voltage u in the d, q axis coordinate system d ,u q and current i d ,i q :
[0011]
[0012]
[0013] Step 6: Construct a sliding mode speed observer: Using the d-axis current i d , q-axis current i q , q-axis voltage u q And the resistor R s , d-axis inductance L d , q-axis inductance L q and magnetic flux ψ f The sliding mode speed observer is constructed as follows:
[0014]
[0015] Among them, i q * is the q-axis current estimated by the sliding mode speed observer, p is the logarithm of the permanent magnet, Estimate the current i for the sliding mode speed observer q * and the measured current i q The difference is:
[0016]
[0017] is the switching function, expressed as:
[0018]
[0019] λ s is a proportional factor that satisfies the following conditions: s >p·ω rated , where ω rated is the rated speed of the motor;
[0020] Step 7: Estimate the motor rotor speed: Use the constructed sliding mode speed observer to estimate the motor rotor speed value ω m * for:
[0021]
[0022] Step 8: Estimate the rotor position: Estimate the motor rotor position θ using the following formula * :
[0023]
[0024] Where t is time, let θ = θ *, and substitute it into steps 4 to 8. During the rotation of the motor, the motor rotor speed and position can be continuously estimated.
[0025] The beneficial effects of the present invention are as follows: the present invention proposes a method for estimating the rotor speed and position of a permanent magnet motor using a sliding mode speed observer, the main advantage of which is that high-precision speed and position estimation can be achieved within the full speed range, overcoming the problem of limited applicability of traditional methods within different speed ranges. First, the three-phase current injection method can accurately determine the initial rotor position when the motor is stationary, providing a reliable basis for subsequent control; secondly, the sliding mode speed observer processes the current and voltage signals of the motor in real time, quickly observes the motor speed, and obtains the real-time rotor speed and position through integral operations. This method is not only applicable to permanent magnet motors, but can also be extended to other types of motor systems without position sensor control, providing a general and efficient solution, and providing a reliable technical means for achieving high-performance motor control. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of a method for estimating speed and position of a permanent magnet motor rotor using a sliding mode speed observer of the present invention;
[0027] Figure 2 This is a schematic diagram of the present invention for estimating the motor rotor speed and position using a sliding mode speed observer. DETAILED DESCRIPTION
[0028] The present invention is further described below in conjunction with the accompanying drawings and embodiments. The present invention includes but is not limited to the following embodiments.
[0029] The rotor speed and position are the key to realize the closed-loop control of permanent magnet motor, and are very important for high-performance control algorithms such as vector control and maximum torque current ratio control. Traditional speed and position detection relies on physical sensors, but there are problems of high cost and complex hardware. In order to solve these problems, the rotor speed and position estimation method has received extensive attention. There are two commonly used methods: high-speed back-EMF detection method and low-speed high-frequency injection method based on the motor salient pole effect characteristics. However, these two methods have their own limitations and cannot be used in the full speed range. For example, the high-frequency injection method is only applicable to low speed, while the back-EMF detection method is only applicable to high speed. The present invention proposes a permanent magnet motor rotor speed and position estimation method based on a sliding mode speed observer. First, the rotor pre-positioning is realized by the three-phase current injection method to ensure that the initial position is accurately determined when the motor is stationary. Then, a sliding mode speed observer is designed to process the current and voltage signals of the motor in real time to observe the speed. Finally, the real-time position of the rotor is obtained by integral operation. This method can achieve high-precision speed and position estimation in the full speed range, reduce system cost and hardware complexity, and provide a reliable solution for high-performance motor control. The present invention proposes a method for estimating the rotor speed and position of a permanent magnet motor using a sliding mode speed observer. Figure 1 As shown in the figure, the structure of the constructed sliding mode speed observer is as follows: Figure 2 In this embodiment, the electrical parameters of the permanent magnet motor are as follows: inductance is 3mH, resistance is 0.5Ω, rotor flux is 0.083Wb, permanent magnet logarithm is 3, rated speed is 300rad / s, and the permanent magnet motor rotor speed and position estimation method using the sliding mode speed observer is implemented as follows:
[0030] Step 1: Generate six pulse width modulation signals
[0031] A digital control chip is used to send out six pulse width modulation signals, wherein the characteristics of the six pulse width signals are as follows: the frequency of the first pulse width modulation signal is 10kHz, and the duty cycle is 5%, the frequency of the second pulse width modulation signal is 10kHz, and the phase is complementary to the first pulse width modulation signal, the frequency of the third pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 0, the frequency of the fourth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 100%, the frequency of the fifth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 0, the frequency of the fourth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 100%
[0032] Step 2: Inject three-phase current
[0033] The first pulse width modulation signal is used to control the upper tube of the inverter bridge arm connected to the a-phase winding, the second pulse width modulation signal is used to control the lower tube of the inverter bridge arm connected to the a-phase winding, the third pulse width modulation signal is used to control the upper tube of the inverter bridge arm connected to the b-phase winding, the fourth pulse width modulation signal is used to control the lower tube of the inverter bridge arm connected to the b-phase winding, the fifth pulse width modulation signal is used to control the upper tube of the inverter bridge arm connected to the c-phase winding, and the sixth pulse width modulation signal is used to control the lower tube of the inverter bridge arm connected to the c-phase winding.
[0034] Step 3: Rotor Pre-positioning
[0035] After the three-phase current is injected, the position value of the motor rotor is recorded as 0, that is, the motor rotor position θ=0.
[0036] Step 4: Measure Current and Voltage
[0037] The voltage sensor is used to measure the three-phase voltage of the permanent magnet motor a, bc, and the current sensor is used to measure the three-phase current of the permanent magnet motor. The three-phase voltage is recorded as u a ,u b ,u c , the three-phase currents are denoted as i a ,i b ,i c .
[0038] Step 5: Coordinate Transformation
[0039] The measured three-phase voltage u a ,u b ,u c and three-phase current i a ,i b ,i c Use the following coordinate transformation formula to convert to the voltage u in the d, q axis coordinate system d ,u q and current i d ,i q :
[0040]
[0041] Step 6: Construct a sliding mode speed observer
[0042] Using the d-axis current i d , q-axis current i q , q-axis voltage u q And the resistor R s =0.5, d-axis inductance L d =0.003, q-axis inductance L q = 0.003, pole pair number p = 3 and flux linkage ψ f=0.083 The sliding mode speed observer is constructed as follows:
[0043]
[0044] Among them, i q * is the q-axis current estimated by the sliding mode speed observer, Estimate the current i for the sliding mode speed observer q * and the measured current i q The difference is:
[0045]
[0046] is the switching function, expressed as:
[0047]
[0048] λ s is a proportional factor that satisfies the following conditions: s >p·ω rated =900, in this embodiment, λ s =1000.
[0049] Step 7: Estimate the motor rotor speed
[0050] The motor rotor speed value ω is estimated by using the constructed sliding mode speed observer m * for:
[0051]
[0052] Step 8: Estimate the rotor position
[0053] Use the following formula to estimate the motor rotor position θ * :
[0054]
[0055] Where t is time, let θ = θ * , and substitute it into steps 4 to 8, during the rotation of the motor, the motor rotor speed and position can be continuously estimated.
Claims
1. A method for estimating the rotor speed and position of a permanent magnet motor using a sliding mode speed observer, characterized in that Here are the steps: Step 1: Generate six pulse width modulation signals: Use a digital control chip to send out six pulse width modulation signals, wherein the characteristics of the six pulse width signals are as follows: the frequency of the first pulse width modulation signal is 10kHz, and the duty cycle is 5%, the frequency of the second pulse width modulation signal is 10kHz, and the phase is complementary to the first pulse width modulation signal, the frequency of the third pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 0, the frequency of the fourth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 100%, the frequency of the fifth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 0, and the frequency of the fourth pulse width signal pulse width modulation signal is 10kHz, and the duty cycle is 100%; Step 2: Inject three-phase current: use the first pulse width modulation signal to control the upper tube of the inverter bridge arm connected to the a-phase winding, use the second pulse width modulation signal to control the lower tube of the inverter bridge arm connected to the a-phase winding, use the third pulse width modulation signal to control the upper tube of the inverter bridge arm connected to the b-phase winding, use the fourth pulse width modulation signal to control the lower tube of the inverter bridge arm connected to the b-phase winding, use the fifth pulse width modulation signal to control the upper tube of the inverter bridge arm connected to the c-phase winding, and use the sixth pulse width modulation signal to control the lower tube of the inverter bridge arm connected to the c-phase winding; Step 3: Rotor pre-positioning: After the three-phase current is injected, the position value of the motor rotor is recorded as 0, that is, the motor rotor position θ = 0; Step 4: Measure current and voltage: Use a voltage sensor to measure the three-phase voltage of the permanent magnet motor a, bc, and use a current sensor to measure the three-phase current of the permanent magnet motor. The three-phase voltage is recorded as u a ,u b ,u c , the three-phase currents are denoted as i a ,i b ,i c ; Step 5: Coordinate transformation: transform the measured three-phase voltage u a ,u b ,u c and three-phase current i a ,i b ,i c Use the following coordinate transformation formula to convert to the voltage u in the d, q axis coordinate system d ,u q and current i d ,i q : Step 6: Construct a sliding mode speed observer: Using the d-axis current i d , q-axis current i q , q-axis voltage u q And the resistor R s , d-axis inductance L d , q-axis inductance L q and magnetic flux ψ f The sliding mode speed observer is constructed as follows: Among them, i q * is the q-axis current estimated by the sliding mode speed observer, p is the logarithm of the permanent magnet, Estimate the current i for the sliding mode speed observer q * and the measured current i q The difference is: is the switching function, expressed as: λ s is a proportional factor that satisfies the following conditions: s >p·ω rated , where ω rated is the rated speed of the motor; Step 7: Estimate the motor rotor speed: Use the constructed sliding mode speed observer to estimate the motor rotor speed value ω m * for: Step 8: Estimate the rotor position: Estimate the motor rotor position θ using the following formula * : Where t is time, let θ = θ * , and substitute it into steps 4 to 8. During the rotation of the motor, the motor rotor speed and position can be continuously estimated.
