the white rabbit project
play

The White Rabbit project an Ethernet-based solution for sub-ns - PowerPoint PPT Presentation

Introduction WR Network Time Distribution Data Distribution Applications Summary The White Rabbit project an Ethernet-based solution for sub-ns synchronization and deterministic delivery Grzegorz Daniluk CERN BE-CO Hardware and Timing


  1. Introduction WR Network Time Distribution Data Distribution Applications Summary The White Rabbit project an Ethernet-based solution for sub-ns synchronization and deterministic delivery Grzegorz Daniluk CERN BE-CO Hardware and Timing section 30 January 2014 G. Daniluk White Rabbit 1/36

  2. Introduction WR Network Time Distribution Data Distribution Applications Summary Outline Introduction 1 White Rabbit Network 2 Time Distribution 3 Data Distribution 4 Applications 5 Summary 6 G. Daniluk White Rabbit 2/36

  3. Introduction WR Network Time Distribution Data Distribution Applications Summary Outline Introduction 1 White Rabbit Network 2 Time Distribution 3 Data Distribution 4 Applications 5 Summary 6 G. Daniluk White Rabbit 3/36

  4. Introduction WR Network Time Distribution Data Distribution Applications Summary What’s in a name ? Oh dear! Oh dear! I shall be too late! The White Rabbit in charge of real time G. Daniluk White Rabbit 4/36

  5. Introduction WR Network Time Distribution Data Distribution Applications Summary What is White Rabbit? Renovation of accelerator’s control and timing Based on well-known technologies Open Hardware and Open Software with commercial support International collaboration Many users: CERN, GSI, KM3NET, cosmic ray detectors, metrology labs... G. Daniluk White Rabbit 5/36

  6. Introduction WR Network Time Distribution Data Distribution Applications Summary Why we use Open Hardware ? Get a design just the way we want it Peer review Healthier relationship with companies G. Daniluk White Rabbit 6/36

  7. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit features Ethernet-based thousands-nodes system tens-km span Synchronism sub-ns accuracy tens-ps precision Determinism upper-bound low-latency high reliability G. Daniluk White Rabbit 7/36

  8. Introduction WR Network Time Distribution Data Distribution Applications Summary Outline Introduction 1 White Rabbit Network 2 Time Distribution 3 Data Distribution 4 Applications 5 Summary 6 G. Daniluk White Rabbit 8/36

  9. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Network Standard Ethernet network Ethernet features (VLAN) & protocols (SNMP) High accuracy synchronization Reliable and low-latency Control Data G. Daniluk White Rabbit 9/36

  10. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Switch Central element of WR network Designed from scratch 18 ports 1000BASE-BX10 SFPs: up to 10 km, single-mode fiber Open design (H/W and S/W) G. Daniluk White Rabbit 10/36

  11. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Node Modular hardware kit: set of Mezzanine boards: ADC, DAC, TDC, Fine delay... set of carriers for various needs: PCIe, VME64x, PXIe... all carriers equipped with a White Rabbit port G. Daniluk White Rabbit 11/36

  12. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Node - example G. Daniluk White Rabbit 12/36

  13. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Node - example G. Daniluk White Rabbit 12/36

  14. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Node - example G. Daniluk White Rabbit 12/36

  15. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Node - example G. Daniluk White Rabbit 12/36

  16. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit Node - example G. Daniluk White Rabbit 12/36

  17. Introduction WR Network Time Distribution Data Distribution Applications Summary White Rabbit PTP Core Fancy Ethernet MAC with White Rabbit support Open IP Core Easily integrated into custom FPGA-based designs G. Daniluk White Rabbit 13/36

  18. Introduction WR Network Time Distribution Data Distribution Applications Summary Open Hardware Repository (OHWR) All schematics, HDL designs and software sources available in OHWR Over 100 projects currently hosted 11 scientific institutes and 16 companies involved http://www.ohwr.org G. Daniluk White Rabbit 14/36

  19. Introduction WR Network Time Distribution Data Distribution Applications Summary Outline Introduction 1 White Rabbit Network 2 Time Distribution 3 Data Distribution 4 Applications 5 Summary 6 G. Daniluk White Rabbit 15/36

  20. Introduction WR Network Time Distribution Data Distribution Applications Summary Time Distribution in White Rabbit Network Synchronization with sub-ns accuracy tens-ps precision Combination of Precision Time Protocol ( IEEE1588 ) synchronization Layer 1 syntonization Phase measurements G. Daniluk White Rabbit 16/36

  21. Introduction WR Network Time Distribution Data Distribution Applications Summary Precision Time Protocol (IEEE1588) Simple calculations: link delay ms : δ ms = ( t 4 − t 1 ) − ( t 3 − t 2 ) 2 clock offset ms = t 2 − t 1 + δ ms G. Daniluk White Rabbit 17/36

  22. Introduction WR Network Time Distribution Data Distribution Applications Summary Precision Time Protocol (IEEE1588) Simple calculations: link delay ms : δ ms = ( t 4 − t 1 ) − ( t 3 − t 2 ) 2 clock offset ms = t 2 − t 1 + δ ms Disadvantages assumes symmetry of medium all nodes have free-running oscillators frequency drift compensation vs. message exchange traffic G. Daniluk White Rabbit 17/36

  23. Introduction WR Network Time Distribution Data Distribution Applications Summary Layer 1 Syntonization G. Daniluk White Rabbit 18/36

  24. Introduction WR Network Time Distribution Data Distribution Applications Summary Phase measurements Monitor phase of bounced-back clock Enhance PTP timestamps with phase measurement Phase-locked loop in the slave follows the phase changes G. Daniluk White Rabbit 19/36

  25. Introduction WR Network Time Distribution Data Distribution Applications Summary WR synchronization performance G. Daniluk White Rabbit 20/36

  26. Introduction WR Network Time Distribution Data Distribution Applications Summary WR synchronization performance G. Daniluk White Rabbit 20/36

  27. Introduction WR Network Time Distribution Data Distribution Applications Summary WR synchronization performance ISPCS Plug Fest WR: most accurate PTP implementation in the world! G. Daniluk White Rabbit 20/36

  28. Introduction WR Network Time Distribution Data Distribution Applications Summary WR Standardization under IEEE1588 We want to standardize! G. Daniluk White Rabbit 21/36

  29. Introduction WR Network Time Distribution Data Distribution Applications Summary WR Standardization under IEEE1588 We want to standardize! Intention by 1588 Standardization Group expressed in Project Authorization Request G. Daniluk White Rabbit 21/36

  30. Introduction WR Network Time Distribution Data Distribution Applications Summary WR Standardization under IEEE1588 We want to standardize! Intention by 1588 Standardization Group expressed in Project Authorization Request Enhanced Accuracy Options / Profile G. Daniluk White Rabbit 21/36

  31. Introduction WR Network Time Distribution Data Distribution Applications Summary Outline Introduction 1 White Rabbit Network 2 Time Distribution 3 Data Distribution 4 Applications 5 Summary 6 G. Daniluk White Rabbit 22/36

  32. Introduction WR Network Time Distribution Data Distribution Applications Summary Data Distribution in a White Rabbit Network G. Daniluk White Rabbit 23/36

  33. Introduction WR Network Time Distribution Data Distribution Applications Summary Deterministic data delivery Types of data distinguished by 802.1Q tag: Control Data (strict priority) Standard Data (Best Effort) Control Data characteristics: Sent by Data Master(s) Broadcast (one-to-many) Deterministic and low-latency Reliable delivery Low-latency WR Switch by design ( < 10us ) G. Daniluk White Rabbit 24/36

  34. Introduction WR Network Time Distribution Data Distribution Applications Summary Data Redundancy (Node) Forward Error Correction (FEC) – transparent layer: One message encoded into 4 Ethernet frames Recovery of message from any 2 frames G. Daniluk White Rabbit 25/36

  35. Introduction WR Network Time Distribution Data Distribution Applications Summary Data Redundancy (Node) Forward Error Correction (FEC) – transparent layer: One message encoded into 4 Ethernet frames Recovery of message from any 2 frames FEC can prevent data loss due to: G. Daniluk White Rabbit 25/36

  36. Introduction WR Network Time Distribution Data Distribution Applications Summary Data Redundancy (Node) Forward Error Correction (FEC) – transparent layer: One message encoded into 4 Ethernet frames Recovery of message from any 2 frames FEC can prevent data loss due to: bit errors G. Daniluk White Rabbit 25/36

Recommend


More recommend