Tracking train tracks

Estimated track in red compared with the camera image in blue. As the train shakes, so does the camera.

To increase the number of trains running on each track we have to be able to accurately locate every train, at each moment. GPS can be unreliable because of the multitude of tunnels, so we looked at using a camera mounted on top of the train pointed down at the tracks. From the image of this camera an on-board computer can locate the train’s location.

At least that is the theory. One major difficulty is that the train shakes unpredictably, which the camera sees as the track moving and changing shape unpredictably. To eliminate these errors we formulated an optimisation method for each frame. This method attempts to separate the errors due to shaking from the tracks real curvature. On the right is the result of the method taking what the camera sees, the blue tracks, and returning the real position of the tracks, in red.

The figures below show how well our method recovers the track curvature compared with the real curvature.

Above we see the estimated planar curvature $\alpha$ and vertical curvature $\beta$, both in black, compared to the real curvatures $\alpha^* $ and $\beta^* $ in green.

Avatar
Artur L Gower
Lecturer in Dynamics

Art Gower is a lecturer at the University of Sheffield and part of the Dynamics group. He uses maths to understand waves (sound and light) in materials. Sometimes computers show him that his maths is wrong.

Related