Professional Documents
Culture Documents
Abstract- There are numerous simulation tools for studying combination of advantages of both MATLAB/SIMULINK
electrical and electronic circuit system dynamics. Most of the and PSPICE for learning the behavior of the dc-dc converter.
times, we stick to a specific software package for studying the Two step design process is adopted. PSPICE is used to design
behavior of a circuit- it depends either on acquaintance with the
the compensator for the required phase margin and bandwidth
software or on accessibility. However, it is good to carefully
and MATLAB/SIMULINK is used for testing the closed loop
evaluate the advantages and shortcomings of each package prior
to selecting one for a given set of objectives. In this paper, it has
dc-dc converter circuit for the desired transient and steady
been demonstrated how one can combine both the popular state response. MATLAB/SIMULINK can be used for
simulation tools MATLAB/SIMULINK and PSPICE to study the designing linear controllers using SISOTOOL. It requires the
dynamics of the dc-dc converters. The introduced co-simulation transfer function of the plant. The transfer function of the plant
method has advantages like elimination of the laborious process can be obtained by measurement or analysis, like state-space
of development of transfer function of the power stage for averaging technique [8], which is a time consuming practice.
designing the controller, get rid of convergence problem and Type 2 error amplifier is considered as a compensator, which
truncation of simulation time. The method proposed can be
is having two poles and one zero. Because this amplifier has
adapted by beginners who are very new to the designing of
two poles, for reference this is called as Type 2 error
switching regulators for the quick understanding of dynamics of
the converter. Down converter with voltage mode control is used
amplifier. Type 2 error amplifier is referred as "proportional
to verify the proposed method. This can also be extended to plus integral controller (PI)".
higher order converters, like Cuk and SEPIC, where deriving the
OrCAD PSPICE has been employed for obtaining
transfer function of a plant is quite tedious process, apart from
frequency response, which is required for designing linear
above mentioned second order converter. Also, simulation with
idealized models and detailed models has been discussed in the
compensator, of the power stage by drawing the schematic of
paper. the plant on the schematic page editor of the capture without
O
ne must be very grateful to tremendous advancement
convergence problem by using standard design guidelines in
in the computer technology. Had there not been
simulation settings. Most of the students who are new to the
improvement in the computer aided design, it would
PSPICE will not be aware of this stuff. So, an effort has been
have been very difficult to analyze the electrical and electronic
made for combing advantages of both software tools to arrive
systems with pencil and paper. Some of the previously
at a solution for the beginners who try to design the
reported work [1]-[5], specifically focusing on power
compensator for a converter.
electronic course, highlight the importance of simulation tools
in electrical engineering. For higher order converters, it takes considerable amount of
calculation to arrive at the transfer function, which is essential
Designing feedback control for switching power supplies
for applying frequency response analysis. So, the investigated
has always been a challenging task. In [6], feedback controller
study could be a great help for the analysis of these types of
design for switching regulators has been elaborated using
converters. Down converter is considered for demonstrating
specific software package which will guide the students for
the proposed method of simulation.
learning linear as well as non-linear controllers.
Co-simulation method [7] has been considered for studying II. SMALL SIGNAL MODEL
the dynamics of the dc-dc converters. In this paper, it's been a
Authorized licensed use limited to: UNIVERSITY COLLEGE CORK. Downloaded on June 25,2023 at 15:14:32 UTC from IEEE Xplore. Restrictions apply.
The advantage of frequency domain over time domain is From the frequency response, as shown in the fig. 3, it is
that we can modify open loop transfer function of a system for apparent that type 2 error amplifier, shown in the fig. 2, is
C2
specified closed loop performance without necessity of the enough to get the desired phase boost.
R2
information about closed loop transfer function. The dc-dc
converters are highly non-linear in nature. For applying 1
frequency response analysis, it requires linearization of the
oW.-+---·Vc
power stage i.e small signal model of the plant. The linear
model of the power stage can be developed either by state
space averaging technique or using an average model of the
switch [9]. In this paper, frequency response of the power
stage is obtained by using the schematic of the plant in
OrCAD PSPICE [10]-[12] without the requirement of transfer
function, which can be obtained by above mentioned Fig. 2. Schematic diagram of type II amplifier.
linearization techniques. The frequency response can also be
obtained by measurement. However, both are extra burden as The simulation result of the PSPICE is combined with the
far as quick learning of compensator design is concerned. K-factor approach standard design guidelines to arrive at the
transfer function of the compensator. This transfer function
will be used in SIMULINK for the simulation of the closed
III. COMPENSATOR DESIGN USING PSPICE
loop plant. The transfer function of the type 2 error amplifier
To design the compensator, PSPICE is considered as a is given by equation (1).
viable simulation tool in this paper. The first step in stabilizing
a feedback loop is to determine the transfer function of the
plant. We can develop small signal model of the plant as a
transfer function using state space analysis. Once we have
linearized model of the power stage, there are well known
G(S) = (1)
methods from control theory for designing the controller to
ensure stability and dynamic response.
Authorized licensed use limited to: UNIVERSITY COLLEGE CORK. Downloaded on June 25,2023 at 15:14:32 UTC from IEEE Xplore. Restrictions apply.
� O '--------'---------r--------r---------r-------,r------- -,--------,--------,
M : :
,
----------- -:-- - - - - - - - --- - -- -- -- - - - - - - - - - --- -- -- -- - - - - - - - - - --- -t -- -- -- - - - - - - - - - - -- -- -- -- -t- -------------
--
a
f--
g
n
i
___ -____ _-
___ J:
____-
______-__- �---- --� ==lI-=-=".- +------
_ __---_-
_ _ _-_- _
---
__-
__
------------r --(lZUen: 5-�'Z:'2"�'8"�')
- - ------------- +-
------------ ---- -----
t O ·
u
_________ ________________ ____________ _____________ ___________ .i ___________ ��_ _l _____________
rl
-----------,------------- ------------ ------------- ------------t-------------
:
------------r-------��
r___ __
- 40 � ------
@]DB(V(R3:2) )
� -L � ------ ------ ------ � ------ �
-----------�- - ----------- ------------ ------------- ------------t -- ----------- ------------� - ------------
-------- � ------ � ------ �
Od,------,---- --��====��� --�----�------�------�----_.
.... -
. . :�p(...I=��,-o�, . i;�;�j; -. .:. . .
?
___________J _____________ ____________
- -- -- - -- .,---- -- -- -- ---�- -- - -- -- -
h
a ----------- ------ ------ ------- ---- -
5
100Hz 1. OKBz
[�:! P (V (R3: 2»)
10Hz 1 0KH z 100KHz
F-requency
r-----i
C2
124nf
11L 1
R2 C1
1=1
R4 R1
[N\+OUT+
00.1 100utI-J 1Nl- OlJT- 11'<
IN--<-, %l1N-)f,(3)
EVAUJE
V
10Vac
100u
5
0_5
�o
Fig. 4. Pspice schematic to test open loop frequency response with compensation.
100
M
t==+---=�----f------------ ; ;
I I I I
f--------4---=-=--=--�- -�=�--
f F\ 1 j
� 1 0:\ , ;, ,
! �� � �� o�:::�� :;
h ------------ -------------- -------------lo--------------
OJ
lOB;:: 100Ez 1.0ITJ1z 10P"Jiz 100KHz
.;. ?lV(EZ;J»
'E L t:: U UtlH,; V
Authorized licensed use limited to: UNIVERSITY COLLEGE CORK. Downloaded on June 25,2023 at 15:14:32 UTC from IEEE Xplore. Restrictions apply.
So, MATLAB is adapted for simulation of closed loop plant.
IV. CLOSED LOOP PLANT SIMULATION USING Moreover, it takes lesser time than the PSPICE to execute the
MATLAB project. The designed transfer function in PSPICE , given by
PSPICE employs nodal analysis method for circuit equation (7), is realized with the help of the LTI system block
simulation. A sudden discontinuity in PSPICE can result in the which has been furnished in control system toolbox. The
program proceeding with extremely small steps and result in a PWM generation is simulated with the help of relational
problem of convergence. Eventually, simulation would stop operator tool box, as shown in fig. 6. The simulink block
with an error message. There are few definite rules to avoid diagram of the plant and the output voltage are shown in fig. 7
the solution from failing to converge. However, the proper and 8 respectively. This simulation take considerably takes
simulation settings to avoid convergence during simulation less time than other two simulation methods, which are
require experience, which the most students don't possess, in discussed in next section. This is an added advantage apart
using PSPICE. from having elimination of convergence problem.
ICom��51
powe:rgui
9-r:.: Itl C un -en t
Mea """-
f;::em:;:e=n=t ::::;:=�
"�B
m
____
_
�� M�mM' �
Seoj)+J
Diode
-=L .)J T � R Voltage
I
.
r-. [
L-------1 eM
-.L
Oofll)A'nl,u:r
Ll 1'D1
�
.,
Lbreak
0.1
�OFFPAGELEFT-1
.
l00uH
Vin
'- Cbreak
10V 100u R2
D2
5
Ubreak Cl
� OrrPAGC CrT-2
R23
0.5
Authorized licensed use limited to: UNIVERSITY COLLEGE CORK. Downloaded on June 25,2023 at 15:14:32 UTC from IEEE Xplore. Restrictions apply.
Freq= lOOk
VI. SIMULATION WITH DETAILED MODEL IN
El
< OFF P AG E LEFT-4
Vp=3,
p,�
PSPICE
Although most of the times we simulate the electrical and
electronic circuits using idealized circuit models, simulation
:< OFFPAGELEFT-3
using hardware chip model has certain advantages, it includes
the assistance in hardware implementation of the converter.
TL494 PWM [14] chip is considered for simulation. The output
Vl=O
voltage is shown in the fig. 11.
V2= {Vp)
TD = O
Since the PWM chip model takes into consideration various
TR.= {(lJF ... q)-2n}
<
TF=ln
O FFPAGELE FT 2
parameters, it requires considerable CPU time for calculation.
�T=ln
Although it takes considerably more time than the simulation
PElt = {lJ(Freq))
with idealized circuit models, this simulation with actual chip
model assist in hardware implementation. As mentioned
earlier, here also definite rules are considered to avoid the
C7 solution from failing to converge.
1_24n
R1 8 C6 5. cv
.- tl j
---------· --------- --+--.-.------�-----.-.-.-. i j +
·---- ------------ --- ----
.1:::::;== =FTi··IF
4284k 12.26n
O fF P AGELEFT- 1
OF FBAGElE .FT -3
�------------�--�--�
Fig. 9. Schematic of closed loop plant in PSPICE with idealized circuit models: Time
� !� !
beginners who are having a little acquaintance in both
V ( OFFPAGELEFr- l )
well cost of the project.
Time
o
ACKNOWLEDGMENT
This work was supported by National Institute of
Fig. 10. Output voltage with idealized circuit model. Technology Karnataka, India.
Authorized licensed use limited to: UNIVERSITY COLLEGE CORK. Downloaded on June 25,2023 at 15:14:32 UTC from IEEE Xplore. Restrictions apply.
REFERENCES
[8] R.D.Middlebrook and S. Cuck, "A General unified approach to
[I] Snejana D Terzieva, Simeon S. Vladov, Valeri M. Mladenov, "Course
modeling switching converter power stages" IEEE Power Electronics
project in theoretical foundations of electrical engineering-clear and easy
specialist conference record,pp.18-34,1976.
with PSPICE and MATLAB",IEEE EUROCON, pp.764-767,2005.
[9] V. Vorperian, "Simplified analysis of PWM converters using model of
[2] Daniel W Hart,"Circuit simulation as an aid in teaching the principles
PWM switch. PartI: continuous conduction mode", IEEE transaction on
of power Electronics", IEEE Transactions on Education, Vo1.36, aerospace and electronic systems,pp.490-496,1990.
no.!,pp. 10-16,1993.
[10] "Pspice User's Guide",2nd edition, Cadence Design System,2000.
[3] Alexander Abramovitz, " Teaching behavioral modeling and simulation
[II] DanieI.W.Hart, "Power Electronics",Tata Mcgraw Hill,2011.
technique for power electronics courses", IEEE Transaction on
Education, vol. 54, no.4, pp.523-530,20II. [12] Chandra Shetty, Anil Kadle, A.B.Raju, "A simplified approach to the
first order approximations of a closed loop, non isolated dc-dc converter
[4] A.B. Raju and S.R. Karnik, "SEQUEL: A free circuit simulation
with synchronous rectifier circuit behavior by using the Orcad Pspice",
software as an aid in teaching the principles of power electronics to
Fourth international conference on advances in power electronics and
undergraduate students",ICETET-09,Nagpur, India, pp.68 1-686, 2005.
instrumentation engineering,unpublished data.
[5] Ibrahim Chamas, Mahmoud A EI Nokali , "Automated PSpice [13] H. Dean Venable, Venable Industries, "The k factor: a new
simulation as an effective design tool in teaching power electronics", mathematical tool for stability analysis and synthesis", reference reading
IEEE Transactions on Education,Vol. 47,no.3,pp.415-421,2004. #4.
[6] Juing-huei, Jiann-Jong Chen and Dong-Shuiuh Wu, "Learning feedback [14] Chandra Shetty, Anil Kadle, A.B.Raju, "A detailed application of
controller design of switching converters via MATLAB/SIMULlNK", TL494 Pspice model in designing switching regulators: an educational
IEEE Transaction on Education, vo1.45, no.4, pp.307-315, 2002. approach", International conference on advances in recent technologies
[7] Jiwei Sun, Hailong You, Zhiyun Li, Xinzhang Jia ailing, "Research on in electrical and electronics,unpublished data.
modeling control module of dc-dc converter for simulink", Second
international conference on power electronics and intelligent
transportation system (IEEE), pp. 139-142,2009.
Authorized licensed use limited to: UNIVERSITY COLLEGE CORK. Downloaded on June 25,2023 at 15:14:32 UTC from IEEE Xplore. Restrictions apply.