Text this: A comparative study of the Z-N, adaptation law and PSO methods of tuning the PID controller of a synchronous machine