Modeling and Design of Virtual Inertia Based Rooftop PV
Modeling and Design of Virtual Inertia Based Rooftop PV
Rooftop PV
Deepak Pullaguram, Student Member, IEEE, Sukumar Mishra, Senior Member, IEEE, and
Nilanjan Senroy, Member, IEEE
Abstract—With ever increasing Photovoltaic (PV) penetration Furthermore, the above mentioned control scheme lack proper
in distribution level, they expected to respond for voltage and fre- synchronising capability, which causes high initial transients
quency deviations. It is also necessary to provide an uninterrupted during grid connection.
supply to the local loads during grid interruption. In this paper,
virtual inertia based single phase rooftop PV which responds to In this paper a modified virtual inertia control scheme
changes in the grid state, grid voltage and frequency is described, for single phase rooftop PV with the following features is
using instantaneous real and reactive power components. As the developed.
instantaneous real and reactive power components are used in
controller, it is embedded with power limiters to avoid over • Seamless transition from grid connected to the isolated
currents and to safe guard inverter switches. The Small signal mode.
model analysis is carried out for the system developed to observe • Supports both grid connected and isolated mode opera-
its stability under both isolated and grid connected modes. The tion.
performance of PV-battery system with proposed controller is
• Contributes as an ancillary service by supporting fre-
tested by considering various operating points and perturbations
in digital simulation environment. quency and voltage.
Index Terms—Linearised system model, power system, rooftop A linearised small signal model for the proposed system is
photovoltaic, virtual inertia
developed. Eigen analysis is carried out for both grid connected
and isolated modes, and important conclusions are drawn
I. I NTRODUCTION
regarding the stability of the system.
In many countries worldwide, most customers and utilities The rest of the paper is organized as follows, Section II
use battery based inverters to improve the reliability of their provides the modelling and control of rooftop PV system.
local power requirements. Considerable incentives provided by Section III describes the controller transition between islanded
renewable energy promotion policies in the form of feed-in and grid-connected modes along with its reference set points.
tariff, net metering, etc. [1], have encouraged many customers The small signal analysis of the system is carried out in Section
to install rooftop solar PV panels. These PV’s along with IV. Section V. Section VI concludes the paper.
batteries are operated to meet the relatively small local demand
and sell the excess power to the grid. Even though single II. ROOFTOP PV SCHEMATIC
phase renewable generation looks promising because of better The complete schematic of the rooftop PV is shown in
reliability and economic benefits for local customers, there Figure 1. The PV panel, which is augmented with a DC-
are issues from the network perspective mainly in protection, DC boost converter, is operated at maximum power point
stability and power quality. The impact of these issues will be (MPP) using the incremental conductance algorithm. The MPP
low if the renewable energy penetration is less. But with the tracking algorithm feeds the duty reference corresponding to
increase in PV penetration, the equivalent inertia of the system, the maximum power point voltage Vpv to the PWM genera-
especially in microgrids and islanded networks could be re- tor through which the boost converter is fired. An H-bridge
duced, which deteriorates its dynamic performance. The quality inverter, controlled by a modified virtual inertia controller, is
of power may also degrade due to the stochastic nature of sin- connected to the point of common coupling (PCC) through an
gle phase power injections. In order to have acceptable quality LCL filter circuit. The low pass LCL filter is designed such that
of power supply, it is expected that the network connected PV it limits the injection of excessive current harmonics, which are
systems respond to frequency and voltage deviations. In this generated due to the SPWM, into the network.
context, various droop based control architectures responding
to the frequency and voltage deviations have been reported
[2], [3]. But these control methodologies may not always Ib PWM
Bi-
Directional
Vdc ref
Vdc DPf
controller Ib f cal Synchronization
provide adequate inertial response. Further they are designed Vb
grid mode
& isolation detection
+
PCC
CB
Under frequency locked condition (typically during grid-
d 2 Df s
1
X
k ss
s
d Df s
+ == 0 connected mode), ω = ω0 . Substituting this in (10),(11) and
dt dt 2
Isolated mode PCC CB control applying Park’s transformation [8], we get
Synchronization
X kif
!p
s Vid (t) = Vi cos(ω0 t − ωt) − Vi sin 1 − (k/2)2 ω0 t sin ωt
+ f ref
- Df
1/ R X s (−kω0 t)/2
+
fcal
- +
+ !p
2
e
f nom
− cos 1 − (k/2) ω0 t − ψ1 cos(ωt) p
DPf
1
Droop mode
1 − (k/2)2
2p
+ Current
+ 1 1
CB status (12)
Pref based
÷ mod sin
wt
+ power
-
Js+B s !p
limiter 0
¸
2
vi
Viq (t) = Vi sin(ω0 t − ωt) − Vi sin 1 − (k/2)2 ω0 t cos ωt
Pe
X PWM
0 (−kω0 t)/2
Pvirtual CB status
Active Power loop !p e
Qe
− cos 1 − (k/2)2 ω0 t − ψ2 sin(ωt) p
-
Virtual inertia
control
1 − (k/2)2
Current based Vi
Vref
+
k pv power limiter +
PI (13)
-
Vm Reactive Power loop When grid considered as the reference, ω0 t − ωt = θ. Thus for
a small disturbance, cos θ ≈ 1 and sin θ ≈ θ. Moreover, the
Fig. 2: Modified virtual inertia Control schematic exponential term in the above expression decays to zero with
kω0 /2 time constant. Hence Vid and Viq may be approximated low inertia constant in order to improve its response time.
(in frequency domain) as [9] The ROCOF would be of high magnitude and may cross the
threshold for any network disturbance other than grid failure,
Vid = Vi ; Viq = V θ̂; (14)
thus leading to mal-operation. The ROCOF sign may be used
kω0 /2 instead of a threshold value to avoid such a scenario. Whenever
θ̂ = θ
s + kω0 /2 grid fails the electrical load Po on the inverter will be either
increased or decreased, with Pref being constant. Accordingly
The equation for θ̂ may be written in differential form as
the controller will sense either a monotonic rise or fall of the
dθ̂ frequency. The sign of the ROCOF may be monitored for 20
= (θ − θ̂)kω0 /2; (15)
dt to 50 electrical cycles before triggering the controller. During
C. AC Filter circuit this time if the ROCOF sign is either +ve or −ve for all the
cycles then it is treated as LoM and the CB tripped.
The inverter filter circuit is considered in dq domain assum-
ing that the inverter produces the commanded voltage vi [10].
ROCOF ≤ 0 or ROCOF ≥ 0 (22)
Equations corresponding to the LCL-filter circuit is given as
dIidq Rf 1 1 The IEEE 1547 standards [11] for the LOM detection with
=− Iidq ± ωIiqd + Vidq − Vodq (16) in 2s is fulfilled by the proposed technique. Further, over-
dt Lf Lf Lf
dVodq Gf 1 1 voltage and under-voltage relays may be used as backup, in
=− Vod ± ωVoqd + Iidq − Iodq (17) case the system has large number of impedance loads where
dt Cf Cf Cf
the voltages are effected and the CB tripped based on the
dIodq Rc 1 1
= − Iodq ± ωIoqd + Vodq − Vgdq (18) relay operation. Once the LoM is detected, the PCC CB is
dt Lc Lc Lc opened using the logic given in ’PCC CB control’ block in
III. S EAMLESS TRANSITION OF CONTROLLER Figure 2. Subsequently, the controller will operate in isolated
A. Synchronization mode supplying its local load and the frequency of the system
is maintained by the integral controller with gain kif in the
As described earlier in Section I, smooth operation en-
frequency loop which gets activated when e−Vpcc > 0, as
tails minimum transients during the transition between grid
shown in isolated mode block in Figure 2. With the addition
connected and islanded modes. In order to achieve this, a
of secondary frequency control, the active power dynamic
virtual ’power’ signal is used as a feedback to the controller
expression of (1) is modified as
and made it zero by setting Pref = 0. The virtual signal
is calculated from (3) using the virtual current obtained by
following expression. dω Pref Po 1 kif
J = − − D∆ω+ (ω0 − ω) + θ (23)
dt ω0 ω0 2πRω0 2πω0
vi − vpcc
ivirtual = (19) where kif is the secondary frequency control gain used to
Zvirtual
where Zvirtual is a mathematical model of the line impedance maintain the local frequency isochronously. Further, when the
and vpcc is instantaneous voltage at the PCC. grid is not available, the equation (18) is modified as
limit 2 ∗ 0.98 ∗ KV Arating λ7,8 −214.0± vod (25.65%), voq (23.95%), λ5,6 −6.6e3± iid (16.35%), iiq (16.42%),
iP = 1.5e4i iid (12.18%), iiq (11.68%), 495.0i iod (27.27%), ioq (27.12%),
Vm iod (13.37%), ioq (13.17%) vod (06.42%), voq (06.93%)
√ (26) λ9,10 −790.0± vod (24.38%), voq (25.97%), λ7,8 −2.9e3± vod (25.47%), voq (24.11%),
limit 2 ∗ 0.20 ∗ KV Arating 1.5e4i iid (11.99%), iiq (12.49%), 1.3e4i iid (14.47%), iiq (13.54%),
iQ = iod (12.49%), ioq (12.69%) iod (11.17%), ioq (11.25%)
Vm λ9,10 −3.4e3± vod (24.51%), voq (25.87%),
1.4e4i iid (13.36%), iiq (14.13%),
The reference set-point to the controller, which restricts the iod (10.98%), ioq (11.15%)
V. S IMULATION R ESULTS
( limit
limit Pref ∗ eκ(|iS |−|iS |) if |iS | ≥ |irating
S |. AND
Pref =
1 if |iS | < |irating
S |. The performance of the proposed controller, was tested by
( limit
(28) simulating the test system shown in Figure 1 using Simulink/-
limit Qref ∗ eκ(|iS |−|iS |) if |iS | ≥ |irating
S |. MATLAB. A rooftop PV with MPPT tracking was simulated
Qref =
1 if |iS | < |irating
S |. in conjunction with a 160V , 10Ah Ni-Cd battery which was
connected to a single phase 230V /50Hz grid with a short
IV. S MALL SIGNAL A NALYSIS
circuit capacity of 1.48M V A. The PV source had a rating
The complete state space model of the system is obtained by of 3.1kW at a maximum operating DC voltage of 400V and
combining the dynamic equations of the controller, SOGI-dq current of 7.75A. The switches of the dc/dc boost converter
transformation, and inverter filter. The system dynamic model were chosen according to this current carrying capacity. The
consists of ten differential equations given by (1),(2),(5), (15), switching frequency of the inverter was selected as 5 kHz.
(16)-(18) and a single algebraic equation given by (4). This
A. Non-Ancillary mode
can be expressed in the form of
This subsection presents simulation results of the PV system
dx
= f(x, z, u); 0 = g(x, z, u) (29) during transition between grid-connected and islanded modes.
dt Duration Event
where t = 1.0s Grid is ON (synchronization begins)
x = [ω, θ, φ, θ̂, Iidq , Vodq , Iodq ] is state variable vector. t = 3.8s Grid connected
z = [Vi ] is algebraic variable vector t = 8.0s Pref change from 0W to 2000W
u = [Pref , Vref ] is input vector. t = 13.0s Grid is tripped
The state space model has to be initialised by solving DAE During this operation the grid voltage and frequency are
model with all derivatives set to zero [15]. The linearised state maintained at the nominal values. The simulation commences
matrix is obtained by neglecting the higher order terms of in the isolated mode operation with inverter supplying a local
Taylor series expansion for Eq.(29), around an initial operating load of 1000 W . At time t = 1s the grid is turned ON and
point (x0 , u0 ). synchronization begins at this instant as shown in Figure 3.
" −1 #
∂f ∂f ∂g ∂g The oscillations observed at t = 1s in the Figure 3a are the
A= − (30) pre-synchronizing oscillations caused by controller, which does
∂x ∂z ∂z ∂x
x0 ,u0 not impact the PV inverter power output supplied to the local
52 50.05 P inv Duration Event
4000
49.95
P ref t = 0.0s Grid is ON (synchronization begins)
Frequency (Hz)
Reactive Power (VAr)
Qref
600 3000
225
Voltage (V)
50
400 2000
220
200 48
f cal 1000
215 f PCC
Vo 0 0
46
V PCC 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 16 18
210 -200 Time (s) Time (s)
0 2 4 6 8 10 12 14 16 18 0 2 4 6 8 10 12 14 16 18
Time (s) Time (s) (a) Frequency (b) Active power output
(c) Output voltage (d) Reactive power output
250 600
Fig. 3: Non- Ancillary operation Qe