Safe Approach of Trains Into Terminal Stations