Documentos de Académico
Documentos de Profesional
Documentos de Cultura
-40 db/dec
Common controllers
P (Proportional): Transfer function, Bode plot
and implementation with operation amplifier
(opamp).
Rf
Gain(db)
Ri
Phase
K=
Rf
Ri
(a)
(b)
(c)
Common controllers
PI (Proportional plus Integral): No steady-state
error. Reduces phase margin. This can be dealt
with by proper selection of .
Gain(db)
Rf
Ri
K PI
1+ s
s
+
Phase
0
KP + KI / s
K PI
0.1/ 1/ 10/
K
= K P , = P
KI
K PI =
Rf
Ri
= Rf C
-90
( ) = 90o + tan 1 ( )
Common controllers
PD (Proportional plus derivative): Increases the
bandwidth (faster response) and increases PM. But
amplifies harmonics and noise.
Gain(db)
Ci
Rf
Ri
-
0.1/ 1/ 10/
K P (1 + s )
Phase
90
KP + KDs
K
= P
KD
(a)
KP =
Rf
Ri
= Ri Ci
(b)
(c)
1
( ) = tan ( )
Common controllers
PI k-factor (Type 2): Additional pole attenuates harmonics and simplifies the calculation of the parameters. The
phase angle at m is always < 0. Function of the K factor.
C2
Gain(db)
K PI
Gain(m)= Kpi
1+ s
1
s 1 + s Tp
1/Tp
1/
+
Phase
0
K PI
R2 C1
=
R1 (C1 + C2 )
1
= K m
Tp
= R2 C1
C C
Tp = R2 1 2
C1 + C2
-90
m = K
C1
R2
R1
= -90 + boost.
(0 < boost < 90 )
boost
K = tan
+ 45o
2
Common controllers
PI controller type 3: Presents 2 poles and 2 zeros. The
phase angle at m can be either positive or negative and is
a function of the K factor.
2
K PI (1 + s )
s (1 + sTP ) 2
R3
Gain(db)
2
C3
R2
C1
R1
-
Z = = m
K
1
1
P =
= K m
TP
boost
+ 45o
K = tan
4
Design steps
Plot the frequency response (Bode plot) of the Plant, with
feedback elements. Identify the gain slope of the Plant at:
low frequencies, crossover frequency and high frequencies.
This will allow you to choose the type of controller.
If, at low frequencies, the gain is constant or the gain slope is
only 20 dB/dec, use a controller with an I element (PI, PI
type 2, PI type 3 or PID).
If, at high frequencies, the gain is smaller than 40 dB/dec
one needs to add 20 dB/dec, to attenuate the high frequency
noise, thus use either a PI type 2 or type 3.
The slope of the plant at the crossover frequency (-20 or -40
dB/dec) suggests the use of a type 2 and type 3 PI respective
ly so that the desired 20 dB/dec is achieved there.
Design steps
From the phase of the plant at the crossover frequency and
the desired value for the Phase margin, one calculates the
required phase angle for the controller. This allows the
calculation of the K factor for the modified PI controllers or
of the zero of the PI or PID controllers.
The gain of the controller is calculated so that one can make
the gain of the compensated (with the controller)loop transfer
function equal to zero at the crossover frequency. It means
that the gain of the controller has to be the inverse of the
plant at that frequency.
If a computer is not available to provide the values for gain
and phase, one has to calculate directly from the transfer
functions. Review frequency response plots, section 8.2, Dorf
vd _ 0
v ST
(1 L C )
2
) s + (1 L C )
s + (1
RC
Gain (dB)
Phase ()
Compensated LTF
Phase ()
Controller
Compensated LTF
Kpi
Tp
PM = 45
1.6
184s
8.7s
PM = 60
1.1
267s
6s
fx = 2 kHz
Kpi
Tp
PM = 45
0.316
313s
20.3s
PM = 60
0.231
429s
14.8s
10
11
Phase ()
12
Controller
Compensated LTF
Phase ()
Controller
Compensated LTF
13
PI_2
Plant
CLTF
PM = ?
GM = ?
Phase(o)
CLTF
Plant
PI_2
14
I vp = D I cp
Equations: Vcp = D Vvp and
Averaged-switch model: Controllable dc transformer.
Averaging of the PWM function for a ramp carrier.
1
Vr
15
common
TWO_PORT1
CP1
Ncp
CP1
VP1
-V(%IN)*I(Eout)
Ncp
in
Eout
in
+
-
out
wrt ground
+
-
GAIN = 1
common
Ncp
v AN (t ) = d (t ) vd (t), id (t ) = d (t ) i A (t ), 0 d (t ) 1,
16
17
Bode plot
18