Measurement of train speed based on the cross-correlation of accelerometers signals