The PID controllers are the most commonly used controller structures in industry. The main challenge is in the aspect of tuning of the gains. There are several traditional techniques introduced by Ziegler and Nichols but it is inefficient. In this thesis, it is proposed that the PID controller tuned based on the Artificial Intelligence techniques (the GAs, the Improved GAs and finally the PSO). Then applied all techniques to different applications (DC-Motor and AVR System), from the results the techniques based on Artificial intelligence are better than traditional techniques.