The Use of Embedded Diagnostic Systems for Ensuring Safe and Energy-efficient Driving of a Locomotive | IEEE Conference Publication | IEEE Xplore