A dead zone compensation method and system based on current zero-crossing region variable PI control

By amplifying the PI parameters in the current zero-crossing area, adjusting the current loop output voltage, the problem of poor compensation effect of zero current clamping phenomenon when the motor is running at low speed is solved, effective compensation for the dead zone effect is achieved, and current harmonics are reduced. Improved current mass.

CN115483858BActive Publication Date: 2024-11-01HUAZHONG UNIV OF SCI & TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211203709.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-29
Publication Date
2024-11-01
Estimated Expiration
2042-09-29

AI Technical Summary

Technical Problem

The prior art has poor compensation effect on zero current clamping caused by dead-band effect when the motor is running at low speed, especially when the current polarity judgment is inaccurate, it will lead to error compensation, further increasing the current harmonic problem.

Method used

The dead-band compensation method based on the current zero-crossing area variable PI control is adopted. By recording the current ripple and sampling noise at zero point, the segmentation threshold is set, the amplified PI parameters are calculated according to the current zero-crossing area, and the current loop output voltage is adjusted to achieve zero-for-zero Effective compensation for current clamping phenomenon.

Benefits of technology

Without adding additional filters, the output voltage distortion caused by the zero current clamping effect is quickly reduced, the current quality is improved, and the current harmonics are reduced, so as to achieve effective compensation for the zero current clamping phenomenon.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115483858B_ABST
    Figure CN115483858B_ABST
Patent Text Reader

Abstract

The present invention discloses a dead zone compensation method and system based on PI control in the current zero-crossing region, which belongs to the field of permanent magnet synchronous motor control. The dead zone compensation method based on PI control in the current zero-crossing region proposed by the present invention only needs to perform additional segmentation judgment and PI parameter adjustment and selection. When the motor enters or exits the current zero-crossing region, the output voltage vector is smoothly transitioned before and after the region switching through the linearly changing PI parameter value. Compared with the traditional dead zone compensation method, the dead zone compensation method based on PI control in the current zero-crossing region proposed by the present invention can achieve effective compensation for the zero current clamping phenomenon without adding an additional current filter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of permanent magnet synchronous motor control, and more specifically, relates to a dead zone compensation method and system based on current zero-crossing region variable PI control. Background Art

[0002] In a two-level voltage source inverter, each phase controls the output of pulse voltage through the on-off control of the upper and lower power switch tubes. Due to the asymmetric on-off delay of power devices, if the upper and lower power tubes are driven directly according to the ideal switch pulse, the bridge arm will be short-circuited. In order to avoid the upper and lower power tubes from being directly turned on, it is necessary to insert a delay opening time based on the original switch pulse to leave enough safety margin for the upper and lower tube switching process. This inserted delay time is called dead time. During the dead time, the upper and lower power switch tubes remain in the off state, and the bridge arm current continues through the diode. At this time, the output voltage polarity is determined by the output current polarity rather than the voltage command, which will cause the output voltage and current to be distorted. The effect of voltage and current distortion caused by the dead time is called the dead time effect.

[0003] The distorted voltage pulses generated by the dead zone effect will cause the voltage amplitude and phase to be distorted at the same time, thereby introducing current harmonics and causing motor torque pulsation. Therefore, compensation for the dead zone effect is required in actual control. Dead zone compensation methods can be divided into compensation methods based on model observation and compensation methods based on principle calculation. The model observation-based method combines the motor model and the observer model to estimate the dead zone error voltage and compensate for it. This method has high requirements for sampling and control delays, and the algorithm implementation is generally more complex; the dead zone compensation method based on principle calculation derives the dead zone distortion voltage or distortion pulse width according to the dead zone error principle and then compensates. This method is relatively simple to implement, but its compensation effect is very dependent on the accurate judgment of current polarity. Since current sampling noise and current ripple are easy to cause current polarity misjudgment in the zero current region, which leads to the occurrence of miscompensation, it will further increase current harmonics.

[0004] When the motor runs at low speed, the effective action time of the voltage vector is often short, and the error voltage generated by the dead zone effect will dominate. Therefore, when the motor runs in the zero current area, the motor phase voltage will be dominated by the dead zone error voltage. At this time, the phase voltage is clamped to the no-load back electromotive force value of the phase motor, which will keep the zero-crossing phase current at around zero current until the effective voltage vector regains the dominant position of the output voltage and the zero-crossing phase current can get rid of the clamping state. This phenomenon is called zero current clamping. The zero current clamping phenomenon will cause serious distortion of the voltage synthesis vector, causing the other phase currents to be distorted as well. Therefore, the dead zone effect is often more serious when the motor runs at low speed. During the zero current clamping period, the polarity of the zero-crossing phase current will change many times due to the freewheeling phenomenon of the dead zone effect. At this time, the direct current polarity compensation method will be miscompensated in the zero current area due to inaccurate polarity judgment. The miscompensated voltage will make the dead zone effect in the zero current area more serious.

[0005] In order to solve the problem of the difficulty in accurately judging the current polarity, there are two common methods: current filtering and leading power factor angle judgment. Current filtering often leads to phase deviation. In order to achieve the filtering effect with low phase delay, a more complex filter is often designed. The leading power factor angle method observes the motor power factor angle or uses the command current instead of the actual current as the basis for polarity judgment. This method also needs to take measures to improve the sampling accuracy against the influence of current sampling noise, which also increases the complexity of the algorithm. And when the zero current clamping phenomenon of the motor is more prominent, the error voltage in the zero-crossing area of ​​the motor current will mainly depend on the difference between the motor reverse potential and the command voltage, which will result in that even if the current polarity judgment method is improved, a better compensation effect cannot be achieved. Therefore, it is of great practical significance to propose a simple method that can effectively compensate for the dead zone of the zero current clamping phenomenon of the motor. Summary of the invention

[0006] In view of the defects of the prior art, the purpose of the present invention is to provide a dead zone compensation method and system based on variable PI control in the current zero-crossing region, aiming to solve the technical problem that conventional dead zone compensation methods of motors have poor compensation effect on zero current clamping phenomenon.

[0007] To achieve the above purpose, the present invention provides a dead zone compensation method based on variable PI control in the current zero-crossing region, which can realize the dead zone compensation of the zero current clamping phenomenon without adding additional filtering. The basic idea is: based on the current ripple and sampling error current measured without dead zone compensation as the segmentation basis, the current zero-crossing phase output voltage is compensated by the amplified PI parameters in the current zero-crossing region, thereby realizing effective compensation for the zero current clamping phenomenon.

[0008] Based on the above ideas, the dead zone compensation method based on current zero-crossing region variable PI control proposed by the present invention to achieve the purpose of the invention includes:

[0009] (1) Run the motor without dead zone compensation, record the zero-crossing current ripple amplitude and the controller sampling noise amplitude during operation, and set the dead zone compensation segmentation threshold I accordingly. threshold .

[0010] (2) Calculate the dead zone error voltage vector amplitude based on the measured three-phase current values, and then calculate the dead zone compensation voltage value U according to the working conditions com .

[0011] (3) The minimum current amplitude of the three-phase current is threshold In comparison, different current loop PI parameter values ​​are applied according to the segmented results, and the current loop output voltage value is added to the dead zone compensation voltage value calculated in step (2) to obtain the output voltage vector, and then the three-phase duty cycle signal to be output is obtained through SVPWM modulation.

[0012] (4) The three-phase duty cycle signal is updated synchronously with the carrier cycle, and the compensated voltage pulse signal with dead zone is output to realize the dead zone compensation control of the motor.

[0013] Furthermore, the step (1) comprises:

[0014] The zero-crossing current ripple amplitude increases with the increase of load and speed, and the zero-crossing current ripple amplitude can be obtained under rated working conditions. The controller current sampling noise amplitude can be determined by comparing the error between the controller current sampling value and the oscilloscope current probe calibration value in the voltage positioning mode.

[0015] Furthermore, the step (2) comprises:

[0016] (201) In each sampling period, the dead zone error voltage U is calculated according to the polarity of the three-phase current err Then the minimum amplitude of the three-phase current value and the compensation segmentation threshold I threshold Compare, if less than or equal to I threshold , the motor runs in the current zero-crossing region, and step 202 is executed; otherwise, the motor runs in the non-current zero-crossing region, and step 203 is executed.

[0017] (202) According to the minimum amplitude of the three-phase current value and I threshold The calculated U err After scaling down, multiply by negative 1 to get the voltage vector U to be compensated com And execute step 204.

[0018] (203) The calculated U err Multiply by negative 1 to get the voltage vector U to be compensated com And execute step 204.

[0019] (204) U calculated in step 202 or 203 com The voltage vector is decomposed to the αβ axis to obtain U comα with U comβ .

[0020] Furthermore, the step (3) comprises:

[0021] (301) According to the comparison result of 201, if the motor is located in the zero current region, execute step 302, otherwise execute step 303.

[0022] (302) According to the minimum current amplitude and I threshold The proportional relationship of the linear amplification current loop proportional parameter k is calculated. pdzero , k pqzero , and substitute the unamplified PI parameter k under the condition of sharing the dq axis integral output value pd , k pq And the enlarged PI parameter k pdzero , k pqzero Calculate the current loop output voltage value U d1 , U q1 , U d2 , U q2 And execute step 304.

[0023] (303) Using the unenlarged scale parameter k pd , k pq As the current loop proportional parameter value, the output value U is calculated through the current loop PI link d , U q And execute step 305.

[0024] (304) Current loop output voltage value U d1 , U q1 , U d2 , U q2 After dq-αβ coordinate transformation, the U calculated in step (2) comα and U comβ The output voltage vector is obtained by adding them together. After SVPWM modulation, the output values ​​of the two current loops are calculated to obtain the three-phase duty ratios. x1 (x=a,b,c) and duty x2 (x=a,b,c). According to the phase corresponding to the zero-crossing current determined in step 201, duty x1 Assign values ​​to the two non-zero-crossing phases and set duty x2 Assign a value to the zero-crossing phase to obtain the duty ratio of the three phases to be output x (x=a,b,c).

[0025] (305) Current loop output value Ud , U q After dq-αβ coordinate transformation, the U calculated in step (2) comα and U comβ The output voltage vector is obtained by adding them together. After SVPWM modulation, the current loop output value is calculated to obtain the three-phase duty cycle duty. x (x=a,b,c).

[0026] The present invention proposes a variable PI dead zone compensation method with segmented compensation, which uses the motor current ripple and sampling error current measured when not compensated as segmentation basis, and divides the compensation interval into a current zero-crossing region and a non-current zero-crossing region. The current loop PI parameter value is amplified in the current zero-crossing region, and the amplified current regulator output is only effective for the zero-crossing phase voltage, and does not affect the voltage output of the other two phases. The output voltage is calculated using the unamplified PI parameter value in the non-current zero-crossing region. On the other hand, in the non-current zero-crossing region, the dead zone compensation voltage is directly calculated according to the current polarity judgment, while in the current zero-crossing region, the dead zone compensation voltage decreases linearly as the current decreases. The present invention realizes a dead zone compensation method based on variable PI control in the current zero-crossing region, which can quickly increase the current zero-crossing phase effective voltage output value by increasing the current loop PI value, so that the current can get rid of the zero current clamping region faster, thereby reducing the output voltage distortion caused by the zero current clamping effect, and realizing effective compensation for the zero current clamping phenomenon without adding an additional filter.

[0027] Another aspect of the present invention provides a dead zone compensation system based on current zero-crossing region variable PI control, comprising: a computer-readable storage medium and a processor;

[0028] The computer-readable storage medium is used to store executable instructions;

[0029] The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the above-mentioned dead zone compensation method based on current zero-crossing region variable PI control.

[0030] Compared with the prior art, the above technical solution conceived by the present invention can achieve the following beneficial effects:

[0031] (1) Compared with the traditional dead zone compensation method, the dead zone compensation method based on variable PI control in the current zero-crossing region proposed in the present invention can effectively compensate for the zero current clamping phenomenon without adding an additional current filter.

[0032] (2) When the motor enters or exits the current zero-crossing region, a smooth transition of the output voltage vector before and after the region switching is achieved through the linear change of the PI parameter value.

[0033] (3) The dead zone compensation method based on variable PI control in the current zero-crossing region proposed in the present invention only requires additional segmented judgment and PI parameter adjustment and selection, and is suitable for implementation in a low-cost control chip. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 It is a flow chart of the dead zone compensation method based on variable PI control in the current zero-crossing region.

[0035] Figure 2 This is a schematic diagram of the output voltage pulse distortion caused by the dead zone effect, (a) is the output voltage pulse when the bridge arm current is greater than 0, and (b) is the output voltage pulse when the bridge arm current is less than 0.

[0036] Figure 3 It is a schematic diagram of segmented PI parameter adjustment.

[0037] Figure 4 This is the duty cycle calculation flow chart of the dead zone compensation method.

[0038] Figure 5 It is the block diagram of dead zone compensation control system.

[0039] Figure 6 This is a schematic diagram of the phase current compensation effect of a low-inductance permanent magnet synchronous motor when running at a low speed of 30Hz. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0041] The embodiment of the present invention provides a dead zone compensation method based on current zero-crossing region variable PI control, and the compensation method flow chart is as follows: Figure 1 As shown, specifically including:

[0042] Step 1: Set the switching frequency f according to system requirements sw , bus voltage V dc And the dead time t d , the motor is operated without dead zone compensation. The output voltage distortion caused by the dead zone effect is as follows: Figure 2 As shown in Figure 2, when the current flows out of the inverter, the voltage pulse distortion is as follows: Figure 2 As shown in (a) in the figure; when current flows into the inverter, the voltage pulse distortion is as follows Figure 2 As shown in (b) in . Figure 2This is just a way to generate a dead zone. This method can also effectively compensate for other types of dead zones. Record the zero-crossing current ripple amplitude I ripple The motor is positioned in the voltage positioning mode, and the sampling noise amplitude I is determined by comparing the controller current sampling value with the current probe recording value. noise According to the measured I ripple and I noise Determine the dead zone compensation segment threshold I threshold , I threshold The purpose of selecting is to prevent the voltage vector from being incorrectly compensated in the zero current region, and its value should satisfy:

[0043] I threshold >I ripple +I noise

[0044] Step 2: Calculate the dead-time error voltage vector U err , U err The amplitude is denoted as |U err |, T s is the carrier period:

[0045]

[0046] Record the dead zone error time t err , power device turn-on time t on , power device turn-off time t off The power device turn-on time includes the turn-on delay time and the rise time, and the power device turn-off time includes the turn-off delay time and the fall time. When only considering the asymmetric rise and fall time of the power device, t err The impact brought by err It is expressed as:

[0047] t err =t d +t on -t off

[0048] From this | err |It can be calculated that:

[0049]

[0050] U err The angle is determined by the polarity of the three-phase current. The current polarity is defined as positive when the current flows into the motor. When the phase current polarity is positive, it is represented by the number 1, and when it is negative, it is represented by the number 0. The current polarity phase sequence is arranged in the abc phase sequence. According to the three-phase current polarity, U can be calculated. err The voltage components in the αβ axis coordinate system are shown in Table 1.

[0051] Table 1 Dead zone error voltage vector calculation

[0052]

[0053]

[0054] Step 3: According to the three-phase current value I a I b I c The minimum amplitude of the three-phase current is calculated, and the phase current corresponding to the minimum value is defined as I min According to I min with I threshold The comparison result divides the compensation interval into segments. min |<I threshold When , the motor is running in the current zero-crossing region, otherwise it is considered to be running in the non-current zero-crossing region.

[0055] When the motor runs in the current zero-crossing region, in order to avoid miscompensation, the minimum current amplitude and I threshold The proportional relationship is calculated in step 2. err The vector is linearly scaled down and multiplied by negative 1 to obtain the voltage vector U to be compensated com :

[0056]

[0057] When the motor runs in the non-current zero-crossing region, U err Multiply by negative 1 to get U com :

[0058] U com =-U err

[0059] Calculate U com After that, if the motor is running in the current zero-crossing region, execute step 4, otherwise execute step 5.

[0060] Step 4: The original PI parameters of the current loop are denoted as k pd , k id , k pq and k iq , k pd is the d-axis current loop proportional parameter; k id is the d-axis current loop integral parameter; k pq is the q-axis current loop proportional parameter; k iq is the integral parameter of the q-axis current loop. When the motor runs in the current zero-crossing region, the current loop proportional parameter is amplified, and the amplified dq-axis proportional parameter is recorded as k pdzero , k pqzero To avoid sudden changes in the current loop output value when switching between regions, let kpdzero , k pqzero Linear change. The ratio parameter magnification is recorded as k pscale Too large a proportional parameter value will cause the motor system to become unstable. In the program, you can set the upper saturation value of the proportional parameter to avoid excessive proportional parameter values.

[0061]

[0062] The errors between the input command and the actual input value of the dq axis current loop are I derr ,I qerr , and define the dq axis current loop integral output values ​​as Int d 、Int q In the shared Int d 、Int q Under the conditions, the current loop output value U is calculated by using the dq axis ratio parameters before and after the increase. d1 , U q1 , U d2 , U q2 And proceed to step 6.

[0063]

[0064] Step 5: When the motor runs in the non-current zero-crossing area, the PI parameters remain unchanged, and the output value U is obtained through current loop calculation. d , U q And execute step 7, then the final proportional parameter value in the dq axis PI parameter value is as follows Figure 3 Changes shown.

[0065] Step 6: U d1 , U q1 , U d2 , U q2 After dq-αβ coordinate transformation, the U calculated in step 4 com After adding, the three-phase duty ratios can be calculated after SVPWM modulation. x1 (x=a,b,c) and duty x2 (x=a,b,c). x1 Assign values ​​to the two non-current zero-crossing phases and set duty x2 Assign a value to the current zero-crossing phase to obtain the duty ratio of the three phases to be output x (x=a, b, c) and execute step 8. The duty cycle assignment process represented by step 6 is as follows: Figure 4 shown.

[0066] Step 7: U d , U q After dq-αβ coordinate transformation and the U calculated in step 4com After adding, the three-phase duty ratio can be calculated after SVPWM modulation. x (x=a,b,c) and execute step 8.

[0067] Step 8: Set the three-phase duty cycle x (x=a, b, c) is brought into the dead zone module to generate a three-phase complementary PWM signal with dead zone output.

[0068] To better illustrate the dead zone compensation effect, the present invention further provides an embodiment:

[0069] Take a three-phase low-inductance permanent magnet synchronous motor as an example. The number of motor pole pairs is 6, L d =42μH,L q =51μH, the dead time is set to 2us, the switching frequency is set to 20kHz, and the DC bus voltage is set to 300V. The effects before and after the dead zone compensation are simulated in MATLAB / Simulink software. The dead zone compensation control system block diagram is as follows Figure 5 Build as shown.

[0070] Figure 6 The phase current compensation effect of the low-inductance permanent magnet synchronous motor at low speed 30Hz is demonstrated. Without dead zone compensation, the simulated current THD is 11.18% when the motor is running at 300rpm and the load current is 166A effective value, of which the proportion of the 5th harmonic is 9.71% and the proportion of the 7th harmonic is 6.40%. The 5th and 7th harmonic components caused by the dead zone effect are the main sources of current harmonics. Assume k pscale is 30, I threshold When the dead zone compensation method proposed in this patent is used, the THD of the simulated current under the same working condition is reduced to 1.86%, of which the proportion of the 5th harmonic is 0.33%, the proportion of the 7th harmonic is 0.90%, the zero current clamping time is greatly shortened, and the 5th and 7th harmonics caused by the dead zone are well suppressed. The simulation results prove that the dead zone compensation method proposed in this patent can effectively compensate for the zero current clamping phenomenon, thereby reducing the current ripple distortion and improving the current quality.

[0071] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A dead zone compensation method based on current zero-crossing region variable PI control, characterized in that: The following steps are involved: (1) According to the zero-crossing current ripple amplitude and sampling noise amplitude when the motor is running, set the dead zone compensation segmentation threshold I threshold ; Dead zone compensation segment threshold I threshold The value of satisfies: I threshold >I ripple +I noise Among them, I ripple is the zero-point current ripple amplitude, I noise is the sampling noise amplitude; (2) Calculate the dead zone error voltage vector amplitude based on the measured three-phase current values, and calculate the dead zone compensation voltage value U according to the working conditions. com ;include: (201) In each sampling period, the dead zone error voltage U is calculated according to the polarity of the three-phase current err Then the minimum amplitude of the three-phase current value and the compensation segmentation threshold I threshold Compare, if less than or equal to I threshold , execute step 202, otherwise execute step 203; (202) According to the minimum amplitude of the three-phase current value and I threshold The calculated U err After scaling down, multiply by negative 1 to get the voltage vector U to be compensated com And execute step 204; (203) The calculated U err Multiply by negative 1 to get the voltage vector U to be compensated com And execute step 204; (204) The voltage vector to be compensated U com Decompose to the αβ axis to get U comα with U comβ ; (3) The minimum current amplitude of the three-phase current value and I threshold In comparison, different current loop PI parameter values ​​are applied according to the segmented results, and the current loop PI output voltage value is added to the dead zone compensation voltage value calculated in step (2) to obtain the output voltage vector, and the three-phase duty cycle signal to be output is obtained through SVPWM modulation; including: (301) According to the comparison result of (201), if the motor is in the zero current region, execute step 302, otherwise execute step 303; (302) According to the minimum amplitude of the three-phase current value and I threshold The proportional relationship of the linear amplification current loop proportional parameter k is calculated. pdzero , k pqzero , and substitute the unamplified PI parameter k under the condition of sharing the dq axis integral output value pd , k pq And the enlarged PI parameter k pdzero , k pqzero Calculate the current loop output voltage value U d1 , U q1 , U d2 , U q2 And execute step 304; (303) Using the unenlarged scale parameter k pd , k pq As the current loop proportional parameter value, the output value U is calculated through the current loop PI link d , U q And execute step 305; (304) Current loop output voltage value U d1 , U q1 , U d2 , U q2 After dq-αβ coordinate transformation, the U calculated in step (2) comα and U comβ The output voltage vector is obtained by adding them together; after SVPWM modulation, the output values ​​of the two current loops are calculated to obtain the three-phase duty ratios. x1 (x=a,b,c) and duty x2 (x=a,b,c); According to the phase corresponding to the zero-crossing current determined in step (201), duty x1 (x=a,b,c) is assigned to the two non-zero-crossing phases, and duty x2 (x=a,b,c) is assigned to the zero-crossing phase to obtain the duty ratio of the three phases to be output x (x=a,b,c), bring it into the dead zone module to generate a three-phase complementary PWM signal with dead zone output; (305) Current loop output value U d , U q After dq-αβ coordinate transformation, the U calculated in step (2) comα and U comβ The output voltage vector is obtained by adding them together. After SVPWM modulation, the current loop output value is calculated to obtain the three-phase duty cycle duty. x (x=a,b,c), bring it into the dead zone module to generate a three-phase complementary PWM signal with dead zone output; (4) The three-phase duty cycle signal is updated synchronously with the carrier cycle, and the compensated voltage pulse signal with dead zone is output to realize the dead zone compensation control of the motor.

2. The dead zone compensation method according to claim 1, characterized in that: The zero-crossing current ripple amplitude is obtained under rated operating conditions.

3. A dead zone compensation system based on current zero-crossing region variable PI control, characterized in that: include: A computer readable storage medium and a processor; The computer-readable storage medium is used to store executable instructions; The processor is used to read the executable instructions stored in the computer-readable storage medium to execute the dead zone compensation method based on current zero-crossing region variable PI control as described in claim 1 or 2.