CIRCUIT MODELING METHOD AND OUTPUT CURRENT CONTROL METHOD FOR DUAL-ACTIVE-BRIDGE-TYPE MICRO-INVERTER

Information

  • Patent Application
  • 20250045501
  • Publication Number
    20250045501
  • Date Filed
    May 06, 2023
    3 years ago
  • Date Published
    February 06, 2025
    a year ago
Abstract
The disclosure provides a circuit modeling method for a dual-active-bridge-type micro-inverter. The method equates dual-active-bridge-type micro-inverter to a standard dual-active-bridge circuit by establishing an equivalent circuit model, thereby establishing a third-order large signal model and a third-order small signal model of the micro-inverter, so as to facilitate the solution of a circuit state variable and the analysis of the dynamic performance.
Description
TECHNICAL FIELD

The present invention relates to the field of photovoltaic micro-inverter technology, and specifically to a circuit modeling method and an output current control method applicable to a dual-active-bridge-type micro-inverter.


BACKGROUND

Micro-inverter generally refers to an inverter with a power of less than or equal to 1000 W in a photovoltaic power generation system and having maximum power point tracking capability at the component level. Unlike centralized and string type PV inverter systems, micro-inverters are directly connected to individual PV components. Its advantage is that it can perform independent MPPT control on each component, which can significantly improve the overall efficiency and at the same time avoid the problems of DC high voltage, poor weak light effect and barrel effect, etc. that exist in centralized inverters.


According to the position and structural characteristics of the DC bus, micro-inverters can be classified into three main categories: DC bus structure, pseudo DC bus structure and no DC bus structure. Wherein the micro inverter without DC bus is a single-stage circuit that adopts matrix control, which is more advantageous because of the small number of switching devices used and high conversion efficiency. And in the micro-inverter without DC bus structure, the Dual Active Bridge (DAB) type micro inverter uses the least number of switching devices, which also improves the problem of low efficiency of DAB circuits at light loads on the basis of the wide-range soft-switching characteristics of DAB circuits.


At present, there are literature modeling standard DAB circuits, but the circuit model is only applicable to DC-DC type DAB converters and cannot be applied to DAB-type micro-inverters. In addition, the current loop closed-loop control compensator for DAB-type micro-inverters in the current literature is either a proportional controller or a proportional-integral controller, and the current loop control logic does not change with changes in the grid-side voltage. Therefore, it is necessary to provide a circuit modeling method suitable for DAB-type micro-inverters and provide a reasonable current loop control logic based on this modeling method in order to achieve closed-loop control of micro-inverter circuits and improve the output current accuracy and grid-connection stability.


After searching, it was found that:


The Chinese invention patent application “Small signal modeling method for grid-connection asymmetric cascaded H-bridge converter system” with the publication number CN109408904A, derives a small signal model of the power circuit based on a simplified model of grid-connection asymmetric cascaded H-bridge multilevel converter; derives the perturbation differential equations of the grid current ig, the grid current reference signal ig,ref, the reference signal of the filtering capacitor current, and the modulation signal um, etc. in the control system; calculates the output voltage vi of the grid-connection asymmetrical cascaded H-bridge multilevel converter and derives the small signal model of the system without phase-locked loop; derives the small signal model of the phase-locked loop, and establishes the small signal model of the entire grid-connection asymmetrical cascaded H-bridge multilevel converter system. This method is also applicable to the off-grid asymmetrical cascaded H-bridge multilevel converter system. However, this method still has the following problems if it is applied to the circuit modeling of DAB-type micro-inverters:


Firstly, the DAB-type micro-inverter belongs to a high-frequency chain AC/DC conversion system, and its working principle is fundamentally different from that of a cascaded H-bridge multilevel converter, and the high-frequency transformer primary and secondary side voltages and transformer currents of the DAB-type micro-inverter are both AC components, thus it is unable to directly model the circuit using the modeling method in the above mentioned patent, but rather need to equivalent these AC electrical quantities; secondly, unlike the cascaded H-bridge multilevel converter, the transfer function gain of the DAB-type micro-inverter will change with changes in DC side voltage, AC side instantaneous voltage, and instantaneous transmission power. Therefore, this modeling method cannot accurately model the DAB-type micro-inverters.


The Chinese invention patent “Negative sequence voltage compensation dual-loop control method and system based on virtual synchronous generator” with the authorized publication number CN109193707B, wherein the voltage loop uses a quasi-proportional resonance regulator to suppress the harmonic components of the output voltage, and the current loop uses a proportional control to accelerate the response speed of the system. However, this method still has the following problems if it is applied to the closed-loop control of the output current of the DAB-type micro-inverters:


Firstly, only the current loop is required in the control loop of the DAB-type micro-inverters, and in order to realize the accurate control of the grid-connection current and the suppression of the harmonic waves of the grid-connection current, it is necessary to use a quasi-proportional resonance regulator, and it is unable to effectively eliminate the control errors by using the proportional control of the above mentioned patent; secondly, unlike the above mentioned patent, the current error generation stage of the DAB-type micro-inverter is closely related to the positive and negative of the grid-side voltage, and it is necessary to change the generation logic of the current error according to the sampled grid-side voltage, otherwise the control system will be unstable. Therefore, this method cannot effectively control the current of the DAB-type micro-inverters.


SUMMARY

Aiming at the above mentioned shortcomings in the prior art, it is provided a circuit modeling method and an output current control method applicable to a dual-active-bridge-type micro-inverter.


According to one aspect of the present invention, a circuit modeling method for a dual-active-bridge-type micro-inverter is provided, which equates the micro-inverter to a standard dual-active-bridge(DAB)-type circuit by establishing an equivalent circuit model for the dual-active-bridge-type micro-inverter, thereby further establishing a large signal model and a small signal model for the micro-inverter, completing the circuit modeling of the dual-active-bridge-type micro-inverter; wherein:


Establishing an equivalent circuit model for the dual-active-bridge-type micro-inverter, comprising:

    • Constructing a DC source Voc, a DC source series resistor Rpv, a DC side bus capacitor Cbus, a controlled current source iac,in, an ideal transformer with a primary side to a secondary side turn ratio of 1:n, a controlled current source iac,out, a capacitor Cg, a filtering inductor Lg on a AC power grid side, an inductor winding resistor RL, and a DC pulsating source |vg|; the positive pole of the DC source Voc is connected with one end of the DC source series resistor Rpv, the other end of DC source series resistor Rpv is connected with the positive pole of the DC side bus capacitor Cbus, the positive pole of the DC side bus capacitor Cbus is simultaneously connected with the positive pole of the primary side of the ideal transformer, the negative pole of the primary side of the ideal transformer is connected with the negative pole of the DC source Voc, the positive pole of the secondary side of the ideal transformer is connected with the negative pole of the controlled current source iac,in, the negative pole of the secondary side of the ideal transformer is connected with the positive pole of the controlled current source iac,in and simultaneously connected with the negative pole of the controlled current source iac,out, the positive pole of the controlled current source iac,out is connected with the positive pole of the capacitor Cg and simultaneously connected with one end of the filtering inductor Lg on the AC power grid side, the other end of the inductor Lg on the AC power grid side is connected with one end of the inductor winding resistor RL, and the other end of the inductor winding resistor RL is connected with the positive pole of the DC pulsating source |vg|, and the negative pole of the DC pulsating source |vg| is connected with the negative pole of the capacitor Cg;
    • The established large signal model for the micro-inverter is: a third-order average model {dot over (X)}=A1X+B1U; wherein X is a state variable of the large signal model; {dot over (X)} is a derivative of the state variable of the large signal model with respect to time; U is an input variable of the large signal model; A1 is a coefficient matrix of the state variable of the large signal model, with an order of 3×3; B1 is a coefficient matrix of the input variable of the large signal model, with an order of 3×2; the state variable X of the large signal model is: X=[custom-charactervbuscustom-character, custom-charactervcgcustom-character, custom-characteriocustom-character]T; the input variable U of the large signal model is: U=[custom-charactervdccustom-character, custom-charactervocustom-character]T; wherein custom-charactervbuscustom-character is an average value of the voltage of the DC side bus capacitor Cbus of the equivalent circuit during the switching period, custom-charactervcgcustom-character is an average value of the voltage of the capacitor Cg of the equivalent circuit during the switching period, custom-characteriocustom-character is an average value of the output current of the equivalent circuit during the switching period, custom-charactervdccustom-character is an average value of the input voltage of the DC side of the equivalent circuit during the switching period, and custom-charactervocustom-character is an average value of the output voltage of the equivalent circuit during the switching period;
    • The established small signal model for the micro-inverter is: a third-order model {dot over (x)}=A2x+B2u; wherein x is a state variable of the small signal model; {dot over (x)} is a derivative of the state variable of the small signal model; u is an input variable of the small signal model; A2 is a coefficient matrix of the state variable of the small signal model, with an order of 3×3; B1 is a coefficient matrix of the input variable of the small signal model, with an order of 3×4; the state variable x of the small signal model is: x=[custom-character, custom-character, custom-character]T; the input variable u of the small signal model is: u=[custom-character, custom-character, custom-character, custom-character]T; wherein custom-character is a perturbation value of the voltage of the DC side bus capacitor Cbus of the equivalent circuit, custom-character is a perturbation value of the voltage of the capacitor Cg of the equivalent circuit, custom-character is a perturbation value of the output current of the equivalent circuit, custom-character is a perturbation value of the input voltage of the DC side of the equivalent circuit, custom-character is a perturbation value of the output voltage of the equivalent circuit, custom-character is a perturbation value of the internal phase shift angle, custom-character is a perturbation value of the external phase shift angle.


Optionally, in the equivalent circuit model of the dual-active-bridge-type micro-inverter, the voltage of the DC source Voc is the open-circuit voltage of the photovoltaic panels; the DC source series resistor Rpv is equal to the output voltage of the photovoltaic panels at the point of maximum power divided by the output current; the output currents of the controlled current source iac,in and the controlled current source iac,out vary according to the different modulation modes of the dual-active-bridge-type micro-inverter;


The DC pulsating source |vg| is the output voltage of the equivalent circuit model, and the output current of the equivalent circuit model io is equal to ig·sgn(vg), wherein ig is a sampled grid-side current, and sgn(vg) is a sign function of the grid-side voltage.


Optionally, the large signal model of the micro-inverter is used to solve the variation relationship of the state variable X with the input variable U, the variation relationship obtained by solving is used to analyze the steady-state operating point of the circuit, and the small signal model is solved and analyzed at the obtained steady-state operating point.


Optionally, the small signal model of the micro-inverter is used to solve a transfer function from four input variables to three state variables, further used to analyze the grid-connection stability and dynamic performance of the micro-inverter under different circuit parameters and operating conditions; wherein:


The four input variables are u=[custom-character, custom-character, custom-character, custom-character]T, the three state variables are x=[custom-character, custom-character, custom-character]T, and the expression of the transfer function is:






x
=



(

sI
-

A
2


)


-
1




B
2


u





Wherein I is a diagonal matrix with diagonal element 1, with an order of 3×3; s is the Laplace domain symbol; and the expressions of the matrices A2 and B2 are:









A
2



=

[



-



1


R

p

v




C

b

u

s







-

α

C
bus






0






α

C
g




0


-



1

C
g







0



1

L
g






-


R
L


L
g






]










B
2

=

[




1


R

p

v




C

b

u

s







0




β
|

v
g

|


C
bus





-


γ
|

v
g

|


C
bus







0



0



-


β


V

b

u

s




C
g







γ


V
bus



C
g






0


-



1

L
g




0


0



]






Wherein Vbus is the DC bus capacitor voltage, Rpv is the output voltage of the photovoltaic panels at the point of maximum power divided by the output current, Lg is the filtering inductor on the AC power grid side, and the symbolic variables α, β and γ are related to the modulation mode of the dual-active-bridge-type micro-inverter.


For analyzing the grid-connection stability and dynamic performance of micro-inverters under different circuit parameters and operating conditions, comprising:


The transfer function from the input variable to the state variable is solved according to the small signal model of the micro-inverter, and the transfer function can be used to describe the quantitative variation relationship of the state variable x with the input variable u at different frequencies, and when the transfer function is known, then the response of the state variable can be studied for various forms of input variables, in order to analyze the grid-connection stability of the micro-inverter.


The three parameters of photovoltaic terminal voltage vpv, power grid voltage amplitude Vm and grid-connection power Po are changed, and under each set of parameters (vpv, Vm, Po), the transfer function from the input variables to the state variables is solved according to the small signal model of the micro-inverter and the dynamic performance of the micro-inverter is analyzed according to the gain, crossover frequency, amplitude margin, and phase margin of the transfer function.


Optionally, the modulation mode of the dual-active-bridge-type micro-inverter, comprising:


The angle between the negative rising edge of the transformer primary side square wave voltage and the positive rising edge of the transformer primary side square wave voltage is positioned as the internal phase shift angle D1, the angle between the fundamental wave of the transformer primary side square wave voltage and the fundamental wave of the transformer secondary side square wave voltage is defined as the external phase shift angle D2, and the internal phase shift angle D1 and the external phase shift angle D2 are taken as two control degrees of freedom for the dual-active-bridge-type micro-inverter, wherein the range of values of D1 is 0≤D1≤0.5, and the range of values of D2 is −0.5≤D2≤0.5;


According to the two control degrees of freedom, the modulation mode of transmission power is divided into mode one, mode two and mode three, wherein: when the external phase shift angle D2 satisfies (1−D1)/2<D2≤0.5 or −0.5<D2≤−(1−D1)/2, the positive electrical level part of the primary side square wave voltage completely coincides with the negative level part of the secondary side square wave voltage, the corresponding modulation mode is mode one, at this time, the output currents of the controlled current source iac,in and the controlled current source iac,out are close to a sine wave, and the effective value of output current is maximum; when the external phase shift angle D2 satisfies 0≤D2≤D1/2 or −D1/2≤D2≤0, the positive electrical level part of the primary side square wave voltage completely coincides with the positive level part of the secondary side square wave voltage, the corresponding modulation mode is mode three, at this time, the output currents of the controlled current source iac,in and the controlled current source iac,out are close to a triangular wave, and the effective value of output current is minimum; when the external phase shift angle D2 satisfies D1/2<D2≤(1−D1)/2 or −(1−D1)/2<D2≤−D1/2, one part of the positive electrical level of the primary side square wave voltage coincides with the positive electrical level of the secondary side square wave voltage, the other part of the positive electrical level of the primary side square wave voltage coincides with the negative electrical level of the secondary side square wave voltage, the corresponding modulation mode is mode two, at this time, the output currents of the controlled current source iac,in and the controlled current source iac,out are close to a trapezoidal wave, the effective value of the output current is less than the effective value in mode one and greater than the effective value in mode three.


Optionally, for the mode two, the symbol variables α, β and γ are respectively:






{




α
=


n

(


2


D
2


-

D
1
2

-

4


D
2
2



)


4


f
s



L
k









β
=





α




D
1



=

-



n
·
2



D
1



4


f
s



L
k











γ
=





α




D
2



=


n
·

(

2
-

8


D
2



)



4


f
s



L
k












For the mode three, the symbol variables α, β and γ are respectively:






{




α
=



n
·
2




D
2

(

1
-

2


D
1



)



4


f
s



L
k









β
=





a




D
1



=

-



n
·
4



D
2



4


f
s



L
k











γ
=





α




D
2



=



n
·
2



(

1
-

2


D
1



)



4


f
s



L
k












Wherein fs is the switching frequency of the switching tube, Lk is the value of the transformer leakage inductor converted to the secondary side, n is the transformer secondary-primary turns ratio, D1 and D2 are the internal and external phase shift angles, respectively.


According to another aspect of the present invention, an output current control method of a dual-active-bridge-type micro-inverter is provided, based on the small signal model of the micro-inverter established by the circuit modeling method according to any one of the above mentioned, a control logic of the current loop is determined according to the positive and negative of the grid-side voltage, a grid-side current error is obtained through the determined control logic and inputted to a current closed-loop compensation controller, and the output of the current closed-loop compensation controller is an external phase shift angle D2 of the micro-inverter, and phase shift control is carried out through the external phase shift angle D2 to accomplish closed-loop control of the output current of the dual-active-bridge-type micro-inverter; wherein:


The control logic of the current loop comprises:

    • When the power grid voltage vg is less than 0, the grid-side current error is (ig−ig,ref), wherein ig is the sampled grid-side current, and ig,ref is the given value of the grid-side current;
    • When the power grid voltage vg is greater than 0, the grid-side current error is (ig,ref−ig).


Optionally, the current closed-loop compensation controller uses a quasi-proportional resonant controller, and the quasi-proportional resonance controller has three control parameters, respectively: a bandwidth adjustment parameter ωc, a proportionality coefficient Kp and a resonance coefficient Kr; wherein:

    • The bandwidth adjustment parameter ωc: is used to change the resonance bandwidth of the frequency band characteristics of the current closed-loop compensation controller, the smaller ωc is, the better the frequency selection characteristics are, but the worse the ability to resist power grid frequency disturbance is;
    • The proportionality coefficient Kp: is used to improve the dynamic characteristics of the dual-active-bridge-type micro-inverter control system, the larger Kp is, the shorter the response time is, but the larger the overshoot is;
    • The resonance coefficient Kr: is used to adjust the gain of the current closed-loop compensation controller, the larger Kr is, the larger the controller gain is.


Optionally, the design method for the control parameters of the quasi-proportional resonance controller, comprising:

    • According to the small signal model of the dual-active-bridge-type micro-inverter, obtaining the current loop open-loop transfer function Gio,d2(s) from the external phase shift angle D2 to the output current at the set time during the power frequency period; selecting the open-loop gain of the current loop at the power frequency ωac to be greater than or equal to M; selecting the crossover frequency of the current loop open-loop transfer function to be ωcr; and selecting the phase margin of the current loop open-loop transfer function to be greater than or equal to φmargin;
    • According to the maximum allowable variation range of the power grid angular frequency [−Δωmax, Δωmax], taking ωc=Δωmax, wherein Δωmax is the maximum allowable variation of the power grid angular frequency;
    • Obtaining the current loop open-loop transfer function Tc(jωac)=Gio,d2(jωac)·GQPR(jωac) at the power frequency ωac according to the current loop open-loop transfer function Gio,d2(s) and the transfer function GQPR(s) of the quasi-proportional resonance controller, wherein j is an imaginary unit, letting the gain of the current loop open-loop transfer function Tc (jωac) at the power frequency ωac be greater than or equal to M, obtaining an inequality constraint relationship |Gio,d2(jωac)·GQPR(jωac)|≥M containing the proportionality coefficient Kp and the resonance coefficient Kr;
    • According to the property that the current loop has a gain of 1 at the crossover frequency ωcr, obtaining an equality constraint relationship |Gio,d2(jωcr)·GQPR(jωcr)|=1 containing the proportionality coefficient Kp and the resonance coefficient Kr;
    • According to the condition that the phase margin of the current loop at the crossover frequency ωcr needs to be greater than or equal to ϕmargin, obtaining an inequality constraint relationship π+angle[Gio,d2(jωcr)·GQPR(jωcr)]≥ϕmargin containing Kp and Kr;
    • According to the two inequality constraints relationship and one equality constraint relationship obtained above, the range of the proportionality coefficient Kp and the resonance coefficients Kr can be solved, and the control parameters can be obtained accordingly.


Optionally, further comprising:

    • When |vg|≤10V is satisfied near the zero crossing point of the grid-side voltage, the current error of the input current closed-loop compensation controller is set to 0;
    • When the power grid voltage vg is less than −10V, the current error of the grid-side is (ig−ig,ref);
    • When the power grid voltage vg is greater than 10V, the current error of the grid-side is (ig,ref−ig).


Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared to the prior art:


The circuit modeling method of a dual-active-bridge-type micro-inverter provided by the present invention establishes a complete third-order micro-inverter large signal and small signal model. On the one hand, the method facilitates the solution of the steady-state operating point, and on the other hand, the small signal model enables further study the grid-connection stability and dynamic performance of the micro-inverter, and provides guidance for the design of control parameters.


The output current control method of a dual-active-bridge-type micro-inverter provided by the present invention gives a correct current loop control logic and an exhaustive current loop parameter design method, which is conducive to improving the grid-connection stability and output current accuracy of the micro-inverter.


The circuit modeling method of a dual-active-bridge-type micro-inverter provided by the present invention can achieve accurate modeling of a DAB-type micro-inverter.


The output current control method of a dual-active-bridge-type micro-inverter provided by the present invention can better control the current of a DAB-type micro-inverter.





BRIEF DESCRIPTION OF THE DRAWINGS

Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of the non-limiting embodiments with reference to the following accompanying drawings:



FIG. 1 shows a schematic diagram of a single-stage half-bridge DAB-type micro-inverter circuit in a preferred embodiment of the present invention;



FIG. 2 shows a schematic diagram of the driving signals of switching tubes S1˜S8 under three modulation modes in a preferred embodiment of the present invention, and the waveforms of the transformer primary side voltage, the transformer secondary side voltage, and the transformer secondary side current, when the direction of the power transmission is from the DC side to the AC side and the grid-side voltage is positive;



FIG. 3 shows a schematic diagram of the range of internal phase shift angle and external phase shift angle corresponding to the three modulation modes in a preferred embodiment of the present invention;



FIG. 4 shows a schematic diagram of an equivalent circuit of dual-active-bridge-type micro-inverter in a preferred embodiment of the present invention;



FIG. 5 shows an overall control block diagram of dual-active-bridge-type micro-inverter in a preferred embodiment of the present invention.





DETAILED DESCRIPTION OF EMBODIMENTS

The present invention is described in detail below in conjunction with specific embodiments. The following embodiments will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be pointed out that for those ordinary skilled in the art, a number of deformations and improvements can be made without departing from the conception of the present invention, all of which fall within the scope of protection of the present invention. The parts not described hereinafter may be referred to the records in the content of the invention or the prior art.


An embodiment of the present invention provides a circuit modeling method of a dual-active-bridge-type micro-inverter, which equates the micro-inverter to a standard dual-active-bridge-type circuit (DAB-type circuit) by establishing an equivalent circuit model for the dual-active-bridge-type micro-inverter, thereby further establishing a third-order large signal model and a small signal model of the micro-inverter, completing the circuit modeling of the dual-active-bridge-type micro-inverter, so as to facilitate the solution of a circuit state variable, and then achieving the analysis of the grid-connection stability and dynamic performance of the micro-inverter.


In this embodiment, the dual-active-bridge-type micro-inverter, comprising: a photovoltaic panel, a DC side bus capacitor, a primary side square wave generating circuit, a high frequency transformer, a secondary side square wave generating circuit, a filtering capacitor Cg, a filtering inductor Lg on the AC grid-side, and a series damping resistor RL; the positive and negative poles of the photovoltaic panel are connected with the positive and negative poles of the DC side bus capacitor respectively, and the positive and negative poles of the DC side bus capacitor are connected with the positive and negative poles of DC side port of the primary side square wave generating circuit respectively, the positive and negative poles of the AC side port of the primary side square wave generating circuit are connected with the positive and negative poles of the input port of the high frequency transformer respectively, and the AC side port of the secondary side square wave generating circuit are connected with the positive and negative poles of the output port of the high frequency transformer respectively, the positive pole of the DC side port of the secondary side square wave generating circuit is connected with the filtering inductor Lg on the AC grid-side, and the filtering inductor Lg on the AC grid-side is connected in series with the series damping resistor RL and is connected to the positive pole of the AC grid; the negative pole of the DC side port of the secondary side square wave generating circuit is connected with the negative pole of the AC grid; wherein, the turn ratio of the primary side to the secondary side of the high frequency transformer is 1:n, and the leakage inductor converted to the secondary side of the dual-active-bridge-type micro-inverter transformer is Lk.


The dual-active-bridge-type micro-inverter transformer can output three electrical levels {vpv, 0, −vpv} on the primary side, and can output two electrical levels {|vg|/2, −|vg|/2} on the secondary side. Wherein vpv is the photovoltaic panel terminal voltage and |vg| is the absolute value of the grid-side voltage.


The dual-active-bridge-type micro-inverter realizes the output power regulation by phase shift modulation, and the micro-inverter has two control degrees of freedom, which are the internal phase shift angle D1 of the primary side circuit and the external phase shift angle D2 of the primary side and secondary side circuits respectively, wherein the internal phase shift angle is defined as the angle between the negative rising edge of the primary side square wave voltage and the positive rising edge of the primary side square wave voltage, and the external phase shift angle is defined as the angle between the fundamental wave of the transformer primary side square wave voltage and the fundamental wave of the transformer secondary side square wave voltage. The range of values for D1 is 0≤D1≤0.5, and the range of values for D2 is −0.5≤D2≤0.5.


Furthermore, according to the two control degrees of freedom of the micro-inverter, there are three modulation modes of phase shift modulation for the dual-active-bridge-type micro-inverter to realize the regulation of the output power, which are classified according to the range of values for the internal phase shift angle D1 and the external phase shift angle D2. When D2 satisfies (1−D1)/2<D2≤0.5 or −0.5<D2≤−(1−D1)/2, the positive electrical level part of the primary side voltage completely coincides with the negative level part of the secondary side voltage, the corresponding modulation mode is mode one, at this time, the transformer current is close to a sine wave, and the effective value of the transformer current is maximum, but the zero-voltage soft switch of the primary and secondary switch tubes is most easily achieved; when D2 satisfies D1/2<D2≤(1−D1)/2 or −(1−D1)/2<D2≤−D1/2, one part of the positive electrical level of the primary side voltage coincides with the positive electrical level of the secondary side voltage, the other part of the positive electrical level of the primary side voltage coincides with the negative electrical level of the secondary side voltage, the corresponding modulation mode is mode two, at this time, the transformer current is close to a trapezoidal wave, the effective value of the transformer current is moderate, i.e., it is smaller than the effective value of mode one and larger than the effective value of mode three, and the zero-voltage soft switch of the primary and secondary switch tubes is easier to realize, i.e., the degree of ease is smaller than the degree of ease of mode one and larger than the degree of ease of mode three; when the external phase shift angle D2 satisfies 0≤D2≤D1/2 or −D1/2≤D2≤0, the positive electrical level part of the primary side voltage completely coincides with the positive level part of the secondary side square wave voltage, the corresponding modulation mode is mode three, at this time, the transformer current is close to a triangle wave, and the effective value of the transformer current is minimum, but the zero-voltage soft switch of the primary and secondary switch tubes is most difficult to achieve.


In a preferred embodiment, establishing an equivalent circuit model for the dual-active-bridge-type micro-inverter comprises: constructing a DC source Voc, a DC source series resistor Rpv, a DC side bus capacitor Cbus, a controlled current source iac,in, an ideal transformer with primary and secondary side turn ratio of 1:n, a controlled current source iac,out, a capacitor Cg, a filtering inductor Lg on a AC power grid side, an inductor winding resistor RL, and a DC pulsating source |vg|; the positive pole of the DC source Voc is connected with one end of the DC source series resistor Rpv, the other end of DC source series resistor Rpv is connected with the positive pole of the DC side bus capacitor Cbus, the positive pole of the DC side bus capacitor Cbus is simultaneously connected with the positive pole of the primary side of the ideal transformer, the negative pole of the primary side of the ideal transformer is connected with the negative pole of the DC source Voc, the positive pole of the secondary side of the ideal transformer is connected with the negative pole of the controlled current source iac,in, the negative pole of the secondary side of the ideal transformer is connected with the positive pole of the controlled current source iac,in and simultaneously connected with the negative pole of the controlled current source iac,out, the positive pole of the controlled current source iac,out is connected with the positive pole of the capacitor Cg and simultaneously connected with one end of the filtering inductor Lg on the AC power grid side, the other end of the inductor Lg on the AC power grid side is connected with one end of the inductor winding resistor RL, and the other end of the inductor winding resistor RL is connected with the positive pole of the DC pulsating source |vg|, and the negative pole of the DC pulsating source |vg| is connected with the negative pole of the capacitor Cg.


Wherein:


The voltage of the DC source Voc is the open-circuit voltage of the photovoltaic panels; the DC source series resistor Rpv is equal to the output voltage of the photovoltaic panels at the point of maximum power divided by the output current; the output currents of the controlled current source iac,in and the controlled current source iac,out (i.e. the transformer currents) vary according to the different modulation modes of the dual-active-bridge-type micro-inverter.


The output voltage of the constructed equivalent circuit is |vg| and the output current io is equal to ig·sgn(vg), wherein ig is a sampled grid-side current, and sgn(vg) is a sign function of the grid-side voltage.


In a preferred embodiment, the large signal model for the micro-inverter is a third-order average model {dot over (X)}=A1X+B1U. Wherein X is a state variable of the large signal model; {dot over (X)} is a derivative of the state variable of the large signal model with respect to time; U is an input variable of the large signal model; A1 is a coefficient matrix of the state variable of the large signal model, with an order of 3×3; B1 is a coefficient matrix of the input variable of the large signal model, with an order of 3×2.


Wherein:


The state variable X of the large signal model is: X=[custom-charactervbuscustom-character, custom-charactervcgcustom-character, custom-characteriocustom-character]T; the input variable U of the large signal model is: U=[custom-charactervdccustom-character, custom-charactervocustom-character]T; wherein custom-charactervbuscustom-character is an average value of the voltage of the DC side bus capacitor Cbus of the equivalent circuit during the switching period, custom-charactervcgcustom-character is an average value of the voltage of the capacitor Cg of the equivalent circuit during the switching period, custom-characteriocustom-character is an average value of the output current of the equivalent circuit during the switching period, custom-charactervdccustom-character is an average value of the input voltage of the DC side of the equivalent circuit during the switching period, and custom-charactervocustom-character is an average value of the output voltage of the equivalent circuit during the switching period.


The large signal model of the micro-inverter is used to solve the variation relationship of the state variable X with the input variable U, the solved variation relationship is used to analyze the steady-state operating point of the circuit, and the small signal model is solved and analyzed at the obtained steady-state operating point.


In a preferred embodiment, the small signal model for the micro-inverter is: a third-order model {dot over (x)}=A2x+B2u; wherein x is a state variable of the small signal model; {dot over (x)} is a derivative of the state variable of the small signal model; u is an input variable of the small signal model; A2 is a coefficient matrix of the state variable of the small signal model, with an order of 3×3; B1 is a coefficient matrix of the input variable of the small signal model, with an order of 3×4.


Wherein:


The state variable x of the small signal model is: x=[custom-character, custom-character, custom-character]T; the input variable u of the small signal model is: u=[custom-character, custom-character, custom-character, custom-character]T; wherein custom-character is a perturbation value of the voltage of the DC side bus capacitor Cbus of the equivalent circuit, custom-character is a perturbation value of the voltage of the capacitor Cg of the equivalent circuit, custom-character is a perturbation value of the output current of the equivalent circuit, custom-character is a perturbation value of the input voltage of the DC side of the equivalent circuit, custom-character is a perturbation value of the output voltage of the equivalent circuit, custom-character is a perturbation value of the internal phase shift angle, custom-character is a perturbation value of the external phase shift angle.


The small signal model of the dual-active-bridge-type micro-inverter can be used to solve a transfer function from four input variables to three state variables, further used to analyze the grid-connection stability and dynamic performance of the micro-inverter under different circuit parameters and operating conditions.


The four input variables are u=[custom-character, custom-character, custom-character, custom-character]T, the three state variables are x=[custom-character, custom-character, custom-character]T, and the expression of the transfer function is:






x
=



(

sI
-

A
2


)


-
1




B
2


u





Wherein I is a diagonal matrix with diagonal element 1, with an order of 3×3; s is the Laplace domain symbol; and the expressions of the matrices A2 and B2 are:







A
2

=

[




-

1


R

p

v




C

b

u

s








-

α

C
bus





0





α

C
g




0



-

1

C
g







0



1

L
g





-


R
L


L
g






]










B

2


=

[




1


R

p

v




C

b

u

s






0




β




"\[LeftBracketingBar]"


v
g



"\[RightBracketingBar]"




C
bus





-


γ




"\[LeftBracketingBar]"


v
g



"\[RightBracketingBar]"




C
bus







0


0



-


β


V

b

u

s




C
g







γ


V
bus



C
g






0



-

1

L
g





0


0



]





Wherein Vbus is the DC bus capacitor voltage, Rpv is the output voltage of the photovoltaic panels at the point of maximum power divided by the output current, Lg is the filtering inductor on the AC power grid side, and the symbolic variables α, β and γ are related to the modulation mode of the dual-active-bridge-type micro-inverter.


Furthermore, for mode two, the symbol variables are:






{




α
=


n

(


2


D
2


-

D
1
2

-

4


D
2
2



)


4


f
s



L
k









β
=





α




D
1



=

-



n
·
2



D
1



4


f
s



L
k











γ
=




α





D
2



=


n
·

(

2
-

8


D
2



)



4


f
s



L
k












Furthermore, for mode three, the symbol variables are:






{




α
=



n
·
2




D
2

(

1
-

2


D
1



)



4


f
s



L
k









β
=





α





D
1



=

-



n
·
4



D
2



4


f
s



L
k











γ
=





α





D
2



=



n
·
2



(

1
-

2


D
1



)



4


f
s



L
k












Wherein fs is the switching frequency of the switching tube, Lk is the value of the transformer leakage inductor converted to the secondary side, n is the transformer secondary-primary turns ratio, D1 and D2 are the internal and external phase shift angles, respectively.


The transfer function can be used to describe the quantitative variation relationship of the state variable with the input variable at different frequencies, and when the transfer function is known, the response of the state variable can be studied for various forms of input variables, in order to analyze the grid-connection stability of the micro-inverter.


The method to further analyze the dynamic performance of the micro-inverters under different circuit parameters and operating conditions is: changing the three parameters of photovoltaic terminal voltage vpv, power grid voltage amplitude Vm and grid-connection power Po, and under each set of parameters, obtaining the transfer function from the input variables to the state variables by solving according to the small signal model of the micro-inverter, and analyzing the dynamic performance of the micro-inverter according to the gain, crossover frequency, amplitude margin, and phase margin of the transfer function.


The circuit modeling method provided in the above mentioned embodiments of the present invention equates a dual-active-bridge-type micro-inverter to a standard dual-active-bridge circuit by establishing an equivalent circuit model, thereby establishing a third-order large signal model and a third-order small signal model of the micro-inverter, so as to facilitate the solution of the circuit state variables, and then to realize the analysis of the grid-connection stability and dynamic performance of the micro-inverter. The circuit modeling method establishes a complete large signal and small signal model of the micro-inverter. On the one hand, it facilitates the solution of the steady-state operating point, and on the other hand, the transfer function obtained using the small signal model facilitates the study of the dynamic performance of the micro-inverter.


An embodiment of the present invention also provides an output current control method of a dual-active-bridge-type micro-inverter, wherein a small signal model of the micro-inverter is established based on the circuit modeling method according to any one of the above mentioned embodiments, a control logic of the current loop is determined according to the positive and negative of the grid-side voltage, a grid-side current error obtained through the correct control logic is inputted to a current closed-loop compensation controller, and the output of the current closed-loop compensation controller is an external phase shift angle D2 of the micro-inverter which can be used for and phase shift control, to accomplish closed-loop control of the output current of the dual-active-bridge-type micro-inverter. wherein:


The control logic of the current loop is specified as follows:

    • When the power grid voltage vg is less than 0, the grid-side current error is (ig−ig,ref), wherein ig is the sampled grid-side current, and ig,ref is the given value of the grid-side current;
    • When the power grid voltage vg is greater than 0, the grid-side current error is (ig,ref−ig).


Further, the current closed-loop compensation controller is a quasi-proportional resonance (Q-PR) controller with three designable control parameters, respectively: {circle around (1)} a bandwidth adjustment parameter ωc, {circle around (2)} a proportionality coefficient Kp, and {circle around (3)} a resonance coefficient Kr.


The roles of the three parameters are as follows:

    • {circle around (1)} The bandwidth adjustment parameter ωc: is used to change the resonance bandwidth of the frequency band characteristics of the controller, and the smaller ωc is, the better the frequency selection characteristic is, but the worse the ability to resist power grid frequency disturbance is;
    • {circle around (2)} The proportionality coefficient Kp: is used to improve the dynamic characteristic of the dual-active-bridge-type micro-inverter control system, the larger Kp is, the shorter the response time is, but the larger the overshoot is;
    • {circle around (3)} The resonance coefficient Kr: is used to adjust the gain of the controller, the larger Kr is, the larger the controller gain is.


The specific design principles for the control parameters of the Q-PR controller are as follows:

    • Step 1: according to the small signal model of the dual-active-bridge-type micro-inverter, the transfer function Gio,d2(s) from the external phase shift angle to the output current at 3 ms during the power frequency period is obtained; the open-loop gain of the current loop at the power frequency ωac is selected to be greater than or equal to M; the crossover frequency of the current loop open-loop transfer function is selected to be ωcr; and the phase margin of the current loop open-loop transfer function is selected to be greater than or equal to ϕmargin;
    • Step 2: according to the maximum allowable variation range of the power grid angular frequency [−Δωmax, Δωmax], take ωc=Δωmax, wherein Δωmax is the maximum allowable variation of the power grid angular frequency;
    • Step 3: the current loop open-loop transfer function Tc(jωac)=Gio,d2(jωac)·GQPR(jωac) at the power frequency ωac is obtained according to Gio,d2(s) and the transfer function GQPR(s) of the Q-PR controller, let its gain be greater than or equal to M, an inequality constraint relationship |Gio,d2(jωac)·GQPR(jωac)|≥M containing Kp and Kr is obtained;
    • Step 4: according to the property that the current loop has a gain of 1 at the crossover frequency, an equality constraint relationship |Gio,d2(jωcr)·GQPR(jωcr)|=1 containing Kp and Kr is obtained;
    • Step 5: according to the condition that the phase margin of the current loop at the crossover frequency is greater than or equal to ϕmargin, an inequality constraint relationship π+angle[Gio,d2(jωcr)·GQPR(jωcr)]≥ϕmargin containing Kp and Kr is obtained.


According to the two inequality constraints and one equality constraint obtained in steps 3 to 5, the range of the proportionality coefficient Kp and the resonance coefficients Kr can be solved, and the appropriate control parameters can be selected accordingly.


In a specific application example, when |vg|≤10V is satisfied near the zero crossing point of the grid-side voltage, the current error of the input current closed-loop compensation controller is set to 0, and the calculation of the current error in other time periods is carried out in accordance with normal principle, specifically, when the power grid voltage vg is less than −10V, the current error of the grid-side is (ig−ig,ref); and when the power grid voltage vg is greater than 10V, the current error of the grid-side is (ig,ref−ig).


The output current control method provided in the above mentioned embodiments of the present invention is an output current closed-loop control method, wherein the correct current loop control logic is established on the basis of the small signal model of the dual-active-bridge-type micro-inverter, and the current loop parameter design method is given. The output current control method is conducive to improving the grid-connection stability and the precision of the output current of the micro-inverter, by giving the correct current loop control logic and the detailed current loop parameter design method.


The circuit modeling method and the output current control method provided in the above mentioned embodiments of the present invention are further explained below in conjunction with the accompanying drawings.



FIG. 1 shows a schematic diagram of the single-stage half-bridge DAB-type micro-inverter circuit. With reference to FIG. 1, the single-stage half-bridge DAB-type micro-inverter circuit consists of a photovoltaic panel component, a DC bus capacitor, a primary side full-bridge circuit, a high-frequency transformer, a secondary side half-bridge circuit, and a grid-side low-pass filter. The primary side full-bridge circuit contains switch tubes S1˜S4, and the secondary side half-bridge circuit contains switch tubes S5˜S8 and thin film capacitors C1/C2; turns ratio of the primary side to the secondary side of the high-frequency transformer is 1:n, and the excitation inductor converted to the primary side is Lm, and the transformer leakage inductor converted to the secondary side is Lk.



FIG. 2 shows the driving waveforms of switch tubes S1˜S8 and the voltage and current waveforms of the primary and secondary sides of the transformer of three modulation modes of the single-stage half-bridge DAB-type micro-inverter in Example 1 of the present invention. With reference to FIG. 2, the basic working mode of the single-stage half-bridge DAB-type micro-inverter is as follows: switch tubes S1 and S2 complementarily conduct at high frequencies, while switch tubes S3 and S4 complementarily conduct at high frequencies. When the grid-side voltage is positive, switch tubes S6 and S8 are normally on, and switch tubes S5 and S7 complementarily conduct at high frequencies; when the grid-side voltage is negative, switch tubes S5 and S7 are normally on, and switch tubes S6 and S8 complementarily conduct at high frequencies.


With reference to FIG. 2, the single-stage half-bridge DAB-type micro-inverter transformer can output three electrical levels {vpv, 0, −vpv} on the primary side, and can output two electrical levels {|vg|/2, −|vg|/2} on the secondary side. Wherein vpv is the photovoltaic panel terminal voltage and |vg| is the absolute value of the grid-side voltage.


Further, the single-stage half-bridge DAB-type micro-inverter realizes the output power regulation by phase shift modulation, and the micro-inverter has two control degrees of freedom, which are the internal phase shift angle D1 of the primary circuit and the external phase shift angle D2 of the primary and secondary circuits respectively, wherein the internal phase shift angle is defined as the angle between the drive pulses of the switch tube S4 and the drive pulses of the switch tube S1, and the external phase shift angle is defined as the angle between the fundamental wave of the transformer primary side square wave voltage and the fundamental wave of the transformer secondary side square wave voltage. The range of values of D1 is 0≤D1≤0.5, and the range of values of D2 is −0.5≤D2≤0.5.



FIG. 3 shows a schematic diagram of the ranges of internal phase shift angle and external phase shift angle corresponding to the three modulation modes in Example 1 of the present invention, and with reference to FIG. 3, when D2 satisfies (1−D1)/2<D2≤0.5 or −0.5<D2≤−(1−D1)/2, the corresponding modulation mode is mode one; when D2 satisfies D1/2<D2≤(1−D1)/2 or −(1−D1)/2<D2≤−D1/2, the corresponding modulation mode is mode two; and when the external phase shift angle D2 satisfies 0≤D2≤D1/2 or −D1/2≤D2≤0, the corresponding modulation mode is mode three.



FIG. 4 shows an equivalent circuit of the single-stage half-bridge DAB-type micro-inverter in Example 1 of the present invention, with reference to FIG. 4, the equivalent circuit of the micro-inverter consists of a DC source Voc, a DC source series resistor Rpv, a DC side bus capacitor Cbus, a controlled current source iac,in, an ideal transformer with primary and secondary side turn ratio of 1:n, a controlled current source iac,out, a capacitor Cg, a filtering inductor Lg on a AC power grid side, an inductor winding resistor RL.


Wherein the voltage of the DC source Voc is the open-circuit voltage of the photovoltaic panels; the DC source series resistor Rpv is equal to the output voltage of the photovoltaic panels at the point of maximum power divided by the output current; the output currents of the controlled current source iac,in and the controlled current source iac,out vary according to the different modulation modes; the capacitance Ceq is the series connection of C1 and C2; and the output voltage of the equivalent circuit is |vg| and the output current io is equal to ig·sgn(vg).


According to the equivalent circuit of the single-stage half-bridge DAB-type micro-inverter shown in FIG. 4, a large signal model of the circuit can be given. The large signal model of the circuit is a third-order average model {dot over (X)}=A1X+B1U; wherein X is a state variable of the large signal model; {dot over (X)} is a derivative of the state variable of the large signal model with respect to time; U is an input variable of the large signal model; A1 is a coefficient matrix of the state variable of the large signal model, with an order of 3×3; B1 is a coefficient matrix of the input variable of the large signal model, with an order of 3x2.


The state variable X of the large signal model is: X=[custom-charactervbuscustom-character, custom-charactervcgcustom-character, custom-characteriocustom-character]T; the input variable U of the large signal model is: U=[custom-charactervdccustom-character, custom-charactervocustom-character]T; wherein custom-charactervbuscustom-character is an average value of the voltage of the DC side bus capacitor Cbus during the switching period, custom-charactervcgcustom-character is an average value of the voltage of the capacitor Cg of the equivalent circuit during the switching period, custom-characteriocustom-character is an average value of the output current of the equivalent circuit during the switching period, custom-charactervdccustom-character is an average value of the input voltage of the DC side of the equivalent circuit during the switching period, and custom-charactervocustom-character is an average value of the output voltage of the equivalent circuit during the switching period.


The general formula of the large signal model is:










d
dt

[






v
bus










v

e

q











i
o






]

=

[




-

1


R

p

v




C
bus







-

α

C

b

u

s






0





α

C

e

q





0



-

1

C

e

q








0



1

L
g





-


R
L


L
g






]











[






v

b

u

s











v

e

q











i
o






]

+


[




1


R
s



C
bus





0




0


0




0



-

1

L
g






]

[








"\[LeftBracketingBar]"


v

o

c




"\[RightBracketingBar]"













"\[LeftBracketingBar]"


v
g



"\[RightBracketingBar]"







]








Wherein α is related to the modulation mode of the micro-inverter, for mode two:







α
=


n

(


2


d
δ


-

d
1
2

-

4


d
δ
2



)


4


f
s



L
k




,




and for mode three:






α
=




n
·
2




d
δ

(

1
-

2


d
1



)



4


f
s



L
k



.





According to the equivalent circuit of the single-stage half-bridge DAB-type micro-inverter shown in FIG. 4, a small signal model of the circuit can be given. The small signal model of the circuit is a third-order model {dot over (x)}=A2x+B2u; wherein x is a state variable of the small signal model; {dot over (x)} is a derivative of the state variable of the small signal model; u is an input variable of the small signal model; A2 is a coefficient matrix of the state variable of the small signal model, with an order of 3×3; B1 is a coefficient matrix of the input variable of the small signal model, with an order of 3×4.


The state variable x of the small signal model is: x=[custom-character, custom-character, custom-character]T; the input variable u of the small signal model is: u=[custom-character, custom-character, custom-character, custom-character]T; wherein custom-character is a perturbation value of the voltage of the DC side bus capacitor of the equivalent circuit, custom-character is a perturbation value of the voltage of the capacitor Ceq of the equivalent circuit, custom-character is a perturbation value of the output current of the equivalent circuit, custom-character is a perturbation value of the input voltage of the DC side of the equivalent circuit, custom-character is a perturbation value of the output voltage of the equivalent circuit, custom-character is a perturbation value of the internal phase shift angle, custom-character is a perturbation value of the external phase shift angle.


The general formula of the small signal model is:










d
dt

[













]

=

[




-

1


R

p

v




C
bus







-

α

C

b

u

s






0





α

C

e

q





0



-

1

C

e

q








0



1

L
g





-


R
L


L
g






]









[













]

+


[




1


R

p

v




C

b

u

s






0




β


V
eq



C
bus





-


γ


V
eq



C
bus







0


0



-


β


V

b

u

s




C
eq







γ


V
bus



C
eq






0



-

1

L
g





0


0



]

[
















]







Wherein the symbol variables α, β, γ are related to the modulation modes, and for mode two, the symbol variables are:






{




α
=


n

(


2


D
2


-

D
1
2

-

4


D
2
2



)


4


f
s



L
k









β
=





α





D
1



=

-



n
·
2



D
1



4


f
s



L
k











γ
=





α





D
2



=


n
·

(

2
-

8


D
2



)



4


f
s



L
k












For mode three, the symbol variables are:






{




α
=



n
·
2




D
2

(

1
-

2


D
1



)



4


f
s



L
k









β
=





α





D
1



=

-



n
·
4



D
2



4


f
s



L
k











γ
=





α




D
2



=



n
·
2



(

1
-

2


D
1



)



4


f
s



L
k












The small signal model of the single-stage half-bridge DAB-type micro-inverter according to the above mentioned can be used to solve the transfer function from the four input variables to the three state variables, the specific solution method is:






x
=



(

sI
-

A
2


)


-
1




B
2


u





Wherein I is a diagonal matrix with diagonal element 1, with an order of 3×3; s is the Laplace domain symbol.


The overall control block diagram of the single-stage half-bridge DAB-type micro-inverter in Example 2 of the present invention is shown in FIG. 5. With reference to FIG. 5, the control block diagram is divided into six parts: maximum power point tracking (MPPT), voltage loop, phase-locked loop, current loop, feedforward control and phase shift control. After sampling the terminal voltage vpv and output current ipv of the photovoltaic panel, the controller generates the given value of the terminal voltage of the photovoltaic panel Vpv,ref after passing through the maximum power point tracking (MPPT) segment; the amplitude of the given value of the grid-side current Im is generated by passing the difference between Vpv,ref and the actual sampled voltage vpv through the voltage loop; the controller samples the grid-side voltage vg and generates the phase θ of the grid-side voltage through the phase-locked loop; θ, after sine transformation, is multiplied with Im to obtain the given value of the grid-side current ig,ref and make a difference with the actual grid-side current sampling value ig, after a certain control logic, the external phase shift angle D2 is obtained through the current closed-loop compensation controller; the internal phase shift angle D1 generates drive signals S1˜S4 through the phase shift controller, and the external phase shift angle D2 generates drive signals S5˜S8 through the phase shift controller, such that the single-stage half-bridge DAB-type micro-inverter outputs the given power.


Further, the control logic of the current loop is specified as follows:

    • When the power grid voltage vg is less than 0, the grid-side current error is (ig−ig,ref), wherein ig is the sampled grid-side current, and ig,ref is the given value of the grid-side current;
    • When the power grid voltage vg is greater than 0, the grid-side current error is (ig,ref−ig).


The current error of the input current closed-loop compensation controller is 0 near the zero crossing point of the grid-side voltage, i.e., when |vg|≤10V is satisfied.


Further, the current closed-loop compensation controller is a quasi-proportional resonance (Q-PR) controller with three designable control parameters, respectively: {circle around (1)} a bandwidth adjustment parameter ωc, {circle around (2)} a proportionality coefficient Kp, and {circle around (3)} a resonance coefficient Kr.


Specifically, the roles of the three parameters are as follows:

    • {circle around (1)} The bandwidth adjustment parameter ωc: is used to change the resonance bandwidth of the frequency band characteristics of the controller, the smaller ωc is, the better the frequency selection characteristic is, but the worse the ability to resist power grid frequency disturbance is;
    • {circle around (2)} The proportionality coefficient Kp: is used to improve the dynamic characteristics of the system, the larger Kp is, the shorter the response time is, but the larger the overshoot is;
    • {circle around (3)} The resonance coefficient Kr: is used to adjust the gain of the controller, the larger Kr is, the larger the controller gain is.


Specifically, the specific design principles of the Q-PR controller are as follows:

    • Step 1: according to the small signal model of the single-stage half-bridge DAB-type micro-inverter, the transfer function Gio,d2(s) from the external phase shift angle to the output current at 3 ms during the power frequency period is obtained; the open-loop gain of the current loop at the power frequency ωac is selected to be greater than or equal to M; the crossover frequency of the current loop open-loop transfer function is selected to be ωcr; and the phase margin of the current loop open-loop transfer function is selected to be greater than or equal to ϕmargin;
    • Step 2: according to the maximum allowable variation range of the power grid angular frequency [−Δωmax, Δωmax], take ωc=Δωmax, wherein Δωmax is the maximum allowable variation of the power grid angular frequency;
    • Step 3: the current loop open-loop transfer function Tc(jωac)=Gio,d2(jωac)·GQPR(jωac) at the power frequency ωac is obtained according to Gio,d2(s) and the transfer function GQPR(s) of the Q-PR controller, let its gain be greater than or equal to M, an inequality constraint relationship |Gio,d2(jωac)·GQPR(jωac)|≥M containing Kp and Kr is obtained;
    • Step 4: according to the property that the current loop has a gain of 1 at the crossover frequency, an equality constraint relationship |Gio,d2(jωcr)·GQPR(jωcr)|=1 containing Kp and Kr is obtained;
    • Step 5: according to the condition that the phase margin of the current loop at the crossover frequency is greater than or equal to ϕmargin, an inequality constraint relationship π+angle[Gio,d2(jωcr)·GQPR(jωcr)]≥ϕmargin containing Kp and Kr is obtained.


According to the two inequality constraints and one equality constraint obtained in steps 3 to 5, so that the range of the proportionality coefficient Kp and the resonance coefficients Kr can be solved, and the appropriate control parameters can be selected accordingly.


Of course, the specific circuits of the above embodiments are only preferred embodiments of one implementation of the present invention, and are not intended to limit the present invention, and in other embodiments may also be other forms of circuits realizing the same function.


The circuit modeling method of a dual-active-bridge-type micro-inverter in the above embodiment of the present invention establishes a complete third-order micro-inverter large signal and small signal model. On the one hand, it facilitates the solution of the steady-state operating point, and on the other hand, the small signal model enables further study the dynamic performance of the micro-inverter, and provides guidance for the design of control parameters.


The output current control method of a dual-active-bridge-type micro-inverter in the above embodiment of the present invention gives a correct current loop control logic and an exhaustive current loop parameter design method, which is conducive to improving the grid-connection stability and output current accuracy of the micro-inverter.


Matters not mentioned in the above embodiments of the present invention are all well-known in the art.


The specific embodiments of the present invention have been described above. It should be understood that the present invention is not limited to the specific embodiments described above, and those skilled in the art may make various deformations or modifications within the scope of the claims, which do not affect the substantive content of the present invention.

Claims
  • 1. A circuit modeling method for a dual-active-bridge-type micro-inverter, comprising: equating the micro-inverter to a standard dual-active-bridge-type circuit by establishing an equivalent circuit model for the dual-active-bridge-type micro-inverter, thereby further establishing a large signal model and a small signal model for the micro-inverter, completing the circuit modeling of the dual-active-bridge-type micro-inverter; wherein: establishing an equivalent circuit model for the dual-active-bridge-type micro-inverter, comprising:constructing a DC source Voc, a DC source series resistor Rpv, a DC side bus capacitor Cbus, a controlled current source iac,in, an ideal transformer with a primary side to a secondary side turn ratio of 1:n, a controlled current source iac,out, a capacitor Cg, a filtering inductor Lg on a AC power grid side, an inductor winding resistor RL, and a DC pulsating source |vg|; the positive pole of the DC source Voc is connected with one end of the DC source series resistor Rpv, the other end of DC source series resistor Rpv is connected with the positive pole of the DC side bus capacitor Cbus, the positive pole of the DC side bus capacitor Cbus is simultaneously connected with the positive pole of the primary side of the ideal transformer, the negative pole of the primary side of the ideal transformer is connected with the negative pole of the DC source Voc, the positive pole of the secondary side of the ideal transformer is connected with the negative pole of the controlled current source iac,in, the negative pole of the secondary side of the ideal transformer is connected with the positive pole of the controlled current source iac,in and simultaneously connected with the negative pole of the controlled current source iac,out, the positive pole of the controlled current source iac,out is connected with the positive pole of the capacitor Cg and simultaneously connected with one end of the filtering inductor Lg on the AC power grid side, the other end of the inductor Lg on the AC power grid side is connected with one end of the inductor winding resistor RL, and the other end of the inductor winding resistor RL is connected with the positive pole of the DC pulsating source |vg|, and the negative pole of the DC pulsating source |vg| is connected with the negative pole of the capacitor Cg;the established large signal model for the micro-inverter is: a third-order average model {dot over (X)}=A1X+B1U; wherein X is a state variable of the large signal model; {dot over (X)} is a derivative of the state variable of the large signal model with respect to time; U is an input variable of the large signal model; A1 is a coefficient matrix of the state variable of the large signal model; B1 is a coefficient matrix of the input variable of the large signal model; the state variable X of the large signal model is: X=[vbus, vcg, io]T; the input variable U of the large signal model is: U=[vdc, vo]T; wherein vbus is an average value of the voltage of the DC side bus capacitor Cbus of the equivalent circuit during the switching period, vcg is an average value of the voltage of the capacitor Cg of the equivalent circuit during the switching period, io is an average value of the output current of the equivalent circuit during the switching period, vdc is an average value of the input voltage of the DC side of the equivalent circuit during the switching period, and vo is an average value of the output voltage of the equivalent circuit during the switching period;the established small signal model for the micro-inverter is: a third-order model {dot over (x)}=A2x+B2u; wherein x is a state variable of the small signal model; {dot over (x)} is a derivative of the state variable of the small signal model; u is an input variable of the small signal model; A2 is a coefficient matrix of the state variable of the small signal model; B1 is a coefficient matrix of the input variable of the small signal model; the state variable x of the small signal model is: x=[, , ]T; the input variable u of the small signal model is: u=[, , , ]T; wherein is a perturbation value of the voltage of the DC side bus capacitor Cbus of the equivalent circuit, is a perturbation value of the voltage of the capacitor Cg of the equivalent circuit, is a perturbation value of the output current of the equivalent circuit, is a perturbation value of the input voltage of the DC side of the equivalent circuit, is a perturbation value of the output voltage of the equivalent circuit, is a perturbation value of the internal phase shift angle, is a perturbation value of the external phase shift angle.
  • 2. The circuit modeling method for the dual-active-bridge-type micro-inverter according to claim 1, wherein in the equivalent circuit model of the dual-active-bridge-type micro-inverter, the voltage of the DC source Voc is the open-circuit voltage of the photovoltaic panels; the DC source series resistor Rpv is equal to the output voltage of the photovoltaic panels at the point of maximum power divided by the output current; the output currents of the controlled current source iac,in and the controlled current source iac,out vary according to the different modulation modes of the dual-active-bridge-type micro-inverter; the DC pulsating source |vg| is the output voltage of the equivalent circuit model, and the output current of the equivalent circuit model io is equal to ig·sgn(vg), wherein ig is a sampled grid-side current, and sgn(vg) is a sign function of the grid-side voltage.
  • 3. The circuit modeling method for the dual-active-bridge-type micro-inverter according to claim 1, wherein the large signal model of the micro-inverter is used to solve the variation relationship of the state variable X with the input variable U, the variation relationship obtained by solving is used to analyze the steady-state operating point of the circuit, and the small signal model is solved and analyzed at the obtained steady-state operating point.
  • 4. The circuit modeling method for the dual-active-bridge-type micro-inverter according to claim 1, wherein the small signal model of the micro-inverter is used to solve a transfer function from four input variables to three state variables, further used to analyze the grid-connection stability and dynamic performance of the micro-inverter under different circuit parameters and operating conditions; wherein: the four input variables are u=[, , , ]T, the three state variables are x=[, , ]T, and the expression of the transfer function is:
  • 5. The circuit modeling method for the dual-active-bridge-type micro-inverter according to claim 4, wherein the modulation mode of the dual-active-bridge-type micro-inverter, comprising: the angle between the negative rising edge of the transformer primary side square wave voltage and the positive rising edge of the transformer primary side square wave voltage is positioned as the internal phase shift angle D1, the angle between the fundamental wave of the transformer primary side square wave voltage and the fundamental wave of the transformer secondary side square wave voltage is defined as the external phase shift angle D2, and the internal phase shift angle D1 and the external phase shift angle D2 are taken as two control degrees of freedom for the dual-active-bridge-type micro-inverter, wherein the range of values of D1 is 0≤D1≤0.5, and the range of values of D2 is −0.5≤D2≤0.5;according to the two control degrees of freedom, the modulation mode of transmission power is divided into mode one, mode two and mode three, wherein: when the external phase shift angle D2 satisfies (1−D1)/2<D2≤0.5 or −0.5<D2≤−(1−D1)/2, the positive electrical level part of the primary side square wave voltage completely coincides with the negative level part of the secondary side square wave voltage, the corresponding modulation mode is mode one, at this time, the output currents of the controlled current source iac,in and the controlled current source iac,out are close to a sine wave, and the effective value of output current is maximum; when the external phase shift angle D2 satisfies 0≤D2≤D1/2 or −D1/2≤D2≤0, the positive electrical level part of the primary side square wave voltage completely coincides with the positive level part of the secondary side square wave voltage, the corresponding modulation mode is mode three, at this time, the output currents of the controlled current source iac,in and the controlled current source iac,out are close to a triangular wave, and the effective value of output current is minimum; when the external phase shift angle D2 satisfies D1/2<D2≤(1−D1)/2 or −(1−D1)/2<D2≤−D1/2, one part of the positive electrical level of the primary side square wave voltage coincides with the positive electrical level of the secondary side square wave voltage, the other part of the positive electrical level of the primary side square wave voltage coincides with the negative electrical level of the secondary side square wave voltage, the corresponding modulation mode is mode two, at this time, the output currents of the controlled current source iac,in and the controlled current source iac,out are close to a trapezoidal wave, the effective value of the output current is less than the effective value in mode one and greater than the effective value in mode three.
  • 6. The circuit modeling method for the dual-active-bridge-type micro-inverter according to claim 5, wherein for the mode two, the symbol variables α, β and γ are respectively:
  • 7. An output current control method of a dual-active-bridge-type micro-inverter, wherein based on the small signal model of the micro-inverter established by the circuit modeling method according to claim 1, a control logic of the current loop is determined according to the positive and negative of the grid-side voltage, a grid-side current error is obtained through the determined control logic and inputted to a current closed-loop compensation controller, and the output of the current closed-loop compensation controller is an external phase shift angle D2 of the micro-inverter, and phase shift control is carried out through the external phase shift angle D2 to accomplish closed-loop control of the output current of the dual-active-bridge-type micro-inverter; wherein: the control logic of the current loop comprises:when the power grid voltage vg is less than 0, the grid-side current error is (ig−ig,ref), wherein ig is the sampled grid-side current, and ig,ref is the given value of the grid-side current;when the power grid voltage vg is greater than 0, the grid-side current error is (ig,ref−ig).
  • 8. The output current control method of a dual-active-bridge-type micro-inverter according to claim 7, wherein the current closed-loop compensation controller uses a quasi-proportional resonant controller, and the quasi-proportional resonance controller has three control parameters, respectively: a bandwidth adjustment parameter ωc, a proportionality coefficient Kp and a resonance coefficient Kr; wherein: the bandwidth adjustment parameter ωc: is used to change the resonance bandwidth of the frequency band characteristics of the current closed-loop compensation controller, the smaller ωc is, the better the frequency selection characteristics are, but the worse the ability to resist power grid frequency disturbance is;the proportionality coefficient Kp: is used to improve the dynamic characteristics of the dual-active-bridge-type micro-inverter control system, the larger Kp is, the shorter the response time is, but the larger the overshoot is;the resonance coefficient Kr: is used to adjust the gain of the current closed-loop compensation controller, the larger Kr is, the larger the controller gain is.
  • 9. The output current control method of a dual-active-bridge-type micro-inverter according to claim 8, wherein the design method for the control parameters of the quasi-proportional resonance controller, comprising: according to the small signal model of the dual-active-bridge-type micro-inverter, obtaining the current loop open-loop transfer function Gio,d2(s) from the external phase shift angle D2 to the output current at the set time during the power frequency period; selecting the open-loop gain of the current loop at the power frequency ωac to be greater than or equal to M; selecting the crossover frequency of the current loop open-loop transfer function to be ωcr; and selecting the phase margin of the current loop open-loop transfer function to be greater than or equal to ϕmargin;according to the maximum allowable variation range of the power grid angular frequency [−Δωmax, Δωmax], taking ωc=Δωmax, wherein Δωmax is the maximum allowable variation of the power grid angular frequency;obtaining the current loop open-loop transfer function Tc(jωac)=Gio,d2(jωac)·GQPR(jωac) at the power frequency ωac according to the current loop open-loop transfer function Gio,d2(s) and the transfer function GQPR(s) of the quasi-proportional resonance controller, wherein j is an imaginary unit, letting the gain of the current loop open-loop transfer function Tc(jωac) at the power frequency ωac be greater than or equal to M, obtaining an inequality constraint relationship |Gio,d2(jωac)·GQPR(jωac)|≥M containing the proportionality coefficient Kp and the resonance coefficient Kr;according to the property that the current loop has a gain of 1 at the crossover frequency ωcr, obtaining an equality constraint relationship |Gio,d2(jωcr)·GQPR(jωcr)|=1 containing the proportionality coefficient Kp and the resonance coefficient Kr;according to the condition that the phase margin of the current loop at the crossover frequency ωcr needs to be greater than or equal to ϕmargin, obtaining an inequality constraint relationship π+angle[Gio,d2(jωcr)·GQPR(jωcr)]≥ϕmargin containing Kp and Kr;according to the two inequality constraints relationship and one equality constraint relationship obtained above, the range of the proportionality coefficient Kp and the resonance coefficients Kr can be solved, and the control parameters can be obtained accordingly.
  • 10. The output current control method of a dual-active-bridge-type micro-inverter according to claim 7, further comprising: when |vg|≤10V is satisfied near the zero crossing point of the grid-side voltage, the current error of the input current closed-loop compensation controller is set to 0;when the power grid voltage vg is less than −10V, the current error of the grid-side is (ig−ig,ref);when the power grid voltage vg is greater than 10V, the current error of the grid-side is (ig,ref−ig).
Priority Claims (1)
Number Date Country Kind
202210590607.4 May 2022 CN national
PCT Information
Filing Document Filing Date Country Kind
PCT/CN2023/092409 5/6/2023 WO