IEEJ Transactions on Electronics, Information and Systems
Online ISSN : 1348-8155
Print ISSN : 0385-4221
ISSN-L : 0385-4221
<Systems, Instrument, Control>
A Precise Time Synchronization Method for Real-Time Schedulers
Tatsushi KikutaniTakahiro Yakoh
Author information
JOURNAL FREE ACCESS

2018 Volume 138 Issue 6 Pages 695-702

Details
Abstract

This paper proposed a precise time synchronization method between schedulers of real-time operating systems by communicating timestamps over a network. An NTP based communication protocol was used to measure the time offset between nodes. To minimize the measurement error, a light-weight network stack called RT-Messenger was used instead of common TCP/IP stack. Also, a Kalman filter was introduced to eliminate such error and to estimate time offset and drift. Furthermore, a real-time scheduler in RTAI/Linux was modified to compensate the time difference using the estimated offset and drift. The time compensation of a scheduler clock affects the next resume times for real-time tasks. Therefore, a re-calculation process of next resume times for all real-time tasks and a re-ordering process of reak-time task queue were added into the real-time scheduler. To validate the proposed method, time differences of resume times for two real-time tasks on different nodes were measured under various experimental conditions. The results confirm that the resume time differences were successfully kept lower than 400ns with 300ns standard deviation under the condition of observation period at 1s and correction period at 10s.

Content from these authors
© 2018 by the Institute of Electrical Engineers of Japan
Previous article Next article
feedback
Top