Microgrid inverter on-grid and off-grid smooth switching control system and method
By using the combined solution of PI-PR voltage controller and current controller in the microgrid inverter, the problem of difficulty in off-grid switching of the microgrid inverter under nonlinear and unbalanced loads is solved, and the voltage quality is improved. Matching with the load ensures uninterrupted power supply for important loads.
Patent Information
- Application Number
- CN202410931007.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-07-12
AI Technical Summary
Existing microgrid inverters are difficult to achieve smooth on-grid and off-grid switching under nonlinear and unbalanced load conditions, resulting in voltage distortion and three-phase imbalance, and cannot guarantee uninterrupted power supply to important loads.
A microgrid inverter and off-grid smooth switching control system is designed, using PI-PR voltage controller and current controller, controlled by power outer loop and current inner loop, combined with power quality detection module and load voltage stabilizer. Optimize the current and voltage control of the inverter in grid-connected and off-grid modes to ensure voltage quality and load matching when unplanned off-grid.
Under non-linear and unbalanced load conditions, the voltage quality of the inverter in off-grid mode and the power quality of grid-connected current are improved, ensuring smooth switching and uninterrupted operation of important loads during unplanned off-grid conditions. powered by.
Smart Images

Figure CN118473012B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power systems, and in particular to a microgrid inverter on-grid and off-grid smooth switching control system and method. Background Art
[0002] With the continuous advancement of the "dual carbon" goal, my country is accelerating the construction of a new power system with new energy as the main body, promoting the transformation of the energy industry, and the microgrid composed of new energy, loads and energy storage devices has become an important part of the smart grid and energy Internet. However, when encountering major natural disasters or other factors that cause grid failures, the microgrid needs to smoothly transition from the grid-connected mode to the off-grid independent operation mode to ensure the continuous power supply of key loads, which requires the microgrid grid-connected inverter to have multi-mode switching capabilities. However, at present, most of the research on grid-connected inverter on-grid switching is in the case of linear loads, and there are few studies on the planned or unplanned grid-connected and off-grid mode switching of inverters with nonlinear loads. In the case of inverters with nonlinear loads, after the grid-connected point loses grid support, the grid-connected point voltage will be distorted and three-phase unbalanced, the voltage quality is poor, and it cannot meet the electricity consumption standards, nor can it guarantee the effective power supply of important loads. Therefore, in order to ensure that the microgrid is smoothly disconnected from the grid when an unplanned off-grid occurs and to ensure uninterrupted power supply to important loads, it is of great significance to study the control strategy of smooth grid-connected and off-grid switching of multifunctional inverters in microgrids with nonlinear loads.
[0003] At present, the master-slave microgrid is widely used due to its maturity and simplicity. The master inverter is a key part of the microgrid. It realizes current control in the grid-connected mode and provides stable and high-quality active grid-connected current. It performs voltage control in off-grid operation and establishes a qualified voltage to replace the grid to supply power to the load. Since the control targets of the main inverter when it is connected to the grid and when it is off-grid are different, the switching between on-grid and off-grid will cause a large voltage fluctuation. In particular, when unplanned off-grid occurs, it is necessary to complete the island detection and switch the control strategy. However, during the island detection, the microgrid has lost the support of the grid, and the output power of the inverter is unbalanced with the power demanded by the load. These situations will aggravate the voltage fluctuation of the AC bus of the microgrid and have a great impact on the power load. In addition, when the inverter operates with nonlinear and unbalanced loads, the AC bus voltage of the microgrid in the off-grid state is prone to distortion and three-phase imbalance, and the quality deteriorates, which does not meet the power requirements of the microgrid load. Summary of the invention
[0004] In order to ensure uninterrupted power supply to important loads of a microgrid, the present invention provides a control system and method for smooth on-grid and off-grid switching of a microgrid inverter, studies the on-grid and off-grid switching control of a master inverter of a master-slave architecture microgrid, and takes into account nonlinear and unbalanced load conditions, as well as unplanned off-grid disconnection of the microgrid caused by a serious fault in the power grid, and the reintegration of the microgrid into the power grid after fault recovery.
[0005] The present invention is achieved through the following technical solutions:
[0006] A microgrid inverter on-grid and off-grid smooth switching control system, the microgrid inverter includes a DC power supply, a main inverter and an LCL filter, including:
[0007] The power outer loop controller is used to receive the output current of the main inverter during the islanding detection period. i o and the reference current of the main inverter i oref The first difference is obtained by performing a difference, and the first difference is passed through the current controller G I2 And the limiter gets the final current compensation △ I o Output, wherein the final current compensation amount △ I o Within the set first threshold; and when the main inverter is in the grid-connected mode, the first difference is converted by the current controller G I2 The final current compensation value △ I o Output; When the main inverter is in off-grid mode, the final current compensation amount △ is not output I o ;
[0008] Voltage controller for output equal to load rated current during off-grid mode, grid-connected mode, and island detection i L Subtract the harmonics and negative sequence current components extracted by the power detection module during the corresponding period i LH The output current of the difference i L0 ;
[0009] The addition module adds the final current compensation amount △ I o , the output current of the voltage controller i L0 , grid-connected current i g , harmonics and negative sequence current components extracted by the power detection module i LH , the capacitor current in steady state is summarized as the reference current of the inverter side filter inductor i sref Input to the current inner loop controller, so that the reference current of the inverter side filter inductor during island detection i sref The output current of the inverter side filter inductor is The difference between them is within the set second threshold range.
[0010] As an optimization, the power outer loop controller includes a power control module, a first subtractor, a current controller G I2 , limiter and second SPDT switch S T2 And the power controller outer loop switch S3, active reference power P ref , reactive reference power Q ref The reference current is obtained by the power control module i oref , the reference current of the main inverter i oref The output current of the main inverter i o The first difference is obtained by performing subtraction between the first subtractor and the first difference is passed through the current controller G I2 Get the initial current compensation value △ i od , the current controller G I2 One end of which is connected to the second single-pole double-throw switch S T2 One of the static ends is connected to the current controller G I2 The other end is connected to the second single-pole double-throw switch S through the limiter T2 The other static end of the second single-pole double-throw switch S T2 The moving end of the power controller is connected to the input end of the adding module through the outer loop switch S3 of the power controller, so that the initial current compensation amount △ i o Or intermediate current compensation △ i o_l Can be used as the final current compensation amount △ I o , wherein the intermediate current compensation amount △ i o_l is the initial current compensation amount △ i o The value after passing through the limiter, and the intermediate current compensation value △ i o_l The difference from 0 is within a set first threshold.
[0011] As an optimization, the intermediate current compensation amount △ i o_l is the initial current compensation amount △ i o of times, .
[0012] As an optimization, the voltage controller includes a voltage outer loop controller, a load voltage stabilizer and a third single-pole double-throw switch S T3 When the main inverter is in the grid-connected mode and during the island detection period, the third single-pole double-throw switch S T3 Select the load voltage stabilizer output size equal to the load rated current i L The output current minus the difference between the harmonics and negative sequence current components extracted by the power detection module during grid-connected mode or island detection i L0 When the main inverter is in off-grid mode, the third single-pole double-throw switch S T3 Select the voltage outer loop controller output size to be equal to the load rated current i L The output current minus the difference between the harmonics and negative sequence current components extracted by the power detection module during the corresponding grid-connected mode or island detection period i L0 .
[0013] As an optimization, the voltage outer loop controller includes a second subtractor and a PR-PI composite controller, and the input end of the second subtractor is respectively input with the reference voltage of the main inverter. u oref and the actual output voltage of the main inverter u o , and the output end of the second subtractor is connected to a third single-pole double-throw switch S T3 One of the static ends of the third single-pole double-throw switch S T3 The dynamic end is connected to the input end of the PR-PI composite controller, and the output end of the PR-PI composite controller is connected to the input end of the addition module.
[0014] As an optimization, the load voltage stabilizer includes a third subtractor and a PR-PI compound controller, and both input ends of the third subtractor are connected to the output end of the PR-PI compound controller.
[0015] As an optimization, it also includes a current inner loop controller and a SVPWM module, and the output end of the addition module is connected to the main inverter through the inner loop controller and the SVPWM module in sequence.
[0016] As an optimization, the current inner loop controller includes a fourth subtractor and a PR current controller, and the input end of the fourth subtractor is respectively input with the reference current of the inverter side filter inductor i sref and the output current of the inverter side filter inductor i s, the output end of the fourth subtractor is connected to the SVPWM module.
[0017] The present invention also discloses a microgrid inverter on-grid and off-grid smooth switching control method, which adopts the aforementioned microgrid inverter on-grid and off-grid smooth switching control system to smoothly switch the main inverter on-grid and off-grid during the island detection period. When the main microgrid inverter is in the island detection period, the power controller outer loop switch S3 is closed, so that the final output of the power outer loop controller △ I o The voltage controller uses a voltage outer loop controller to output a current whose value is equal to the rated current of the load. i L Subtract the harmonics and negative sequence current components extracted by the power detection module during island detection i LH The output current of the difference i L0 , and let the final output △ I o , the output current of the voltage controller i L0 , Capacitor steady-state current i c Together as the reference current of the inverter side filter inductor i sref Input to the current inner loop controller, so that the reference current i sref The current in steady state with capacitor i c Load rated current i L The difference between the sum of the values is less than the set difference threshold.
[0018] As an optimization, it also includes:
[0019] When the main inverter is in grid-connected mode, the power controller outer loop switch S3 is closed, making the final output of the power outer loop controller △ I o Directly for the current controller G I2 The output of the voltage controller uses a load voltage regulator whose output is equal to the load rated current. i L The output current minus the difference between the harmonic and negative sequence current components extracted by the power detection module in the grid-connected mode i L0 , and let the final output △ I o 、 Output Current i L0 , grid-connected current ig , harmonics and negative sequence current components extracted by the power detection module i LH , Capacitor steady state current i c Common as reference current i sref Input to the current inner loop controller;
[0020] When the reference inverter is in off-grid mode, the power controller outer loop switch S3 is disconnected, and the voltage controller uses the voltage outer loop controller output to be equal to the rated current of the load. i L Subtract the harmonics and negative sequence current components extracted by the power detection module in off-grid mode i LH The output current of the difference i L0 , the output current value i L0 and capacitor steady-state current i c Common as reference current i sref Input to the current inner loop controller;
[0021] When the off-grid mode is switched to the grid-connected mode, the power controller outer loop switch S3 is closed, making the final output of the power outer loop controller △ I o Directly for the current controller G I2 The output of the voltage controller uses a load voltage regulator whose output is equal to the load rated current. i L The output current minus the difference between the harmonics and negative sequence current components extracted by the power detection module in the grid-connected mode i L0 , and let the final output △ I o 、 Output Current i L0 , grid-connected current i g , harmonics and negative sequence current components extracted by the power detection module i LH , Capacitor steady state current i c Common as reference current i sref Input to the current inner loop controller;
[0022] When the grid-connected mode is switched to the off-grid mode, the outer loop switch S3 of the power controller is disconnected, so that the final output of the outer loop controller △ Io Directly for the current controller G I2 The output of the voltage controller adopts the voltage outer loop controller, the output size of which is equal to the rated current of the load i L The output current minus the difference between the harmonics and negative sequence current components extracted by the power detection module in off-grid mode i L0 , the output current i L0 and capacitor steady-state current i c Common as the reference current value i sref Input to the current inner loop controller.
[0023] Compared with the prior art, the present invention has the following advantages and beneficial effects:
[0024] The control system of the present invention, when the nonlinear and unbalanced loads remain unchanged, the inverter controls the AC bus voltage through the PI-PR voltage controller outer loop and the current controller inner loop in the off-grid mode; when the inverter is in the grid-connected mode, the PI-PR voltage controller acts as a load voltage stabilizer, and the output is consistent with the output in the off-grid mode. At the same time, in conjunction with the grid-connected current feedforward, the power controller outer loop, the power quality detection module and the current inner loop are improved to jointly adjust the grid-connected current, improve the power quality of the grid-connected current, and ensure that in the island detection stage of unplanned off-grid, the output of the PI-PR voltage controller can match the load current, so as to ensure the output of a qualified and stable voltage. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] The drawings described herein are used to provide a further understanding of the embodiments of the present invention, constitute a part of this application, and do not constitute a limitation of the embodiments of the present invention. In the drawings:
[0026] Figure 1 Simplified control structure diagram for microgrid system;
[0027] Figure 2 This is a diagram showing the relationship between the main working modes of the inverter and the states of each switch;
[0028] Figure 3 This is the d-axis control structure diagram for the improved PQ / VF switching;
[0029] Figure 4 It is a control diagram of the grid-connected multifunctional inverter in the dq coordinate system of the present invention;
[0030] Figure 5 This is a multi-mode operation flow chart of the multi-function inverter in the present invention;
[0031] Figure 6A simplified diagram of the control structure of the multifunctional inverter in the off-grid mode of the present invention;
[0032] Figure 7 A simplified diagram of the control structure of the multifunctional inverter in the grid-connected mode of the present invention;
[0033] Figure 8 A simplified diagram of the control structure of the multifunctional inverter during island detection in the present invention;
[0034] Fig. 9 It is a simulation topology diagram of the multifunctional inverter in the present invention;
[0035] Fig.10 Output voltage of the full-mode operation of the grid-connected inverter with the traditional switching control strategy u oabc , grid-connected current i gabc , inverter output current i oabc Simulation waveform diagram;
[0036] Fig.11 for Fig.10 The waveform enlarged schematic diagram of the rectangular frame a in the middle;
[0037] Fig.12 for Fig.10 The waveform enlarged schematic diagram of the rectangular frame in middle b;
[0038] Fig.13 The output voltage of the grid-connected inverter in the present invention in full mode operation is u oabc , grid-connected current i gabc , inverter output current i oabc Simulation waveform diagram;
[0039] Fig.14 for Fig.13 The waveform enlarged schematic diagram of the rectangular frame a in the middle;
[0040] Fig.15 for Fig.13 The waveform enlarged schematic diagram of the rectangular frame in middle b;
[0041] Fig.16 This is a diagram showing the changes of various electrical quantities in the dq coordinate system during unplanned off-grid operation under the multi-modal control strategy proposed in the present invention;
[0042] Fig.17 is the load current of the off-grid mode inverter using the traditional control strategy i Labc , grid-connected inverter output voltage u oabc With output currenti oabc The experimental waveform diagram,
[0043] Fig.18 is the load current of the off-grid mode inverter using a multi-mode control strategy i Labc , grid-connected inverter output voltage u oabc With output current i oabc Experimental waveform diagram of
[0044] Fig.19 The figure shows the THD measurement results of the inverter output voltage under the traditional control strategy and the multi-modal control strategy;
[0045] Fig. 20 The output voltage of phase A of the inverter at the moment of grid connection startup under synchronous control u oa , a-phase grid-connected voltage u oa Grid-connected current with phase a i ga Experimental waveform diagram;
[0046] Fig.21 This is the experimental waveform of the power change of the grid-connected mode inverter;
[0047] Fig. 22 Load current before power quality control i Labc , grid-connected current i gabc and inverter output current i oabc Experimental waveform diagram,
[0048] Fig.23 Load current of the multifunctional inverter in grid-connected mode after power quality management i Labc , grid-connected current i gabc and inverter output current i oabc Experimental waveform diagram;
[0049] Fig.24 To monitor the grid current of the multi-function inverter in grid-connected mode i gabc THD measurement result diagram;
[0050] Fig.25 The output voltage of inverter phase A using traditional PQ / VF switching control before and after unplanned off-grid operation u oa , output current ioa And A phase grid current i ga Experimental waveform diagram of
[0051] Fig.26 The three-phase output voltage of the inverter using traditional PQ / VF switching control before and after unplanned off-grid operation u oabc The experimental waveform of
[0052] Fig. 27 The inverter A phase output voltage before and after the unplanned off-grid operation using the control method of the present invention is u oa , output current i oa And A phase grid current i ga The experimental waveform of
[0053] Fig.28 The three-phase output voltage of the inverter using the multi-mode control strategy before and after the unplanned off-grid u oabc The experimental waveform. DETAILED DESCRIPTION
[0054] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with embodiments and drawings. The exemplary embodiments of the present invention and their description are only used to explain the present invention and are not intended to limit the present invention.
[0055] The simplified diagram of the existing master-slave microgrid is as follows: Figure 1 As shown, the DC side is replaced by a constant DC source, and the three-phase inverter is the main inverter. U dc is the DC side bus voltage, the AC side consists of LCL filter, nonlinear load, unbalanced load, linear load, grid-side instantaneous protection switch S1, microgrid controllable protection switch S2 and grid, and the DC power supply, main inverter and LCL filter constitute the microgrid inverter. L f is the inverter side filter inductor, L g is the grid-side filter inductor, C f is the filter capacitor, R f and R g are the parasitic resistance of the filter inductor, R d It is the damping resistor in series with the filter capacitor. u gn (n=a,b,c) is the grid voltage,u on (n=a,b,c) is the output voltage of the main inverter side, that is, the output voltage of the main inverter, u cn (n=a,b,c) is the voltage of the filter capacitor (not marked in the figure), i sn (n=a,b,c) is the inverter side filter inductor L f The output current, i gn (n=a,b,c) is the grid-connected current, i Ln (n=a,b,c) is the nonlinear load and unbalanced load current, S an (n=0,1) is the control switch. a0 Indicates that the microgrid inverter is working or the main inverter is in grid-connected mode. The control object is the grid-connected current. The control strategy at this time is PQ control. By controlling the inverter side filter inductance L f Output active current i od and reactive current i oq To control the microgrid inverter to output active power P and reactive power Q; S a1 It means that the multi-function inverter works in off-grid mode, the control object is the inverter output voltage, and the control strategy is VF constant voltage and constant frequency control. Figure 1 middle, i oacb That is i on (n=a,b,c), the same goes for other parameters.
[0056] For the convenience of description, n is ignored in the following numbers. u gn (n=a,b,c) u g replace, u g It is expressed as grid voltage, and other parameters are similar.
[0057] Here we briefly explain the relationship between several parameters.
[0058] like Figure 1 As shown, the microgrid inverter includes a DC power supply, a main inverter and an LCL filter. The inverter side filter inductor L f Current i s = Output current of main inverter io +Capacitor current at steady state i c ;
[0059] Output current of main inverter i o =Grid-connected current i g+ Non-linear load and unbalanced load current i L .
[0060] The relationship between the main working modes of the multifunctional microgrid inverter and the switch states is as follows: Figure 2 The microgrid inverter starts pre-synchronization control before the planned grid connection. u PCC When the amplitude and phase of the grid are consistent with the grid, the grid connection signal is issued. At this time, S1 and S2 are closed to start seamless smooth planned grid connection. After grid connection, the grid connection point voltage u PCC Supported by the grid. If the grid fails suddenly, S2 is disconnected, the microgrid loses grid support, and the island detection module recognizes that the microgrid is in an island state after a period of time. During the island detection and identification period, the inverter is still current controlled and outputs a given power. Due to the imbalance between the inverter output power and the load demand power, and the grid connection point voltage u PCC Without the grid clamping function, the grid connection point voltage will suddenly fluctuate, or even unstable oscillate, affecting the load power supply quality. After the island detection is completed, a grid-off signal is issued, S1 is disconnected, and the inverter switches from current control to voltage control. The grid connection point voltage u PCC Supported by the inverter. When the power grid returns to normal, the pre-synchronization control is restarted, a grid-connection signal is issued, and S1 and S2 are closed to start the grid connection.
[0061] When the microgrid inverter is connected to the grid, the filter inductor L f Current i s satisfy:
[0062] i s= i L+ i g+ i c (1)
[0063] in, i L , i c , ig They are three-phase load current, capacitor current and grid-connected current respectively.
[0064] When the grid fails, the microgrid loses contact with the grid and is off-grid. i g is 0, i s The relationship is:
[0065] i s= i L+ i c (2)
[0066] Taking the d-axis component as an example, it can be seen from equations (1) and (2) that when a grid failure occurs or an unplanned island occurs, the microgrid loses grid support. During the island detection period, the multifunctional inverter is still current controlled. At this time, the filter inductor L f Current i sd A sudden change occurs, but due to the filter inductance L f The given reference value of the current i sdref unchanged, and thus the filter inductance L f Current i sd and i sdref The difference between them will also change suddenly. At this time, the inverter output power does not match the load demand power, causing the inverter to output excess power into the load and the load voltage to increase.
[0067] The current reference values are all filter inductors L f Current reference value i sdref , the feedback value is the actual filter inductance L f Current i sd , the main inverter output three-phase current should be i oabc , the corresponding d-axis component is i od But in fact, due to i cd Very small, so i sd and i od Can be approximately equal.
[0068] For the convenience of description, all parameters of the present invention are analyzed by taking the d-axis component as an example. Therefore, if d appears in the subsequent parameter subscript, it represents the d-axis component of the parameter.
[0069] The present invention improves the traditional PQ / VF control method from the following two aspects to ensure that the microgrid can smoothly switch between grid and off-grid when it is unplanned to go off-grid. First, the PR controller is introduced to compensate for the harmonics and unbalanced voltage of the microgrid when it is off-grid, so that the output voltage THD of the inverter meets the qualified standard when it is switched to off-grid state. Second, a load voltage regulator is designed to make the output control quantity of the outer loop of the voltage controller of the inverter off-grid mode and grid-connected mode almost the same (the output quantity is i Ld0 ), and the grid-connected to off-grid switching is smoother. Through the load voltage stabilizer, the load current is kept at the rated value, and the grid-connected current is introduced i gd (It is actually the d-axis component of the grid-connected current, and the same applies to the subsequent parameters) Feedforward and current compensator, by limiting the reference value of the inner loop current of the main inverter i sdref The sudden change makes it consistent with the load rated current value during the island detection period i Ld The current in the steady state with the capacitor i cd The difference of the sum is less than the difference threshold, maintaining the inverter output voltage stable. Steady state means that the capacitor voltage is approximately unchanged, which can be understood as the state when the capacitor voltage in the grid-connected mode is unchanged.
[0070] This embodiment 1 provides a microgrid inverter on-grid and off-grid smooth switching control system, such as Figure 3-Figure 4 As shown, including:
[0071] The power outer loop controller is used to receive the output current value of the main inverter during the island detection period. i o (The grid-side filter inductor of the LCL filter R g actual current after the main inverter) and the current reference value of the main inverter i oref (Grid-side filter inductor of LCL filter R g The first difference is obtained by subtracting the reference current after the current controller G I2 The final current compensation value △ whose difference from 0 is within the set first threshold value I oOutput, that is, the power outer loop controller is used to obtain a first difference by subtracting the received output current of the main inverter from the reference current of the main inverter during the island detection period, and outputting the first difference through the current controller G I2 and the limiter into a final current compensation amount for output, the final current compensation amount is within the set first threshold, that is, during the island detection period, the final current compensation amount △ I o The offer is equal to 0. The range of the first threshold here is determined according to actual conditions.
[0072] When the main inverter (or microgrid inverter) is in the grid-connected mode, the first difference is converted by the current controller G I2 The final current compensation value △ I o Output; When the main inverter is in off-grid mode, the final current compensation amount △ is not output I o ;
[0073] Voltage controller for output equal to load rated current during off-grid mode, grid-connected mode, and island detection i L Subtract the harmonics and negative sequence current components extracted by the power detection module during the corresponding period i LH The output current of the difference i L0 ;
[0074] The harmonics and negative sequence current components extracted by the power detection module during the corresponding period here refer to if in off-grid mode and during island detection, i LH =0, grid-connected mode, i LH Not equal to 0.
[0075] The addition module adds the final current compensation amount △ I o , the output current value of the voltage controller i L0 , grid-connected current i g , harmonics and negative sequence current components extracted by the power detection module i LH After summing up, it is used as the reference current of the main inverter output current i sref Input to the current inner loop controller, so that the reference current of the inverter side filter inductor during island detection i sref The output current of the main inverter side filter inductor is The difference between them is within the set second threshold range. i LH It is the harmonic and negative sequence current components in the load current detected by the harmonic and current detection module. The current detection module works only in the grid-connected mode and does not work in the off-grid mode. i LdH =0, in off-grid mode, the main control targets are voltage harmonics and negative sequence components, which are controlled by the PR controller in the PI-PR harmonic voltage controller.
[0076] It also includes a current inner loop controller and a SVPWM module, and the output end of the addition module is connected to the main inverter through the inner loop controller and the SVPWM module in sequence.
[0077] Specifically, the current inner loop controller includes a fourth subtractor and a PR current controller, and the input end of the fourth subtractor inputs a reference current i sref and output current i s , (positive terminal reference current i sref , negative terminal output current i s ) The output end of the fourth subtractor is connected to the SVPWM module.
[0078] Improved PQ / VF switching d-axis control structure Figure 3 The overall control structure includes a voltage outer loop controller, a power outer loop controller, a current inner loop controller and a power quality detection module. The d-axis reference value of the current inner loop of the improved control structure i sdref It consists of five parts, namely
[0079] ; (3)
[0080] Reference current i sdref= i cd+ i Ld0+ i LdH+ △ I od+ i gd , but the capacitor current i cd It is very small and will be ignored in the discussion. In the grid-connected mode, the grid-connected current is not 0 and the current detection module works, so the reference current formula can be i sdref= iLd0+ i LdH+ △ I od+ i gd .
[0081] in, i Ld0 is the d-axis component of the control quantity generated by the outer loop of the voltage controller, i cd is the d-axis component of the capacitor current, i gd is the d-axis component of the grid-connected current, △ I od is the d-axis component of the final current compensation output by the power outer loop controller, i LdH It is the d-axis component of the harmonic and negative-sequence current components extracted by the current detection module (electric energy detection module).
[0082] By introducing grid-connected current i gd , harmonics and negative sequence current components extracted by the current detection module i LdH and capacitor current i cd Feedforward, so that they become part of the current inner loop reference value. When an unplanned disconnection occurs, i gd The grid-connected current feedforward part in the current inner loop reference value also becomes 0, reducing the current inner loop reference value. i sdref , so that (the current inner loop reference value i sdref ) and the inverter side filter inductor L f Current i sd The actual value size matches and reduces i sd oscillation.
[0083] In terms of the power outer loop, unlike the traditional PQ control power outer loop, an additional current compensator and limiter are added to suppress the output current of the microgrid inverter when the inverter is unplanned off-grid. i od The output current of the main inverter i od , Load rated current i Ld and grid current i gd The relationship between the three is:
[0084] i od = i gd+ i Ld (4)
[0085] Specifically, Figure 3 As shown, the power outer loop controller includes a power control module, a first subtractor, a current controller G I2 , limiter and second SPDT switch S T2 And the power controller outer loop switch S3, active reference power P ref , reactive reference power Q ref The reference current of the main inverter is obtained by the power control module i oref , the reference current of the main inverter i oref The actual output current of the main inverter i o The first subtractor performs a subtraction to obtain a first difference (positive terminal reference current i oref , negative terminal output current i o ), the first difference passes through the current controller G I2 Get the initial current compensation value △ i od , the current controller G I2 One end of which is connected to the second single-pole double-throw switch S T2 One of the static ends is connected to the current controller G I2 The other end is connected to the second single-pole double-throw switch S through the limiter T2 The other static end of the second single-pole double-throw switch S T2 The moving end of the power controller is connected to the input end of the adding module through the outer loop switch S3 of the power controller, so that the initial current compensation amount △ i o Or intermediate current compensation △ i o_l Can be used as the final current compensation amount △ I o , wherein the intermediate current compensation amount △ i o_l is the initial current compensation amount △ i o The value after passing through the limiter, and the intermediate current compensation value △ i o_l The difference between the intermediate current compensation value △i o_l is the initial current compensation amount △ i o of times, .
[0086] Take the d-axis component as an example for analysis.
[0087] When an unplanned off-grid event occurs, switch S T2 =1, due to detection i gd is 0, the limiter starts working, S1 is closed, and during the island detection period i gd The sudden change to 0 causes the main inverter to output current i od Mutation, then i odref and i od The difference also changes suddenly, but the current regulator G I2 Under the action of the limiter, it quickly reaches saturation, limiting the output current of the main inverter i o Oscillation changes, the relevant expression is:
[0088] (5)
[0089] Among them, △ i od G is the current controller without limiter I2 Output value, is the current controller G I2 The output value under the action of the limiter, i odref A reference value is given to the inverter output current calculated by the power outer loop, that is, the reference current of the output of the main inverter. P ref Give a reference value for the inverter output active power, u od is the microgrid inverter output voltage, K p1 , K i1 G I2 The proportional coefficient and integral coefficient of is the limiter's limit multiple, the value range is .
[0090] Final output of power controller△ I od for:
[0091] 6)
[0092] During the island detection period, the changed current reference value can be derived from equations (3), (5), and (6): i sdref for
[0093] (7)
[0094] Due to power grid failure i gd , i LdH is 0, and the LCL filter capacitor value current i cd Relative to i Ld0 is very small, and equation (7) can be simplified to
[0095] (8)
[0096] From formula (8), we can see that we only need to use a limiter to Control to a smaller value, while ensuring the voltage controller output load current i Ld0 Rated current of the load i Ld , which can reduce i od , i sd Current and Active Power P oscillation.
[0097] The voltage controller includes a voltage outer loop controller, a load voltage stabilizer and a third single-pole double-throw switch S T3 When the microgrid inverter is in the grid-connected mode and during the island detection period, the third single-pole double-throw switch S T3 Select the load voltage stabilizer output size equal to the load rated current i L Subtract the harmonics and negative sequence current components extracted by the power detection module during grid-connected mode and island detection i LH The output current of the difference i L0 When the main inverter is in off-grid mode, the third single-pole double-throw switch S T3 Select the voltage outer loop controller output size to be equal to the load rated current i L Subtract the harmonics and negative sequence current components extracted by the power detection module in off-grid mode i LH The output current of the difference i L0 .
[0098] Taking the d-axis as an example, the output of the voltage controller is i Ld0 + Harmonics and negative sequence current components extracted by the power detection module i Ldh Equal to the load rated current i Ld .
[0099] In off-grid mode, the input of the harmonic voltage PI-PR controller (voltage controller) is V d and V dref The error value e, when e=0, that is, the controller controls e to 0, the control output of the harmonic voltage PI-PR controller i Ld0 It is the load current (rated load current) generated by the nonlinear and unbalanced load in off-grid mode. At this time, the current detection module does not work. i Ldh =0, so i Ld0 + i Ldh = i Ld0 That is the load current.
[0100] Therefore, when the harmonic voltage PI-PR controller input is set to 0 in the grid-connected mode, the output of the PI-PR controller is i Ld0 The harmonic negative sequence current extracted by the current detection module i Ldh The sum is equal to the rated load current (at this time i Ldh is not 0).
[0101] In summary, it can be considered that whether it is grid-connected mode or off-grid mode i Ld0 + i Ldh = Rated load current i Ld .
[0102] like Figure 3 As shown in FIG. , the voltage outer loop controller includes a second subtractor, a PR-PI composite controller (composed of G VPR and G VPI The input terminals of the second subtractor are respectively input with the reference voltage of the main inverter u oref and the actual output voltage of the main inverteru o , (the positive terminal is connected to the reference voltage of the main inverter u oref The negative terminal is connected to the actual output voltage of the main inverter u o ) and the output end of the second subtractor is connected to a third single-pole double-throw switch S T3 One of the static ends of the third single-pole double-throw switch S T3 The dynamic end is connected to the input end of the PR-PI composite controller, and the output end of the PR-PI composite controller is connected to the input end of the addition module.
[0103] like Figure 3 As shown in , the load voltage stabilizer includes a third subtractor and a PR-PI compound controller, and both input ends of the third subtractor are connected to the output end of the PR-PI compound controller.
[0104] The voltage outer loop controller and the load voltage stabilizer share a PR-PI composite controller.
[0105] Take the d-axis component as an example for analysis.
[0106] In the outer loop of the voltage controller, it is necessary to establish a voltage amplitude and frequency that meets the standard when off-grid. Since the PI controller cannot track and control the voltage harmonics and unbalanced components well, and the quasi-PR controller can track and control the harmonics of a specific frequency, the voltage controller adopts a composite controller that combines PI and quasi-PR. By setting the mode switch S T3 To meet the needs of various working states and operating modes. T3 =1, the main inverter works in off-grid mode, the goal is to increase the inverter output voltage u od Controlled to a given reference voltage u odref , the control quantity finally generated by the voltage controller is i Ld0 , in steady state, its size is the actual load current in off-grid mode i Ld (i.e. rated load current. As long as the load is connected to a phase voltage of approximately 220V, it is approximately considered to be the rated load current. Because the entire article discusses smooth switching, the grid voltage remains almost unchanged). T3 =0, the main inverter works in the grid-connected mode, the control mode is current type control, PI and quasi-PR composite controller G VPIPR The input is 0, the output of the voltage controller i Ld0 Rated load current i LdThe voltage controller acts as a voltage maintainer to maintain the inverter output voltage consistent with the grid voltage. The voltage controller outer loop control quantity i Ld0 The expression of (t) is
[0107] (9)
[0108] in, i Ld0 ( t ), i Ld0 ( t -1) represent the actual output of the voltage controller at time t and time t-1 (previous time).
[0109] Combining equations (8) and (9), we can get the reference current of the current inner loop controller: i sderf The expression is
[0110] (10)
[0111] in, is approximately equal to 0, i sderf It matches the actual load current and reduces the inverter output voltage and power oscillation, thus achieving the purpose of smoothing unplanned off-grid conditions.
[0112] In summary, the control strategy of the multifunctional grid-connected inverter in the dq rotating coordinate system is as follows: Figure 4 As shown. This control strategy has multi-mode operation capability and can actively or passively switch the operation mode according to actual needs. The switching of various modes is mainly based on the status of each switch.
[0113] Embodiment 2 discloses a microgrid inverter on-grid and off-grid smooth switching control method, which uses a microgrid inverter on-grid and off-grid smooth switching control system of embodiment 1 to smoothly switch the main inverter on and off the grid during island detection. When the main inverter is in the island detection period, the power controller outer loop switch S3 is closed, so that the final output of the power outer loop controller △ I o The voltage controller uses the voltage outer loop controller to output a current whose value is equal to the rated current value of the load. i L Subtract the difference between the harmonics and negative sequence current components extracted by the power detection module during the island detection period i LH Output current value i L0 , and let the final output △ I o, the output current value of the voltage controller i L0 , Capacitor steady state current i c Commonly used as current reference value i sref Input to the current inner loop controller, so that the current reference value of the inverter side filter inductor i sref Equal to the steady-state current of the capacitor i c Load rated current i L The difference between the sum of the values is less than the set difference threshold.
[0114] From formula (2), we can see that when the grid fails, the microgrid loses contact with the grid and is in an off-grid state. At this time, the grid-connected current i g is 0, i s The relationship is:
[0115] i s= i L+ i c ;
[0116] When the grid fails, the microgrid loses contact with the grid and the current reference value i sref The specific formula is:
[0117] i sref =△ I o + i L0 + i c ;
[0118] During the island detection period, the power detection module extracts the harmonics and negative sequence current components i LH =0, therefore, i L0 = i L ;
[0119] That is, during the island detection period i sref =△ I o + i L + i c ;
[0120] , let △ I o Close to 0, which makes i sref and i s The difference between the two is less than the difference threshold. Figure 4 For the multi-mode operation mode of the multi-function inverter, according to the state of each switch, the following conclusions are drawn: Figure 5 The multi-function inverter multi-mode operation flow chart is shown.
[0121] A1, S1, S2, S3 are disconnected, and S T2 =0,S T3 =1, it runs in off-grid mode;
[0122] A2, determine whether the grid-connected signal is received, if so, jump to A3, otherwise, return to A1;
[0123] A3, S1, S2, S3 are closed, and S T2 =0,S T3 =0, it runs in grid-connected mode;
[0124] A4, determine whether the grid-connected current is zero, if so, jump to A5, otherwise, return to A3;
[0125] A5, determine whether it is an unplanned switch to off-grid mode, if so, jump to A6, otherwise, return to A1;
[0126] A6, S1, S3 are closed, S2 is open, and S T2 =1,S T3 =0, it runs in island detection mode;
[0127] A7. Detect whether it is an island state through the island detection module. If so, send out a network disconnection signal and then return to A1. Otherwise, return to A3.
[0128] It also includes: when the main inverter is in the grid-connected mode, the power controller outer loop switch S3 is closed, so that the final output of the power outer loop controller △ I o Directly for the current controller G I2 The output of the voltage controller adopts the load voltage regulator whose output value is equal to the rated current value of the load. i L Subtract the harmonics and negative sequence current components extracted by the power detection module i LH The output current value of the difference i L0 , and let the final output △ Io 、 Output current of voltage controller i L0 , grid-connected current i g , harmonics and negative sequence current components extracted by the power detection module i LH , Capacitor steady-state current i c Together as the reference current of the inverter side filter inductor i sref Input to the current inner loop controller;
[0129] like Figure 7 As shown, in grid-connected mode i sref =△ I o + i L0 + i g + i LH + i c ; ( i c not indicated).
[0130] When the main inverter is in off-grid mode, the power controller outer loop switch S3 is disconnected, and the voltage controller uses the voltage outer loop controller output to be equal to the rated current of the load. i L Subtract the harmonics and negative sequence current components extracted by the power detection module in off-grid mode i LH The output current of the difference i L0 , the output current i L0 and capacitor steady-state current i c Common as reference current i sref Input to the current inner loop controller;
[0131] Harmonics and negative sequence current components extracted by the power detection module in off-grid mode i LH =0, that is, when the main inverter is in off-grid mode, the power controller outer loop switch S3 is disconnected, and the voltage controller uses the voltage outer loop controller output size equal to the load rated current i L Output current i L0 , the output current iL0 and capacitor steady-state current i c Common as reference current i sref Input to the current inner loop controller;
[0132] like Figure 6 As shown, in off-grid mode i sref = i L0 + i c , in the figure i c Not marked, and i LH is 0;
[0133] When the off-grid mode is switched to the grid-connected mode, the power controller outer loop switch S3 is closed, making the final output of the power outer loop controller △ I o Directly for the current controller G I2 The output of the voltage controller uses a load voltage regulator whose output is equal to the load rated current. i L Subtract the difference between the harmonics and negative sequence current components extracted by the power detection module in the grid-connected mode i LH Output current i L0 , and let the final output △ I o 、 Output Current i L0 , grid-connected current i g , Harmonics and negative sequence current components extracted by the power detection module in grid-connected mode i LH , Capacitor steady-state current i c Common as reference current i sref Input to the current inner loop controller;
[0134] At this time, it is the same as the grid-connected mode. i sref =△ I o + i L0 + i g + i LH + i c ; ( ic not indicated).
[0135] When the grid-connected mode is switched to the off-grid mode, the outer loop switch S3 of the power controller is disconnected, so that the final output of the outer loop controller △ I o Directly for the current controller G I2 The output of the voltage controller adopts the voltage outer loop controller, the output size of which is equal to the rated current of the load i L Subtract the harmonics and negative sequence current components extracted by the power detection module in off-grid mode i LH The output current of the difference i L0 (Harmonic and negative sequence current components extracted by the power detection module in off-grid mode i LH equal to 0), the output current value i L0 and capacitor steady-state current i c Commonly used as current reference value i sref Input to the current inner loop controller.
[0136] That is, when the grid-connected mode is switched to the off-grid mode, the outer loop switch S3 of the power controller is disconnected, so that the final output of the outer loop controller is △ I o Directly for the current controller G I2 The output of the voltage controller adopts the voltage outer loop controller, the output size of which is equal to the rated current of the load i L Output current i L , the output current value i L0 and capacitor steady-state current i c Commonly used as current reference value i sref Input to the current inner loop controller.
[0137] At this time, it is the same as the off-grid mode. i sref = i L0 + i c , in the figure i c Not marked, and i LH is 0;
[0138] The five different modes of the d-axis component are analyzed below.
[0139] In off-grid operation mode, the goal is to control the amplitude and frequency of the AC bus voltage and establish a qualified voltage. Figure 4 The switches S1 and S2 are both disconnected, and the grid-connected current i gd is zero, the power controller outer loop S3 is disconnected, and S T2 =0, the current controller and limiter of the power outer loop are exited, S T3 =1. The simplified control structure diagram of the off-grid mode multifunctional inverter is as follows: Figure 6 As shown. The control quantity of the voltage outer loop PI-PR composite controller is i Ld0 , ignoring the effect of capacitor current, the control quantity i Ld0 Become the reference value of the current inner loop i sdref , Therefore i Ld0 The size is equal to the actual load current when running off-grid i Ld ,The PI-PR composite controller compensates for the harmonics and unbalanced components of the voltage, controls the AC bus voltage to the rated voltage, and the voltage THD also meets the electricity standards.
[0140] The off-grid mode is switched to the grid-connected operation mode in a planned manner. Before the planned grid connection, the inverter first starts the pre-synchronization control, and then sends a grid connection signal. At this time, both S1 and S2 are closed, and the planned grid connection is started. After successful grid connection, S3 of the outer loop of the power controller is closed, and S T2 =0, the current controller of the power loop is put into operation, the limiter is not put into operation, and S in the voltage outer loop T3 = 0. At this time, the voltage outer loop does not control the AC bus voltage, the AC bus voltage is supported by the power grid, and the inverter output power after grid connection is controlled by the power outer loop.
[0141] In grid-connected mode, the inverter delivers power to the load and the grid at the same time. In this mode, the switch states are S1 and S2 are both closed, S3 is closed, and S T2 =0,S T3 =0. The simplified control structure of the multifunctional inverter in grid-connected mode is shown in Figure 7 shown. G is the power outer loop controller I2 Output, G I2 The grid current can be I gd Compensate for real-time fluctuations to improve the anti-interference ability of the inverter. i Ld0 Remains unchanged and is no longer controlled by the outer loop of the voltage controller.i LdH The harmonic and negative sequence current components extracted by the power detection module. At this time, the current inner loop reference value is (ignore i cd ):
[0142] (11)
[0143] Based on formula (11), the reference value of the current inner loop is independent of the voltage outer loop. Therefore, the multifunctional inverter in the grid-connected mode is a current-type control mode, and the inverter output power is given by the active reference value given by the power outer loop. P ref 、Reactive Q ref The reference value determines the current. Since the current inner loop reference value includes both the fundamental active component and the harmonic and negative sequence current components, the current inner loop can track the given current reference value very well, and the multifunctional inverter can realize grid-connected power generation. At the same time, the harmonic current and negative sequence current generated by the nonlinear load and three-phase unbalanced load in the microgrid are locally controlled.
[0144] The grid-connected mode is switched to the off-grid mode unplanned. The multi-function inverter is still in the grid-connected state before the unplanned off-grid occurs. S1 and S2 are closed, S3 is closed, and S T2 =0,S T3 =0. The power grid suddenly fails, S2 disconnects the AC bus voltage u PCC The grid support is lost. At this time, it is in the island detection period. S1 is closed, S3 is closed, and S T3 =0, S T2 =1, the limiter is activated. The simplified diagram of the multi-function inverter control structure during island detection is shown in Figure 8 As shown. i od_l is approximately 0, i sderf The actual load current i Ld The oscillation of the inverter output voltage and power is reduced, achieving the purpose of smoothing unplanned off-grid.
[0145] The grid-connected mode is switched to the off-grid mode in a planned manner. The difference between this situation and the unplanned switching is that the switch status of S1 and S2 can be set manually, so there is no island detection link. Before going off-grid, S1 and S2 are both closed. When going off-grid, S1 and S2 are both disconnected. After the control system receives the disconnection signal, S3 is disconnected and S T3 =1, the multi-function inverter switches from grid-connected mode to off-grid mode.
[0146] In order to verify the effectiveness and feasibility of the smooth switching control strategy of the multifunctional inverter on and off the grid proposed in this patent, a simulation model of the multifunctional inverter was built using MATLAB / Simulink simulation software. Fig. 9 The simulation parameters of the multifunctional inverter are shown in Table 1.
[0147] Table 1 Simulation parameters of multifunctional inverter
[0148] Parameter name Numeric <![CDATA[Filter inductor on the inverter side L s > 1.5mH Filter capacitor 16.5μF <![CDATA[Grid-side filtering inductor L g > 0.45mH <![CDATA[DC side voltage U dc > 750V <![CDATA[Grid phase voltage U g > 220V Grid frequency 50Hz Grid-connected inverter capacity 60kW <![CDATA[Switching frequency f s > 10kHz <![CDATA[Active power of asymmetric resistive load P 1、 P 2、 P 3]]> 3kW, 6kW, 9kW <![CDATA[DC side resistance of nonlinear load R i > 20€ <![CDATA[Damping resistor R c > 1.5 Euro <![CDATA[Active power of linear load P 4]]> 5kW
[0149] Multifunctional inverter traditional switching control strategy full mode operation simulation:
[0150] Figure 10-12 This is the simulation result diagram of the full-mode operation of the traditional PQ / VF control switching method. When t=0s~1s, the grid-connected inverter is in an off-grid operation state, at which time the synchronous control starts, the inverter output voltage amplitude and phase are quickly synchronized, and a smooth grid connection without impact is performed at t=1s, and the inverter is grid-connected from t=1s to 1.8s.
[0151] like Fig.10 As shown in the figure, when t=1.8s, the grid fails, the controllable protection switch S2 is directly disconnected, and the system is in an off-grid state. However, due to the island detection link in the controller, the main inverter is still in the grid-connected control mode (current control mode) during the island detection period. Fig.11 , 12 The enlarged image shows the inverter output voltage under the traditional switching strategy. u oabc The single-phase voltage peak suddenly increased in the island detection room, where the single-phase voltage suddenly increased from 311V to more than 500V. This is because the inverter output voltage u oabc Without grid support, the inverter is in an uncontrollable state. The grid-connected power that should have been supplied to the grid by the inverter now flows to the load. When the island detection is completed, the inverter side switch S1 is disconnected, and the grid-connected inverter switches from PQ control to VF control. After the control switch is completed, the inverter output voltage u oabc In addition, due to the influence of nonlinear and unbalanced load, the inverter output current and grid-connected point voltage showed serious distortion and three-phase imbalance during the island detection period and in the off-grid state, and the voltage quality did not meet the national standards.
[0152] Multi-function inverter multi-mode control strategy full-mode operation simulation:
[0153] Figure 13-15This is the simulation result diagram of the full-mode operation of the multi-modal control strategy proposed in the present invention. When t=0s~1s, the grid-connected inverter is in an off-grid operation state, at which time the synchronous control is started, the inverter output voltage amplitude and phase are quickly synchronized, and a smooth grid connection without impact is performed at t=1s, and the inverter is grid-connected from t=1s to 1.8s.
[0154] like Fig.13 As shown, when a power grid failure occurs, the multi-mode control strategy proposed in this patent enables the multi-function inverter to output voltage when it is unplanned off-grid. u oabc The single-phase voltage has increased from 311V to a maximum of about 326V. Fig.10 The phase A voltage of the grid-connected inverter increases from 311V to over 500V. This strategy significantly reduces the output voltage of the grid-connected inverter during unplanned off-grid operation. u oabc This is because during the island detection period, the improved composite harmonic voltage controller acts as a load voltage stabilizer, and the magnitude of the control quantity is the rated load current value. i gd Under the cooperation of others, the reference value of the current inner loop controller i sdref It matches the actual load current, reduces the output voltage and power oscillation of the grid-connected inverter, and achieves the goal of smooth and seamless unplanned off-grid operation.
[0155] contrast Fig.10 , Fig.13 The multi-modal control strategy enables the inverter to not only output active power to the grid in grid-connected mode, but also manage the power quality of the grid-connected current, which greatly improves the grid-connected current. i gabc The power quality, Fig.13 The grid-connected current is sinusoidal, with no obvious distortion or three-phase imbalance.
[0156] Fig.16 The changes of various electrical quantities in the dq coordinate system of the inverter using the multi-modal control strategy when it is unplanned off-grid are given. Taking the d-axis component as an example, the figure shows the reference value of the inverter inductor current during the island detection link. i sdref and inverter output power P No sudden change occurred, and the output voltage of the multi-function inverter u oabc There was no impact either.
[0157] The simulation results show that the multi-function inverter multi-mode control strategy proposed in this patent realizes the inverter's ability to operate in various modes and switch smoothly and seamlessly, significantly reduces the inverter output voltage impact during unplanned off-grid operation, and improves output voltage distortion and three-phase imbalance in the off-grid state.
[0158] In order to verify the effectiveness of the multi-mode control strategy of the multi-functional inverter proposed in this patent, a test system was built on the semi-physical experimental platform of Yuankuan Energy based on the multi-functional inverter topology diagram. Since the sampling, wave generation and internal signal interaction of the semi-physical platform are all actual electrical signals, the semi-physical experimental results are widely recognized by the power electronics industry. The specific experimental parameters of the multi-functional inverter semi-physical platform are consistent with the simulation parameters, as shown in Table 1.
[0159] Experimental verification of off-grid to grid-connected mode switching of multifunctional inverter:
[0160] To verify that the multifunctional inverter has the ability to smoothly switch from off-grid mode to grid-connected mode, firstly, the multifunctional inverter can operate stably with nonlinear and unbalanced loads in off-grid mode. Therefore, a comparative experiment between the traditional strategy and the proposed multi-modal control strategy in the inverter off-grid mode is set up, such as Fig.17 , 18 shown. Fig.17 , 18 The load currents of the traditional VF control strategy and the multi-mode control strategy are given respectively. i Labc , grid-connected inverter output voltage u oabc With output current i oabc Experimental waveform diagram.
[0161] The inverter control target in off-grid mode is to establish a qualified voltage, such as Fig.17 As shown in the figure, the inverter using the traditional VF control strategy in off-grid mode has deficiencies in handling nonlinear and unbalanced loads. u oabc There is obvious voltage distortion, voltage harmonics and three-phase imbalance, the voltage quality is very poor, and it does not meet the load power consumption standard. This is mainly because the load current generated by nonlinear and unbalanced loads i Labc There are a lot of harmonics and negative sequence components in the inverter output voltage, which causes u oabc Therefore, in off-grid mode, the inverter using traditional control strategy has a large insufficiency in operating with nonlinear and unbalanced loads and cannot meet the power requirements of the load.
[0162] according to Fig.18In the off-grid operation mode, the inverter using the multi-mode control strategy proposed in this patent has achieved a significant improvement in the ability to handle nonlinear and unbalanced loads. Inverter output voltage u oabc The waveform does not show obvious harmonics and negative sequence voltage components, and the voltage waveform is a sine wave. Fig.17 Shown u oabc The voltage waveform and the power quality of the voltage have been significantly improved.
[0163] like Fig.19 As shown in the figure, in the off-grid working mode, the inverter output voltage using the traditional control strategy and the multi-mode control strategy is compared. u oabc The measurement results of each phase voltage THD. The results show that under the traditional control strategy mode, the voltage u oa , u ob , u oc The THDs of the inverters are 6.68%, 7.39%, and 8.10% respectively. After adopting the multi-mode control strategy, the inverter output voltage u oa , u ob , u oc The THD of the power supply was significantly reduced, reaching 3.21%, 2.68% and 2.89% respectively.
[0164] The above experimental results verify the effectiveness of the improved composite harmonic voltage controller in the multi-modal control strategy in controlling voltage harmonics and negative sequence components, thereby improving the performance of the multifunctional inverter in handling nonlinear and unbalanced loads in off-grid mode.
[0165] The following is an experimental verification of the smooth switching from off-grid mode to grid-connected mode. Fig. 20 As shown, taking phase a as an example, the inverter output voltage under synchronous control is u oa The amplitude and phase are rapidly related to the grid voltage u ga Synchronize until its amplitude and phase completely coincide with the grid voltage amplitude and phase, preparing for smooth grid connection. At the moment of grid connection, since the amplitude and phase of the inverter output voltage and the grid voltage are completely consistent, the grid-connected inverter can achieve smooth and impact-free grid connection. The experiment verifies the effectiveness of the synchronous control technology in the multi-modal control strategy.
[0166] Fig.17 , 18 The experimental waveforms under the two control strategies shown are Fig.10 ,13 The simulation waveforms shown are consistent, indicating that the experiment is consistent with the simulation.
[0167] Experimental verification of unplanned grid-to-off-grid smooth switching of multifunctional inverter:
[0168] First, it is verified that the inverter output power can track the grid-connected active power (injecting active power into the grid) in the grid-connected mode using the multi-mode control strategy. Fig.21 The figure shows the changes in active power injected into the grid by the multi-function inverter in grid-connected mode, and the inverter A phase output voltage u oa , A phase output current i oa and A phase grid current i ga The experimental waveform diagram. As can be seen from the figure, in the grid-connected mode, when the inverter does not inject grid-connected active power into the grid (the grid-connected power is 0kW), the inverter output current is very small, and the inverter only manages the power quality caused by nonlinear and unbalanced loads near the grid-connected point on-site, and the grid-side load is provided with power by the grid; when the grid-connected power increases from 0kW to 30kW, the inverter not only supplies power to each load, but also injects active power into the grid, and uses the remaining capacity to manage the power quality of the grid-connected point on-site, thereby improving the power quality of the grid-connected current. Fig.21 The experimental results shown prove that the inverter output power can track the changes in grid-connected active power.
[0169] In order to further verify whether the multifunctional inverter can realize grid-connected power generation and power quality management functions in grid-connected mode, Figure 22-23 The load current before and after power quality control is given i Labc , grid-connected current i gabc and inverter output current i oabc Comparison chart of experimental waveforms.
[0170] Fig.24 The grid-connected current of the multifunctional inverter in grid-connected mode is given. i gabc THD measurement results. Fig. 22 , 23 and 24, it can be concluded that the multi-functional inverter multi-mode control strategy proposed in this patent can simultaneously realize grid-connected power generation and control the power quality problems caused by nonlinear and unbalanced loads in the grid-connected mode, so that the total harmonic distortion (THD) of the grid-connected current is lower than 5%, which meets the national grid-connected standards.
[0171] Next, the smooth switching capability of the multifunctional inverter in the case of unplanned off-grid conditions was experimentally verified, mainly to examine whether the output voltage can be stabilized during the island detection period to avoid voltage shock when unplanned islanding occurs. This ensures that the inverter can provide continuous power to important loads in any operating mode to keep the loads running uninterruptedly.
[0172] Simulating a grid fault, the controllable protection switch S2 is suddenly disconnected due to a grid fault. Fig.25 and Fig. 27 The inverter A phase output voltage when unplanned off-grid occurs under the traditional PQ / VF switching control and the multi-function inverter multi-mode control strategy is respectively u oa , A phase load current i La And A phase grid current i ga The experimental waveform.
[0173] Depend on Fig.25 It can be seen that when the grid fails and the inverter is unplanned off-grid, the grid-connected current of phase A is i ga becomes 0, the grid-connected inverter is still in the grid-connected control mode (current control mode) during the island detection period. Fig.26 Displays the output voltage of the A-phase inverter under the traditional switching strategy u oa The peak value suddenly increased during the island detection period, with the A phase voltage peak increasing from 311V to about 400V, and the negative peak voltage being about -524V. This is because the inverter output voltage has lost the support of the grid and is in an uncontrollable state. The grid-connected power that the inverter should have delivered to the grid all flows to the load. When the island detection is completed, the inverter switch S1 is disconnected, and the grid-connected inverter is switched from PQ control to VF control. After the control switch is completed, the inverter output voltage gradually returns to normal after one cycle. In addition, due to the influence of nonlinearity and unbalanced loads, the inverter output voltage is different during the island detection period and in the off-grid state. u oabc Serious distortion and three-phase imbalance occurred, such as Fig.24 As shown, the inverter three-phase output voltage u oabc The voltage quality does not meet national standards in off-grid mode.
[0174] like Fig. 27 As shown in the figure, a multi-mode control strategy is adopted to make the inverter output voltage u oabc The peak voltage change is very small, the A phase voltage u oaFrom about 311V to about 324V. Fig.25 The A-phase voltage of the inverter increases from 311V to about 400V. This strategy significantly reduces the output voltage impact when the inverter is unplanned off-grid. This is because during the island detection period, the improved composite harmonic voltage controller acts as a load voltage stabilizer, and its control amount is the rated load current value. In the improved composite harmonic voltage controller, the power controller outer loop, and the grid current feedforward i gd Under the cooperation of others, the reference value of the current inner loop controller i sdref It matches the actual load current, thereby reducing the inverter output voltage impact and achieving the goal of smooth and seamless unplanned off-grid operation.
[0175] In addition, during island detection and off-grid status, the multi-mode control strategy can significantly improve the inverter output current and grid-connected point voltage distortion and three-phase imbalance caused by nonlinear and unbalanced loads, such as Fig.28 shown.
[0176] Depend on Fig. 27 , 28 It can be seen that the multi-modal control strategy can enable the inverter to have smooth unplanned off-grid capability. During the island detection period, the inverter output voltage increases slightly, no impact voltage occurs, and the inverter output current can also change smoothly. After the island detection is completed, the multifunctional grid-connected inverter switches from the current control mode to the voltage control mode.
[0177] Fig.26 , 28 The experimental waveforms under the two control strategies shown are Fig.10 , 13 The simulation waveforms shown are consistent, indicating that the experiment is consistent with the simulation.
[0178] The above experiments prove that the multi-modal control strategy proposed in this patent can not only enable the inverter to operate in various modes, but also perform smooth and seamless switching between active and passive grid connection and off-grid connection. In addition, it can also provide power quality management auxiliary services for nonlinear and unbalanced loads in the microgrid.
[0179] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation method of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A microgrid inverter on-grid and off-grid smooth switching control system, the microgrid inverter includes a DC power supply, a main inverter and an LCL filter, characterized in that: include: The power outer loop controller is used to obtain a first difference by subtracting the received output current of the main inverter from the reference current of the main inverter during the island detection period, and to obtain the first difference through the current controller G I2 The final current compensation amount is obtained by the limiter and output, wherein the difference between the final current compensation amount and 0 is within a set first threshold; and when the main inverter is in the grid-connected mode, the first difference is output by the current controller G I2 Then, the final current compensation amount is outputted; when the main inverter is in off-grid mode, the final current compensation amount is not outputted; The power outer loop controller includes a power control module, a first subtractor, a current controller G I2 , limiter and second SPDT switch S T2 The active reference power and the reactive reference power are used to obtain the reference current of the main inverter through the power control module. The reference current of the main inverter and the output current of the main inverter are subtracted by the first subtractor to obtain a first difference. The first difference is obtained by the current controller G I2 The initial current compensation is obtained, and the current controller G I2 One end of which is connected to the second single-pole double-throw switch S T2 One of the static ends is connected to the current controller G I2 The other end is connected to the second single-pole double-throw switch S through the limiter T2 The other static end of the second single-pole double-throw switch S T2 The moving end of the power controller is connected to the input end of the adding module through the outer loop switch S3 of the power controller, so that the initial current compensation amount or the intermediate current compensation amount can be used as the final current compensation amount, wherein the intermediate current compensation amount is the value of the initial current compensation amount after passing through the limiter, and the difference between the intermediate current compensation amount and 0 is within a set first threshold; A voltage controller is used to output an output current equal to the difference between the load rated current and the harmonic and negative sequence current components extracted by the power detection module during the corresponding period in an off-grid mode, a grid-connected mode, and an island detection period; The adding module summarizes the final current compensation amount, the output current of the voltage controller, the grid-connected current, the harmonics and negative-sequence current components extracted by the electric energy detection module, and the current of the capacitor in steady state, and inputs the sum as the reference current of the inverter-side filter inductor into the current inner loop controller, so that during the island detection period, the difference between the reference current of the inverter-side filter inductor and the output current of the inverter-side filter inductor is within a set second threshold range.
2. A microgrid inverter on-grid and off-grid smooth switching control system according to claim 1, characterized in that: The intermediate current compensation amount is α times the initial current compensation amount, α∈(0,1).
3. A microgrid inverter on-grid and off-grid smooth switching control system according to claim 1, characterized in that: The voltage controller includes a voltage outer loop controller, a load voltage stabilizer and a third single-pole double-throw switch S T3 When the main inverter is in grid-connected mode or during island detection, the third single-pole double-throw switch S T3 The output current of the load voltage stabilizer is selected to be equal to the load rated current minus the difference between the harmonics and negative sequence current components extracted by the power detection module during the corresponding grid-connected mode or island detection, and when the main inverter is in the off-grid mode, the third single-pole double-throw switch S T3 The voltage outer loop controller is selected to output an output current whose magnitude is equal to the load rated current minus the difference between the harmonics and negative sequence current components extracted by the power detection module in the off-grid mode.
4. A microgrid inverter on-grid and off-grid smooth switching control system according to claim 3, characterized in that: The voltage outer loop controller includes a second subtractor and a PR-PI composite controller, wherein the input end of the second subtractor is respectively input with the reference voltage of the main inverter and the actual output voltage of the main inverter, and the output end of the second subtractor is connected to a third single-pole double-throw switch S T3 One of the static ends of the third single-pole double-throw switch S T3 The dynamic end is connected to the input end of the PR-PI composite controller, and the output end of the PR-PI composite controller is connected to the input end of the addition module.
5. A microgrid inverter on-grid and off-grid smooth switching control system according to claim 4, characterized in that: The load voltage stabilizer comprises a third subtractor and a PR-PI compound controller, and both input ends of the third subtractor are connected to the output end of the PR-PI compound controller.
6. A microgrid inverter on-grid and off-grid smooth switching control system according to claim 1, characterized in that: It also includes a current inner loop controller and a SVPWM module, and the output end of the addition module is connected to the main inverter through the inner loop controller and the SVPWM module in sequence.
7. A microgrid inverter on-grid and off-grid smooth switching control system according to claim 6, characterized in that: The current inner loop controller includes a fourth subtractor and a PR current controller. The input end of the fourth subtractor respectively inputs the reference current of the inverter side filter inductor and the output current of the inverter side filter inductor. The output end of the fourth subtractor is connected to the SVPWM module.
8. A method for controlling smooth on-grid and off-grid switching of a microgrid inverter, using a microgrid inverter smooth on-grid and off-grid switching control system as claimed in any one of claims 1 to 7 to perform smooth on-grid and off-grid switching of a main inverter during island detection, characterized in that: When the main inverter is in the island detection period, the power controller outer loop switch S3 is closed, so that the final output of the power outer loop controller becomes a current whose difference from 0 is within the set first threshold value, and the voltage controller uses the voltage outer loop controller output equal to the load rated current minus the difference between the harmonics and negative sequence current components extracted by the power detection module during the island detection period, and the final output, the output current of the voltage controller, and the capacitor steady-state current are collectively used as the reference current of the inverter side filter inductor and input into the current inner loop controller, so that the difference between the reference current of the inverter side filter inductor and the sum of the capacitor steady-state current plus the load rated current is less than the set difference threshold.
9. A microgrid inverter on-grid and off-grid smooth switching control method according to claim 8, characterized in that: Also includes: When the main inverter is in grid-connected mode, the power controller outer loop switch S3 is closed, so that the final output of the power outer loop controller is directly the current controller G I2 The voltage controller uses the load voltage regulator to output an output current equal to the load rated current minus the difference between the harmonic and negative sequence current components extracted by the power detection module in the grid-connected mode, and the final output, the output current of the voltage controller, the grid-connected current, the harmonic and negative sequence current components extracted by the power detection module, and the capacitor steady-state current are used as the reference current of the inverter side filter inductor and input into the current inner loop controller; When the main inverter is in the off-grid mode, the power controller outer loop switch S3 is disconnected, and the voltage controller uses the voltage outer loop controller to output an output current equal to the load rated current minus the difference between the harmonics and negative sequence current components extracted by the power detection module in the off-grid mode, and the output current value of the voltage controller and the capacitor steady-state current are input into the current inner loop controller as reference currents; When the off-grid mode is switched to the grid-connected mode, the power controller outer loop switch S3 is closed, so that the final output of the power outer loop controller is directly the current controller G I2 The voltage controller uses the load voltage regulator to output an output current equal to the load rated current minus the difference between the harmonic and negative sequence current components extracted by the power detection module in the grid-connected mode, and the final output, the output current of the voltage controller, the grid-connected current, the harmonic and negative sequence current components extracted by the power detection module, and the capacitor steady-state current are collectively input as reference currents into the current inner loop controller; When the grid-connected mode is switched to the off-grid mode, the outer loop switch S3 of the power controller is disconnected, so that the final output of the outer loop power controller is directly the current controller G I2 The voltage controller uses the voltage outer-loop controller to output an output current equal to the difference between the load rated current and the harmonic and negative-sequence current components extracted by the electric energy detection module in the off-grid mode. The output current value of the voltage controller and the capacitor steady-state current are jointly input into the current inner-loop controller as a reference current.
