Next Article in Journal
LED Rail Signals: Full Hardware Realization of Apparatus with Independent Intensity by Temperature Changes
Previous Article in Journal
IoMT Based Facial Emotion Recognition System Using Deep Convolution Neural Networks
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Accurate Ultrasound Indoor Localization Using Spring-Relaxation Technique

1
Department of Mechanical and Electrical Engineering, Massey University, 229 Dairy Flat Highway, Auckland 0632, New Zealand
2
Department of Mechanical and Electrical Engineering, Massey University, Turitea Campus, Palmerston North 4442, New Zealand
*
Author to whom correspondence should be addressed.
Electronics 2021, 10(11), 1290; https://doi.org/10.3390/electronics10111290
Submission received: 9 April 2021 / Revised: 26 May 2021 / Accepted: 26 May 2021 / Published: 28 May 2021
(This article belongs to the Section Networks)

Abstract

:
This paper reports on the development of an ultrasonic sensing-based active localization system. The system employs an ultrasonic array to transmit chirp signals and time-of-flight measurement for ranging. The position of the receiver is estimated iteratively using the spring-relaxation technique. A median and 90-percentile error of 12.4 and 21.7 mm, respectively, were obtained for measurements at 625 positions within a 1.2 m × 1.2 m area testbed. The spring-relaxation technique outperforms the widely adopted linear least square-based lateration technique while using the same ranging data. The performance of the system is benchmarked against that of visible light positioning using the same platform setup. The reported results show the ultrasonic system to be more accurate when compared with the visible light positioning system, which achieved median and 90-percentile errors of 33.7 and 58.6 mm, respectively.

1. Introduction

Knowing where you are and your position in relation to the surroundings is called context-aware localization. One of the best-known context-aware localization methods used in the outdoor setting is the Global Positioning System (GPS). This satellite-based positioning has been popularly used for numerous applications. However, GPS cannot be reliably applied in an indoor environment due to the signal attenuation caused by the building of structural material. Consequently, other technologies have been researched for indoor localization systems. Indoor localization research is a growing field, as it has not reached the same level of scalability and adoption rate as that of GPS. The proliferation of modern smart phones, efficient and energy saving wireless sensor nodes, wearable devices and Internet of Things (IoT) technologies have all contributed to the rising popularity of this research area. While Light Detection and Ranging (LiDAR) [1] and computer vision-based [2] techniques have become popular, especially for mobile robotics, researchers are still exploring alternate solutions. They include WiFi [3], Radio Frequency Identification (RFID) [4], ZigBee [5], visible light [6], ultrasound [7] etc. Wireless-based techniques are considered to be less accurate compared to ultrasound and visible light-based methods.
Ultrasound indoor localization (UIL) systems that have been implemented in practice [8,9,10,11,12,13,14,15,16,17,18,19,20,21] show that the 95-percentile position accuracy can vary from about 30mm to 200 mm. The BAT system is an example of one of the more sophisticated solutions [22]. A review of the literature indicates that a trilateration/multilateration algorithm is the most commonly used positioning algorithm for ultrasonic localisation. Spring-relaxation (SR) is another technique that has been used for localization in the Wireless Sensor Network [23,24,25,26,27], similarly to Wifi, Zigbee, Bluetooth, and visible light positioning (VLP) [28]. However, we have not found any previous practical ultrasound localization studies that have used SR.
In this work, we implement an ultrasonic (US) localization system using spring-relaxation technique. The weightings are carefully formulated after observing that the ranging has better accuracy when transmitter (Tx) and receiver (Rx) distance is further apart. Thus, the larger the Tx-Rx separation, the more weight will be contributed to the net force of the springs. These results are benchmarked against that of a lateration algorithm. The performance of the UIL is also benchmarked against a Visible Light Positioning (VLP) system. VLP [29] has garnered the attention of the research community due to its synergy with the upcoming Visible Light Communication (VLC) [30]. VLP is considered to be extremely accurate with reported errors in the order of just a few cm. Spring-relaxation has been investigated for VLP, showing promising results [28]. Therefore, we decided to compare the two systems using the same testbed and algorithm.
The work offers the following contributions:
(1)
This is the first work to apply the spring-relaxation algorithm for ultrasound indoor localization (UIL) in a realistic sub-room scale environment. The weights, analogous to the Young’s modulus, of the springs are adjusted to mitigate the ranging error resulting from multipath interference. To the best of the authors’ knowledge, this novel concept of utilizing springs of varying stiffness to mitigate multipath interference has not been reported in the literature.
(2)
This work is also the first study to benchmark the accuracy of UIL against a Visible Light Positioning (VLP) system using the same platform setup. This is the first reported work that performs an “apple-to-apple” comparison of the two methods.
The rest of the paper is structured as follows. Section 2 gives a brief overview of localization using lateration and spring-relaxation techniques. Section 3 describes hardware and methodology used for ultrasonic localization. Section 4 reports on the performance of ultrasonic localization for spring-relaxation and lateration techniques. In Section 5, the ultrasonic localization results are benchmarked against VLP using identical positioning of anchor and target nodes. Section 6 gives conclusions and suggestions for the future work.

2. Localization Theory

Consider the ultrasonic localization setup shown in Figure 1. Here there are four fixed ultrasonic transmitters (anchor nodes), TX1–TX4, located on the ceiling of a room. Below these is an ultrasonic receiver (target node). To find the position of the receiver, ultrasonic time-of-flight (TOF) measurements can be made. This is the time it takes for the signal to propagate from a transmitter to the receiver. These can be converted into distances D i using the speed of sound in air. If the target height h i of the i t h transmitter above the receiver is known, these propagation distances can be converted into horizontal ranging distances r i using Pythagoras theorem r i = D i 2 h i 2 . These ranging distances can then be used for localization using algorithms such as lateration.

2.1. Lateration

Localisation can be performed using lateration by finding the intersection point of circles or spheres, which have radii equal to the ranging distances r i , obtained using the ultrasonic time-of-flight (TOF) measurements. The algorithm requires a minimum of three range distances from the reference anchor nodes to the unknown target unit, to form the three equations. The intersection point, which can be derived using the linear least square (LLS) method, is taken to be the position of the target unit. On the other hand, the position accuracy can be affected if the intersection is not in the exact cross point of the three circles, but rather in the overlapping area as depicted in Figure 2. This can be caused by TOF measurement errors.
Linear least square (LLS) is the most common method of solving the lateration problem. With range estimates from N transmitters located at ( x 1 , y 1 )…( x N , y N ), the estimated location ( x ^ ,   y ^ ) of the target is given as [31]:
x ^ y ^ = A T A 1 A T b
where A is an ( N − 1) × 2 matrix defined as:
A = 2 x 2 x 1 2 y 2 y 1 2 x 3 x 1 2 y 3 y 1 2 x N x 1 2 y N y 1
and b is the ( N − 1) × 1 vector:
b = r 2 2 r 1 2 x 2 2 x 1 2 y 2 2 y 1 2 r 3 2 r 1 2 x 3 2 x 1 2 y 3 2 y 1 2 r N 2 r 1 2 x N 2 x 1 2 y N 2 y 1 2
and r i ( i = 1, 2 …, N ) are the range estimates and T represents the transpose operation.

2.2. Spring-Relaxation

The principle behind the SR technique is to estimate the position of a target unit using fictitious springs and Hooke’s law, as indicated in Figure 3. The location of the i th anchor node can be expressed as a cartesian complex number:
X i = x i + j   y i ,
where i = 1 to 4 (TX1 to TX4 in this case) and the imaginary number, j = 1 , is used here to represent the y-axis direction. Each of these anchors is attached by a fictitious spring to a target (e.g., receiver) node, whose position we want to know.
The target is assumed to start at an initial guess position, which is not in an equilibrium state, with each of the springs being either stretched or compressed. The coordinates of the current estimated position of the target is given as:
X e s t = x e s t + j   y e s t
The current length of the i t h spring is then:
l i = | X e s t X i |
The individual force exerted on the target by the ith spring can be represented in polar format as:
F i =   r i l i   e j θ l i =   r i l i   a n g l e   θ l i   ,
where r i is the horizontal projection value from D i , which is the range distance obtained from TOF measurement at that test location, and i = 1 to 4 (no. of springs). θ l i is the angular direction of the force Fi acting on the ith spring with   r i l i giving the magnitude of the said force. Equation (7) is essentially Hooke’s law with the spring constant being unity.
The net force exerted on the target will be:
F n e t = i = 1 4 F i
At each iteration of the SR algorithm, the target will be moved by a small step size from its current position towards the direction of the net force, F n e t . Hence the target’s new current estimate position is:
X e s t m + 1 = X e s t m + Δ F n e t m ,  
where m is the iteration number and Δ is the applied step size. The SR algorithm will then update the l i (Equation (6)) based on the new current estimate coordinate and re-calculate the individual force and the total net force on the target. The algorithm keeps repeating the whole process and updates the location estimate as it goes along, and it will stop processing when the net force reaches a pre-defined threshold value σ (10−4 in our algorithms) giving:
F n e t m <   σ
Now all the fictitious springs have reached their equilibrium state and this position is taken as the estimated location of the target.

3. Localization Hardware and Data Collection

3.1. Ultrasonic Hardware

A block diagram of the ultrasonic system used to measure ultrasonic time-of-flight, TOF, and, hence, distances is shown in Figure 4. An ultrasonic excitation signal was generated on a computer and then converted to an analogue signal utilizing one of the digital-to-analogue converter (DAC) channels of a Data Translation DT9832A https://www.mccdaq.com/Products/Multifunction-DAQ/DT9832 (accessed on 23 February 2021) module using the MATLAB Data Acquisition toolbox. A sampling rate of 500 kHz and a resolution of 16 bit were used. This analogue signal was then used to drive the ultrasonic transmitter.
The ultrasonic transmitter unit used in the localization system was composed of eight tightly packed MA40H1S-R https://www.murata.com/en-us/api/?cate=&partno=MA40H1S-R (accessed on February 23, 2021) air-coupled surface mount transducers. These transducers were wired in parallel on a PCB board (see Figure 5a). This array configuration was used, rather than a single transducer, to increase the transmitted sound intensity, and, hence, increase the maximum range where measurements could be made. The MA40H1S-R ultrasonic transducers were used because the authors had previously found that these transducers had lower ringing response when operated away from their resonant frequency of 40 kHz. Refer to [32] for more details. Ringing is the tendency of a transducer to oscillate at its resonance frequency during and after an excitation signal has been applied to the transducer. A low ringing response is a desirable property for a transducer if TOF distance measurements are made using coded waveforms and cross-correlation. This is because ringing causes the signal being transmitted by the transducer to be distorted, reducing the performance of the cross-correlation technique. (See next section for more details).
The ultrasonic excitation signal applied to the transducers was a linear chirp signal. This was chosen as the transducers were found to be able to reproduce this type of ultrasonic excitation signal with minimal distortion and ringing compared to other coded waveforms, such as barker codes, which have sharp temporal transitions. The chirp excitation signal is widely used in radar applications due to its good autocorrelation or pulse compression characteristics when used with cross-correlation [12,20,33]. It makes it easier to detect the signal and distinguish it from the noise, giving good signal-to-noise ratio (SNR) performance.
A linear chirp signal, which sweeps from a start frequency of frequency f 0 to an end frequency of f 1 in a time duration of T can be defined as:
x n = sin 2 π f 0   t + μ t n 2 2   ,   0     t     T ,
where the chirp sweep rate μ =   f 1 f 0 T and t n is the n t h time interval. In this work, the chirp swept from 20 to 35 kHz in a duration of 1 ms (see Figure 6).
The transmitted ultrasonic signal was detected using a Panasonic WM-61A https://www.digikey.com/en/products/detail/panasonic-electronic-components/WM-61A/252843 (accessed on 23 February 2021) electronic microphone as a receiver (see Figure 5b). The low-noise microphone can operate at ultrasonic frequencies. A pre-amplifier circuit amplified and filtered the microphone signal, removing frequency components below 10 kHz. The resulting signal was then sampled with one of the analogue-to-digital converter (ADC) channels of the DT9832A module and saved to file. A sampling rate of 500 kHz and resolution of 16 bits were used. One of the digital outputs of the DT9832A board was connected to the hardware trigger of both the DAC and ADC systems, and the same internal clock was used for both. This ensured that both transmission and reception operations were synchronized allowing accurate time-of-flight (TOF) measurements to be made. The measured data were then saved to file for later processing.

3.2. Localization System Setup

The ultrasound indoor localization (UIL) prototype system consists of four of the ultrasound (US) transducers/transmitters described above mounted on the ceiling. The WM61a microphone receiver unit was mounted 1.6 m below to a computer numerical controlled (CNC) machine with a dimension of 1.2 m × 1.2 m. The CNC machine has an accuracy of 0.025 mm; orders of magnitude better than the expected localization accuracy of the UIL system. The receiver board, mounted onto the CNC machine, can be moved to various test locations with very high accuracy. This ensures that the ground truth is accurately recorded. Figure 7 illustrates the UIL system test rig set up that was used.

3.3. Data Collection

The four anchor transmitter stations TX1 to TX4, shown in Figure 7b, each sends out its ultrasound wave to the target object. The transmit and receive hardware is synchronized through the DT board, as described in Section 3.1. In real-world implementation, either an RF or infrared signal can be used to trigger the synchronization between the US emitter and receiver [34]. A time division multiple access (TDMA) [35,36] scheme can be deployed to multiplex the ultrasound emission between these anchor/emitter nodes. At any test point, there will be four different range distance values, e.g., D1, D2, D3 and D4 obtained at one location (see Figure 7a). Figure 8 shows how the CNC machine was used to obtain measurements with the target object (microphone in this case) at a range of positions in a grid pattern starting from coordinate (0 mm,0 mm) to the last coordinate (1200 mm, 1200 mm) with 50 mm step increments between measurement locations.
At each step, the TOF values from the four transmitters on the ceiling are then converted to ranges (D1–D4) to be stored in the database for usage in the localization algorithms later. The ambient temperature impacts the speed of sound in the air, ultimately affecting the range estimation. Therefore, the room temperature was recorded during the experiments. For a real-world system, a temperature sensor of high accuracy and low power consumption (e.g., TMP117, https://www.ti.com/product/TMP117 (accessed on 23 February 2021)) can be collocated with the receiver tag.

3.4. Processing for Estimating Time-Of-Flight, TOF

One method of measuring TOF in ultrasonic data is to use a threshold method. Here the TOF is determined to be the time when the signal first goes above a threshold voltage. However, a problem with this technique is that it can struggle to give accurate results as the signal-to-noise ratio (SNR) reduces.
Cross-correlation is an alternative method that is generally more robust in low SNR conditions. The cross-correlation function of transmit signal x n with the received signal y n can be defined mathematically as [37]:
R x y   k = n = 0 N 1 x n   y n k ,
where n is the sample index, N is the total number of samples, and k is the number of samples that the data shifted. This shift can be related to a time shift τ using k = τ   F s , where F s is the sampling rate. The time shift when the cross correlation reaches its maximum value is taken as the estimate of the TOF. This technique works best where excitation waveforms are used for transmission that have good autocorrelation properties, such as chirps.
Figure 9 shows an example of a raw signal measured in a room and the cross-correlation of this signal with the transmit signal. Here we can see multiple peaks in the signal. The first peak is the direct path signal which is the one that is used for TOF measurements. The other peaks are due to multipath signals resulting from echoes from walls, the floor etc. A threshold method can be used to select the direct arrival signal for TOF measurement and ignore secondary peaks resulting from multipath echoes.

4. Ultrasonic Localization Results

The accuracy of a localization system is most commonly evaluated through measuring the localization uncertainty which is termed as localization error in the literature [29]. Localization error is defined as the Euclidean distance between the actual position of the target (the ground truth) and the estimated position of the target. The cumulative distribution function (CDF), mean, median and percentile values of the localization error are used in this paper to investigate the localization accuracy following the guidelines of [38,39]. The standard deviation of the localization error is also reported.

4.1. Spring-Relaxation Results

A value of 625 positions (see Figure 8) were tested. For our testbed, the larger ranging errors appear in the regions that are closer to the transmitters, as shown in Figure 10. This was believed to be due to echoes being picked up by the microphone when the receiver was located under one of the transmitters. These multipath components were not resolved, leading to error in TOF measurements.
This range-dependent error led us to modify Equation (7) to use weightings while calculating the forces acting on the springs giving:
F i = w i     r i l i   a n g l e   θ l i    
The weights are estimated as:
w i = r i i = 1 4 r i
The weighting w(i) is analogous to the spring constant, with larger springs, representing larger Tx-Rx separation, considered stiffer. Thus, the larger the spring, the more the contribution it has to the net force, since the ranging is more accurate for larger Tx-Rx separations. While the concept of variable stiffness has been utilized to account for the measurement uncertainty in wireless sensor networks [40], it has not been applied for the mitigation of US ranging error.
As a result of applying variable spring stiffness (Equation (13)), the localization performance was seen to improve (see Figure 11). This figure is the cumulative distribution function, CDF. It shows the probability that an error of a particular size will occur. For example, we can see that with identical spring stiffness, 90 percent of the errors are less than 33.8 mm. The mean error reduced from 17.6 to 13.0 mm when using the weighting method. Table 1 summarizes the results of the SR algorithm for the two cases.

4.2. Benchmarking Spring-Relaxation (SR) with Linear Least Square (LLS)-Based Lateration

The ultrasound indoor localization (UIL) accuracy error obtained from both the methods of LLS lateration and SR are shown in Figure 12 and Table 2. As can be observed, the SR algorithm outperforms the lateration in terms of accuracy, with lower error.

5. Benchmarking with Visible Light Positioning (VLP)

VLP systems have been shown to be accurate in the order of several cm [6]. VLP is a positioning technique that makes use of the visible light emitted from sets of LED luminaires to localize a photosensor-equipped target object in an indoor setting environment (see Figure 13). Received signal strength (RSS) at the photosensor is the most common way to find the range of the target from the corresponding luminaire [29].

5.1. VLP System Hardware

The VLP system used the exact platform set up as our UIL system. Four LED luminaires were placed in the same positions that were previously occupied by the US transmitters. Each luminaire, utilizing a bespoke driver, transmits unmodulated sine waves [41]. For the experiments conducted, the luminaires are set to unique frequencies of 2.5, 2.7, 3.2 and 3.5 kHz, respectively, allowing for frequency-division multiplexing (FDM) of the transmitted signals.
The receiver board is equipped with a photodiode (PD) followed by a transimpedance amplifier that feeds an ESP 8266 microcontroller to perform analog-to-digital conversion [41]. Fast Fourier transform (FFT) on the digital data performs the demultiplexing and the magnitude of the FFT at the appropriate frequency (e.g., 2.5 kHz). This provides the RSS for the corresponding luminaire.

5.2. Range Estimation for VLP

If the receiver plane is kept horizontal with the transmitter plain, the simplified Lambertian propagation model gives the received power P r i at a distance d i from the i t h luminaire as [6]:
P r i = P r i , 0 d i , 0 d i m i ,
where mi is the Lambertian order and P r i , 0 is the received power at a distance d i , 0 (refer to Figure 14).
The received signal at the receiver at location ( x , y ) can be expressed as:
s t = i = 1 4 G i sin 2 π f i t + θ i ,
where f i and θ i are, respectively, the frequency and phase of the sinewave of the i th luminaire at location ( x , y ), and G i is essentially a function of the distance d i between the photodiode at location ( x , y ) and the i th luminaire.
The spectrum S ω of the signal at angular frequencies ω can be computed using the fast Fourier transform (FFT). The power spectrum can then be calculated using:
P ^ s s ω = 1 N S ω 2 .
The power spectra, P ^ s s ω , at the known modulation frequencies (2.5, 2.7, 3.2 and 3.5 kHz) are used to estimate the received power P r , i for each luminaire. Lambertian orders m i , P r i , 0 and d i , 0 are estimated by following the calibration process outlined in [6]. This involves taking offline measurements at 17 points. Refer to Figure 15 for the location of the calibration measurement points.
Once d i is found from for all four luminaires, the spring-relaxation algorithm outlined in Section 4.2 was used to find the location of the target. Here, the target object, with the photodiode sensor, is taking the place of microphone receiver unit. The localization accuracy of the VLP is shown in Table 3. and in the CDF plot shown in Figure 16. As can be seen, the UIL system is far more accurate than the VLP system.
One advantage of UIL compared with VLP for localizing an object in an indoor environment is its relatively easy and straight-forward hardware set up. Visible light positioning (VLP) requires extra care to make sure that the transmitters placed on the ceiling are parallel to the photoreceiver below. Parameter calibration [6] is also essential in VLP in order to achieve the best fit RSS-distance attenuation model for accurate range distance calculation. Furthermore, the luminaires degrade over time and there may be changes in the room (e.g., moved furniture). Additional calibration will be required to account for these changes.

6. Conclusions

The SR algorithm was successfully implemented for an UIL system to achieve accurate positioning. For the experimental set up utilized, SR outperforms the well-known LLS-based lateration technique. Therefore, the SR algorithm should be further explored. The convergence and the stability of the SR algorithm has been left for future studies. To improve the power output, and, hence, the operational range, an array of eight air-coupled ultrasonic transducers were used. These transducers were specifically chosen due to their low ringing transient response. This means that the high accuracy TOF measurements were able to be obtained using cross-correlation with chirp excitation waveform. More work is needed to develop wireless synchronization for accurate TOF measurements.
Furthermore, the UIL system was found to be more accurate than a VLP system. Unlike the VLP system, the UIL system does not require parameter calibration, as it only needs the ambient temperature, making it easier to deploy in a changing environment. It should be noted that VLP has the advantage of being able to potentially leverage the existing lighting systems if the luminaires are enabled with VLC technology. In such a scenario, the ultrasonic technique can be fused with the VLP system to extend coverage, eliminate blind spot, provide fault tolerance and enhance robustness.
The localization techniques explored here, for both UIL and VLP, are memoryless; they do not take the position estimate of the previous state into account to compute the current position. Future work can explore the utilization of continuous tracking using Kalman [42] or particle filters [43].

Author Contributions

Conceptualization, M.T.C., F.A. and M.L.; methodology, M.T.C., F.A. and M.L.; software, M.T.C.; validation, M.T.C.; formal analysis, M.T.C.; investigation, M.T.C.; writing—original draft preparation, M.T.C.; writing—review and editing, M.T.C., F.A., M.L. and G.S.G.; supervision, F.A., M.L. and G.S.G.; All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Acknowledgments

The authors wish to thank Baden Parr for his assistance in developing the CNC machine, as well as Hasan Abu Bakar for his help in setting up the VLP experiment and data collection.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Wang, Y.-T.; Peng, C.-C.; Ravankar, A.A.; Ravankar, A. A single LiDAR-based feature fusion indoor localization algorithm. Sensors 2018, 18, 1294. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Poulose, A.; Han, D.S. Hybrid indoor localization using IMU sensors and smartphone camera. Sensors 2019, 19, 5084. [Google Scholar] [CrossRef] [Green Version]
  3. He, S.; Chan, S.-H.G. Wi-Fi fingerprint-based indoor positioning: Recent advances and comparisons. IEEE Commun. Surv. Tutor. 2015, 18, 466–490. [Google Scholar] [CrossRef]
  4. Seco, F.; Jiménez, A.R. Smartphone-based cooperative indoor localization with RFID technology. Sensors 2018, 18, 266. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Loganathan, A.; Ahmad, N.S.; Goh, P. Self-adaptive filtering approach for improved indoor localization of a mobile node with zigbee-based RSSI and odometry. Sensors 2019, 19, 4748. [Google Scholar] [CrossRef] [Green Version]
  6. Alam, F.; Chew, M.T.; Wenge, T.; Gupta, G.S. An accurate visible light positioning system using regenerated fingerprint database based on calibrated propagation model. IEEE Trans. Instrum. Meas. 2018, 68, 2714–2723. [Google Scholar] [CrossRef]
  7. Shen, M.; Wang, Y.; Jiang, Y.; Ji, H.; Wang, B.; Huang, Z. A new positioning method based on multiple ultrasonic sensors for autonomous mobile robot. Sensors 2020, 20, 17. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Ward, A.; Jones, A.; Hopper, A. A new location technique for the active office. IEEE Pers. Commun. 1997, 4, 42–47. [Google Scholar] [CrossRef] [Green Version]
  9. Priyantha, N.B.; Miu, A.K.; Balakrishnan, H.; Teller, S. The cricket compass for context-aware mobile applications. In Proceedings of the 7th Annual International Conference on Mobile Computing and Networking, Rome, Italy, 16–21 July 2001; pp. 1–14. [Google Scholar]
  10. Hazas, M.; Hopper, A. Broadband ultrasonic location systems for improved indoor positioning. IEEE Trans. Mob. Comput. 2006, 5, 536–547. [Google Scholar] [CrossRef] [Green Version]
  11. Saad, M.M.; Bleakley, C.J.; Ballal, T.; Dobson, S. High-accuracy reference-free ultrasonic location estimation. IEEE Trans. Instrum. Meas. 2012, 61, 1561–1570. [Google Scholar] [CrossRef]
  12. Lazik, P.; Rowe, A. Indoor pseudo-ranging of mobile devices using ultrasonic chirps. In Proceedings of the 10th ACM Conference on Embedded Network Sensor Systems, Toronto, ON, Canada, 6–9 November 2012; pp. 99–112. [Google Scholar]
  13. Filonenko, V.; Cullen, C.; Carswell, J.D. Indoor positioning for smartphones using asynchronous ultrasound trilateration. ISPRS Int. J. Geo-Inf. 2013, 2, 598–620. [Google Scholar] [CrossRef] [Green Version]
  14. Nguyen, T.-S.; Huynh, T.-H. Experimental study of trilateration algorithms for ultrasound-based positioning system on QNX RTOS. In Proceedings of the 2016 IEEE International Conference on Real-time Computing and Robotics (RCAR), Angkor Wat, Cambodia, 6–10 June 2016; pp. 210–215. [Google Scholar]
  15. Kapoor, R.; Ramasamy, S.; Gardi, A.; Bieber, C.; Silverberg, L.; Sabatini, R. A novel 3D multilateration sensor using distributed ultrasonic beacons for indoor navigation. Sensors 2016, 16, 1637. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  16. Márton, L.; Nagy, C.; Biró-Ambrus, Z. Robust trilateration based indoor localization method for omnidirectional mobile robots. In Proceedings of the 2016 European Control Conference (ECC), Ålborg, Denmark, 29 June–1 July 2016; pp. 2547–2552. [Google Scholar]
  17. Paredes, J.A.; Álvarez, F.J.; Aguilera, T.; Villadangos, J.M. 3D indoor positioning of UAVs with spread spectrum ultrasound and time-of-flight cameras. Sensors 2018, 18, 89. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  18. Nguyen, T.-S.; Nguyen, T.-N.; Tran, Q.-S.; Huynh, T.-H. Improvement of ultrasound-based localization system using sine wave detector and can network. J. Sens. Actuator Netw. 2017, 6, 12. [Google Scholar] [CrossRef] [Green Version]
  19. Qi, J.; Liu, G.-P. A robust high-accuracy ultrasound indoor positioning system based on a wireless sensor network. Sensors 2017, 17, 2554. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  20. Lin, Q.; An, Z.; Yang, L. Rebooting ultrasonic positioning systems for ultrasound-incapable smart devices. In Proceedings of the 25th Annual International Conference on Mobile Computing and Networking, Los Cabos, Mexico, 21–25 October 2019; pp. 1–16. [Google Scholar]
  21. Carotenuto, R.; Merenda, M.; Iero, D.; della Corte, F.G. An indoor ultrasonic system for autonomous 3-D positioning. IEEE Trans. Instrum. Meas. 2018, 68, 2507–2518. [Google Scholar] [CrossRef]
  22. Addlesee, M.; Curwen, R.; Hodges, S.; Newman, J.; Steggles, P.; Ward, A.; Hopper, A. Implementing a sentient computing system. Computer 2001, 34, 50–56. [Google Scholar] [CrossRef] [Green Version]
  23. Zhang, Q.; Foh, C.H.; Seet, B.-C.; Fong, A.C.M. Location estimation in wireless sensor networks using spring-relaxation technique. Sensors 2010, 10, 5171–5192. [Google Scholar] [CrossRef]
  24. Eckert, J.; Villanueva, F.; German, R.; Dressler, F. Distributed mass-spring-relaxation for anchor-free self-localization in sensor and actor networks. In Proceedings of the 20th International Conference on Computer Communications and Networks (ICCCN), Maui, HI, USA, 31 July–4 August 2011; pp. 1–8. [Google Scholar]
  25. Zhang, Q.; Foh, C.H.; Seet, B.-C.; Fong, A.C.M. Variable elasticity spring-relaxation: Improving the accuracy of localization for WSNs with unknown path loss exponent. Pers. Ubiquitous Comput. 2012, 16, 929–941. [Google Scholar] [CrossRef]
  26. Li, H.; Hu, Y.; Zhu, M. Sliding-mode and spring-relaxation-like technique for location estimation in wireless sensor networks. Int. J. Distrib. Sens. Netw. 2012, 8, 283524. [Google Scholar] [CrossRef]
  27. Konings, D.; Alam, F.; Noble, F.; Lai, E.M. SpringLoc: A device-free localization technique for indoor positioning and tracking using adaptive RSSI spring relaxation. IEEE Access 2019, 7, 56960–56973. [Google Scholar] [CrossRef]
  28. Alam, F.; Faulkner, N.; Legg, M.; Demidenko, S. Indoor visible light positioning using spring-relaxation technique in real-world setting. IEEE Access 2019, 7, 91347–91359. [Google Scholar] [CrossRef]
  29. Maheepala, M.; Kouzani, A.Z.; Joordens, M.A. Light-based indoor positioning systems: A review. IEEE Sens. J. 2020, 20, 3971–3995. [Google Scholar] [CrossRef]
  30. Pathak, P.H.; Feng, X.; Hu, P.; Mohapatra, P. Visible light communication, networking, and sensing: A survey, potential and challenges. IEEE Commun. Surv. Tutor. 2015, 17, 2047–2077. [Google Scholar] [CrossRef]
  31. Zekavat, R.; Buehrer, R.M. Handbook of Position Location: Theory, Practice and Advances; John Wiley & Sons: Hoboken, NJ, USA, 2011. [Google Scholar]
  32. Legg, M.; Bradley, S. Ultrasonic Arrays for Remote Sensing of Pasture Biomass. Remote Sens. 2020, 12, 111. [Google Scholar] [CrossRef] [Green Version]
  33. Lee, H.; Kim, T.H.; Choi, J.W.; Choi, S. Chirp signal-based aerial acoustic communication for smart devices. In Proceedings of the 2015 IEEE Conference on Computer Communications (INFOCOM), Hong Kong, China, 26 April–1 May 2015; pp. 2407–2415. [Google Scholar]
  34. Comuniello, A.; de Angelis, A.; de Angelis, G.; Moschitta, A. Ultrasound time of flight based positioning using the bluetooth low energy protocol. In Proceedings of the 2019 IEEE International Symposium on Measurements & Networking (M&N), Catania, Italy, 8–10 July 2019; pp. 1–6. [Google Scholar]
  35. Aguilera, T.; Álvarez, F.J.; Gualda, D.; Villadangos, J.M.; Hernández, Á.; Ureña, J. Multipath compensation algorithm for TDMA-based ultrasonic local positioning systems. IEEE Trans. Instrum. Meas. 2018, 67, 984–991. [Google Scholar] [CrossRef]
  36. Mannay, K.; Ureña, J.; Hernández, Á.; Machhout, M.; Aguili, T. Characterization of an Ultrasonic Local Positioning System for 3D Measurements. Sensors 2020, 20, 2794. [Google Scholar] [CrossRef]
  37. Kou, X.; Gu, L. Research of long range accurate ranging technology based on ultrasonic sensor measurement. J. Netw. 2014, 9, 2161. [Google Scholar] [CrossRef]
  38. ISO/IEC 18305:2016. Information Technology—Real Time Locating Systems—Test and Evaluation of Localization and Tracking Systems; ISO/IEC JTC 1/SC 31, 11/01/2016; International Organization for Standardization: Geneva, Switzerland, 2016. [Google Scholar]
  39. Potortì, F.; Park, S.; Jimenez Ruiz, A.R.; Barsocchi, P.; Girolami, M.; Crivello, A.; Lee, S.Y.; Lim, J.H.; Torres-Sospedra, J.; Seco, F.; et al. Comparing the performance of indoor localization systems through the EvAAL framework. Sensors 2017, 17, 2327. [Google Scholar] [CrossRef] [PubMed]
  40. Yu, W.-T.; Choi, J.-W.; Kim, Y.; Lee, W.-H.; Kim, S.-C. Self-organizing localization with adaptive weights for wireless sensor networks. IEEE Sens. J. 2018, 18, 8484–8492. [Google Scholar] [CrossRef]
  41. Alam, F.; Parr, B.; Mander, S. Visible Light Positioning Based on Calibrated Propagation Model. IEEE Sens. Lett. 2019, 3, 1–4. [Google Scholar] [CrossRef]
  42. Famili, A.; Park, J.-M.J. ROLATIN: Robust Localization and Tracking for Indoor Navigation of Drones. In Proceedings of the 2020 IEEE Wireless Communications and Networking Conference (WCNC), Seoul, Korea, 6–9 April 2020; pp. 1–6. [Google Scholar]
  43. Esslinger, D.; Rapp, P.; Wiertz, S.; Rendich, H.; Marsden, R.; Sawodny, O.; Tarín, C. Accurate optoacoustic and inertial 3-D pose tracking of moving objects with particle filtering. IEEE Trans. Instrum. Meas. 2019, 69, 893–906. [Google Scholar] [CrossRef]
Figure 1. Horizontal (projected) distance range values, r1, r2, r3 and r4 on the XY plane.
Figure 1. Horizontal (projected) distance range values, r1, r2, r3 and r4 on the XY plane.
Electronics 10 01290 g001
Figure 2. This diagram shows how tri-lateration can be used for localization. In diagram (a), the localization circles from three anchor nodes intersect at a single point P. In contrast, diagram (b) illustrates how distance errors result in the circles not intersecting at a single point meaning a least square fitting method is required for position estimation.
Figure 2. This diagram shows how tri-lateration can be used for localization. In diagram (a), the localization circles from three anchor nodes intersect at a single point P. In contrast, diagram (b) illustrates how distance errors result in the circles not intersecting at a single point meaning a least square fitting method is required for position estimation.
Electronics 10 01290 g002
Figure 3. Application of spring-relaxation technique for location estimation.
Figure 3. Application of spring-relaxation technique for location estimation.
Electronics 10 01290 g003
Figure 4. Block diagram of the ultrasonic system used to obtain distance measurements. DAC: digital-to-analogue converter; ADC: analogue-to-digital converter.
Figure 4. Block diagram of the ultrasonic system used to obtain distance measurements. DAC: digital-to-analogue converter; ADC: analogue-to-digital converter.
Electronics 10 01290 g004
Figure 5. The US transmitter board containing eight surface mount transducers is shown in photo (a). The receiver unit composed of a Panasonic WM61A microphone and pre-amplifier is shown in photo (b).
Figure 5. The US transmitter board containing eight surface mount transducers is shown in photo (a). The receiver unit composed of a Panasonic WM61A microphone and pre-amplifier is shown in photo (b).
Electronics 10 01290 g005
Figure 6. This plot shows in red an example of the chirp excitation signal that was applied to the ultrasonic transducers, and in blue, the received signal measured by the microphone.
Figure 6. This plot shows in red an example of the chirp excitation signal that was applied to the ultrasonic transducers, and in blue, the received signal measured by the microphone.
Electronics 10 01290 g006
Figure 7. The diagram in (a) shows the UIL system set up. The actual UIL test rig with CNC machine below is shown in photo (b). A closeup view of the receiver microphone on the CNC is shown in photo (c). UIL: ultrasound indoor localization; CNC: computer numerical controlled.
Figure 7. The diagram in (a) shows the UIL system set up. The actual UIL test rig with CNC machine below is shown in photo (b). A closeup view of the receiver microphone on the CNC is shown in photo (c). UIL: ultrasound indoor localization; CNC: computer numerical controlled.
Electronics 10 01290 g007
Figure 8. Traverse path of the target object equipped with microphone receiver in the CNC’s 2-dimensional XY plane. The asterisks show the test points where the data were recorded.
Figure 8. Traverse path of the target object equipped with microphone receiver in the CNC’s 2-dimensional XY plane. The asterisks show the test points where the data were recorded.
Electronics 10 01290 g008
Figure 9. An example of the receiver’s signal taken at one of the target’s positions is plotted in (a). The corresponding cross-correlation signal is shown in (b). Multipath signals can be seen.
Figure 9. An example of the receiver’s signal taken at one of the target’s positions is plotted in (a). The corresponding cross-correlation signal is shown in (b). Multipath signals can be seen.
Electronics 10 01290 g009
Figure 10. Measured ranging errors as a function of horizontal distance from the transmitter. Larger ranging errors occur when the receiver is near the transmitter.
Figure 10. Measured ranging errors as a function of horizontal distance from the transmitter. Larger ranging errors occur when the receiver is near the transmitter.
Electronics 10 01290 g010
Figure 11. Cumulative distribution function, CDF, of spring-relaxation localization error. The red line corresponds to no weighting (uniform springs) being used. The blue line corresponds to weighting (variable stiffness springs) being used.
Figure 11. Cumulative distribution function, CDF, of spring-relaxation localization error. The red line corresponds to no weighting (uniform springs) being used. The blue line corresponds to weighting (variable stiffness springs) being used.
Electronics 10 01290 g011
Figure 12. UIL localization accuracy error for spring-relaxation and LLS lateration. LLS: linear least square.
Figure 12. UIL localization accuracy error for spring-relaxation and LLS lateration. LLS: linear least square.
Electronics 10 01290 g012
Figure 13. Overview of the VLP system. VLP: visible light positioning.
Figure 13. Overview of the VLP system. VLP: visible light positioning.
Electronics 10 01290 g013
Figure 14. VLP system depicting the parameters of Lambertian propagation model.
Figure 14. VLP system depicting the parameters of Lambertian propagation model.
Electronics 10 01290 g014
Figure 15. Measurement locations and test setup for the VLP system.
Figure 15. Measurement locations and test setup for the VLP system.
Electronics 10 01290 g015
Figure 16. Benchmarking the UIL against VLP using a CDF, showing UIL is more accurate. Mean, median, 90th percentile and standard deviation of the error shown in Table 3.
Figure 16. Benchmarking the UIL against VLP using a CDF, showing UIL is more accurate. Mean, median, 90th percentile and standard deviation of the error shown in Table 3.
Electronics 10 01290 g016
Table 1. Localization accuracy of the proposed spring-relaxation algorithm.
Table 1. Localization accuracy of the proposed spring-relaxation algorithm.
With Identical Spring Stiffness
(no Weighting)
With Variable Spring Stiffness
(with Weighting)
Median = 15.2 mm
Mean error = 17.6 mm
90-percentile = 33.8 mm
Std-deviation = 12 mm
Median = 12.4 mm
Mean error = 13.0 mm
90-percentile = 21.8 mm
Std-deviation = 6.9 mm
Table 2. Localization accuracy error of the spring-relaxation algorithm compared to LLS lateration.
Table 2. Localization accuracy error of the spring-relaxation algorithm compared to LLS lateration.
LaterationSpring-Relaxation
Median = 14.5 mmMedian = 12.4 mm
Mean error = 13.8 mmMean error = 13.1 mm
90-percentile = 25.9 mm90-percentile = 21.8 mm
Std-deviation = 8.0 mmStd-deviation = 6.9 mm
Table 3. Localization accuracy of the UIL compared to VLP.
Table 3. Localization accuracy of the UIL compared to VLP.
UIL VLP (mm)
Median = 12.4 mmMedian = 33.7 mm
Mean error = 13.0 mmMean error = 36.5 mm
90-percentile = 21. 8 mm90-percentile = 58.6 mm
Std-deviation = 6.9 mmStd-deviation = 17.3 mm
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Chew, M.T.; Alam, F.; Legg, M.; Sen Gupta, G. Accurate Ultrasound Indoor Localization Using Spring-Relaxation Technique. Electronics 2021, 10, 1290. https://doi.org/10.3390/electronics10111290

AMA Style

Chew MT, Alam F, Legg M, Sen Gupta G. Accurate Ultrasound Indoor Localization Using Spring-Relaxation Technique. Electronics. 2021; 10(11):1290. https://doi.org/10.3390/electronics10111290

Chicago/Turabian Style

Chew, Moi Tin, Fakhrul Alam, Mathew Legg, and Gourab Sen Gupta. 2021. "Accurate Ultrasound Indoor Localization Using Spring-Relaxation Technique" Electronics 10, no. 11: 1290. https://doi.org/10.3390/electronics10111290

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