When the generator is first started, there is a small amount of residual magnetism in the rotor winding. This residual magnetism is due to the fact that the rotor winding is made of ferromagnetic material, which retains a small amount of magnetism even when there is no current flowing through it. The prime mover (usually a diesel engine or a turbine) rotates the rotor of the generator. As the rotor rotates, the residual magnetism in the rotor winding induces an electromotive force (EMF) in the stator winding. The EMF induced in the stator winding is proportional to the speed of rotation of the rotor and the strength of the residual magnetism.
The EMF induced in the stator winding is fed to the automatic voltage regulator (AVR). The AVR rectifies the AC voltage from the stator winding and uses it to excite the rotor winding. The DC current from the AVR flows through the rotor winding, creating a magnetic field. This magnetic field interacts with the residual magnetism in the rotor winding, creating a stronger magnetic field. The stronger magnetic field induces a higher EMF in the stator winding.
The process of self-excitation continues until the generator reaches its rated voltage. At this point, the AVR reduces the excitation current to maintain the generator voltage at the desired level.