Professional Documents
Culture Documents
70
G p ( s) = (2)
50s 1
1
H (s) = (3)
12s 1
n2
G( s) = 2 (5)
s 2n s n2
So, converting the open loop transfer function in eq. 4 in standard form given by eq. 5 we get:
(0.0707) 2
G(s) = 1.4 2 (6)
s 2(1.9095)(0.0707)s (0.0707) 2
(0.0707) 2 1
Gs ( s) = 1.4 (7)
s 2(1.9095)(0.0707)s (0.0707) s
2
Simplifying eq. 7 to take inverse laplace of the system to study transients in time domain.
1.4 1.4( s 0.1315) 0.1315
Gs ( s) = (8)
s ( s 0.1315) (0.0674) ( s 0.1315) 2 (0.0674) 2
2 2
Using eq. 12, we found that the maximum % overshoot for the open loop system in eq.
6, when subjected to step input is 40% .
1.2.4 Settling Time
Settling time of any system can be found by the following equation [?]:
4
ts = (13)
Using the eq. 13, settling time of the system is found to be t s = 199.6 sec .
(0.0707) 2 s 1
ess ( s) = 1.4 (15)
s 2(1.9095)(0.0707) s (0.0707) s
2
and
(0.0707) 2 (0) 1
ess (0) = 1.4 (16)
(0) 2(1.9095)(0.0707)(0) (0.0707) (0)
2
the steady state error was found to be ess (0) = 0.4 . These specifications can be analyzed from
the graph plotted using MATLAB.
Figure 2: Open Loop Analysis of Plant using MATLAB
where H and G are given by eq. 3 and 4. Using this information and desired criteria
of the steady state error, the value of K can be found withe the help of eq. 16. The simplified
version is given as:
KG 1
0.9804 = lim s (19)
s 0 1 KGH s
0.007 K
0.9804 = (20)
0.005 0.007 K
and solving above equation we get K = 0.0104 .
The step response of closed loop function with constant gain controller is shown in figure.
Figure 4: Step Response of Closed Loop System with constant Gain Controller
U o (s)
The transfer function is given as:
Tsp ( s)
U o ( s) Gv (s)Gc (s)
= (21)
Tsp (s) 1 Gv (s)Gc (s)G p (s) H (s)
U (s)
2.1.2 Transfer Function
Tsp ( s)
U (s)
The transfer function is given as:
Tsp ( s)
U ( s) Gc (s)
= (22)
Tsp (s) 1 Gv (s)Gc (s)G p (s) H (s)
E (s)
2.1.3 Transfer Function
D(s)
E (s)
The transfer function is given as:
D(s)
E ( s) H ( s )G p ( s )
= (23)
D( s ) 1 Gv ( s )Gc ( s )G p ( s )
T (s)
2.1.4 Transfer Function
D(s)
T (s)
The transfer function is given as:
D(s)
T ( s) G p ( s)
= (24)
D( s ) 1 Gv ( s )Gc ( s )G p ( s) H ( s )
The maximum percent overshoot can be determined from eq. 12, which in this case is
0% as it can be seen from fig. 4.
3 PID Controller
3.1 PID Controller Design using Ziegler Nichols Method
Ziegler and Nichols proposed rules for determining values of the proportional gain
integral time and derivative time based on the transient response characteristics of a given plant.
Such determination of the parameters of PID controllers or tuning of PID controllers can be made
by engineers on-site by experiments on the plant. (Numerous tuning rules for PID controllers
have been proposed since the Ziegler–Nichols proposal. They are available in the literature and
from the manufacturers of such controllers.) we obtain experimentally the response of the plant
to a unit-step input. If the plant involves neither integrator(s) nor dominant complex-conjugate
poles, then such a unit-step response curve may look S-shaped. This method applies if the
response to a step input exhibits an S-shaped curve. Such step-response curves may be generated
experimentally or from a dynamic simulation of the plant.
The S-shaped curve may be characterized by two constants, delay time L and time
constant T . The delay time and time constant are determined by drawing a tangent line at the
inflection point of the S-shaped curve and determining the intersections of the tangent line with
the time axis and line c(t ) = K . The transfer function C ( s )/U ( s ) may then be approximated
by a first-order system with a transport lag as follows:
C ( s) Ke Ls
= (25)
U ( s) Ts 1
Type Kp Ti Td
of Controller
P T 0
L
PI T L 0
0.9
L 0.3
PID T 2L 0.5L
1.2
L
Ziegler and Nichols suggested to set the values of and according to the formula shown in
Table 1. Notice that the PID controller tuned by the first method of Ziegler–Nichols rules gives:
T 1
Gc ( s ) = 1.2 (1 Td s) (26)
L Ti s
PID controller is designed using Ziegler Nichols tuning method for the plant using eq. 26,
the step response and the control input to the plant is shown in fig. 5 and 6 respectively. The
optimized tuning for Ziegler Nichols PID resulted in L = 25 and T = 25 and thus the PID
controller has the form:
1
(s )2
Gc ( s) = 0.6(25) 25 (27)
s
The PID controller was designed using model based approach for overshoot less than
10% and settling time less than 120 sec . The step response and control input are shown in
fig. 7 and 8 respectively. The optimized tuning for model based PID resulted in K p = 1.300 ,
K d = 16 and Ki = 0.0350 thus the PID controller has the form:
0.0350
Gc ( s ) = 1.300 16s (28)
s
Figure 7: Step Response of Closed Loop System with PID