Submitted:
13 April 2023
Posted:
14 April 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
- Local recording with NTP synchronization. The WASN is synchronized with the Network Time Protocol and each node records its captured acoustic data locally.
- Local recording with PTP synchronization.The WASN is synchronized with the Precision Time Protocol and each node records its captured acoustic data locally.
- Remote recording with PTP synchronization. The WASN is synchronized with the Precision Time Protocol and each node transmits its captured acoustic data to a centralized server.
2. Wireless Acoustic Sensor Network and Synchronization
2.1. WASN design
2.2. Synchronization protocols
2.3. Recording methodologies
2.3.1. Local recording methodology
- Local recording with NTP. Each client node synchronizes its internal clock with the server node on a background process, and the server node synchronizes its internal clock with a time server service on the internet.
- Local recording with PTP. It operates on a similar fashion to the previous methodology, but the slave nodes synchronize their internal clocks with the clock from the master.
2.3.2. Remote recording methodology
3. Beamforming-based Acoustic Energy Mapping
- Delay and Sum (DAS).
- Minimum Variance Distortionless Response (MVDR).
- Steered-Response Power with Phase Transform (SRP-PHAT).
- Phase-based Binary Masking (PBM).
3.1. Delay and Sum (DAS)
3.2. Minimum Variance Distortionless Response (MVDR)
3.3. Steered-Response Power with Phase Transform (SRP-PHAT)
3.4. Phase-based Binary Masking (PBM)
4. Simulation results and analysis
- Sampling rate of the capturing nodes:
- Speed of sound in air:
- Amplitude signal of the source =
- Frequency of the source:
- Time between samples:
- Coordinates of the source:
-
Coordinates of the nodes:
- –
- –
- –
- –
- There are differences in the shape of the acoustic energy map obtained with each beamformer. In this regard, some are more robust against noise and reverberation (such as MVDR), while others are more efficient in terms of processing time and simplicity on their implementations (such as DAS and PBM). The main objective of this analysis is in terms of performance in the presence of errors in synchronization, thus, the analysis of these other elements are left for future work.
- The value of the calculated total energy in the source’s simulated position for DAS, MVDR and PBM is the same, with a error from its true value. This value represents a small error in the reconstruction of the signal, which can be thought of as a success on the reconstruction in the known position of the source.
- DAS, MVDR and SRP-PHAT provide moderately high energy values in proof points that are not at the position of the source. The PBM beamformer finds energy only in the simulated position of the source.
- The PBM beamformer seems to be the most accurate for locating the position of the source. However, this technique requires a parameter to be set a-prori, thus, there is an extra stage of calibration for the implementation of this technique.
- The SRP-PHAT beamformer, like DAS and MVDR, finds energy in points where there is not acoustic energy from the source, but also encounters a pattern that is not representing an expected effect of the beamformer.
4.1. Simulation of Synchronization Error
- , with
- , with
5. Experimental results and analysis
- Retrieve data and timestamps adjustment. Each node generates audio and time data files for the local recording methodologies: an audio file (in WAV format) for the captured signal and a text file with the timestamps generated during the recording. Afterwards, these files are retrieved by a processing unit. The four captured signals are shown in Figure 24, without any post-processing, with their own timestamps and amplitude values. As it will be seen later, when the local methodologies for signal capture are implemented, each node begins recording at a different time. Thus, the timestamps of each of the recordings of the nodes are adjusted to begin at the time where all the timestamps are closest. Each recording has associated the time of the local clock, so it is also necessary to establish a global frame of reference for the time. All signals are normalized and adjusted to begin at as Figure 24 shows.
- Sample selection. With the adjusted timestamps, a segment of the full signal was selected for the generation of the acoustic energy map. A Hann window was applied to this segment to avoid frequency bleed-over effects when the signals are processed by all the proposed beamformers.
- Acoustic energy map generation. The post-processed captured signals were processed by the beamformers to generate the acoustic energy map with the techniques described in Section 3. In this stage of the processing it is also possible to determine the position of the acoustic source by finding the maximum value on the acoustic energy map.
5.1. Synchronization analysis
5.1.1. NTP-Local methodology




5.1.2. PTP-Local methodology




5.1.3. PTP-Remote methodology




6. Discussion
7. Conclusions
- In the simulation, SRP-PHAT and PBM showed higher robustness against synchronization errors. DAS and MVDR were more sensitive, but a near-linear relationship between localization errors and synchronization errors was found which can be used for ease of expectation of the user.
- In the experimental scenario, from a subjective point of view, MVDR and PBM provided an acoustic energy map close to what was expected, with either a lobe or point over the acoustic source location; SRP-PHAT and DAS provided unexpected maps. While PBM requires a parameter to be calibrated beforehand, it generates a more precise acoustic energy map. And, while MVDR generates a less precise acoustic energy map, it is robust against environmental elements (such as noise and interferences) and does not require any a-priori parameter calibration.
- The PTP-Local and PTP-Remote methodologies are the most suitable for acoustic energy mapping using a WASN. The PTP-Local methodology has the best performance in terms of synchronization errors, but the process to capture, retrieve and process the data collected is more tedious than the PTP-Remote methodology, since it requires the user to manually extract the recording from the capture node. The PTP-Remote methodology is less reliable in terms of synchronization (with a higher mean error value). However, the captured signals can still be used to provide a close-to-precise acoustic energy map (with either PBM or MVDR), while being easier to implement (since no synchronization agent is required to run locally in the capture nodes), and the recordings are directly streamed to the server (no manual extraction necessary).
Funding
Acknowledgments
Conflicts of Interest
Abbreviations
| WASN | Wireless Acoustic Sensor Network |
| NTP | Network Time Protocol |
| PTP | Precision Time Protocol |
| MEMS | Micro-electret microphone |
| SNR | Signal-to-noise ratio |
| DAS | Delay and Sum |
| MVDR | Minimum Variance Distortionless Response |
| SRP-PHAT | Steered-Response Power Phase Transform |
| PBM | Phase-based Binary Masking |
References
- Selmic, R.; Phoha, V.; Serwadda, A. ; Wireless Sensor Networks. Security, Coverage, and Localization. Springer USA, 2016; pp. 1–16, 37–53.
- Ginovart-Panisello, G.J.; Vidaña-Vila, E.; Caro-Via, S.; Martínez-Suquía, C.; Freixes, M.; Alsina-Pagès, R.M. Low-Cost WASN for Real-Time Soundmap Generation. Eng. Proc. 2021, 6, 57.
- Arce, P.; Salvo, D.; Piñero, G.; Gonzalez, A. ; FIWARE based low-cost wireless acoustic sensor network for monitoring and classification of urban soundscape; Computer Networks, Volume 196, 2021. 2021.
- Xiong, H.; Agcayazi, T.; Latif, T.; Bozkurt, A.; Sichitiu M., L. ; Towards acoustic localization for biobotic sensor networks; 2017 IEEE SENSORS, Glasgow, UK, 2017, pp. 1-3. 2017.
- Verreycken, E.; Simon, R.; Quirk-Royal, B.; Daems, W.; Barber, J.; Steckel, J. Bio-acoustic tracking and localization using heterogeneous, scalable microphone arrays. Communications biology:1275.
- Whitmire, E.; Latif, T.; Bozkurt, A. ; Acoustic sensors for biobotic search and rescue; SENSORS, 2014 IEEE, Valencia, Spain, 2014, pp. 2195-2198. 2014.
- Pleshkova, S.; Panchev, K.; Bekyarski, A. ; Developing a Functional Scheme of an IoT Based Module to an Acoustic Sensor Network; 2021 IV International Conference on High Technology for Sustainable Development (HiTech), Sofia, Bulgaria, 2021, pp. 01-04. 2021.
- Cobos, M. , Antonacci F.; Alexandridis A.; Mouchtaris A.; Lee B. A Survey of Sound Source Localization Methods in Wireless Acoustic Sensor Networks. Wireless Communications and Mobile Computing Volume 2017.
- Liu, Z.; Zhang, Z.; He, L.; Chou, P. Energy-based sound source localization and gain normalization for ad hoc microphone arrays. ICASSP.
- T.H. de Groot. Localization and Classification using an Acoustic Sensor Network. Thesis to obtain a degree of Master of Science in Electrical Engineering, Delft University of Technology, Delft, 2010.
- Griffin, A.; Alexandridis, A.; Pavlidi, D.; Mastorakis, Y.; Mouchtaris, A. ; Localizing multiple audio sources in a wireless acoustic sensor network; Signal Processing 107 54–67; 2015.
- Wang, R.; Wang, Y.; Han, C.; Gong, Y.; Wang, L. Robust Adaptive Beamforming Based on Interference Covariance Matrix Reconstruction and Steering Vector Estimation; 2021 IEEE International Conference on Signal Processing, Communications and Computing; 2021.
- Unnikrishna, S. ; Array Signal Processing. Springer-Verlag, New York, 1989; pp.
- Benesty, J.; Chen, J.; Huang, Y. ; Microphone Array Signal Processing. Springer Topics in Signal Processing, Berlin, 2008; pp.
- Yang, Y. ; Time Synchronization in Wireless Sensor Networks: A Survey. Bachelor thesis, Mittuniversitetet, Sweden, 2012.
- Jingchao, W.; Ruohan, Z.; Weiwen, G. ; Time Synchronization in Networks: A Survey. Proceedings of the 2nd International conference on control and computer vision, pp 121–126, 2019. [Google Scholar]
- Neagoe, T.; Cristea, V.; Banica, L. ; NTP versus PTP in Computer Networks Clock Synchronization; 2006 IEEE International Symposium on Industrial Electronics, Montreal, QC, Canada, 2006, pp. 317-362. 2006.
- Ferrari, P.; Flammini, A.; Rinaldi, S.; Bondavalli, A.; Brancati, F. ; Experimental Characterization of Uncertainty Sources in a Software-Only Synchronization System; IEEE Transactions on Instrumentation and Measurement, vol. 61, no. 5, pp. 1512-1521. 2012.
- He, L.; Zhou, Y.; Liu, H. ; Phase Time-Frequency Masking Based Speech Enhancement Algorithm Using Circular Microphone Array; 2019 IEEE International Conference on Multimedia and Expo (ICME), Shanghai, China, 2019, pp. 808-813. 2019.
- Rascon, C. A Corpus-Based Evaluation of Beamforming Techniques and Phase-Based Frequency Masking. Sensors 2021, 21, 5005.
- Diaz-Guerra, D.; Beltran J., R. ; Direction of Arrival Estimation with Microphone Arrays Using SRP-PHAT and Neural Networks. 2018 IEEE 10th Sensor Array and Multichannel Signal Processing Workshop (SAM), Sheffield, UK, 2018, pp. 617-621.
- Zhuo, D.-B.; Cao, H. ; Fast Sound Source Localization Based on SRP-PHAT Using Density Peaks Clustering. Appl. Sci. 2021, 11, 445.


























| Model | Processor | RAM | Conectivity |
|---|---|---|---|
| Raspberry Pi 4B+ | Broadcom BCM2711, Quad core 64 bit @ 1.5 GHz | 1 GB | 2.4 GHz and 5.0 GHz IEEE 802.11ac wireless, Bluetooth 5.0 |
| Model of microphone | Sensitivity | Signal to Noise Ratio | Output interface |
|---|---|---|---|
| Knowles, I2S Output Digital Microphone: SPH0645LM4H-B | -26 dBFS | 65 dB(A) | I2S |
| Methodology | Localization error [m] | DAS | MVDR | SRP-PHAT | PBM |
|---|---|---|---|---|---|
| NTP-Local | Mean | 0.3429 | 0.3224 | 0.2814 | 0.3198 |
| Variance | 0.1262 | 0.1413 | 0.1045 | 0.1605 | |
| PTP-Local | Mean | 0.2585 | 0.2533 | 0.3046 | 0.2151 |
| Variance | 0.1283 | 0.1338 | 0.1109 | 0.1462 | |
| PTP-Remote | Mean | 0.2461 | 0.2922 | 0.3067 | 0.2803 |
| Variance | 0.1197 | 0.1163 | 0.1185 | 0.1325 |
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. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).