Enhancement of current collection through real-time implementation of control strategies for active pantograph