An adaptive carrier reconstruction PWM modulation method for a cascade H-bridge inverter

By using an adaptive carrier reconstruction PWM modulation method, the carrier and switching state allocation of the cascaded H-bridge inverter is adjusted, which solves the problem of reduced output level caused by DC bus voltage fluctuations and achieves optimal output voltage level maintenance and adaptability of modulation relationship.

CN123184498APending Publication Date: 2026-11-27CHINA JILIANG UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611454965.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Under DC bus voltage fluctuation conditions, the existing modulation strategy of cascaded H-bridge inverters leads to a reduction in output level and the appearance of undesired voltage levels, which cannot effectively adapt to changes in the bus voltage ratio.

Method used

An adaptive carrier reconstruction PWM modulation method is adopted. By adjusting the carrier and switch state allocation, the output level is rearranged according to the actual DC bus voltage to adapt to the changes in bus voltage and its ratio, and to maintain the optimal number of output voltage levels.

Benefits of technology

Under varying DC bus voltage conditions, the system maintains the optimal number of output voltage levels, reduces underutilization of voltage levels, and eliminates the need for additional DC-DC converter stages, thus achieving flexible adaptation of modulation control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184498A_ABST
    Figure CN123184498A_ABST
Patent Text Reader

Abstract

The application discloses a self-adaptive carrier reconstruction PWM modulation method of a cascaded H-bridge inverter suitable for DC bus voltage fluctuation. The method obtains the DC bus voltage of a high-voltage unit and a low-voltage unit in a two-unit cascaded H-bridge inverter in real time, reorders the current available output level according to the ratio of the DC bus voltage of the two units, and adaptively adjusts the amplitude range and longitudinal position of four carriers according to the reordered output level; the modulation signal is compared with the reconstructed carrier, the output state of the high-voltage and low-voltage H-bridge units is determined according to the carrier region and the comparison result, and a PWM driving signal is generated. The application can adapt to the DC bus voltage of the cascaded H-bridge unit and the proportional change thereof, maintain the optimal output level without adding an additional DC / DC conversion device, and improve the output voltage quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of power electronic conversion and multilevel inverter modulation and control technology, specifically to an adaptive carrier reconstruction PWM modulation method for a cascaded H-bridge inverter suitable for DC bus voltage fluctuations. Background Technology

[0002] A cascaded H-bridge inverter consists of multiple H-bridge units connected in series. Each unit is connected to an independent DC power supply. By combining the output voltages of each unit, a multi-level output is formed, which can be used in new energy power generation, energy storage conversion and other applications.

[0003] In actual operation, the DC bus voltage of each unit fluctuates due to power supply conditions and operating status, and the voltage ratio between units also changes accordingly. When using a modulation strategy based on a fixed voltage ratio setting, it may result in a reduction in output level and the appearance of undesirable output voltage levels.

[0004] Two cascaded H-bridge inverters can generate multiple output levels through combinations of different DC bus voltages. When the DC bus voltage ratio changes, the order of some combined levels will change; under a specific voltage ratio, different switching states may correspond to the same output level. Therefore, during modulation, it is necessary to determine the available levels and their order based on the actual DC bus voltage, and to ensure that the carrier distribution and switching state allocation correspond accordingly. Summary of the Invention

[0005] The technical problem to be solved by this invention is to enable the PWM modulation of the cascaded H-bridge inverter to adapt to DC bus voltage fluctuations and maintain the output voltage at the optimal output level under the current DC bus voltage change conditions.

[0006] To address the aforementioned technical problems, this invention provides an adaptive carrier reconfiguration PWM modulation method for a two-unit cascaded H-bridge inverter. The two H-bridge units of the inverter are each connected to an independent DC power supply, with their AC output terminals connected in series. Each unit includes two bridge arms, and each bridge arm consists of two power switches connected in series.

[0007] This modulation can maintain the optimal output level of the total output voltage under varying DC bus voltage conditions; PWM is an abbreviation for Pulse Width Modulation; the output level is related to the current DC bus voltage of the two units and the modulation index, and the output level can be different under different modulation indices; the inverter includes a high-voltage H-bridge unit and a low-voltage H-bridge unit, each unit is connected to an independent DC power supply, and the AC output terminals are connected in series; each H-bridge unit includes a first bridge arm and a second bridge arm connected in parallel to the two ends of the DC bus of this unit, each bridge arm is composed of two upper and lower power switches connected in series, and the midpoint of the two bridge arms constitutes the AC output terminal of this unit; the midpoint of the bridge arm is the connection point of the upper and lower power switches; the total output voltage after the two units are connected in series is denoted as uAB, which is equal to the sum of the output voltage of the high-voltage unit and the output voltage of the low-voltage unit; The modulation method comprises the following six steps in sequence: Initialize the reference signal and carrier parameters, setting the modulation index m (not less than 0 and not greater than 1), the unit amplitude sine wave signal parameter, and the basic triangular carrier parameter with a value range of 0 to 1.

[0008] The DC bus voltage Vdc_H of the high-voltage unit and the DC bus voltage Vdc_L of the low-voltage unit are collected. Both are positive values, and Vdc_H is not less than Vdc_L. Vdc_H is divided by Vdc_L to obtain the voltage ratio k.

[0009] The sum of the DC bus voltages of the two units, the unit amplitude sinusoidal signal, and m are multiplied to generate the reference modulation signal vm. Based on the polarity of vm, a positive polarity judgment signal PJ and a negative polarity judgment signal NJ are generated.

[0010] Based on the non-negative combination output level of the k-arrangement, five level boundaries are determined sequentially; the amplitude range and longitudinal position of each carrier are determined by adjacent boundaries, and four carriers are reconstructed from the same basic triangular carrier.

[0011] The absolute value of vm is compared with the four reconstructed carriers to obtain comparison signals A1 to A4; the carrier region is determined based on the adjacent level boundaries, and the region coding signal is generated.

[0012] When k is not greater than 2, the first driving logic allocation method is used; when k is greater than 2, the second driving logic allocation method is used. Based on the carrier region, comparison signal, and PJ and NJ, eight PWM driving signals are allocated and output, and then the process returns to step 2.

[0013] The beneficial effects of this invention are: by rearranging the output levels according to the actual DC bus voltage and adjusting the carrier and switch state allocation, the modulation relationship is matched with the currently available output level, adapting to changes in the DC bus voltage and its ratio, and reducing insufficient level utilization caused by a fixed modulation relationship. This method is achieved by adjusting the modulation control, eliminating the need for an additional DC-DC converter stage to maintain a fixed DC bus voltage ratio, and can be implemented by a digital controller. Attached Figure Description

[0014] Figure 1 This is the main circuit topology diagram of a two-unit cascaded H-bridge inverter.

[0015] Figure 2 A flowchart for the adaptive carrier reconstructing PWM modulation method.

[0016] Figure 3 This is a schematic diagram of a four-way reconfiguration carrier. Detailed Implementation

[0017] Example: An adaptive carrier reconstruction PWM modulation method for cascaded H-bridge inverters.

[0018] Figure 1 The diagram shows the main circuit topology of a two-unit cascaded H-bridge inverter. The high-voltage and low-voltage units are connected to independent DC power supplies, and their AC output terminals are connected in series. The DC bus voltages of the two units are Vdc_H and Vdc_L, respectively. The unit output voltages uH and uL are added together to form the cascaded total output voltage uAB. The eight final PWM drive signals control the corresponding power switches.

[0019] Figure 2 The flowchart shown is for the adaptive carrier reconstruction PWM modulation method. The specific steps are as follows: 1) Initialize the reference signal and carrier parameters; 2) Acquire the DC bus voltages of the high and low voltage units and calculate the voltage ratio k; 3) Generate the reference modulation signal vm and the positive and negative polarity judgment signals; 4) Arrange the output levels and reconstruct the four carriers; 5) Compare the absolute value of vm with the carrier to obtain A1 to A4 and determine the carrier region; 6) Allocate and output eight PWM drive signals, and then return to step 2).

[0020] Figure 3 The diagram shows a four-carrier reconstruction. vtri1 to vtri4 are located in four adjacent level intervals formed by V0 to V4. The amplitude range and vertical position of each carrier are adjusted according to the level boundaries. When adjacent boundaries coincide, the corresponding carrier region does not participate in the state selection.

[0021] This modulation can maintain the optimal output level of the total output voltage under varying DC bus voltage conditions; PWM is an abbreviation for Pulse Width Modulation; the output level is related to the current DC bus voltage of the two units and the modulation index, and the output level can be different under different modulation indices; the inverter includes a high-voltage H-bridge unit and a low-voltage H-bridge unit, each unit is connected to an independent DC power supply, and the AC output terminals are connected in series; each H-bridge unit includes a first bridge arm and a second bridge arm connected in parallel to the two ends of the DC bus of this unit, each bridge arm is composed of two upper and lower power switches connected in series, and the midpoint of the two bridge arms constitutes the AC output terminal of this unit; the midpoint of the bridge arm is the connection point of the upper and lower power switches; the total output voltage after the two units are connected in series is denoted as uAB, which is equal to the sum of the output voltage of the high-voltage unit and the output voltage of the low-voltage unit; This implementation uses a circuit structure of cascaded high-voltage H-bridge units and low-voltage H-bridge units. The two units are connected to independent DC power supplies, with their AC output terminals connected in series. The first and second arms of each H-bridge unit are connected in parallel across the DC bus of that unit. Each arm consists of two power switches connected in series, and the midpoint between the two arms forms the AC output terminal of that unit. The DC bus voltages of the high-voltage and low-voltage units are denoted as Vdc_H and Vdc_L, respectively.

[0022] The switching states of the upper and lower transistors of the first bridge arm in the high-voltage unit are denoted as SH1 and SH2, respectively, and the switching states of the upper and lower transistors of the second bridge arm are denoted as SH3 and SH4, respectively; the corresponding switching states of the low-voltage unit are denoted as SL1, SL2, SL3, and SL4, respectively. Logic 1 indicates the on state, and logic 0 indicates the off state; the digital numbers in the drive signals are consistent with the digital numbers of the corresponding switching states.

[0023] Each H-bridge unit has three output states: positive, zero, and negative. The amplitude of the positive and negative levels is the DC bus voltage of that unit. The output voltage of the high-voltage unit is denoted as uH, the output voltage of the low-voltage unit is denoted as uL, and the total cascaded output voltage is denoted as uAB, where uAB is the sum of uH and uL.

[0024] The specific implementation process of the modulation method includes the following six steps in sequence.

[0025] 1) Initialize the reference signal and carrier parameters, setting the modulation index m, unit amplitude sine wave signal parameters, and basic triangular carrier parameters, where 0 ≤ m ≤ 1. The basic triangular carrier parameter ranges from 0 to 1. The modulation index m sets the amplitude of the reference modulation signal; the unit amplitude sine wave signal refers to a sine wave with an amplitude of 1; the basic triangular carrier is denoted as vtri. The initialization of the reference signal and carrier parameters includes the following steps: First, set the modulation index m. m represents the ratio of the reference modulation signal amplitude to the sum of the DC bus voltages of the two units, with a value not less than 0 and not greater than 1. Second, set the sine wave signal parameters used to generate the reference signal, using a unit amplitude sine wave signal whose frequency corresponds to the required output fundamental frequency. The subsequently generated reference signal is called the reference modulation signal vm. Third, set the frequency and amplitude range of the basic triangular carrier, denoting the basic triangular carrier with a value range of 0 to 1 as vtri. The subsequent four reconstructed carriers are all adjusted in amplitude and vertical position by the same basic triangular carrier according to their respective level ranges.

[0026] 2) Collect the DC bus voltage Vdc_H of the high-voltage unit and the DC bus voltage Vdc_L of the low-voltage unit. Both are positive values, and Vdc_H is not less than Vdc_L. Divide Vdc_H by Vdc_L to obtain the voltage ratio k. Generate a drive logic selection signal KS based on the voltage ratio k. KS is high when k is not greater than 2, and low when k is greater than 2. The steps for collecting the DC bus voltage of each unit include the following: First, collect the DC bus voltage Vdc_H of the high-voltage unit and the DC bus voltage Vdc_L of the low-voltage unit. In this embodiment, both are positive values, and Vdc_H is not less than Vdc_L. The identifiers of the two units correspond to their respective sampling and drive channels. When the voltages are equal, the original unit identifier and channel correspondence is still used. Second, divide Vdc_H by Vdc_L, and the quotient is recorded as the DC bus voltage ratio k. Under the above bus voltage conditions, k is not less than 1. Third, determine if k is not greater than 2, generating a voltage ratio region judgment signal KS. When k is not greater than 2, KS is high; when k is greater than 2, KS is low. This judgment can also be achieved by comparing Vdc_H with twice Vdc_L: KS is high when Vdc_H is less than or equal to twice Vdc_L, otherwise it is low. Fourth, k is used for subsequent output level sorting and drive logic allocation, and KS is used for final drive signal selection. High level corresponds to logic 1, and low level corresponds to logic 0.

[0027] 3) Multiply the sum of Vdc_H and Vdc_L, the unit amplitude sine signal, and m to obtain the reference modulation signal vm; the sum of Vdc_H and Vdc_L is the total DC bus voltage; vm is a reference signal used for polarity determination, and its absolute value is used for subsequent carrier comparison; when vm is greater than or equal to zero, the positive polarity determination signal PJ is high and the negative polarity determination signal NJ is low; when vm is less than zero, PJ is low and NJ is high; generating the reference modulation signal and polarity determination signal includes the following steps: First, generate the reference modulation signal. Add Vdc_H and Vdc_L to obtain the total DC bus voltage; multiply this sum with the unit amplitude sine signal and modulation index m set in step 1) to obtain vm. Since m is not less than 0 and not greater than 1, the absolute value of vm does not exceed the total DC bus voltage. Second, generate the polarity determination signal. The symbol determination unit (vm) is connected to generate a positive polarity determination signal (PJ). A logical NOT operation is performed on PJ to obtain a negative polarity determination signal (NJ). When vm is greater than or equal to zero, PJ is high and NJ is low; when vm is less than zero, PJ is low and NJ is high. Third, vm is used for carrier comparison and region determination in step 5), and PJ and NJ are used for drive signal polarity allocation in step 6).

[0028] 4) Arrange the combined output voltage levels of the two units according to k, and reconstruct the basic triangular carrier into four carriers that vary with the DC bus voltage of each unit, using adjacent levels as boundaries; wherein, the combined output voltage level refers to the voltage value that can be formed by adding the output voltages of the two units, and sort the non-negative levels; arranging the output levels and reconstructing the four carriers includes the following steps: First, determine and arrange the level boundaries. Subtract Vdc_L from Vdc_H to obtain the difference voltage. Arrange the five non-negative levels corresponding to zero level, difference voltage, Vdc_L, Vdc_H, and the total DC bus voltage in ascending order, and label them as level boundaries V0, V1, V2, V3, and V4. When k is not less than 1 and not greater than 2, V0 is zero, V1 is the difference voltage, V2 is Vdc_L, V3 is Vdc_H, and V4 is the sum of Vdc_H and Vdc_L. When k is greater than 2, V1 is Vdc_L, V2 is the difference voltage, and the values ​​of the other boundaries have the same relationship. Therefore, V1 always takes the smaller value between the difference voltage and Vdc_L, and V2 always takes the larger value between the two. The negative output level has the same amplitude but opposite polarity as the corresponding positive output level. When k equals 1 or 2, the overlapping level is counted as the same available output level, but the corresponding level boundaries and their numbers are retained to maintain the correspondence between the four carriers and the level intervals.

[0029] Second, reconstruct the four carriers. Label the four reconstructed carriers vtri1, vtri2, vtri3, and vtri4, and determine the instantaneous values ​​of each carrier according to the following calculation relationships: The lower boundary of the first reconstructed carrier vtri1 is V0, and the upper boundary is V1. Subtract V0 from V1, multiply the difference by vtri, and add V0 to obtain vtri1. The lower boundary of the second reconstructed carrier vtri2 is V1, and the upper boundary is V2. Subtract V1 from V2, multiply the difference by vtri, and add V1 to obtain vtri2. The lower boundary of the third reconstructed carrier vtri3 is V2, and the upper boundary is V3. Subtract V2 from V3, multiply the difference by vtri, and add V2 to obtain vtri3. The lower boundary of the fourth reconstructed carrier vtri4 is V3, and the upper boundary is V4. Subtract V3 from V4, multiply the difference by vtri, and add V3 to obtain vtri4. When Vdc_H or Vdc_L changes, V0 to V4 are redefined based on the current bus voltage, and the upper and lower boundaries of the four carrier waves are adjusted accordingly. When adjacent boundaries coincide, the interval width of that carrier wave is zero, and its instantaneous value is the corresponding boundary value.

[0030] 5) The absolute value of the reference modulation signal vm is compared with the four reconstructed carriers respectively, obtaining comparison signals A1, A2, A3, and A4 in sequence. The carrier region where the absolute value is located is determined based on the adjacent level boundaries; the carrier region is the voltage interval between adjacent level boundaries. The comparison of the absolute value of the reference modulation signal with the carrier includes the following steps: First, perform carrier comparison. Connect vm to the absolute value calculation unit Abs, and connect the output of Abs to the first input terminals of the four carrier comparison units T1, T2, T3, and T4; connect vtri1, vtri2, vtri3, and vtri4 to the second input terminals of the corresponding comparison units respectively, obtaining comparison signals A1, A2, A3, and A4 in sequence. For any carrier, when the absolute value of vm is greater than the instantaneous value of that carrier, the corresponding comparison signal is high level; otherwise, it is low level; when the comparison values ​​are equal, the corresponding comparison signal is low level. Second, determine the carrier region. Within the above modulation range, the absolute value of vm is located between V0 and V4. When the absolute value is greater than or equal to V0 and less than V1, it belongs to the first carrier region; when it is greater than or equal to V1 and less than V2, it belongs to the second carrier region; when it is greater than or equal to V2 and less than V3, it belongs to the third carrier region; and when it is greater than or equal to V3 and less than or equal to V4, it belongs to the fourth carrier region. Third, generate region codes. The first to fourth carrier regions correspond to codes 1, 2, 3, and 4 respectively. When k is not greater than 2, the region code signal is recorded as FW; when k is greater than 2, the region code signal is recorded as FW2. FW or FW2 serves as the control signal for the corresponding four-to-one multiplexer unit. When coded as 1, 2, 3, or 4, it selects the first, second, third, or fourth data input terminal, respectively. Fourth, handle overlapping boundaries. Carrier regions with overlapping upper and lower boundaries do not participate in state selection. Boundary assignment is determined according to the following correspondence: When k is 2, V1 and V2 overlap, and the second carrier region does not participate in state selection; when the absolute value of vm is equal to this overlapping boundary, it is assigned to the third carrier region. When k is 1, V0 and V1 coincide, V2 and V3 coincide, and the first and third carrier regions do not participate in state selection; when the absolute value of vm is zero, it is assigned to the second carrier region, and when it is equal to the overlap boundary of V2 and V3, it is assigned to the fourth carrier region.

[0031] 6) Select the drive logic allocation method according to k. When k is not greater than 2, the first drive logic allocation method is used; when k is greater than 2, the second drive logic allocation method is used. Determine the state of each bridge arm according to the carrier region and comparison signal, and then perform polarity allocation according to PJ and NJ to generate eight PWM drive signals and output them to the corresponding power switches. Then return to step 2). The bridge arm state is represented by a logic signal used for subsequent drive signal polarity allocation, which is called the bridge arm state signal. Allocating and outputting eight PWM drive signals includes the following steps: First, determine the bridge arm state according to the first drive logic allocation method. This method corresponds to the case where k is not less than 1 and not greater than 2. Connect FW to the control terminals of four 4-to-1 multiplexer units M1, M2, M3 and M4. Each unit selects data input according to the current carrier region. The data input signals of each unit are listed in the order of the first to fourth data input terminals.

[0032] The inverted signal is obtained by swapping the high and low logic levels of the original signal. The output of M1, denoted as G1, represents the state of the first bridge arm of the low-voltage unit. Its four data inputs are connected to low level, A2, high level, and high level respectively. The output of M2, denoted as G2, represents the state of the second bridge arm of the low-voltage unit. Its four data inputs are connected to the inverted signals of A1 and A2, and the inverted signals of A3 and A4 respectively. The output of M3, denoted as G3, represents the state of the first bridge arm of the high-voltage unit. All four data inputs are connected to high level. The output of M4, denoted as G4, represents the state of the second bridge arm of the high-voltage unit. Its four data inputs are connected to the inverted signal of A1, the inverted signals of A2 and A3, and low level respectively. When vm is non-negative, uAB in the first carrier region switches between zero level and the difference voltage; uAB in the second carrier region switches between the difference voltage and Vdc_L; uAB in the third carrier region switches between Vdc_L and Vdc_H; and uAB in the fourth carrier region switches between Vdc_H and the total DC bus voltage. When the corresponding comparison signal is low, the lower boundary level of the region is selected; when it is high, the upper boundary level is selected.

[0033] Second, the bridge arm state is determined according to the second drive logic allocation method. This method corresponds to the case where k is greater than 2. FW2 is connected to the control terminals of four 4-to-1 multiplexer units M5, M6, M7, and M8, and their outputs are denoted as G5, G6, G7, and G8, respectively. G5 represents the state of the first bridge arm of the high-voltage unit, and all four data input terminals of M5 are connected to a high level. G6 represents the state of the second bridge arm of the high-voltage unit, and the four data input terminals of M6 are connected to a high level, the inverted signal of A2, a low level, and a low level in sequence. G7 represents the state of the first bridge arm of the low-voltage unit, and the four data input terminals of M7 are connected to a high level, the inverted signal of A2, A3, and a high level in sequence. G8 represents the state of the second bridge arm of the low-voltage unit, and the four data input terminals of M8 are connected to the inverted signal of A1, A2, a high level, and the inverted signal of A4 in sequence. When vm is non-negative, uAB in the first carrier region switches between zero level and Vdc_L; uAB in the second carrier region switches between Vdc_L and the difference voltage; uAB in the third carrier region switches between the difference voltage and Vdc_H; and uAB in the fourth carrier region switches between Vdc_H and the total DC bus voltage. The lower boundary level of the region is selected when the corresponding comparison signal is low, and the upper boundary level is selected when it is high.

[0034] Third, perform drive signal polarity assignment. Using PJ and NJ obtained in step 3), perform the following logical operations on the bridge arm state signals for the two drive logic assignment methods respectively. The logical NOT operation, also known as inversion, inverts a high level to a low level, and vice versa; the logical AND operation outputs a high level only when both inputs are high; the logical OR operation outputs a high level when at least one input is high. For any bridge arm, perform a logical AND operation between the bridge arm's state signal and PJ, perform a logical AND operation between the inverted signal of the state signal and NJ, and then perform a logical OR operation on the two results to obtain the upper transistor drive signal for that bridge arm; invert the upper transistor drive signal to obtain the lower transistor drive signal for the same bridge arm. The state signals and drive signals correspond as follows.

[0035] In the name of the drive signal, H and L represent the high voltage unit and the low voltage unit, respectively; the drive signal without the suffix K or F corresponds to the first drive logic allocation method, the drive signal with the suffix K corresponds to the second drive logic allocation method, and the suffix F represents the final output drive signal. In the first driving logic allocation method, G1, G2, G3, and G4 are used to generate the upper-side drive signals QL1, QL3, QH1, and QH3, respectively. Inverting these upper-side drive signals yields the lower-side drive signals QL2, QL4, QH2, and QH4. In the second driving logic allocation method, G5, G6, G7, and G8 are used to generate the upper-side drive signals QH1K, QH3K, QL1K, and QL3K, respectively. Inverting these upper-side drive signals yields the lower-side drive signals QH2K, QH4K, QL2K, and QL4K. According to the above logic, when vm is non-negative, the upper-side drive signal of each bridge arm follows the corresponding state signal; when vm is negative, the upper-side drive signal of each bridge arm is the inverted signal of the corresponding state signal. Under the same carrier region and comparison result, the unit output voltage of the negative half-cycle has the same amplitude but opposite polarity compared to the positive half-cycle state.

[0036] Fourth, select and output the final drive signal. Use KS obtained in step 2) for selection: when KS is high, select the first drive logic allocation method; when KS is low, select the second drive logic allocation method. When k equals 1 or 2, the first drive logic allocation method is selected. For the high-voltage unit, perform a logical AND operation between QHj and KS, perform a logical AND operation between QHjK and the inverted signal of KS, and then perform a logical OR operation between the two results to obtain the final drive signal QHjF; for the low-voltage unit, perform a logical AND operation between QLj and KS, perform a logical AND operation between QLjK and the inverted signal of KS, and then perform a logical OR operation between the two results to obtain the final drive signal QLjF. Here, j takes values ​​of 1, 2, 3, and 4, respectively, representing the corresponding power switch transistor number. The final drive signals QH1F, QH2F, QH3F, and QH4F are used sequentially for the upper and lower transistors of the first bridge arm of the high-voltage unit, the upper and lower transistors of the first bridge arm, and the lower transistors of the second bridge arm, respectively; QL1F, QL2F, QL3F, and QL4F are used in the same order for the four power switches of the low-voltage unit. A high level indicates a turn-on command, and a low level indicates a turn-off command. After outputting the drive signals, the process returns to step 2), and based on the acquired DC bus voltage, the voltage ratio is calculated, a reference signal is generated, the carrier wave is reconstructed, comparisons are performed, and drive signals are allocated.

Claims

1. An adaptive carrier reconstruction PWM modulation method for a cascaded H-bridge inverter, characterized in that, The modulation method includes the following six steps: S1) Initialize the reference signal and carrier parameters; S2) Collect the DC bus voltages of the high-voltage and low-voltage units and calculate the voltage ratio k; S3) Generate the reference modulation signal vm and the positive and negative polarity judgment signals; S4) Arrange the output levels and reconstruct the four carrier waves; S5) Compare the absolute value of vm with the carrier wave to obtain A1 to A4, and determine the carrier region; S6) Assign and output eight PWM drive signals, then return to step S2).

2. The adaptive carrier reconstruction PWM modulation method for a cascaded H-bridge inverter according to claim 1, characterized in that, 1) Set the modulation index m, the unit amplitude sine wave signal parameter, and the basic triangular carrier parameter, where 0 ≤ m ≤ 1, and the basic triangular carrier parameter ranges from 0 to 1; where the modulation index m is used to set the amplitude of the reference modulation signal; the unit amplitude sine wave signal refers to a sine wave signal with an amplitude of 1; the basic triangular carrier is denoted as vtri; 2) Collect the DC bus voltage Vdc_H of the high-voltage unit and the DC bus voltage Vdc_L of the low-voltage unit. Both are positive values, and Vdc_H is not less than Vdc_L. Divide Vdc_H by Vdc_L to obtain the voltage ratio k. Generate a drive logic selection signal KS based on the voltage ratio k. When k is not greater than 2, KS is at a high level, and when k is greater than 2, KS is at a low level. 3) Multiply the sum of Vdc_H and Vdc_L, the unit amplitude sine signal, and m to obtain the reference modulation signal vm; the sum of Vdc_H and Vdc_L is the total DC bus voltage; vm is a reference signal used for polarity determination, and its absolute value is used for subsequent carrier comparison; when vm is greater than or equal to zero, the positive polarity determination signal PJ is high and the negative polarity determination signal NJ is low; when vm is less than zero, PJ is low and NJ is high. 4) Arrange the combined output voltage levels of the two units according to k, and reconstruct the basic triangular carrier into four carriers that vary with the DC bus voltage of each unit, using adjacent levels as boundaries; where the combined output voltage level refers to the voltage value that can be formed by adding the output voltages of the two units, and sort the non-negative levels. 5) Compare the absolute value of the reference modulation signal vm with the four reconstructed carriers respectively to obtain comparison signals A1, A2, A3 and A4 in sequence, and determine the carrier region where the absolute value is located based on the adjacent level boundaries; the carrier region is the voltage interval between adjacent level boundaries; 6) Select the driving logic allocation method according to k. When k is not greater than 2, the first driving logic allocation method is selected, and when k is greater than 2, the second driving logic allocation method is selected. Determine the state of each bridge arm according to the carrier region and the comparison signal, and then perform polarity allocation according to PJ and NJ to generate eight PWM driving signals and output them to the corresponding power switching transistors. Then return to step 2). The bridge arm state is represented by a logic signal used for subsequent driving signal polarity allocation, which is called the bridge arm state signal.

3. The adaptive carrier reconstruction PWM modulation method for a cascaded H-bridge inverter according to claim 2, characterized in that, Step 4, specifically the output level sorting and four-carrier reconstruction, includes: First, determine and arrange the level boundaries; subtract Vdc_L from Vdc_H to obtain the difference voltage; arrange the five non-negative levels corresponding to the zero level, difference voltage, Vdc_L, Vdc_H, and total DC bus voltage in ascending order, and denot them as level boundaries V0, V1, V2, V3, and V4; when k is not less than 1 and not greater than 2, V0 is zero, V1 is the difference voltage, V2 is Vdc_L, V3 is Vdc_H, and V4 is the voltage difference between Vdc_H and Vdc_L. The sum of dc_L; when k is greater than 2, V1 takes Vdc_L, V2 takes the difference voltage, and the values ​​of the other boundaries are the same; therefore, V1 always takes the smaller value between the difference voltage and Vdc_L, and V2 always takes the larger value between the two; the negative output level and the corresponding positive output level have the same amplitude but opposite polarity; when k equals 1 or 2, the overlapping level is counted as the same available output level, but the corresponding level boundaries and their numbers are retained to maintain the correspondence between the four carriers and the level intervals; Second, reconstruct the four carriers; denoted as vtri1, vtri2, vtri3, and vtri4 respectively, the instantaneous values ​​of each carrier are determined according to the following calculation relationships: The lower boundary of the first reconstructed carrier vtri1 is V0, and the upper boundary is V1; V1 minus V0, the difference is multiplied by vtri, and then added back to V0 to obtain vtri1; The lower boundary of the second reconstructed carrier vtri2 is V1, and the upper boundary is V2; V2 minus V1, the difference is multiplied by vtri, and then added back to V1 to obtain vtri2; The third reconstructed carrier vt... The lower boundary of ri3 is V2, and the upper boundary is V3. Subtract V2 from V3, multiply the difference with vtri, and add V2 to get vtri3. The lower boundary of the fourth reconstructed carrier vtri4 is V3, and the upper boundary is V4. Subtract V3 from V4, multiply the difference with vtri, and add V3 to get vtri4. When Vdc_H or Vdc_L changes, V0 to V4 are redefined based on the current bus voltage, and the upper and lower boundaries of the four carriers are adjusted accordingly. When adjacent boundaries coincide, the interval width of that carrier is zero, and its instantaneous value is the corresponding boundary value.

4. The adaptive carrier reconstruction PWM modulation method for a cascaded H-bridge inverter according to claim 3, characterized in that, In step 5, the comparison of the absolute value of the reference modulation signal with the carrier includes the following steps: First, perform carrier comparison; connect vm to the absolute value operation unit Abs, and connect the output of Abs to the first input terminals of the four carrier comparison units T1, T2, T3, and T4; connect vtri1, vtri2, vtri3, and vtri4 to the second input terminals of the corresponding comparison units respectively, and obtain comparison signals A1, A2, A3, and A4 in sequence; for any carrier, when the absolute value of vm is greater than the instantaneous value of that carrier, the corresponding comparison signal is high level, otherwise it is low level; when the comparison values ​​are equal, the corresponding comparison signal is low level; Second, determine the carrier region; within the above modulation range, the absolute value of vm is between V0 and V4; when the absolute value is greater than or equal to V0 and less than V1, it belongs to the first carrier region; when it is greater than or equal to V1 and less than V2, it belongs to the second carrier region; when it is greater than or equal to V2 and less than V3, it belongs to the third carrier region; when it is greater than or equal to V3, it belongs to the third carrier region; when it is greater than or equal to V3, it belongs to the fourth carrier region. When k is less than or equal to V4, it belongs to the fourth carrier region; third, generate region codes; the first to fourth carrier regions are respectively coded as 1, 2, 3 and 4; when k is not greater than 2, the region code signal is recorded as FW; when k is greater than 2, the region code signal is recorded as FW2; FW or FW2 is used as the control signal of the corresponding four-to-one multiplexing unit. When coded as 1, 2, 3 or 4, the first, second, third or fourth data input terminals are selected respectively; fourth, handle overlapping boundaries; carrier regions with overlapping upper and lower boundaries do not participate in state selection, and the boundary assignment is determined according to the following correspondence; when k is 2, V1 and V2 overlap, and the second carrier region does not participate in state selection; when the absolute value of vm is equal to the overlapping boundary, it is assigned to the third carrier region; when k is 1, V0 and V1 overlap, V2 and V3 overlap, and the first and third carrier regions do not participate in state selection; when the absolute value of vm is zero, it is assigned to the second carrier region, and when it is equal to the overlapping boundary of V2 and V3, it is assigned to the fourth carrier region.

5. The adaptive carrier reconstruction PWM modulation method for a cascaded H-bridge inverter according to claim 4, characterized in that, In step 6, Assigning and outputting eight PWM drive signals includes the following steps: First, determine the bridge arm state according to the first driving logic allocation method; this method corresponds to the case where k is not less than 1 and not greater than 2, and connect FW to the control terminals of four 4-to-1 multiplexing units M1, M2, M3 and M4, and each unit selects data input according to the current carrier region; the data input signals of each unit below are listed in the order of the first to fourth data input terminals; The output of M1, denoted as G1, represents the state of the first bridge arm of the low-voltage unit. Its four data inputs are connected to low level, A2, high level, and high level respectively. The output of M2, denoted as G2, represents the state of the second bridge arm of the low-voltage unit. Its four data inputs are connected to the inverted signals of A1 and A2, and the inverted signals of A3 and A4 respectively. The output of M3, denoted as G3, represents the state of the first bridge arm of the high-voltage unit. All four data inputs are connected to high level. The output of M4, denoted as G4, represents the state of the second bridge arm of the high-voltage unit. All four data inputs are connected to high level. The input terminals are sequentially connected to the inverted signals of A1, A2, and A3, and a low level. When vm is non-negative, uAB in the first carrier region switches between zero level and the difference voltage; uAB in the second carrier region switches between the difference voltage and Vdc_L; uAB in the third carrier region switches between Vdc_L and Vdc_H; uAB in the fourth carrier region switches between Vdc_H and the total DC bus voltage. When the corresponding comparison signal is low, the lower boundary level of the region is selected; when it is high, the upper boundary level is selected. Second, the bridge arm state is determined according to the second drive logic allocation method. This method corresponds to the case where k is greater than 2. FW2 is connected to the control terminals of four 4-to-1 multiplexer units M5, M6, M7, and M8, and their outputs are denoted as G5, G6, G7, and G8, respectively. G5 represents the state of the first bridge arm of the high-voltage unit, and all four data input terminals of M5 are connected to a high level. G6 represents the state of the second bridge arm of the high-voltage unit, and the four data input terminals of M6 are connected to a high level, the inverted signal of A2, a low level, and a low level, respectively. G7 represents the state of the first bridge arm of the low-voltage unit, and the four data input terminals of M7 are connected to a high level, the inverted signal of A2, and a low level, respectively. A3 and high level; G8 indicates the state of the second bridge arm of the low-voltage unit. The four data input terminals of M8 are connected to the inverted signal of A1, A2, high level and the inverted signal of A4 in sequence; when vm is non-negative, uAB of the first carrier region switches between zero level and Vdc_L; uAB of the second carrier region switches between Vdc_L and the difference voltage; uAB of the third carrier region switches between the difference voltage and Vdc_H; uAB of the fourth carrier region switches between Vdc_H and the total DC bus voltage; when the corresponding comparison signal is low level, the lower boundary level of the region is selected, and when it is high level, the upper boundary level is selected; Third, perform drive signal polarity allocation; using PJ and NJ obtained in step 3), perform the following logical operations on the bridge arm state signals of the two drive logic allocation methods respectively; the logical NOT operation is also called inversion, high level is inverted to low level, and low level is inverted to high level; the logical AND operation outputs a high level only when both inputs are high level; the logical OR operation outputs a high level when at least one input is high level; for any bridge arm, perform a logical AND operation between the state signal of the bridge arm and PJ, perform a logical AND operation between the inverted signal of the state signal and NJ, and then perform a logical OR operation between the two results to obtain the upper transistor drive signal of the bridge arm; invert the upper transistor drive signal to obtain the lower transistor drive signal of the same bridge arm; each state signal and drive signal correspond to the following relationship; in the first drive logic allocation method, G1, G2, G3 and G4 is used to generate the upper transistor drive signals QL1, QL3, QH1, and QH3, respectively. These upper transistor drive signals are then inverted to obtain the lower transistor drive signals QL2, QL4, QH2, and QH4. In the second drive logic allocation method, G5, G6, G7, and G8 are used to generate the upper transistor drive signals QH1K, QH3K, QL1K, and QL3K, respectively. These upper transistor drive signals are then inverted to obtain the lower transistor drive signals QH2K, QH4K, QL2K, and QL4K. According to the above logic, when vm is non-negative, the upper transistor drive signal of each bridge arm follows the corresponding state signal; when vm is negative, the upper transistor drive signal of each bridge arm is the inverted signal of the corresponding state signal. Under the same carrier region and comparison result, the unit output voltage of the negative half-cycle has the same amplitude but opposite polarity compared to the positive half-cycle state voltage. Fourth, select and output the final drive signal; use KS obtained in step 2) for selection: when KS is high, select the first drive logic allocation method; when KS is low, select the second drive logic allocation method; when k equals 1 or 2, select the first drive logic allocation method; for the high-voltage unit, perform a logical AND operation between QHj and KS, perform a logical AND operation between QHjK and the inverted signal of KS, and then perform a logical OR operation between the two results to obtain the final drive signal QHjF; for the low-voltage unit, perform a logical AND operation between QLj and KS, perform a logical AND operation between QLjK and the inverted signal of KS, and then perform a logical OR operation between the two results. The final drive signal QLjF is obtained; where j takes the values ​​1, 2, 3, and 4 respectively, representing the corresponding power switch number; the final drive signals QH1F, QH2F, QH3F, and QH4F are used sequentially for the upper and lower transistors of the first bridge arm of the high-voltage unit, the upper and lower transistors of the first bridge arm, and the lower transistors of the second bridge arm; QL1F, QL2F, QL3F, and QL4F are used in the same order for the four power switches of the low-voltage unit; a high level indicates a turn-on command, and a low level indicates a turn-off command; after outputting the drive signal, return to step 2), and continue to calculate the voltage ratio, generate a reference signal, reconstruct the carrier, compare and allocate drive signals based on the collected DC bus voltage.