CS Design 01
CS Design 01
CS Design 01
Objectives
Introduction
For any system, the specifications of output can be described in terms of time domain
parameters like t , t , t , t ,M & e and in frequency domain using parameters like
d r p s p ss
M , , Gain margin, phase margin, Bandwidth. To meet these specifications, process
r r
parameters are not altered but rather we add additional components that can modify these
characteristics to meet the specifications.
Controllers or compensators are additional components that will be added to existing design
to improve the time domain & frequency domain specifications respectively.
Compensators
Compensator is an electrical component which will be introduced in series with the forward
path transfer function in order to introduce certain phase angle into steady state sinusoidal
response of the system.
This property helps us change the phase of the Transfer Function and hence alter the Phase
margin of the system to impact Stability of the system.
Lead Compensators
Lead Compensators introduce phase lead or positive phase shift into sinusoidal response of
the system.
Pole P
c
1
, Zero Z
c
1
a
Zero is closer to origin than pole, so a 1
1
sZs
c a
Transfer Function Gc s
s P
c
1
s
P
a c 1, 0
Z
c
G s 1 as 1
c a s 1
1 ja 1
G j
c a j 1
d
For maximum phase shift 0
d
a
0
1 2a2 2 1 2 2
1 1
m
a2 a
a1 a 1
sin1 tan1
m a1 2 a
The gain at high frequencies is higher as compared to low frequencies as observed from
Bode Plot so it acts as a High Pass Filter.
Electrical Network
E s
0
R
2
R
2
1
R Cs 1
E s R R R R R C
i 1 1 2 1 2
s 1
R sC R R
2 1 1 2
R
1 sC
R R
a 1 2 1 ; R C
R 1
2
5. It helps to increase the error constant up to some extent, but doesn’t affect steady state
error much.
Lag Compensator
Lag compensator introduces phase lag or negative phase shift into sinusoidal response of
the system.
Pole P
c
1
, Zero Z c a1
Pole is closer to origin than zero & hence a 1 .
1
sZ s
c a
Transfer Function Gc s
s P
c
1
s
P
a c 1
Z
c
1 as 1
G s
c a s 1
1 ja 1
G j
c a j 1
1
= GM of both corner frequencies.
m a
a1 a 1
sin1 tan1
m a1 2 a
The gain at lower frequencies is higher as compared to high frequencies as observed from
Bode Plot so it acts as a Low Pass Filter.
Electric Network
1
E s R R Cs 1
0 2 sC 2
E s
i R R
1 2 sC
1
1 2
R R Cs 1
R
a 2 1
R R
1 2
1. Improves the steady state response, it increase error constant and decreases steady state
error.
2. Decrease bandwidth.
3. Reduces effect of noise which means it increases SNR.
4. Reduce stability margin so makes the system less stable.
5. Does not affect transient response.
It is a compensation of lag & lead compensator which provides lag compensation at lower
frequencies & lead compensation at higher frequencies.
1 1
s s
b2 a1
Gc s
s
1 1
s
2 1
The gain at edges is more than the gain at middle of band so it acts as Band Stop Filter.
Electric Network
Remember, Lag-Lead compensator cannot be realized using lag and lead compensators
connected in cascade.
If we interchange the location of poles and zeroes we can realize a Lead-Lag Compensator
which provides Phase Lead at lower frequencies and Phase Lag at higher frequencies.
Summary of Compensators
Solved Examples
s4
Problem: The TF of a compensator is .The maximum phase lead frequency and the
s 16
corresponding phase is?
1 0.25s
Solution: TF= 4 .
1 .0.0625s
1 as
Comparing with
1 s
We get 0.0625 and a=0.25 =>a=4
1 1
m 8
a 0.0625 4
m 8
s4 1 m
tan tan1 m ; m 36.870
s 16 4 16
Problem: Consider the open loop transfer function of unity feedback system as
21s 97
G(s) . The maximum phase angle provided by this system is?
(s 33)
21s
1
97 97
Solution: G(s)
33 s
1
33
1 as
Comparing with standard transfer function k
1 s
1 21 21 33
We get, = and a =>a= 7.1443
33 97 97
a 1 1 7.1443 1
Maximum phase lead angle sin sin 48.97
1 0
a1 7.1443 1
Controllers
Controllers are the components that are connected in the forward path to change the steady
state response and transient response of the system.
There are different kind of controllers which have different impact on characteristics of the
system as described below:
Proportional (P)
y t e t
y t K e t
p
Y s
K
E s p
1 k
G s p
G s
s s 10 s s 10
2 2
Characteristic equation: s 10s 10 0 Characteristic equation: s 10s Kp 0
10
10 rad s and 10
n 2 K rad s and
n p K
p
Derivative (D)
Y s
k ds
E s
1 K ds kd
G s G s
s2 s 10 s2 s 10 s s 10
Using derivative controller stability can be improved but steady state response gets poorer.
Integral (I)
An integral controller gives an output proportional to the integral of input error signal.
y t e t dt
y t k e t dt
i
Y s K
i
E s s
1 K
i
G s G s
2
s s 10 s s 10
Using integral control, steady state response can be improved but stability is reduced.
PI Controller
In PI controller, the actuating output is proportional to input error signal and integral of
input error signal.
y t e t e t dt
y t K e t K e t dt
p i
Y s K
K i
E s p s
K
1
G s K i
s s 10 p s
G s
s s 10
System is stable
Characteristic Equation :
:
e = constant for ramp input s3 10s2 kps K 0
ss i
PI controller improves steady state response without affecting stability of the system.
PD Controller
In PD controller, the control action is proportional to error signal as well as its derivatives.
d
y t e t e t
dt
d
y t K e t K
d dt
e t
p
Y s
K K s
E s p d
1 K K s
G s p d
G s
s2 s 10
s2 s 10
It is unstable
3 2
Charact. Equation s 10s K ds Kp 0
e = constant for parabolic input
ss
Stable if 10k k 0
d p
PID Controller
In PID controller, all 3 control actions are incorporated so it can improve transient & steady
state response as well as stability of the system.