摘要 |
PROBLEM TO BE SOLVED: To allow charging using a motor as a charger by bringing a rotor magnet into a demagnetizing state, and thereby to suppress rotational vibration of a rotor by a magnetic field in the charging.SOLUTION: Charging preparation of a controller and the like is performed in S11, a rotor magnet is demagnetized by current-carrying control to a stator winding in S13 when charging is determined to be allowed (a charge switch is on) in S12, and the motor is allowed to be used as a charger. In this state, a battery is charged by an external power source in S14 and S15. When the charging is determined to be completed in S16, the charging is ended in S17, and the rotor magnet is restored to a magnetized state before the demagnetization by current-carrying control to the stator winding in S18. In S19, the motor is driven by normal current-carrying control to the stator winding to run a vehicle. |