Speed Control of Induction Motors and Synchronous Motors