Pid Tuning
Pid Tuning
STEP-
1
Cont….
STEP-
2
ST-
3
K = 0.333
L = 0.476 s
T = 4.129-0.476
= 3.653 s
Cont…
ST-
4
ST-
5 ST-
6
ST-
5
Cont…
Specifications
Percent Overshoot:
Settling Time:
Steady state error:
Tuning: Ziegler-Nichols Closed loop method
St-1: obtain Open loop Transfer function
St- 2: Find closed loop response by reducing Ki and Kd to their minimum value and
assuming any value for Kp
It is easier to do this process using SIMULINK block (use transfer function block)
St-4: Note the last Kp value which give steady cycling, which is “Critical gain”, Kc, and
the cycling period is the “critical period”, Tc
Cont…
St-5: Tune the controller gains using values, Kc and Tc
use “Ziegler_Nichols_closed_TuneMethod(Kc, Tc, mode)” MATLAB file to
obtain controller gains as listed in the following table (for standard controller
tuning). Modes Kp Ti Td
P 0.5Kc - -
PI 0.45Kc Tc/1.2 -
ST-
3 To get peaks of the graph in scop
window: ToolsMeasurementsPeak
Finder
2 Period will be Time difference btn
,
T-1 successive peaks
S 3
&
-
ST
4 Kc 60
Tc 1.9
Example 2 𝑌 ( 𝑠)
= 3
1
𝐹 ( 𝑠) 𝑠 +6 𝑠 2 +11 𝑠+6
T-
S
5
-
ST
6
&
T -6
S
7
Example 2 𝑌 ( 𝑠)
= 3
1
𝐹 ( 𝑠) 𝑠 +6 𝑠 2 +11 𝑠+6
T-
S
5
-
ST
6
&
T -6
S
7
CONT…
This tuning methods provide the starting point.
So we can further adjust controller gains to meet our system
requirement.
(Eliminate)
CONT…
For further adjustments are based on the general PID tuning
rules:
1. Identify what characteristics of the system needs to be
improved
2. Use to decrease Rise Time
3. Use to decrease Overshoot and Settling Time
4. Use to eliminate Steady state error
Exercise
Design a PID controller for the given process transfer function using
a. ZN-open loop tuning method
b. ZN-closed loop tuning method
Obtain the closed loop step response graph and show step response
characteristics:
a. Peak response
b. Rise Time
c. Settling Time
d. Steady state value
𝑌 (𝑠) 1
= 3
𝐹 (𝑠) 𝑠 +5 𝑠 2+10 𝑠+ 20