Electrostatic generators produce high voltages but have low power ratings and are not used commercially. Electromagnetic generators convert mechanical energy to electrical energy using the principle of electromagnetic induction. The basic parts of a generator are the magnetic frame, pole cores and shoes, field coils, armature core, armature winding, commutator, and brushes. As the armature rotates in the magnetic field created by the poles, a voltage is induced in the armature coils. The commutator and brushes direct the current produced to the external circuit. Synchronous generators use a rotating magnetic field to induce current, while asynchronous generators operate slightly slower than the grid frequency.