Magnetic Field Weakening and Capacitor Discharge