PID Controller Experiment
PID Controller Experiment
8
Aim To study the effectofPID controller:
Apparatus
1. Experimental kit (PCS-01)
2. CRO
3. Connecting probes
or
Theory A controller is a device which when introduced in a feedback
forward path of a system, reshapes the time response of the system as per requiremeit. Such
device converts input to the controller to some function of error, like proportional to error,
derivative of erroretc, ue to whích steady state &transientresponse changest .
In general good time response demands
i) Less settling time
ii) Less overshoot
ii) Less rise time
iv) Smaller steady state eror
To improve the transient response damping ratio is changed. To improve steady state
performance steady state errors are tried to reduce.
Consider second order system
Gs) =a/s(s + 2fa,)
H(s) -1
C(s)
R{S) s²+ 25w,s +a
Where Eis damping ratio &o is iatural frequency.
The error constant can be determined as below
Kp = limG(S)H(S) = c
K, = lim sG ($)H($) = an /25
Where, K, is position error constant
K is position error constánt
Controller Plant
R{s) c(s)
K
o/s(s + 2fw,)
/s(s +?
By increase in K i.e., increase in system gain, steady state error can be reduced but due to
highi gain seting time &peak oversköot withinacceptabl limits by providing folBowing
different types of controHer,
ijhfPD proportional +derivative action
i) Plproportional +integral action'
iin) PID proportional + integral +derivative action.
PD controller:
A.contollet in the forward path, which changes the plant input to the proportional plus
derivative of error sigDal is called as PD' ontreller pi
ie; input to controBler = Ke(t) + Kpde(t)fdt '
Taking Laplace = KE(s) +sKzE(s)= E(S)K +skp]
The transfer function of suchontroller is [K+ skpl
s4
This is realized as shown in fig
sk,
2
Gs) = (K +skp)o/s(s + 2{@n)
H(s) = 1
CS) (K+SKp)a
R(S) sl+s(2fWntKp)+oh
K,
S
PID controller:
As PD improves transient response &PIimproves steady state response combination of two
can be used to improve overall time response of the system
This is realized as shown in fig
Controller Plant
K,/s
R(S) K
C(s)
o/s(s + 2wn)
skp
Observe Input & Output Waveforms yOn CRO (Ch-1& Ch-1)
Procedure:
(A) SETTINGS
Simultaneousty
Set input signal
1. Set switch SW2 on (wavefom generator)
2. Set
frequency waveformgenerator panel to fast
3.Set knob on division 2.
square wave knob to'6V
4. Set, set
value knob to zero
position.
(B) Set process
1.Set SW4 to faat.
2. Set
switches Plon lag &P2 ön lag
(C) Set controller.t
1. Set switch
SW3 fast
2. Set
proportional band (PB) knob on.100%
(D)
Studyopen
1. Dó comectionloop system
as shown in fig 1
2. Obaerve output.on CRO for (Black colour only)
PB knob setting 50%,
3.
Drawrough sketch for each on same graph. 100%,200%
(E} Cloaed loóp system with
1. Do additional proportional control only
connections (Blue
2. Observe output on CRO for knobcolour)
3. Draw rough sketche's for
aetting 200%,100% &20%
each on same graph.
(F)Closed loop with PI
1. Do additional connections
(Green colour)
2. Keep PB'knob at 20% setting &integral time
(IT) knob to zero.
3. Vary IT knob & note the changes in steady state &
4.
transient.
Draw rough sketch for each ßn same graph.
OAD
CLOsEDLooP
CLOSED CLOSEDOPEN
CLOSED LOOP
DNVERTSR
REMOYE PID PC
PROPORT|ONAL RANTORT
DEYADH
CONTROLER
CoNTROLLER
VALLE
VALBSST
ZAST OONTROLLER LAG
swI CONTROL
BLACK
OUT
VOLTAB DC RI
GREEN CON
SOURCE
LOW SIMULATOR
ONNECTION-
CTIONGREEN. DNTIORL
TIY(o) PROCISs
NECTION-
3
15
-
OUT (PCS-01)
BLUE
V DNIEG
MaoeyROns P
+
RED. CENERATOR
WAVERORM
PROPOKTONL N
23055
Pt. AD
Lud, CUT
3%
Cec6
FRRQUCY
P1
FANT
DI5TURAANCZ
UTPLT
sW2