Abstract

We have implemented a near-ultrasonic communication protocol in the 18.5–20 kHz band, which is inaudible to most humans, using commodity smartphone speakers and microphones to transmit and receive signals. The protocol described in this paper is a component of Google's Nearby platform, where near-ultrasound signals are used to establish copresence between nearby devices by transmitting a short token. High-frequency sound does not pass through walls (most energy is reflected), so identified devices are constrained to approximately the same room, “within earshot” of one another. Our protocol has a raw data rate of 94.5 b/s, and we find in real indoor environments that transmission between mobile devices is reliable at 2 m distance and often works at 10 m. We use direct-sequence spread spectrum modulation, which makes it highly robust to multipath, motion, and narrowband noise. We use a 127-chip pseudorandom code, repeating once per data symbol, and modulate its amplitude with orthogonal sine waveforms encoding 4-bit symbol values. We add the orthogonal sines to a constant “pedestal,” which is inefficient in an information-theoretic sense, but makes synchronization easier. We describe a robust and computationally efficient transmitter and receiver implementations and show experiments on real and simulated data.

Highlights

  • M OBILE devices conventionally transmit data using Bluetooth or Wi-Fi

  • D) This Work: Our system transmits data as sound concentrated in the band 18.5–20 kHz, which is inaudible to most humans but narrowly within the operating range of speakers and microphones of most recent mobile devices

  • We derive a rule to normalize the noise level by supposing the baseband signal b(t) is complex-valued white noise with spectral density N0. This simple noise model is unrealistic, but makes analysis tractable, and we find that the resulting rule works well in practice

Read more

Summary

INTRODUCTION

M OBILE devices conventionally transmit data using Bluetooth or Wi-Fi. Yet there are several advantages to using sound as a communication medium instead: 1) Establishing a Bluetooth or Wi-Fi connection takes multiple seconds, whereas sound playback or recording can start in tens of milliseconds. We develop a communication protocol for transmitting small amounts of data as inaudible near-ultrasonic sound over short distances, using signals concentrated in 18.5–20 kHz. The system is based on direct-sequence spread-spectrum modulation (DSSS), which makes it robust to noise and reverberation in the environment. D) This Work: Our system transmits data as sound concentrated in the band 18.5–20 kHz, which is inaudible to most humans but narrowly within the operating range of speakers and microphones of most recent mobile devices. 3) For low latency, synchronization is determined by an exhaustive but computationally efficient search over a finely sampled grid of time and frequency offsets so that the signal is immediately acquired We believe this is the first work to use DSSS modulation for sound-based communication where both transmitter and receiver are mobile devices.

Encoding
Decoding
CODE SIGNAL
Autocorrelation
Pointwise Square
DATA SIGNAL
SYNCHRONIZATION
Code Correlation
Normalization
Acquisition Image
IMPLEMENTATION
Downconversion
Synchronization
TOKENS
Real-World Experiments
Noise Robustness
Motion Robustness
Quantization Robustness
Findings
CONCLUSION
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call