Using A High-Speed Mini-PC To Control An Autonomous Underwater Vehicle
Using A High-Speed Mini-PC To Control An Autonomous Underwater Vehicle
Using A High-Speed Mini-PC To Control An Autonomous Underwater Vehicle
3, 116-128
Available online at http://pubs.sciepub.com/ajme/7/3/2
Published by Science and Education Publishing
DOI:10.12691/ajme-7-3-2
Received May 23, 2019; Revised July 02, 2019; Accepted July 14, 2019
Abstract In this paper, the authors present the design of a mini-PC board to fast processing of an AUV
(Autonomous Underwater Vehicle) with two 360° rotational thrusters. This rotation capability in the thrusters, along
with an embedded mass shifter, allows for long-time immersive motor maneuvers for this AUV. Also, the conditions
for moving the device at the water surface and depth are provided by changing the angle of the thrusters and moving
the mass shifter along with the motor speed change. All the commands related to the motor angles, proper position
of the thrusters, mass shifter, and speed, are sent to an Engine board via a high-speed Mini PC. The high-speed Mini
PC sends decisions to the Engine board after receiving and processing all sensors data as well as data from
embedded cameras. This integrated system provides the ability to move safely based on accurate analysis of the
environment by sensors and images received by cameras from the surroundings, with minimal energy consumption
for the underwater AUV. The results of various tests demonstrated the high performance of this AUV.
Keywords: autonomous underwater vehicle, PTFE, Mini-PC
Cite This Article: Ali. Jebelli, Mustapha C.E. Yagoub, and Balbir S. Dhillon, “Using a High-Speed Mini-PC
to Control an Autonomous Underwater Vehicle.” American Journal of Mechanical Engineering, vol. 7, no. 3
(2019): 116-128. doi: 10.12691/ajme-7-3-2.
Figure 1. Isometric scheme of the designed AUV Figure 4. Six designed valves
Figure 3. Access valve (1), Antenna holes (2), Pressure sensor (3), and
Dolly block of servo motor (4)
Figure 6. The Bottom openings: (1) Bottom camera, (2) and (3) Sensors
The thickness of the body (made of Polytetrafluoroethylene
- PTFE) is of 1 cm. There are two cameras, one above
(main camera) and one on the bottom. Considering the
thickness of the body, some extra tools may be attached to
the body if deemed necessary. Therefore, adding more
thrusters or an arm would be possible to further enhance
the AUV functionality.
Beside the main access valve at the rear, five other valves
have been also designed to embed the electrical/mechanical
parts. Such valves have been isolated from the rest of the Figure 7. Locating internal components: (1) Sensors, (2) Bottom camera,
body by walls to avoid any damage due to possible (3) Mini-PC, (4) Batteries (5) Mass Shifter, (6) Main Camera
leakage. In Figure 4, valve #1 is a valve under the access
valve to access the batteries. The engine driver board is
placed in the space provided by valve #2. Valve #3 has 3. Main Processor
been dedicated to locate the Mini PC and valve #4 to
initially locate the sensors. However, due to their high All AUV processes including camera/sensor data, detecting
sensitivity, they have been relocated as in Figure 5: the obstacles, controlling motor operation, etc., should be
circular space near the cape has been used for placing the managed via a main processing board. Considering the
Inertial Measurement Unit (IMU) and the compass sensors, amount of data to manage in real time, the AUV operation
as in Figure 6. In this Figure, #1 is devoted to the bottom needs a high-speed processor to efficiently receive and
camera while #2 and #3 are for the sensors. Note that send commands. With its high processing speed, supporting
these parts have holes at the bottom covered by clear and USB ports, and 802.11ac dual band wireless network, we
thinner-than-body lens, the aim being to weaken the selected the mini PC board Giada i200-BG000, Celeron
earth's electromagnetic waves inside the body. [6]. Figure 8 shows the block diagram of the main processor.
118 American Journal of Mechanical Engineering
5. Transceiver
As mentioned, the AUV’s function is to work into
Figure 9. Hardware & Electronics connections water at a maximum depth of 8 m. The Mini PC (Giada
The selected IMU sensor is the MPU-9250 with a i200-BG000, Celeron) usually operates with Wi-Fi and
3-axis gyroscope, a 3-axis accelerometer, a 3-axis compass, Bluetooth systems. However, due to underwater antenna
and an internal temperature sensor [7]. The selected issues in terms of cost and power supply, we decided to
compass sensor is the HMC6343, a fully integrated use two transceiver modules in order to evaluate the
compass module [8]. According to the available space and system performance during the AUV mission and to
the sensors involved, two electronic boards were designed control the AUV in emergency mode. For this purpose, we
to connect the sensor board with an IDE cable (Figure 10). retained two RF7020 (ADF7020) modules: one external to
be connected to the external controller and one internal to
be connected to the Mini-PC through a USB port [11,12,13].
6. Cameras
In recent years, demands for underwater tasks, such as
exploration of ocean environment and resources or
inspection of underwater structures, have dramatically
Figure 10. Sensor board (top board of dimensions 67.4*48.4 mm2 and increased. We have then included two cameras in the AUV
bottom board of dimensions 69.8*49.8 mm2) design [1]: the first (WebCam C615) in a transparent
American Journal of Mechanical Engineering 119
dome-like space at the top of the AUV with a capability of As main power supply, we used two rechargeable
a 360o rotation and the second on the AUV floor (720p batteries: a 20V/14Ah battery and a 12V/12Ah battery
USB Camera with Infrared LEDs) [1], both for observing (with regulators). Full battery specifications are reported
the surroundings and detecting obstacles (Figure 11). Also, in Table 2.
several LEDs have been added all around the cameras to
shed light into the water environment. A light board was Table 2. Battery Specifications
then designed, consisting of an LDR (Light Dependent
Resistors) photocell sensor [1] to measure the ambient
light and four LED for providing light on the top of the
camera.
SGB=
B
kp p × ε p . (3)
2
10. Controller Design Note that preliminary simulations showed that there is
no need for an integrator term.
The designed vehicle has five degrees of freedom
for moving namely, horizontal/vertical movements and 10.3. Depth controller
rotations around the x-axis, the y-axis, and the z-axis.
Different controlling algorithms were then implemented The depth controller maintains the device at the desired
to control the AUV’s speed (associated with the device depth. It has two modes, at rest and during movement:
American Journal of Mechanical Engineering 121
Here kpy is the proportional coefficient of the controller In this section, all the above controllers (speed, pitch,
and kiy its integral coefficient. θe is the controller output, depth and direction) were integrated into a single
showing the required difference between the servo motors, algorithm and the whole system behavior evaluated.
and εy is the direction error given by For the test, a predefined set of commands was sent to
the prototype in terms of desired speed (Figure 18), depth
ε=
y yd − y (9) (Figure 19) and direction angle (Figure 20). As shown in
Figure 21 to Figure 33, the AUV’s responses follow the
where yd is the desired direction angle and y the direction given commands, thus allowing validating the algorithm
angle calculated by the sensors. implementation.
In fact, while comparing Figure 21 and Figure 22, we
can notice that the evolution of the speed prototype to the
11. Experimental Tests speed command agrees with the vertical speed. In spots
where the depth change occurs, this later rises to balance
11.1. Experimental Setup the AUV’s moving.
This has been further confirmed by the acceleration
The above algorithms were first implemented and tested curves (Figure 23 to Figure 25). Indeed, when the AUV
separately. Then, the AUV was built with all required changes the angle of its pitch and rotates towards left and
mechanical and electrical blocks (Figure 16 and Figure 17). right, an acceleration is applied to the AUV in the y-axis
122 American Journal of Mechanical Engineering
direction of the body to closely follow its commands. Similarly, for the other acceleration components.
Same conclusions can be made for the depth and pitch After receiving predefined-user commands regarding
angle (Figure 26 and Figure 27). the desired arrival point to reach at a certain depth and
We should note that to maintain the stability of the with a certain speed, the fabricated AUV prototype was
AUV, angular velocity around the x-axis occurred to keep able to perform the given task by efficiently changing its
it stable around its longitudinal axis (Figure 28). The driving motors’ speed and servomotors’ angle. This
variations of the y- and z-axis angular velocities as well as played an important role in preserving the energy
the servo angles and the corresponding moving of the resources of the AUV, thus increasing its autonomy.
mass shift weight confirm the good operation of the Finally, after more than 600 hours of testing under various
prototype (Figure 29 to Figure 33). operating conditions including both pool and ocean
environments, the designed AUV successfully responded
to all commands by taking appropriate decisions.
12. Conclusion
In this paper, we designed a lightweight autonomous References
underwater AUV with vision capabilities. The tasks
involved the design of various mechanical parts, [1] Jebelli, A., “Design of an Autonomous Underwater Vehicle
particularly two rotating thrusters and an interior mass with Vision Capabilities,” Ph.D Thesis, University of Ottawa,
2016.
shifter to efficiently control the device movement. Sensor [2] Jebelli, A., “Development of Sensors and Microcontrollers for
boards were also embedded to share information with a Underwater Robots,” Master’s Thesis, University of Ottawa, 2014.
Mini-PC board and thus, to assure proper AUV operation. [3] Jebelli, A., Yagoub, M.C.E, Dhillon, B.S., “Design and control
Control-based algorithms were developed to control the of a self-balancing autonomous underwater vehicle with vision
AUV operation and assure proper responses to external capabilities,” Journal of Marine Science: Research &
Development, Vol. 8, No. 1, pp. 1-7, 2018.
commands and/or surrounding conditions. Also, two [4] Jebelli, A., Yagoub, M.C.E, Dhillon, B.S., “Modeling of an
cameras were used to collect information about the autonomous underwater robot with rotating thrusters,” Advances
surrounding environment. in Robotics and Automation, Vol. 6, No. 1, pp. 1-10, 2017.
To do so, we started with the AUV body by selecting a [5] Zhao, Y., Wang, L. and Peng, S., “A Real-Time Collision
Avoidance Learning System for Unmanned Surface Vessels,”
shape and subdividing it into blocks in order to locate all
Neurocomputing, 182, pp. 255-266, 2016.
embedded mechanical and electrical components required [6] i200, 4th Gen. Intel® CoreTM i3/i5/i7 Processor Intel® HD
for proper operation under real environmental conditions; Graphics 4400, Intel, 2015.
the objective being to achieve a good trade-off between [7] MPU-9250 Product Specification, Document Number: PS-MPU-
size and weight. Then, by setting the simulated maximum 9250A-01, InvenSense Inc, 2014.
depth to 50 m, loading, strain, and stress analyses and [8] Three-axis Compass with Algorithms HMC6343, Honeywell’s
Magnetic Sensors, 2014.
simulations were performed to ensure the body safety [9] 126MS5803-14BA Miniature 14 bar Module, Measurement
while submitted to external forces (note that the effective Specialties Inc., 2012.
maximum depth was set to 8 m, well below the simulated [10] http://www.atmel.com/images/atmel-2490-8-bit-avr-
value of 50 m). Next, we included a mass shifter to control microcontroller-atmega64- l_datasheet.pdf, [Last access May 23,
2018].
the AUV movement and assure its stability. We also
[11] FSK/ASK Transceiver IC, Analog Devices, Inc., 2012.
designed a sensor board, a power board, an access board, [12] KeyStone Architecture Universal Asynchronous Receiver/Transmitter,
and a motor driver board as well as a Mini-PC to manage Texas Instruments, 2010.
the data exchange with the different mechanical and [13] http://www.dorji.com/docs/data/DRF7020D13.pdf, [Last access
electronic parts like the IMU, pressure, and compass sensors. May 25, 2018].
128 American Journal of Mechanical Engineering
[14] BTN7971B High Current PN Half Bridge NovalithIC, Infineon [16] http://www.motionusa.com.s3-website-us-east-
Techn., 2008. 1.amazonaws.com/moons/Hybrid
[15] http://www.buehlermotor.de/C12572D40025EAF8/vwContentBy _Stepper_Motors_16HS_Series.pdf, [Last access May 18, 2018].
Key/W274AHF53 91 WEBRDE/$File/DC-
Motor_51x73_1.13.044.0XX.pdf, [Last access May 27, 2018].
© The Author(s) 2019. This article is an open access article distributed under the terms and conditions of the Creative Commons
Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).