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

lab 12

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

lab 12

Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, 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 12
Closed Loop Proportional Integral and Derivative (PID)
Control of Flow

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

Session: Fall 2023


Semester: 5th
Objectives:
Objectives:
 To become familiarized with the closed loop control of PID.
 To become familiarized with the working of PID Controller.
 To become familiar with the flow control trainer.

Apparatus Used:
 Flow Control Trainer.
 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 SETPOINT 1, to measure the initial set point to be given to the
controller.
9. Then, rotate the knob of the proportional controller, as well as the integral controller to an
appropriate setting, 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 PI Controller of Flow Control Trainer
Time Flow Rate
(sec) (LPM)
1.42 1
2.56 2
3.95 3
5.6 4
7.89 5.5
10.39 4.5
13.83 5.5
15.28 4.5
18.3 5.5
19.7 4.5
21.3 5.5
23.6 4.5
25.6 5.5
28.6 4.5
30.7 5
33.4 5
Table. For PI Controller of Flow Control Trainer

Graph:

Time vs Flow Rate for PI Controller


6

4
Flow Rate (LPM)

0
0 5 10 15 20 25 30 35 40 45
Time (sec)

Graph 1. For PI Controller

Result and Discussion:


Once the P and I controllers were turned on to an appropriate setting, it was observed that the
system tended to quickly stabilize the system, to such a state where a steady-state error began to
exist after a rather small period, thanks to the P controller. However, once the I controller acted,
the system began to slowly stabilize itself even further, such that the error was completely
omitted from the system. All in all, the P controller allowed for the system to quickly achieve
stability, and reach a constant steady-state error, where the I controller was used to eliminate this
error from the system.

Conclusion:
A combination of P and I controller can be used to ensure that firstly, our system achieves
stability and steady-state error, rather quickly, thanks to the P controller, and then to remove the
error completely from the system, relatively slowly, thanks to the I controller.

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