2
Lab 1 Effect of controller gain Perform the following tasks. 1. Prepare the following control loop. time To Workspace1 PV To Workspace Scope 1 SP 5 s +10s 2 Process PID PID Controller 1 Display 12:34 Digital Clock 2. Process transfer function = s s 10 5 2 + Process set point = 1 3. PID controller’s parameters are: P = 0.05, I = 0.01 and D = 0. 4. Set simulation parameters to 600. 5. Run the simulation. 6. Plot PV vs time. >> plot(time,PV) 7. Run a second set of PID’s value. P 2 = , I 2 = 0.01 , D 2 = 0 8. Plot the second process response. >> figure(2), plot(time,PV) 9. Run a third set of PID’s value. P 3 = , I 3 = 0.01 , D 3 = 0 10. Plot the second process response. >> figure(3), plot(time,PV)

Lab 1 control simulation

Embed Size (px)

Citation preview

Page 1: Lab 1 control simulation

Lab 1

Effect of controller gain

Perform the following tasks. 1. Prepare the following control loop.

time

To Workspace1PV

To Workspace

Scope

1

SP

5

s +10s2

Process

PID

PID Controller

1

Display

12:34

Digital Clock

2. Process transfer function =

ss 105

2 +

Process set point = 1 3. PID controller’s parameters are: P = 0.05, I = 0.01 and D = 0. 4. Set simulation parameters to 600. 5. Run the simulation. 6. Plot PV vs time. >> plot(time,PV) 7. Run a second set of PID’s value. P2 = , I2 = 0.01 , D2 = 0 8. Plot the second process response. >> figure(2), plot(time,PV) 9. Run a third set of PID’s value. P3 = , I3 = 0.01 , D3 = 0 10. Plot the second process response. >> figure(3), plot(time,PV)

Page 2: Lab 1 control simulation

11. Combine response of figure(2) and figure(3) into figure(1). 12. Your result should look like this.

0 100 200 300 400 500 6000

0.2

0.4

0.6

0.8

1

1.2

1.4

1.6

1.8

Time

PV

PID1

PID2

PID3

SP

13. Save your work for future report writing. 14. Write a one-page report on the effect of PID’s parameters to the process

controllability. 15. Submit your report by the end of lab session.