Under Water Glider
Description
This project of ours, funded by (NESCOM), focuses on the development of the Underwater GLider, A highly efficient water vehicle that works on the buoyancy principle to achieve Long-endurance propulsion. By adjusting its internal weight with the help of syringes, which ultimately results in positive or negative buoyancy, and with the help of fixed wings, it converts vertical motion into horizontal motion, which makes the sawtooth motion possible. This glider is designed for surveillance and environmental data acquisition, using a GPS sensor for coordinates, a temperature sensor for regulating internal temperature, a pressure sensor for depth, and a sensor for checking water's physical properties. This project provides a low-power solution for surveillance underwater.
Objectives
The main objective of our project is to develop a fully autonomous underwater glider capable of self-navigating a submersible glider without any external input. The primary objectives include: Continuous Surveillance: The goal is to establish a continuous, low-profile presence in specific water zones for security purposes Water Column Profiling: Gathering precise, continuous environmental telemetry across different depths to map vertical water gradients. Spatial Data Logging: Synchronizing localized sensor arrays with real-time GPS coordinates and time stamps to map out water conditions across both horizontal and vertical trajectories.
Socio-economic benefit
Developing a low-cost, open-architecture Autonomous Underwater Glider (AUG) yields substantial socio-economic advantages, particularly by democratizing marine technology and offering an affordable alternative to multi-million dollar commercial platforms. Economic Impacts Cost-Effective: Traditional ways for data collecting rely on large vessels, heavy fuel consumption, etc., which makes it highly cost-draining. Our project operates autonomously, just on the buoyancy principle, making it highly cost-effective. Protection of Aquaculture and Fisheries: By the help of our continously tracking of temprature and pressure using DHT11 and MS5837 sensors, the glider can provide warning for threats like marine heatwaves or sudden thermal shifts the glider can provide early warnings for phenomena like marine heatwaves or sudden thermal shifts. This localized data allows commercial fisheries and fish farms to safeguard their stocks, optimizing yield and protecting local food economies. Local Manufacturing: Our project focuses on the reverse engineering, commercial underwater glider are highly restricted and expensive for foreign imports, building this glider using off the shelf hardware (Arduino Mega, NEMA 17, MPU6050) proves that we can easily develop it even on the high scale Social and Environmental Benefits Data-Driven Climate and Environmental Action: Climate change highly impacts the water life, and getting data from these sources is costly. This glider provides policymakers and environmental agencies with affordable and continuous data streams to monitor water conditions
Methodologies
1. Requirements Analysis Conducted a requirements analysis to identify all functional, electrical, and mechanical needs of the system. Established the need for a dual motor interlocked control system to automate mechanical movement between two defined endpoints. Identified multi-sensor data acquisition requirements covering attitude, pressure, depth, temperature, humidity, and GPS location. Defined the data logging requirement: only the most recent sensor reading retained on the SD card at all times. Specified fault tolerance so that sensor failure does not interrupt motor operation. 2. Hardware Selection Selected the Arduino Mega 2560 as the central microcontroller for its four hardware UART ports, 54 digital I/O pins, and SPI and I2C interfaces. Chose the MPU-6050 accelerometer and gyroscope for attitude measurement via I2C on hardware pins 20 and 21. Selected the MS5837-02BA pressure sensor rated at 2 bar for high-resolution depth measurement, sharing the same I2C bus. Integrated the DHT11/DHT22 temperature and humidity sensor on digital pin 22 for ambient environmental monitoring. Connected the NEO-6M GPS module to Hardware Serial1 on pins 18 and 19 for NMEA parsing using the TinyGPS++ library. Interfaced the Micro SD module via SPI on pins 50 to 53 and selected two NEMA 17 steppers driven by dedicated L298N motor drivers. 3. Firmware Development Developed firmware in the Arduino IDE organised around a four-state machine governing the interlocked dual motor sequence. State 1: Main motor runs anti-clockwise until its ACW limit switch triggers, stopping the main motor. State 2: Secondary motor runs toward its CW limit switch while the main motor remains stopped. State 3: Main motor resumes in the clockwise direction until its CW limit switch triggers. State 4: Secondary motor moves to its ACW limit switch, completing one full cycle before the loop repeats. Implemented all step pulses using non-blocking micros-based timing to allow concurrent sensor reads and SD logging. Applied a complementary filter (alpha = 0.96) to MPU-6050 data for smooth, drift-resistant pitch and roll estimation. 4. Sensor Calibration Calibrated the MPU-6050 using an iterative routine collecting 1000 samples per cycle over 20 iterations until errors fell within deadband thresholds. Established the MS5837 surface pressure baseline from 200 averaged samples, used to compute corrected gauge pressure and water depth. Verified DHT readings against a calibrated reference thermometer and confirmed GPS fix acquisition outdoors within 60 to 90 seconds. 5. Testing and Validation Verified each motor state transition ten times by manually activating limit switches and monitoring Serial Monitor output. Validated MPU-6050 pitch and roll at known angles of 0, 45, and 90 degrees, confirming errors below 0.5 degrees. Validated MS5837 depth at 0.1, 0.5, and 1.0 metre immersion depths, confirming errors below 2 percent of measured value
Outcome
1. Motor Control A fully functional dual motor interlocked control system was achieved, with both NEMA 17 stepper motors operating in a reliable and deterministic sequence governed by four limit switches. The state machine successfully completed all motor cycle transitions without missed triggers or false activations across all test runs. Non-blocking motor step generation allowed continuous sensor sampling and data logging to occur simultaneously during motor operation with no observable loss in motor performance. 2. Sensor Performance The MPU-6050 accelerometer and gyroscope provided accurate pitch and roll measurements within 0.5 degrees of error at all tested angles after calibration. The MS5837-02BA pressure sensor delivered depth measurements accurate to within 2 percent of actual immersion depth after surface pressure calibration. The DHT11 temperature and humidity sensor provided stable ambient readings consistent with reference measurements throughout all test sessions. The NEO-6M GPS module successfully acquired satellite fix outdoors within 90 seconds and provided valid geographic coordinates with an HDOP below 2.0. 3. Data Logging The Micro SD card data logging system reliably recorded sensor readings every two seconds, with each write operation completing within 120 milliseconds. The overwrite logging mechanism ensured that DATA.TXT always contained only the most recent sensor reading, eliminating the need for post-processing or file parsing. All six sensor parameters including pitch, roll, pressure, depth, temperature, humidity, and GPS coordinates were captured and stored in a structured and readable format. 4. Overall System The system demonstrated full fault tolerance: disconnection of any individual sensor did not stop motor operation or crash the firmware. The integrated system operated continuously across multiple full motor cycles without requiring any manual intervention or reset. The project produced a complete and validated circuit schematic in KiCad, providing a replicable hardware reference for future development or deployment.
Gallery
More from Mechanical Engineering
Development of Sustainable Thermal Insulation Material for Green Buildings Using Waste Hem…
The present research aims to develop an eco-friendly and cost-effective thermal insulation composite material…
Supervisor: Dr. Atta ur Rehman Shah
Controller based intelligent conveyer system with AI integrated vision for bottle caps sor…
The AI Based Conveyor Belt System for Bottle Cap Sorting is an intelligent, automatic, and highly accurate qua…
Supervisor: Engr Awais Hamza
Experimental evaluation of desiccant materials for air water generation applications
"Experimental Evaluation of Desiccant Materials for Air-Water Generation Applications” is a research-based pro…
Supervisor: Dr Arsalan Ahmed
DESIGN AND DEVELOPMENT OF THERMOSIPHON HEAT EXCHANGER .
Project Description : The Design and Development of Thermosiphon Heat Exchanger project focuses on recovering…
Supervisor: DR .ABUZAR JAMIL