Distributed generation (DG) systems are becoming increasingly attractive for a number of reasons. DG systems are often based on renewable energy resources such as sun, wind and water and thus reduce the amount of greenhouse gasses and other pollutants, help protect against possible shortages of power and outages, provide a more economical solution for remote areas due to transmission costs, reduce transmission system losses and upgrade rates, may offer combined heat and power (CHP) solution to customers, and reduce dependency on fossil fuels.
Electronic power converters are widely used to interface DG systems with the utility grid. Such an interface is equipped with control/sychronization strategies to ensure that controlled power is extracted from the primary source and transferred to the grid without violating the grid codes and standards such as CSA-C22.2, UL 1741, IEEE 1547, and IEC 62109-1. The AC power is typically controlled by controlling the active and reactive powers separately and by controlling the current injected into the grid. The injection of active power is often the main objective in a DG system but it can also provide reactive power to the local load if required.
In a three-phase system, the active and reactive powers can be conveniently controlled using the concept of dq rotating synchronous reference frame (SRF). The dq components of the current signals are DC variables that are proportional to active/reactive powers. Thus, simple proportional-integrating (PI) controllers together with decoupling terms can be used to control those variables.
In single-phase applications, the current dq components can also be generated using a/3-dq transformation where the same three-phase current control strategy can be applied. In such approaches, however, the β component is not externally available and needs to be synthesized using a ninety-degree phase-shift operation at the fundamental frequency. The ninety-degree phase-shift operation can be performed by different methods such as time-delay, all-pass filter, Hilbert transform, second-order generalized integrator (SOGI), or an enhanced phase-locked loop (EPLL). In addition to the challenges involved in accurate and efficient realization of the phase-shift operation, its dynamics strongly contribute to a decrease in the speed and the stability margins of the control system.
Another class of power control strategies for single-phase applications is based on performing the control at the fundamental frequency using a proportional-resonant (PR) controller. The current reference is generated as a pure sinusoidal signal whose amplitude and phase angle are controlled. In one approach, which is widely used in multi-stage topologies, to balance the input power extraction with output power injection, the DC link voltage is regulated to a desired value, which results in a reference for the magnitude of the output current. The angle of the current is synchronized with the grid voltage using a PLL.
However, conventional single-phase systems typically exhibit one or more drawbacks, such as slow system response, computational complexity, sensitivity of the control algorythms to system uncertainties and varied operating conditions, and complexities in dealing with harmonics.
Provided herein is a single phase power system controller, comprising: an error signal generator that generates an error signal from an instantaneous power reference signal and a measured instantaneous output power signal corresponding to the power delivered to a power distribution grid; and a modulator that modulates the error signal according to a trigonometric function of the grid voltage phase angle and produces a control signal for an inverter controller.
One embodiment further comprises an instantaneous power calculator that provides the instantaneous power reference signal from active and reactive power reference values and a grid voltage phase angle. Another embodiment further comprises a phase-locked loop that determines the grid voltage phase angle from the grid voltage.
In one embodiment, inverter controller may be a high gain inverter controller at a grid frequency. In one embodiment, inverter controller may be a resonant inverter controller having high gain at a grid frequency.
In one embodiment, the single phase power system controller may further comprise a harmonic compensation loop that substantially reduces one or more grid current harmonic. The harmonic compensation loop may comprise one or more harmonic controller tuned to one or more grid harmonic. In one embodiment, the one or more harmonic controller receives an input signal derived from the grid current.
In another embodiment, the single phase power system controller further comprises one or more feedback loops that provide one or more adjustable tuning gain according to a constant, to improve dynamic response of the system.
In one embodiment, input to the system is provided by a renewable energy source. In one embodiment, the input to the system is provided by a photovoltaic source.
Also provided herein is a method for controlling a single phase power system, comprising: generating an error signal from an instantaneous power reference signal and a measured instantaneous output power signal corresponding to the power delivered to a power distribution grid; and modulating the error signal according to a trigonometric function of the grid voltage phase angle and producing a control signal for an inverter controller; wherein real and reactive power delivered to the grid are controlled simultaneously based on instantaneous output power feedback.
In one embodiment, the method may further comprise providing the instantaneous power reference signal from active and reactive power reference values and a grid voltage phase angle. In one embodiment, the method may further comprise using a phase-locked loop to determine the grid voltage phase angle from the grid voltage. In one embodiment, the method further comprises using a harmonic compensation loop to substantially reduce one or more grid current harmonic.
The method may further comprise using one or more feedback loops to provide one or more adjustable tuning gain according to a constant, to improve dynamic response of the system.
For a better understanding of the invention, and to show more clearly how it may be carried into effect, embodiments will be described, by way of example, with reference to the accompanying drawings, wherein:
a) is a block diagram of a conventional single phase active and reactive power control structure;
b) shows a conventional current control block;
c)-1(e) show conventional active and reactive current reference generation structures;
a) is a plot showing performance of a conventional (C) controller and a controller embodiment (E) during the startup stage: top panel, normalized grid voltage (Vg) and grid current; middle panel, error in instantaneous power; bottom panel, real (P) and reactive (Q) power commands;
b) is a plot showing performance of a conventional (C) controller and a controller embodiment (E) during tracking active power transients: top panel, normalized grid voltage (Vg) and grid current; middle panel, error in instantaneous power; bottom panel, real (P) and reactive (Q) power commands;
c) is a plot showing performance of a conventional (C) controller and a controller embodiment (E) during tracking reactive power transients: top panel, normalized grid voltage (Vg) and grid current; middle panel, error in instantaneous power; bottom panel, real (P) and reactive (Q) power commands;
d) is a plot showing performance of a conventional (C) controller and a controller embodiment (E) with grid voltage harmonics, where THD of the grid voltage is 3.5% and THDs of current for the conventional controller and controller embodiment are 4% and 10%, respectively: top panel, normalized grid voltage (Vg) and grid current; middle panel, error in instantaneous power; bottom panel, real (P) and reactive (Q) power commands;
e) is a plot showing performance of a controller embodiment without and with harmonic compensation: top panel, normalized grid voltage (Vg) and grid current (ig); middle panel, error in instantaneous power; bottom panel, real (P) and reactive (Q) power commands;
In a single-phase system, the instantaneous power comprises a DC component and a double-frequency AC component, whereas a three-phase balanced system only has a DC component. This prevents the use of the instantaneous power as a control variable within a linear time invariant (LTI) system because an LTI system operating at the fundamental frequency cannot have double frequency signals. Therefore, such a strategy does not fall within the concept of LTI systems and accordingly no attempt has been made for its implementation.
According to one aspect of the invention there is provided a controller for a single phase power system comprising a control loop that includes non-LTI components. As described herein, the controller directly acts on the instantaneous power and it eliminates the need for calculating dq components. Thus, the controller obviates the need for a ninety-degree phase-shift operation, and eliminates associated problems caused by the dynamics of such operation. Thus, very fast and stable control is achieved using a control loop that is substantially simplified relative to conventional approaches.
Embodiments described herein control the exchange of power between a single-phase distributed generation (DG) system and a power distribution grid. Rather than controlling the active and reactive powers separately and through the current signal, as is done in conventional techniques, the embodiments act directly on the instantaneous power. This eliminates the conventional need for calculating the active and reactive powers; a calculation that involves filtering/phase-shifting and slows down the system responses and adds to computational complexity. Moreover, controlling the instantaneous power does not require a separate loop for the current. The controller includes a control loop that comprises linear time-varying elements.
The embodiments described herein provide a control method that is not based on the SRF transformation or decomposition of the current signal into its real and reactive components. The method is directly formulated and derived from an optimization problem, rather than adjusting or improving a conventional method. The resulting unified approach controls the instantaneous power within a single control loop. This obviates the need to phase-shift an operator and achieves dynamically fast performance.
The embodiments described herein provide full control over output power fed to a load such as a power distribution grid. Embodiments are highly robust with respect to uncertainties in system parameters or different working conditions. A further advantage is the ability to directly control and avoid harmonics from injection to the grid.
a) shows a conventional control technique to regulate the active and reactive powers in single phase systems. This structure is derived from well-known three phase power control systems. In these approaches id and iq are DC variables proportional to active and reactive powers. As a result, simple PI controllers can be used to regulate the active and reactive current components as shown in
In
However, in single phase systems, the β component needs to be synthesized using a ninety-degree phase-shift operation at the fundamental frequency (
To explain the effect of phase-shift operation on the control loop, the following analysis is presented. Assume that the voltage signal is vg (t)=Vg cos ωot and the measured current signal feedback is expressed as
i
q(t)=x(t)cos ωot−y(t)sin ωot.
The variables x and y denote the active and reactive components of the current. To obtain the β component, the phase-shifted version of the current can be found as
where
is the grid frequency. The application of the αβ-dq transformation yields to:
It is desirable that the id and iq become equal to x and y, however, it is observed from (1) that id and iq converge to x and y in the steady state when the signals are settled, i.e. when
In transient intervals, however, there could be a significant difference between those signals. Such differences and couplings have not been taken into consideration in the design of conventional PI controllers in
Also, in a three-phase system, the β signal is available through the abc/αβ transformation on the current signals without any dynamics. Therefore, the signals id and iq perfectly coincide with x and y; thus this problem does not exist.
An instantaneous power controller according to one embodiment of the invention is shown in
A stability analysis of the control loop of
The following points are observed form equation (3)
Due to the infinite gain of the resonant controller at the fundamental frequency, the signal em, approaches zero and power control (as well as current control) is achieved.
A stability analysis is presented for a converter embodiment with inductive output filter. In a similar way the method can be extended for other types of filter. The detailed control structure consists of a resonant controller
in the forward path and an internal state current feedback with gain kp as shown in the embodiment of
where x1 and x2 are the state variables of the resonant controller and x3 is the grid current. This set of equations represents a linear time varying (LTV) system with a time-varying reference input.
The equation set (4) has a solution at
x
1*(t)=√{square root over (L2ω2+kp2)}Ig* sin(ωt−φ+β)
x
2*(t)=−√{square root over (L2ω2+kp2)}Ig* cos(ωt−φ+β)
x
3*(t)=Ig* sin(ωt−φ). (5)
where Ig*, φ are related to Vg and reference powers through
These steady state variables satisfy the following equations
Define the new set of variables as z=x−x* and derive the state space equations for z as
The equation set (7) represents an LTV system with no reference input. Moreover, the state variables z have a DC nature as opposed to x that are sinusoidal. The system equations shown in (7) can be represented as ż=A(t)z where A(t) is a time-varying matrix. It can further be decomposed into
ż=A
0
z+k
r
A
1(t)z (8)
where the matrices A0 and A1 are given by
For the sake of brevity, proof of the stability of (8) is not shown here. The above variables may be summarized as: x=z, f(x)=A0x,ε=kr, g(t,x,ε)=A1(t)x, where, in a practical application, the zero equilibrium point of the system z=f(x) must be exponentially stable. To satisfy this requirement, the matrix A0 is modified to
This corresponds to a characteristic polynomial of s2+2ζωS+ω2 for the resonant controller where the value of ζ is a small positive number. This modification is also justified from the fact that in implementations of the resonant controller for practical applications it is required to add the damping factor ζ in a digital implementation due to numerical limitations. Having applied this modification, A0 will be an exponentially stable matrix, and g is bounded and T-periodic, and thus the system of (8) is stable. Existence, uniqueness and exponential stability of a T-periodic solution for the system is then concluded from this theorem.
The constant ε* is obtained from the continuity condition of the matrix
at the origin. Since this matrix is constant for the system of (8), the constant ε* becomes arbitrary and can have any large positive value. This results in that the existence, uniqueness and exponential stability of the periodic solution is guaranteed for all positive values of the resonant controller gain kr.
An alternative state space description for the system of (4), which is more suitable for design purposes, is given by
Assuming that x* is the steady state solution and defining z=x−x*, the equations for z are given as
Since the z variables have DC nature, the high frequency term can be neglected for design purposes. Then the equation (10) can be rewritten as
ż=Az+Bu (11)
where u is the standard linear state feedback defined as u=−Kz and matrices A and B are defined as
Design of the state feedback gains can be done using a method such as Bode diagram, root-locus, and optimal control methods.
To comply with codes and standards for current fed to a power distribution grid, the current fed into the grid must be a clean waveform with low total harmonic distortion (THD). The source of harmonics can be present on the grid voltage or nonlinear loads or non-ideal components in the power circuit.
Embodiments of the invention are further described by way of the following non-limiting examples.
Performance of an embodiment of the controller was evaluated by computer simulations performed using PSIM software (Powersim Inc., Rockville, USA). The power circuit was a 400 V DC link, connected to the grid through a full-bridge VSI and an inductive filter with L=10 mH. The grid voltage rms value was 240 V and its frequency was 60 Hz. The inverter operated using a unipolar PWM technique with a switching frequency of 20 kHz, which amounts to an actual value of 40 kHz seen by the filter.
The conventional method of
Four scenarios were simulated to show performances of the embodiment with regard to start-up, tracking active and reactive power commands, and harmonic rejection. In the first case, shown in
An experimental setup included a 250 W inverter for connecting a DG system to a power distribution grid. The power circuit was a full bridge inverter fed by a 400 V DC power supply and was connected to the grid through an inductive filter. The grid was a single-phase split-phase system at 60 Hz and with rms value of 240 V. The filter was L=10 mH. A block diagram of the power circuit along with the control system are shown in
The controller embodiment was digitized, implemented and tested using fixed-point calculations in an Altera FPGA development board of series Stratix II. Since the embodiment was based on a one sample delay, the controller calculations were updated once every sampling period, although the calculations were completed much faster than one sampling period. Impact of one sample delay was considered in the control design as well. The voltage and current feedback signals were sensed using voltage divider and hall effect sensors and converted to digital using 10 bit serial A/D connected to the FPGA board. The grid voltage and current were measured and transferred to a Lecroy digital oscilloscope to show and save the signals.
Three scenarios are presented as follows. In
With the grid voltage distorted, experiments were carried out to investigate the effect of grid harmonics at the output current harmonics. The grid voltage was distorted with THD of 4.65%, where the 5th harmonic component was 2.45% and 7th harmonic component was 3.95%.
As shown in
The contents of all references, pending patent applications, and published patents cited throughout this application are hereby expressly incorporated by reference.
Those skilled in the art will recognize or be able to ascertain variants of the embodiments described herein. Such variants are within the scope of the invention and are covered by the appended claims.
This application claims the benefit of the filing date of U.S. Provisional Patent Application No. 61/790,537, filed on 15 Mar. 2013, the contents of which are incorporated herein by reference in their entirety. This invention relates to circuits and methods for controlling power in single phase grid-connected distributed generation systems.
Number | Date | Country | |
---|---|---|---|
61790537 | Mar 2013 | US |