Professional Documents
Culture Documents
EXPERIMENT TWO
TITLE: DESIGN AND TUNING OF PID CONTROLLER
1a) Using Pade approximation, the first order transfer function with a delay can be
written as:
eTs Ts+2
G(s)
= 2
s +1 T s + (T +2 ) s +2
Tks +2 k
C(s) 2
T s + (T Tk +2 ) s+2+2 k
ks+ 2k
C(s) = 2
s + ( 3k ) s+2+2 k
S2: 1 2+2k
S1: 3-k 0
S0: 2+2k
b)
S2: T 22
S1: 2-9T 0
S0: 22
c)
Fig 1c: Simulink diagram for tuning the PID controller
Fig 1c(i): scope picture of the system with damped and fast response
Fig 1c(ii): Simulink diagram of the system with damped and zero steady-
state error
Fig 1c(ii): scope picture of the system with damped and zero
steady-state error
k
2(a) The closed loop transfer function for the system is C(s) = s 2+ 4 s+8+ k
Comparing this with the general form of a second order transfer function,
wn2
C(s) = s 2+2 I wns+w n2 :
I
-
Percent overshoot = 100e 1I =10(2)
2
Fig 2b(ii): Bode diagram for the sensitivity of the system with k=35.
c)
(d)
Fig 2(d): Simulink diagram for the system with a noise of amplitude 0.1 and freq.
5rad/s
Fig.2(di): The scope picture of y versus time for the original gain
Fig.2d(ii): Scope picture of y versus time for 10 times the original gain
Fig 2(e): Simulink diagram of the system with a step input disturbance that occurs
at time = 5 secs
Fig 2e(i): Scope picture of Y versus time for the system with disturbance (for the
original gain)
Fig 2e(ii): Scope picture of Y versus time for the system with disturbance (for 10
times the original gain)
f) The effect of gain on noise rejection on the system response shown in fig.2d is
that it increased the noise. This is due to the fact that much oscillation occurred
when the gain was increased by ten times the original gain. Thus, the higher the
gain, the lower the noise rejection. Furthermore, as the gain is increased, the
system tends to attain steady state until it gets to a point that further increase in
gain leads to sustained oscillation of the system.
On the other hand, the effect of gain on disturbance rejection on the system
response shown in fig.2e is that it decreased the disturbance. This is due to the fact
that less oscillation occurred when the gain was increased by ten times. Thus, the
higher the gain, the higher the disturbance rejection.