Single-resistor three-phase current reconstruction method based on pulse width modulation of two switch sequences
By adopting the two-switch sequence pulse width modulation method in the voltage source inverter, the current reconstruction deadband problem is solved, and more efficient current reconstruction and faster algorithm execution speed is achieved, reducing hardware cost and volume.
Patent Information
- Application Number
- CN202411399417.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art has a current reconstruction dead zone (CRDZ) when reconstructing three-phase current using a single current sensor in a voltage source inverter, resulting in large current reconstruction errors and slow algorithm execution speed, increasing hardware cost and volume.
Using the two-switch sequence pulse width modulation (TSSPWM) method, two switch sequences are applied during the PWM period, one is used to measure the voltage vector and the other is used to compensate the voltage vector to ensure that the composite voltage vector is consistent with the reference voltage vector, and symmetrical PWM and fixed sampling points reduce the current reconstruction error caused by measurement delay.
The current reconstruction error is reduced, the algorithm execution speed is improved, the hardware cost and volume is reduced, and the deadband problem of three-phase current reconstruction of single bus resistor is solved, achieving reconstruction closer to the average current.
Smart Images

Figure CN119030356A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of voltage source inverter single resistor three-phase current reconstruction, and in particular relates to a three-phase current reconstruction method based on two switching sequence pulse width modulation (TSSPWM). Background Art
[0002] Voltage Source Inverter (VSI) is a commonly used energy conversion structure, which is widely used in AC motor drive, new energy generation and uninterruptible power supply. Permanent Magnet Synchronous Machines (PMSM), as a typical AC servo motor, is one of the important applications of VSI. Typical vector control, direct torque control and model predictive control methods for PMSM require at least two-phase stator current to achieve smooth and fast control performance. Common current detection methods include placing a resistor detection method on the low-voltage side of the DC bus and connecting a Hall current sensor in series on the stator phase line. The resistor detection method has a lower cost, but the sampling needs to be coordinated with the inverter switching state. The sampling of the Hall current sensor is simple, but the volume is large and the cost is high. However, both methods require two or three current sensors, which will increase the cost of the drive, the difficulty of PCB layout and the sensor loss. Therefore, it is very meaningful to study how to reconstruct the three-phase current using only one current sensor.
[0003] According to the different installation positions of the sensors, it can be divided into bus resistance, single branch and multi-branch methods. The bus resistance method usually places the detection resistor on the low-voltage side of the DC bus. It has low cost, flexible and compact layout, and low common-mode voltage of the detection signal, but there is a current reconstruction dead zone (Current Reconstruction Dead Zone, CRDZ) at low modulation ratios and sector boundaries. In contrast, single branch and multi-branch transfer the reconstruction blind zone to the boundary of the space vector hexagon, which reduces the difficulty of current reconstruction, but destroys the symmetry of the VSI and cannot be used in integrated intelligent power modules. Since the use of single current sensing is to reduce volume and cost, the bus resistance method is the most commonly used of the above three methods.
[0004] The bus resistance method cannot directly reconstruct the three-phase current due to the existence of CRDZ. The Switching-State Phase Shift (SSPS) method is a common solution. The PWM offset method is used to avoid current sampling in the CRDZ, but this method samples on both sides of the PWM cycle, resulting in a large error with the average current. In addition, different methods are applied in different reconstruction areas, which occupies more memory space and slows down the execution speed of the code. Summary of the invention
[0005] In view of the above problems, in order to reduce the error between the reconstructed current and the average current and improve the execution speed of the algorithm, the present invention proposes a three-phase current reconstruction method of TSSPWM to reduce the hardware cost and volume of the AC motor drive system. The implementation process of the TSSPWM method proposed by the present invention will be described below.
[0006] The basic idea of TSSPWM is to apply two switching sequences in one PWM cycle. One switching sequence generates a fixed measured voltage vector (MVV) to measure the three bus currents. The other switching sequence synthesizes a compensation voltage vector (CVV) to keep the voltage vector synthesized by TSSPWM consistent with the reference voltage vector (RVV). TSSPWM has symmetrical PWM and fixed sampling points, which can reduce the current reconstruction error caused by measurement delay and be closer to the average value of the current. It specifically includes the following steps:
[0007] Step 1: Use the PMSM vector control framework to calculate the reference voltage vector of the inverter, which is expressed as
[0008]
[0009] In the formula, Take the value of the synthetic RVV, is the RVV value in the two-phase stationary (αβ) coordinate system, and They represent the reference voltages of the α-axis and β-axis respectively, j represents the imaginary part,
[0010] for The three-phase RVV value obtained by inverse Clark transformation is: and Represent the reference voltage of phase a, b and c respectively.
[0011] Step 2: Calculate the double-sided modulation wave of the three-phase reference voltage according to the reference voltage vector RVV The output of pulse width modulation (PWM) is obtained by comparing the carrier signal with the modulation wave signal. The carrier signal is generated by the PWM peripheral of the microcontroller, and the modulation wave is generated by calculation. The modulation wave of the three-phase voltage can be calculated according to the third harmonic injection method, and its expression is:
[0012]
[0013] In the formula, is the modulation signal, and They are and The minimum and maximum values in .
[0014] Step 3: Based on bilateral modulation wave Get the opening time of RVV The bilateral modulation wave of the three-phase reference voltage calculated in step 2 is a bilateral modulation signal, while the microcontroller uses a center-aligned unilateral triangular carrier signal. In order to make the two signals have a uniform range, the bilateral modulation wave is transformed into a unilateral modulation wave. The calculation expression is:
[0015]
[0016] Where, T s is the PWM period, is the opening time of RVV, the range is [0,0.25T s ], which is also the inverter upper arm power switch S 1 , S 3 and S 5 The opening time.
[0017] Step 4: According to Calculate the on-time of the measured voltage vector MVV MVV is used to detect bus current. Bus current has a one-to-one correspondence with phase current under different voltage vectors. Therefore, the applied MVV determines the measurable bus current and reconstructed phase current. The opening time of MVV The calculation expression is
[0018]
[0019] In the formula, and Respectively The subscript x corresponding to the maximum, middle and minimum values; T min is the minimum sampling time. For example, if for The minimum value in , then x=a,
[0020] Step 5: Based on the opening time of RVV and MVV and Calculate the on-time of the compensation voltage vector CVV The composite vector of MVV and CVV needs to be consistent with RVV, so the opening time of CVV It can be obtained by calculating the opening time of RVV and MVV, and its calculation expression is:
[0021]
[0022] Step 6: Compare the on-time of MVV and CVV with the time t of the carrier signal. cw In comparison, the output S 1 , S 3 and S 5 The PWM signal high level high, low level low and level hold conversion logic is: when When the high level high changes to the low level low; When the low level low changes to the high level high; in other cases, the level is held, and the expression is as follows:
[0023]
[0024] In the formula, t cw Indicates the time of the carrier signal.
[0025] Step 7: Using the PWM signal of the MVV and the sampled bus current, the three-phase current is reconstructed according to the relationship between the phase current and the DC bus current when different voltage vectors are applied. The reconstructed three-phase current is used in the vector control framework in step 1, and the RVV is calculated and output again. Steps 1 to 7 are repeated to form a closed loop of control loop and current reconstruction.
[0026] The advantages of the present invention are:
[0027] (1) In terms of hardware, only one bus resistor is used on the low-voltage side, which reduces the hardware cost of the motor driver and the layout volume of the driver;
[0028] (2) The TSSPWM method can solve the dead zone problem of single bus resistance reconstruction of three-phase current in a simple way. The same strategy can be used in different reconstruction dead zones, with smaller memory usage and faster running speed.
[0029] (3) The TSSPWM method realizes symmetrical PWM output and intermediate cycle sampling mode, which can reduce the sampling delay error and make the reconstructed current closer to the average value. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a three-phase voltage source inverter and PMSM structure;
[0031] Figure 2 Reconstruction area partition diagram for spatial voltage vector and current;
[0032] Figure 3 This is a schematic diagram of the current sampling dead zone;
[0033] Figure 4 PWM timing diagram for SVPWM and TSSPWM;
[0034] Figure 5 It is the vector synthesis diagram of SVPWM and TSSPWM;
[0035] Figure 6 This is a comparison chart of PWM conduction between SSPS and TSSPWM;
[0036] Figure 7 Comparison of current reconstruction between SSPS and TSSPWM under changing load conditions;
[0037] Figure 8 The execution time comparison chart of SSPS and TSSPWM. DETAILED DESCRIPTION
[0038] Next, a single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation proposed by the present invention will be described in detail in combination with the embodiment and the accompanying drawings, including the following steps:
[0039] Step 1: Calculate the reference voltage vector RVV of the inverter using the PMSM vector control framework.
[0040] Step 2: Calculate the double-sided modulation wave of the three-phase reference voltage according to the reference voltage vector RVV
[0041] Step 3: Based on bilateral modulation wave Get the opening time of RVV
[0042] Step 4: According to Calculate the on-time of the measured voltage vector MVV
[0043] Step 5: Based on the opening time of RVV and MVV and Calculate the on-time of the compensation voltage vector CVV
[0044] Step 6: Compare the on-time of MVV and CVV with the time t of the carrier signal. cwIn comparison, the output S 1 , S 3 and S 5 PWM signal.
[0045] Step 7: Using the PWM signal of the MVV and the sampled bus current, the three-phase current is reconstructed according to the relationship between the phase current and the DC bus current when different voltage vectors are applied. The reconstructed three-phase current is used in the vector control framework in step 1, and the RVV is calculated and output again. Steps 1 to 7 are repeated to form a closed loop of control loop and current reconstruction.
[0046] Figure 1 is the structure diagram of the three-phase voltage source inverter and motor, S 1 To S 6 There are six power switching devices, V dc is the DC bus voltage, R dc is the current detection resistor. dc Placed on the low-voltage side of the DC bus, the common-mode voltage during sampling is smaller than that on the high-voltage side, which is beneficial for the selection of the current amplifier. Figure 2 is the spatial voltage vector distribution diagram, V 1 To V 6 is the effective voltage vector, V 0 and V 7 is the zero voltage vector. When the effective voltage vector is applied to the inverter, R dc There will be a current i dc For example, Figure 1 The shaded area is the voltage vector V 1 When the action is 1 , S 4 and S 6 conduction, flowing through R dc The current i dc With phase a current i a Equal. Under other voltage vectors, i dc The relationship with the phase current is shown in Table 1.
[0047] Table 1 Relationship between phase current and DC bus current when different voltage vectors are applied
[0048]
[0049] Ideally, the three-phase current can be reconstructed through the relationship in Table 1. However, affected by the inverter dead zone, the current amplifier slew rate and the sampling delay of the microcontroller AD module, it takes a period of time to sample the bus current. Figure 3 The timing diagram of bus current sampling explains this reason. d is the inverter dead time, t r and ts i dc Rise time and settling time, t sh is the sampling and holding time of the AD module, the total minimum sampling time can be calculated as
[0050] T min =t d +t r +t s +t sh (1)
[0051] according to Figure 3 , voltage vector V 1 The on time t 1 >T min , so according to Table 1 V 1 with i dc The relationship between the sampled current and the dc =i a . And V 2 The on time t 2 <T min , so the sampled current is V 7 The current i when conducting dc = 0, instead of the ideal i dc =-i c In this case, only one current can be measured. Figure 2 The position in is the sector boundary area. If t 1 <T min And t 2 <T min , then no current can be measured in a switching cycle, and the voltage vector is Figure 2 The position in the middle is the low modulation area. Because the sector boundary area and the low modulation area cannot measure i dc , so these two regions are called CRDZ.
[0052] In order to solve the CRDZ problem in the above current reconstruction, the present invention proposes a TSSPWM method. The TSSPWM method divides RVV into MVV and CVV, and the relationship between the three is as follows:
[0053]
[0054] In the formula, and are the values of MVV and CVV respectively. When RVV is in the current reconstruction dead zone, MVV can ensure that the two i dc can be effectively collected, and CVV will offset the remaining part of MVV output, making the voltage vectors of MVV and CVV outputs equal to RVV.
[0055] Figure 4 The switching timing waveforms of space voltage vector modulation (SVPWM) and TSSPWM in the first sector are shown. SVPWM is the most commonly used modulation method in multi-current sensor detection schemes and is used here as a comparative reference. is the switching time of the three-phase voltage in SVPWM mode, and is the switching time of three-phase compensation and voltage measurement in TSSPWM mode, t cw is the carrier counter. In SVPWM mode, V 1 The conduction time is greater than T min , while V 2 The conduction time is less than T min , so there is only one i dc can be collected, the three-phase current cannot be reconstructed. In TSSPWM mode, the measurement vector V 1 and V 2 is cleverly inserted in the center of the counting cycle. In order to maintain the symmetry of the waveform, V 1 is placed at V 2 Both sides of the sample are sampled twice. dc Take the average value. This can make the reconstructed three-phase current closer to the average current of a PWM cycle. 1 and V 2 The conduction time is greater than T min , thus solving the CRDZ problem of traditional SVPWM.
[0056] Figure 5 for Figure 4 The voltage vector synthesis diagram, in Figure 5 In the left figure, the voltage vector synthesis relationship of SVPWM can be expressed as:
[0057]
[0058] In the formula, and V 1 and V 2 The on-time, T s is the switching period of PWM. Figure 5 In the right figure, the voltage vector synthesis relationship of TSSPWM can be expressed as:
[0059]
[0060] And because:
[0061] V1 -V 6 =V 2 , V 2 +V 6 -V 1 =0 (5)
[0062] Therefore V 2 The added part is V 1 and V 6 The voltage vector output by SVPWM is equal to that of TSSPWM. In other words, TSSPWM does not change the output of the desired voltage vector. This is because the duty cycle of each phase switch of TSSPWM remains unchanged from the desired duty cycle, so the output of the voltage vector is the same as the reference value.
[0063] The following is an example of the present invention to demonstrate the superiority of the proposed method, and the comparative method is the SSPS mentioned in the background technology. Figure 6 The PWM conduction waveforms of the SSPS and TSSPWM methods switching from the sixth sector to the first sector are shown. At this time, the voltage vector is in the sector boundary area. The SSPS method uses the first half of the cycle as the offset compensation cycle and the second half of the cycle as the measurement cycle. The PWM is asymmetric and the sampling point is not fixed. The TSSPWM method places the compensation cycle on both sides of the PWM and the measurement cycle in the middle, achieving symmetrical PWM measurement, which makes the current measured by TSSPWM closer to the mean value of PWM.
[0064] Figure 7 The dynamic experimental results of SSPS and TSSPWM at 1500r / min with load changing from 0.1N·m to 0.2N·m are shown. r and n f are the reference speed and feedback speed respectively, i ar and i ae Represent the reconstructed current and the error between the reconstructed current and the actual current respectively. The peak-to-peak values of the speed errors |MAX-MIN| of SSPS and TSSPWM are 222.1r / min and 212.2r / min respectively, and the root mean square errors RMS are 48.2r / min and 48.1r / min respectively. The anti-interference performance of the two methods under the same controller parameters is basically the same. The |MAX-MIN| and RMS of the current error of the SSPS method are 0.18A (5.28%) and 0.04A (26.5%) larger than those of TSSPWM. When the load is added, the current amplitude increases, and the relative current errors of the two methods gradually increase. The current reconstruction error of TSSPWM is smaller than that of the SSPS method, and the current reconstruction performance is better.
[0065] Figure 8 The execution time comparison chart of SSPS and TSSPWM is shown.T The maximum (MAX), minimum (MIN) and average (AVE) running time of the TSSPWM method are all smaller than those of the SSPS method, and the total average running time is reduced by 1.42us (34.3%).
[0066] In summary, the TSSPWM method proposed in the present invention can perfectly solve the current reconstruction dead zone problem. It has symmetrical PWM and central sampling points, and has higher current reconstruction accuracy and faster calculation speed than the existing SSPS method.
Claims
1. A single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation, It is characterized in that The following steps are involved: Step 1: Using the PMSM vector control framework, calculate the reference voltage vector RVV of the inverter; Step 2: Calculate the double-sided modulation wave of the three-phase reference voltage according to the reference voltage vector RVV Step 3: Based on bilateral modulation wave Get the opening time of RVV And measure the on-time of the voltage vector MVV Step 4: According to and Calculate the on-time of the compensation voltage vector CVV Step 5: Compare the on-time of MVV and CVV with the time t of the carrier signal. cw In comparison, the output S 1 , S 3 and S 5 PWM signal; Step 6: Using the PWM signal of the MVV and the sampled bus current, the three-phase current is reconstructed according to the relationship between the phase current and the DC bus current when different voltage vectors are applied. The reconstructed three-phase current is used in the vector control framework in step 1.
2. The single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation according to claim 1, It is characterized in that The reference voltage vector RVV of the inverter is calculated as follows: In the formula, Take the value of the synthetic RVV, is the RVV value in the two-phase stationary coordinate system, and They represent the reference voltages of the α-axis and β-axis respectively, j represents the imaginary part, for The three-phase RVV value obtained by inverse Clark transformation is: and Represent the reference voltage of phase a, b and c respectively.
3. The single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation according to claim 2, It is characterized in that The calculation of the bilateral modulation wave of the three-phase reference voltage The specific process is as follows: The output of pulse width modulation (PWM) is obtained by comparing the carrier signal with the modulation wave signal. The carrier signal is generated by the PWM peripheral of the microcontroller, and the modulation wave is generated by calculation. The double-sided modulation wave of the three-phase reference voltage is calculated according to the third harmonic injection method, and its expression is: In the formula, is the modulation signal, and They are and The minimum and maximum values in .
4. The single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation according to claim 3, It is characterized in that The calculation of the opening time of the RVV The specific process is as follows: Convert the double-sided modulation wave to a single-sided modulation wave, and the calculation expression is: Where, T s is the PWM period, is the opening time of RVV, the range is [0,0.25T s ].
5. The single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation according to claim 4, It is characterized in that The calculation measures the on-time of the voltage vector MVV The expression is: In the formula, and Respectively The subscript x corresponding to the maximum, middle and minimum values; T min is the minimum sampling time.
6. The single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation according to claim 5, It is characterized in that The on time of the compensation voltage vector CVV It is obtained by calculating the opening time of RVV and MVV, and its calculation expression is:
7. The single resistor three-phase current reconstruction method based on two-switch sequence pulse width modulation according to claim 6, It is characterized in that The opening time of MVV and CVV is compared with the time of the carrier signal, and the output S 1 , S 3 and S 5 The PWM signal of the circuit is as follows: The conversion logic of PWM signal high level high, low level low and level hold is: When the high level high changes to the low level low; In the other cases, the level is kept hold.
Citation Information
Cited By
Three-phase current reconstruction method, three-phase current reconstruction circuit, motor control system and motor control equipment
CN122475588A
