Proceedings 2002/2003 - IRSE
Proceedings 2002/2003 - IRSE
Proceedings 2002/2003 - IRSE
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
38<br />
EURORADIO AND THE RBC<br />
Now we have made it to the end, almost! There is<br />
a fourth message confirming that the RBC accepts<br />
the connection – when the train application receives<br />
it, it knows a connection exists. We have an<br />
authenticated safety connection, over GSM-R, at<br />
last!<br />
Now, that initiation message from the train<br />
application can be delivered to the RBC, and the<br />
reply returned from the RBC to the train.<br />
4.5 SET-UP TIME<br />
It is clear that there is a lot of communication<br />
across the air interface that is nothing directly to do<br />
with the application message from the train to the<br />
RBC – and it all takes time. It is possible to estimate<br />
this, assuming that the transmission delay across<br />
GSM-R is about 400ms, as follows:<br />
– Train sets up GSM-R connection to<br />
RBC (ISDN) 5.0s<br />
– Data link layer set-up<br />
set async. balanced extended 0.4<br />
respond with UA 0.4<br />
– Network layer set-up – none 0<br />
– Transport layer set-up<br />
send CR TPDU 0.4<br />
receive CC TPDU 0.4<br />
– Safety layer set-up<br />
send first authentication message 0.4<br />
receive second authentication message 0.4<br />
send third authentication message 0.4<br />
receive fourth authentication message 0.4<br />
giving a total of 8.2s<br />
This is why such good radio coverage is required<br />
– unplanned disconnection and reconnection must<br />
be a rare event if the railway’s performance is not to<br />
be adversely affected. As always, good network<br />
planning by experienced experts is essential.<br />
And if you want a low-cost system, how might this<br />
be achieved? Omitting base stations is quite<br />
effective – deliberately making the system<br />
discontinuous where there is no data to be sent to<br />
the train or RBC. But this set-up time becomes a<br />
limiting parameter, as you must have coverage while<br />
all this is going on. Wouldn’t it be nice to have a<br />
packet system where the set-up could be retained<br />
whether or not the physical GSM-R layer was<br />
connected? Well there is one, called GPRS, but we<br />
come back to that later.<br />
4.6 CONNECTION<br />
So far, we have a connection, but we are doing<br />
little with it. Now we must start sending application<br />
messages end-to-end. And there are a few points to<br />
remember. The first is that buffer sizes are not<br />
infinite. For interoperability, it was necessary to<br />
define a maximum application message size – to<br />
avoid train equipment from one company sending a<br />
20kbyte message to another company’s RBC which<br />
only has a 10kbyte receive buffer.<br />
The size chosen is 1023 bytes. ‘Why?’ is not so<br />
important, though there are reasons. You can send<br />
messages bigger than this, but it will be up to the<br />
application to chop it into digestible 1023-byte<br />
mouthfuls.<br />
In addition, there is another port defined, although<br />
it is not necessarily implemented by all<br />
manufacturers (it is not required for European<br />
interoperability and so is not mandatory). This can<br />
be used to set up a non-safe transport connection<br />
for other applications. Of course, there is still only a<br />
GSM-R data channel at the bottom of all this,<br />
probably working at 4800bps, so care is needed in<br />
allocating channels – it is not quite the way to give<br />
passengers Internet access!<br />
During the course of a connection, there are two<br />
events that will occur with irritating regularity – both<br />
confusingly called ‘handover’. One is the Base<br />
Station handover, a function of GSM cellular<br />
networks, and the other is the RBC handover that is<br />
built in to ETCS.<br />
4.6.1 GSM-R Base Station Handover<br />
Every few kilometres, the train will move from the<br />
coverage of one Base Station to another. There is a<br />
complex handover process initiated by the mobile<br />
involving a change of frequency and time slot. The<br />
effect is to produce a break in communications of<br />
some 200-300ms, during which a receiver will<br />
receive severely corrupted messages. The HDLC<br />
Link layer will detect the errors and reject anything<br />
that looks anything like a frame, but there then<br />
needs to be an error-free period while recreatetransmission<br />
occurs. The effect seen by higher<br />
layers and the application will therefore be a delay,<br />
which gradually decreases to normal.<br />
4.6.2 RBC Handover<br />
The other handover is completely a function of the<br />
application. Eventually the train will reach the<br />
boundary of one area of control and need to pass<br />
control over to the next RBC. The use of two mobiles<br />
on the train is considered the best way to handle the<br />
problem of passing control of the train from one RBC<br />
to the next. The train has a connection with the ‘old’<br />
RBC over one radio. The train dials the next RBC,<br />
sets up a new connection, the RBCs hand over, and<br />
then the train disconnects from the old RBC. To do<br />
this means the new connection set-up must start a<br />
long way before it is needed, but that is OK – it can<br />
go through the same Base Station and network, just<br />
to a different destination.<br />
But what happens at a national border? There is<br />
likely to be an RBC handover at exactly the same<br />
place that the network changes. This really is very bad<br />
news, as it can take over 30s to subscribe to a new<br />
network and, even worse, the process must start long<br />
before a connection is needed, that is the train must<br />
connect to the new network when it is well within the<br />
coverage of the old network. Normally, a GSM mobile<br />
will look round for the network with the strongest<br />
signal strength (depending also on an internal list of<br />
preferred networks), so it will try to subscribe to the<br />
old network. So it is essential to have a way of forcing<br />
the mobile to subscribe to the new network, against<br />
its own natural inclinations. Of course, the new<br />
network must also be available, so it is likely that<br />
new-network base stations will have to be deployed<br />
into the old-network coverage area, requiring an<br />
outstanding level of co-operation between railways –<br />
and of course between licensing authorities