Vehicle control device, vehicle control method, and vehicle control program

The vehicle control device uses redundant microcomputers to detect and notify external systems of abnormalities in directly communicable microcomputers, ensuring reliable failure detection and cost-effective operation.

JP7537310B2Active Publication Date: 2024-08-21TOYOTA JIDOSHA KK
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
JP2021031045
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-26
Publication Date
2024-08-21
Estimated Expiration
2041-02-26

AI Technical Summary

Technical Problem

Existing vehicle control systems fail to effectively notify external devices of abnormalities in microcomputers that can directly communicate with the outside when an abnormality occurs in such microcomputers, leading to undetected failures.

Method used

A vehicle control device with redundant microcomputers, where one microcomputer can communicate directly with the outside and the other cannot, allowing the latter to control the operation of communication units based on signals from the former, ensuring abnormality notification by stopping communication when state discrepancies are detected.

Benefits of technology

Ensures that abnormalities in microcomputers capable of direct communication are reliably notified to external systems, preventing undetected failures and reducing construction costs by avoiding direct external communication for the redundant microcomputer.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007537310000009
    Figure 0007537310000009
  • Figure 0007537310000010
    Figure 0007537310000010
  • Figure 0007537310000002
    Figure 0007537310000002
Patent Text Reader

Abstract

To provide a notification of an abnormality to an outside even in a case where, within a device including a plurality of microcomputers, the abnormality occurs in a microcomputer capable of communicating directly with the outside of the device.SOLUTION: A vehicle control device 30 includes: a first microcomputer 34-1 capable of communicating with the outside; and a second microcomputer 34-2 incapable of communicating directly with the outside and capable of communicating with the first microcomputer 34-1. A first CAN transceiver 34-3 and a second CAN transceiver 34-4 each receive a control signal from the outside. The first microcomputer 34-1 controls the operation of a first relay 32-2 on the basis of the control signal, and outputs the control signal to the second microcomputer 34-2. In a case where the state of the first relay 32-2 corresponding to the control signal and a state exhibited by the first relay 32-2 are different, the second microcomputer 34-2 performs control so as to stop the operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a vehicle control device, a vehicle control method, and a vehicle control program. [Background technology]

[0002] Conventionally, there is known an electronic control device capable of efficiently detecting a failure of a control microcomputer (for example, Patent Document 1). Patent Document 1 discloses that when each of a plurality of control microcomputers receives the same data from a CAN communication bus, a certain microcomputer monitors whether or not the communication data output by the other microcomputers to the CAN communication bus is normal, thereby efficiently detecting a failure of the other microcomputers (for example, see paragraph

[0009] of Patent Document 1, etc.). [Prior art documents] [Patent documents]

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

[0004] However, as disclosed in the above Patent Document 1, when multiple microcomputers exist in one device, an abnormality may occur in one of the multiple microcomputers. When an abnormality occurs in the microcomputer included in the device, the state needs to be notified to the outside of the device.

[0005] In this regard, in the above-mentioned Patent Document 1, a CAN transceiver is connected as a communication unit to each of the multiple microcomputers, so that when an abnormality occurs in another microcomputer in the device, the microcomputer can notify the outside of the abnormality via the CAN transceiver connected to itself.

[0006] On the other hand, unlike the configuration of Patent Document 1, some microcomputers in the device may not be able to communicate directly with the outside. In this case, when an abnormality occurs in a microcomputer that can communicate directly with the outside, it is assumed that the abnormality will not be notified to the outside. This is because the microcomputer that can communicate directly with the outside is itself in an abnormal state, and the microcomputer that cannot communicate directly with the outside cannot notify the outside of the abnormality.

[0007] For this reason, the technology disclosed in Patent Document 1 above has the problem that when an abnormality occurs in a microcomputer that is capable of communicating directly with the outside of a device equipped with multiple microcomputers, the abnormality may not be notified to the outside.

[0008] The present disclosure takes into consideration the above-mentioned facts and aims to notify the outside of an abnormality even if an abnormality occurs in a microcomputer capable of direct communication with the outside of an apparatus equipped with multiple microcomputers. [Means for solving the problem]

[0009] A first embodiment of a vehicle control device is a vehicle control device comprising a communication unit, a first microcomputer capable of communicating with the outside via the communication unit, and a second microcomputer that is unable to communicate directly with the outside and can communicate with the first microcomputer, wherein the communication unit receives a control signal from the outside, the first microcomputer controls the operation of a controlled object based on the control signal received by the communication unit, outputs the control signal to the second microcomputer, and the second microcomputer controls the operation of the communication unit to stop when the state of the controlled object corresponding to the control signal differs from the state represented by the controlled object.

[0010] According to the vehicle control device of the first aspect, the communication unit receives a control signal from the outside. The first microcomputer controls the operation of the controlled object based on the control signal received by the communication unit, and outputs the control signal to the second microcomputer. The second microcomputer controls the operation of the communication unit to stop when the state of the controlled object corresponding to the control signal differs from the state represented by the controlled object. In this way, even if an abnormality occurs in the first microcomputer that can directly communicate with the outside of the vehicle control device in the vehicle control device having multiple microcomputers, the abnormality can be notified to the outside. Specifically, the second microcomputer controls the operation of the communication unit to stop when the state of the controlled object represented by the control signal output from the first microcomputer differs from the actual state of the controlled object. As a result, the vehicle control device cannot communicate with the external device, and the external device can detect that the vehicle control device does not respond and detect that an abnormality has occurred in the vehicle control device.

[0011] In the vehicle control device of the second aspect, the controlled object is a relay located between the first power source and the second power source. By providing a relay between the first power source and the second power source, power source switching can be performed.

[0012] In the vehicle control device of the third aspect, the first microcomputer controls the relay to be in an off state in response to the control signal and outputs the control signal to the second microcomputer, and the second microcomputer acquires the state represented by the relay and controls the communication unit to stop operation when the state represented by the control signal differs from the state represented by the relay. As a result, when the state of the relay represented by the control signal differs from the actual state of the relay, the communication unit stops operation and an abnormality occurring in the vehicle control device can be notified to the outside.

[0013] In the vehicle control device of the fourth aspect, the first microcomputer controls the relay to be in an off state in response to the control signal and outputs the control signal to the second microcomputer, and the second microcomputer acquires the state represented by the relay, and when the state represented by the relay is an off state and the state represented by the control signal is identical to the state represented by the relay, outputs an interlock signal for maintaining the off state of the relay. This makes it possible to interlock the state of the relay when the state represented by the control signal is identical to the actual state of the relay.

[0014] In the vehicle control device of the fifth aspect, the first microcomputer controls the relay to be in the off state when the voltage value of the first power supply side of the relay becomes equal to or greater than a predetermined value, thereby enabling smooth switching of the power supply.

[0015] A sixth aspect of the vehicle control method is a vehicle control method executed in a vehicle control device having a communication unit, a first microcomputer capable of communicating with the outside via the communication unit, and a second microcomputer that is unable to communicate directly with the outside and can communicate with the first microcomputer, in which the communication unit receives a control signal from the outside, the first microcomputer controls the operation of a controlled object based on the control signal received by the communication unit, outputs the control signal to the second microcomputer, and the second microcomputer controls the operation of the communication unit to stop when the state of the controlled object corresponding to the control signal differs from the state represented by the controlled object.

[0016] A seventh aspect of the vehicle control program is a vehicle control program to be executed by a second microcomputer of a vehicle control device having a communication unit, a first microcomputer capable of communicating with the outside via the communication unit, and a second microcomputer that is unable to communicate directly with the outside and can communicate with the first microcomputer, wherein the communication unit receives a control signal from the outside, the first microcomputer controls the operation of a controlled object based on the control signal received by the communication unit, outputs the control signal to the second microcomputer, and the second microcomputer controls the operation of the communication unit to stop when the state of the controlled object corresponding to the control signal differs from the state represented by the controlled object. Effect of the Invention

[0017] As described above, according to the present disclosure, even if an abnormality occurs in a microcomputer capable of direct communication with the outside of a device equipped with multiple microcomputers, the abnormality can be notified to the outside. [Brief description of the drawings]

[0018] [Figure 1] 1 is a schematic block diagram of a vehicle control system according to an embodiment. [Diagram 2] FIG. 2 is a diagram for explaining a flow of current. [Diagram 3] FIG. 2 is a diagram for explaining a flow of current. [Figure 4] FIG. 2 is a diagram illustrating an example of the configuration of a computer of each device according to the embodiment. [Diagram 5] 1 is an example of a process performed by a vehicle control device. [Figure 6] 1 is an example of a process performed by a vehicle control device. [Figure 7] 1 is an example of an electric circuit around a first relay. [Figure 8] 1 is an example of a process performed by a vehicle control device. [Figure 9] 1 is an example of a process performed by a vehicle control device. [Figure 10] FIG. 13 is a diagram for explaining a current flow through a parasitic diode. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0019] (Vehicle Control System) Fig. 1 is a block diagram showing an example of a functional configuration of a vehicle control system 10 according to an embodiment. As shown in Fig. 1, the vehicle control system 10 includes a primary system 20, a vehicle control device 30, a secondary system 40, and an automatic driving control ECU (Electronic Control Unit) 50. The vehicle control system 10 is mounted on a vehicle. The vehicle control device 30 is an ECU.

[0020] 1, the primary system 20 includes a first power source 22, a first converter 24, and primary system components 26. The first converter 24 is, for example, a DC-DC converter for a HV (Hybrid vehicle).

[0021] The vehicle control device 30 includes a second converter 32-1, a first relay 32-2, and a second relay 32-3. The second converter 32-1 is a bidirectional DC / DC converter. The vehicle control device 30 also includes a first microcomputer 34-1 (hereinafter simply referred to as the first microcomputer 34-1), a second microcomputer 34-2 (hereinafter simply referred to as the second microcomputer 34-2), a first CAN (Controller Area Network) transceiver 34-3, and a second CAN transceiver 34-4. The data communicated in the first CAN transceiver 34-3 and the data communicated in the second CAN transceiver 34-4 are data of the same content. The first CAN transceiver 34-3 and the second CAN transceiver 34-4 are examples of a communication unit.

[0022] It should be noted that there is no communication line between the second microcomputer 34-2 and the first CAN transceiver 34-3 and the second CAN transceiver 34-4. Therefore, the second microcomputer 34-2 cannot directly communicate with the outside via the first CAN transceiver 34-3 or the second CAN transceiver 34-4. On the other hand, the second microcomputer 34-2 is configured to be able to control the operation of the first CAN transceiver 34-3 or the second CAN transceiver 34-4. For example, the second microcomputer 34-2 can stop the operation of each transceiver (for example, transition to a standby mode) by executing STB (Set Top Box) control on each transceiver.

[0023] The vehicle control device 30 of the vehicle control system 10 of this embodiment switches the power supply when switching from normal driving to automatic driving. Note that normal driving is manual driving by a vehicle occupant.

[0024] 2 and 3 are diagrams for explaining the current flow. FIG. 2 shows the current flow when the vehicle is in a normal driving state. When the vehicle is in a normal driving state, as shown in FIG. 2, the first relay 32-2 is in an ON state and the second relay 32-3 is in an OFF state. In this case, power is supplied from the first power source 22 and the first converter 24 to the primary system components 26, and a current I1 flows into the primary system components 26. Power is also supplied from the first power source 22 and the first converter 24 to the secondary system components 44, and a current I2 flows into the secondary system components 44. Note that a current also flows from the first power source 22 and the first converter 24 to the second power source 42 via the second converter 32-1, thereby charging the second power source 42.

[0025] On the other hand, Fig. 3 shows the flow of current when the vehicle is in an autonomous driving state. When the vehicle is in an autonomous driving state, as shown in Fig. 3, the first relay 32-2 is in an off state and the second relay 32-3 is in an on state. In this case, power is supplied from the first power source 22 and the first converter 24 to the primary system components 26, and a current I3 flows into the primary system components 26. Power is also supplied from the first power source 22 and the first converter 24 to the secondary system components 44, and currents I4 and I6 flow into the secondary system components 44 via the second converter 32-1. Note that a current I5 also flows from the first power source 22 and the first converter 24 to the second power source 42 via the second converter 32-1, thereby charging the second power source 42.

[0026] In the vehicle control system 10, the primary system 20 and the secondary system 40 are connected via the second converter 32-1 so that the primary system 20 can be disconnected when an abnormality occurs on the primary system 20 side. When the primary system 20 is disconnected from the secondary system 40, power is not supplied from the primary system 20 to the secondary system 40. In this case, as shown in FIG. 3, the second relay 32-3 is in the on state, so that power is supplied from the second power source 42 to the secondary system component 44. Such a power source switching process can also be realized by, for example, the technology disclosed in JP 2019-146305 A.

[0027] The first microcomputer 34-1 and the second microcomputer 34-2 in the vehicle control device 30 perform the above-mentioned power supply control. The first microcomputer 34-1 and the second microcomputer 34-2 receive signals from each unit in the vehicle control device 30. In addition, the first microcomputer 34-1 and the second microcomputer 34-2 output control signals for controlling each unit in the vehicle control device 30.

[0028] Furthermore, in the vehicle control device 30, the control of the first relay 32-2 is made redundant by two microcomputers, the first microcomputer 34-1 and the second microcomputer 34-2. Specifically, as described below, the first microcomputer 34-1 controls the on / off state of the first relay 32-2, and the second microcomputer 34-2 performs an interlock of the first relay 32-2.

[0029] 1, the first microcomputer 34-1 is connected to the first CAN transceiver 34-3 and the second CAN transceiver 34-4, and can directly communicate with the outside of the vehicle control device 30 via the first CAN transceiver 34-3 and the second CAN transceiver 34-4. The first CAN transceiver 34-3 is connected to the local CAN, and the second CAN transceiver 34-4 is connected to the global CAN.

[0030] On the other hand, the second microcomputer 34-2 cannot directly communicate with the outside world. The second microcomputer 34-2 is connected to the first microcomputer 34-1 so as to be able to communicate with the outside world via the first microcomputer 34-1.

[0031] Here, for example, consider a case where an abnormality occurs in the first microcomputer 34-1. In this case, since the control of the first relay 32-2 is made redundant by the first microcomputer 34-1 and the second microcomputer 34-2, the second microcomputer 34-2 cannot control the first relay 32-2 instead of the first microcomputer 34-1. Furthermore, in this case, since the second microcomputer 34-2 cannot directly communicate with the outside, it cannot notify the external ECU that an abnormality has occurred in the first microcomputer 34-1. If the second microcomputer 34-2 were configured to be able to directly communicate with the outside, the cost of constructing the vehicle control device 30 would increase.

[0032] Therefore, when a control signal is issued from the autonomous driving control ECU 50, the second microcontroller 34-2 of the vehicle control system 10 of this embodiment controls the operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4 to be stopped if the state of the first relay 32-2 represented by the control signal differs from the actual state of the first relay 32-2 whose operation is controlled in accordance with the control signal.

[0033] As a result, the operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4 stops, and the vehicle control device 30 is unable to communicate with an external ECU. The external ECU connected to the local CAN and the global CAN can detect that the vehicle control device 30 is not responding and can detect that an abnormality has occurred in the vehicle control device 30. Therefore, according to this embodiment, even if an abnormality occurs in a microcomputer capable of direct communication with the outside of the device in a device equipped with multiple microcomputers, the abnormality can be notified to the outside.

[0034] The first microcomputer 34-1 and the second microcomputer 34-2 are realized by, for example, a semiconductor integrated circuit, more specifically, an Application Specific Integrated Circuit (ASIC) or the like.

[0035] The first microcomputer 34-1 and the second microcomputer 34-2 can be realized by a computer 60 as shown in FIG. 4. The computer 60 realizing the first microcomputer 34-1 and the second microcomputer 34-2 includes a central processing unit (CPU) 61, a memory 62 as a temporary storage area, and a non-volatile storage unit 63. The computer also includes an input / output interface (I / F) 64 to which an input / output device or the like (not shown) is connected, and a read / write (R / W) unit 65 that controls reading and writing of data to a recording medium 69. The computer also includes a network I / F 66 that is connected to a network such as the Internet. The CPU 61, the memory 62, the storage unit 63, the input / output I / F 64, the R / W unit 65, and the network I / F 66 are connected to one another via a bus 67.

[0036] The storage unit 63 can be realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. The storage unit 63 as a storage medium stores a program for making the computer function. The CPU 61 reads the program from the storage unit 63, expands it in the memory 62, and sequentially executes the processes contained in the program.

[0037] Next, the operation of the vehicle control system 10 according to the embodiment will be described.

[0038] When the driving state of the vehicle switches from a normal driving state to an automatic driving state, the automatic driving control ECU 50 outputs an automatic driving switching signal representing the switch from normal driving to automatic driving to the vehicle control device 30. When the first microcomputer 34-1 of the vehicle control device 30 receives the automatic driving switching signal, it executes the process shown in FIG.

[0039] The first microcomputer 34-1 of the vehicle control device 30 receives a control signal issued from the automatic driving control ECU 50 via each of the first CAN transceiver 34-3 and the second CAN transceiver 34-4. In this case, when the first microcomputer 34-1 receives an automatic driving switching signal via either the first CAN transceiver 34-3 or the second CAN transceiver 34-4, the first microcomputer 34-1 executes the process shown in Fig. 5. When the control signal received via the first CAN transceiver 34-3 and the control signal received via the second CAN transceiver 34-4 are inconsistent, the first microcomputer 34-1 outputs an abnormality notification signal indicating an abnormality to an external ECU.

[0040] In step S100, the first microcomputer 34-1 outputs an automatic driving switching signal to the second microcomputer 34-2.

[0041] In step S101, the first microcomputer 34-1 outputs a control signal indicative of boosting to the first converter 24, thereby controlling the power supply voltage supplied from the primary system 20 to be increased.

[0042] The voltage value on the primary system 20 side is lower than the voltage value on the secondary system 40 side. For this reason, when switching the power source in a live state, it is preferable to make the voltage supplied from the primary system 20 side equal to the voltage on the secondary system 40 side. For this reason, when controlling the first relay 32-2 to be turned off, the first microcomputer 34-1 controls the first converter 24 to increase the voltage of the power source supplied from the primary system 20 by outputting a control signal representing a boost to the first converter 24.

[0043] In step S102, the first microcomputer 34-1 acquires a voltage value on the side of the primary system 20. For example, the first microcomputer 34-1 acquires a voltage value of S1 on the side of the primary system 20 shown in Fig. 1. The voltage value of S1 on the side of the primary system 20 and the voltage value of S2 on the side of the secondary system 40 are different voltage values.

[0044] In step S104, the first microcomputer 34-1 determines whether or not a condition for power supply switching from the primary system 20 to the secondary system 40 is satisfied. If the condition for power supply switching is satisfied, the process proceeds to step S106. On the other hand, if the condition for power supply switching is not satisfied, the process returns to step S102.

[0045] The condition for power supply switching is set as to whether the voltage value on the first power supply 22 side of the first relay 32-2 is equal to or greater than a predetermined value. For example, a condition that the voltage value of S1 on the primary system 20 side is equal to or greater than a predetermined voltage (e.g., 14 V) can be set in advance. This allows the voltage value on the primary system 20 side to be aligned with the voltage value on the secondary system 40 side, realizing smooth power supply switching. Note that the condition for power supply switching may further be set as to whether a predetermined time (e.g., 4 seconds) or more has elapsed since the output of a control signal to the first converter 24.

[0046] In step S106, the first microcomputer 34-1 controls the operation of the first relay 32-2, which is an example of a control target, based on the automatic driving switching signal. The first microcomputer 34-1 also controls the operation of the second relay 32-3 based on the automatic driving switching signal.

[0047] Specifically, in step S106, the first microcomputer 34-1 outputs a control signal to the first relay 32-2 to control the first relay 32-2 to be in an OFF state. The first microcomputer 34-1 also outputs a control signal to the second relay 32-3 to control the second relay 32-3 to be in an ON state. This causes power supply switching to be performed, and the state shown in FIG. 2 is switched to the state shown in FIG. 3.

[0048] Furthermore, when the second microcomputer 34-2 of the vehicle control device 30 receives the automatic driving switching signal output from the first microcomputer 34-1, it executes the process shown in FIG.

[0049] In step S200, the second microcomputer 34-2 acquires the automatic driving switching signal output from the first microcomputer 34-1 in step S100 of FIG.

[0050] In step S202, the second microcomputer 34-2 updates a flag that is stored in a predetermined storage unit (not shown) and indicates whether the first relay 32-2 is interlocked or not. Specifically, the second microcomputer 34-2 updates the flag that indicates whether the first relay 32-2 is interlocked or not to the "interlocked" state.

[0051] When power supply switching is performed, it is preferable to interlock the first relay 32-2 in order to maintain that state. Therefore, when a predetermined condition is satisfied in the process described below, the second microcomputer 34-2 interlocks the first relay 32-2.

[0052] In step S204, the second microcomputer 34-2 acquires the intermediate voltage of the first relay 32-2 as an example of the state of the first relay 32-2, which is an example of an object to be controlled.

[0053] An example of an electric circuit diagram around the first relay 32-2 is shown in Fig. 7. As shown in Fig. 7, the electric circuit around the first relay 32-2 is composed of transistors Tr1 and Tr2, a resistor R, and a diode D. As shown in Fig. 7, the first relay 32-2 is composed of transistors Tr1 and Tr2, a resistor R, and a diode D. 2-1 and transistor Tr 2-2 The transistors Tr1 and Tr2 are MOSFETs (Metal-Oxide-Semiconductor Field Effect Transistors).

[0054] The second microcomputer 34-2 detects the transistor Tr of the first relay 32-2 shown in FIG. 2-1 and transistor Tr 2-27, OUT1 is a terminal for outputting to the first microcomputer 34-1, and OUT2 is a terminal for outputting to the second microcomputer 34-2. The second microcomputer 34-2 obtains the intermediate voltage T outputted from OUT2.

[0055] In step S206, the second microcomputer 34-2 determines whether the condition for the first relay 32-2 is satisfied. If the condition for the first relay 32-2 is not satisfied, the process proceeds to step S208. On the other hand, if the condition for the first relay 32-2 is satisfied, the process proceeds to step S210.

[0056] As a condition for the first relay 32-2, for example, a condition is set such that the intermediate voltage T of the first relay 32-2 acquired in step S204 above is equal to or lower than a predetermined voltage value (e.g., equal to or lower than 3 V) and that state has continued for a predetermined time or longer (e.g., 24 ms or longer).

[0057] When the automatic driving switching signal is issued from the automatic driving control ECU 50, the first relay 32-2 is turned off in step S106 in Fig. 5, and therefore the intermediate voltage T should be zero. However, if the intermediate voltage T is equal to or higher than a predetermined voltage value and this state continues for a predetermined time or longer despite the automatic driving switching signal being issued, it is highly likely that an abnormality has occurred in the vehicle control device 30 itself. In particular, it is highly likely that an abnormality has occurred in the first microcomputer 34-1 that receives the automatic driving switching signal and controls the operation of the first relay 32-2.

[0058] Therefore, as described above, when the state of the first relay 32-2 corresponding to the automatic driving switching signal differs from the state represented by the actual first relay 32-2, the second microcontroller 34-2 controls the operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4, which are examples of a communication unit, to be stopped.

[0059] Specifically, in step S208, the second microcomputer 34-2 outputs a control signal to stop the operations of the first CAN transceiver 34-3 and the second CAN transceiver 34-4.

[0060] When the second microcomputer 34-2 stops the operations of the first CAN transceiver 34-3 and the second CAN transceiver 34-4, the second microcomputer 34-2 checks whether an abnormality notification signal indicating an abnormality has been output from the first microcomputer 34-1 to the external ECU. If an abnormality notification signal indicating an abnormality has been output from the first microcomputer 34-1 to the external ECU, the first microcomputer 34-1 itself recognizes the abnormality.

[0061] For example, the first microcomputer 34-1, after controlling the first relay 32-2 to be in the off state, acquires the intermediate voltage T output from OUT1 shown in Fig. 7, and outputs an abnormality notification signal indicating an abnormality to the outside if the value of the intermediate voltage T is equal to or greater than a predetermined value. In this case, since the external ECU is notified that the vehicle control device 30 is abnormal, the second microcomputer 34-2 does not need to stop the operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4.

[0062] Therefore, when the conditions related to the first relay 32-2 are not satisfied and an abnormality notification signal indicating an abnormality has not been output from the first microcontroller 34-1 to an external ECU, the second microcontroller 34-2 outputs a control signal to stop operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4.

[0063] On the other hand, when the condition for the first relay 32-2 is satisfied, the state represented by the automatic driving switching signal and the actual state of the first relay 32-2 are the same.

[0064] In this case, in step S210, the second microcomputer 34-2 outputs an interlock signal indicating the implementation of an interlock for maintaining the OFF state of the first relay 32-2. The second microcomputer 34-2 confirms that the flag indicating whether or not the interlock is enabled is set to "enabled" and outputs the interlock signal.

[0065] Specifically, the second microcomputer 34-2 performs an interlock so that the off state of the first relay 32-2 is continued by outputting a control signal to IN2 shown in Fig. 7. Note that a control signal output from the first microcomputer 34-1 is input to IN1 shown in Fig. 7. If a signal is input to at least one of IN1 and IN2, an interlock is executed to continue the off state of the first relay 32-2, so that the off state of the first relay 32-2 is continued even if a control signal is not input from the first microcomputer 34-1 to IN1.

[0066] In this way, the second microcomputer 34-2 controls the first CAN transceiver 34-3 and the second CAN transceiver 34-4 to stop operation when the state of the first relay 32-2 indicated by the control signal output from the first microcomputer 34-1 differs from the actual state of the first relay 32-2. This makes it impossible for the vehicle control device 30 to communicate with an external ECU, and the external ECU connected to the local CAN and global CAN can detect that the vehicle control device 30 is not responding and detect that an abnormality has occurred in the vehicle control device 30. In addition, since it is no longer necessary to connect the second microcomputer 34-2 to the local CAN and global CAN, the cost of constructing the vehicle control device 30 can be reduced.

[0067] Furthermore, when the first microcomputer 34-1 controls the first relay 32-2, the second microcomputer 34-2 executes an interlock based on the intermediate voltage T representing the voltage between the two transistors that configure the first relay 32-2. This allows the second microcomputer 34-2 to execute an interlock on the first relay 32-2 without obtaining control information on the first relay 32-2 from the first microcomputer 34-1.

[0068] 7, IN1 and IN2 are provided with diodes, and the circuit for signal input from the first microcomputer 34-1 is separated from the circuit for signal input from the second microcomputer 34-2. As a result, even if the circuit on the first microcomputer 34-1 side breaks down due to a ground fault or the like, the state of the first relay 32-2 can be maintained by inputting an interlock signal from the second microcomputer 34-2 to IN2.

[0069] Next, the operation of the vehicle control system 10 when switching from automatic driving to normal driving will be described.

[0070] When the driving state of the vehicle switches from an autonomous driving state to a normal driving state, the autonomous driving control ECU 50 outputs a normal driving switching signal representing the switch from autonomous driving to normal driving to the vehicle control device 30. Upon receiving the normal driving switching signal, the vehicle control device 30 executes the process shown in FIG.

[0071] In step S300, the first microcomputer 34-1 outputs a normal operation switch signal to the second microcomputer 34-2.

[0072] In step S301, the first microcomputer 34-1 outputs a control signal indicative of boosting to the first converter 24, thereby controlling the power supply voltage supplied from the primary system 20 to be increased.

[0073] In step S302, the first microcomputer 34-1 acquires a voltage value on the side of the primary system 20. For example, the first microcomputer 34-1 acquires a voltage value of S1 on the side of the primary system 20 shown in FIG.

[0074] In step S304, the first microcomputer 34-1 determines whether or not a condition for power supply switching from the primary system 20 to the secondary system 40 is satisfied. If the condition for power supply switching is satisfied, the process proceeds to step S306. On the other hand, if the condition for power supply switching is not satisfied, the process returns to step S302.

[0075] As described above, the condition for power supply switching can be set in advance such that the voltage value of S1 on the primary system 20 side is equal to or higher than a predetermined voltage (e.g., 14 V). Note that the condition for power supply switching may further be set such that a predetermined time (e.g., 4 seconds) or more has elapsed since the output of a control signal to the first converter 24.

[0076] In step S306, the first microcomputer 34-1 controls the operation of the first relay 32-2, which is an example of a controlled object, based on the normal operation switching signal. The first microcomputer 34-1 also controls the operation of the second relay 32-3 based on the normal operation switching signal.

[0077] Specifically, in step S306, the first microcomputer 34-1 outputs a control signal to the first relay 32-2 to control the first relay 32-2 to be in an ON state. The first microcomputer 34-1 also outputs a control signal to the second relay 32-3 to be in an OFF state. This causes the power supply to be switched from the state shown in FIG. 3 to the state shown in FIG. 2.

[0078] Furthermore, when the second microcomputer 34-2 of the vehicle control device 30 receives the normal operation switch signal output from the first microcomputer 34-1, the second microcomputer 34-2 executes the process shown in FIG.

[0079] In step S400, the second microcomputer 34-2 acquires the normal operation switch signal output from the first microcomputer 34-1 in step S300 of FIG.

[0080] In step S402, the second microcomputer 34-2 outputs an interlock release signal indicating release of the interlock of the first relay 32-2.

[0081] In step S404, the second microcomputer 34-2 updates a flag that is stored in a predetermined storage unit (not shown) and indicates whether the first relay 32-2 is interlocked or not. Specifically, the second microcomputer 34-2 updates the flag that indicates whether the first relay 32-2 is interlocked or not to the "no" state.

[0082] Here, the flag indicating whether interlock is enabled or disabled will be described.

[0083] There are cases where the automatic driving switching signal and the normal driving switching signal are issued consecutively from the automatic driving control ECU 50. This state is also called hunting. Here, for example, a case is considered where the normal driving switching signal and the automatic driving switching signal are issued consecutively, the vehicle control device 30 receives the normal driving switching signal, and the automatic driving switching signal is received while the power supply switching is being performed by the normal driving switching signal. In this case, while the first microcomputer 34-1 is executing the power supply switching control from the automatic driving to the normal driving based on the normal driving switching signal, the automatic driving switching signal is received, and the intermediate voltage T of the first relay may be equal to or lower than a predetermined voltage. In this case, it is assumed that the second microcomputer 34-2 will perform an interlock on the first relay 32-2. Therefore, in this embodiment, a flag indicating whether or not the interlock is possible is set. When the second microcomputer 34-2 receives the automatic driving switching signal or the manual driving switching signal, the second microcomputer 34-2 immediately updates the flag indicating whether or not the interlock is possible. When the second microcomputer 34-2 executes an interlock for the first relay 32-2, the second microcomputer 34-2 executes the interlock by referring to the flag, thereby making it possible to prevent the occurrence of the above-mentioned situation.

[0084] As shown in Fig. 7, the first relay 32-2 and the second relay 32-3 are configured by MOSFETs. A parasitic diode is formed in the MOSFET.

[0085] FIG. 10 is a diagram for explaining a current flow taking into consideration a parasitic diode. As shown in FIG. 10, the transistor Tr constituting the first relay 32-2 2-1 ,Tr 2-2 Parasitic diodes D1 and D2 are formed on the transistor Tr 2-3 ,Tr 2-4 Parasitic diodes D3 and D4 are also formed at

[0086] As shown in FIG. 10, when the power supply is switched, one of the transistors Tr of the first relay 32-2 is turned on. 2-2 A parasitic diode D2 is formed in the transistor Tr 2-2 Even if the current I 10 In addition, as shown in FIG. 10, when the power supply is switched, one of the transistors Tr 2-3 A parasitic diode D2 is formed in the transistor Tr 2-3 Even if the current I 11 flows into the secondary system components 44. This prevents the occurrence of a momentary power interruption, and makes it possible to perform power supply switching while the power supply is continued.

[0087] As described above, the vehicle control system 10 according to the first embodiment includes the first CAN transceiver 34-3 and the second CAN transceiver 34-4, which are an example of a communication unit, the first microcomputer 34-1 capable of communicating with the outside via the first CAN transceiver 34-3 and the second CAN transceiver 34-4, and the second microcomputer 34-2, which is unable to directly communicate with the outside and is capable of communicating with the first microcomputer 34-1. The first CAN transceiver 34-3 and the second CAN transceiver 34-4 receive control signals from the outside. The first microcomputer 34-1 controls the operation of the first relay 32-2, which is an example of a controlled object, based on the control signal and outputs the control signal to the second microcomputer 34-2. The second microcomputer 34-2 controls the first CAN transceiver 34-3 and the second CAN transceiver 34-4 to stop their operations when the state of the first relay 32-2 corresponding to the control signal is different from the state represented by the first relay 32-2. As a result, even if an abnormality occurs in a microcomputer capable of direct communication with the outside of the device in a device having a plurality of microcomputers, the abnormality can be notified to the outside.

[0088] Specifically, when the state of the first relay 32-2 indicated by the control signal output from the first microcomputer 34-1 differs from the actual state of the first relay 32-2, the second microcomputer 34-2 controls to stop the operation of the first CAN transceiver 34-3 and the second CAN transceiver 34-4. This makes it impossible for the vehicle control device 30 to communicate with an external ECU, and the external ECU connected to the local CAN and global CAN can detect that the vehicle control device 30 is not responding and detect that an abnormality has occurred in the vehicle control device 30. In addition, since it is no longer necessary to connect the second microcomputer 34-2 to the local CAN and global CAN, the cost of constructing the vehicle control device 30 can be reduced.

[0089] In the above embodiment, the processes performed by each device are described as being executed by hardware, but they may be software processes executed by executing a program. Alternatively, they may be processes that combine both software and hardware. In that case, the programs stored in the ROM may be stored in various storage media and distributed.

[0090] Furthermore, the present disclosure is not limited to the above, and it goes without saying that various modifications can be made without departing from the spirit and scope of the present disclosure.

[0091] For example, in the above embodiment, the second microcomputer 34-2 detects the actual state of the first relay 32-2 as the transistor Tr 2-1 and transistor Tr 2-2 However, the present invention is not limited to this. For example, the second microcomputer 34-2 acquires the intermediate voltage T between the transistor Tr 2-1 and transistor Tr 2-2 and the actual state of the first relay 32-2 may be determined based on the current value.

[0092] In the above embodiment, the control signal received by the vehicle control device 30 from the outside is an automatic driving switching signal and a manual driving switching signal, but the present invention is not limited to this. The control signal may be any signal. [Explanation of symbols]

[0093] 10 Vehicle Control System 20 Primary system 22 1st power supply 24 1st Converter 26 Primary system parts 30 Vehicle control device 32-1 Second converter 32-2 1st Relay 32-3 2nd Relay 34-1 First microcomputer 34-2 Second microcomputer 34-3 1st CAN transceiver 34-4 Second CAN transceiver 40 Secondary system 42 2nd power supply 44 Secondary system parts 50 Autonomous Driving Control ECU 60 Computer

Claims

1. The Communications Department and a first microcomputer capable of communicating with an external device via the communication unit; A vehicle control device including a second microcomputer that is incapable of direct communication with the outside and is capable of communicating with the first microcomputer, The communication unit receives a control signal from an external device, the first microcomputer controls a relay located between a first power source and a second power source to be turned off in response to the control signal received by the communication unit, and outputs the control signal to the second microcomputer; the second microcomputer controls the communication unit to stop operation when a state of the relay represented by the control signal differs from an actual state of the relay; the second microcomputer outputs an interlock signal for maintaining the off state of the relay when the actual state represented by the relay is an off state and the state of the relay represented by the control signal is identical to the actual state represented by the relay. Vehicle control device.

2. the first microcomputer controls the relay to be turned off when a voltage value on the first power supply side of the relay becomes equal to or higher than a predetermined value when controlling the relay to be turned off; The vehicle control device according to claim 1.

3. The Communications Department and a first microcomputer capable of communicating with an external device via the communication unit; A vehicle control method executed in a vehicle control device including a second microcomputer that is incapable of direct communication with the outside and is capable of communicating with the first microcomputer, The communication unit receives a control signal from an external device, the first microcomputer controls a relay located between a first power source and a second power source to be turned off in response to the control signal received by the communication unit, and outputs the control signal to the second microcomputer; the second microcomputer controls the communication unit to stop operation when a state of the relay represented by the control signal differs from an actual state of the relay; the second microcomputer outputs an interlock signal for maintaining the off state of the relay when the actual state represented by the relay is an off state and the state of the relay represented by the control signal is identical to the actual state represented by the relay. A vehicle control method.

4. The Communications Department and a first microcomputer capable of communicating with an external device via the communication unit; A vehicle control program to be executed by a second microcomputer of a vehicle control device including a second microcomputer that is incapable of direct communication with an external device and is capable of communicating with the first microcomputer, The communication unit receives a control signal from an external device, the first microcomputer controls a relay located between a first power source and a second power source to be turned off in response to the control signal received by the communication unit, and outputs the control signal to the second microcomputer; the second microcomputer controls the communication unit to stop operation when a state of the relay represented by the control signal differs from an actual state of the relay; the second microcomputer outputs an interlock signal for maintaining the off state of the relay when the actual state represented by the relay is an off state and the state of the relay represented by the control signal is identical to the actual state represented by the relay. A vehicle control program for executing the processing.

Citation Information

Patent Citations

  • Electronic control device

    JP2016126716A

  • Electronic control device

    JP2018020678A

  • Electronic control device for vehicle

    JP2021013135A

  • Redundancy system of vehicle and, apparatus and method for supplying power thereof

    KR1020200110956A

  • Method for acquiring signals such as signals representative of the state of contacts of a motor vehicle

    US20160039366A1