Design of permanent magnets to chaoize doubly salient PM motors for electric compaction