Commutation is a term which refers to the action of steering currents or voltages to the proper motor phases so as to produce optimum motor torque. In brush type motors, commutation is done electromechanically via the brushes and commutator. In brushless motors, commutation is done by the switching electronics using rotor position information obtained by Hall sensors, a tachometer, or resolver.