Text this: Unified control structure of multi-type interior permanent magnet motor