Optimal Control For A Renewable-Energy-Based Micro-Grid: Fernando Ornelas-Tellez
Optimal Control For A Renewable-Energy-Based Micro-Grid: Fernando Ornelas-Tellez
Abstract— This paper presents an optimal nonlinear control resources is proposed, which can easily include new sources,
scheme for a renewable-energy-based micro-grid. The optimal loads, storage elements and the connection with the utility
controller synthesis is based on the state-dependent Riccati grid. Simulation results demonstrate the adequate operation
equation approach, where it is considered the minimization
of a performance index (cost functional), which results in an of the micro-grid.
efficient control strategy. The micro-grid is used to integrate the The paper is organized as follows. Section II presents the
energy from renewable resources, with the facility to storage optimal control for SDCF nonlinear system. The proposed
energy, to provide of energy to loads and to provide/consume micro-grid scheme is presented in Section III, where the
energy to/from the utility grid. Simulation results are presented different components, corresponding to energy generation
to assess the performance of the proposed controller for a case
study micro-grid, which is composed of a wind energy system, and consumption, are described. In Section IV, the proposed
a load, a storage element and the connection with the utility optimal control scheme is applied for a case study micro-
grid. grid. Simulation results are presented in V. Finally, Section
VI concludes the paper.
I. I NTRODUCTION
Due the interest in exploiting renewable energy sources, II. O PTIMAL C ONTROL FOR SDCF N ONLINEAR
it is common to integrate such energy resources through S YSTEMS
distributed power generation systems. These systems usually This section describes the optimal tracking control solution
constitute a micro-grid, which is composed of multiple gener- for a class of nonlinear systems which can be presented as a
ation sources (solar, wind, etc.), energy storage devices, local state dependent coefficient factorized (SDCF). The proposed
loads and the connection to the utility grid for exchanging solution considers that all states are measured and available
energy. In general, the functionality and the interconnection for feedback.
between the components of the micro-grid is realized by
means of power converters, which requires of adequate A. State-dependent coefficient factorized nonlinear systems
control techniques to provide of reliability and efficiency to
Let us consider the input-affine nonlinear system
the operation of the micro-grid.
Correctly designed, power electronics and controllers en- ẋ = f (x) + B(x) u, x(t0 ) = x0 (1)
sure that the micro-grid can meet its own as well as the
utilities needs in an economic way. The basic inputs to the y = h(x) (2)
power converter controllers are the set points or references
for the exchanged power among components of the micro- where x ∈ Rn is the state vector, u ∈ Rm is the control
grid, or best levels of local bus voltages and currents deter- input and y ∈ Rp is the system output; the functions f (x),
mined in accordance to energy to be transferred. For instance, B(x) and h(x) are smooth maps of appropriate dimensions.
to achieve energy transfer among multi-sources the authors Consider that functions f (x) in (1) and h(x) in (2) can be
in [1] have proposed an energy router that dynamically decomposed in the state-dependent coefficient factorization
controls energy flow between sources, it is based on an as f (x) = A(x) x and h(x) = C(x) x, respectively [3–6];
idea described by Duindam and Stramigioli in [2]. In [1] then system (1)-(2) results in
the feedback linearization technique and the Proportional-
ẋ = A(x) x + B(x) u (3)
Integral (PI) scheme are used for controlling the energy
flow between different sources. A main drawback of this y = C(x) x. (4)
controller is that it does not work well when the system is
nonlinear and its operating point is different from the point As established in [7, 8], the assumptions f (0) = 0, h(0) = 0,
for which the controller was tuned. f (·) ∈ C 1 and h (·) ∈ C 1 guarantee that the factorization as
This paper proposes an optimal control strategy for the described in (3)–(4) can be carried out. This salient feature
different power converters of a micro-grid. The resulting will be used in this paper to obtain an analytical solution for
controller ensures the stability and an efficient operation of the optimal control via the Differential Riccati equation. Note
the converters. A general scheme for integrating renewable that factorizations A(x) x and C(x) x are not unique [9].
In order to obtain well-defined control schemes, appropriate
1 F. Ornelas-Tellez is with Faculty of Electrical Engineering, Uni-
factorization for these representations should be determined
versidad Michoacana de San Nicolas de Hidalgo, Morelia, Mexico such that controllability and observability properties are
[email protected] fulfilled for system (3) and output (4).
,(((
Authorized licensed use limited to: Aalborg Universitetsbibliotek. Downloaded on September 18,2021 at 20:59:59 UTC from IEEE Xplore. Restrictions apply.
523(&6SHFLDO6HVVLRQ2Q5HQHZDEOH(QHUJ\
Bus DC
tracks a desired trajectory as close as possible in an optimal
sense and with minimum control effort expenditure [10, 11].
Subsystem N-1 Subsystem N
In order to introduce the trajectory tracking, let us define
the tracking error as
Fig. 1. Micro-grid scheme.
e = r−y
= r − C(x) x (5)
III. T HE M ICRO - GRID BASED ON R ENEWABLE E NERGY
where r is the desired reference to be tracked by the system This section describes a general scheme for the energy
output y. integration from different energy resources in a micro-grid.
The quadratic cost functional J to be minimized, associ- It is considered that the micro-grid is composed by N
ated with system (3), is defined as subsystems, where each one can corresponds to: 1) an
energy generation system (wind, solar, fuel cells, etc.), 2)
1 ∞ T
J= e Q e + uT R u dt. (6) an energy consumption system (load, storage, etc), or 3) the
2 t0
connection with the utility grid to exchange energy with the
Therefore, the optimal tracking solution is related to micro-grid. Specifically, this paper considers a micro-grid
determining the control u(t), t ∈ [t0 , ∞), such that the based in renewable energy resources. Fig. 1 illustrates the
criterion (6) is minimized. The optimal tracking solution is connection of the subsystems in the micro-grid, where arrows
established as the following theorem. indicate the energy flow in accordance to the nature of the
Theorem 1: Assume that system (3)-(4) is state-dependent subsystem. The exchange of energy between the subsystems
controllable and state-dependent observable. Then the opti- is considered to be realized through power converters, which
mal control law require a control system to manage the energy. In this sense,
the proposed control strategy for power converters is the
u∗ (x) = −R−1 B T (x) (P (x) x − z(x)) (7) optimal control technique, as described in Section II-B.
For the control of the micro-gird, it is considered that each
achieves trajectory tracking for system (3) along a desired subsystem can be represented as
trajectory r, where P (x) is the solution to the symmetric ẋi = A(xi ) xi + B(xi ) ui
matrix differential equation
yi = C(xi ) xi (12)
T −1 T
Ṗ (x) = −C (x) Q C (x) + P (x) B(x) R B (x) where xi is the state vector of the N -th subsystem, with
T
× P (x) − AT (x) P (x) − P (x) A(x) (8) xi = [xi1 , xi2 , . . . , xij ] , i = 1, . . . , N and j = 1, . . . , ni ,
being ni the order of the corresponding subsystem. Matrices
and z(x) is the solution to the vector differential equation A(xi ), B(xi ) and C(xi ) are of appropriate dimensions. The
T respective cost functional becomes
ż(x) = − A(x) − B(x) R−1 B T (x) P (x) z(x)
1 ∞ T
−C T (x) Q r (9) Ji = ei Qi ei + uTi Ri ui dt. (13)
2 t0
with boundary conditions P (∞) = 0 and z(∞) = 0, Note that system (12) has the form of (3)–(4), therefore
respectively. Control law (7) is optimal in the sense that it the optimal control technique, as developed in the previous
minimizes the cost functional (6), which has an optimal value section, can be used. Indeed, this constitutes a decentralized
function given as control scheme, which easily allows the integration of dif-
ferent energy resources and components, corresponding to
1 T generation, consumption, storage and connection with the
J∗ = x (t0 ) P (t0 ) x(t0 ) − z T (t0 ) x(t0 ) + ϕ(t0 ) (10)
2 utility grid. It is worth noting that the only limitation for
applying the proposed optimal controller is that the system
where ϕ is the solution to the scalar differentiable function
to be controlled admits the structure of (12).
1 1
ϕ̇ = − rT Q r + z T B(x) R−1 B T (x) z (11) IV. O PTIMAL C ONTROL FOR A S INGLE -P HASE
2 2 M ICRO -G RID : A C ASE S TUDY
with ϕ(∞) = 0. This section presents the application of the optimal track-
Proof: For proof details see [12]. ing control scheme for the different power converters used
,(((
Authorized licensed use limited to: Aalborg Universitetsbibliotek. Downloaded on September 18,2021 at 20:59:59 UTC from IEEE Xplore. Restrictions apply.
523(&6SHFLDO6HVVLRQ2Q5HQHZDEOH(QHUJ\
Ls x 1 Rs
Control System
μ1 μ̄1
+
Wind
PW PL +
Load Vi DC Bus
Energy
−
Bus DC
−
Utility
PG PB μ̄1 μ1
Storage
Grid
Fig. 4. AC-DC power converter circuit.
xb 1 y1 = C(x1 ) x1 (18)
ẋb = − + ib (15)
RCBus CBus CBus where x1 = x11 , A(x1 ) = [−Rs /Ls ], B(x1 ) = −xb /Ls ,
where xb = VCBus and ib = iBus . Current ib is calculated C(x1 ) = 1 and E1 = Vi /Ls .
as the sum of the input and output currents in the bus. Matrices for the performance index (13) are selected as
,(((
Authorized licensed use limited to: Aalborg Universitetsbibliotek. Downloaded on September 18,2021 at 20:59:59 UTC from IEEE Xplore. Restrictions apply.
523(&6SHFLDO6HVVLRQ2Q5HQHZDEOH(QHUJ\
μ2 μ̄2 μ3
+ + + +
− − − −
μ̄2 μ2 μ̄3
Fig. 5. DC-AC power converter circuit with a resistive load. Fig. 6. DC-DC power converter.
Li x41 Lo x43
the control effort expenditure; hence these parameters are μ4 μ̄4
used to establish a trade-off between the state variables per- + +
where r11 is the desired value for the inductor current. The
optimal controller for (17) results in The dynamical average model is described by
u∗1 (x1 ) = ū1 − R1−1 B T (x1 ) (P1 x1 − z1 ) (19) ẋ31 = x32 /LSt − xb u3 /LSt
ẋ32 = −x31 /CSt − x32 /(RSt CSt ) (21)
where ū1 = Vi /xb , which is included to cancel the constant
term E1 in (17). y3 = xb x31
where x31 is the inductor current, x32 is the capacitor
C. Load in the Micro-grid voltage, LSt is the inductance, CSt is the capacitance, RSt
To provide from energy to the subsystem corresponding models the internal resistance of the capacitor and u3 is the
to the load, we are considering a DC-AC converter [15], as control input (duty cycle for the PWM).
displayed in Fig. 5. The averaged model in its state space The power to be transferred in the DC-DC converter (PS )
representation is given as [13, 14] is calculated directly from the bus voltage and the inductor
current, which establishes the reference for PS as PSref .
ẋ21 = −x22 /LL + xb u2 /LL Parameters for this system and for the controller are given
ẋ22 = x21 /CL − x21 /(RL CL ) (20) in Table I.
y2 = x22 E. Utility grid connection
where x21 is the inductor current, x22 is the output capacitor This section focuses on the component (converter plus
voltage, LL is the inductance, CL is the capacitance, RL is filter) to transfer/extract energy toward/from the utility grid
the resistive load and u3 is the control input (duty cycle for through a LCL filter as shown in Fig. 7. This is achieved by
the PWM). controlling of the power PG calculated as PG = VS x43 .
For this subsystem, its respective optimal control scheme The average model for this system is given as
is synthesized similarly as the developed in the previous ẋ41 = −x42 /Li + xb u4 /Li
section. For simulation purposes, the load RL is calculated
ẋ42 = (x41 − x43 )/Co
in accordance to the knowledge in advance of the dissipated
power by the load (PL ). The subsystem and controller ẋ43 = (x42 − x44 )/Lo (22)
parameters are given in Table I. ẋ44 = ω x45
ẋ45 = −ω x44
D. Energy Storage
y4 = x43 (23)
Fig. 6 shows the electrical circuit used for achieving
energy exchange between the bus and the storage element, where x41 , x43 are the currents across the inductors Li and
which is modeled by the capacitor CSt in parallel with RSt . Lo , respectively; x42 is the voltage in the capacitor Co ; the
This storage component could correspond to a rechargeable parameters Li , Lo and Co in the circuit are the inductances
battery, a capacitors bank, etc. and capacitance, respectively; VS is the utility grid voltage,
,(((
Authorized licensed use limited to: Aalborg Universitetsbibliotek. Downloaded on September 18,2021 at 20:59:59 UTC from IEEE Xplore. Restrictions apply.
523(&6SHFLDO6HVVLRQ2Q5HQHZDEOH(QHUJ\
TABLE I
S UBSYSTEMS AND CONTROLLERS PARAMETERS .
Li 2 mH Lo 833 μH
Co 1μF R4 0.1
Q4 1000 r4 PGref VS /2302
,(((
Authorized licensed use limited to: Aalborg Universitetsbibliotek. Downloaded on September 18,2021 at 20:59:59 UTC from IEEE Xplore. Restrictions apply.
523(&6SHFLDO6HVVLRQ2Q5HQHZDEOH(QHUJ\
(b) Power control of the exchanged energy with the utility grid.
,(((
Authorized licensed use limited to: Aalborg Universitetsbibliotek. Downloaded on September 18,2021 at 20:59:59 UTC from IEEE Xplore. Restrictions apply.