ME-339 Control Engineering Lab
Control Engineering Lab
Lab Report 11
Closed Loop P-I and P-D Control of Level Sensor
5TH SEMESTER
Submitted to: LE Usman Ghani
Session: 2021 Section: ME-13C Group: B
SUBMITTED BY
Name: Waleed Nasir
Class: ME-13-C
CMS: 394281
School of Mechanical and Manufacturing Engineering
ME-339 Control Engineering Lab
Objectives:
● Familiarity with (PID) control in level control system.
● Use of P-I and P-D controller in control system.
● Familiarity with level control training system
Apparatus:
● Level Control module.
● leads.
● DMM.
Circuit Diagram:
Level Control Module
Procedure:
● Build the connections as given in the circuit diagram.
ME-339 Control Engineering Lab
● Connect set point 1 to DMM to regulate the voltage.
● Connect PID controller to water pump driver at point 10, and in the
drive build connections i.e. 11-11 and 12-12.
● In the level sensor interface, connect point 1-1 and 2-2 and point 5 of
sensor to point 5 of PID controller.
● Switch on the system and give 25% value of Kp, Ki and Kd according to
combination.
Table:
Set value = 5.8 cm
Level (cm)
Time (s) PI PD
0 0 0
15 5.6 5.5
30 5.8 5.6
45 5.8 5.7
60 5.8 5.7
75 5.7 5.8
90 5.9 5.9
105 5.85 5.85
120 5.7 5.9
ME-339 Control Engineering Lab
Graph:
PI PD
5
Level (cm)
0
0 20 40 60 80 100 120 140
Time (s)
Results and Discussions:
The integral part helps keep the level steady around the desired value, as
seen in the graph and table. On the other hand, the derivative control causes
a quick level change when there's an error. However, our results don't show
this trend because our error is low, and the fact that Kp and Kd values are
the same also plays a role.
Conclusions:
The stabilize trend is almost shown in case of PI combination but there is
some error in case of PD’s trend. There can be some error in the values and
the possible reasons for the errors are;
● Parallax error.
● Rest of timeliness in noting down time.
Safety Precautions:
⮚ Always wear safety goggles, lab coats, closed-toed shoes, and gloves
when working in the lab
⮚ Familiarize yourself with emergency procedures for fires, electrical
shocks, chemical spills, and personal injuries
ME-339 Control Engineering Lab
⮚ Disconnect power sources when working on circuits or equipment.
Follow electrical safety guidelines to prevent shocks or electrical
hazards.
⮚ Inspect equipment before use, report any faults, and handle all lab
tools and equipment with care