You are on page 1of 8

The Institution of Railway Signal Engineers Inc

Australasian Section Incorporated

Video Train Positioning

Richard Shenton
MIRSE
Reliable Data Systems

SUMMARY
Since commercial railways began around 200 years ago, passing trains have been detected from the
trackside. Now we have entered the era of train based positioning. The cost of installing, operating and
maintaining track circuits and other infrastructure equipment is driving the introduction of train based
alternatives. Whilst GPS is widely used for train positioning on low density lines, it cannot on its own meet
the exacting requirements of train control. There is a need for a new generation of location system which
can provide continuous positioning on individual lines with high integrity and low cost.
This paper describes the operation of VTPS (Video Train Positioning System) a cab mounted vision system
providing reliable positioning at low cost. The system uses image processing technology to provide the full
range of positioning requirements for the operational railway, including odometry, spot location and track
discrimination. The paper details the techniques that are employed and how these are used to provide
accurate results with high integrity. It describes how the individual functions are combined to provide a
complete positioning capability, supporting applications such as train control, platform stopping, standstill
detection and train integrity.

for a quantum step in train detection and


1 INTRODUCTION
positioning technology.
Since railways began, it has been a challenge to
This paper is concerned with a revolutionary new
determine the location of a train.
approach utilising low cost image processing
The situation has improved considerably since the technology. The system, termed Video Train
earliest trains were dispatched with no more Positioning System (VTPS) uses a cab mounted
protection than a time interval between them. camera system shown in figure 1 below.
Over the last 100 years, the track circuit has been
the most significant development in train detection.
Although the technology has evolved considerably,
it is now reaching the end of its useful life.
In some countries, track circuit faults are the single
biggest cause of train delays. In addition,
infrastructure equipment for train detection and
positioning is expensive to install and maintain.
Figure 1: VTPS camera unit mounted
Now the industry is clearly heading in the direction
inside the cab windscreen
of train based location with worldwide
developments such as US Positive Train Control Following a general discussion of positioning
(PTC), Chinese Train Control System (CTCS) and requirements and issues in section 3 and 4, the
European Rail Traffic Management System reasoning for the use of video technology is
(ERTMS). described in section 5.
GPS was initially seen as the new low cost The key positioning functions of the technology are
solution for train location. However, it is now then explained:
recognised that satellite positioning on its own
• video odometry, including high integrity
cannot easily meet the train control challenge
(sections 6,7 8 & 9)
beyond low density lines.
• spot location (section 10)
With increasing capacity constraints in many
networks, we now have the need and opportunity • curvature measurement (section 11)

IRSE Australasia Technical Meeting: Sydney Page 1 of 8 18 March 2011


IRSE Australasia Video Train Positioning

In section 12, the paper describes how these


functions are combined into a complete solution.
Section 13 proposes a way forward for industry
adoption of the technology and the concluding
remarks are in section 14.

2 TERMINOLOGY
Please note that the term ‘GPS’ (the US Global
Positioning System) used in this paper is intended
to refer to all forms of satellite positioning,
including GLONASS, Compass and Galileo. It is
more widely understood than the generic term
GNSS (global navigation satellite system).
Figure 2: Positioning requirements
3 POSITIONING REQUIREMENTS
4 POSITIONING APPROACHES
There are two key attributes of positioning for rail
control systems: precision and integrity. A system 4.1 General Principles
that is precise to the nearest millimetre will be of
limited use in train control if it gives false readings From the earliest days of marine navigation,
much of the time. positioning systems have sought to locate the user
to a point on the Earth’s surface. The celestial
For obvious reasons, the positioning requirements techniques of the sextant have now been largely
of signalling systems are more demanding on replaced by the GPS position fix. Nevertheless,
integrity than they are on precision. Conversely, the aim is the same, that is to provide the
the design of track survey equipment with its array longitude, latitude, and possibly height, of the user.
of laser and advanced GPS instruments is driven This is the general 2 dimensional or 3 dimensional,
more by requirements for precision than for case that is not required by every application.
integrity.
For example, a car SatNav system can
These two attributes are often brought together compensate for the performance of a low cost
into the general concept of accuracy. For example, GPS receiver by constraining the solution to a
a GPS system may be quoted as being accurate road in the stored map. The positioning ‘space’ for
to less than 5m ‘circular area probable’ (<5m railways is even more constrained. As a guided
CEP). This means that typically there is a 50% transport system, the location of the train can only
chance that you are located within 5m of the be somewhere along a one dimensional length of
position given by the system. track.
The other important requirement for railway control Occasionally the track can diverge and the train
systems concerns availability. The positioning can take one of two or more routes. If the control
equipment needs to provide a high level of service system knows the switch position, the location
at all times and all locations. requirements remain one dimensional. However, if
the positioning system has to determine the route
Across all rail activities there is a wide range of
taken, an additional parameter is needed at switch
requirements for the accuracy and availability of
locations.
positioning systems. These are illustrated in figure
2. This paper is principally concerned with 4.2 Solution approaches
positioning systems to meet the train control
requirements of high availability and medium A variety of approaches have been developed to
accuracy (1-10m precision with high integrity). improve on the block location provided by track
circuits and axle counters.
In ‘distance to go systems’, trains follow braking
curves by using odometry measurements to
control train speed against distance travelled.
However, odometry has the limitation that it only
provides location relative to a known starting point.
This starting point or ‘spot location’ requires some
form of infrastructure, such as coded track circuits
or transponders/balises placed in the track.
Nevertheless odometry combined with spot
locations has the advantage of simplicity, which is
of great importance in providing a high integrity
system.

IRSE Australasia Technical Meeting: Sydney Page 2 of 8 18 March 2011


IRSE Australasia Video Train Positioning

Other approaches have sought to take advantage Two or three dimensional approaches would need
of the major advances in commercial positioning to resolve to a point on a one dimensional stretch
technology in order to achieve a low cost system. of track and this conversion itself could
Every ‘smart phone’ is now equipped with GPS compromise high integrity operation, particularly in
and a range of ‘location aware’ applications. A areas of closely spaced multiple tracks.
GPS module costs just a few dollars and can
We felt that one dimensional spot location coupled
provide precise location to less than 5m. It also
with along track odometry would provide the most
has the major advantage that its ‘spot location’
robust results.
infrastructure – ie the satellite constellation – is
available almost everywhere and is provided free
5 TECHNOLOGY SELECTION
of charge to the user.
We looked at a range of technologies to meet the
These benefits have led to much research activity
requirements and tackle the issues identified
into the use of GPS for both continuous train
above.
positioning and spot location (the ‘virtual balise’).
However it continues to be a challenge to achieve For low cost installation and maintenance we
high integrity performance in an environment of wanted to avoid mounting equipment, such as
weak GPS signals and unpredictable local radar, under the train. Also, as a consequence, the
interference. positioning technology could not physically touch
4.3 Practical considerations the ground, ie it needed to be non contact.
Radio frequency tags (eg RFID) operate at low
In addition to technical performance, there is a
power and might be good for position markers.
range of other more practical issues to address.
However, we did not find a simple way to avoid
4.3.1 Installation and maintenance cross-talk (eg activating a tag on an adjacent
track). Furthermore, they provided a solution only
The cost of retrofitting positioning equipment to
at specific points and not for odometry along the
rolling stock is key to its viability. For example,
track. For similar reasons, ‘long range’ balise
GPS systems have a distinct advantage over the
readers were also discounted.
suite of axle end odometers, balise antennae and
Doppler radars used for European ERTMS Inertial navigation systems using accelerometers
installations. and gyros meet many of the requirements.
However, for operation over long periods of time,
4.3.2 Trackside infrastructure
relatively expensive components are required to
Infrastructure operators are seeking to move away avoid unacceptable drift. Furthermore, we felt that
from trackside infrastructure such as track circuits a safety case argument would be hard to construct
that are costly to install and maintain. Even track for a system that was essentially ‘floating’ in the air
mounted transponders have an associated cost with no physical reference other than gravity.
that is significantly greater than the capital cost of
Of all the options we studied, it became apparent
the equipment. Again the GPS approach scores
that real time image processing held the greatest
highly in this regard.
potential for success.
4.3.3 Availability
Video odometry can determine the speed and
The reception of GPS signals can be difficult in the position of the train from a sequence of images of
rail environment with tunnels, deep cuttings, the view ahead. The real cost of camera and
covered stations, urban and wooded areas. In computer technologies continues to decrease
order to provide high availability, other sensors rapidly as the result of commercial developments.
such as odometers or accelerometers are needed In addition, cameras are passive devices that have
to compensate for the areas of poor visibility of good reliability.
GPS satellites.
A video system has the advantage that it is
4.3.4 New approach relatively easy to install in a train. In general, there
is space for a camera to be installed in the cab
These considerations led us to conclude that a
facing forwards through the windscreen. The
new train positioning technology is required that is:
relatively benign cab environment improves
- low cost and straightforward to install and reliability compared with external mounting and, in
maintain addition, there is easy access for maintenance.
- continuously available over the whole network There are of course visibility limitations from rain,
fog, dirt on the windscreen, etc, but the system
- capable of high integrity performance. uses the design principle that provided the driver
We considered that the best way to achieve high can see to drive the train, the camera system will
integrity performance would be to pursue the 1 work.
dimensional approach discussed in section 4.1.

IRSE Australasia Technical Meeting: Sydney Page 3 of 8 18 March 2011


IRSE Australasia Video Train Positioning

6 VIDEO ODOMETRY Figure 4: Matching blocks between two frames determines


distance travelled by train (picture courtesy of The Rail
Video odometry is a technique to recover the Engineer magazine, Issue 61, November 2009)
ground track of a camera from a sequence of Combining the distance moved with the frame rate
images. The general case of obtaining camera of the camera gives a measurement of train
movement data from video footage is known as speed.
‘match moving’ and is used extensively in the
movie industry to extract the camera movement in The approach has been designed to operate in the
live action shots, so that computer generated rain with the windscreen wipers operating. The
effects can be accurately overlaid with the correct wipers only occupy a small proportion of the image
motion and perspective. for a short time as they move across the field of
view. The remainder of the image continues to
The basic approach we have developed for train provide good speed measurements. This is also
positioning is to take a portion of the image the case if part of the image is obscured by spots
corresponding to the track immediately in front of of rain or dirt on the windscreen.
the train. This image comprises the projection of a
3D scene onto a 2D image plane. As a result of
7 TRIALS
this projection, parallel lines in the real world (eg
tracks), become intersecting lines which meet at In 2007, we undertook trials of the system in winter
the vanishing point on the horizon. We refer to on a locomotive running on the 1,500km route
this as the ‘warped’ image. from Stockholm in Sweden to Narvik, north of the
Arctic Circle in Norway. Not only did this give
Using a mathematical transformation, it is possible
plenty of darkness, but also plenty of snow.
to undo the projection to produce an ‘unwarped’
Because the system relies on tracking texture in
image with a viewpoint looking vertically down
the image, a snow covering is possibly the worst
onto the tracks (see Figure 2).
condition for measurements. Therefore the trials
enabled us to investigate performance in these
challenging conditions.
These initial trials enabled us to validate the
approach. We found that the system worked in
snow and icy conditions of the real operational
environment. We found that there was enough
variation in light and dark for the speed to be
tracked.
The headlights of the train also provided sufficient
illumination for the system to operate at night.
However, this is not the case for all locomotives.
For example, train headlights in the UK are
Figure 3: Image inset on the right is obtained from designed principally to make an approaching train
‘unwarping’ the area inside the dashed lines
visible to track workers, rather than to illuminate
As the train moves, the unwarped images appear the track ahead.
to move over the track. By correlating the pixels of For these cases we have developed an infra red
one unwarped video frame with the next video lamp unit which is installed in the cab. The unit
frame it is possible to determine how far the train provides infra red illumination of the track which
has moved between the two frames. The enables the camera to operate without distracting
correlation process uses a grid of 256 blocks. In the driver.
each block the pattern of light and dark is matched
with a similar displaced pattern in an earlier frame
8 PERFORMANCE
(see Figure 4).
We carried out testing with RFI on the high speed
line between Turin and Milan. During these trials,
we were able to test the performance of the
system at speeds up to 300km/h. Figure 5 shows
the speed profile for a test run of about 30
minutes. The measurements from the video
system are overlaid on the speed estimate
determined by the onboard ERTMS computer
(EVC).

IRSE Australasia Technical Meeting: Sydney Page 4 of 8 18 March 2011


IRSE Australasia Video Train Positioning

40 blocks all providing the same speed


10
measurement at random is less than 1 in 10 .
This approach can also be used to defend against
large scale effects in the image, such as falling
snow, rain on the windscreen, moving shadows,
etc.
The number of blocks that are in agreement on the
speed measurement provides an indication of the
quality of the measurement. A threshold can be
set to ensure that all measurements are of
sufficiently high quality.
Figure 5: Speed measurement comparison
on high speed line The approach does not however counter hazards
that produce the same erroneous effect over most
The closeness of the match can be seen, of the image. For example, if there is dirt on the
illustrating that the results meet the ERTMS windscreen that obscures almost all of the image,
requirement for speed measurement of ±2 km/h the system may produce a zero speed
error at slow speeds up to ±7.5 km/h error at measurement. For these cases, the system carries
around 300km/h. out a 'sufficient variation' test to make sure that
In terms of distance, the system operates well there is a changing range of light and dark in the
within the ERTMS requirement of less than 5% image as is found in a view outside the cab.
distance error over the distance travelled (eg less In addition to hazards arising from the general
than 50m error over 1 km). Typically, the system environment, there are other hazards that can
achieves errors of 1% or less, equivalent to the affect the physical system. Knocks to the camera
performance of an axle end odometer, but without may affect its alignment and calibration. By
the wheel slip/slide effects and calibration issues. identifying the location of the tracks in the image,
We have also derived a detailed mathematical the calibration of the system can be constantly
model of the error in the system. The model checked.
enables the speed and distance error bounds to A final category of hazards concerns the correct
be derived formally for use in system safety cases. functioning of the system software and hardware.
At very low speeds the performance is dictated by This is mitigated by using multiple image sensors
the pixel resolution in the ‘unwarped’ image. At and image processors operating in a 2 out of 2 or
higher speeds the error is dominated by changes 2 out of 3 arrangement.
in height and downwards pointing angle from the
installed position. For sinusoidal motion typical of 10 SPOT LOCATION
suspension movement, errors from changes in The previous section has focused on the use of
pointing angle integrate out to a very small image processing to measure the distance moved
residual error. between video frames and hence determine the
speed of the train. However, this technique does
9 HIGH INTEGRITY MEASUREMENTS not identify the specific location of the train. An
High integrity operation is of critical importance for absolute location is needed periodically to correct
train detection and train control applications. the build up of odometry errors and to determine
or confirm the running track.
There is a range of hazards that might affect the
correct functioning of the system. Perhaps the In ERTMS, this function is carried out by the balise
most difficult to deal with are external factors in the track being identified by the passing train.
which might 'deceive' the image processing The technology used is well proven, but little
algorithms. For example, the shadow of the train changed over many years.
itself may appear to be stationary ahead of the As an alternative, we have designed the video
train even when the train is moving. system to detect and read position markers which
To protect against these types of hazards, the we call ‘visual balises’. These markers are
image processing scheme has been developed to installed by the side of the track. The information
carry out multiple simultaneous measurements. By stored in a visual balise can be encoded into an
dividing each unwarped image into 256 pixel industry standard 2 –dimensional bar code. The
blocks, each block is processed independently. visual balise is illustrated in Figure 6 using the
The probability of a number of these blocks Data Matrix standard in widespread use; it has the
producing the same speed measurement by same capacity and error protection as the
'accident' decreases rapidly with the number of equivalent but more complex ETCS position
blocks in agreement. For example, the chances of marker(Eurobalise).

IRSE Australasia Technical Meeting: Sydney Page 5 of 8 18 March 2011


IRSE Australasia Video Train Positioning

Figure 7: Measuring marker distance (pre-calibration top,


operational measurement bottom)

By measuring the distance to the marker, we


should be able to obtain accuracy to +/-500mm.
Please note however that although the theory of
this approach is sound, we have not yet been able
to carry out extensive testing with markers at the
trackside to provide operational evidence.

11 CURVATURE MEASUREMENT
Figure 6: A ‘visual’ balise using a High integrity odometry and spot location can
2-dimensional Data Matrix barcode provide the positioning needed for train control. A
We have carried out trials with this design of further capability of the system is the
marker at night. In relative darkness, the camera measurement of track curvature.
exposure time needs to be longer, which in turn When a train moves on curved track, the rails in
causes motion blur. This could result in elements the unwrapped image are no longer vertical, but
of the bar code merging into each other. However, become slanted across the image. Consequently,
we have carried out tests at 100km/h and found the pixel blocks not only move down the image,
that the markers are readable with no difficulty. but also across it. By measuring the sideways
We therefore expect that marker reading at much movement of the pixel blocks, an estimate of track
higher speeds will be possible, although this has curvature is obtained (see Figure 8).
yet to be tested in the field.
The marker (and marker reader) offers the
potential for significant cost savings for rolling
stock migration. The markers can be installed and
maintained from positions of safety and the
condition of the marker can be clearly seen. In
addition, a marker can be read from a distance
whilst stationary. For example, a marker placed at
the end of a platform could provide precise
location information before a train moves off. Figure 8: Curvature measurement

The distance of the train from the marker can be The curvature information is used in a number of
calculated from the size of the marker in the ways for:
image, provided that the size is known. The • GPS infill
method is described below.
• Track discrimination
When the camera reads the marker it measures
the size of the marker in the image in pixels. If the • Map matching
actual size of the marker is known, the system can 11.1 GPS infill
calculate how far away it is.
For GPS infill, the curvature information is used to
For example, a camera might be calibrated so that estimate the change in heading of the train. This is
a 1m wide marker that is 10m from the camera combined with the odometry measurements to
appears to be 100 pixels tall in the image. determine the track of the train during periods of
If the camera reads the same size marker on the poor satellite visibility. By using the heading
track and measures its height as 200 pixels, it can information, better estimates of position can be
calculate that is 5m from it. Fig 7 shows the obtained compared with the use of odometry
geometry involved. alone.
11.2 Track discrimination
At switch locations, the curvature measurements
are used to determine the route taken by the train
through the junction. A simple track diagram is
used to store details of the switch locations. Using
only odometry and curvature information, the
system navigates around the diagram and
provides positioning information to the level of
individual tracks.
The advantage of using a track diagram compared
with a full geographical map, is that it is much

IRSE Australasia Technical Meeting: Sydney Page 6 of 8 18 March 2011


IRSE Australasia Video Train Positioning

more straightforward to assemble and manage. The outputs from camera units at the front and
The diagram for even a large scale national rear of the train can be combined to provide a train
network with up to 50,000 switches can be integrity solution. The low power requirements of
contained on a single spreadsheet. Figure 9 the camera system, make a portable battery
shows train position (in red) on a track diagram. powered version viable for the rear of freight
trains. We would caution however that we have
not yet had the opportunity to trial the system from
the rear of a moving train in heavy snow.
Dependent on the aerodynamics of the train,
billowing snow may obscure the view of the tracks
at the rear of the train. We would welcome the
opportunity to trial the system with any operator
that has access to suitable snow conditions!
Billowing snow is likely to be less of an issue at the
rear of a slower moving freight train than for faster
vehicles.

Figure 9: VTPS provides real time train position on a track 13 INDUSTRY ADOPTION
diagram (in red)
Video positioning is a new technique that is
11.3 Map matching unfamiliar to the industry. It may take some time to
As track curvature is fixed for a particular track build confidence in the system especially for safety
location and it is independent of train speed, the critical applications.
information can be used to position the train on a Our proposal is to introduce the technology for
geographical map. As the train passes through general purpose positioning applications initially. In
curves, its position can be confirmed and updated. addition, it will be of benefit to those railways with
This approach can be used to position the train limited train protection, where some increase in
independently of GPS or any other spot location safety at low cost will bring significant benefits.
technique. In general, curve transitions on rail
networks are relatively sharp (unlike roads for For general positioning, the technology has the
example). This enables the technique to position capability to provide infill and track discrimination
the train reasonably accurately to within a few for GPS based systems at low cost. The cost
metres. benefit case is even stronger where forward facing
cameras are also required for surveillance and
Map matching requires a full geographic map as incident recording.
for GPS positioning. It can be used to provide a
diverse channel, and hence additional integrity, for Applications areas for the technology include:
GPS based solutions. • Surveillance and incident recording
12 COMPLETE NAVIGATION SOLUTION • Real-time positioning and fleet tracking
By combining all the techniques for odometry, spot • Asset management
location and curvature measurement a complete • Operational applications
navigation solution can be implemented using only
video positioning information. For example, the positioning information can
provide track specific location in a signalbox or
Precise positioning can be obtained using control centre that is more precise than a track
trackside marker boards, eg for platform stopping. circuit berth. Such information is useful not only for
High integrity odometry information can be used passenger information, but also for newer
for communications based train control systems. applications, such as energy efficient driving or
This can be supplemented by curvature train scheduling through capacity limiting switches
measurement and a simple track diagram for track and crossings.
specific location.
We anticipate that the first commercial products
Other positioning related requirements can also be employing video positioning technology will be
fulfilled. For example the video odometry available in the second half of 2011.
technique provides an accurate positive
measurement, even when the train is stationary. 14 CONCLUSION
This makes it a powerful technique for standstill
and cold movement detection. It can also This paper has described the operation of a
distinguish forward from reverse movement, eg for revolutionary new system for train positioning,
rollback detection. termed the Video Train Positioning System.

IRSE Australasia Technical Meeting: Sydney Page 7 of 8 18 March 2011


IRSE Australasia Video Train Positioning

Using a camera mounted in the cab, the system


uses image processing for three key functions:
Richard Shenton is the Managing Director of the
• video odometry UK company Reliable Data Systems. He has
worked in railway telecommunications and
• spot location
signalling for about 20 years. He was Director of
• curvature measurement. Rail Business at the Smith Group (now part of
BAE Systems Ltd) and the Principal Design
The measurements can be made with a high
Engineer for GSM-R for Network Rail.
degree of integrity for use in train control systems.
Since the early 1990s, he has been heavily
In addition, the functions can be combined into a
involved in the development and adoption of
complete positioning solution for operational
GSM-R technology for European railways.
applications, encompassing train control, platform
stopping, standstill detection and train integrity. He is a member of the IRSE, and has an MA in
Mathematics from Oxford University and an MBA
The technology offers the opportunity for an
from the TRIUM programme (a joint programme of
industry quantum step in the affordability and
the London School of Economics, New York
performance of train detection and positioning
University and HEC, Paris).
systems.

IRSE Australasia Technical Meeting: Sydney Page 8 of 8 18 March 2011

You might also like