Smart Drainage System Using Zig Bee and IoT
Smart Drainage System Using Zig Bee and IoT
and get earlier alarms of blockages and flood and find them in air respectively. It traces location utilizing GPS and send
utilizing IOT and wireless sensor network. Other use of this SMS through GSM. This venture speaks to various
topology can help in water distribution management system methodologies of the usage and configuration capacities for
which follows the same technique and method. checking and overseeing underground drainage system and
gives a depiction of water wise system and detection method
II. RELATED WORKS to detect leakage defects in sewer pipeline. To beat the
Many cities across the world are facing drainage system restricting components of human entered information, and to
problems despite the use of technology and cost-effective accomplish cost, precision and simplification factors, IoT
solutions. The underground drainage system has its own appeared on the grounds that, without human connection, PCs
limitation. The two main most pointed limitations are poor had the option to get to information from objects and devices.
maintenance and contaminating water bodies. Poor In regard to this, Muragesh et al [5] proposed Automated
maintenance is generally related to difficulty in identifying Internet of Things for Underground Drainage and Manhole
leakages. The main cause of leakage is clogging. High Monitoring System for Metropolitan Cities. The IoT
pressure due to excess clogging can lead to minor leakage comprises of real-life objects and communication devices
which in turn cause a major breakage in drainage pipe. attached to sensor networks so as to give correspondence and
Replacing a drainage tile is yet another a difficult process. computerized activities between real world and information
Expelling water-cherishing trees, for example, pear, stick oak, world. Sensor Network is a key empowering influence for IoT
willow, delicate maple and cottonwood, from inside 100 feet worldview and represents the implementation and design
of the pipe will keep your pipe from blockages brought about function of an Underground Drainage and Manhole
by fallen leaves, branches and congested roots originating Monitoring System (UDMS) for IoT applications [4-5]. This
from these trees. Ochre for instance, an iron oxide that can structure incorporates factors, for example, minimal effort,
square deplete pipe, may likewise develop and in this manner, low upkeep, fast deployment, and a high number of sensors,
there is a steady need to lookout for it. Then again, drainage long life-time and high caliber of service. The model of
systems can likewise add to defilement issues, particularly proposed framework gives a system to observing the water
when not appropriately kept up. Subsurface drainage systems level, atmospheric temperature and pressure inside a manhole
can help nitrate through the drain pipes, diverting it and to check whether a manhole cover is open. The
straightforwardly into the waterways, for example, lakes, complaints regarding overflow of sewage water is not
waterways and streams. Upon clogging, the drainage water properly answered or taken into account. To solve this issue,
will face penetration and in case of excess clog in the pipe, the Sumathy et al [6] has developed Sewage Level Maintenance
water does not penetrate. This can cause increase in the level using IOT which provides a system design includes a sensor
of drainage water and thereby causing overflow. It could lead to sense the level, a controller to command, a communication
to hefty cost for manpower and resource for replacing. network to register the complaints on blockage and continues
Therefore, the process of identifying a blockage in increase in the level of sewage. The system simply monitors
underground drainage pipe still remains a tiresome and the level and provokes alarm signals via complaints to the
time-consuming process if done manually that is by using required departments through mail and SMS prior to
traditional methods. The Internet of Things (IoT) consists of overflow.
real-life objects and communication devices attached to Recent studies demonstrated that storm water coagulates
sensor networks in order to provide communication and into sewer system and causes sewer overflow problems.
actions between real world and information world. Various Storm Water Management Model (SWMM) is examined by
methods using IoT and prior studies have been proposed for Hussein et al [7] for reenacting precipitation driven stream in
the same for improvisation for drainage systems. a sewer framework that could cause flood in sewer systems.
The advancement objective of Smart city is to screen the The reenactment was done in a local location where storm
nature of asset in the city to improve great administration and water network was not so much created. The report calls
quicker advancement of the city expects need to overhaul attention to that serious precipitation causes sewer flood and
sound and safe urban areas that conveying continuous surface immersion in the zone. Various activities have been
administrations and most recent office to actualize the idea of proposed, for example, capacity upgrading of sewer system,
brilliant city use IoT idea by which simple remote decline of discharge peak and reduction of exfiltration as a
correspondence is conceivable. Prof. S A. Shaikh et al [3] counter measure to tackle this issue.
have proposed Monitoring Smart City Applications utilizing Karbala, a city situated in focal Iraq, experiences enormous
Raspberry PI Based on IOT. The framework comprises a lot pressure on its sewer framework because of huge visiting
of sensors which gather various sorts of information from populace during religious gatherings. The issue frequently
sensors and move to the Raspberry Pi3 controller. At that ends up critical because of overwhelming precipitation as the
point yield from the controller is sent to the control room social affair more often than not occurs during rainstorm
through the E-mail and furthermore show on the PC. season. Obaid HA et al [8] presents a paper Modeling Sewer
Yash Narale et al [4] has proposed Underground Drainage Overflow of a City with a Large Floating Population.
Monitoring System Using IoT by using flow sensor, level
sensor, temperature sensor and gas sensor to detect flow rate
of water with respect to speed, the level of liquids and other
fluids, temperature in Celsius, and to sense CO concentration
This paper concentrates to reproduce the spatiotemporal and the child node communication module. The design of the
dissemination of the sewer water amount and quality with a correspondence software are ZigBee node coordinator
differing populace and precipitation for the expectation of device, the ZigBee terminal device, and the control software
sewer flood and conceivable contamination weakness. The of terminal device. The capacity of remote sensor systems to
Storm Water Management Model (SWMM) will be utilized gather, process, and transmit aquaculture natural data
in this examination. This examination has distinguished the dependably fills in as strong specialized help for remote
conceivable specialized estimates that can be taken to continuous observing by joining sensor innovation and
alleviate this issue with regards to the developing populace. ZigBee remote network technology.
Fujitsu [9] have built up a Technology for Low-Cost Early stages of identifying any blockage can be helpful in
Detection of Potential Sewer System Overflows by making a preventing both leakages and overflow of drainage water and
detecting framework to identify social foundation chance. He thus location and repairing of the blockage moves toward
has created innovation that uses ICT for minimal effort becoming tedious. In our proposed system, we detect the
discovery of early science sewer framework so as to moderate location by using IoT and the live data for each area is
harm in urban areas originating from heavy downpours, for monitored continuously by using ZigBee. The data are then
example, Japan. They have prepared manholes in which transmitted to the mobile app designed especially for the
sensors can measures water levels so as to precisely identify authorities in municipal corporation via sensors. In case of
early indications of flood. This innovation can likewise any occurrence of blockage or overflow, an alert is sent to the
decide the area and number of manholes where sensors are app.
introduced, in light of an investigation of the time required for
water to spill out of upstream pipes to downstream area as per III. PROPOSED SYSTEM
land geology and the shape and length of sewer pipes, which The main aim of this project is to acquire a viable ease and
makes it conceivable to follow and foresee the flood through a adaptable answer for condition monitoring and infrastructure
sewer framework utilizing just a single fifth the same number management in the city by detecting drainage water level and
of sensors. This innovation diminished power utilization by blockages to prevent overflow and leakage by excess
roughly 70%. clogging in drainage. It also monitors water flow rate
With the rapid technological development of continuously using ZigBee technology and alert the
sensors, WSN has become one of the key technologies concerned authority by sending a notification cum message in
for IoT. To overcome irregular and manual monitoring the event that the water level is outside a normal typical range.
process, Retno Tri Wahyuni et al [10] discusses about the This helps in cleaner cities and smart management of drainage
plan of drainage systems expected to screen conditions at a in city.
few points in drainage system utilizing remote sensor systems.
It comprises of a few phases: plan of sensor hub, structure of A. System Architecture
correspondence unit, plan of spread out sensor hub, and plan The system architecture diagram in Fig. 1 represents the
of information base framework. The sensors utilized are major components used in the proposed system.
rainfall sensor, water level sensor, and water release sensor.
B. Components
The significant part on sensor hubs comprise of sensors unit,
processor, RTC (Real time Clock), SD cards, remote 1) ZigBee
ZigBee is an IEEE 802.15.4 based handset with RF4CE
correspondence unit, and supply units which speak with one
capacities that coordinates an industry-driving RF handset, a
another utilizing the Radio Frequency module (XBeeTM).
standard upgraded 8051 CPU, a 128KB programmable flash
The GSM module is utilized for correspondence among
memory, and an 8KB RAM.
passage and server and the recorded information will be put
2) Ultrasonic Sensor
away into a database that can be pictured by Geographical
Ultrasonic sensors work by emitting sound waves from
Information System (GIS).
the transmitter at a frequency too high for humans to listen to.
Ka-Heng Chan et al [11] suggested ZigBee Wireless
They then wait for the sound to be reflected back at the
Sensor Network for Surface Drainage Monitoring and Flood
receiver, calculating distance based on the time required. The
Prediction. A Wireless Sensor Network (WSN) in view of the
ultrasonic sensor used here is HC-SR04 and is shown in Fig. 2
ZigBee is proposed and executed for the water level location
as taken from [13]. It offers astounding non-contact range
utilizing ultrasonic sensor and give flood prediction. The
recognition with high accuracy and stable readings in a simple
constructed sensor hubs report under 0.52% average error for
to-utilize package [13].
the separation inside 0.20m to 4.00m. All model sensor nodes
utilized in this work are fueled up by a single standard 3.70V
battery. An experiment is arranged utilizing variable stream in
water and drainage at the same time to check execution of
water level detection and shows the flood forecast capability.
A similar process is carried out by Li Xiaoman et al [12] for
monitoring aquaculture using ZigBee Wireless Sensor
Network. The structure of aquaculture remote sensor organize
for information transmission is done utilizing ZigBee
technology. The equipment configuration utilized are ZigBee
RF module node, the parent node correspondence module,
Fig. 4 Raspberry Pi 3 B+
Fig. 2 HC-SR04 Ultrasonic Sensor
5) Microcontroller – Arduino Uno
Arduino, a microcontroller board based on the
The ultrasonic sensor of dimension 45mm x 20mm x 15mm
ATmega328P is an open-source gadgets platform and a
provides +5V DC power supply and 15mA working current
simple to-utilize hardware and software. Arduino rearranges
[13]. The ranging Distance is approximately 2cm – 400 cm/1″
the way toward working with micro-controllers. Arduino
– 13ft. The resolution is around 0.3cm. It provides a trigger
boards can ready to peruse simple or computerized
input pulse width of 10us [13].
information signals from various sensors and transform it into
3)Flow Sensor
Water flow sensor in Fig. 3 as depicted in [14] comprises a yield and can control board functions by sending a set of
of a plastic valve body, a water rotor, and a hall-effect sensor. instructions to the micro-controller on the board through
At the point when water moves through the rotor, rotor rolls. Arduino IDE [16]. Arduino doesn't require an additional bit
Its speed changes with various pace of stream. The hall-effect of equipment (called a software engineer) so as to stack
sensor yields the comparing pulse Signal. Flow sensor is another code onto the board and should be possible by just
compact and is easy to install with high sealing performance utilizing a USB link.
The controller is programmed such that the complaint every 1 litre/ minute of water flowing. The sensor frequency is
alarms about the level would be triggered repeatedly unless it the number of pulses per second originating from the water
reaches the minimum set. The increased pressure of clogged flow sensor.
pipe can lead to blockage and can break the pipe causing
B. Centralized Unit
leakage. The amount of pressure and water flow rate is
measured through flow sensor and is continuously monitored. The main purpose of the centralized unit module is to get the
Both flow sensor and ultrasonic sensor are interfaced with information from location module and update to user module.
microcontroller Arduino Uno with ZigBee in order to make ZigBee protocol is secure and stable and the ZigBee devices
the system smart. The drainage monitoring sensors transmit can easily be incorporated into systems across the IOT via
the gathered culture condition data information to the ZigBee ZigBee gateways. Therefore, ZigBee is the perfect decision of
remote nodes through the CAN bus, and this information is protocol for smart drainage monitoring because different
then transmitted to the Raspberry Pi and to the server by ZigBee devices can be connected. As more ZigBee devices
means of the ZigBee remote system. The Raspberry Pi could are connected, communication parts between devices
refresh with live information under the particular region multiply which eliminates the risk of single-point signal
utilizing ZigBee and triggers a caution on the off chance that it failure. In addition, ZigBee is built on 2.4GHz and supports a
surpasses a specific range. data transfer rate of 250kbit/s across 16 distinct channels.
When the server monitoring platform gets the ZigBee is predominantly utilized for two-route
information, the mobile checking application gets the communication between a sensor and control framework. It is
drainage environmental data by signing in to the server. a short-extend communication and offers a network between
Appropriate steps will be taken by the officials upon 700 meters. ZigBee can transmit data by passing through a
seeing the notification displayed through the mobile app. An network such as mesh, tree, star and hybrid etc.
underground drainage monitoring system won't just help in The network model used for Zigbee to Zigbee
keeping up the correct wellbeing and security of the city but communication is based on tree called the cluster tree (Fig. 6)
also in reducing the manpower. Fig. 8 indicates the flow chart network defined in 802.15.4 standard [18]. The advantage of
that explains the complete scenario in the smart underground cluster tree topology is efficiency in terms of energy
drainage system. consumption. The cluster tree follows parent and children
relationship hierarchical topology [19]. Several clusters in
A. Input Unit this topology, can communicate using multi-hop routes and
The sensor nodes used in the proposed system are are controlled with the PAN coordinator [19]. A cluster
ultrasonic sensor and flow sensor. These sensors are head(parent) is given to each cluster and can communicate
interfaced with Arduino Uno. The Arduino Uno board is with the PAN coordinator. The cluster topology performs as
shown in Fig. 5 [17]. The Vcc in ultrasonic sensor is connected follows: Upon association request and association response a
to 5V pin in Arduino and Ground is connected to GND pin. network is constructed as the parents of the clusters form a
An ultrasonic sensor estimates the separation to the objective tree structure and act as an intermediate router. Raspberry Pi 3
by estimating the time between the emission and reception. B+ is a 1.4 GHz 64-bit quad core processor with onboard
An ultrasonic sensor utilizes one ultrasonic component for Wi-fi capabilities is used to consolidate all the data received
both emission and reception. The trigger pin in ultrasonic by the ZigBee nodes. The platform used to access the
sensor is used for emission and echo pin is used for reception. Raspberry pi is Raspbian. Python is the programming
The trigger and echo pin are directly connected to 7th and 6th language which is used to process and transfer this data.
pin in Arduino Uno Board respectively. The trigger pin emits Finally, all the data is updated to user module.
ultrasonic signal and is reflected back from the object. The
0
reflected signal is passed to the echo pin wherein which is
taken as input to the Arduino Board. The information of both
the sensor is sent to the centralized unit. 2
1
A flow sensor is a device used to measure the instant flow
rate of a liquid passing through a pipe line. When drainage
water in the pipe line flows through the rotor, the rotor rolls. 3 4 5 6 7
It’s speed changes with different rate of flow. Thus, the
output of the flow sensor is determined using the given three
wires red, black and yellow. The red wire and black wire is
8 9
connected to the 5V pin of Arduino Uno board and to the
ground respectively. The yellow wire is connected to the 2nd Fig. 6 Cluster-tree topology
pin of the Arduino Uno board for the use of pulse width
modulation (PWN). ZigBee collects the sensor data from the - PAN Coordinator
Arduino. The baud rate for serial data transmission is taken
9600 for communicating with the computer. The flow rate of - Cluster Head
drainage water is calculated by,
flow rate in L/hour= (flow frequency * 60min/ 7.5) (1)
where, sensor frequency (Hz) = 7.5Q and Q is flow rate in - End Node
L/min. The sensor will produce 7.5 pulses per second for
C. User Interface
The user module receives the information from the
centralized unit and updates about individual location status.
This is done by transmitting the information to the server
which replaces the existing values with the updated current
value via Internet. According to the threshold values defined
which depends upon the radius of the drainage pipe, an alert is
sent to the authorities at the Municipal Corporation through
mobile app. The app also displays the authorities about the
current live data of each area.
A vessel with level surface is utilized with customizable system is designed in a social relevant idea thus to create an
water flow is feed into the vessel through channel with valve. impact on cleanliness and hygiene by purely avoiding the
The sensor node is fixed on the cover of the vessel and zero problem of overflow on streets and also to ensure compulsory
level was aligned. In this manner, when vessel is loaded up cleaning of blockage which causes the increase in drainage
with certain level of water, the ultrasonic sensor can level by registering repeated complaints to random
distinguish the range distinction and decide the associated departments unless action is taken.
water level. In this figure, the water level in the vessel can be
logged and observed. By controlling the flow-in water amount
in various time occurrences, the water level was raising, kept
up and decreasing at various time.
The threshold value for ultrasonic sensor is 10 inches. Any
values above 10 inches, for e.g. 28.8,33.42 inches are
considered as normal values. Values below the threshold is
considered as overflow. The value decreases as the flow
increases. The distance between the sensor and the rate of the
water flow is calculated. Table I shows the result of values
obtained for ultrasonic sensor. As the drainage water
increases its speed due to blockage in the pipe, the value
decreases. If the values drop below the threshold value then,
message is sent to the authorities via mobile app with respect
to location. Likewise, the threshold value for flow sensor is 10
litres/ hour (L/hour) and the result of values obtained from
flow sensor is shown in Table II.
The flow of water is monitored continuously. If any blockage
occurs then, the rate of water changes. As the blockages size
increases, the rate of water flow decreases. As the values from
flow sensor drops below the given threshold value, an alert is
sent to the authorities via the same mobile app. Fig. 10 shows Fig. 10 .Screenshot of mobile app displaying continuous
the alert message in mobile app as the value fall below the alert messages regarding blockage detected in Unit
specified value. As the values 9 and 7 arrives, as shown in Ramapuram, an area in Chennai.
Table II, a message is sent continuously to the authorities as
displayed in Fig. 10 till the blockage is repaired
ACKNOWLEDGEMENT
TABLE -I: Ultrasonic Sensor Values
Values (inches) Outcome
We gratefully thank the Tamil Nadu State Council for Science
and Technology for nominating and funding this project.
60.75 Normal
80.44 Normal
77.0 Normal REFERENCES
6.98 Overflow 1. Handbook of Urban Statistics 2016,
4.44 Overflow www.indiaenvironmentportal.org.in.
2. Census of India 2011, Houses Household Amenities and Asset.
3. Prof. S A. Shaikh, Suvarna A. Sonawane, Monitoring Smart City
TABLE –II: .Flow Sensor Values Applications using Raspberry PI Based on IOT, International Journal
Values(L/hour) Outcome of Innovative Science, Engineering & Technology, Vol 5 Issue VII, July
2017, pp. 925-929.
240 Normal 4. Yash Narale, Apurva Jogal, Himani Choudhary, S. P Bhosale,
129 Normal Underground Drainage Monitoring System Using IoT, International
55 Normal Journal of Advance Research, Ideas and Innovations in Technology,
9 Blockage detected 2018, pp. 188-192.
5. Prof Muragesh SK, Santhosha Rao, “Automated Internet of Things for
7 Blockage detected
Underground Drainage and Manhole Monitoring Systems for
Metropolitan Cities.” International Journal of Innovative Science,
VI. CONCLUSION Engineering & Technology, Vol. 2 Issue 4, June 2015.
6. B. Sumathy, G. Gowthaman, K. Hari Haran, G. KeertheeRajan, A.
With IOT and ZigBee WSN a drainage leakage and overflow SweetoJeison, Sewage Level Maintenance using IoT, International
detection is proposed and developed by using ultrasonic Journal of Mechanical Engineering and Technology 9(2), 2018, pp.
sensor and flow sensors respectively. This system avoids or 389–397.
7. Hussein A. Obaid, Shamsuddin Shahid, K.N.
eliminates the issue of drainage overflow on roads which is Basim&ChelliapanShreeshivadasan, Modeling Sewage Overflow in an
being a vital problem in many cities. The advantage of the Urban Residential Area using Storm Water Management Model”,
project is that clogs in drainage pipes can be revealed as soon Malaysian Journal of Civil Engineering, vol. 26, no. 2, pp.163-171,
2014.
as it is formed rather than detecting it after the drainage water 8. Obaid HA, Shamsuddin S, Basim KN and Shreeshivadasan C,
starts overflowing into the roads causing serious disruption to Modeling Sewer Overflow of a City with a Large Floating Population,
the public and revenue loss to the government. The system Hydrol Current Res 5: 171.
further does not require any human labor to detect the clog.
The ultrasonic and flow sensors are efficiently used and
AUTHORS PROFILE
V.Vani is working as Associate Professor in
Department of Information Technology at Easwari
Engineering College ,Anna University ,Chennai,
Tamil Nadu. She completed her Doctorate in
Computer Science Engineering from Anna
University in 2016 and Masters of Engineering in
Computer Science and Engineering from Anna
University in 2009 in Computer Science and Engineering and Bachelors
from Bharathiyar University, Coimbatore, TamilNadu in 2002 in
Information Technology. She has experience of 17 years in the field of
teaching. She has guided many UG/PG projects and has published papers in
National/International Journal and Conferences. Her primary research
interest is Natural Language Processing, Text mining, Machine Learning
and Software Engineering.