Professional Documents
Culture Documents
Prepared By:
Submitted To:
Engr. Ashab Mirza
Associate Professor IIEE
PROJECT SUPERVISORS
2
Feasibility Report
Liquid Level Controlling using Visual C/C++
3
Feasibility Report
Liquid Level Controlling using Visual C/C++
PREFACE
The main purpose of engineering training of BE (IE) at IIEE is to inculcate
engineering capability in its graduate, which enables them in finding practical and
economical solution to the industrial problem. IIEE graduates are required to prove
their engineering capability in their final year lab courses of Project Work. In the
7thterm we are required to complete design, analysis and simulation of the project
and in the 8th (final) semester we develop and practically analyze and tune our
project.
4
Feasibility Report
Liquid Level Controlling using Visual C/C++
The project assigned to us during the 7 th terms period at IIEE is the designing and
development of the DAQ CARD BASED CONTROL LIQUID LEVEL CONTROL.
The base of the tank has a flow valve connected to reservoir. In addition, level
sensors such as pressure Sensor, Floating Potentiometer etc. to monitor the level of
water in tank, displacement float and pressure sensor provide liquid level
measurement.
The PID Controller usually used for temperature, motion and flow controllers. Its
available in analog and digital forms. PID Controller will control the water pump so
that water in tank in level as required. The DAQ card is used as the interface to
connect the system and equipment. Software such as Microsoft Visual C or C Sharp
can be used to implement the designed controller by developing Graphical User
Interface (GUI).
5
Feasibility Report
Liquid Level Controlling using Visual C/C++
1.2.1 Instrumentation
PID CONTROLLERS
6
Feasibility Report
Liquid Level Controlling using Visual C/C++
The IIEE USB DAQ Card will be used as the data acquisition input output card
for the real time implementation. This DAQ card will be function to communicate
between controller and plant.
The controller that is design will send the required signal to control the Valve. The
Valve (which consists of Differential Valve or Servo Valve) will react controlling of
flow. And level sensor and Temp sensor feedbacks the information signal to
controller for next iteration. The same process will happened through DAQ card.
7
Feasibility Report
Liquid Level Controlling using Visual C/C++
Fig 1.3.1: Block Diagram of USB DAQ CARD Based Liquid Level Control Mechanism using Pressure Sensor
Figure 1.3.1 shows about the overall progress for both software and hardware
development that will discuss later. This project will be divided to two parts to make
sure this project run smoothly. The first part is a software part, which will cover
modeling the controller. The controller must be designed (and can be simulated if
needed) and then implemented in Visual C/C# as GUI. The second part will cover for
the hardware part.
In this part, the tank liquid level system will be assembled to make sure it will run
properly. Then, a communication between plant and controller must be done using
8
Feasibility Report
Liquid Level Controlling using Visual C/C++
DAQ card. The DAQ card must be analyzed and these operations need to refer the
manual, to make the interfacing between plant and controller.
START
CASE STUDY
SOFTWARE
OK
OK
OK
DEMO END
Fig 1.3.2: Flow Chart for Software and Hardware development Process
9
Feasibility Report
Liquid Level Controlling using Visual C/C++
1.4.2 VALVES
A valve is a device that regulates the flow of a fluid (gases, liquids, fluidized solids,
or slurries) by opening, closing, or partially obstructing various passageways. Valves
are technically pipe fittings, but are usually discussed as a separate category. In an
open valve, fluid flows in a direction from higher pressure to lower pressure. Valves
are used in a variety of contexts, including industrial, military, commercial,
residential, and transport. The industries in which the majority of valves are used are
oil and gas, power generation, mining, water reticulation, sewerage and chemical
manufacturing.
Pressure sensors are used for control and monitoring in thousands of everyday
applications. Pressure sensors can also be used to indirectly measure other
variables such as fluid/gas flow, speed, water level, and altitude. Pressure sensors
can alternatively be called pressure transducers, pressure transmitters,
pressure senders, pressure indicators and piezo meters, manometers, among
other names.
10
Feasibility Report
Liquid Level Controlling using Visual C/C++
1.5 OBJECTIVES
The objectives of this project are as follows:
1. To develop the PID controller to control the Liquid Level of the Tank
2. To implement the controller using Visual C/C++.
3. To Control the Valve for Flow controlling of the Tank.
4. To monitor the temperature of the tank.
11
Feasibility Report
Liquid Level Controlling using Visual C/C++
S. No. of
Tasks to be performed Time limit
No weeks
Thorough study of
2 Software Algorithm of 2 weeks 15th July, 2011 18th July, 2011
System
PID application software
3 development using Visual 5 weeks 19th July, 2011 31st Aug ,2011
C/C#
Total 20 weeks
12