A new platform for real time testing of electrical drive digital control