Next Article in Journal
UAV Array-Aided Visible Light Communication with Enhanced Angle Diversity Transmitter
Previous Article in Journal
Research on Identification of Minimum Parameter Set in Robot Dynamics and Excitation Strategy
Previous Article in Special Issue
Synergistic Hierarchical AI Framework for USV Navigation: Closing the Loop Between Swin-Transformer Perception, T-ASTAR Planning, and Energy-Aware TD3 Control
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

An Integrated Low-Cost Underwater Navigation Solution for Divers Employing an INS Composed of Low-Cost Sensors Using the Robust Kalman Filter and Sensor Fusion

by
Taisei Hayashi
* and
Daisuke Terada
*
Department of Mechanical Systems Engineering, National Defense Academy of Japan, Hashirimizu 1-10-20, Yokosuka 239-8686, Kanagawa, Japan
*
Authors to whom correspondence should be addressed.
Sensors 2025, 25(18), 5750; https://doi.org/10.3390/s25185750 (registering DOI)
Submission received: 9 June 2025 / Revised: 4 August 2025 / Accepted: 12 September 2025 / Published: 15 September 2025

Abstract

Divers’ navigation heavily depends on their experience and physical condition, and accidents caused by failure to return occur every year. To address this issue, we developed a navigation system for divers. This navigation system leverages Raspberry Pi and low-cost sensors, including an accelerometer, gyro sensor, geomagnetic sensor, and pressure gauge, to guide divers along predefined routes back to their starting point. The system employs a 20 Hz sampling frequency and applies high-pass filtering (HPF) to acceleration signals to eliminate gravitational interference. Velocity integration errors are corrected using the rate of pressure change, while impulse noise in accelerometer and geomagnetic sensors is removed via the Robust Kalman Filter (RKF). A time-varying system noise covariance matrix enhances accuracy during rotational states. Quaternion-based attitude avoids gimbal lock, with the Kalman Filter (KF) fusion of accelerometer/geomagnetic data mitigating gyro sensor drift. Forced oscillator trials achieved pitch/roll RMS errors of ±1.23° and ±0.26°. In Kanagawa, Japan, divers successfully navigated 44 waypoints (<5 m spacing) along a route with obstacles (30 m rope, Authors, reefs), with a start/end GNSS positioning error of 6.67 m.

1. Introduction

Divers commonly estimate their position by measuring their travel direction and elapsed time. The reliability of this method depends on the diver’s experience and physical condition, and it requires advanced skills and knowledge. In 2023, 48 scuba diving incidents were reported in Japan, with “failure to return” being the third most common cause. When categorized by diving experience, the highest number of incidents occurred among divers with 100–500 dives [1]. These findings suggest that providing divers with a device capable of accurately estimating their position could reduce disorientation, particularly for semi-professional divers with 100–500 dives. In terrestrial environments, low-cost inertial navigation systems (INSs) in conjunction with Global Navigation Satellite Systems (GNSSs), analogous to those utilized in smartphones, are frequently employed. However, underwater, GNSS signals attenuate rapidly with depth and are often unavailable. On the other hand, underwater, GNSS signals attenuate with depth, and pressure changes with depth are greater than on land. Humans must wear extensive equipment to operate underwater, which often limits hand movement and visibility. For GNSS-denied platforms, highly reliable sensors and external information—such as data from a support vessel—are essential. As external sources, sonar is commonly utilized to detect, identify, and measuring distances to underwater objects [2] or information from a support vessel, and data obtained upon surfacing can be utilized [3]. In the field of underwater navigation, much research is being conducted on unmanned underwater vehicles (UUVs). UUV localization methods can be broadly classified into three categories: signal-based navigation, dead reckoning, and map-matching navigation [4]. Signal-based navigation relies on GNSS or sonar and provides high accuracy without cumulative error. Acoustic signal-based navigation can be divided into Super Short Baseline (SSBL), Short Baseline (SBL), and Long Baseline (LBL) [5]. SSBL and SBL use a single transponder with three or more receivers [5]. Achieving higher accuracy requires wider receiver spacing, which makes these methods suitable for large vessels. In contrast, LBL uses a single receiver with three or more transponders [5] and is not limited by receiver spacing. Dead reckoning utilizes IMUs and velocity sensors. Although it produces stable outputs, cumulative errors increase over time [6]. Ishibashi et al. [7] proposed mitigating these errors by rotating the INS. Map-matching navigation uses seafloor maps or onboard cameras. It is self-contained and free from cumulative error, but its accuracy depends heavily on environmental conditions [4]. Camera-based methods include Visual Odometry (VO) and Visual Simultaneous Localization and Mapping (V-SLAM) [8]. VO, sometimes regarded as a subset of SLAM, sequentially estimates the camera’s pose and the surrounding environment using only image data. A major limitation is that cameras without depth estimation cannot accurately measure displacement [9]. Forster et al. [10] addressed this by increasing frame rates and detecting outliers. Taguchi et al. [9] applied transfer learning for depth estimation. Liu et al. [11] employed multi-camera systems. V-SLAM estimates the platform’s position while simultaneously building a map [8]. LiDAR-SLAM, which combines LiDAR-based map-matching with dead reckoning, is becoming increasingly common in UUVs [8]. Map-matching is especially effective in shallow waters with known terrain, but its performance depends on light penetration. Somajyoti et al. [12] proposed integrating signal-based and map-matching navigation. However, the equipment required for these methods is generally expensive and impractical for individual divers. Divers also carry multiple devices and have limited mobility underwater, and cables or bulky equipment can compromise safety. Therefore, compact and low-cost navigation devices are needed to ensure underwater safety. Currently, no such system exists for divers. A device enabling navigation in unfamiliar dive sites could reduce mental stress and lower the risk of accidents. If such a system were inexpensive, it could achieve widespread adoption. One approach is signal-based navigation, a diver’s navigation system. It estimates position using a reference signal attached to the vessel and the diver’s equipment. However, these are expensive and cannot be used in places that vessels cannot access, such as beaches. Another approach is to build an INS using low-cost MEMS sensors. However, these sensors have a low signal-to-noise ratio (SNR), requiring appropriate signal processing. To address this, Hirose et al. [13] proposed a method that utilizes accelerometers, gyro sensors, and geomagnetic sensors with the Kalman Filter (KF) for correction. This method, however, relies heavily on accelerometer and geomagnetic sensor accuracy and does not address magnetic disturbances, such as those caused by nearby ferromagnetic materials. To correct magnetic disturbances, Kaiqiang et al. [14] utilized accelerometer data, but low-cost accelerometers are prone to outliers, limiting the practicality of this approach. Furthermore, since the values of geomagnetic sensors vary greatly depending on the direction they are facing, if they change direction frequently, they must be treated as a time-varying system. For outlier suppression, such as spike noise, the Robust Kalman Filter (RKF) is more effective. For attitude estimation, Euler angles or quaternions are commonly utilized. Euler angles are prone to gimbal lock, whereas quaternions avoid this problem but are less intuitive for human interpretation. For instance, Joan [15] employed both representations simultaneously, but the benefits were not fully realized because the computations ultimately relied on the Euler angle rotation matrix. These issues can be summarized as follows:
1.
Navigation on land relies heavily on GNSS, which is not utilized underwater due to the attenuation of GNSS signals with depth.
2.
It is challenging for human divers to navigate while tethered by cables or carrying substantial equipment, as this compromises safety.
3.
Existing acoustic-based navigation systems for divers are prohibitively expensive and cannot be utilized on beaches where ships cannot navigate.
4.
Sensor fusion for attitude estimation generally involves removing gyro sensor drift errors in the C-frame. However, when using low-SNR sensors, such as low-cost accelerometers and geomagnetic sensors, it is difficult to distinguish between noise and integration drift at the C-frame stage. Therefore, it is necessary to preprocess accelerometer and geomagnetic sensor signals in the S-frame and perform drift correction there, allowing noise and drift errors to be addressed separately.
5.
The approach of using an accelerometer to correct magnetic disturbances from a geomagnetic sensor is difficult with low-SNR accelerometers.
6.
When the attitude changes frequently, the geomagnetic sensor’s values fluctuate significantly depending on the direction, so it should be modeled as a time-varying system with an aspect that has not yet been addressed.
7.
Quaternion-based attitude estimation cannot fully utilize its advantages when relying on Euler angles for continuous attitude changes, and low-SNR sensors cannot accurately estimate attitude when corrections are applied in a translational coordinate system.
This study aims to develop an underwater navigation system that utilizes low-cost sensors to enable divers to return to their departure point via a predetermined route, thereby addressing these issues. As to the attitude estimation, we extend our previous study [16] and replaced the analog attitude estimator with an acceleration-based attitude estimator. The characteristics of this study are as follows:
1.
To address Problem 1, we utilize depth changes measured by a water pressure gauge. Because water pressure varies significantly with depth underwater compared to on land, even a low-cost pressure gauge can accurately estimate depth to within a few centimeters. We utilize this feature to correct the integration error from acceleration to velocity.
2.
To address Problems 2 and 3, we propose a navigation system designed to be held in one hand.
3.
To address Problem 4, we first preprocess the accelerometer and geomagnetic sensor signals using the RKF. Subsequently, sensor fusion is performed in the S-frame using a KF. Finally, the estimated attitude is transformed into the C-frame using quaternions.
4.
To address Problems 5 and 6, we apply the RKF that models the geomagnetic sensor as a time-varying system and adapts system noise according to changes in the gyro sensor’s z-axis. This approach allows accurate azimuth estimation in magnetically disturbed environments and outperforms the conventional KF under transient conditions.
5.
To address Problem 7, signals are processed in the S-frame and converted to quaternions. The quaternion is then transformed into Euler angles only for user display of the azimuth angle, thereby helping to avoid gimbal lock.
In Section 1, the background and objectives of this paper are discussed. In Section 2, the coordinate system used in this paper is presented. In Section 3, an overview of the proposed system is provided. In Section 4, the signal processing methods are explained in detail. In Section 5, the experimental results and discussions are presented. Finally, in Section 6, the obtained findings are summarized.

2. Coordinate System

In this study, three types of coordinate systems (shown in Figure 1) are used. The T-frame is in the East–North–Up (ENU) coordinate system, the C-frame has a rotation-relative coordinate system, and the S-frame is a right-hand side system with the z axis pointing downward.

3. Proposed System

The proposed system consists of Raspberry Pi manufactured by Raspberry Pi Ltd. (England, United Kingdom) and low-cost sensors, which are accelerometer and gyro sensor (MUP9250) manufactured by TDK Co., Ltd. (Tokyo, Japan), geomagnetic sensor (QMC5883L) manufactured by QST Co., Ltd. (Shanghai, China), and pressure gauge (MS5837-30BA) manufactured by TE Connectivity (Berwyn, Pennsylvania, United States) An accelerometer set scale ±2 g with SSF 16384 LSB/g [17]. A gyro sensor set scale ±250 deg/s with SSF 131 LSB/(deg/s) [17]. A geomagnetic sensor set scale ±8 G with SSF 3000 LSB/G [18]. The pressure gauge accuracy is ±1.5 mbr [19], which translates to ±150 pa.
First, to understand the diving motion frequency, it was recorded at a sampling frequency of 100 Hz. Since the dominant frequency of the motion was below 10 Hz as a result of the spectral analysis for the acceleration, the sampling frequency was decided to be 20 Hz. Next, characteristics of sensors in the steady state while the diver was at rest were investigated for calibration procedures and signal processing. For the accelerometer, the frequency band below 1 Hz dominated with spectral analysis. To address the influence of gravity and these low-frequency components, the HPF was applied to the signal processing of the accelerometer. HPF cut-off frequency was set to 0.8 Hz. As mentioned previously, the sensor results have frequent spike noise; thus, RKF was applied to remove it. For the gyro sensor, a dominant frequency did not appear.
Figure 2 shows the process flow of the proposed system. The process flow can be broadly divided into two steps. The first is estimating the resultant velocity, and the other is estimating the attitude. To estimate the resultant velocity, the aforementioned investigation function processes signals using the accelerometer and the RKF to determine the speed. The effect of the integral error included in the velocity derived by the RKF was removed by referring to the value of the pressure gauge.
In attitude estimation, gyro sensor outputs have drift and integration errors. While the geomagnetic sensor readings exhibit robustness, they necessitate consideration of rotational attitude when the device is not horizontal. Additionally, magnetic disturbances must be considered. To address them, the gyro sensor values integrated in the S-frame are corrected by the KF using the acceleration processed by the HPF and the heading angle of the geomagnetic sensor processed by the RKF. The rectified signal is converted to a quaternion-based attitude. The position is converted to the T-frame and is expressed with the latitude and longitude. The velocity components in the C-frame x and y axes are combined, and a coordinate transformation is performed using the ψ angle of the quaternion attitude corrected by the geomagnetic sensor.
Finally, waypoints are set at intervals within 5 m to eliminate integration errors from velocity to position. Based on this, guidance is displayed to the user to show the direction and distance to advance. Figure 3 shows the external appearance of the equipment incorporating the proposed system.

4. Signal Processing

4.1. Drift Correction Using the Kalman Filter for Gyro Sensor [13]

Let the state x = [ ϕ n s , θ n s , ψ n s ] T , the observation y = [ ϕ n α , θ n α , ψ n m ] T , and the input u = [ ω x , ω y , ω z ] T . Its state–space model is represented by the following Equation (1). Here, the range of ϕ n α and θ n α is from π / 2 to π / 2 .
x n = x n 1 + Δ t u n + v n y n = x n + w n
where v n is the system noise vector and is the three-dimensional Gaussian white noise sequence N ( 0 , Q ) . Q is the variance–covariance matrix of the observation noise expressed as follows:
Q = Δ t 2 diag ( σ x 2 , σ y 2 , σ z 2 )
w n is the observation noise vector and is the three-dimensional Gaussian white noise sequence N ( 0 , R ) . R is a variance–covariance matrix of observation noise, and is expressed as follows:
R = σ x 2 σ x y σ x z σ x y σ y 2 σ y z σ x z σ y z σ z 2
Here, each element of this matrix is calculated from sensor data while the sensor is in a stationary state. The state estimation of Equation (1) can be completed by the algorithm of the KF shown in Equations (4)–(8).
  • [One-step-ahead prediction]
x ^ n | n 1 = x ^ n 1 | n 1 + Δ t u n
P n | n 1 = P n 1 | n 1 + Q
[Filtering]
x ^ n | n = x ^ n | n 1 + K n ( y n x ^ n | n 1 )
P n | n = ( I K n ) P n | n 1
K n = P n 1 | n 1 ( P n 1 | n 1 + R ) 1
where I is a unit matrix of 3 × 3 .

4.2. Robust Kalman Filter [20]

To remove the outlier, the RKF is applied. Note that although the notation of symbols is the same as with the KF, these elements are different from the KF.

4.2.1. Outlier Correction Using the RKF for Acceleration

Let the state x = [ v x , v y , v z , α x , α y , α z ] T and the observation y = [ α x , α y , α z ] T . Its state–space model is represented by the following Equation (9).
x n = A x n 1 + v n y n = H x n + w n + z n
where A is the state-transition matrix shown in Equation (11), v n is the system noise vector and is the six-dimensional Gaussian white noise sequence N ( 0 , Q ) . Q is a variance–covariance matrix of observation noise and is expressed as follows:
Q = Δ t 3 4 σ x 2 0 0 Δ t 2 2 σ x 2 0 0 0 Δ t 3 4 σ y 2 0 0 Δ t 2 2 σ y 2 0 0 0 Δ t 3 4 σ z 2 0 0 Δ t 2 2 σ z 2 Δ t 2 2 σ x 2 0 0 Δ t σ x 2 0 0 0 Δ t 2 2 σ y 2 0 0 Δ t σ y 2 0 0 0 Δ t 2 2 σ z 2 0 0 Δ t σ z 2
H is the observation matrix shown Equation (12). w n is the observation noise vector and is the three-dimensional Gaussian white noise sequence N ( 0 , R ) . z n is the outlier vector, R is a variance–covariance matrix of observation noise, the same as Equation (3), and is expressed as follows:
A = 1 0 0 Δ t 0 0 0 1 0 0 Δ t 0 0 0 1 0 0 Δ t 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1
H = 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1
The state estimation of Equation (9) can be completed by the algorithm of the RKF shown in Equations (13)–(20).
  • [One-step-ahead prediction]
x ^ n | n 1 = A x ^ n 1 | n 1
P n | n 1 = A P n 1 | n 1 A T + Q
[Filtering]
x ^ n | n = x ^ n | n 1 + L ( e n z ^ n )
P n | n = ( I LH ) P n | n 1
L = P n | n 1 H T ( σ n 2 ) 1
e n = y n H x ^ n | n 1
z ^ k , n = e k n σ k k n i f e k n σ k k n e k n + σ k k n i f e k n < σ k k n 0 o t h e r w i s e ( k = x , y , z )
σ n 2 = H P n | n 1 H T + R
where I is a unit matrix of 6 × 6 . Since the z ^ k n is independent of other random variables, σ k k n can be regarded as depending on the square root of the diagonal term of σ k k 2 in Equation (3) [21]. Furthermore, the evaluation of integration errors is performed by using the time derivative of pressure, d P / d t .
d P d t P n P n 1 β Δ t
v n s = 2 v n s | d P / d t | | v z n s | i f | v z n s | d P d t 0.1 v n s o t h e r w i s e
where β is a calibration coefficient 1025.0 × 9.8 .

4.2.2. Magnetic Disturbance Correction Using the RKF for Geomagnetic Sensors

Let the state x = [ m x , m y , m z ] T and the observation y = [ m x , m y , m z ] T . Its state–space model is represented by the following Equation (23).
x n = x n 1 + v n y n = x n + w n + z n
where v n is the system noise vector and is the three-dimensional Gaussian white noise sequence N ( 0 , Q ) . Q n is the variance–covariance matrix of the system noise is determined according to the amount of rotation of ψ , which means that the corrections for rotating and stationary states are different, so it is expressed as Equation (24) as follows:
Q n = Δ t 2 2 σ n 1 2 i f | ω z n 1 ω z n |     0.02 3 2 σ n 1 2 o t h e r w i s e
where σ n 1 2 is calculated using Equation (32). w n is the observation noise vector and is the three-dimensional Gaussian white noise sequence N ( 0 , R ) . z n is the outlier vector, R is a variance–covariance matrix of observation noise, which is the same as Equation (3). The geomagnetic field exhibits significant variations depending on the location; therefore, in this paper, it is treated as a time-varying system. Specifically, the conditional variance–covariance of the state x is assumed to change with time. That is, in the one-step-ahead prediction process, the variance–covariance matrix of the system noise is adjusted according to the state with time, as shown in Equation (24). The state estimation of Equation (23) can be completed by the algorithm of the RKF shown in Equations (25)–(32).
  • [One-step-ahead prediction]
x ^ n | n 1 = A x ^ n 1 | n 1
P n | n 1 = P n 1 | n 1 + Q n
[Filtering]
x ^ n | n = x ^ n | n 1 + L ( e n z ^ n )
P n | n = ( I L ) P n | n 1
L = P n | n 1 ( σ n 2 ) 1
e n = y n x ^ n | n 1
z ^ k , n = e k n σ k k n i f e k n σ k k n e k n + σ k k n i f e k n < σ k k n 0 o t h e r w i s e ( k = x , y , z )
σ n 2 = P n | n 1 + R
A time series of intentionally generated magnetic disturbances in stationary conditions to verify the magnetic disturbance correction of the geomagnetic sensors using KF and RKF is shown in Figure 4. The figure shows the blue, orange, and green lines representing the measured data, the estimated states by the RKF, and the estimated states by the KF, respectively. From this figure, it can be seen that the magnetic disturbance that occurred around 4 s has been removed using the RKF. Compared to the KF, the RKF is more effective in eliminating spike-like magnetic disturbances and achieves stabilization more quickly.
The time series for the case where the geomagnetic sensor is rotated on the x y plane in the S-frame and then held stationary under conditions of no magnetic disturbance is shown in Figure 5. The figure shows the blue, orange, and green lines representing the measured, the estimated states by the RKF, and the estimated states by the KF, respectively. In this study, the variance–covariance Q of the system noise is determined according to the amount of rotation of ψ , which means that the corrections for rotating and stationary states are different. As a result, more effective state estimation is achieved compared to the KF. In addition, since the system is treated as a time-varying system, the state estimation performs better under transient conditions than when using the conventional KF.

4.3. Quaternion-Based Coordinate Transformation

Converting to quaternions can be expressed as follows [22].
q 0 n q 1 n q 2 n q 3 n = cos ϕ n s 2 cos θ n s 2 cos ψ n s 2 + sin ϕ n s 2 sin θ n s 2 sin ψ n s 2 sin ϕ n s 2 cos θ n s 2 cos ψ n s 2 cos ϕ n s 2 sin θ n s 2 sin ψ n s 2 cos ϕ n s 2 sin θ n s 2 cos ψ n s 2 + sin ϕ n s 2 cos θ n s 2 sin ψ n s 2 cos ϕ n s 2 cos θ n s 2 sin ψ n s 2 sin ϕ n s 2 sin θ n s 2 cos ψ n s 2
The conversion from quaternions to Euler angles is performed by the following equation [23].
ϕ θ ψ = tan 1 q 3 2 q 2 2 q 1 2 + q 0 2 2 ( q 0 q 1 + q 2 q 3 ) π / 2 < ϕ < π / 2 sin 1 { 2 ( q 1 q 3 q 0 q 2 ) } π / 2 < θ < π / 2 tan 1 q 1 2 + q 0 2 q 3 2 q 2 2 2 ( q 1 q 2 + q 0 q 3 ) π ψ π
Note that the range of ϕ and θ depends on ϕ α and θ α .

4.4. Coordinate Transformation to the T-Frame

The coordinate transformation to the T-frame is expressed by rotating ψn by 90° as follows.
p x n t p y n t = p x n 1 t + Δ t V n sin ( ψ n ) ϵ p x n 1 t + Δ t V n cos ( ψ n ) ϵ
where ϵ is a calibration coefficient 1.5 in this paper. Here, a resultant velocity V n can be calculated by the following equation.
V n = v x n s 2 β + v y n s 2 ( 1 β ) γ
γ = 0.35 V n i f V n 0.35 1 o t h e r w i s e
where β is a weight coefficient 0.7 in this paper.

4.5. Waypoint Configuration

To reduce the accumulation of integration errors, the azimuth and distance to the nearest waypoint are calculated using the following equation. In addition, it always continues to search for the nearest point by conditional branching. here, p n e and ψ n G are displayed for the diver to navigate.
p x n g p y n g = p x i w p x n t p y i w p y n t
ψ n l = tan 1 p y n g p x n g π ψ n l π
ψ n G = ψ n l ψ n + π 2
p n e = p x n g 2 + p y n g 2

5. Experimental Results and Discussions

5.1. Experimental Results and Discussions of Attitude Estimation

The diver’s movements were recorded, and the periodicity of the motion was verified. An example is shown in Figure 6. Within 14 s, five fin kicks were observed, indicating that the diver’s posture changes at a frequency of approximately 0.36 Hz.
To verify the accuracy of attitude estimation with the proposed system, a forced oscillator (DS-100P-3M) manufactured by Izumi Instruments Co., Ltd. (Tokyo, Japan), as shown in Figure 7, was used. The device was set to vibrate at ϕ ± 5° and a frequency of 0.35 Hz for the verification.
The time series data of attitude angles, and the spectrum of the attitude angles are shown in Figure 8 and Figure 9, respectively. The time series of attitude angles in Figure 8, blue line, orange line, red dots, and gray line represent the S-frame, C-frame, peak value, and theoretical value, respectively. It shows that the ϕ angle, corrected using the KF applied to the data obtained from the accelerometer, removes the spike noise from acceleration. The average RMS was ±1.23° for ϕ and ±0.26° for θ. The spectrum of the attitude is shown in Figure 9, the gray dotted line in the figure indicates 3 Hz. From Figure 9 it can be confirmed that the motion at the set frequency was successfully measured.

5.2. Experimental Results and Discussions of the Underwater Environment

The experiment was conducted at Kajinohama beach in Joga Shima, Miura City, Kanagawa, Japan, on 26 July 2024. The visibility was about 5 m, and the sea conditions were swell caused by the typhoon. Waypoints are set on the red and orange lines in Figure 10. The waypoint set that latitude and longitude in the WGS84 coordinate system transformed into the T-frame. Points were added by iterative calculations so that the distance was within 5 m and numbered from WP1-44, as shown in Figure 11. The yellow point in Figure 10 is the measurement start and end point shown in Figure 12, which can be seen at the buoy tied from the bottom of the sea, as shown in Figure 13, and from the end of a rope shown in the red line in Figure 10 and Figure 14. The proposed system was held in front of the diver’s line of sight, and the route was determined by the system’s instructions. For verification, a buoy was equipped with a GNSS receiver and tied to the diver, and position information on the sea surface was recorded simultaneously. The evaluation of the results was based on the following neighborhoods that could be passed.
Figure 10. Kajinohama beach [24].
Figure 10. Kajinohama beach [24].
Sensors 25 05750 g010
Figure 11. Waypoint numbered from WP1-44 [25].
Figure 11. Waypoint numbered from WP1-44 [25].
Sensors 25 05750 g011
Figure 12. Measurement start and end points.
Figure 12. Measurement start and end points.
Sensors 25 05750 g012
Figure 13. Buoy tied to the bottom of the sea [25].
Figure 13. Buoy tied to the bottom of the sea [25].
Sensors 25 05750 g013
Figure 14. A 30 m long rope stretched along a rock in the sea (red line in Figure 10) [25].
Figure 14. A 30 m long rope stretched along a rock in the sea (red line in Figure 10) [25].
Sensors 25 05750 g014
Figure 15. Underwater structure (green point in Figure 10), as indicated by the red circle in the figure [25].
Figure 15. Underwater structure (green point in Figure 10), as indicated by the red circle in the figure [25].
Sensors 25 05750 g015
In Figure 16, the diver’s trajectory illustrates the path taken while sequentially following the waypoints indicated by red lines. The z-axis in the figure represents depth, allowing for visualization of vertical movement during the dive. The trajectory generated by the proposed system is shown using a color gradient from blue to green, where the color represents the magnitude of the resultant velocity V (Equation (36)). Even when decelerating due to direction changes, the estimated speed does not diverge due to the correction based on water pressure. Where speeds are reduced, it is considered that this is due to turning or sea conditions. Quaternion-based attitude estimation was able to suppress the attitude angle drift error of the gyro sensor, as the error was evaluated in the S-frame and corrected using the KF. However, since ϕ and θ are constrained between π / 2 and π / 2 , future work should aim to extend the measurable range to π to π . Additionally, the RKF applied to geomagnetic sensors was unaffected by gyro drift and enabled more detailed evaluation of geomagnetic sensor errors compared to the previous study [16]. The reason for the inflation from WP21-22 in Figure 16 is that deceleration was recorded during turning from WP17-18 but not recorded during turning from WP21-22. As a prospect, it is necessary to improve the threshold value set in Equation (22) or to calculate the velocity by coordinate transformation from the position in the S-frame without relying on the resultant velocity. However, the aforementioned evaluation criteria are generally met as shown in Figure 17 and Figure 18. Therefore, the proposed system is considered to have the desired accuracy. As a result, the proposed system has the advantage of being robust against magnetic disturbances caused by diving equipment and is resilient to wave conditions comparable to those observed during the experiments. On the other hand, since the system relies on resultant velocity, it has a limitation in that it cannot provide accurate navigation when the diver is drifting.
Figure 19, Figure 20 and Figure 21 show the time series of the attitude angles, the acceleration sensor, and the histogram of the acceleration noise component, respectively. In the time series of the attitude in Figure 19, the blue and orange lines represent the previous study method and this study method, respectively. To simulate the previous study, the analog attitude estimator was activated, with ψ n a and θ n a indicated in ±1°. These figures show that drift errors are more effectively removed compared to the previous method. The time series of the acceleration sensor in Figure 20 shows the x, y, and z axis data, along with the noise components between the HPF and the RKF for each axis. The blue, orange, and green lines represent the measured values offset by the average, the values filtered by the HPF, and the estimated states by the RKF, respectively. These figures show that outliers are successfully removed. The noise component time series between the HPF and the RKF for the x, y, and z axes demonstrates that the RKF effectively removes pulse-like outliers that occur when the diver kicks out. The histogram of the acceleration noise component in Figure 21 shows that, consistent with the filter design, the noise residual follows a Gaussian distribution.
Guidance was recorded from WP44 to the start point in Figure 16, but in reality, it was a little further away. The difference is due to an offset error caused by the ocean current and the calibration of the geomagnetic sensor. In order to make a quantitative assessment, a buoy equipped with a GNSS receiver was tension moored at the start and end points. The GNSS receiver is built into a smartphone (iPhone 13 manufactured by Apple Inc. (Cupertino, California, United States) ), records using the Precise Point Positioning (PPP) method, and the obtained signal is utilized without any signal processing. In Figure 22, the average of the GNSS signal values at each point was calculated to obtain the distance between the start and end points. The GNSS signals measured at the start point (76 samples) are indicated by blue circles, the average values are indicated by blue × signs, and error ellipses are indicated by the blue dotted line. The GNSS signals measured at the end point (55 samples) are indicated by green circles, the mean value is indicated by green × signs and error ellipses are indicated by the green dotted line. Note that to evaluate the error of the GNSS receiver around the stationary position, measurements were taken while stationary on the ground for one hour. The error ellipse had a width of 1.627 m and a height of 1.780 m. The GNSS signal, therefore, has the desired accuracy. A straight line connecting two × marks was 6.67 m. Thus, the start point can be seen when visibility is more than 7 m. Even when visibility is less than 7 m, the start point can be seen if the diver surfaces at the end point, which suggests that the diver can return to the start point.

6. Conclusions

In this study, we developed an underwater navigation system using low-cost sensors that enables divers to be guided along a predefined route from the start point to the goal point. We extended the previous study [16], which replaced the analog attitude estimator with the sensor fusion attitude estimation method. As a result, forced oscillator trials achieved pitch and roll RMS errors of ±1.23° and ±0.26°, respectively. In field experiments, divers were able to return to the start point with an average error of 6.67 m. This indicates that the start point can be visually identified when visibility exceeds 7 m. Even when visibility is below 7 m, the start point can be located if the diver surfaces at the end point, suggesting that return navigation is feasible. Therefore, the system demonstrates practical applicability. Moreover, the field experiments showed that the proposed system is robust against magnetic disturbances caused by diving equipment and resilient to wave conditions comparable to those observed during the experiments. This result not only helps prevent incidents where semi-professional divers with 100–500 dives fail to return, but also avoids safety-compromising factors found in conventional navigation equipment. Therefore, it demonstrates the potential to contribute significantly to improving the safety of diving activities. As a result, it became possible to show the following.
1.
The estimation of velocity can be achieved even when employing low-cost sensors. Due to the substantial pressure variations present underwater, depth changes are measured using a water pressure gauge to correct integration errors from acceleration to velocity.
2.
The proposed system addresses both cost and usability in restricted environments. Furthermore, as it does not depend on external information such as GNSS or sonar, it eliminates the necessity for large-scale equipment and tethering cables to the water surface, thereby significantly enhancing the safety of underwater operations.
3.
The estimation of attitude can be achieved even in circumstances involving the utilization of low-SNR sensors. Because preprocessing of the accelerometer and geomagnetic sensor signals is collected using the RKF, sensor fusion is performed in the S-frame using the KF. Finally, the estimated attitude is transformed into the C-frame using quaternions.
4.
The proposed method demonstrates a capacity for precise azimuth estimation in environments characterized by magnetic disturbances, thereby exhibiting superior performance in comparison to the conventional KF when confronted with transient conditions. This is due to the implementation of the RKF, which models the geomagnetic sensor as a time-varying system and adapts system noise according to changes in the gyro sensor’s z axis.
5.
The present paper utilizes a quaternion-based attitude estimation that functions independently of the Euler angle rotation matrix. This approach helps to avoid gimbal lock because signals are processed in the S-frame and converted to quaternions. Subsequently, the quaternion exclusively undergoes a transformation into Euler angles to display the azimuth angle to the user.
Finally, the following challenges remain to be addressed in future work:
1.
The quaternion-based attitude estimation is currently constrained such that ϕ and θ are limited to the range from π / 2 to π / 2 . Since divers sometimes look upward toward the water surface, it is necessary to expand the measurable range to π to π .
2.
Regarding localization, when using composite velocity, accurate positioning cannot be achieved in drift states where the main flow velocity component and the diver’s facing direction do not align. It is necessary to perform localization on the T-frame by using the estimated velocity in the S-frame and the azimuth angle in the C-frame.

Author Contributions

Conceptualization, T.H. and D.T.; methodology, T.H. and D.T.; software, T.H. and D.T.; validation, T.H. and D.T.; formal analysis, T.H. and D.T.; investigation, T.H.; resources, T.H. and D.T.; data curation, T.H. and D.T.; writing—original draft preparation, T.H.; writing—review and editing, D.T.; visualization, T.H.; supervision, D.T.; project administration, D.T.; funding acquisition, D.T. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

Dataset available on request from the authors. The raw data supporting the conclusions of this article will be made available by the authors on request.

Acknowledgments

We would like to thank the member of Joga Shima Diving Center for their cooperation in this experiment.

Conflicts of Interest

The authors declare no conflicts of interest.

Abbreviations and Nomenclature

The following abbreviations are used in this manuscript:
T-frameTrue frame
C-frameComputer frame
S-frameSensor frame
KFKalman filter
RKFRobust Kalman filter
SSFSensitivity Scale Factor
HPFHigh-pass filter
LPFLow-pass filter
RMSRoot Mean Square
α n Acceleration in S-frame ( m / s 2 )
ω n Angular velocity in S-frame (rad/s)
m n s Magnetic field in S-frame (G)
v n s Velocity in S-frame (m/s)
V n Resultant velocity (m/s)
p n t Position in T-frame (m)
p i w Preset waypoint (m)
p n g Calculated distance to waypoint (m)
P n Pressure (Pa)
q n Quaternion
ϕ n s Roll motion in S-frame from KF (rad)
ϕ n α Roll motion from accelerometer (rad)
ϕ n Roll motion in C-frame (rad)
θ n s Pitch motion in S-frame from KF (rad)
θ n α Pitch motion in from accelerometer (rad)
θ n Pitch motion in C-frame (rad)
ψ n s Heading angle in S-frame from KF (rad)
ψ n m Heading angle from geomagnetic sensor (rad)
ψ n Heading angle in C-frame (rad)
Δ tSampling interval (s)

References

  1. Japan Coast Guard. Current Status and Countermeasures for Marine Accidents in 2023. Available online: https://www6.kaiho.mlit.go.jp/info/keihatsu/20240614_state_measure01.pdf (accessed on 28 October 2024). (In Japanese).
  2. Mizuno, K.; Asada, A. Underwater Acoustic Sensing Technology. J. Robot. Soc. Jpn. 2018, 36, 182–185. (In Japanese) [Google Scholar] [CrossRef]
  3. Tanaka, S.; Yoshioka, K.; Asano, Y.; Otake, S.; Ikeno, S.; Urushibata, K. Development of Unmanned Undersea Vehicle for International Security Environment Surrounding Our Country. Mitsubishi Heavy Ind. Tech. Rev. 2011, 48, 12–16. (In Japanese) [Google Scholar]
  4. Zhang, B.; Ji, D.; Liu, S.; Zhu, X.; Xu, W. Autonomous Underwater Vehicle navigation: A review. Ocean Eng. 2023, 273, 113861. [Google Scholar] [CrossRef]
  5. Furuta, T.; Fujimoto, H.; Tomoda, Y.; Kobayashi, K.; Murakami, H. A Handy Acoustic Transponder Navigation System; Development and Operation. J. Geod. Soc. Jpn. 1984, 30, 313–322. (In Japanese) [Google Scholar] [CrossRef]
  6. Caron, F.; Pomorski, D.; Duflos, E.; Vanheeghe, P. GPS/IMU data fusion using multisensor Kalman filtering: Introduction of contextual aspects. Inf. Fusion 2004, 7, 221–230. [Google Scholar] [CrossRef]
  7. Ishibashi, S.; Yoshida, H.; Tsukioka, S.; Hyakudome, T.; Sawa, T. Reduction Effect of the Inertial Navigation Error Brought About By the Rotational Motion. J. Adv. Mar. Sci. Technol. Soc. 2007, 13, 35–40. (In Japanese) [Google Scholar] [CrossRef]
  8. Yang, H.; Xu, Z.; Jia, B. An underwater positioning system for UUVs based on LiDAR camera and inertial measurement unit. Sensors 2022, 22, 5418. [Google Scholar] [CrossRef] [PubMed]
  9. Taguchi, K. Mapping with Monocular Visual Odometry using Depth Maps. In Proceedings of the Annual Conference of JSAI, JSAI2022, Kyoto, Japan, 14–17 June 2022; p. 4Yin203. (In Japanese) [Google Scholar] [CrossRef]
  10. Forster, C.; Pizzoli, M.; Scaramuzza, D. SVO: Fast semi-direct monocular visual odometry. In Proceedings of the 2014 IEEE international conference on robotics and automation (ICRA), Hong Kong, China, 31 May–7 June 2014; IEEE: Piscataway, NJ, USA, 2014; pp. 15–22. [Google Scholar]
  11. Liu, P.; Geppert, M.; Heng, L.; Sattler, T.; Geiger, A.; Pollefeys, M. Towards robust visual odometry with a multi-camera system. In Proceedings of the 2018 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Madrid, Spain, 1–5 October 2018; IEEE: Piscataway, NJ, USA, 2018; pp. 1154–1161. [Google Scholar]
  12. Kinsey, J.C.; Eustice, R.M.; Whitcomb, L.L. A survey of underwater vehicle navigation: Recent advances and new challenges. In Proceedings of the IFAC Conference of Manoeuvering and Control of Marine Craft, Lisbon, Portugal, 20–22 September 2006; Volume 88, pp. 1–12. [Google Scholar]
  13. Hirose, K.; Doki, H.; Kondo, A. Studies on Orientation Measurement in Sports Using Inertial and Magnetic Field Sensors. J. Jpn. Soc. Sport. Ind. 2012, 22, 255–262. (In Japanese) [Google Scholar] [CrossRef]
  14. Feng, K.; Shen, C.; Zheng, T.; Li, J.; Zhang, X.; Bi, Y.; Liu, J. A New Quaternion-Based Kalman Filter for Real-Time Attitude Estimation Using the Two-step Geometrically Intuitive Correction Algorithm. Sensors 2017, 17, 2146. [Google Scholar] [CrossRef] [PubMed]
  15. Sola, J. Quaternion kinematics for the error-state Kalman filter. arXiv 2017, arXiv:1711.02508. [Google Scholar] [CrossRef]
  16. Hayashi, T.; Terada, D. Underwater navigation system using low-cost sensors for divers. In Proceedings of the IAIN World Congress, Beijing, China, 28–30 October 2024; pp. 415–422. [Google Scholar]
  17. TDK Corporation. MPU9250 Product Specification Revision 1.1. Available online: https://invensense.tdk.com/wp-content/uploads/2015/02/PS-MPU-9250A-01-v1.1.pdf (accessed on 17 October 2024).
  18. QST Corporation. QMC5883L Datasheet. Available online: https://www.qstcorp.com/upload/pdf/202202/%EF%BC%88%E5%B7%B2%E4%BC%A0%EF%BC%8913-52-04%20QMC5883L%20Datasheet%20Rev.%20A(1).pdf (accessed on 17 October 2024).
  19. TE Connectivity. 0–30 Bar Digital Pressure Sensor. Available online: https://www.te.com/en/product-CAT-BLPS0017.datasheet.pdf (accessed on 17 October 2024).
  20. Kaneda, Y.; Irizuki, Y. Development of an Outlier Reduction Filter. Tokyo Metropolitan Industrial Technology Research Center Research Report 2013, No.8 pp. 2–5. Available online: https://www.iri-tokyo.jp/uploaded/attachment/1053.pdf (accessed on 14 May 2025). (In Japanese).
  21. Kaneda, Y.; Irizuki, Y.; Yamakita, M. Design Method of Robust Kalman Filter Based on Statistics and Its Application. Trans. Inst. Syst. Control Inf. Eng. 2014, 27, 49–58. (In Japanese) [Google Scholar]
  22. Shimada, Y.; Sasa, S. Flight Dynamics, Expanded ed.; Morikita Publishing Co., Ltd.: Tokyo, Japan, 2017; p. 271. (In Japanese) [Google Scholar]
  23. Yatabe, M. Handy Note for Quaternions. MSS Tech. Rev. 2007, 18, 29–34. (In Japanese) [Google Scholar]
  24. Google. Google Map. Available online: https://www.google.co.jp (accessed on 12 May 2025).
  25. Hayashi, T. Development of a Low-Cost Sensor-Based Underwater Navigation System for Divers. Master’s Thesis, National Defense Academy, Yokosuka, Japan, 2025. (In Japanese). [Google Scholar]
Figure 1. Coordinate systems.
Figure 1. Coordinate systems.
Sensors 25 05750 g001
Figure 2. Process flow of proposed system.
Figure 2. Process flow of proposed system.
Sensors 25 05750 g002
Figure 3. External appearance of the equipment incorporating the proposed system, as indicated by the red circle in the figure.
Figure 3. External appearance of the equipment incorporating the proposed system, as indicated by the red circle in the figure.
Sensors 25 05750 g003
Figure 4. Time series of magnetic disturbances intentionally generated while stationary: x , y , and z axes shown from top to bottom.
Figure 4. Time series of magnetic disturbances intentionally generated while stationary: x , y , and z axes shown from top to bottom.
Sensors 25 05750 g004
Figure 5. The time series for the case where the geomagnetic sensor is rotated on the x y plane in the S-frame and then held stationary under conditions of no magnetic disturbance. The figure shows the x , y , and z axes from the top to bottom.
Figure 5. The time series for the case where the geomagnetic sensor is rotated on the x y plane in the S-frame and then held stationary under conditions of no magnetic disturbance. The figure shows the x , y , and z axes from the top to bottom.
Sensors 25 05750 g005
Figure 6. Moving diver.
Figure 6. Moving diver.
Sensors 25 05750 g006
Figure 7. Overview of forced oscillator.
Figure 7. Overview of forced oscillator.
Sensors 25 05750 g007
Figure 8. Attitude: The figure shows the ϕ and θ axes from the top down.
Figure 8. Attitude: The figure shows the ϕ and θ axes from the top down.
Sensors 25 05750 g008
Figure 9. Spectra: The figure shows the ϕ axis on top and θ axis on the bottom.
Figure 9. Spectra: The figure shows the ϕ axis on top and θ axis on the bottom.
Sensors 25 05750 g009
Figure 16. Waypoint and diving trajectory.
Figure 16. Waypoint and diving trajectory.
Sensors 25 05750 g016
Figure 17. Underwater structure near the green point in Figure 10, as indicated by the red circle in the figure.
Figure 17. Underwater structure near the green point in Figure 10, as indicated by the red circle in the figure.
Sensors 25 05750 g017
Figure 18. Underwater reefs WP21–32, as indicated by the red circle in the figure: (a) under high water clarity conditions. (b) during the experiment.
Figure 18. Underwater reefs WP21–32, as indicated by the red circle in the figure: (a) under high water clarity conditions. (b) during the experiment.
Sensors 25 05750 g018
Figure 19. Attitude of ϕ , θ , and ψ from the top to the bottom.
Figure 19. Attitude of ϕ , θ , and ψ from the top to the bottom.
Sensors 25 05750 g019
Figure 20. Time series of the acceleration sensor. The figure shows from the top to the bottom, the time series of the x axis, the time series of the noise component of the x axis, the time series of the y axis, the time series of the noise component of the y axis, the time series of the z axis, and the time series of the noise component of the z axis from.
Figure 20. Time series of the acceleration sensor. The figure shows from the top to the bottom, the time series of the x axis, the time series of the noise component of the x axis, the time series of the y axis, the time series of the noise component of the y axis, the time series of the z axis, and the time series of the noise component of the z axis from.
Sensors 25 05750 g020
Figure 21. Histogram of the acceleration noise component: x, y, and z axes from the top.
Figure 21. Histogram of the acceleration noise component: x, y, and z axes from the top.
Sensors 25 05750 g021
Figure 22. GNSS signals at the start and end point [25].
Figure 22. GNSS signals at the start and end point [25].
Sensors 25 05750 g022
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Hayashi, T.; Terada, D. An Integrated Low-Cost Underwater Navigation Solution for Divers Employing an INS Composed of Low-Cost Sensors Using the Robust Kalman Filter and Sensor Fusion. Sensors 2025, 25, 5750. https://doi.org/10.3390/s25185750

AMA Style

Hayashi T, Terada D. An Integrated Low-Cost Underwater Navigation Solution for Divers Employing an INS Composed of Low-Cost Sensors Using the Robust Kalman Filter and Sensor Fusion. Sensors. 2025; 25(18):5750. https://doi.org/10.3390/s25185750

Chicago/Turabian Style

Hayashi, Taisei, and Daisuke Terada. 2025. "An Integrated Low-Cost Underwater Navigation Solution for Divers Employing an INS Composed of Low-Cost Sensors Using the Robust Kalman Filter and Sensor Fusion" Sensors 25, no. 18: 5750. https://doi.org/10.3390/s25185750

APA Style

Hayashi, T., & Terada, D. (2025). An Integrated Low-Cost Underwater Navigation Solution for Divers Employing an INS Composed of Low-Cost Sensors Using the Robust Kalman Filter and Sensor Fusion. Sensors, 25(18), 5750. https://doi.org/10.3390/s25185750

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop