Information Technology Reference
In-Depth Information
2000
end of authority
communication to RBC
communication to level crossing
current position of train
1800
1600
1400
1200
1000
800
600
400
200
0
−200
0
1000
2000
3000
4000
5000
time
Fig. 5. Snapshot of dynamic calculations
The supervision of the velocity of the train is modelled in the fourth state
labelled
move
(Fig. 6). The previous value of the desired speed is set to 0 on
entering the default
init
state and stored in the
o v d
variable. The drive mode
is switched on by receiving the
ev drive
event enabling the transition 1andthe
variable
d c
(for drive control) is set, the desired speed at the current position
of the train is read out of the track data dictionary and stored in
v d
and the
slope of the current track segment is stored in the variable
slope
. The destination
state is
change
.
- If the current desired speed is different from the previous value the transi-
tion 2 is enabled and this change is signalled through a reset on the
c v d
variable, state
switch
and the transition 3.Thenewvalueofthecurrent
desired speed is stored in the
move
state.
- If there is no change in the desired speed, the transition 4isenabledand
the
move
state is entered.
- If a brake event (
ev brake
) occurs in the
change
state, the transition 12 is
enabled, the drive mode is switched off (
d c
=0), the service brake mode is
switched on (
sb c
=1) and finally the
init brake
state is entered.
After reading the desired speed the current speed of the train is supervised in
the
move
state.
Search WWH ::
Custom Search