Model predictive controller for autonomous hybrid microgrids
10651654 ยท 2020-05-12
Assignee
Inventors
- Zhehan Yi (San Jose, CA)
- Yishen Wang (San Jose, CA, US)
- Bibin Huang (San Jose, CA, US)
- Di Shi (San Jose, CA)
- Zhiwei Wang (San Jose, CA)
- Tingting Hou (San Jose, CA, US)
Cpc classification
H02J3/38
ELECTRICITY
G05F1/67
PHYSICS
Y02E10/56
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J3/002
ELECTRICITY
H02J2300/26
ELECTRICITY
H02J2203/20
ELECTRICITY
H02J3/007
ELECTRICITY
International classification
G05F1/67
PHYSICS
H02J3/38
ELECTRICITY
Abstract
A control system is disclosed with a control strategy for autonomous multi-bus hybrid microgrids based on Finite-Control-Set Model Predictive Control (FCS-MPC). The control loops are expedited by predicting the future states and determining the optimal control action before switching signals are sent to converters/inverters. The method eliminates PI and PWM components, and offers 1) accurate PV maximum power point tracking (MPPT) and battery charging/discharging control, 2) DC and AC bus voltage/frequency regulation, and 3) precise and flexible power sharing control among multiple DERs.
Claims
1. A method for controlling a microgrid, comprising: collecting power data from a multi-bus hybrid microgrid, wherein the multi-bus hybrid microgrid comprises at least a converter or an inverter; predicting one or more future states of the microgrid from present and past states of the microgrid; determining a predetermined control action before switching signals are sent to the converter or inverter using Finite-Control-Set Model Predictive Control (FCS-MPC) during autonomous mode by switching a circuit breaker at a point of common coupling (PCC), wherein the VSI is a three-phase two-level inverter with three legs and two switches in each leg; and predicting next PV power as:
P.sub.PV,1(k+1)=I.sub.PV,1(k+1).Math.V.sub.PV,1(k+1)
P.sub.PV,0(k+1)=I.sub.PV,0(k+1).Math.V.sub.PV,0(k+1), where P.sub.PV,1 (k+1) and P.sub.PV,0(k+1) are next-step predictions of PV power when a converter switch is ON and OFF, respectively, I.sub.PV,1(k+1) and I.sub.PV,0(k+1) are next-step predictions of PV current when the converter switch is ON and OFF, respectively, V.sub.PV,1(k+1) and V.sub.PV,0(k+1) are next-step predictions of PV voltage when the converter switch is ON and OFF, respectively, and k is a discrete control step sequence.
2. The method of claim 1, comprising minimizing a cost function before sending control commands to minimize error between an objective and a reference target value.
3. The method of claim 1, comprising determining the FCS-MPC based on a discrete-time state space of a converter/inverter as:
x(k+1)=Ax(k)+Bu(k)
y(k+1)=Cx(k)+Du(k) where x is the state variable matrix, u is the control input, y is the output, k denotes the present discrete control step sequence, and A, B, C, D are the state-space matrices.
4. The method of claim 1, comprising a cost function embodies reference values, control actuations, and future states and then minimized subject to certain predefined constraints.
5. The method of claim 1, comprising a cost function is minimized subject to constraints of:
J=f[x(k),u(k), . . . , x(k+N),u(k+N)] where J is a control cost and N is the length of predicting horizon.
6. The method of claim 1, comprising extracting maximum photovoltaic (PV) power using MPPT.
7. The method of claim 1, comprising determining a maximum power reference (P.sub.MPP) in real time and based on the state space of a converter, a next sample time value of the PV current (I.sub.PV (k+1)) and voltage (V.sub.PV(k+1)), where T.sub.S denotes the sample time, L.sub.PV is a total filter inductance of a PV converter, V.sub.PV(k) and I.sub.PV(k) are present PV voltage and current, V.sub.PV(k1) denotes a previous PV voltage, and k is a discrete control step sequence, further comprising determining:
8. The method of claim 1, comprising determining a cost function for a PV controller as:
J.sub.PV,1=|P.sub.PV,1(k+1)P.sub.MPP|
J.sub.PV,0=|P.sub.PV,0(k+1).Math.P.sub.MPP| where the cost functions for ON and OFF states are represented by J.sub.PV,1 and J.sub.PV,0, k is a discrete control step sequence, P.sub.MPP is a MPPT power reference, and P.sub.PV,1(k+1) and P.sub.PV,0(k+1) are next-step predictions of PV power when the converter switch is ON and OFF, respectively.
9. The method of claim 1, comprising operating the microgrid in an autonomous mode of operation, wherein a battery is used to regulate a DC bus and compensating for a power balance between generation and demand.
10. The method of claim 1, comprising determining cost functions by:
J.sub.S=(1,0).sup.DC=|V.sub.ref.sup.DCV.sub.S=(1,0).sup.DC(k+1)|
J.sub.S=(0,1).sup.DC=|V.sub.ref.sup.DCV.sub.S=(0,1).sup.DC(k+1)| where the I.sub.S=(1,0).sup.DC and V.sub.S=(0,1).sup.DC are cost functions when switching signals S(S.sub.bat1,S.sub.bat2) equal (1,0) and (0,1), respectively, V.sub.S=(1,0).sup.DC(k+1) and V.sub.S=(0,1).sup.DC(k+1) are predictions of a DC bus voltage when switching signals S(S.sub.bat1,S.sub.bat2) equal (1,0) and (0,1), respectively, and V.sub.ref.sup.DC is a DC bus voltage reference.
11. The method of claim 1, comprising providing switching signals that minimize total cost to switches of the converter.
12. The method of claim 1, comprising performing power sharing between one or more voltage source inverters (VSIs) for common loads at the PCC.
13. The method of claim 12, comprising determining voltage vectors (V.sub.n) for the VSI output:
14. The method of claim 13, comprising predicting the future states of VSI as:
15. A method for controlling a microgrid, comprising: collecting power data from a multi-bus hybrid microgrid, wherein the multi-bus hybrid microgrid comprises at least a converter or an inverter; predicting one or more future states of the microgrid from present and past states of the microgrid; determining a predetermined control action before switching signals are sent to the converter or inverter using Finite-Control-Set Model Predictive Control (FCS-MPC) during autonomous mode by switching a circuit breaker at a point of common coupling (PCC), wherein the VSI is a three-phase two-level inverter with three legs and two switches in each leg; and predicting an output voltage of a converter with a DC bus voltage, when a switching signals S(S.sub.bat1,S.sub.bat2) equal (1,0) and (0,1), by determining:
16. A method for controlling a microgrid, comprising: collecting power data from a multi-bus hybrid microgrid, wherein the multi-bus hybrid microgrid comprises at least a converter or an inverter; predicting one or more future states of the microgrid from present and past states of the microgrid; and determining a predetermined control action before switching signals are sent to the converter or inverter using Finite-Control-Set Model Predictive Control (FCS-MPC) during autonomous mode by switching a circuit breaker at a point of common coupling (PCC), wherein the VSI is a three-phase two-level inverter with three legs and two switches in each leg, further comprising predicting voltage at the PCC (common bus) as:
v.sub.PCC(k+1)=i.sub.PCC(k+1).Math.Z.sub.AC=[i.sub.T1(k+1)+i.sub.T2(k+1)].Math.Z.sub.AC. where Z.sub.AC is a common load impedance at PCC, v.sub.PCC (k+1) is a next-step prediction of PCC voltage, i.sub.PCC (k+1) is a next-step prediction of a common load current, and i.sub.T1 (k+1) and i.sub.T2(k+1) are currents flowing from Bus 1 and Bus 2 to PCC, respectively.
17. The method of claim 16 comprising: selecting an optimal space vector by minimizing:
J.sub.AC=[v.sub.refv.sub.PCC(k+1)].sup.2+(1)[i.sub.F1(k+1)+.Math.i.sub.F2(k+1)].sup.2 where J.sub.AC is a control cost, v.sub.ref is a reference for the PCC voltage and is a weighting factor, v.sub.PCC (k+1) is a next-step prediction of PCC voltage, and i.sub.F1 (k+1) and i.sub.F2 (k+1) are next-step predictions of filter output currents of VSI 1 and VSI 2, respectively, performing power sharing with a power sharing ratio to control output currents of the VSIs.
Description
BRIEF DESCRIPTIONS OF FIGURES
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
DESCRIPTION
(11) A control system for hybrid microgrids is detailed using finite-control-set model predictive control (FCS-MPC). For simplicity, the controller design procedures are based on the hybrid microgrid configuration illustrated in
(12) Turning now to
(13) Nevertheless, it is noteworthy that the controller for a system with one or more distributed energy resources (DERs) can be derived using the same approach. In one embodiment, a photovoltaic (PV) array and a battery storage are connected at a direct current (DC) bus via a boost converter and a bidirectional DC/DC converter, respectively, while a DER is interfaced at an alternating current (AC) bus (PCC) via a voltage source inverter (VSI). Another VSI interlinks the DC and AC buses or networks. A local AC bus and a load are at the output of each VSI and another AC load at PCC. The hybrid microgrid operates in islanded mode so the breaker at the PCC is open.
(14) FCS-MPC predicts future behaviors of a system in a predefined time horizon based on current/past states and possible control actuations. By minimizing a desired cost function, optimal control commands (i.e., switching signals) are sent, which leads to minimal error between an objective and a reference target value. Note that the reference for each unit is determined by higher-level EMS, and the preferred embodiment focuses on the primary control of hybrid microgrids. The FCS-MPC is derived based on the discrete-time state space of a converter/inverter, which is formulated as:
x(k+1)=Ax(k)+Bu(k)(1)
y(k+1)=Cx(k)+Du(k)(2)
where x is the state variable matrix, u is the control input, y is the output, k denotes the present discrete control step sequence, and A, B, C, D are the state-space matrices. The cost function, Eq. (3), which synthesizes the references, control actuations, and future states of the model, is then minimized subject to certain predefined constraints.
J=f[x(k),u(k),x(k+1),u(k+1) . . . , x(k+N),u(k+N)](3)
where J is the control cost and Nis the length of predicting horizon. The optimization process is performed and optimal actuation is updated as the horizon moves on each sampling time with new samples of measurements [17].
The PV Controller
(15) The PV controller aims at extracting the maximum power of the PV array in different operating conditions (i.e., irradiance and temperature). Firstly, a MPPT algorithm (Incremental Conductance [18]) is employed to determine the maximum power reference (P.sub.MPP) in real time. Based on the state space of boost converter, the next sample time value of the PV current (I.sub.PV(k+1)) and voltage (V.sub.PV (k+1)) are given by Eq. (4) and (5) if the next switch command (S.sub.PV) is ON and Eq. (6) and (7) if it is OFF, where T.sub.S is the sample time and footnotes 1 and 0 of all the following variables denotes the ON and OFF states of the switches, respectively.
(16)
(17) Thereby, the prediction of next PV power (P.sub.PV(k+1)) is calculated by:
P.sub.PV,1(k+1)=I.sub.PV,1(k+1).Math.V.sub.PV,1(k+1)(8)
P.sub.PV,0(k+1)=I.sub.PV,0(k+1).Math.V.sub.PV,0(k+1)(9)
The cost functions for the PV controller for ON and OFF states are represented by J.sub.PV,1 and J.sub.PV,0 as follows:
J.sub.PV,1=|P.sub.PV,1(k+1)P.sub.MPP|(10)
J.sub.PV,0=|P.sub.PV,0(k+1)P.sub.MPP|(11)
(18) By comparing Eq. (10) and (11), the switching signal that results in a minimal cost will be selected and sent to the converter. This process is presented in
The Battery Controller
(19) In the autonomous mode of operation, the battery is used to regulate the DC bus while compensating for the power balance between generation and demand. The output voltages of the bidirectional converter, which are also the DC bus voltage V.sub.S=(1,0).sup.DC and V.sub.S=(0,1).sup.DC, can be predicted by Eq. (12) and (13) when the switching signals S(S.sub.bat1,S.sub.bat2) equal (1,0) and (0,1), respectively.
(20)
where I.sub.bat, I.sub.o and V.sub.DC are the battery current, converter output current and the DC bus voltage, respectively. Consequently, the cost functions at different switch states, J.sub.S=(1,0).sup.DC and J.sub.S=(0,1).sup.DC can be defined by:
J.sub.S=(1,0).sup.DC=|V.sub.ref.sup.DCV.sub.S=(1,0).sup.DC(k+1)|(14)
J.sub.S=(0,1).sup.DC=|V.sub.ref.sup.DCV.sub.S=(0,1).sup.DC(k+1)|(15)
Depending on the value of each cost function, optimal switching signals that minimize the cost will be delivered to the two switches of the bidirectional converter (
A. VSI Controller Design with Power Sharing Mechanism
(21) In autonomous mode, the voltage and frequency of all AC buses (both common and local) are regulated by controlling the VSIs. A power sharing mechanism between the VSIs for the common loads at the PCC is also integrated in the FCS-MPC. The following process elaborates the controller design for one DER, while the controllers for more DERs can be designed using the same approach. The VSI is a conventional three-phase two-level inverter with three legs and two switches in each leg. Therefore, there will be eight possible switching combinations, which yield eight voltage vectors (V.sub.n) for the VSI output:
(22)
where V.sub.in, is the DC input voltage of the VSI. The switching signals for the upper three switches (S.sub.a,S.sub.b,S.sub.c) are given based on the Space Vector Modulation (SVM) technique (
(23)
v.sub.Bus1 represents the voltage of local AC bus 1 and Z.sub.AC denotes the impedance of the common load at PCC. Thus, the prediction of voltage at PCC (common bus) is:
v.sub.PCC(k+1)=i.sub.PCC(k+1).Math.Z.sub.AC[i.sub.T1(k+1)+i.sub.T2(k+1)].Math.Z.sub.AC(19)
Therefore, the optimal space vector will be selected by minimizing the following cost function:
J.sub.AC=[v.sub.refv.sub.PCC(k+1)].sup.2+(1)[i.sub.F1(k+1)+.Math.i.sub.F2(k+1)].sup.2(20)
where J.sub.AC is the control cost, v.sub.ref is the reference for the PCC voltage and is the weighting factor. The power sharing mechanism is enabled by introducing the second term in J.sub.AC with a power sharing ratio to control the output currents of the two VSIs. For instance, if =2, the output power of VSI 1 will be twice of VSI 2. The VSI control process is shown in
(24) To validate the control strategies, a hybrid microgrid with the same configuration as
(25) A first case aims at verifying the scheme for DC side power control and DC/AC bus voltage regulation. The power sharing ratio is set as =2. As the results presented in
(26) A second case study investigates the performance of power sharing mechanism between the VSIs. Since the microgrid is in islanded mode, power supplied to the load at PCC is shared by VSI 1 and 2, which are initially 7.5 kW and 15 kW with =2. As is presented in
(27) A third case focuses on verifying the flexibility of the control scheme in adjusting the power sharing ratio (). Initially, is set to 2, which yields 7.5 kW and 15 kW for VSI 1 and VSI 2, respectively. At 0.4 s, is adjusted from 2 to 0.875 arbitrarily. The output of VSI 1 (P.sub.vsi1 in
(28) The above system introduces a control strategy for hybrid AC/DC microgrid based on FCS-MPC, which eliminates the needs of PI controller, PWM module, and droop control with an improved steady-state and dynamic performance. The scheme predicts the future states of the hybrid microgrid and decides the optimal control actuations before switching signals are sent. It achieves accurate PV MPPT and battery charging/discharging control, DC and AC bus voltage/frequency setpoint tracking, and a precise power sharing control among multiple DERs at the PCC, and offers a scalable MPC design approach for hybrid microgrids, as verified through case studies of the control strategy. Thus, the system realizes a faster control with better steady-state and dynamic performance and eliminates the needs of proportional-integral (PI) and pulse-width-modulation (PWM) modules for controlling hybrid microgrids. The system helps microgrids with multiple distributed energy resources provide an effective solution to integrate renewable energies, e.g., solar photovoltaic (PV). The system also works well with hybrid AC/DC microgrids, which leverage the merits of both AC and DC power systems.
(29) The foregoing system enhances control of autonomous hybrid AC/DC microgrids with multiple buses using finite-control-set model predictive control. A faster control with better steady-state and dynamic performance is achieved, which eliminates the needs of proportional-integral (PI) and pulse-width-modulation (PWM) modules for controlling hybrid microgrids.
(30) Although solar energy is discussed in relation to the above implementations, the system, methods and all other implementations discussed above can also be used and applied in relation to other types of generators and for other forms of energy, such as energy harvested in wind generators and water pumps.
(31) The operation and control features can be implemented in hardware, software or a combination of hardware and software. In the case of software, the software may be embodied in storage media or as firmware. Storage media and computer readable media for containing code, or portions of code, can include any appropriate media known or used in the art, including storage media and communication media, such as but not limited to volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage and/or transmission of information such as computer readable instructions, data structures, program modules, or other data, including RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, data signals, data transmissions, or any other medium which can be used to store or transmit the desired information and which can be accessed by the computer. Based on the disclosure and teachings provided herein, a person of ordinary skill in the art will appreciate other ways and/or methods to implement the various embodiments.
(32) While particular embodiments have been disclosed herein in detail, this has been done by way of example for purposes of illustration only, and is not intended to be limiting with respect to the scope of the appended claims, which follow. In particular, it is contemplated that various substitutions, alterations, and modifications may be made without departing from the spirit and scope of the invention as defined by the claims. Other aspects, advantages, and modifications are considered to be within the scope of the following claims. The claims presented are representative of the embodiments and features disclosed herein. Other unclaimed embodiments and features are also contemplated. Accordingly, other embodiments are within the scope of the following claims.