PMSM improved SOGI position sensorless control method based on square wave injection
By using an improved SOGI sensorless control method based on square wave injection, the problems of system delay and low observation accuracy in traditional methods are solved, achieving higher accuracy in rotor position and speed estimation and improving the dynamic performance of permanent magnet synchronous motors.
Patent Information
- Application Number
- CN202410944698.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-05
AI Technical Summary
Traditional high-frequency signal injection methods for permanent magnet synchronous motors suffer from system delay and low observation accuracy, especially at low speeds where they cannot accurately obtain rotor position and speed.
An improved SOGI sensorless control method based on square wave injection is adopted. Through the mathematical model of the synchronous rotating coordinate dq axis of PMSM, a high-frequency square wave voltage is injected and decoupled. The rotor position and speed information are obtained by combining phase-locked loop, and a high-order Butterworth filter is added to SOGI to optimize dynamic performance.
It improves the observation accuracy and dynamic performance of the current loop and speed loop, reduces system delay, and achieves faster dynamic response and higher speed estimation accuracy.
Smart Images

Figure CN118900067A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of motor control, and in particular to a PMSM improved SOGI position sensorless control method based on square wave injection. Background Art
[0002] Permanent magnet synchronous motors are increasingly used in daily life and industrial applications due to their advantages such as high power density and high efficiency. The traditional control method is to obtain the rotor and position information of the motor through mechanical sensors, which greatly increases the space occupied and complexity of the motor, so sensorless control technology came into being.
[0003] When the motor is working at medium and high speed, the back electromotive force generated by the motor's own model can be used to estimate the rotor position. When the motor is working in the zero speed or low speed range, the back electromotive force cannot be used to obtain the motor position because the speed is proportional to the back electromotive force; therefore, zero and low speed sensorless speed and rotor position discrimination has also become a difficult point in recent years; for built-in permanent magnet synchronous motors, the salient pole effect is not constrained by the motor back electromotive force. The high-frequency signal injection method injects continuous or discrete signals into the motor, and the response current is obtained by analysis to obtain the rotor position and speed. In order to obtain the base frequency and high-frequency signals, the traditional high-frequency signal injection method usually uses low-pass filters and high-pass filters in the system to obtain the desired signal frequency; the addition of filters will cause a certain system delay to the entire system, limit the bandwidth of the speed loop and the current loop, and reduce the observation accuracy and dynamic performance of the system. Summary of the invention
[0004] In view of the deficiencies in the prior art, the object of the present invention is to provide a PMSM improved SOGI position sensorless control method based on square wave injection, so as to solve the problems in the background technology.
[0005] The above object of the present invention is achieved through the following technical solutions:
[0006] An improved SOGI position sensorless control method for PMSM based on square wave injection includes, characterized in that, according to the motor's own model parameters, a mathematical model of the PMSM in a synchronous rotating coordinate dq axis system;
[0007] Adopt i d = 0 control strategy injects a high-frequency square wave voltage from the estimated d-axis, and the injection frequency is half of the switching frequency;
[0008] According to the coordinate change, the stator voltage equation in the mathematical model is converted into the stationary coordinate axis system α-β;
[0009] A high-frequency signal is injected, and after obtaining the high-frequency corresponding current, a decoupling operation is performed on it, that is, vector cross multiplication, to obtain the rotor position error, and finally the rotor position information and speed information are obtained through a phase-locked loop.
[0010] In a preferred example, the present invention can be further configured as follows: the stator voltage equation in the dq axis coefficient mathematical model can be expressed as:
[0011]
[0012] Where: u d 、u q are the dq axis components of the stator voltage, i d 、i q are the d and q axis components of the stator current respectively; R is the stator resistance.
[0013] In a preferred example, the present invention can be further configured as follows: d , q is the dq-axis component of the stator flux; ω e is the electrical angular velocity, and the stator flux equation is expressed as:
[0014]
[0015] Combined with the stator voltage equation, it can be simplified to:
[0016]
[0017] L d , L q are the inductance components of the dq axis, ψ f is the permanent magnet flux. When the motor is running at low speed, ω e Can be approximated to 0.
[0018] In a preferred example, the present invention can be further configured as follows: the stator voltage equation is converted into the equation in the stationary coordinate axis system α-β:
[0019]
[0020] Where u α 、u β is the voltage in the stationary coordinate system, i α 、i β is the current under the stationary coordinate axis, θ e is the estimated rotor position angle of the rotating coordinate system; L avg is the average inductance, L dif is the differential inductance.
[0021] In a preferred example, the present invention can be further configured as follows: the frequency of the injected high-frequency voltage signal is much greater than the frequency of the fundamental signal, and the PMSM voltage model expression at α-β when the stator winding is injected with high-frequency voltage is:
[0022]
[0023] Where u αh 、u βh are the high-frequency response voltages of the two-phase stationary coordinate system α-β, i αh 、i βh They are the high frequency response currents of the two-phase stationary coordinate system α-β respectively.
[0024] In a preferred example, the present invention can be further configured as follows: a high-order Butterworth filter is added on the basis of the original SOGI.
[0025] In summary, the present invention includes at least one of the following beneficial technical effects:
[0026] The SOGI signal extraction method is used in both the current loop and the speed loop to realize the extraction of high-frequency signal rotor position information and current loop position feedback information, and verify the feasibility of the algorithm. Compared with traditional methods, it has better steady-state and dynamic performance. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a block diagram of the traditional high-frequency pulse square wave injection filter-free position estimation implementation;
[0029] Figure 2 It is a structural schematic diagram of the technical solution;
[0030] Figure 3 It is the comparison of Bode plots before and after the improvement of SOGI;
[0031] Figure 4 It is the actual value and estimated value of the motor speed when the motor is loaded with a motor torque of 2N·m at 0.5s when the motor is initially running under no-load conditions in the traditional method;
[0032] Figure 5 The actual value and estimated value of the motor speed when the motor is initially running at no load and a motor torque of 2 N·m is applied to the motor at 0.5 s in the technical solution;
[0033] Figure 6 This is a vector diagram of a permanent magnet synchronous motor. DETAILED DESCRIPTION
[0034] The present invention is further described in detail below in conjunction with the accompanying drawings.
[0035] like Figure 1-6As shown, this is a PMSM improved SOGI position sensorless control method based on square wave injection disclosed in the technical solution, targeting the traditional high-frequency pulse square wave injection method:
[0036] According to the motor's own model parameters, since the variable parameters in the permanent magnet synchronous motor are coupled with each other, if the coupling relationship of all variable parameters when the motor is working is included in the model, the magnetic circuit relationship will be complex and changeable, and it will also be difficult to establish a suitable mathematical model to describe the changes in the system state quantity of the motor system. Therefore, in order to more accurately establish the mathematical model of the permanent magnet synchronous motor, the following assumptions are made for the motor system:
[0037] (1) Ignore the magnetic saturation of the permanent magnet synchronous motor core.
[0038] (2) The stator winding and permanent magnet magnetic field are sinusoidally distributed in the air gap.
[0039] (3) The effects of eddy current and hysteresis can be ignored.
[0040] (4) Ignore the electrical conductivity of the permanent magnet.
[0041] (5) Ignore the effect of stator slot irregularities.
[0042] Based on the above assumptions, the models of the permanent magnet synchronous motor abc three-phase stationary coordinate system, α-β two-phase stationary coordinate system and dq two-phase synchronous rotating coordinate system are constructed. The simplified diagrams of the three models are as follows: Figure 6 shown.
[0043] It can be seen that in the abc three-phase stationary coordinate system, there is an angle difference of 120° between the abc three-phase axes, which simulates the position of the three-phase stator winding of the permanent magnet synchronous motor. The α-axis coincides with the a-axis in space, and the β-axis leads the α-axis by 90°. The d-axis is consistent with the N-pole direction of the magnetic field synthesized by the permanent magnet rotor, and rotates synchronously with the rotor, lagging behind the q-axis by 90°. The three coordinate systems are interconnected through coordinate transformations, namely Clark transformation and Park transformation, which enables the motor model to be precisely controlled in a mathematically theoretical way.
[0044] Based on the α-β two-phase stationary coordinate system motor model, the mathematical model of the permanent magnet synchronous motor is further simplified, and the mathematical equation is transformed through Park transformation to obtain the mathematical model of the permanent magnet synchronous motor in the dq two-phase synchronous rotating coordinate system.
[0045] The mathematical model of PMSM in the synchronous rotating coordinate dq axis system, the expression of its stator voltage equation is:
[0046]
[0047] Where: u d、u q are the dq axis components of the stator voltage, i d 、i q are the dq axis components of the stator current respectively; R is the stator resistance; ψ d , q is the dq-axis component of the stator flux; ω e is the electrical angular velocity.
[0048] The stator flux equation is:
[0049]
[0050] After simplifying, we get:
[0051]
[0052] L d , L q are the inductance components of the dq axis, ψ f is the permanent magnet flux. When the motor is running at low speed, ω e It can be approximated to 0, and the last term on the right side of formula (3) can be ignored.
[0053] Figure 1 This is a block diagram of the filter-free position estimation using traditional high-frequency pulse square wave injection. After coordinate transformation, the forward difference method is used to extract the rotor position error using high-frequency signals in the speed loop control, and the method is combined with a phase-locked loop to decouple it, and finally the rotor position information is obtained; the current loop feedback uses the method of accumulating two adjacent values and calculating the average value.
[0054] Adopt i d = 0 control strategy injects high-frequency square wave voltage from the estimated d-axis, and the injection frequency is half of the switching frequency; according to the coordinate change, convert equation (1) to the stationary coordinate axis system α-β, and we can get:
[0055]
[0056] Where u α 、u β is the voltage in the stationary coordinate system, i α 、i β is the current under the stationary coordinate axis, θ e is the estimated rotor position angle of the rotating coordinate system; L avg is the average inductance, L dif is the differential inductance.
[0057] Since the frequency of the injected high-frequency voltage signal is much greater than the frequency of the fundamental signal, the PMSM voltage model expression at α-β when the stator winding is injected with high-frequency voltage is:
[0058]
[0059] Where u αh 、u βh are the high-frequency response voltages of the two-phase stationary coordinate system α-β, i αh 、i βh They are the high frequency response currents of the two-phase stationary coordinate system α-β respectively.
[0060] According to formula (5), we can simplify it to get:
[0061]
[0062] The injected square wave signal is given as:
[0063]
[0064] Among them U inj is the amplitude of the injected signal.
[0065] Transforming equation (7) to the stationary axis system α-β gives the high-frequency signal response:
[0066]
[0067] After substituting equation (8) into equation (7) for simplification, the voltage equation under the stationary coordinate axis can be obtained:
[0068]
[0069] Further simplification yields:
[0070]
[0071] Δi αh , Δi βh is the current difference between the current moment and the previous moment, and ΔT is the time change.
[0072] Due to the injection of high-frequency signals, the time interval between the sampling of the two signals is very short. Within one sampling period, the rate of change of the current can be regarded as a linear change. After obtaining the high-frequency response current, a decoupling operation is performed on it, that is, vector cross multiplication, to obtain the rotor position error. Finally, the rotor position information and speed information are obtained through a phase-locked loop.
[0073] In order to extract the click rotor position information contained in the high-frequency signal of the speed loop and obtain a current signal without harmonics, it is necessary to improve SOGI; a high-order Butterworth filter is added on the original basis to optimize its dynamic performance and improve its ability to attenuate harmonics. Its structure is as follows Figure 2 shown.
[0074] This block diagram adds a forward Butterworth filter as feedback on the basis of SOGI. Combined with the filter transfer function, the expression of the improved SOGI transfer function can be expressed as:
[0075]
[0076] The transfer function of a typical SOGI is:
[0077]
[0078] In order to verify the effect of the improved SOGI, its amplitude-frequency characteristic curve is drawn, which is the same as the above-mentioned signal frequency to be processed; the phase-frequency characteristic and amplitude-frequency characteristic of the traditional SOGI are compared with those after the improvement, and the Bode diagram is drawn as follows Figure 3 shown.
[0079] Depend on Figure 3 It can be seen that the improved method has no phase shift at a specific frequency, and its ability to suppress harmonics is also improved compared to traditional SOGI, and the bandwidth is also improved.
[0080] In order to verify the effectiveness of the square wave injection PMSM control method based on SOGI, the simulation models of the two PMSM control methods were first built in Matlab. The injection frequency was 5kHz, the amplitude was 20V, and the switching frequency of the inverter was 10kHz. Given the rated speed of the motor is 100r / min, Figure 4 and Figure 5 The actual and estimated values of the motor speed when the motor is loaded with 2N·m torque at 0.5s under the initial no-load condition, the speed error waveform; the actual and estimated values of the rotor position and their errors, the simulation time is 1s.
[0081] from Figure 4-5 It can be seen that the speed estimation of the traditional method has a relatively large jitter phenomenon; when the torque suddenly changes at 0.5s, neither method has overshoot, but the traditional method reaches the given rated speed at 0.7s, and the improved SOGI control method reaches the given speed at 0.6s. It can be seen that the improved method has a faster dynamic recovery ability when the motor is subjected to a torque mutation. At the moment of starting, the speed error of the traditional method is -25r / min, while the improved method controls the error within -20r / min; when the torque suddenly changes at 0.5s, the speed error generated by the improved method is large, but its dynamic recovery time and overall speed error are smaller than those of the traditional method. Both of them have a slight change in the motor rotor angle at 0.5s, which has no major impact on the system overall, and both have good tracking ability for the motor rotor angle.
[0082] The embodiments of this specific implementation method are all preferred embodiments of the present invention, and are not intended to limit the protection scope of the present invention. Therefore, any equivalent changes made based on the structure, shape, and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A PMSM improved SOGI position sensorless control method based on square wave injection, comprising, characterized in that: According to the motor's own model parameters, the mathematical model of PMSM in the synchronous rotating coordinate dq axis system; Adopt i d = 0 control strategy injects a high-frequency square wave voltage from the estimated d-axis, and the injection frequency is half of the switching frequency; According to the coordinate change, the stator voltage equation in the mathematical model is converted into the stationary coordinate axis system α-β; A high-frequency signal is injected, and after obtaining the high-frequency corresponding current, a decoupling operation is performed on it, that is, vector cross multiplication, to obtain the rotor position error, and finally the rotor position information and speed information are obtained through a phase-locked loop.
2. The PMSM improved SOGI position sensorless control method based on square wave injection according to claim 1 is characterized in that: The stator voltage equation in the dq axis mathematical model can be expressed as: Where: u d 、u q are the dq axis components of the stator voltage, i d 、i q are the d and q axis components of the stator current respectively; R is the stator resistance.
3. The PMSM improved SOGI position sensorless control method based on square wave injection according to claim 2 is characterized in that: ψ d , q is the dq-axis component of the stator flux; ω e is the electrical angular velocity, and the stator flux equation is expressed as: Combined with the stator voltage equation, it can be simplified to: L d , L q are the inductance components of the dq axis, ψ f is the permanent magnet flux. When the motor is running at low speed, ω e Can be approximated to 0.
4. The PMSM improved SOGI position sensorless control method based on square wave injection according to claim 1 is characterized in that: The stator voltage equation is converted to the equation in the stationary coordinate system α-β: Where u α 、u β is the voltage in the stationary coordinate system, i α 、i β is the current under the stationary coordinate axis, θ e is the estimated rotor position angle of the rotating coordinate system; L avg is the average inductance, L dif is the differential inductance.
5. The PMSM improved SOGI position sensorless control method based on square wave injection according to claim 4 is characterized in that: The frequency of the injected high-frequency voltage signal is much greater than the frequency of the fundamental signal. When the stator winding is injected with high-frequency voltage, the PMSM voltage model expression at α-β is: Where u αh 、u βh are the high-frequency response voltages of the two-phase stationary coordinate system α-β, i αh 、i βh They are the high frequency response currents of the two-phase stationary coordinate system α-β respectively.
6. The PMSM improved SOGI position sensorless control method based on square wave injection according to claim 1 is characterized in that: A high-order Butterworth filter is added on the basis of the original SOGI.
