A permanent magnet synchronous motor system and compensation method based on measurement error compensator
By designing a current error compensator in the permanent magnet synchronous motor and using low-pass filtering and integrators to correct the stator current measurement in real time, the speed and torque pulsation problems caused by current measurement errors are solved and the control performance and stability are improved.
Patent Information
- Application Number
- CN201811637215.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-12-29
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2038-12-29
AI Technical Summary
Permanent magnet synchronous motors inevitably introduce errors in the current measurement process, causing the motor speed and torque to pulsate, affecting control performance.
A system based on current error compensator is designed, including a low-pass filter module, Park inverse transform module and integrator. Through Clarke transform, Park transform and SVPWM modulation module, the stator current measurement value is sampled and corrected in real time, and the current error is subtracted. , output the pure current offset error component to avoid speed and torque pulsations.
It effectively suppresses the interference of current measurement error on the controller, improves dynamic control performance and system stability, simplifies the structure, and is suitable for surface-mounted permanent magnet synchronous motors.
Smart Images

Figure CN109560741B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control, and in particular to a current error compensator for a surface-mounted permanent magnet synchronous motor, and in particular to a surface-mounted permanent magnet synchronous motor system based on a current measurement error compensator and a current error compensation method for the surface-mounted permanent magnet synchronous motor. Background Art
[0002] In recent years, permanent magnet synchronous motors have gradually become the mainstream of AC servo motors due to their simple structure, high power density, high torque-to-current ratio, and easy maintenance. Permanent magnet synchronous motors are complex systems with nonlinear, strong coupling, and time-varying parameters. They are often subject to strong external interference during operation, so it is very difficult to achieve high-precision servo control of permanent magnet synchronous motors. At present, permanent magnet synchronous motors generally use a field-oriented vector control algorithm, which is a cascade structure consisting of a current loop, a speed loop, and a position loop. It has the characteristics of clear physical meaning, simple structure, and easy engineering design.
[0003] With the increasing application of permanent magnet synchronous motor servo systems, the requirements for system performance are also getting higher and higher. The control of the instantaneous torque of the motor is the key to improving the performance of the permanent magnet AC servo system, and the control of the motor output torque ultimately comes down to the control of the d and q axis currents. For surface mounted permanent magnet synchronous motors (SPMSM), the id=0 control strategy is generally adopted. Therefore, the measurement accuracy of the stator current directly affects the control performance of the motor driver. Before the stator current is sent to the controller, it needs to go through the current sampling and conditioning links. In this process, errors will inevitably be introduced, and the current measurement error will cause the motor speed and torque to pulsate. Therefore, studying the stator current measurement error and its compensation strategy is of great significance to improving the control performance of the permanent magnet synchronous motor control system. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a novel permanent magnet synchronous motor system and compensation method based on a measurement error compensator.
[0005] To achieve the above object, the present invention adopts the following technical solution: a permanent magnet synchronous motor system based on a measurement error compensator, comprising: a surface-mounted permanent magnet synchronous motor, a three-phase voltage source inverter, a vector control algorithm unit, a current error compensator, a position sensor and a current sensor;
[0006] The vector control algorithm unit includes a Clarke conversion module, a Park conversion module, a current regulator, a Park inverse conversion module 1 and a SVPWM modulation module; the three-phase stator winding of the surface-mounted permanent magnet synchronous motor is connected to the AC output end of the three-phase voltage-type inverter; the current sensor is connected to the stator winding of the surface-mounted permanent magnet synchronous motor, the current sensor is connected to the Clarke conversion module, the Clarke conversion module, the Park conversion module, the current regulator, the Park inverse conversion module 1 and the SVPWM modulation module are connected in sequence, and the SVPWM modulation module is connected to the control end of the three-phase voltage-type inverter;
[0007] The current error compensator includes a low-pass filter module, a Park inverse transformation module 2, a low-pass filter LPF and an integrator; the vector control algorithm unit is connected to the low-pass filter module, and the low-pass filter module, the Park inverse transformation module 2, the low-pass filter LPF and the integrator are connected in sequence.
[0008] Preferably, in the permanent magnet synchronous motor system based on the measurement error compensator, the position sensor is installed on the rotor of the surface-mounted permanent magnet synchronous motor to detect the position θ of the motor rotor. e , position signal θ e The Park transformation module, the Park inverse transformation module 1 in the vector control algorithm unit and the Park inverse transformation module 2 in the current error compensator are input respectively.
[0009] Preferably, in the permanent magnet synchronous motor system based on the measurement error compensator, the current sensor is connected to the two-phase a and c stator windings of the surface-mounted permanent magnet synchronous motor to measure the phase current of the two-phase a and c stator windings; the phase current measurement value i of the two-phase a and c stator windings is obtained according to the three-phase balance. am 、i cm Get the phase current measurement value i of the b-phase stator winding bm , the measured values of the three-phase stator winding phase currents are input into the Clarke transformation module in the vector control algorithm unit;
[0010] The vector control algorithm unit is based on the output of the Clarke transformation module. αm 、i βm Subtract the estimated stator current measurement error output by the current error compensator from The difference is input into the Park transformation module; the stator current command value in the synchronous rotating dq coordinate system is The stator current measurement value i output by the Park transformation module is respectively dm 、i qm The difference is input into the current regulator; the output u of the current regulator isd 、u q The Park inverse transformation module 1 is input, and the output of the Park inverse transformation module 1 is sent to the SVPWM modulation module.
[0011] Preferably, in the permanent magnet synchronous motor system based on the measurement error compensator, the output of the SVPWM modulation module is respectively connected to the control end of the three-phase voltage source inverter; the stator current command value in the synchronous rotating dq coordinate system The stator current measurement value i is input into the low-pass filter module in the current error compensator, and the stator current measurement value i output by the Park transformation module is dm 、i qm Subtract the output of the low-pass filter module to obtain the d and q axis stator current measurement error △i dm ,△i qm ; The measurement error △i dm ,△i qm The input of the Park inverse transform module 2, the output △i of the Park inverse transform module 2 αm ,△i βm Input the low pass filter LPF;
[0012] The output of the low-pass filter LPF is fed into the integrator, and the integrator outputs a stator current measurement error estimate Input the vector control algorithm unit.
[0013] A compensation method for a permanent magnet synchronous motor system based on a measurement error compensator comprises the following steps:
[0014] Step 1: When the surface-mounted permanent magnet synchronous motor is running, use the current sensor to sample the phase current i of the stator winding of phases a and b. am 、i bm , using the position sensor to detect the motor rotor position θ e ;
[0015] Step 2: According to the three-phase balance, the phase current measurement value i of the stator winding of phases a and c is am 、i cm Calculate the measured phase current value i of the b-phase stator winding bm As shown in formula (1):
[0016] i bm =-(i am +i cm ) (1);
[0017] Step 3: The measured value of the three-phase stator winding phase current i am 、i bm 、i cmThe Clarke transformation module in the input vector control algorithm unit is used to obtain the stator current measurement value i in the two-phase stationary αβ coordinate system after Clarke transformation. αm 、i βm ; Then the current i αm 、i βm Input the Park transformation module, and obtain the stator current measurement value i in the synchronous rotating dq coordinate system after Park transformation dm 、i qm ;
[0018] Step 4: According to formula (2), the stator current measurement value i in the synchronous rotating dq coordinate system is dm 、i qm Subtract the low-pass filtered d-axis and q-axis stator current command values from Extract the d and q axis stator current measurement errors △i respectively dm , △i qm ;
[0019]
[0020] where ω c is the cut-off frequency of the current regulator 3-3;
[0021] Step 5: Substitute the d-axis and q-axis stator current measurement errors △i obtained in step 4 dm ,△i qm Input Park inverse transformation module 2, and obtain the stator current measurement error △i in the two-phase stationary αβ coordinate system after Park inverse transformation αm , △i βm ;
[0022] Step 6: The stator current measurement error △i in the two-phase stationary αβ coordinate system obtained in step 5 αm , △i βm The output of the low-pass filter LPF is sent to the integrator, and the stator current measurement error estimation value in the two-phase stationary αβ coordinate system is obtained after integration.
[0023] Step 7: The stator current measurement value i in the two-phase stationary αβ coordinate system obtained from step 3 αm 、i βm Subtract the estimated value of the stator current measurement error in the two-phase stationary αβ coordinate system obtained in step 6 from The subtraction result is input into the Park transformation module in the vector control algorithm unit, and the stator current measurement value i in the synchronous rotating dq coordinate system is obtained through Park transformation. dm 、i qm; Stator current measurement value i dm 、i qm will no longer contain measurement errors;
[0024] Step 8: Set the stator current command value in the synchronous rotating dq coordinate system The stator current measurement value i is obtained by step 7 respectively dm 、i qm By comparison, the difference is input into the current regulator, and the voltage u in the synchronous rotating dq coordinate system is calculated. d 、u q ; will u d 、u q Input the Park inverse transformation module 1, and obtain the voltage u in the two-phase stationary αβ coordinate system after Park inverse transformation α 、u β ; Set the voltage u d 、u q The SVPWM modulation module is input, and the SVPWM modulation module outputs 6 trigger pulses to control the on and off of the switch tube of the three-phase voltage type inverter.
[0025] Compared with the prior art, the beneficial effect is that, by adopting the above scheme, the surface-mounted permanent magnet synchronous motor system based on current measurement error compensation of the present invention can effectively avoid the pulsation of the motor speed and torque caused by the current measurement error by subtracting the low-pass filtered current command from the measured current in a two-phase stationary αβ coordinate system.
[0026] The current error compensator of the present invention can conveniently eliminate the influence of the ripple in the current command when correcting the current measurement error through simple subtraction, and effectively suppress the interference of the outer loop controller. Therefore, the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator of the present invention can have good dynamic control performance;
[0027] The current error compensator of the present invention does not require any mechanical parameters and is relatively insensitive to changes in the electrical parameters of the system. Therefore, the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator described in the present invention can have good stability; the current error compensator described in the present invention has a simple structure, is easy to implement, and has good market application value. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a structural block diagram of a surface-mounted permanent magnet synchronous motor system based on a current measurement error compensator of the present invention;
[0029] Figure 2 It is a simulation waveform diagram of the surface-mounted permanent magnet synchronous motor system of the present invention before and after the current measurement error compensator is started;
[0030] Figure 3 It is a simulation waveform diagram of the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator of the present invention when the motor stator current command value changes suddenly. DETAILED DESCRIPTION
[0031] In order to facilitate the understanding of the present invention, the present invention is described in more detail below in conjunction with the accompanying drawings and specific embodiments. Preferred embodiments of the present invention are provided in the accompanying drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described in this specification. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present invention more thorough and comprehensive.
[0032] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time. The terms "sequentially", "accessed", and similar expressions used in this specification are for illustrative purposes only.
[0033] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in this specification in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention.
[0034] like Figure 1 As shown, the structural block diagram of the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator of the present invention includes: a surface-mounted permanent magnet synchronous motor 1, a three-phase voltage source inverter 2, a vector control algorithm unit 3, a current error compensator 4, a position sensor 5, and a current sensor 6. The vector control algorithm unit 3 includes: a Clarke transformation module 3-1, a Park transformation module 3-2, a current regulator 3-3, a Park inverse transformation module 3-4, and a SVPWM modulation module 3-5. The current error compensator 4 includes: a low-pass filter module 4-1, a Park inverse transformation module 4-2, a low-pass filter LPF4-3, and an integrator 4-4.
[0035] like Figure 1 As shown, the three-phase stator winding of the surface-mounted permanent magnet synchronous motor 1 of the present invention is connected to the AC output terminal of the three-phase voltage source inverter 2. The position sensor 5 is installed on the rotor of the surface-mounted permanent magnet synchronous motor 1 to detect the position θ of the motor rotor. e , position signal θ eThe current sensor 6 is connected to the two-phase stator windings a and c of the surface-mounted permanent magnet synchronous motor 1 to measure the phase current of the two-phase stator windings a and c; the phase current measurement value i of the two-phase stator windings a and c is obtained by balancing the three-phases. am 、i cm Get the phase current measurement value i of the b-phase stator winding bm The measured values of the three-phase stator winding phase currents are input into the Clarke transformation module 3-1 in the vector control algorithm unit 3. In the vector control algorithm unit 3, the output i of the Clarke transformation module 3-1 is used to generate the output i of the three-phase stator winding phase currents. αm 、i βm Subtract the estimated value of the stator current measurement error output by the current error compensator 4 from The difference is input into Park transformation module 3-2. The stator current command value in the synchronous rotating dq coordinate system is The stator current measurement value i output by Park transformation module 3-2 is respectively dm 、i qm The difference is input into the current regulator 3-3. The output u of the current regulator 3-3 is d 、u q The output of the Park inverse transformation module 3-4 is input to the SVPWM modulation module 3-5. The output of the SVPWM modulation module 3-5 is respectively connected to the control end of the three-phase voltage source inverter 2. The stator current command value in the synchronous rotating dq coordinate system The low-pass filter module 4-1 in the input current error compensator 4 and the stator current measurement value i output by the Park transformation module 3-2 dm 、i qm Subtract the output of the lower pass filter module 4-1 to obtain the d and q axis stator current measurement error △i dm ,△i qm . The measurement error △i dm ,△i qm The input is the Park inverse transform module 4-2, and the output △i of the Park inverse transform module 4-2 is αm ,△i βm The output of the low-pass filter LPF4-3 is input to the integrator 4-4, and the stator current measurement error estimate output by the integrator 4-4 is Input vector control algorithm unit 3.
[0036] A compensation method for a surface-mounted permanent magnet synchronous motor system based on current measurement error compensation according to the present invention comprises the following steps:
[0037] Step 1: When the surface-mounted permanent magnet synchronous motor 1 is running, the current sensor 6 is used to sample the phase current i of the stator winding of the two phases a and c. am 、i cm , using position sensor 5 to detect the motor rotor position θ e .
[0038] Step 2: The phase current measurement value i of the two-phase stator winding a and c obtained in step 1 am 、i cm According to the three-phase balance principle, the phase current measurement value i of the b-phase stator winding is calculated. bm As shown in formula (1):
[0039] i bm =-(i am +i cm ) (1)
[0040] Step 3: The measured value i of the three-phase stator winding phase current obtained in step 2 am 、i bm 、i cm The Clarke transformation module 3-1 in the input vector control algorithm unit 3 is used to obtain the stator current measurement value i in the two-phase stationary αβ coordinate system after Clarke transformation. αm 、i βm ; Then the current i αm 、i βm Input the Park transformation module 3-2, and obtain the stator current measurement value i in the synchronous rotating dq coordinate system after Park transformation dm 、i qm .
[0041] Step 4: The stator current measurement value i in the synchronous rotating dq coordinate system obtained from step 3 dm 、i qm Subtract the low-pass filtered d-axis and q-axis stator current command values from Extract the d and q axis stator current measurement errors △i respectively dm ,△i qm As shown in formula (2):
[0042]
[0043] where ω c is the cutoff frequency of the current regulator 3-3. By subtracting the low-pass filtered current command from the measured current, the influence of the ripple in the current command on the correction of the current offset error can be conveniently eliminated, the interference of the outer loop controller can be suppressed, and the dynamic control capability of the current measurement error compensator can be improved.
[0044] Step 5: Substitute the d-axis and q-axis stator current measurement errors △i obtained in step 4 dm , △i qm Input the Park inverse transformation module 4-2, and obtain the stator current measurement error △i in the two-phase stationary αβ coordinate system after Park inverse transformation αm , △i βm .
[0045] Step 6: The stator current measurement error △i in the two-phase stationary αβ coordinate system obtained in step 5 αm , △i βm The output of the low-pass filter LPF4-3 is sent to the integrator 4-4, and the stator current measurement error estimation value in the two-phase stationary αβ coordinate system is obtained after integration.
[0046] Step 7: The stator current measurement value i in the two-phase stationary αβ coordinate system obtained from step 3 αm 、i βm Subtract the estimated value of the stator current measurement error in the two-phase stationary αβ coordinate system obtained in step 6 from The subtraction result is input into the Park transformation module 3-2 in the vector control algorithm unit 3, and the stator current measurement value i in the synchronous rotating dq coordinate system is obtained through Park transformation. dm 、i qm The stator current measurement value i is obtained by subtracting the low-pass filtered current command from the measured current dm 、i qm There will be no measurement errors in the current measurement, which can effectively avoid the pulsation of motor speed and torque caused by current measurement errors.
[0047] Step 8: Set the stator current command value in the synchronous rotating dq coordinate system The stator current measurement value i is obtained by step 7 respectively dm 、i qm By comparison, the difference is input into the current regulator 3-3, and the voltage u in the synchronous rotating dq coordinate system is calculated. d 、u q ; will u d 、u q Input the Park inverse transformation module 3-4, and obtain the voltage u in the two-phase stationary αβ coordinate system after Park inverse transformation α 、u β ; Set the voltage u d 、u q The SVPWM modulation module 3 - 5 is input, and the SVPWM modulation module 3 - 5 outputs 6 trigger pulses to control the on and off of the switch tube of the three-phase voltage type inverter 2 .
[0048] like Figure 2 As shown, the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator described in the present invention is simulated using MATLAB software to obtain waveform diagrams of each link of the system. The parameters in the simulation model are set as follows: the rated power of the permanent magnet synchronous motor is 450W, the rated current is 25A, the rated speed is 2200r / min, the stator resistance is 0.073Ω, the stator inductance is 0.00037H, the permanent magnet magnetic flux is 0.01406Wb, the number of pole pairs is 12, the DC side voltage of the three-phase voltage inverter 2 is 48V, and the cut-off frequency ω of the current regulator 3-3 is ω. c is 2513 rad / s, the frequency of SVPWM modulation module 3-5 is 20 kHz, the cutoff frequency of low-pass filter LPF4-3 is 314 rad / s, the proportional coefficient of integrator 4-4 is 10, and the d and q axis stator current command values are respectively The error signal of 0.25A is injected into phase a and phase c respectively, and the current measurement error compensator proposed by the present invention is put into operation after 2s. Figure 2 The simulation waveform shows that in the dq synchronous rotating coordinate system, the stator current measurement error △i dm , △i qm is an AC signal; after the Park inverse transformation module 4-2, the stator current measurement error △i in the two-phase stationary αβ coordinate system is obtained αm , △i βm is a DC signal; △i αm , △i βm After passing through the low-pass filter LPF4-3 and the integrator 4-4, the estimated values of the stator current measurement error are The simulation results are completely consistent with the theoretical calculation values; after the current measurement error compensator proposed by the present invention is put into operation, the motor torque pulsation is significantly reduced, and the torque stability value is 0.6Nm.
[0049] like Figure 3 As shown, MATLAB software is used to simulate the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator of the present invention. The parameter settings in the simulation model before 2s are the same as those in FIG. Figure 2 Same; at 2s, the q-axis stator current command value is increased to The other parameters remain unchanged. Figure 3 The simulation waveform shows that after the current command value changes, the operation of the current error compensator is hardly affected by the transient disturbance, and the estimated value of the stator current measurement error is still It is exactly the same as before the q-axis stator current command value is changed; 2s later, as the stator current command value increases, the motor torque increases rapidly and stabilizes to 0.9Nm, with small pulsation. Figure 3The simulation waveform shows that the current error compensator described in the present invention can effectively suppress the interference of the outer loop controller, and the surface-mounted permanent magnet synchronous motor system based on the current measurement error compensator can have good dynamic control performance.
[0050] It should be noted that the above-mentioned technical features are further combined with each other to form various embodiments not listed above, which are all deemed to be within the scope of the present invention; and, for ordinary technicians in this field, they can be improved or transformed according to the above description, and all these improvements and transformations should fall within the scope of protection of the claims attached to the present invention.
Claims
1. A permanent magnet synchronous motor system based on a measurement error compensator, It is characterized in that include: Surface-mounted permanent magnet synchronous motor, three-phase voltage source inverter, vector control algorithm unit, current error compensator, position sensor and current sensor; The vector control algorithm unit includes a Clarke conversion module, a Park conversion module, a current regulator, a Park inverse conversion module 1 and a SVPWM modulation module; the three-phase stator winding of the surface-mounted permanent magnet synchronous motor is connected to the AC output end of the three-phase voltage-type inverter; the current sensor is connected to the stator winding of the surface-mounted permanent magnet synchronous motor, the current sensor is connected to the Clarke conversion module, the Clarke conversion module, the Park conversion module, the current regulator, the Park inverse conversion module 1 and the SVPWM modulation module are connected in sequence, and the SVPWM modulation module is connected to the control end of the three-phase voltage-type inverter; The current error compensator includes a low-pass filter module, a Park inverse transformation module 2, a low-pass filter LPF and an integrator; the vector control algorithm unit is connected to the low-pass filter module, and the low-pass filter module, the Park inverse transformation module 2, the low-pass filter LPF and the integrator are connected in sequence; The vector control algorithm unit is based on the output of the Clarke transformation module. αm 、i βm Subtract the estimated stator current measurement error output by the current error compensator from The difference is input into the Park transformation module; the stator current command value in the synchronous rotating dq coordinate system is The stator current measurement value i output by the Park transformation module is respectively dm 、i qm Compare them and input the difference into the current regulator; The output of the current regulator u d 、u q Input the Park inverse transformation module 1, and the output of the Park inverse transformation module 1 is sent to the SVPWM modulation module; The outputs of the SVPWM modulation module are respectively connected to the control terminals of the three-phase voltage-type inverter; the stator current command value in the synchronously rotating dq coordinate system The stator current measurement value i is input into the low-pass filter module in the current error compensator, and the stator current measurement value i output by the Park transformation module is dm 、i qm Subtract the output of the low-pass filter module to obtain the d and q axis stator current measurement error Δi dm , Δi qm ; The measurement error Δi dm , Δi qm The input of the Park inverse transform module 2, the output Δi of the Park inverse transform module 2 αm , Δi βm Input the low pass filter LPF; The output of the low-pass filter LPF is fed into the integrator, and the integrator outputs a stator current measurement error estimate Input the vector control algorithm unit.
2. The permanent magnet synchronous motor system based on the measurement error compensator according to claim 1, It is characterized in that The position sensor is mounted on the rotor of the surface mounted permanent magnet synchronous motor and is used to detect the position θ of the motor rotor. e , position signal θ e The Park transformation module, the Park inverse transformation module 1 in the vector control algorithm unit and the Park inverse transformation module 2 in the current error compensator are input respectively.
3. The permanent magnet synchronous motor system based on the measurement error compensator according to claim 2, It is characterized in that The current sensor is connected to the a and c two-phase stator windings of the surface-mounted permanent magnet synchronous motor, and is used to measure the phase current of the a and c two-phase stator windings; according to the three-phase balance, the phase current measurement value i of the a and c two-phase stator windings is obtained. am 、i cm Get the phase current measurement value i of the b-phase stator winding bm The measured values of the three-phase stator winding phase currents are input into the Clarke transformation module in the vector control algorithm unit.
4. A compensation method for a permanent magnet synchronous motor system based on a measurement error compensator, It is characterized in that The following steps are involved: Step 1: When the surface-mounted permanent magnet synchronous motor is running, use the current sensor to sample the phase current i of the stator winding of phases a and b. am 、i bm , using the position sensor to detect the motor rotor position θ e ; Step 2: According to the three-phase balance, the phase current measurement value i of the stator winding of phases a and c is am 、i cm Calculate the measured phase current value i of the b-phase stator winding bm As shown in formula (1): i bm =-(i am +i cm ) (1); Step 3: The measured value of the three-phase stator winding phase current i am 、i bm 、i cm The Clarke transformation module in the input vector control algorithm unit is used to obtain the stator current measurement value i in the two-phase stationary αβ coordinate system after Clarke transformation. αm 、i βm ; Then the current i αm 、i βm Input the Park transformation module, and obtain the stator current measurement value i in the synchronous rotating dq coordinate system after Park transformation dm 、i qm ; Step 4: According to formula (2), the stator current measurement value i in the synchronous rotating dq coordinate system is dm 、i qm Subtract the low-pass filtered d-axis and q-axis stator current command values from Extract the d-axis and q-axis stator current measurement errors Δi respectively dm , Δi qm ; where ω c is the cut-off frequency of the current regulator 3-3; Step 5: Substitute the d-axis and q-axis stator current measurement errors Δi obtained in step 4 dm , Δi qm Input Park inverse transformation module 2, and obtain the stator current measurement error Δi in the two-phase stationary αβ coordinate system after Park inverse transformation αm , Δi βm ; Step 6: The stator current measurement error Δi in the two-phase stationary αβ coordinate system obtained in step 5 is αm , Δi βm The output of the low-pass filter LPF is sent to the integrator, and the stator current measurement error estimation value in the two-phase stationary αβ coordinate system is obtained after integration. Step 7: The stator current measurement value i in the two-phase stationary αβ coordinate system obtained from step 3 αm 、i βm Subtract the estimated value of the stator current measurement error in the two-phase stationary αβ coordinate system obtained in step 6 from The subtraction result is input into the Park transformation module in the vector control algorithm unit, and the stator current measurement value i in the synchronous rotating dq coordinate system is obtained through Park transformation. dm 、i qm ; Stator current measurement value i dm 、i qm will no longer contain measurement errors; Step 8: Set the stator current command value in the synchronous rotating dq coordinate system The stator current measurement value i is obtained by step 7 respectively dm 、i qm By comparison, the difference is input into the current regulator, and the voltage u in the synchronous rotating dq coordinate system is calculated. d 、u q ; will u d 、u q Input the Park inverse transformation module 1, and obtain the voltage u in the two-phase stationary αβ coordinate system after Park inverse transformation α 、u β ; Set the voltage u d 、u q The SVPWM modulation module is input, and the SVPWM modulation module outputs 6 trigger pulses to control the on and off of the switch tube of the three-phase voltage type inverter.
