Fault-tolerant internal permanent magnet generation system used in aviation engines