You are on page 1of 2

METHOD

1. Open Simulink library and make a new model


2. Simulink model consists of three types of element:sources(input),
system(process) and sinks(output) which complete the control loop.
3. To build a model, drag the icon required from the library to the model window

LAB 1: Effect of controller gain


1. Place an input [constant], process [sum, PID controller, transfer function], and
output [to work place, scope and display] for the new model. And connect the
port of the block.
2. The sum is set to (+ - ) sign.
3. The set point of the process is 1
5
4. The transfer function is set to = s 2+10 s
5. The set simulation parameter is 600 seconds
6. Set the first parameter for the PID1 is P1=0.05, I=0.01, D=0
7. The simulation was run and the graph of process value (PV) versus time (t) is
obtain
8. Repeat the simulation with different proportional,P value which is ; P 2=0.10 and
P3=0.15
9. The graph for PID1, PID2 and PID3 was combined into one graph

LAB 2: Effect of integral time


1. Place an input [constant], process [sum, PID controller, transfer function], and
output [to work place, scope and display] for the new model. And connect the
port of the block.
2. The sum is set to (+ - ) sign.
3. The set point of the process is 1
5
4. The transfer function is set to = s 2+10 s
5. The set simulation parameter is 600 seconds
6. Set the first parameter for the PID1 is P1=0.05, I=0.01, D=0
7. The simulation was run and the graph of process value (PV) versus time (t) is
obtain
8. Repeat the simulation with different Integral,I value which is ; I 2=0.03 and I3=0.05
9. The graph for PID1, PID2 and PID3 was combined into one graph

LAB 3: Effect of derivative time


1. Place an input [constant], process [sum, PID controller, transfer function], and
output [to work place, scope and display] for the new model. And connect the
port of the block.
2. The sum is set to (+ - ) sign.
3. The set point of the process is 1
5
2
4. The transfer function is set to = s +10 s
5. The set simulation parameter is 600 seconds
6. Set the first parameter for the PID1 is P1=0.05, I=0.01, D=0
7. The simulation was run and the graph of process value (PV) versus time (t) is
obtain
8. Repeat the simulation with different Derivitive,D value which is ; D 2=1 and D3=2
9. The graph for PID1, PID2 and PID3 was combined into one graph

LAB 4: Effect of dead time


1. Place an input [constant], process [sum, PID controller, transfer function and
transport delay], and output [to work place, scope and display] for the new model.
And connect the port of the block.
2. The sum is set to (+ - ) sign.
3. The set point of the process is 1
5
4. The transfer function is set to = s 2+10 s
5. The set simulation parameter is 600 seconds
6. Set the first parameter for the PID1 is P=0.2, I 1=0.01, D=0 and time delay of 5s
7. The simulation was run and the graph of process value (PV) versus time (t) is
obtain
8. Repeat the simulation with different time delay value which is ; time delay 2 = 7s
and time delay3 = 9s
9. The graph for PID1, PID2 and PID3 was combined into one graph

You might also like