Table of Contents
Fetching ...

Benchmarking OpenWiFiSync on ESP32: Towards Cost-Effective Wireless Time Synchronization

Michael Gundall, Jan Herbst, Robin Müller, Hans D. Schotten

TL;DR

The paper investigates wireless time synchronization for Industry 4.0 by implementing RBIS on ESP32 devices within the OpenWiFiSync project. It extends the OpenWiFiSync framework to low-cost embedded hardware and benchmarks performance on a three-node testbed, achieving synchronization accuracy around $\pm 30\,\mu s$ with energy-efficient devices. The work provides an open-source solution and demonstrates that accurate wireless timestamps are feasible on commodity hardware, enabling scalable, infrastructure-supported synchronization for distributed systems. This supports precise coordination in robotics, ML/AI timestamping, and other time-sensitive industrial applications.

Abstract

Wireless time synchronization of mobile devices is a key enabler for numerous Industry 4.0 applications, such as coordinated and synchronized tasks or the generation of high-precision timestamps for machine learning or artificial intelligence algorithms. Traditional wireline clock synchronization protocols, however, cannot achieve the performance in wireless environments without significant modifications. To address this challenge, we make use of the Reference Broadcast Infrastructure Synchronization protocol, which leverages the broadcast nature of wireless communications and remains both non-invasive and standard-compliant. We implement and validate this protocol on a low-cost testbed using ESP32 modules and a commercial Wi-Fi access point. To support further research and development, we release our implementation as open-source software under the GNU General Public License Version 3 license via the OpenWifiSync project on GitHub. Our results demonstrate that synchronization accuracies within +/-30 microseconds are achievable using energy-efficient and affordable hardware, making this approach suitable for a wide range of use cases.

Benchmarking OpenWiFiSync on ESP32: Towards Cost-Effective Wireless Time Synchronization

TL;DR

The paper investigates wireless time synchronization for Industry 4.0 by implementing RBIS on ESP32 devices within the OpenWiFiSync project. It extends the OpenWiFiSync framework to low-cost embedded hardware and benchmarks performance on a three-node testbed, achieving synchronization accuracy around with energy-efficient devices. The work provides an open-source solution and demonstrates that accurate wireless timestamps are feasible on commodity hardware, enabling scalable, infrastructure-supported synchronization for distributed systems. This supports precise coordination in robotics, ML/AI timestamping, and other time-sensitive industrial applications.

Abstract

Wireless time synchronization of mobile devices is a key enabler for numerous Industry 4.0 applications, such as coordinated and synchronized tasks or the generation of high-precision timestamps for machine learning or artificial intelligence algorithms. Traditional wireline clock synchronization protocols, however, cannot achieve the performance in wireless environments without significant modifications. To address this challenge, we make use of the Reference Broadcast Infrastructure Synchronization protocol, which leverages the broadcast nature of wireless communications and remains both non-invasive and standard-compliant. We implement and validate this protocol on a low-cost testbed using ESP32 modules and a commercial Wi-Fi access point. To support further research and development, we release our implementation as open-source software under the GNU General Public License Version 3 license via the OpenWifiSync project on GitHub. Our results demonstrate that synchronization accuracies within +/-30 microseconds are achievable using energy-efficient and affordable hardware, making this approach suitable for a wide range of use cases.

Paper Structure

This paper contains 8 sections, 2 equations, 3 figures, 2 tables.

Figures (3)

  • Figure 1: Visualization of the RBIS protocol (refined from 7018946).
  • Figure 2: Illustration of the experimental setup including three ESP32, a Wi-Fi router as well as the validation concept using GPIO pins.
  • Figure 3: Overview of measurement results, while Figure \ref{['fig:1']}, \ref{['fig:2']}, and \ref{['fig:4']} show histograms of the observations, Figure \ref{['fig:3']} presents the readings as time series.