Remote Monitoring of Dams Using Fish Robots
Remote Monitoring of Dams Using Fish Robots
16CK020842
SUPERVISORS:
AUGUST 2021
i
DECLARATION
I hereby declare that I carried out the work reported in this thesis under the supervision
of Prof. Sanjay Misra and Mrs Lawal Comfort in the Department of Electrical and
Information Engineering, Covenant University. I also solemnly declare that to the best
previous application for the award of a degree. All sources of knowledge used herein
…………………………………….
16CK020842
ii
CERTIFICATION
This is to certify that the project titled Remote “Monitoring of Dams using a fish robot”
by Olatunji IniOluwa Esther meets the requirements and regulations governing the
degree of Covenant University and is approved for its contribution to knowledge and
literary presentation.
Name__________________________________________
iii
DEDICATION
I dedicate this work to God Almighty and give special thanks to Him for seeing me
I also dedicate this project to my lovely parents Engr Saheed A. Olatunji and Mrs
iv
ACKNOWLEDGEMENTS
I thank God for the gift of life and the Holy Ghost for His ever-abiding presence in my
life. I am ever grateful for the provision, guidance, everlasting love, favour, grace, and
I would like to appreciate further my supervisors - Prof. Sanjay Misra and Mrs Lawal
Comfort, for their untiring efforts and significant contribution in guiding me through
the completion of the project, as well as for mentorship. I would also like to appreciate
Mr John Wejin for his support and advice all through my project
Special thanks go to the expert who guided me in designing and building the system,
To my very good friend, Egbaiyelo Ayomide, who took his time to make sure I got my
report right.
Adediwura, Tolulekan, Peter, Moses, Sani, Diagbonya, Joan and many others who gave
me the right support and encouragement I needed to complete this project. My profound
gratitude goes to my lovely sister Olatunji MoyinOluwa who supported me with her
time and effort throughout this project, and my dear brother Olatunji OreOluwa. I will
forever remain grateful to my parents Engr and Mrs Olatunji, for their contributions
and sacrifices to my academics, finances, prayers, and encouragement. I love you all
so much and could have never asked for a better set of family and friends. Thank you
v
ABSTRACT
The cost and time for restoration and conservation are pretty high when implementing
social infrastructure projects, such as dams and bridges. As a result of age, deterioration
is advancing on numerous completed projects during the expansion phase of the
economy. The problem is in the inefficient maintenance practices utilised on these
buildings, which requires new and better ways. Although visual confirmation in the
inspection of underwater structures is restricted to divers due to safety, this job for dams
and bridges is a very tough one. So, to deal with these kinds of issues, inspection
methods that use underwater robots have been created and studied. This project
proposes a fish robot as a solution. It reduces the risk of divers getting hurt underwater
and reads and sends the instantaneous values of pressure, temperature, and water level
of the dam automatically without the need for human intervention and excess
instruments. This reduces the level of errors that may be introduced due to manual
records and the cost of human labour.
Key words: Dams, underwater, structures, divers, safety.
vi
Table of Contents
DECLARATION ............................................................................................................. II
DEDICATION............................................................................................................... IV
ACKNOWLEDGEMENTS ............................................................................................... V
ABSTRACT .................................................................................................................. VI
vii
2.2 IMPORTANCE OF THE MEASURED PARAMETERS. ............................................ 12
viii
4.2.3 Testing the servo motors............................................................................. 36
5.1 INTRODUCTION................................................................................................ 45
REFERENCES ...............................................................................................................48
APPENDIX A ...............................................................................................................50
APPENDIX B ...............................................................................................................51
ix
LIST OF TABLES
x
LIST OF FIGURES
Figure 2.1:Design scheme for the Robot system based on multi-sensor fusion ......... 17
Figure 3.5:ESP32-CAM.............................................................................................. 30
Figure 4.6:Fish head with ESP CAM, DC pump and BME280 sensor ...................... 39
Figure 4.8:Screenshot of the BT Terminal app showing the parameter result ........... 41
xi
CHAPTER ONE
INTRODUCTION
Water can be regarded as life as it is very essential, and the need to preserve and make
it safe for use is vital. It is one of the primary resources for human survival. People
throughout history have constructed dams to enhance the utilisation of this essential
resource. Dams have been a stable source of water supply for humanity for over 5000
years. A dam is a structure that can obstruct, direct, or slow water flow and is frequently
used to create a reservoir, lake, or impoundment [1]. About two-thirds of dams have
more than one function, and the advantages of their operations are numerous.
Dams are believed to be a vital source of water and significant for a variety of other
reasons. They provide water for a variety of reasons, including residential consumption,
irrigation, and industrial applications. They are also used to generate hydroelectric
power and facilitate river transportation. The use of these dams is becoming
Except for the automated monitoring of water levels in some dams, it is generally
management gets complicated when the number of users who rely on its use grows,
and their interests may clash. Dam monitoring is a time-consuming and long-term
endeavour that must be refined over time. Therefore, a new system for monitoring and
managing dam water should be created, giving real-time water levels and making
1
Real-time monitoring and protection of dams are essential for social, economic, health,
displacements and water levels over time might disclose if the structure has been
damaged, an indication that could eventually signal a breach in the safety expectation.
This would allow for the proper operation and long-term durability of a dam. This
would also allow for the correction of any potential structural flaws[4].
Robotics, on the other end has seen an incredible increase in both academic study and
real-world applications in the past three decades[5]. According to Bill Gates, robots
will emerge in every home soon, like how personal computers became widespread
years ago[6]. In recent years, with increasing underwater activities and research work,
such as underwater archaeology, oil pipe leakage detection, military activity and dam
Bio-inspired robots are the most unique and appealing of all types of robots. Unlike
applications, bio-inspired robots are inspired by animals or humans and are designed
In line with the above trend is the fish-like robot. Many efforts have been made to
investigate how actual fishes move, attracted by the fascinating qualities that natural
propulsion[7]. The major goals of robot fish development are great speed and
2
more modern swimming machines than traditional AUVs, with better efficiency,
Study reveals that Nigeria has about 323 dams in only 17 LGAs; out of these, 200 are
operational. About 50 to 56 are large dams, while the rest are small dams. Study also
shows that 33 states are vulnerable to dam failure[1]. Farmers, for example, are often
ignorant of general factors such as water level, gate opening, the quantity of rainfall,
temperature, humidity, and so on. As a result, they confront several issues in farming,
which have a significant impact on farm output. The dam's water level rises rapidly due
to heavy rain, forcing the dam authorities to open the gates to prevent the dam from
significant problems, such as evacuation from flood plains and flooding in their crop
This project design will be relevant to farmers, power engineers, and others who use
the dam for their daily jobs. It will also be relevant to the marine industry and society
1. The development of an automated fish-robotic system that will enable safe and
2. To help avoid any dam failures that might compromise the environment and lead
to economic losses.
3. To help concisely and precisely inspect and identify conditions relevant for dam
3
1.3 STATEMENT OF PROBLEM
The necessity for constructing dams has expanded as the population grows and
migrated to dry or flood-prone areas. Dam failures are usually caused by an extreme
Manual observation and data transfer lead to a significant time lag between the data
observed, transmission, and decision-making. This may leave little time for decision-
making in some cases. This also results in real-time data loss, which can occasionally
lead to tragedy[12]. Therefore, when the dam's backwater rises over its danger level, it
may cause harm to neighbouring farms, communities, and industries, as well as the
Some types of dam operations required the monitoring of the operational status or
solely and thoroughly through sheer human effort. Thus, the quest for advanced
Regular IoT sensors are common in monitoring the pressure, temperature, PH level and
water level of dams but are limited in the sense of active surveillance underwater. In
dam structures via a fish-like model. The model will monitor the temperature, pressure
and water level of the dam. It will also inspect the dam's wall to give access to the state
4
of the physical structure for safety purposes. This will help reduce dam failures which
will, in turn, save lives and properties. It will also help to reduce the use of conventional
noisy AUV's. The fish-like model is a robust device as it can also monitor bridge
1.4.1 Aim
This project aims to implement the monitoring of Dam structure using a fish-like model
1.4.2 Objectives
i) To develop a model that can be used by farmers, power engineers and others who
use dams for their daily jobs to monitor the behaviour of these dams precisely and
quickly to avoid adverse effects. The monitoring system will be built to identify
ii) To develop a model that provides visuals of underwater parts of the dam covered
with water
iv) To create awareness of the concept of bio-inspired robots to technologists and the
public.
The fish model will consist of the input devices, control unit, output devices and power
supply.
i) The input unit consists of the ESP32-CAM which has an in-bult Wi-Fi module used
for surveillance of the dam water and structure below the water, and the Bluetooth
5
module for reading necessary parameters to diagnose the dam behaviour. It is
powerful but of low cost even with its Wi-Fi and Bluetooth feature. This unit will
ii) The micro-controller used is an Arduino Nano ATMEGA328. The control program
is written on the Arduino software with c++ and then uploaded to the board for
iii) The output unit consists of four servo motors and two DC pumps. The fish is able
to swim and turn with the help of the servo motor. Water is pumped out of the fish
The project uses input devices such as ESP32-CAM for surveillance and output devices
such as the servo motor for movement of the fins, tail and head. The project is a tool
geared towards the monitoring of dams to reduce dam failures as well as solving health
The project is limited to open dams as the BME sensors also measures temperature
based on evaporation. It is also limited to small dams as larger dams would need bigger
This project report consists of five chapters. The subsequent chapters contain the
following details:
Chapter 2 covers the reason behind the idea of the system and some literature reviews
6
Chapter 3 covers the complete system design and specification, incorporating both the
hardware and software sections. This chapter contains information about the
components and modules used and the circuit arrangement and programming method.
The final section, chapter 5, provides the conclusion and recommendations for future
study.
7
CHAPTER TWO
LITERATURE REVIEW
2.1 INTRODUCTION
Dams for human use are erected to supply water, irrigation of desert and semi-arid
regions, and industrial activities. They enhance the quantity of water available for
hydroelectric power generation and minimise the peak discharge of floodwater caused
by major storms or high snowfall. They also increase water depth in a river to improve
navigation and make it easier for barges and ships to navigate. Dams may also create a
lake that can be used for leisure purposes like swimming, boating, and fishing. Many
dams serve several purposes; for example, water in a single reservoir can be utilised
for fishing, hydropower generation, and agriculture. Multipurpose dams are the name
given to water-control structures of this sort[13]. They can perform several tasks
community usage, flood control, recreation, and clean, renewable electricity via
hydropower.
Dams can be categorised into various classes based on different factors, which
i) Municipal water supply reservoirs (such as for storing water for future use, as well
ii) Diversion reservoirs (providing irrigation canals and transferring water to a storage
8
iii) Detention reservoirs (for storing water and generating hydroelectric power and to
minimise the impact of flooding and restrict the flow rate of a particular channel).
Dams may also be categorised based on their many construction features, such as
material composition and structural design. Dams may be divided into two types based
embankment dams. They are constructed of earth and/or rockfill and can withstand
the pressure from the water by their weight. They must either find an impermeable
Waste materials derived from mining or milling activities are commonly utilised
influencing the dam's ability to support water pressure. They can also be designed
to exceed this certain weight, type, and strength specifications to increase their
ii) Concrete Dams: Concrete dams are classified based on the designs utilised to
withstand the stress caused by reservoir water pressure. Gravity dams, buttress
dams, and arch dams are the three most frequent forms of concrete dams.
iii) Gravity dams: Their cross-sectional shape is generally triangular, and they also
withstand water pressure because of their weight. As the name suggests, these dams
are the most widely dispersed kind of concrete dams, making over two-thirds of the
total.
9
iv) Arc dams: A typical concrete arch dam has a narrow cross-section. As water from
the reservoir presses on an arch dam, the force is transmitted to the abutments via
the abutment support piers. In general, the shape of the arch can take on any of the
following forms: It may resemble a section of a circle or an ellipse, and it may also
be bent in the vertical plane. Dams of this type are made from stacks of thin vertical
blocks interconnected, with barriers between the blocks to prevent water from
flowing. A common form of the arch dam has two or more curved sections. These
v) Buttress Dams: The water weight is distributed over a triangle buttress, and three
i) Tremendous Rainfall
Extremely high amounts of rainfall can lead to dams failure because of the volume of
water that floods into the reservoir. Dams are almost always built to endure harsh
weather and extended seasons of heavy rain and floods. However, when the dams are
under such an endless amount of strain, they are at risk of failure. Some of China's
dams were destroyed in the storm's aftermath before they reached capacity because of
the unexpected floods. In 2005, due to excessive flooding, Pakistan's Shadi Kaur Dam
Poor maintenance is the other most common cause of dam failure. To maintain a dam's
safety, it must be often inspected and maintained. International dam safety regulations
Weakening of dams might result if dam inspections are discontinued. In 1985, the Val
10
di Stava Dam in Italy failed due to inadequate maintenance. Sediment blocked the
drainage pipe in the dam, causing catastrophic flooding. The dam failed because the
drainage maintenance was ineffective. The problem might have been discovered earlier
Design errors often cause dam collapses. Errors can arise when critical design variables
are overlooked during dam building. Taum Sauk Dam in the United States collapsed in
2005 due to faulty design in the monitoring system. A failure in the dam's reservoir
monitoring system caused the reservoir to overflow. New monitoring devices were
included in the dam's structure after the dam reconstruction in 2007 to help avoid future
failure. [10]
Dam collapses can also be attributed to the use of inferior building materials. It is
Quality building materials are generally not used, and they are unable to bear the weight
of the dam. Another similar example is Italy's Gleno Dam, which was built with
defective materials. The dam was constructed in 1916. local officials were concerned
about the contractors' incorrect mortar. Only two months after the multiple-arch dam
include the age and height of the dam, the amount of water it is holding, and its overall
seismic risk. When water levels are high and big storms and earthquakes have taken
11
place, extremely frequent observations should be made for the first time during the
Visual observations have their importance, and their correctness depends on the
observational skills of the observer. The best time to examine the dam is every month,
not less often. Some types of equipment and for different phases require different
frequencies of measurements[17].
i) Pressure
Pressure measurement is to determine the level of water pressure behind the dam. This
is important to protect the physical structure of the dam. The dam is designed to
withstand specific parameters to which pressure on the dam results from the water
backing upon it. So, to ensure this is not surpassed, it is crucial always to measure the
dam's pressure.
ii) Temperature
dam. This is important in the determination and prediction of available water in the
dam for use. Monitoring the temperature of concrete during the casting of the concrete
also one of the major factor causing stress on the surface of the dam that results in
material fatigue.
12
Measuring the height of water behind the dam is also vital to determine the height to
which the dam may become unstable, tip-over and eventually fail.
Monitoring the health of dam infrastructures has a crucial role in ensuring their safety
conditions and maintaining their operational functions. Dam failures represent a high
risk for people, human settlements, infrastructures, and the environment. Consequently,
A report proposed the use of submersible pressure transducers to measure water level
as well as pressure. Submersible pressure transducers are one of the easiest ways of
measuring water level as they can be installed quickly, and the cost of maintenance is
very low. A few of them are utilised when temporary installation is required, while
others are installed in remote locations. The major disadvantage of this project is that
they must be in one place and constantly immersed in water. It operates on the principle
of applying hydrostatic pressure to a strain gauge, which in turn is translated into water
level, discharge, and pressure level by the data logger at the base station. Measurements
of several key variables, including absolute and relative displacements, stress and
strains in the concrete, discharges through the foundation, and visual surveillance of
the surroundings of the dam and dam structures, play a significant role in managing the
dam safety[19].
In [20], the researchers proposed a system that uses sensor networks and the Internet
of Things (IoT). The goal of this system was to employ wireless sensor networks and
IoT to automate the process of dam control. This system has three critical parties in its
implementation. The first is the water level sensor setup; the local base station is the
second, and the Central Command Centre is the third. The sensor used in the
13
measurement of the water level around the dam is the ultrasonic sensor. The ultrasonic
sensors are placed along the riverbanks, both on the dam's walls and in the water. The
ultrasonic sensors are then connected to a micro-controller which will read the level of
the water. This information will be relayed to the local base station. With the increase
in the number of ultrasonic sensors, the water level measurements will be more precise.
The base stations located near dams are usually equipped with sensors that monitor the
water levels. The data gathered is then forwarded to the command centre through the
cloud[20].
While this project is a very good one, it still lacks some basic requirements. The
Pressure sensor can make the data collection broader and enable data gathering
pertaining to dam strength. To determine if pipes near the dam are broken or leaking,
differential pressure sensors may be used. In addition to it, CCTV footage and
underwater camera may be used to provide information about the dam's environment
and in the dam before the water is released. With a centralised network of dams, we
can regulate water flow everywhere to lessen the consequences of floods, and we can
Article [21] proposed the concept of a system web portal that gives parameters relating
to water level, gate position, temperature, rainfall, humidity using IoT etc. The idea
behind this system was to create a web portal that will monitor and provide accurate
time parameters related to dam and weather conditions. This system also creates a
graphical user interface (GUI) program that offers two modes of operation for the
software: autopilot mode and manual data mode. The software's back end collects
parameter information from related sensors and stores it in a database. The leaked data
can be utilised to host a web portal and make additional decisions. This suggested
14
method is based on the Internet of Things (IoT), and it allows for data exchange using
a web database.
Since IoT is involved, the delay associated with human data observation and
transmission may be reduced, thereby decreasing the chance of data loss. Better data
improvements in data management will follow. Using the same technology, the entire
dam may be automated, such as automatic gate control with rainfall, current, and past
Another project is dam level monitoring using ultrasonic water level sensors [22]. Here,
the article suggested that one of the best things to do to avoid a flood disaster is to
install an ultrasonic water level sensor at the dam to monitor the change in water level.
The additional level sensor can monitor the level of a dam since it is unable to gather
large amounts of data and provide timely "responses" to changes in the level because
of its design structure and traditional measurement principles. In other words, wireless
liquid level sensors have transitioned from dam level sensors to wireless liquid level
solution sensors. A large part of the purpose of its wide application has been to assist
in preventing floods and droughts, significantly reducing the damage caused by natural
disasters and thereby helping with the advancement of the overall economy.
As more and more water workers' pay attention to remote tamping and remote level
monitoring, these advanced technologies will become more common. The ultrasonic
water level sensor also supports environmental monitoring and protection. This
reservoir is well known because it has two significant functions: flood control and
maintaining water resources imbalance. When a flood disaster occurs, both the local
economy and the ecological environment are at risk of significant losses. To prevent
15
disasters such as flooding, water management officials usually use ultrasonic water
level sensors to monitor the water level in the dam to be aware of changes before they
happen, so they can provide actionable responses in time to avoid disasters. Also, water
level sensors for dams use ultrasonic technology to reduce labour intensity and increase
work efficiency. Next, reading the water level in real-time requires reading intuitively.
In addition, the water level should be monitored remotely, ahead of time. In order to
Although it uses ultrasonic waves and wireless liquid level sensors, the price is too high
for the ultrasonic water level sensor to be a practical choice. This statement may be
divided into two parts. First, the ultrasonic wave needs to gather and process data via
the computer. Next, the operator requires computer operation and sensor expertise to
In [23], Dam monitoring system using wireless sensor networks was proposed. It is a
system that includes sensors such as a temperature sensor, humidity sensor, water level
sensor, PH sensor and raindrop sensor. These sensors collect actual physical quantities,
and the information is wirelessly transmitted to the microcontroller. This data is used
to calculate information which includes the current temperature, water level, etc. This
is then displayed on the LCD. The system also has advanced options for opening dam
gates based on the water levels. The system made use of GSM wireless technology to
send the information across a long distance. An IoT app was also created to update the
data on an internet webpage for public access. The android application was also
provided to instantly warn for sudden changes in the rise of water level or PH level.
This technique is simple and can help prevent floods and other problems caused by
16
In article[24] "Autonomous Dam Surveillance Robot System Based on Multi-Sensor
Fusion", went further and used robots instead of only IoT. In this article, a generic robot
system for dam surveillance is suggested. Mobile internet and an IoT network connect
the robot to cloud servers and terminal users. The robot moves around the dam,
gathering data from monitors and managing some online detection apps. The cloud
server manages data processing and transmission. Users can monitor the dam, do
manual analysis, and control the robot remotely through real-time video streaming as
needed. Mobile internet and WIFI connect the robot to the server. The Internet and
LAN link the server and terminal users. Figure 2.1 below depicts the overall structural
diagram. The server can communicate job commands and global navigation plans to
the robot, and the robot can receive them. In an emergency, a remote controller based
on real-time video streaming is used as a backup. The focus of this project was more
Figure 2.1:Design scheme for the Robot system based on multi-sensor fusion
In a research paper by [17], The importance of monitoring concrete dams and their
foundation was discussed. Maintaining a concrete dam and its base is critical to
concrete dam performance. In almost any case, such parameters as stress, strain,
temperature, joint openings, foundation movement, and pore water pressure may be
17
monitored. Knowing this is important for us to choose the measure of what we will
measure and why. All concrete dams must take readings on factors such as temperature,
uplift pressure, seepage deformation, and movement. While this is correct, the client
may require optional measures, such as seismic parameters, stress, and strain.
the dam's design) must be reviewed ahead of time for anomalous readings to be noted
Article [25] proposed developing a dam inspection underwater robot in his project with
his colleague. They concentrated on the importance of time in creating the underwater
inspection robot, attempting to reduce the amount of effort required for field
preparation. The roots comprise three elements, a Remotely Operated Vehicle (ROV),
the ground station, and the floating unit. The ground station is operated on land and
connected to the ROV underwater via a neutral buoyancy cable. A line of power
connects the two systems, and another transmits and receives data through the same
line, known as the Power Line Communication. The floating unit uses ZigBee protocols
to talk to the ground station wirelessly.An azimuth sensor, a depth sensor, and a USB
camera are all included in the ROV. When employing the sensors, numerical value
acquisition is feasible. At the same time, a built-in, onboard computer on the ROV
handles the operation of the motor driver and video from the USB camera, as well as
still photography and LED illumination. The fishing line connects the floating device
to the ROV, which is powered by batteries. It also has a GPS and uses ZigBee protocols
When an underwater inspection robot is used to check a dam, not only is the underwater
structure continually shot with the built-in camera, but the coordinates and position of
18
the object are also recorded at the same time. A position maintaining function coupled
to a feedback control function placed on the ROV may also take smooth and continuous
photographs with a broad range. Furthermore, the size of a picture may be precisely
From the figure, it can be seen that the project is a very good one, but it is also bulky.
It contains too many things when it can easily be fit into one robot.
Although robotic fish has not been used to measure dams before, it has been used in a
lot of other areas. A group of scientists led by Hemavathi and Nireeksha developed an
underwater robotic fish that serves as a surveillance device. The design incorporates
two sensor types: IR sensors and temperature sensors. It is also equipped with four
servomotors that allow for the creation of directional changes. The fish have been
connected to the Servo motors for the seamless transitions. Two motors are installed
on the fins, while a third motor is in the body of the model. The last motor is installed
on the tail. In Automatic or manual mode, the fish use Bluetooth to move about in three
options, which include, forward, to move to the left, or to move to the right. In addition,
19
it uses the waterproof camera to monitor the water bodies. This wireless surveillance
Sodisetty and Reddy also developed an underwater robot fish used for various
underwater applications. The fish's tail is connected to the rest of the body by rotating
springs and the hydrodynamic force is applied to each segment sequentially. The fish
robot can do some inspection in water, like to capture images in water and using the
Bluetooth wireless module to transfer the photos to a monitor connected to the module
and then use GPS to locate the way. As seen in figure 2.4, this project was not
navigating, and being used as a source of entertainment. Based on result, it was found
that the robotic fish efficiency will increase as less power is required for propulsion.
information. The Pixy CMUcam5 (a custom-made image sensor) was included in the
robotic fish and collected data on the object's location relative to the fish. It then
20
transferred the data to the central platform through Bluetooth. The success of tracking
a red toy fish has been realised with the help of the robotic fish's mobility[28].
Robotic devices are being used increasingly, guaranteeing the security, safety, and
upkeep of dam and tunnel infrastructure. Owners and operators understand that
technology helps them protect their facility's integrity by providing critical data for
regulatory agencies recognise that the information gathered can aid in the mitigation of
supply and infrastructure risks. Robots are a sophisticated resource that can collect
comprehensive high-intensity imagery, video film, and data to locate, measure, and
record the exact position of faults, corrosion, and blockages, as well as remove debris
when practicable.
Robotic systems can work in low visibility, high currents, and challenging to reach
places such as inspection hatches. They can also go over 20 km over tunnels, hills, and
tight curves.
21
Automation has made robotics smaller, more intelligent, and able to handle ever more
sophisticated cameras and sensors while moving precisely around and within
complicated buildings as well as through lengthy tunnels. They are widely used
internationally, with one example originating from Thailand. Robotic vehicles can
investigate for leaks and debris obstructions, as well as support diver operations and
safety. It has the power and intelligence to remain stable in the powerful flow while
watching the inflow and delivering information to the surface at each of the dams.
accurate power control, provides the operator with precision vehicle manipulation and
the ability to add and alter data gathering technologies as needed. This sophisticated
system design can also more easily accept technological improvements, making the
General diver assistance and safety is one of its most essential aspects. A robotic
vehicle can preview the site of interest before a dive, lay a safety line, supervise the
diver throughout the mission, and transfer items back and forth. It can also travel areas
that divers cannot, such as penstock pipelines, tunnels, and turbine inlets, while in
operation [29].
2.5 CONCLUSION
In conclusion, when proper monitoring is not done, the failure status is not entirely
reached, but the operating conditions cannot be fully guaranteed. A severe economic
loss may result from the interruption of energy production or other related activities
22
such as hydraulic regulation and water storage. The complexity of dams calls for the
use of multiple sensors for monitoring. Each sensor focuses on a different area of the
main barrage, the slopes surrounding the water reservoir, and the utility structures. In
weathering) must be measured using a suitable data acquisition rate comparable to the
velocity of the observed ongoing processes. Monitoring has not only the purpose of
the design parameters, investigate the causative reasons of deformation processes, and
23
CHAPTER THREE
SYSTEM DESIGN
3.1 INTRODUCTION
This section provides information on the system design and methodology used to
achieve the project's objectives in detail. It will also provide information on the physical
The model comprises the power supply unit, the input unit, the output unit, and the
control unit. The power supply unit is simply made up of a 5v battery. The input,
control, and output units would all be powered by the battery source. The input unit
includes the Bluetooth module and the ESP32-CAM, which is also made up of the
ROM, are collectively the control unit. The working voltage for the controller is also
5-volt dc.
All the servo motors are of 5v each, and the dc pumps make up the output unit. The
fish model communicates to the user through two android mobile applications known
as the CareCam and the BT terminal. The model uses a BME280 sensor to measure the
pressure, temperature and altitude of the dam. This sensor communicates the
parameters read to the users through the Bluetooth module; these figures are then
The model also uses the ESP32-CAM module as a surveillance device to view what is
underwater. The module is a single module that has a camera and Wi-Fi
24
connection(hotspot) embedded. The users see what the camera receives using the
25
Figure 3.1:Design Flowchart
input and output pins and the ATmega328 microcontroller unit, and memory for storing
26
instructions. Even though it has many of the same features as the Arduino
The Arduino Nano ATMEGA328 characteristics are described in the table below.[30]
Voltage of Operation 5 V
SRAM 2 KB
EEPROM 1 KB
PWM Output 6
Power Consumption 19 mA
27
PCB Size 18 x 45 mm
The Arduino Nano ATMEGA328 is the brain of the circuit in this project. As the
and when to do it. As a result, all the circuit's other components are linked to its pins.
All the instructions for the components connected to the Arduino Nano board are stored
in memory on the board. These instructions are typed in the C++ programming
language in the Arduino IDE and then transmitted to the Arduino's memory.
The power supply, as earlier discussed, is a 5v dc battery. In the real sense, 5v batteries
do not exist and so are gotten from other existing values. In this project, a 9v battery
The Arduino has a voltage regulator inbuilt. It provides regulated 5v or 3.3v to power
external circuits. The Vin is supplied with a voltage between 6 and 12v and is regulated
28
In this project, the positive terminal of the 9v battery was connected to the Vin pin,
while the negative terminal was linked to the GND pin. The Vin on the PCB is linked
to the 5v port.
The servo motor is used primarily for turning. It is a self-contained electrical device
regulates the motor position feedback's speed and ultimate position. It is not utilised
made up of a dc motor, gear assembly and feedback control circuitry. It has three pins;
one is for power, the other is for ground, and the last is for the control signal.
In this project, there are four servo motors: two for the flapping of the fins, one for the
head rotation and the last for the tail. Each of the control signal pins is connected to the
Arduino board; the controller sends a digital signal (0 or 1) to it to energise it, that is,
either they come on or go off. As a result, they are causing movement. The CareCam
mobile app has four direction arrows: up, down, left and right. These arrows control
29
3.3.4 ESP32 CAM
The ESP32-CAM is a single module that comprises a camera and WI-FI module. This
The ESP32-CAM is well suited for a broad range of Internet of Things (IoT)
applications, including wireless video monitoring, picture upload over Wi-Fi, QR code
Figure 3.5:ESP32-CAM
A 32-bit CPU powers the controller with a clock speed of up to 240MHz. It features an
Fi and Bluetooth/BLE SoC module and enables picture upload over Wi-Fi. The camera
In this project, the camera works with the WI-FI module and displays what the camera
is capturing via the CareCam mobile app. When the model is turned on, a WI-FI hotspot
is created, and with the app, the user may join the model's hotspot. This links the model
with the app, and the app becomes the screen of the camera.
30
3.3.5 Bluetooth Module
wireless mouse, wireless keyboards, and many more. The transmitter and receiver
range between zero and 100 meters, depending on atmospheric, geographic, and urban
conditions. It communicates with devices via serial communication. It uses the serial
The Bluetooth module used in this project is the HC-05 module. The HC-05 Bluetooth
1. Key/EN: This command is used to put the Bluetooth module into AT command
mode. If the Key/EN pin is set to high, the module will operate in command mode.
Otherwise, it is in data mode by default. The HC-05's default baud rate in command
• Command mode: AT commands are used to alter the HC-05's settings. These
31
2. VCC: This pin should be connected to 5 V or 3.3 V.
5. RXD: Serially receive data (received data will be transmitted wirelessly by Bluetooth
module).
In this project, the Bluetooth module is used to read the parameter values. Using the
BT terminal app in an android device, the Bluetooth device is paired. Whatever the
You can also estimate altitude since pressure changes with altitude. This sensor module
32
The sensor is connected to the Arduino nano. The BME280 is a simple and affordable
3.3.7 DC Pump
DC powered pumps use direct current from the motor, battery, or solar power to move
fluid in various ways. Motorised pumps typically operate on 6, 12, 24, or 32 volts of
DC power. DC (direct current) pumps offer a more accessible and portable operation,
as they can function directly from a battery, making them preferable over AC
(alternating current) pumps. They are also more convenient to operate and control,
while AC systems generally require a controller to regulate the speed. Pumps using
direct current (DC) are also known to be more efficient. Also, DC pumps have an
In this project, the dc pump operates on 5v and pumps water in and out of the model to
The exterior part of the final design is made of silica aldehyde. Two factors influenced
the choice of silica aldehyde. The first was the overall weight of the model. A light
33
metal couldn't also be used because it will rust quick. Plastic is also not a good option
as it is not as flexible. Silica aldehyde was best suited to reduce the weight of the fish.
because engineers are trained to achieve maximum efficiency in result with minimal
cost.
3.4 CONCLUSION
This chapter discussed the system's requirements, specifications, and design in detail.
The system's different components and features and their linkages and ways of
functioning have been analysed. The overall notion of the system's development has
been described.
34
CHAPTER FOUR
4.1 INTRODUCTION
This chapter includes the implementation, construction, and testing processes of the
4.2 TESTING
After obtaining the essential components for the system, it is critical to test them to
ensure that they are in excellent working order. This must be done before circuit
construction begins, so that time and effort are not wasted creating a circuit that is
unlikely to operate. The individual components that were used to construct each unit
with the Arduino's USB cable. The board was connected to the PC, and then the LED
came on, confirming the PC detected it. The Arduino IDE was then opened, and the
blink sample code was run and compiled. Once that was completed, the LED on pin 13
35
4.2.2 Testing the power supply
Since the battery rating used in this project doesn't exist on its own, a voltmeter was
used to test if the voltage regulator used to regulate it had indeed done its job. As
discussed earlier, the Arduino was used to regulate the battery. Therefore, the voltmeter
was connected to the 5v pin of the Arduino to test if its output is 5v.
The DC servo motor has three cables: the power cable, ground cable and signal cable.
The servo motor was tested using the Arduino and Arduino IDE. The power cable was
connected to a 5v pin, the ground cable was connected to the GND pin, and the signal
cable was connected to pin nine on the Arduino. Since the servo motor is a DC motor,
it rotated in both directions. If it were an AC motor, it'd have rotated in only one
direction continuously.
Using a breadboard and four jumper wires, the BME280 sensor was connected to the
Arduino Nano board. The Vin was connected to the 5v pin, the GND to the Arduino's
36
GND, the other pins were connected to A5 and A4 pins. The PC was then linked to the
Arduino board. A basic BME280 sensor sample code was written and produced after
installing the BME280 sensor library in the Arduino IDE. The serial monitor supplied
in the Arduino development environment may be used to view the sensor's readings.
Like the BME280 sensor test, the ESP32-CAM was also connected to the nano board.
The ESP32-CAM has 16 pins. Since the component is to be operated on 5v, the 5v pin
is connected to the Arduino 5v pin. The GND is also connected to the Arduino's GND;
the RX and TX are connected to the Arduino's RX and TX. Arduino's reset pin to GND.
The ESP32-CAM add-on was then installed, and an example code was run. An IP
address was generated in the serial monitor; the IP address was then copied and pasted
in a browser. The camera and video camera may be accessed via the IP address.
AutoCAD was used to design the model. The design is made up of head, body, tail,
which are interconnected to create the final design. The head section is defined to
manage the body motions using pectoral fins and a combination of forward and
tightened with the bolts. The links are moved freely with the use of the servomotors.
The tail fins are utilised for many purposes, with the primary function being to move
37
Figure 4.3:Design of fish head using AutoCAD
Each segment in the robotic fish was constructed from ABS (Acrylonitrile Butadiene
Styrene) plastic with various diameters. These multiple segments were all joined
together and interconnected with servomotors which will function in water for
increased hydrodynamic force. After printing out from a 3D printer, the material was
38
Figure 4.5: 3-D print out of body
Components are placed where they are to be after the 3-D printer is completed. The
figure below shows the head of the fish with the ESP32-CAM, servomotor and dc
pump.
Figure 4.6:Fish head with ESP CAM, DC pump and BME280 sensor
The software aspect of this project involves programming the Arduino Nano board.
(IDE) using the C++ language. The code was written in the IDE, compiled for
confirmation that it works and uploaded onto the Arduino Nano board. The code is
39
meant to interface all the other components of the system to the Arduino to receive
The servomotor and ESPCAM, and BME sensors were programmed using the Arduino.
The servomotor for the fins and tail was programmed to move as the user uses the
CareCam app to control it. The CareCam app also serves as the television screen to see
what the ESP CAM sees. Finally, the BME sensor reads the Pressure, temperature and
4.5 RESULTS
The table below shows the result obtained from the BME280 sensor and displayed via
the BT terminal.
40
Figure 4.8:Screenshot of the BT Terminal app showing the parameter result
1 32.00 101321 10
2 32.19 101300 15
3 32.67 101276 20
4 32.77 101264 25
5 33.41 101230 30
6 33.95 101118 35
7 34.12 101096 40
The table shows the temperature, pressure and altitude of a pool in place of an actual
dam. The BME280 sensor measures the water level using sea level as a reference. This
41
means it takes the sea level as point 0 and reads any value below sea level as negative
while reading values about sea level as positive. Therefore, the sensor must be used on
land first to determine the current sea level before using it underwater.
4.6 DISCUSSION
Pressure increases linearly with depth; that is, it increases with an increase in depth.
That is, the deeper the dam, the higher the pressure. As discussed earlier, the BME280
sensor uses the sea level as reference (zero); therefore, the line graph is a negative slope
101150
101100
101050
101000
100950
10 15 20 25 30 35 40
Altitude
Figure 4.9:Graph showing Pressure against Altitude
𝑃 = ℎρg (4.1)
42
Equation 4.1 explains the linear Relationship between height and pressure.
Unlike pressure, temperature decreases with depth; that is, the deeper the dam, the
lower the temperature. This is because when sunlight strikes the water, it heats the top
only. From the graph, it is seen that 40 is the highest level of the pool, otherwise referred
to as the surface of the pool, and so it has the highest temperature, and 10 is the lowest
33
32.5
32
31.5
31
30.5
10 15 20 25 30 35 40
Altitude
Figure 4.10:Graph showing Temperature against Altitude
As previously stated, pressure rises as depth increases, but temperature falls as depth
water in a dam are inversely related; that is, the higher the pressure, the lower the
temperature, and vice versa. In the most basic terms, this implies that the temperature
on the surface of the water where the sun warms is greater than the temperature below,
101200
101150
101100
101050
101000
100950
32 32.19 32.67 32.77 33.41 33.95 34.12
Temperature
Figure 4.11:Graph showing relationship between pressure and temperature
4.7 CONCLUSION
Results from the testing process showed that the system satisfies all specifications set.
The aim and objectives of the project have been met, and the fish robot is functional.
44
CHAPTER FIVE
CONCLUSION
5.1 INTRODUCTION
This chapter gives the summary of the project. In this chapter, recommendations for
future work is also discussed as well as the challenges encountered while building the
project.
5.2 SUMMARY
The fish-model robot developed in this project has demonstrated the viability of
resolving the issues that farmers, power engineers, and others use dams for various
purposes when monitoring the dams' state. The model provides a cost-effective and
better solution over the traditional Remotely Operated Vehicles (ROVs) and
underwater surveillance over regular IoTs and sensors. It was achieved using an
The experiments show that the ESP32-CAM is an ideal choice for implementing the
surveillance feature.
Dams are not used in this part of the world because of the reduced rate of flood and
rain. In flood-prone areas and have lots of dams, the absence of this technology may
be costly as the dams could fail due to poor surveillance practice, giving the people in
The federal government and dam safety organisations can deploy this technology
developed in this project. Also, this technology is not limited to dams as it can be used
for other underwater based projects like monitoring bridge piers and abutments.
45
5.3 RECOMMENDATIONS
• PH sensors and other chemical sensors can also be added to test for the water quality
and changes in quality in terms of pollution and types of pollutants from upstream
activities if the dam is for drinking purposes. This gives room for early detection of
water quality and quick determination to apply remedies to maintain the water's
• The battery in this project can last only 3-4 hours after full charge; a better battery
• The model in the project does not have a flash for clear views at the bottom end of
the dam. Flash camera should therefore be added for a clearer view.
5.4 ACHIEVEMENTS
This project has been successfully utilised to achieve remote surveillance with the
assistance of the ESP32-CAM and CareCam app, as well as to monitor parameters such
as pressure, temperature, and water level in dams using a fish-model robot with the aid
Additionally, this project has resolved the common issues with dam failures, mainly
caused by a lack of monitoring systems. It has also fixed the case of a decrease in divers
diving underwater and the difficulty of locating things and sand deposits and sediments
46
on the dam, which could be detrimental to the dam performance and safety. It also aids
5.5 CONCLUSION
In conclusion, the project measured the temperature, pressure, and water level of a dam-
version is above 2.5GHz. If this isn't achieved, the device would not be able to read
the parameters.
The recommendations made will be used to clear out these challenges making the
project a better one. The project can also be used in fish farming.
47
REFERENCES
[1] C. N. Ezugwu, “Dam Development and Disasters in Nigeria.” [Online].
Available: www.ijert.org.
[2] “Advantages of Dams - Importance of Dams for Human Benefits.”
https://byjus.com/biology/advantages-of-dams/ (accessed Jul. 01, 2021).
[3] S. S. Siddula, P. Babu, and P. C. Jain, “Water Level Monitoring and
Management of Dams using IoT,” Nov. 2018, doi: 10.1109/IoT-
SIU.2018.8519843.
[4] C. Pipitone, A. Maltese, G. Dardanelli, M. lo Brutto, and G. la Loggia,
“Monitoring water surface and level of a reservoir using different remote sensing
approaches and comparison with dam displacements evaluated via GNSS,”
Remote Sensing, vol. 10, no. 1, Jan. 2018, doi: 10.3390/rs10010071.
[5] R. M. Murray, Z. Li, H. Kong, and S. S. Sastry, “A Mathematical Introduction
to Robotic Manipulation,” Accessed: Jul. 10, 2021. [Online]. Available:
http://www.cds.caltech.edu/~murray/mlswiki.http://www.crcpress.com/product
/isbn/9780849379819.
[6] B. Gates, “A Robot in Every Home,” Scientific American sp, vol. 18, no. 1, pp.
4–11, Feb. 2008, doi: 10.1038/SCIENTIFICAMERICAN0208-4SP.
[7] X. Niu, “MODELING, CONTROL AND LOCOMOTION PLANNING OF AN
ANGUILLIFORM FISH ROBOT,” 2013.
[8] “Design and Fabrication and Hydrodynamic Analysis of a Fish Robot for
Underwater Surveillance,” International Journal of Modern Studies in
Mechanical Engineering, vol. 5, no. 3, 2019, doi: 10.20431/2454-
9711.0503004.
[9] IEEE Staff, 2016 7th India International Conference on Power Electronics
(IICPE). IEEE, 2016.
[10] “What Are the Primary Causes of Dam Failure? - WorldAtlas.”
https://www.worldatlas.com/articles/what-are-the-primary-causes-of-dam-
failure.html (accessed Jul. 08, 2021).
[11] “Dams 101 | Association of State Dam Safety.” https://damsafety.org/dams101
(accessed Jul. 08, 2021).
[12] N. M. Dhandre and M. M. Jadhav, “Dam Data Collection and Monitoring
System,” International Journal of Science and Research (IJSR) ISSN, vol. 5,
doi: 10.21275/v5i6.21061604.
[13] “dam | Definition, Types, & Uses | Britannica.”
https://www.britannica.com/technology/dam-engineering (accessed Jul. 01,
2021).
[14] C. Deangeli, G. P. Giani, B. Chiaia, and A. P. Fantilli, “Chapter 1 Dam failures,”
2009, doi: 10.2495/978-1-84564-2-/14.
[15] “Common Causes of Failures of Dam Structures - The Constructor.”
https://theconstructor.org/structures/common-causes-failures-dam-
structures/20858/ (accessed Aug. 03, 2021).
[16] “Dam Failures and Incidents | Association of State Dam Safety.”
https://damsafety.org/dam-failures (accessed Aug. 03, 2021).
[17] M. R. K, S. R. S, and G. S. L, “Instrumentation of Concrete Dams,” Accessed:
Jul. 08, 2021. [Online]. Available: www.ijeas.org .
[18] M. Scaioni, M. Marsella, M. Crosetto, V. Tornatore, and J. Wang, “Geodetic
and Remote-Sensing Sensors for Dam Deformation Monitoring,” Sensors 2018,
Vol. 18, Page 3682, vol. 18, no. 11, p. 3682, Oct. 2018, doi: 10.3390/S18113682.
48
[19] “Systems for Water Level, Flow and Quality MAIN LOGO LANDSCAPE
FORMAT FOR SMALL APPLICATION.”
[20] S. S. Siddula, P. C. Jain, and M. D. Upadhayay, “Real Time Monitoring and
Controlling of Water Level in Dams using IoT,” in Proceedings of the 8th
International Advance Computing Conference, IACC 2018, Jul. 2018, pp. 14–
19, doi: 10.1109/IADCC.2018.8692099.
[21] IEEE Staff, 2016 7th India International Conference on Power Electronics
(IICPE). IEEE, 2016.
[22] “Ultrasonic Water Level Sensor for Dam Level Monitoring.”
https://holykell.com/news/Ultrasonic_Water_Level_Sensor_for_Dam_Level_
Monitoring.html (accessed Jul. 09, 2021).
[23] S. Idhate, A. Bilapatte, A. Rathod, and H. Kalbande, “Dam Monitoring System
Using Wireless Sensor Networks,” International Research Journal of
Engineering and Technology, 2017, [Online]. Available: www.irjet.net.
[24] C. Zhang, Q. Zhan, Q. Wang, H. Wu, T. He, and Y. An, “Autonomous dam
surveillance robot system based on multi-sensor fusion,” Sensors (Switzerland),
vol. 20, no. 4, Feb. 2020, doi: 10.3390/S20041097.
[25] H. Hirai and K. Ishii, “Development of Dam Inspection Underwater Robot,”
Journal of Robotics, Networking and Artificial Life, vol. 6, no. 1, pp. 18–22, Jun.
2019, doi: 10.2991/JRNAL.K.190531.004.
[26] G. D. Nireeksha and R. Hemavathi, “UNDERWATER SURVEILLANCE
ROBOTIC FISH,” International Research Journal of Engineering and
Technology, 2019, [Online]. Available: www.irjet.net.
[27] V. N. B. Prasad Sodisetty and A. Sujith Reddy, “Design and analysis of
controlling the robotic fish,” IOP Conference Series: Materials Science and
Engineering, vol. 402, no. 1, 2018, doi: 10.1088/1757-899X/402/1/012023.
[28] D. Ji et al., “Design and development of autonomous robotic fish for object
detection and tracking,” International Journal of Advanced Robotic Systems,
vol. 17, no. 3, 2020, doi: 10.1177/1729881420925284.
[29] “Analysing why robotics is so critical to dam safety and maintenance.”
https://www.nsenergybusiness.com/features/robotics-dam-safety-maintenance/
(accessed Jul. 09, 2021).
[30] “Arduino - ArduinoBoardNano.”
https://www.arduino.cc/en/pmwiki.php?n=Main/ArduinoBoardNano (accessed
Jul. 15, 2021).
49
APPENDIX A
#include <Servo.h>
void setup() {
myservo[0].attach(5);
void loop() {
for (pos = 30; pos <= 150; pos += 10) { // goes from 0 degrees to 180 degrees
// in steps of 1 degree
myservo[0].write(pos);
for (pos = 150; pos >=30; pos -= 10) { // goes from 180 degrees to 0 degrees
myservo[0].write(pos);
50
APPENDIX B
int state;
int flag=0;
void stp();
void fwd();
void left();
void right();
void back();
void setup()
pinMode(7,OUTPUT);
pinMode(8,OUTPUT);
pinMode(5,OUTPUT);
pinMode(6,OUTPUT);
void loop() {
state = Serial.read();
Serial.println(state);
flag=0;
51
stp();
if(flag == 0){
Serial.println("Stop");
flag=1;
fwd();
if(flag == 0)
Serial.println("Forward");
flag=1;
back();
if(flag == 0)
Serial.println("Backward");
flag=1;
52
{
left();
if(flag == 0)
Serial.println("Left");
flag=1;
right();
if(flag == 0)
Serial.println("Right");
flag=1;
digitalWrite(7,HIGH);
digitalWrite(5,HIGH);
digitalWrite(6,LOW);
digitalWrite(8,LOW);
53
void back() // Backward
digitalWrite(8,HIGH);
digitalWrite(6,HIGH);
digitalWrite(7,LOW);
digitalWrite(5,LOW);
digitalWrite(7,HIGH);
digitalWrite(5,LOW);
digitalWrite(8,LOW);
digitalWrite(6,LOW);
}
digitalWrite(7,LOW);
digitalWrite(5,HIGH);
digitalWrite(8,LOW);
digitalWrite(6,LOW);
}
{
digitalWrite(7,LOW);
digitalWrite(8,LOW);
digitalWrite(5,LOW);
digitalWrite(6,LOW);
54