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

lab 14

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

lab 14

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

School of Mechanical and Manufacturing Engineering

(SMME)
NUST

ME-339 Control Engineering Lab


Lab Report 14
Closed Loop Proportional Integral and Derivative (PID)
Control of Level

SUBMITTED BY:
Name: Malik Muhammad Farhan
CMS ID: 389829
Section:ME-13A

Session: Fall 2023


Semester: 5th
Objectives:
• To become familiarized with the tuning of PID in control systems.
• To become familiarized with the working closed loop systems.
• To become familiarized with the level control trainer.

Apparatus Used:
• Level Control Module.
• Leads.
• DMM.

Figure 1. Apparatus Used


Figure 2. Required Connection

Circuit Diagram:

Figure 3. Circuit Diagram


Procedure for PI Controller:
1. We begin by establishing a connection between SETPOINT 1 and the input of the PID
section of the interface.
2. Then, establish corresponding connections on the PID interface to ensure closed loops, i.e.
TP12-TP15, TP13-TP10, TP14-TP17.
3. Then, establish a connection between SETPOINT 2 and the input to the water pump driver.
4. Once done, establish the corresponding pins on the water pump driver to ensure closed
loops, i.e. PINS 9-9.
5. Connect the output of the flow sensor interface with the input of the PID Controller.
6. Ensure closed loop connections on the PID Controller, i.e. PINS 1-1.
7. Connect the output of the PID section of the interface with the input to the motorized valve
driver.
8. Connect a DMM to the SETPOINT 1, to measure the initial set point to be given to the
controller.
9. Then, rotate the knob of the proportional controller, the integral controller, as well as the
derivative controller to an appropriate setting, so as to first provide the system with a
constant, stabilized, steady-state error using the P controller, and then do eliminate the
presence of error using the I controller.
10. Turn on the apparatus.
11. Connect the DMM with the knob attached at the output of the flow sensor interface to
ensure that the voltage appearing at the output of the interface matches somewhat closely
to the voltage set through SETPOINT 1.

Table:
For PID Controller of Liquid level Control Trainer
Time Level
(sec) (cm)
1.44 1
3.05 2
4.97 3
7.1 4
9.26 5
11.5 7
13.58 8
15.4 9
17.69 10
22.04 13
24.06 12.5
27.37 11
28.55 9
30.3 11
33.2 9
35.6 10.5
36.6 9.5
38.8 10.5
40.3 9.5
42.6 10.5
44.8 9.5
47.3 10.5
48.4 9.5
50.4 10.5
52.3 9.5
55.1 10
57.4 9.5
59.3 10
61.3 10
Table 1. For PID Controller of Liquid level Control Trainer

Graph:

Time vs Flow for PID Controller


15

13

11

9
Level (cm)

-1 0 10 20 30 40 50 60 70
Tme (sec)

Table 1. For PID Controller

Result and Discussion:


Once a combination of all 3 controllers were used, at the same time, it was shown that the system
first showcased an abrupt, yet quick response to the input error, thanks to the D controller. This
lead to an overshoot from our desired set point value. Then, the P controller was engaged to then
reduce the overshot error, down to a smoothened out and stabilized, constant, steady-state error.
Finally, once the I controller was finally engaged, in the end, the system showcased further
stabilization, i.e. it slowly reduced the error present until it reached zero.

Conclusion:
A combination of P, I and D controllers allows us to customize each one to extract the desired
response from our system. The D controller will display a quick and abrupt response, with the P
controller stabilizing the system and introducing a steady-state error, and the I controller slowly
further stabilizing the system, and eradicating all the error.

Safety Precautions:
1. Do not overload electrical outlets.
2. Keep water and other liquids away from electrical equipment.
3. Follow the recommended operating procedures and safety precautions provided by the
instructor.
4. Behavior of electrical hazards.
5. Do not make loose connections.
6. Make sure connections are 100% and ask instructor to check for further procedures.

You might also like