A188028_Dynamic and Process Control_Assignment2
A188028_Dynamic and Process Control_Assignment2
BINA
SEMESTER II 2023/2024
COURSE LECTURERS
PROF. MADYA DR. NORLIZA BINTI ABD RAHMAN
DR. JARINAH BINTI MOHD ALI
SIMULATION PROJECT
COMPUTER SIMULATION OF IDEAL BINARY DISTILLATION COLUMN
1. Manual Controller.
P PI PID
Set point, xD 0.9488 0.9488 0.9488
Step time, xD 1 1 1
Set point, xB 0.4 0.4 0.4
Step time, xB 1 1 1
Kp,1 100 100 100
Kp,2 100 100 100
Ki,1 0 1 2
Ki,2 0 1 2
Kd,1 0 0 0.05
Kd,2 0 0 0.05
P Controller
PI Controller
PID Controller
PI Controller
PID Controller
2. Toolbox Controller.
Toolbox Controller: Servo Control
P PI PID
Set point, xD 0.9488 0.9488 0.9488
Step time, xD 1 1 1
Set point, xB 0.4 0.4 0.4
Step time, xB 1 1 1
Kp,1 100 100 100
Kp,2 100 100 100
Ki,1 0 1 2
Ki,2 0 1 2
Kd,1 0 0 0.05
Kd,2 0 0 0.05
P Controller
PI Controller
PI Controller
Best controller: PID controller.
- Both responses for xD and xB show little oscillatory effect
- No overshoot for xD and lower overshoot for xB
- Shorter settling time and reach the steady state set point value faster than P and PI
controllers
- Zero offset
P PI PID
Load, U1 50 50 50
Step time, U1 1 1 1
Load, U2 50 50 50
Step time, U2 1 1 1
Kp,1 100 100 100
Kp,2 100 100 100
Ki,1 0 1 2
Ki,2 0 1 2
Kd,1 0 0 0.05
Kd,2 0 0 0.05
P Comtroller
PI Comtroller
PID Comtroller
P PI PID
Set point, 𝑥𝐷⬚ 0.9488 0.9488 0.9488
Step time, 𝑥𝐷⬚ 1 1 1
Set point, 𝑥𝐷1 0.9488 0.9488 0.9488
Step time, 𝑥𝐷1 3 3 3
Set point, 𝑥𝐷2 0.9488 0.9488 0.9488
Step time, 𝑥𝐷2 5 5 5
Set point, 𝑥𝐵⬚ 0.4 0.4 0.4
Step time, 𝑥𝐵⬚ 1 1 1
Set point, 𝑥𝐵1 0.4 0.4 0.4
Step time, 𝑥𝐵1 3 3 3
Set point, 𝑥𝐵2 0.4 0.4 0.4
Step time, 𝑥𝐵2 5 5 5
Kp,1 100 100 100
Kp,2 100 100 100
Ki,1 0 1 2
Ki,2 0 1 2
Kd,1 0 0 0.05
Kd,2 0 0 0.05
P Controller
PI Controller
PID Controller
P Controller
PI Controller
PID Controller
5. Tune your controller with TWO tuning methods of the following and compare the
results.
5.1. Ziegler-Nichols
Controller Tuning - Ziegler-Nichols (ZN)
1. Set the I (integral) and D (derivative) gains to zero
2. Turn on the P (proportional) mode and increase controller gain, Kc until the system
reaches the ultimate gain Ku, at which the output of the loop starts to oscillate
consistently.
3. Measure the period of oscillation, Pu.
4. Use the Ziegler-Nichols tuning table to calculate the P. I, and D values.
5.2. Cohen-Coon
Formula of ZN for different control settings:
Type of Controller Kc 𝝉𝑰 𝝉𝑫
Porpotional (P) 50 50 50
Proportional-integral (PI) 1 1 1
Proportional-integral-derivative (PID) 0 0 0.05
Type of controller Kc 𝝉𝑰 𝝉𝑫
P xD 6000 - -
xB 6000 - -
PI xD 5500 0.00073 -
xB 5500 0.00073 -
PID xD 7000 0.0004 0.000115
xB 7000 0.0004 0.000115
Controller Tuning - Ziegler-Nichols (ZN)
P Controller
PI Controller
PID Controller
Type of Controller Kc 𝝉𝑰 𝝉𝑫
Porpotional (P) 1 𝑇 𝑇𝑑 - -
(1 + )
𝐾𝑝 𝑇𝑑 3𝑇
Proportional-integral (PI) 1 𝑇 9 𝑇𝑑 30 + 3𝑇𝑑 /𝑇 -
( + ) 𝑇𝑑 ( )
𝐾𝑝 𝑇𝑑 10 12𝑇 9 + 20𝑇𝑑 /𝑇
Proportional-integral-derivative (PID) 1 𝑇 4 𝑇𝑑 32 + 6𝑇𝑑 /𝑇 4
( + ) 𝑇𝑑 ( ) 𝑇𝑑 ( )
𝐾𝑝 𝑇𝑑 3 4𝑇 13 + 8𝑇𝑑 /𝑇 11 + 2𝑇𝑑 /𝑇
Type of controller Kc 𝝉𝑰 𝝉𝑫
P 17.9226 - -
PI 14.6397 0.8885 -
PID 22.1366 0.8840 0.2219
Block diagram CC:
P Controller
PI Controller
PID Controller