Optimal gain tuning of PI speed controller in induction motor drives using particle swarm optimization