Professional Documents
Culture Documents
Syllabus
Introduction to controllers, Need for Control, Proportional (P), Integral (O and Derivative (D) control acions; PL PD
and PID cantrol systems in parallel form; (Numerical approach), Feed forward anticipatory control, Manual tuning of
PID control, Ziegler-Nichols method, Applications: Electro-Hydraulic/Pneumatic Control, Automotive Control
5.2.1
Fig.5.2.1
AA
Rise
time
Sending
signals
Steady
state
erors
Oflsot
Taking derivative on both slde
oror
Pota
new
Value of K,given = 0.15%
Therefore in 1 second
Where, Pmax
E,
Pmax
Soln.
lim sT6OJ
a) The system type, = lim 1
G() = K Ge (s) = K, s(s+1)
* s01s(s+1)JJ
For ramp input
s(s+1) s+5
System type is "1". e lims7+G
S0
(*
Note: Control system type depends on number of free s
at denominator. In above equation at denominators two"s
are available because "s" so type system.
= lim
S0
sx-
For example,
18
1) G(s) +3 1 1
ims+[K, (s+ 1)] Kp
Intogral
Procoss
variable
plo)
(a)
3.0
2.5
nput
.0 ---- p Gain 5, I gain = 0.01
Tima
- In integral controller if the erro is zero, the output
stays fixed at a value equal to what it was when the
Time
Integra
Process
vaiable
Dematve
L (a)
1.5r
Reterence sipnai Time
Fig. 5.2.8
0.5
K= 1K, 1. K1
K 0.5
Disadvantages
1. It never improves the steady-state error.
810 12 14 16 18 20 2. It produces saturation effects and also amplifies the
b) noise signals produced in the system.
Fig. 5.2.7
-
It increases the faithfulness of system by 5.2.5 Proportional Integral (P) Control
compensating phase lag caused by 1-controller. System
- Increasing the derivative gain and speed of response.
The block diagram of the unity negative feedback
So that by combining these three controllers, we get closed loop control system along with the
the desired response for the system. proportional integral controller is shown in
Derivation controller action responds to the rate at Fig. 5.2.9.
which the error is changing that is the derivative of
the error.
P(= K dt C(s)
U) =
R7rdlaraledy
4titr)
P
(SPPU) S-7 Cntrollers
Mechalronlcs
feedback
K The blsck diagy am of the unity negative
closed loop proportional derivative control
system is
E (s)
function of proportional shown in Fig 52.11
Therefore, the transfer
integralcontrolleris K,
The
proportional Integral controller is used to
decrease tho steady
state error without affecting the
stability of the control system.
Here controller output
error is zero.
is fixed at specific value when
ut K,e().x,
Time
Apply Laplace transform on both
sides
U) {K K,5) E (5)
E()
proportional
Therefore, the transfer fanction of the
response derivative controller is K, + K s
P-mode
Amode P-mode
The proportional
derivative coatreller is used to
node controi system withot
P-mode response
-H-~-
improve the stability of
affecting the steady state error.
Time
Fig. 5.2.10
reduce ofset
Proportional mode alone not capable to
eliminate the
in error so integral mode used to
proportional offset.
University Questions
for the
for the control signal, u,
Q. Derive the equatlon in parallel Time
Proportlonal plus Derivative (PD) controller Proportiona
detail, the advantages
and response
form. Discuss, in to the
Derivalive tem
disadvantages of adding a Fig. 5.2.12
Proportlonal tem.
SPPU- 16 May
Can amplify high frequency noise Controller variable increases quickly and return
suddenly to original value with less oscillation.
5.2.7 Proportional Integral Derivative (PID)
Control system
University Question
Time (s)
Q. Derive the equalion for the contro! signal, u, for the
Proportional Integral Derivative (PID) controller.
Discuss, in detail, the acvantages and disadvantages
of adding derivative tem to the proportional tem.
SPPU-May 16
Derivative açtion mode
The block diagram of the unity negative feedback
closed loop control system along with the
proportional integral derivative controller is shown
in the following Fig. 5.2.13.
Time (s)
Fig. 5.2.14
Advantages
Process independent : The best controller
where
1.
Leads
the specifics of the process can not be modeled
most
to a "reasonable" solution when tuned for
situations
Fig. 5.2.13
2. Inexpensive: Most of the modern
controllers are
The proportional integral derivative controller PID
produces an output, which is the combination of the 3. Can be tuned without a great amount of experience
outputs of proportional, integral and derivative required
controllers.
Disadvantages
(= Kp e ()+ K, Je () dt+ K,de[)
dt 1. Not optimal for the problems
- Apply Laplace transform on both sides 2. Can be unstable unless tuned properly
3. Not dependent on the process
U)
tHunting (oscillation about an operating pony
f Tarpled
Mechatronles (SPPU) 5-9 Controllers
o. Using a sullable
block dlagram explaln the working of G) K,1
PID control in parallol
forn. SPPU-Dec. 16, May 18
Controller
Erorinput oulput
E6)
Differentiator
impulse. s125s2.5s+
25
1
r 2.5s(s+1)
(6)
10
1.25 s2.5s+1 12.5 25s1
D oction Dction D acton 1 action s (s+1) s(s+1)
Ko
This is a type "2" system
P action P action
(b) Steady state error for unit step input
=
Unit step unit R(s)
(a) (b)
lim
Fig. 5.2.17: (a) Step response of PID ideal form,
(b) Step response of PID real form
ess
1+C. R)
(According to final value theorem)
-
Application : PID control applied to an electro- lim
pneumatic brake system (12.5s2+25s+1
s (s+ 1)
Ex. 5.2.4: Fig. P. 5.2.4 given a system having a transfer
function. G (s)=s(s+1 cStability analysis for close loop transfer functions
A PID Controller isused with the following specification.
Cs) GS
R(S) 1tG(s) H(s)
Derivative time constant = 0.5 s
Integral time constant =2s Here H(s) =
1and sign is positive
Proportional gain = 25
So Cis
RIS
Evaluate 1+G(s)
(a) system type
CIs 12.5s+255 1)/sis+1)
(b) Steady state error for step input R(s) 12.5s+25s +1
-
1
(c) Stability of the system s (s+1)
Controler CCS 12.5s+25s+ 1
R(s)
C(s) ss+12.5s2+ 25s+1
CN 12.Ss+25s5-=1
R(s)s+13.5s+25s+1
Fig. P.5.2.4
Ted
Mcchatronlcs (SPPU) 5-11 Controllers
s213.5 1
s 13.5x25-1x1
13.5 24.92 0
S
24.92 x1-13.5x0 +10
24.92
20 70
change in Time-
System is stable because there is no sign
Fig. P.5.2.5
the first column of Routh away.
Soln.: Tine domain equation for Pl controller is
5.2.9 Serial PID
de
P=K,eptKp K Je, dt+ K, Ko P,(0) P 2e+0.04 edt
Errors percent
e 10%
t 20 sec
P. 0
Tech ladedga
Controllers
Mechatronics (SPPU) 5-12
+10
20 70
Time-
6
1 2 3 (seconds)
30
A
20 Fig. P. 5.2.7(a)
+10
Soln.
Divide the graph in 3 parts
Time-
0 to 1 sec
Fig. P. 5.2.5(a)
1 to 3 sec
Ex. 5.2.6 : An Integral controller is used for speed control 3 to 5 sec
with a set polnt of 12 rpm within a range of 10 to 15 rpm. The sec
) O to 1
controller output is 22% initially. The constant K = - 0.159%
ep 1%
controller output per second per percentage emor. If the
speed jumps to 13.5 pm, calculate the controller oulput after c 1% /sec
2 sec. for constant ep. SPPU: May 18. Marks 8
Soln.
Two conditionst0 andt=1
Controller output is 22% at t = 0
Po = 22% ep 0
K -0.15% Ce=
dt 1%
sec
pbmaxmin 5-10-306 According to parallel PD formula
dee
The rate of controller output change Is then given by P Kp p+Ku dt tPo
=
d Ke, = (-0.15 S*) (- 30%) 4.5 S-1% . Pi =
10 x0+0.5 x0 + 20 = 20
4.5 Percent per second t
ep 1%6
The controller output for constant crror will be
dep
found as 1% /sec
edtaased
Mechatronics (SPPU) 5-13 Controllers
Ps = 10x1+1x0+20 30%
3 ep 1%
dee 0
dt Time (seC)
dep
P Kg ep+Ko d+Po
=
P4 10x 1+1x0+20 30%
i) 3 to 5 sec Fig.P. 5.2.8
Soln.:
see
e 1d-0.5% Equation for serial PID
P Kp ep+ Ko
dep
d+P
P Kep+K,Ko
dPo
Divide graph in 3 parts
x
Ps (10 1)- (0.5x 1)+20 Oto 1 sec
29.5 1 to 3 sec
3 to 5 sec
ep 0 () 0 to 1 sec
Output
der constant errors]
dt 0
dep
P KEp+ K,Ko d+P
25 2.5%
5(0.5t+ 2.5)+2.5+ 30
P
Trne 2
Pa 2.5t+ 45
Fig.P. 5.2.7t6)
.t= 3 P= 37.5 %
aualedg
Teh **
Mechatronics (SPPU) 5-14 ontrollers
=
t 4P 35 % P Kp C+K,KJ e dt +Kp K dt
= 17.5 %
t5Ps 0
. Controllers output response. 0
P 10x0+(10 x 2) J Odt +
(10 x 0.5 x 1)+0
0
5%
t
C 1%
10
= 1%/sec
Jep dt 0.5
Time
Fig. P. 5.2.8{a) P 10x 1+ 10 x2x 0.5 + 10 x 0.5 x1+0
Ex. 5.2.9: Fig. P. 5.2.9 shows an erors time graph. Sketch = 25%
the Pl controller (serial fom) output w.r.t time. Assume (i) 1 to 3 sec
Kp10, K = 2, Ko = 0.5 and P = ie. the controllers
0
output is zero when the eTors is zero
ep 1%
SPPU-May 15. May 16. 10 Marks
dee
dt 0
Jep dt = 0.5
0
P
2 3 10x1+ 10x2x0.5+ 10x0.5+0 =20%
Fig. P. 5.2.9 t-3
Soln.: Divide the graph in 3 parts 1%
0 to 1 sec;1 to 3 sec; 3 to 5 sec dep
dt 0
i) Oto 1sec
ep 1%
Jep dt = 2.5
aee
dt 1%/sec P = (10x1)+ (10x2x 2.5) + (10x0.5) +0
60 %
Jep dt 0.5
(iil) 3 to 5 sec
Two conditions t=0 and t=1
ep 0
ep
1=- 0.5 % sec
dep
1% sec1 Je dt 2.5
Jepdt 0
P (10x1)+(10x2 x2.5) + (10x0.5x0.5) +*0
10+ 50 -2.5 57.5%
According to formula
realedgs
Mechatronlcs (SPPU) S-15
Controsers
ep dt= 3.5
P 51.25%
70
55
50
Contoler osto
Tre
25
Fig. P.5.2.10ta)
10
Ex. 5.2.11 : Fig. P. 5.2.11(a) shows as eror time graph
= 5.
Sketch the PD controler op wrt tme. Assune K
Tume- Ke = 0.5 and Po 30% (ie. controller op when error is
Fig. P.5.2.9(a) zero.) SPPU: May 18, Dec. 19. 10 Hdarks
=
The equation of error ise 0.5t +0.03t.
With
Ex. 5.2.10 :
of the
Kp 5, Ko 0.5 and p(0) = 50%, sketch the graph
derivative
controller output vs time for a proportional plus
controller (in seres fom) fromt 0 tot =2 sec.
SPPU: Dec. 16, 10 Marks
Soln.
dep Fig.P.5.2.11(a)
P ke,+k,ko dPo -(1)
sec Soln.
Time givent=0 tot = 2
k 0.5,
Po 50%
Given data
ep 0.5t+ 0.03 t2
R, 5
Taking derivative of both side
K 0.5
0.5+0.06t
Po 30% [controller output where error is 0]
Find value of p at both condition
t 2
Tech aamlelgi
5-16
Controllers
Mechatronics (SPPU)
Divide graph in 3 parts
1. 0 to 1 sec.
2. 1 to 3 sec.
30
3. 3 to 5 sec.
1. 0 to 1 sec. 20
Where e =1 [from graph)
10
If consists e in terms oft
For slop between 0 to 1 sec.
3 6
et t time
1 [slope of line]
d Fig.P. 5.2.11(b)
.
de
P K,e,+K, Ko d+P 5.3 Applications of PID Controllers
5x1+5x 0.5 x 1+ 30
of Applicationsi
PID Controllers have Wide Variety
5+2.5+ 30 37.5 Manufacturing Industry. Some of them are Listed as
2. 1 to 3 sec Follows:
better.
values are stored and used by the PID controller.
5.4.3 Process reaction curve technique
5.4.1 Trial and Error Method
- tuning technique. It generates response
It is open loop
When when a step input is applied to the system. At
first, we
- It is easy method of PID controller tuning.
controller is working, we can tune the controller. required to apply some control output to the system
values manually and then record response curve
this method, initial we have to set and K
K,
In
(K,) ill By using curve we can calculate slope,
dead time, rise
to zero and increase proportional value
of P,I
system reaches to oscillating behaviour. time of the curve and at last substitute values
PID terms.
(K) so and D equations to find the gain values of
When it is oscillate, adjust Integral term
oscillations stop and at last regulate to get fast
D
100 Process vakue
90 Manipulated value
response.
80
5.4.2 PID: Stepwise Procedure for Manual 70
60
Tuning 50
40
University Questions
damped inherently.
|Q. A second order system is under
tuning
Discuss the step by step procedure for manual
of the system 200
of a PID controller so that the behavior 50 100 150
Ted Lavatedi
cati*a
Controllers
5-18
F Mechatronics (SPPU)
According to Ziegler and Nichols, the values of KT
and Ta should be set using the formula provided in
Table 5.4.1.
Table 5.4.1
Fig. 5.4.2
Type of Kp T T4
Based on the transient response characteristics of
a
Controller
particular plant, Ziegler and Nichols developed criteria
P
for deriving values of the proportional gain KP, integral
can
time Ti, and derivative time Td. Engineers on-site
PID 0
determine the settings of PID controllers or tune PI
09 0.3
controllers by conducting tests on the plant Such rules
offer a set of Kp. Ti, and Ta values that will ensure the PID 12
2L 0.5 L
of the plant can be used to create step-response curves. Thus, the PID controller has a pole at the origin and
double zeros at
Plant
s
u(t) c(l)
Quick
roloaso valvo | vatve
Treadle valve
Rear
Auxilary
Storage reservoirs
Air compressor
Compressor, storage reservoir, treadle valve (brake Brake chambers, push rods, slack adjusters, S-cams,
application valve), brake lines, relay valve, and quick brake pads, and brake drums make up the mechanical
release valve are all part of the pneumatic subsystem. subsystem. The axles are where the foundation brakes
The pneumatic subsystem is divided into two circuits:
are placed. The S-cam foundation brake is shown in
the primary circuit applies brakes to the rear wheels,
Fig. 5.5.1 and is commonly utilised in current air brake
while the secondary circuit applies brakes to the front
systems in India. Compressed air enters the brake
wheels. These two circuits are found in most treadle
valves used in air braking systems. The primary circuit chamber and works against the diaphragm. producing a
is activated by pedal power and sends pressurized air to force that causes the push rod to move. The push rod
the rear brake chambers (i.e, rear wheel brake rotates a splined shaft via the slack adjuster as it moves.
chambers) through the relay valve. The primary circuit A cam in the shape of a S is installed on the opposite end
is activated by pedal power and sends pressurized air to
of the splined shaft. The S-profile cam's rests on the
the rear brake chambers i.e, rear wheel brake
ends of two brake shoes. The brake shoes are pushed
chambers) through the relay valve. Under ypical
outward when the S-cam rotates. The brake shoes are
working circumstances, compressed air from the
primary circuit activates the secondary circuit. The pushed outward by the rotation of the S-cam, causing
rapid release valve supplies pressurized air to the front the brake pads to make contact with the braking drum.
brake chambers (ie., brake chambers on the front The revolving drum decelerates as a result of this
wheels) when the secondary circuit is triggered. The motion. When the driver lets go of the brake pedal, the
benefit of using a dual circuit treadle valve is that partial air in the brake chamber is drained, and the push rod
braking is still feasible if one of the circuits fails.
strakes back into the braking chamber, turning the S-
Po des c0Controler u) System b.act
C(s G(s) cam in the opposite direction. The brake is now released
since the contact between the brake pads and the brake
drum has been broken.