You are on page 1of 12

Chapter-2

Dynamic Model of Buck Converter with Conventional PID


Controller
2.1 Introduction
The DC-DC power converters are extensively utilized in SMPS and are a critical component
of DG system, particularly for sustainable energy system based distributed generators. The
objective of this chapter is to design a PV fed buck regulator with feedback control by using
classical Proportional plus integral plus derivative controller. PID controller maintains a
constant output voltage by varying the input voltage and load. SSA technique is used for
getting a linearized model of this power converter and the controller gain parameters are
determined by Ziegler-Nichol‘s tuning method. The mathematical analysis and dynamic
model of DC-DC converters can be analyzed by numerical or analytical methods. In
numerical methods, various algorithms are used to give quantitative results and in analytical
methods, analytical expressions are provided to exhibit the operation and performance of the
power converters. The most popular method is the small-signal model analysis, which include
three techniques such as circuit averaging, state-space averaging or PWM switch modelling.
In this chapter the linearized model of converter is formed by SSA technique and closed loop
control is applied to state space average model of a DC-DC Converter. The PV module
consists of number of PV arrays and each PV array consists of many solar cells. The entire
PV module depends on solar irradiance and cell temperature. Since PV module has nonlinear
characteristics, it is necessary to model and design for PV system applications. In this chapter
the PV module is designed at standard temperature and insolation i.e 25oC and 1000 Watt
(peak)/ m2 respectively. This chapter is divided into three main parts:
(a) First is the modelling part, where the dynamic model of buck converter is established
based on it‘s on and off states, and the State space averaging technique is applied.
(b) Second one deals with the modelling of solar PV module in a Simulink environment
which is fed to the converter as input.
(c) Third one is the control mechanism applicable to the buck regulator to regulate the
output voltage for different input and load conditions.
The parameters of the PID controller are obtained by the Zeigler-Nichols method. The
advantage of PID controller is it gives faster response, less overshoot and less oscillation.

26
2.2 Operation of Buck Converter
The buck regulator is a switched mode DC-DC power converter whose voltage output is less
than the input voltage, so it is otherwise known as step down converter. The converter uses
one inductor and one capacitor as energy storing elements .Though the converter contains L
& C, the system becomes non-linear. Therefore the non-linear system is characterized as
linear model within certain range and time-period by using the SSA technique which is a very
common solution. Figure: 2.1 shows the ideal Buck converter operating in continuous
conduction mode.
S L

Figure: 2.1 Circuit scheme of DC-DC Buck Converter

2.2.1 Switch on mode

During the switch S is ON, inductor accumulates the energy i.e VLi ton and the current and
voltage equations are given by equation (2.1).

diL v v
 in  o ,
dt L L
(2.1)
dvc i vo
 L 
dt C RC

2.2.2 Switch off mode

During the switch S is OFF, diode gets ON and it provides a path for current flow, the
stored energy in the inductor will dissipate through load resistance .The current and
voltage equations are given by equation (2.2)

diL  vc

dt L
(2.2)
dvc iL v
  c
dt C R  C

27
Here the iL and vC are considered to be two states of the system. The important use of the
buck converter is to regulate DC power supplies and control the speed of DC motor. The
output voltage of the converter varies linearly with the control voltage. It varies between zero
and Vin. The output voltage fluctuation can be minimized by means of a LPF or by designing
a suitable controller. For steady state analysis the output capacitor value is assumed to be
very large for getting fixed DC output voltage. The average inductor current is the same as
the output current because the average capacitor current at steady state is zero.

I L  Io (2.3)

(vin  vo )ton  vo (Ts  ton ) (2.4)

vo ton
 d (2.5)
vin Ts

―d‖ represents the duty ratio.

2.3 Control of Switch -Mode DC Power Supplies


The output of switch mode power supplies (SMPS) are to be regulated within a specified
tolerance line to get the desired response by varying output load and input voltage. The
converter output voltage (Vo) is compared with the reference output voltage (Voref) to
generate an error. The error goes to the controller to adjust the duty cycle of the power
converter. State space averaging technique is used for converting the non linearized model to
linearized one and it is linearized around a steady state DC operating point [100].

2.3.1 State Space Averaging Technique

The objective of this technique is to derive a control transfer function Vo(s)/d(s) where Vo is
the output voltage and‗d‘ is the duty ratio. In this work the converter operates in continuous
conduction mode (CCM). In CCM there are two stages of operation: ON state and OFF state.
During each stage a set of linear equations are described by means of state variables. Here iL
and vC are considered as two states of the system. To derive an average model of the power
converter over one switching cycle, the equations corresponding to ON state and OFF state
are time weighted and averaged as given in [18] and the resulting equations are obtained in
equation (2.6) and (2.7).

.
x  [ A1d  A2 (1  d )]x  [ B1d  B2 (1  d )]vin (2.6)

28
vo  [C1d  C2 (1  d )]x (2.7)

The transfer functions with respect to input voltage and with respect to duty ratio are given by
the equation (2.8) and (2.9) respectively.

vo ( s )
 C ( SI  A) 1 B  D
vin ( s) (2.8)

v0 ( s)
 C[ SI  A]1[( A1  A2 ) x  ( B1  B2 )vin ]  (C1  C2 ) x (2.9)
d ( s)

The averaged model of buck regulator is designed by taking a weighted average of the
equations (2.1) and (2.2) and is expressed as

A  A1d  A2 (1  d )
B  B1d  B2 (1  d )
C  C1d  C 2 (1  d )

The state space model of equation (2.1) and (2.2) can be written as

 diL 
 dt   0 1/ L  1
 iL   
 1 
1      L  vin (2.10)
 C 
dv vC 
 dt   C RC  0

 diL   1 
 dt   0 L   i L   0  v
 dv    1  1  vC  0 in
(2.11)
 C  
 dt   C RC 

The output equation is same in both the states and is given by equation (2.12) and (2.13).

vo  vC (2.12)

i 
vo  0 1 L  (2.13)
vC 

So the averaged matrices of the converter is obtained as below

 1 
0 d 
A L , B   , C  0 1, D  [0]
1 1  L
0
   
C RC 

29
The input voltage to the buck converter is 12 volt and it is operated with a frequency of 55
kHz and duty ratio of 0.4. The desired output voltage must be 5 volt. Switching losses can be
determined by knowing the drain current and on state drain to source resistance of the
MOSFET but this is not the objective. Switching losses is directly proportional to switching
frequency. Using the data sheet values [52] and equations (2.8) and (2.9), the transfer
functions of the buck converter for input voltage and duty cycle are as (2.14) and (2.15).

vo ( s ) 1.33 10 7
 2 (2.14)
vin ( s) s  250s  3.33 10 7
vo ( s) 4 108
 2 (2.15)
d ( s) s  250s  3.33 107

2.4 Design of the Proposed Solar PV System


The proposed PV module consists of 20 solar cells in series along with the Simulink-PS
converter and PS- Simulink converter. The open circuit voltage (voc) and the short circuit
current (Isc) of each solar cell is found to be 0.6 volt and 4.75 amperes respectively. The
module provides a photovoltaic voltage of 12 volt which is fed to the converter directly as
input at standard temperature and irradiation i.e. 1000 Watt (peak)/m2 and 25°C.The
photovoltaic voltage (Vpv) can be varied by varying the insolation level. Figure: 2.2 represent
the PV module in Simulink which yields the required Vpv of 12 volts.

Figure: 2.2 PV Modules in Simulink

The voltage output of the Buck regulator without controller is depicted in Figure: 2.3 and it is
found to be 4.8 volt, which is nearly equal to the 5 volt according to [52].

30
Figure: 2.3 Output voltage of open loop Buck Converter without controller

Figure: 2.4 Bode diagram of open loop buck converter

Figure: 2.4 show the Bode characteristic of the converter without controller. The frequency
response of the open loop system is absolutely stable with Gain Margin (GM) of Infinite
dB and a Phase Margin (PM) of 0.7454 degree with gain crossover frequency of
2.08×104rad/sec. Phase Margin, of the open loop system is very low hence less robust to
parameter variations.

31
2.5 Design of the Controller
The main aim of designing a controller is to make the system stable and to make Vo
constant in spite of the perturbations in Vin and Io. The control law regulates the output
voltage thereby reducing the transients and tracking of the set point value as in [101]. The
Vo is regulated by a feedback loop between Vo and d. Figure: 2.5 illustrates the closed loop
design of buck regulator where the voltage output of the converter is matched with the
desired voltage, and the error produced is passed through the control transfer function
block to produce the control signal using a PWM technique. The control signal is fed to the
gate of the converter switch.

Figure: 2.5 closed loop design with subsystem

2.5.1 Tuning of PID controller using Zeigler- Nichols method


The controller gains are calculated from Zeigler- Nichols method of controller tuning
based on Critical gain (Kcr) and Critical time Period (Tcr) as in [2]. The critical time period
is calculated from the step response plot where the output exhibits sustained oscillations.
Based on Kcr and Tcr values, the proportional gain (Kp), integral time (Ti) and the
derivative time (Td) are calculated and the controller is tuned according to table 2.1. The
transfer function of PID controller is obtained by equation (2.16)
Ea ( s ) 1
 K p (1   sTd ) (2.16)
E ( s) sTi

32
Table 2.1: Zeigler-Nichol‘s Table

Controller Proportional Integral time(Ti) Derivative time(Td)


gain(Kp)
P+I+D 0.6Kcr Tcr/2 Tcr/8

The transfer function of PID controller is obtained as (2.17) in the s- domain.

0.144  10 3 s 2  0.01338s  1666.67


Gc ( s) 
s (2.17)

The output voltage waveform and frequency response plot of the converter using controller is
depicted in Figure: 2.6 and 2.7 respectively. It is observed that the oscillations died out very
fast within 0.03 second.

Figure: 2.6 Output Voltage of Converter using PID controller

33
Figure: 2.7 Bode Diagram of plant with PID Controller

Bode plot is the graphical representation of any system in the frequency domain to determine
stability. Positive phase margin gives a stable system and negative phase margin gives an
unstable system. The PID controller increases the phase margin to 90.2 degrees as compared
to 0.745 degree of the open loop plant.
2.5.2 Effects of PID controller on time domain specification
The main purpose of designing a controller in converter system is to reduce the maximum
overshoot and to decrease the settling time so that desired output voltage is obtained after a
few seconds. The formula for calculating peak overshoot and settling time is given by
equation (2.18)
c(t ) max  c(t )
%M p   100
c(t )
(2.18)
4
ts 
 n
Where ξ is the damping ratio and  n is the natural frequency of oscillation. The steady state
output value of the Buck converter is 5 volt and the peak output voltage for Buck Converter
is found to be 7.4 volt. Hence the PID controller reduces the peak overshoot to 84% which is
less as compared to the converter without controller. The settling time is calculated from the
response curve within a 2% tolerance band. Steady-state error is 0.05 without controller and it
reduces to zero by using a PID controller which indicates absolute tracking of the set point
value. PID controller settles the system very fast and with a negligible margin. Table-2.2
shows the comparison of time domain specifications between a plant without controller and

34
plant with controller.

Table 2.2: Time domain parameters

Time domain specification Plant without controller Plant with controller


Rise time 0.005 seconds 0.005 seconds
Peak time 0.005 seconds 0.009 seconds
Peak overshoot 92% 84%
Settling time 0.035 seconds 0.02 seconds
steady state error 0.05 0

2.5.3 Analysis of sensitivity and complementary sensitivity function


Sensitivity and complementary sensitivity functions play a key role in designing of feedback
controller. Sensitivity analysis is the study of how far the uncertainty in the output of
a mathematical model can be approximated to different sources of uncertainty in its inputs. It
is otherwise termed as uncertainty investigations. The design parameters for the controller are
chosen in such a way that the closed loop system is not sensitive to parameter variations. The
best way to characterize sensitivity is through the nominal sensitivity peak. The sensitivity
function(S) relates to the disturbance rejecting property and complementary sensitivity
function (T) provides a measure of set-point tracking performance, and the equations are
given by (2.19) and (2.20).
1
S (2.19)
1  G  GC

G  GC
T (2.20)
1  G  GC

35
Figure: 2.8 Singular value diagram of open loop plant

Figure: 2.9 Singular value diagram of closed loop plant

The sensitivity and complementary sensitivity functions are plotted using MATLAB code
and the results are displayed in Figures: 2.8 and 2.9. Sensitivity and complementary
sensitivity for open loop system is 40.9dB which is considerably reduced to 3.06×10-13 and
6.02dB respectively. Thus the output remains constant irrespective of the perturbations in
the load resistance.Figure:2.10 and 2.11 gives the output voltage for change in load
resistance from 20Ω to 1kΩ and change in insolation level also. The PV module has been
modeled and different parameters of PV modules are simulated at standard temperature and
irradiance condition shown in figure 2.2. Figure 2.11 shows the voltage output for different
insolation level.

36
Figure: 2.10 Output voltages for load resistance variation

Figure: 2.11Output voltage for variation in insolation

From the above figures it can be observed that output voltage remains constant always either
changing the insolation level or changing the load resistance.

2.6 Conclusion

In this chapter a PV module is designed for an output voltage of 12 volt which is fed to the
Buck regulator and closed loop control by PID controller is obtained by using Zeigler Nichols
method for maintaining output voltage constant irrespective of the input and load variation.
From sensitivity analysis it is concluded that closed loop system is less sensitive to variation
in input voltage and load resistance. Again, it was concluded that output voltage always
remains constant within a very short interval of time by varying input voltage. The proper
functioning of the controller is also validated in this chapter.

37

You might also like