Professional Documents
Culture Documents
PID Tuning
PID Tuning
&
Tuning
BASIC ON/OFF CONTROL
Inflow
START
Qin
L2
Solenoi
d
L1
S
P Solenoid
P
power
supply
Qou
t
In On/Off control- control signal is either 0% or 100%
Control at set point not achievable, a dead band must
be incorporated
Useful for large , sluggish system particularly those
incorporating electric heaters
Examples- Large tank level control
- Lube oil tank temperature control by
heaters
BASIC PROPORTIONAL
CONTROL
V1
Qo=50
Qin 50%
60% Air to Close Qo=60
SP
50kPa
40kPa 20-100 kPa
L
T
50t/h
60t/h
Qout
P.C provides a control signal, proportional to the
magnitude and direction of the error signal.
e(error)= SP - M
m=ke + b
PB=proportional band
100%
Gain(k)=
PB
V1 Flow
Change
Kp=
50%
60%
60 Air to Open 1
% Kp=
Qin 2
Kp=
5
LI Kp 1
5
2
C
=
Outflow
Inflow
t0
t
t t1
t0
Offset New Level S
Offset New Level SP
Level originally SP t1
t1
STEP
CHANGE
TIME
WIDE PB
OFFSET
MODERATE PB
NARROW PB
SUMMARY & OPTIMUM PB
Highly stable but sluggish system
Fast acting system with large offset
Unstable on/off system
Require bias to avoid undesirable situation because m=
ke, so m= ke + b
Optimum setting for PB should result in the process
decaying in a ¼ decay mode
A/4 A/16
A
RESET OF INTEGRAL
ACTION
To restore the process to the set point after disturbance
then only proportional is insufficient
The additional inflow must replace the lost volume
Outflow
Inflow
Set point
Offset removed
t
ese
R t
st R ese
Fa ma
l
r
No
t
Slow rese
Ke
Proportiona
l
Response
Exam
ple
A direct acting controller has a proportional band of 50% is subjected to
a sustained error. The set point is 50% and the measurement 55%.
After 4 minutes the total output signal from the controller has increased
by 30%. What is the reset rate setting in RPM and MPR?
Soluti
on PB = 50% gain = 100% = 2
50%
Since ↑↑ k will be negative
Proportional Signal = -2 x error = -2 x
-5%
Total=signal
+10% after 4 minutes = +30%
=P+I
∴Integral Signal = +20%
i.e., integral action has repeated original proportional signal twice in 4
minutes, 1 repeats per 2 minutes or 0.5 repeats per minute.
Reset rate = 0.5 RPM or 2 MPR
SUMMAR
Y
Mathematical expression for integral action
• m = control signal
• e = error signal (e = SP . M) ∴(+ or -)
• k = controller gain (↑↑ = −) (↑↓ = +)
• TR = reset time (MPR)
• b = bias signal
inpu
t
outp Proportiona
ut l action
Derivati
ve
action
PHENOME
NA
Mathematical equation for PD controller
• m = controller signal
• k = controller gain
• TD = derivative time
• e = error
• b = bias signal
Proce A C
ss Tim
t t t
Proportional
0 1 2 e
action
A-B Rate action due to end of
Rate Rate increase in e
action action
Contr A-B B-C Control signal at end of
ol excursion
signa Rate action due to end of
l increase in e
Proportional
action
B-C
SUMMA
RY
Derivative or rate action is anticipatory and will
usually reduce, but not eliminate, offset.
Its units are minutes (advance of proportional action).
It tends to reduce lag in a control loop.
Its use is generally limited to slow acting processes.
PID
Response
PID Tuning
Final
value
Maximum
Measur gradient
ed line
Variabl Response of
e Controlled
M variable
Percentage
change of the
variable per
minute
Original
value Tim
L e
Start of test
signal
Criteria given by Ziegler and Nichols
Type of Kp Ti Td
controll
er
P P/ML
PI 0.9/ML 3.3L
The basis
PID behind these criteria
1.2P/M 2L is 0.5L
to give a closed-loop
response for theLsystem which exhibits a quarter amplitude
decay
EXAMPLE
8
L = 5 min
M = 8/10 = 0.8 % / min
Kp = 1.2P / ML = 1.2 X 10/0.8 X 5
=3
Ti = 2L = 10 min
Td = 0.5L = 2.5 min
0
5 10 15
0
2. Ultimate cycle
method
1. Set the controller to manual operation and the plant near
to its normal operating conditions.
2. Turn off all control modes but proportional.
3. Set Kp to a low value, i.e. the proportional band to a wide
value.
4. Switch the controller to automatic mode and then
introduce a small set-point change, e.g. 5 to 10% and
observe the response.
5. Set Kp to a slightly higher value, i.e. make the proportional
band narrower.
6. Introduce a small set-point change, e.g. 5 to 10% and
observe the response.
7. Keep on repeating 6 and 7 until the response shows
sustained oscillations which neither grow nor decay.
Note the value of Kp giving this condition (Kpu) and the period
(Tu) of the oscillation.
tu
Type of Kp Ti Td
controll
er
P 0.5 Kpu
PI 0.45 Tu/1.2
Kpu
PID 0.6 Kpu Tu/2 Tu/8
2. Quarter
Amplitude Decay
The controller is set to proportional only
With a step input to the control system, Amplitude
the output is monitored and amplitude reduced by a
decay is determined quarter
Control
If the amplitude decay is greater than a
variabl
quarter the proportional gain is increased
led
If the amplitude decay is less than a
e
quarter the proportional gain is T
decreased
By method of trial & error the test input
is repeated until a quarter wave
amplitude decay is obtained Tim
Note this value of proportional gain e
The integral time constant is set to be
T/1.5
The derivative time constant is T/6
Thank You!