Direct-current component zeroing control method and apparatus for inverter, and medium

By collecting and calculating the average value and zero-crossing neighborhood value of the inverter output current in real time, and adjusting the DC component compensation value, the problem of reduced control accuracy caused by sampling port accuracy deviation in dual buck inverters is solved, achieving more accurate DC component zeroing and improving the system's control accuracy and dynamic response.

WO2026232679A1PCT designated stage Publication Date: 2026-11-12YUNENG TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/104349
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-09
Filing Date
2025-06-27
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

In a dual buck inverter topology, the DC compensation control accuracy of the inverter decreases due to the accuracy deviation of different sampling ports.

Method used

By acquiring the inverter output current value in real time, calculating the average current value and the average current value in the zero-crossing neighborhood within the preset adjustment period, and adjusting the DC component compensation value to achieve precise zeroing, the influence of sampling port accuracy deviation and transmission path difference is avoided.

Benefits of technology

It improves the control accuracy of the inverter output current, eliminates the influence of factors such as chip zero-point error and temperature drift, and enhances the dynamic response speed and anti-interference capability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025104349_12112026_PF_FP_ABST
    Figure CN2025104349_12112026_PF_FP_ABST
Patent Text Reader

Abstract

A direct-current component zeroing control method and apparatus for an inverter, and a medium, which relate to the field of inverter topologies, and solve the problem of the direct-current compensation control accuracy of inverters being degraded as a result of accuracy deviations between different sampling ports. Data of an output current of an inverter is collected in real time, an average current value within a preset adjustment period is calculated to obtain a first average value, an average current value near a zero-crossing point within the preset adjustment period is calculated to obtain a second average value, and the magnitudes of the two average values are then compared to adjust a direct-current component compensation value, thereby finally realizing the accurate zeroing of a direct-current component of the output current of the inverter. Both the first average value and the second average value come from the calculation of sampling values of the output current, thereby avoiding control accuracy degradation caused by accuracy deviations between different sampling ports and differences in transmission paths. Using the difference between the first average value and the second average value to perform control can effectively eliminate the impact of factors such as chip zero point errors and temperature drifts on control accuracy, and also resolve control errors caused by inductance deviations.
Need to check novelty before this filing date? Find Prior Art

Description

A method, device and medium for DC component zero-adjustment control of an inverter

[0001] This application claims priority to Chinese Patent Application No. 202510599867.1, filed on May 9, 2025, entitled "A Method, Apparatus and Medium for Zeroing DC Component of an Inverter", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of inverter topology, and in particular to a method, device and medium for zeroing control of the DC component of an inverter. Background Technology

[0003] As the core device for converting direct current (DC) to alternating current (AC), the inverter's output current waveform quality directly affects the performance and lifespan of the load equipment. In practical applications, a DC component often exists in the inverter's output current.

[0004] In a dual buck inverter topology, two independent inductors handle the positive and negative half-cycle currents respectively. During inverter operation, the deviation between the two buck inductances in the inverter section increases the DC component. The output current and the DC bias of the output current are fed into two sampling ports of the chip in real time for feedback control. The accuracy deviation of the two sampling ports and the difference in the transmission path will lead to a decrease in control accuracy.

[0005] Therefore, how to solve the problem of reduced DC compensation control accuracy of inverters caused by different sampling port accuracy deviations is a technical problem that urgently needs to be solved by people in this field. Summary of the Invention

[0006] The purpose of this application is to provide a method, device and medium for zeroing control of the DC component of an inverter, so as to solve the problem of reduced DC compensation control accuracy of the inverter caused by the accuracy deviation of different sampling ports.

[0007] To solve the above-mentioned technical problems, this application provides a method for zeroing the DC component of an inverter, comprising:

[0008] Real-time acquisition of inverter output current value;

[0009] The first average value is obtained based on the average value of the output current within the preset adjustment period;

[0010] The second mean value is obtained by averaging the output current values ​​of the sampling points in the same time neighborhood of each zero-crossing point within the preset adjustment period;

[0011] If the first mean is greater than the second mean, the DC component compensation value is reduced according to the preset DC component adjustment step size.

[0012] If the first mean is less than the second mean, the DC component compensation value is increased according to the preset DC component adjustment step size.

[0013] The inverter control output current is adjusted according to the adjusted DC component compensation value.

[0014] In one possible implementation, the above-mentioned inverter DC component zero-adjustment control method includes the real-time acquisition of the inverter's output current value, comprising:

[0015] The inverter's output current value is collected at preset sampling intervals;

[0016] Based on the sampled output current value, determine whether the cumulative number of power grid cycles has reached a preset number;

[0017] If so, proceed to the step of obtaining the first average value based on the average value of the output current within the preset adjustment period.

[0018] In one possible implementation, the above-mentioned inverter DC component zero-adjustment control method further includes:

[0019] The output current waveform is generated based on the sampled output current value of the inverter.

[0020] The DC bias waveform is obtained based on the second mean value.

[0021] In one possible implementation, the inverter DC component zero-adjustment control method described above obtains a first average value based on the average value of the output current within a preset adjustment period, including:

[0022] The first average value is obtained based on the first formula and the average value of the output current within the preset adjustment period;

[0023] The first formula is:

[0024] Among them, IAC ave1 The first mean is represented by t1, t2, ..., tn, where t1, t2, ..., tn represent the zero-crossing times; n is a positive integer greater than 2, representing the number of zero-crossing points; and IAC represents the output current value. This represents the integral value of all sampled output current values ​​between the preset adjustment period t1 and tn.

[0025] In one possible implementation, the above-mentioned inverter DC component zero-adjustment control method, wherein obtaining the second average value based on the average value of the output current values ​​of the same time-neighbor sampling points at each zero-crossing point within a preset adjustment period includes:

[0026] Obtain the output current values ​​of sampling points in the symmetrical neighborhood of multiple consecutive zero-crossing points;

[0027] The second mean value is obtained from the output current value of each symmetrical neighborhood sampling point according to the second formula.

[0028] The second formula is:

[0029] Among them, IAC ave2 Indicates the second mean; IAC t1- IAC t2- IAC tn- These represent the output current values ​​at the sampling points before the first zero-crossing time, the second zero-crossing time, and the nth zero-crossing time, respectively; IAC t1+ IAC t2+ IAC tn+ These represent the output current values ​​at the sampling points after the first zero-crossing time, the second zero-crossing time, and the nth zero-crossing time, respectively; n is a positive integer greater than 2, representing the number of zero-crossing points.

[0030] In one possible implementation, the inverter DC component zero-crossing control method described above obtains the output current values ​​of multiple consecutive zero-crossing points in a symmetrical neighborhood, including:

[0031] Obtain multiple output current values ​​from sampling points in a symmetrical neighborhood of multiple consecutive zero-crossing points.

[0032] In one possible implementation, the above inverter DC component zero-adjustment control method, after adjusting the inverter control output current value according to the adjusted DC component compensation value, further includes:

[0033] The stored first mean and second mean are cleared to zero;

[0034] Return to the step of collecting the inverter's output current value every preset sampling period.

[0035] To address the aforementioned technical problems, this application also provides an inverter DC component zero-adjustment control device, comprising:

[0036] The acquisition module is used to acquire the output current value of the inverter in real time;

[0037] The first average value acquisition module is used to obtain the first average value based on the average value of the output current value within a preset adjustment period;

[0038] The second mean acquisition module is used to obtain the second mean based on the average value of the output current of the sampling points in the same time neighborhood of each zero-crossing point within a preset adjustment period.

[0039] The first adjustment amount determination module is used to reduce the DC component compensation value according to a preset DC component adjustment step size if the first mean value is greater than the second mean value.

[0040] The second adjustment amount determination module is used to increase the DC component compensation value according to the preset DC component adjustment step size if the first mean value is less than the second mean value.

[0041] The adjustment module is used to adjust the inverter control output current according to the adjusted DC component compensation value.

[0042] To address the aforementioned technical problems, this application also provides an inverter DC component zero-adjustment control device, comprising:

[0043] Memory, used to store computer programs;

[0044] A processor is used to implement the steps of the inverter DC component zero-adjustment control method described above when executing the computer program.

[0045] To address the aforementioned technical problems, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the aforementioned inverter DC component zero-adjustment control method.

[0046] The inverter DC component zero-adjustment control method provided in this application acquires real-time inverter output current data, calculates the average current value within a preset adjustment period to obtain a first average value, and calculates the average current value near the zero-crossing point within the preset adjustment period to obtain a second average value. The magnitudes of these two average values ​​are then compared to adjust the DC component compensation value, ultimately achieving precise zero-adjustment of the inverter output current DC component. The first and second average values ​​are calculated simultaneously from the output current sampling values, avoiding the decrease in control accuracy caused by accuracy deviations at different sampling ports or differences in transmission paths. Using the difference between the first and second average values ​​effectively eliminates the impact of chip zero-point errors, temperature drift, and other factors on control accuracy, and also solves the control error caused by deviations between the two inductors. The current at the zero-crossing point is essentially zero and is unaffected by the output control current, making it a relatively accurate real-time reference value for more precise DC component compensation control.

[0047] In addition, this application also provides an apparatus and medium that correspond to the above-mentioned inverter DC component zero-adjustment control method, with the same effect. Attached Figure Description

[0048] To more clearly illustrate the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0049] Figure 1 is a circuit diagram of a DC component zero-adjustment control for a voltage source inverter;

[0050] Figure 2 is a circuit diagram of another type of voltage source inverter DC component zero-adjustment control;

[0051] Figure 3 is a flowchart of an inverter DC component zero-adjustment control method provided in an embodiment of this application;

[0052] Figure 4 is a waveform diagram of an output current sampling provided in an embodiment of this application;

[0053] Figure 5 shows an IAC provided in an embodiment of this application. ave2 Waveform diagram;

[0054] Figure 6 is a structural diagram of an inverter DC component zero-adjustment control device provided in an embodiment of this application;

[0055] Figure 7 is a structural diagram of another inverter DC component zero-adjustment control device provided in an embodiment of this application. Detailed Implementation

[0056] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of this application.

[0057] The core of this application is to provide a method, device, and medium for zeroing control of the DC component of an inverter.

[0058] To enable those skilled in the art to better understand the present application, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0059] The DC component of the inverter output current needs to be strictly controlled. In power systems, data center power supply systems, and grid-connected inverters for new energy power generation systems with high requirements for power quality, the DC component of the inverter output current should be less than 0.5% of the rated current.

[0060] Figure 1 shows a circuit diagram for DC component zero-adjustment control of a voltage source inverter. As shown in Figure 1, the inverter includes four high-frequency switching transistors (Q1, Q2, Q3, Q4), two filter inductors L1 and L2, and diodes (D1, D2, D3, D4). The amplitude and phase of the output voltage are controlled by controlling the switching transistors. The output current is sampled as IAC, which is a sine wave. baseThis is the DC bias of the IAC. It's the instantaneous sampled value of the inverter output current, containing both the AC component and the DC bias component to be eliminated. There are two traditional methods for zeroing the DC component:

[0061] Option 1: During inverter operation, connect IAC and IAC in real time. base The two sampling ports fed into the chip are used for feedback control.

[0062] (1) Calculate the intermediate value after each sampling: Delt IAC ;Delt IAC =IAC-IAC base ;

[0063] (2) Perform a cumulative summation every N power grid cycles and calculate the Delt once. IAC The average value is used to obtain the zero-adjustment mean:

[0064] (3) Through Output control feedback is used to zero the DC component of the output current.

[0065] Option 2: Before turning on the inverter, connect the IAC... base The data is fed into the chip, and subsequent control uses this data as a reference for feedback control.

[0066] (1) Before the inverter outputs current at startup, take multiple IAC values. base The average value of the DC bias component is obtained by calculating the average value of the sampled values:

[0067] (2) Control the inverter's start-up output current; after the inverter starts up, the output current... The value will no longer be updated;

[0068] (3) Calculate the intermediate difference after each sampling:

[0069] (4) Calculate Delt once every N power grid cycles. IAC The average of the differences is used to obtain the mean of the differences:

[0070] (5) Through Output control feedback is used to zero the DC component of the output current.

[0071] Option 1 is to separate IAC and IAC. base The data is fed into two sampling ports. Differences in accuracy between these ports and variations in transmission paths can lead to a decrease in control accuracy. Furthermore, differences in the zero-point error and temperature drift of the sampling chip will also affect the data from the two sampling ports, thus impacting control accuracy. (Option 2's IAC)base Sampling is performed only before the inverter output current, and not after the inverter output current. This solves the problem of decreased control accuracy caused by the accuracy deviation between the two sampling ports and the different transmission paths. However, due to factors such as zero-point error and temperature drift of the sampling chip, the control accuracy will still be affected.

[0072] Figure 2 shows a circuit diagram of DC component zero-adjustment control for another type of voltage source inverter, which includes the traditional H-bridge circuit connection structure, not just the double-buck circuit, as an applicable implementation scenario, but not limited to this scenario.

[0073] To address the aforementioned problems, this application provides a method for zeroing the DC component of an inverter. Figure 3 is a flowchart of an embodiment of this application providing a method for zeroing the DC component of an inverter, as shown in Figure 3, which includes:

[0074] S11: Real-time acquisition of the inverter's output current value;

[0075] S12: Obtain the first average value based on the average value of the output current value within the preset adjustment period;

[0076] S13: The second mean value is obtained by averaging the output current values ​​of the sampling points in the same time neighborhood of each zero-crossing point within the preset adjustment period;

[0077] S14: If the first mean is greater than the second mean, the DC component compensation value is reduced according to the preset DC component adjustment step size.

[0078] S15: If the first mean is less than the second mean, the DC component compensation value is increased according to the preset DC component adjustment step size.

[0079] S16: Adjust the inverter control output current according to the adjusted DC component compensation value.

[0080] In step S11, the output current can be sampled by a high-precision current sensor or Hall element to ensure the accuracy and precision of the sampling.

[0081] In step S12, the preset adjustment period refers to a fixed time period set according to actual application requirements, used to calculate the average value of the output current. The first average value refers to the average value of all collected output current values ​​within this preset adjustment period. The average value is obtained by accumulating the collected current values ​​through calculation software or hardware circuits and then dividing by the number of samplings. Alternatively, the average value can be calculated through integration. By calculating the first average value, an overall assessment of the inverter's output current within one cycle is achieved, providing a benchmark for subsequent comparisons and adjustments.

[0082] Each zeroing can be calculated using a sliding time window, or it can be performed by starting new data collection and zeroing calculation after a period of sampling and zeroing has ended.

[0083] Zero-crossing refers to the point where the center value of the PWM dead zone in the positive and negative half-cycles of the inverter output current waveform crosses zero, at which moment the current is essentially zero. Simultaneous time-neighborhood sampling points refer to the current values ​​collected within a certain time range before and after each zero-crossing point. Step S13 calculates the arithmetic mean of the current sampling values ​​within a symmetrical time window centered on the current moment. This can be based on each zero-crossing moment (denoted as Ti), taking symmetrical positions before and after it. For example, taking one point at a certain time interval before and after the zero-crossing point Ti, or multiple points within a symmetrical time window around the zero-crossing point. Alternatively, sampling can be performed at time points after each Ti, such as points within a certain time period after Ti, or only certain points after Ti, such as Ti+Δt, Ti+2Δt, etc. Sampling can also be performed at time points before each Ti, such as Ti-Δt, Ti-2Δt, etc. The goal is to maintain sampling points within the same time-neighborhood for each zero-crossing point.

[0084] Steps S14 and S15 adopt different zeroing directions based on the relationship between the first mean and the second mean. By comparing the first mean and the second mean, it can be determined whether there is a DC component in the inverter output current.

[0085] If the first mean is IAC ave1 Greater than the second mean IAC ave2 This indicates the presence of a positive DC component in the inverter's output current. In this case, the DC component compensation value is reduced based on a preset DC component adjustment step size (which can be a fixed value or dynamically adjusted according to specific circumstances). The purpose is to counteract the DC component in the output current by reducing the compensation value.

[0086] If the first mean is IAC ave1 Less than the second mean IAC ave2 This indicates the presence of a negative DC component in the inverter's output current. In this case, the DC component compensation value is increased based on a preset DC component adjustment step size. The purpose is to counteract the DC component in the output current by increasing the compensation value.

[0087] IAC ave1 -IAC ave2 If Idc > 0, then comp =Idc comp -Idc step ;

[0088] IAC ave1 -IAC ave2 If Idc < 0, thencomp =Idc comp +Idc step ;

[0089] Among them, Idc step To adjust the step size for the DC component, Idc comp Idc is the DC component compensation value. comp The initial value is 0.

[0090] In step S16, the control output current of the inverter is adjusted according to the adjusted DC component compensation value. This step is achieved through the inverter's internal control system, which adjusts the inverter's output current by changing the control signal to make its DC component approach zero.

[0091] The inverter control output current after DC component compensation is: I*sinθ+Idc comp I represents the magnitude of the original current, and sinθ represents the phase angle.

[0092] The inverter DC component zero-adjustment control method provided in this application collects inverter output current data in real time, calculates the average current value within a preset adjustment period to obtain a first average value, and calculates the average current value near the zero-crossing point within the preset adjustment period to obtain a second average value. The magnitudes of these two average values ​​are then compared to adjust the DC component compensation value, ultimately achieving precise zero-adjustment of the inverter output current DC component. The first and second average values ​​are calculated from the output current sampling values ​​simultaneously, avoiding the decrease in control accuracy caused by different sampling port accuracy deviations and different transmission paths. Using the difference between the first and second average values ​​for control effectively eliminates the impact of chip zero-point errors, temperature drift, etc., on control accuracy, and also solves the control error caused by the deviation of the two buck inductors. The current at the zero-crossing point is essentially zero and is unaffected by the output control current, making it a relatively accurate real-time reference value, resulting in more precise DC component compensation control.

[0093] According to the above embodiments, in order to significantly improve the dynamic response speed and anti-interference capability of the system while ensuring control accuracy, in a more specific embodiment of the above inverter DC component zero-adjustment control method, the real-time acquisition of the inverter's output current value includes:

[0094] The inverter's output current value is collected at preset sampling intervals;

[0095] Based on the sampled output current value, determine whether the cumulative number of power grid cycles has reached a preset number;

[0096] If so, proceed to the step of obtaining the first average value based on the average value of the output current within the preset adjustment period.

[0097] It should be noted that the preset sampling period refers to the time interval for current sampling, which must be much smaller than the power grid cycle (e.g., the fundamental frequency cycle of a 50Hz power grid is 20ms); a high-precision current sensor is used to collect the output current signal. A timer interrupt is configured to trigger a sampling task once every preset sampling period.

[0098] The counter increments by 1 for each detected grid cycle (based on zero-crossing detection). Zero-crossing detection can be implemented using a hardware comparator. If the counter value is greater than or equal to a preset number N, the process proceeds to the step of obtaining the first average value based on the average of the output current values ​​within a preset adjustment period; otherwise, sampling and counting continue. The preset number N is typically set to 5–10 grid cycles, with the specific value depending on the trade-off between control accuracy requirements and system dynamic response speed. The process continues until the number of grid cycles accumulates to the preset number, i.e., the aforementioned preset adjustment period.

[0099] By accumulating sampling data from multiple power grid cycles, the reliability of the data is improved, and the noise and errors that may be introduced by single-cycle sampling are avoided.

[0100] According to the above embodiments, in a more specific embodiment of the inverter DC component zero-adjustment control method, it further includes:

[0101] The output current waveform is generated based on the sampled output current value of the inverter.

[0102] The DC bias waveform is obtained based on the second mean value.

[0103] Figure 4 shows an output current sampling waveform diagram, i.e., an IAC sampling waveform diagram, provided by an embodiment of this application. This embodiment generates an output current waveform diagram to intuitively display the real-time status of the inverter output current, facilitating subsequent analysis of the zero-crossing current value and DC component.

[0104] Figure 5 shows an IAC provided in an embodiment of this application. ave2 Waveform graph. The second mean refers to the average output current value of the sampling points in the same time range at each zero-crossing point within a preset adjustment period. The change of the second mean over time is plotted as a waveform graph to visually display the changing trend of the DC component.

[0105] According to the above embodiments, in a more specific embodiment of the inverter DC component zero-adjustment control method, obtaining a first average value based on the average value of the output current value within a preset adjustment period includes:

[0106] The first average value is obtained based on the first formula and the average value of the output current within the preset adjustment period;

[0107] The first formula is:

[0108] Among them, IAC ave1 The first mean is represented by t1, t2, ..., tn, where t1, t2, ..., tn represent the zero-crossing times; n is a positive integer greater than 2, representing the number of zero-crossing points; and IAC represents the output current value. This represents the integral value of all sampled output current values ​​between the preset adjustment period t1 and tn.

[0109] The average value of the IAC within the time window [t1, tn] is calculated using the first formula. For example, if n = 3, the cumulative value of all samples in (t1~t2) and the sum of the cumulative values ​​of all samples in (t2~t3) are calculated, and then the average value is calculated based on the preset adjustment period t3-t1. The output current value of the preset adjustment period of the IAC represents the current value collected within the preset adjustment period. The first formula enables the calculation of the average value of the output current value within the preset adjustment period.

[0110] In addition, the step of obtaining the second mean value based on the average output current value of the same time-neighbor sampling points at each zero-crossing point within a preset adjustment period includes:

[0111] Obtain the output current values ​​of sampling points in the symmetrical neighborhood of multiple consecutive zero-crossing points;

[0112] The second mean value is obtained from the output current value of each symmetrical neighborhood sampling point according to the second formula.

[0113] The second formula is:

[0114] Among them, IAC ave2 Indicates the second mean; IAC t1- IAC t2- IAC tn- These represent the output current values ​​at the sampling points before the first zero-crossing time, the second zero-crossing time, and the nth zero-crossing time, respectively; IAC t1+ IAC t2+ IAC tn+ These represent the output current values ​​at the sampling points after the first zero-crossing time, the second zero-crossing time, and the nth zero-crossing time, respectively; n is a positive integer greater than 2, representing the number of zero-crossing points.

[0115] The symmetrical neighborhood sampling points refer to the current values ​​collected at symmetrical positions before and after the zero-crossing point, ensuring data symmetry. The second formula is used to calculate the average value of the output current values ​​from the symmetrical neighborhood sampling points before and after multiple consecutive zero-crossing points.

[0116] Specifically, the output current values ​​of multiple consecutive zero-crossing symmetrical neighborhood sampling points are obtained, including:

[0117] Obtain multiple output current values ​​from sampling points in a symmetrical neighborhood of multiple consecutive zero-crossing points.

[0118] This means taking multiple output current values ​​before and after each zero-crossing point. For example, taking 3 output current values ​​before each zero-crossing point and 3 output current values ​​after each zero-crossing point improves the accuracy of calculation and judgment.

[0119] In a more specific embodiment of the inverter DC component zero-adjustment control method described above, the step of adjusting the inverter control output current value according to the adjusted DC component compensation value further includes:

[0120] The stored first mean and second mean are cleared to zero;

[0121] Return to the step of collecting the inverter's output current value at preset sampling intervals.

[0122] Zeroing refers to resetting the stored first and second averages to zero to ensure that the calculation of the next adjustment period is not affected by the data of the previous period.

[0123] After each adjustment of the DC component compensation value, the stored first and second mean variables are set to zero. After the zeroing process, the data acquisition process is restarted, and the output current value is acquired according to the preset sampling period.

[0124] In the above embodiments, the inverter DC component zero-adjustment control method has been described in detail. This application also provides embodiments corresponding to the inverter DC component zero-adjustment control device. It should be noted that this application describes the embodiments of the device part from two perspectives: one is based on the functional module, and the other is based on the hardware.

[0125] From the perspective of functional modules, Figure 6 is a structural diagram of an inverter DC component zero-adjustment control device provided in an embodiment of this application. As shown in Figure 6, an inverter DC component zero-adjustment control device includes:

[0126] Acquisition module 11 is used to acquire the output current value of the inverter in real time;

[0127] The first average value acquisition module 12 is used to obtain the first average value based on the average value of the output current value within a preset adjustment period;

[0128] The second mean acquisition module 13 is used to obtain the second mean based on the average value of the output current of the sampling points in the same time neighborhood of each zero crossing point within a preset adjustment period.

[0129] The first adjustment amount determination module 14 is used to reduce the DC component compensation value according to the preset DC component adjustment step size if the first average value is greater than the second average value.

[0130] The second adjustment amount determination module 15 is used to increase the DC component compensation value according to the preset DC component adjustment step size if the first mean value is less than the second mean value.

[0131] The adjustment module 16 is used to adjust the inverter control output current according to the adjusted DC component compensation value.

[0132] Since the embodiments of the apparatus and the embodiments of the method correspond to each other, please refer to the description of the embodiments of the method for the embodiments of the apparatus, which will not be repeated here.

[0133] Figure 7 is a structural diagram of another inverter DC component zero-adjustment control device provided in an embodiment of this application. As shown in Figure 7, the inverter DC component zero-adjustment control device includes: a memory 20 for storing computer programs.

[0134] The processor 21 is used to execute a computer program to implement the steps of the method for obtaining user operation habit information as described in the above embodiment (inverter DC component zero-adjustment control method).

[0135] The inverter DC component zero-adjustment control device provided in this embodiment may include, but is not limited to, mobile terminals, personal computers, workstations, etc.

[0136] The processor 21 may include one or more processing cores, such as a quad-core processor or an octa-core processor. The processor 21 may be implemented using at least one of the following hardware forms: Digital Signal Processor (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 21 may also include a main processor and a coprocessor. The main processor, also known as the Central Processing Unit (CPU), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, the processor 21 may integrate a Graphics Processing Unit (GPU), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, the processor 21 may also include an Artificial Intelligence (AI) processor, which handles computational operations related to machine learning.

[0137] The memory 20 may include one or more computer-readable storage media, which may be non-transitory. The memory 20 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In this embodiment, the memory 20 is used to store at least the following computer program 201, which, after being loaded and executed by the processor 21, is capable of implementing the relevant steps of the inverter DC component zero-adjustment control method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 20 may also include an operating system 202 and data 203, and the storage method may be temporary or permanent storage. The operating system 202 may include Windows, Unix, Linux, etc. The data 203 may include, but is not limited to, the data involved in implementing the inverter DC component zero-adjustment control method.

[0138] In some embodiments, the inverter DC component zero-adjustment control device may further include a display screen 22, an input / output interface 23, a communication interface 24, a power supply 25, and a communication bus 26.

[0139] Those skilled in the art will understand that the structure shown in Figure 7 does not constitute a limitation on the inverter DC component zero-adjustment control device, and may include more or fewer components than shown.

[0140] The inverter DC component zero-adjustment control device provided in this application includes a memory and a processor. When the processor executes the program stored in the memory, it can implement the following method: inverter DC component zero-adjustment control method.

[0141] Finally, this application also provides an embodiment corresponding to a computer-readable storage medium. The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps described in the above embodiment of the inverter DC component zero-adjustment control method.

[0142] It is understood that if the methods in the above embodiments are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and executes all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0143] The computer-readable storage medium provided in this embodiment stores a computer program. When the processor executes the program, it can implement the following method: inverter DC component zero-adjustment control method.

[0144] The inverter DC component zero-adjustment control method, apparatus, and medium provided in this application have been described in detail above. The various embodiments in the specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section. It should be noted that those skilled in the art can make several improvements and modifications to this application without departing from the principles of this application, and these improvements and modifications also fall within the protection scope of the claims of this application.

[0145] It should also be noted that, in this specification, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

Claims

1. A method for zeroing the DC component of an inverter, characterized in that, include: Real-time acquisition of inverter output current value; The first average value is obtained based on the average value of the output current within the preset adjustment period; The second mean value is obtained by averaging the output current values ​​of the sampling points in the same time neighborhood of each zero-crossing point within the preset adjustment period; If the first mean is greater than the second mean, the DC component compensation value is reduced according to the preset DC component adjustment step size. If the first mean is less than the second mean, the DC component compensation value is increased according to the preset DC component adjustment step size. The inverter control output current is adjusted according to the adjusted DC component compensation value.

2. The inverter DC component zero-adjustment control method according to claim 1, characterized in that, The real-time acquisition of the inverter's output current value includes: The inverter's output current value is collected at preset sampling intervals; Based on the sampled output current value, determine whether the cumulative number of power grid cycles has reached a preset number; If so, proceed to the step of obtaining the first average value based on the average value of the output current within the preset adjustment period.

3. The inverter DC component zero-adjustment control method according to claim 2, characterized in that, Also includes: The output current waveform is generated based on the sampled output current value of the inverter. The DC bias waveform is obtained based on the second mean value.

4. The inverter DC component zero-adjustment control method according to claim 3, characterized in that, The first average value is obtained based on the average value of the output current within a preset adjustment period, including: The first average value is obtained based on the first formula and the average value of the output current within the preset adjustment period; The first formula is: Among them, IAC ave1 The first mean is represented by t1, t2, ..., tn, where t1, t2, ..., tn represent the zero-crossing times; n is a positive integer greater than 2, representing the number of zero-crossing points; and IAC represents the output current value. This represents the integral value of all sampled output current values ​​between the preset adjustment period t1 and tn.

5. The inverter DC component zero-adjustment control method according to claim 4, characterized in that, The step of obtaining the second mean value based on the average output current values ​​of the same time-neighbor sampling points at each zero-crossing point within a preset adjustment period includes: Obtain the output current values ​​of sampling points in the symmetrical neighborhood of multiple consecutive zero-crossing points; The second mean value is obtained from the output current value of each symmetrical neighborhood sampling point according to the second formula. The second formula is: Among them, IAC ave2 Indicates the second mean; IAC t1- IAC t2- IAC tn- These represent the output current values ​​at the sampling points before the first zero-crossing time, the second zero-crossing time, and the nth zero-crossing time, respectively; IAC t1+ IAC t2+ IAC tn+ These represent the output current values ​​at the sampling points after the first zero-crossing time, the second zero-crossing time, and the nth zero-crossing time, respectively; n is a positive integer greater than 2, representing the number of zero-crossing points.

6. The inverter DC component zero-adjustment control method according to claim 5, characterized in that, Obtain the output current values ​​of sampling points in the symmetrical neighborhood of multiple consecutive zero-crossing points, including: Obtain multiple output current values ​​from sampling points in a symmetrical neighborhood of multiple consecutive zero-crossing points.

7. The inverter DC component zero-adjustment control method according to claim 2, characterized in that, The step of adjusting the inverter control output current value according to the adjusted DC component compensation value further includes: The stored first mean and second mean are cleared to zero; Return to the step of collecting the inverter's output current value at preset sampling intervals.

8. A DC component zero-adjustment control device for an inverter, characterized in that, include: The acquisition module is used to acquire the output current value of the inverter in real time; The first average value acquisition module is used to obtain the first average value based on the average value of the output current value within a preset adjustment period; The second mean acquisition module is used to obtain the second mean based on the average value of the output current of the sampling points in the same time neighborhood of each zero-crossing point within a preset adjustment period. The first adjustment amount determination module is used to reduce the DC component compensation value according to a preset DC component adjustment step size if the first mean value is greater than the second mean value. The second adjustment amount determination module is used to increase the DC component compensation value according to the preset DC component adjustment step size if the first mean value is less than the second mean value. The adjustment module is used to adjust the inverter control output current according to the adjusted DC component compensation value.

9. A DC component zero-adjustment control device for an inverter, characterized in that, include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the steps of the inverter DC component zero-adjustment control method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the inverter DC component zero-adjustment control method as described in any one of claims 1 to 7.