Proportional Integral Derivative (PID) controllers are widely used in
many fields because they are simple and effective. Tuning of the PID
controller parameters is not easy and does not give the optimal required
response, especially with non-liner system. In the last two decades many
intelligent optimization techniques were took attention of researchers like:Genetic Algorithm (GA) and Particle Swarm Optimization (PSO) techniques. This paper represented the non-linear mathematical model and simulation of the synchronous generator with closed loop PID controller of AVR system. The traditional PID tuning technique is proposed as a point of comparison. Two of intelligent optimization techniques: PSO and GA are proposed in this paper to tune the PID controller parameters. The obtained results of the closed loop PSO-PID and GA-PID controller response to the unit step input signal shows excellent performance with respect to the traditional trial and
error tuning of the PID controller.