A positioning system is a useful addition to an ArduSub vehicle either for displaying numerical location coordinates or the position of the vehicle on a map in QGroundControl.
Below is an example of a Water Linked Underwater GPS System being used to locate a shipwreck:
💡 The autopilot has the capability of utilizing an external positioning system to perform autonomous maneuvers like station keeping, 'click to go here', transects, and pre-planned waypoint missions, however this is IN DEVELOPMENT.
ArduSub maintains the same GPS module drivers as the rest of the ArduPilot family of firmwares, so a compatible GPS module may be directly connected to the GPS port on the autopilot. Positioning information will only be available when the vehicle is on the surface and the module is out of the water. The module will not be able to obtain a fix if it is underwater due to high frequency radio waves being unable to penetrate the water medium.
Acoustic positioning systems are the only reliable way of providing positioning information underwater.
A short baseline (SBL) acoustic positioning system uses an acoustic transmitter on the vehicle to transmit timed acoustic pulses. These pulses are received by a series of multiple receivers on the surface in an arranged geometric pattern. The "time of flight" is calculated to when each receiver records the acoustic pulse and then a consolidated position for the underwater vehicle can be plotted.
SBL systems can produce better positioning accuracy in highly reflective environments due to the adjustable receiver locations.
Image Credit: Water Linked
An ultra-short baseline acoustic positioning system is similar to SBL system where an acoustic pulse is transmitted from a tranciever on the vehicle and then recieved by a receiver on the surface. Instead of simply calculating time of flight, range and bearing are calculated by USBLs.
USBLs are more compact than SBL systems where the receiver's transducers are fixed in one tranciever head.
Image Credit: Cerulean Sonar
A doppler velocity log sends multiple acoustic pulses in different directions, and measures the frequency change (doppler shift) from the transmitted pulses to estimate velocity of the vehicle relative to the bottom. Combining the velocity estimate with measurements from the accelerometers, compass, and gyroscopes in the onboard inertial measurement unit (IMU), the vehicle's orientation and relative position can be estimated via dead-reckoning. If the time of flight of the pulses is measured, it is also possible to estimate vehicle altitude above the bottom, similar to an altimeter.
Image Credit: Water Linked
DVLs do not require external acoustic hardware or infrastructure, so are better suited to long distance autonomous missions than an SBL or USBL system.
The relative positioning estimates from a DVL system mean the estimate is prone to drift over time. Accurate long term positioning requires occasional corrections from an absolute positioning system (like a GPS Module at the surface).
There is a comparison of some common DVLs in this forum comment.