Study of bifurcation and chaos in scalar drive systems of permanent magnet synchronous machines