by detecting the commutation time of the sensor