0% found this document useful (0 votes)
259 views

Simulink Exercise PDF

The document describes four lab experiments to analyze the effects of different PID controller parameters and deadtime on process control. Lab 1 varies the proportional, integral and derivative gains of the PID controller. Lab 2 analyzes the effect of changing the integral time. Lab 3 examines the impact of modifying the derivative time. Lab 4 introduces deadtime to the process and observes the process response for different time delay values. The labs involve setting up a process and PID control loop simulation, running experiments with adjusted parameters, and plotting and comparing the process responses.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
259 views

Simulink Exercise PDF

The document describes four lab experiments to analyze the effects of different PID controller parameters and deadtime on process control. Lab 1 varies the proportional, integral and derivative gains of the PID controller. Lab 2 analyzes the effect of changing the integral time. Lab 3 examines the impact of modifying the derivative time. Lab 4 introduces deadtime to the process and observes the process response for different time delay values. The labs involve setting up a process and PID control loop simulation, running experiments with adjusted parameters, and plotting and comparing the process responses.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Lab 1

Effect of controller gain

Perform the following tasks.

1. Prepare the following control loop.

12:34 time
Digital Clock To Workspace1
PV

To Workspace

5
1 PID
s2 +10s
SP PID Controller Scope
Process

Display

5
2. Process transfer function =
s + 10 s
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)


11. Combine response of figure(2) and figure(3) into figure(1).

12. Your result should look like this.

1.8

PID1
1.6

PID2
1.4
PID3

1.2

SP
1
PV

0.8

0.6

0.4

0.2

0
0 100 200 300 400 500 600
Time

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.


Lab 2

Effect of integral time

Perform the following tasks.

1. Prepare the following control loop.

12:34 time
Digital Clock To Workspace1
PV

To Workspace

5
1 PID
s2 +10s
SP PID Controller Scope
Process

Display

5
2. Process transfer function =
s + 10 s
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 = 0.05 , I2 = , D2 = 0

8. Plot the second process response.

>> figure(2), plot(time,PV)

9. Run a third set of PID’s value. P3 = 0.05 , I3 = , D3 = 0

10. Plot the second process response.

>> figure(3), plot(time,PV)


11. Combine response of figure(2) and figure(3) into figure(1).

12. Save your work for future report writing.

13. Write a one-page report on the effect of PID’s parameters to the process
controllability.

14. Submit your report by the end of lab session.


Lab 3

Effect of derivitive time

Perform the following tasks.

1. Prepare the following control loop.

12:34 time
Digital Clock To Workspace1
PV

To Workspace

5
1 PID
s2 +10s
SP PID Controller Scope
Process

Display

5
2. Process transfer function =
s + 10 s
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 = 0.05 , I2 = 0.01 , D2 =

8. Plot the second process response.

>> figure(2), plot(time,PV)

9. Run a third set of PID’s value. P3 = 0.05 , I3 = 0.01 , D3 =

10. Plot the second process response.

>> figure(3), plot(time,PV)


11. Combine response of figure(2) and figure(3) into figure(1).

12. Save your work for future report writing.

13. Write a one-page report on the effect of PID’s parameters to the process
controllability.

14. Submit your report by the end of lab session.


Lab 4

Effect of deadtime

Perform the following tasks.

1. Prepare the following control loop.

12:34 time
Digital Clock To Workspace1
PV

To Workspace

5
1 PID
s2 +10s
SP PID Controller Dead time Scope
Process

0.9982

Display

5
2. Process transfer function =
s + 10 s
2

Process set point = 1

Add “transport delay” and set Time Delay to 5

3. PID controller’s parameters are: P = 0.2, 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 Time delay = 7

8. Plot the second process response.

>> figure(2), plot(time,PV)

9. Run a third set of Time delay = 9


10. Plot the second process response.

>> figure(3), plot(time,PV)

11. Combine response of figure(2) and figure(3) into figure(1).

12. Your result should look like this.

2.5

1.5
PV

SP
1

0.5

0
0 100 200 300 400 500 600
Time

13. Save your work for future report writing.

14. Write a one-page report on the effect of dead time (i.e. Time delay) to the process
controllability.

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

You might also like