Stator-Flux-Oriented Control of Synchronous Motors: A Systematic Design Procedure