140313smartctrl 2.1 help - psim electronic simulation … · 16.4 simulation issues with digital...
TRANSCRIPT
i
SmartCtrl
User’s Guide
Powersim Inc.
SmartCtrl User’s Guide
Version 2.1
Release 1.0
March 2014
Copyright © 2009–2014Carlos III University of Madrid, GSEP Power Electronics Systems Group, Spain.All rights reserved. No part of this manual may be photocopied or reproduced in any form or by anymeans without the written permission of Powersim and the Carlos III University of Madrid.
Disclaimer Powersim Inc. (“Powersim”) and the Carlos III University of Madrid make no representation or warranty with respect to the adequacy or accuracy of this documentation or the software which it describes. In no event will Powersim and the Carlos III University of Madrid or its direct or indirect suppliers be liable for any damages whatsoever including, but not limited to, direct, indirect, incidental, or consequential damages of any character including, without limitation, loss of business profits, data, business information, or any and all other commercial damages or losses, or for any damages in excess of the list price for the license to the software and documentation.
Powersim Inc.
email: [email protected]
http://www.powersimtech.com
i
Table of Contents
CHAPTER1: INTRODUCTION 1
1.1 Why SmartCtrl? 1
1.2 Program Layout 3
CHAPTER2: MAINMENUSANDTOOLBARS 5
2.1 File Menu 5
2.2 Design Menu 6
2.3 View Menu 6
2.4 Window Menu 8
2.5 Main Toolbar 8
2.6 View Toolbar 9
2.6.1 SmartCtrl additional transfer functions 11
CHAPTER3: DESIGNAPREDEFINEDTOPOLOGY 13
3.1 DC‐DC Converter ‐ Single loop 13
3.1.1 Single Loop 13
3.2 DC‐DC Converter ‐ Peak Current Mode Control 15
3.3 DC‐DC converter ‐ Average Current Mode Control 19
3.4 Power Factor Corrector 23
3.4.1 Power Stage 31
3.4.2 Graphic panels 33
3.4.2.1 Oscillator ramp and internal compensator 33
3.4.2.2 Line Current 33
3.4.2.3 Rectified voltage and external compensator output 34
3.4.3 Multipliers 35
3.4.3.1 Multiplier 35
3.4.3.2 UC3854 Amplifiers 36
ii
CHAPTER4: DESIGNAGENERICTOPOLOGY 37
4.1 s‐domain model editor 37
4.1.1 s‐domain model (equation editor) 38
4.1.2 s‐domain model (polynomial coefficients) 41
4.1.2.1 Plant Wizard 43
4.2 Import frequency response data from .txt file 46
CHAPTER5: DESIGNAGENERICCONTROLSYSTEM 51
CHAPTER6: DC‐DCPLANTS 55
6.1 Buck 56
6.2 Boost 59
6.3 Buck‐Boost 62
6.4 Flyback 65
6.5 Forward 67
CHAPTER7: SENSORS. 70
7.1 Voltage Divider 70
7.2 Embedded voltage divider 70
7.3 Isolated Voltage Sensor 71
7.4 Resistive Sensor (Power Factor Corrector) 71
7.5 Resistive Sensor (Peak Current Mode Control) 72
7.6 Hall effect sensor 72
7.7 Current Sensor 72
CHAPTER8: MODULATOR 73
8.1 Modulator (Peak Current Mode Control) 73
8.2 Modulator (PWM) 73
iii
CHAPTER9: COMPENSATORS 75
9.1 Single loop or inner loop 75
9.1.1 Type 3 compensator 75
9.1.2 Type 3 compensator unattenuated 76
9.1.3 Type 2 compensator 77
9.1.4 Type 2 compensator unattenuated 78
9.1.5 PI compensator 79
9.1.6 PI compensator unattenuated 80
9.2 Outer loop and peak current mode control 81
9.2.1 Single pole compensator 81
9.2.2 Single pole compensator unattenuated 82
9.2.3 Type 3 regulator 83
9.2.4 Type 3 compensator unattenuated 84
9.2.5 Type 2 compensator 85
9.2.6 Type 2 compensator unattenuated 86
9.2.7 PI compensator 87
9.2.8 PI compensator unattenuated 88
CHAPTER10: GRAPHICANDTEXTPANELS 89
10.1 Bode plots 89
10.2 Nyquist diagram 91
10.3 Transient response plot 94
10.4 Steady‐state waveform 97
10.5 Text panels 98
CHAPTER11: SOLUTIONSMAPS 105
CHAPTER12: EDITORBOX 107
CHAPTER13: IMPORTANDEXPORTTRANSFERFUNCTION 109
13.1 Export 109
13.1.1 Export transfer function 109
13.1.2 Export to PSIM 110
13.1.3 Export transient responses 114
13.1.4 Export Global. 116
iv
13.2 Import (Merge) 117
13.2.1 Add Function 119
13.2.2 Modify Function 120
CHAPTER14: DESIGNMETHODS 123
14.1 K‐factor Method 124
14.2 Kplus Method 125
14.3 Manual 126
14.4 PI tuning 127
14.5 Single Pole tuning 128
CHAPTER15: PARAMETRICSWEEP 129
15.1 Input Parameters Parametric 129
15.2 Compensator Components Parametric Sweep 133
CHAPTER16: DIGITALCONTROL 135
16.1 Introduction to Digital Control 135
16.2 Digital Settings 135
16.3 Parametric sweep in digital control 137
16.4 Simulation issues with digital control 138
�
Introduction
SmartCtrl 1
Chapter1: Introduction
1.1 WhySmartCtrl?
SmartCtrl is the control designing tool for power electronics. It provides an easy to use interface for designing the control loop of almost any plant.
It includes the predefined transfer functions of some of the most commonly used power electronics plants, such as different DC-DC topologies, AC-DC converters, Inverters and motor drives.
However, it also allows the users to import their own plant transfer function by means of a text file. Therefore, this feature provides flexibility to design an optimized control loop for almost any system.
In order to make easier the first attempt when designing a control loop, an estimation of the stable solutions space is given by the program under the name of "solutions map". Based on the selected plant, sensor and type of regulator, the solutions map provides a map of the different combinations of fc and phase margin that lead to stable systems.
Thus, the designer is able to select one of the points of the stable solutions space and to change the compensator parameters dynamically in order to adjust the system response to the user requirements in terms of stability, transient response, ... Since the program provides, at a glance, the frequency response of the system as well as the transient response and the compensator component values for the open loop given features. All of them are real time updated when any parameter of the system is varied by the designer.
Key Features
Pre-defined transfer functions of commonly used DC-DC converters, Power Factor Correction converters, sensors and regulators.
Different control techniques for DC-DC converters are supported:
o Single control loop structures: voltage mode control and current mode control.
o Peak current mode control.
o Double control loop structure: two nested control loops that implements an average current mode control.
Capability of designing the controller of any converter by means of:
o Importing its frequency response data from a .txt file.
o Defining its transfer function through the equation editor.
Capability of designing a generic control system.
Digital control is also available.
Estimation of the stable solutions space ("Solutions Map").
Sensitivity analysis of the system parameters.
Introduction
2 SmartCtrl
Real time updated results of the frequency response (bode plots), transient response and the steady state waveforms.
Possibility of importing and exporting any transfer function by means of .txt files.
Introduction
SmartCtrl 3
1.2 ProgramLayout
When SmartCtrl is started, all the available options are shown, and the user can select which of them is going to use. The aforementioned window is shown below. It is divided into four sections:
1. Design a predefined topology
This option provides an easy and straightforward way of designing the control circuit of the most widely used power converters. Through a guided process, the user will be able to select amongst different control strategies:
DC-DC Converter- Single loop
Two different control strategies are available in this case: voltage mode control and current mode control.
DC-DC Converter - Peak Current mode control
DC-DC Converter - Average current mode control
Two nested loops are needed to implement the average current mode control. The outer loop is a voltage mode control loop, and the inner one is a current mode control.
PFC Boost converter
2. Design a generic topology.
This option allows to design a converter by two different ways:
s-domain model editor.
Importing the frequency response data from .txt file
Introduction
4 SmartCtrl
3. Design a generic control system - Equation editor.
SmartCtrl also provides the option of defining the whole system though its equation editor. And so, help the user though the designing process of any control problem regardless its nature, for example temperature control, motor drives, etc
4. Open...
Default file. It opens a pre-designed example.
Recently saved file. It opens the last file the user worked with.
Previously saved file. It opens the folder where user used to save its designs
Sample design. It opens the folder where SmartCtrl examples have been previously recorded.
Regardless of the selected option, once the converter is completely defined, the main window of the program is displayed. Different areas are considered within the main window and all of them are briefly described below:
1. There are six drop-down menus, this is:
File It includes all the functions needed in order to manage files, import and export files, establish the printer setup and the print options.
Design SmartCtrl libraries, modification of input data, access to the digital control settings (only available in SmartCtrl 2.0 Pro) and parametric sweep.
View Allows the user to select which elements are displayed and which are not.
Window Functions to create, arrange and split windows.
Help SmartCtrl Help.
2. The Main Toolbar provides quick access to the most commonly used program functions through left click on the respective icon.
3. The View Toolbar icons allows the user a quick selection of the elements displayed.
4. The Status Bar summarizes the most important parameters of the open loop control design (cross frequency, phase margin and attenuation at the switching frequency).
5. The compensator Design Method Box includes the three calculation methods of the compensator as well as the Solution Map.
6. Graphic and text panels include the most relevant information of the system: frequency response, polar plot, transient response, input data and the designed regulator components. To access the help topic regarding each panel just right
Main Menus and Toolbars
SmartCtrl 5
Chapter2: MainMenusandToolbars
2.1 FileMenu
New Create a new project (Ctrl+N)
New and initial dialog Create a new project and displays the initial dialog box
Open Open an existing project (Ctrl+O)
Open sample designs Open a sample design from the examples folder
Close Close the current project window
Save Save the current project (Ctrl+S)
Save as... Save the current project to a different file
Open txt files Open any .txt file in Notepad
Import (Merge) Merge data of another file with the data of the existing file for display. The curves of these two files will be combined. (Ctrl+M)
Export The program provide different exporting options. It allows exporting the following.
Export to PSIM the schematic and the parameters file, or update parameters file
Export transfer functions to a file. The available transfer functions are: plant, sensor, control to output, compensator, etc.
Export transient responses to a file. The available transient responses are: voltage reference step, output current step and input voltage step
Export temporal signals to a file. The available steady state waveforms are: inductance voltage and current, diode voltage and current, carrier, modulating signal and PWM.
Generate report Generate a report to either a .txt file or notepad. It contains information regarding both the input data (steady-state dc operating point, plant input data, ...) and output data (compensator components, cross frequency, phase margin, ...)
Print preview Preview the printout of any of the graphic and text panels ( Transfer function magnitudes (dB), Transfer function phase (º), Nyquist diagram, Transients, Data input, Results)
Main Menus and Toolbars
6 SmartCtrl
Print Print any of the panels of the main window (bode plots, Nyquist diagram, transient, input data or results)
Printer setup Setup the printer
Exit Exit SmartCtrl program
2.2 DesignMenu
The SmartCtrl Design Menu contains the elements that can be used in the SmartCtrl schematic. The library is divided into the following sections:
Predefined topologies Contains the most commonly used DC-DC plants both in single and double loop configurations, as well as AC-DC plants.
Generic Topology Allows the user to define a of a generic plant transfer function either in s-domain or importing a .dat, .txt, or .fra file. And use the predefined sensors and compensators provided by SmartCtrl to desing the closed-loop control system.
Generic Control System Allows the user to define the plant and the sensor transfer functions through the built-in equations editor. And design the compensator for this user defined system.
Modify Data Open the schematic window of the current project to modify the parameters.
Digital control Access to the digital control settings (only available in SmartCtrl 2.1 Pro)
Parametric Sweeps Allows performing the sensibility analysis of the system parameters. It is divided into three different parametric sweeps: Input Parameters, Compensator Components and digital factors.
Reset all Clear the active window
2.3 ViewMenu
Comments Open the comments window. It allows the user to add comments to the design. These comments will be saved together with the designed converter.
Loop Select the loop to be displayed in the active window (inner or outer loop)
Main Menus and Toolbars
SmartCtrl 7
Transfer Functions Select the transfer function to be displayed
Plant transfer function, G(s)
Sensor transfer function, K(s)
Compensator transfer function, R(s)
Sensor-Compensator transfer function, K(s)·R(s)
Control to output without regulator transfer function, A(s)
Control to output transfer function, T(s)
Reference to output transfer function, CL(s)
Digital compensator transfer function
Digital control to output transfer function
Digital reference to output transfer function
Additional transfer functions Select the additional transfer functions to be displayed, like the audiosusceptibility Gvv, the output impedance Gvi, etc. For more information regarding these transfer function, see section 2.6.1.
Additional t.f. toolbar Show a toolbar with all the additional transfer functions. For more information regarding this toolbar, see section 2.6.1.
Transients Select the transient response to be displayed.
The available transient responses are:
Input voltage step transient
Output current step transient
Reference step transient.
Organize panels Resize all panels and restore the default appearance of the graphic and results panels window.
Enhance Select the panel to be displayed in full screen size
Bode (magnitudes) panel (Ctrl+Shift+U)
Bode (phase) panel (Ctrl+Shift+J)
Nyquist diagram panel (Ctrl+Shift+I)
Transient responses panel (Ctrl+Shift+K)
Input data panel (Ctrl+Shift+O)
Output (results) panel (Ctrl+Shift+L)
Input data View design input data
Output data View design output data
Main Menus and Toolbars
8 SmartCtrl
2.4 WindowMenu
New Window Create a new window
Maximize active window Maximize the current window
Cascade Arrange the windows in cascade form
Tile horizontal Tile the currently open windows horizontally
Tile vertical Tile the currently open windows vertically
Split Click on the intersection of the lines that delimit the different window panels and drag. This will change the size of the panels
Organize all It restores the default size of the graphic and text panels.
2.5 MainToolbar
Create a new project
Create a new project and open initial dialogue box
Open an existing project
Open sample design
Close the current project window
Generate report
View document comments
DC-DC converter - Single loop
DC-DC converter - Peak Current Mode Control
DC/DC - Average Current Mode Control
PFC Boost converter
Design a generic topology using a s-domain model editor
Design a generic topology from a .txt file
2.6 ViewTo
oolbar
Desig
Mod
Openregul
Save
Expo
Impothe c
Expo
Expo
Updaschem
Maxi
Tile w
See a
Orga
View
View
Displtransf
Displtransf
Displto out
Displcomp
gn a generic
dify data
n the dialoglators
e the current
ort transfer f
ort transfer current proje
ort to PSIM
ort to PSIM
ate paramematic
imize active
windows
all panels
anize all pan
w input data
w output dat
lay the frequfer function
lay the frequfer function
lay the frequtput withou
lay the frequpensator tran
Sm
c control sy
g box to st
t project
function to
function frect
(schematic
(parameter
eters file o
e window
nels
a
ta
uency respon
uency respon
uency respout compensa
uency responsfer functio
Main Men
martCtrl
ystem
tart the calc
a file
rom a file t
c)
rs file)
of the pre
onse (Bode p
onse (Bode p
onse (Bode pator transfer
onse (Bode pon
nus and Too
culation of
to be merge
eviously ex
plot) of the
plot) of the
plot) of the r function
plot) of the
olbars
9
f digital
ed with
xported
plant
sensor
control
sensor
Main Menus and Toolbars
10 SmartCtrl
Display the frequency response (Bode plot) of the compensator transfer function
Display the frequency response (Bode plot) of the discrete compensator transfer function
Display the frequency response (Bode plot) of the control to output transfer function
Display the frequency response (Bode plot) of the control to output transfer function with digital control
Display the frequency response (Bode plot) of the reference to output transfer function
Display the frequency response (Bode plot) of the reference to output transfer function with digital control
View additional transfer functions toolbar
Display transient response due to a reference voltage step
Display the transient response due to an output current step
Display the transient response due to an input voltage step
Display inner loop results
Display outer loop results
Enables or disables the display of the compensator calculation method toolbox
Input Parameters Parametric sweep
Compensator Parameters Parametric sweep
Digital Factors sweep
2.6.
All tnome
The c
Open
Gv
Gv
GiL
GiL
DGi
1 SmartC
those transenclature of
Subscdenoteit refe
Subsc
Subsc
considered
n loop tran
o
i
vvvi
v
o
oi
vvio
i
iLLviv
o
iLi
Lio
D
iD
ivi
v
1
2
3
Ctrladdi
sfer functiof the transfe
cript 1 referes that the t
ers to open l
cript 2 refers
iL: induct
iD: diode
vo: outpu
cript 3 refers
io: output
vi: input v
transfer fun
nsfer functi
Open loop
Open loop
Open loop
Open loop
Open loop
tionaltra
ons coloreder functions
rs to the tytransfer funloop.
s to the pert
tor current.
current.
ut voltage
s to the pert
t current.
voltage.
nctions are:
ions.
Audiosusce
Output imp
Input voltag
Output curr
Input voltag
ansferfu
d in grey ais as follow
ype of trannction has be
turbed magn
turbing mag
eptibility
pedance
ge to induct
rent to indu
ge to diode
Sm
unctions
are not allws:
nsfer functioeen evaluat
nitude:
gnitude:
tor current t
ctor current
current tran
Main Men
artCtrl
owed for t
on studied. ed in closed
transfer func
t transfer fu
nsfer functio
nus and Too
the design.
The charad loop; othe
nction.
unction.
on.
olbars
11
. The
acter t erwise
Main Menus and Toolbars
12 SmartCtrl
Closed loop transfer functions.
o
i
vGtvvi
v
Closed loop Audiosusceptibility
o
oi
vGtvio
Closed loop Output impedance
Gtivi Closed loop Input voltage to inductor current or diode current transfer function
Gtiio Closed loop Output current to inductor current or diode current transfer function
The nomenclature will be clarified through two examples.
Example 1: Open loop transfer function.
o
o
vGvio
i
Load resistor is included within de output impedance transfer function
Example 2: Closed loop transfer function.
o
o
vGtvio
i
Closed loop Output impedance transfer function
L
C RVin Vout
+
‐
Io
d
Zo
L
C RVinVout
+
‐
Io
Ra
Rb
+
‐Vref
Cha
The ease
Pre-d
3.1
3.1.1
The comp
The pre-dfunct
apter3:
most wideltheir design
designed top
DC-DCont
DC-D
DC-D
PFC
DC‐DCC
1 SingleL
single looppensator, wh
first step todefined onetion by mea
Des
ly used topn.
pologies av
DC converttrol).
DC convert
DC convert
Boost conv
Converte
Loop
p is formehich must b
o define the e or a userans of a .txt
signapr
pologies are
ailable are:
ter - Single l
ter - Peak cu
ter - Averag
verter
er‐Single
ed by threebe selected s
system is tr own one. file or selec
redefine
e available
loop (Volta
urrent mode
ge current m
eloop
e different sequentially
the selectionThis is, th
ct one of the
D
Sm
edtopol
as pre-defi
age mode co
e control.
mode control
transfer fuy.
n of the plahe user cane pre-define
esign a pred
artCtrl
logy
ned topolog
ontrol and cu
l.
unctions: pl
ant.The plann import a ed topologie
defined topo
gies, in ord
urrent mode
lant, sensor
nt can be eitgeneric tra
es.
ology
13
der to
e
r and
ther a ansfer
Design a predefined topology
14 SmartCtrl
The predefined DC-DC plants are the following:
Buck
Buck-Boost
Boost
Flyback
Forward
Once the plant has been selected, regardless the magnitude to be controlled is voltage or current, the program will display the appropriate type of sensor.
The different sensors available are the following:
Voltage Divider.
Embedded Voltage Divider.
Isolated Voltage Sensor.
Current Sensor.
Hall Effect Sensor.
Finally, the compensator is selected. The ones provided by SmartCtrl are:
Compensator types:
Type 3
Type 3 Unattenuated
Type 2
Type 2 unattenuated
PI
PI unattenuated
Single Pole
Single Pole unattenuated
Oncewhicto sta
The djust c
Nowshow(See
3.2
The imare d
The whic
The f
e the systemch all the poable solution
designer is click on Set
w accept thew the perfor
Graphic an
DC‐DCC
mplementatescribed alo
DC/DC c
Current
Modulat
Voltage
Compen
program wch must be c
first step to
m has beenossible comns are show
asked to set and select
e selected prmance of thnd text pane
Converte
tion of the peong the follow
converter (p
sensor (imp
tor.
sensor.
nsator.
will guide ycarried out s
define the s
n defined, Smbinations own graphical
elect a pointa point with
oint and cohe system inls window f
er‐PeakC
eak current mwing paragra
pre-defined
plemented b
you throughsequentially
system is to
SmartCtrl cof crossoverlly. It is cal
t within the hin the whit
onfirm the dn terms of ffor detailed
CurrentM
mode controaphs:
topologies)
by means of
h the paramy.
o select the p
D
Sm
calculates thr frequency led Solution
solution spte zone.
design, the frequency r
d informatio
ModeCo
ol includes fiv
).
f a resistor).
meterization
plant from a
esign a pred
artCtrl
he stable soand phase
ns Map.
pace to cont
program wesponse, tran).
ntrol
ve different e
n of the dif
an existing
defined topo
olution spamargin that
tinue. To do
will automatansient resp
elements wh
fferent elem
library.
ology
15
ace in t lead
o that,
ically ponse.
hich
ments,
Design a predefined topology
16 SmartCtrl
The predefined DC-DC plants are the following:
Buck
Buck-Boost
Boost
Flyback
Forward
Once the plant has been selected, the value of the resistor that implements the current sensor
must be set.
Current sensor available:
Resistance
Next, the modulator must be configured (see section 8.1)
Design a predefined topology
SmartCtrl 17
Modulators available:
Modulator (Peak Current Mode Control).
Voltage sensor available:
Voltage devider.
Embedded Voltage Divider
The last element that must be set is the compensator.
Design a predefined topology
18 SmartCtrl
Regulator types:
Type 3
Type 3 Unattenuated
Type 2
Type 2 unattenuated
PI
PI unattenuated
Finally the user must select the control loop initial characteristics (cross frequency and phase
margin), aided by the Solutions Map. After that, click OK and the program will automatically
show the graphics panels.
Design a predefined topology
SmartCtrl 19
3.3 DC‐DCconverter‐AverageCurrentModeControl
The average current control is formed by an inner current loop and an outer voltage mode loop. As well as the single loop, the double loop setup must be built sequentially. The program will guide you to built it, enabling the following step and keeping everything else disabled.
In all the available plants, the outer loop is a voltage mode control (VMC), while the inner loop is a current controlled one. Depending on the selected plant, the current is sensed either on the inductance (LCS) or on the diode (DCS). The DC/DC plant must be selected among the following list.
The predefined DC-DC plants are the following:
Buck (LCD-VMC)
Buck-Boost (LCS-VMC)
Boost (LCS-VMC)
Boost (DCS-VMC)
Flyback (DCS-VMC)
Forward(LCS-VMC)
Next, the inner control loop will be configured. This is, the current sensor and the regulator type must be selected.
The available current sensors are the following:
Current Sensor
Hall Effect Sensor
Finally, the inner loop compensator is selected.
Desig
20 S
Oncephase
the sphase"Soludispl
The click
Oncewill windclick
gn a predef
SmartCtrl
e all the inne margin m
table solutioe margin thutions map layed.
designer is king within t
e the cross be shown
dow. If, at ak on the show
fined topolo
ner loop tranmust be sele
on space inhat lead to (inner loop
asked to sthe white zo
frequency on the righ
any time, thwn solution
gy
nsfer functioected. Unde
which all tstable solut
p)" button th
elect the crone to conti
and the phht of the she two aforn map. (See
ons have beer the name
the possibleutions are shhe solution
rossover freinue.
ase marginside of the rementionednext figure
R
en defined,e of Solutio
e combinatiohown graphmap corresp
equency and
have beenDC-DC av
d parametere).
Regulator ty
Type
Type
PI
Singl
the cross frn Map, Sm
ons of cut ohically. Justponding to
d the phase
n selected, tverage currrs need to b
ypes:
e 3
e 2
le Pole
requency anmartCtrl pro
off frequenct clicking othe inner lo
e margin ju
the solutionrent controlbe changed
nd the ovides
y and on the oop is
ust by
n map l data d, just
Now
Next
w, the outer l
t, the outer l
loop can be
loop compe
defined.Fir
ensator must
rst, the volta
t be selected
D
Sm
age sensor m
Theare
d.
esign a pred
artCtrl
must be sele
e different sethe followin
Voltage
EmbeddDivider
defined topo
ected.
ensors avaing:
e Divider
ded Voltager
ology
21
lable
e
Desig
22 S
As wbe se
stabl
PressThen
It shouterpreveshado
Oncemap data just c
gn a predef
SmartCtrl
well as in thelected. Als
le solution.
s the "Solutn select a po
ould be remr loop cannent the selowed area h
e the crossowill be showindow. If
click on the
fined topolo
he case of thso in this ca
tion map (ooint just by c
marked thatot be greatelection of ahas been inc
over frequeown on the f, at any tim shown solu
gy
he inner looase, the solu
outer loop)"clicking wit
t, due to staer than the an outer locluded in th
ency and thright of the
me, the twoution map. (
op, the crossution map
" button anthin the wh
ability conscrossover f
oop fc greahe solutions
he phase mae side of theo aforement(See next fi
Com
s frequencyis available
nd the solutite area.
straints, the frequency oater than thmap of the
argin have e DC-DC avtioned paramgure)
mpensator t
Type 3
Type 3
Type 2
Type 2
PI
PI unat
Single P
Single Punatten
and the phe to help the
tion map w
crossover ff the inner he inner loouter loop.
been selectverage curremeters need
types:
Unattenuat
unattenuate
ttenuated
Pole
Pole nuated
hase margin e selection
will be displ
frequency oloop. In ord
oop one, a .
ted, the solrent control d to be cha
ted
ed
must of an
layed.
of the der to
pink
lution input
anged,
Nowautomtrans
3.4
The pby anbuilt and k
The athe in
The f
w accept thmatically shsient respon
PowerF
power facton inner currsequentiall
keeping eve
available plnner loop is
first step ch
Multiplie
UC3854R(s).
he selected how the pe
nse.(See Gra
FactorCo
or corrector rent loop anly. The proerything else
lant is a boos a current c
hooses betw
er: It corres
4A Multiplie
configuraterformance aphic and te
orrector
based on a nd an outer vgram will ge disabled.
ost convertecontrolled on
ween the two
sponds by de
er: It corresp
tion and coof the sys
ext panels w
a boost topovoltage modguide you t
er. The outene, and the
o types of m
efault the H
ponds by de
D
Sm
onfirm the stem in ter
window for d
logy has a dde loop. Theto build it,
er loop is a vcurrent is s
multiplier an
Hall Effect r
efault the cu
esign a pred
artCtrl
design, thms of freqdetailed info
double conte double looenabling th
voltage modensed on th
nd Vrms fee
esistance H
urrent senso
defined topo
he programquency respormation).
trol loop, foop setup mu
he following
de control, he inductanc
ed-forward:
H(s).
or resistance
ology
23
m will ponse,
ormed ust be g step
while ce.
e
Design a predefined topology
24 SmartCtrl
Depending on the first choice, there are two different options to generate the power factor corrector.
If the selection is a Generic Multiplier, the current is sensed by the Hall Effect sensor H(s).
Otherwise, if the selection is UC3854A multiplier, the current sensor is a resistor Rs.
Design a predefined topology
SmartCtrl 25
It is followed by the choice of the plant. The predefined plants are the following:
Boost PFC (Resistive load)
Boost PFC (Constant power load)
Next, the inner control loop will be configured: since the current sensor has been already configured, it is necessary to select the inner loop compensator.
Desig
26 S
Com
Onceand tprovifrequclickthe in
The click
gn a predef
SmartCtrl
mpensator ty
Type 3 (
Type 2
PI
e all the innthe phase mides the stauency and pking on the nner loop is
designer isking within t
fined topolo
ypes:
(It is only av
ner loop tramargin musable solutionphase marg"Solutions
s displayed.
asked to sthe white zo
gy
vailable for
ansfer functst be selectn space in
gin that leadmap (inner
select the crone to conti
Multiplier
tions have bted. Under which all thd to stable r loop)" but
rossover freinue.
option)
been definethe name ohe possiblesolutions a
tton the solu
equency an
ed, the crosof Solution e combinatioare shown gution map c
d the phase
ssover frequMap, Sma
ons of crosgraphicallycorrespondi
e margin ju
uency artCtrl ssover . Just ing to
ust by
Oncemap windclick
Now
The v
e the crossowill be sh
dow. If, at ak on the show
w, the outer l
voltage sen
For Mult
o I
For UC3
o V
o E
over frequehown on thany time, thwn solution
loop can be
sors availab
tiplier optio
solate V sen
3854A Mult
Voltage Div
Embedded V
ency and the right of he two aforn map. (See
defined. Fi
ble are the f
on:
nsor
tiplier optio
vider
Voltage Div
he phase mathe side ofrementionednext figure
irst, the volt
following:
on:
vider
D
Sm
argin have f the PFC d parameter
e).
tage sensor
esign a pred
artCtrl
been selectBoost convrs need to b
must be sel
defined topo
ted, the solverter inputbe changed
lected.
ology
27
lution t data d, just
Design a predefined topology
28 SmartCtrl
Next, the outer loop compensator must be selected.
Compensator types:
For multiplier option: For UC3854 multiplier option:
Type 3
Type 2
PI
Single Pole
For Voltage Divider:
Type 2
PI
Single Pole
For Embedded Voltage Divider:
Type 2 Unattenuated
PI unattenuated
Single Pole unattenuated
As well as in the case of the inner loop, the crossover frequency and the phase margin must be selected. Also in this case, the solution map is available to help the selection of a stable solution.
Press the "Solution map (outer loop)" button and the solution map will be displayed. Then select a point just by clicking within the white area.
It shouterpreveshado
Oncemap data just c
ould be remr loop cannent the selowed area h
e the crossowill be showindow. If
click on the
marked thatot be greatelection of ahas been inc
over frequeown on the f, at any tim shown solu
t, due to staer than the an outer locluded in th
ency and thright of the
me, the twoution map. (
ability conscrossover f
oop fc greahe solutions
he phase mae side of theo aforement(See next fi
D
Sm
straints, the frequency oater than thmap of the
argin have e DC-DC avtioned paramgure)
esign a pred
artCtrl
crossover ff the inner he inner loouter loop.
been selectverage curremeters need
defined topo
frequency oloop. In ord
oop one, a .
ted, the solrent control d to be cha
ology
29
of the der to
pink
lution input
anged,
Desig
30 S
Nowautomcurre
Oncesolut
In thouter
gn a predef
SmartCtrl
w accept thmatically shent shape...
e the designtion map wi
In the cacompensA warninfrom thehigher g
The line perfectlyoccasionfrom thefrequencproblem
he method pr loop:
Attenuattransfer and the o
Attenuattransfer high for
Estimateparametefunction
fined topolo
he selected how the per(See Graph
n has been gindow:
ase of a singsator for powng appears w
e specified oain at low f
current wavy well the rens there is a e one represcy of the inn.
panel, additi
tion (fsw)(dfunction at outer loop.
tion (2fl)(dBfunction at the inner lo
ed Vo (V). Ter is importis not high
gy
configuratrformance o
hic panels w
generated, t
gle pole comwer factor cwhen the es
one in more frequency is
veform is ceference genzero-cross ented. In thner loop com
ional inform
dB). This is the switchin
B) . This is ttwice the lin
oop and low
This is the eant becauseenough, the
tion and coof the system
window for d
two possibl
mpensator incorrectors, tstimated Vo than 10%.I
s recommen
alculated asnerated by tdistortion a
hese cases, ampensator s
mation is pr
the attenuatng frequenc
the attenuatne frequenc
w for the out
estimated oue, if the freqere will be
onfirm the m in terms detailed info
le warning
n the outer lthe gain at lo (shown in In these casnded.
ssuming thathe outer looand the actua warning mshould be in
rovided both
tion in dB acy. It should
tion in dB acy (100 Hz ter loop.
utput voltagquency gaina steady-sta
design, thof frequenc
ormation).
messages c
loop, whichow frequenthe methodes, a compe
at the currenop. Howeveal line curre
message appncreased to m
h for the in
achieved by d be low for
achieved by or 120 Hz).
ge of the conof the open
ate error and
he programcy response
can appear i
h is a typicalncy may be d panel) diffensator with
nt loop folloer, in some ent would d
pears. The crminimize th
nner loop an
y the open lor the inner l
the open lo. It should b
nverter. Thin loop transd the estima
m will e, line
in the
l low. fers h a
ows
differ ross-his
nd the
oop oop
oop be
is fer
ated
Design a predefined topology
SmartCtrl 31
output voltage can be different from the specified output voltage. As mentioned above, if the estimated Vo (shown in the method panel) differs from the specified one in more than 10%, there is a warning.
Finally, the flowchart to generate the types of the power factor is the following:
3.4.1 PowerStage
The Boost PFC is based on a double loop control scheme, and therefore the output voltage and a current through the inductor are sensed simultaneously. There are four options for the plant, depending on the load and the multiplier:
Generic multiplier + Boost PFC (Resistive load)
Generic multiplier + Boost PFC
POWER FACTOR CORRECTOR
MULTIPLIER & VrmsFEED‐
FORWARD
INNER LOOP SENSOR
PLANTINNER LOOP
REGULATOR
OUTER LOOP SENSOR
OUTER LOOP
REGULATOR
Boost PFC (Constant power load)Boost PFC (Resistive load)
Type 2Type 3PI
Multiplier Hall effect sensor Isolate V sensor
Type 2Type 3PISingle Pole
Boost PFC (Constant power load)Boost PFC (Resistive load)
Type 2PI
UC3854AMultiplier
Resistive sensor
Voltage dividerType 2PISingle Pole
RegulatorEmbeddedVoltage Divider
Type 2_unattPI_unattSingle Pole_unatt
H(s)
Rs
Design a predefined topology
32 SmartCtrl
UC3854A multiplier + Boost PFC (Resistive load)
UC3854A multiplier + Boost PFC (Constant power load)
The current loop is designed considering a piecewise linear model of the plant: using quasi-static assumption, the small signal model for each operating point is calculated as in a DC-DC boost converter.
The input data variables are listed and defined below:
Input data
Vin(rms) Input Voltage (V)
RL Equivalent Series Resistor of the Inductance (Ohms)
L Inductance (H)
Rc Equivalent Series Resistor of the output capacitor (Ohms)
C Equivalent Series Resistor of the output capacitor (Ohms)
Vo Output Voltage (W)
R Load Resistor (Ohms)
Po Output Power (W)
wta Line angle(º). The current loop is designed considering the plant calculated for this operating point. This line angle is indicated as a red dot in the output panel that represents the Rectified voltage and external compensator output(See Graphic and text panels window for detailed information)
FSW Switching frequency (Hz)
Line frequency Line frequency (Hz)
Design a predefined topology
SmartCtrl 33
3.4.2 Graphicpanels
The window is divided in six different panels:
The graphic panels are:
Bode plot Magnitude (dB)
Bode plot Phase (º)
Polar plot
Line current
Oscillator ramp and internal compensator
Rectified voltage and external compensator output
3.4.2.1 Oscillatorrampandinternalcompensator
This graphic panel provides information about the output of the inner control compensator (blue line) compared to the oscillator ramp (red line). The output of the internal compensator is represented for the line angle corresponding to the maximum current ripple through the inductor. This line angle is identified by means of a blue dot in the Rectified voltage and external compensator output graphical panel.
This comparison can be useful to determine whether there could be oscillations. If the slopes of both functions are too similar, there could be more than one intersection per period.
3.4.2.2 LineCurrent
This graphic panel provides information about the line current and its harmonic distortion. The line current waveform is calculated assuming that the current loop follows perfectly the reference generated by the outer loop. However, in some occasions there is a zero-cross distortion and the actual line current would differ from the one represented. In these cases, a warning message would appear in the solution map window.
Design a predefined topology
34 SmartCtrl
3.4.2.3 Rectifiedvoltageandexternalcompensatoroutput
This graphic panel provides information about the external compensator output voltage. Its phase shift compared to the rectified voltage can be assessed. If the compensator output voltage has not an appropriate phase shift compared to the rectified voltage (reference), the line current distortion will increase.
The current loop is designed considering a piecewise linear model of the plant. The current plant represented in the Bode plot panels (see Graphic panels window) corresponds to the operating point marked with a red dot in the rectified voltage. The small signal model for the plant is calculated as in a DC-DC boost converter for this operating point. This dot can be moved by clicking and dragging with the mouse, resulting in a variation of the operating point. As the dot changes its position, the Bode plot corresponding to the inner loop varies, as well as the attenuation information in the K-factor panel refreshes according to the indicated operating point.
The blue dot in the rectified voltage represents the operating point that corresponds to the maximum current ripple through the inductor. The graphics in the Oscillator ramp and internal compensator panel have been represented for this operating point.
3.4.3
3.4.3
Usin
The m
And,
harm
3 Multipl
3.1 Multip
ng feed-forw
multiplier h
KB G
Km M
, when the u
KFF Ga
1st m.rip.(%)
Rv
Km M
iers
plier
ward:
has the follo
Gain of the c
Multiplier ga
use of feed-
Gain of theand the aver
Ratio betwevoltage and
Multiplier g
owing param
current refer
ain.
forward is s
feed-forwarage input v
een the ampits average
gain.
meters:
rence for th
selected:
ard. It is thvoltage to th
plitude of the value.
D
Sm
e inner loop
he ratio betwhe multiplie
he first harm
esign a pred
artCtrl
p.
ween the rmr.
monic of th
defined topo
ms input vo
he rectified
ology
35
oltage
input
Desig
36 S
3.4.3
The U
gn a predef
SmartCtrl
3.2 UC385
UC3854A m
KFF
Km
Rac
Rmo
fined topolo
54Amplifie
multiplier h
Gain of theand the ave
Multiplier g
Resistance
Resistance reference fo
gy
ers
has the follow
e feed-forwaerage input v
gain.
to introduce
to convertor the inner
wing param
ard. It is thevoltage to th
e the curren
rt the multcompensat
meters:
e ration betwhe multiplie
nt reference
iplier outputor (Ohms)
ween the rmer.
for the inne
ut current
ms input vo
er loop (Oh
into a vol
ltage
hms)
ltage
Cha
Smarconsi
To cconvor iminput
4.1
The doma
In bo
apter4:
rtCtrl not idered, it al
carry out thverter, the pmporting tht method, th
s
Im
s‐doma
s-domain main transfer
s
s
oth cases, th
Des
only helpso allows th
he design oplan must behe plant freqhe designer
s-domain mo
mport frequ
inmodel
model editofunction pl
s-domain mo
s-domain mo
he user must
signage
s the desihe design of
of the contre provided quency respmust select
odel editor.
uency respo
leditor
or provideslant:
odel (equati
odel (polyn
t select the
enericto
igner whenf the contro
rol when theither by mponse fromt between:
onse data fro
s two differ
ion editor)
nomial coeff
control stra
Sm
opology
n a pre-del loop of an
he plant is means of anm a .txt file
om a .txt file
rent options
ficients)
ategy.
Design a g
artCtrl
y
efined powny generic c
not a pre-n s-domain t. Dependin
e
s in order
generic topo
wer convertconverter.
-defined DCtransfer fun
ng of the de
to define t
ology
37
ter is
C-DC nction esired
the s-
Design a generic topology
38 SmartCtrl
4.1.1 s‐domainmodel(equationeditor)
When the power converter is defined through its s-domain transfer function, the design procedure is as follow:
First, the user must define the s-domain transfer function of the plant, To do that are two different options:
Import a previous design (click on open)
Define a new transfer function (click on editor). To check the syntax rules of the equation editor, please refer to Chapter 12: Editor Box
Once the equation has been introduced:
Click on "Save" to save the mathematical equations in a text file with extension .tromod
Click on "compile" to continue.
If desired, the frequency response of the transfer function can be exported as a .txt file by clicking on "Export transfer function".
If default option "Bode plot" is selected, the frequency response of the previously defined transfer function is shown on the right hand side panels.
To cparticthe fshoucomp
check the gcular frequefollowing fi
uld be speciponents at th
ain, phase ecy, the optfigure: first ified and finhe specified
and rectangtion "One fr"one frequ
nally, clickd frequency
gular comprequency" isuency" musk on compily are shown
Sm
onents of ts frequencyst be selectele and the gbelow.
Design a g
artCtrl
he frequency is provideded, secondlgain, phase
generic topo
cy responsed. As depictly the frequ and rectan
ology
39
e at a ted in uency ngular
Desig
40 S
After
And
gn a generic
SmartCtrl
r that, selec
afterwards
c topology
t the sensor
select the c
r.
compensatorr.
Design a generic topology
SmartCtrl 41
And finally select the cross frequency and the phase margin on the Solutions Map.
4.1.2 s‐domainmodel(polynomialcoefficients)
SmartCtrl offers the possibility of describing the data of the plant introducing the coefficients of its transfer function. This feature is only available for single loop designs, and two options are available:
Voltage mode controlled (Shift+L)
Current mode controlled (Shift+U)
Design a generic topology
42 SmartCtrl
The coefficients of the s-domain transfer function have to be introduced. The maximum order of the transfer function is 10. The coefficients in the numerator are n0 to n10 and the coefficients in the denominator are d0 to d10.
It is also possible to introduce the transfer function data by using the option Plant wizard.
Some additional data must be specified:
The frequency range (minimum frequency and maximum frequency) to consider in Hertz.
The switching frequency (Fsw) in Hertz.
The desired output voltage (Vo) in Volts. (Only if the plant is voltage mode controlled).
Design a generic topology
SmartCtrl 43
By clicking “View bodes” it is possible to visualize the frequency response (magnitude and phase) that corresponds to the introduced transfer function in the selected frequency range.
4.1.2.1 PlantWizard
The plant wizard is an assistant that allows to introduce a every coefficient of the transfer function (n0,n1,…,n10, d0, d1,…,d10) as a symbolic expression.
Global block
The “Global block” corresponds to the definition ofthe variables and expressions that are common for most coefficients of the transfer function.By clicking on the button Edit, a new edition box is opened (Edit box), which helps the user to introduce the data and the equations with the appropriate format.
Design a generic topology
44 SmartCtrl
Coefficients block
The “Coefficients block” corresponds to the expressions to calculate the coefficient selected in the combo box. These equations can use the global variables defined in the “Global block” or new ones can be defined that will be available only locally for the selected coefficient.
By clicking on the button Edit, a new edition box is opened (Edit box), which helps the user to introduce the data and the equations with the appropriate format.
Once the equations have been introduced, it is recommended to click the button “Compile”. This way, the numerical value of the coefficient is calculated by means of the mathematical expression in the return assignment, considering all the variables previously assigned both in the “Global block” and the “Coefficients block”.
If the compilation is successful, the numerical value of the selected coefficient will be displayed in the “Value” box. Otherwise an error message will appear.
Syntax of the “Global block” and the “Coefficients block”:
1. There are two types of instructions: assignment and return.
2. Only one instruction per line is permitted (whether it is assignment or return).
3. Blank lines are allowed.
4. The syntax of the assignment statements is: Var = Expr, where 'Var' is the name of a variable and 'Expr' represents a mathematical expression.
5. Regarding the variable names in the assignments:
a. They must begin with an alphabetic character.
b. They can consist of alphabetic or numeric characters, or underscore.
c. The names sqrt, pow, return and PI are reserved names that cannot be used as variable names.
6. Regarding the mathematical expressions:
a. Algebraic expressions are expressions where valid operators are +, -, *, /.
Design a generic topology
SmartCtrl 45
b. Expressions can use the function sqrt(a), which calculates the square root of a, and the function pow(a, b), which calculates 'a' raised to 'b'.
c. Expressions can use grouping parentheses.
7. The syntax of the return statements is: return Expr, where 'Expr' represents a mathematical expression.
8. The overall block can only contain assignment statements.
9. In the “Coefficients block”, each coefficient can have assignment statements, but it is mandatory to have at least one return statement, which will always be the last instruction in the block. This return statement defines the mathematical value of that particular coefficient.
10. Comments can be included as annotations made by the designer in order to make the text readable. Comments start with the delimiter doble slash ‘//’ and continue until the end of the line. These annotations are ignored by the compiler.
All coefficients block
In the block “All coefficients”, some commands can be executed that affect all coefficients:
Compile: the numerical values of all the coefficients are calculated. If an error
occurs, a message will be displayed.
Save as: the contents of the “Global block” and the “Coefficients block” are stored in a file with extension .trowfun.
Load: the data stored in the files with extension .trowfun is loaded. Therefore, the “Global block” and the “Coefficients block” will be updated with the loaded information.
View: the content of the “Global block” and the “Coefficients block”, as well as the numerical value of the coefficients, is displayed in a new window.
Results box and OK button
All the warning messages are displayed in the “Results” edit box.
Once the “OK” button in pressed, all the coefficients are automatically recalculated. If an error occurs, a warning message will be displayed. If the calculation is successful,
Design a generic topology
46 SmartCtrl
the coefficient values are displayed in the Plant from s-domain transfer function window.
4.2 Importfrequencyresponsedatafrom.txtfile
The single loop is formed by three different transfer functions: plant, sensor and regulator, which must be selected sequentially. Whether the imported plant is voltage mode controlled or current mode controlled, the single loop design process is the same in any case. The only differences are the sensors available in each case.
To perform the single loop design from an imported plant transfer function, just enter the data menu and select imported transfer function. It is also available at.
SmartCtrl allows the designer to import his own transfer plant function and design an appropriate control loop. This feature is only available for single loop designs. To define the imported transfer function the user must specify the intended control type:
Take into account that, wether the imported plant is current mode controlled or voltage mode controlled, the single loop design process will be the same. The only difference is related to the available sensors, which are different for each case.
Once the control type has been selected, the file that contains the plant frequency response must be selected. SmarCtrl is able to load the following file formats: *.dat, *.txt, *.fra
Design a generic topology
SmartCtrl 47
Once the file has been selected, the data is loaded to SmartCtrl and the magnitude and phase are displayed as depicted in the next figure.
And some additional data such as the output voltage (only in voltage mode control) and the switching frequency must be specified.
Click OK to continue.
Depending upon it is a current mode controlled or voltage mode controlled, the available sensors are the following:
Design a generic topology
48 SmartCtrl
Voltage mode controlled
Voltage divider
Embedded Voltage Divider
Isolated V. sensor
Current mode controlled
Current sensor
Hall effect sensor
Finally, it is necessary to select the compensator.
Compensator types:
Type 3 Unattenuated
Type 2
Type 2 unattenuated
PI
PI unattenuated
Single Pole
Single Pole unattenuated
Once the system has been defined, SmartCtrl calculates the solutions map in which all the possible combinations of crossover frequency and phase margin that lead to stable solutions are shown graphically.
To continue, click on set and the solutions map will be displayed. After that, select a point within the stable solutions area (white area) and then click OK.
Nowthe spane
w confirm thsystem in tels window f
he design anerms of frefor detailed
nd the progequency resd informatio
gram will asponse, tranon).
Sm
automaticallnsient respo
Design a g
artCtrl
y show theonse. (See G
generic topo
e performanGraphic and
ology
49
nce of d text
Design a generic topology
50 SmartCtrl
Cha
Smarsyste
It is a
In ortransmean
Firsttwo d
apter5:
rtCtrl allowem, since it
also availab
rder to desigsfer functionns of the def
, the user mdifferent op
Import a
Define aTo checkEditor B
Additionclicking
Des
ws the desigis possible
ble at:
gn a genericns is needefinition of t
must define tptions:
a previous d
a new transfk the syntax
Box.
nally, there on "set defa
signage
gn of a gento define th
c control syed. The defithe algebraic
the s-domai
design (click
fer function x rules of th
is a predefinfaults".
enericc
neric controhe whole sys
ystem, the dfinition of ec s-domain
in transfer f
k on open)
(click on edhe equation e
ned transfer
Desi
Sm
controls
ol system rstem with th
definition ofeach compotransfer fun
function of t
ditor). editor, plea
r function th
ign a generi
artCtrl
system
egardless thhe equation
f all the sysonent can bnction.
the plant, ch
se refer to C
hat can be lo
ic control sy
he nature on editor.
stem compobe carried o
hoosing am
Chapter 12:
oaded by
ystem
51
of the
onents out by
mongst
Design a generic control system
52 SmartCtrl
Once the equation has been introduced:
Click on "Save" to save the mathematical equations in a text file with extension .tromod
Click on "compile" to continue and the Bode plot will appear on the right side of the window.
If desired, the frequency response of the transfer function can be exported as a .txt file by clicking on "Export transfer function".
If default option "Bode plot" is selected, the frequency response of the previously defined transfer function is shown on the right hand side panels.
To check the gain, phase and rectangular components of the frequency response at a particular frequency, the option "One frequency" is frequency is provided. As depicted in the following figure: first "one frequency" must be selected, secondly the frequency should be specified and finally, click on compile and the gain, phase and rectangular components at the specified frequency are shown below.
Rightrans
ht afterwardsfer function
s of the plan by means
ant definitionof the equa
n, the sameation editor.
Desi
Sm
e process is
ign a generi
artCtrl
needed to d
ic control sy
define the s
ystem
53
sensor
Design a generic control system
54 SmartCtrl
And finally, the compensator must be selected to complete the definition of the system components.
Once the compensator type is set, the Solutions Map will help the user to select the phase margin and the crossover frequency.
Cha
For einputcopecorreprogr
Let´sthat belowthem
The D
apter6:
every DC-Dt parameterating poin
espond to thram will be
s consider athe paramew the conve
m will be inp
DC-DC ava
Buck
Boost
Buck-Boo
Flyback
Forward
DC‐
DC converters and alsnt. For anhe white shae shown in th
any of the aeters which erter image.put data and
ailable plant
ost
‐DCPlan
er, the inputso providesy of the
adowed boxhe grey sha
available codefine the
Dependingd some other
ts are the fo
nts
t data windos useful inconsidered
xes, and the adowed box
onverters. Ie steady-statg on the toprs will be ou
ollowing:
Sm
ow allows tnformation
DC-DC tadditional ies.
In the followte dc operaology consiutput data.
artCtrl
he user to ssuch as t
topologies, information
wing picturating point idered in ea
DC-DC P
select the dethe steady
the input n provided b
re it can beare placed
ach case, som
Plants
55
esired state data
by the
e seen right
me of
DC-DC Plants
56 SmartCtrl
6.1 Buck
When a single loop control scheme is used, the magnitude to be controlled in a buck converter can be either the output voltage or the inductance current. Both possibilities have been included in SmartCrl. If the control technique is peak current mode control, the current is sensed in the inductor, as shown in the table. The schematics are shown below.
VoltageModeControlledBuck L‐CurrentSensedBuck
Peak Current Mode Control
In the case of an average current control scheme, two magnitudes must be sensed simultaneously, a current and the output voltage. The resultant buck scheme is the following:
Buck (LCS‐VMC)
The input data window allows the user to select the desired input parameters and provides useful information such as the steady state dc operating point. This information is placed right below the converter image.
Two examples of the input data window are shown below, in each of them, the white shadowed boxes correspond to the input data boxes while the grey shadowed ones correspond to the additional information provided by the program.
Please, note that the input data is different in case of a voltage controlled plant (output voltage is an input) or a current controlled plant (in this case the current to be controlled is the input data). An example of the input data windows is provided below:
The p
Stead
In
In
parameters
dy-state dc
Conducti
D
nput Data
Input Data
nput Data
shown in th
operating p
ion Mode
Duty Cycle
IL avg
IL max
IL min
Io avg
Vo
Window of
a Window o
Window of
he input dat
point
It can be C
ton/T of the
Inductance
Maximum
Minimum
Output ave
Output vol
f a Voltage
of a Peak C
f a Current
ta windows
Continuous o
e active swit
e average cu
value of th
value of the
erage curren
ltage (V)
Sm
Mode Con
Current Mo
Mode Con
are defined
or Discontin
tch
urrent (A)
e inductanc
e inductance
nt (A)
artCtrl
trolled Buc
del Control
trolled Buc
d below:
nuous
ce switching
e switching
DC-DC P
ck
l
ck
g ripple (A)
g ripple (A)
Plants
57
DC-DC Plants
58 SmartCtrl
Other parameters of the converter
Vin Input Voltage (V)
RL Equivalent Series Resistor of the Inductance (Ohms)
L Inductance (H)
Rc Equivalent Series Resistor of the output capacitor (Ohms)
C Output Capacitor (F)
R Load Resistor (Ohms)
Po Output Power (W)
FSW Switching frequency (Hz)
DC-DC Plants
SmartCtrl 59
6.2 Boost
There are three possible magnitudes to be controlled in the boost converter when a single loop control scheme is selected. This is the output voltage, the inductor current and the diode current. The corresponding schematics are the following:
Voltage Mode Controlled Boost Converter
L‐current sensed Boost Converter
Diode Current Sensed Boost Converter
In the case of a peak current mode control (PCMC), the output voltage and a current must be sensed simultaneously.
Boost (PCMC)
In the case of an average current control scheme, the output voltage and a current must be sensed simultaneously. The available plants for an average current mode control are included below:
Boost (LCS‐VMC)
Boost (DCS‐VMC)
DC-D
60 S
The proviis pla
Two shadocorre
Pleasvoltais the
The p
Stead
DC Plants
SmartCtrl
input data ides useful aced right b
examples oowed boxeespond to th
se, note thaage is an inpe input data
In
In
parameters
dy-state dc
Condu
window ainformation
below the co
of the inpues corresponhe additiona
at the input put) or a cura). An examp
nput Data W
an
nput Data W
shown in th
operating p
uction Mod
allows the un such as thonverter ima
t data windnd to the ial informatio
data is differrent controple of the in
Window of
nd of a Pea
Window of
he input dat
point
e It can be
user to selhe steady staage.
dow are shoinput data bon provided
ferent in casolled plant (nput data w
a Voltage
k Current M
a Current
ta windows
e Continuou
lect the desate dc opera
own below, boxes whil
d by the pro
se of a volta(in this case
windows is p
Mode Cont
Mode Cont
Mode Cont
are defined
us or Discon
sired input ating point. T
in each of e the grey gram.
age controllthe current
provided bel
trolled Boo
rol
trolled Boo
d below:
ntinuous
parametersThis inform
f them, the shadowed
led plant (ot to be contrlow:
ost
ost
s and mation
white ones
output rolled
DC-DC Plants
SmartCtrl 61
Duty Cycle ton/T of the active switch
IL avg Inductance average current (A)
IL max Maximum value of the inductance switching ripple (A)
IL min Minimum value of the inductance switching ripple (A)
Io avg Output average current (A)
Vo Output voltage (V)
Other parameters of the converter
Vin Input Voltage (V)
RL Equivalent Series Resistor of the Inductance (Ohms)
L Inductance (H)
Rc Equivalent Series Resistor of the output capacitor (Ohms)
C Output Capacitor (F)
R Load Resistor (Ohms)
Po Output Power (W)
FSW Switching frequency (Hz)
DC-DC Plants
62 SmartCtrl
6.3 Buck‐�oost
In a single loop control scheme there are three possible magnitudes to be controlled in the buck-boost converter. This is the output voltage, the inductor current and the diode current. The corresponding schematics are the following:
Voltage Mode Controlled Buck‐Boost Converter
L‐current sensed Buck‐Boost Converter
Diode Current Sensed Buck‐Boost Converter
In the case of an average current mode control scheme or a peak current mode control (PCMC), the magnitudes sensed are the output voltage and the L current.
Buck‐Boost (LCS‐VMC)
Buck‐Boost (PCMC)
The input data window allows the user to select the desired input parameters and provides useful information such as the steady state dc operating point. This information is placed right below the converter image.
Two examples of the input data window are shown below, in each of them, the white shadowed boxes correspond to the input data boxes while the grey shadowed ones correspond to the additional information provided by the program.
Please, note that the input data is different in case of a voltage controlled plant (output voltage is an input) or a current controlled plant (in this case the current to be controlled is the input data). An example of the input data windows is provided below:
DC-DC Plants
SmartCtrl 63
Input Data Window of a Voltage Mode Controlled Buck‐Boost
and for a Buck‐Boost with a Peak Current Mode Control
Input Data Window of a Current Mode Controlled Buck‐Boost
The parameters shown in the input data windows are defined below:
Steady-state dc operating point
Conduction Mode It can be Continuous or Discontinuous
Duty Cycle ton/T of the active switch
IL avg Inductance average current (A)
IL max Maximum value of the inductance switching ripple (A)
IL min Minimum value of the inductance switching ripple (A)
DC-DC Plants
64 SmartCtrl
Io avg Output average current (A)
Vo Output voltage (V)
Other parameters of the converter
Vin Input Voltage (V)
RL Equivalent Series Resistor of the Inductance (Ohms)
L Inductance (H)
Rc Equivalent Series Resistor of the output capacitor (Ohms)
C Output Capacitor (F)
R Load Resistor (Ohms)
Po Output Power (W)
FSW Switching frequency (Hz)
DC-DC Plants
SmartCtrl 65
6.4 Flyback
In a single loop control scheme, the magnitude to be controlled in a Flyback converter can be either the output voltage or the diode current. Both possibilities have been included in SmartCtrl. The schematics are shown below:
Voltage Mode Controlled Flyback Diode Current Sensed Flyback
In the case of a peak current mode control scheme(PCMC), the magnitudes sensed are the output voltage and the MOSFET current.
Flyback (PCMC)
In the case of an average current mode control scheme, the magnitudes sensed are the output voltage and the diode current.
Flyback (DCS‐VMC)
The input data window allows the user to select the desired input parameters and provides useful information such as the steady state dc operating point. This information is placed right below the converter image.
Two examples of the input data window are shown below, in each of them, the white shadowed boxes correspond to the input data boxes while the grey shadowed ones correspond to the additional information provided by the program.
Please, note that the input data is different in case of a voltage controlled plant (output voltage is an input) or a current controlled plant (in this case the current to be controlled is the input data). An example of the input data windows is provided below:
DC-DC Plants
66 SmartCtrl
Input Data Window of a Voltage Mode Controlled Flyback
and also for a Peak Current Mode Control Technique.
Input Data Window of a Current Mode Controlled Flyback
The parameters shown in the input data windows are defined below:
Steady-state dc operating point
Conduction Mode It can be Continuous or Discontinuous
Duty Cycle ton/T of the active switch
IL avg Inductance average current (A)
IL max Maximum value of the inductance switching ripple (A)
IL min Minimum value of the inductance switching ripple (A)
Io avg Output average current (A)
Vo Output voltage (V)
Other parameters of the converter
DC-DC Plants
SmartCtrl 67
Vin Input Voltage (V)
RL Equivalent Series Resistor of the Inductance (Ohms)
L Inductance (H)
Rc Equivalent Series Resistor of the output capacitor (Ohms)
C Output Capacitor (F)
R Load Resistor (Ohms)
Po Output Power (W)
FSW Switching frequency (Hz)
(*)N2 is the transformer secondary side number of turns
N1 is the transformer primary side number of turns
6.5 Forward
The magnitude to be controlled in a Forward converter can be either the output voltage or the inductance current. Both possibilities have been included in SmartCrl. The schematics are shown below:
Voltage Mode Controlled Forward L‐Current Sensed Forward
In the case of a peak current mode control(PCMC) scheme, the magnitudes sensed are the output voltage and the L current (sensed in the MOSFET).
Forward (LCS‐VMC)
In the case of an average current mode control scheme, the magnitudes sensed are the output voltage and the L current.
DC-DC Plants
68 SmartCtrl
Forward (LCS‐VMC)
The input data window allows the user to select the desired input parameters and provides useful information such as the steady state dc operating point. This information is placed right below the converter image.
Two examples of the input data window are shown below, in each of them, the white shadowed boxes correspond to the input data boxes while the grey shadowed ones correspond to the additional information provided by the program.
Please, note that the input data is different in case of a voltage controlled plant (output voltage is an input) or a current controlled plant (in this case the current to be controlled is the input data). An example of the input data windows is provided below:
Input Data Window of a Voltage Mode Controlled Forward
and for Peak Current Mode Control.
DC-DC Plants
SmartCtrl 69
Input Data Window of a Current Mode Controlled Forward
The parameters shown in the input data windows are defined below:
Steady-state dc operating point
Conduction Mode It can be Continuous or Discontinuous
Duty Cycle ton/T of the active switch
IL avg Inductance average current (A)
IL max Maximum value of the inductance switching ripple (A)
IL min Minimum value of the inductance switching ripple (A)
Io avg Output average current (A)
Vo Output voltage (V)
Other parameters of the converter
Vin Input Voltage (V)
RL Equivalent Series Resistor of the Inductance (Ohms)
L Inductance (H)
Rc Equivalent Series Resistor of the output capacitor (Ohms)
C Output Capacitor (F)
R Load Resistor (Ohms)
Po Output Power (W)
FSW Switching frequency (Hz)
(*)N2 is the transformer secondary side number of turns. N1 is the transformer primary side number of turns
Sens
70 S
Cha
7.1
Whe
7.2
The reguldivid
GiveR11,0Hz
ors
SmartCtrl
apter7:
Voltage
re:
Vref is th
Vo is the
Embedd
two resistolator. So, nder resistors
en the desir SmartCtrl is the follow
Sen
eDivider
Tl
I
he compensa
e DC-DC co
dedvolta
ors that forno sensor is are highlig
red output vcalculates t
wing:
nsors.
The Voltageevel to the r
ts transfer f
ator referenc
onverter outp
agedivid
rm the voltis represent
ghted in the
voltage, thethe resistor
r
V
V
e Divider mregulator vo
function cor
ce voltage
tput voltage
er
tage dividernted in the
compensato
e compensatRar. the tra
o ar
ref ar
V R
V R R
measures andoltage refere
rresponds to
( )rV
K sV
r (R11,Rar)correspond
or figure:
tor referencnsfer functi
11R
d adapts theence level.
o the follow
ef
oV
) are embeding box. A
ce voltage aion of the v
e output vo
wing equatio
edded withiAnd the vo
and the valvoltage divid
ltage
on:
in the oltage
lue of der at
7.3
The transDC t
Whe
Ggivenvolta
Gain
fpK
7.4
If thethis r
This
Isolated
Isolated vosfer functiontopologies.
( )K s
re:
Gain is then by the oage.
o
ref
Vn
V
is the pole f
Resistiv
e current isresistor: Rs.
resistor is r
dVoltage
oltage senson is describ
)1
2· ·
Gainsf
e sensor gaoutput and
frequency in
veSensor
sensed usi.
represented
UC385
UC3854A
eSensor
or is a volted below. I
n
fpK
ain at 0dBd the refere
n Hertz
r(Power
ng a resisto
in the pictu
54A multipli
A multiplier +
tage sensorIt is availab
B, its ence
rFactorC
or Rs, the c
( ) sK s R
ure of the po
ier + Boost P
+ Boost PFC
Sm
r that provile for the fo
Corrector
urrent sens
ower plant,
PFC (resistive
(constant po
phase[o]
gain[dB] 20∙lo
0o
artCtrl
ides electricorward and
r)
or gain will
Rs:
e load).
ower load).
F
F
og(K)
‐
‐45o
Se
cal isolatiothe flyback
l be the val
Freq [Hz]
Freq [Hz]
‐20 dB/dc
/dc
‐90o
ensors
71
n. Its k DC-
lue of
Sensors
72 SmartCtrl
7.5 ResistiveSensor(PeakCurrentModeControl)
The resistator measures the inductor current and transforms the current into an equivalent voltage.
The sensor gain corresponds to its characteristic resistance value (Rs).
G=Rs
7.6 Halleffectsensor
The Hall effect is a current sensor represented through a generic transfer function box. Internally, its transfer function corresponds to the following equation:
( )1
2· ·
GainK s
sfpK
Where:
Gain is the sensor gain at 0dB.
fpK is the pole frequency in Hertz
7.7 CurrentSensor
The current sensor is represented by a generic transfer function box. Internally, the transfer function corresponds to a constant gain in V/A.
( )K s Gain
For example, if the current is sensed using a resistor Rs, the current sensor gain will be the value of this resistor:
( ) sK s R
Freq [Hz]
Freq [Hz]
phase[o]
gain[dB] 20∙log(K)
‐20 dB/dc
‐45o /dc
‐90o
0o
Cha
8.1
From
From
8.2
The P
apter8:
Modula
m top to bott
Vthc5
V
V
m top to bott
S
S
So
A
Modula
PWM modu
Mod
ator(Peak
tom, the mo
Vramp · Is this control t
current in or50%.
Vsensed · Is
Vc · Is the s
tom, the mo
Sn The i
Sf The i
Se Is theof Sn and S
Att Is the
ator(PWM
ulator is dis
dulator
kCurren
odulator inp
the charactetechnique. Trder to ensu
s the equiva
ensed regul
odulator des
inductor cha
inductor dis
e slope of th
e attenuation
M)
splayed as p
r
ntModeC
put signals a
eristic compThis compeure the syste
alent voltage
lator output
sign criteria
arge slope.
scharge slop
he compens
n applied to
part of the re
Sm
Control)
are defined a
pensation sloensation slopem stability
e of the sens
voltage.
a are defined
pe.
ation ramp,
o the regulat
egulator.
artCtrl
as follow:
ope used wipe is added
y with duty c
sed inductor
d as follow:
it is compu
tor output v
Modu
ith this typeto the sense
cycles abov
r current.
uted as func
voltage.
ulator
73
e of ed
ve
ction
Mod
74 S
Signa
dulator
SmartCtrl
al Ramp is
V
V
tr
F
T
defined by:
Vp Peak
Vv Valle
r Risin
Fsw Switc
Tsw Switc
voltage
ey voltage
ng time
ching freque
ching period
ency
d
Graphic and text panels
SmartCtrl 75
Chapter9: Compensators
9.1 Singlelooporinnerloop
9.1.1 Type3compensator
Input Data
R11(ohms) Its default value is 10 k
Vp(V) Peak value of the ramp voltage (carrier signal of the PWM modulator)
Vv(V) Valley value of the ramp voltage
Tr(s) Rise time of the ramp voltage
Tsw(s) Switching period
Output Data
The compensator components values (C1, C2, C3, R1, R2) are calculated by the program and displayed in the corresponding text panel
Graphic and text panels
76 SmartCtrl
9.1.2 Type3compensatorunattenuated
The voltage divider needed in order to adapt the sensed output voltage to the reference voltage is embedded within the compensator. It corresponds to R11 and Rar. This compensator configuration eliminates the attenuation due to the external voltage divider.
Input Data
R11(ohms) Its default value is 10 k
Vref(V) Reference voltage
Vp(V) Peak value of the ramp voltage (carrier signal of the PWM modulator)
Vv(V) Valley value of the ramp voltage
Tr(s) Rise time of the ramp voltage
Tsw(s) Switching period
Output Data
The compensator components values (C1, C2, C3, R1, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel
Graphic and text panels
SmartCtrl 77
9.1.3 Type2compensator
Input Data
R11(ohms) Its default value is 10 k
Vp(V) Peak value of the ramp voltage (carrier signal of the PWM modulator)
Vv(V) Valley value of the ramp voltage
Tr(s) Rise time of the ramp voltage
Tsw(s) Switching period
Output Data
The compensator components values (C2, C3, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
78 SmartCtrl
9.1.4 Type2compensatorunattenuated
The voltage divider needed in order to adapt the sensed output voltage to the reference voltage is embedded within the compensator. It corresponds to R11 and Rar. This compensator configuration eliminates the attenuation due to the external voltage divider.
Input Data
R11(ohms) Its default value is 10 k
Vref(V) Reference voltage
Vp(V) Peak value of the ramp voltage (carrier signal of the PWM modulator)
Vv(V) Valley value of the ramp voltage
Tr(s) Rise time of the ramp voltage
Tsw(s) Switching period
Output Data
The compensator components values (C1, C2, C3, R1, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel
Graphic and text panels
SmartCtrl 79
9.1.5 PIcompensator
Input Data
R11(ohms) Its default value is 10 k
Vp(V) Peak value of the ramp voltage (carrier signal of the PWM modulator)
Vv(V) Valley value of the ramp voltage
Tr(s) Rise time of the ramp voltage
Tsw(s) Switching period
Output Data
The compensator components values (C2, R2) are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
80 SmartCtrl
9.1.6 PIcompensatorunattenuated
The voltage divider needed in order to adapt the sensed output voltage to the reference voltage is embedded within the compensator. It corresponds to R11 and Rar. This compensator configuration eliminates the attenuation due to the external voltage divider.
Input Data
R11(ohms) Its default value is 10 k
Vref(V) Reference voltage
Vp(V) Peak value of the ramp voltage (carrier signal of the PWM modulator)
Vv(V) Valley value of the ramp voltage
Tr(V) Rise time of the ramp voltage
Tsw(s) Switching period
Output Data
The compensator components values (C2, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
SmartCtrl 81
9.2 Outerloopandpeakcurrentmodecontrol
9.2.1 Singlepolecompensator
Input Data
R11 Its default value is 10 k
Vsat Saturation voltage of the op-amp. In the case of the power factor corrector using a UC3854A multiplier, this value is equal to 6.0 V
Output Data
The compensator components values (C3, R2) are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
82 SmartCtrl
9.2.2 Singlepolecompensatorunattenuated
The voltage divider needed in order to adapt the sensed output voltage to the reference voltage is embedded within the compensator. It corresponds to R11 and Rar. This compensator configuration eliminates the attenuation due to the external voltage divider.
Input Data
R11 Its default value is 10 k
Vref Reference voltage. In the case of the power factor corrector using a UC3854A multiplier, this value is equal to 7.5 V
Vsat Saturation voltage of the op-amp. In the case of the power factor corrector using a UC3854A multiplier, this value is equal to 6.0 V
Output Data
The compensator components values (C3, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
SmartCtrl 83
9.2.3 Type3regulator
Input Data
R11 Its default value is 10 k
Output Data
The regulator components values (C1, C2, C3, R1, R2) and the resistor Rar are calculated by the program and displayed in the correspondingtext panel.
Graphic and text panels
84 SmartCtrl
9.2.4 Type3compensatorunattenuated
Input Data
R11 Its default value is 10 k
Vref Reference Voltage
Output Data
The compensator components values (C1, C2, C3, R1, R2) and the resistor Rar are calculated by the program and displayed in the correspondingtext panel.
Graphic and text panels
SmartCtrl 85
9.2.5 Type2compensator
Input Data
R11 Its default value is 10 k
Output Data
The compensator components values ( C2, C3, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
86 SmartCtrl
9.2.6 Type2compensatorunattenuated
The voltage divider needed in order to adapt the sensed output voltage to the reference voltage is embedded within the compensator. It corresponds to R11 and Rar. This compensator configuration eliminates the attenuation due to the external voltage divider.
Input Data
R11 Its default value is 10 k
Vref Reference Voltage
Output Data
The compensator components values (C2, C3, R2) and the resistor Rar are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
SmartCtrl 87
9.2.7 PIcompensator
Input Data
R11 Its default value is 10 k
Output Data
The compensator components values (C2, R2) are calculated by the program and displayed in the corresponding text panel.
Graphic and text panels
88 SmartCtrl
9.2.8 PIcompensatorunattenuated
The voltage divider needed in order to adapt the sensed output voltage to the reference voltage is embedded within the regulator. It corresponds to R11 and Rar. This regulator configuration eliminates the attenuation due to the external voltage divider.
Input Data
R11 Its default value is 10 k
Vref Reference Voltage
Output Data
The compensator components values (C2, R2) and the resistor Rar are calculated by the program and displayed in the correspondingtext panel.
Cha
The wtwo o
10.1
The of twFrequ
Ma
apter10
window is other are tex
The grap
B
B
P
T
The text
In
O
1 Bodepl
Bode plot iwo differentuency is plo
agnitude plo
Phase p
0: Gra
divided in sxt panels.
phic panels
Bode plot M
Bode plot Ph
Polar plot
Transient res
panels are:
nput Data
Output Data
lots
is used to ct graphs, thotted in a lo
ot (dB) PloveSm
plot (º) PlofreSm
aphican
six differen
are:
Magnitude (d
hase (º)
sponse plot
characterize he gain or mog axe.
ots the magrsus freque
martCtrl win
ots the phaequency. It martCtrl win
ndtextp
nt panels. Fo
dB)
the frequenmodule plot
gnitude of a ency. It is rendow.
ase of a givt is represendow.
Sm
panels
our of them
ncy responst and the ph
given transepresented i
ven transferented in th
Graphic
artCtrl
m are graphi
se of the syhase plot v
sfer functionin the uppe
r function ihe bottom
c and text p
ic panels an
ystem. It coversus frequ
n in decibeer left panel
in degrees left panel
panels
89
nd the
nsists uency.
ls (dB) l of the
versus of the
Grap
90 S
In Smplot. or se
Man
Addirepre
The pby cl
the d
CrosThe copen
Click
By ri
Meas
Two
phic and tex
SmartCtrl
martCtrl theTo represen
elect the cor
nual placem
itionally, wesented by m
Yellow c
Red c
Blue c
placement olicking and
design meth
ss frequencycross freque
n loop transf
k on right b
ight clicking
surement to
different ty
Ctrl + m
Shift+m
xt panels
ere are sevent any of th
rresponding
ment of poles
when a type means of thr
orresponds
orresponds
orresponds
of the aforedragging o
hod box mu
y ency of the fer function
button
g on each p
Q
ools
ypes of curs
mouse Kelinthethe
mouse Kedisanof
If tra
AdSman
en different hem, just cli
transfer fun
s and zeros
3 or type 2ree little squ
to fz
to fp
to fi
ementioned on each squ
st be selecte
open loop in of the syste
lot a new w
Copy
Export
Help
uick Help
sors are avai
eep the Ctrlnes are dispe mouse is pe graph area
eep the Shisplayed mod the cursothe tracked
you want toace.
dditionally, martCtrl wild phase) an
transfer funick on the cnction withi
s
2 is used, puares.
zeros and puare. To ena
ed.
is shown byem.
window is op
Copy de B
This optionfrequencie
Link to the
Shows a shdirectly on
ilable:
l key pressplayed and tplaced are ga.
ift key presodule tracesor will mead trace.
o track the
if the selell measure snd on the Ny
nctions thatorrespondinin the View
poles and ze
poles can beable this op
y means of a
pened with
ode Plot to
n allows exps response i
e on-line Sm
hort explanan the plot
ed and movthe two coogiven. You
ssed and pls. The cursosure simult
cursor to o
ected trace simultaneouyquist diagr
t can be plong icon of th
w Menu.
eros of the
e varied by tion manua
a pair of das
some additi
clipboard
porting the in several fo
martCtrl help
ations about
ve the mouordinates ofcan measur
lace the moor will trackaneously th
other trace, j
is open loously on bothram.
otted in the he View To
compensato
the designeal method t
shed lines o
ional option
data of the ormats.
p
t how to me
use. Two crf the point re at any po
ouse near ok itself to t
he phase an
just left clic
op transferh Bode plot
Bode oolbar
or are
er just tag in
on the
ns.
all
easure
rossed red on which
oint within
one of the that trace,
nd module
ck on that
function, ts (module
10.2
The Nfrequ
For eSo, tphase
In tercriterrespoloop
In Smcircle
2 Nyquist
Nyquist diauency respo
each , thethe gain at te is the corr
rms of stabrion of the onse. This isystem wil
martCtrl thee is provide
tdiagram
agram, togeonse of a lin
e resulting othis is thresponding
bility, the poclosed loop
is, if the opel be unstabl
e designer ed (in blue).
m
ether with thear system.
open loop the distanceangle.
olar Nyquistp system sten loop tranle for any en
can determ
he Bode plo
transfer fune from the r
t diagram ptability basensfer functioncirclement
mine the sys
Sm
ots, is a gra
nction is reprepresented
provides a ged on the oon is stable t of the poin
stem stabilit
Graphic
artCtrl
aphical repre
presented aspoint to the
graphic and open loop sy
(no RHP pnt (-1, j0).
ty at a glan
c and text p
esentation o
s Im(T) vs e origin, an
easy to evaystem frequ
poles), the c
nce since a
panels
91
of the
R(T). nd the
aluate uency closed
unity
Grap
92 S
Poles
Poles
How
Zoom
A zomousthe o
Copy
The optiocopy
Click
By ri
phic and tex
SmartCtrl
s and zeros
s and zeros
Yellow c
Red c
Blue c
wever, unlike
m
oom-in and se within th
outer circle b
y to clipboa
same way aon is availaby the current
k on right b
ight clicking
xt panels
s
of the comp
orresponds
orresponds
orresponds
e in the Bod
zoom-out the white areboth in dB a
ard
as in the Boble throught graph to th
button
g on each p
Q
pensator are
to fz
to fp
to fi
de plots, the
tool has beeea of the poland natural
ode plots anh right clickhe clipboard
lot a new w
Copy
Help
Quick Help
e represente
ey cannot be
en implemelar plot. Thscale.
nd the transik on the pod.
window is op
Copy de B
Link to the
Shows a shdirectly on
ed by means
e placed ma
ented by lefe relative sc
ient responsolar plot are
pened with
ode Plot to
e on-line Sm
hort explanan the plot
s of three lit
anually.
ft-clicking acale is given
se plots, a ce that will a
some additi
clipboard
martCtrl help
ations about
ttle squares
and dragginn by the rad
copy to clipballow the us
ional option
p
t how to me
.
ng the dio of
board ser to
ns.
easure
Meas
Two
surement to
different ty
Ctrl + m
Shift+m
ools
ypes of curs
mouse Keelinemougrap
mouse Keedispthe track
If ytrac
AddSmaand
sors are avai
ep the Ctrl s are displause is placeph area.
ep the Shiftplayed moducursor will ked trace.
ou want to e.
ditionally, iartCtrl will phase) and
ilable:
key presseayed and theed are given
ft key pressule traces. Tmeasure si
track the c
if the selecmeasure si
d on the Nyq
Sm
ed and move two coordn. You can m
sed and plaThe cursor wimultaneous
cursor to ot
cted trace iimultaneousquist diagram
Graphic
artCtrl
ve the mousdinates of thmeasure at
ace the mowill track itsly the phas
ther trace, j
is open loosly on both m.
c and text p
se. Two crhe point on
any point w
ouse near otself to that se and mod
ust left clic
op transfer h Bode plots
panels
93
rossed red which the within the
one of the trace, and
dule of the
ck on that
function, s (module
Grap
94 S
10.3
Tranare uTherhelp
In Smcan bselec
By ri
Expo
This couldclick
phic and tex
SmartCtrl
3 Transie
nsient responusually criticrefore, provithe designe
martCtrl thebe plotted
cting the cor
ight clicking
ort
option allod be either
k on the tran
Time shi
This opti
Print step
This optstep is mreduce th
xt panels
entrespo
nse specificcal specificaiding a quicer during the
e three mosjust by cli
rresponding
g on the tran
ows the use.txt or .smv
nsient respon
ift:
ions allows
ep:
tion allows multiplied byhe size of th
onseplot
cations, suchations whenck view to te design pro
st significanicking on tg transient re
nsient respo
er to exporv format. It nse panel.
the user to
modifying y 2, only onhe output fil
h as setting n designing the transientocess.
nt transient the correspoesponse wit
onse plot, th
rt the curreis placed w
shift the tim
the numberne point perle.
time and vothe control
t response o
responses honding iconthin the Vie
he following
ent transientwithin the m
me axis
r of points r two ones
oltage peak stage of a p
of the conve
have been dns of the Vew Menu.
g options ar
t responses enu display
to be expowill be save
transient vapower converter may gr
developed. View Toolb
re displayed
s to a file wyed through
orted. If the ed. This he
alues, verter. reatly
They bar or
d.
which h right
print lps to
Copy
This
Mod
This param
Smardesigslide
Time
Freqfrequnumbtime.
y
allows the
dify transien
option allometers of th
rtCtrl makegn. By righters are displa
e step: This
quency resouency respober of samp. Therefore,
user to copy
nt paramete
ows the ushe computat
es an automt clicking oayed so that
option allow
olution: Theonse of the pled points, , the trade-o
y the curren
ers
ser to custotion algorith
matic selectn the transit the user is
ws modifyin
e transient power conwhich mea
off can be co
nt graphs in
omize the thm
tion of theient plot ands able to cus
ng the time
response cnverter. Theans higher aonsidered b
Sm
the clipboa
transient re
e parameterd selection stomize the
interval be
computatione higher theaccuracy buby the user.
Graphic
artCtrl
ard
sponse plot
s as the usthe Customsettings list
tween data
n is based oe resolution
ut also longe
c and text p
t as well a
ser modifiem option, a ted bellow.
points.
on samplinn, the higheer computat
panels
95
as the
es his set of
ng the er the tional
Grap
96 S
Showwindresol
A zo“time
In ad
Freqdeterfrequ
Bandthe ttrans
phic and tex
SmartCtrl
wn time: Thdow. The mlution.
oom effect ce step” para
ddition, the
quency step:rminate byuency step m
dwidth: It dime step se
sient plot.
xt panels
his option amaximum va
could be obameter and f
following in
: The frequy the frequmay lead to
determinateselected by t
allows the alue is limi
btained by dfinally incre
nformation
ency separauency resol
an incorrec
s the maximthe user. An
user to moited by the
decreasing easing the “
is displayed
ation betwelution and ct transient p
mum sampln excessive
odify the timtime step m
the “shown“frequency r
d for inform
een two samthe bandw
plot.
ed frequencely low valu
me period multiplied b
n time”, decresolution”
mative purpo
mpled frequewidth. An
cy and is diue may lead
displayed iby the frequ
creasing alsif necessary
oses.
ency pointsexcessive
irectly relatd to an inco
in the uency
so the y.
s. It is high
ted to orrect
10.4
The powe
4 Steady‐
"steady-staer plant and
Power
PWM m
Peak cu
statewa
ate waveford the modula
stage wavef
modulator w
urrent mode
veform
rm" panel ator once th
forms.
waveforms.
e control mo
displays thhe steady sta
T
The
odulator wa
The
In thVsiloutp
Sm
he most sigate is reache
The available
Induc
Induc
Ou
e available w
Carr(V)
Mod(V)
PWM (voltage
aveforms.
e available w
Vc(t): M
Vcr(t): C
Vsensecurrent
he case of Fl(t) signal is aput filter indu
PWM (Vvoltage
Graphic
artCtrl
gnificant waed.
e wave forms
ctor voltage ctor and diod
tput voltage
waveforms ar
): Carrier sig
): Modulating
V): MOSFETe
ave forms ar
Modulating sig
Compensatin
d(t): Sensedor inductor c
orward convalso plotted tuctor current.
V): MOSFET
c and text p
aveforms o
s are:
de current
re:
gnal (ramp)
g signal
T gate
re:
gnal
ng ramp
d MOSFET current.
verter, to show the .
T gate
panels
97
of the
Grap
98 S
Mea
Two
Ctrl +
mou
Shift
10.5
Two the etype
Text butto
The poweetc...
The compits pcharafrequ
phic and tex
SmartCtrl
surement t
different ty
+
se
Ke
dis
are
t+mouse Ke
mo
me
If y
5 Textpa
text panelselements thaof regulator
panels areons in the m
Input Dataer stage par
Output Dapensator. Tholes and zeacteristics. Tuency.
xt panels
tools
ypes of curs
ep the Ctrl
splayed and
e given. You
ep the Shift
odule traces
easure the t
you want to
anels
s are availaat compose r, type of se
e shown thrmain toolbar
View menu
a Panel sumrameters, th
ata Panel she regulatoreroes, are uThat is, the
sors are ava
key pressed
d the two co
u can measu
t key presse
s. The curso
two coordin
o track the c
able to provthe whole c
ensor, etc.
rough the V:
u
mmarizes thhe steady-st
shows the r resistors aupdated in
e phase mar
ailable:
d and move
oordinates o
ure at any p
ed and place
or will track
nates.
cursor to ot
vide a compcircuit as we
View Menu
Icon
Icon
he input partate dc ope
numerical and capacito
real time. rgin, gain m
e the mouse
of the point
point within
e the mous
k itself to tha
her trace, j
plete list of ell as some
u or by clic
M
n Open
n Opens
rameters ofrating poin
informationors values aIn addition
margin and a
e. Two cross
t on which t
the graph
e near one
at trace, an
ust left click
the numeriselection p
cking on th
Main tool ba
s Input Data
s Output Da
f the convet, the regul
n about theas well as thn, the mostattenuation
sed red line
the mouse i
area.
of the disp
nd the curso
k on that tra
ical values arameter su
he correspon
ar
a Panel
ata Panel
erter such alator param
e design ohe frequenct importantat the swit
es are
is placed
layed
or will
ace.
of all uch as
nding
as the meters,
of the ies of loop ching
Graphic and text panels
SmartCtrl 99
The following example shows the text panels contents for a Forward converter with double loop control. Therefore, input and output information regarding the inner and outer loop is provided
Input data panel. Output data panel.
The following example shows the text panels contents for a Forward converter with double loop control. Therefore, input and output information regarding the inner and outer loop is provided
INPUT DATA PANEL
Text shown in the panel Description
INPUT DATA
DC-DC double loop (outer loop)
--------------------------------------
Frequency range (Hz) : (1, 999 k)
Cross frequency (Hz) = 10 k
Phase margin (°) = 65
Plant
--------------------------------------
(inner loop)
Frequency range
Minimum and maximum frequency to be plotted in the graphic panels.
Cross frequency
Selected crossover frequency for the open loop gain of the outer loop (0 dB crossing frequency).
Phase margin
Selected phase margin for the open loop gain.
Plant
The type of converter is shown. In the case of double loop control, the outer loop plant is the inner loop closed loop transfer function.
Graphic and text panels
100 SmartCtrl
INPUT DATA PANEL (Cont I)
Text shown in the panel Description
Sensor
--------------------------------------
Isolated voltage sensor
Vref/Vo = 0.0892857
HFPole(Hz)= 500 G
Sensor:
--------------------------------------
Ra (Ohms) = 30.3413
Rb (Ohms) = 94.8168
Pa (Watts) = 21.0933 m
Pb (Watts) = 65.9166 m
Compensator
--------------------------------------
Type 3
R11(Ohms) = 10000
Vref(V) = 2.5
Vsat_minimum(V) = 13
Steady-state dc operating point
--------------------------------------
IC_C3(V) = -7.5
IC_C2(V) = -7.5
IC_C1(V) = 0
Sensor
The type of outer loop voltage sensor is shown. In the case isolated voltage sensor, the sensor gain and the cut-off frequency are provided.
When a voltage divider is used as voltage sensor, the resistor values (Ra, Rb) and its power dissipation are given:
Compensator
The type of outer loop compensator is shown. User´s input values are shown: Input impedance resistor, R11, the reference voltage, Vref and the error amplifier saturation voltage are provided.
Steady-state dc operating point
The initial conditions for the regulator capacitors are provided.
INPUT DATA PANEL (Cont II)
Text shown in the panel Description
INPUT DATA
DC-DC double loop (inner loop)
--------------------------------------
Frequency range (Hz) : (1, 999 k)
Cross frequency (Hz) = 20 k
Phase margin (°) = 60
Frequency range
Minimum and maximum frequency to be plotted in the graphic panels.
VO
Ra
Rb
VFB
Pa
Pb
Graphic and text panels
SmartCtrl 101
INPUT DATA PANEL (Cont III)
Text shown in the panel Description
Plant
--------------------------------------
Forward (LCS_VMC)
R (Ohms) = 2.8
L (H) = 14 u
RL(Ohms) = 1 n
C (F) = 2.2 m
RC(Ohms) = 1 n
Vin (V) = 270
Vo (V) = 28
Fsw (Hz) = 100 k
Nt = 218 m
Steady-state dc operating point
--------------------------------------
Mode = Continuous
Duty cycle= 0.475705
Vcomp(V) = 2.18926
IL (A) = 10
ILmax(A) = 15.2429
ILmin(A) = 4.75705
Io (A) = 10
Vo (V) = 28
Sensor
--------------------------------------
Current sensor
Gain = 1
Compensator
--------------------------------------
Type 3
Gmod = 0.4
R11i(Ohms)= 10000
Vp(V) = 3
Vv(V) = 1
tr(sec) = 8e-006
Steady-state dc operating point
--------------------------------------
IC_C3_i(V) = 7.81074
IC_C2_i(V) = 7.81074
IC_C1_i(V) = 0
Cross frequency
Selected crossover frequency for the open loop gain of the inner loop (0 dB crossing frequency).
Phase margin
Selected phase margin for the open loop gain.
Plant
The type of converter and the type of control are shown. The abbreviation LCS-VMC is referred to “inductor current sensed – Voltage mode Control”. The values of power stage parameters are provided.
Steady-state dc operating point
Mode indicates de conduction mode of the converter.
Vcomp is the steady state voltage at the output of the operational amplifier of the regulator.
IL is the average value of the inductor current.
ILmax is the maximum value of the inductor current.
ILmin is the minimum value of the inductor current.
Io is the output DC current of the converter.
Vo is the output DC voltage of the converter
Sensor
The type of inner loop current sensor voltage sensor is shown. In the case of “current sensor”, the sensor gain is provided.
Compensator and PWM modulator parameters
The type of outer loop compensator is shown. User´s input values are shown:
Input impedance resistor: R11i,
Ramp parameters: Peak voltage value (Vp), valley voltage value (Vv), rise time (Tr). Gmod is the small signal gain of the modulator.
Steady-state dc operating point (regulator initial conditions)
The initial conditions for the regulator capacitors are provided.
Graphic and text panels
102 SmartCtrl
OUTPUT DATA PANEL – Operational amplifier based regulator
Text shown in the panel Description
RESULTS
Regulator (Analog):
--------------------------------------
R1 (Ohms) = 6.03942 k
R2 (Ohms) = 902.951 k
C1 ( F ) = 1.61707 n
C2 ( F ) = 28.7245 p
C3 ( F ) = 17.3479 p
fz1 ( Hz ) = 6.13625 k
fz2 ( Hz ) = 6.13625 k
fp1 ( Hz ) = 16.2966 k
fp2 ( Hz ) = 16.2966 k
fi ( Hz ) = 345.445 k
b2 ( s^2) = 6.72719e-010
b1 ( s ) = 5.18736e-005
b0 = 1
a3 ( s^3) = 4.39429e-017
a2 ( s^2) = 8.99901e-012
a1 ( s ) = 4.60725e-007
a0 = 0
Loop performance parameters:
--------------------------------------
PhF ( Hz ) = 23.6721 k
GM ( dB ) = 11.506
Atte( dB ) = 6.55592
Components values
The resistor and capacitor values are provided.
Poles and zeroes frequencies
The frequencies of the regulator poles and zeroes are given accordingly to expression (1).
s s1 1
2 fz1 2 fz2R ( )3 s s s1 1
2 fi 2 fp1 2 fp2
sT
(1)
s-domain coefficients
The coefficients of an equivalent s-domain transfer function (2) are given:
22 1 1R ( )3 3 23 2 1 1
b s b ssT a s a s a s
(2)
Loop performance parameters
At PhF frequency, the phase of the open loop gain, reaches -180º.
GM. Gain margin
Atte. Attenuation of the gains product sensor x regulator at the switching frequency.
Graphic and text panels
SmartCtrl 103
OUTPUT DATA PANEL – Digital control
Text shown in the panel Description
RESULTS
Compensator (Analog):
--------------------------------------
R1 (Ohms) = 2.32153 k
R2 (Ohms) = 36.6071 k
C1 ( F ) = 2.36137 n
C2 ( F ) = 794.811 p
C3 ( F ) = 184.518 p
fz1 ( Hz ) = 5.47005 k
fz2 ( Hz ) = 5.47005 k
fp1 ( Hz ) = 29.0323 k
fp2 ( Hz ) = 29.0323 k
fi ( Hz ) = 16.2514 k
b2 ( s^2) = 8.4656e-010
b1 ( s ) = 5.81914e-005
b0 = 1
a3 ( s^3) = 2.94311e-016
a2 ( s^2) = 1.07374e-010
a1 ( s ) = 9.79329e-006
a0 = 0
Compensator (Digital):
--------------------------------------
b0 = 3.54492
b1 = -2.625
b2 = -3.48438
b3 = 2.68359
a0 = 1
a1 = -1.92383
a2 = 1.13672
a3 = -0.212891
Regulator (Digital).
Only in SmartCtrl - Pro
z-domain coefficients
The Type 3 regulator in z-domain can be expressed as the following transfer function:
3 20 1 2 3R ( )3 3 20 1 2 3
b z b z b z bzT a z a z a z a
When a0 = 1, the output y and the input u can be expressed by the following difference equation:
0 1 1 2 2 3 3
1 1 2 2 3 3
y n b u n b u n b u n b u n
a y n a y n a y n
Graphic and text panels
104 SmartCtrl
OUTPUT DATA PANEL – Digital control (Cont I)
Text shown in the panel Description
Sensor:
--------------------------------------
Ra (Ohms) = 30.3413
Rb (Ohms) = 94.8168
Pa (Watts) = 21.0933 m
Pb (Watts) = 65.9166 m
Loop performance parameters:
--------------------------------------
PhF ( Hz ) = 2.63194 k
GM ( dB ) = -36.5853
Atte( dB ) = 2.73095
Cha
The a
In orstablthe soperaThe t
Addithe b
Boun
The bminim
In ter
apter11
appropriate
rder to easele solutions selected plaating area” two parame
Just by cstable so
The inpu
And so ibackgrouswitchin
itionally, whboxes backg
ndaries
boundaries,mum phase
The simpthe lowefunction
The uppeprovided
rms of frequ
1: Solu
selection o
e the first aspace has
ant, sensor of the diffe
eters involve
clicking witholution is se
ut boxes (wh
is the attenuund) and rep
ng frequency
hen any of ground is red
, that determe margin tha
ple integratoer PM limit
without reg
er limit of td by each ki
uency, the s
utionsM
of fcross and P
attempt whebeen develoand type orent combined are repre
hin the whitlected.
hite backgro
uation achievpresents they.
the three afd-colored in
mine the vaat can be ach
or is a partiby adding 9gulator (plan
he solution ind of comp
solutions sp
Maps
PM is one o
en designinoped underof regulatornations of fc
esented as P
te area, a se
ound) are au
ved at fsw be attenuation
forementionn order to dr
alid area (whieved for a
cular case o90 degrees tant, sensor a
map is givepensator (blu
pace is limit
Sma
of the key is
ng a controlr the name or, the solut
fcross and PMPM vs frequ
et of (fcross a
utomatically
ox. It is an n achieved
ned values iraw the des
hite area), rany kind of
of any regulto the phaseand modulat
en by the mue line).
ed by the sw
artCtrl
ssues for loo
l loop, an eof solutionstions map p
M that lead toency.
and PM) tha
y updated
output paraby the open
s uncommoigner attent
represent thcompensato
lator, therefoe of the opentor) (green l
maximum ph
witching fre
Solutions
op optimiza
estimation os map. Baseprovides a o stable sys
at lead to an
ameter (greyn loop at the
only low or tion.
he maximumor.
fore it provin loop transline).
hase boost
equency, fsw
s Map
105
ation.
of the ed on “safe
stems.
n
y e
high,
m and
des sfer
w.
Solutions Map
106 SmartCtrl
When the first design point has been selected within the “Solution Map”, SmartCtrl shows its main screen. In the main screen the solutions Map will be shown as a floating window. The position of this window can be changed by the user by right clicking on the Solution Map window plus mouse move. Important Warning messages will be shown in the bottom part of the Solution Map window.
Editor box
SmartCtrl 107
Chapter12: Editorbox
Following are detailed the rules of procedure of the editor.
1. There are two types of instructions: assignment and return.
2. Only one instruction per line is permitted (whether it is assignment or return).
3. Blank lines are allowed.
4. Rules for naming variables in assignment instruction:
a. The names must begin with an alphabetic character.
b. The name can be formed of alphabetic or numeric characters, or underscore.
c. The names sqrt, pow, return and PI are reserved names that cannot be used as variable names.
5. Rules related to mathematical expressions:
a. Valid operator for algebraic expressions are +, -, *, /.
b. Expressions can use grouping parentheses.
c. The available built-in functions are:
sqrt(a) calculates the square root of a
pow(a, b) calculates 'a' raised to 'b'.
d. Algebraic expressions can include the built-in functions.
Editor box
108 SmartCtrl
Import and export transfer function
SmartCtrl 109
Chapter13: Importandexporttransferfunction
13.1 Export
13.1.1 Exporttransferfunction
SmartCtrl provide three different exporting options which are available under the export item of the File Menu. The first of the exporting options is export transfer functions
which is also available through left click on the icon placed in the main toolbar.
Any of the transfer functions available can be exported to a .txt file. To do that, the designer must select the function to export within the available list and set the options of the file in the corresponding dialogue box.
The addressed file is formed by three columns containing the frequency vector, the module in dB and the phase in degrees respectively.
The file options and characteristics are contained in the "Exporting transfer function dialogue box" and they are described below:
Import and export transfer function
110 SmartCtrl
File Header It contains the name of the three columns of the file.
Export function between The designer is able to set the frequency range of the exported transfer function
Number of points Number of points to be saved in the file
Points will be equi-spaced along a:
Logarithmic scale in the frequency axis
Decimal scale in the frequency axis
Data separated by:
tabs
spaces
commas
13.1.2 ExporttoPSIM
SmartCtrl provides a link with PSIM software. Once the regulator has been designed, the power stage and the compensator can be exported to PSIM, providing an automatic generation of the schematic and/or an exportation of the parameters of the design performed in SmartCtrl. This schematic can be used to validate the design using PSIM.
There are three different options for exporting to PSIM, which are briefly described below:
Export to PSIM (schematic)
The designer is able to export the parameters of the design to a PSIM schematic that is automatically generated by the program.
In thwhicPSIM
In th
Comp
he first step tch the schemM file will b
e next step,
mpensator ex
“Compocompenamplifie“simulatPSIM si
the user wilmatic will b
be created w
the user wi
xporting wa
onents (R1,nsator will er and pastion issues”imulations.
ll be asked tbe inserted
with the nam
ill be asked
ay
C1, ... arebe exporte
ssive comp” in this se
to select thed. If the fileme provided
d to choose b
e given)”: edwith an
ponents) likection in or
Import
Sma
e path and te has not alby the user
between dif
the schemaanalog im
ke in the rder to get
and export
artCtrl
he name of lready beenr.
fferent optio
atic and pamplementati
following some tips
transfer fun
f the PSIM fn created, a
ons:
arameters oion (Operat
example.Cto speed u
nction
111
file in a new
of the tional
Check up the
Impo
112
ort and expo
SmartCtrl
ort transfer ffunction
“s-domabe expor
“z-domabe exporto configexportatidigital co
o Tma
o Ld
More infthe sectio
Note: wexportedimpleme
ain coefficierted in the f
ain coefficierted in the fogure the "Diion to PSIMompensator
Time-delay minus the timand the calcu
Limiter befoduty cycle is
formation abon Chapter
when the sed to PSIM entation with
ents”: the scform of PSI
ents”: the scform of a z-digital Settin
M.Besides thr, additional
block: it repme delay coulations del
ore the comps at least low
bout the sim16: Digital
lected sensbecause th
h componen
chematic anIM control b
chematic andomain tran
ngs" before she z-domail blocks are
presents theorrespondinlay.
parator of thwer than 97
mulation wicontrol of t
sor is "Embhis sensor nts.
Import
Sma
nd parameteblocks, like
d parameternsfer functioselecting thn transfer fuadded:
e accumulatng to the mo
he modulato7%.
ith z-domainthis docume
bedded V.dis especial
and export
artCtrl
rs of the comin the follo
rs of the comon. Therefore z-domain unction that
ed delay of odulator, i.e.
or which en
n coefficienent.
div." the slly oriented
transfer fun
ompensator wowing exam
mpensator wre it is nece
n format for t represents
f the control., the ADC
nsures that t
nts is provid
schematic id to the a
nction
113
will ple.
will essary
the
l loop delay
he
ded in
is not nalog
Import and export transfer function
114 SmartCtrl
Power stage and sensors
The schematic and parameters of the power stage and the sensors will be exported.
Initial conditions
The initial voltage across the output capacitor and the initial current through the inductor will be exported. This way the initial transient of the simulation can be reduced.
Export to PSIM (parameters file)
Only the text file with the necessary parameters will be exported to a PSIM schematic previously generated. Similarly to the previous option, SmartCtrl will ask the designer to select the path of the PSIM schematic to which the parameters file must be exported. Then the designer will have to select the exporting options (regulator exporting way, power stage and sensors and initial conditions).
Update parameters file
Once one of the previously described options has been configured, only the updating of the existing parameter file is needed. When the designer clicks, the previously inserted parameter file will be updated automatically.
Simulation issues
13.1.3 Exporttransientresponses
SmartCtrl provides three different exporting options which are available under the export item of the File Menu. The third of the exporting options is "export transient functions" which export any of the available transient responses to a file.
Import and export transfer function
SmartCtrl 115
This option is also available through right click on the transient response graphic panel. The corresponding dialogue box is displayed below. It shows the transient response to be exported as well as the following parameters:
Time shift The user is able to set a customized time shift (in seconds) if necessary, and the transient response will be translated accordingly along the time axis.
N. of points to be exported SmartCtrl shows the total number of points of the graph.
Print step Its default value is 1 and it means that every data point will be exported to the file. If it is 4, only one out of 4 points will be saved. This helps to reduce the size of the resultant file. The two buttons placed at both sides of the pint step box allow to increase (x2) or decrease (/2) the print step easily.
Impo
116
Clickwill a
13.1
Fromto exseleccorre
ort and expo
SmartCtrl
k Apply to ask you the
1.4 Export
m the main xport to texcted informesponding c
ort transfer f
update the name and l
Global.
menu it is pxt files diff
mation, the check boxes
function
parameterslocation of t
possible to ferent infor
text files s.
s and OK tthe file.
select Expormation reg
will have
o continue.
ort Global.garding the e different
At this po
This optiondesign. Denames, sh
oint, the pro
n allows theepending o
hown below
ogram
e user on the w the
Import and export transfer function
SmartCtrl 117
It is possible to export the following information:
Input and output data of the design.
Transients: time (s) and magnitude (V or A) of a transient step.
Transference functions: frequency (Hz), magnitude (dB) and phase (deg) of the basic transfer functions.
Additional transfer functions: frequency (Hz), magnitude and phase (deg) of additional transfer functions, like audiosusceptibility, impedances, etc.
The designer is asked to configure the file format for the transference functions, like in Export transfer functions.
Finally, the user is asked for the path to save the file/s.
13.2 Import(Merge)
Import (Merge) data of another file with the data of the existing file for display. The curves of these two files will be combined. The Merge function is available within the
File Menu and through click on . Itis oriented to the comparison of frequency response curves (Bode plots).
The file to be merged with the current one can be either a .tro file, a .txt file or a .fra file. This is, the comparison of the current file results can be compared with the results previously saved by the SmartCtrl Program, with any transfer function saved in a .txt format or with a PSIM frequency AC analysis, respectively.
Impo
118
Neithfuncttaken
The f
The comp
1
You from
2
You
ort and expo
SmartCtrl
her the .tro tion. Howevn into accou
file must be
First colu
Second c
Third co
The first
next steps parison, eith
1. Merge
can select m the main to
2. Availabl
can choose
Mo
De
Dele
A
Ca
ort transfer f
file or the .ver, if a .txtunt:
e organized
umn corresp
column corr
lumn corres
t line of the
will guide her from a .
the Merge oolbar.
le actions
e among the
Add Add
odify Mod(cha
elete Dele
eteall Dele
Apply App
OK App
ancel Clos
Help Disp
function
fra file needt file is goin
in three col
ponds to the
respond to t
spond to the
file corresp
you to addtro file or a
function b
following a
ds a new tra
dify the seange color, f
etestheselec
eteallthefun
plythecurren
ply the curre
se the Merg
playthehelp
d to be formng to be use
lumns (from
e frequency
the module
e phase in d
ponds to the
d, modify oa .txt file.
both from th
available ac
ansfer functi
ettings of afile of origi
ctedfunction
nctions
ntsettings
ent settings
ge window b
pwindow
matted in ored the follow
m left to righ
y values
in dB
degrees
e columns he
or delete tra
he File Me
ctions:
ion to the co
a previouslin...)
n
and close th
but don't ap
der to be uswing consid
ht)
eadings
ansfer funct
nu or throu
omparison
ly added tr
he merge w
ply any cha
sed by the mderations mu
tions to/from
ugh left clic
transfer fun
window
ange
merge ust be
m the
ck on
nction
13.2
The comp
1
2
3
2.1 AddFun
Add functiparison.
1. Selectthe
2. Select th
3. Load fun
Load fun
nction
ion to mer
eFunctionT
he color
nction from
nction from
rge allows
ype
.tro or .txt
either a .tro
the user to
file
o file or a te
Import
Sma
o add a ne
Where:
ext file (.txt)
and export
artCtrl
ew transfer
:
G(s) Plant Function
K(s) SensoFucntion
A(s) = G(s)
R(s) RegulFunction
K(s)·R(s)
T(s) = A(s)loop transf
CL(s) Closfunction
)
transfer fun
function t
Transfer
or Transfer
)·K(s)
lator Transf
)·R(s) Openfer function
sed loop tra
nction
119
to the
fer
n
ansfer
Impo
120
4
13.2
The trans
1
2
3
ort and expo
SmartCtrl
4. OK
And the Bode Plo
2.2 Modify
Modify funsfer function
1. Select the
2. Click on
3. Modifyse
ort transfer f
transfer fuots.
Function
nction allown (change co
e Function to
the Modify b
ettings
function
nction will
ws the userolor, file of
o be modified
button
be added t
r to Modifyf origin...)
d
to the modu
y the settin
ule and pha
ngs of a pre
ase panels o
eviously m
of the
erged
Import
Sma
Tt
Hma
and export
artCtrl
The user is the followin
Load
Chancolo
However, ifmodifies thea new file m
transfer fun
able to modng paramete
d a new file
ange the tracor
f the user e function t
must be load
nction
121
dify ers:
e
ce
type, ded
Import and export transfer function
122 SmartCtrl
Cha
The Tool
The d
Desig
Eachregul
Atten
This the sw
Solu
Baseestiminvol
Two eithediffe
apter14
design methlbar.
design meth
gn method
h tag correslator calcula
K-metho
K plus m
Manual
nuation at s
output boxwitching fre
tions map
ed on the semation if thelved are rep
change theer change thrent point w
4: Des
hod box is
hod box inc
tags
spond to onation, this is
od
method
switching fr
x displays thequency.
lected plante stable solupresented as
e considereheir values iwithin the so
signMet
enabled or
cludes the fo
ne of the ts:
frequency
he attenuati
t, sensor anutions spaces PM vs freq
ed cross frein the whiteolutions ma
thods
disabled by
ollowing uti
three differ
ion achieved
nd type of ree that lead tquency.
equency ane-coloured bap.
Sma
y clicking o
ilities:
rent design
d by the op
egulator, theto stable sol
nd the phaseboxes, use t
artCtrl
on the
methods a
pen loop tran
e solutions mlutions. The
e margin, tthe sliders o
Design me
icon of the
available fo
ansfer functi
map provide two param
the designeor just click
ethods
123
eView
or the
ion at
des an meters
er can k on a
Desig
124
14.1
The and presulpane
The meth
Theyrecalthe w
In Sregul
K fac
A Tya Tydoub
Whefrequdoub
gn methods
SmartCtrl
1 K‐factor
K factor alphase marglts. In Smartl.
two input hod tag of th
y can be allculate the rwhite one.
martCtrl it lators.
ctor for Typ
ype 3 regulaype 3 regulable zero mus
The doub
The doub
re K is deuency and ble zero and
s
rMethod
low the desin, and thentCtrl, the re
parametershe design m
so modifiedregulator to
is possible
pe 3 regulat
ator is formator is chosst be placed
ble zero is p
ble pole is p
efined as ththe frequen
d the frequen
d
signer to chn determineegulator com
of the K method box.
d by clickinfit the new
e to use th
tor
med by two zsen, the K d to design t
placed atf
K
placed at f
he ratio of ncy f is thency of the d
hoose a parte the necessmponent val
factor (fc,
ng on the svalues. Rem
he K metho
zeroes, two factor meth
the compens
f
Kfrequency
· K freque
f the double geometricdouble pole.
ticular opensary componlues are disp
PM) can b
solutions m
member tha
od for both
poles and ahod assumesator.
y
ency
le pole freqc mean betw
n loop crossnent values played with
be easily ch
map and theat the stable
h, the Type
a low frequees that a do
quency to tween the f
s-over frequto achieve
hin theresult
hanged in t
e K method solutions a
e 2 and Ty
ency pole. Wouble pole a
the doublefrequency o
uency these
ts text
the K
d will area is
ype 3
When and a
zero of the
Design methods
SmartCtrl 125
So, the maximum open loop phase boost is achieved at frequency f, and it is assumed that the regulator is designed so that the open loop cross-over occurs at frequency f also.
K factor for Type 2 regulator
A Type 2 regulator is formed by a single zero, a single pole and a low frequency pole. When a Type 2 regulator is selected the pole and the zero are placed as follows:
The zero is placed at f
K
The pole is placed at ·f K
Where the K factor is defined as the square root of the ratio of the pole frequency to the zero frequency andf is the geometric mean of the zero frequency and the pole frequency.
The maximum phase boost from the zero-pole pair occurs at frequency f, and it is assumed that the regulator is designed so that the open loop cross-over occurs at frequency f also.
14.2 KplusMethod
The Kplus method is based on the K‐factor and the inputs are the same:
The desired cross-over frequency (fc)
The target phase margin (PM)
However, unlike K-factor method, cross-over frequency is no longer the geometric mean of the zeroes and the poles frequencies.
The Kplus method provides an additional design freedom degree with respect to the conventional Kfactor method, since the Kplus method places the double zero frequency
fz a factor “α” below fcross ( CZ
ff
) and the poles a factor “β” above fcross ( ·Z Cf f ).
Where “α” is set from fcross and phase margin. This parameter allows the designer to select the exact frequency in which the zeroes will be placed. After that, “β” is automatically calculated.
The additional degree of freedom obtained with Kplus can be used as follows:
If “α” is set to be lower than K (from the K-factor method), higher gain at low frequencies but less attenuation at switching frequency (fsw) are obtained.
On the contrary, if “α” is set higher than K (from the K-factor method), the control loop has less gain at low frequency but more attenuation at fsw. It should be remarked that the phase margin is the same in all cases.
When “α” is equal to K, both methods are equivalent.
Therefore, the Kplus method can be used to improve the overall performance of the control loop in those cases where a slightly larger high frequency ripple could be admitted at the input of the PWM modulator.
Desig
126
In thchanaddit
They
recalthe w
14.3
This whenmeth
The and Bode
Or tydesig
gn methods
SmartCtrl
he same waynge the inptional param
y can also b
lculate the rwhite one.
3 Manual
method alln the desighods or whe
manual mezeroes freqe plots.
yping the fgn methods
s
y as the K ut paramet
meter, Kplus
be modified
regulator to
l
lows placinggner would en these auto
ethod is proquencies can
frequenciesbox.
method, whters, phase s, which cor
by clicking
fit the new
g poles andlike to ref
omatic meth
vided for bn be varied
of poles a
In the casthe frequ
T
T
A
In the casfrequenc
T
T
A
hen the Kpmargin an
rresponds to
g on the sol
values. Rem
d zeroes indfine the reshods do not
both the typd by directl
and zeroes
se of a Typuency values
The two zero
The two pole
And the low
se of a Typcies are:
The zero
The pole
And the low
plus tag is snd cross-ovo the aforem
utions map
member tha
dependentlysults obtaint provide a v
pe 3 and typly dragging
in corresp
pe 3 regulats of:
oes,
es
frequency
pe 2 regulat
frequency
selected, thever frequencmentioned “
p and the Kp
at the stable
y from each ned from thvalid solutio
pe 2 regulatg and dropp
ponding inp
tor, the desi
pole
tor, the avai
pole
e user can ecy And als“α” factor.
plus method
solutions a
h other. It ishe K and Kon.
ators. Their ping them i
put boxes o
igner can ad
ilable
easily so an
d will
area is
s used Kplus
poles in the
of the
djust
Design methods
SmartCtrl 127
14.4 PItuning
The PI tuning method input parameters are the same as in the K-factor method:
Phase margin
Cross-over frequency
From these two input parameters, SmartCtrl calculates the both the proportional (Kp) and integral (Kint) gains and shows them in the corresponding output boxes.
The same as in the other automatic calculation methods, the phase margin and cross-over frequency can be set directly by clicking in the solutions map.
Additionally, there is a Kp and Ti Solution Map that allows the tuning of the PI regulator by directly tuning its parameters Kp and Ti.
A Proportional Integral controller(PI) is defined by the following transfer function:
:is the Gain of the PI controller.
:is the time constant of the PI controller, in seconds.
1 ·( ) ·
·
ip
i
Kpwhere
Ti
T sG s K
T s
The constant time Ti is located on the x-axis of the graphic and the gain Kp is placed on the y-axis. Any change will involve an instantaneous update of the rest of the windows of the graphic panel, as well as in the solution map.
Every point in the recommended area of the Solution Mapbox has an equivalent point in the Kp and Ti Solution Map control box, which is also expected to be stable. However, several points of the Kp and Ti Solution Map control box might correspond to an unique point in the Solution Map.
Desig
128
Sincethe sbox hpoint
The rthe bcorreaveraYellocomp
14.5
The I
The the dcalcu
The the othe cdesig
gn methods
SmartCtrl
e there mansame dynamhave been cts of theKp
recommendblue lines. Tespond to feage of gainow and pinpensators w
5 SingleP
I tuning me
simple intedesigner. Gulated by th
solutions mopen loop wcross-over frgn methods.
s
ny possible mic performcoloredin or
and Ti Sol
ded design sThese lines
feasible PI rn margin, phnk area in bwhich attenu
Poletunin
ethod is the
grator is foGiven this e program.
map of an inwithout regufrequency by.
combinatiomance, somerder to avoidlution Map
space corress represent regulators. hase marginbetween theuation at swi
ng
equivalent o
rmed by a frequency,
ntegrator is ulator transy clicking i
ons of Kp ae areas of td a complex
p control bo
sponds to ththe limits oThe rest ofn and attene green anditching freq
of the manu
single pole, the assoc
a single linsfer functionin the soluti
and Ti that the Kp andx definitionox and Solu
he white areof the set of colored renuation. Redd the blue lquency is hig
ual method b
, which freqciated phas
ne that repren. So, the dions map, th
lead to a cod Ti Solutio
of the relattion Mapbo
ea in betweof Kp and Tegions repred region halines correspgher than 0
but for integ
quency muse margin i
esents the adesigner canhe same wa
ompensatoron Map cotionship betox.
een the greeTi variableesent a weias to be avospond to fea
dB.
gral regulat
st be selectis automat
addition of 9n also deteray as in the
r with ontrol tween
n and s that ghted oided. asible
tors.
ed by ically
90º to rmine other
Parametric sweep
SmartCtrl 129
Chapter15: ParametricSweep
The parametric sweep can be accessed either through the Data Menu or the View
Toolbar icons. The SmartCtrl program distinguish among two different parametric
sweeps:
Input Parameters Parametric Sweep .
It allows the variation of all the input parameters of the system. These are:
General Data
Plant
Sensor
Regulator
Compensator Components Parametric Sweep .
It allows to vary the component values of the compensator. This is, the resistances and capacitances that conform the regulator.
15.1 InputParametersParametric
To access the input parameters parametric sweep the user can either click must click on
the button , placed within the View toolbaror through the Data Menu > Parametric Sweep > Input parameters.
The functions available within the input parameters parametric sweep are the following:
Loop to be modified Select which loop would you like to modify. This option is only available in the case of a double loop design, where the designer can select amongst the inner loop or the outer loop
Tick box "calculate regulator" When this box is selected, the regulator is recalculated for each new set of parameters along the parametric sweep. If it is not selected, the regulator is fixed to the last one calculated
Loop to be shown Select which loop results would you like to display. This option is only available in the case of a double loop design, where the designer can select amongst the inner loop or the outer loop.
The parameters to be varied are related to the open loop parameters. The designer is asked to provide a range of variation. The available parameters are:
Cross Frequency (Hz)
Phase Margin (º)
Parametric Sweep
130 SmartCtrl
Tag "General Data"
The parameters to be varied are related to the open loop parameters. The designer is asked to provide a range of variation. The available parameters are:
Cross Frequency (Hz)
Phase Margin (º)
Tag "Plant"
The parameters available for variation are related to the plant input parameters. The user must introduce a minimum and a maximum value for the variable selected, in order to provide its range of variation. Only one parameter can be varied at a time
Parametric sweep
SmartCtrl 131
Tag "Sensor"
Two different sensor are available for variation. The voltage divider and the Hall effect sensor. The parameter to be varied in the voltage divider is its voltage gain (Vref/Vo). In the case of the Hall effect sensor there are to available parameters: its gain at 0Hz and the pole frequency.
Parametric Sweep
132 SmartCtrl
Tag "Compensator"
The parameters available correspond to the modulator gain and the Resistor R11.
Parametric sweep
SmartCtrl 133
15.2 CompensatorComponentsParametricSweep
To access the compensator components parametric sweep the user can either click on
the button , placed within the view toolbar or through the Data Menu > Parametric Sweep >Compensator components.
The compensator components parametric sweep is oriented to the variation of the resistances and capacitances values that conform the regulator. The parametric sweep is available for Type 3 and Type2 regulators. For instance, in the figure below a parametric sweep window for a type 2 is shown.
Parametric Sweep
134 SmartCtrl
Cha
The D
16.1
DigitcomphardwDSP)
Digitcalcu
Thre
It is one.
16.2
PushThis calcuTusti
Wherequi
apter16
Digital cont
1 Introdu
tal control pensators inware in FP).
tal regulatoulated follow
e specifics
Samplin
Number compens
Overall t
a good prac
2 DigitalS
h in the iconoption is en
ulated in Sin transform
n starting ired: sampli
6: Dig
trol feature
uctionto
module on order to GA or ASI
ors are obtawing the an
factors are t
g frequency
of bits to resators.
time delay i
ctice to com
Settings
n of thenabled aftermartCtrl by
mation.
the calculaing frequen
gitalcon
is only avai
DigitalC
f SmartCtrbe implem
IC, or as a
ained by dinalog approa
taken into a
y of the regu
epresent in f
in the contro
mpare the di
e main toolbr the calculay discretiza
ations of dcy, bits num
ntrol
ilable in the
Control
rl allows cmented by m
program in
iscretizationach of Smar
account on d
ulator.
fixed point
ol loop.
iscretized c
bar to start tation of an ation of an
digital regumber and ac
Sma
e SmartCtrl
calculating means of dn a micropr
n of analogrtCrtl.
digital contr
the coeffici
compensator
the calculatanalog regu
nalog regula
ulators, threccumulated
artCtrl
2.0 Pro
the coefficdigital devirocessor, m
g compensa
rol calculati
ients of the
r with the o
ion of the dulator. Digitators using
ee specific delay(s).
Digital co
cients of dices (as sp
microcontroll
ators, whic
ions:
obtained
original ana
digital regultal regulato
g the biline
parameter
ontrol
135
digital ecific ler or
h are
logue
lators. rs are
ear or
rs are
Digital control
136 SmartCtrl
Sampling frequency. It is the sampling frequency of the digital regulator. The sampling period Tsamp=1/fsamp is the time between two consecutive samples of the output signal of the regulator.
In many applications, the sampling frequency (fsamp) of the regulator is equal to the switching frequency (fsw) of the power converter. In SmartCtrl the user can select different values for switching and sampling frequency, but the sampling frequency must be a multiple or submultiple of the switching frequency.This parameter is used to calculate the digital regulator by means of discretization of the analog regulator.
In current loops, the controlled quantity in the converter has a significant ripple. Therefore, it is recommended to use a Hall Effect sensor that includes a first order low pass filter that can act as an antialiasing filter.
Bits number. It is the number of bits used to represent the coefficients of the digital compensator considering a fixed point representation. The obtained coefficients are rounded to the nearest number that can be represented with the specified number of bits. One bit is used to represent the sign, and the rest to represent the integer part and the decimal part.
A low number of bits can result in a digital regulator significantly different from the analog regulator. It is recommended to check the similarity between the analog and digital regulator. If analog and digital responses are too much different, especially at low and medium frequencies, it is recommended to increase the “Bits number”.
Accumulated delay(s). It represents the total time delay in the control loop (modulator delay, calculation delay, ADC delay, etc).
This delay affects the actual phase margin obtained with the designed digital regulator. The delay is a negative phase that is subtracted to the phase of the open loop transfer function in the Bode plot. As the original (analog) regulator is calculated without considering the time delay, the obtained phase margin will be lower than the obtained in the analog regulator. This phase margin loss can be compensated by selecting a higher phase margin in the specification of the analog regulator.
It is recommended to check the effect of the delay in the Bode plot of the open loop transfer function and the closed loop transfer function. The accumulated delay is not represented in the Bode plot of the discretized compensator.
When exporting a design of SmartCtrl to PSIM, a time delay block appears in the schematic, to take into account the different time delays of the control loop. This time delay block represents only the ADC delay and calculation delay, since the modulator delay is included in the behavior of the implemented PWM modulator. Therefore, the “accumulated delay” specified by the user must be equal at least to the modulator delay. Otherwise, inaccurate simulation results may be obtained. For the trailing edge modulator used in the proposed PSIM circuit, the time delay due to the modulator tpwm is:
tpwm=DutyCycle/fsw - floor(DutyCycle*fsamp/fsw)/fsamp if fsamp>=fsw
tpwm
16.3
The numb
A wacyclicalcu
Integcompcycli
Whesugg
Whedecre
m=DutyCyc
3 Parame
three speciber of bits a
arning box ing referredulation are c
gral gain apliance of thing effect ne
n limit cyclgested to inc
n limit cycease the des
cle/fsw + (fs
etricswe
fic parametand accumu
informs thed in the techconsidered.
nd gain mhe limit cyceeds to be r
ling can occcrease the de
cling can osired cross o
sw/fsamp-1)
epindig
ters of digiulated time d
e user abouhnical literat
margin are ecling conditemoved, red
cur becauseesired phase
occur becauover frequen
)/2/fsw
gitalcont
ital regulatodelay.
ut limit cyclture [1], [2]
evaluated ations [1], [2design of th
e a too low e margin in
use a too hncy in order
Sma
rol
ors can be s
ling. From ], the two d
and warnin2].When a whe regulator
gain marginorder to ac
high integrr to need a l
artCtrl
swept: samp
the four coepending ol
ng appears warning app
needs to be
n, it must bhieve a high
ral gain, it lower integr
Digital co
if fsamp<
mpling frequ
onditions oflny the regu
in case ofpears, if thee done.
be increasedher gain ma
is suggestral gain.
ontrol
137
<fsw
uency,
f limit ulator
f non e limit
d. It is argin.
ed to
Digit
138
[1] AcontrNo.1
[2] Hdigita
Integcompapperecom
Refe
(1) AcontrNo.1
(2) Hdigita
16.4
Wheconsiprobllimitcontr
•
•
tal control
SmartCtrl
A.V.Peterchrolled PWM, Jan. 2003
H.Peng; D.Mally control
gral gain apliance of ars, if the mmended.
rences:
A.V.Peterchrolled PWM, Jan. 2003
H.Peng; D.Mally control
4 Simulat
n a digital iderations slems with tter block jurol (see nex
Upper lim
Lower li
hev, S.R.SanM converter, pp.301-30
Maksimoviclled DC-DC
nd gain mthe limit climit cyclin
hev, S.R.SanM converter, pp.301-30
Maksimoviclled DC-DC
tionissue
controller should be the start of tst after the
xt figure):
mit: 0.97*V
mit: -Vref
nders, “Quars,” IEEE T
08
c, A.Prodic,C converters
margin are ecycling conng effect ne
nders, “Quars,” IEEE T
08
c, A.Prodic,C converters
eswithd
design is etaken into the convertez-domain b
Vp-Vref
antization reTransaction
, E.Alarcons,” IEEE PE
evaluated anditions (reeeds to be
antization reTransaction
, E.Alarcons,” IEEE PE
digitalcon
xported to account. Iner. One posblock, whic
esolution anns on Powe
n, “ModelinESC 2004, p
and warnineferences 1
removed, r
esolution anns on Powe
n, “ModelinESC 2004, p
ntrol
PSIM in on some cassible solutio
ch values ar
nd limit cycer Electroni
ng of quantipp.4312-431
ng appears and 2). W
redesign of
nd limit cycer Electroni
ng of quantipp.4312-431
rder to be es there mon to be usere in the cas
cling in digics, Volum
ization effe18.
in case ofWhen a waf the regula
cling in digics, Volum
ization effe18
simulated, may appear
ed it to inclse of single
gitally me 18,
cts in
f non arning ator is
gitally me 18,
cts in
some some
lude a e loop
Digital control
SmartCtrl 139
In the case of double loop control, this additional limiter can be added both in the inner control loop and/or in the outer control loop. In the case of the outer control loop de limits suggested for the limiter are:
• Upper limit: 5-Vref
• Lower limit: -Vref
In the case of inner control loop, the reference is not fixed. It is suggested to start with these limits:
• Upper limit: 0.97*Vp
• Lower limit: -5