Lab 4 - Control Time-Delay System
Lab 4 - Control Time-Delay System
LAB 4
1/8
Department of Control Engineering & Automation – FEEE – HCMUT
4/8
Department of Control Engineering & Automation – FEEE – HCMUT
IV. PREREQUISITES
4.1. Analyze oven model and find parameters of the oven
To successfully carry out this laboratory, students need to read the theoretical
basis section carefully and perform simulations on the computer.
Construct Simulink diagram to analyze the output response of the oven model
as shown in Figure 6. In the diagram, the oven has the transfer function as in (5).
Output data is displayed in the Scope and is saved to the Workspace for plotting the
output response. After simulation, the output response has the form shown in Figure 7.
100
G(s) (5)
(50s 1)(120 s 1)
5/8
Department of Control Engineering & Automation – FEEE – HCMUT
V. IN-LAB PROCEDURE
5.1. Find parameters of the oven
Experimental steps:
a) Open temp_response.mdl file.
b) Set applied voltage to U = 220*0.25 (V). Set simulation time to 1600s.
c) Compile the model and run it.
d) Run temp_plot.m file to plot the output response. Based on the graph,
determine the inflection point I and draw a tangent through I. Find K , T1 and
T2 ; fill in Table 1.
Note: After finishing step c, students must shut down the oven, open the oven door,
and used the fan to cool down the oven before conducting the next experiment.
Table 1. K , T1 , T2 values
K T1 (s) T2 (s)
K p / Ti
Controller PID( s ) K p
s
K pTd s
P
PI
PID
Experimental steps:
a) Open temp_pid_ctrl.mdl file.
b) Set the parameters of P controller calculated in Table 2 for the "Discrete PID
Controller" block. Set the sampling time to T = 1s and the simulation time to
1800s.
c) Compile the model and run it.
d) Repeat step b) and step c) for PID controller and write the results in Table 3.
Table 3. Performance criteria of the two control systems
Controller Settling time (s) POT (%) Steady-state error (oC)
P
PID
7/8
Department of Control Engineering & Automation – FEEE – HCMUT
LAB REPORT
Full name: Group: Date:
1. From the data in Table 1, write the transfer function of the oven according to (1)?
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
2. From experimental results in Section 5.2, comment on the performance of the
control system for each controller: P, PID. Which is the best controller? Why?
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
...............................................................................................................................................
8/8