Text this: Development of a new method of diagnostics electromagnetic drive power and commutation mechanisms