A SHEPWM control system and method for controlling output voltage of a high-power converter

By adopting the SHEPWM control system in the high-power converter, using the quadruple frequency circuit and DSP system, the problem of loss and waveform quality reduction caused by the increase in switching frequency under conventional PWM control is solved, and high-efficiency specific switching at low switching frequency is achieved. Harmonics elimination and precise control of output voltage improve power quality.

CN112803717BActive Publication Date: 2024-10-01NORTH CHINA ELECTRIC POWER UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110073862.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-01-20
Publication Date
2024-10-01
Estimated Expiration
2041-01-20

AI Technical Summary

Technical Problem

In high-power converter applications, conventional PWM control methods cause the switching frequency to increase, increase switching losses, and reduce the output waveform quality. Especially at low switching frequencies, the output voltage distortion is serious, affecting the safe operation of the power system.

Method used

Using the SHEPWM control system, through the zero-crossing comparator, quadruple frequency circuit and DSP system, the 50Hz power frequency signal is used to generate a 200Hz synchronization signal as the switching angle trigger signal benchmark, which reduces the cumulative error of the counter and improves the symmetry within the cycle, thereby achieving specific harmonics. Wave elimination and precise control of output voltage.

Benefits of technology

It effectively reduces switching losses, improves the quality and symmetry of the output voltage waveform, reduces harmonic components, and improves power quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112803717B_ABST
    Figure CN112803717B_ABST
Patent Text Reader

Abstract

The present invention discloses a SHEPWM control system and method for controlling the output voltage of a high-power converter. The control system includes a zero-crossing comparator, a quadruple frequency circuit, a trigger, and a DSP system. The control method first inputs a voltage signal of a 50Hz industrial frequency to obtain a 50Hz square wave signal and a 200Hz synchronization signal, then calculates the switch angle value that the DSP control system needs to output, and then designs the interruption process required for the output switch control signal, and repeatedly outputs a complete periodic waveform. The present invention avoids the cumulative error of calculation within the cycle, improves the symmetry of the output waveform within the cycle, reduces the output harmonic content of the output voltage, and improves the quality of the output waveform.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of power electronic converter control, relates to a high-power converter output voltage modulation technology, and in particular to a SHEPWM control system and method for controlling the output voltage of a high-power converter. Background Art

[0002] Modern power electronics technology has developed rapidly in recent years, and voltage source inverters have been widely used in the fields of new energy distributed power generation, variable frequency speed regulation devices, electric vehicles, reactive power compensation, active power filters, uninterruptible power supplies, etc. Pulse Width Modulation (PWM), as the main voltage modulation method of voltage source inverters, can achieve precise control of output voltage under the conditions of determining the inverter switching frequency and output voltage waveform through the pulse equivalent principle, and reduce the harmonic content of the output voltage by setting a higher switching frequency.

[0003] However, in high-power converter applications such as electric locomotive traction and reactive power compensation, the on-off loss of the switching device will increase significantly. Therefore, the high switching frequency of conventional PWM will bring high switching losses. In order to reduce the switching losses, the switching frequency has to be reduced. According to the principle of PWM control, the switching frequency determines the sinusoidality of the output waveform, which inevitably reduces the quality of the output waveform. When the switching frequency of PWM drops to several hundred hertz, the distortion of the output voltage will be very serious, and the harmonic components in the output waveform of the inverter will increase. These harmonics will pose a threat to the safe operation of the inverter equipment and the power system. To solve the above problems, special optimization is needed to improve the characteristic harmonic output of the inverter at low switching frequency. Selective Harmonic Elimination Pulse Width Modulation (SHEPWM) is the most representative output voltage modulation method. It obtains a mathematical model by Fourier analysis of the output voltage, and then solves the nonlinear equations to obtain the inverter switching angle. It controls the on and off of the switching device at the appropriate position of the output voltage, and controls the PWM output waveform through multiple commutations of the inverter, thereby achieving the purpose of eliminating specific harmonics. Compared with conventional PWM, SHEPWM does not require a high-frequency carrier, and can use a lower switching frequency to obtain an effect similar to the output voltage of a higher switching frequency PWM, with low switching loss and high efficiency.

[0004] The following is an example of a general converter eliminating the 5th, 7th, 11th and 13th harmonic voltages and outputting the corresponding fundamental voltage to illustrate the implementation process of SHEPWM. According to the symmetry of the sine wave, the Fourier decomposition of the output voltage within a quarter of the cycle can be written as:

[0005]

[0006]

[0007] Where n is the harmonic order, b is n is the amplitude of the nth harmonic, U dc is the DC side voltage, N is the number of switching angles in 1 / 4 cycle, α i is the switch angle.

[0008] To make the 5th, 7th, 11th and 13th harmonics in the output voltage zero, we can get the following equations:

[0009]

[0010] Where α1, α2, α3, α4, and α5 are the on-off delay angles of the switching devices in a quarter of a converter cycle. Therefore, 0<α1<α2<α3<α4<α5<π / 2, and M=U ref / U dc , is the modulation index. By solving the above equations, the trigger delay angle of the converter switch can be obtained under the premise of ensuring the fundamental voltage output amplitude. Since the solution process of the above nonlinear equations is relatively cumbersome, the equations are usually solved offline first, and the relationship between the modulation index and the trigger delay angle obtained by the solution is stored in the control chip of the control system in the form of a data table. During control, the switch delay angle can be obtained by looking up the table according to the determined output voltage.

[0011] At present, one of the main methods to implement SHEPWM is to solve the switching angle according to the above-mentioned switching angle calculation method. In each cycle, all switching angles are calculated and stored in the register. On the premise of calculating the switching angle, the rising edge of the 50Hz square wave signal is used as the reference, and the switching angle value is read through the interruption and the switching delay is calculated, and the control signal is output. After each cycle, the above steps are repeated to obtain a PWM waveform that eliminates specific harmonics. In the above-mentioned SHEPWM implementation method, the switching angle in each complete cycle uses the voltage zero-crossing moment as the counting base point, and the corresponding moment of the trigger delay angle is obtained by counting in sequence through the counter, and the power electronic switch action is controlled to output the preset inverter output level. After the next voltage zero-crossing interrupt is generated, the DSP counter is cleared as the counting base point for the next cycle. Because there is an error between the count value of the DSP counter and the actual time, the switching moments in a cycle are loaded sequentially after a counting base point, which may cause the last few delay angles in the entire cycle to produce trigger moment deviations due to cumulative errors, thereby affecting the symmetry of the entire cycle waveform, causing output voltage waveform distortion and increased harmonic voltage content. Different errors will cause different harmonic components to appear in the output waveform, which may cause varying degrees of damage to loads with higher power quality requirements.

[0012] Therefore, according to the parity symmetry of the sinusoidal waveform within a cycle, the DSP counter can be reset once every 1 / 4 power frequency cycle, and the delay angle counting and triggering work within 1 / 4 cycle can be started with a new time scale, thereby reducing the impact of the cumulative error on the output waveform distortion. The basic solution is as follows: pre-calculate the switching angle value within 1 / 4 cycle and store it in the register, try to generate a quadruple frequency signal that is phase synchronized with the 50Hz power frequency signal of the power grid, and use the hardware circuit to realize the quarter division of the power frequency cycle. This is used as the timing base point to generate an interrupt, and the level control of the switching device is realized through the program to reduce the voltage distortion problem caused by the cumulative error of the counter.

[0013] Purpose of the Invention

[0014] The purpose of the present invention is to address the problems existing in the above-mentioned prior art by proposing a control method for improving the symmetry within the SHEPWM cycle, which is composed of a zero-crossing comparator, a quadruple frequency circuit, a trigger, and a DSP system. The 50Hz power frequency signal of the power grid outputs a 50Hz square wave through the zero-crossing comparator, and the 50Hz square wave outputs a 200Hz synchronization signal through the phase-locked quadruple frequency circuit, and the 200Hz synchronization signal is used as the reference of the switch angle trigger signal. In each cycle, the DSP calculates the switching angle according to 1 / 4 cycle of the input 50Hz square wave, and uses it as the switching angle within a complete cycle of the 200Hz synchronization signal to achieve the purpose of improving the symmetry within the cycle. After each cycle, the DSP system sends an interrupt request, the internal counter of the DSP is cleared, and the above steps are repeated in the next cycle, so that a continuous SHEPWM waveform can be output. Summary of the invention

[0015] According to one aspect of the present invention, there is provided a SHEPWM control system for controlling the output voltage of a high-power converter, comprising a zero-crossing comparator, a quadruple frequency circuit, a trigger, and a DSP system;

[0016] The quadruple frequency circuit is composed of a phase-locked loop integrated circuit CD4046 and a frequency divider CD4017, wherein the 5th pin INH of the CD4046 is grounded and is at a low level, the 6th pin CX1 and the 7th pin CX2 are externally connected to an oscillating capacitor C1, and the 11th pin "R1" is grounded via an oscillating resistor R3; the 13th pin PC of the CD4046 is grounded and is at a low level. The 2OUT terminal is led to the 9th pin VCOIN terminal of CD4046 through the resistor R1, and the resistor R1 is grounded through the resistor R2 and the capacitor C2; the 13th pin of the CD4017, the timing enable terminal E is grounded and is at a low level; the 10th pin counting output terminal Q4 of the CD4017 is connected to the 15th pin reset terminal MR and the 3rd pin input terminal COMPIN of the CD4046; the 14th pin clock signal input terminal CLK of the CD4017 is connected to the 4th pin voltage-controlled oscillator output terminal VCOOUT of the CD4046; the C1 is 22nF, R3 is 47kΩ, R1 is 1MΩ, R2 is 100kΩ, and C2 is 2μF;

[0017] The DSP system is a DSP control chip TMS320F28335;

[0018] The voltage-controlled oscillator output terminal VCOOUT of the 4th pin of the CD4046 is connected to the GPIO34 / ECAP1 pin of the DSP control chip TMS320F28335, and the synchronization signal outputted by it generates an interrupt signal EPWM1INT through the ePWM module in TMS320F28335; the SIGIN terminal of the 14th pin of the CD4046 is connected to the GPIO07 / ECAP2 pin of the DSP control chip TMS320F28335, and the synchronization signal outputted by it generates an interrupt signal EPWM2INT through the ePWM module in TMS320F28335.

[0019] According to another aspect of the present invention, a SHEPWM control method using the above control system is provided, comprising the following steps:

[0020] Step 1: A 50Hz power supply voltage signal is passed through a zero-crossing comparator to obtain a 50Hz square wave signal, and the 50Hz square wave signal is input into the 14th pin SIGIN terminal of the CD4046 in the phase-locked quadruple frequency circuit, and a 200Hz synchronization signal is generated at the 4th pin voltage-controlled oscillator output terminal VCOOUT of the CD4046;

[0021] Step 2: Calculate the switch angle value that the DSP system needs to output; specifically, each time an EPWM1INT interrupt is generated, another interrupt TIMER1 is generated, and each time the TIMER1 interrupt reads the next switch angle in the register, that is, the trigger delay angle is obtained, and it is converted into a digital value and accurately output, and then the starting level is determined, which is used as the basis for the next level flip;

[0022] Step 3: Design the interrupt process required for the output switch control signal, including the EPWM1INT interrupt process, the EPWM2INT interrupt process and the TIMER1 interrupt process;

[0023] The EPWM2INT interrupt process is as follows: when the 50Hz square wave reaches the rising edge, the EPWM2INT interrupt is triggered, the EPWM1INT interrupt position count is cleared, and then the EPWM2INT interrupt is exited;

[0024] The EPWM1INT interrupt process is as follows: Assuming that in each complete cycle, 0~π / 2, π / 2~π, π~3π / 2, 3π / 2~2π are numbered as 0, 1, 2, and 3 respectively. Each time the EPWM1INT interrupt is entered, the DSP system detects the phase at this time, that is, counts the EPWM1INT interrupt position, and determines the approximate area where the switch angle is located. After the EPWM2INT interrupt exits, the EPWM1INT interrupt position count is 0. At this time, the switch angle α1 value is obtained by looking up the table according to the expected output voltage amplitude, and the switch angle is sequentially loaded into the TIMER1 interrupt position mark register, and the current phase and the switch angle value are compared to obtain the trigger delay angle value of the TIMER1 interrupt. The above process determines the initial state of the waveform, and loads this waveform value into the period register of the TIMER1 interrupt.

[0025] After each TIMER1 interrupt ends, the TIMER1 position mark count is increased by 1; after the complete cycle of the 200Hz synchronization signal ends, the EPWM1INT interrupt position count is increased by 1, the TIMER1 interrupt position mark register is cleared, and the next switch angle area is entered;

[0026] Let the switching angles of regions 1, 2, and 3 be represented by β, γ, and δ respectively, then the switching angle of each region can be obtained by the following formula:

[0027]

[0028] Where n = 1, 2, 3, ..., N, N is the number of switching angles in each 1 / 4 cycle;

[0029] The TIMER1 interrupt process is as follows: after each TIMER1 interrupt is entered, according to the obtained TIMER1 period register value, that is, the switch angle and the output voltage amplitude, the table is looked up to obtain α n The value of the angle, where n = 2, 3, ..., N; according to the TIMER1 interrupt position and the switch angle α subscript n, determine the current switch angle, the current switch angle α n With the next switch angle α n+1 The difference is the trigger delay angle, and the value of the trigger delay angle is loaded into the TIMER1 period register.

[0030] Step 4: Use the switch delay angle value in the TIMER1 period register as the reference for the DSP system to control the switch device, and output the control signal accordingly. After the control signal is output, the TIMER1 interrupt position mark count is increased by 1, and the TIMER1 interrupt is exited;

[0031] Each time the EPWM1INT interrupt occurs, the above steps 1-4 are repeated, thereby outputting a continuous SHEPWM waveform to achieve SHEPWM control of the output voltage of the high-power converter. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 Shown is a topological diagram of a quadruple frequency circuit in a SHEPWM control system for output voltage of a high-power converter according to the present invention.

[0033] Figure 2 The present invention is a flowchart of a method for controlling output voltage of a high-power converter.

[0034] Figure 3 This is an EPWM1INT interrupt flow chart of the control method of the present invention.

[0035] Figure 4 This is the EPWM2INT interrupt flow chart of the control method of the present invention.

[0036] Figure 5 This is a TIMER1 interrupt flow chart of the control method of the present invention. DETAILED DESCRIPTION

[0037] The specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0038] The SHEPWM control system for the output voltage of a high-power converter described in the present invention comprises a zero-crossing comparator, a quadruple frequency circuit, a trigger and a DSP system. Figure 1 This is a topological diagram of the quadruple frequency circuit in the SHEPWM control system for the output voltage of a high-power converter according to the present invention. Figure 1 It can be seen that the 50Hz power supply voltage signal is converted into a 50Hz square wave signal through a zero-crossing comparator, and the 50Hz square wave signal is converted into a 200Hz synchronous signal through a phase-locked quadruple frequency circuit. The quadruple frequency circuit is composed of a phase-locked loop integrated circuit CD4046 and a frequency divider CD4017, and its specific connection relationship is: the prohibition end (pin 5) of CD4046 is grounded (low level); the 6th and 7th pins are externally connected to the oscillation capacitor C1 (22nF); the 11th pin is grounded through the oscillation resistor R3 (47kΩ); the output end (pin 13) of the phase comparator II is led to the voltage-controlled oscillator control end (pin 9) through R1 (1MΩ), and R1 is grounded through R2 (100kΩ) and C2 (2μF); the CD4017 timing enable end (pin 13) is grounded (low level); the counting output end Q4 (pin 10) is connected to the reset end (pin 15) and the CD4046 comparison signal input end (pin 3); the clock signal input (pin 14) is connected to the CD4046 voltage-controlled oscillator output end (pin 4).

[0039] The principle of the above frequency multiplication circuit is: the phase detector finds that there is a phase difference between the feedback signal and the input signal and converts it into a corresponding voltage signal, which is filtered and corrected by the loop filter and sent to the voltage-controlled oscillator. The voltage-controlled oscillator converts the sent voltage into a corresponding frequency and transmits it to the frequency divider (all of the above are completed inside 4046). The frequency divider is divided by 4 (corresponding to the Q4 counting terminal) and fed back to the input terminal for phase detection again until the phase difference is zero, the phase-locked loop is in a locked state, and the input signal has the same frequency as the 4-divided feedback signal, achieving the purpose of 4-fold frequency input signal.

[0040] The specific process of using the above control system to perform SHEPWM control of the output voltage of a high-power converter is as follows:

[0041] The 50Hz square wave signal is input through the CD4046 signal input terminal (pin 14), and the 200Hz synchronization signal is output at the voltage-controlled oscillator output terminal (pin 4). Using this characteristic, a 1 / 4 cycle of the 50Hz square wave and a complete cycle of the 200Hz synchronization signal form a corresponding relationship in the time domain. Therefore, the rising edge (or falling edge) of the 50Hz square wave determines the initial time of the 200Hz synchronization signal (recorded as number 0). Each time the rising edge of the 50Hz square wave passes, an interrupt is triggered by the edge-triggered trigger to clear the internal register.

[0042] The DSP control chip TMS320F28335 is selected as the DSP system of the control system; in the quadruple frequency circuit, the voltage-controlled oscillator output terminal VCOOUT of the 4th foot of the CD4046 is connected to the GPIO34 / ECAP1 pin of the DSP control chip TMS320F28335, and the synchronization signal output by it generates an interrupt signal EPWM1INT through the ePWM module in the TMS320F28335; the SIGIN terminal of the 14th foot of the CD4046 is connected to the GPIO07 / ECAP2 pin of the DSP control chip TMS320F28335, and the synchronization signal output by it generates an interrupt signal EPWM2INT through the ePWM module in the TMS320F28335.

[0043] Each time an EPWM1INT interrupt is generated, another interrupt TIMER1 is generated using the interrupt. Each time the TIMER1 interrupt reads the next switch angle in the register, that is, the trigger delay angle is obtained, and it is accurately output after being converted into a digital quantity; then the starting level is determined, and this is used as the basis for the next level flip. The above process can achieve the SHEPWM signal output within a 1 / 4 cycle every 1 / 4 cycle. Due to the symmetry of the output waveform, after the 1 / 4 cycle ends, the switch angle in the next 1 / 4 cycle is obtained according to the symmetry of the switch angle in the register about 90°, that is, according to α1+α N / 2=90° to calculate the switching angle, and the switching angle of the second half cycle is obtained according to the above operation, that is, the switching angles are obtained symmetrically about 180° and 270° with the previous 1 / 4 cycle, and the SHEPWM waveform within a complete cycle can be output.

[0044] Figure 2 The present invention is a flowchart of a method for controlling output voltage of a high-power converter.

[0045] The following uses the rising edge of the 50Hz square wave as the natural starting point to illustrate the complete interrupt process. Figure 3 , Figure 4 , Figure 5 The interrupt flow charts are respectively EPWM1INT, EPWM2INT, and TIMER1 interrupt processes, as shown in the figure. The specific interrupt processes are as follows:

[0046] The EPWM2INT interrupt process is: when the 50Hz square wave reaches the rising edge, the EPWM2INT interrupt is triggered, the EPWM1INT interrupt position count is cleared, and then the EPWM2INT interrupt is exited.

[0047] The EPWM1INT interrupt process is as follows: Assuming that in each complete cycle, according to 0~π / 2, π / 2~π, π~3π / 2, 3π / 2~2π, they are numbered as 0, 1, 2, and 3 respectively. Each time the EPWM1INT interrupt is entered, the DSP system detects the phase at this time (EPWM1INT interrupt position count), that is, determines the approximate area where the switch angle is located. After the above-mentioned EPWM2INT interrupt exits, the EPWM1INT interrupt position count should be 0. At this time, according to the above-mentioned switch angle solution process, the switch angle α1 value is obtained by looking up the table from the expected output voltage amplitude, and the switch angle sequence (that is, the subscript of the switch angle in the above-mentioned solution process) is loaded into the TIMER1 interrupt position mark register. By comparing the current phase and the switch angle value, the trigger delay angle value of the TIMER1 interrupt can be obtained. The above process is to determine the initial state of the waveform and load this value into the period register of the TIMER1 interrupt. After each TIMER1 interrupt ends, the TIMER1 position mark count is increased by 1. After the complete cycle of the 200Hz synchronization signal ends, the EPWM1INT interrupt position count is increased by 1, the TIMER1 interrupt position mark register is cleared, and the next switching angle area is entered.

[0048] Let the switching angles of regions 1, 2, and 3 be represented by β, γ, and δ respectively, then the switching angle of each region can be obtained by the following formula:

[0049]

[0050] Where n = 1, 2, 3, ..., N, N is the number of switching angles in each 1 / 4 cycle.

[0051] TIMER1 interrupt process is as follows Figure 5 As shown in the figure, each time the TIMER1 interrupt is entered, according to the above-obtained TIMER1 period register value (switching angle) and output voltage amplitude, the table is looked up to obtain α n (n=2,3,…,N) angle value, according to the TIMER1 interrupt position (switch angle subscript), the current switch angle can be determined. n ) and the next switch angle (α n+1 ) is the trigger delay angle, and this value is loaded into the TIMER1 period register. The switch delay angle value in the TIMER1 period register is the benchmark for the DSP system to control the switch device, and the control signal is output according to this value. After the control signal is output, the TIMER1 interrupt position mark count is increased by 1, and the TIMER1 interrupt is exited. The above process is repeated each time with the EPWM1INT interrupt.

[0052] 3) After each complete cycle of the 50Hz square wave signal (four complete cycles of the 200Hz synchronization signal, that is, the output of control signals in areas numbered 0, 1, 2, and 3 according to the above process is completed), the rising edge of the 50Hz square wave causes the trigger to send an interrupt request to the DSP system through the interrupt EPWM2INT, the internal register of the DSP is cleared, and the above steps are repeated after reset, thereby outputting a continuous SHEPWM waveform to achieve SHEPWM control of the output voltage of the high-power converter.

[0053] In summary, the control system and method described in the present invention can realize the role of replacing the 50Hz industrial frequency signal with a 200Hz synchronization signal as the reference of the switch angle trigger signal, and synchronize the timer in a quarter of a cycle according to the symmetry of the sine wave, thereby reducing the cumulative error caused by the timer counting of the switch delay angle in the entire industrial frequency cycle of the control system, improving the control accuracy of the switch delay angle, and ensuring the symmetry of the output voltage in the entire industrial frequency cycle, thereby achieving the purpose of improving the symmetry of the output waveform within the cycle and improving the quality of the output voltage waveform.

Claims

1. A method for controlling the output voltage of a high-power converter using a SHEPWM control system, characterized in that: The SHEPWM control system includes a zero-crossing comparator, a quadruple frequency circuit, a trigger, and a DSP system. The quadruple frequency circuit is composed of a phase-locked loop integrated circuit CD4046 and a frequency divider CD4017. The 5th pin INH end of the CD4046 is grounded and is at a low level. The 6th pin CX1 and the 7th pin CX2 are externally connected to an oscillation capacitor C1. The 11th pin "R1" end is grounded via an oscillation resistor R3. The 13th pin PC 2OUT end of the CD4046 is connected to the CD4046 via a resistor R1. The 9th pin VCOIN end of the CD4017 is connected to the ground through the resistor R2 and the capacitor C2; the 13th pin of the CD4017, the timing enable terminal E is grounded and is at a low level; the 10th pin count output terminal Q4 of the CD4017 is connected to the 15th pin reset terminal MR and the 3rd pin input terminal COMPIN of the CD4046; the 14th pin clock signal input terminal CLK of the CD4017 is connected to the 4th pin voltage controlled oscillator output terminal VCOOUT of the CD4046; the C1 is 22nF, R3 is 47kΩ, R1 is 1MΩ, R2 is 100kΩ, and C2 is 2μF; The DSP system is a DSP control chip TMS320F28335; The voltage-controlled oscillator output terminal VCOOUT of the 4th pin of the CD4046 is connected to the GPIO34 / ECAP1 pin of the DSP control chip TMS320F28335, and the synchronization signal outputted by the CD4046 generates an interrupt signal EPWM1INT through the ePWM module in the TMS320F28335; the SIGIN terminal of the 14th pin of the CD4046 is connected to the GPIO07 / ECAP2 pin of the DSP control chip TMS320F28335, and the synchronization signal outputted by the CD4046 generates an interrupt signal EPWM2INT through the ePWM module in the TMS320F28335; The control method of the SHEPWM control system comprises the following steps: Step 1: A 50Hz power supply voltage signal is passed through a zero-crossing comparator to obtain a 50Hz square wave signal, and the 50Hz square wave signal is input into the 14th-pin SIGIN terminal of the CD4046 in the quadruple frequency circuit, and a 200Hz synchronization signal is generated at the 4th-pin voltage-controlled oscillator output terminal VCOOUT of the CD4046; Step 2: Calculate the switch angle value that the DSP system needs to output; specifically, each time an EPWM1INT interrupt is generated, another interrupt TIMER1 is generated, and each time the TIMER1 interrupt reads the next switch angle in the register, that is, the trigger delay angle is obtained, and it is converted into a digital value and accurately output, and then the starting level is determined, which is used as the basis for the next level flip; Step 3: Design the interrupt flow required for the output switch control signal, including EPWM1INT interrupt flow, EPWM2INT interrupt flow and TIMER1 interrupt flow; The EPWM2INT interrupt process is as follows: when the 50Hz square wave reaches the rising edge, the EPWM2INT interrupt is triggered, the EPWM1INT interrupt position count is cleared, and then the EPWM2INT interrupt is exited; The EPWM1INT interrupt process is as follows: Assuming that in each complete cycle, 0~π / 2, π / 2~π, π~3π / 2, 3π / 2~2π are numbered as 0, 1, 2, and 3 respectively. Each time the EPWM1INT interrupt is entered, the DSP system detects the phase at this time, that is, counts the EPWM1INT interrupt position, and determines the approximate area where the switch angle is located. After the EPWM2INT interrupt exits, the EPWM1INT interrupt position count is 0. At this time, the switch angle α1 value is obtained by looking up the table according to the expected output voltage amplitude, and the switch angle is sequentially loaded into the TIMER1 interrupt position mark register, and the current phase and the switch angle value are compared to obtain the trigger delay angle value of the TIMER1 interrupt. The above process determines the initial state of the waveform, and loads this waveform value into the period register of the TIMER1 interrupt. After each TIMER1 interrupt ends, the TIMER1 position mark count is increased by 1; after the complete cycle of the 200Hz synchronization signal ends, the EPWM1INT interrupt position count is increased by 1, the TIMER1 interrupt position mark register is cleared, and the next switch angle area is entered; Let the switching angles of regions 1, 2, and 3 be represented by β, γ, and δ respectively, then the switching angle of each region is calculated by the following formula: , Where n=1,2,3,…,N, where N is the number of switching angles in each 1 / 4 cycle; The TIMER1 interrupt process is as follows: after each TIMER1 interrupt is entered, according to the obtained TIMER1 period register value, that is, the switch angle and the output voltage amplitude, the table is looked up to obtain α n The value of the angle, where n=2, 3, ..., N; according to the TIMER1 interrupt position and the switch angle α subscript n, determine the current switch angle, the current switch angle α n With the next switch angle α n+1 The difference is the trigger delay angle, and the value of the trigger delay angle is loaded into the TIMER1 period register; Step 4: Use the switch delay angle value in the TIMER1 period register as the reference for the DSP system to control the switch device, and output the control signal accordingly. After the control signal is output, the TIMER1 interrupt position mark count is increased by 1, and the TIMER1 interrupt is exited; Each time the EPWM1INT interrupt occurs, the above steps 1-4 are repeated, thereby outputting a continuous SHEPWM waveform to achieve SHEPWM control of the output voltage of the high-power converter.