SMC DC MG

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Implementation of Sliding Mode Control

in DC Microgrids

Leonardy Setyawan, Wang Peng, Xiao Jianfang


School of Electrical and Electronic Engineering
Nanyang Technology University, Singapore
leon0159@e.ntu.edu.sg, epwang@ntu.edu.sg, xi0012ng@e.ntu.edu.sg

Abstract—Upon the increasing implementation of direct some barriers which include the aspect of standards, protection,
current (DC) power sources, energy storages and loads in power safety, and equipment [1]. Therefore, the DC microgrid is
systems, DC microgrids have drawn more attention from global implemented to enhance the performance of the overall power
stakeholders. Reliable operation of DC microgrids mainly system rather than to substitute the existing AC power system.
depends on proper control method to cope with bus voltage
variations due to renewable sources intermittency and load The main motivation of this research is to cope with
changes. The main objectives of the control method are to stability issue existing in the DC microgrid which is mainly
maintain the operating bus voltage and the power balance. This caused by the intermittent nature of renewable sources and
control method is applied in battery energy storage (BES) load changes. BES is the main component to regulate the bus
component. By charging and discharging power to and from BES voltage through charge and discharge to maintain power
the control objectives can be achieved. Sliding mode control balance of DC microgrid [3]. PI control is a common control
(SMC) method is implemented because of its robustness for technique used for converters [4-7]. It is a linear control that
sudden variations of power sources and loads. SMC is also of fast minimizes the error by adjusting the control input of the system
response in dynamics. Washout filter is applied to minimize the with the control action. Since the converter is nonlinear, to
transient response. DC microgrid model is developed in simplify the control process, nonlinear control is implemented.
Matlab/Simulink simulation to verify the performance of SMC. The nonlinear control chosen in this research report is SMC.
The comparison between SMC and the conventional SMC is recognized as an efficient tool to do design robust
proportional-plus-integral (PI) control is also carried out in the
controllers for complex high-order nonlinear dynamic plant
analysis.
operating under uncertain conditions [8]. SMC has major
Keywords—sliding mode control; DC microgrid; washout filter; advantages including the guaranteed stability and the
battery energy storage robustness against parameter, line, and load uncertainties [9,
10]. The simulation results are presented to validate this
I. INTRODUCTION research work. In this research the performance comparison
Semiconductors which are natively DC are about to between SMC and PI control will be carried out.
dominate electrical devices since the invention of The organization of this paper is as follow: Section 2
semiconductor material in 1960s. Hence, the majority of the exposes a typical DC microgrid from the overall system to its
load base will be DC-compatible [1]. Most carbon-free energy components including the mathematic modeling; Section 3
sources i.e. photovoltaic (PV) and fuel cell, and energy explains the implementation of the sliding mode control
storages which are vastly increasing in number are also DC method in the DC microgrid; the results and analysis of the
inherent. The continuous growth penetration of DC-compatible simulations of several case studies are presented in Section 4;
components in both loads and sources are inevitable. and in the last Section 5, conclusions are provided.
Nowadays, nearly 30% of all power generated will pass
through a power electronic converter before it is utilized, and it II. DC MICROGRID CONFIGURATION AND MODELLING
is predicted to increase to 80% within the next 10-15 years [2].
A. DC Microgrid Configuration
The conversion process causes the power loss in the power
system. It will be more efficient and sustainable if the number DC microgrid interconnects a localized grouping of
of conversions are reduced. electricity sources, storages and loads that predominantly
generates, distributes, stores, and uses electricity in its native
Because of those factors, it is the time to reconsider the DC. It is able to operates either in grid-tied mode or isolated
merits of DC over AC throughout the system. Nevertheless, the mode. The DC microgrids have advantages over the AC
implementation of the DC microgrid alone for wider use has microgrid [11], including: a) simple to control, b) higher
The authors are with School of Electrical and Electronic Engineering, efficiency, c) higher power quality, d) higher reliability, and e)
Nanyang Technological University, 50 Nanyang Avenue, SINGAPORE reduces the greenhouse effect.
639798.
This research is supported by Energy Research Institute @ NTU
(ERI@N), Nanyang Technological University, Singapore.

978-1-4799-4315-9/14/$31.00 2014
c IEEE 578
Rs Ipv
+
Iph D Rsh Vpv Load
Ͳ
DC Sources

Fig. 2. PV Cell Equivalent Circuit

B. Modeling of DC Microgrid Components


The detail of the model of each component in DC
microgrid for the simulation is presented in the followings:
1) Modeling of Solar PV Panel
A solar PV cell can be modelled as a current source driven
by the sunlight in paralleled with a diode. A shunt resistor and
a series resistor are connected at the output. The equivalent
circuit of a solar PV cell is presented in Fig. 2.
The model of solar PV panel is represented in the equations
DC Storages

below [12, 13]:

AC link
௤ ௏೛ೡ
‫ܫ‬௣௩ ൌ ݊௣ ‫ܫ‬௣௛ െ ݊௣ ‫ܫ‬௦௔௧ ቈ݁‫ ݌ݔ‬ቆቀ ቁቀ ൅ ‫ܫ‬௣௩ ܴ௦ ቁቇ െ ͳ቉ (2)
஺௞் ௡ೞ


‫ܫ‬௣௛ ൌ ቀ‫ܫ‬௦௦௢ ൅ ݇௜ ሺܶ െ ܶ௥ ሻ ൈ ቁ (3)
ଵ଴଴଴
DC loads

் ଷ ௤ா೒ೌ೛ ଵ ଵ
‫ܫ‬௦௔௧ ൌ ‫ܫ‬௥௥ ቀ ቁ ݁‫ ݌ݔ‬ቆቀ ቁ ൈ ቀ െ ቁቇ (4)
்ೝ ௞஺ ்ೝ ்

Fig. 1. The Schematic Layout of a DC microgrid where: Voc = Rated open circuit voltage
Iph = Photocurrent
A generic schematic layout of the DC microgrid is Isat = Module reverse saturation current
q = Electron charge (1.602 x 10-19 C)
displayed in Fig. 1 which consists of: A = Ideality factor
k = Boltzman constant (1.38 x 10-23 J/K)
a. DC sources Rs = Series resistance of a PV cell
These components include solar PV panels, wind turbine, Rsh = Parallel resistance of a PV cell
and fuel cell (FC) with their respective converter. Isso = Short-circuit current
b. DC storages ki = SC current temperature coefficient
Tr = Reference temperature (300 K)
These components include BESs and super capacitor Irr = Reverse saturation current at Tr
installed with converters. Egap = Energy of the band gap for silicon (1.12 eV)
c. Loads np = Number of cells in parallel
These components include DC-compatible loads ns = Number of cells in series
S = Solar irradiation level
T = Surface temperature of the PV
BES is the main voltage regulation component in DC
microgrid which maintain system power balance through 2) Modeling of Battery
charge and discharge [4]. Excess power in DC microgrid The battery voltage terminal Vb and state of charge (SOC)
induces bus voltage swell and, vice versa [3]. Therefore, the are two important parameters for the indication of the battery
controller maintains the power balance of DC microgrid by status which are determined by the equations below [14].
charging to BES when power is excess and discharging from
BES when power is deficit. Power balance on DC microgrid ொ
ܸ௕ ൌ ܸ௢ െ ‫ܭ‬ ൅ ‫ ܣ‬ȉ ݁‫݌ݔ‬ሺെ‫݅ ׬ ܤ‬௕ ݀‫ݐ‬ሻ െ ܴ௕ ȉ ݅௕  (5)
can be expressed with the following equation: ொି‫ ׬‬௜್ ௗ௧

‫ ׬‬௜್ ௗ௧
ܲ஻ாௌ ൌ ܲ௦ െ ܲ௅ (1) ܱܵ‫ ܥ‬ൌ ͳͲͲ ቀͳ െ ቁ (6)

where PBES, PS and PL are the power of battery energy where Rb, Vo, ib, Q, K, A and B are the internal resistance,
storages, DC sources, and loads respectively. open circuit voltage, battery current, rated capacity,
polarization voltage, exponential voltage and exponential
capacity respectively. This battery model is provided in
MATLAB/Simulink tool. The battery equivalent circuit is

2014 IEEE 9th Conference on Industrial Electronics and Applications (ICIEA) 579
shown in Fig. 3 and the parameters of the lead acid type battery
model are provided as in Table I.
TABLE I. PARAMETERS OF THE BES MODEL
Symbol Description Value Units
V Nominal Voltage 196 V
Q Rated Capacity 150 Ah
SOC Initial State-of-Charge 50 %

Fig. 4. The Simplified Model of DC microgrid

where: vc = Instantaneous capacitor voltage


iL = Instantaneous inductor current
Vb = Battery voltage
R = Resistive load
rL = Equivalent series resistor of the inductor
P = Difference power generated and consumed


by substituting ‫ ݐ‬ൌ ߬ξ‫ ܥܮ‬and ሼ݅௅ ǡ ‫ݒ‬௖ ሽ ൌ ቊට ܸ௕ ‫ݔ‬ǡ ܸ௕ ‫ݕ‬ቋ to

(8), the dynamics can be normalized to
Fig. 3. Battery Equivalent Circuit
ௗ௫
3) Modeling of Wind Turbine Generator ൌ ͳ െ ܾ‫ ݔ‬െ ‫ݕݑ‬
ௗఛ
Output power Pm from a wind turbine generator (WTG) can ௗ௬ ௗ (9)
ൌ ‫ ݔݑ‬െ ܽ‫ ݕ‬െ
be expressed as [6, 7, 15]: ௗఛ ௬

ܲ௠ ൌ ͲǤͷߩ‫ܥܣ‬௣ ሺߣǡ ߚሻܸ௪ଷ (7) where: a =


ଵ ௅
ට ; b =

ට ‫ݎ‬௅ ; d = ට
௅ ௉
ோ ஼ ௅ ஼ ௏್మ

where: ȡ = Air density


A = Rotor swept area Washout filter is equipped to the sliding mode control.
Cp(Ȝ,ȕ) = Power coefficient which is the function of tip speed Purposes of adding this washout filter are [16, 17]:
ratio Ȝ and pitch angle ȕ a. To regulate the desired output voltage of DC microgrid
Vw = Wind speed
b. To ensure robustness under variations
WTG output is connected to AC-DC-DC converter. With a c. To minimize the transient response
proper control, the maximum power from the WTG can be
harnessed to DC microgrid [15]. Modeling of other The inclusion of the filter adds an additional differential
components like super capacitor and loads are not presented equation to (8), given by
due to the simplicity of the model.
ௗ௭
ൌ ߱௡ ሺ‫ ݔ‬െ ‫ݖ‬ሻ (10)
III. IMPELEMENTATION OF SLIDING MODE CONTROL ௗఛ

Battery converter is scheduled to operate in voltage where ߱௡ = ʹߨ݂௡ and ݂௡ is the cut-off frequency.
regulation (VR) mode to maintain system power balance.
Sliding mode control method is implemented for control of The sliding surface that is used, represented as:
BES DC-DC bi-directional boost converter. The sliding mode
control used in this system is equipped with washout filter. The ݄௡ ሺ‫ݔ‬ሻ ൌ ‫ ݕ‬െ ‫ݕ‬௥ ൅ ݇௡ ሺ‫ ݔ‬െ ‫ݖ‬ሻ (11)
washout filter is responsible for controlling the power balance
[16]. where: yr = The desired normalized DC bus voltage
kn = Positive scalar control parameter to be adequately adjusted
DC microgrid model is simplified for the simulation. The z = The low frequency part of signal x
simplified model of DC microgrid is as shown in Fig. 4. The
dynamics of the simplified DC microgrid model can be The power switches have a frequency limitation to operate
represented as safely. A hysteresis band between the denormalized switching
surface h and the commutation signal u represented in (12) is
ௗ௜ಽ ଵ
ൌ ሺܸ௕ െ ‫ݎ‬௅ ݅௅ െ ‫ݒݑ‬௖ ሻ the most common solution to limit the switching frequency.
ௗ௧ ௅
ௗ௩೎ ଵ ௩೎ ௉ (8)
ൌ ቀ‫݅ݑ‬௅ െ െ ቁ ͳǡ݂݄݅ ൐ ߜ
ௗ௧ ஼ ோ ௩೎
‫ ݑ‬ൌ  ቐ Ͳǡ݂݄݅ ൏ െߜ (12)
‫ݑ‬௣௥௘ ǡ݂݅ െ ߜ ൑ ݄ ൑ ߜ

580 2014 IEEE 9th Conference on Industrial Electronics and Applications (ICIEA)
where į is a constant which defines the hysteresis band and upre TABLE II. PARAMETERS FOR THE SIMULATION CASE STUDIES
is the last value of u. Symbol Description Value Units
C Capacitance 50 —F
௏್ ሺ௩೎ ି௏್ ሻ L Inductance 2.5 mH
ߜൌ (13)
ଶ௅௙ೞ ௩೎ rL Inductor resistance 5 mŸ
fs Switching frequency 100 kHz
where fs is the switching frequency in steady state. The stability 2į Hysteresis band 0.3796 A
limitation of each parameter is stated as [16]: Vb Battery voltage 196 V
Vc(0) Initial vapacitor voltage 196 V
ఠ೙ Ȧ Cut-off frequency 283 rad/s
m > 0, ܽ ൐ ܾ ൅ and kn is in the range as stated below:
ଶ k Scalar control parameter 10 -
Q Battery capacity 150 Ah
ఠ೙ ିሺଶ௕ାఠ೙ ሻξ௠ ଵିξ௠ Ppv Solar PV power 1.2 kW
‫ ܭ‬ൌ ቊ݇௡ ൐ ݉ܽ‫ ݔ‬ቄ ǡ ቅቋ (14)
ସ௔௕௬ೝ ଶ௕௬ೝ

Since the analysis is done on the normalized system, it is


necessary to denormalize the variables of the system so that the
control can be implemented:
ఠ೙
a. ߱ ൌ
ξ௅஼

b. ݇ ൌ ݇௡ ට

In this research work, SMC is implemented in a DC Fig. 6. The Structure of SMC Based on Washout Filter
microgrid with battery voltage of 196 V and DC bus voltage of
380 V. The switching frequency of the controller is determined B. Case Studies
so that the hysteresis band can be calculated using (13). This
hysteresis band value will then be applied in the relay block of Three case studies have been conducted in this paper. At
the simulation model. the same time, results based on classical PI control are obtained
for the comparison:
Other parameters that should be considered are the cut off
frequency (fn) and the positive scalar (k). After both parameters 1) Bus Voltage Regulation
have been determined, the values of those parameters are then The DC load set in this case study is 160 Ÿ and the total
applied in the control block. This control block is then simulation time is 0.05 s. The simulation result of this case
implemented to conduct the simulation. study is presented in Figs. 7 – 8. The simulation result for this
case study by using SMC has a rise time of 1.7 ms, settling
IV. SIMULATION SETUPS AND RESULTS time of 4.4 ms and no overshoot. The simulation result of this
MATLAB/Simulink simulation is conducted to validate the case study is compared with PI control method. The simulation
sliding mode control method in the DC microgrid. result with SMC is drawn with blue solid line whereas PI
control is drawn with red dash line.
A. Test System and Parameters
The simulation result of capacitor/output voltage with SMC
The simulation is conducted in the DC microgrid model has no overshoot compared with PI control which has 2.46%
which includes a solar PV, lead acid battery energy storage, overshoot. PI control has slower settling time (6.9 ms)
and a DC resistance load. The parameters used in battery compared to SMC.
energy storage converter circuit and the solar PV panel for this
simulation are presented in the Table II. The general test
system schematic layout for case studies is presented in Fig 5
with the control block diagram shown in Fig. 6.

Fig. 5. The General Test System Schematic Layout


Fig. 7. Simulation Result of the Capacitor/Output Voltage

2014 IEEE 9th Conference on Industrial Electronics and Applications (ICIEA) 581
Fig. 8. Simulation Result of the Inductor Current Fig. 11. Power Balance in DC Microgrid

2) Solar Power Variation Event The power balance in DC microgrid is presented in Fig. 11.
The power produced by the solar PV panel is different in The power that consumed by DC load is 656.36 W. When the
time depending on the solar irradiation. Different levels of solar PV panel cannot meet the needed power for DC load,
input solar PV power are applied to simulate this variation. The BES will discharge the power to the DC microgrid so that the
purpose of this case study setup is to verify the capability of the power balance is realized. In the other side when solar PV
SMC to track changes caused by the fluctuated solar power. panel power meet the DC load power and has an excess power,
The DC load is 220 Ÿ and the total simulation time is 0.35 s. the controller will use the excess to charge the BES. By doing
The simulation result of this case study is presented in Figs. 9 – these the power balance in the DC microgrid is satisfied at all
10. time.
Along with the variations in the solar PV panel output 3) DC Load Variation Event
power the BES can track the bus voltage. The PI control also The effect of load variation is investigated in this case
produces the similar result with the SMC, the only different is study. The resistance changing caused the changing of DC load
the PI control induces more oscillation compared to the SMC power consumption. The DC load will change from the initial
during the transient when the changes happen. value of 300 Ÿ to 200 Ÿ to 150 Ÿ to 200 Ÿ and then back to
300 Ÿ sequentially in the duration of 0.1 s. The total simulation
time is 0.5 s.
The simulation result of this case study is presented in Figs.
12 – 13. A voltage dip happened when the load is increased
and a little voltage swell happened when the load is decreased.
The performance of SMC and PI control for this case study is
similar. For the voltage overshoot or voltage undershoot which
happened in the simulation, SMC has a bit better performance
rather than PI control. The SMC has performance 0.053%
better than PI control.

Fig. 9. Simulation Result of the Capacitor/Output Voltage

Fig. 12. Simulation Result of the Capacitor/Output Voltage

Fig. 10. Simulation Result of the Inductor Current

582 2014 IEEE 9th Conference on Industrial Electronics and Applications (ICIEA)
[5] W. Peng, L. Xiong, J. Chi, L. Pohchiang, and C. Fookhoong, "A hybrid
AC/DC micro-grid architecture, operation and control," in Power and
Energy Society General Meeting, 2011 IEEE, 2011, pp. 1-8.
[6] L. Xiong, W. Peng, and L. Poh Chiang, "A hybrid AC/DC micro-grid,"
in IPEC, 2010 Conference Proceedings, 2010, pp. 746-751.
[7] L. Xiong, W. Peng, and L. Poh Chiang, "A Hybrid AC/DC Microgrid
and Its Coordination Control," Smart Grid, IEEE Transactions on, vol. 2,
pp. 278-286, 2011.
[8] A. Sabanovic, L. M. Fridman, S. K. Spurgeon, and I. o. E. Engineers,
Variable Structure Systems: From Principles to Implementation:
Institution of Engineering and Technology, 2004.
[9] T. Siew-Chong, Y. M. Lai, and C. K. Tse, "General Design Issues of
Fig. 13. Simulation Result of the Inductor Current Sliding-Mode Controllers in DC-DC Converters," Industrial Electronics,
IEEE Transactions on, vol. 55, pp. 1160-1174, 2008.
PV converter operates in MPPT mode with constant power [10] V. I. Utkin, J. Guldner, and J. Shi, Sliding Mode Control in
output of 940 W throughout the case study. Electromechanical Systems: Taylor & Francis, 1999.
V. CONCLUSION [11] M. Kumar, S. N. Singh, and S. C. Srivastava, "Design and control of
smart DC microgrid for integration of renewable energy sources," in
The sliding mode control method has been implemented in
Power and Energy Society General Meeting, 2012 IEEE, 2012, pp. 1-7.
battery charging-discharging converter to maintain the stable
operation of a DC microgrid. MATLAB simulation has been [12] M. E. Ropp and S. Gonzalez, "Development of a MATLAB/Simulink
conducted to validate the performance of the sliding mode Model of a Single-Phase Grid-Connected Photovoltaic System," Energy
control. The sliding mode control can maintain voltage stability Conversion, IEEE Transactions on, vol. 24, pp. 195-202, 2009.
and power balance of a DC microgrid through controlling the [13] C. Kuei-Hsiang, L. Ching-Ju, and H. Sheng-Han, "Modeling and fault
charging and discharging of the BES in case of solar irradiation simulation of photovoltaic generation systems using circuit-based
variations and load consumption changes. The sliding mode model," in Sustainable Energy Technologies, 2008. ICSET 2008. IEEE
control gives a better response on the transient response International Conference on, 2008, pp. 290-294.
compared to the PI control. In the transient response, the SMC [14] O. Tremblay, L. A. Dessaint, and A. I. Dekkiche, "A Generic Battery
has averagely 0.387% better performance on voltage
Model for the Dynamic Simulation of Hybrid Electric Vehicles," in
overshoot/undershoot than the PI control.
Vehicle Power and Propulsion Conference, 2007. VPPC 2007. IEEE,
REFERENCES 2007, pp. 284-289.
[15] M. Seiragakis, R. T. Pinto, P. Bauer, and M. Damen, "Control of an 80-
[1] G. AlLee and W. Tschudi, "Edison Redux: 380 Vdc Brings Reliability
kW wind turbine connected to a DC microgrid," in Power Electronics
and Efficiency to Sustainable Data Centers," Power and Energy
and Applications (EPE), 2013 15th European Conference on, 2013, pp.
Magazine, IEEE, vol. 10, pp. 50-59, 2012.
1-10.
[2] C. L. Sulzberger, "Triumph of AC. 2. The battle of the currents," Power
[16] A. P. N. Tahim, D. J. Pagano, and E. Ponce, "Nonlinear control of dc-dc
and Energy Magazine, IEEE, vol. 1, pp. 70-73, 2003.
bidirectional converters in stand-alone dc Microgrids," in Decision and
[3] Z. Lirong, W. Yi, L. Heming, and S. Pin, "Hierarchical coordinated
Control (CDC), 2012 IEEE 51st Annual Conference on, 2012, pp. 3068-
control of DC microgrid with wind turbines," in IECON 2012 - 38th
3073.
Annual Conference on IEEE Industrial Electronics Society, 2012, pp.
[17] D. J. Pagano and E. Ponce, "On the robustness of the DC-DC boost
3547-3552.
converter under washout SMC," in Power Electronics Conference, 2009.
[4] J. Xiao and P. Wang, "Multiple modes control of household DC
COBEP '09. Brazilian, 2009, pp. 110-115.
microgrid with integration of various renewable energy sources," in
Industrial Electronics Society, IECON 2013 - 39th Annual Conference
of the IEEE, 2013, pp. 1773-1778.

2014 IEEE 9th Conference on Industrial Electronics and Applications (ICIEA) 583

You might also like