Disclaimer : This repository contains the information and code for the underwater robot developed by Team Epsilon from IIT Roorkee for competing in the PS-Id PK365 by Ministry of Power, Govt. of India hosted in the Smart India Hackathon 2020 : Hardware Edition. The developement of the prototype was done under limited availability of resources due to COVID restrictions and hence all the features were not reproduced on the hardware.
Large scale civil structures like dams require periodic inspections due to their safety-critical nature. In Hydro-electric Plants, monitoring and upkeep of Head Race Tunnels(HRTs) is such a critcial task for proper operation of the plant, especially in Himalayan rivers which carry huge silt. Head race tunnels connect the reservior(intake) to the power geneation unit (as shown in Fig1) and are susceptible to erosion and debris collection which can lead to even collapse of the whole structure [1]. Traditionally, the process of inspecting headrace tunnels involves manual labour and requires the tunnel to be emptied, which is a cumbersome process with high inspection cost. Using a remotely operated vehicle (ROV) capable of inspecting the structure underwater would result in a considerable decrease in the inspection turn-around-time and cost, and therefore, a robot is designed to cater these requirements and a hardware prototype is built demonstrating the effectiveness of approach.
Fig 1 : The structure of a Hydro-electric plant
According to the problem statement[2], the main concerns accessed during the inspection of HRTs include the deposition of silt/debris, cracking/deformation of tunnel walls and erosion of electronic and mechanical componects due to high acidity in water. To detect the silt/debris and cracking, we have proposed to use the visual feedback provided by the cameras mounted on the ROV supplemented by a crack detection algorithm. The presence of marine growth often poses an issue for underwater inspection, to mitigate that, we have designed a custom mechanism for removal of algae/small marine growth for proper inspection. Below is the final CAD model designed for the ROV
Fig 2 : Final CAD model of the ROV
Materials Used : We have chosen PVC pipes for chasis and ABS plastic for the 3-D printed components as their densities are comparable to water (PVC: 1.38g/ml, ABS: 1.1g/ml), they've sufficient strength and are non-corrosive in nature.
Thrusters : The thruster assembly consists of a propeller, a duct and a motor housing, the cross section of the propellers is made in aerofoil shape considering the aerodynamics in mind. The overall system consists of 2 sets of thrusters, one facind in forward direction and the other in upward direction. Both the sets consist of 1 RHS and 1 LHS type propeller to balance the angular momentum. The following gif showcases a single thruster assembly in the design along with its components.
Marine growth removal mechanism : We have designed a helix based mechanism with an abrasive outer covering for removing marine growth from the tunnel walls. The design of the mechanism and the placement of motor and bearing is shown in the following gif
Fig 4 : The marine growth removal mechanism
The body is built to be streamlined in shape for easy maneuverability underwater as can be seen from the snippet of the below CFD simulation
Fig 5 : CFD simulation of the full body of ROV
Components Used : 2 cameras (Arducomp 16MP IMX298 MIPI) - one mounted in front, with 1DoF actuation using servo motor, other mounted on side for visual observation and navigation,pressure sensor for depth measurement, Ping sonar echosounder for obstacle avoidance in turbid waters, pH sensor for pH measurement, 1 IMU (MPU9250) for pose estimation and control of ROV, Arduino Mega is used as the microcontroller, Raspberry Pi is used as the onboard computer and communication is performed via ethernet cable from ROV to the control centre.
All the electronic equipments are housed inside a big PVC pipe sealed with 3D printed lids at the centre of ROV, as can be seen in design(Fig2) and the hardware prototype built(Fig9).
Localization : Underwater localization is a very challenging problem due to high attenuation of electro-magnetic waves, that too inside a tunnel. Considering that in mind, we propose a tracker based visual feedback localization algorithm which requires one time installation of trackers at known locations inside the tunnel using which a look-up table can be generated for referencing the location with the corresponding tracker. To detect the tracker, we've applied blob detection feature from OpenCV library, and the algorithm can be seen in action below.
Fig 6 : Tracker based localization technique
Contols : We have implemented a PD based auto-depth and auto-heading controller using feedback from pressure sensor for depth and IMU for heading. An example demonstration of the controller simulated using Matlab can be seen below
Fig 7 : P-D based depth control of ROV
Crack Detection : We have implemented a crack detection algorithm using OpenCV libraries in which we first remove noise from the image using gaussian blurring and compensate for the poor lighting using adaptive thresholding, then we calculate the length of contour to estimate if a crack is present or not. If a crack is present, we store the image of the crack with the location for future reference. The algorithm flow and its demonstration can be seen below.
Fig 8 : a)Flow chart of crack detection algorithm b)Video demonstration on a wall crack
Due to the limited availablility of resources amidst COVID regulations, we built a proof of concept hardware prototype without the cameras, pressure sensor, ph sensor and the marine growth removal mechanism. We tested the same in a small tank in our college and it can be seen in the gif below.
We showcased our work in Smart India Hackathon 2020 : Hardware edition, held online due to COVID Regulations and were regarded as the winner[3] among the 30+ teams competing for the same problem statement.
Team - Tabish Madni(Team Leader, Design & Fabrication), Shubham Malviya(Design & Fabrication), Samarth Koolwal(Design & Fabrication), Ruchika Guntewar(Desgign & Presentation), Allu Vamsi Vishal(Electronics & Communication), Kshitij Bithel(Software & Controls)
Submitted video explaining each element can be found on Youtube