Vehicle control device

The vehicle control device addresses abnormality detection in microcontrollers with and without non-volatile memory by using a third computer to monitor startup status and elapsed time, ensuring failsafe operations.

JP7574752B2Active Publication Date: 2024-10-29TOYOTA JIDOSHA KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2021106781
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-06-28
Publication Date
2024-10-29
Estimated Expiration
2041-06-28

AI Technical Summary

Technical Problem

Existing vehicle control systems face challenges in detecting abnormalities in microcontrollers without non-volatile memory, leading to difficulties in implementing appropriate failsafe measures when microcontrollers with and without non-volatile memory coexist.

Method used

A vehicle control device that includes a third computer to monitor and record the startup status of microcontrollers with non-volatile memory, using elapsed time to determine abnormalities and instruct appropriate control actions based on threshold values.

Benefits of technology

Enables effective failsafe operations by accurately detecting and responding to abnormalities in microcontrollers, ensuring reliable vehicle control even in the presence of microcontrollers without non-volatile memory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007574752000001
    Figure 0007574752000001
  • Figure 0007574752000002
    Figure 0007574752000002
  • Figure 0007574752000003
    Figure 0007574752000003
Patent Text Reader

Abstract

To provide a vehicle control device that can achieve proper fail-safe.SOLUTION: The vehicle control device comprises a first computer that controls a first driving force source of a vehicle, a second computer that controls a second driving force source of the vehicle, and a third computer that instructs the first computer and the second computer about control of the first and second driving force sources. The second computer has a non-volatile memory, which when stopping the control following the instruction from the third computer, writes a record of stopping on the non-volatile memory, and determines whether the second computer is abnormal or not on the basis of the record of stopping when starting the control. The first computer has no non-volatile memories, and measures elapsed time after when the first computer is activated. The third computer, when the second computer is determined to be abnormal, instructs the first and second computers to stop the control, when the elapsed time is less than a threshold.SELECTED DRAWING: Figure 8
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a vehicle control device. [Background technology]

[0002] For example, Patent Document 1 discloses a technology in which a plurality of driving force sources of a hybrid vehicle are controlled by a plurality of slave ECUs (Electronic Control Units), and a master ECU manages the slave ECUs and mediates the driving forces. The master ECU and the slave ECUs are realized by, for example, a microcontroller. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2015-63158 A Summary of the Invention [Problem to be solved by the invention]

[0004] Some microcontrollers used in ECUs are equipped with non-volatile memory that records the start and stop of the microcontroller, for example. If this type of microcontroller stops operating unintentionally due to, for example, a momentary power interruption, the record in the non-volatile memory still indicates the operating state, making it possible to detect the abnormality.

[0005] In contrast, microcontrollers that do not have non-volatile memory cannot detect the above-mentioned abnormalities. For example, if an abnormality occurs in the microcontroller of the slave ECU, the master ECU will stop control of the drive power source using a fail-safe function.

[0006] However, for example, when a slave ECU of a microcontroller with non-volatile memory and a slave ECU of a microcontroller without non-volatile memory are mixed, it is difficult for the master ECU to achieve an appropriate fail-safe because the microcontroller without non-volatile memory cannot detect abnormalities.

[0007] Therefore, the present invention has been made in consideration of the above-mentioned problems, and an object of the present invention is to provide a vehicle control device that can realize an appropriate fail-safe. [Means for solving the problem]

[0008] The vehicle control device described in this specification has a first computer that controls a first driving force source of a vehicle, a second computer that controls a second driving force source of the vehicle, and a third computer that gives instructions to the first computer and the second computer regarding the control of the first driving force source and the second driving force source, wherein the second computer has a non-volatile memory, and when control is stopped in accordance with the instructions of the third computer, it writes a stop record to the non-volatile memory and determines whether or not there is an abnormality in the second computer based on the stop record at the start of control, the first computer does not have a non-volatile memory, and measures the elapsed time from the start time of the first computer, and when the second computer determines that there is an abnormality, the third computer instructs the first computer and the second computer to stop control when the elapsed time is less than a threshold value.

[0009] In the above configuration, when the second computer determines that an abnormality has occurred, the third computer may instruct the second computer to stop control if the elapsed time is equal to or greater than the threshold value.

[0010] In the above configuration, when the second computer determines that an abnormality exists, the third computer may instruct the first computer to execute control of the first driving force source and the second driving force source when the elapsed time is equal to or greater than the threshold value.

[0011] In the above configuration, when the second computer determines that there is no abnormality, the third computer may instruct the first computer and the second computer to execute control.

[0012] In the above configuration, the third computer may instruct the second computer to temporarily suspend control when the second computer first determines that there is an abnormality after the third computer is started. Effect of the Invention

[0013] According to the present invention, an appropriate fail-safe can be realized. [Brief description of the drawings]

[0014] [Figure 1] FIG. 1 is a configuration diagram showing an example of a vehicle. [Diagram 2] FIG. 2 is a diagram showing an example of a vehicle ECU and an MG-ECU. [Diagram 3] 4 is a time chart showing an example in which the MG-ECU determines that there is no abnormality. [Figure 4] 4 is a time chart showing an example in which the MG-ECU determines that there is an abnormality. [Diagram 5] 4 is a flowchart showing an example of a drive process of an inverter. [Figure 6] 4 is a flowchart showing an example of an operation of the MG-ECU. [Figure 7] 4 is a flowchart showing an example of an operation of the MG-ECU. [Figure 8] 4 is a flowchart showing an example of an operation of a vehicle ECU. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0015] 1 is a configuration diagram showing an example of a vehicle 90. The vehicle 90 is, as an example, a hybrid vehicle, and includes a vehicle control device 9, inverters 60, 61, current sensors 62, 63, a boost converter 64, a MG battery 65, motor generators (MG) 50, 51, an axle 52, wheels 53, a differential gear device 54, a power split device 55, and an engine 56. Note that the vehicle 90 is not limited to a hybrid vehicle, and may be an electric vehicle without the engine 56.

[0016] The MGs 50 and 51 function as both a generator and a motor. In this example, the MG 50 functions as a motor and outputs torque by consuming power from the MG battery 65. The MG 51 functions as a generator and generates power by performing a regenerative operation, and charges the generated power to the MG battery 65. The MG battery 65 is, for example, a lithium-ion battery, and functions as a power source for the MG 50. The MGs 50 and 51 are examples of a first driving force source and a second driving force source of the vehicle 90, respectively.

[0017] The MG 50 is connected to the axle 52 via a differential gear device 54, and outputs torque to the axle 52. In addition, the engine 56 is connected to the axle 52 via a power split device 55, and transmits a portion of its power to the axle 52. Wheels 53 are connected to the ends of the axle 52. The driving forces of the MG 50 and the engine 56 are transmitted to the wheels 53 via the axle 52.

[0018] The remaining power of the engine 56 is transmitted to the MG 51 by the power split device 55. This causes the MG 51 to generate power and output a three-phase AC current to the inverter 61.

[0019] The inverter 61 has a plurality of switching elements, such as IGBTs (Insulated Gate Bipolar Transistors). Each switching element of the inverter 60 is on / off controlled by a switching signal input from the vehicle control device 9. In this way, the inverter 61 generates a DC voltage from the three-phase AC current. The DC voltage is converted by the boost converter 64 and applied to the MG battery 65. In this way, the MG battery 65 is charged.

[0020] Further, the boost converter 64 boosts the DC voltage input from the MG battery 65 to a target voltage. The DC voltage is applied to the inverter 60 from the boost converter 64. The inverter 60 has a plurality of switching elements such as IGBTs. Each switching element of the inverter 60 is on / off controlled by a switching signal input from the vehicle control device 9. As a result, the inverter 60 generates a three-phase AC current from the DC voltage of the boost converter 64. The MG 50 outputs a torque from the three-phase AC current input from the inverter 60.

[0021] Current sensor 62 detects each current value of the three-phase AC current output from inverter 60 to MG 50. Current sensor 63 detects each current value of the three-phase AC current output from MG 51 to inverter 61. Current sensors 62, 63 output each detection value to vehicle control device 9.

[0022] The vehicle control device 9 includes the MG-ECUs 1 and 2, a vehicle ECU 3, an ignition switch (IG switch) 40, an accelerator sensor 41, a brake sensor 42, a vehicle speed sensor 43, and an ECU battery 44. The ECU battery 44 is a power source for the MG-ECUs 1 and 2 and the vehicle ECU 3. The ECU battery 44 supplies power to the MG-ECUs 1 and 2 and the vehicle ECU 3 via a power supply line 45.

[0023] The MG-ECU1 is an example of a first computer that controls the MG 50, and the MG-ECU2 is an example of a second computer that controls the MG 51. The MG-ECU1, 2 and the vehicle ECU 3 each have a microcontroller, but are not limited to this and may be realized by another type of computer.

[0024] The vehicle ECU 3 receives detection values ​​from an accelerator sensor 41, a brake sensor 42, and a vehicle speed sensor 43. The accelerator sensor 41 detects the opening degree of an accelerator pedal (not shown) of the vehicle 90, and outputs the detection value to the vehicle ECU 3. The brake sensor 42 detects the opening degree of a brake pedal (not shown) of the vehicle 90, and outputs the detection value to the vehicle ECU 3. The vehicle speed sensor 43 detects the speed of the vehicle 90, and outputs the detection value to the vehicle ECU 3.

[0025] In addition, the IG switch 40 notifies the vehicle ECU 3 and the ECU battery 44 of the on / off state of a start button (not shown) of the vehicle 90. The ECU battery 44 starts supplying power when the start button is turned on, and stops supplying power when the start button is turned off.

[0026] When the start button is turned on, the vehicle ECU 3 is activated and starts controlling the vehicle 90. The vehicle ECU 3 calculates the torque required of the MG 50 (hereinafter referred to as the required torque) from the detection values ​​of the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43. The vehicle ECU 3 instructs the MG-ECU 60 to control the MG 50 to perform a powering operation based on the required torque, and instructs the MG-ECU 61 to control the MG 51 to perform a regenerative operation based on the required torque. The vehicle ECU 3 is an example of a third computer that instructs the MG-ECUs 1 and 2 on the control of the MGs 50 and 51.

[0027] The MG-ECUs 1 and 2 drive the inverters 60 and 61, respectively, in accordance with a control instruction from the vehicle ECU 3. The MG-ECUs 1 and 2 control the on / off of the switching elements of the inverters 60 and 61, respectively, by switching signals so that the required torque is output from the MG 50. Furthermore, if an abnormality is detected in the MG-ECU 2, the MG-ECU 1 also drives the inverter 61 instead of the MG-ECU 2 in accordance with a control instruction from the vehicle ECU 3, as indicated by the dashed dotted line.

[0028] The MG-ECU1, 2 receive as input the current values ​​of the three-phase AC current from current sensors 62, 63. The MG-ECU1 drives the inverter 60 using the current value of the current sensor 62, and the MG-ECU2 drives the inverter 61 using the current value of the current sensor 63. Furthermore, when an abnormality is detected in the MG-ECU2, the MG-ECU1 drives the inverter 61 using the current value of the current sensor 63.

[0029] (Vehicle ECU and MG-ECU configuration) 2 is a configuration diagram showing an example of the vehicle ECU 3 and the MG-ECUs 1 and 2. The MG-ECU 1 has a microcontroller 1a and a signal transmission / reception circuit 1b, and the MG-ECU 2 has a microcontroller 2a and a signal transmission / reception circuit 2b. The vehicle ECU 3 has a microcontroller 3a and a signal transmission / reception circuit 3b.

[0030] The microcontroller 1a has a CPU (Central Processing Unit) 10, a ROM (Read Only Memory) 11, a RAM (Random Access Memory) 12, a communication port 13, and a hardware interface unit (HW-IF) 14. The CPU 10 is electrically connected to the ROM 11, the RAM 12, the communication port 13, and the HW-IF 14 via a bus 19 so as to be able to input and output signals to and from each other.

[0031] The ROM 11 stores a program that drives the CPU 10. The RAM 12 functions as a working memory for the CPU 10. The communication port 13 processes communication between the CPU 10 and the microcontroller 3a of the vehicle ECU 3. The HW-IF 14 processes communication between the CPU 10 and the signal transmission / reception circuit 1b.

[0032] The signal transmitting / receiving circuit 1b is connected to inverters 60, 61 and current sensors 62, 63. The signal transmitting / receiving circuit 1b receives current values ​​from the current sensors 62, 63 and outputs them to the CPU 10. The signal transmitting / receiving circuit 1b also generates switching signals based on notifications of on / off timings of switching elements input from the CPU 10 and outputs the switching signals to the inverters 60, 61. The signal transmitting / receiving circuit 1b is hardware such as a field programmable gate array (FPGA) or an application specified integrated circuit (ASIC).

[0033] The microcontroller 2a has a CPU 20, a ROM 21, a RAM 22, a communication port 23, a non-volatile memory 24, and a HW-IF 25. The CPU 20 is electrically connected to the ROM 21, the RAM 22, the communication port 23, the non-volatile memory 24, and the HW-IF 25 via a bus 29 so as to be able to input and output signals to and from each other.

[0034] The ROM 21 stores a program that drives the CPU 20. The RAM 22 functions as a working memory for the CPU 20. The communication port 23 processes communication between the CPU 20 and the microcontroller 3a of the vehicle ECU 3. The HW-IF 25 processes communication between the CPU 20 and the signal transmission / reception circuit 2b.

[0035] The signal transmitting / receiving circuit 2b is connected to the inverter 61 and the current sensor 63. The signal transmitting / receiving circuit 2b receives a current value from the current sensor 63 and outputs it to the CPU 20. The signal transmitting / receiving circuit 2b also generates a switching signal based on a notification of the on / off timing of the switching element input from the CPU 20 and outputs the switching signal to the inverter 61. The signal transmitting / receiving circuit 2b is hardware such as an FPGA or an ASIC.

[0036] Furthermore, startup state information 240 is written from the CPU 20 to the non-volatile memory 24. The startup state information 240 is information indicating that the CPU 20 has started or stopped normally. At startup, the CPU 20 reads out the startup state information 240 and determines whether or not there is an abnormality in the microcontroller 2a based on the startup state information 240. Details of the process of determining whether or not there is an abnormality based on the startup state information 240 will be described later.

[0037] The microcontroller 3a has a CPU 30, a ROM 31, a RAM 32, a communication port 33, a non-volatile memory 34, and a HW-IF 35. The CPU 30 is electrically connected to the CPU 30, the ROM 31, the RAM 32, the communication port 33, the non-volatile memory 34, and the HW-IF 35 via a bus 39 so as to input and output signals to and from each other.

[0038] The ROM 31 stores a program that drives the CPU 30. The RAM 32 functions as a working memory for the CPU 30. The communication port 33 processes communication between the CPU 30 and the microcontrollers 1a and 2a of the MG-ECUs 1 and 2. The non-volatile memory 34 stores various data related to the control of the vehicle 90, for example. The HW-IF 35 processes communication between the CPU 30 and the signal transmission / reception circuit 3b.

[0039] The signal transmitting / receiving circuit 3b is connected to the IG switch 40, the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43. The signal transmitting / receiving circuit 3b receives detection values ​​from the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43, and outputs them to the CPU 30. The signal transmitting / receiving circuit 3b also receives a notification of the on / off state of the start button from the IG switch 40, and outputs it to the CPU 30. The signal transmitting / receiving circuit 3b is hardware, such as an FPGA or an ASIC.

[0040] Thus, the MG-ECU 2 has a microcontroller 2a that includes a non-volatile memory 24, whereas the MG-ECU 1 has a microcontroller 1a that does not include a non-volatile memory.

[0041] (Abnormality determination based on startup status information) Next, a method will be described in which the microcontroller 2a equipped with the non-volatile memory 24 performs abnormality determination based on the startup state information. Here, an example of an abnormality is a momentary interruption in the power supply of the ECU battery 44 caused by noise in the power supply line 45 (hereinafter, a momentary interruption in the power supply).

[0042] 3 is a time chart showing an example in which the MG-ECU 2 determines that there is no abnormality. First, when the start button is turned on at time t1, the IG switch 40 is turned on, and the power supply (MG power supply) of the MG-ECU 2 is turned on.

[0043] Next, at time t2, the MG-ECU 2 starts up (ECU state=started). At this time, the CPU 20 of the MG-ECU 2 updates the start-up state information 240 in the non-volatile memory 24 from the "stop" state to the "start" state.

[0044] Next, at time t3, when the start button is turned off, the IG switch 40 is turned off. The MG-ECU 2 stops driving the inverter 61 (control of the MG 51) in accordance with a stop command from the vehicle ECU 3 (ECU state = stop). At this time, the CPU 20 of the MG-ECU 2 updates the start state information 240 in the non-volatile memory 24 from the "start" state to the "stop" state. Then, at time t4, the power supply to the MG-ECU 2 is turned off.

[0045] Next, when the start button is turned on again at time t5, the IG switch 40 is turned on and the power supply of the MG-ECU2 is turned on. At this time, the CPU 20 of the MG-ECU2 judges whether or not there is an abnormality based on the start-up state information 240 in the non-volatile memory 24. Since the MG-ECU2 stopped normally at time t3, the start-up state information 240 indicates a "stopped" state. Therefore, the MG-ECU2 judges its own state to be "normal" (no abnormality) as the abnormality judgment result.

[0046] Next, at time t6, the MG-ECU2 starts up (ECU state=started). At this time, the CPU 20 of the MG-ECU2 updates the start-up state information 240 in the non-volatile memory 24 from the "stopped" state to the "started" state. In this manner, the CPU 20 checks the start-up state information 240 when the MG-ECU2 starts up.

[0047] 4 is a time chart showing an example in which it is determined that there is an abnormality in the MG-ECU 2. First, when the start button is turned on at time t11, the IG switch 40 is turned on, and the power supply to the MG-ECU 2 is turned on.

[0048] Next, at time t12, the MG-ECU 2 starts up (ECU state=started). At this time, the CPU 20 of the MG-ECU 2 updates the start-up state information 240 in the non-volatile memory 24 from the "stop" state to the "start" state.

[0049] Between times t13 and t14, the power supply of the MG-ECU 2 is interrupted. The power supply interruption may occur, for example, when noise occurs in the power supply line 45. The power supply is turned off between times t13 and t14. Therefore, the MG-ECU 2 is forcibly stopped at time t14 due to the interruption of the power supply.

[0050] When the power supply of the MG-ECU2 is turned on at time t15, the CPU 20 of the MG-ECU2 judges whether or not there is an abnormality based on the start-up state information 240 in the non-volatile memory 24. Since the MG-ECU2 stopped at time t13 due to an abnormality caused by a momentary power interruption, the start-up state information 240 has not been updated to a "stopped" state, unlike the example of FIG. 3. Therefore, the start-up state information 240 indicates a "started" state. Therefore, the MG-ECU2 judges its own state to be "abnormal" (abnormality present) as the abnormality judgment result.

[0051] Thereafter, as will be described later, the vehicle ECU 3 stops the MG-ECU 2 in response to the abnormality notification from the MG-ECU 2 .

[0052] In this way, the MG-ECU 2 updates the startup state information 240 in the non-volatile memory 24 at startup and shutdown. Therefore, at startup, the MG-ECU 2 can determine whether or not the MG-ECU 2 was shut down normally the previous time from the startup state information 240. In contrast, the other MG-ECU 1 does not have a non-volatile memory and therefore cannot perform an abnormality determination at startup.

[0053] (Inverter drive processing) 5 is a flowchart showing an example of a drive process for the inverters 60, 61. The CPUs 10, 20 of the MG-ECUs 1, 2 follow a control instruction from the vehicle ECU 3 and perform, for example, the following process to PWM (Pulse Width Modulation) control the inverters 60, 61.

[0054] First, the CPUs 10 and 20 receive a required torque from the vehicle ECU 3 (step St1). The vehicle ECU 3 calculates the required torque from the detection values ​​of the accelerator sensor 41, the brake sensor 42, and the vehicle speed sensor 43, for example.

[0055] Next, the CPUs 10 and 20 calculate current command values ​​for the three-phase AC currents of the MGs 50 and 51 according to the required torque (step St2). For example, the CPUs 10 and 20 calculate the current command values ​​by referring to a current command value map based on the required torque.

[0056] Next, the CPUs 10 and 20 detect the respective current values ​​of the three-phase AC currents using the current sensors 62 and 63 (step St3). The CPUs 10 and 20 may process the three-phase AC currents and the current command values ​​in a dq coordinate system by three-phase-two-phase transformation.

[0057] Next, the CPUs 10 and 20 calculate voltage command values ​​for the MGs 50 and 51 by feedback controlling the differences between the current command values ​​and the respective current values ​​of the three-phase AC currents (step St4).

[0058] Next, the CPUs 10 and 20 calculate the duty ratio of the switching signal to be output to the inverters 60 and 61 from the voltage command value (step St5). As indicated by the reference symbol G, the CPUs 10 and 20 generate a carrier signal that changes in a triangular wave shape on the time axis, and compare the voltage command value of each phase that changes in a sinusoidal wave shape with the signal value of the carrier signal. The carrier signal is a signal for determining the on / off timing of the switching signal. When the signal value of the carrier signal is equal to or greater than the voltage command value, the switching signal is turned off, and when the signal value of the carrier signal is less than the voltage command value, the switching signal is turned off. The CPUs 10 and 20 calculate the time Ton when the switching signal is on and the time Toff when the switching signal is off. The duty ratio of the PWM signal is determined by these times Ton and Toff.

[0059] Next, the CPUs 10 and 20 notify the signal transmitting / receiving circuits 1b and 2b of the on / off timing of the switching signals (step St6). In response to this, the signal transmitting / receiving circuits 1b and 2b generate switching signals and output them to the inverters 60 and 61.

[0060] (MG-ECU operation) 6 is a flowchart showing an example of the operation of the MG-ECU 1. Unlike the other MG-ECU 2, the MG-ECU 1 does not have a non-volatile memory, and therefore cannot detect abnormalities caused by a momentary power interruption or the like. For this reason, the MG-ECU 1 measures the start-up time and notifies the vehicle ECU 3, and the vehicle ECU 3 determines whether the MG-ECUs 1 and 2 are abnormal based on the start-up time of the MG-ECU 1 when it receives a determination notification that the other MG-ECU 2 has an abnormality.

[0061] First, the CPU 10 performs a startup process (step St11) for the MG-ECU 1. The startup process includes a process of reading a program from the ROM 11 and loading it in the RAM 12, a boot process, various initial setting processes, and the like.

[0062] Next, the CPU 10 starts measuring the startup time (step St12). Here, the startup time is the time elapsed from the startup time of the MG-ECU 1. The CPU 10 generates a counter according to, for example, a program, and starts the counting operation of the counter after startup.

[0063] Next, the CPU 10 determines whether or not there is an instruction to control the MG 50 from the vehicle ECU 3 (step St13). If the CPU 10 has received an instruction to control the MG 50 (Yes in step St13), the CPU 10 starts the drive process of the inverter 60 (step St14).

[0064] Next, the CPU 10 judges whether or not there is an instruction to control the MG 51 from the vehicle ECU 3 (step St15). When only the MG-ECU 2 is abnormal among the MG-ECUs 1 and 2, the vehicle ECU 3 instructs the MG-ECU 1 to control the MG 51 instead of the MG-ECU 2. When the CPU 10 has received an instruction to control the MG 51 (Yes in step St15), it starts the drive process of the inverter 61 (step St16). The drive process of the inverters 60 and 61 is as described above.

[0065] Furthermore, when the CPU 10 has not received an instruction to control the MG 50 (No in step St13) or has not received an instruction to control the MG 51 (No in step St15), the CPU 10 executes the operation of the following step St17.

[0066] Next, the CPU 10 determines whether or not there is a request for startup time from the vehicle ECU 3 (step St17). If the startup time is requested (Yes in step St17), the CPU 10 notifies the vehicle ECU 3 of the startup time (step St18). If the startup time is not requested (No in step St17), the CPU 10 executes the operation of the following step St19.

[0067] When the vehicle ECU 3 determines that the other MG-ECU 2 has an abnormality, it determines whether or not there is an abnormality in the MG-ECU 1 based on the startup time. This allows the vehicle ECU 3 to realize an appropriate fail-safe in response to the occurrence of an abnormality in the MG-ECUs 1 and 2.

[0068] Next, the CPU 10 judges whether or not there is a stop command from the vehicle ECU 3 (step St19). If the CPU 10 has received a stop command (Yes in step St19), the CPU 10 executes a process to stop the drive process of the inverters 60, 61 (step St20). At this time, the MG-ECU 1 controls the switching elements of the inverters 60, 61 to be turned off.

[0069] When an abnormality occurs in the MG-ECU 1 or when the IG switch 40 is turned off, the vehicle ECU 3 instructs the MG-ECU 1 to stop. After that, the CPU 10 ends its operation, but if power is being supplied from the ECU battery 44, it resumes operation from step St1 after a predetermined time has elapsed.

[0070] In this way, the MG-ECU1 notifies the vehicle ECU3 of the startup time. When the vehicle ECU3 receives a notification of the determination of the presence of an abnormality from the other MG-ECU2, it determines the presence or absence of an abnormality in the MG-ECU1 from the startup time. For example, if the power supplies of both MG-ECU1 and 2 are interrupted momentarily due to noise occurring in the power supply lines 45 of the MG-ECU1 and 2, the MG-ECU2 determines that there is an abnormality, and the vehicle ECU3 can determine the presence or absence of an abnormality in the MG-ECU1 because the startup time of the MG-ECU1 at the determination time is shorter than a predetermined threshold value (i.e., immediately after startup).

[0071] 7 is a flowchart showing an example of the operation of the MG-ECU 2. The MG-ECU 2 can detect an abnormality caused by a momentary power interruption or the like by reading out the startup state information 240 in the non-volatile memory 24 at startup. Therefore, when the MG-ECU 2 determines that an abnormality exists based on the startup state information 240, it notifies the vehicle ECU 3 of the abnormality.

[0072] First, the CPU 20 performs a startup process (step St31) for the MG-ECU 2. The startup process includes a process of reading a program from the ROM 21 and loading it in the RAM 22, a boot process, various initial setting processes, and the like.

[0073] Next, the CPU 20 reads out the start-up state information 240 from the non-volatile memory 24 (step St32), and determines whether the start-up state information 240 indicates a "stop" state (step St33). If the start-up state information 240 indicates a "stop" state (Yes in step St33), the CPU 20 determines that no abnormality such as a momentary power interruption occurred in the MG-ECU 2 before start-up, and that the stop process was normally executed, and updates the start-up state information 240 to a "start" state without notifying the vehicle ECU 3 of the abnormality (step St34).

[0074] Furthermore, when the start-up state information 240 indicates the "started" state (No in step St33), the CPU 20 determines that the stop process is not being performed normally because an abnormality such as a momentary power interruption occurred in the MG-ECU 2 before start-up, and notifies the vehicle ECU 3 of the abnormality (step St40). As a result, the vehicle ECU 3 determines that an abnormality has occurred in the MG-ECU 2, and instructs the MG-ECU 2 to stop control of the MG 51.

[0075] Next, the CPU 20 determines whether or not there is an instruction to control the MG 51 from the vehicle ECU 3 (step St35). If the CPU 20 has received an instruction to control the MG 51 (Yes in step St35), the CPU 20 starts the drive process of the inverter 61 (step St36). The drive process of the inverter 61 is as described above.

[0076] Moreover, when the CPU 20 has not received an instruction to control the MG 51 (No in step St35), the CPU 20 does not perform the drive process of the inverter 61, and executes the operation of the following step St37.

[0077] Next, the CPU 20 judges whether or not there is a stop command from the vehicle ECU 3 (step St37). If the CPU 20 has received a stop command (Yes in step St37), it executes a process to stop the drive process of the inverter 61 (step St38). If an abnormality occurs in the MG-ECU 2 or the IG switch 40 is turned off, the vehicle ECU 3 issues a stop command to the MG-ECU 1. At this time, the MG-ECU 2 controls each switching element of the inverter 61 to be turned off. Note that even if the CPU 20 receives a stop command when it is not performing the drive process of the inverter 61, it still executes various processes in preparation for stopping the power supply.

[0078] Next, the CPU 20 updates the start-up state information 240 to the "stop" state (step St39). Therefore, at the next start-up, the CPU 20 can determine in the above-mentioned step St33 that no abnormality has occurred in the MG-ECU 2 because the start-up state information 240 indicates the stop state. After that, the CPU 20 ends its operation, but if power is being supplied from the ECU battery 44, it resumes its operation from step St31 after a predetermined time has elapsed.

[0079] Moreover, if the CPU 20 has not received a stop instruction (No in step St37), it executes the operation of step St37 again.

[0080] In this way, when the MG-ECU2 stops control of the MG51 in accordance with an instruction from the vehicle ECU3, it writes the startup status information 240 = "Stopped" into the non-volatile memory 24 as a stop record, and when control starts, it determines whether or not there is an abnormality in the MG-ECU2 based on the startup status information 240.

[0081] (Vehicle ECU operation) Fig. 8 is a flowchart showing an example of the operation of the vehicle ECU 3. In Fig. 8, the two reference characters A are connected to each other. The vehicle ECU 3 determines the presence or absence of an abnormality in the MG-ECU 1 based on the notification of the determination of the presence or absence of an abnormality from the MG-ECU 2 and the notification of the start-up time from the MG-ECU 1.

[0082] First, the CPU 30 performs a startup process (step St51) for the vehicle ECU 3. The startup process includes a process of reading a program from the ROM 31 and loading it in the RAM 32, a boot process, various initial setting processes, and the like.

[0083] Next, the CPU 30 judges whether or not it has received a notice of the determination that there is an abnormality from the MG-ECU 2 (step St52). If the CPU 30 has not received a notice (No in step St52), it instructs the MG-ECUs 1 and 2 to control the MGs 50 and 51, respectively (step St53). At this time, the CPU 30 notifies the MG-ECUs 1 and 2 of the required torque of each MG 50 and 51 together with the control instructions. In accordance with the control instructions, the MG-ECUs 1 and 2 start driving the inverters 60 and 61, respectively, so that the required torque is output from the MGs 50 and 51.

[0084] In this way, when the vehicle ECU 3 determines that the MG-ECU 2 has no abnormality, it instructs the MG-ECUs 1 and 2 to execute control. Therefore, when the MG-ECU 2 has no abnormality, not only can the MG-ECU 2 control the MG 51, but the MG-ECU 1 can also control the MG 50.

[0085] Next, the CPU 30 determines whether the IG switch 40 is off (step St54). If the IG switch 40 is off (Yes in step St54), the CPU 30 instructs the MG-ECUs 1 and 2 to stop controlling the MGs 50 and 51 (step St55). The MG-ECUs 1 and 2 each execute the stop of control of the MGs 50 and 51 in accordance with the control instruction.

[0086] Next, the CPU 30 performs a process of stopping the vehicle ECU 3 (step St56), after which the CPU 30 stops its operation.

[0087] Moreover, if the IG switch 40 is on (No in step St54), the operations from step St52 onwards are executed again.

[0088] Furthermore, when the CPU 30 has received a notification that an abnormality has been detected (Yes in step St52), the CPU 30 determines whether the notification is the first notification after the start-up process in step St51 (step St57). Here, the CPU 30 counts the number of notifications after the start-up process using, for example, a counter.

[0089] If the notification is the first notification after the start-up process of step St51 (Yes in step St57), the CPU 30 instructs the MG-ECU 2 to stop control (step St58). The MG-ECU 2 stops driving the inverter 61 in accordance with the instruction to stop. Thereafter, the CPU 30 performs the operation of step St52 again. Therefore, the MG-ECU 2 temporarily stops the control, but resumes the control after a predetermined time has elapsed.

[0090] In this way, when the MG-ECU 2 first determines that there is an abnormality after startup, the vehicle ECU 3 instructs the MG-ECU 2 to suspend control for a predetermined time. Therefore, when the abnormal state of the MG-ECU 2 is temporary, the vehicle ECU 3 can quickly recover from the abnormal state by causing the MG-ECU 2 to temporarily suspend control.

[0091] Furthermore, if the notification is the second notification after the startup process in step St51 (No in step St57), the CPU 30 requests the MG-ECU 1 to notify the startup time in order to determine whether or not there is an abnormality in the MG-ECU 1 (step St59). The CPU 10 of the MG-ECU 1 notifies the CPU 30 of the startup time in response to the request.

[0092] Next, the CPU 30 compares the startup time with a predetermined threshold TH (step St60). When the startup time < TH is satisfied (Yes in step St60), the CPU 30 determines that the MG-ECU 1 is in the state immediately after restart due to the occurrence of an abnormality, and instructs the MG-ECU 1 and 2 to stop control respectively (step St61). Here, the threshold TH is set in advance based on, for example, the required time for the startup process of the MG-ECU 1 and 2. When an abnormality such as a momentary power interruption occurs not only in the MG-ECU 2 but also in the MG-ECU 1, the MG-ECU 1 restarts, and it is possible to determine the abnormality from the shortness of its startup time.

[0093] In this way, when the vehicle ECU 3 determines that the MG-ECU 2 has an abnormality and the startup time is less than the threshold value, it instructs the MG-ECU 1 and 2 to stop control. For this reason, the MG-ECU 1 and 2 stop driving the inverters 60 and 61 respectively according to the stop instruction. Thereby, the vehicle ECU 3 can realize an appropriate fail-safe corresponding to the abnormality of the MG-ECU 1 and 2.

[0094] Also, when the startup time ≥ TH is satisfied (No in step St60), the CPU 30 determines that an abnormality has occurred only in the MG-ECU 2, and instructs the MG-ECU 2 to stop control (step St62). In this way, when the vehicle ECU 3 determines that the MG-ECU 2 has an abnormality and the startup time is equal to or greater than the threshold TH, it instructs the MG-ECU 2 to stop control. For this reason, the MG-ECU 2 stops controlling the MG51 according to the stop instruction. Thereby, the vehicle ECU 3 can realize an appropriate fail-safe corresponding to the abnormality of the MG-ECU 2.

[0095] Next, the CPU 30 instructs the MG-ECU 1 to control the MG51 instead of the MG-ECU 2 (step St63). The MG-ECU 1 drives the inverter 61 according to the control instruction.

[0096] In this manner, when the vehicle ECU 3 determines that the MG-ECU 2 has an abnormality and the activation time is equal to or longer than the threshold value TH, the vehicle ECU 3 instructs the MG-ECU 1 to execute control of the MGs 50, 51. Therefore, the vehicle ECU 3 can realize an appropriate fail-safe in response to the case where only the MG-ECU 2 has an abnormality.

[0097] Next, the CPU 30 determines whether the IG switch 40 is off (step St64). If the IG switch 40 is off (Yes in step St64), the CPU 30 instructs the MG-ECU 1 to stop controlling the MGs 50 and 51 (step St65). In response to the instruction to stop control, the MG-ECU 1 stops driving the inverters 60 and 61, thereby stopping the control of the MGs 50 and 51.

[0098] On the other hand, if the IG switch 40 is on (No in step St64), the CPU 30 executes the operation of step St63 again. In this manner, the vehicle ECU 3 operates.

[0099] In this way, the vehicle ECU 3 can determine whether or not there is an abnormality in both the MG-ECUs 1 and 2 based on the start-up time of the MG-ECU 1 in addition to the result of determining whether or not there is an abnormality in the MG-ECU 2, thereby achieving an appropriate fail-safe.

[0100] The above-described embodiment is a preferred example of the present invention, but the present invention is not limited to this embodiment and can be modified in various ways without departing from the scope of the present invention. [Explanation of symbols]

[0101] 1 MG-ECU (first computer) 2 MG-ECU (second computer) 3 Vehicle ECU (third computer) 9 Vehicle control device 24 Non-volatile memory 50 Motor generator (first driving force source) 51 Motor generator (second driving force source) 60,61 Inverter 90 vehicles

Claims

1. a first computer that controls a first driving force source of the vehicle; a second computer for controlling a second driving power source of the vehicle; a third computer that issues instructions to the first computer and the second computer regarding control of the first driving power source and the second driving power source, the second computer has a non-volatile memory, and when the second computer stops control in accordance with an instruction from the third computer, writes a stop record into the non-volatile memory, and when the second computer starts control, determines whether or not there is an abnormality in the second computer based on the stop record; the first computer does not have a non-volatile memory, measures an elapsed time from a start-up time of the first computer, when the second computer determines that an abnormality has occurred, and the elapsed time is less than a threshold, the third computer instructs the first computer and the second computer to stop control. Vehicle control device.

2. when the second computer determines that an abnormality has occurred and the elapsed time is equal to or greater than the threshold, the third computer instructs the second computer to stop control. The vehicle control device according to claim 1.

3. when the second computer determines that an abnormality has occurred and the elapsed time is equal to or greater than the threshold, the third computer instructs the first computer to execute control of the first driving force source and the second driving force source. The vehicle control device according to claim 2.

4. When the second computer determines that there is no abnormality, the third computer instructs the first computer and the second computer to execute control.

4. A vehicle control device according to claim 1.

5. the third computer instructs the second computer to temporarily stop control when the second computer first determines that an abnormality exists after the third computer is started up; 5. A vehicle control device according to claim 1.

Citation Information

Patent Citations

  • Hybrid vehicle control device

    JP2015063158A

  • Control apparatus for electric automobile

    JP2015156763A

  • Hybrid vehicle

    JP2017136989A

  • Automobile electronic control device

    JP2020035503A

  • Vehicle communication system and electronic control unit

    US20110238262A1