Newer
Older
Grzegorz Daniluk
committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
\documentclass[compress,red]{beamer}
\mode<presentation>
\usepackage{etex}
\setbeamertemplate{navigation symbols}{}
\usepackage{pgfpages}
\usetheme{Warsaw}
% define your own colors:
\definecolor{Red}{rgb}{1,0,0}
\definecolor{Blue}{rgb}{0,0,1}
\definecolor{Green}{rgb}{0,1,0}
\definecolor{magenta}{rgb}{1,0,.6}
\definecolor{lightblue}{rgb}{0,.5,1}
\definecolor{lightpurple}{rgb}{.6,.4,1}
\definecolor{gold}{rgb}{.6,.5,0}
\definecolor{orange}{rgb}{1,0.4,0}
\definecolor{hotpink}{rgb}{1,0,0.5}
\definecolor{newcolor2}{rgb}{.5,.3,.5}
\definecolor{newcolor}{rgb}{0,.3,1}
\definecolor{newcolor3}{rgb}{1,0,.35}
\definecolor{darkgreen1}{rgb}{0, .35, 0}
\definecolor{darkgreen}{rgb}{0, .6, 0}
\definecolor{darkred}{rgb}{.75,0,0}
\xdefinecolor{olive}{cmyk}{0.64,0,0.95,0.4}
\xdefinecolor{purpleish}{cmyk}{0.75,0.75,0,0}
\useoutertheme[subsection=false]{smoothbars}
% include packages
\usepackage{todonotes}
\presetkeys{todonotes}{inline}{}
\usepackage{subfigure}
\usepackage{multicol}
\usepackage{amsmath}
\usepackage{epsfig}
\usepackage{graphicx}
\usepackage[all]{xy}
\usepackage{url}
\usepackage{multimedia}
\usepackage{hyperref}
\usepackage{helvet}
\usepackage[polish,english]{babel}
\usepackage[utf8]{inputenc}
\usepackage{multirow}
\usepackage{pgfpages}
\newcommand{\backupbegin}{
\newcounter{framenumberappendix}
\setcounter{framenumberappendix}{\value{framenumber}}
}
\newcommand{\backupend}{
\addtocounter{framenumberappendix}{-\value{framenumber}}
\addtocounter{framenumber}{\value{framenumberappendix}}
}
\title[White Rabbit \hspace{2em}\insertframenumber/\inserttotalframenumber]
{The White Rabbit project\\ \small an Ethernet-based solution for sub-ns synchronization and deterministic delivery}
\author[G. Daniluk]{Grzegorz Daniluk}
\institute{CERN BE-CO Hardware and Timing section}
\date{30 January 2014}
\pgfdeclareimage[height=0.6cm]{wr-logo}{../../figures/logo/WRlogo.ps}
\logo{\pgfuseimage{wr-logo}}
\AtBeginSection[]
\begin{document}
\frame{\titlepage}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}<beamer>{Outline}
\tableofcontents %[currentsection]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Introduction}
\subsection{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}<beamer>{Outline}
\tableofcontents [currentsection]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{What's in a name ?}
\begin{center}
\includegraphics[height=5cm]{../../figures/misc/Alice-wr.ps}
\end{center}
\begin{center}
\textit{Oh dear! Oh dear! I shall be too late!}\\
\begin{small}
The White Rabbit in charge of real time
\end{small}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{What is White Rabbit?}
\begin{columns}[c]
\column{0.8\textwidth}
\begin{itemize}
\item Renovation of accelerator's control and timing
\item Based on well-known technologies
\item Open Hardware and Open Software with commercial support
\item International collaboration
\item Many users: CERN, GSI, KM3NET, cosmic ray detectors, metrology labs...
\end{itemize}
\column{0.3\textwidth}
\begin{center}
\includegraphics[width=1.0\textwidth]{../../figures/logo/WRlogo.ps}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Why we use Open Hardware ?}
\begin{center}
\includegraphics[width=.7\textwidth]{../../figures/ohwr/commercial_vs_proprietary.ps}
Grzegorz Daniluk
committed
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
\end{center}
\begin{itemize}
\item Get a design just the way we want it
\item Peer review
\item Healthier relationship with companies
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{White Rabbit features}
\begin{columns}[c]
\column{0.5\textwidth}
\begin{itemize}
\item Ethernet-based
\begin{itemize}
\item thousands-nodes system
\item tens-km span
\end{itemize}
\item Synchronism
\begin{itemize}
\item sub-ns accuracy
\item tens-ps precision
\end{itemize}
\item Determinism
\begin{itemize}
\item upper-bound low-latency
\item high reliability
\end{itemize}
\end{itemize}
\column{0.5\textwidth}
\begin{center}
\includegraphics[width=1.0\textwidth]{../../figures/misc/rabbit.eps}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section[WR Network]{White Rabbit Network}
\subsection{}
\begin{frame}<beamer>{Outline}
\tableofcontents [currentsection]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{White Rabbit Network}
\begin{columns}[c]
\column{.5\textwidth}
\begin{itemize}
\item Standard Ethernet network
\item Ethernet features (VLAN) \& protocols (SNMP)
\end{itemize}
\begin{itemize}
\item \color{Blue}{High accuracy synchronization}
\item \color{Red}{Reliable and low-latency Control Data}
\end{itemize}
\column{.6\textwidth}
\begin{center}
\includegraphics[height=1.05\textwidth]{../../figures/network/wr_network-enhanced_pro.eps}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{White Rabbit Switch }
\begin{center}
\includegraphics[width=6.0cm]{../../figures/switch/wrSwitchV3.ps}
\end{center}
\begin{itemize}
\item Central element of WR network
\item Designed from scratch
\item 18 ports
\item 1000BASE-BX10 SFPs: up to 10 km, single-mode fiber
\item Open design (H/W and S/W)
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{White Rabbit Node}
Modular hardware kit:
\begin{itemize}
\item set of Mezzanine boards: ADC, DAC, TDC, Fine delay...
\item set of carriers for various needs: PCIe, VME64x, PXIe...
\item all carriers equipped with a White Rabbit port
\end{itemize}
\begin{center}
\includegraphics[height=0.5\textheight]{../../figures/node/shw_kit2.ps}
\end{center}
\end{frame}
\begin{frame}{White Rabbit Node - example}
\begin{center}
\includegraphics<1>[width=\textwidth]{../../figures/node/specInterior2.ps}
\includegraphics<2>[width=\textwidth]{../../figures/network/kit_sync1.ps}
\includegraphics<3>[width=\textwidth]{../../figures/network/kit_sync2.ps}
\includegraphics<4>[width=\textwidth]{../../figures/network/kit_sync3.ps}
\includegraphics<5>[width=\textwidth]{../../figures/network/kit_sync4.ps}
\end{center}
\end{frame}
\begin{frame}{White Rabbit PTP Core}
\begin{itemize}
\item Fancy Ethernet MAC with White Rabbit support
\item Open IP Core
\item Easily integrated into custom FPGA-based designs
\end{itemize}
\begin{center}
\includegraphics<1>[height=0.5\textheight]{../../figures/node/wrpc_overview.eps}
\end{center}
\end{frame}
\begin{frame}{Open Hardware Repository (OHWR)}
\begin{columns}
\column{.7\textwidth}
\begin{itemize}
\item All schematics, HDL designs and software sources available in OHWR
\item Over 100 projects currently hosted
\item 11 scientific institutes and 16 companies involved
\end{itemize}
\column{.4\textwidth}
\begin{center}
\includegraphics[width=\textwidth]{../../figures/ohwr/ohr_logo.eps}
\begin{block}{}
\begin{center}
\url{http://www.ohwr.org}
\end{center}
\end{block}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Time Distribution~~~}
\subsection{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}<beamer>{Outline}
\tableofcontents [currentsection]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Time Distribution in White Rabbit Network}
\begin{itemize}
\item Synchronization with {\bf sub-ns} accuracy {\bf tens-ps} precision
\item Combination of
\begin{itemize}
\item Precision Time Protocol ({\bf IEEE1588}) synchronization
\item Layer 1 syntonization
\item Phase measurements
\end{itemize}
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Precision Time Protocol (IEEE1588)}
\begin{columns}[c]
\column{1.2in}
\begin{center}
\includegraphics[height=5cm]{../../figures/protocol/ptp_exchange.eps}
\end{center}
\column{3in}
\begin{itemize}
\item Simple calculations:
\begin{itemize}
\item link $delay_{ms}$: $\delta_{ms} = \frac{(t_{4}-t_{1}) - (t_{3}-t_{2})}{2}$
\item clock $offset_{ms} = t_{2} - t_{1} + \delta_{ms}$
\end{itemize}
\item<2> Disadvantages
\begin{itemize}
\item assumes symmetry of medium
\item all nodes have free-running oscillators
\item frequency drift compensation vs. message exchange traffic
\end{itemize}
\end{itemize}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Layer 1 Syntonization}
\begin{center}
\includegraphics[width=1.0\textwidth]{../../figures/misc/l1_sync.eps}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Phase measurements}
\begin{itemize}
\item Monitor phase of bounced-back clock
\item Enhance PTP timestamps with phase measurement
\item Phase-locked loop in the slave follows the phase changes
\end{itemize}
\begin{center}
\includegraphics[width=1.0\textwidth]{../../figures/misc/phase_tracking_v2_simple.eps}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{WR synchronization performance}
\begin{center}
\includegraphics<1>[height=7.0cm]{../../figures/measurements/meas_setup.eps}
\includegraphics<2->[height=5.0cm]{../../figures/measurements/meas_results.ps}
\onslide<3> {
\begin{columns}[c]
\column{.7\textwidth}
\begin{block}{ \begin{center} ISPCS Plug Fest \end{center}}
\begin{center}
\textbf{WR: most accurate PTP implementation in the world!}
\end{center}
\end{block}
\end{columns}}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{WR Standardization under IEEE1588}
\begin{columns}[c]
\column{0.5\textwidth}
\begin{itemize}
\item <1->We want to standardize!
\item <2->Intention by 1588 Standardization Group expressed in Project
Authorization Request
\item <3->Enhanced Accuracy Options / Profile
\end{itemize}
\column{0.5\textwidth}
\begin{center}
\includegraphics<1>[width=1.0\textwidth]{../../figures/misc/PTPv3_blank.eps}
\includegraphics<2>[width=1.0\textwidth]{../../figures/misc/PTPv3_PAR.eps}
\includegraphics<3>[width=1.0\textwidth]{../../figures/misc/PTPv3-wr-2.eps}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Data Distribution}
\subsection{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}<beamer>{Outline}
\tableofcontents [currentsection]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Data Distribution in a White Rabbit Network }
\vspace{-0.3cm}
\begin{center}
\includegraphics[height=0.8\textheight]{../../figures/robustness/wrn_reliability.ps}
\end{center}
\vspace{-0.7cm}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Deterministic data delivery}
\begin{columns}[c]
\column{.55\textwidth}
\begin{itemize}
\item Types of data distinguished by 802.1Q tag:
\begin{itemize}
\item \textcolor{red}{\bf Control Data} (strict priority)
\item Standard Data (Best Effort)
\end{itemize}
\item \textcolor{red}{\bf Control Data} characteristics:
\begin{itemize}
\item Sent by Data Master(s)
\item Broadcast (one-to-many)
\item Deterministic and low-latency
\item Reliable delivery
\end{itemize}
\item Low-latency WR Switch by design ( \textcolor{red}{$<10$us} )
\end{itemize}
\column{.6\textwidth}
\begin{center}
\includegraphics[height=0.65\textheight]{../../figures/robustness/communication_channel-pro.eps}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Data Redundancy (Node)}
\begin{itemize}
\item {\bf Forward Error Correction (FEC)} -- transparent layer:
\begin{itemize}
\item One message encoded into 4 Ethernet frames
\item Recovery of message from any 2 frames
\end{itemize}
\item <2->FEC can prevent data loss due to:
\begin{itemize}
\item<3-> {\bf bit errors}
\item<4> {\bf network reconfiguration}
\end{itemize}
\end{itemize}
\begin{center}
\includegraphics[width=.7\textwidth]{../../figures/robustness/FEC.eps}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Topology Redundancy (Switch)}
\begin{itemize}
\item Ideas:
\begin{itemize}
\item Using VLANs
\item H/W switch-over to the backup link
\item WR Rapid Spanning Tree Protocol
\item WR Shortest Path Bridging
\end{itemize}
\item Seamless redundancy requires Forward Error Correction
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Topology reconfiguration performance}
\begin{columns}[c]
\column{0.45\textwidth}
\begin{center}
\includegraphics[width=1.0\textwidth]{../../figures/robustness/switchover.eps}
\end{center}
\column{0.6\textwidth}
\begin{center}
\includegraphics[width=1.0\textwidth]{../../figures/robustness/switchover288-ok.eps}
\end{center}
\end{columns}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Applications}
\subsection{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}<beamer>{Outline}
\tableofcontents [currentsection]
\end{frame}
\begin{frame}{Distributed oscilloscope}
\includegraphics[width=.8\textwidth]{../../figures/applications/distr_oscill.eps}
\begin{block}{}
\begin{itemize}
\item Common clock in the entire network: no skew between ADCs.
\item Ability to sample with different clocks
\item Internal time triggers or external asynchronous triggers time tagged
with a TDC
\end{itemize}
\end{block}
\end{frame}
\begin{frame}{CERN Neutrinos to Gran Sasso project}
\begin{center}
\includegraphics[width=.8\textwidth]{../../figures/applications/cngs-general.eps}
\end{center}
\begin{itemize}
\item Investigation of neutrino oscillation
\item Time of Flight measurement
\end{itemize}
\end{frame}
\begin{frame}{CERN Neutrinos to Gran Sasso project}
\only<1> {
\begin{center}
\includegraphics[width=.9\textwidth]{../../figures/applications/cngs-timing-31.eps}
\end{center}
}
\only<2> {
\begin{columns}[c]
\column{.6\textwidth}
\begin{itemize}
\item WR transferring UTC from GPS receiver to the measurement point
\item 8km of fiber between WR Switches
\item WR Switch in the cavern serves various experiments
\item Performance monitoring
\item Results from $\sim$31 days:
\begin{itemize}
\item Accuracy: 0.517 ns
\item Precision: 0.119ns (std. dev)
\end{itemize}
\end{itemize}
\column{.4\textwidth}
\begin{center}
\includegraphics[height=0.75\textheight]{../../figures/applications/lngs_installation.eps}
\end{center}
\end{columns}
}
\end{frame}
\begin{frame}{Other WR Applications}
\begin{columns}[c]
\column{0.7\textwidth}
\begin{itemize}
\item<1-> \color<2->{black!50}{CERN and GSI}
\item<2-> \color<3->{black!50}{HiSCORE: Gamma\&Cosmic-Ray experiment}
\item<3-> \color<4->{black!50}{The Large High Altitude Air Shower Observatory}
\item<4-> \color<5->{black!50}{MIKES: Centre for metrology and accreditation}
\item<5-> {KM3NET: European deep-sea research infrastructure}
\end{itemize}
\column{0.45\textwidth}
\begin{center}
\includegraphics<1>[width=0.80\textwidth]{../../figures/applications/gsiANDcern.eps} \pause
\includegraphics<2>[width=1\textwidth]{../../figures/applications/tunka.eps} \pause
\includegraphics<3>[width=1\textwidth]{../../figures/applications/lhaaso.eps} \pause
\includegraphics<4>[width=.7\textwidth]{../../figures/applications/mikes.ps} \pause
\includegraphics<5>[width=1\textwidth]{../../figures/applications/KM3NeT.eps}
\end{center}
\end{columns}
{\small Full list of WR users: \url{http://www.ohwr.org/projects/white-rabbit/wiki/WRUsers}}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Summary}
\subsection{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}<beamer>{Outline}
\tableofcontents [currentsection]
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{White Rabbit Family}
\begin{center}
Successful international collaboration of institutes, universities and companies
\end{center}
\begin{center}
\includegraphics<1>[width=1.0\textwidth]{../../figures/misc/wr_family_1.eps}
\includegraphics<2>[width=1.0\textwidth]{../../figures/misc/wr_family_2.eps}
\end{center}
\begin{center}
WR Users: \url{http://www.ohwr.org/projects/white-rabbit/wiki/WRUsers}
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Pushing frontiers}
\begin{itemize}
\item<1-> Scientific, open (H/W \& S/W), with commercial support\pause
\item<2-> More applications than ever expected \pause
\item<3-> A versatile solution for general control and data acquisition \pause
\item<4-> Fulfilling all our needs in synchronization and determinism \pause
\item<5-> Standard-compatible and standard-extending \pause
\item<6-> Active participation in IEEE1588 revision process\pause
\end{itemize}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\subsection*{}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{frame}{Thank you}
\begin{center}
\includegraphics[height=4.0cm]{../../figures/misc/white_rabbit_end.eps}
\end{center}
\begin{center}
More information: \\
http://www.ohwr.org/projects/white-rabbit/wiki
\end{center}
\end{frame}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\appendix
\backupbegin
\section{Even more stuff...}
\subsection{}
\begin{frame}{Link Delay Model}
\begin{center}
\includegraphics<1>[height=4cm]{../../figures/protocol/wrLinkModel_1.eps}
\includegraphics<2>[height=4cm]{../../figures/protocol/wrLinkModel_init.eps}
\end{center}
\end{frame}
\begin{frame}{Link Delay Model}
\begin{align}
\nonumber delay_{ms} &= \Delta_{tx_m} + \delta_{ms} + \Delta_{rx_s} \\
\nonumber delay_{sm} &= \Delta_{tx_s} + \delta_{sm} + \Delta_{rx_m}
\end{align}
\vspace{0.2cm}
\begin{center}
\includegraphics[height=2.5cm]{../../figures/protocol/delaymodel.eps}
\end{center}
\only<2> {
\begin{columns}[c]
\column{2.8in}
\begin{center}
\textbf{Relative Delay Coefficient ($\alpha$)} \\
for 1000base-X over a Single-mode Optical Fibre
\end{center}
\column{1.5in}
\begin{center}
\begin{equation}
\nonumber \delta_{ms} = (1 + \alpha) \, \delta_{sm}
\end{equation}
\end{center}
\vspace{0.5cm}
\end{columns}}
\onslide<3> {
\begin{block}{Measuring fixed delays is hard}
but we use mathematical tricks for that - \emph{WR Calibration procedure} (\url{http://www.ohwr.org/documents/213})
\end{block}}
\end{frame}
\begin{frame}{White Rabbit extension to PTP}
\begin{columns}[c]
\column{0.7\textwidth}
\begin{itemize}
\item White Rabbit requires:
\begin{itemize}
\item WR-specific states
\item Exchange of WR-specific information
\item asymmetry estimation based on Link Delay Model
\end{itemize}
\item WR PTP
\begin{itemize}
\item PTP extensions mechanisms
\item Enhanced precision $t_1$, $t_2$, $t_3$, $t_4$
\item Correction for asymmetry
\item Interoperability with PTP gear
\end{itemize}
\end{itemize}
\column{0.3\textwidth}
\begin{center}
\includegraphics[width=1.1\textwidth]{../../figures/protocol/wr-ptp-exchange.eps}
\end{center}
\end{columns}
\end{frame}
\begin{frame}{White Rabbit Network}
\begin{itemize}
\item White Rabbit Switch
\item White Rabbit Node (White Rabbit PTP Core)
\end{itemize}
\begin{center}
\includegraphics[width=.5\textwidth]{../../figures/network/wr_network-enhanced_pro.eps}
\end{center}
\end{frame}
\begin{frame}{White Rabbit Switch}
\begin{block}{Functionality of a professional Gigabit Ethernet Switch}
with White Rabbit extensions
\end{block}
\begin{block}{3 layers of design:}
\begin{center}
\includegraphics[width=\textwidth]{../../figures/switch/wrSwitch.ps}
\end{center}
\end{block}
\end{frame}
\begin{frame}{WR Switch: hardware}
\begin{center}
\includegraphics[width=.7\textwidth]{../../figures/switch/scb_backplane.ps}
\end{center}
\begin{itemize}
\item Xilinx Virtex 6, Atmel AT91SAM9G45
\item 18 cages for Gigabit SFPs, 10/100 Ethernet management port
\item 5 SMC connectors (1-PPS in/out, CLK in/out)
\item designed and produced by \emph{Seven Solutions} in cooperation with CERN
\end{itemize}
\end{frame}
\begin{frame}{WR Switch: gateware}
Implemented in Xilinx Virtex6 FPGA:
\begin{center}
\includegraphics[width=.9\textwidth]{../../figures/switch/switch_hdl.ps}
\end{center}
\end{frame}
\begin{frame}{WR Switch: software}
Running on ARM processor:
\begin{itemize}
\item Embedded Linux
\item kernel 2.6.39 with patches and modules for HDL components
\item Hardware Abstraction Layer
\item RTU daemon
\item PTP daemon with WR extension
\item CLI and SNMP support coming
\end{itemize}
\end{frame}
\begin{frame}{White Rabbit Node - WR PTP Core}
\begin{block}{HDL IP-Core}
developed on Xilinx Spartan 6 but not tied to Xilinx
\end{block}
\begin{block}{it is a fancy Ethernet MAC}
\begin{itemize}
\item interfaces user-defined module sending/receiving Ethernet frames with PHY layer
\item provides precise timing by implementing WR protocol
\end{itemize}
\end{block}
\begin{block}{ready to be integrated in user's devices}
requires only two tunable oscillators and EEPROM to store the configuration
\end{block}
\end{frame}
\begin{frame}{WR PTP Core: interfaces}
\begin{itemize}
\item clocks and reset
\item frame interface (WR Fabric)
\item timecode and 1-PPS output
\item PHY interface (\emph{GTP}/\emph{GTX} tested and supported)
\item $I^2C$, 1-Wire, UART, GPIO
\end{itemize}
\begin{center}
\includegraphics[width=.7\textwidth]{../../figures/node/wrpc_overview.eps}
\end{center}
\end{frame}
\begin{frame}{WR PTP Core: HDL design}
\begin{center}
\includegraphics[width=\textwidth]{../../figures/node/wrpc_inside_simple.ps}
\end{center}
\end{frame}
\begin{frame}{WR PTP Core: HDL design}
\begin{center}
\includegraphics[width=\textwidth]{../../figures/node/wrpc_basic_top.ps}
\end{center}
\end{frame}
\backupend
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}