A three-level three-phase four-wire inverter adaptive modulation method, device and medium
By sampling the positive and negative bus voltages in real time, calculating the adaptive modulation ratio, and combining it with the neutral point potential balance control, the output voltage distortion problem in the three-level three-phase four-wire inverter was solved, thereby improving power quality and system stability.
Patent Information
- Application Number
- CN202611411194.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
In existing three-level three-phase four-wire inverters, the fixed modulation ratio cannot adapt to the fluctuations in the positive and negative bus voltages, resulting in output voltage distortion and increased harmonic components. Existing compensation methods are ineffective when the frequency changes and increase the complexity of the control system.
By sampling the positive and negative bus voltages in real time, calculating the adaptive modulation ratio based on the instantaneous polarity of the modulation wave, and combining it with midpoint potential balance control, a pulse width modulation drive signal is generated to suppress output voltage distortion caused by bus voltage fluctuations.
It effectively suppresses output voltage distortion caused by bus voltage fluctuations, simplifies the control algorithm, improves power quality and system stability, and reduces the complexity of engineering implementation.
Smart Images

Figure CN123184501A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power electronics technology, and in particular to an adaptive modulation method, device and medium for a three-level three-phase four-wire inverter. Background Technology
[0002] Three-level three-phase four-wire inverters are an important power electronic topology widely used in photovoltaic power generation, wind power generation, energy storage power stations, and other scenarios. In a three-level three-phase four-wire inverter, the neutral line (N line) is connected to the midpoint of the positive and negative DC buses, providing a zero-sequence path for the three-phase four-wire load. When the inverter is running under load, the zero-sequence current of the load will flow into or out of the midpoint of the DC side through the neutral line, causing the positive and negative bus voltages to fluctuate independently, which in turn directly affects the AC voltage harmonics.
[0003] In existing pulse width modulation strategies, the modulation ratio is typically calculated using half of the fixed total DC bus voltage, i.e. V ref V is the reference voltage value. dc This represents the total DC-side voltage. In this calculation method, V... dc / 2 is a fixed value that does not change with the real-time fluctuations of the positive and negative bus voltages. Since the modulation ratio is a key parameter determining the amplitude of the inverter's output voltage, when there are fluctuations in the positive or negative bus voltage, the fixed modulation ratio cannot reflect these fluctuations. This results in the duty cycle generated by the PWM wave generation stage not being able to compensate for the bus voltage fluctuations accordingly. Consequently, the AC voltage output by the inverter contains harmonic components with the same frequency as the bus voltage fluctuations, causing output voltage distortion.
[0004] To address the aforementioned issues, existing technologies typically involve connecting a repetitive controller or a PR (proportional-integral) controller in parallel with the output of a PI (proportional-integral) controller to suppress specific harmonics in the AC voltage. However, these methods can only compensate for a pre-set frequency, and their suppression effect significantly decreases when the frequency of bus fluctuations changes. Furthermore, the parallel controller increases the complexity of the control system, hindering engineering implementation and subsequent maintenance. Summary of the Invention
[0005] To address the aforementioned technical problems, this invention provides an adaptive modulation method, device, and medium for a three-level, three-phase, four-wire inverter, which overcomes the output voltage distortion problem caused by using a fixed modulation ratio due to the independent fluctuations of the positive and negative bus voltages.
[0006] Specifically, in a first aspect, the present invention provides an adaptive modulation method for a three-level, three-phase, four-wire inverter, the method comprising: The voltage of the positive bus and the voltage of the negative bus on the DC side of the inverter are sampled in real time to obtain the measured values of the positive bus voltage and the negative bus voltage. Obtain the three-phase sinusoidal modulation wave signal and reference voltage value for the current control cycle; Based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal, determine whether the current modulation wave is in the positive half-cycle or the negative half-cycle; When the current modulation wave is in the positive half-cycle, the current modulation ratio is calculated based on the ratio of the reference voltage value to the measured value of the positive bus voltage; when the current modulation wave is in the negative half-cycle, the current modulation ratio is calculated based on the ratio of the reference voltage value to the measured value of the negative bus voltage. Generate the corresponding pulse width modulation drive signal based on the calculated current modulation ratio.
[0007] By sampling the positive and negative bus voltages in real time, and calculating the current modulation ratio based on the ratio of the reference voltage value to the measured value of the corresponding half-cycle bus voltage according to the instantaneous polarity of the modulation wave, the modulation ratio can be independently adjusted to follow the real-time fluctuations of the positive and negative bus voltages. The pulse width modulation drive signal generated based on this modulation ratio has its duty cycle decreasing as the measured value of the corresponding half-cycle bus voltage increases, and increasing as the measured value of the corresponding half-cycle bus voltage decreases, thereby suppressing output voltage distortion caused by bus voltage fluctuations at the source during wave generation. This method requires no additional parallel controller, has a simple algorithm, and is easy to implement in engineering.
[0008] Optionally, the method further includes a midpoint potential balancing step, the midpoint potential balancing step comprising: Calculate the difference between the measured positive bus voltage and the measured negative bus voltage to obtain the bus voltage difference; The bus voltage difference is used as the input of the proportional-integral controller, and the first control quantity output by the proportional-integral controller is obtained. The first control quantity is used as the given value of the Z-axis voltage outer loop, and after passing through the Z-axis voltage outer loop control and the Z-axis voltage inner loop control, the zero-sequence compensation component is output. The zero-sequence compensation component is superimposed onto the three-phase sinusoidal modulation wave signal.
[0009] By calculating the voltage difference between the positive and negative bus voltages and processing it through a proportional-integral controller, the result is used as the non-zero setpoint for the outer loop of the Z-axis voltage. After control by the inner and outer loops of the Z-axis, a zero-sequence compensation component is generated and superimposed on the three-phase sinusoidal modulation wave signal. This scheme effectively offsets the midpoint potential shift caused by calculating the modulation ratio of the positive and negative half-cycles separately using the measured values of the positive and negative bus voltages. This allows the inverter to maintain the stability of the bus midpoint potential while suppressing output voltage harmonics, avoiding the side effects that may be introduced by the adaptive modulation ratio scheme.
[0010] Optionally, before using the bus voltage difference as the input to the proportional-integral controller, the method further includes: The bus voltage difference is filtered by a notch filter to obtain the filtered bus voltage difference. The filtered bus voltage difference is used as the input to the proportional-integral controller.
[0011] By placing a notch filter before the proportional-integral (PI) controller, the voltage difference between the positive and negative bus voltages is filtered before being input to the PI controller. This scheme filters out harmonic components in the bus voltage difference, allowing the PI controller to control only the DC component of the bus voltage difference. This avoids interference from harmonic components on the midpoint potential balance control, thus improving the accuracy and stability of the midpoint potential balance control.
[0012] Optionally, the center frequency of the notch filter is set to three times the rated output frequency of the inverter to filter out the third harmonic component in the bus voltage.
[0013] By setting the center frequency of the notch filter to three times the rated output frequency of the inverter, the voltage fluctuations of the positive and negative buses caused by the zero-sequence current in a three-level three-phase four-wire inverter can be accurately filtered out, as the main harmonic components in the bus voltage difference are mainly manifested as third harmonics. Matching the center frequency of the notch filter to three times the rated frequency can further improve the accuracy of the neutral point potential balance control by precisely filtering out the main harmonic components in the bus voltage difference.
[0014] Optionally, determining whether the current modulation wave is in the positive or negative half-cycle based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal specifically includes: Determine whether the instantaneous value of each phase modulation wave in the three-phase sinusoidal modulation wave signal is greater than zero; If the value is greater than zero, it is determined that the current phase modulation wave is in the positive half-cycle; if the value is less than zero, it is determined that the current phase modulation wave is in the negative half-cycle.
[0015] The method determines whether a signal is in the positive or negative half-cycle by judging whether the instantaneous value of each phase modulation wave in the three-phase sinusoidal modulation wave signal is greater than zero. The solution is simple and reliable, requires no complex calculations, has low engineering implementation cost, and the judgment logic is clear, which can accurately execute the subsequent adaptive modulation strategy.
[0016] Optionally, the pulse width modulation drive signal is a sinusoidal pulse width modulation drive signal.
[0017] The pulse width modulation drive signal is further defined as a sinusoidal pulse width modulation (SPWM) drive signal. SPWM is the most commonly used and mature modulation method in three-level neutral point clamped inverters. Its modulation wave is a sine wave, which has advantages such as good harmonic characteristics and simple implementation. Applying the adaptive modulation ratio method of this invention to SPWM can achieve bus disturbance compensation without changing the existing SPWM waveform generation framework, and is easy to be compatible with existing systems.
[0018] Optionally, the three-level three-phase four-wire inverter is a three-level neutral point clamping inverter.
[0019] By defining the three-level three-phase four-wire inverter as a three-level neutral-point clamped (NPC) type inverter, the preferred application scenario of this invention is clarified. The three-level NPC inverter, with its midpoint-leaded structure, is a typical representative of the three-level three-phase four-wire topology. In this topology, the N-line is directly connected to the neutral point, and the zero-sequence current has the most direct and significant impact on the bus voltage. The beneficial effects of the method of this invention are most prominent in this scenario.
[0020] In a second aspect, the present invention provides an adaptive modulation device for a three-level, three-phase, four-wire inverter, the device comprising: The voltage sampling module is used to sample the voltage of the positive bus and the negative bus on the DC side of the inverter in real time, and obtain the measured values of the positive bus voltage and the negative bus voltage. The signal acquisition module is used to acquire the three-phase sinusoidal modulation wave signal and reference voltage value of the current control cycle; The half-cycle determination module is used to determine whether the current modulation wave is in the positive half-cycle or the negative half-cycle based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal. The modulation ratio calculation module is used to calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the positive bus voltage when the current modulation wave is in the positive half-cycle, and to calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the negative bus voltage when the current modulation wave is in the negative half-cycle. By providing an adaptive modulation device corresponding to the method provided in the first aspect above, the adaptive modulation method is implemented in the form of hardware modules through the coordinated operation of a voltage sampling module, a signal acquisition module, a half-cycle judgment module, a modulation ratio calculation module, and a pulse width modulation drive signal generation module. Each module of this device has a clearly defined function and a clear structure, making it easy to implement in a digital signal processor (DSP) or a field-programmable gate array (FPGA), and it has good prospects for industrial application.
[0021] Optionally, the device further includes a midpoint potential balance control module, the midpoint potential balance control module comprising: The difference calculation unit is used to calculate the difference between the measured value of the positive bus voltage and the measured value of the negative bus voltage to obtain the bus voltage difference; A notch filter is used to filter the bus voltage difference and remove the third harmonic component from the bus voltage. The first proportional-integral controller is used to output a first control quantity based on the filtered bus voltage difference. Z-axis voltage outer loop controller, used to control with the first control quantity as a given value; The Z-axis voltage inner loop controller is used to receive the output of the Z-axis voltage outer loop controller and perform control, outputting a zero-sequence compensation component. The superposition unit is used to superimpose the zero-sequence compensation component onto the three-phase sinusoidal modulation wave signal.
[0022] By further integrating the midpoint potential balance control module, which includes a difference calculation unit, a notch filter, a first proportional-integral controller, a Z-axis voltage outer loop controller, a Z-axis voltage inner loop controller, and a superposition unit, the midpoint potential balance control method is implemented in the form of a hardware module. This device integrates the two major functions of adaptive modulation and midpoint potential balance into one, forming a complete and independently operable inverter control system.
[0023] In a third aspect, the present invention provides a computer-readable storage medium storing a computer program that, when executed by a processor, causes the processor to perform the steps of the method as described in any of the first aspects above.
[0024] This invention provides an adaptive modulation method, device, and medium for a three-level, three-phase, four-wire inverter. The method samples the positive and negative bus voltages in real time and calculates the current modulation ratio based on the ratio of a reference voltage value to the measured value of the corresponding half-cycle bus voltage, according to the instantaneous polarity of the modulation wave. This allows the modulation ratio to adjust independently in response to the real-time fluctuations of the positive and negative bus voltages. The pulse width modulation drive signal generated based on this modulation ratio has a duty cycle that decreases as the measured value of the corresponding half-cycle bus voltage increases and increases as the measured value decreases, thereby suppressing output voltage distortion caused by bus voltage fluctuations at the source during wave generation. Furthermore, this scheme requires no additional parallel controller, has a simple algorithm, and is easy to implement in engineering. Attached Figure Description
[0025] To more clearly illustrate the technical solution of the present invention, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0026] Figure 1 A schematic diagram of an adaptive modulation method for a three-level, three-phase, four-wire inverter provided by the present invention; Figure 2 A block diagram illustrating the principle of midpoint potential balance control and adaptive modulation provided by this invention; Figure 3 A schematic diagram of an adaptive modulation device for a three-level, three-phase, four-wire inverter provided by the present invention; Figure 4a The voltage and current waveform measurement diagram before improvement provided by the present invention; Figure 4b The table of total harmonic distortion of voltage before improvement provided by the present invention; Figure 5a The improved voltage and current waveform measurement diagram provided by the present invention; Figure 5b The improved total harmonic distortion (THD) table provided by this invention; Figure 6 An internal structural diagram of a computer device in one embodiment is shown. Detailed Implementation
[0027] To enable those skilled in the art to better understand the technical solutions of this invention, the technical solutions of the embodiments of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this invention, and not all of them. Based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0028] References to "an embodiment," "an exemplary embodiment," etc., in this invention indicate that the described embodiment may include a specific feature, structure, or characteristic, but not every embodiment must include that specific feature, structure, or characteristic. Furthermore, these phrases do not necessarily refer to the same embodiment. Additionally, when a specific feature, structure, or characteristic is described in connection with an embodiment, it is assumed that, whether explicitly described or not, the influence of such feature, structure, or characteristic on other embodiments is within the knowledge of those skilled in the art.
[0029] It should be understood that the terms "length", "width", "upper", "lower", "front", "rear", "first", "second", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on the present invention.
[0030] Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this invention, "a plurality of" or "several" means two or more, unless otherwise explicitly specified.
[0031] It should be noted that the structures, proportions, sizes, etc., shown in the accompanying drawings of this specification are only for the purpose of assisting those skilled in the art in understanding and reading the content disclosed in the specification, and are not intended to limit the conditions under which the present invention can be implemented. Therefore, they have no substantial technical significance. Any modifications to the structure, changes in the proportions, or adjustments to the size, without affecting the effects and objectives that the present invention can produce, should still fall within the scope of the technical content disclosed in the present invention.
[0032] In this invention, PWM stands for Pulse Width Modulation, a power electronic control technology that modulates the width of a series of pulses to equivalently obtain the desired waveform (including shape and amplitude). In this invention, the PWM drive signal is used to control the on / off state of each switch in the inverter, and its duty cycle determines the average output voltage of the inverter. The three-level NPC inverter is a neutral point clamped inverter topology that uses diode clamping to achieve three-level output. Each phase arm of this topology consists of four switches and two clamping diodes, with two series capacitors on the DC side providing three levels: positive bus, neutral point, and negative bus. Compared to a two-level inverter, the voltage stress on each switch in a three-level NPC inverter is half the total DC bus voltage, resulting in an output voltage closer to a sine wave and lower harmonic content, making it suitable for high-voltage, high-power applications. In this invention, due to its midpoint-lead structure, the N-line is directly connected to the midpoint, making the zero-sequence current's influence on the positive and negative bus voltages most direct and significant. SPWM (Sinusoidal Pulse Width Modulation) is a modulation method that uses a sine wave as the modulating wave and a triangular wave as the carrier wave to generate a pulse width modulation drive signal. Its basic principle is to compare the sinusoidal modulating wave with a high-frequency triangular carrier wave; when the instantaneous value of the sinusoidal modulating wave is greater than the triangular carrier wave, a high level is output; otherwise, a low level is output, thus generating a series of pulse sequences whose width varies with the instantaneous value of the sinusoidal modulating wave. This pulse sequence is amplified by the inverter's power switching transistors and then filtered to obtain a sinusoidal AC output voltage with the same frequency as the modulating wave. SPWM is the most commonly used and mature modulation method in three-level NPC inverters, possessing advantages such as good harmonic characteristics and simple implementation.
[0033] Please see Figure 1 This is a schematic flowchart of an adaptive modulation method for a three-level, three-phase, four-wire inverter provided by the present invention. The method includes: real-time sampling of the voltage of the positive bus and the voltage of the negative bus on the DC side of the inverter to obtain the measured value of the positive bus voltage. Measured value of negative bus voltage ; Obtain the three-phase sinusoidal modulation wave signal and reference voltage value for the current control cycle. Based on the instantaneous polarity of the three-phase sinusoidal modulated wave signal, determine whether the current modulated wave is in the positive or negative half-cycle; when the current modulated wave is in the positive half-cycle, calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the positive bus voltage; when the current modulated wave is in the negative half-cycle, calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the negative bus voltage; generate the corresponding pulse width modulation drive signal based on the calculated current modulation ratio.
[0034] The three-phase sinusoidal modulation wave signal is generated by the upper-level controller (such as the voltage outer loop controller or the current inner loop controller) in the inverter control system, and serves as the reference input signal for the SPWM wave generation stage; the reference voltage value... The fundamental effective value of the inverter output AC voltage is given and used to calculate the modulation ratio.
[0035] Furthermore, based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal, it is determined whether the current modulation wave is in the positive or negative half-cycle. Specifically, when the instantaneous value of a certain phase modulation wave is greater than zero, it is determined that the current modulation wave of that phase is in the positive half-cycle; when the instantaneous value of a certain phase modulation wave is less than zero, it is determined that the current modulation wave of that phase is in the negative half-cycle. After determining whether the current modulation wave is in the positive or negative half-cycle, the current modulation ratio of each phase is calculated according to the following method: When the current modulation wave is in the positive half-cycle, according to the reference voltage value Measured value of positive bus voltage The ratio is used to calculate the current modulation ratio, i.e. ; When the current modulation wave is in the negative half-cycle, according to the reference voltage value Measured value of negative bus voltage The ratio is used to calculate the current modulation ratio, i.e. .
[0036] The modulation ratio *m* is the ratio of the modulation wave amplitude to the carrier wave amplitude, and it is a key parameter determining the output voltage amplitude of the inverter. Taking phase A as an example, when the modulation wave of phase A is in the positive half-cycle, the modulation ratio *m* is... When the A-phase modulated wave is in the negative half-cycle, the modulation ratio is... The same principle applies to phases B and C.
[0037] After obtaining the current modulation ratio, the calculated modulation ratio is sent to the SPWM generation module to generate the corresponding pulse width modulation (PWM) drive signal. This PWM drive signal is used to control the on and off of each switch in the inverter. Since the modulation ratio has been adaptively adjusted according to the real-time fluctuations of the positive and negative bus voltages, the duty cycle of the PWM drive signal accordingly includes compensation information for the bus voltage fluctuations, causing its duty cycle to decrease as the measured value of the corresponding half-cycle bus voltage increases, and increase as the measured value of the corresponding half-cycle bus voltage decreases. Taking the positive half-cycle as an example: when... When the modulation ratio increases, The duty cycle of the PWM drive signal decreases automatically, thus keeping the output voltage constant; when When it decreases, The duty cycle increases automatically, and the output voltage remains constant. The same applies to the negative half-cycle. Therefore, output voltage distortion caused by bus voltage fluctuations is suppressed at the source of the waveform.
[0038] In one specific implementation, the calculated current modulation ratio is multiplied by the three-phase sinusoidal modulation wave signal to obtain the adjusted modulation wave signal; the adjusted modulation wave signal is compared with the high-frequency carrier signal (e.g., a triangular wave); when the instantaneous value of the adjusted modulation wave signal is greater than that of the carrier signal, a high level is output, and vice versa, a low level is output, thereby generating the corresponding pulse width modulation drive signal.
[0039] This implementation does not require adding an extra repeater controller or PR controller to the control loop. It can compensate for bus disturbances simply by changing the calculation method of the modulation ratio. The algorithm is simple and easy to implement in engineering.
[0040] Understandably, based on the aforementioned adaptive modulation method, since different measured values of the bus voltage are used as modulation ratio calculation parameters for the positive and negative half-cycles, this may affect the midpoint potential of the DC-side positive and negative buses during actual operation. Specifically, when there is an asymmetry in the positive and negative bus voltages, the duty cycles of the positive and negative half-cycles become asymmetrical, resulting in a non-zero average current flowing through the DC-side midpoint, causing a shift in the bus midpoint potential. To overcome this side effect, this embodiment further includes a midpoint potential balancing step.
[0041] The midpoint potential balancing step includes: calculating the difference between the measured values of the positive bus voltage and the negative bus voltage to obtain the bus voltage difference; using the bus voltage difference as the input of a proportional-integral (PI) controller, which then outputs a first control quantity; using the first control quantity as the setpoint for the Z-axis voltage outer loop, and after passing through the Z-axis voltage outer loop control and the Z-axis voltage inner loop control, outputting a zero-sequence compensation component; and superimposing the zero-sequence compensation component onto the three-phase sinusoidal modulation wave signal. Specifically: First, calculate the measured value of the positive bus voltage. Measured value of negative bus voltage The difference is used to obtain the bus voltage difference. The bus voltage difference This reflects the degree of asymmetry in the positive and negative bus voltages, i.e., the offset of the midpoint potential. Then, the bus voltage difference... This serves as the input to a proportional-integral (PI) controller. The PI controller operates based on a given target value (in this case, the bus voltage difference). The PI controller performs a proportional-integral (PI) operation on the actual feedback value to output the first control quantity. This first control quantity reflects the adjustment amount required to restore the midpoint potential to equilibrium. Then, the first control quantity output by the PI controller is used as the setpoint for the Z-axis voltage outer loop. In traditional three-level, three-phase, four-wire inverter control methods, the setpoint for the Z-axis voltage outer loop is usually set to zero, meaning that the zero-sequence component is not actively controlled. However, this invention uses the first control quantity output by the PI controller as a non-zero setpoint for the Z-axis voltage outer loop, enabling the Z-axis voltage outer loop to actively generate control.
[0042] Furthermore, the Z-axis voltage outer loop setpoint is controlled and output by the Z-axis voltage outer loop controller. The output of the Z-axis voltage outer loop controller then serves as the setpoint for the Z-axis voltage inner loop controller, which in turn controls the output. Finally, the Z-axis voltage inner loop controller outputs the zero-sequence compensation component. Both the Z-axis voltage outer loop controller and the Z-axis voltage inner loop controller can be implemented using PI controllers. The output of the outer loop controller serves as the setpoint for the inner loop controller, forming a cascaded double closed-loop control structure, which offers advantages such as fast response speed and high control accuracy. In simple terms, the Z-axis represents the path for the zero-sequence component. By introducing the bus voltage difference into the Z-axis control, the system can automatically calculate the required three-phase common offset, thereby adjusting the neutral point potential without affecting the three-phase line voltage balance.
[0043] Finally, the zero-sequence compensation component is superimposed onto the three-phase sinusoidal modulation wave signal. Since the zero-sequence compensation component already contains adjustment information for the neutral point potential offset, the resulting three-phase sinusoidal modulation wave signal, after adaptive modulation ratio calculation and PWM generation, generates a drive signal that enables the inverter to produce a compensation effect opposite to the neutral point offset, thereby canceling the neutral point potential offset caused by the adaptive modulation ratio and ensuring the stability of the bus neutral point. In other words, the zero-sequence compensation component output from the Z-axis inner loop is essentially based on... The magnitude and direction of the voltage correction amount, which is dynamically calculated to offset the neutral point offset, affect the common offset of the three-phase duty cycle by changing the distribution of the zero-sequence component of the three-phase modulation wave, thereby adjusting the inflow and outflow of the neutral point current and achieving closed-loop balance of the neutral point potential.
[0044] Therefore, the aforementioned adaptive modulation method and the midpoint potential balancing step work together to form a collaborative control system: the adaptive modulation ratio quickly suppresses the influence of bus fluctuations on the output voltage, and the Z-axis closed loop accurately compensates for the midpoint potential offset. Both are indispensable and together ensure that the inverter maintains the stability of the bus midpoint potential while suppressing output voltage harmonics.
[0045] In one alternative implementation, the bus voltage difference is... Before being used as input to the PI controller, this embodiment preferably filters the bus voltage difference using a notch filter.
[0046] Please see Figure 2 This is a block diagram illustrating the principle of midpoint potential balance control and adaptive modulation provided by the present invention. Figure 2 As shown, the bus voltage difference The signal first undergoes filtering using a notch filter. The notch filter is configured to provide extremely high attenuation for signals of a specific frequency, while offering virtually no attenuation for signals of other frequencies. After filtering by the notch filter, the filtered bus voltage difference is obtained. ,in, ω n The center angular frequency of the notch filter. k 1 represents the first damping coefficient related to the quality factor of the notch filter. k 2 represents the second damping coefficient of the notch filter. In this notch filter design, by setting... k 1≠ k 2. It can achieve narrowband notch characteristics. That is, the small damping coefficient in the denominator makes the system have an extremely steep gain drop at the center frequency, that is, an extremely deep stopband depth, thereby achieving precise filtering of specific frequencies (such as the third harmonic); while the large damping coefficient in the numerator ensures that the gain of the notch filter is close to 1 at non-center frequencies, that is, there is basically no attenuation or phase shift of the fundamental frequency and the useful signal, thus ensuring that only the third harmonic is filtered out without affecting the overall dynamic response of the system.
[0047] Then, the filtered bus voltage difference As input to the PI controller.
[0048] By using a notch filter, the bus voltage difference can be filtered out. The harmonic components in the voltage difference cause the PI controller to control only the DC component of the bus voltage difference. Since the harmonic components (such as the third harmonic) in the bus voltage difference are usually caused by the zero-sequence current of the load, not by the midpoint potential shift, feeding these harmonic components into the PI controller might cause unnecessary adjustments, introducing additional disturbances. Filtering out harmonic components using a notch filter improves the accuracy and stability of the midpoint potential balance control.
[0049] Furthermore, in the actual operation of a three-level, three-phase, four-wire inverter, the bus voltage fluctuation caused by the zero-sequence current mainly manifests as the third harmonic. Taking a power frequency system with a rated frequency of 50Hz as an example, the frequency of the third harmonic is 150Hz.
[0050] Based on the above analysis, in this embodiment, the center frequency of the notch filter is preferably set to three times the rated output frequency of the inverter. For example, for an inverter system with a rated frequency of 50Hz, the center frequency of the notch filter is set to 150Hz.
[0051] Setting the center frequency of the notch filter to three times its rated frequency allows the notch filter to accurately filter out the third harmonic component in the bus voltage difference. This harmonic component is the main component that causes fluctuations in the positive and negative bus voltages, thus affecting the output voltage quality. The third harmonic has the most significant interference to the PI controller. At the same time, the DC component and other non-third harmonic components in the bus voltage difference are kept unchanged. This DC component can reflect the true offset of the midpoint potential, thus ensuring that the PI controller can accurately control according to the true offset of the midpoint potential, further improving the control accuracy.
[0052] In this embodiment, the instantaneous polarity of the three-phase sinusoidal modulation wave signal determines whether the current modulation wave is in the positive or negative half-cycle, which is specifically achieved in the following way: Determine whether the instantaneous value of each phase modulation wave in the three-phase sinusoidal modulation wave signal is greater than zero. Specifically, for the A-phase modulation wave V... a Determine V a Is the current instantaneous value greater than zero? For the B-phase modulated wave V b Determine V b Is the current instantaneous value greater than zero? For the C-phase modulated wave V c Determine V c The system checks if the current instantaneous value of the modulated wave is greater than zero. If the instantaneous value of a certain phase modulated wave is greater than zero, then that phase modulated wave is currently in the positive half-cycle; if the instantaneous value of a certain phase modulated wave is less than zero, then that phase modulated wave is currently in the negative half-cycle. When the instantaneous value of the modulated wave is equal to zero, it is a zero-crossing point, at which point it can be classified into either the positive or negative half-cycle. This determination method is simple and reliable to implement, requires no complex calculations, and is suitable for real-time execution in digital signal processors (DSPs) or field-programmable gate arrays (FPGAs).
[0053] In one feasible implementation, the pulse width modulation drive signal is preferably a sinusoidal pulse width modulation (SPWM) drive signal. SPWM is a technique that uses a sine wave as the modulating wave and a triangular wave as the carrier wave for pulse width modulation. Its basic principle is to compare the sinusoidal modulating wave with a high-frequency triangular carrier wave. When the instantaneous value of the sinusoidal modulating wave is greater than that of the triangular carrier wave, a high level is output; otherwise, a low level is output, thus generating a series of pulse sequences whose width varies with the instantaneous value of the sinusoidal modulating wave. This pulse sequence is amplified by the inverter's power switching transistors and then filtered to obtain a sinusoidal AC output voltage with the same frequency as the modulating wave. SPWM is the most commonly used and mature modulation method in three-level NPC inverters, with advantages such as good harmonic characteristics and simple implementation. Applying the adaptive modulation ratio method of this invention to SPWM can achieve adaptive compensation of bus disturbances without significantly changing the existing SPWM waveform generation framework, and is easily compatible with existing inverter control systems.
[0054] Furthermore, the three-level three-phase four-wire inverter in this invention is preferably a three-level neutral point clamped (NPC) inverter. The three-level NPC inverter is a classic diode-clamped multilevel inverter topology, where each phase arm consists of four switching transistors and two clamping diodes. The DC side is provided by two series capacitors supplying the positive bus, neutral point, and negative bus. Compared to traditional two-level inverters, the voltage stress borne by each switching transistor in a three-level NPC inverter is half the total DC bus voltage, making it suitable for high-voltage, high-power applications. Simultaneously, its output voltage has three levels, closer to a sine wave, with lower harmonic content. In three-level three-phase four-wire applications, the N line is directly connected to the neutral point of the DC side positive and negative buses. The zero-sequence current of the load flows into or out of the neutral point through the N line, having the most direct and significant impact on the positive and negative bus voltages. Therefore, the method of this invention is most effective in three-level NPC type three-phase four-wire inverters.
[0055] Please see Figure 3 This is a schematic diagram of an adaptive modulation device for a three-level, three-phase, four-wire inverter provided by the present invention. The device includes: The voltage sampling module 301 is used to sample the DC side positive bus voltage and negative bus voltage in real time to obtain the measured values of the positive bus voltage and negative bus voltage.
[0056] The signal acquisition module 302 is used to acquire the three-phase sinusoidal modulation wave signal and reference voltage value of the current control cycle.
[0057] The half-cycle judgment module 303 is used to determine whether the current modulation wave is in the positive half-cycle or the negative half-cycle based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal. This module achieves this by using a comparator or digital logic to determine whether the instantaneous value of each phase modulation wave is greater than zero.
[0058] The modulation ratio calculation module 304 is used to calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the positive bus voltage when the current modulation wave is in the positive half-cycle, and to calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the negative bus voltage when the current modulation wave is in the negative half-cycle; this module can be implemented by the division operation unit in the digital signal processor.
[0059] The pulse width modulation (PWM) drive signal generation module 305 is used to generate a corresponding PWM drive signal based on the calculated current modulation ratio. Specifically, it generates the corresponding PWM drive signal based on the calculated current modulation ratio. This module compares the modulated wave with a high-frequency carrier wave (triangular wave) using a comparator. When the amplitude of the modulated wave is higher than that of the carrier wave, it outputs a high-level drive signal; otherwise, it outputs a low-level drive signal, thereby generating a PWM pulse sequence that controls the on / off state of the switching transistor.
[0060] The above modules can be independent hardware circuits or integrated into a digital signal processor (DSP) or field programmable gate array (FPGA), and their corresponding functions can be implemented through software programs.
[0061] Furthermore, the device also includes a midpoint potential balance control module, which includes: The difference calculation unit is used to calculate the difference between the measured value of the positive bus voltage and the measured value of the negative bus voltage to obtain the bus voltage difference; A notch filter is used to filter the bus voltage difference and remove the third harmonic component from the bus voltage. The first proportional-integral controller is used to output a first control quantity based on the filtered bus voltage difference. The Z-axis voltage outer loop controller is used to control the voltage with the first control quantity as the given value. The Z-axis voltage inner loop controller is used to receive the output of the Z-axis voltage outer loop controller and perform control, outputting a zero-sequence compensation component. The superposition unit is used to superimpose the zero-sequence compensation component onto the three-phase sinusoidal modulated wave signal.
[0062] It should be noted that the "first" in "first proportional-integral controller" is only used to distinguish it from other controllers in the control module (such as the Z-axis voltage outer loop controller and the Z-axis voltage inner loop controller), and does not indicate any limitation in order, priority or importance.
[0063] The aforementioned units can be integrated into a single software functional module within a digital control chip (such as a DSP), and executed through a unified control algorithm; alternatively, they can be implemented partially using analog circuits and partially using digital circuits. The specific implementation method does not constitute a limitation of this invention. In this embodiment, a fully digital control scheme is preferably adopted, whereby all modules and units are implemented in the DSP through software programming, thereby reducing costs and improving the system's flexibility and maintainability.
[0064] It is understood that, through all the above embodiments, the present invention has the following beneficial effects: 1. Algorithm optimization and system simplification: This invention directly introduces the influence of positive and negative bus disturbances on AC voltage, reducing code complexity, simplifying control logic, and improving system response speed.
[0065] 2. Significantly suppresses harmonics and improves power quality: This invention can effectively suppress low-order harmonics in three-phase four-wire off-grid voltage and on-grid current. Subsequent comparisons of measured data before and after the improvement show that the total harmonic distortion (THD) of voltage decreased from 3.749% to 2.049%, and the total harmonic distortion (THD) of current decreased from 3.783% to 2.076%. Furthermore, the three-phase voltage and current waveforms were restored from distorted waveforms with obvious glitches to smooth, standard sine waves, effectively improving the quality of output voltage and on-grid current.
[0066] 3. Improved stability: After applying the control strategy of this invention, the voltage and current waveforms are smoother, the system operates more stably, and it meets power quality standards.
[0067] To further illustrate the beneficial effects of the technical solution of this invention, the applicant conducted comparative tests: See Figure 4a The graph shows the voltage and current waveforms before the improvement. The upper part of the graph shows the current waveform (corresponding to approximately 236.4A of AC RMS FS displayed on the right panel), and the lower part shows the voltage waveform (corresponding to approximately 230.9V of AC RMS CYC displayed on the right panel).
[0068] See Figure 4b , which corresponds to Figure 4a Table of total harmonic distortion (THD) of voltage under test conditions. Figure 4b It can be seen that the total harmonic distortion (Uthd) of the voltage before improvement was 3.749%.
[0069] See Figure 5a The image shows the voltage and current waveforms improved using the control strategy of this invention. (Comparison) Figure 4a , Figure 5a The voltage and current waveforms are significantly smoother, approaching the standard sine wave.
[0070] See Figure 5b , which corresponds to Figure 5a Table of total harmonic distortion (THD) of voltage under test conditions. Figure 5b As can be seen, after adopting the present invention, the total harmonic distortion (Uthd) of the voltage is significantly reduced to 2.049%. This directly proves that the present invention can effectively suppress low-order harmonics.
[0071] It should be noted that the above tests were conducted in an off-grid state, primarily evaluating output voltage harmonics (THDU). In grid-connected applications, the adaptive modulation method of this invention can also effectively suppress low-order harmonics of the grid-connected current caused by fluctuations in positive and negative bus voltages, thus improving grid-connected current quality. The above measured data fully demonstrates the significant effect of the technical solution of this invention in suppressing low-order harmonics of the output voltage.
[0072] In summary, combining Figures 4a to 5b The measured data show that the present invention effectively improves the output waveform quality by controlling the disturbance of the positive and negative busbars, and significantly reduces the THD of voltage and current. The lower the THD, the smoother the voltage waveform and the closer it is to a sine wave, and the higher the power quality, thus achieving the expected beneficial effect.
[0073] Furthermore, Figure 6 An internal structural diagram of a computer device according to one embodiment is shown. This computer device can specifically be a terminal or a server. Figure 6 As shown, the computer device includes a processor, a memory, and a network interface connected via a system bus. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and may also store a computer program, which, when executed by the processor, causes the processor to implement the method described in this invention. The internal memory may also store a computer program, which, when executed by the processor, causes the processor to perform the method described in this invention. Those skilled in the art will understand that… Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0074] In one embodiment, a computer-readable storage medium is provided storing a computer program that, when executed by a processor, causes the processor to perform the method of the present invention.
[0075] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments described above. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and RAMbus dynamic RAM (RDRAM), etc.
[0076] The above description of the disclosed embodiments enables those skilled in the art to make or use the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
[0077] The above description is merely a specific implementation of this application and is not intended to limit the scope of protection of this application. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application.
Claims
1. An adaptive modulation method for a three-level, three-phase, four-wire inverter, characterized in that, The method includes: The voltage of the positive bus and the voltage of the negative bus on the DC side of the inverter are sampled in real time to obtain the measured values of the positive bus voltage and the negative bus voltage. Obtain the three-phase sinusoidal modulation wave signal and reference voltage value for the current control cycle; Based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal, determine whether the current modulation wave is in the positive half-cycle or the negative half-cycle; When the current modulation wave is in the positive half-cycle, the current modulation ratio is calculated based on the ratio of the reference voltage value to the measured value of the positive bus voltage; when the current modulation wave is in the negative half-cycle, the current modulation ratio is calculated based on the ratio of the reference voltage value to the measured value of the negative bus voltage. Generate the corresponding pulse width modulation drive signal based on the calculated current modulation ratio.
2. The method according to claim 1, characterized in that, The method further includes a midpoint potential balancing step, which includes: Calculate the difference between the measured positive bus voltage and the measured negative bus voltage to obtain the bus voltage difference; The bus voltage difference is used as the input of the proportional-integral controller, and the first control quantity output by the proportional-integral controller is obtained. The first control quantity is used as the given value of the Z-axis voltage outer loop, and after passing through the Z-axis voltage outer loop control and the Z-axis voltage inner loop control, the zero-sequence compensation component is output. The zero-sequence compensation component is superimposed onto the three-phase sinusoidal modulation wave signal.
3. The method according to claim 2, characterized in that, Before using the bus voltage difference as the input to the proportional-integral controller, the method further includes: The bus voltage difference is filtered by a notch filter to obtain the filtered bus voltage difference. The filtered bus voltage difference is used as the input to the proportional-integral controller.
4. The method according to claim 3, characterized in that, The center frequency of the notch filter is set to three times the rated output frequency of the inverter, and is used to filter out the third harmonic component in the bus voltage.
5. The method according to claim 1, characterized in that, The step of determining whether the current modulation wave is in the positive or negative half-cycle based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal specifically includes: Determine whether the instantaneous value of each phase modulation wave in the three-phase sinusoidal modulation wave signal is greater than zero; If the value is greater than zero, it is determined that the current phase modulation wave is in the positive half-cycle; if the value is less than zero, it is determined that the current phase modulation wave is in the negative half-cycle.
6. The method according to claim 1, characterized in that, The pulse width modulation drive signal is a sinusoidal pulse width modulation drive signal.
7. The method according to any one of claims 1 to 6, characterized in that, The three-level three-phase four-wire inverter is a three-level neutral point clamping inverter.
8. An adaptive modulation device for a three-level, three-phase, four-wire inverter, characterized in that, The device includes: The voltage sampling module is used to sample the voltage of the positive bus and the negative bus on the DC side of the inverter in real time, and obtain the measured values of the positive bus voltage and the negative bus voltage. The signal acquisition module is used to acquire the three-phase sinusoidal modulation wave signal and reference voltage value of the current control cycle; The half-cycle determination module is used to determine whether the current modulation wave is in the positive half-cycle or the negative half-cycle based on the instantaneous polarity of the three-phase sinusoidal modulation wave signal. The modulation ratio calculation module is used to calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the positive bus voltage when the current modulation wave is in the positive half-cycle, and to calculate the current modulation ratio based on the ratio of the reference voltage value to the measured value of the negative bus voltage when the current modulation wave is in the negative half-cycle. The pulse width modulation drive signal generation module is used to generate the corresponding pulse width modulation drive signal based on the calculated current modulation ratio.
9. The apparatus according to claim 8, characterized in that, The device further includes a midpoint potential balance control module, which comprises: The difference calculation unit is used to calculate the difference between the measured value of the positive bus voltage and the measured value of the negative bus voltage to obtain the bus voltage difference; A notch filter is used to filter the bus voltage difference and remove the third harmonic component from the bus voltage. The first proportional-integral controller is used to output a first control quantity based on the filtered bus voltage difference. Z-axis voltage outer loop controller, used to control with the first control quantity as a given value; The Z-axis voltage inner loop controller is used to receive the output of the Z-axis voltage outer loop controller and perform control, outputting a zero-sequence compensation component. The superposition unit is used to superimpose the zero-sequence compensation component onto the three-phase sinusoidal modulation wave signal.
10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it causes the processor to perform the steps of the method as described in any one of claims 1 to 7.
