TECHNICAL FIELD

The present invention relates to a motor control device.

BACKGROUND ART

Hybrid vehicles and electric vehicles using a motor as a power source have been known, and in a motor control system mounted to such an electric vehicle, motor drive control using an inverter is normally performed.

In the motor drive control, a current command value required to drive the motor is calculated according to a torque command value from a host, and feedback control is performed so that a current actually flowing through the motor matches the current command value.

The torque command value is calculated by a host controller based on the position of an accelerator or a brake (the amount of depression) detected by a position sensor or the like. The current flowing through the motor is detected by a current sensor provided on a power line connecting the inverter and the motor.

As a conventional technology, a vector control device for an induction motor has been known (for example, see PTL 1). PTL 1 discloses that vector control is used to control a motor, and a sum of a motor voltage generation value by feedforward control and a motor voltage generation value by feedback control is controlled as a voltage generation value of a motor.

CITATION LIST

Patent Literature

PTL 1: JP 3520002 B2

SUMMARY OF INVENTION

Technical Problem

PTL 1 does not make any mention of the behavior when any spike noise is applied to a current sensor. In the technique as disclosed in PTL 1, when spike noise is generated, current feedback control is performed using a detected current to which the noise is applied, and there is a problem that a sudden change in motor drive current, and therefore a sudden change in torque are caused.

An object of the present invention is to provide a motor control device capable of suppressing a sudden change in torque due to spike noise.

Solution to Problem

In order to achieve the above object, according to the present invention, there is provided a motor control device that continues motor control using a current command value or a detection current value before a current supplied to a motor changes suddenly instead of a latest detection current value when the current changes suddenly.

Advantageous Effects of Invention

According to the present invention, a sudden change in torque due to spike noise can be suppressed. Problems, configurations, and effects other than those described above will be clarified by the following description of an embodiment.

