High-speed PC-based CAD for motor drives