CN-114982126-B - Motor control device
Abstract
A motor control device (40) controls the driving of a motor (10) having a motor winding (11), and is provided with an angle calculation unit (51), a drive control unit (53), and an abnormality diagnosis unit (58). An angle calculation unit (51) acquires a detection value from a rotation angle sensor (13) that detects the rotation angle of the motor (10), and calculates the motor rotation angle. A drive control unit (53) controls the drive of the motor (10) based on the motor rotation angle. When an abnormality of the motor rotation angle is detected during the driving of the motor (10), an abnormality diagnosis unit (58) diagnoses an abnormality of the energization system while maintaining the energized state.
Inventors
- SAKAGUCHI KOJI
Assignees
- 株式会社电装
Dates
- Publication Date
- 20260512
- Application Date
- 20210119
- Priority Date
- 20200122
Claims (5)
- 1. A motor control device for controlling the driving of a motor having a motor winding, comprising: a driving circuit having a switching element, and A control unit having an angle calculation unit, a drive control unit, and an abnormality diagnosis unit, The angle calculation unit obtains a detection value from a rotation angle sensor that detects a rotation angle of the motor, calculates a motor rotation angle, The drive control section controls the driving of the motor based on the motor rotation angle, The abnormality diagnosis unit performs abnormality diagnosis of an energization system in a state in which an energization state is maintained when an abnormality of the motor rotation angle is detected during driving of the motor; the abnormality of the energization system is an non-conduction abnormality caused by an open failure of the switching element, The abnormality diagnosis unit, when an abnormality of the motor rotation angle is detected during driving of the motor, determines whether the detected abnormality of the motor rotation angle is an abnormality due to an abnormality of the rotation angle sensor or an off-state abnormality due to an open failure of the switching element, based on a terminal voltage of the motor winding in a state where an energized state at the time of the detection of the abnormality is maintained, before entering control not using the motor rotation angle.
- 2. The motor control device according to claim 1, wherein, When the abnormality of the motor rotation angle is caused by the abnormality of the rotation angle sensor, the drive control unit switches to control not to use the motor rotation angle, and continues the driving of the motor.
- 3. The motor control device according to claim 1 or 2, wherein, When the abnormality of the motor rotation angle is generated due to an abnormality of the energization system, the drive control unit cuts off energization to the motor.
- 4. The motor control device according to claim 1 or 2, wherein, When abnormality of the motor rotation angle is detected, if the terminal voltage of an energization indication phase, which is a phase indicating energization, is different from that at normal time, the abnormality of the motor rotation angle is generated due to abnormality of the energization system, and the abnormality diagnosis unit determines the energization indication phase as a failure phase.
- 5. The motor control device according to claim 4, wherein, The drive control unit switches to control to drive the motor not using the faulty phase but using a normal phase other than the faulty phase, and continues the driving of the motor.
Description
Motor control device Cross Reference to Related Applications The present application is based on Japanese patent application No. 2020-008475 filed on 1 month 22 of 2020, the contents of which are incorporated herein by reference. Technical Field The present disclosure relates to a motor control device. Background Heretofore, a shift range switching device is known that switches a shift range by controlling the driving of an actuator. For example, in patent document 1, a disconnection diagnosis is performed by an initial check before a shift is performed on a shift range. Prior art literature Patent literature Patent document 1 Japanese patent application laid-open No. 2019-71726 Disclosure of Invention In patent document 1, a failure that cannot be known without energization, such as a failure to turn off a switching element, is implemented at a timing when a motor is not required to be driven. Therefore, in the case of recovery from a failure of one, it cannot be diagnosed. The purpose of the present disclosure is to provide a motor control device that can appropriately detect abnormalities. The motor control device controls driving of a motor having a motor winding, and includes an angle calculation unit, a drive control unit, and an abnormality diagnosis unit. The angle calculation unit obtains a detection value from a rotation angle sensor that detects a rotation angle of the motor, and calculates a motor rotation angle. The drive control unit controls the drive of the motor based on the motor rotation angle. When an abnormality of the motor rotation angle is detected during the driving of the motor, the abnormality diagnosis unit performs abnormality diagnosis of the energization system while maintaining the energized state. This makes it possible to appropriately distinguish whether an abnormality in the motor rotation angle generated during motor driving is caused by an abnormality in the rotation angle sensor or by an abnormality in the energization system. Drawings The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description with reference to the accompanying drawings. The drawings are as follows: fig. 1 is a perspective view showing a shift-by-wire system of a first embodiment; Fig. 2 is a schematic configuration diagram showing a shift-by-wire system of the first embodiment; fig. 3 is a circuit diagram illustrating the ECU of the first embodiment; fig. 4 is a flowchart illustrating the abnormality detection processing of the first embodiment; Fig. 5 is a flowchart illustrating a drive mode selection process of the first embodiment; fig. 6 is a timing chart illustrating motor drive control of the first embodiment; Fig. 7 is a timing chart illustrating motor drive control of the first embodiment; fig. 8 is a flowchart illustrating a driving mode selection process of the second embodiment; Fig. 9 is a timing chart illustrating motor drive control of the second embodiment. Detailed Description < First embodiment > The motor control device will be described below with reference to the drawings. In the following, in the embodiments, substantially the same structures are denoted by the same reference numerals, and description thereof is omitted. Fig. 1 to 7 show a motor control device according to a first embodiment. As shown in fig. 1 and 2, the shift-by-wire system 1 includes a motor 10, a shift position switching mechanism 20, a parking lock mechanism 30, an ECU40 as a motor control device, and the like. The motor 10 is rotated by being supplied with electric power from a battery mounted on the vehicle, not shown, and functions as a drive source of the shift range switching mechanism 20. The motor 10 of the present embodiment is a switched reluctance motor, and includes a motor winding 11 wound around a stator, not shown. The motor winding 11 includes a U-phase winding 111, a V-phase winding 112, and a W-phase winding 113, and is connected together by a connection portion 115 (see fig. 3). As shown in fig. 2, an encoder 13 as a rotation angle sensor detects the rotation position of a rotor, not shown, of the motor 10. The encoder 13 is, for example, a magnetic rotary encoder, and is composed of a magnet integrally rotating with a rotor, a hall IC for magnetic detection, and the like. The encoder 13 outputs a pulse signal, i.e., an encoder signal, at predetermined angle intervals in synchronization with the rotation of the rotor. The speed reducer 14 is provided between the motor shaft of the motor 10 and the output shaft 15, and reduces the rotation of the motor 10 and outputs the reduced rotation to the output shaft 15. Thereby, the rotation of the motor 10 is transmitted to the shift range switching mechanism 20. The output shaft 15 is provided with an output shaft sensor 16 that detects the angle of the output shaft 15. The output shaft sensor 16 is, for example, a potentiometer. As shown in fig. 1, the shift posit