EE3302 Laboratory: Ziegler-Nichols & Relay Tuning Experiments
EE3302 Laboratory: Ziegler-Nichols & Relay Tuning Experiments
EE3302 Laboratory
Report
Ziegler-Nichols & Relay Tuning Experiments
2 Equipment
1. DIGIAC 1750 Transducer and Instrumentation Trainer
2. Connecting Wire
3. Digital Multi-meter
4. Personal Computer
5. Matlab
6 Questions
1. Obtain temperatures in degree Celsius using Equation (1) and subtract them from
the ambient temperature to give the temperatures above ambient in Table 1.
2. Divide the temperatures above ambient by the input power u12 (=8.492) and record
the step response, y, in Table 1.
According to the Ziegler-Nichols step response method and using a first-order plus
dead-time model:
KP = y (∞) = 0.3
R = KP/T = 0.0486
T = KP/R = 0.3/0.0486 = 6.17
L = intercept of tangent line with x-axis = 0.63
Thus, the first-order plus dead-time model is KPe-sL/(sT+1) = 0.3e-0.63s/(6.17s +1)
Y(s) = 0.3e-0.63s/s(6.17s +1) for unit step input
y(t) = 0 for t < L
y(t) = 0.3(1 – e-(t-0.63)/6.17)
(b) superimpose the unit step response from the estimated first-order plus dead-time
model on the experiment data,
The graph obtained is shown below.
Uni
t
Ste
p
Re
sp
on
se
y(t)
°C
Time (minutes)
(c) find a first-order plus dead-time transfer function model using the method of areas
Using the method of areas, we find A0 and A1 from the experimental unit step
response.
First, A0 is found with function trapz(t,y)
A0 = KP (T+L) ≈ 0.3*26.5 – trapz(t,y) = 0.3*26.5 – 6.191 = 1.759
From the graph. KP = 0.3 so T+L = 1.759/0.3 = 5.86 ≈ 6
(e) find a first-order plus dead-time transfer function using least-square estimation,
Using least square approximation,
Ɵ1 = 0.9233, Ɵ2 = 0.0232
KP = 2Ɵ2/1- Ɵ1 = 0.3026
T = h*Ɵ1/1- Ɵ1 = 6.0221
Thus the 1st order plus dead-time model obtained using least squares approximation is
KP (1 – e-t/T) = 0.3026 (1 – e-t/6.0221)
(f) superimpose the unit step response from the estimated first-order plus dead-time
model on the experimental data
5. Determine the ultimate period, Tu, the period of the relay oscillation from Table 2
a = (47.8-45)/2 = 1.4 °C
7. Calculate Ku, the ultimate gain
Ku = (4d)/(πa)
122
= 4*( )/ (π*1.4)
2
= 65.5
1 Kp 1
we have: =|G p ( s )|=|G ( jω u )|= 2 2 =
Ku √ ωu T 1+1 √ ωu T 2+1 K u
2 2
9. Superimpose the unit step response from the estimated second-order plus dead-time
model on the experimental data.