Professional Documents
Culture Documents
DC Microgrids
Lecturers
Josep M. Guerrero Professor - Aalborg University, Denmark
Sanjay K. Chaudhary Associate Professor - Aalborg University, Denmark
Enrique Rodriguez Diaz Postdoc fellow -Aalborg University, Denmark
www.microgrids.aau.dk
List of participants for Industrial/Ph.D. Course in Microgrids
Course Participants
Course schedule
PHD COURSE ON DC - MICROGRIDS
DAY1: DAY2:
08:30 LECTURE – P101-19 LECTURE – P101-19
Registration
Course Overview
Presentation of
Speakers
L4 - DC Collection Grids:
Wind Power Plants
L1 - DC Distribution
Microgrids
10:00 COFFEE BREAK
10:30 LuNCH BREAK LECTURE – P101-19
L2 - Control of Power
Electronics Converters
for DC Microgrids
L5 - Hierarchical Control
of DC Microgrids
L3 - Paralel Control
Schemes for DC
Microgrids
12:00 LUNCH BREAK
13:00 LABORATORY LABORATORY
14:30 COFFEE BREAK
15:00 LABORATORY LABORATORY
Lab IV - Simulation
Evaluation of a DC Clossing session
microgrid
16:30
Who is Josep M. Guerrero
www.et.aau.dk
DAY1: DAY2:
8:30 LECTURE – P101-19 LECTURE – P101-19
Registration
Course Overview
L4 - DC Collection Grids:
Presentation of Speakers
Wind Power Plants
L1 - DC Distribution
Microgrids
10:00 COFFEE BREAK
10:30 LuNCH BREAK LECTURE – P101-19
L2 - Control of Power
Electronics Converters for
DC Microgrids L5 - Hierarchical Control of
DC Microgrids
L3 - Paralel Control
Schemes for DC Microgrids
12:00 LUNCH BREAK
13:00 LABORATORY LABORATORY
Lab I- Design of Control
Parameters for DC
Microgrids Lab V- Control design of a
Lab II - Simulation standalone voltage-droop
Evaluation of Stand-alone regulated DC MicroGrid
Converter with DC Voltage
Control
14:30 COFFEE BREAK
15:00 LABORATORY LABORATORY
11‐Apr‐16 Industrial/PhD Microgrids Course, Aalborg University 5
Outline
• Current war
• DC Microgrids configurations
• DC Microgrids at home
• DC Microgrids facilities
• Conclusions
DC Distribution Microgrids • References
Josep M. Guerrero, Professor
Department of Energy Technology
joz@et.aau.dk
http://www.et.aau.dk
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 1 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 2
Why Back to Back links?
Different system frequencies
No additional short circuit power contribution to connected
networks
Fully controllable power flow
Recent Trends
Introduction of many Inverter loads (AC/DC and DC/AC conversions are
Europe HVDC projects with
Asia HVDC lines transfer power from rural areas to urban centers
included)
submarine cables Introduction of distributed generations with DC output (photovoltaic, fuel
cell,variablespeed type wind turbine, microturbine, gas engine)
Needs for higher quality power
DC‐Coupled Microgrids
DC microgrids/nanogrids
DC distributed power systems (DPS)
Applications: VRM, ‐48 V telecom systems, DC‐link for UPS systems
Isolated systems: avionic, automotive, marine…
Source: ABB
DC Microgrids:
Distributed scheme of load side converters provide a high quality power.
Various forms of electric power (e.g 1‐100V, 3‐200V, DC 100V) can be obtained
without transformers.
Hierarchical disconnection of load points.
When a temporary overload occurs at one load, electric power can be shared by
using additional electric power lines between load side converters.
Synchronization of distributed generators are not necessary.
Fluctuation of generated power of distributed generators and load power can be
compensated in the dc line by using energy storage devices.
Loads are not affected by voltage sag, voltage swell, three‐phase voltage
unbalance, and voltage harmonics.
Power quality is not affected by Inrush current, single‐phase loads and single‐
phase generators.
Higher efficiency than AC microgrid.
300‐400V DC Operational and Demo Sites Worldwide (Europe, USA and Japan)
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 7 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 8
DC Distribution Microgrids DC Distribution Microgrids
Converter interfaces for DC Microgrids
Grid Side converter (GSC): links the ac grid and dc microgrid system. Depending on
DC Microgrid topology microgrid power rating, GSC could be either a single or three phase ac/dc converter.
Important feature of GSC is unity power factor (UPF) operation.
Load Side Converter (LSC): is the family of converters connected between the dc line
and end loads. For instance, connected between the dc line and high brightness (HB)
LED is a dc‐dc converter. Currently, most of the power electronic interfaces for loads are
designed to operate on ac voltage. Thus, it is a major challenge to shift from ac system
to dc system.
AC Residential system
Renewable Side Converter (RSC): comprises of the power electronics interface between
the dc bus and renewable sources such as solar photovoltaic (PV), wind turbine, fuel cell
etc.
Storage Side Converter (SSC): includes interface devices between dc bus and storage
elements. Different SSCs are required for different technologies such as battery,
AC commercial system flywheel, super capacitor etc. SSC design must ensure long operation life of the storage
elements.
Existing AC system is 400 V and 230 V
DC Microgrid Voltage Level:
DC Microgrid voltage levels
Efficiency: System efficiency depends on the power conversion stages between the
sources and loads. As the power conversion stage and its efficiency depends on voltage
400V: This voltage level has been used in dc datacenters. This is relatively
levels, system efficiency also depends on dc bus voltage level.
high voltage and hence highly effective grounding and protection
techniques are required.
Cost: The cost of GSC, LSC, SSC and RSC topologies depends on the voltage levels. Cabling
325V: It is equal to the peak of the ac phase voltage. Standard single
size is decided by the current to be carried, which in turn depends on the system power
phase power supplies with diode bridge input stage have dc link voltage of
and voltage level. Converters and cabling constitute the second largest share in the
325 V. Hence, existing supplies are compatible with this dc voltage level.
system cost, after the renewable sources. Typically, converter and cabling costs increase
230V: It has the same root mean square value as that of the existing ac
with the reduction in voltage level. This limits the use of low dc voltage for high power
system. Hence, the resistive loads (mostly heating) rated to operate with
application.
the existing ac system need not be modified, if this voltage level is used.
120V: It is an intermediate level between very low voltage and the existing
Safety: Very low voltage (less than 50V) is considered safe for humans up to 3 seconds of
ac system voltage.
direct contact. However, even for this voltage range, grounding practice is necessary for
48V: It is used in the telecom sector, hence supporting devices for this
the protection of devices/equipments.
voltage level are available.
✔Interiors and occupied spaces where
lighting and control loads dominate
the need for dc electricity
✔Data centers and telecom central
offices with their dc powered
information and communications
technology (ICT ) equipment
✔Outdoor electrical uses, including
electric vehicle charging and outdoor
light‐emitting diode (LED ) lighting
✔Building services, utilities, and HVAC
with variable‐speed drive (VSD ) and 380 VDC 24 & 380 VDC
electronic dc motorized
equipment.
EA’s dc standards as implemented in a data center
Lighting and controls on a solar‐powered dc Microgrid at University of
California San Diego.
(Source: Armstrong World Industries)
LVDC 380 V Home Energy Management Systems
MV Distribution level 22.9 kV Bidirectional Meters
Data server
PDU ‐. Power Distribution Unit.
Four power conversions can result in a poor efficiency of the system PSU ‐. Power Supply Unit
Online UPS system is easily available in the market
380 V DC distribution bus at facility
Centralized supply system (b) Multilocation* centralized supply system
* the DC/DC converters were physically located in different places, thus requiring safety
If to replace AC uninterruptable distribution power line at facility level by the DC line, as it is shown later, more than 7% shielding because of the presence of the highvoltage bus.
overall efficiency improvement and 10% to 30% saving in cost of operation can be achieved.
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 29 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 30
IBC
Commercial UPS system solution
PIBC Two AC buses (AC main & critical AC bus)
PBUS PPOL High number of conversions (until 5)
Source: Leonardo Energy
Source: Intechopen
Front ends are used
High voltage DC bus
Low number of conversions Intermediate low voltage bus
Source: Leonardo Energy Source: Leonardo Energy
400Vac : Conventional in Europe with 400Vac input; proposed for US with 480Vac input
Rack‐level DC
Online UPS system
Series‐parallel UPS system
A Pratt, et al. “Evaluation of 400V DC Distribution in Telco and Data Centers to Improve Energy Efficiency”
Facility‐level 48Vdc
Facility‐level 400Vdc
Facility‐level 550V / 48V DC
Non‐isolated DC output UPS with split bus and narrow range output
Small scale demonstration comparing conventional a high efficiency AC architecture (on
right) with 380V DC facility‐level distribution (on left).
Overhead lights operated on 380Vdc as well.
Small scale demonstration setup for AC (top) and DC (bottom)
7% improved efficiency and 6% savings with DC
K. Hirose, “Performance of the Sendai Microgrid During the 2011 Earthquake and Tsunami”
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 55 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 56
DC Distribution Microgrids DC Distribution Microgrids
Japan residential DC microgrid
DC Microgrid Ring (Japan)
Kakigano, H.; Miura, Y.; Ise, T.; , "Low‐Voltage Bipolar‐Type DC Microgrid for Super High Quality
Distribution," Power Electronics, IEEE Transactions on , vol.25, no.12, pp.3066‐3075, Dec. 2010
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 57 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 58
REbus™ microgrid is a flexible energy network that lets you make and use clean
renewable energy for home, business, school, or neighbourhood. (400V)
Load Units (LU)
Powerline Communication
• Robust narrowband FSK modulation
• Programmable transmission data rate up to 30kbps
• Programmable communication frequency from
50kHz to 500kHz
• Complete Media Access Control (MAC) logic
• CSMA/CD type collision detection and resolution
• Programmable automatic preamble generation
• Programmable automatic packet‐priority
management with four levels
• Error detection (CRC 16) REbus™
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 59 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 60
DC Distribution Microgrids DC Distribution Microgrids
Residencial DC microgrid Configurations of PV generation systems
PV Microgrid configuration
Kai Sun; Li Zhang; Yan Xing; Guerrero, J.M.; , "A Distributed Control Strategy Based on DC Bus Signaling for Modular
Photovoltaic Generation Systems With Battery Energy Storage," Power Electronics, IEEE Transactions on , vol.26, no.10,
pp.3032‐3045, Oct. 2011
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 61 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 62
Mode I Mode II
Mode III Mode IV
Kai Sun; Li Zhang; Yan Xing; Guerrero, J.M.; , "A Distributed Control Strategy Based on DC Bus Signaling for Modular Photovoltaic Kai Sun; Li Zhang; Yan Xing; Guerrero, J.M.; , "A Distributed Control Strategy Based on DC Bus Signaling for Modular
Generation Systems With Battery Energy Storage," Power Electronics, IEEE Transactions on , vol.26, no.10, pp.3032‐3045, Oct. 2011 Photovoltaic Generation Systems With Battery Energy Storage," Power Electronics, IEEE Transactions on, Oct. 2011
25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 63 25‐Jun‐18 Industrial/PhD Microgrids Course, Aalborg University 64
DC Distribution Microgrids DC Distribution Microgrids
Conclusions References
[1] Kojima, Y. Koshio, M. Nakamura, S. Maejima, H. Fujioka, Y. Goda, T.A,
‐ DC microgrids are gaining popularity in residential “Demonstration Project in Hachinohe: Microgrid with Private Distribution Line,”
System of Systems Engineering, 2007. SoSE '07. IEEE International Conference
applications. on, April 2007, page(s): 1‐6.
‐ DC microgrids are a good solution for autonomous [2] Barnes, M. Kondoh, J. Asano, H. Oyarzabal, J. Ventakaramanan, G. Lasseter, R.
Hatziargyriou, N. Green, T. “Real‐World MicroGrids: ‐An Overview,” System of Systems
systems when trying to combine: PV systems with Engineering, 2007. SoSE '07. IEEE International Conference on, 16‐18 April 2007,
batteries. page(s): 1‐8.
[3] S.Morozumi, "Technology Development For Grid‐Connection Issues", International
‐ DC microgrids can naturally interface: Telecommunications Energy Conference, Renewable Energy 2006, Chiba, Japan, Oct. 2006
o DC sources: PV, fuelcells. [4] Morozumi, "Overview of Microgrid Research and Perspektive", 2005 Yearly Report of the
Institute for Solar Development Activities in Japan", International Energy Technology,
o DC storage: supercapacitors, batteries. Kassel, Germany. Symposium on Microgrids, Montreal, June 2006.
o DC loads: LEDs, electronic loads. [5] J.M. Guerrero, J. C. Vasquez, et Al., “Hierarchical Control of Droop‐Controlled DC and AC
Microgrids –A General Approach Towards Standardization,” IEEE Transactions
‐ In general, DC microgrids are more efficient than AC on Industrial Electronics, 2011
microgrids. [6] Kai Sun; Li Zhang; Yan Xing; Guerrero, J.M.; , "A Distributed Control Strategy Based on DC
Bus Signaling for Modular Photovoltaic Generation Systems With Battery Energy
Storage," Power Electronics, IEEE Transactions on, Oct. 2011
• Feedback linearization control
• One cycle control
• Buck converter
• Half‐bridge with synchronous rectifiers
Control of Power Converters for DC • Half‐bridge current doubler rectifier
Microgrids • Conclusions
• References
Josep M. Guerrero, Professor
Department of Energy Technology
joz@et.aau.dk
http://www.et.aau.dk
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 1 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 2
Control of Power Converters for DCMG Control of Power Converters for DCMG
Feedback linearization control Feedback linearization control
Open loop
dynamics
m(x): nonlinear term
Control synthesis
System dynamics Relative degree
Closed loop dynamics
Relative degree r is the number of times that you can derivate the output
function y until the control variable u appears
Generalized control synthesis
Open loop dynamics
Control of Power Converters for DCMG Control of Power Converters for DCMG
Feedback linearization control Feedback linearization control
Average open loop output voltage dynamics
Controller with integrator
Closed loop dynamics
Control synthesis
Closed loop dynamics
No steady‐state error, since no losses has been considered
Nonlinear control
Closed loop dynamics
With a cutoff frequency higher enough the dynamics are barely affected
Control Art of Switching Converters, Keyue Ma Smedley, 1991, PhD Thesis
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 9 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 10
Control of Power Converters for DCMG Control of Power Converters for DCMG
One Cycle Control One cycle control
Closed loop dynamics
Steady‐state output voltage
Dynamics taking into account losses:
The controller cannot avoid the steady‐state error
Control Art of Switching Converters, Keyue Ma Smedley, 1991, PhD Thesis
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 11 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 12
Control of Power Converters for DCMG Control of Power Converters for DCMG
One cycle control Half‐bridge with synchronous rectifiers
OCC with feedback linearization control
Pole placement and steady‐state error elimination
Control of Power Converters for DCMG Control of Power Converters for DCMG
Half‐bridge with synchronous rectifiers Half‐bridge with synchronous rectifiers
Bilinear model Steady‐state
Regulation curve Equivalent Circuit
L. Garcia de Vicuna, J.M. Guerrero, J. Matas, M. Castilla, J. Miret, “Simple nonlinear controller to reduce line and load
disturbances in HBCC converter ”, Electronics Letters Volume: 38 , Issue: 25,2002, pp.1751‐1752.
Relative degree (2) is lower that the system dynamics (4) system
partly linearized:
Internal dynamics (nonlinearized)
External dynamics (linearized)
Control synthesis
Closed loop dynamics (external dynamics)
L. Garcia de Vicuna, J.M. Guerrero, J. Matas, M. Castilla, J. Miret, “Simple nonlinear controller to reduce line and load Small signal dynamics to study the internal dynamics
disturbances in HBCC converter ”, Electronics Letters Volume: 38 , Issue: 25,2002, pp.1751‐1752.
Control of Power Converters for DCMG Control of Power Converters for DCMG
Half‐bridge with synchronous rectifiers Half‐bridge with synchronous rectifiers
Adding an integral term order of the systems increases in one Eigen values analysis:
new state variable:
Small signal 5th order dynamics
Coincides with the imposed external dynamics
Robustness conditions External dynamic stability condition
(Routh)
Variable frequency solution
Control of Power Converters for DCMG Control of Power Converters for DCMG
Half‐bridge with synchronous rectifiers Half‐bridge with synchronous rectifiers
Once cycle control
Large signal model Vs switching model
Large signal dynamics imposed. Internal and external dynamics stability
guaranteed.
Large signal nonlinear model Steady state
Equivalent circuit
Parabolic regulation curve
Control of Power Converters for DCMG Control of Power Converters for DCMG
Half‐bridge with double current rectifier Half‐bridge with double current rectifier
Parabolic Regulation Curve
Output voltage open loop dynamics
Regulation limit
Inductors design
Controller synthesis
Output voltage closed loop dynamics
Physical explanation
Steady‐state current condition
Sensing of both voltage rectifiers
Control of Power Converters for DCMG Control of Power Converters for DCMG
Half‐bridge with double current rectifier Half‐bridge with double current rectifier
Controller expression
• Parallel control schemes
• Centralized control
• Master‐slave control
• Averaged control
• Droop control
Parallel Control Schemes for DC
• Virtual impedance
Microgrids
• Adaptive voltage positioning (AVP)
Josep M. Guerrero, Professor • Conclusions
Department of Energy Technology • References
joz@et.aau.dk
http://www.et.aau.dk
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 1 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 2
Parallel control schemes for DCMG Parallel control schemes for DCMG
Classification:
Droop methods: output voltage droops when load increases. 1) Active load sharing controllers
Active load sharing methods: combine a control mode with a processing A. Control structures
current load error scheme. Inner CS loop
Outer CS loop
External controller
B. Balancing current schemes
Methods of average current sharing
Master‐slave methods
2) Droop methods
Advantages:
Easy to implement and expand the paralleled system
Don´t need any interconnection between the controllers
High modularity and reliability
Main disadvantage:
Trade‐off between regulation and load sharing
1. Inner CS loops 2. Outer CS loop
The inner current sharing loops. Use error current signals to adjust the voltage reference
Voltage loops can be common or distributed.
In CMC the load sharing is done by giving each controller the reference current. Advantages:
Good modularity and standardization for production
Advantages: Flexibility in the system configuration, easy to expand and to maintain.
Stable output current sharing Excellent fault tolerant in case of a single module failure
Tight output voltage regulation
Limitations:
Limitations: Possible instabilities during
Degrade system modularity: the transient
• Control asymmetry Problems with parametric
Poor fault tolerance: difference between modules:
• Centralized voltage regulator pure integrators must be avoided.
Parallel control schemes for DCMG Parallel control schemes for DCMG
4. Outer Control Loop
3. External controller
Distribute load current sharing signals to the controllers
An external controller compare all the signals of the common load with the
modules signals
Advantages:
Easy to implement active methods of interleaving
Good current sharing and output voltage regulation
Easy to implement fault monitors
Disadvantages:
More interconnections between
the modules and the external
controller degrade reliability
Modularity degradation
Every module generate signal proportional to its average output
current to generate the current sharing reference a Iref.
1= ... = n= 1
Wi(s): gain proportional to the nominal current of the module i.
M(s)∙(iref ‐ io) used to adjust output voltage.
Intersil HIP6301 control IC
Parallel control schemes for DCMG Parallel control schemes for DCMG
6. Master‐slave methods
Classification according to the Master role:
Advantages:
Dedicated Master.
Current sharing signals stables and precise Rotate Master
Automatic Master (democratic)
One interconnection: load sharing bus
Noise immunity Rotate Master
Improve system reliability: every module is able to be the master, according to
Disadvantages:
a specific logic control
Reliability not very high in
Disadvantage: The voltage can fluctuate due to the continuous change of
Poor fault tolerance
master
Practical: Complicate implementation.
Advantages:
Only one wire interconnection
Good fault tolerance (automatic disconnection)
Easy to expand and modify the parallel system
Limitations:
Poor transient current sharing. Need for soft‐start
Possible fault in the sharing control
Noise sensitivity. UC3907 gives small offset to master
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 13 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 14
Droop control and Virtual Impedance Droop control and Virtual Impedance
Droop control Droop control in DC
• Parallel connected voltage sources
• Series connected (stacked) current sources Equivalent circuit Droop control – static performances
V V
R1 R2 V1 V1
I1 I2 V2 V2
Vp
V1 V2
Vp Vp
i2 i1 I is i2 i1 I
a) b)
V1 V2
V V
V1
I1 I2
V2 V1
Is V2
c) is i2 i1 I d) is i2 i1 I
Current sharing vs virtual impedance
Output Plane Analysis of Load‐Sharing in Multiple‐Module Converter Systems and voltage setting errors
John S. Glaser and Arthur F. Witulski
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 15 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 16
Droop control and Virtual Impedance Droop control and Virtual Impedance
Droop control in DC Droop control in DC
Virtual impedance
Current for each converter j
Considering equal virtual resistances and voltage settings
Considering voltage setting error
Voltage deviation
Max current error
Current for each converter j
Droop control and Virtual Impedance Droop control and Virtual Impedance
Droop control in DC
For N=2 converters
Output voltage
Current deviation
b) Resistive impedance
Calculate Vc = f(Vdroop, Vo)
c) Quasi‐resistive impedance
Droop control and Virtual Impedance Droop control and Virtual Impedance
Generalized block diagram of the hysteretic regulator
(a) Power stage circuit. Synchronous buck converter.
(b) Control configuration.
Castilla, M.; Guerrero, J.M.; Matas, J.; Miret, J.; Sosa, J.; , "Comparative study of hysteretic controllers for Castilla, M.; Guerrero, J.M.; Matas, J.; Miret, J.; Sosa, J.; , "Comparative study of hysteretic controllers for
single‐phase voltage regulators," Power Electronics, IET , vol.1, no.1, pp.132‐143, March 2008 single‐phase voltage regulators," Power Electronics, IET , vol.1, no.1, pp.132‐143, March 2008
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 23 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 24
Droop control and Virtual Impedance Droop control and Virtual Impedance
AVP design
Voltage at no load
Castilla, M.; Guerrero, J.M.; Matas, J.; Miret, J.; Sosa, J.; , "Comparative study of hysteretic controllers for Castilla, M.; Guerrero, J.M.; Matas, J.; Miret, J.; Sosa, J.; , "Comparative study of hysteretic controllers for
single‐phase voltage regulators," Power Electronics, IET , vol.1, no.1, pp.132‐143, March 2008 single‐phase voltage regulators," Power Electronics, IET , vol.1, no.1, pp.132‐143, March 2008
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 25 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 26
Droop control and Virtual Impedance Droop control and Virtual Impedance
‐ Parallel control schemes can be used and combined in DC
microgrids:
o Master/slave – Unitrode approach
o Average current sharing – Intersil approach
o Droop control
‐ Droop control have been developed for DC/DC converters.
‐ Droop control and virtual impedance are similar concepts in DC.
‐ In low voltage/high current applications for VRM/POL converters
it is called AVP: adaptive voltage positioning.
‐ Droop control can be designed to make the closed loop
impedance to be pure resistive in order to have best dynamics.
Additional AVP control loop
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 29
Outline
• Motivation
• AC vs. DC Collector Grid
• DC collector grid topologies
• DC‐DC converters
• References
DC Collector Grid for Offshore Wind
Power Plants
Sanjay K Chaudhary, Associate Prof
Department of Energy Technology
skc@et.aau.dk
http://www.et.aau.dk
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 1 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 2
Offshore Wind Power Plant Typical offshore wind power plant layout
1
GSC
LCL
Filter
CB & CT
MV feeder #1 36 kV Coll.
Two ac‐dc conversion stages
Chopper
Resistor
Bus#1
WTG#1
150 kV Coll
Bus #1
Three transformer stages!
GSC
MV feeder #2
WTG#2
3 150 kV
Bus#2
4
36 kV Coll. HV
feeder #1
B1
B2
HV
feeder #2
GSC MV feeder #3 36 kV Coll.
Bus#3
150 kV Coll
Bus #2
WTG#3
GSC MV feeder #4 A4
OFFSHORE ONSHORE
5 2 Very long medium voltage ac cable network
Vg 400 kV
Vdc2
Vdc1
150 kV
VSC1 VSC2 150 mm2 54 km 9.2 cm 16 kg/m
Anholt Wind power plant layout
VSC based HVDC Transmission 240 mm2 28 km 10.1 cm 20 kg/m
HV
Dc/dc feeder #2
MVdc feeder #3
HV Coll Bus
WTG#3 Dc/dc #2
• DC System:
DC system is free from reactive power management issues.
Reactive power management is moved to the connection point with the
ac system.
• Cable capacitance charging current:
AC cable reduces the active power rating, thus, longer distances cannot
be covered by AC cables.
DC transmission is not affected by cable charging current, so that VAR
compensators are not required.
• Fewer Cables
Fewer cable are required for DC system
DC resistance is lower than ac resistance
• Medium frequency transformer SAB has poor transformer utilization!
Heavy line frequency transformer is replaced with medium-voltage high-
frequency DC/DC converters DC‐DC Collector grid with single active bridge (SAB) DC‐DC converter
Redcued footprint size and weight. Ref. [6] C. Meyer, M. Hoing, A. Peterson, and R. W. De Doncker, “Control and Design of DC Grids for Offshore Wind Farms,” IEEE Trans. Ind. Appl., vol. 43, no.
6, pp. 1475–1482, 2007.
WTG dc output converted to
MVdc, and then the collected • AC transformers allow the voltage to be stepped up for
power is converted to HVdc. transmission and stepped down for distribution and
consumption.
• Technically dc transformer is impossible. Dc-dc converters can
WTG dc output directly provide such a functionality.
collected and converted to
HVdc. Isolated Topologies
– Single Active Bridge
– Double Active Bridge
– Resonant converters (series and parallel)
Non-isolated Topologies
– LCL dc-dc converter
WTG dc output directly
collected and converted to
HVdc.
Ref. [2] F. Deng, ‘Design and Control of A DC Grid for Offshore Wind Farms’, PhD Thesis, AAU 2012.
Input side in parallel connection
Transformer with unity turns ratio, to provide isolation
Single active Bridge
Output side in series connection to reach MV levels.
Double active Bridge
V 2
· · 0
3 2 3
Series connection of the dc/dc converters to obtain the MV dc level
[12]
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 11 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 12
Resonant dc-dc converter Non-isolated LCL resonant dc-dcconverter
Fundamental frequency rms
line‐neutral ac voltage are:
4
2 sin 1
2
4
Seies resonant converter 2 sin 1
2 Two‐phase dc/dc converter topology
• Series resonant circuit between the capacitor and the leakage inductance
• GCT based inverter, with soft‐switching The currents in the LCL
• Medium frequency transformer with amorphous metal alloy core circuit are related by,
• By default unidirectional power flow;
• Over 99% efficiency is claimed at 1 kHz switching frequency.
Thyristors and an auxiliary switch
are added to allow some reverse
powerflow capability. 1.8% loss is claimed for 100‐MW, 40‐
kV/600‐kV, LCL resonant converter.
[11] [2]
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 13 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 14
Modular resonant switched ‐
capacitor (RSC) Cell:
6
• a high‐efficiency
• Non‐isolated RSC step‐up
converter The dynamics of the
• soft switching for all switches dc grid can be studied
and diodes through simulation in
• No magnetic component PSCAD/EMTDC or
• Modular structure PLECS.
[3, 5]
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 15 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 16
Summary References
1) F. Deng, ‘Design and Control of A DC Grid for Offshore Wind Farms’, PhD Thesis, AAU 2012.
• Voltage droop: Primary control
• Secondary control
• Secondary control for DC microgrids
• Tertiary control for DC microgrids
• Clusters of DC Microgrids
Hierarchical Control of DC Microgrids • Conclusions
• References
Josep M. Guerrero, Professor
Department of Energy Technology
joz@et.aau.dk
http://www.et.aau.dk
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 1 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 2
Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐
1913, April 2013 H. El Fadil, F. Giri, Josep M. Guerrero, Adaptive sliding mode control of interleaved parallel boost converter for fuel cell energy generation system, Mathematics
and Computers in Simulation, Available online 7 August 2012, ISSN 0378-4754, 10.1016/j.matcom.2012.07.011.
_ Primary
control Dg units
References Secondary
+ control
Low Bandwidth Communications
Energy
Tertiary
Management
control
System (EMS)
Primary Dg units
control
Solar converter
V [V ]
Converter rating
A
B
C
D
Actual
MPPT
0 I gA I gB I gC I gD Ig
Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐ Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐
1913, April 2013 1913, April 2013
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 9 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 10
Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐ Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
1913, April 2013 Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐
1913, April 2013
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 11 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 12
Hierarchical control of DC microgrids Hierarchical control of DC microgrids
Distributed secondary control Average current sharing
Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐
Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐
1913, April 2013
1913, April 2013
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 13 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 14
Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve
Voltage Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐ Anand, S.; Fernandes, B. G.; Guerrero, J. M.; , "Distributed Control to Ensure Proportional Load Sharing and Improve Voltage
1913, April 2013 Regulation in Low‐Voltage DC Microgrids," Power Electronics, IEEE Transactions on , vol.28, no.4, pp.1900‐1913, April 2013
Hierarchical Control of DC Microgrids Droop control for DC MGs
Droop control
• DC signaling: using DC voltage microgrid
• Regions:
Constant Voltage Droop control
Constant Power
and
Average
Sharing
• Virtual impedance implementation
io V * / Rdroop
Vo V * Rdroop io
Ohm’s law!
Vo V1 Rdroop io1
Vo V2 Rdroop io 2
For light loads, high Io means that one converter could absorber power!
Analysis, Design, and Performance Evaluation of Droop Current‐Sharing Method
Brian T. Irving and Milan M. JovanoviC, Delta Products Corporation Analysis, Design, and Performance Evaluation of Droop Current‐Sharing Method
Brian T. Irving and Milan M. JovanoviC, Delta Products Corporation
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 21 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 22
Secondary Control for Microgrids Tertiary Control for Microgrids
Secondary control for DC microgrids Tertiary control for DC microgrids
• Tertiary control expression and implementation
• Primary control – Droop control:
vo k p ' iG* iG ki ' iG* iG dt
vref vo
vo* vref vo RD ·io
vref
• Voltage Restorer:
vo k p vMG
*
vMG ki vMG
*
vMG dt
Guerrero, J.M.; Vasquez, J.C.; Matas, J.; de Vicuna, L.G.; Castilla, M.; , "Hierarchical Control of Droop‐Controlled AC
and DC Microgrids—A General Approach Toward Standardization," Industrial Electronics, IEEE Transactions on , vol.58,
no.1, pp.158‐172, Jan. 2011
Hierarchical Control of DC Microgrids Droop control for AC/DC MGs
Tertiary control
Typical AC/DC hybrid microgrid system
Root locus of DC voltage controller
Root locus of AC voltage controller Secondary control for DC microgrids
udc
udc δV
+- PI
To Rectifier II
DC Voltage Secondary
Controller
Secondary Control Level
cosθ iα1 HC
iα1 -
+
udc udc PR udc
÷
αβ
PWM
idc
Rd -+ ++ +- PI
iβ1 +
PR ÷ -abc Generator
-
DC Droop DC Voltage sinθ iβ1 HC
Controller Controller
Current Ref. AC Current
Generator Controller
Primary Control Level
Hierarchical control diagram of a parallel PWM rectifier system
Xiaonan Lu; Guerrero, J.; Teodorescu, R.; Kerekes, T.; Kai Sun; Lipei Huang; , "Control of parallel‐connected bidirectional AC‐DC converters in stationary
frame for microgrid application," Energy Conversion Congress and Exposition (ECCE), 2011 IEEE , vol., no., pp.4153‐4160, 17‐22 Sept. 2011
Secondary control for DC microgrids Secondary control for DC microgrids
iα
udc
Control diagram of inner current loop and
udc parallel Harmonic Compensation
1
1 s 5
x 10
4
x 10
4 6e+004 2
0.13 0.09 0.065 0.038 0.018
5e+004
3 0.19 1.5
4e+004
2 0.28 3e+004 1
2e+004
1 0.5
0.5
1e+004
Control diagram of the secondary controller including a delay unit 0 0
1e+004
-1 0.5
-0.5
2e+004
-2 0.28 3e+004
-1
4e+004
-3 0.19
-1.5
5e+004
Secondary Control for Microgrids Hierarchical Control of DC Microgrids
Implementation of secondary control for DC microgrids Electrical scheme of the experimental system
Virtual
resistance
The primary and secondary control levels can be implemented similarly as in an AC MG.
In this case, the BW can be higher since the virtual resistance acts instantaneously.
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 39 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 40
Hierarchical Control of DC Microgrids Hierarchical Control of DC Microgrids
Experimental results for hierarchical control of DC
microgrids PMG PG1
DC voltage step response DC voltage deviation caused by droop controller
PS1 PG2
PS2 PG3
Xiaonan Lu; Kai Sun; Guerrero, J.M.; Vasquez, J.C.; Lipei Huang; Teodorescu, R.; , "SoC‐based droop method for distributed energy
storage in DC microgrid applications," Industrial Electronics (ISIE), 2012 IEEE International Symposium on , vol., no., pp.1640‐1645,
28‐31 May 2012
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 43 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 44
Tertiary Control for Microgrids Tertiary Control for Microgrids
Implementation of Tertiary control for DC microgrids Implementation of Tertiary control for DC microgrids
Stiff DC source
Tertiary Control
The primary, secondary and Tertiary control levels can be implemented similarly as in an AC MG
Objective I: To regulate the voltage within an acceptable range around the reference.
Objective II: To regulate the power flow between DC Microgrids according to SOC of batteries.
Microgrid Clusters:
Voltage regulator
viavg
Increasing reliability
‐
SOCi ,
Centralized for each dc MG;
No need for expansion of energy sources and storage capacity in terms of increasing load vi
smooth connection of MGs. vMGs j
Power flow between the MGs requires to be managed
‐ Distributed over the MG cluster viavg
Gi ( s)
vi1
vi io _ j
‐ Regulates the voltage inside each v avg
j
Imaginary
Cb1 Z1,2 0.1 j 0.00018 49
s
Load 2
SOC2 v21 Rd1 400 -0.02
Communication
47
5
b12 F1 ( s ) -5 -4 -3
Real
-2 -1 0
-4
Battery1 DC
DC
LC filter Network LC filter DC
DC
Battery1
200 x 10
Imaginary
i 2,3 46 0
Load 1
3 DC
DC Battery2
k p1 s k i 1 1 RL1 0 Battery2 DC
LC filter LC filter DC
45
Tie line 2,3
vMG 1s 1 RL1C1s 1
Z 2,3 Z1,2
s -200 -5
v1avg MG 1 MG 2
44
v2avg 1 -400
a12 G1 ( s ) MG 3
v11 vMG v1 43 -10
s -600 Load 3 2 4 6 8 10 12 0 2 4 6 8 10 12
v1
Time (s) Time (s)
-25 -20 -15 -10 -5 0
1 Real
LC filter
LC filter
LC filter
LC filter
Lt s Rt MGs currents injections SOC of dc MGs
30 100
DC
DC
DC
DC
v2
DC
DC
DC
DC
v1avg 1 v12 v v2 25
a21 G2 ( s ) MG
Battery1
Battery2
s
WT
PV
20
v2avg
vMG k p 2 s ki 2 1 RL2 Lt
Impact of line inductance ( ) on the
s 2s 1 RL2C2 s 1 stability of system 15 60
SOC1
b21 F2 ( s ) 10
v22
R2
d 1000 L=4 mH Real‐time simulation 5
40
Imaginary
SOC2 (0) Time (s) Time (s)
0
Each dc MG consists of four units. MG1 units’ current
One droop‐controlled unit; it can represents groups of droop‐controlled units. -500
RL combination of electronic loads and CPLs -1000 Rated voltage of the system is 48 V. 5
4
Real 2
Constant duty ratio work in droop‐controlled mode 1
0
Impact of different parameters on the system stability Neighboring communication -1
-2
2 4 6 8 10 12
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 49 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg UniversityTime (s) 50
48.5 MG3
MGs Voltages (V)
49 MG3
gossip‐based method
48 48.5
‒ token ring manner, synchronization & transmission scheduling
48
47.5
Consensus‐based method
47.5
47
1 2 3 4 5 6 7 8 9 10 11 12 ‒ fully distributed, spars communication
Time (s) 47
49 1 2 3 4 5 6 7 8 9 10 11 12 Three control functions
400 ms delay Time (s)
‒ frequency/active power regulation
MGs Voltages (V)
48.5
48
Results show proper control of dc bus ‒ voltage regulation: restoration to the nominal value or maintaining within an acceptable
voltages and power flow. range
47.5
Control of power flow is achieved at ‒ reactive power regulation: line impedance effect, different parameters
47 the expense of having small voltage
1 2 3 4 5 6
Time (s)
7 8 9 10 11 12
deviations.
disturbance rejecting, communication impairments, resiliency to
Experimental validation:
link/inverter failure, plug ‘n’ play capability
The proposed methodology is able to
49
500 ms delay
Hierarchical control of dc Microgrids and dc Microgrids clusters
MGs Voltages (V)
48.5
eliminate load disturbances properly.
48 Central voltage controller inside the SOC‐based adaptive droop method: small signal modeling
47.5
MGs ensures smooth connection of voltage regulator: centralized for each Microgrid, distributed over the cluster, smooth connection
MGs.
47
1 2 3 4 5 6 7 8 9 10 11 12
Cooperative power flow regulator: SOC‐based regulation, spars communication
Time (s)
Real‐time simulations
25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University 51 25‐June‐18 Industrial/PhD Microgrids Course, Aalborg University
Conclusions References
Laboratory Exercises
Aalborg, Denmark
June 25 – June 26
2018
Contents
Lab I Design of Control Parameters for DC Microgrids
2
LAB I – DESIGN OF CONTROL PARAMETERS FOR DC
MICROGRIDS
INTRODUCTION
The objective of this lab is to guide the student to achieve AC current and DC voltage control
for a DC microgrid. And also, droop controller for load current sharing is designed. Matlab
rlocus, margin, bandwidth commands are used for designing the controller parameters.
CONTROL SCHEME
The overall hierarchical control diagram established as shown in Fig. 1.1, which will be
introduced in detail as follows:
GPR, Gd and Gf are the transfer functions of PR controller, PWM delay unit and LC filter
respectively.
K iI s
GPR K pI
s o 2
2
(1.1)
being KpI and KiI proportional and resonant parameters respectively andωthe angular
frequency.
1
Gd
1 1.5 Ts s (1.2)
3
beingTs switching period.
1 RDCs
Gf
Lgrid LconvCs 3 (Lgrid Lconv )RDCs 2 ( Lgrid Lconv )s (1.3)
being Lgrid and Lconv filter inductances in the grid and converter side,C filter capacitor andRD
damping resistance.The control diagram of DC voltage loop is shown in Fig.1.3.
Kiv
GPI K pv (1.4)
s
1
Gc (1.5)
1 3Ts s
uˆdc Ed RL
Gdcplant
iˆd U dc sCdc RL 1 (1.6)
beingEd steady state value of AC voltage in d axis, Udc steady state value of DC voltage, Cdc
DC capacitor, RL load resistor.
After designing the AC current and DC voltage loops, droop controller in the primary control
level should be employed. In parallel rectifier system, droop effect is shown by means of DC
current sharing. The virtual resistor Rd is selected to make sure that DC voltage is in the
acceptable range, as shown in (1.7).
4
I dc(FL)
R u
d dcmax
u dcmin
(1.7)
being udcmax and udcmin the upper and lower boundary of DC voltage. Idc(FL) the full load
current in the DC side. Rdis the virtual resistor.As a result,
R (u
d dcmax
udcmin
)/ I dc(FL)
(1.8)
LABORATORY TASKS
Using the equations (1.1), (1.2)and (1.3), design the AC current controllers with the
following requirements and considering the sampling period Ts used in the laboratory
(fs=10kHz).
Requirements:
• The current loop should be stable, (closed loop) with a phase margin larger than 45˚.
Hint: use rlocus and margin Matlab function.
Using the equations (1.4), (1.5)and (1.6),design the DC voltage controller with the following
requirements and considering the sampling period Ts used in the laboratory (fs=10kHz). Here,
Ed is selected as 3 / 2 230V 282V .
Requirements:
• The voltage loop should be stable, (closed loop) with a phase margin larger than 30˚.
Hint: use rlocus and margin Matlab function.
Using the equation (1.8), design the AC current controllers with the following
requirements:
• The upper and lower boundaries of the acceptable DC voltage are 590V and 610V
respectively and full load DC current is 5A.
Each group should write a short report. Send the report by email to joz@et.aau.dk
5
LAB II –SIMULATION EVALUATION OF STAND-ALONE
CONVERTER WITH DC VOLTAGE CONTROL
INTRODUCTION
The aim of this lab is to guide the student to test experimentally the designed control of a
DC microgrid including DC current droop control. Also, the student will see DC voltage
deviation and restore them to nominal values by means of a secondary control strategy.
SIMULATION STRUCTURE
SYSTEM PARAMETERS
Danfoss FC 302 inverter
Dspace 1103
Lconva Lconvb Lconvc 1.8mH
Ca Cb Cc 4.7 F
Lgrida Lgridb Lgridc 1.8mH
Cdc 600 F
RL 100
Sampling Frequency 10kHz
6
Fig.2.1 Control Desk layout for voltage control in a DC MG.
DESCRIPTION
The control layout is organized as follows:
Based on the control scheme depicted in Lab VIII, the student will be able to not only control
the DC voltage inside a DC microgrid, but also to maintain the DC output current sharing.
7
LABORATORY TASKS
Task 1: DC bus voltage forming by parallel rectifiers
• Start Rectifier #1 and #2(By default the DC reference value is also initialized to 600V)
• Set Virtual resistor of Rectifier 1 and 2 to 3Ω and obtain the steady waveforms of DC
voltage and DC currents.
• Set the DC difference of voltage reference values to 1V by using the “Delta Vdc” button
and obtain DC steady-state current waveforms. Calculate the current deviation (I)
compare it with the experimental one.
• After all waveforms have been obtained, return the value of the “Delta Vdc” slider back
to 0 and stop both rectifiers.
Each group should write a short report. Send the report by email joz@et.aau.dk
8
LAB III – DESIGN OF HIERARCHICAL CONTROL FOR
DC MICROGRIDS
INTRODUCTION
The objective of this lab is to guide the student to achieve each control level of a hierarchical
control system. Previously designed local AC current, DC voltage and droop controllers are for
the primary control level. Secondary controller for restoring the DC voltage and tertiary
controller for DC grid current regulation will be reached in this lab. Matlab rlocus, margin,
bandwidth commands are used for designing the controller parameters.
CONTROL SCHEME
The control sheme of the hierarchical control system is shown in Fig.3.1.
The principle of the secondary controller for restoring the DC voltage is shown in Fig.3.2
and the control sheme of the secondary controller is depicted in Fig.3.3.
9
vdc
Secondary
Response
Primary
Response
Kiv2
GPI2 Kpv2 (3.1)
s
As same as the secondary controller, PI controller is also employed in the tertiary control
level, as shown in (3.2).
Kii3
Gpi3 K pi3 (3.2)
s
10
LABORATORY TASKS
Using the equation (3.1) and the previously achieved results in Lab I, design the secondary
controller with the following requirements and considering the sampling period Ts used in the
laboratory (fs=10kHz).
Requirements:
• The current loop should be stable.
Hint: use rlocus Matlab function.
Using the equation (3.2) and the previously achieved results in Lab I,design the tertiary
controller with the following requirements and considering the sampling period Ts used in the
laboratory (fs=10kHz).
Requirements:
• The current loop should be stable. Hint: use rlocus Matlab function.
11
LAB IV – EVALUATION OF HIERARCHICAL CONTROL
FOR DC MICROGRIDS
INTRODUCTION
The aim of this lab is to guide the student to test experimentally the designed hierarchical
control system of a DC microgrid, including the primary, secondary and tertiary control levels.
The student will see DC voltage deviation and restore them to nominal values by means of a
secondary control strategy and the DC grid-connected current control by means of a tertiary
control strategy.
SIMULATION STRUCTURE
12
Fig.4. Layout for Hierarchical control in a DCMG
DESCRIPTION
The control layout is organized as follows:
Based on the control scheme depicted in Lab III, the students will be able to control the local
DC voltage, AC current and droop controllers. At the same time, they can restore the DC bus
voltage by means of secondary controller and control the DC-side grid-connected current by
means of tertiary controller.
13
LABORATORY TASKS
Task 1: Secondary control to restore DC voltage in the microgrid
• Set Virtual resistor of Rectifier 1 and 2 to 3Ω and obtain the steady waveforms of DC
voltage and DC currents.
• Calculate the DC voltage deviation (V) caused by primary control and compare it with
the experimental one.
• Press ‘Start Secondary Control’ button to see the restoration of DC voltage and obtain
the transient voltage waveform. By adjusting the secondary control parameters, the error
of DC voltage should be lower than 1V.
Task 2:Tertiary control to control the DC-side grid-connected current in the microgrid
• Make sure that the DC bus voltage is restored by the secondary controller and the error
of DC voltage is lower than 1V.
• Press ‘Start Tertiary Control’ button, and obtain the waveform of DC-side grid-
connected current.
• Set the reference value of grid-connected current as 0 A → 1 A→ 0 A→ -1 A→ 0 A
and obtain the transient waveform of DC-side grid-connected current.
• Reset all the reference values to 0 and stop both rectifiers.
Each group should write a short report. Send the report by email to joz@et.aau.dk
14
LAB V –CONTROL DESIGN OF A STANDALONE
VOLTAGE-DROOP REGULATED DC MICROGRID
INTRODUCTION
CONTROL SCHEME
This kind of control configuration defines the operating point of the unit in a static sense as
For the purpose of attenuating the switching harmonics, LC filter is generally employed at the
output of dc/dc converter. Voltage and current control loops are usually realized as standard PI
controllers. Therefore, for dynamic analysis of the single unit system, 4 state variables can be
straightforwardly defined:
15
• x1 = Output of the integrator of the voltage loop
• x2 = Output of the integrator of the current loop
• x3 = Filter inductor current
• vc = Filter capacitor voltage (equal to the common bus voltage if unit is directly
connected).
If a lossless and non-isolated buck dc-dc converter is considered, system of Fig. 5.1 can be
modeled with coupled differential equations:
These complete equations can be broken down to the converter loop for tuning current
controller:
1 V
x&2 vc in duty
L L
1 1 (5.3)
v&c x2 vc
C RLC
x&1 I c x2 I ciref
Vin V P 1 V P
x&2 x1 in c x2 x3 in c iref (5.4)
L L L L
& 1 1
vc C x2 R C vc
L
16
where Rd is the virtual resistance, Pv, Pc, Iv and Ic are the control parameters associated with
voltage and current control loops, Vin is the source input voltage, L and C are the inductance
and capacitance of converter output filter and RL is the equivalent resistance of the load.
17
LAYOUT DESCRIPTION
LABORATORY TASKS
The following parameters can be considered as fixed for all tasks within this exercise:
Vin=100V;
vref,MG=48V;
C=2.2e-3F;
L=1.8e-3;
RL=20Ω;
Task 1: Construction of one-unit state-space model and tuning the parameters of inner control
loops
Using the equations shown in (5.3) and (5.4), design the associated state-space models of the
system:
x Ax Bu
(5.5)
y Cx
At first, tune the parameters of inner current loop to achieve a stable response. To do that easily,
call sisotool(system_con(1,1))from Matlab command window. Note that system_con is a state-
space model of (5.3).
18
Place one pole and one zero into a root-locus editor at first (marked in red in Fig. 5.3). Then set
the location of the pole to zero in order to enforce the controller to be a standard PI (marked in
magenta in Fig. 5.3). Open Analysis Plots tab and pick the step response from input to output
(marked in orange in Fig. 5.3). Use on-line bode tuning procedure (marked in green color in
Fig. 5.3) to find appropriate Pcand Ic. Once you have done this, insert these values to (5.4) and
repeat the procedure for tuning the voltage controller.
Hint: Use Matlab functions ss, ss2tf and Matlab sisotool. First tune the inner control loop (tune
the controller for converter loop). Then use the loop you derived to tune the inner voltage loop
(tune the controller of the current loop). Refer to the folder Lab V available on your USB drives
for further assistance.
2
the Rd value for which the damping factor of the system is .
2
Hint: Use Matlab functions poles, rlocus and sgrid.
19
• Put Rd values equal to 0.5Ω
• decrease the resistance of the system load, observe the voltage deviation on the common
bus and note down the resistance where common voltage falls below 44V (with all the
Rd settings equal to 0.5Ω).
• Find several combinations of Rd values to reduce the voltage deviation to 46V and write
them down.
• Return Rd values to 0.5Ω and switch the third source to the constant-power injection
mode (On MPPT-PV). Set the power to 300W and load resistance to 3Ω. Write down
the common voltage and use the following equation to calculate analytically the needed
Vref to return the common voltage to 48V (Needed action from the secondary control).
Write it down.
2
vref v 1 1
ref 4 PCP
Rd Rd Rd Rload
VDC
1 1
2
Rd Rload
1
Rd n
R
i 1
d ,i
Task 4: Analysis of secondary control for restoring the common voltage deviation
20
• Try to increase the speed of secondary controller (Kp, Ki). Write down the parameter
values that cause instability. Explain why the bandwidth of secondary controller is
limited, and what the limiting factor is.
• Turn off the centralized secondary controller and set the parameters of secondary
controller as follows: KP,sec=0.5, KI,sec=50 (Distributed controllers will adopt that
settings). Turn on the distributed secondary controllers sequentially and capture the
response. Why doesn’t the current sharing work anymore?
Write a short report containing the results and your conclusions from the simulations, and email
it to joz@et.aau.dk and juq@et.aau.dk .
21
LAB VI– DISTRIBUTED ENERGY STORAGE SYSTEM
BALANCING BY USING A KNOWLEDGE BASED FUZZY
INFERENCE SYSTEM
INTRODUCTION
The main aim of this lab exesrcise is to completely understand how the virtual resistance
(Rd) ,defined in Lab V, can be used in order to adjust the power sharing in a islanded DC
microgrid with distributed energy estorage systems. The virtual resistance can be adjusted in
order to balance the stored energy between distributed energy storage systems. Comonly,
several different gain scheduling approaches has been proposed in order to achieve the balance
between distributed energy storage systems. Particularly, in this lab a simple estrategy based
on an intuituve knowledge base fuzzy system will be propouse for equalize the state of chage
of distributed energy storage systems based on batteries. For this lab it is recommended the
MATLAB version 2014.
SIMULATION SETUP
The simulated islanded DC microgrid, consist of 3 sources. In this case, a renewable energy
source based on PV generators and two energy storage systems based on batteries as can be
seen in Fig. 6.1.
DC/DC
Converter Battery Array 1
I ESS 1 I Bat1
DC/DC
PV Array Converter
I RES 1 VDC SoC Bat 1
PWM Current *
VPV I PV I ref + + V
control PI
- -
DC
FIS
PWM loop
VDC W1
I ref Current
MPPT control Rd
loop Primary Control Battery 1
Sign( VDC )
DC Common Bus
W2
FIS
Primary Control Battery 2
22
In the simulated microgrid, the renewable energy system operates under constant power mode.
Meanwhile, the energy storage systems operate under voltage-droop mode and consequently,
the voltage ate the common bus is defined by the following equation,
Where (VDC ) the voltage at the common bus is, (V *DC ) is the reference voltage, ( I ESSi ) is
the output current at each energy storage system.
The power sharing between energy storage units can be adjusted in order to balance the state of
charge between them by weighting the virtual resistance by a factor Wi . Therefore, equation
(8.1) can be rewritten as:
In this lab the factor i will be adjusted in order to obtain equalization of the state of charge
(SoC) of distributed energy storage systems. Afterwards, based on your own experience, a
knowledge base fuzzy inference system (FIS) will be obtained in order to perform the
equalization of the SoC automatically.
V *DC = 48 V;
Battery Capacity =0.02 (A/h);
Initial SoC battery 1=65%;
Initial SoC battery 2=75%;
Rd=0.5Ω;
Maximum power from RES=400W;
LAYOUT DESCRIPTION
The simulation file is composed by three main blocks (see Fig. 6.2):
- Control Block: Used for adjusting the main parameters of the system. By double
clicking this block we can see the control mask of the system, which is composed by
(see Fig. 8.3):
o W1 and W1 sliders for adjusting manually the weighting factor Wi of each
ESS.
o Reset function for restarting the simulation to initial conditions.
o The initial conditions parameters.
23
o Power from RES slider: it is used for changing ther power generated from the
RES. This is usefull for changing the operation of the bateries from change to
discharge and viceverse.
o Fuzzy inference System: this part contains the link to the Fuzzy Logic Toolbox
of MATLAB and the box for enabling the FIS operation.
- Microgrid Model: DCMG. This block contains the model of the microgrid shown in
Fig. 6.1.
- Scope: in the scope we can visualize:
24
LABORATORY TASKS
• Reset the system as many time as you need in order to achive good asymtotic aproach
of the SoC.
o NOTE: To reset and set the system it is necessary to select the Reset box, next
press the butom Apply, then deselect the Reset box and press Apply once again.
• Now, put the “Power from RES” slider at 50 W (for evaluating the equalization under
battery discharge).
• Adjust the values of the slider W1 and W2 in order to achieve asimtothic aproximation
of SoCBatt1 and SoCBatt2.
• Observe how the output current from both ESS is shared in acordance to the values at
W1 and W2.
• Observe the output voltage (VDC ) and obtain the sign of the voltage deviation
( Sign( VDC )) .
• Reset the system as many time as you need in order to achive good asymtotic aproach
of the SoC.
• Explain, the results considering the ( Sign( VDC )) and how the weighting factors
25
Task 2: Fuzzy adjustment of Wi for automatic equalization.
Based on the knowledge obtained from the previous task, it is expected to derive a fuzzy
inference system (FIS) that summarizes all the qualitative knowledge acquired in the previous
task for balancing the stored energy between distributed ESS.
A FIS can easily summarize the qualitative knowledge about the expected behavior of a system
by means of simple If-Then rules. For instance:
If the SoC is LOW and The ( Sign( VDC )) is POSITIVE Then W is SMALL.
Fuzzy rules are statements like “SoC is LOW”, where “LOW” is a linguistic label, defined by
a fuzzy set of the variable SoC. A fuzzy set is a set in which the membership of an element is
graded from 0 to 1. On the contrary to ordinary membership where the element belongs (1) or
not (0) to a set, in a fuzzy set the elements can belong to a fuzzy set to a certain degree. Fuzzy
sets are very useful for representing vague concepts, such as low temperature, expensive dinner,
state of charge, etc.
Additional explanation of fuzzy systems and how to use the Fuzzy Logic Toolbox of MATLAB
will be given during the lab.
• Load the Fuzzy Logic Toolbox from the “Call FIS toolbox” link (see Fig. 8.4).
• The inputs of the fuzzy system will be the SoC and the Sign(ΔVDC).
Please. Do not hesitate to ask assistance in case you need additional explanation about fuzzy
systems or help with the use of the toolbox.
MATLAB 2013.
In case you have MATLAB 2013 there are small changes at the control block that you have to
take into account. For instance, for calling the Fuzzy toolbox you have to write the following
instruction on the Command Window:
fuzzy RD;
Write a short report containing the results and your conclusions from the simulations, and email
it to joz@et.aau.dk.
27