Basic principle of a DC generator is electro-magnetic induction i.e., when a conductor cuts across the magnetic field, an emf is induced in it.
When a conductor is moved vertically upward or downward, the deflection in the galvanometer clearly shows that an emf is induced in the conductor since flux is cut by the conductor.
In fact, in a generator, a coil is rotated at a constant speed of \(\omega\) radians per second in a strong magnetic field of constant magnitude.
An emf is induced in the coil by the phenomenon of dynamically induced emf (\(e =Blv \sin \theta; e \propto \sin \theta\)).
The magnitude and direction of induced emf changes periodically depending upon \(\sin\theta\).
Wave shape of the induced emf is AC for internal as well as external load.
AC is converted into DC with the help of commutator.