Control method and device of grid-connected inverter based on voltage vector action time
By acquiring the real-time current and voltage of the grid-connected inverter, calculating the current and voltage differential information, and using a dynamic scaling factor to determine the voltage vector action time, the problem of poor power quality in weak grid environments is solved, achieving higher power quality and control robustness.
Patent Information
- Application Number
- CN202611576335.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-12
- Publication Date
- 2026-11-20
AI Technical Summary
In weak grid environments, the voltage vector action time determined in existing technologies is inaccurate, resulting in poor power quality when new energy power generation systems are connected to the grid.
By acquiring the real-time current and voltage of the grid-connected inverter, the current differential information and voltage differential information are determined. The voltage vector action time is calculated using a dynamic scaling factor, and the inverter is driven according to this time to achieve real-time response to changes in grid parameters.
It improves the power quality of new energy power generation systems connected to the grid, enhances control robustness and current tracking accuracy, and improves control adaptability under grid parameter fluctuation conditions.
Smart Images

Figure CN123144615A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power grid technology, and in particular to a control method and device for a grid-connected inverter based on voltage vector action time. Background Technology
[0002] When integrating electricity from new energy power generation systems (such as photovoltaic and wind power) into the grid system, it is necessary to determine the voltage vector action time of the power switching transistors used to drive the grid-connected inverter in the grid system.
[0003] In the prior art, the voltage vector action time of the grid-connected inverter is determined based on the set value of the filter inductance and the set value of the winding resistance of the power grid system.
[0004] However, in the above-mentioned method, under weak grid conditions, the filter inductance and winding resistance of the grid system will fluctuate, resulting in inaccurate voltage vector action time determined by this method, which in turn leads to poor power quality when the new energy power generation system is connected to the grid system. Summary of the Invention
[0005] The control method and device for grid-connected inverters based on voltage vector action time provided in this application are used to achieve the effect of high power quality when new energy power generation systems are connected to the power grid system.
[0006] In a first aspect, embodiments of this application provide a control method for a grid-connected inverter based on voltage vector action time, the method comprising:
[0007] The system acquires the real-time current and real-time voltage output of the grid-connected inverter in the power grid system; and determines the current differential information and voltage differential information of the grid-connected inverter based on the real-time current and the real-time voltage; wherein the current differential information characterizes the current change of the grid-connected inverter, and the voltage differential information characterizes the voltage change of the grid-connected inverter.
[0008] Based on the current differential information and the voltage differential information, a dynamic scaling factor is determined; wherein, the dynamic scaling factor characterizes the rate of change of the real-time current output by the grid-connected inverter under voltage variation;
[0009] The voltage vector action time of the grid-connected inverter is determined based on the dynamic scaling factor; and the grid-connected inverter is driven based on the voltage vector action time.
[0010] In one possible embodiment, determining the voltage vector action time of the grid-connected inverter based on the dynamic scaling factor includes:
[0011] Based on the dynamic scaling factor, the total disturbance estimate of the control system of the grid-connected inverter and the current output by the grid-connected inverter at the next moment are determined; wherein, the total disturbance estimate characterizes the relationship between the current change of the grid-connected inverter and the voltage of the grid-connected inverter;
[0012] Based on the total disturbance estimate and the current output by the grid-connected inverter at the next moment, determine the ideal voltage vector of the grid-connected inverter;
[0013] The voltage vector action time of the grid-connected inverter is determined based on the ideal voltage vector; and the grid-connected inverter is driven based on the voltage vector action time.
[0014] In one possible embodiment, determining the total disturbance estimate of the control system of the grid-connected inverter based on the dynamic scaling factor includes:
[0015] The total disturbance estimate is determined based on the dynamic scaling factor, the current output by the grid-connected inverter at the current moment, the current output by the grid-connected inverter at the previous moment, the voltage output by the grid-connected inverter at the previous moment, and the preset sampling period.
[0016] The total disturbance estimate is as follows: ; The current output by the grid-connected inverter at the current moment. The current output by the grid-connected inverter at the previous moment is... The preset sampling period is... The voltage output by the grid-connected inverter at the specified time is [value missing]. is the dynamic scaling factor.
[0017] In one possible embodiment, determining the current output by the grid-connected inverter at the next moment based on the dynamic scaling factor includes:
[0018] Obtain the disturbance estimate of the control system of the grid-connected inverter at the current moment;
[0019] Based on the current output of the grid-connected inverter at the current moment, the voltage output of the grid-connected inverter at the current moment, the total disturbance estimate, and the disturbance estimate of the control system of the grid-connected inverter at the current moment, determine the current output of the grid-connected inverter at the next moment.
[0020] Wherein, the current output by the grid-connected inverter at the next moment is ; The current output by the grid-connected inverter at the current moment. This is the estimated disturbance value of the control system of the grid-connected inverter at the current moment. The voltage output by the grid-connected inverter at the current moment. This is the estimated total disturbance.
[0021] In one possible embodiment, determining the ideal voltage vector of the grid-connected inverter based on the total disturbance estimate and the current output by the grid-connected inverter at the next moment includes:
[0022] The ideal voltage vector is determined based on the dynamic scaling factor, the total disturbance estimate, the current output by the grid-connected inverter at the next moment, and the preset reference current target value.
[0023] Wherein, the ideal voltage vector is ; The dynamic scaling factor, The preset reference current target value, The current output by the grid-connected inverter at the next moment. This is the estimated total disturbance.
[0024] In one possible implementation, determining the voltage vector action time of the grid-connected inverter based on the ideal voltage vector includes:
[0025] Based on the ideal voltage vector, determine the optimal feasible voltage vector;
[0026] Obtain the DC bus voltage; and determine the theoretical vector action time based on the DC bus voltage and the optimal feasible voltage vector;
[0027] The voltage vector application time is determined based on the theoretical vector application time.
[0028] In one possible implementation, the theoretical vector action time is ;in, For the preset sampling period, The DC bus voltage is... This is the optimal feasible voltage vector. The phase angle of the optimal feasible voltage vector. This is a time calculation factor.
[0029] In one possible implementation, the voltage vector action time is ;in, The theoretical vector action time, Let be the polarity function of the phase current to be calculated for the power switch transistor of the grid-connected inverter. The preset dead time constant of the power switching transistor of the grid-connected inverter is denoted as .
[0030] In one possible implementation, the current differential information includes first current differential information and second current differential information, wherein the first current differential information characterizes the current differential of the grid-connected inverter at the current moment, and the second current differential information characterizes the current differential of the grid-connected inverter at the previous moment.
[0031] The step of determining the dynamic scaling factor based on the current differential information and the voltage differential information includes: determining the dynamic scaling factor based on the first current differential information, the second current differential information, the voltage differential information, and a preset sampling period;
[0032] Wherein, the dynamic scaling factor is ;in, This is the first current differential information. This is the second current differential information. The preset sampling period is... This refers to the voltage differential information.
[0033] Secondly, embodiments of this application provide an electronic device, including: a memory and a processor;
[0034] The memory stores computer-executed instructions;
[0035] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.
[0036] The control method and device for grid-connected inverters based on voltage vector action time provided in this application acquire the real-time current and real-time voltage output of the grid-connected inverter, and determine the current differential information and voltage differential information based on the real-time current and real-time voltage, thereby characterizing the dynamic change relationship between the output current and voltage of the grid-connected inverter. By determining the dynamic scaling factor based on the current differential information and voltage differential information, and determining the voltage vector action time of the grid-connected inverter based on the dynamic scaling factor, the inverter control quantity can be adjusted more specifically under grid parameter changes or weak grid conditions, thereby improving control robustness and current tracking accuracy, and improving the grid-connected output power quality. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0038] Figure 1 A flowchart illustrating the control method for grid-connected inverters based on voltage vector action time provided in this application. Figure 1 ;
[0039] Figure 2 A flowchart illustrating the control method for grid-connected inverters based on voltage vector action time provided in this application. Figure 2 ;
[0040] Figure 3 A schematic diagram illustrating the principle of the discrete-time difference prediction model provided in this application;
[0041] Figure 4 A schematic diagram of the control device for a grid-connected inverter based on voltage vector action time provided in this application;
[0042] Figure 5 A schematic diagram of the structure of the electronic device provided in this application.
[0043] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0044] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application.
[0045] Grid-connected inverter control technology belongs to the field of grid-connected control for new energy power generation, and is mainly used in scenarios where photovoltaic, wind power and other power generation devices transmit power to the AC grid. This type of system typically includes a DC power supply side, a grid-connected inverter, a sampling and detection unit, and a grid side, used to convert DC power into AC power that is compatible with the grid.
[0046] In practical applications, especially in remote areas, at the end of the distribution network, or in situations where the grid structure is weak, the grid impedance is high and the operating status changes frequently. Grid-connected inverters need to maintain stable output under the conditions of parameter fluctuations and disturbances, which puts forward high requirements for the dynamic adaptability of the control strategy.
[0047] In existing technologies, grid-connected inverters typically employ closed-loop current control and pulse width modulation based on physical models. A control model is established by pre-setting parameters such as inductance and resistance, and the inverter output is adjusted according to the deviation between the sampled current and a reference value to achieve grid current tracking and power transfer. While some predictive control schemes can improve dynamic response speed, they still rely on relatively accurate object parameters, and their modulation results exhibit inconsistent switching frequencies under certain operating conditions.
[0048] When the grid impedance changes, device parameters drift, or the system is in a weak grid condition, discrepancies can easily arise between the existing model and the actual system. This can lead to inaccurate judgment of current change trends by the controller, resulting in decreased current tracking accuracy, poor control stability, and even increased output waveform distortion. Especially when there are large grid fluctuations or sudden load changes, traditional control methods relying on fixed parameters struggle to adapt to changes in system state in a timely manner.
[0049] Furthermore, a non-constant switching frequency can lead to a wider range of harmonic distributions, increasing the difficulty of filter design and system stability control, and affecting grid-connected power quality. Therefore, how to improve control robustness in scenarios with time-varying grid parameters and significant impedance fluctuations, while balancing current tracking performance and output quality, has become an urgent technical problem to be solved in grid-connected inverter control.
[0050] In view of this, a grid-connected inverter control method based on voltage vector action time is provided. The method obtains the real-time current and real-time voltage output of the grid-connected inverter and determines the current differential information and voltage differential information accordingly. Then, a dynamic scaling factor is determined based on the current differential information and voltage differential information. Furthermore, the voltage vector action time of the grid-connected inverter is determined based on the dynamic scaling factor, and the grid-connected inverter is driven according to the final voltage vector action time.
[0051] This technical approach uses real-time sampled data to reflect the current and voltage changes of the grid-connected inverter, enabling adjustments to the drive parameters when grid conditions change. This provides a foundation for improving control adaptability and output quality in weak grid and parameter fluctuation scenarios.
[0052] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0053] Figure 1 A flowchart illustrating the control method for grid-connected inverters based on voltage vector action time provided in this application. Figure 1 ,like Figure 1 As shown, the method includes:
[0054] S101. Obtain the real-time current and real-time voltage output of the grid-connected inverter in the power grid system; and determine the current differential information and voltage differential information of the grid-connected inverter based on the real-time current and real-time voltage; wherein, the current differential information characterizes the current change of the grid-connected inverter, and the voltage differential information characterizes the voltage change of the grid-connected inverter.
[0055] In this application, the real-time current is the output current value of the grid-connected inverter at the current moment, and the real-time voltage is the output voltage value corresponding to that moment. The controller can perform differential processing based on the real-time current and real-time voltage at adjacent moments to obtain current differential information and voltage differential information used to characterize the changes in the output state of the grid-connected inverter, and use them as inputs for subsequent determination of the dynamic scaling factor.
[0056] S102. Determine the dynamic scaling factor based on the current differential information and voltage differential information; wherein, the dynamic scaling factor characterizes the rate of change of the real-time current output by the grid-connected inverter under voltage changes.
[0057] In this application, the dynamic scaling factor is used to describe the degree of response of the grid-connected inverter's output current to changes in output voltage. The controller determines the dynamic scaling factor based on the current differential information and voltage differential information obtained in step S101, so as to characterize the correspondence between voltage changes and current changes under the current operating conditions, and as the basis for determining the subsequent voltage vector action time.
[0058] S103. Determine the voltage vector action time of the grid-connected inverter based on the dynamic scaling factor; and drive the grid-connected inverter based on the voltage vector action time.
[0059] In this application, the voltage vector application time is the duration parameter of the voltage vector applied by the inverter within one control cycle, and the final voltage vector application time is the actual application time parameter used to drive the grid-connected inverter. The controller determines the voltage vector application time of the grid-connected inverter based on the dynamic scaling factor, and generates the corresponding drive signal based on the final voltage vector application time to drive the grid-connected inverter to operate.
[0060] This application provides a control method for a grid-connected inverter based on voltage vector action time. The method acquires the real-time current and voltage output of the grid-connected inverter in the power grid system, determines the current differential information and voltage differential information of the inverter based on these data, determines a dynamic scaling factor based on the current differential information and voltage differential information, determines the voltage vector action time of the inverter based on the dynamic scaling factor, and drives the grid-connected inverter according to the final voltage vector action time. In this application, the controller constructs a relationship between current and voltage changes based on the current sampled data and determines the voltage vector action time accordingly, so that the control quantity can be adjusted according to the actual operating state.
[0061] In one example, the voltage vector action time of the grid-connected inverter is determined based on the dynamic scaling factor, including:
[0062] Based on the dynamic scaling factor, the total disturbance estimate of the grid-connected inverter control system and the current output by the grid-connected inverter at the next moment are determined; whereby the total disturbance estimate characterizes the relationship between the current change of the grid-connected inverter and the voltage of the grid-connected inverter.
[0063] Based on the total disturbance estimate and the current output by the grid-connected inverter at the next moment, determine the ideal voltage vector of the grid-connected inverter;
[0064] Based on the ideal voltage vector, determine the voltage vector action time of the grid-connected inverter; and drive the grid-connected inverter according to the voltage vector action time.
[0065] For example, the total disturbance estimate can be calculated from the current differential information, voltage differential information, and dynamic scaling factor within the current sampling period. This estimate, combined with the current at the current moment, the voltage at the current moment, and the state prediction from the previous moment, is used to predict the current output of the grid-connected inverter at the next moment. The total disturbance estimate can be output from a state observer or a disturbance reconstruction module, and the current output of the grid-connected inverter at the next moment can be calculated based on a discretized current model. Subsequently, the total disturbance estimate and the current output of the grid-connected inverter at the next moment are substituted into the voltage vector solving unit to obtain an ideal voltage vector matching the reference current target value. Then, based on the inverter's space vector modulation relationship, the DC bus voltage, and the preset sampling period, the ideal voltage vector is mapped to the corresponding voltage vector action time. Finally, the controller outputs a gate drive signal to drive the grid-connected inverter to execute this action time. In this embodiment, the observer, solver, and drive controller can be integrated into a digital controller, implemented using a DSP (Digital Signal Processor), FPGA (Field-Programmable Gate Array), or MCU (Microcontroller Unit). In practical applications, other models can also be selected for this component, and this application does not limit it.
[0066] In this way, the total disturbance estimate first aggregates the system disturbances, and the current output by the grid-connected inverter at the next moment then constrains the control target at the next moment. A continuous mapping is formed between the ideal voltage vector and the action time, enabling the grid-connected inverter to output the corresponding switching sequence according to the dynamically changing operating state. This improves the consistency of current tracking under weak grid conditions and parameter fluctuations, and maintains a more stable correspondence between the drive signal and the target control quantity.
[0067] In one example, the total disturbance estimate of the control system of a grid-connected inverter is determined based on a dynamic scaling factor, including:
[0068] The total disturbance estimate is determined based on the dynamic scaling factor, the current output of the grid-connected inverter at the current moment, the current output of the grid-connected inverter at the previous moment, the voltage output of the grid-connected inverter at the previous moment, and the preset sampling period.
[0069] The total disturbance estimate is as follows: ; This refers to the current output by the grid-connected inverter at the current moment. The current output by the grid-connected inverter at the previous moment. For the preset sampling period, The voltage output by the grid-connected inverter at the specified time. This is the dynamic scaling factor.
[0070] In the actual implementation, the controller reads at the arrival of each sampling period. and And then divide the difference between the two by The rate of change of current is obtained, and then this rate of change is compared with... Subtracting these values yields the estimated total disturbance. The calculation process can be implemented by a digital signal processor, a field-programmable gate array (FPGA), or an embedded control chip. The chip stores the corresponding discrete calculation program and performs the calculation using fixed-point or floating-point arithmetic. If a digital processor with a high-speed multiply-accumulate unit is selected as the controller model, the estimation delay can be shortened and the calculation jitter can be reduced. In practical applications, other models of this component can also be selected, and this application does not limit this choice.
[0071] By employing the above estimation method, the system can incorporate the rate of change of current and the voltage term from the previous moment into the disturbance characterization, enabling the controller to obtain the total disturbance information corresponding to the current operating state. This total disturbance estimate can be further used to calculate the subsequent voltage vector action time, allowing the grid-connected inverter to maintain a real-time response to disturbance changes during the sampling discrete update process, and making the matching relationship between the output control quantity and the object state more stable.
[0072] In one example, the current output by the grid-connected inverter at the next time step is determined based on the dynamic scaling factor, including:
[0073] Obtain the disturbance estimate of the grid-connected inverter's control system at the current moment;
[0074] Based on the current output of the grid-connected inverter at the current moment, the voltage output of the grid-connected inverter at the current moment, the total disturbance estimate, and the disturbance estimate of the grid-connected inverter's control system at the current moment, determine the current output of the grid-connected inverter at the next moment.
[0075] The current output by the grid-connected inverter at the next moment is... ; This refers to the current output by the grid-connected inverter at the current moment. This is the estimated disturbance value of the grid-connected inverter's control system at the current moment. This refers to the voltage output by the grid-connected inverter at the current moment. This is the estimated total disturbance.
[0076] In practice, the control system first reads the current sample value at the current moment. and voltage sampling value Then read the disturbance estimate at the current time output by the disturbance observer. and total disturbance estimate The parameters mentioned above are then substituted into the discrete prediction formula to calculate the current output by the grid-connected inverter at the next moment. As a baseline quantity for the current state, the estimated disturbance value at the current moment Corresponding to the current control system's sensitivity to disturbances, Corresponding voltage action quantity, This is used to compensate for the comprehensive disturbance components not covered by the aforementioned items. The controller can use a DSP or FPGA computing unit to perform this calculation, and the calculation result serves as the input for subsequent ideal voltage vector determination, used to output the current output by the grid-connected inverter in the next control cycle at the next moment.
[0077] This method uses the current sampled current, voltage, and estimated values of two types of disturbances to form the predictive input. This makes the calculated current output by the grid-connected inverter at the next moment more closely match the actual operating state, and allows the subsequent voltage vector determination to be based on a more accurate current output by the grid-connected inverter at the next moment. Because the estimated disturbance values at the current moment are introduced, the control system responds more directly to parameter fluctuations and external disturbances, thus improving the accuracy of current prediction and providing a more stable calculation basis for current tracking control.
[0078] In one example, the ideal voltage vector of the grid-connected inverter is determined based on the total disturbance estimate and the current output by the inverter at the next time step, including:
[0079] The ideal voltage vector is determined based on the dynamic scaling factor, the total disturbance estimate, the current output by the grid-connected inverter at the next moment, and the preset reference current target value.
[0080] Wherein, the ideal voltage vector is ; For dynamic scaling factor, To preset the target reference current value, The current output by the grid-connected inverter at the next moment. This is the estimated total disturbance.
[0081] In practical implementation, the controller can first calculate the total disturbance estimate based on the previous control cycle. And the current output of the grid-connected inverter at the next moment, which is currently calculated. Combined with the preset reference current target value A current deviation term is generated, and this deviation term is divided by the sampling period. This is then combined with the total disturbance estimate to obtain the unscaled voltage command, which is subsequently scaled by a dynamic scaling factor. The amplitude of the voltage command is adjusted to output an ideal voltage vector. This ideal voltage vector can be directly used as input for solving the subsequent voltage vector action time, so as to drive the inverter to output the corresponding voltage space vector within the current sampling period.
[0082] By incorporating the preset reference current target value, the current output by the grid-connected inverter at the next moment, and the estimated total disturbance into the calculation expression of the ideal voltage vector, the voltage command can be kept consistent with the current tracking target. Furthermore, disturbance compensation and dynamic scaling can simultaneously participate in the generation of control quantities, thus making the output voltage vector more closely resemble the actual state of the object. Therefore, even under conditions of grid parameter fluctuations or disturbances, the grid-connected current can still be made closer to the preset reference current target value, improving the consistency of current tracking and the stability of the control output.
[0083] In one example, the voltage vector action time of the grid-connected inverter is determined based on the ideal voltage vector, including:
[0084] Determine the optimal feasible voltage vector based on the ideal voltage vector;
[0085] Obtain the DC bus voltage; and determine the theoretical vector action time based on the DC bus voltage and the optimal feasible voltage vector.
[0086] The voltage vector action time is determined based on the theoretical vector action time.
[0087] In practical implementation, the controller first receives the coordinate components of the ideal voltage vector and matches them with the inverter's voltage space vector set. Based on the current sector and switching state constraints, it selects the optimal feasible voltage vector that is closest to the ideal voltage vector in direction and has an achievable amplitude. Then, it acquires the DC bus voltage and, combined with the amplitude relationship of the selected optimal feasible voltage vector, calculates the theoretical vector's action time according to the voltage synthesis principle within the modulation period, ensuring it meets the output capability limited by the DC bus voltage. Furthermore, the controller can limit, normalize, or time-allocate the theoretical vector's action time to obtain the final voltage vector action time, which is then used to generate the corresponding drive pulse sequence.
[0088] During operation, the ideal voltage vector is first constrained to be the optimal feasible voltage vector that can be actually output by the inverter. Then, the theoretical vector action time is calculated based on the DC bus voltage. Finally, the voltage vector action time that can be directly used for switching modulation is formed, so that the voltage command is consistent with the inverter hardware conditions.
[0089] By adopting this method, the generation process of voltage vector action time is established in correspondence with DC bus voltage and feasible output vector, so that the modulation result can match the actual output boundary of inverter, thereby improving the feasibility of voltage command and control consistency, and providing a stable time reference for subsequent grid-connected current regulation.
[0090] In one example, the theoretical vector action time is ;in, For the preset sampling period, This is the DC bus voltage. The optimal feasible voltage vector. The phase angle of the optimal feasible voltage vector. This is a time calculation factor.
[0091] In practical implementation, after obtaining the ideal voltage vector, the controller first determines the optimal feasible voltage vector that is closest to the ideal voltage vector and satisfies the device constraints based on the inverter switching state set. Then read from the DC bus voltage sampling unit and combined with a preset sampling period and phase angle Calculations are performed. The optimal feasible voltage vector can be selected from the basic voltage vector of a two-level three-phase bridge inverter. Its magnitude is determined by the DC bus voltage, and its phase angle is determined based on the adjacent effective vector sector. As a time calculation factor, it is used to convert the phase offset into a theoretical vector action time correction, so that the calculation results are consistent with the spatial geometry within the current sector.
[0092] At runtime, the controller will , , and The theoretical vector action time is obtained by inputting the data into the calculation unit and performing multiplication and division operations. This result is used as a theoretical benchmark for the voltage vector application time, and the pulse width required for actual driving is then generated accordingly. Because the theoretical vector application time... It also incorporates the preset sampling period, DC bus voltage, vector amplitude, and phase angle, thus providing a stable time basis for subsequent switching timing allocation.
[0093] With this calculation method, the theoretical vector action time can be updated synchronously with the DC bus voltage fluctuation and vector phase change, making the voltage vector distribution more consistent with the current spatial vector position, thereby keeping the drive timing consistent with the inverter output state and providing accurate time support for the continuous adjustment of grid-connected current.
[0094] In one example, the voltage vector's duration is... ;in, For the theoretical vector action time, Let be the polarity function of the phase current to be calculated for the power switch transistor of the grid-connected inverter. This is the preset dead time constant of the power switching transistors in the grid-connected inverter.
[0095] In practical implementation, the controller obtains the theoretical vector action time. Then, the current of a certain phase of the grid-connected inverter is sampled, and the sampled value is input into the polarity function. The output current is determined to be either positive or negative. The polarity function output can be positive or negative, thus allowing the dead-time compensation to act on the theoretical vector action time in an additive or subtractive manner. A preset dead-time constant is also provided. The switching characteristics and drive delay of the inverter power devices are pre-calibrated and stored in the controller. The controller can call this constant in each sampling period to complete the compensation calculation, thereby obtaining the final voltage vector action time. And based on this, the corresponding switch drive signal is generated.
[0096] This compensation relationship allows the theoretical vector action time to be corrected for the dead zone effect based on the current direction. The direction of the compensation term changes depending on whether the current direction is positive or negative, thus making the output vector duration closer to the actual equivalent action time. Therefore, the controller uses the final voltage vector action time in subsequent PWM (Pulse Width Modulation) updates. Output gate signal to complete the modulation control of the grid-connected inverter.
[0097] By adopting this specific implementation method, the theoretical vector action time and the dead zone compensation amount form a linkage correction relationship, which can make the final voltage vector action time more closely match the actual conduction state of the power switch, improve the timing accuracy of current control, and reduce the impact of modulation deviation introduced by the dead zone on the grid-connected current quality.
[0098] In one example, the current differential information includes first current differential information and second current differential information. The first current differential information represents the current differential of the grid-connected inverter at the current moment, and the second current differential information represents the current differential of the grid-connected inverter at the previous moment.
[0099] The dynamic scaling factor is determined based on the current differential information and voltage differential information, including: determining the dynamic scaling factor based on the first current differential information, the second current differential information, the voltage differential information, and the preset sampling period;
[0100] Wherein, the dynamic scaling factor is ;in, This is the first current differential information. This is the second current differential information. For the preset sampling period, This is voltage differential information.
[0101] In practical implementation, the sampling unit follows a preset sampling period. The output current and output voltage of the grid-connected inverter are synchronously acquired, and the difference between the current sampled current and the previous sampled current is calculated to obtain the output voltage. The current difference between the previous and the time before that is taken as Δi(k-1), and the voltage change at the previous time is extracted as Δu(k-1). The controller performs division and differential operations based on these differential components to obtain the dynamic scaling factor. The result is then output to the subsequent voltage vector action time calculation module. The value of this dynamic scaling factor can be updated in real time with changes in current fluctuations and voltage disturbances, thus ensuring that the scaling relationship of the control quantity remains consistent with the grid-connected state.
[0102] In this approach, the current difference between the current and previous time points is used in the calculation, and the voltage difference is combined with a preset sampling period for normalization. This allows the dynamic scaling factor to more accurately reflect the dynamic changes of the grid-connected inverter within adjacent sampling intervals. Consequently, the matching degree between the control quantity determined based on this factor and the actual grid disturbance is improved, thereby enhancing the consistency of grid-connected current tracking and control stability.
[0103] like Figure 2 and Figure 3 As shown, this embodiment includes a signal sampling and coordinate transformation module, a discrete time-domain differential prediction module, a cost function and vector reconstruction module, and an SVPWM pulse generation and dead-zone compensation module.
[0104] Signal sampling and coordinate transformation module: This module is deployed on the AC output side and DC input side of the inverter to collect three-phase current in real time. ,Voltage and DC bus voltage This module utilizes Clark's transform algorithm to convert three-phase data into a two-phase stationary coordinate system. The signal sampling and coordinate transformation module transmits the processed digital signal to the prediction module via a high-speed data bus, ensuring data accuracy and real-time performance. Through real-time monitoring of current and voltage, this module provides fundamental data support for subsequent model-free control.
[0105] Discrete-Time Difference Prediction Module: This module uses the current time provided by the signal sampling module... Compared to the previous moment The data undergoes differential analysis to construct a hyperlocal model. The module estimates the system's dynamic scaling factor in real-time by calculating the ratio of the current difference component to the voltage difference component. And combined with the total disturbance estimate Predicting the next moment The discrete-time differential prediction module can respond without relying on the specific values of the filter inductor and winding resistance, calculating the ideal voltage vector that allows the current to track the reference value without beat, greatly improving the system's fault tolerance to parameter perturbations.
[0106] Cost Function and Vector Reconstruction Module: This module is based on the ideal voltage vector output by the prediction module. A cost function is introduced for constraint optimization. Through built-in geometric limiting and optimization algorithms, this module can consider the inverter's maximum output voltage limit (hexagonal boundary) and switching loss weights, and calculate the optimal feasible voltage vector in real time. The cost function and vector reconstruction module can not only adjust the output amplitude according to the linear modulation range of the system, but also reconstruct the vector trajectory proportionally when the reference voltage exceeds the limit, so as to ensure that the converter can achieve fast dynamic adjustment while maintaining the SVPWM fixed frequency characteristics.
[0107] SVPWM (Space Vector Pulse Width Modulation) pulse generation and dead-time compensation module: This interface is responsible for converting the optimal feasible voltage vector generated by the reconstruction module. The time is decomposed into the voltage vector action time and converted into a PWM (Pulse Width Modulation) drive signal. This module integrates dead-time compensation logic based on current polarity, directly adding or subtracting a preset dead-time constant when calculating the comparison register value. The SVPWM pulse generation and dead-time compensation module ensures the correct conduction of power devices through precise pulse distribution and corrects waveform distortion caused by hardware characteristics in real time to guarantee the sinusoidal nature of the grid-connected current.
[0108] Figure 4A schematic diagram of the control device for a grid-connected inverter based on voltage vector action time provided in this application is shown below. Figure 4 As shown, the control device 400 for a grid-connected inverter based on voltage vector action time provided in this embodiment includes:
[0109] The acquisition module 401 is used to acquire the real-time current and real-time voltage output of the grid-connected inverter in the power grid system;
[0110] The first determining module 402 is used to determine the current differential information and voltage differential information of the grid-connected inverter based on the real-time current and real-time voltage; wherein, the current differential information represents the current change of the grid-connected inverter, and the voltage differential information represents the voltage change of the grid-connected inverter.
[0111] The second determining module 403 is used to determine the dynamic scaling factor based on the current differential information and the voltage differential information; wherein, the dynamic scaling factor characterizes the rate of change of the real-time current output by the grid-connected inverter under voltage changes;
[0112] The third determining module 404 determines the voltage vector action time of the grid-connected inverter based on the dynamic scaling factor;
[0113] The drive module 405 is used to drive the grid-connected inverter according to the voltage vector action time.
[0114] In one possible implementation, the third determining module 404 is configured to:
[0115] Based on the dynamic scaling factor, the total disturbance estimate of the grid-connected inverter control system and the current output by the grid-connected inverter at the next moment are determined; whereby the total disturbance estimate characterizes the relationship between the current change of the grid-connected inverter and the voltage of the grid-connected inverter.
[0116] Based on the total disturbance estimate and the current output by the grid-connected inverter at the next moment, determine the ideal voltage vector of the grid-connected inverter;
[0117] Based on the ideal voltage vector, determine the voltage vector action time of the grid-connected inverter; and drive the grid-connected inverter according to the voltage vector action time.
[0118] In one possible implementation, the third determining module 404 is configured to:
[0119] The total disturbance estimate is determined based on the dynamic scaling factor, the current output of the grid-connected inverter at the current moment, the current output of the grid-connected inverter at the previous moment, the voltage output of the grid-connected inverter at the previous moment, and the preset sampling period.
[0120] The total disturbance estimate is as follows: ; This refers to the current output by the grid-connected inverter at the current moment. The current output by the grid-connected inverter at the previous moment. For the preset sampling period, The voltage output by the grid-connected inverter at the specified time. This is the dynamic scaling factor.
[0121] In one possible implementation, the third determining module 404 is configured to:
[0122] Obtain the disturbance estimate of the grid-connected inverter's control system at the current moment;
[0123] Based on the current output of the grid-connected inverter at the current moment, the voltage output of the grid-connected inverter at the current moment, the total disturbance estimate, and the disturbance estimate of the grid-connected inverter's control system at the current moment, determine the current output of the grid-connected inverter at the next moment.
[0124] The current output by the grid-connected inverter at the next moment is... ; This refers to the current output by the grid-connected inverter at the current moment. This is the estimated disturbance value of the grid-connected inverter's control system at the current moment. This refers to the voltage output by the grid-connected inverter at the current moment. This is the estimated total disturbance.
[0125] In one possible implementation, the third determining module 404 is used to: determine the ideal voltage vector based on the dynamic scaling factor, the total disturbance estimate, the current output by the grid-connected inverter at the next moment, and the preset reference current target value;
[0126] Wherein, the ideal voltage vector is ; For dynamic scaling factor, To preset the target reference current value, The current output by the grid-connected inverter at the next moment. This is the estimated total disturbance.
[0127] In one possible implementation, the drive module 405 is used for:
[0128] Determine the optimal feasible voltage vector based on the ideal voltage vector;
[0129] Obtain the DC bus voltage; and determine the theoretical vector action time based on the DC bus voltage and the optimal feasible voltage vector.
[0130] The voltage vector action time is determined based on the theoretical vector action time.
[0131] In one possible implementation, the theoretical vector action time is ;in, For the preset sampling period, This is the DC bus voltage. The optimal feasible voltage vector. The phase angle of the optimal feasible voltage vector. This is a time calculation factor.
[0132] In one possible implementation, the voltage vector action time is ;in, For the theoretical vector action time, Let be the polarity function of the phase current to be calculated for the power switch transistor of the grid-connected inverter. This is the preset dead time constant of the power switching transistors in the grid-connected inverter.
[0133] In one possible implementation, the current differential information includes first current differential information and second current differential information, wherein the first current differential information characterizes the current differential of the grid-connected inverter at the current moment, and the second current differential information characterizes the current differential of the grid-connected inverter at the previous moment; the second determining module 403 is used for:
[0134] The dynamic scaling factor is determined based on the first current differential information, the second current differential information, the voltage differential information, and the preset sampling period.
[0135] Wherein, the dynamic scaling factor is ;in, This is the first current differential information. This is the second current differential information. For the preset sampling period, This is voltage differential information.
[0136] The control device for grid-connected inverters based on voltage vector action time provided in this embodiment can execute the method provided in the above-described method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.
[0137] Figure 5 A schematic diagram of the structure of the electronic device provided in this application. Figure 5 As shown, the electronic device 500 provided in this embodiment includes at least one processor 501 and a memory 502. Optionally, the electronic device 500 further includes a communication component 503. The processor 501, memory 502, and communication component 503 are connected via a bus. The electronic device may be, for example, a controller.
[0138] In a specific implementation, at least one processor 501 executes computer execution instructions stored in memory 502, causing at least one processor 501 to perform the above-described method.
[0139] The specific implementation process of processor 501 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0140] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0141] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.
[0142] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0143] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0144] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.
[0145] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0146] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.
[0147] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.
[0148] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0149] In addition, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0150] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a 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 includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. 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.
[0151] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.
[0152] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope.
Claims
1. A control method for a grid-connected inverter based on voltage vector action time, characterized in that, The method includes: The system acquires the real-time current and real-time voltage output of the grid-connected inverter in the power grid system; and determines the current differential information and voltage differential information of the grid-connected inverter based on the real-time current and the real-time voltage; wherein the current differential information characterizes the current change of the grid-connected inverter, and the voltage differential information characterizes the voltage change of the grid-connected inverter. Based on the current differential information and the voltage differential information, a dynamic scaling factor is determined; wherein, the dynamic scaling factor characterizes the rate of change of the real-time current output by the grid-connected inverter under voltage variation; The voltage vector action time of the grid-connected inverter is determined based on the dynamic scaling factor; and the grid-connected inverter is driven based on the voltage vector action time.
2. The method according to claim 1, characterized in that, Determining the voltage vector action time of the grid-connected inverter based on the dynamic scaling factor includes: Based on the dynamic scaling factor, the total disturbance estimate of the control system of the grid-connected inverter and the current output by the grid-connected inverter at the next moment are determined; wherein, the total disturbance estimate characterizes the relationship between the current change of the grid-connected inverter and the voltage of the grid-connected inverter; Based on the total disturbance estimate and the current output by the grid-connected inverter at the next moment, determine the ideal voltage vector of the grid-connected inverter; The voltage vector action time of the grid-connected inverter is determined based on the ideal voltage vector; and the grid-connected inverter is driven based on the voltage vector action time.
3. The method according to claim 2, characterized in that, Based on the dynamic scaling factor, the total disturbance estimate of the control system of the grid-connected inverter is determined, including: The total disturbance estimate is determined based on the dynamic scaling factor, the current output by the grid-connected inverter at the current moment, the current output by the grid-connected inverter at the previous moment, the voltage output by the grid-connected inverter at the previous moment, and the preset sampling period. The total disturbance estimate is as follows: ; The current output by the grid-connected inverter at the current moment. The current output by the grid-connected inverter at the previous moment. The preset sampling period is... The voltage output by the grid-connected inverter at the specified time is [value missing]. is the dynamic scaling factor.
4. The method according to claim 2, characterized in that, Based on the dynamic scaling factor, the current output by the grid-connected inverter at the next moment is determined, including: Obtain the disturbance estimate of the control system of the grid-connected inverter at the current moment; Based on the current output of the grid-connected inverter at the current moment, the voltage output of the grid-connected inverter at the current moment, the total disturbance estimate, and the disturbance estimate of the control system of the grid-connected inverter at the current moment, determine the current output of the grid-connected inverter at the next moment. Wherein, the current output by the grid-connected inverter at the next moment is ; The current output by the grid-connected inverter at the current moment. This is the estimated disturbance value of the control system of the grid-connected inverter at the current moment. The voltage output by the grid-connected inverter at the current moment. This is the estimated total disturbance.
5. The method according to claim 2, characterized in that, Based on the estimated total disturbance and the current output by the grid-connected inverter at the next moment, the ideal voltage vector of the grid-connected inverter is determined, including: The ideal voltage vector is determined based on the dynamic scaling factor, the total disturbance estimate, the current output by the grid-connected inverter at the next moment, and the preset reference current target value. Wherein, the ideal voltage vector is ; The dynamic scaling factor, The preset reference current target value, The current output by the grid-connected inverter at the next moment. This is the estimated total disturbance.
6. The method according to claim 2, characterized in that, Determining the voltage vector action time of the grid-connected inverter based on the ideal voltage vector includes: Based on the ideal voltage vector, determine the optimal feasible voltage vector; Obtain the DC bus voltage; and determine the theoretical vector action time based on the DC bus voltage and the optimal feasible voltage vector; The voltage vector application time is determined based on the theoretical vector application time.
7. The method according to claim 6, characterized in that, The theoretical vector action time is ;in, For the preset sampling period, The DC bus voltage is... This is the optimal feasible voltage vector. The phase angle of the optimal feasible voltage vector. This is a time calculation factor.
8. The method according to claim 6, characterized in that, The voltage vector's duration of action is ;in, The theoretical vector action time, Let be the polarity function of the phase current to be calculated for the power switch transistor of the grid-connected inverter. The preset dead time constant of the power switching transistor of the grid-connected inverter is denoted as .
9. The method according to any one of claims 1-8, characterized in that, The current differential information includes first current differential information and second current differential information. The first current differential information represents the current differential of the grid-connected inverter at the current moment, and the second current differential information represents the current differential of the grid-connected inverter at the previous moment. The step of determining the dynamic scaling factor based on the current differential information and the voltage differential information includes: determining the dynamic scaling factor based on the first current differential information, the second current differential information, the voltage differential information, and a preset sampling period; Wherein, the dynamic scaling factor is ;in, This is the first current differential information. This is the second current differential information. The preset sampling period is... This refers to the voltage differential information.
10. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-9.
