Fictions of a commutator in a dc machine

A commutator in a DC machine is a mechanical device that reverses the direction of current in the armature windings. It consists of a set of copper segments mounted on a rotating shaft, with each segment connected to a different winding. As the shaft rotates, the commutator reverses the direction of current in the windings, allowing the machine to produce a continuous DC output.