Method for diagnosing control device and reset function

The control device diagnoses the reset function efficiently by simulating reset operations without actual microcontroller restarts, reducing diagnosis time and component count through a redundant configuration with integrated output sections and determination units.

JP7582023B2Active Publication Date: 2024-11-13ADVICS CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2021060402
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-03-31
Publication Date
2024-11-13
Estimated Expiration
2041-03-31

AI Technical Summary

Technical Problem

Existing control devices require actual microcontroller restarts for reset signal diagnosis, leading to prolonged diagnosis times and increased component count due to separate monitor and latch sections.

Method used

A control device with a microcontroller and ASIC configuration that includes first and second output sections, a reset command unit, and an operation determination unit, allowing command operations to simulate reset signals without actual output, and determining operation execution to diagnose the reset function.

Benefits of technology

Diagnosis time is reduced, and component count and mounting area are minimized by eliminating the need for separate circuits, enabling efficient and redundant reset function verification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007582023000001
    Figure 0007582023000001
  • Figure 0007582023000002
    Figure 0007582023000002
Patent Text Reader

Abstract

To provide a control device and a diagnosis method for a reset function capable of shortening a diagnosis time period of a reset function and suppressing increase in the number of components and increase in the components installation area.SOLUTION: According to the present invention, a microcomputer 2 includes: a reset instruction unit 23 which outputs, to a first output unit 21 and a second output unit 22, a reset signal for stopping output of signal to an ASIC, when an abnormality of the microcomputer 2 is detected; and an operation determination unit 24 which determines whether the reset instruction unit 23 has executed an instruction operation. The ASIC 3 includes: an external output unit 31 which stops signal output when the signal is not received from the first output unit 21; and a communication unit 32 which makes the external output unit 31 to stop the signal output when the signal is not received from the second output unit 22. The reset instruction unit 23 executes the instruction operation without outputting the reset signal in a diagnosis process in which the operation determination unit 24 diagnosis absence / presence of the execution of the instruction operation.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a control device and a method for diagnosing a reset function. [Background technology]

[0002] For example, in a system with a redundant configuration that includes two ECUs (electronic control units), if one ECU fails, the other ECU operates to compensate for the function of the first ECU. The other ECU recognizes the failure of the first ECU when the signal output of the first ECU stops. Therefore, when an ECU detects an abnormality in itself, it outputs a reset signal internally and stops outputting signals to the outside. In such a system, it is important that the failure of one ECU is reliably transmitted to the other ECU, so it is necessary to check whether the ECU that detected its own abnormality has been properly reset and its signal output stopped.

[0003] For example, Japanese Patent Application Laid-Open No. 2020-129245 discloses a control device capable of diagnosing whether a reset signal has been output. This control device includes a monitor unit that monitors the output state of a microcontroller (microcomputer) and a latch unit that holds the monitoring result of the monitor unit. After the microcontroller is restarted, the control device diagnoses whether the output of a signal has stopped based on the monitoring result held in the latch unit. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-129245 A Summary of the Invention [Problem to be solved by the invention]

[0005] In the above control device, in order to diagnose whether a reset signal has been output, the microcontroller must actually be reset and restarted. In other words, the diagnosis of whether a reset signal has been output cannot be performed until the microcontroller has been restarted. Therefore, the above control device has room for improvement in terms of shortening the diagnostic time. Also, in the above control device, a monitor unit and a latch unit must be installed on the board in addition to the microcontroller. Therefore, there is a concern that the above control device will increase the number of parts and the area required for mounting the parts on the board.

[0006] An object of the present invention is to provide a control device and a method for diagnosing a reset function that can shorten the time required to diagnose the reset function and suppress an increase in the number of parts and an increase in the area in which the parts are mounted. [Means for solving the problem]

[0007] The control device of the present invention is a control device having a board on which a microcontroller and an ASIC are mounted so as to be able to communicate with each other, wherein the microcontroller comprises a first output unit and a second output unit which output a signal to the ASIC, a reset command unit which outputs a reset signal to the first output unit and the second output unit when an abnormality of the microcontroller is detected, to stop the output of signals to the ASIC, and an operation judgment unit which judges whether or not the reset command unit has performed a command operation which is an operation for outputting the reset signal, wherein the ASIC comprises an external output unit which is connected to the first output unit and outputs a signal to a device outside the board by receiving a signal from the first output unit and stops the signal output when no signal is received from the first output unit, and a communication unit which is connected to the second output unit and the external output unit and stops the signal output of the external output unit when no signal is received from the second output unit, and wherein the reset command unit executes the command operation without outputting the reset signal in a diagnostic process in which the operation judgment unit diagnoses whether or not the command operation has been executed. The method for diagnosing the reset function of the present invention includes, in the above-mentioned control device, a step in which the reset command unit executes the command operation without outputting the reset signal, and a step in which the operation judgment unit diagnoses whether or not the command operation has been executed. Effect of the Invention

[0008] According to the present invention, when the reset command unit outputs a reset signal to stop the signal output from the external output unit to a device (communication network) outside the control device, the signal output from the first output unit and the second output unit is stopped. The external output unit stops the signal output to the outside when it does not receive a signal from the first output unit. Also, the communication unit stops the signal output from the external output unit when it does not receive a signal from the second output unit. In other words, when the signal output from at least one of the first output unit and the second output unit is stopped, the signal output from the control device to the outside is stopped.

[0009] According to this configuration, even if the reset signal does not reach the first output unit for some reason, or if the signal output of the first output unit is not stopped despite the reset signal reaching the first output unit, if the reset signal reaches the second output unit and the signal output of the second output unit is stopped, the signal output of the external output unit is stopped by the communication unit. In other words, if either the first output unit or the second output unit functions normally, the signal output of the external output unit, i.e., the signal output of the control device, is stopped by the reset signal. In this manner, in this configuration, a redundant configuration is implemented when resetting the microcontroller to stop the signal output from the control device.

[0010] In this configuration, since the reset function is redundant, it can be assumed that the reset of the microcontroller will be completed normally as long as the reset signal can be output, that is, as long as the reset command unit can execute the operation (command operation) for outputting the reset signal. Therefore, in the diagnosis process, the reset command unit executes only the command operation without actually outputting the reset signal, and the operation determination unit determines whether the command operation has been executed, thereby enabling the control device to diagnose whether the reset function is normal or not.

[0011] According to the present invention, in the diagnosis of the reset function, it is only necessary to determine whether or not the command operation is executed, so there is no need to actually reset and restart the microcontroller. Since the reset command unit executes the command operation without outputting a reset signal in the diagnosis process, the microcontroller is not reset, and the diagnosis time can be shortened. In addition, there is no need to provide a latch circuit or monitor circuit separately from the microcontroller and ASIC, so an increase in the number of parts and an increase in the part mounting area can be suppressed. [Brief description of the drawings]

[0012] [Figure 1] FIG. 2 is a configuration diagram of a control device according to the present embodiment. [Diagram 2] 5 is a flowchart showing an example of the flow of a diagnosis process according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] Hereinafter, an embodiment of the present invention will be described with reference to the drawings. Each drawing used in the description is a conceptual diagram. A control device 1 of this embodiment is an electronic control unit (ECU) provided in a vehicle. In the vehicle, a plurality of devices including a control device 9 are connected to each other via a CAN 70. As an example, as shown in FIG. 1, the vehicle of this embodiment is equipped with the control device 1, which is a first ECU, and the control device 9, which is a second ECU.

[0014] The control device 9 is configured to control the controlled object in place of the control device 1, for example, when an abnormality occurs in the control device 1, or to execute alternative control for the abnormality. The control device 9 starts control in place of the control device 1 on the condition that the output from the control device 1 to the CAN 70 has stopped. The output from the control device 1 to the CAN 70 is stopped by resetting the microcontroller (hereinafter referred to as "microcomputer") 2 of the control device 1. The configuration of the control device 1 will be specifically described below.

[0015] The control device 1 of this embodiment is an ECU including a board 10 on which a microcomputer 2 and an ASIC 3 are mounted so as to be able to communicate with each other. The microcomputer 2 includes a processor, a memory, and the like (not shown). The microcomputer 2 includes a first output unit 21, a second output unit 22, a reset command unit 23, and an operation determination unit 24.

[0016] The first output unit 21 and the second output unit 22 are configured to output a signal to the ASIC 3. The first output unit 21 is incorporated in the microcomputer 2 and is a part that generates a signal corresponding to the communication network. The first output unit 21, for example, adds a predetermined header or the like to information to generate a signal. The first output unit 21 of this embodiment is a part in the microcomputer 2 that executes communication with the CAN 70 via the ASIC 3, and is connected to an external output unit 31 of the ASIC 3, which will be described later, by a communication line 41. The first output unit 21 can also be said to be a CAN communication unit on the microcomputer 2 side. The first output unit 21 outputs a signal to the external output unit 31 at a constant cycle while the microcomputer 2 is operating.

[0017] The second output unit 22 is connected to a communication unit 32 of the ASIC 3, which will be described later, via a communication line 42. The second output unit 22 is, for example, a serial communication unit constituting a serial communication circuit, or a monitoring communication unit that transmits the state of the microcomputer 2 to the ASIC 3, and is configured to output a signal to the communication unit 32 at regular intervals. The second output unit 22 may be a part for monitoring (checking) the connection state between the microcomputer 2 and the ASIC 3.

[0018] The reset command unit 23 is configured to output a reset signal to the first output unit 21 and the second output unit 22 to stop the output of a signal to the ASIC 3 when an abnormality in the microcomputer 2 is detected. In other words, the reset command unit 23 has a function of internally resetting the microcomputer 2. When outputting the reset signal, the reset command unit 23 performs a command operation, which is an operation (command) for outputting the reset signal. When an abnormality is detected, the reset command unit 23 outputs a reset signal following the execution of the command operation.

[0019] When an abnormality in the microcomputer 2 is detected, the reset command unit 23 executes a command operation and outputs a reset signal to the first output unit 21 and the second output unit 22. The reset command unit 23 is configured to be able to execute a command operation (operation before signal output) and a reset signal output operation when executing an internal reset. Furthermore, the reset command unit 23 executes the command operation without outputting a reset signal in a diagnostic process in which the operation determination unit 24 diagnoses whether or not the command operation has been executed. In other words, the reset command unit 23 is configured not to output a reset signal when executing a command operation as a diagnostic process (e.g., part of an initial check). When the reset command unit 23 recognizes that a diagnostic process is in progress, it executes only the command operation and does not output a reset signal (reset signal output operation).

[0020] The operation determination unit 24 is configured to determine whether or not the reset command unit 23 has executed a command operation, which is an operation for outputting a reset signal. For example, the operation determination unit 24 checks a flag that is turned on when the reset command unit 23 executes a command operation, and determines whether or not the command operation has been executed. In this case, the operation determination unit 24 determines that the command operation has been executed if the flag is on, and determines that the command operation has not been executed if the flag is off. The flag that has been turned on may be set to turn off after a predetermined time. The microcomputer 2 may also include a storage unit that stores the state of the flag.

[0021] The ASIC 3 is an Application Specific Integrated Circuit, and is mounted on the substrate 10. The ASIC 3 is communicatively connected to the CAN 70. The ASIC 3 includes an external output unit 31 and a communication unit 32.

[0022] The external output unit 31 is connected to the first output unit 21, and is configured to output a signal to a device outside the board 10 by receiving a signal from the first output unit 21, and to stop signal output when no signal is received from the first output unit 21. The external output unit 31 is incorporated in the ASIC 3, and converts a received signal into a signal capable of CAN communication and outputs it to the CAN 70. The external output unit 31 can be said to be a CAN communication unit on the ASIC 3 side. In this way, the signal output from the control device 1 to the CAN 70 (and the control device 9 via the CAN 70) is performed by the external output unit 31.

[0023] The communication unit 32 is connected to the second output unit 22 and the external output unit 31, and is configured to stop the signal output of the external output unit 31 when no signal is received from the second output unit 22. The communication unit 32 is incorporated in the ASIC 3, and has a communication function with the second output unit 22 and the external output unit 31.

[0024] Here, an example of a flow of diagnosis of the reset function will be described with reference to FIG. 2. The control device 1 starts up, and a check (initial check) of each function is started (S101). During the initial check (S102), a diagnosis process of the reset function is executed in parallel (S103). That is, the initial check and the diagnosis process are executed in parallel. In the diagnosis process, the reset command unit 23 executes only the command operation (S104), and the operation determination unit 24 determines whether the command operation is executed or not (S105). If the operation determination unit 24 determines that the "command operation is executed" (S105: Yes), the microcomputer 2 determines that the reset function is normal (S106). On the other hand, if the operation determination unit 24 determines that the "command operation is not executed" (S105: No), the microcomputer 2 determines that the reset function is abnormal (S107). In this case, the control device 1 notifies the occupant of the abnormality by, for example, sound or display. Thus, the method for diagnosing the reset function in this embodiment includes, when diagnosing the reset function, a step in which the reset command unit 23 executes a command operation without outputting a reset signal, and a step in which the operation determination unit 24 diagnoses whether or not the command operation has been executed.

[0025] (Effects of this embodiment) According to this embodiment, when the reset command unit 23 outputs a reset signal to stop the signal output from the external output unit 31 to the CAN 70, the signal output from the first output unit 21 and the second output unit 22 is stopped. The external output unit 31 stops the signal output to the CAN 70 when it does not receive a signal from the first output unit 21. Furthermore, the communication unit 32 stops the signal output from the external output unit 31 when it does not receive a signal from the second output unit 22. In other words, when the signal output from at least one of the first output unit 21 and the second output unit 22 is stopped, the signal output from the control device 1 to the CAN 70 and the control device 9 is stopped.

[0026] According to this configuration, even if the reset signal does not reach the first output unit 21 for some reason or if the signal output of the first output unit 21 is not stopped despite the arrival of the reset signal, if the reset signal reaches the second output unit 22 and the signal output of the second output unit 22 is stopped, the signal output of the external output unit 31 is stopped by the communication unit 32. In other words, if either the first output unit 21 or the second output unit 22 functions normally, the signal output of the external output unit 31, i.e., the signal output of the control device 1, is stopped by the reset signal. In this manner, in this configuration, a redundant configuration is implemented when resetting the microcomputer 2 to stop the signal output from the control device 1.

[0027] In this configuration, since a redundant configuration is incorporated in the reset function, it can be presumed that resetting of the microcomputer 2 is completed normally as long as the reset signal can be output, that is, as long as the reset command unit 23 can execute the operation (command operation) for outputting the reset signal. Therefore, in the diagnosis process, the reset command unit 23 executes only the command operation without actually outputting a reset signal, and the operation determination unit 24 determines whether the command operation has been executed, thereby enabling the control device 1 to diagnose whether the reset function is normal or not.

[0028] According to this embodiment, in the diagnosis of the reset function, it is only necessary to determine whether or not the command operation is executed, so there is no need to actually reset and restart the microcomputer 2. Since the reset command unit 23 executes the command operation without outputting a reset signal in the diagnosis process, the microcomputer 2 is not reset, and the diagnosis time can be shortened. Furthermore, there is no need to provide a latch circuit or monitor circuit other than the microcomputer 2 and ASIC 3, so an increase in the number of parts and an increase in the part mounting area can be suppressed. Generally, the microcomputer 2 and ASIC 3 are mounted on the board 10, and according to this embodiment, the existing mounting area can be maintained.

[0029] In addition, since the microcomputer 2 is not actually reset during the diagnostic process, the reset function can be checked in parallel while other functions are being checked (for example, during an initial check), which enables efficient self-diagnosis.

[0030] As an example of application of this embodiment, in a brake system, the control device 1 is arranged as a first brake ECU, and the control device 9 having the same configuration as the control device 1 (such as the reset command unit 23) is arranged as a second brake ECU. The first brake ECU and the second brake ECU are connected to be able to communicate with each other via the CAN 70. Normally, the first brake ECU controls one of the upstream unit and the downstream unit, and the second brake ECU controls the other of the upstream unit and the downstream unit. When the first brake ECU fails, the microcomputer 2 is reset and the signal output from the first brake ECU to the CAN 70 stops, the second brake ECU detects the failure of the first brake ECU, and the second brake ECU executes control for abnormality. Similarly, when the second brake ECU fails, the signal output of the second brake ECU stops, and the first brake ECU detects the failure of the second brake ECU and executes control for abnormality. In this way, when the control devices 1 and 9 detect their own abnormality, they can reliably stop their own signal output, which enables alternative control by a normal control device.

[0031] (others) The present invention is not limited to the above embodiment. For example, in FIG. 1, the communication lines 41 and 42 are shown as two lines for convenience of illustration, but the number is not limited to this. For example, when the second output unit 22 and the communication unit 32 perform a function of serial communication, the number of communication lines 42 is four. Also, when the second output unit 22 and the communication unit 32 perform a monitoring function, one communication line 42 is sufficient. In the serial communication function and the monitoring function, a signal is transmitted from the microcomputer 2 at a constant cycle, and when this cycle is disturbed (for example, when the signal from the second output unit 22 is stopped), the communication unit 32 stops the signal output from the external output unit 31. Also, the diagnosis process of the reset function is not limited to being executed in parallel (simultaneously) with other function checks, and may be executed in sequence. Also, the diagnosis process can be executed at any timing, not limited to the time of the initial check. Also, the control device 1 is not limited to a vehicle control device such as an engine ECU or a brake ECU, and may be applied to other systems. The control device 1 is similarly effective in a system requiring a redundant configuration using multiple control devices. At present, the combination of a microcomputer and an application specific integrated circuit (ASIC) is considered optimal for a control device, but this will not be the case in the future. For example, if a new combination equivalent (with the same functions) to the combination of microcomputer 2 and ASIC 3 appears, the concept of the present invention can be applied as it is included in the scope of the present invention. [Explanation of symbols]

[0032] 1...control device, 10...board, 2...microcontroller, 21...first output section, 22...second output section, 23...reset command section, 24...operation determination section, 3...ASIC, 31...external output section, 32...communication section.

Claims

1. A control device including a board on which a microcontroller and an ASIC are mounted so as to be able to communicate with each other, The microcontroller comprises: a first output unit and a second output unit for outputting signals to the ASIC; a reset command unit that outputs a reset signal to the first output unit and the second output unit when an abnormality of the microcontroller is detected, to stop output of a signal to the ASIC; an operation determination unit that determines whether or not the reset command unit has executed a command operation for outputting the reset signal; Equipped with The ASIC includes: an external output unit connected to the first output unit, which outputs a signal to a device outside the board by receiving a signal from the first output unit and stops outputting the signal when no signal is received from the first output unit; a communication unit connected to the second output unit and the external output unit, and configured to stop signal output from the external output unit when no signal is received from the second output unit; Equipped with The control device, wherein the reset command unit executes the command operation without outputting the reset signal in a diagnosis process in which the operation determination unit diagnoses whether or not the command operation has been executed.

2. A method for diagnosing a reset function using the control device according to claim 1, comprising the steps of: a step of diagnosing a reset function by the reset command unit executing the command operation without outputting the reset signal; a step of the operation determination unit diagnosing whether or not the command operation is executed; A method for diagnosing the reset function, including:

Citation Information

Patent Citations

  • Electric control device

    JP2018036764A

  • Control device

    JP2020129245A

  • Control apparatus and reset method therefor

    JP2020135738A