System And Method For Enhanced Droop Control

Abstract

A method includes controlling an inverter to operate at an initial frequency, where the inverter is coupled to a load and a source. The method also includes sensing a load power, generating a droop set point frequency in response to a change in the load power, applying a first proportional gain constant (K.sub.p1) and a first integral gain constant (K.sub.i1) to a rate of change of the droop set point frequency to generate an adaptive ramp rate, and controlling a frequency of the inverter based on the initial frequency and the adaptive ramp rate.

Claims

1. A method, comprising: controlling an inverter to operate at an initial frequency, wherein the inverter is coupled to a load and a source; sensing a load power; generating a droop set point frequency in response to a change in the load power; applying a first proportional gain constant (K.sub.p1) and a first integral gain constant (K.sub.i1) to a rate of change of the droop set point frequency to generate an adaptive ramp rate; and controlling a frequency of the inverter based on the initial frequency and the adaptive ramp rate.

2. The method of claim 1, wherein a difference between a) the frequency of the inverter, and b) a frequency of another power source in response to the change in the load power is reduced based on generating the adaptive ramp rate and controlling the frequency of the inverter based on the initial frequency and the adaptive ramp rate.

3. The method of claim 2, wherein the other power source comprises a synchronous machine or a microgrid comprising a plurality of paralleled sources.

4. The method of claim 1, wherein controlling the frequency of the inverter is further based on applying a rate limiter to the initial frequency.

5. The method of claim 1, wherein the inverter comprises a direct current (DC) bus and a resistor bank coupled to the DC bus by an H-bridge circuit, wherein a voltage applied to the resistor bank is controlled by the H-bridge circuit, and wherein the method further comprises controlling a duty cycle of the H-bridge circuit based on a voltage of the DC bus and a DC bus reference voltage.

6. A method, comprising: sensing an output power of an inverter, wherein the inverter is coupled to a load and a source; applying a droop curve (m) to the output power of the inverter to generate a droop set point frequency in response to the output power; and generating a no load frequency by applying a second proportional gain constant (K.sub.p2) and a second integral gain constant (K.sub.i2) to a difference between the output power of the inverter and a reference power (P.sub.ref), wherein K i 2 = m * K p 2 * P 0 , wherein P.sub.0 is a system power constant, and wherein the output power of the inverter is controlled based on the no load frequency.

7. The method of claim 6, wherein the reference power is a power rating of the inverter, wherein the power rating of the inverter is provided to a negative input of an error amplifier, wherein the output power of the inverter is provided to a positive input of the error amplifier, and wherein K.sub.p2 and K.sub.i2 are applied to an output of the error amplifier.

8. The method of claim 6, wherein the reference power is a negative or minimum power rating of the inverter, wherein the negative power rating of the inverter is provided to a positive input of an error amplifier, wherein the output power of the inverter is provided to a negative input of the error amplifier, and wherein K.sub.p2 and K.sub.i2 are applied to an output of the error amplifier.

9. The method of claim 6, wherein a transfer function (G(s)) of a proportional-integral (PI) controller that applies K.sub.p2 and K.sub.i2 is given by: G ( s ) = s K p 2 + K i 2 s .

10. The method of claim 6, wherein applying K.sub.p2 and K.sub.i2 to the difference between the output power of the inverter and P.sub.ref generates a frequency offset, and wherein the no load frequency is a sum of the frequency offset and a feed forward frequency.

11. A microgrid, comprising: a power source; a load; and an inverter electrically coupled to the power source and configured to provide a load power to the load, wherein the inverter comprises a controller configured to: control the inverter to operate at an initial frequency; sense the load power; generate a droop set point frequency in response to a change in the load power; apply a first proportional gain constant (K.sub.p1) and a first integral gain constant (K.sub.i1) to a rate of change of the droop set point frequency to generate an adaptive ramp rate; and control a frequency of the inverter based on the initial frequency and the adaptive ramp rate.

12. The microgrid of claim 11, wherein a difference between a) the frequency of the inverter, and b) a frequency of another power source in response to the change in the load power is reduced based on generating the adaptive ramp rate and controlling the frequency of the inverter based on the initial frequency and the adaptive ramp rate.

13. The microgrid of claim 12, wherein the other power source comprises a synchronous machine or a microgrid comprising a plurality of paralleled sources.

14. The microgrid of claim 11, wherein controlling the frequency of the inverter is further based on applying a rate limiter to the initial frequency.

15. The microgrid of claim 11, wherein the inverter comprises a direct current (DC) bus and a resistor bank coupled to the DC bus by an H-bridge circuit, wherein a voltage applied to the resistor bank is controlled by the H-bridge circuit, and wherein the method further comprises controlling a duty cycle of the H-bridge circuit based on a voltage of the DC bus and a DC bus reference voltage.

16. A microgrid, comprising: a power source; a load; and an inverter electrically coupled to the power source and configured to provide a load power to the load, wherein the inverter comprises a controller configured to: apply a droop curve (m) to an output power of the inverter to generate a droop set point frequency in response to the output power; and generate a no load frequency by applying a second proportional gain constant (K.sub.p2) and a second integral gain constant (K.sub.i2) to a difference between the output power of the inverter and a reference power (P.sub.ref), wherein K i 2 = m * K p 2 * P 0 , wherein P.sub.0 is a system power constant, and wherein the output power of the inverter is controlled based on the no load frequency.

17. The microgrid of claim 16, wherein the reference power is a power rating of the inverter, wherein the power rating of the inverter is provided to a negative input of an error amplifier, wherein the output power of the inverter is provided to a positive input of the error amplifier, and wherein K.sub.p2 and K.sub.i2 are applied to an output of the error amplifier.

18. The microgrid of claim 16, wherein the reference power is a negative or minimum power rating of the inverter, wherein the negative power rating of the inverter is provided to a positive input of an error amplifier, wherein the output power of the inverter is provided to a negative input of the error amplifier, and wherein K.sub.p2 and K.sub.i2 are applied to an output of the error amplifier.

19. The microgrid of claim 16, wherein a transfer function (G(s)) of a proportional-integral (PI) controller that applies K.sub.p2 and K.sub.i2 is given by: G ( s ) = s K p 2 + K i 2 s .

20. The microgrid of claim 16, wherein applying K.sub.p2 and K.sub.i2 to the difference between the output power of the inverter and P.sub.ref generates a frequency offset, and wherein the no load frequency is a sum of the frequency offset and a feed forward frequency.

Description

BRIEF DESCRIPTION OF THE DRAWINGS

[0014] For a more complete understanding of this disclosure, reference is now made to the following brief description, taken in connection with the accompanying drawings and detailed description, wherein like reference numerals represent like parts.

[0015] FIG. 1 is a schematic illustration of a circuit model of a grid-forming inverter;

[0016] FIG. 2 is a schematic illustration of a droop control implementation for a grid-forming inverter;

[0017] FIG. 3 is a schematic illustration of a closed loop model of droop control for a grid-forming inverter;

[0018] FIG. 4 is a schematic illustration of a closed loop model of frequency control for a synchronous generator;

[0019] FIG. 5 is a schematic illustration of the closed loop model of droop control with a rate limiter for a grid-forming inverter;

[0020] FIG. 6 is a schematic illustration of a circuit model for two-source parallel operation in response to a step load condition;

[0021] FIG. 7 is a graphical illustration of active power and frequency responses of a synchronous generator and a grid-forming inverter in response to a step load condition;

[0022] FIG. 8 is a schematic illustration of a closed loop model of droop control with an adaptive ramp controller for a grid-forming inverter in accordance with an embodiment of the present disclosure;

[0023] FIG. 9 is a graphical illustration of active power and frequency responses of a synchronous generator and a grid-forming inverter in response to a step load condition, in which the inverter implements closed loop droop control with an adaptive ramp controller in accordance with an embodiment of the present disclosure;

[0024] FIG. 10 is a graphical illustration of active power and frequency responses of two grid-forming inverters in response to a step down load condition, in which one of the inverters implements a closed loop droop control with an adaptive ramp controller in accordance with an embodiment of the present disclosure;

[0025] FIG. 11 is a schematic illustration of the closed loop model of droop control that models load disturbances and droop curve offset;

[0026] FIG. 12 is a graphical illustration of power control through droop curve offset adjustment;

[0027] FIG. 13 is a schematic illustration of a model of a power control loop that employs offset control in accordance with an embodiment of the present disclosure;

[0028] FIG. 14 is a schematic illustration of a model of a simplified power control loop in accordance with an embodiment of the present disclosure;

[0029] FIG. 15 is a schematic illustration of a model of a maximum power control loop in accordance with an embodiment of the present disclosure;

[0030] FIG. 16 is a schematic illustration of a model of a minimum power control loop in accordance with an embodiment of the present disclosure;

[0031] FIG. 17 is a schematic illustration of a model of a DC bus control loop in accordance with an embodiment of the present disclosure;

[0032] FIG. 18 is a graphical illustration of power and frequency responses of a generator and a grid-forming inverter in response to a step down load condition, which illustrates the effect of the inverter implementing a minimum power control loop in accordance with an embodiment of the present disclosure;

[0033] FIG. 19 is a schematic illustration of a DC braking module in accordance with an embodiment of the present disclosure; and

[0034] FIG. 20 is a schematic illustration of a DC braking module control loop in accordance with an embodiment of the present disclosure.

DETAILED DESCRIPTION

[0035] The following discussion is directed to various exemplary embodiments. However, one skilled in the art will understand that the examples disclosed herein have broad application, and that the discussion of any embodiment is meant only to be exemplary of that embodiment, and not intended to suggest that the scope of the disclosure, including the claims, is limited to that embodiment.

[0036] Certain terms are used throughout the following description and claims to refer to particular features or components. As one skilled in the art will appreciate, different persons may refer to the same feature or component by different names. This document does not intend to distinguish between components or features that differ in name but not function. The drawing figures are not necessarily to scale. Certain features and components herein may be shown exaggerated in scale or in somewhat schematic form and some details of conventional elements may not be shown in interest of clarity and conciseness.

[0037] Unless the context dictates the contrary, all ranges set forth herein should be interpreted as being inclusive of their endpoints, and open-ended ranges should be interpreted to include only commercially practical values. Similarly, all lists of values should be considered as inclusive of intermediate values unless the context indicates the contrary.

[0038] In the following discussion and in the claims, the terms including and comprising are used in an open-ended fashion, and thus should be interpreted to mean including, but not limited to . . . Also, the term couple or couples is intended to mean either an indirect or direct connection. Thus, if a first device couples to a second device, that connection may be through a direct engagement between the two devices, or through an indirect connection that is established via other devices, components, nodes, and connections. As used herein, the terms approximately, about, substantially, and the like mean within 10% (i.e., plus or minus 10%) of the recited value. Thus, for example, a recited voltage of about 5 volts refers to a voltage ranging from 4.5 volts to 5.5 volts.

[0039] Droop control is a technique for regulating voltage and frequency of energy sources (or the inverters coupled thereto) by inherently regulating reactive power and active power, which can be sensed locally, based on certain AC droop curves. For example, an inverter controller senses the output voltage of an inverter and controls the output voltage independently based on the AC droop curves. Applying droop control across microgrid sources (e.g., grid-forming inverters) enables synchronization and power sharing among the various energy sources.

[0040] However, dissimilar energy sources may respond differently to various grid conditions, such as step changes in load (step load conditions, or step loads for brevity), source impedances, short circuit conditions, and the like. For example, a rate of change of a droop setpoint frequency (ROCOF) in response to a step load may be different for a solar inverter than for a synchronous machine, which inherently includes an inertial component that is not present in the solar inverter. This difference in response to a grid condition (e.g., a step load) may result in circulating power between the energy sources, which may damage the inverter (e.g., by exceeding its rated power) or trigger various remedial measures, such as shutting down or restarting the microgrid. Accordingly, it is useful to control the operation of grid-connected inverters to more closely match the response of other grid-connected sources to a particular grid condition, and thus reduce the presence and amount of circulating power.

[0041] One approach to control a grid-connected inverter to reduce the above problems is to emulate the synchronous machine behavior by implementing a rate limiter control to the ROCOF of the inverter. However, emulating the behavior of a particular synchronous machine requires knowing the synchronous machine parameters in advance, which is not always feasible. Also, even if synchronous machine parameters are known in advance, the microgrid may include dissimilar synchronous machines, or other grid-connected sources with different frequency response behavior in response to a particular grid condition. Accordingly, it is difficult to design an inverter to effectively emulate other unknown and/or diverse energy sources.

[0042] Embodiments of the present disclosure address the foregoing by providing an adaptive ramp rate controller that applies proportional-integral (PI) control to the droop setpoint frequency during such step load conditions that may demand step changes in inverter frequency as governed by a droop curve.

[0043] It can be demonstrated that differentiating the droop setpoint frequency of the inverter provides an accurate estimation of the difference in frequencies between the inverter and the grid (i.e., another grid-connected source in a simple two-source example). As explained above, the objective is to reduce the difference in frequencies between the inverter and the grid, theoretically to zero. Accordingly, an adaptive ramp rate controller is added to the result of differentiating the droop setpoint, and is determined by applying the P.sub.l control to the differentiated droop setpoint. Subsequently, the frequency of the inverter is controlled based on a) its initial frequency, b) a pre-defined ramp rate (e.g., conventional rate limiter) and c) the determined adaptive ramp rate. In at least some cases, the frequency of the inverter may be controlled based on applying a conventional rate limiter to the initial frequency, and based on the droop setpoint frequency.

[0044] Simulation results demonstrate that the above adaptive ramp rate-based control enables the frequency of the inverter to track the frequency (ies) of other source(s) connected to the grid during step changes in the load/frequency of the grid, until the droop setpoint is reached at steady state. As a result, circulating power is reduced.

[0045] In another embodiment, a power control loop may include a droop control loop as an inner control loop (i.e., the power control loop is an outer control loop). Conventionally, the bandwidth of the droop control loop limits the bandwidth of the power control loop. A lower bandwidth for the power control loop may result in decreased transient response (i.e., longer settling times) and increased over/undershoots in response to changes in grid conditions, which is not desirable.

[0046] In this embodiment, the power control loop includes an additional P.sub.l controller that implements a pre-filter, to reduce the impact of the bandwidth of the droop control loop on the bandwidth of the power control loop. The P.sub.l controller includes a zero at K.sub.i/K.sub.p, which is matched to the pole of the inner droop control loop at mP.sub.0, where m is the droop curve and P.sub.0 is a system power constant. Cancelling the inner loop pole results in the power control loop bandwidth being independent of the droop control loop bandwidth.

[0047] In one embodiment, the power control loop may be applied as a maximum power loop, to limit the active power of the inverter from exceeding its power rating. In another embodiment, the power control loop may also be applied as a negative or minimum power loop, to limit the active power of the inverter from becoming negative (e.g., due to the inability of the inverter to sink power).

[0048] Finally, inverters generally cannot sink power, and thus the negative power limit is commonly set to zero. However, this may result in a longer system transient response (e.g., to a load step down) because of the inertia of other grid-connected synchronous machines. An additional embodiment addresses this by providing a resistive load (e.g., a resistor bank) that is coupled to a DC bus of the inverter by an H-bridge circuit. The H-bridge circuit is controlled based on a voltage of the DC bus and a reference voltage, to enable the inverter to sink power in a negative power scenario, which provides additional damping to other grid-connected sources (e.g., synchronous machines) and thus reduces frequency overshoots in response to various changes in grid conditions.

[0049] These and other embodiments are described more fully below, with reference made to the accompanying figures.

[0050] FIG. 1 is a schematic illustration of a circuit model 100 of a grid-forming inverter (also referred to simply as an inverter, for brevity). As explained above, droop control is a technique for synchronization and power sharing in grids and microgrids. Droop control works on the basic principle of power flow between two voltage sources, where the two sources can be a grid-forming inverter and a grid/microgrid formed by a combination of paralleled sources as shown in FIG. 1. In the circuit model 100, the grid-forming inverter is represented by a voltage source 102, while the grid/microgrid (also referred to simply as a grid, for brevity) is represented by an AC voltage source 104. The inverter 102 thus forms a grid/islanded grid by acting as a voltage source connected to the grid/microgrid/load 104 through an impedance 106. The impedance 106 may be grid impedance, source (i.e., inverter) impedance, or a combined impedance of both the grid and the source.

[0051] In FIG. 1, E< represents the inverter 102 voltage vector, V.sub.g<.sub.g represents grid 104 voltage vector, and Z.sub.g is the impedance 106 between the inverter 102 and the grid 104. The active power (P) and reactive power (Q) flow are given by power swing equations:

[00001] P = E Z g ( E cos - V g cos ( + - g ) ) Equation 1 Q = V g Z g ( E sin ( + - g ) - V g sin ) Equation 2

[0052] In Equations 1 and 2, E is the magnitude of the voltage of the inverter 102 and V.sub.g is the magnitude of the voltage of the grid 104, Z.sub.g is the magnitude of the impedance 106, 0 is the phase angle of the impedance 106, and .sub.g represents the phase angle difference between sources.

[0053] At the grid level, the impedance 106 is predominantly inductive, and thus the real power and reactive power flow are characterized by the phase and voltage differences, respectively, between the inverter 102 and the grid 104. Assuming that the impedance 106 is predominantly inductive, the active and reactive power exported to grid 104 from Equations 1 and 2 can be rewritten as:

[00002] P = E * V g sin ( - g ) ) X g Equation 3 Q = V g * ( E cos ( - g ) - V g ) X g Equation 4

[0054] In Equations 3 and 4, X.sub.g is the reactive component of impedance Z.sub.g, because of the predominantly inductive nature of the impedance 106. The power angle (.sub.g) is a function of frequency difference between the source 102 and the grid 104. For small values of power angle (.sub.g) Equation 3 can be rewritten as:

[00003] P = E * V g X g * ( s - g ) dt Equation 5

[0055] Where .sub.s and .sub.g are source and grid frequency, respectively. From Equations 4 and 5, it can be seen that the active power (P) exported to the grid 104 can be controlled by controlling the frequency of the inverter 102 (which indirectly controls the phase), while the reactive power (Q) exported to the grid 104 can be controlled by controlling the voltage of the inverter 102.

[0056] FIG. 2 is a schematic illustration of a droop control implementation 200 for a grid-forming inverter. As explained above, grid-forming inverters and synchronous machines typically employ droop control to maintain synchronism with the grid, where the frequency and voltage references of the inverter are derived from active and reactive power feedback, respectively.

[0057] A first droop curve 202 is applied to the active power feedback component from the grid 104, and provides a reference frequency (w.sub.ref) based on the active power component. A second droop curve 204 is applied to the reactive power feedback component from the grid 104, and provides a reference voltage (v.sub.ref) based on the reactive power component. The reference frequency and reference voltage are used to control the behavior of the grid-forming source (e.g., inverter 102).

[0058] FIG. 3 is a schematic illustration of a closed loop model of droop control implementation 300 for a grid forming inverter. In the closed loop implementation 300 in FIG. 3, the droop curves form a closed loop by providing negative feedback against the change in frequency/phase through circulating power (P.sub.circ), or the power exported to the grid by the inverter. The closed loop implementation 300 enables grid-forming sources (e.g., inverter 102) to synchronize with the grid/microgrid while also controlling power as governed by a linear droop equation. Equation 6 shows classical droop equation that governs the frequency versus active power characteristic of a grid forming source:

[00004] f = f nl - m * P l Equation 6

[0059] Where f.sub.nl is the no load frequency of the grid forming source (e.g., inverter 102) and P.sub.l is the load power or power export by the inverter 102.

[0060] As explained above, a microgrid may involve parallel operation of several dissimilar sources such as synchronous machines, battery inverters, solar inverters, and the like. Each of these sources could behave differently in terms of response to step loads, source impedances, short circuit conditions, and the like. It is thus useful to match performance of various sources in terms of responses to load conditions and frequency behavior, which may reduce the presence and amount of circulating power in the electrical system.

[0061] For example, in the case of a step load condition, because the droop equation (i.e., Equation 6) is linear, a step change in frequency is generated during step changes in load power. A synchronous machine has inertia, which prevents the rotor speed of the synchronous machine (and thus its frequency of operation) from changing abruptly.

[0062] However, inverters have no such limitations for frequency of operation and can handle step changes in frequency of operation with a high ROCOF. These differences in frequency response to step changes in load will result in momentary differences in frequency of operation when inverter(s) and synchronous machine(s) are operated in parallel.

[0063] These differences in frequency response will also result in circulating power as given by Equation 5. Also, such circulating power may overload some of the sources, or feed power from one source to another source, which could cause a DC bus overshoot. Accordingly, it is useful to match the frequency responses of the various sources that operate in parallel (e.g., an inverter and a synchronous machine) to avoid or reduce such circulating currents during load transients. It may also be useful to avoid a relatively high dF/dT, which might result in a motor load drawing inrush currents, as well as load tripping conditions due to ROCOF.

[0064] To avoid high dF/dT and ROCOF trips, inverter-based sources typically employ low-pass filters (LPFs) or frequency rate controllers (e.g., ramp controllers) on a droop curve output, so as to limit the dF/dT of operation.

[0065] As explained, energy sources may respond differently to a step load condition in terms of frequency response, which may result in circulating power between the sources. The following example explains the behavior of different sources, such as synchronous machines and inverters, in response to a step load.

[0066] Synchronous machines have inherent inertia provided by the rotor shaft that prevents any step changes in frequency in response to step changes in load. The relation between the load power and machine frequency is given by:

[00005] P m - P l = J d dt Equation 7

where P.sub.m and P.sub.l are shaft mechanical input power and load power, respectively. J is the mechanical inertia and is the rotor speed in radians/sec. P.sub.m can be considered constant momentarily, because mechanical time constants are typically much higher than electrical time constants. J may be expressed in terms of an inertia constant H

[00006] ( where H = 1 2 J 2 VA Rating ) .

Accordingly, any step load change in P.sub.l will initially create a ramp kind of response in the speed/frequency of the synchronous machine, until a speed governor of the synchronous machine responds and adjusts the shaft mechanical power to match the frequency setpoint. Equation 7 may be rewritten as:

[00007] P m - P l J = Equation 8

By considering P.sub.m and constant momentarily, equation 8 can be translated as:

[00008] 1 J P l = Equation 9

[0067] Accordingly, for step changes in P.sub.l, the synchronous machine initial response in appears to ramp with a rate of

[00009] P l J rad / sec .

FIG. 4 is a schematic illustration of a closed loop model frequency control implementation 400 for a synchronous generator.

[0068] As explained, inverters often employ low-pass filters or a frequency ramp controller to control or otherwise limit the dF/dt during load transients (e.g., step load conditions). The frequency output of a droop curve is passed through such dF/dt limiters before setting the operating frequency of the inverter.

[0069] FIG. 5 is a schematic illustration of a closed loop model droop control implementation 500 with a rate limiter for a grid-forming inverter. The droop control implementation 500 is similar to that shown in FIG. 3, but is modified by the addition of a rate limiter 502 that receives the output of the droop curve block (m). As a result, the rate of change of the operating frequency of the inverter is limited accordingly. In FIG. 5, the circulating power constant

[00010] E * V g X g

is replaced by P.sub.0 for brevity, and P.sub.0 will be used throughout the following description.

[0070] FIG. 6 is a schematic illustration of a circuit model for a system 600 that schematically illustrates a two-source parallel operation in response to a step load condition. In FIG. 6, a synchronous generator 602 and an inverter 604 (together, sources 602, 604) are represented by voltage sources. The synchronous generator 602 and the inverter 604 operate in parallel, and are connected to a load 606.

[0071] For simplicity, it is assumed that impedances of the source 602, 604 are matched, and both the sources 602, 604 have same ratings (e.g., kilovolt-ampere (kVA) ratings). Because the capacities of both sources 602, 604 are the same, their droop curve settings will also be similar. Because the impedances of both sources 602, 604 are matched and the droop curves are the same, the load sharing under steady state will be equal, and any step changes in load 606 will result in both sources 602, 604 sharing the step load equally immediately after the step load occurs. This step load causes a step change in frequency setpoints of the droop curve.

[0072] It should be understood that if the frequency responses of the sources 602, 604 are not matched, a frequency drift will exist between the sources 602, 604. For example, let r.sub.1(t) and r.sub.2(t) be the rates at which the sources 602, 604 start ramping towards the droop setpoint where both r.sub.1 and r.sub.2 are functions of time, and are not necessarily fixed ramps or low-pass filters.

[0073] Additionally, let 1 be the initial steady state operating frequency corresponding to a steady state operating power of P.sub.1, which is the operating power for both the synchronous generator 602 and the inverter 604, because they share load 606 equally. Let P.sub.l be the step load applied on the system 600, which is shared equally by the sources 602, 604 as the source impedances (X.sub.s) are the same. The step load generates a new frequency setpoint .sub.2, to which the synchronous generator 602 and inverter 604 respond by changing their frequencies at the rates of r.sub.1(t) and r.sub.2(t) respectively.

[0074] The difference in frequencies created by the different ramp rates of the sources 602, 604 creates a circulating power given by:

[00011] P circ = P 0 * ( syn - inv ) dt Equation 10

[0075] Substituting .sub.syn=.sub.1+r.sub.1(t) and .sub.inv=.sub.1+r.sub.2(t):

[00012] P circ = P 0 * ( r 1 ( t ) - r 2 ( t ) ) dt Equation 11

[0076] As explained above, P.sub.0 is the power transfer constant given by

[00013] P 0 = E * V g 2 * X g

(where E and V.sub.g are the source voltages of generator 602 and inverter 604, respectively). Because the droop setpoints for respective sources cannot be met immediately (e.g., to limit the ROCOF), the changes in frequencies caused by different ramp rates creates a circulating power given by Equation 11, and this circulating power will settle only when the final droop setpoints are met.

[0077] FIG. 7 is a graphical illustration of active power and frequency responses of the synchronous generator 602 and the inverter 604 of FIG. 6 in response to a step load condition. In particular, FIG. 7 shows a first graph 710 of active power of the system 600 as a function of time, and a second graph 720 of frequency response of the system 600 as a function of time, each based on the following parameters:

TABLE-US-00001 Parameter Value No load frequency (f.sub.nl) 54 Hz Full load frequency (f.sub.fl) 50 Hz Step load applied P.sub.l 1 pu Source Impedance (X.sub.s) 0.2 pu Source Power Rating (S.sub.rated) 30 kVA Generator Inertia Constant (H) 0.5 sec. Generator Initial Ramp rate (r.sub.1(t)) 3.75 Hz/sec. Inverter Ramp rate (r.sub.2(t)) 3 Hz/sec.

[0078] The simulation presents results when a step load of 30 kilowatts (kW) is applied on the generator and inverter parallel system in which both generator and inverter are rated for 30 kVA with equal impedance of 0.2 per unit (pu). The graph 710 shows that the initial power sharing of the sources 602, 604 (e.g., at the instant of application of the step load) is the same (i.e., 15 kW), because the sources 602, 604 have similar impedance, which results in their droop setpoint going from no load frequency (54 Hz) to 52 Hz. In other words, in this example, 52 Hz is the frequency setpoint that corresponds to a 15 kW load.

[0079] The initial frequency ramp rate (df/dt) of the synchronous generator 602 can be calculated as 3.75 Hz/sec. from the inertia constant of the synchronous generator 602 (0.5 sec.). The inverter 604 ramp rate (3 Hz/sec.) is slower than that of the synchronous generator 602, and thus the synchronous generator 602 frequency drops at a faster rate compared to that of the inverter 604, which results the inverter 604 frequency being greater than that of the synchronous generator 602. This frequency mismatch between sources 602, 604 results in circulating power between inverter 604 and synchronous generator 602, while the net power remains constant as the load power remains constant. In the simulation depicted in FIG. 7, the inverter 604 shares a higher amount of load 606 power initially due to its frequency being greater than that of the synchronous generator 602. The power oscillates for a time, and gradually damps down once the operating frequency meets the droop setpoint.

[0080] This circulating power during step loads is detrimental to the microgrid reliability, because circulating power could drive the sources 602, 604 to overload or negative power. For example, in FIG. 7, the synchronous generator 602 is subjected to a negative power condition following the step load. These conditions may eventually trip the sources 602, 604 and result in microgrid collapse.

[0081] In some cases, the inverter 604 may be controlled in such a manner that it attempts to emulate the synchronous generator 602 behavior by implementing a rate limiter control to the ROCOF of the inverter 604. Damping elements (e.g., resistive load banks) may also be used to sink additional power to reduce the oscillations shown in FIG. 7. However, emulating the behavior of a particular synchronous machine is difficult to achieve in practice, as explained above.

[0082] FIG. 8 is a schematic illustration of a closed loop model of droop control with an adaptive ramp control loop 800 for a grid-forming inverter in accordance with an embodiment of the present disclosure. As explained, it is difficult to match frequency response of different sources to step loads or load transient conditions through emulated models and particularly-selected ramp rates. Accordingly, in at least some embodiments described herein, an adaptive ramp controller adaptively controls a frequency of an inverter to match that of another connected source (or grid/microgrid).

[0083] The power sharing example of FIG. 6 demonstrates that the power sharing of each source (e.g., sources 602, 604) after a step load can be given as:

[00014] P syn = P l 2 + P circ Equation 12 P inv = P l 2 - P circ Equation 13

[0084] In the example of FIG. 6, the load 606 is constant, and thus summing Equations 12 and 13 gives the total power as P.sub.l, which verifies the power balance. The droop setpoint of the inverter 604 can be given as:

[00015] f droop inv = f nl - m * P inv Equation 14

[0085] Substituting Equation 13 into Equation 14 gives:

[00016] f droop inv = f nl - m * P l 2 - P circ Equation 15

[0086] Differentiating Equation 15 gives:

[00017] df droop inv dt = df nl dt - m * d P l 2 dt - m * dP circ dt Equation 16

[0087] Because f.sub.nl is a constant, and the load is constant after the step load condition, Equation 16 can be simplified as:

[00018] df droop inv dt = - m * dP circ dt Equation 17

[0088] Substituting Equation 10 into Equation 17

[00019] df droop inv dt = - mP 0 d dt ( ( syn - inv ) dt ) Equation 18 df inv sp dt = - mP 0 * ( syn - inv )

[0089] From Equation 18, it can be seen that the differentiation of droop setpoint frequency of the inverter 604 gives the difference in the frequencies between the sources 602, 604. Reducing this difference in frequency (ideally to zero) correspondingly reduces (or eliminates) circulating power, which is one object of the present disclosure. To facilitate reducing the difference in frequency, the frequency of operation of the inverter 604 during the frequency ramp may be modified to add a correction term:

[00020] inv = 1 + r 2 ( t ) + r adap ( t ) Equation 19

[0090] Where the correction term is added as an adaptive ramp rate given by:

[00021] dr adap ( t ) dt = K P df droop inv dt + K i * df droop inv dt Equation 20

[0091] Because .sub.syn=.sub.1+r.sub.1(t), the difference in frequencies between synchronous generator 602 and inverter 604 can be given as:

[00022] syn - inv = r 1 ( t ) - r 2 ( ) + r adap ( ) Equation 21

[0092] Substituting Equation 20 into Equation 21 gives:

[00023] syn - inv = r 1 ( t ) - r 2 ( t ) + ( K P df inv sp dt + K i * df inv sp dt ) dt Equation 22

[0093] Substituting Equation 18 into Equation 22 gives:

[00024] syn - inv = r 1 ( t ) - r 2 ( t ) - mP 0 * [ { ( K P ( syn - inv ) + K i ( s y n - inv ) dt ) } dt ] Equation 23

[0094] Taking (.sub.syn.sub.inv)=.sub.diff, Equation 23 can be rewritten as:

[00025] diff = r 1 ( t ) - r 2 ( t ) - mP 0 * [ { K P diff + K i diff dt ) } dt ] Equation 24

[0095] Applying Laplace transforms to both sides of Equation 24 gives:

[00026] diff ( s ) = r 1 ( s ) - r 2 ( s ) - K p * m * P 0 * diff ( s ) s - K i * m * P 0 * diff ( s ) s 2 Equation 25

[0096] Equation 25 can be rearranged as:

[00027] diff ( s ) ( s 2 + m * K p P 0 s + m * K i P 0 ) = ( r 1 ( s ) - r 2 ( s ) ) * s 2 Equation 26 diff ( s ) = ( r 1 ( s ) - r 2 ( s ) ) * s 2 ( s 2 + m * K p P 0 s + m * K i P 0 ) Equation 27

[0097] From Equation 27, the difference in the frequencies of sources (i.e., .sub.diff) represents a second-order system. For any ramp functions r.sub.1(s)/r.sub.2 (s) up to the order of two (e.g., a low-pass filter is a first-order function, a ramp function is a second-order function), the steady state error in .sub.diff(s) is given by:

[00028] lim s .fwdarw. 0 s * diff ( s ) = ( r 1 ( s ) - r 2 ( s ) ) * s 3 ( s 2 + m * K p P 0 s + m * K i P 0 ) Equation 28

[0098] For r.sub.1(s) and r.sub.2 (s) in the form

[00029] k ( s 2 + as + b )

(where k, a, b 0) Equation 28.fwdarw.0 results in .sub.diff.fwdarw.0, which corresponds to the frequencies being matched between the sources 602, 604. For example, let r.sub.1(t) and r.sub.2(t) be two ramp functions with slopes k.sub.1 and k.sub.2, respectively:

[00030] r 1 ( t ) = k 1 t .Math. r 1 ( s ) = k 1 s 2 Equation 29 r 2 ( t ) = k 2 t .Math. r 2 ( s ) = k 2 s 2 Equation 30

[0099] Substituting Equations 29 and 30 into Equation 28 for a steady state error in .sub.diff gives:

[00031] lim s .fwdarw. 0 s * diff ( s ) = ( k 1 k 2 s 2 s 2 ) * s 3 ( s 2 + m * K p P 0 s + m * K i P 0 ) Equation 31 lim s .fwdarw. 0 s * diff ( s ) = ( k 1 - k 2 ) * s ( s 2 + m * K p P 0 s + m * K i P 0 ) lim s .fwdarw. 0 s * diff ( s ) = ( k 1 - k 2 ) * 0 ( m * K i P 0 ) lim s .fwdarw. 0 s * diff ( s ) = 0

[0100] In some situations, a ramp function is an example of a relatively difficult second-order response to track, particularly when its slope is greater. From Equation 31, it can be seen that as .sub.diff.fwdarw.0 the frequency of inverter 604 will track the frequency of the synchronous generator 602 (or other source) through the ramp until the droop setpoint is reached at steady state. The bandwidth of the control loop 800 for the inverter 604 is .sub.n={square root over (K.sub.i*m*P.sub.0)}, and the damping factor of the control loop 800 for the inverter 604 is

[00032] = K p * m * P 0 2 * n .

Accordingly, desired bandwidth and damping factor values for the control loop 800 can be achieved by selecting the values of Ki and Kp.

[0101] As explained above, the control loop 800 applies proportional-integral (PI) controller 802 to the droop set point frequency determined by the droop curve 804. In this example, the droop set point frequency is differentiated at block 806, which provides an accurate estimation of the difference in frequencies between the inverter 604 and the grid (i.e., another grid-connected source, such as synchronous generator 602 in the simple two-source example of FIG. 6) as demonstrated in Equation 18.

[0102] As explained above, an objective is to reduce the difference in frequencies (.sub.synw.sub.inv), theoretically to zero. Accordingly, the P.sub.l controller 802 is added or applied to the result of differentiating the droop set point, which results in an adaptive ramp rate. In the specific example of FIG. 8, the output of the P.sub.l controller 802 is a derivative of the adaptive ramp rate, and thus block 808 integrates the output of the P.sub.l controller 802 to provide the adaptive ramp rate. Subsequently, the frequency of the inverter 604 is controlled based on a) its initial frequency, b) a pre-defined ramp rate (e.g., conventional rate limiter 810) and c) the determined adaptive ramp rate. In at least some cases, the frequency of the inverter 604 may be controlled based on applying a conventional rate limiter to the initial frequency, and based on the droop set point frequency.

[0103] In at least one example embodiment, a method may thus include controlling an inverter (e.g., inverter 604) to operate at an initial frequency (.sub.1). As explained above, the inverter 604 is connected to a load 606 and a source, such as a fuel cell, solar panels, or the like. The method may also include sensing a load power (e.g., P.sub.l, provided to the adaptive ramp rate control loop 800), and generating a droop set point frequency in response to a change in the load power. For example, the droop curve 804 in the adaptive ramp rate control loop 800 generates droop based on P.sub.l . . .

[0104] The method also includes applying a first proportional gain constant and a first integral gain constant (e.g., by P.sub.l controller 802) to a rate of change of the droop set point frequency to generate an adaptive ramp rate. For example, the droop set point frequency may be differentiated at block 806 to generate a rate of change thereof. The P.sub.l controller 802 may generate an output that, when subsequently integrated (e.g., by block 808) is the adaptive ramp rate (r.sub.adapt). The method further includes controlling a frequency of the inverter 604 based on the initial frequency and the adaptive ramp rate. For example, as shown in FIG. 8, .sub.inv=.sub.1+r.sub.1(t)+r.sub.adapt.

[0105] In FIG. 8 and methods related thereto, a difference between the frequency of the inverter 604 and the frequency of another power source (e.g., synchronous generator 602) in response to the step load condition is reduced by generating the adaptive ramp rate, and controlling the frequency of the inverter 604 based on the adaptive ramp rate.

[0106] FIG. 9 is a graphical illustration of active power and frequency responses of the synchronous generator 602 and the inverter 604 of FIG. 6 in response to a step load condition, in which the inverter 604 implements closed loop droop control with the adaptive ramp rate control loop 800 of FIG. 8 in accordance with an embodiment of the present disclosure. In particular, FIG. 9 shows a first graph 910 of active power of the system 600 as a function of time, and a second graph 920 of frequency response of the system 600 as a function of time, each based on the same parameters as were applied in the example of FIG. 7, described above. The second graph 920 includes split frequency axes with the left y-axis representing generator frequency, and the right y-axis representing inverter frequency.

[0107] The graph 910 illustrates that the response of both the synchronous generator 602 and the inverter 604 to the step load condition is relatively smooth, with the active power of both sources 602, 604 remaining relatively close to the initial shared value of 15 kW. The frequency response illustrated in graph 920 shows the frequency of the inverter 604 tracking the frequency of the synchronous generator 602 (e.g., the right y-axis is offset by 0.1 Hz from the left y-axis, and the inverter frequency is offset from the generator frequency by approximately the same amount). The droop setpoint also remains relatively close to 52 Hz. The deviations of power and frequency that occur around 0.5 seconds in the graphs 910, 920 are in response to the synchronous generator 602 frequency dropping below its setpoint of 52 Hz. This is due to an undershoot of governor response, which takes the synchronous generator 602 frequency below the setpoint. During this period (e.g., after about 0.5 seconds), the inverter 604 provides additional power, which prevents the synchronous generator 602 frequency from falling further.

[0108] FIG. 10 is a graphical illustration of active power and frequency responses of two grid-forming inverters in response to a step down load condition, in which one of the inverters (Inv2) implements closed loop droop control with the adaptive ramp rate control loop 800 of FIG. 8 in accordance with an embodiment of the present disclosure. The other inverter (Inv1) implements a ramp rate controller, but without the adaptive ramp rate portions of FIG. 8; that is, the other inverter (Inv1) is generally conventional.

[0109] In particular, FIG. 10 shows a graph 1010 of active power and frequency of the exemplary two-inverter system as a function of time. In the example of FIG. 10, the simulation presents results when a step down in load from 24 kilowatts (kW) to 0 kW. The other parameters such as source ratings, impedances, droop setpoints are the same as discussed above with respect to FIGS. 7 and 9. The ramp rate (r.sub.1(t)) of Inv1 is set to 4 Hz/sec., while the inverter Inv2 has a ramp rate setpoint (r.sub.2(t)) of 3 Hz/sec. Both inverters share the load equally (i.e., 12 kW each) in steady state before the step down in load is applied.

[0110] In addition to the adaptive ramp control loop 800 described above, other embodiments of this disclosure may be directed to various power control loops that improve (e.g., increase) a bandwidth of the control loop relative to conventional approaches.

[0111] For example, the power ratings or the energy capacities of multiple sources connected in a microgrid may vary based on the requirement(s) and choice(s) of the microgrid operator. The mismatches in power ratings and the disparate nature of energy conversion devices such as synchronous machines, inverters, and the like cause the impedance of the sources to vary. During step load conditions, such mismatched impedances may overload one or more sources and/or feed power from one source to other (e.g., as circulating power). For example, a synchronous machine (generator) with a higher power rating than an inverter may have approximately the same value of source impedance.

[0112] In this example, a step load may result in both the sources sharing the power equally because their impedances are matched. Accordingly, the inverter (having a much lower power rating than the generator) ends up sharing the same amount of load, which may drive the inverter into overload. Similarly, a step down in load may result in the generator feeding power into the inverter because the generator may be at a higher phase angle prior to the step down so as to deliver a higher amount of power. Also, short circuit conditions may cause the frequencies and phases of connected sources to drift apart from each other, which can also result in overload or reverse power conditions upon rectification of the short circuit condition. Accordingly, it is useful to provide power loop controller(s) to limit power in both directions (e.g., a maximum power control loop and a minimum (or sometimes negative) power control loop) to protect the microgrid sources.

[0113] FIG. 3, described above, illustrates a closed loop droop control implementation. FIG. 11 is a schematic illustration of a closed loop droop control implementation that models load disturbances and droop curve offset. In FIG. 11, the sign conventions for .sub.g and .sub.s are changed relative to FIG. 3, which changes the signs of P.sub.circ accordingly to incorporate no load frequency (.sub.nl). However, the effective closed loop transfer function remains the same. For example, it can be observed from FIG. 11 that the transfer functions of output power (P.sub.out) with respect to the no load frequency and grid frequency are similar, and can be given as:

[00033] P out ( s ) g ( s ) = P out ( s ) nL ( s ) = P 0 s + mP 0 Equation 32

[0114] Thus, the output power varies as a function of both the grid/microgrid frequency and the no load frequency and can be controlled by varying either one of those frequencies. Because the microgrid frequency is not necessarily controllable by any one source, it is relatively more straightforward to control the no load frequency of the droop curve.

[0115] FIG. 12 is a graphical illustration of power control through droop curve offset adjustment. It should be appreciated that the output power corresponds to the intersection point of the grid/microgrid frequency (.sub.g) and the droop curve. For example, in FIG. 12, the output power changes from P1 to P2 when the droop curve offset is changed. This fundamental property of droop curve control may be used to control the output power of grid-connected voltage sources, such as synchronous generators, inverters, and the like.

[0116] FIG. 13 is a schematic illustration of a model of a power control loop 1300 that employs offset control in accordance with an embodiment of the present disclosure. In FIG. 13, the error of the power control loop 1300 is provided by an error amplifier 1302 based on a reference power (P.sub.ref) and the output power (P.sub.out), which is also the closed loop feedback power (P.sub.fb). The error is provided to a controller 1304 G(s) (e.g., a PI controller), which provides an offset to shift the no load frequency of the droop curve from the default no load frequency, which is provided as a feed forward frequency (.sub.ff). The control loop 1300 effectively sets the no load frequency of the droop curve, thereby controlling the output power. By neglecting the disturbances in the block diagram of FIG. 13, such as .sub.ff, .sub.g, and P.sub.load, the block diagram can be simplified as shown in FIG. 14.

[0117] Thus, FIG. 14 is a schematic illustration of a simplified power control loop 1400 in accordance with an embodiment of the present disclosure. FIG. 14 illustrates that the droop control loop 1401 forms an inner loop of the simplified power control loop 1400, which is thus an outer loop 1400. The bandwidth of the inner droop control loop 1401, as observed from Equation 32, is mP.sub.0. In some cases, a designer selects the bandwidth of an outer loop (e.g., the simplified power control loop 1400) to be 1 decade before (i.e., 1/10) the bandwidth of the inner loop 1401, which would limit the bandwidth of the outer loop to

[00034] mP 0 10 .

A lower droop slope value (m) may be desired to provide improved frequency regulation (such as 0.1-0.3 Hz droop). However, a relatively lower droop slope value results in a correspondingly lower bandwidth for the power control loop, which may result in poor transient response and high over/undershoots during disturbances. Even in cases in which the outer loop 1400 bandwidth is selected to be

[00035] > mP 0 10 ,

because the inner loop 1401 bandwidth is limited to mP.sub.0, this becomes a dominant pole that restricts the bandwidth of the outer loop 1400. A lower bandwidth for the power control loop 1400 may result in decreased transient response (i.e., longer settling times) and increased over/undershoots in response to changes in grid conditions, which is not desirable.

[0118] In the example of FIG. 14, the bandwidth of the power control loop 1400 is limited by the pole/bandwidth of the inner droop control loop 1401. Accordingly, in an embodiment of the present disclosure, a PI controller 1402 is added that is designed to cancel out the pole of the inner droop control loop 1401, and thus acts as a pre-filter to achieve a higher bandwidth for the overall power control loop 1400 that is independent of the pole location of the inner droop control loop 1401. In other words, the limitations on bandwidth that are imposed by the pole of the inner droop control loop 1401 are mitigated by including the PI controller 1402. For example, it is assumed that the controller 1402 (i.e., G(s)) is a PI controller having the transfer function:

[00036] G ( s ) = sK p + K i s Equation 33

where K.sub.p and K.sub.i are the proportional and integral gain constants, respectively, of the controller 1402. The PI controller 1402 transfer function has a zero located at

[00037] K i K p

radians (rad)/sec and a pole at 0 rad/sec. If the location of the zero of the PI controller 1402 is matched with the location of the pole of the inner loop 1401 (i.e., mP.sub.0), then the zero of the controller 1402 effectively cancels out the pole of the inner loop 1401, giving the open loop transfer function as:

[00038] P out ( s ) err ( s ) = K p ( s + K i K p ) s * P 0 s + mP 0 Equation 34

[0119] For

[00039] K i K p = mP 0 ,

the zero of the PI controller 1402 acts as a prefilter cancelling out the pole of the inner droop control loop 1401:

[00040] P out ( s ) err ( s ) = K p P 0 s Equation 35

[0120] Accordingly, the closed loop transfer function of the power control loop 1400 can be given as:

[00041] P out ( s ) P ref ( s ) = K p P 0 s + K p P 0 Equation 36

[0121] Equation 36 represents a first-order system whose bandwidth is given by n=K.sub.pP.sub.0. Accordingly, by selecting the value of K.sub.p with K.sub.i=mK.sub.pP.sub.0, any desired bandwidth can be achieved for the power control loop 1400, which will be independent of the bandwidth of the droop (inner) control loop 1401. This enables the power control loop 1400 to achieve a sufficiently high bandwidth, which in turn enables limiting the power of a microgrid source during various conditions.

[0122] In at least one example embodiment, a method may thus include sensing an output power of an inverter (e.g., inverter 604). As explained above, the inverter 604 is connected to a load 606 and a source, such as a fuel cell, solar panels, or the like. The method may also include applying a droop curve (e.g., block m in the droop control loop 1401) to the output power of the inverter to generate a droop set point frequency in response to the output power.

[0123] The method also includes generating a no load frequency by applying a second proportional gain constant and a second integral gain constant (e.g., by PI controller 1402) to a difference between the output power of the inverter and a reference power (P.sub.ref in FIG. 14). As explained above, K.sub.i=mK.sub.pP.sub.0, where P.sub.0 is a system power constant. By selecting the values of the proportional and integral gain constants according to this relationship, as well applying the transfer function according to Equation 33 (e.g., by the PI controller 1402), the method enables achieving a relatively high bandwidth (or any desired bandwidth) while controlling the inverter output power.

[0124] The embodiment described with respect to FIG. 14 may be applied to achieve high-bandwidth power control loops in various contexts, such as a maximum power control loop (e.g., to limit the active power of the inverter from exceeding its power rating, or a maximum threshold value), a negative or minimum power control loop (e.g., to limit the active power of the inverter from becoming negative or falling below a minimum threshold value), or a DC bus limiting control loop (e.g., to avoid a DC bus voltage of the inverter from falling below a minimum threshold value).

[0125] FIG. 15 is a schematic illustration of a maximum power control loop 1500 in accordance with an embodiment of the present disclosure. The maximum power control loop 1500 limits the active power of an inverter from exceeding the power rating of the inverter (P.sub.maxref) during an overload condition. In the example of FIG. 15, the loop reference is P.sub.maxref, which is provided as an input to a negative terminal of error amplifier block 1502. The output of error amplifier block 1502 is provided to PI controller 1504, which applies the transfer function of PI controller 1402, explained above with respect to FIG. 14. In other words, a zero of PI controller 1504 acts as a prefilter cancelling out the pole of the inner droop control loop 1501.

[0126] Accordingly, the maximum power control loop 1500 is inactive during normal operating conditions. For example, during normal operating conditions, the inverter provides less power than its power rating, and thus the error is negative, which saturates PI controller 1504 to a zero value, rendering the maximum power control loop 1500 inactive. As the inverter output power increases above the loop reference P.sub.maxref, the PI controller 1504 and rate limiter 1506 produce a frequency offset max, which is subtracted from the no load frequency (nl) of the droop curve, thereby reducing the inverter output power until the output power is limited to the maximum reference value set for the loop P.sub.maxref.

[0127] FIG. 16 is a schematic illustration of a model of a minimum power control loop 1600 in accordance with an embodiment of the present disclosure. The minimum power control loop 1600 limits the active power of an inverter from being negative, because inverters are typically associated with sources that cannot sink power (e.g., fuel cells, solar panels). The minimum power control loop 1600 can also be used more generally to limit the active power of an inverter from decreasing below a minimum setpoint (P.sub.negref). In the example of FIG. 16, the loop reference is P.sub.negref, which is provided as an input to a positive terminal of error amplifier block 1602. The output of error amplifier block 1602 is provided to PI controller 1604, which applies the transfer function of PI controller 1402, explained above with respect to FIG. 14. In other words, a zero of PI controller 1604 acts as a prefilter cancelling out the pole of the inner droop control loop 1601.

[0128] Accordingly, the minimum power control loop 1600 is inactive during normal operating conditions. For example, during normal operating conditions, the inverter provides more power than the negative/minimum power reference, and thus the error is negative, which saturates PI controller 1604 to a zero value, rendering the minimum power control loop 1600 inactive. As the inverter output power decreases below the loop reference P.sub.negref, the PI controller 1604 and rate limiter 1606 produce a frequency offset neg, which is added to the no load frequency (.sub.NL) of the droop curve, thereby increasing the inverter output power until the output power is limited to the negative/minimum reference value set for the loop P.sub.negref.

[0129] FIG. 17 is a schematic illustration of a model of a DC bus control loop 1700 in accordance with an embodiment of the present disclosure. Power-limited sources, such as fuel cells, solar panels, battery storage, and the like tend to experience decreases in DC bus voltage as the source is limited. This can result in DC bus collapse if the export power of the inverter is not limited. Thus, the DC bus control loop 1700 controls the output power of the inverter based on the DC bus voltage, in order to limit the power exported by the inverter, for example where the fuel source (or solar exposure) becomes limited.

[0130] The DC bus control loop 1700 limits the active power of an inverter in response to a voltage of a DC bus of the inverter decreasing below a DC bus loop reference voltage (V.sub.DCref). For example, V.sub.DCref may be set to a value that prevents the inverter (or source, or other device connected to the DC bus) from tripping due to a DC bus undervoltage condition. In the example of FIG. 17, the loop reference V.sub.DCref is provided to a positive terminal of error amplifier block 1702. The output of error amplifier block 1702 is provided to PI controller 1704, which applies the transfer function of PI controller 1402, explained above with respect to FIG. 14. In other words, a zero of PI controller 1704 acts as a prefilter cancelling out the pole of the inner droop control loop 1701.

[0131] Accordingly, the DC bus control loop 1700 is inactive during normal operating conditions. For example, during normal operating conditions, the DC bus voltage of the inverter is greater than the DC bus loop reference voltage, and thus the error is negative, which saturates PI controller 1704 to a zero value, rendering the DC bus control loop 1700 inactive. As the DC bus voltage decreases below the loop reference V.sub.DCref, the PI controller 1704 and rate limiter 1706 produce a frequency offset .sub.DC, which is subtracted from the no load frequency (.sub.NL) of the droop curve, thereby limiting the inverter output power to avoid a DC bus undervoltage condition.

[0132] The power output of the inverter is translated to DC bus input power when divided by the efficiency (). This DC bus input power is divided by the DC bus voltage to give the DC current that charges a capacitor. The DC bus control loop 1700 is closed by multiplying the capacitor current with the capacitor impedance. Because the DC capacitor impedance introduces an additional pole, the system order increases to 2, and the open loop transfer function of the system can be given as:

[00042] V f b ( s ) e r r ( s ) = K p ( s + m P 0 ) s + 0 * P 0 s + m P 0 * 1 V d c C d c s Equation 37

[0133] The closed loop transfer function for the DC bus control loop 1700 is given as:

[00043] V f b ( s ) V DCref ( s ) = K p P 0 V d c C d c s 2 + V d c C d c 0 s + K p P 0 Equation 38

[0134] From Equation 38, the bandwidth of the DC bus control loop 1700 is

[00044] n = K p P 0 V d c C d c ,

and the damping factor of the DC bus control loop 1700 is

[00045] = 0 2 * n .

Accordingly, desired bandwidth and damping factor values for the DC bus control loop 1700 can be achieved by selecting the values of K.sub.p and .sub.0.

[0135] In at least one example embodiment, a method may thus include sensing an output power of an inverter (e.g., inverter 604). As explained above, the inverter 604 is connected to a load 606 and a source, such as a fuel cell, solar panels, or the like. The method may also include applying a droop curve (e.g., block m in the droop control loop 1701) to a component of the output power of the inverter (e.g., the circulating power (P.sub.circ)) to generate a droop set point frequency in response to the output power.

[0136] The method also includes generating a DC frequency by applying a third proportional gain constant and a third integral gain constant (e.g., by PI controller 1702) to a difference between the feedback voltage (V.sub.fb) and a reference voltage (V.sub.DCref in FIG. 17). As explained above, K.sub.i=mK.sub.pP.sub.0, where P.sub.0 is a system power constant. By selecting the values of the proportional and integral gain constants according to this relationship, as well applying the transfer function according to Equation 33 (e.g., by the PI controller 1702), the method enables achieving a relatively high bandwidth (or any desired bandwidth) while controlling the inverter output power to avoid a DC bus undervoltage condition.

[0137] FIG. 18 is a graphical illustration of power and frequency responses of a generator and a grid-forming inverter in response to a step down load condition, which illustrates the effect of the inverter implementing a minimum power control loop in accordance with an embodiment of the present disclosure. FIG. 18 shows a first graph 1810, in which the negative power loop (e.g., as shown in FIG. 16) for the inverter is disabled. FIG. 18 also shows a second graph 1820, in which the negative power loop for the inverter is enabled. In FIG. 18, the simulated load step down is 30 kW, where each source was sharing power equally prior to the load step down (i.e., 15 kW each). The parameters for the simulation in FIG. 18 are the same as were applied in the example of FIG. 7, described above, except that the inertia constant is reduced to 0.3 sec. to more clearly illustrate the overshoot of the synchronous generator.

[0138] In the first graph 1810, it is observed that the maximum overshoot of the generator frequency is 54.6 Hz. However, in the second graph 1820, when the negative power loop is enabled for the inverter, the maximum overshoot of the generator frequency is 55.2 Hz, and also has a longer settling time than in the first graph 1810. The simulation of FIG. 18 thus validates the conclusion that the inverter sinking power helps to more quickly (and with less overshoot) recover the generator frequency by dissipating power stored as rotor inertia.

[0139] FIG. 19 is a schematic illustration of a system 1900 including a DC braking module (DBM) 1910 in accordance with an embodiment of the present disclosure. As described above, certain energy sources, such as fuel cells and solar panels, cannot sink power. Accordingly, in some embodiments, the DBM 1910 may be added to the DC bus of such sources to dissipate negative power pumped onto the DC bus (e.g., by a synchronous generator). The DBM 1910 may thus protect sources that cannot sink power from DC bus overshoots, as well as improve the stability of associated microgrids by allowing such sources to behave similarly to inertial sources.

[0140] In FIG. 19, a DC energy source 1902 provides power to a grid/microgrid 1904, which is regulated by an inverter H-bridge 1906. The DBM 1910 is also coupled to the DC bus of the DC energy source 1902 by a DBM H-bridge 1912. The DBM H-bridge 1912 couples the DC bus to a resistor bank 1914, and thus regulates the voltage applied to the resistor bank 1914 from the DC bus.

[0141] The DBM 1910 controls or modulates the voltage applied to the braking resistor load (e.g., resistor bank 1914) by controlling the DBM H-bridge 1912. The DBM H-bridge 1912 generates a fixed-frequency square wave voltage with a peak voltage of V.sub.dc (i.e., the voltage of the DC bus). A modulation index (e.g., duty cycle) of the fixed-frequency square wave is controlled through a control loop. For example, D is the duty cycle of the square wave generated by the DBM H-bridge 1912, and the RMS voltage of the square wave can be given as:

[00046] V R M S D B M = V d c D Equation 39

[0142] The resistor bank 1914 may be modeled as a resistor having a resistance value R. Thus, the corresponding power (P.sub.DBM) dissipated by the resistor of value R can be given as:

[00047] P D B M = ( V R M S D B M ) 2 R Equation 40 P D B M = ( V d c ) 2 R 2 * D

[0143] In Equation 40, both V.sub.dc and R are constant values, and thus the power dissipated by the DBM 1910 is proportional to the duty cycle. A control loop may thus be designed based on this linear relationship between dissipated power and duty cycle.

[0144] FIG. 20 is a schematic illustration of such a DC braking module control loop 2000 in accordance with an embodiment of the present disclosure. In an example in which negative power is pumped to the DC bus by the inverter, the DC bus voltage will begin to rise. As explained, renewable sources cannot sink power, and will thus go to zero power or no load in such a scenario.

[0145] The DC braking module control loop 2000 controls the duty cycle of the DBM H-bridge 1912 to dissipate power that is being fed onto the DC bus by the inverter H-Bridge 1906, when the DC bus voltage is greater than a DC bus reference voltage (V.sub.DCref). In the example of FIG. 20, the loop reference V.sub.DCref is provided to a positive terminal of error amplifier block 2002. The output of error amplifier block 2002 is provided to PI controller 2004, which applies the transfer function shown in FIG. 20. Accordingly, the DC braking module control loop 2000 is inactive during normal operating conditions (e.g., when there is no negative power). For example, during normal operating conditions, the DC bus voltage will be less than the loop reference V.sub.DCref, and thus the PI controller 2004 saturates to a zero value, rendering the DC braking module control loop 2000 inactive.

[0146] The open loop transfer function of the DC braking module control loop 2000 can be given as:

[00048] V f b ( s ) e r r ( s ) = ( s K p + K i ) s * ( V d c ) 2 R 2 * 1 V d c C d c s Equation 41

[0147] In an example, let

[00049] ( V d c ) 2 R 2 = P d - dissipation constant ,

which is the maximum power dissipation across the resistor bank 1914 for a duty cycle of 1. The closed loop transfer function of the DC braking module control loop 2000 can be given as:

[00050] V f b ( s ) V DCref ( s ) = ( s K p + K i ) P d V d c C d c s 2 + K p P d s + K i P d Equation 42

[0148] Equation 42 demonstrates that the closed loop transfer function represents a second-order system having a bandwidth

[00051] n = K i P d V d c c d c ,

and a damping factor

[00052] = K p P d 2 V d c C d c n

[0149] As described above, desired bandwidth and damping factor values for the controller 2000 can be achieved by selecting the values of Ki and Kp. The DC braking module control loop 2000 is thus configured to control the DC bus voltage and dissipate negative power, with a relatively high bandwidth being enabled as well.

[0150] In view of the foregoing description, it should be appreciated that a controller for an inverter may implement some or all of the above control loops, including the adaptive ramp rate control loop in FIG. 8, the power control loops of FIGS. 13-16, the DC bus voltage control loop of FIG. 18, and the DC braking module control loop of FIG. 20. Further, the set points (e.g., reference or threshold values) of the various control loops implemented by the controller for the inverter may be set such that all of the implemented loops function independently of and without interfering with one another.

[0151] Accordingly, in one embodiment, a microgrid includes a power source, such as a fuel cell, solar panels, or the like, and an inverter electrically coupled thereto. The microgrid also includes a load, to which the inverter provides an output or load power. The inverter includes a controller configured to implement some or all of the control loops described above.

[0152] While several embodiments have been shown and described, modifications thereof can be made by one skilled in the art without departing from the scope or teachings herein. The embodiments described herein are exemplary only and are not limiting. Many variations and modifications of the systems, apparatuses, and processes described herein are possible and are within the scope of the disclosure. For example, the relative dimensions of various parts, the materials from which the various parts are made, and other parameters can be varied. Accordingly, the scope of protection is not limited to the embodiments described herein, but is only limited by the claims that follow, the scope of which shall include all equivalents of the subject matter of the claims. Unless expressly stated otherwise, the steps in a method claim may be performed in any order. The recitation of identifiers such as (a), (b), (c) or (1), (2), (3) before steps in a method claim are not intended to and do not specify a particular order to the steps, but rather are used to simplify subsequent reference to such steps.

[0153] While several embodiments have been provided, the disclosed systems and methods may be embodied in other specific forms without departing from the spirit or scope of the present disclosure. The present examples are to be considered as illustrative and not restrictive, and the intention is not to be limited to the details given herein. For example, the various elements or components may be combined or integrated in another system or certain features may be omitted, or not implemented. Likewise, where single components, apparatuses, or systems are described as performing functions, multiple such components, apparatuses, or systems may implement the functions.

[0154] In addition, techniques, systems, subsystems, and methods described and illustrated in the various embodiments as discrete or separate may be combined or integrated with other systems, components, techniques, or methods without departing from the scope of the present disclosure. Other items shown or discussed as coupled may be directly coupled or may be indirectly coupled or communicating through some interface, device, or intermediate component whether electrically, mechanically, or otherwise. Other examples of changes, substitutions, and alterations are ascertainable by one skilled in the art and may be made without departing from the spirit and scope disclosed herein.