You are on page 1of 3

PROJECT TITLE:

“WATER LEVEL CONTROL SYSTEM USING MATLAB”

GROUP MEMBERS:
Shameen Mazhar 347358
Mohammad Hamza 331502
Muhammad Adnan Mirza 350471

Introduction
The management of water levels in tanks is a critical utility of control structures in the
discipline of engineering. The potential to keep a steady water level will have several
programs, starting from the supply of consuming water to the irrigation of plants. On
this project, we will be growing a water stage management gadget the usage of
MATLAB. The device will use sensors and pumps to preserve a favored water degree in a
tank, while a manage set of rules will regulate the pump velocity based totally at the
distinction among the preferred water degree and the actual water level.
Technique
Mathematical Modeling
We began the venture via growing a mathematical model of the water degree manage
tank. The version consisted of a differential equation that defined the price of trade of
water level over time, given via:

DH/dt = q_in - q_out

Where H is the water level inside the tank, t is time, q_in is the float charge of water
coming into the tank, and q_out is the glide rate of water leaving the tank.

Sensor selection
The subsequent step was to pick out sensors that could measure the water degree in
the tank. We have taken into consideration numerous options, which includes float
switches, stress sensors, ultrasonic sensors, and capacitive sensors. After analyzing the
pros and cons of each choice, we decided to use an ultrasonic sensor to degree the
water level.

Pump selection
We then decided on a pump that could pass water in and out of the tank as needed to
preserve the favored water level. We chose a centrifugal pump with a glide rate of 10
liters in line with minute.

Control algorithm
We developed a control set of rules that used the sensor facts to manipulate the pump.
The algorithm used a proportional-essential-derivative (PID) controller, which adjusted
the pump pace based totally at the difference among the desired water degree and the
actual water degree. The control algorithm changed into applied in MATLAB the use of
the manipulate device Toolbox.
Checking out
We examined the water stage management machine underneath exceptional conditions
to ensure that it maintained the desired water degree. We are additionally subtle the
control set of rules as needed to make sure that it spoke back correctly to changes in
water level.

Deployment
Sooner or later, we deployed the water level control gadget to the body device. We
used MATLAB to generate code that would run on a microcontroller, which was related
to the ultrasonic sensor and the centrifugal pump.

Effects
The water degree control gadget become capable of preserve the favored water degree
in the tank within a tolerance of +/- 1 cm. The manage set of rules was able to adjust the
pump speed quick and correctly in response to modifications in water stage, and the
gadget became capable of perform continuously without manual intervention.

Conclusion
In conclusion, we have been capable of successfully developing a water level manipulate
device using MATLAB. The machine used an ultrasonic sensor and a centrifugal pump to
preserve a favored water degree in a tank, while a PID controller adjusted the pump
speed based at the distinction between the favored water degree and the actual water
stage. The device changed into capable of operate continuously and hold the desired
water level inside a good tolerance. This assignment demonstrates the importance of
control systems in realistic engineering programs and the versatility of MATLAB in
developing and checking out control algorithms.

You might also like