Search

US-12625758-B2 - Vehicle control device

US12625758B2US 12625758 B2US12625758 B2US 12625758B2US-12625758-B2

Abstract

The vehicle ECU is a vehicle control device including a CPU and a CAN controller, wherein CPU transmits an instruction to execute a failure diagnosis to CAN controller, and CAN controller includes a diagnosis buffer storing data relating to a failure diagnosis request for the diagnosis target and data relating to a response from the diagnosis target, and a sequencer. The sequencer is configured to read data from the diagnosis buffers in response to reception of the execution instruction, transmit a failure diagnosis request to the diagnosis target ECU, receive a response transmitted from the diagnosis target ECU, perform diagnosis based on the response, and transmit the diagnosis result to CPU.

Inventors

  • Kiyoto Suzuki

Assignees

  • TOYOTA JIDOSHA KABUSHIKI KAISHA

Dates

Publication Date
20260512
Application Date
20250130
Priority Date
20240405

Claims (3)

  1. 1 . A vehicle control device comprising a central processing unit and a controller area network controller, wherein the central processing unit is configured to transmit an execution instruction for failure diagnosis to the controller area network controller, the controller area network controller includes a storage unit configured to store data on a request for the failure diagnosis of a diagnosis target and data on a response from the diagnosis target, and a sequencer configured to operate in response to the execution instruction, and the sequencer is configured to read the data from the storage unit in response to reception of the execution instruction, transmit a request for the failure diagnosis to the diagnosis target, receive a response transmitted from the diagnosis target in response to the request for the failure diagnosis, execute diagnosis based on the received response, and transmit a result of the diagnosis to the central processing unit.
  2. 2 . The vehicle control device according to claim 1 , wherein: the storage unit is configured to store the data on the request and the data on the response as a plurality of data frames; and the sequencer is configured to, based on the data included in the data frames read from the storage unit, select whether to transmit the request for the failure diagnosis to the diagnosis target or to execute the diagnosis based on the response.
  3. 3 . The vehicle control device according to claim 2 , wherein the sequencer is configured to, when all the data included in the data frames has been read from the storage unit, transmit data indicating completion of reading to the central processing unit.

Description

CROSS-REFERENCE TO RELATED APPLICATION This application claims priority to Japanese Patent Application No. 2024-061706 filed on Apr. 5, 2024, incorporated herein by reference in its entirety. BACKGROUND 1. Technical Field The present disclosure relates to a vehicle control device. 2. Description of Related Art For example, Japanese Unexamined Patent Application Publication No. 2016-061293 (JP 2016-061293 A) describes a device including a processor that processes input information and generates a failure prediction report for one or more movable components. SUMMARY In the device as in the above related art, issuance of a diagnosis request for failure diagnosis and setting of a diagnosis response are executed by a CPU that executes processes based on codes etc. stored in a flash memory etc. In recent years, expansion of software to be processed by the CPU is required. The CPU processing load and the memory usage tend to increase. It is desired to reduce the burden on the CPU along with the failure diagnosis. One aspect of the present disclosure is a vehicle control device including a central processing unit and a controller area network controller. The central processing unit is configured to transmit an execution instruction for failure diagnosis to the controller area network controller. The controller area network controller includes a storage unit configured to store data on a request for the failure diagnosis of a diagnosis target and data on a response from the diagnosis target, and a sequencer configured to operate in response to the execution instruction. The sequencer is configured to read the data from the storage unit in response to reception of the execution instruction, transmit a request for the failure diagnosis to the diagnosis target, receive a response transmitted from the diagnosis target in response to the request for the failure diagnosis, execute diagnosis based on the received response, and transmit a result of the diagnosis to the central processing unit. In the vehicle control device according to the aspect of the present disclosure, the central processing unit transmits the execution instruction for the failure diagnosis to the controller area network controller, and the controller area network controller executes the diagnosis based on the reception of the execution instruction and transmits the result of the diagnosis to the central processing unit. When the central processing unit transmits the execution instruction for the failure diagnosis, the central processing unit can acquire the result of the diagnosis without executing the diagnosis process. Therefore, as compared with a case where the central processing unit executes the diagnosis process, the processing load on the central processing unit and the memory usage can be reduced, and the burden on the central processing unit along with the failure diagnosis can be reduced. In one embodiment, the storage unit may be configured to store the data on the request and the data on the response as a plurality of data frames, andthe sequencer may be configured to, based on the data included in the data frames read from the storage unit, select whether to transmit the request for the failure diagnosis to the diagnosis target or to execute the diagnosis based on the response. In this case, the operation of the sequencer can be automatically switched when the sequencer sequentially reads the data frames. In one embodiment, the sequencer may be configured to, when all the data included in the data frames has been read from the storage unit, transmit data indicating completion of reading to the central processing unit. In this case, the central processing unit can recognize that the series of diagnoses included in the data frames has been completed. According to the present disclosure, the burden on the central processing unit along with the failure diagnosis can be reduced as compared with a case where the central processing unit executes the diagnosis process. BRIEF DESCRIPTION OF THE DRAWINGS Features, advantages, and technical and industrial significance of exemplary embodiments of the disclosure will be described below with reference to the accompanying drawings, in which like signs denote like elements, and wherein: FIG. 1 is a block diagram illustrating an example of a configuration of a vehicle control device according to an embodiment; FIG. 2 is a diagram illustrating an exemplary data frame; and FIG. 3 is a sequence diagram illustrating an example of a diagnosis process of a vehicle control device. DETAILED DESCRIPTION OF EMBODIMENTS Hereinafter, an embodiment of the disclosure will be described with reference to the drawings. FIG. 1 is a block diagram illustrating an example of a configuration of a vehicle control device according to an embodiment. As shown in FIG. 1, the vehicle ECU [Electronic Control Unit] 1 (vehicle control device) of the present embodiment is an electronic control unit (microcomputer) mounted on a vehicle s