Text this: Optimal Design of Photoelectric Rotating-speed Sensor at Axle End of Locomotive