Motor control device and electric power steering device
A dual redundant control system in the motor control device ensures continued motor control in electric power steering systems by using separate drive signal generation sections and switches in the main and auxiliary control units, addressing vulnerabilities in existing systems.
Patent Information
- Application Number
- JP2023568813
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-12-21
- Publication Date
- 2024-12-05
- Estimated Expiration
- 2041-12-21
AI Technical Summary
The motor control device in existing electric power steering systems is vulnerable to abnormalities, particularly when an abnormality occurs in the predriver shared by the main and auxiliary control units, leading to potential loss of motor control.
A dual redundant control system is implemented with a motor control device that includes a main control unit and an auxiliary control unit, each equipped with a drive signal generation section and a switch to independently control a motor drive circuit, ensuring continued motor control even if one unit experiences an abnormality.
The system enhances robustness against abnormalities by allowing continued operation of the motor control device, meeting Automotive Safety Integrity Level (ASIL) standards and reducing interference between control units.
Smart Images

Figure 0007594842000001 
Figure 0007594842000002 
Figure 0007594842000003
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a motor control device and an electric power steering device. [Background technology]
[0002] Patent Document 1 discloses an electric power steering device equipped with a motor control device having a main control unit and an auxiliary control unit. By adopting a dual redundant control system in this way, it is possible to continue controlling the motor even if an abnormality occurs in one of the control units. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Special Publication No. 2021-508635 Summary of the Invention [Problem to be solved by the invention]
[0004] In the motor control device described in Patent Document 1, the pre-driver is shared between the main control unit and the auxiliary control unit, so if an abnormality occurs in this pre-driver, there is a possibility that the motor cannot be controlled appropriately.
[0005] The present disclosure has been made in consideration of the above-mentioned circumstances, and has an object to provide a motor control device and an electric power steering device that are more robust against the occurrence of abnormalities. [Means for solving the problem]
[0006] One aspect of a motor control device according to the present disclosure includes a motor drive circuit that outputs a drive current to a motor, a drive current detector that detects the drive current, a main control unit, and an auxiliary control unit, wherein the motor drive circuit is driven based on a drive signal output from the main control unit or the auxiliary control unit, the main control unit has a first control signal generation unit that generates a first control signal based on a current detection signal input from the drive current detector, a first drive signal generation unit that generates the drive signal based on the first control signal, and a first switch that switches the output state of the drive signal to the motor drive circuit, and the auxiliary control unit has a second control signal generation unit that generates a second control signal based on the current detection signal input from the drive current detector, a second drive signal generation unit that generates the drive signal based on the second control signal, and a second switch that switches the output state of the drive signal to the motor drive circuit.
[0007] One aspect of an electric power steering device according to the present disclosure includes the motor control device described above, and the motor that generates an assist torque that assists the steering torque of a steering wheel operated by a driver. Effect of the Invention
[0008] According to the present disclosure, it is possible to provide a motor control device and an electric power steering device that have improved robustness against the occurrence of abnormalities. [Brief description of the drawings]
[0009] [Figure 1] 1 is a block diagram showing an overall configuration of a motor control device according to a first embodiment. [Diagram 2] FIG. 11 is a block diagram showing the overall configuration of a motor control device according to a second embodiment. [Diagram 3] FIG. 11 is a block diagram showing the overall configuration of a motor control device according to a third embodiment. [Figure 4] FIG. 11 is a block diagram showing the overall configuration of a motor control device according to a fourth embodiment. [Diagram 5]FIG. 13 is a block diagram showing the overall configuration of a motor control device according to a fifth embodiment. [Figure 6] FIG. 13 is a block diagram showing the overall configuration of a motor control device according to a seventh embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. Note that the scope of the present disclosure is not limited to the following embodiments, and may be modified as desired within the scope of the technical concept of the present disclosure.
[0011] Embodiment 1 1, a motor control device 100 according to the first embodiment includes a main control unit A1, an auxiliary control unit A2, a motor drive circuit 5, a current detection unit 7, and a current input I / F 8. In this specification, "I / F" is an abbreviation for interface. The motor control device 100 is configured as a dual redundant control system including a first control system (main control unit A1) and a second control system (auxiliary control unit A2). The motor control device 100 is a part of an electric power steering device mounted on an automobile. The motor control device 100 controls a motor 6 provided in the electric power steering device. The motor 6 is connected to a steering system (not shown).
[0012] As shown in Fig. 1, the main control unit A1 includes a first microcomputer 1a, a first pre-driver 2a, a first signal cutoff switch 3a, and a first switch control unit 4a. The auxiliary control unit A2 includes a second microcomputer 1b, a second pre-driver 2b, a second signal cutoff switch 3b, and a second switch control unit 4b. The first microcomputer 1a corresponds to the first control signal generating unit, and the second microcomputer 1b corresponds to the second control signal generating unit. The first pre-driver 2a corresponds to the first drive signal generating unit, and the second pre-driver 2b corresponds to the second drive signal generating unit.
[0013] The motor drive circuit 5 includes six switching transistors Q1 to Q6 and three shunt resistors R1 to R3. The switching transistors Q1 to Q6 are a type of switching element. Note that switching elements other than switching transistors may also be used. The motor drive circuit 5 is configured to drive the motor 6 by switching between supplying and stopping the drive current to the motor 6 through the multiple switching transistors Q1 to Q6.
[0014] Motor 6 has three input terminals (U-phase input terminal, V-phase input terminal, and W-phase input terminal). Motor drive circuit 5 inputs three-phase drive currents (U-phase drive current, V-phase drive current, and W-phase drive current) to the three input terminals of motor 6, respectively. This drives motor 6. That is, motor 6 in this embodiment is a three-phase DC motor.
[0015] The motor 6 is a source of assist torque that assists the driver in steering the vehicle. That is, the motor 6 generates an assist torque that assists the driver in steering the vehicle with a smaller steering torque.
[0016] The first microcomputer 1a generates six gate control signals for controlling the motor 6 based on a control program stored in advance. The first microcomputer 1a is a chip that integrates a storage unit that stores the control program, a calculation unit that executes calculations based on the control program, and the like. The first microcomputer 1a has at least six output terminals and three input terminals. The number of output terminals and input terminals in each component can be changed as appropriate. There may be an output terminal or an input terminal that is not connected to other components.
[0017] The six output terminals of the first microcomputer 1a are connected to the first pre-driver 2a. The first microcomputer 1a outputs six gate control signals to the first pre-driver 2a through the six output terminals. The three input terminals of the first microcomputer 1a are connected to the current input I / F 8. Current detection signals corresponding to three phases (U phase, V phase, and W phase) are input from the current input I / F 8 to the first microcomputer 1a through the three input terminals.
[0018] Here, the six gate control signals described above correspond to the six switching transistors Q1 to Q6 in the motor drive circuit 5. In the following, the control signal corresponding to the switching transistor Q1 will be referred to as the gate control signal S1, the control signal corresponding to the switching transistor Q2 as the gate control signal S2, the control signal corresponding to the switching transistor Q3 as the gate control signal S3, the control signal corresponding to the switching transistor Q4 as the gate control signal S4, the control signal corresponding to the switching transistor Q5 as the gate control signal S5, and the control signal corresponding to the switching transistor Q6 as the gate control signal S6.
[0019] The first pre-driver 2a is a gate driver that generates six gate signals Sg1-Sg6 based on six gate control signals S1-S6. The first pre-driver 2a may be one IC (Integrated Circuit). The voltages of the gate control signals S1-S6 generated by the first microcomputer 1a are insufficient to operate the switching transistors Q1-Q6. For this reason, the first pre-driver 2a generates gate signals Sg1-Sg6 having a voltage sufficient to operate the switching transistors Q1-Q6 based on the gate control signals S1-S6. Each of the gate signals Sg1-Sg6 corresponds to each of the gate control signals S1-S6.
[0020] As shown in Fig. 1, the first pre-driver 2a has six input terminals and six output terminals. The six input terminals are respectively connected to six output terminals of the first microcomputer 1a and receive the gate control signals S1 to S6. The six output terminals are connected to the first signal cut-off switch 3a and output corresponding gate signals Sg1 to Sg6 to the first signal cut-off switch 3a.
[0021] The first signal cutoff switch 3a has six open / close switches corresponding to the gate signals Sg1 to Sg6. The first signal cutoff switch 3a also has six input terminals and six output terminals corresponding to the open / close switches. The first signal cutoff switch 3a also has one control input terminal. The six input terminals of the first signal cutoff switch 3a are respectively connected to the six output terminals of the first pre-driver 2a, and the gate signals Sg1 to Sg6 are respectively input to the six input terminals.
[0022] The six output terminals of the first signal cut-off switch 3a are connected to the motor drive circuit 5. The first signal cut-off switch 3a outputs six gate signals Sg1 to Sg6 to the motor drive circuit 5 through the six output terminals. One control input terminal of the first signal cut-off switch 3a is connected to the first switch control unit 4a. The first switch control unit 4a inputs a first switching signal to the first signal cut-off switch 3a through this control input terminal.
[0023] The first signal cutoff switch 3a switches the six open / close switches between open and closed states based on the first switching signal. In this way, the first signal cutoff switch 3a is a changeover switch that switches the output state (output / non-output) of the gate signals Sg1 to Sg6 from the main control unit A1 to the motor drive circuit 5 based on the first switching signal.
[0024] The first switch control unit 4a is a signal generating circuit that generates a first switching signal for the first signal cut-off switch 3a and has one output terminal. The first switch control unit 4a outputs the first switching signal to the control input terminal of the first signal cut-off switch 3a.
[0025] The second microcomputer 1b generates six gate control signals S1 to S6 for controlling the motor 6 based on a prestored control program. The second microcomputer 1b is a chip that integrates a storage unit that stores the control program, a calculation unit that executes calculations based on the control program, and the like. The control program of the second microcomputer 1b is the same as the control program of the first microcomputer 1a. The second microcomputer 1b has at least six output terminals and three input terminals.
[0026] The six output terminals of the second microcomputer 1b are connected to the second pre-driver 2b. The second microcomputer 1b outputs six gate control signals S1 to S6 to the second pre-driver 2b through the six output terminals. The three input terminals of the second microcomputer 1b are connected to a current input I / F 8. Current detection signals corresponding to three phases (U phase, V phase, and W phase) are input from the current input I / F 8 to the second microcomputer 1b through the three input terminals.
[0027] The second pre-driver 2b is a gate driver that generates six gate signals Sg1-Sg6 based on six gate control signals S1-S6. The second pre-driver 2b may be one IC. The voltages of the gate control signals S1-S6 generated by the second microcomputer 1b are insufficient to operate the switching transistors Q1-Q6. For this reason, the second pre-driver 2b generates the gate signals Sg1-Sg6 having a voltage sufficient to operate the switching transistors Q1-Q6 based on the gate control signals S1-S6.
[0028] The second pre-driver 2b has six input terminals and six output terminals. The six input terminals are respectively connected to six output terminals of the second microcomputer 1b and receive the gate control signals S1 to S6. The six output terminals are connected to the second signal cutoff switch 3b and output the corresponding six gate signals Sg1 to Sg6 to the second signal cutoff switch 3b.
[0029] The second signal cutoff switch 3b has six open / close switches corresponding to the gate signals Sg1 to Sg6. The second signal cutoff switch 3b also has six input terminals and six output terminals corresponding to the open / close switches. The second signal cutoff switch 3b also has one control input terminal. The six input terminals of the second signal cutoff switch 3b are respectively connected to the six output terminals of the second pre-driver 2b, and gate control signals S1 to S6 are respectively input to the six input terminals.
[0030] The six output terminals of the second signal cut-off switch 3b are connected to the motor drive circuit 5. The second signal cut-off switch 3b outputs six gate signals Sg1 to Sg6 to the motor drive circuit 5 through the six output terminals. One control input terminal of the second signal cut-off switch 3b is connected to the second switch control unit 4b. The second switch control unit 4b inputs a second switching signal to the second signal cut-off switch 3b through this control input terminal.
[0031] The second signal cutoff switch 3b switches the six open / close switches between open and closed states based on the second switching signal. In this way, the second signal cutoff switch 3b is a changeover switch that switches the output state (output / non-output) of the gate signals Sg1 to Sg6 from the auxiliary control unit A2 to the motor drive circuit 5 based on the second switching signal.
[0032] The second switch control unit 4b is a signal generating circuit that generates a second switching signal for the second signal cut-off switch 3b and has one output terminal. The second switch control unit 4b outputs the second switching signal to the control input terminal of the second signal cut-off switch 3b.
[0033] The six output terminals of the second signal cutoff switch 3b are connected to the corresponding output terminals of the first signal cutoff switch 3a, respectively. That is, the main control unit A1 and the auxiliary control unit A2 are connected to the motor drive circuit 5 so that the gate signals Sg1 to Sg6 can be input to the motor drive circuit 5 from either of them.
[0034] When the main control unit A1 is operating, six gate signals Sg1 to Sg6 are input from the first signal cutoff switch 3a to the motor drive circuit 5. When the auxiliary control unit A2 is operating, six gate signals Sg1 to Sg6 are input from the second signal cutoff switch 3b to the motor drive circuit 5.
[0035] The motor drive circuit 5 is a three-phase inverter and has three switching legs corresponding to the U, V, and W phases, respectively. Hereinafter, the switching leg corresponding to the U phase is referred to as the U-phase leg, the switching leg corresponding to the V phase is referred to as the V-phase leg, and the switching leg corresponding to the W phase is referred to as the W-phase leg. The motor drive circuit 5 is controlled based on six gate signals Sg1 to Sg6 input from the main control unit A1 or the auxiliary control unit A2. The motor drive circuit 5 converts DC power of a predetermined voltage (typically 12V) supplied from the vehicle battery 9 into three-phase AC power consisting of the U, V, and W phases, and outputs it to the motor 6.
[0036] The U-phase leg includes a switching transistor Q1 constituting an upper arm, a switching transistor Q2 constituting a lower arm, and a shunt resistor R1.
[0037] The switching transistor Q1 is a MOS transistor and has a gate terminal, a source terminal, and a drain terminal. The gate terminal of the switching transistor Q1 is connected to the output terminal of the first signal cutoff switch 3a and the output terminal of the second signal cutoff switch 3b. The gate terminal of the switching transistor Q1 receives a gate signal Sg1 from the first signal cutoff switch 3a or the second signal cutoff switch 3b.
[0038] A source terminal of the switching transistor Q1 is connected to a drain terminal of the switching transistor Q2 and a U-phase input terminal of the motor 6. A drain terminal of the switching transistor Q1 is connected to an external battery 9.
[0039] The switching transistor Q2 is a MOS transistor and has a gate terminal, a source terminal, and a drain terminal. The gate terminal of the switching transistor Q2 is connected to the output terminal of the first signal cutoff switch 3a and the output terminal of the second signal cutoff switch 3b. The gate terminal of the switching transistor Q2 receives a gate signal Sg2 from the first signal cutoff switch 3a or the second signal cutoff switch 3b.
[0040] A source terminal of the switching transistor Q2 is connected to one end of the shunt resistor R1 and the current detection unit 7. A drain terminal of the switching transistor Q2 is connected to a source terminal of the switching transistor Q1 and a U-phase input terminal of the motor 6.
[0041] The shunt resistor R1 is connected in series with the upper arm switching transistor Q1 and the lower arm switching transistor Q2. One end of the shunt resistor R1 is connected to the source terminal of the switching transistor Q2 and the current detection unit 7, and the other end is connected to GND (reference potential). A voltage drop corresponding to the U-phase drive current occurs in the shunt resistor R1. The current detection unit 7 obtains a U-phase detection voltage corresponding to the U-phase drive current based on the voltage drop in the shunt resistor R1.
[0042] The V-phase leg includes a switching transistor Q3 constituting an upper arm, a switching transistor Q4 constituting a lower arm, and a shunt resistor R2.
[0043] The switching transistor Q3 is a MOS transistor and has a gate terminal, a source terminal, and a drain terminal. The gate terminal of the switching transistor Q3 is connected to the output terminal of the first signal cutoff switch 3a and the output terminal of the second signal cutoff switch 3b. The gate terminal of the switching transistor Q3 receives a gate signal Sg3 from the first signal cutoff switch 3a or the second signal cutoff switch 3b.
[0044] A source terminal of the switching transistor Q3 is connected to a drain terminal of the switching transistor Q4 and a V-phase input terminal of the motor 6. A drain terminal of the switching transistor Q3 is connected to an external battery 9.
[0045] The switching transistor Q4 is a MOS transistor and has a gate terminal, a source terminal, and a drain terminal. The gate terminal of the switching transistor Q4 is connected to the output terminal of the first signal cutoff switch 3a and the output terminal of the second signal cutoff switch 3b. The gate terminal of the switching transistor Q4 receives a gate signal Sg4 from the first signal cutoff switch 3a or the second signal cutoff switch 3b.
[0046] A source terminal of the switching transistor Q4 is connected to one end of the shunt resistor R2 and the current detection unit 7. A drain terminal of the switching transistor Q4 is connected to a source terminal of the switching transistor Q3 and the V-phase input terminal of the motor 6.
[0047] The shunt resistor R2 is connected in series to the upper arm switching transistor Q3 and the lower arm switching transistor Q4. One end of the shunt resistor R2 is connected to the source terminal of the switching transistor Q4 and the current detection unit 7, and the other end is connected to GND (reference potential). A voltage drop corresponding to the V-phase drive current occurs in the shunt resistor R2. The current detection unit 7 obtains a V-phase detection voltage corresponding to the V-phase drive current based on the voltage drop in the shunt resistor R2.
[0048] The W-phase leg includes a switching transistor Q5 constituting an upper arm, a switching transistor Q6 constituting a lower arm, and a shunt resistor R3.
[0049] The switching transistor Q5 is a MOS transistor and has a gate terminal, a source terminal, and a drain terminal. The gate terminal of the switching transistor Q5 is connected to the output terminal of the first signal cutoff switch 3a and the output terminal of the second signal cutoff switch 3b. The gate terminal of the switching transistor Q5 receives a gate signal Sg5 from the first signal cutoff switch 3a or the second signal cutoff switch 3b.
[0050] A source terminal of the switching transistor Q5 is connected to a drain terminal of the switching transistor Q6 and a W-phase input terminal of the motor 6. A drain terminal of the switching transistor Q5 is connected to an external battery 9.
[0051] The switching transistor Q6 is a MOS transistor and has a gate terminal, a source terminal, and a drain terminal. The gate terminal of the switching transistor Q6 is connected to the output terminal of the first signal cutoff switch 3a and the output terminal of the second signal cutoff switch 3b. The gate terminal of the switching transistor Q6 receives a gate signal Sg6 from the first signal cutoff switch 3a or the second signal cutoff switch 3b.
[0052] A source terminal of the switching transistor Q6 is connected to one end of the shunt resistor R3 and the current detection unit 7. A drain terminal of the switching transistor Q6 is connected to a source terminal of the switching transistor Q5 and the W-phase input terminal of the motor 6.
[0053] The shunt resistor R3 is connected in series to the upper arm switching transistor Q5 and the lower arm switching transistor Q6. One end of the shunt resistor R3 is connected to the source terminal of the switching transistor Q6 and the current detection unit 7, and the other end is connected to GND (reference potential). A voltage drop corresponding to the W-phase drive current occurs in the shunt resistor R3. The current detection unit 7 obtains a W-phase detection voltage corresponding to the W-phase drive current based on the voltage drop in the shunt resistor R3.
[0054] The current detection unit 7 is a detection circuit that detects the U-phase drive current, the V-phase drive current, and the W-phase drive current based on the U-phase detection voltage, the V-phase detection voltage, and the W-phase detection voltage. In this specification, the drive currents of the phases detected by the current detection unit 7 are collectively referred to as the "detected currents." The current detection unit 7 has three input terminals and three output terminals. The three input terminals of the current detection unit 7 are respectively connected to one terminal of the three shunt resistors R1 to R3, and the U-phase detection voltage, the V-phase detection voltage, and the W-phase detection voltage are respectively input thereto. The three output terminals of the current detection unit 7 are respectively connected to the current input I / F 8.
[0055] The current input I / F 8 is provided between the current detection unit 7 and the microcomputers 1a, 1b, and has three input terminals and three output terminals. The three input terminals of the current input I / F 8 are respectively connected to the three output terminals of the current detection unit 7. Detection currents relating to the U-phase drive current, the V-phase drive current, and the W-phase drive current are input from the current detection unit 7 to the three input terminals of the current input I / F 8, respectively.
[0056] The current input I / F 8 generates a U-phase transformation current signal, a V-phase transformation current signal, and a W-phase transformation current signal corresponding to the detected currents of the U-phase drive current, the V-phase drive current, and the W-phase drive current, respectively. In this specification, the above signals generated by the current input I / F 8 are collectively referred to as "current detection signals." In other words, the current input I / F 8 is an interface circuit that generates the current detection signal, which is a digital signal, based on the detection current, which is an analog value detected by the current detection unit 7. The three output terminals of the current input I / F 8 are connected to the three input terminals of the microcomputers 1a and 1b, respectively. The current input I / F 8 outputs a U-phase transformation current signal, a V-phase transformation current signal, and a W-phase transformation current signal to the microcomputers 1a and 1b through the three output terminals.
[0057] 1, a power supply circuit for voltage conversion is connected to the battery 9. The main control unit A1, the auxiliary control unit A2, the current detection unit 7, and the current input I / F 8 operate on a power supply voltage (e.g., 5 V) supplied from the power supply circuit.
[0058] The first signal cutoff switch 3a and the first switch control unit 4a constitute a first switch 100b, and the second signal cutoff switch 3b and the second switch control unit 4b constitute a second switch 100c. Furthermore, the current detection unit 7 and the current input I / F 8 constitute a drive current detector 100a.
[0059] Next, the operation of the motor control device 100 and the electric power steering device according to the first embodiment configured as described above will be described.
[0060] In main control unit A1, first microcomputer 1a calculates target values (target currents) of U-phase drive current, V-phase drive current, and W-phase drive current to be passed through motor 6. Current detection unit 7 detects the U-phase drive current, V-phase drive current, and W-phase drive current that actually flow through motor 6 as detected currents, and outputs them to first microcomputer 1a via current input I / F 8. Then, first microcomputer 1a generates gate control signals S1 to S6 so that the target currents and the detected currents match, and outputs them to first pre-driver 2a.
[0061] The first pre-driver 2a generates gate signals Sg1-Sg6 based on the gate control signals S1-S6 and outputs them to the motor drive circuit 5 via the first signal cut-off switch 3a. The motor drive circuit 5 supplies a U-phase drive current, a V-phase drive current and a W-phase drive current to the motor 6 based on the gate signals Sg1-Sg6, thereby driving the motor 6 to rotate.
[0062] In the auxiliary control unit A2, the second microcomputer 1b calculates target values (target currents) of the U-phase drive current, V-phase drive current, and W-phase drive current to be passed through the motor 6. Furthermore, the current detection unit 7 detects the U-phase drive current, V-phase drive current, and W-phase drive current that actually flow through the motor 6 as detected currents, and outputs them to the second microcomputer 1b via the current input I / F 8. Then, the second microcomputer 1b generates gate control signals S1 to S6 so that the target currents and the detected currents match, and outputs them to the second pre-driver 2b.
[0063] The second pre-driver 2b generates gate signals Sg1-Sg6 based on the gate control signals S1-S6 and outputs them to the motor drive circuit 5 via the second signal cut-off switch 3b. The motor drive circuit 5 supplies a U-phase drive current, a V-phase drive current and a W-phase drive current to the motor 6 based on the gate signals Sg1-Sg6, thereby driving the motor 6 to rotate.
[0064] Here, the first signal cutoff switch 3a in the main control unit A1 controls the output state (output / non-output) of the gate signals Sg1 to Sg6 by a first switching signal input from a first switch control section 4a, and the second signal cutoff switch 3b in the auxiliary control unit A2 controls the output state (output / non-output) of the gate signals Sg1 to Sg6 by a second switching signal input from a second switch control section 4b.
[0065] When the second signal cut-off switch 3b in the auxiliary control unit A2 is outputting the gate signals Sg1 to Sg6 to the motor drive circuit 5, the first signal cut-off switch 3a in the main control unit A1 cuts off the output of the gate signals Sg1 to Sg6 to the motor drive circuit 5, thereby preventing the control of the motor 6 by the auxiliary control unit A2 from being hindered.
[0066] On the other hand, when the first signal cut-off switch 3a in the main control unit A1 is outputting the gate signals Sg1 to Sg6 to the motor drive circuit 5, the second signal cut-off switch 3b in the auxiliary control unit A2 cuts off the output of the gate signals Sg1 to Sg6 to the motor drive circuit 5, thereby preventing the control of the motor 6 by the main control unit A1 from being hindered.
[0067] That is, the motor drive circuit 5 drives and rotates the motor 6 by generating a U-phase drive current, a V-phase drive current and a W-phase drive current based on the gate signals Sg1 to Sg6 input from either the main control unit A1 or the auxiliary control unit A2.
[0068] As described above, the motor control device 100 according to the first embodiment includes the motor drive circuit 5 that outputs a drive current to the motor 6, the drive current detector 100a that detects the drive current, the main control unit A1, and the auxiliary control unit A2. The motor drive circuit 5 is driven based on drive signals (gate signals Sg1 to Sg6) output from the main control unit A1 or the auxiliary control unit A2. The main control unit A1 includes a first control signal generation section (first microcomputer 1a) that generates first control signals (gate control signals S1 to S6) based on current detection signals (U-phase transformation current signal, V-phase transformation current signal, and W-phase transformation current signal) input from the drive current detector 100a. The auxiliary control unit A2 has a first drive signal generating unit (first pre-driver 2a) that generates a drive signal based on a signal, and a first switch 100b that switches the output state of the drive signal to the motor drive circuit 5, and the auxiliary control unit A2 has a second control signal generating unit (second microcomputer 1b) that generates second control signals (gate control signals S1 to S6) based on the current detection signal (U-phase conversion current signal, V-phase conversion current signal and W-phase conversion current signal) input from the drive current detector 100a, a second drive signal generating unit (second pre-driver 2b) that generates drive signals (gate signals Sg1 to Sg6) based on the second control signals, and a second switch 100c that switches the output state of the drive signal to the motor drive circuit 5.
[0069] According to the motor control device 100, a drive signal generating section and a switch are provided for each of the control units A1 and A2. Therefore, even if an abnormality occurs in one of the drive signal generating sections provided in each of the control units A1 and A2, the control of the motor 6 can be continued using the other drive signal generating section. This makes it possible to provide a motor control device 100 with improved robustness against abnormality occurrence. In particular, the inventors of the present application have found that failure of the pre-driver accounts for a large proportion of the causes of abnormalities in the motor control device. Therefore, when a pre-driver is used as the drive signal generating section, the configuration of the motor control device 100 in this embodiment exhibits excellent effects. According to the motor control device 100 and power steering device of this embodiment, it is also possible to meet, for example, the C level of the Automotive Safety Integrity Level (ASIL).
[0070] Also, according to the first embodiment, the main control unit A1 is provided with the first pre-driver 2a, the first signal cut-off switch 3a, and the first switch control unit 4a, and the auxiliary control unit A2 is provided with the second pre-driver 2b, the second signal cut-off switch 3b, and the second switch control unit 4b. According to this configuration, when the main control unit A1 drives the motor 6, the output from the auxiliary control unit A2 can be cut off using the second signal cut-off switch 3b. Therefore, it is possible to avoid the main control unit A1 from being prevented from driving the motor 6. Also, it is possible to suppress the occurrence of voltage shortage and delay of the drive signal caused by the output from the auxiliary control unit A2 being routed to the main control unit A1. Similarly, when the auxiliary control unit A2 drives the motor 6, the output from the main control unit A1 can be cut off using the first signal cut-off switch 3a. Therefore, it is possible to avoid the occurrence of voltage shortage and delay of the drive signal caused by the output from the main control unit A1 being routed to the auxiliary control unit A2. Also, it is possible to suppress the occurrence of voltage shortage and delay of the drive signal caused by the output from the main control unit A1 being routed to the auxiliary control unit A2.
[0071] Embodiment 2 Next, a motor control device 100 and an electric power steering device according to a second embodiment will be described. The basic configuration of the motor control device 100 and the electric power steering device according to this embodiment is similar to that of the first embodiment, so differences will be mainly described. Note that components similar to those in the first embodiment will be denoted by the same reference numerals, and descriptions thereof will be omitted.
[0072] 2, the motor control device 100 according to the second embodiment includes a main control unit B1 and an auxiliary control unit B2. The main control unit B1 includes a first microcomputer 1a2 instead of the first microcomputer 1a of the first embodiment, and a first switch control unit 4a2 instead of the first switch control unit 4a. The auxiliary control unit B2 includes a second microcomputer 1b2 instead of the second microcomputer 1b of the first embodiment, and a second switch control unit 4b2 instead of the second switch control unit 4b.
[0073] Moreover, the main control unit B1 has a first microcomputer monitoring unit 10a added to the main control unit A1 in the embodiment 1. The auxiliary control unit B2 has a second microcomputer monitoring unit 10b added to the auxiliary control unit A2 in the embodiment 1.
[0074] The first microcomputer 1a2 has two output terminals and one input terminal in addition to the six output terminals and three input terminals of the first microcomputer 1a of the embodiment 1. One output terminal of the first microcomputer 1a2 is connected to the first microcomputer monitoring unit 10a. The first microcomputer 1a2 outputs a signal (first operating state signal) indicating the operating state of the first microcomputer 1a2 to the first microcomputer monitoring unit 10a through this output terminal.
[0075] Furthermore, one output terminal of the first microcomputer 1a2 is connected to the first switch control unit 4a2. The first microcomputer 1a2 outputs a first output instruction signal to the first switch control unit 4a2 through this output terminal. The first output instruction signal is a signal that causes the first switch control unit 4a2 to output a first switching signal that sets the first signal cut-off switch 3a to a conductive state.
[0076] Furthermore, one input terminal of the first microcomputer 1a2 is connected to the second microcomputer monitoring unit 10b. A second abnormality signal is input from the second microcomputer monitoring unit 10b to the first microcomputer 1a2 through this input terminal. The first microcomputer 1a2 recognizes an abnormality in the second microcomputer 1b2 based on the second abnormality signal.
[0077] The second microcomputer 1b2 has two output terminals and one input terminal in addition to the six output terminals and three input terminals of the second microcomputer 1b of the first embodiment. One output terminal of the second microcomputer 1b2 is connected to the second microcomputer monitoring unit 10b. The second microcomputer 1b2 outputs a signal (second operating state signal) indicating the operating state of the second microcomputer 1b2 to the second microcomputer monitoring unit 10b through this output terminal.
[0078] One output terminal of the second microcomputer 1b2 is connected to the second switch control unit 4b2. The second microcomputer 1b2 outputs a second output instruction signal to the second switch control unit 4b2 through this output terminal. The second output instruction signal is a signal that causes the second switch control unit 4b2 to output a second switching signal that sets the second signal cut-off switch 3b to a conductive state.
[0079] Furthermore, one input terminal of the second microcomputer 1b2 is connected to the first microcomputer monitoring unit 10a. A first abnormality signal is input from the first microcomputer monitoring unit 10a to the second microcomputer 1b2 through this input terminal. The second microcomputer 1b2 recognizes an abnormality in the first microcomputer 1a2 based on the first abnormality signal.
[0080] The first microcomputer monitoring unit 10a has one input terminal and one output terminal. The input terminal of the first microcomputer monitoring unit 10a is connected to one output terminal of the first microcomputer 1a2. The output terminal of the first microcomputer monitoring unit 10a is connected to the first switch control unit 4a2 and the second microcomputer 1b2.
[0081] The first microcomputer monitoring unit 10a monitors the operation state of the first microcomputer 1a2 based on a first operation state signal input from the first microcomputer 1a2. When the first microcomputer monitoring unit 10a determines that the first microcomputer 1a2 is in an abnormal operation state, it outputs a first abnormality signal indicating the abnormality to the first switch control unit 4a2 and the second microcomputer 1b2.
[0082] 2, the first microcomputer monitoring unit 10a is depicted as a component separate from the first microcomputer 1a2. However, the first microcomputer monitoring unit 10a may be an internal component of the first microcomputer 1a2. In other words, the first microcomputer monitoring unit 10a may be a functional component realized by a control program previously stored in the first microcomputer 1a2.
[0083] The second microcomputer monitoring unit 10b has one input terminal and one output terminal. The input terminal of the second microcomputer monitoring unit 10b is connected to the second microcomputer 1b2, and the output terminal of the second microcomputer monitoring unit 10b is connected to the second switch control unit 4b2 and the first microcomputer 1a2.
[0084] The second microcomputer monitoring unit 10b monitors the operation state of the second microcomputer 1b2 based on the second operation state signal input from the second microcomputer 1b2. When the second microcomputer monitoring unit 10b determines that the second microcomputer 1b2 is in an abnormal operation state, it outputs a second abnormality signal indicating the abnormality to the second switch control unit 4b2 and the first microcomputer 1a2.
[0085] 2, the second microcomputer monitoring unit 10b is depicted as a component separate from the second microcomputer 1b2. However, the second microcomputer monitoring unit 10b may be an internal component of the second microcomputer 1b2. In other words, the second microcomputer monitoring unit 10b may be a functional component realized by a control program stored in advance in the second microcomputer 1b2.
[0086] The first switch control unit 4a2 has two input terminals and one output terminal. One input terminal of the first switch control unit 4a2 is connected to the first microcomputer monitoring unit 10a. In addition, one input terminal of the first switch control unit 4a2 is connected to the first microcomputer 1a2. Furthermore, the output terminal of the first switch control unit 4a2 is connected to the control input terminal of the first signal cutoff switch 3a.
[0087] The first switch control unit 4a2 generates a first switching signal based on the first abnormality signal input from the first microcomputer monitoring unit 10a and the first output instruction signal input from the first microcomputer 1a2, and outputs the first switching signal to the first signal cut-off switch 3a.
[0088] The second switch control unit 4b2 has two input terminals and one output terminal. One input terminal of the second switch control unit 4b2 is connected to the second microcomputer monitoring unit 10b. In addition, one input terminal of the second switch control unit 4b2 is connected to the second microcomputer 1b2. Furthermore, the output terminal of the second switch control unit 4b2 is connected to the control input terminal of the second signal cutoff switch 3b.
[0089] The second switch control unit 4b2 generates a second switching signal based on the second abnormality signal input from the second microcomputer monitoring unit 10b and the second output instruction signal input from the second microcomputer 1b2, and outputs the second switching signal to the second signal cut-off switch 3b.
[0090] In the motor control device 100 and electric power steering device of embodiment 2, the first microcomputer monitoring section 10a in the main control unit B1 outputs a first abnormality signal to the first switch control section 4a2 and the second microcomputer 1b2 when it detects an abnormality in the first microcomputer 1a2.
[0091] As a result, the first switch control section 4a2 in the main control unit B1 outputs a first switching signal that disables output of the gate control signals S1 to S6 to the first signal cut-off switch 3a, thereby cutting off the output of the gate signals Sg1 to Sg6 to the motor drive circuit 5.
[0092] At this time, the second microcomputer 1b2 outputs a second output instruction signal to the second switch control unit 4b2 to instruct the output of the gate signals Sg1 to Sg6 to the motor drive circuit 5. Then, the second switch control unit 4b2 outputs a second switching signal to the second signal cutoff switch 3b so as to output the gate signals Sg1 to Sg6 input from the second pre-driver 2b to the motor drive circuit 5. As a result, the gate signals Sg1 to Sg6 are output to the motor drive circuit 5 from the auxiliary control unit B2 instead of the main control unit B1.
[0093] On the other hand, when the second microcomputer monitoring unit 10b detects an abnormality in the second microcomputer 1b2, it outputs a second abnormality signal to the second switch control unit 4b2 and the first microcomputer 1a2. Then, the second switch control unit 4b2 outputs a second switching signal that disables output of the gate control signals S1 to S6 to the second signal cut-off switch 3b, and cuts off the output of the gate signals Sg1 to Sg6 to the motor drive circuit 5.
[0094] At this time, the first microcomputer 1a2 outputs a first output instruction signal to the first switch control unit 4a2 to instruct the output of the gate signals Sg1 to Sg6 to the motor drive circuit 5. Then, the first switch control unit 4a2 outputs a first switching signal to the first signal cut-off switch 3a so as to output the gate signals Sg1 to Sg6 input from the first pre-driver 2a to the motor drive circuit 5. As a result, the gate signals Sg1 to Sg6 are output to the motor drive circuit 5 from the main control unit B1 instead of the auxiliary control unit B2.
[0095] As described above, the motor control device 100 according to the second embodiment further includes a first control signal generation monitoring unit (first microcomputer monitoring unit 10a) that monitors the operating state of the first control signal generation unit (first microcomputer 1a2) and, if it is determined that an abnormality has occurred in the first control signal generation unit, outputs a first abnormality signal to the first switch 100b and the second control signal generation unit (second microcomputer 1b2), and a second control signal generation monitoring unit (second microcomputer monitoring unit 10b) that monitors the operating state of the second control signal generation unit and, if it is determined that an abnormality has occurred in the second control signal generation unit, outputs a second abnormality signal to the second switch 100c and the first control signal generation unit, and outputs drive signals (gate signals Sg1 to Sg6) to the motor drive circuit 5 from a normal control unit out of the main control unit B1 and the auxiliary control unit B2.
[0096] According to such a configuration, of the main control unit B1 and the auxiliary control unit B2, a normal control unit outputs a drive signal to the motor drive circuit 5. Therefore, it is possible to further increase robustness against the occurrence of an abnormality.
[0097] Embodiment 3 Next, a motor control device 100 and an electric power steering device according to a third embodiment will be described. The basic configuration of the motor control device 100 and the electric power steering device according to this embodiment is similar to that of the first embodiment, so differences will be mainly described. Note that components similar to those of the first embodiment will be denoted by the same reference numerals, and descriptions thereof will be omitted.
[0098] As shown in Fig. 3, the motor control device 100 according to the third embodiment includes a main control unit C1 and an auxiliary control unit C2. The main control unit C1 includes a first microcomputer 1a3 instead of the first microcomputer 1a of the first embodiment, a first pre-driver 2a3 instead of the first pre-driver 2a, and a first switch control unit 4a3 instead of the first switch control unit 4a. The auxiliary control unit C2 includes a second microcomputer 1b3 instead of the second microcomputer 1b of the first embodiment, a second pre-driver 2b3 instead of the second pre-driver 2b, and a second switch control unit 4b3 instead of the second switch control unit 4b.
[0099] The main control unit C1 is obtained by adding a first power supply 11a, a first power supply monitoring unit 12a, and a first pre-driver monitoring unit 13a (first drive signal generation monitoring unit) to the main control unit A1 of embodiment 1. The auxiliary control unit C2 is obtained by adding a second power supply 11b, a second power supply monitoring unit 12b, and a second pre-driver monitoring unit 13b (second drive signal generation monitoring unit) to the auxiliary control unit A2 of embodiment 1.
[0100] The first power supply 11a corresponds to the power supply circuit mentioned in the first embodiment. The first power supply 11a has one input terminal and one output terminal. The input terminal of the first power supply 11a is connected to the positive electrode of the battery 9, and the output terminal of the first power supply 11a is connected to at least the first power supply monitoring unit 12a, the first microcomputer 1a3, and the first pre-driver 2a3. The first power supply 11a supplies a first operating power to at least the first power supply monitoring unit 12a, the first microcomputer 1a3, and the first pre-driver 2a3. The first power supply 11a may supply power to other components.
[0101] The first power supply monitor 12a has one input terminal and one output terminal. The input terminal of the first power supply monitor 12a is connected to the first power supply 11a, and the output terminal of 12a is connected to the first switch control unit 4a3 and the second microcomputer 1b3.
[0102] The first power supply monitoring unit 12a monitors the operating state of the first power supply 11a based on the first operating power input from the first power supply 11a. When the first power supply monitoring unit 12a determines that an abnormality has occurred in the first power supply 11a, it outputs a first power supply abnormality signal to the first switch control unit 4a3 and the second microcomputer 1b3.
[0103] The first pre-driver monitoring unit 13a has one input terminal and one output terminal. The input terminal of the first pre-driver monitoring unit 13a is connected to the first pre-driver 2a3, and the output terminal of the first pre-driver monitoring unit 13a is connected to the first switch control unit 4a3 and the second microcomputer 1b3.
[0104] The first pre-driver monitoring unit 13a monitors the operation state of the first pre-driver 2a3 based on a first pre-driver state signal output from the first pre-driver 2a3. When the first pre-driver monitoring unit 13a determines that an abnormality has occurred in the first pre-driver 2a3, it outputs a first drive abnormality signal to the first switch control unit 4a3 and the second microcomputer 1b3.
[0105] The second power supply 11b corresponds to a power supply circuit, similar to the first power supply 11a. The second power supply 11b has one input terminal and one output terminal. The input terminal of the second power supply 11b is connected to the positive electrode of the battery 9, and the output terminal of the second power supply 11b is connected to at least the second power supply monitoring unit 12b, the second microcomputer 1b3, and the second pre-driver 2b3. The second power supply 11b supplies second operating power to at least the second power supply monitoring unit 12b, the second microcomputer 1b3, and the second pre-driver 2b3. The second power supply 11b may supply power to other components.
[0106] The second power supply monitor 12b has one input terminal and one output terminal. The input terminal of the second power supply monitor 12b is connected to the second power supply 11b, and the output terminal of the second power supply monitor 12b is connected to the second switch control unit 4b3 and the first microcomputer 1a3.
[0107] The second power supply monitoring unit 12b monitors the operating state of the second power supply 11b based on the second operating power input from the second power supply 11b. When the second power supply monitoring unit 12b determines that an abnormality has occurred in the second power supply 11b, it outputs a second power supply abnormality signal to the second switch control unit 4b3 and the first microcomputer 1a3.
[0108] The second pre-driver monitoring unit 13b has one input terminal and one output terminal. The input terminal of the second pre-driver monitoring unit 13b is connected to the second pre-driver 2b3, and the output terminal of the second pre-driver monitoring unit 13b is connected to the second switch control unit 4b3 and the first microcomputer 1a3.
[0109] The second pre-driver monitoring unit 13b monitors the operation state of the second pre-driver 2b3 based on a second pre-driver state signal output from the second pre-driver 2b3. When the second pre-driver monitoring unit 13b determines that an abnormality has occurred in the second pre-driver 2b3, it outputs a second drive abnormality signal to the second switch control unit 4b3 and the first microcomputer 1a3.
[0110] In addition to the six output terminals and three input terminals of the first microcomputer 1a of the first embodiment, the first microcomputer 1a3 includes one output terminal, four input terminals, and a first current input I / F monitoring unit 14a.
[0111] An output terminal of the first microcomputer 1a3 is connected to the first switch control unit 4a3 and the second microcomputer 1b3. The first microcomputer 1a3 outputs a first current input I / F abnormality signal generated by the first current input I / F monitoring unit 14a to the first switch control unit 4a3 and the second microcomputer 1b3 through this output terminal.
[0112] One input terminal of the first microcomputer 1a3 is connected to the first power source 11a. A first operating power is input from the first power source 11a to the first microcomputer 1a3 through this input terminal. The first microcomputer 1a3 operates based on the first operating power.
[0113] One input terminal of the first microcomputer 1a3 is connected to the second power supply monitor 12b. A second power supply abnormality signal is input to the first microcomputer 1a3 through this input terminal. One input terminal of the first microcomputer 1a3 is connected to the second pre-driver monitoring unit 13b. A second drive abnormality signal is input to the first microcomputer 1a3 through this input terminal. One input terminal of the first microcomputer 1a3 is connected to the second microcomputer 1b3. A second current input I / F abnormality signal is input to the first microcomputer 1a3 through this input terminal.
[0114] The first current input I / F monitoring unit 14a is a functional component provided inside the first microcomputer 1a3. The first current input I / F monitoring unit 14a monitors the operation state of the current input I / F 8 based on the U-phase conversion current signal, the V-phase conversion current signal, and the W-phase conversion current signal input from the current input I / F 8 to the first microcomputer 1a3. When the first current input I / F monitoring unit 14a determines that an abnormality has occurred in the current input I / F 8, it outputs a first current input I / F abnormality signal indicating the abnormality to the first switch control unit 4a3 and the second microcomputer 1b3.
[0115] Meanwhile, in addition to the six output terminals and three input terminals in the second microcomputer 1b of the first embodiment, the second microcomputer 1b3 includes one output terminal, four input terminals, and a second current input I / F monitoring unit 14b.
[0116] An output terminal of the second microcomputer 1b3 is connected to the second switch control unit 4b3 and the first microcomputer 1a3. The second microcomputer 1b3 outputs the second current input I / F abnormality signal generated by the second current input I / F monitoring unit 14b to the second switch control unit 4b3 and the first microcomputer 1a3 through this output terminal.
[0117] One input terminal of the second microcomputer 1b3 is connected to the second power source 11b. The second operating power is input from the second power source 11b to the second microcomputer 1b3 through this input terminal. The second microcomputer 1b3 operates based on the second operating power.
[0118] One input terminal of the second microcomputer 1b3 is connected to the first power supply monitor 12a. A first power supply abnormality signal is input to the second microcomputer 1b3 through this input terminal. One input terminal of the second microcomputer 1b3 is connected to the first pre-driver monitoring unit 13a. A first drive abnormality signal is input to the second microcomputer 1b3 through this input terminal. One input terminal of the second microcomputer 1b3 is connected to the first microcomputer 1a3. A first current input I / F abnormality signal is input to the second microcomputer 1b3 through this input terminal.
[0119] The second current input I / F monitoring unit 14b is a functional component provided inside the second microcomputer 1b3. The second current input I / F monitoring unit 14b monitors the operation state of the current input I / F 8 based on the U-phase conversion current signal, the V-phase conversion current signal, and the W-phase conversion current signal input from the current input I / F 8 to the second microcomputer 1b3. When the second current input I / F monitoring unit 14b determines that an abnormality has occurred in the current input I / F 8, it outputs a second current input I / F abnormality signal indicating the abnormality to the second switch control unit 4b3 and the first microcomputer 1a3.
[0120] The first pre-driver 2a3 has one output terminal and two input terminals in addition to the six input terminals and six output terminals in the first pre-driver 2a of the first embodiment. One output terminal of the first pre-driver 2a3 is connected to the first pre-driver monitoring unit 13a. The first pre-driver 2a3 outputs a first pre-driver state signal indicating the operation state of the first pre-driver 2a3 to the first pre-driver monitoring unit 13a through this output terminal.
[0121] One input terminal of the first pre-driver 2a3 is connected to the positive electrode of the battery 9, and the voltage of the positive electrode (positive electrode voltage) is input. One input terminal of the first pre-driver 2a3 is connected to the first power source 11a, and the first operating power is input.
[0122] The first pre-driver 2a3 has a function of generating the gate signals Sg1 to Sg6 based on the gate control signals S1 to S6, and also has a function of generating a first pre-driver state signal based on the positive electrode voltage and the first operating power.
[0123] The second pre-driver 2b3 has one output terminal and two input terminals in addition to the six input terminals and six output terminals in the second pre-driver 2b of embodiment 1. One output terminal of the second pre-driver 2b3 is connected to the second pre-driver monitoring unit 13b and outputs a second pre-driver state signal indicating the operation state of the second pre-driver 2b3 to the second pre-driver monitoring unit 13b.
[0124] One input terminal of the second pre-driver 2b3 is connected to the positive electrode of the battery 9, and the voltage of the positive electrode (positive electrode voltage) is input to the second pre-driver 2b3. In addition, one input terminal of the second pre-driver 2b3 is connected to the output terminal of the second power source 11b, and the second operating power is input to the second pre-driver 2b3.
[0125] The second pre-driver 2b3 has a function of generating the gate signals Sg1 to Sg6 from the gate control signals S1 to S6, and also has a function of generating a second pre-driver state signal based on the positive electrode voltage and the second operating power.
[0126] The first switch control section 4a3 has three input terminals and one output terminal. One input terminal of the first switch control unit 4a3 is connected to the first power supply monitoring unit 12a, and receives the first power supply abnormality signal. One input terminal of the first switch control unit 4a3 is connected to the first pre-driver monitoring unit 13a, and receives the first drive abnormality signal. One input terminal of the first switch control unit 4a3 is connected to the first microcomputer 1a3, and receives the first current input I / F abnormality signal output from the first current input I / F monitoring unit 14a.
[0127] The first switch control unit 4a3 generates a first switching signal based on the first power supply abnormality signal, the first drive abnormality signal, and the first current input I / F abnormality signal, and outputs the first switching signal to the first signal cut-off switch 3a. That is, when any one of the first power supply abnormality signal, the first drive abnormality signal, and the first current input I / F abnormality signal is input, the first switch control unit 4a3 cuts off the output of the gate signals Sg1 to Sg6 from the first signal cut-off switch 3a to the motor drive circuit 5.
[0128] The second switch control section 4b3 has three input terminals and one output terminal. One input terminal of the second switch control unit 4b3 is connected to the second power supply monitoring unit 12b, and receives the second power supply abnormality signal. One input terminal of the second switch control unit 4b3 is connected to the second pre-driver monitoring unit 13b, and receives the second drive abnormality signal. One input terminal of the second switch control unit 4b3 is connected to the second microcomputer 1b3, and receives the second current input I / F abnormality signal output from the second current input I / F monitoring unit 14b.
[0129] The second switch control unit 4b3 generates a second switching signal based on the second power supply abnormality signal, the second drive abnormality signal, and the second current input I / F abnormality signal, and outputs the second switching signal to the second signal cut-off switch 3b. That is, when any one of the second power supply abnormality signal, the second drive abnormality signal, and the second current input I / F abnormality signal is input, the second switch control unit 4b3 cuts off the output of the gate signals Sg1 to Sg6 from the second signal cut-off switch 3b to the motor drive circuit 5.
[0130] The first current input I / F monitoring unit 14a corresponds to a first detector monitoring unit, and the second current input I / F monitoring unit 14b corresponds to a second detector monitoring unit. The first current input I / F abnormality signal output by the first current input I / F monitoring unit 14a corresponds to a first current detection abnormality signal. The second current input I / F abnormality signal output by the second current input I / F monitoring unit 14b corresponds to a second current detection abnormality signal.
[0131] In the motor control device 100 and electric power steering device according to the third embodiment configured as described above, the first switch control unit 4a3 outputs a first switching signal to the first signal cut-off switch 3a when an abnormality occurs in any one of the first power supply 11a, the first pre-driver 2a3, and the current input I / F 8. This cuts off the output of the gate signals Sg1 to Sg6 from the first signal cut-off switch 3a to the motor drive circuit 5.
[0132] On the other hand, the second switch control unit 4b3 outputs a second switching signal to the second signal cut-off switch 3b when an abnormality occurs in any one of the second power supply 11b, the second pre-driver 2b3, and the current input I / F 8. This cuts off the output of the gate signals Sg1 to Sg6 from the second signal cut-off switch 3b to the motor drive circuit 5.
[0133] As described above, the motor control device 100 according to the present embodiment further includes a first drive signal generation monitoring unit (first pre-driver monitoring unit 13a) that monitors the operation state of the first drive signal generating unit (first pre-driver 2a3) and outputs a first drive abnormality signal to the first switch 100b and the second control signal generating unit (second microcomputer 1b3) when it is determined that an abnormality has occurred in the first drive signal generating unit, and a second drive signal generation monitoring unit (second pre-driver monitoring unit 13b) that monitors the operation state of the second drive signal generating unit (second pre-driver 2b3) and outputs a second drive abnormality signal to the second switch 100c and the first control signal generating unit (first microcomputer 1a3) when it is determined that an abnormality has occurred in the second drive signal generating unit, and outputs a drive signal to the motor drive circuit 5 from a normal control unit of the main control unit C1 and the auxiliary control unit C2. According to this configuration, by monitoring the operation states of the first drive signal generating unit and the second drive signal generating unit, it is possible to increase the robustness of these drive signal generating units against abnormalities.
[0134] The motor control device 100 according to this embodiment further includes a first power supply 11a that supplies operating power to the first control signal generating unit (first microcomputer 1a3) and the first drive signal generating unit (first pre-driver 2a3), a second power supply 11b that supplies operating power to the second control signal generating unit (second microcomputer 1b3) and the second drive signal generating unit (second pre-driver 2b3), a first power supply monitoring unit 12a that monitors the operating state of the first power supply 11a and, if it determines that an abnormality has occurred in the first power supply 11a, outputs a first power supply abnormality signal to the first switch 100b and the second control signal generating unit, and a second power supply monitoring unit 12b that monitors the operating state of the second power supply 11b and, if it determines that an abnormality has occurred in the second power supply 11b, outputs a second power supply abnormality signal to the second switch 100c and the first control signal generating unit, and outputs a drive signal to the motor drive circuit 5 from a normal control unit out of the main control unit C1 and the auxiliary control unit C2. According to this configuration, by monitoring the operating states of the first power source 11a and the second power source 11b, it is possible to increase robustness against abnormalities in these power sources 11a, 11b.
[0135] In addition, the motor control device 100 of this embodiment further includes a first detector monitoring unit (first current input I / F monitoring unit 14a) provided in the main control unit C1, which monitors the operating state of the drive current detector 100a and, if it is determined that an abnormality has occurred in the drive current detector 100a, outputs a first current detection abnormality signal to the first switch 100b and the second control signal generating unit, and a second detector monitoring unit (second current input I / F monitoring unit 14b) provided in the auxiliary control unit C2, which monitors the operating state of the drive current detector 100a and, if it is determined that an abnormality has occurred in the drive current detector 100a, outputs a second current detection abnormality signal to the second switch 100c and the first control signal generating unit.
[0136] According to the third embodiment, in addition to the effects described in the second embodiment, it is possible to increase the rate of detection of abnormalities in the main control unit C1 and the auxiliary control unit C2. Furthermore, according to the third embodiment, it is possible to detect the occurrence of an abnormality in the current input I / F 8. Therefore, it is possible to realize more accurate control unit switching, and it is possible to further increase robustness against the occurrence of an abnormality.
[0137] Embodiment 4 Next, a motor control device 100 and an electric power steering device according to a fourth embodiment will be described. The basic configuration of the motor control device 100 and the electric power steering device according to this embodiment is similar to that of the third embodiment, so differences will be mainly described. Note that the same components as those in the third embodiment will be denoted by the same reference numerals, and description thereof will be omitted.
[0138] A motor control device 100 according to the fourth embodiment includes a main control unit D1 and an auxiliary control unit D2, as shown in Fig. 4. The main control unit D1 includes a first microcomputer 1a4 instead of the first microcomputer 1a3 of the third embodiment. Moreover, the auxiliary control unit D2 includes a second microcomputer 1b4 instead of the second microcomputer 1b3 of the third embodiment.
[0139] The first microcomputer 1a4 has one additional input terminal compared to the first microcomputer 1a3 of the third embodiment. The input terminal is connected to the output terminal of the second switch control unit 4b3. The first microcomputer 1a4 recognizes the operating state of the second switch control unit 4b3 based on the second switching signal input from the second switch control unit 4b3.
[0140] The second microcomputer 1b4 has one additional input terminal compared to the second microcomputer 1b3 of the third embodiment. The input terminal is connected to the output terminal of the first switch control unit 4a3. The second microcomputer 1b4 recognizes the operating state of the first switch control unit 4a3 based on the first switching signal input from the first switch control unit 4a3.
[0141] Here, in embodiment 3, for example, when the second microcomputer 1b3 erroneously determines that there is an abnormality in the first power supply 11a, it is possible that gate signals Sg1 to Sg6 are input to the motor drive circuit 5 from both the main control unit C1 and the auxiliary control unit C2.
[0142] To address this problem, a second switching signal is input from a second switch control unit 4b3 to the first microcomputer 1a4 according to embodiment 4. Therefore, while the auxiliary control unit D2 is outputting the gate signals Sg1 to Sg6 to the motor drive circuit 5, the main control unit D1 does not output the gate signals Sg1 to Sg6 to the motor drive circuit 5.
[0143] In addition, the second microcomputer 1b4 receives a first switching signal from the first switch control unit 4a3. Therefore, while the main control unit D1 is outputting the gate signals Sg1 to Sg6 to the motor drive circuit 5, the auxiliary control unit D2 does not output the gate signals Sg1 to Sg6 to the motor drive circuit 5.
[0144] As described above, in this embodiment, the main control unit D1 outputs a drive signal to the motor drive circuit 5 through the first switch 100b only when the second switch 100c is not outputting a drive signal (gate signals Sg1 to Sg6) to the motor drive circuit 5, and the auxiliary control unit D2 outputs a drive signal to the motor drive circuit 5 through the second switch 100c only when the first switch 100b is not outputting a drive signal to the motor drive circuit 5. With this configuration, it is possible to prevent the gate signals Sg1 to Sg6 from being output to the motor drive circuit 5 from both the main control unit D1 and the auxiliary control unit D2.
[0145] Embodiment 5. Next, a motor control device 100 and an electric power steering device according to a fifth embodiment will be described. The basic configuration of the motor control device 100 and the electric power steering device according to this embodiment is similar to that of the first embodiment, so differences will be mainly described. Note that components similar to those in the first embodiment will be denoted by the same reference numerals, and descriptions thereof will be omitted.
[0146] 5, the motor control device 100 according to the fifth embodiment includes a main control unit A1 and an auxiliary control unit E2. The auxiliary control unit E2 includes a second microcomputer 1b5 instead of the second microcomputer 1b of the first embodiment.
[0147] Moreover, in motor control device 100 according to embodiment 5, a motor terminal state detection unit 15 is added to motor control device 100 according to embodiment 1. This motor terminal state detection unit 15 has three input terminals and one output terminal. The input terminals of the motor terminal state detection unit 15 are connected to the U-phase switching leg, the V-phase switching leg, and the W-phase switching leg, respectively. The output terminal of the motor terminal state detection unit 15 is connected to the second microcomputer 1b5.
[0148] The motor terminal state detection unit 15 detects the states (motor terminal states) of the three input terminals of the motor 6, namely, the U-phase input terminal, the V-phase input terminal, and the W-phase input terminal, and outputs the motor terminal states to the second microcomputer 1b5 as a terminal state detection signal. The second microcomputer 1b5 performs the following operation when the supply of the gate signals Sg1-Sg6 from the main control unit A1 to the motor drive circuit 5 is cut off and the gate signals Sg1-Sg6 are being supplied from the auxiliary control unit E2 to the motor drive circuit 5. That is, the second microcomputer 1b5 outputs, to the second pre-driver 2b, gate control signals S1-S6 that turn all of the switching transistors Q1-Q6 constituting the motor drive circuit 5 to the OFF state (non-conducting state) or gate control signals S1-S6 that individually and sequentially conduct the switching transistors Q1-Q6.
[0149] Then, in this state, the second microcomputer 1b5 diagnoses potential faults in the auxiliary control unit E2, that is, potential faults in the second pre-driver 2b, the second signal cut-off switch 3b, and the second switch control unit 4b, by referring to the terminal state detection signal input from the motor terminal state detection unit 15.
[0150] For example, consider a case where the second microcomputer 1b5 outputs gate control signals S1-S6 to the second pre-driver 2b to turn all the switching transistors Q1-Q6 to the OFF state (non-conductive state), and the terminal state detection signal indicates that one of the switching transistors Q1-Q6 is in the ON state (conductive state). In this case, the second microcomputer 1b5 determines that a latent fault has occurred in one of the second pre-driver 2b, the second signal cut-off switch 3b, and the second switch control unit 4b.
[0151] In addition, in a state where the second microcomputer 1b5 outputs gate control signals S1-S6 to the second pre-driver 2b to sequentially energize the switching transistors Q1-Q6 individually, the terminal state detection signal indicates that the switching transistors Q1-Q6 different from the gate control signals S1-S6 are in an energized state, the second microcomputer 1b5 determines that a latent fault has occurred in any of the second pre-driver 2b, the second signal cut-off switch 3b, and the second switch control unit 4b.
[0152] It should be noted that such a determination of a potential failure cannot be made when the main control unit A1 or the auxiliary control unit E2 is controlling the motor 6. Therefore, this determination is made when neither the main control unit A1 nor the auxiliary control unit E2 is controlling the motor 6, that is, when the electric power steering device is not assisting the steering operation.
[0153] As described above, the motor control device 100 according to this embodiment further includes a motor terminal state detection unit 15 that detects the state of the input terminal of the motor 6 as the motor terminal state, and the second control signal generation unit (second microcomputer 1b5) determines the occurrence of a failure in the auxiliary control unit E2 by referring to the motor terminal state (the terminal state detection signal output by the motor terminal state detection unit 15). With this configuration, it is possible to diagnose potential failures in the auxiliary control unit E2, thereby further improving the reliability of the motor control device 100 and the electric power steering device.
[0154] Embodiment 6 Next, a motor control device 100 and an electric power steering device according to a sixth embodiment will be described. The basic configuration of the motor control device 100 and the electric power steering device according to this embodiment is similar to that of the first embodiment, so differences will be mainly described. Note that components similar to those of the first embodiment will be denoted by the same reference numerals, and descriptions thereof will be omitted.
[0155] A motor control device 100 according to the sixth embodiment is configured such that, of the first microcomputer 1a and the second microcomputer 1b according to the first embodiment, the second microcomputer 1b has a lower calculation capability than the first microcomputer 1a.
[0156] In other words, in the motor control device 100 of embodiment 6, rather than using two microcomputers (large scale integrated circuits) with equivalent computing power, a large scale integrated circuit with lower computing power than the large scale integrated circuit adopted as the first microcomputer 1a is adopted as the second microcomputer 1b.
[0157] The auxiliary control unit A2 of the first embodiment operates only when an abnormality occurs in the main control unit A1. Therefore, even if a large scale integrated circuit with a lower computing power than the first microcomputer 1a is used as the second microcomputer 1b, the motor control device 100 can function sufficiently.
[0158] According to the sixth embodiment, since a less expensive large scale integrated circuit having a lower calculation power than the first microcomputer 1a is used as the second microcomputer 1b, it is possible to reduce the cost of the auxiliary control unit A2. Therefore, according to the sixth embodiment, the costs of the motor control device 100 and the electric power steering device can be reduced more than those of the first embodiment.
[0159] Embodiment 7 Next, a motor control device 100 and an electric power steering device according to a seventh embodiment will be described. The basic configuration of the motor control device 100 and the electric power steering device according to this embodiment is similar to that of the first embodiment, so differences will be mainly described. Note that components similar to those of the first embodiment will be denoted by the same reference numerals, and descriptions thereof will be omitted.
[0160] As shown in Fig. 6, the motor control device 100 according to the seventh embodiment includes a main control unit F1 and an auxiliary control unit F2. The main control unit F1 includes a first microcomputer 1a6 instead of the first microcomputer 1a of the first embodiment, and a first switch control unit 4a6 instead of the first switch control unit 4a. The auxiliary control unit F2 includes a second microcomputer 1b6 instead of the second microcomputer 1b of the first embodiment, and a second switch control unit 4b6 instead of the second switch control unit 4b.
[0161] Furthermore, the main control unit F1 is configured by adding a first steering torque input I / F 17a and a first rotation angle input I / F 20a to the main control unit A1 of embodiment 1. The auxiliary control unit F2 is configured by adding a second steering torque input I / F 17b and a second rotation angle input I / F 20b to the auxiliary control unit A2 of embodiment 1.
[0162] Further, the electric power steering device according to the seventh embodiment includes a steering torque detection unit 16 and a rotation angle detection unit 19, as shown in FIG.
[0163] The steering torque detection unit 16 is connected to the first steering torque input I / F 17a and the second steering torque input I / F 17b. The steering torque detection unit 16 detects the torque of the steering wheel operated by the driver as a steering torque, and outputs a torque detection signal indicating the steering torque to the first steering torque input I / F 17a and the second steering torque input I / F 17b.
[0164] The first steering torque input I / F 17a has one input terminal and one output terminal. The input terminal of the first steering torque input I / F 17a is connected to the steering torque detection unit 16, and the output terminal of the first steering torque input I / F 17a is connected to the first microcomputer 1a6. The first steering torque input I / F 17a converts the torque detection signal input from the steering torque detection unit 16 into a first torque conversion signal suitable for input to the first microcomputer 1a6, and outputs the first microcomputer 1a6.
[0165] The second steering torque input I / F 17b has one input terminal and one output terminal. The input terminal of the second steering torque input I / F 17b is connected to the steering torque detection unit 16, and the output terminal of the second steering torque input I / F 17b is connected to the second microcomputer 1b6. The second steering torque input I / F 17b converts the torque detection signal input from the steering torque detection unit 16 into a second torque conversion signal suitable for input to the second microcomputer 1b6, and outputs the second microcomputer 1b6.
[0166] The rotation angle detection unit 19 has output terminals connected to the first rotation angle input I / F 20a and the second rotation angle input I / F 20b. The rotation angle detection unit 19 detects the rotation angle of the motor 6, and outputs a rotation detection signal indicating the rotation angle to the first rotation angle input I / F 20a and the second rotation angle input I / F 20b.
[0167] The first rotation angle input I / F 20a has one input terminal and one output terminal. The input terminal of the first rotation angle input I / F 20a is connected to the rotation angle detection unit 19, and the output terminal of the first rotation angle input I / F 20a is connected to the first microcomputer 1a6. The first rotation angle input I / F 20a converts the rotation detection signal input from the rotation angle detection unit 19 into a first rotation conversion signal suitable for input to the first microcomputer 1a6, and outputs the converted signal to the first microcomputer 1a6.
[0168] The second rotation angle input I / F 20b has one input terminal and one output terminal. The input terminal of the second rotation angle input I / F 20b is connected to the rotation angle detection unit 19, and the output terminal of the second rotation angle input I / F 20b is connected to the second microcomputer 1b6. The second rotation angle input I / F 20b converts the rotation detection signal input from the rotation angle detection unit 19 into a second rotation conversion signal suitable for input to the second microcomputer 1b6, and outputs the second microcomputer 1b6.
[0169] In addition to the six output terminals and three input terminals in the first microcomputer 1a of embodiment 1, the first microcomputer 1a6 has five input terminals, two output terminals, a first steering torque input I / F monitoring unit 18a, and a first rotation angle input I / F monitoring unit 21a.
[0170] One input terminal of the first microcomputer 1a6 is connected to the first steering torque input I / F 17a, and a first torque conversion signal is input from the first steering torque input I / F 17a. One input terminal of the first microcomputer 1a6 is connected to the first rotation angle input I / F 20a, and the first rotation conversion signal is input from the first rotation angle input I / F 20a.
[0171] One input terminal of the first microcomputer 1a6 is connected to the second steering torque input I / F monitoring unit 18b, and receives a second steering torque input I / F abnormality signal from the second steering torque input I / F monitoring unit 18b. One input terminal of the first microcomputer 1a6 is connected to the second rotation angle input I / F monitoring unit 21b, and receives a second rotation angle input I / F abnormality signal from the second rotation angle input I / F monitoring unit 21b. One input terminal of the first microcomputer 1a6 is connected to the second switch control section 4b6, and receives the second switching signal from the second switch control section 4b6.
[0172] One output terminal of the first microcomputer 1a6 is connected to the first switch control unit 4a6 and the second microcomputer 1b6, and outputs a first steering torque input I / F abnormality signal output from the first steering torque input I / F monitoring unit 18a to the first switch control unit 4a6 and the second microcomputer 1b6.
[0173] One output terminal of the first microcomputer 1a6 is connected to the first switch control unit 4a6 and the second microcomputer 1b6, and outputs a first rotation angle input I / F abnormality signal output from the first rotation angle input I / F monitoring unit 21a to the first switch control unit 4a6 and the second microcomputer 1b6.
[0174] The first steering torque input I / F monitoring unit 18a is a functional component provided in the first microcomputer 1a6. The first steering torque input I / F monitoring unit 18a has one input terminal and one output terminal. The first steering torque input I / F monitoring unit 18a monitors the operation state of the first steering torque input I / F 17a based on the first torque conversion signal input from the first steering torque input I / F 17a. When the first steering torque input I / F monitoring unit 18a determines that an abnormality has occurred in the first steering torque input I / F 17a, it outputs a first steering torque input I / F abnormality signal indicating the abnormality to the first switch control unit 4a6 and the second microcomputer 1b6.
[0175] The first rotation angle input I / F monitoring unit 21a is a functional component provided in the first microcomputer 1a6. The first rotation angle input I / F monitoring unit 21a has one input terminal and one output terminal. The first rotation angle input I / F monitoring unit 21a monitors the operation state of the first rotation angle input I / F 20a based on the first rotation conversion signal input from the first rotation angle input I / F 20a. When the first rotation angle input I / F monitoring unit 21a determines that there is an abnormality in the first rotation angle input I / F 20a, it outputs a first rotation angle input I / F abnormality signal indicating the abnormality to the first switch control unit 4a6 and the second microcomputer 1b6.
[0176] In addition to the six output terminals and three input terminals in the second microcomputer 1b of embodiment 1, the second microcomputer 1b6 has five input terminals, two output terminals, a second steering torque input I / F monitoring unit 18b, and a second rotation angle input I / F monitoring unit 21b.
[0177] One input terminal of the second microcomputer 1b6 is connected to an output terminal of the second steering torque input I / F 17b, and receives the second torque conversion signal from the second steering torque input I / F 17b. One input terminal of the second microcomputer 1b6 is connected to the output terminal of the second rotation angle input I / F 20b, and the second rotation conversion signal is input from the second rotation angle input I / F 20b.
[0178] One input terminal of the second microcomputer 1b6 is connected to the first steering torque input I / F monitoring unit 18a in the first microcomputer 1a6, and a first steering torque input I / F abnormality signal is input from the first steering torque input I / F monitoring unit 18a. One input terminal of the second microcomputer 1b6 is connected to the first rotation angle input I / F monitoring unit 21a in the first microcomputer 1a6, and a first rotation angle input I / F abnormality signal is input from the first rotation angle input I / F monitoring unit 21a. One input terminal of the second microcomputer 1b6 is connected to an output terminal of the first switch control unit 4a6 in the first microcomputer 1a6, and receives a first switching signal from the first switch control unit 4a6.
[0179] One output terminal of the second microcomputer 1b6 is connected to the second switch control unit 4b6 and the first microcomputer 1a6, and outputs a second steering torque input I / F abnormality signal output from the second steering torque input I / F monitoring unit 18b to the second switch control unit 4b6 and the first microcomputer 1a6.
[0180] One output terminal of the second microcomputer 1b6 is connected to the second switch control unit 4b6 and the first microcomputer 1a6, and outputs a second rotation angle input I / F abnormality signal output from the second rotation angle input I / F monitoring unit 21b to the second switch control unit 4b6 and the first microcomputer 1a6.
[0181] The second steering torque input I / F monitoring unit 18b is a functional component provided in the second microcomputer 1b6. The second steering torque input I / F monitoring unit 18b has one input terminal and one output terminal. The second steering torque input I / F monitoring unit 18b monitors the operating state of the second steering torque input I / F 17b based on the second torque conversion signal input from the second steering torque input I / F 17b. When the second steering torque input I / F monitoring unit 18b determines that an abnormality has occurred in the second steering torque input I / F 17b, it outputs a second steering torque input I / F abnormality signal indicating the abnormality to the second switch control unit 4b6 and the first microcomputer 1a6.
[0182] The second rotation angle input I / F monitoring unit 21b is a functional component provided in the second microcomputer 1b6. The second rotation angle input I / F monitoring unit 21b has one input terminal and one output terminal. The second rotation angle input I / F monitoring unit 21b monitors the operation state of the second rotation angle input I / F 20b based on the second rotation conversion signal input from the second rotation angle input I / F 20b. When the second rotation angle input I / F monitoring unit 21b determines that an abnormality has occurred in the second rotation angle input I / F 20b, it outputs a second rotation angle input I / F abnormality signal indicating the abnormality to the second switch control unit 4b6 and the first microcomputer 1a6.
[0183] Next, the operation of the motor control device 100 and the electric power steering device according to the seventh embodiment will be described.
[0184] In the main control unit F1, the first microcomputer 1a6 generates gate control signals S1 to S6 based on the first torque conversion signal input from the first steering torque input I / F 17a, the U-phase conversion current signal, the V-phase conversion current signal and the W-phase conversion current signal input from the current input I / F 8, and the first rotation conversion signal input from the first rotation angle input I / F 20a.
[0185] That is, the first microcomputer 1a6 in the main control unit F1 feedback controls the motor 6 based on the steering torque detected by the steering torque detection unit 16, the U-phase driving current, the V-phase driving current and the W-phase driving current detected by the current detection unit 7, and the rotation angle detected by the rotation angle detection unit 19.
[0186] More specifically, the first microcomputer 1a6 calculates a target current from the first torque conversion signal, and also obtains a U-phase driving current, a V-phase driving current and a W-phase driving current based on the U-phase conversion current signal, the V-phase conversion current signal and the W-phase conversion current signal input from the current input I / F8.
[0187] The first microcomputer 1a6 calculates a drive current detection value by using the first rotation conversion signal indicating the rotation angle of the motor 6, and the U-phase drive current, V-phase drive current, and W-phase drive current passed through the motor 6. Furthermore, the first microcomputer 1a6 generates gate control signals S1 to S6 so that the deviation between the target current and the drive current detection value becomes "zero."
[0188] When the auxiliary control unit F2 controls the motor 6 instead of the main control unit F1, the second microcomputer 1b6 generates gate control signals S1 to S6 based on the second torque conversion signal input from the second steering torque input I / F 17b, the U-phase conversion current signal, the V-phase conversion current signal and the W-phase conversion current signal input from the current input I / F 8, and the second rotation conversion signal input from the second rotation angle input I / F 20b.
[0189] That is, the second microcomputer 1b6 in the auxiliary control unit F2, like the first microcomputer 1a6 in the main control unit F1, feedback controls the motor 6 based on the steering torque detected by the steering torque detection unit 16, the U-phase driving current, the V-phase driving current and the W-phase driving current detected by the current detection unit 7, and the rotation angle detected by the rotation angle detection unit 19.
[0190] More specifically, the second microcomputer 1b6 calculates a target current from the second torque conversion signal, and also obtains a U-phase driving current, a V-phase driving current and a W-phase driving current based on the U-phase conversion current signal, the V-phase conversion current signal and the W-phase conversion current signal input from the current input I / F8.
[0191] The second microcomputer 1b6 calculates a drive current detection value by using the second rotation conversion signal indicating the rotation angle of the motor 6, and the U-phase drive current, V-phase drive current, and W-phase drive current passed through the motor 6. Then, the second microcomputer 1b6 generates gate control signals S1 to S6 so that the deviation between the target current and the drive current detection value becomes "zero".
[0192] Here, the first switch control section 4a6 in the main control unit F1 generates a first switching signal to set the first signal cutoff switch 3a to a cut-off state when an abnormality occurs in at least one of the first steering torque input I / F 17a and the first rotation angle input I / F 20a. Accordingly, a signal indicating that the first signal cutoff switch 3a is in a cut-off state is input to the second microcomputer 1b6. Using this as a trigger, the second switch control section 4b6 in the auxiliary control unit F2 outputs a second switching signal to the first microcomputer 1a6 in the main control unit F1 to set the second signal cutoff switch 3b to a conductive state.
[0193] The second switch control section 4b6 in the auxiliary control unit F2 generates a second switching signal to set the second signal cutoff switch 3b to a cut-off state when an abnormality occurs in at least one of the second steering torque input I / F 17b and the second rotation angle input I / F 20b. Accordingly, a signal indicating that the second signal cutoff switch 3b is in a cut-off state is input to the first microcomputer 1a6. Using this as a trigger, the first switch control section 4a6 in the main control unit F1 outputs a first switching signal to the second microcomputer 1b6 in the auxiliary control unit F2 to set the first signal cutoff switch 3a to a conductive state.
[0194] That is, the first microcomputer 1a6 in the main control unit F1 recognizes the output states (output / non-output) of the gate signals Sg1-Sg6 from the auxiliary control unit F2 to the motor drive circuit 5. Also, the second microcomputer 1b6 in the auxiliary control unit F2 recognizes the output states (output / non-output) of the gate signals Sg1-Sg6 from the main control unit F1 to the motor drive circuit 5.
[0195] According to the seventh embodiment, the motor 6 is feedback-controlled based on the steering torque, the U-phase drive current, the V-phase drive current, and the W-phase drive current, and the rotation angle of the motor 6. This makes it possible to control the motor 6 with high precision. Therefore, according to the seventh embodiment, it is possible to achieve a more appropriate assist for the steering torque applied to the steering wheel by the driver.
[0196] The electric power steering device according to the seventh embodiment includes a steering torque detection unit 16 that detects the steering torque of the steering wheel operated by the driver, a first steering torque input I / F 17a that converts the torque detection signal detected by the steering torque detection unit 16 into a first torque conversion signal and inputs the first control signal generation unit, a first steering torque input I / F monitoring unit 18a that determines whether or not an abnormality has occurred in the first steering torque input I / F 17a, and a second steering torque input I / F that converts the torque detection signal detected by the steering torque detection unit 16 into a second torque conversion signal and inputs the second control signal generation unit. 17b and a second steering torque input I / F monitoring unit 18b that determines whether or not an abnormality has occurred in the second steering torque input I / F 17b. If the first steering torque input I / F monitoring unit 18a determines that an abnormality has occurred in the first steering torque input I / F 17a, the first switch 100b cuts off the output of the drive signal based on the first control signal to the motor drive circuit 5, and if the second steering torque input I / F monitoring unit 18b determines that an abnormality has occurred in the second steering torque input I / F 17b, the second switch 100c cuts off the output of the drive signal based on the second control signal to the motor drive circuit 5.
[0197] The electric power steering device according to the seventh embodiment includes a rotation angle detection unit 19 that detects the rotation angle of the motor 6, a first rotation angle input I / F 20a that converts the rotation detection signal detected by the rotation angle detection unit 19 into a first rotation conversion signal and inputs it to the first control signal generation unit, a first rotation angle input I / F monitoring unit 21a that determines whether or not an abnormality has occurred in the first rotation angle input I / F 20a, a second rotation angle input I / F 20b that converts the rotation detection signal detected by the rotation angle detection unit 19 into a second rotation conversion signal and inputs it to the second control signal generation unit, and a second rotation angle input I / F monitoring unit 21b that detects whether or not an abnormality has occurred in the first rotation angle input I / F 20a. The motor drive circuit 5 further includes a second rotation angle input I / F monitoring unit 21b which determines whether or not an abnormality has occurred in the rotation angle input I / F 20b. When the first rotation angle input I / F monitoring unit 21a determines that an abnormality has occurred in the first rotation angle input I / F 20a, the first switch 100b cuts off the output of the drive signal based on the first control signal to the motor drive circuit 5. When the second rotation angle input I / F monitoring unit 21b determines that an abnormality has occurred in the second rotation angle input I / F 20b, the second switch 100c cuts off the output of the drive signal based on the second control signal to the motor drive circuit 5.
[0198] In this embodiment, the first signal cutoff switch 3a is controlled based on the occurrence of an abnormality in the first steering torque input I / F 17a or the first rotation angle input I / F 20a, and the second signal cutoff switch 3b is controlled based on the occurrence of an abnormality in the second steering torque input I / F 17b or the second rotation angle input I / F 20b. The first microcomputer 1a6 in the main control unit F1 recognizes the output state (output / non-output) of the gate signals Sg1 to Sg6 in the auxiliary control unit F2, and the second microcomputer 1b6 in the auxiliary control unit F2 recognizes the output state (output / non-output) of the gate signals Sg1 to Sg6 in the main control unit F1, so that robustness against the occurrence of an abnormality can be further improved.
[0199] The technical scope of the present disclosure is not limited to the above-described embodiment, and various modifications can be made without departing from the spirit of the present disclosure. For example, motor control device 100 may be used to control a motor other than an electric power steering device.
[0200] Furthermore, the first control signal generating unit and the second control signal generating unit do not have to be microcomputers. For example, the first control signal generating unit and the second control signal generating unit may each be configured such that a storage unit, a calculation unit, etc. are separately mounted on a board. Furthermore, the first drive signal generating section and the second drive signal generating section do not have to be a single IC as a pre-driver, and may be configured with a plurality of elements mounted on a substrate.
[0201] Furthermore, the drive current detector 100 a may be realized by a configuration other than the current detector 7 and the current input I / F 8 . The first switch 100b may be realized by a component other than the first signal cutoff switch 3a and the first switch control unit 4a. Similarly, the second switch 100c may be realized by a component other than the second signal cutoff switch 3b and the second switch control unit 4b. Furthermore, the motor 6 does not have to be a three-phase DC motor.
[0202] Furthermore, the above-described embodiments and modifications may be combined as appropriate. [Explanation of symbols]
[0203] 1a, 1a2, 1a3, 1a4, 1a6...first microcomputer (first control signal generating section) 1b, 1b2, 1b3, 1b4, 1b5, 1b6...second microcomputer (second control signal generating section) 2a, 2a3...first pre-driver (first drive signal generating section) 2b, 2b3...second pre-driver (second drive signal generating section) 5...motor drive circuit 6...motor 11a...first power supply 11b...second power supply 12a...first power supply monitoring section 12b...second power supply monitoring section 13a...first pre-driver monitoring section (first drive signal generation monitoring section) 13b...second pre-driver monitoring section (second drive signal generation monitoring section) 14a...first current input I / F monitoring section (first detector monitoring section) 14b...second current input I / F monitoring section (second detector monitoring section) 15...motor terminal state detection section 16...Steering torque detection unit 17a...First steering torque input I / F 17b...Second steering torque input I / F 18a...First steering torque input I / F monitoring unit 18b...Second steering torque input I / F monitoring unit 19...Rotation angle detection unit 20a...First rotation angle input I / F 20b...Second rotation angle input I / F 21a...First rotation angle input I / F monitoring unit 21b...Second rotation angle input I / F monitoring unit 100...Motor control device 100a...Drive current detector 100b...First switch 100c...Second switch A1 to D1, F1...Main control unit A2 to F2...Auxiliary control unit
Claims
1. a motor drive circuit that outputs a drive current to the motor; a drive current detector for detecting the drive current; A main control unit; an auxiliary control unit; the motor drive circuit is driven based on a drive signal output from the main control unit or the auxiliary control unit; The main control unit includes: a first control signal generating unit that generates a first control signal based on a current detection signal input from the drive current detector; a first drive signal generating unit that generates the drive signal based on the first control signal; a first switch that switches an output state of the drive signal to the motor drive circuit, The auxiliary control unit includes: a second control signal generating unit that generates a second control signal based on a current detection signal input from the drive current detector; a second drive signal generating unit that generates the drive signal based on the second control signal; a second switch that switches an output state of the drive signal to the motor drive circuit, The motor drive circuit includes a plurality of switching elements, and drives the motor by switching between supplying and stopping the drive current to the motor through each of the switching elements. a first control signal generation monitoring unit that monitors an operation state of the first control signal generation unit, and outputs a first abnormality signal to the first switch and the second control signal generation unit when it is determined that an abnormality has occurred in the first control signal generation unit; a second control signal generation monitoring unit that monitors an operation state of the second control signal generation unit, and outputs a second abnormality signal to the second switch and the first control signal generation unit when it is determined that an abnormality has occurred in the second control signal generation unit; a first drive signal generation monitoring unit that monitors an operation state of the first drive signal generating unit, and outputs a first drive abnormality signal to the first switch and the second control signal generating unit when it is determined that an abnormality has occurred in the first drive signal generating unit; a second drive signal generation monitoring unit that monitors an operation state of the second drive signal generating unit, and outputs a second drive abnormality signal to the second switch and the first control signal generating unit when it is determined that an abnormality has occurred in the second drive signal generating unit; A motor control device that outputs the drive signal to the motor drive circuit from a normal control unit out of the main control unit and the auxiliary control unit.
2. a first power supply that supplies operating power to the first control signal generating unit and the first drive signal generating unit; a second power supply that supplies operating power to the second control signal generating unit and the second drive signal generating unit; a first power supply monitoring unit that monitors an operating state of the first power supply, and outputs a first power supply abnormality signal to the first switch and the second control signal generating unit when it is determined that an abnormality has occurred in the first power supply; a second power supply monitoring unit that monitors an operating state of the second power supply, and outputs a second power supply abnormality signal to the second switch and the first control signal generating unit when it is determined that an abnormality has occurred in the second power supply; The motor control device according to claim 1 , wherein the drive signal is output to the motor drive circuit from one of the main control unit and the auxiliary control unit that is functioning normally.
3. a first detector monitoring section provided in the main control unit, monitoring an operating state of the drive current detector, and outputting a first current detection abnormality signal to the first switch and the second control signal generating section when it is determined that an abnormality has occurred in the drive current detector; 3. The motor control device according to claim 1, further comprising: a second detector monitoring unit provided in the auxiliary control unit, monitoring the operating state of the drive current detector, and outputting a second current detection abnormality signal to the second switch and the first control signal generating unit when it is determined that an abnormality has occurred in the drive current detector.
4. the main control unit outputs the drive signal to the motor drive circuit through the first switch only when the second switch is not outputting the drive signal to the motor drive circuit; 4. The motor control device according to claim 1, wherein the auxiliary control unit outputs the drive signal to the motor drive circuit through the second switch only when the first switch is not outputting the drive signal to the motor drive circuit.
5. a motor terminal state detection unit that detects a state of an input terminal of the motor as a motor terminal state; The motor control device according to claim 1 , wherein the second control signal generating section determines whether a failure has occurred in the auxiliary control unit by referring to the motor terminal state.
6. The motor control device according to claim 1 , wherein the second control signal generating unit has a lower calculation capability than the first control signal generating unit.
7. A motor control device according to any one of claims 1 to 6, and the motor generating an assist torque that assists the steering torque of the steering wheel operated by a driver.
8. A steering torque detection unit that detects the steering torque; a first steering torque input I / F that converts a torque detection signal detected by the steering torque detection unit into a first torque conversion signal and inputs the first control signal generation unit; a first steering torque input I / F monitoring unit that determines whether or not an abnormality has occurred in the first steering torque input I / F; a second steering torque input I / F that converts a torque detection signal detected by the steering torque detection unit into a second torque conversion signal and inputs the second control signal generation unit; A second steering torque input I / F monitoring unit that determines whether or not an abnormality has occurred in the second steering torque input I / F, When the first steering torque input I / F monitoring unit determines that an abnormality has occurred in the first steering torque input I / F, the first switch cuts off output of the drive signal based on the first control signal to the motor drive circuit, 8. The electric power steering device according to claim 7, wherein, when the second steering torque input I / F monitoring unit determines that an abnormality has occurred in the second steering torque input I / F, the second switch cuts off output of the drive signal based on the second control signal to the motor drive circuit.
9. a rotation angle detection unit that detects a rotation angle of the motor; a first rotation angle input I / F that converts a rotation detection signal detected by the rotation angle detection unit into a first rotation conversion signal and inputs the first control signal generation unit; a first rotation angle input I / F monitoring unit that determines whether or not an abnormality has occurred in the first rotation angle input I / F; a second rotation angle input I / F that converts a rotation detection signal detected by the rotation angle detection unit into a second rotation conversion signal and inputs the second control signal generation unit; A second rotation angle input I / F monitoring unit that determines whether or not an abnormality has occurred in the second rotation angle input I / F, When the first rotation angle input I / F monitoring unit determines that an abnormality has occurred in the first rotation angle input I / F, the first switch cuts off output of the drive signal based on the first control signal to the motor drive circuit, 9. The electric power steering device according to claim 7, wherein when the second rotation angle input I / F monitoring unit determines that an abnormality has occurred in the second rotation angle input I / F, the second switch cuts off output of the drive signal based on the second control signal to the motor drive circuit.
Citation Information
Patent Citations
Motor controller and steering device
JP2016001953A
Motor controller
JP2019161994A
Rotary electric machine control device
JP2021035075A
Steering gear
JP2021508635A
