White Rabbit Project
White Rabbit is the name of a collaborative project including CERN, GSI Helmholtz Centre for Heavy Ion Research and other partners from universities and industry to develop a fully deterministic Ethernet-based network for general purpose data transfer and sub-nanosecond accuracy time transfer. Its initial use was as a timing distribution network for control and data acquisition timing of the accelerator sites at CERN as well as in GSI's Facility for Antiproton and Ion Research (FAIR) project. The hardware designs as well as the source code are publicly available. The name of the project is a reference to the White Rabbit appearing in Lewis Carroll's novel Alice's Adventures in Wonderland.
Focus and goals
White Rabbit provides sub-nanosecond synchronization accuracy, which formerly required dedicated hard-wired timing systems, with the flexibility and modularity of real-time Ethernet networks. A White Rabbit network may be used solely to provide timing and synchronization to a distributed electronic system, or be used to provide both timing and real-time data transfer.
The White Rabbit Project focuses on:
- Sub-nanosecond accuracy: synchronization of more than 1000 nodes via fiber or copper connections of up to 10 km of length.
- Flexibility: creates a scalable and modular platform with simple configuration and low maintenance requirements.
- Predictability and Reliability: allows the deterministic delivery of highest priority messages by using Class of service.
- Robustness: no losses of high priority system device control messages.
- Open source hardware and software: to avoid vendor lock-in.
Another characteristic of this project is that it operates completely on open source with both the hardware and software sources available.
To achieve sub-nanosecond synchronization White Rabbit utilizes Synchronous Ethernet (SyncE) to achieve syntonization and IEEE 1588 (1588) Precision Time Protocol (PTP) to communicate time and a module for precise phase difference measurement between the master reference clock and the local clock based on phase frequency detectors.
White Rabbit uses the Precision Time Protocol to achieve sub-nanosecond accuracy. A two-way exchange of the Precision Time Protocol synchronization messages allows precise adjustment of clock phase and offset. The link delay is known precisely via accurate hardware timestamps and the calculation of delay asymmetry.
White Rabbit applications
At CERN White Rabbit was used for the new control system of the injector chain.
Several companies have begun to commercialise White Rabbit for commercial applications by developing their own White Rabbit hardware and software.
A White Rabbit timing network
A white rabbit timing network consists of three important parts.
- Precision Time Protocol - The IEEE1588 or the Precision Time Protocol is a time protocol designed to provide synchronization accuracy of 1 microsecond or even less, particularly for use in Industrial networks and Research labs where accurate synchronization is necessary. An accuracy of sub nanoseconds is ideally possible in PTP networks but, in practice, the master-slave and the slave-master links may be asymmetric and the resolution of the PTP time stamps is limited. Hence, the obtained synchronization accuracy in PTP networks is limited.
- Layer I syntonization using SyncE - Just like the SyncE standard, the mechanism to operate all the nodes at the same frequency works at the physical layer level. Hence, there is no effect on data transfers because of this. The main idea of layer I syntonization is that the clocks in the network are not free running at a frequency, but instead, should be locked to a reference standard and be traceable. So, a network using Layer I syntonization has a hierarchy in the network: there is a master node which sends the frequency information in data streams and all other nodes in the system extract this information from the data stream and have a phase locked loop(PLL) which makes them run at exactly this frequency. This removes the jitter and frequency drift in the clocks that is responsible for the offset.
- Phase measurement - As explained before, the frequency of the local node is disciplined using the clock signal extracted from the data stream sent by the master node. Then, the local node sends back its local clock signal to the master. As the local and master clock frequencies are locked, this clock signal is just a delayed version of the master clock signal. By calculating the phase offset between these two signals, a very accurate measurement for the particular link delay could be made.
After finding the link delay, this could be used in the conventional PTP algorithm to achieve a very high accuracy.
Components of a White Rabbit network are multi-port White Rabbit Switches and single or dual-port White Rabbit nodes. Both components may be added dynamically to the network. Cable length and other delay factors are automatically compensated by the Precision Time Protocol algorithms. Though conventional Gigabit Ethernet devices may be connected as well, only White Rabbit devices take part in network timing and synchronization.
- "White Rabbit Overview". Retrieved 2013-07-18.
- "The White Rabbit Project" (PDF). 2009. Retrieved 2013-07-18. Cite journal requires
- Moreira, Pedro; Serrano, Javier; Wlostowski, Tomasz; Loschmidt, Patrick; Gaderer, Georg (October 2009). "White rabbit: Sub-nanosecond timing distribution over Ethernet". 2009 International Symposium on Precision Clock Synchronization for Measurement, Control and Communication. pp. 1–5. doi:10.1109/ISPCS.2009.5340196. ISBN 978-1-4244-4391-8.
- Moreira, Pedro; Serrano, Javier; Wlostowski, Tomasz; Loschmidt, Patrick; Gaderer, Georg (2009). "White rabbit: Sub-nanosecond timing distribution over ethernet". 2009 International Symposium on Precision Clock Synchronization for Measurement, Control and Communication. pp. 1–5. doi:10.1109/ispcs.2009.5340196. ISBN 978-1-4244-4391-8.
- Monolithic phase-locked loops and clock recovery circuits : theory and design. Razavi, Behzad. New York: IEEE Press. 1996. ISBN 9780470545331. OCLC 557450248.CS1 maint: others (link)
- "KM3NeT - On-line detector control and Data Acquisition". Retrieved 2016-01-20.
- "Technical Specification for Pulse and Steering Control Unit" (PDF). 2018. Retrieved 2018-11-25. Cite journal requires
- "Open Hardware Repository Companies". Retrieved 2013-07-18.
- "DEMETRA - Demonstrator of EGNSS Services based on Time Reference Architecture". Retrieved 2019-02-19.
- Dierikx, Erik F.; Wallin, Anders E.; Fordell, Thomas; Myyry, Jani; Koponen, Petri; Merimaa, Mikko; Pinkert, Tjeerd J.; Koelemeij, Jeroen C. J.; Peek, Henk Z. (2016). "White Rabbit Precision Time Protocol on Long-Distance Fiber Links". IEEE Transactions on Ultrasonics, Ferroelectrics, and Frequency Control. 63 (7): 945–952. doi:10.1109/TUFFC.2016.2518122. ISSN 0885-3010. PMID 26780791.