Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2024 Oct 28;12(1):71.
doi: 10.1186/s40462-024-00512-7.

Time synchronisation for millisecond-precision on bio-loggers

Affiliations

Time synchronisation for millisecond-precision on bio-loggers

Timm A Wild et al. Mov Ecol. .

Abstract

Time-synchronised data streams from bio-loggers are becoming increasingly important for analysing and interpreting intricate animal behaviour including split-second decision making, group dynamics, and collective responses to environmental conditions. With the increased use of AI-based approaches for behaviour classification, time synchronisation between recording systems is becoming an essential challenge. Current solutions in bio-logging rely on manually removing time errors during post processing, which is complex and typically does not achieve sub-second timing accuracies.We first introduce an error model to quantify time errors, then optimise three wireless methods for automated onboard time (re)synchronisation on bio-loggers (GPS, WiFi, proximity messages). The methods can be combined as required and, when coupled with a state-of-the-art real time clock, facilitate accurate time annotations for all types of bio-logging data without need for post processing. We analyse time accuracy of our optimised methods in stationary tests and in a case study on 99 Egyptian fruit bats (Rousettus aegyptiacus). Based on the results, we offer recommendations for projects that require high time synchrony.During stationary tests, our low power synchronisation methods achieved median time accuracies of 2.72 / 0.43 ms (GPS / WiFi), compared to UTC time, and relative median time accuracies of 5 ms between tags (wireless proximity messages). In our case study with bats, we achieved a median relative time accuracy of 40 ms between tags throughout the entire 10-day duration of tag deployment. Using only one automated resynchronisation per day, permanent UTC time accuracies of ≤ 185 ms can be guaranteed in 95% of cases over a wide temperature range between 0 and 50 °C. Accurate timekeeping required a minimal battery capacity, operating in the nano- to microwatt range.Time measurements on bio-loggers, similar to other forms of sensor-derived data, are prone to errors and so far received little scientific attention. Our combinable methods offer a means to quantify time errors and autonomously correct them at the source (i.e., on bio-loggers). This approach facilitates sub-second comparisons of simultaneously recorded time series data across multiple individuals and off-animal devices such as cameras or weather stations. Through automated resynchronisations on bio-loggers, long-term sub-second accurate timestamps become feasible, even for life-time studies on animals. We contend that our methods have potential to greatly enhance the quality of ecological data, thereby improving scientific conclusions.

Keywords: Animal tracking; Embedded systems; GPS; Internet of animals; IoT; Movement ecology; Proximity; Real time; Telemetry; WiFi; Wireless sensors.

PubMed Disclaimer

Conflict of interest statement

The authors declare no competing interests.

Figures

Fig. 1
Fig. 1
Error model for measuring time on bio-loggers. Drifts (Tdrift) and time offset errors (Toff) of clocks integrated into bio-loggers lead to deviations from the reference time t. Different clocks have different errors, resulting in relative time differences (Terror; relative) between devices
Fig. 2
Fig. 2
Overview of the three evaluated methods (GPS [A], WiFi and NTP servers [B], wireless proximity messages [C]) to automatically (re)synchronise time onboard bio-loggers
Fig. 3
Fig. 3
Achieved time accuracies with optimised methods for automatic time synchronisation on bio-loggers in stationary experiments (GPS [A], WiFi and NTP [B], wireless proximity messages [C-D]). The achieved accuracies with WiFi (B) are separated by the internet speed (broadband, mobile LTE, mobile 2G). During the 16-day-long relative time synchronisation experiment between two tags (one positioned outside, the other inside), an automatic resynchronisation was triggered because the tags measured a relative time difference of more than 50 ms onboard (D). The tag temperatures were measured with an onboard temperature sensor (Bosch Sensortec BME680)
Fig. 4
Fig. 4
Time synchronisation accuracies achieved on 99 bio-loggers attached to Egyptian fruit bats. Time differences were calculated using the time of arrival of proximity messages on data gateways placed inside the bat cave (B). Precise time synchronisation permitted the alignment of 800-ms-long 50 Hz acceleration bursts across multiple tags (exemplified in A; bursts are drawn with real time offsets). This capability facilitates the analysis of collective bat behaviour at an exceptionally proximate temporal resolution

References

    1. Whitford M, Klimley AP. An overview of behavioral, physiological, and environmental sensors used in animal biotelemetry and biologging studies. Anim Biotelemetry. 2019;7:1–24. 10.1186/s40317-019-0189-z.
    1. Tian H, Zhou S, Dong L, Van Boeckel TP, Cui Y, Newman SH, et al. Avian influenza H5N1 viral and bird migration networks in Asia. Proc Natl Acad Sci. 2015;112:172–7. 10.1073/pnas.1405216112. - PMC - PubMed
    1. Menz MHM, Scacco M, Bürki-Spycher H-M, Williams HJ, Reynolds DR, Chapman JW, et al. Individual tracking reveals long-distance flight-path control in a nocturnally migrating moth. Science. 2022;377:764–8. 10.1126/science.abn16. - PubMed
    1. Curry A. The internet of animals that could help to save vanishing wildlife. Nature. 2018;562:322–6. 10.1038/d41586-018-07036-2. - PubMed
    1. Fahlbusch JA, Harrington KJ. A low-cost, open-source inertial movement GPS logger for eco-physiology applications. J Exp Biol. 2019;222:jeb211136. 10.1242/jeb.211136. - PubMed

LinkOut - more resources