Six-step commutation of a brushless DC motor from a three-phase inverter, with Hall sensor or sensorless control. (Lecture 5)