A novel interior permanent magnet motor design with a self-activated flux-weakening device for automotive applications