Text this: Rail surface identification and adhesion control based on dynamic adhesion characteristics