-
Notifications
You must be signed in to change notification settings - Fork 0
/
BackgroundERTMS.tex
848 lines (469 loc) · 27.8 KB
/
BackgroundERTMS.tex
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
127
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
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
\thesischapter{Background: The European Rail Traffic Management System}{Background: The European Rail Traffic Management System}
\chaptermark{The European Rail Traffic Management System}
\label{chapter:ERTMS}
Following the successful use of the solid state interlocking for over 30 years railway engineers are employing modern technologies to develop a new kind of train control system. Technologies such as GPS and mobile data communications, in the form of GSM radio, allow for a much finer grain of control than the traditional discrete solid state interlocking and Boolean track circuits alone would allow.
This has led to the development of the European Rail Traffic Management System (ERTMS) which combines the traditional discrete control systems of the railway with modern systems that can deal with more continuous data. The name ERTMS is often used interchangeably with the name \emph{European Train Control System} (ETCS) which is used to describe the same control system but without the GSM radio component. This new system consists of a \emph{radio block processor} (RBC) which negotiates with the traditional interlocking in order to grant lengths of track to a train in the form of a \emph{movement authority} (MA). In this system every train has a movement authority which allocates it a length of track within which it can move. The RBC also provides the train with a \emph{static speed profile} which restricts the speed of the train on different segments of track. Each individual train has an onboard system which restricts its speed to follow this profile and ensures that the train will have braked and stopped before reaching the end of its movement authority. The onboard system has an emergency braking mode in case one of these conditions is broken. The trains are free to move along the track within their current MA and communicate their position, speed and requests for further segments of track over radio to the radio block processor. The ERTMS system is split into different levels of implementation (See \ref{sec:theertms}.) that allow for different stages of delivery. In the most advanced level 3 all trains must be equipped with the ERTMS system in order to use the tracks; earlier levels allow for a mixture of trains with and without ERTMS. The RBC communicates with trains via GSM in ERTMS level 2 and 3 and via track-side balises in level 1. The interlocking itself is not formally considered to be a part of ERTMS, however the interface to the interlocking is a key part of this system. In this thesis we are mainly concerned with the ERTMS level 2 which in a later chapter is verified as part of a combined interlocking and RBC system. An overview of the ERTMS system can be found in the ETCS implementation handbook \cite{ETCSHB} and an in depth description of the system can be found in the ETCS System Requirements Specification \cite{ETCSSRS}.
\afterpage{
\begin{center}
\begin{figure}[p]
\begin{sideways}
\begin{tikzpicture}
%%% Y Axis
\draw [->]
(-5 , 4) -- (-5,7)
node [left,text width=3cm,text centered,midway]
{ \hfill \\
VMax \\
(Limit of \\
Authority)
};
%%% X Axis
\draw [->]
(-5 , 4) -- (14,4)
node [below,text width=3cm,text centered,midway]
{ \hfill \\
Position
};
%%%% LoA Graph
\draw ( -2.80, 7) -- (-1, 7);
\draw(-1, 7) .. controls +(2 cm , - 0 cm) and +(-2 cm, 1.5 cm)
.. (8 , 4 );
%%% EoA
\draw [->]
(8 , 7) -- (8,5)
node [right,text width=3cm,text centered,midway]
{ \hfill \\
End of Authority
};
% Top Track
\draw (-5.10,2) -- (14, 2);
% Far Left Signal
\draw (-5,2) -- (-5, 2.25);
\draw (-5,2.25) -- (-4.75, 2.25);
\filldraw [red](-4.70, 2.25) circle (2pt) ;
\filldraw [black](-4.55, 2.25) circle (2pt) ;
\filldraw [black](-4.40, 2.25) circle (2pt);
% Mid Left Signal
\draw (-1,2) -- (-1, 2.25);
\draw (-1,2.25) -- (-0.75, 2.25);
\filldraw [black](-0.70, 2.25) circle (2pt) ;
\filldraw [black](-0.55, 2.25) circle (2pt) ;
\filldraw [green](-0.40, 2.25) circle (2pt);
% Centre Signal
\draw (4,2) -- (4, 2.25);
\draw (4,2.25) -- (4.25, 2.25);
\filldraw [black](4.40, 2.25) circle (2pt) ;
\filldraw [yellow](4.55, 2.25) circle (2pt) ;
\filldraw [black](4.70, 2.25) circle (2pt);
% Mid Right Signal
\draw (8,2) -- (8, 2.25);
\draw (8,2.25) -- (8.25, 2.25);
\filldraw [red](8.40, 2.25) circle (2pt) ;
\filldraw [black](8.55, 2.25) circle (2pt) ;
\filldraw [black](8.70, 2.25) circle (2pt);
% Far Right Signal
\draw (12,2) -- (12, 2.25);
\draw (12,2.25) -- (12.25, 2.25);
\filldraw [black](12.40, 2.25) circle (2pt) ;
\filldraw [black](12.55, 2.25) circle (2pt) ;
\filldraw [green](12.70, 2.25) circle (2pt);
% Block Divisions
\draw (-4.10, 1.90) -- (-4.10 , 2.10);
\draw(-3.10, 1.90) -- (-3.10 , 2.10);
\draw(-2.10, 1.90) -- (-2.10, 2.10);
\draw(-1.30, 1.90) -- (-1.30, 2.10);
\draw(0.625, 1.90) -- (0.625, 2.10);
\draw(3, 1.90) -- (3, 2.10);
\draw(5, 1.90) -- (5, 2.10);
\draw(7, 1.90) -- (7, 2.10);
\draw(9, 1.90) -- (9, 2.10);
\draw(11, 1.90) -- (11, 2.10);
\draw(13, 1.90) -- (13, 2.10);
% Train 1
\draw [->]
(-2.80,1.4) -- (-2.80,1.8)
node [below,text width=3cm,text centered,midway]
{ \hfill \\
Train 1
};
% Train 2
\draw [->]
(10,1.4) -- (10,1.8)
node [below,text width=3cm,text centered,midway]
{ \hfill \\
Train 2
};
\end{tikzpicture}
\end{sideways}
\centering
\caption{Movement Authorities in ERTMS Level 1}
\label{fig:trackplan}
\end{figure}
\end{center}
}
\section{The European Rail Traffic Management System}
We shall now describe the ERTMS system in more detail. To do this we shall first discuss the movement authority and static speed profile as these are key entities used for the control of the train. Following this we shall discuss the behaviour of ERTMS at its different levels of implementation. Finally we shall look at the interface between the radio block processor and the interlocking in more detail.
\subsection*{Movement Authority}
In comparison with the traditional railway, which controlled the movement of trains using coloured light signals, the ERTMS system transmits a movement authority to the train which authorises it to travel along a length of track. There are two different components of a movement authority which are used to restrict the movement of a train along a piece of track; the train can operate safely with either one of them on its own (See Figure \ref{fig:trackplan}).
\begin{description}
\item[End of Authority (EoA)] is the end of the movement authority for a train on a given piece of track. It is a point which the train cannot proceed past along that track.
\item[Limit of Authority (LoA)]
is a train's maximum allowed velocity (VMax) at a position on a piece of track and is calculated using braking curves.
\end{description}
The on-board control system will automatically apply the brakes if the train exceeds either type of movement authority.
\subsection*{Static Speed Profile}
Traditionally the speed limit along a segment of track was controlled by a combination of speed limit signs at the side of the tracks and coloured light signals. In ERTMS this has been replaced by a \emph{static speed profile} which provides the control system on the train with a maximum speed for a given section of track. Each type of train has its own static speed profile depending what it is capable of, for instance a high speed intercity train will have a different static speed profile from a fully loaded freight train. Providing the trains with a static speed profile increases safety further by making speeding less likely and allows for a finer control of the train's speed, thus increasing the capacity of the line.
\label{sec:theertms}
\subsection*{ERTMS levels}
ERTMS is seperated into different levels of implementation. These range from being a complement to traditional signalling to a complete replacement. Currently both level 1 and 2 have been implemented in different parts of the world and level 3 is still in the conceptual phase and has yet to be fully implemented anywhere in the world.
\textbf{ERTMS Level 1:} (Figure \ref{fig:ERTMSLevel1}) Movement authorities are calculated based on the underlying signalling system and then transmitted from the track-side to the train through the use of an electronic beacon called an Eurobalise. The Eurobalise also enables train detection at the track-side and passes relevant information regarding train movement via the land-side equipment unit (LEU) to the interlocking and signalling centre. While this level makes use of an interlocking, it does not make use of a radio block controller unlike later levels of ERTMS. \\
\begin{center}
\begin{figure}[h!]
\begin{tikzpicture}[scale = 1.5]
\usetikzlibrary[shapes.geometric]
\usetikzlibrary[shapes.callouts]
%% Draw Wheels
\foreach \a in {1 ,..., 4}{
\filldraw [black] (\a+0.5, 0) circle (0.2cm);
}
%% Draw Carridge
\filldraw [blue] ( 1,0) rectangle (4, 1);
%% Draw Cab
\node[trapezium, fill = blue, minimum width = 2.25cm] at (4, 0.65) {};
\filldraw [blue] (4, 0.4) rectangle (4.72, 0);
\node[rectangle, black, fill = white, draw ] at (3, 0.3) {ERTMS};
%% Draw Windows
%
%\filldraw [black] (-1.5, 0.35) rectangle (-1.2, 0.8);
%
%\filldraw [black] (-0.7, 0.35) rectangle ( -0.4 , 0.8);
%
%\filldraw [black] (0.1 , 0.35) rectangle ( 0.4 , 0.8);
%
%
%%% Draw Cab Window
\filldraw [black] (3.9, 0.33 ) rectangle (4.3, 0.835);
\node[isosceles triangle, fill = black , minimum width = 0.63cm, shape border rotate = 90] at (4.3,0.45) {};
\filldraw [blue] (3.9,0.33) rectangle (4.5, 0.45);
%%% Draw ERTMS
\node[rectangle, black, fill = white, draw ] at (3, 0.3) {ERTMS};
\node[cloud callout, fill = white, cloud puffs = 11, aspect = 2, cloud puff arc = 120, inner xsep = 0.4cm , callout relative pointer = {(0.315cm, -0.25cm)} ] at (2.1, 0.7) {};
\draw[->](1.9,0.55) -- (1.9,0.85);
\draw[->](1.9, 0.55) -- (2.3, 0.55 ) ;
\draw (2.2, 0.55) arc (0:90:0.3cm);
%%% Draw Track
\draw ( 0 , -0.3) -- (10 , -0.3);
\draw (2 , -0.4) -- (2 , -0.2);
\draw (9 , - 0.4) -- (9 , -0.2);
%%% Signal
\draw [line width = 2pt ] (8, -0.3) -- (8, 1);
\filldraw [black] (7.85, 1) rectangle (8.15, 0.5);
\filldraw [red] (8, 0.65) circle (2pt);
\filldraw [black] (8, 0.85) circle (2pt);
%%% Eurobalise
%
\node[rectangle, fill = yellow, minimum width = 1cm , draw] at (3, - 0.7) {Eurobalise};
\draw[<->, very thick] (3, -0.5 ) -- (3, -0.1 );
\node[rectangle, fill = yellow, draw] at (7, - 0.7) {LEU};
\draw[<->, very thick] (3.8 , -0.7) -- (6.5,-0.7);
\draw[->, very thick ] (8, -0.7) -- (8 , -0.4);
\draw[->, very thick] (8, - 0.7) -- (7.5 , -0.7);
\end{tikzpicture}
\caption{ERTMS Level 1}
\label{fig:ERTMSLevel1}
\end{figure}
\end{center}
\textbf{ERTMS Level 2:} (Figure \ref{fig:ERTMSLevel2}) This level of ERTMS is an intermediate stage in its deployment as it still contains some of the traditional discrete railway control systems. All implementations of ERTMS level 2 still make use of track circuits for the detection of trains. The traditional coloured light trackside signals are optional in this level of implementation. They allow for non-ERTMS trains to still run on the track but coloured light signals can be removed if no such trains are running. Movement authorities are calculated based on the blocks contained in the underlying signalling system by the radio block processor which is located in the radio block centre. Data is continuously transmitted via radio between the radio block centre and the train in both directions. Movement authorities are transmitted to the train, which in return provides its location relative to a given balise. This transmission is complemented by on-the-spot transmission between the trackside balise and the train. These trackside balises act as both a beacon and a point of reference enabling the train to determine its location along the track. Train detection is also performed at the track-side using track circuits and axle counters, however these determine whether a segment of track is occupied for the purpose of route setting, rather than the exact location of the train.
\begin{center}
\begin{figure}[h!]
\begin{tikzpicture}[scale = 1.5]
\usetikzlibrary[shapes.geometric]
\usetikzlibrary[shapes.callouts]
%% Draw Wheels
\foreach \a in {1 ,..., 4}{
\filldraw [black] (\a+0.5, 0) circle (0.2cm);
}
%% Draw Carridge
\filldraw [blue] ( 1,0) rectangle (4, 1);
%% Draw Cab
\node[trapezium, fill = blue, minimum width = 2.25cm] at (4, 0.65) {};
\filldraw [blue] (4, 0.4) rectangle (4.72, 0);
\node[rectangle, black, fill = white, draw ] at (3, 0.3) {ERTMS};
%% Draw Windows
%
%\filldraw [black] (-1.5, 0.35) rectangle (-1.2, 0.8);
%
%\filldraw [black] (-0.7, 0.35) rectangle ( -0.4 , 0.8);
%
%\filldraw [black] (0.1 , 0.35) rectangle ( 0.4 , 0.8);
%
%
%%% Draw Cab Window
\filldraw [black] (3.9, 0.33 ) rectangle (4.3, 0.835);
\node[isosceles triangle, fill = black , minimum width = 0.63cm, shape border rotate = 90] at (4.3,0.45) {};
\filldraw [blue] (3.9,0.33) rectangle (4.5, 0.45);
%%% Draw ERTMS
\node[rectangle, black, fill = white, draw ] at (3, 0.3) {ERTMS};
\node[cloud callout, fill = white, cloud puffs = 11, aspect = 2, cloud puff arc = 120, inner xsep = 0.4cm , callout relative pointer = {(0.315cm, -0.25cm)} ] at (2.1, 0.7) {};
\draw[->](1.9,0.55) -- (1.9,0.85);
\draw[->](1.9, 0.55) -- (2.3, 0.55 ) ;
\draw (2.2, 0.55) arc (0:90:0.3cm);
%%% Draw Track
\draw ( 0 , -0.3) -- (10 , -0.3);
\draw (2 , -0.4) -- (2 , -0.2);
\draw (8 , - 0.4) -- (8 , -0.2);
%%% Signal
%%% Eurobalise
%
\node[rectangle, fill = yellow, minimum width = 1cm , draw] at (3, - 0.7) {Eurobalise};
\draw[->, very thick] (3, -0.5 ) -- (3, -0.1 );
\node[rectangle, fill = yellow, draw] at (7, - 0.7) {Track \hfill
Relays};
%
%\draw[<->, very thick] (3.8 , -0.7) -- (6.1,-0.7);
\draw[->, very thick ] (8.5, -0.7) -- (8.5 , 0.4);
\draw[->, very thick] (8.5, - 0.7) -- (7.8 , -0.7);
\node[rectangle, fill = yellow, minimum width = 1cm , draw] at (8.5, 0.6) {Interlocking};
\draw[<->, very thick] (8.5 , 0.9) -- (8.5, 1.2);
\node [rectangle, fill = yellow, minimum width = 1cm, draw] at (8.5, 1.4){Radio \hfill Block \hfill Centre};
\draw[<->, very thick, dashed] (7.2 , 1.4) -- (5, 0.7) node [above = 5pt,midway] {via Radio};
\end{tikzpicture}
\caption{ERTMS Level 2}
\label{fig:ERTMSLevel2}
\end{figure}
\end{center}
\textbf{ERTMS Level 3:} (Figure \ref{fig:ERTMSLevel3}) Instead of using the block system based on track circuits from previous levels, the train itself is considered a moving block. Route locking and route releasing are performed by the radio block centre using information gathered from trains. Similarly to ERTMS level 2 communication takes place via radio between the train and the radio block centre. Integrity checking is performed on board of the train as it continuously monitors its position along the track.
\begin{center}
\begin{figure}[h!]
\begin{tikzpicture}[scale = 1.5]
\usetikzlibrary[shapes.geometric]
\usetikzlibrary[shapes.callouts]
%% Draw Wheels
\foreach \a in {1 ,..., 4}{
\filldraw [black] (\a+0.5, 0) circle (0.2cm);
}
%% Draw Carridge
\filldraw [blue] ( 1,0) rectangle (4, 1);
%% Draw Cab
\node[trapezium, fill = blue, minimum width = 2.25cm] at (4, 0.65) {};
\filldraw [blue] (4, 0.4) rectangle (4.72, 0);
%% Draw Windows
%
%\filldraw [black] (-1.5, 0.35) rectangle (-1.2, 0.8);
%
%\filldraw [black] (-0.7, 0.35) rectangle ( -0.4 , 0.8);
%
%\filldraw [black] (0.1 , 0.35) rectangle ( 0.4 , 0.8);
%
%
%%% Draw Cab Window
\filldraw [black] (3.9, 0.33 ) rectangle (4.3, 0.835);
\node[isosceles triangle, fill = black , minimum width = 0.63cm, shape border rotate = 90] at (4.3,0.45) {};
\filldraw [blue] (3.9,0.33) rectangle (4.5, 0.45);
%%% Draw ERTMS
\node[rectangle, black, fill = white, draw ] at (3.4 , 0.3) {ERTMS};
\node[cloud callout, fill = white, cloud puffs = 11, aspect = 2, cloud puff arc = 120, inner xsep = 0.4cm , callout relative pointer = {(0.315cm, -0.25cm)} ] at (2.4, 0.7) {};
\draw[->](2.2,0.55) -- (2.2,0.85);
\draw[->](2.2, 0.55) -- (2.6, 0.55 ) ;
\draw (2.5, 0.55) arc (0:90:0.3cm);
\node[rectangle,fill = white, draw] at (1.7 , 0.3) {Integrity};
%%% Draw Track
\draw ( 0 , -0.3) -- (10 , -0.3);
%%% Signal
%%% Eurobalise
%
\node[rectangle, fill = yellow, minimum width = 1cm , draw] at (3, - 0.7) {Eurobalise};
\draw[->, very thick] (3, -0.5 ) -- (3, -0.1 );
%
%\node[rectangle, fill = yellow, draw] at (7, - 0.7) {Track \hfill
% Relays};
%
%\draw[<->, very thick] (3.8 , -0.7) -- (6.1,-0.7);
%
%\draw[->, very thick ] (8.5, -0.7) -- (8.5 , 1.2);
%
%\draw[->, very thick] (8.5, - 0.7) -- (7.8 , -0.7);
%
%\draw[->, very thick ] (8.5, -0.7) -- (8.5 , 0.4);
%
%\draw[->, very thick] (8.5, - 0.7) -- (7.8 , -0.7);
\node[rectangle, fill = yellow, minimum width = 1cm , draw] at (8.5, 0.6) {Interlocking};
\node [rectangle, fill = yellow, minimum width = 1cm, draw] at (8.5, 1.4){Radio \hfill Block \hfill Centre};
\draw[<->, very thick, dashed] (7.2 , 1.4) -- (5, 0.7) node [above = 5pt,midway] {via Radio};
\draw[<->, very thick] (8.5 , 0.9) -- (8.5, 1.2);
\end{tikzpicture}
\caption{ERTMS Level 3}
\label{fig:ERTMSLevel3}
\end{figure}
\end{center}
\subsection*{An Informal Description of the Combined System}
In the following we will present a high level description of the combined interlocking and radio block processor system. The aim of specifying a combined system is to get rid of the inconsistencies and problems caused by the interface between the RBC and interlocking. These are two separate control systems each with its method of communicating instructions to the train. The interlocking acts a small safety kernel in the traditional train control system which should also be the case in the combined system; it must have the final say on any instruction to the trains or rail-track. If this is not the case then we may end up in a situation where a train is in a safe position according to one system but not the other. A prime example of such an inconsistency occurs when a high speed ERTMS enabled train travels along a line under the guidance of a movement authority and is allowed to travel through an ordinary red light.
The components of the system which we are particularly interested to capture can be found inside the dotted line in figure \ref{fig:ERTMSCombine}. These consist of the interlocking and radio block processor. Currently the interface between them is biased in one direction; as most of the information travels from the interlocking to the radio block processor. Some information does go in the other direction; for example the radio block centre will notify the interlocking when a ERTMS enabled train is travelling along the line. However, other possibilities for a partition in a combined system exist, for example the route setting and releasing could take place in the radio block centre. There are also different possibilities from the level of partitioning or integration of the system; it could be the case that a fully integrated system is much simpler, however such a system would have to be constructed from scratch.
\begin{center}
\begin{figure}[H]
\begin{tikzpicture}[scale = 1.5]
\usetikzlibrary[shapes.geometric]
\usetikzlibrary[shapes.callouts]
%%% Signal
%%% Eurobalise
%%
%\node[rectangle, fill = yellow, minimum width = 1cm , draw] at (3, - 0.7) {Eurobalise};
%
%\draw[<->, very thick] (3, -0.5 ) -- (3, -0.1 );
%
%\node[rectangle, fill = yellow, draw] at (7, - 0.7) {Track \hfill
% Relays};
%
%\draw[<->, very thick] (3.8 , -0.7) -- (6.1,-0.7);
%
%
%
%
\draw[<->, very thick ] (8.5, -0.7) -- (8.5 , 0.5) node [right = 5pt, text width = 2.8 cm, midway] {Routes Set Routes Proceed Tracks Occupied ...};
%%\draw[->, very thick] (8.5, - 0.7) -- (7.8 , -0.7);
\node [rectangle, fill = yellow, minimum width = 1cm, minimum height = 2cm, draw] at (8.5, 1.4){Radio \hfill Block \hfill Centre};
\node [rectangle, fill = yellow, minimum width = 3.3cm, minimum height = 2cm, draw] at (8.5, -1.5){Interlocking};
\draw[<->, very thick, dashed] (7.3 , 1.4) -- (5, 0.7) node [above = 5pt, left = 5pt, text width = 3.5 cm, midway] {Movement Authorities via Radio};
\draw[<- , very thick] (10, -1.5) -- (11.5, - 1.5);
\draw[-> , very thick] (11.5, -1.5) -- ( 11.5, 0) node [right = 5pt, text width = 2.8 cm, midway] {Route Data};
\draw[<- , very thick] (8, - 2.25) -- (8, -2.75) node [left, midway] {Relay Data};
\draw[-> , very thick] (9, - 2.25) -- (9, -2.75) node [right, midway] {Point Settings};
\node[rectangle, minimum width = 4cm, minimum height = 6.8cm, dashed, draw] at (8.5, 0) {};
\node [rectangle, fill = yellow, minimum width = 3.3cm, minimum height = 2cm, draw] at (11.5, 1){Control System};
\end{tikzpicture}
\caption{Combined System}
\label{fig:ERTMSCombine}
\end{figure}
\end{center}
\section{Typical ERTMS Scenario}
In the following we shall demonstrate, by the means of an example using a UML message sequence chart, of how ERTMS behaves in a typical railway scenario. It involves a track layout called a double junction in which two train tracks are joined to two other train tracks. This type of junction is common where you have two uni-directional tracks. Trains wishing to leave the section of track can do so easily by travelling over a single point. The other line carrying trains wishing to join the track has to cross the near track with oncoming trains before joining the far track. In particular we shall discuss the following scenario involving three trains attempting to cross a double junction (See Fig \ref{fig:trackplandd}).
\begin{itemize}
\item Train 1 would like to travel in a route from D to C
\item Train 2 would like to travel in a route from A to B
\item Train 3 would like to travel in a route from F to C
\end{itemize}
We will assume that initially no routes are set. This means that either a controller or a timetable will determine the precedence of the trains. For this example we will time table the trains in order of their identifying number.
\begin{figure}[h!]
\begin{center}
\begin{tikzpicture}
% Top Track
\draw (-5.10,2) -- (6,2);
% Segment Divide 8023/8201
\draw (-4.10, 1.90) -- (-4.10 , 2.10);
%%% Trains
\tikzstyle{train}=[rectangle, draw, text width = 1.2cm, font=\small]
\node (A) [train] at (4, 0.6) {Train 1
};
\node(B)[train] at (-2.9, 2.4) {Train 2};
\node(C)[train,rotate = 45] at (3.3,3.3) {Train 3};
%%% Route Markers
\node (D) at (-5.3, 2) {A};
\node (E) at (6.3, 2) {B};
\node (F) at (-5.3, 0.2) {C};
\node (G) at (6.3, 0.2) {D};
\node (H) at (5 ,4.20) {F};
\node (I) at (1.20,4.20) {E};
% Segment Divide
\draw(-2.10, 1.90) -- (-2.10, 2.10);
%\draw(-2.10, 0.15) -- (-2.10 , 0.35);
% Segment Divide
\draw(-1.30, 1.90) -- (-1.30, 2.10);
\draw(-1.30, 0.15) -- (-1.30, 0.35);
% Left set of points
\draw (-1.25, 2.20) -- (-1, 2.20);
\draw (-1, 2.20) -- (1 ,4.20);
\draw (-0.75, 2.30) -- (-0.95, 2.50 );
% Segment Divide
\draw(0.625, 1.90) -- (0.625, 2.10);
\draw(0.625, 0.15) -- (0.625, 0.35);
%Right set of points%
\draw (2.5, 1.80) -- (2.25, 1.80);
\draw (2.25, 1.80) -- (1.25 ,0.45);
\draw (1.25,0.45) -- (1,0.45);
\draw (1.65 ,1.125) -- (1.85, 1.125);
% Left set of points
\draw (2.5, 2.20) -- (2.75, 2.20);
\draw (2.75, 2.20) -- (4.75 ,4.20);
\draw (3, 2.30) -- (2.80, 2.50 );
% Segment Divide
\draw(3, 1.90) -- (3, 2.10);
\draw(3, 0.15) -- (3, 0.35);
% Bottom Track
\draw (-5,0.25) -- (6, 0.25);
% Track Directions
\draw [->, very thick]
(-5,2.2) -- (-4.5,2.2);
\draw [->, very thick]
(5.5,0.4) -- (5,0.4);
\draw [->, very thick]
(4.5,4.5) -- (4.2,4.2);
\end{tikzpicture}
\end{center}
\caption{A Common Scenario}
\label{fig:trackplandd}
\end{figure}
\subsection*{Scenario Behaviour}
We shall now describe the behaviour of trains and their interaction with the ERTMS system as they negotiate their way through the double junction. The UML message sequence chart (See Fig \ref{fig:SeqChart}) shall complement this description by describing the communication sequence for the movement of the first two trains. Firstly the radio block processor, which is executing the timetable, makes a request to the interlocking to set the route from $D \to C$. Since this is currently safe the interlocking will grant the route assignment. Next the RBC sets the points, via the interlocking and track-side infrastructure, and the points respond with an acknowledgement indicating that they have been set. The RBC then grants a movement authority to the train which allows it to move from $D \to C$ which the train acknowledges. Then train $1$ then moves from $D \to C$, whilst continually transmitting its position to the RBC. Once this movement authority has been granted the RBC can then negotiate and grant another movement authority for train $2$ to move from $A \to B$ as its path does not cross that of train $1$. Once train $2$ has passed the second point on its journey from $A \to B$ and train $1$ has exited at $C$ , the RBC can negotiate and grant a movement authority for train $3$ to move from $F \to C$.
\begin{figure} [h!]
\begin{center}
\begin{tikzpicture}[node distance = 3cm, scale = 1.5]
\tikzstyle{arrow}=[->,shorten >=7pt,shorten <=7pt]
\draw (0,10) -- (0,-3);
\draw (2, 10) -- (2, -3);
\draw (4, 10) -- (4, -3);
\draw (6, 10) -- (6, -3);
\draw (8,10 ) -- (8, -3);
\draw (10,10 ) -- (10, -3);
\node[] at (0, 10.5) {RBC};
\node[] at (2, 10.5) {Interlocking};
\node[] at (4, 10.5) {Trackside};
\node[] at (6, 10.5) {Train 1};
\node[] at (8, 10.5) {Train 2};
\node[] at (10,10.5) {Train 3};
\draw[->](0, 9.5) -- node[above, font = \small ]{Route Req} (2, 9.5);
\draw[<-](0, 9) -- node[above, font = \small]{Route Ack}(2,9);
\draw[-](0,8.5) -- node[above, font = \small]{Points Set} (2, 8.5);
\draw[->](0,8.5) -- node[above, font = \small]{} (4, 8.5);
\draw[-](2, 8) -- node[above , font = \small]{Points Ack} (4, 8);
\draw[<-](0, 8) -- node[above , font = \small]{} (4, 8);
\draw[->](0,7.5) -- node[above, font = \small]{MA D $\to$ C} (6, 7.5);
\draw[<-](0, 7) -- node[above, font = \small]{MA Ack} (6, 7);
\draw[<-](0, 6.5) -- node[above, font = \small]{Position Data} (6, 6.5);
\draw[->](0, 5) -- node[above, font = \small ]{Route Req} (2, 5);
\draw[<-](0, 4.5) -- node[above, font = \small]{Route Ack}(2,4.5);
\draw[-](0,4) -- node[above, font = \small]{Points Set} (2, 4);
\draw[-](2, 3.5) -- node[above, font = \small]{Points Ack} (4, 3.5);
\draw[->](0,4) -- node[above, font = \small]{} (4, 4);
\draw[<-](0, 3.5) -- node[above, font = \small]{} (4, 3.5);
\draw[-](0,3) -- node[above, font = \small]{MA A $\to$ B} (2, 3);
\draw[->](0,3) -- node[above, font = \small]{} (8, 3);
\draw[-](0,2.5) -- node[above, font = \small]{MA Ack} (2,2.5);
\draw[<-](0,2.5) -- (8,2.5);
\draw[-](0,2) -- node[above, font = \small]{Position Data} (2,2);
\draw[<-](0,2) -- (8,2);
\draw[->](0, 0.5) -- node[above, font = \small ]{Route Req} (2, 0.5);
\draw[<-](0, 0) -- node[above, font = \small]{Route Ack}(2,0);
\draw[-](0,-0.5) -- node[above, font = \small]{Points Set} (2, -0.5);
\draw[-](2, -1) -- node[above, font = \small]{Points Ack} (4, -1);
\draw[->](0,-0.5) -- node[above, font = \small]{} (4, -0.5);
\draw[<-](0, -1) -- node[above, font = \small]{} (4, -1);
\draw[-](0,-1.5) -- node[above, font = \small]{MA F $\to$ C} (2, -1.5);
\draw[->](0,-1.5) -- node[above, font = \small]{} (10, -1.5);
\draw[-](0,-2) -- node[above, font = \small]{MA Ack} (2,-2);
\draw[<-](0,-2) -- (10,-2);
\draw[-](0,-2.5) -- node[above, font = \small]{Position Data} (2,-2.5);
\draw[<-](0,-2.5) -- (10,-2.5);
%\draw [arrow] (0,9) -- node[above = 7pt] {Comm Sess Init} (7 ,7 );
%
%\draw [arrow] (7,6.5) -- node[above = 7pt] {System Version} (0 , 4.5);
%\draw [arrow] (0,4) -- node[above = 8pt, text width = 3.3cm] {Report and Tele No (Compatable)} (7 ,2 );
%\node[text width = 3.5cm] at (3.5, 2) {Version Incompatable (Incompatable)};
%
%\node[rectangle,draw] at (-2 , 4.25) {Check Compatibility};
%\draw [arrow] (-0.5,4) -- node [left, text width = 2 cm] {Connection Established (Compatable)} (-0.5, 0);
% \draw [arrow] (7.5,2) -- node [right, text width = 2 cm] {Connection Established (Compatable)} (7.5, 0);
\end{tikzpicture}
\end{center}
\caption{Message Sequence Chart for "A Common Scenario"}
\label{fig:SeqChart}
\end{figure}