Professional Documents
Culture Documents
N Sushma Smart Water Flow Meter For Improved
N Sushma Smart Water Flow Meter For Improved
2022 Second International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT) | 978-1-6654-1120-2/22/$31.00 ©2022 IEEE | DOI: 10.1109/ICAECT54875.2022.9808041
Abstract—Water shortage is one of the predominant changes to the plumbing system are required for noninvasive
problems which influences billions of humans throughout the water flow monitoring [8]. If there is any leakage of water in
world. With the cities transforming to dwelling places of smart the pipeline, the location of leakage can be detected using
infrastructure, controlling, analyzing and reducing the water GSM/GPRS system and software analysis [9]. A system that
consumption of the houses has proved to be challenging.
provides an instant alert about leakage is also developed [10].
Existing smart water monitoring devices are prone to theft,
damage and can be quite expensive. As a result, developing Furthermore, real-time data from flow meters based on IoT
countries are facing a difficult time in acquiring and aids water saving [11]. An alarm and display shower monitor
maintaining high quality monitoring tools. Thereby water system are employed at the shower end to alert the user on
information stays erroneous and generally depends on isolated water wastage [12]. The water meter is an important piece of
estimations. Hence, there is an increased demand for low-cost, equipment in the administration of water distribution systems
reliable and precise flow sensors that are easy to use. To meet as it measures the quantity of water delivered from a public
this necessity a low-cost, remote monitored smart water meter water supply system to a residential or business premises
is proposed in this article to monitor water usage in urban [10]. In general, there are three types of water meters:
private residences. A water flow sensor along with Raspberry Pi
mechanical, electromechanical and entirely electronic water
Pico is used that continuously monitors water usage. With the
ability to monitor and visualize data with ease, the designed meters. Table I indicates the operation pros and cons of these
smart water meter is capable of sensing even moderate pipeline water meters.
flow rates with a serverless architecture. The proposed meter
also records monthly average water requirement of a house. TABLE I. COMPARISON OF WATER METERS.
Classification Merits Demerits
Keywords—LoRa, Smart Water Meter, Smart City, Calibration Fully Mechanical Simple to design, Low flow rates result in a
Factor, Raspberry Pi Pico. minimal cost and restricted measuring
long-term reliability. range and lower accuracy,
I. INTRODUCTION lack of real-time data.
Electromechanical Data in real-time. Electronic component
The adoption and use of modern technology to improve demands additional
the standard of life and lessen the effect of human activities protection, resulting in
is becoming more anticipated across the world. The influence decrease in stability.
of consumer behaviors on the environment, as well as the Fully Electronic Information with Additional water-proof
great precision and protection and power
increasing demand for pure water because of urbanization [1] that is updated in supply are required.
and the expense of managing a growing population in cities real-time.
transport, storage, purification and distribution of water has
become a matter of concern. Water use and associated sewage Electronic circuit components have gradually been added
overheads have been influenced by rapid changes in the way into mechanical water meters during the last two decades to
of life and better paying capacity. Water utilities have give autonomous features such as Automatic Meter Reading
traditionally seen water distribution management as a delicate (AMR) [13]. The electromechanical water meters have a
undertaking requiring a philanthropic methodology, which mechanical measuring base. New measuring concepts, such as
can result in uneconomically high water management costs fluidic [14], electromagnetic flow meters [15] and ultrasonic
and irregular expense sharing agreements between diverse flow meters [16] have recently been used to build
customer groups [2]. Water utilities are rapidly recognizing sophisticated electronic water meters.
the value of smart meters in demand control, client service, In ultrasonic water meters, the velocity of the fluid is
work enhancement and operational excellence. determined by transmitting ultrasonic sound waves through
Advancements in technology like smart meters based on IoT the fluid using one or more ultrasonic transducers [17].
and sensors that help in saving water are progressively Completely electronic water meters, in general, have greater
featured in today's sophisticated programs [3]. Leaks may be measurement accuracy than fully mechanical water meters,
identified, controlled and even patched automatically with making them a suitable option for improving water supply
the help of automatic leak detection and monitoring systems, management in smart cities [18].
allowing for significant advancements in the optimization of
The requirement for low cost, reliable and efficient smart
water-intensive operations and activity control [4].
water flow meters has seen an increasing necessity [19]. Self-
With the advancement of the smart city idea [5], powered water flow meters are also being developed, but the
continuous information gathered from sensors placed in reliability of the system is of main concern [20]. In this
essential locations [6], as well as waterworks networks, is context, design and installation of a smart water meter
projected to enable centralized administration [7]. No employing an embedded controller is proposed in this article.
A complete smart architecture employing Raspberry Pi-Pico of the water flow sensor, motor driver and solenoid valve are
integrated with a LORA communication network is presented in the subsections to follow.
developed. The system is designed to monitor water usage
while accounting for the energy consumption of the sensor B. YF-S201 Hall Effect Water Flow Meter/Sensor
node. The contribution of the work carried out lies in Accurate flow measurement is a critical step from both
developing a system design for a smart water meter,
qualitative and economic standpoints. Flow meters are
measurement of water flow using Hall Effect water flow
meter, development of the required circuitry and PCB effective instruments for measuring water flow. Water flow
fabrication. The work focuses on using the water flow sensor sensor YF-S201 is used in this work to design a reliable water
and microcomputer for water flow measurement and management system. Fig. 2 depicts the interior structure of
collecting real-time data on water consumption. the YF-S201 sensor. YF-S201 is a turbine flow sensor with a
pulse output. A plastic body and a water rotor make up this
II. SYSTEM DESIGN AND METHODOLOGY low-cost water flow sensor. It also has an internal circuit for
With the advancement in technology, deploying a the Hall effect sensor, which operates on the basis of
wireless network in large areas is not at all a problem today. electromagnetism and generates pulses at the output pin. It is
Integration of wireless modules with suitable IoT-based a low-power device with a maximum flow rate of 30 liters per
controllers has led to the development of feasible water minute. The Red (5-24V DC power), black (ground) and
measurement systems in smart cities [21]. With effective yellow (Hall effect pulse output: PWM output) wires are
communication protocols, LoRa and Raspberry Pi Pico, a included with the sensor. The turbine blades are subjected to
smart water flow meter is developed. The entire system is a torque that powers the rotor when liquid flows over the
simple, compact and is said to consume substantially less sensor. The speed of rotation is related to fluid velocity once
current compared to Raspberry Pi and Arduino Uno. In this a constant rotation speed has been achieved. Another
section, the system design and methodology used for the rotational speed measurement device, a Hall effect sensor, is
proposed residential water consumption tracking system are utilized in the YF-S201 to determine the turbine's rotational
discussed. This smart water flow meter has been shown to speed.
measure water flow accurately consuming less power.
A. System Design
The proposed system in this research attempts to create a
smart water meter that can track water usage while
accounting for the sensor node's energy consumption. The
proposed system's block diagram is shown in Fig. 1.
vii. The working hours of the unit must be reduced to is set correctly. As the water pressure and diameter of the
minimize the power consumption. Hence, sleep mode water pipe change, so does the calibration coefficient. As a
is activated for the LoRa module when there is no result, a correct calibration factor value must be established
process involved. to achieve more precision. To determine the calibration
factor, the trial-and-error method is used. The calibration
viii. An interrupt caused by water flow through the sensor
factor is initially set to 1 in the trial-and-error approach and
or by sink node to turn ON/OFF solenoid valve wakes
500ml of water is passed through the sensor and the measured
up the LoRa module of the smart water meter and
value is compared. The calibration factor is increased and the
returns to the sleep mode after completing the process.
process is repeated until the measured value is the actual
The methodology clearly shows the operation of a smart value to the best extent. Based on the trial-and-error method,
water meter. The complete process is explained with the help a greater level of accuracy is obtained in the present work for
of a flow chart in Fig. 5. Further, the procedure followed in the calibration factor of 4.5.
the adjustment of calibration factor and initialization of
G. Water Flow Sensor Parameters
parameters is discussed in section F and section G
respectively. The controller initializes the various parameters used to
calculate the total amount of water flow. The value of Pulse
F. Selection of Calibration Factor
Count, Flow Rate, Previous Time in Milliseconds, Current
Choosing the proper calibration factor value requires a Time in Milliseconds and Total Flow in Milliliters are
trial-and-error method for achieving greater accuracy. The initialized to ‘0’. This initialization does not affect billing
higher the accuracy, the more is the closeness between actual when the system is installed for the first time. The value of
and measured value. Table II shows the calibration factor for the calibration factor is set to 4.5. The minimum water
multiple readings. pressure required is 0.5 bar for the sensor to operate. This
TABLE II. CALIBRATION FACTOR ADJUSTMENT.
precaution is taken to ensure that the water flow sensor does
not produce pulses for airflow within the water pipe. The
Iteration Calibration True Value Measured Value values of each parameter get updated with the last measured
Number Factor in milliliters in milliliters
value which is the initial value for the next readings. Table II
1 3 500 1000
shows that measured and actual values for the calibration
2 4 500 650
factor of 4.5 are in close proximity. Discussion on further
3 4.5 500 510
4 5 500 460
results obtained upon experimental studies conducted is
5 6 500 388 narrated in the next section.
The closer the actual and measured value, the best is the III. EXPERIMENTAL RESULTS
calibration factor. The system is designed to deliver an This section discusses the findings and inferences drawn
accuracy of 95 percent or greater when the calibration factor from the experiments conducted. Following the design of the
smart water meter, the system is evaluated to confirm whether communication using the LoRa unit. The data is transmitted
accurate water measurement is possible. Multiple tests are to the sink node after the total liters have been calculated and
carried out to assess the smart water meter's functionality. the same is displayed for the user. The readings transmitted
from the smart water meter are the same as the readings
A. Testing of Water Flow Quantity
received by the sink node.
This test is performed to check whether a water flow
The commands ‘off_sol’ and ‘on_sol’ are used to turn
meter can gather the amount of water flowing through a pipe.
OFF and turn ON solenoid valve, on failing to pay the water
The hardware setup is shown in Fig. 6. The prototype is
bill and upon successful payment of water bill respectively,
linked to the house's water input line. To compare the
as shown in Fig. 9. The total liters consumed are sent to the
measured and collected water quantities, the water pouring
sink node on request and also when water stops flowing
out of the hardware is collected in a 1-liter water bottle. Water
through the sensor.
is pumped through a 1/2-inch conduit to test the system. The
measured water flow value is transmitted to the sink node
within 4 seconds by LoRa module. The solenoid valve is
successfully turned OFF and ON remotely via sink node, in
addition to detecting the water flow.
Fig. 9. Remote turn ON and OFF of solenoid value upon receiving a signal
from the sink node.
600
pressure
400 drop
5. Proposed Water 99% Low cost, Requires
200
4 10 5 6 4 Flow Meter easy to periodic
0 install, low calibration
1 2 3 4 5 maintenance