v4 342 349 PDF
v4 342 349 PDF
v4 342 349 PDF
ISSN: 2040-7467
© Maxwell Scientific Organization, 2012
Submitted: August 26, 2011 Accepted: October 07, 2011 Published: February 15, 2012
Abstract: This study deals with the design and analysis of a dc-dc converter operating in continuous conduction
mode with Proportional-Integral-Derivative control and PID based Sliding Mode Control (SMC). A small signal
model is developed using Switching Flow Graph (SFG) from which the control coefficients for the PID
controller is selected. PID based SMC uses a control law which constrains the weighted sum of the voltage
error, its derivatives and the integral of the voltage error to zero. The equivalent control technique is used in
its design which makes the converter more suitable for fixed frequency operation. Sensitivity of these
controllers to supply voltage disturbances and load disturbances is studied and results are presented.
Key words: dc-dc converter, PID based SMC, PID control, switching flow graph
Corresponding Author: D.M. Mary, Synthia Regis Prabha, Associate Professor, Noor ul Islam University, Kumaracoil
342
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
controllers is the traditional state space averaging method. A small signal model takes a circuit and based on an
The major drawback of this method is that the linearized operating point (bias) and linearizes all the components.
models obtained through averaging process, do not Nothing changes because the assumption is that the signal
predict the large-signal stability information, and are only is so small that the operating point (gain, capacitance etc.)
sufficient to predict small-signal stability. doesn't change. A large signal model on the other hand
343
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
takes into account the fact that the large signal actually Table 1: Prototype Buck Converter circuit parameters
affects the operating point and takes into account that Parameter Value Units
Input voltage, Vi 24 V
elements are non-linear and that circuits can be limited by Desired output voltage, Vod 12 V
power supply values. A small signal model ignores supply Load resistance, Ro 6 S
values. Filter inductance, L 35 :H
Filter capacitance, C 150 :F
Graphical Analysis Method (GAM): This is a ESR of inductor, RL 0.12 S
ESR of capacitor, RC 0.03 S
non-linear modeling method. This is developed for
pulse-width modulated converters. The GAM converts the
switching converter, even the multistate converter the filter capacitance C (Perry et al., 2007). The cut-off
frequency of the second order low pass filter is TC
=1/%LC Variations of D, varies the magnitude of the
systems, into a unified dynamic model. From unified
model, it is possible to derive large, small signal and
steady state models with mathematical manipulations. transfer function. Moreover, it does not change the shape
Each system can be represented by a flow graph. The of the frequency response, but shifts the magnitude plot
switching flow graph is obtained by combining the flow upward or downward.
graphs of the subsystems through the use of switching Table 1 gives the circuit parameters of the prototype
branches (Mummadi, 2004). The switching flow graph Buck Converter selected for experimentation. The
model is easy to derive, and it provides a visual nominal operating point of the prototype Buck converter
representation of a switching converter system. is chosen as follows: Input Voltage, Vi = 24 V, Desired
Buck converter shown in Fig. 1 has two modes of Output Voltage, Vod = 12 V, Duty ratio D = 0.5.
operation: (i) Switch is on (ii) Switch is off. The circuit Small signal control to output transfer function at this
diagram of the Buck converter is shown below. nominal operating point is given as:
The switching flow graph is drawn for the on-state
sub-circuit and the off-state sub-circuit which is shown in
Fig. 2 and 3, respectively. These two sub-circuits are V$0 ( s) ⎡ 24 + 10.8e − 4 s ⎤
$ =⎢ −4 −9 2 ⎥ (3)
combined together which gives the switching flow graph d ( s) ⎢⎣ 1 + 5817
. e s + 4.243 e s ⎥⎦
of the Buck converter which is shown in Fig. 4.
Derivation of small-signal model using switching flow Small Signal Input to Output transfer function at this
graph: Small signal control to output transfer function is nominal operating point is given as:
derived as:
V$0 ( s) ⎡ 1 + 45.39 e − 4 s ⎤
V$0 ( s) V0 $ = ⎢ 2⎥ (4)
= Vin ( s) ⎢⎣ 235.65e + 137 e s + s ⎥⎦
6 3
d$( s) D
⎡ ⎤
⎢ ⎥ (1)
⎢ 1 + sRC C ⎥
⎢
Design of PID controller for a buck converter: The
⎛ RL RO L ⎞ ⎛ RO + RC ⎞ ⎥
⎢ 1 + s⎜ RC C + C+ ⎟ + s LC⎜
2
⎟⎥ open loop transfer function G(S) H(s) of the Buck
⎢⎣ ⎝ RL + RO RL + RO ⎠ ⎝ RO + RL ⎠ ⎥⎦
converter is given by Eq. (3). A PID compensator is
designed with a phase margin of 45º at a cross-over
Small Signal Input to Output transfer function is derived frequency of 125.66 kHz. The steady state error for unit
as: ramp input is considered to be 0.035%. The PID
controller has a transfer function of GC(S) = KP+ Kis
V$0 ( s) DR0 +Kds. Ki is decided by steady state requirements. Once we
=
V$in ( s) ( R0 + RL ) know KI , we can find out KP and Kd, Eq. (5) and (6).
⎡ ⎤
⎢ ⎥ (2)
⎢ 1 + sRC C ⎥ sin θ
⎢ Kp = (5)
⎛ RL R0 L ⎞ ⎛ R0 + RC ⎞ ⎥ | G( jω ) H ( jω )|
⎢ 1 + s⎜ RC C + C+ ⎟ + S LC⎜
2
⎟⎥
⎢⎣ ⎝ RL + R0 RL + R0 ⎠ ⎝ R0 + RL ⎠ ⎥⎦
Ki − ω cosθ
In this transfer function, VO is the output voltage, D Kd = (6)
ω 2 |G ( jω ) H ( jω )|
is the duty cycle, C is the output capacitance, L is the
inductance and R is the load resistance. RL and RC are the
Equivalent Series Resistance (ESR) of L and C, where, tan 2 = Kp T/Ki T2 Kd. The KP, Ki and Kd values
respectively. This transfer function is a second order low are found to be 5.80125, 119.048 and 0.0869×10G4,
pass filter, with a left-half-plane introduced by the ESR of respectively.
344
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
Design of a sliding mode controller: has a form similar to a PID (Proportional, Integral
C Step 1: Determination of the state variables: The and Derivative) controller. Third, it contained a form
output voltage error decay is essentially the main of state-feedback which provides a more flexible way
control objective in real time. The selected state to close the feedback loop to obtain any type of
variables are output voltage error, output voltage responses at will.
error dynamics and the integral of the error of the C Step 4: Ensure existence of sliding mode operation:
output capacitor (Utkin et al., 1999): The local reachability condition lims÷0 + s.Ñ < 0,
must be satisfied. This is expressed as:
⎡V − βV ⎤
⎢ ref O ⎥
⎢d ⎥ S& = K T Ax + K T BU <0
s→ 0 + s→ 0 +
X = ⎢ (Vref − βVO ) ⎥
⎢ dt ⎥ S& = K T Ax + K T BU <0
⎢ ⎥ s→ 0 − s→ 0 −
⎢⎣ ∫
( Vref − βVO ) dt ⎥⎦
C Step 5: Derivation of existence condition:
C Step 2: Develop the state variables: B For S ÷ 0+ and Ð < 0 and âs ÷ 0+ = 0, we get:
⎡ x&1 ⎤ ⎡ 0
⎢ ⎥ ⎢
1
− ( L + CR0 RL )
0⎤
⎥
⎡ x1 ⎤
⎢ ⎥ [V ref ]
− β VO LC −
α1
α2
β Lic
⎢ x&2 ⎥ = ⎢ 0 0⎥ ⎢ x2 ⎥ (9)
⎢⎣ x&3 ⎥⎦ ⎢ ⎥
LCRO
⎢⎣ x3 ⎥⎦ ( L + CRO RL ) βV0 ( R0 − RL )
⎢⎣ 1 0 0⎥⎦ + β ic + >0
CR0 R0
⎡ 0 ⎤ ⎡ 0 ⎤
⎢ − βV ⎥ ⎢ ⎥
β V ( R − RL ) ⎥
+⎢ i⎥
u+ ⎢ 0 O B For S ÷ 0G0 and Ð > 0 and âs ÷ 0G = 1, we get:
⎢ LC ⎥ ⎢ LCR0 ⎥
⎢ 0 ⎥ ⎢ ⎥
α α
⎣ ⎦ ⎢⎣ 0 ⎥⎦
[ ]
β Vi > 3 Vref − βVo LC − 1 β LiC
α2 α2
(10)
C Step 3: Define the switching status and sliding ( L + CRO RL ) β V ( R − RL )
+ β ic + 0 0
equation: CR0 R0
α3 α
0< [V − βVO ]LC − 1 βLiC
where ‘S’ is the instantaneous state variables α 2 ref α2
trajectory. (11)
( L + CRO RL ) βV ( R − RL )
+ βiC + 0 0 < βVi
CR0 R0
d (Vref − β VO )
S = Kd + K p (Vref − β VO )
dt The condition given in Eq. (10) provides a range of
T (7) employable sliding surface coefficients such that
∫
+ Ki (Vref − Vo )dt irrespective of the circuit parameters, the system
O trajectories near the surface are directed towards the
sliding surface itself.
S = a1x1 + a2 x2 + a3 x3 = K T x (8) Considering the design parameters, the existence
condition is modified. From the left inequality of the
where "1, "2 and "3 are sliding coefficients with KT = existence condition, we get:
["1 "2 "3].
α3 ( R − RL )
This Eq. (7) has three significant implications. First, LC (V − βVo ) + βVo O
α1 α 2 ref RO
this control law states that not only the weighted sum <
of voltage error and its derivative needs to be α2 βLic (12)
constrained to be zero but also the integral of the ⎡ 1 R ⎤
+⎢ + L⎥
voltage error must be included. Secondly, the Eq. (7) ⎣ O
CR L ⎦
345
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
a3 ( R − RL ) 0.98
βVi − LC (V − βVo ) − βVo o
a1 a2 ref Ro
< 0.96
a2 βLiC (13) 0.94
⎡ 1 RL ⎤
+⎢ + ⎥ 0.92
⎣ CRO L ⎦
0.90
0.88
Dividing Eq. (11) and (12): 0 5 10 15 20 25 30 35
Load Ro (Ω)
⎧⎪ ⎡ RL ⎤
Vi(min) ≥ 2⎨Vo ⎢1 − ⎥+ â eq is continuous and hence 0< â eq < 1.
⎩⎪ ⎢⎣
Ro(max) ⎥⎦ Comparing Eq. (9) and (10) and mapping the
(15) equivalent control function onto the duty cycle function,
α3 ⎡ Vref ⎤ Li c ⎫⎪
we get:
⎢ − Vo ⎥ LC − − iC RL ⎬
α2 ⎣ β ⎦ CRo(max) ⎪⎭
Vcon = − λ1ic + λ2 (Vref − βVo ) + λ3βVo (18)
also
α ( R − RL )
βVi − LC 3 (Vref − β Vo ) − βVo o
α1 α2 Ro Vramp = β Vi (19)
<
α2 βLic
⎡ 1 RL ⎤ where
+⎢ +
⎣ CRO L ⎥⎦ ⎛ α1 1 R ⎞ α
λ1 = βL⎜ − − L ⎟ , λ2 = 3 LC
⎝ α2 RoC L⎠ α2
for
⎛ RL ⎞
⎧ ⎡
⎪Vo ⎢1 −
RL ⎤ α3
⎥+
⎫
⎪
and λ3 = ⎜ 1 − ⎟
⎪⎪ ⎢⎣ Ro(max) ⎥⎦ α 2 ⎪⎪ ⎝ R0 ⎠
Vi(min) ≥ 2 ⎨ ⎬ (16)
⎪⎡ Vref ⎤ LiC ⎪
⎪⎢ − Vo ⎥ LC − − ic RL ⎪ Variation of 81 and 83 with variations in the load is shown
⎪⎩⎣ β ⎦ CRo(max) ⎪⎭ in Fig. 6 and 5 respectively. These figures show that the
variation of 81 and 83 for 96.77% of load is only -11.15
C Step 6: Derivation of control equations using and 11.65%, respectively. 82 remains constant irrespective
equivalent control method: In the invariance of the variations in the load. Thus, the control signal does
condition, Ö = 0, substituting â- â eq, we get: not undergo noticeable changes for variations in the load.
346
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
26
33V 18V
20 30V 13V 24
24V
15 22
25 20
10 18
5 16
5.5 6.0 6.5 7.0
0 X10-4sec
0 0.2 0.4 0.6 0.8
347
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
33V 15V
30V 13V 12.05
20 24V
12.04
15 12.03
12.02
25
12.01
10
12.00
5 11.99
11.98
0
0 2.5 3 3.5
1 2 3 X10-4 sec
X10-4sec
Fig. 11: Output response of a PID based SMC controlled buck Fig. 14: Dynamic response of the PID based SMC controlled
converter for various inputs buck converter to load step change from 6 to 25S
Inductor current PID controller
2.5 Capacitor current 20 SM controller
2.0 15
1.5
25
1.0
10
0.5
5
0.0
0
-0.5 0 0.2 0.4 0.6 0.8
2.4 2.6 2.8 3.0
X10-4sec X10-4sec
Fig. 12: Inductor and capacitor current waveforms Fig. 15: Output response of PID based SMC versus PID
controllers
26
12.05 SMC
24 PID
22
12.00
O utput voltage (VO)
11.95
20
18
11.90
16
11.85
3.2 3.4 3.6 3.8 4.0 4.2 4.4
X10-4sec
11.80
(a) 11.75
12 14 16 18 20 22 24 26 28 30
Input voltage (Vt)
11.992
Fig. 16: Variation of output with variation of input
11.900
11.988 Table 2: Comparison between PID and PID based SMC Buck Converter
11.966 Parameters PID control PID based SMC
Settling time 4.7×10G4s 1.84×10G4s
11.964 Maximum peak overshoot 6.22 V 5.253 V
11.962 Steady state error 0.16 V 0.009 V
3.2 3.4 3.6 3.8 4.0 4.2 4.4 When there is a load step change from 6 to 25S, the
X10-1sec
system takes 0.035 ms to settle with negligible steady
(b) state error (Fig. 14).
Figure 15 shows the output response of a PID based
Fig. 13: Dynamic response of the PID controlled buck SMC versus PID controller. It can be inferred from the
converter to step input change from 24 to 18 V at 0.4 figure that the SMC response has much less settling time
ms (a) Input voltage (b) Output response than that of the PID controlled Buck converter response.
348
Res. J. Appl. Sci. Eng. Technol., 4(4): 342-349, 2012
349