JP7147532B2 - electronic controller - Google Patents

electronic controller Download PDF

Info

Publication number
JP7147532B2
JP7147532B2 JP2018233771A JP2018233771A JP7147532B2 JP 7147532 B2 JP7147532 B2 JP 7147532B2 JP 2018233771 A JP2018233771 A JP 2018233771A JP 2018233771 A JP2018233771 A JP 2018233771A JP 7147532 B2 JP7147532 B2 JP 7147532B2
Authority
JP
Japan
Prior art keywords
microcomputer
abnormality detection
external
electronic control
communication unit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2018233771A
Other languages
Japanese (ja)
Other versions
JP2020093707A (en
Inventor
恵司 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Denso Corp
Original Assignee
Denso Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Denso Corp filed Critical Denso Corp
Priority to JP2018233771A priority Critical patent/JP7147532B2/en
Publication of JP2020093707A publication Critical patent/JP2020093707A/en
Application granted granted Critical
Publication of JP7147532B2 publication Critical patent/JP7147532B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本開示は、外部装置が車載の電子制御装置から処理要求に対する応答を取得する技術に関する。 The present disclosure relates to technology for an external device to obtain a response to a processing request from an in-vehicle electronic control device.

車載の各種のセンサ、アクチュエータなどに何らかの異常が発生したことを車載の電子制御装置がOBDにより検出し、異常に対応する診断コードを診断情報として記録することが知られている。OBDはOn-board Diagnosticsの略である。以下、診断コードをDTCともいう。DTCはDiagnostic Trouble Codeの略である。そして、電子制御装置に記録されたDTCに基づいて、車両に対して適切な処理が実行される。 2. Description of the Related Art It is known that an in-vehicle electronic control unit detects by OBD that an abnormality has occurred in various on-vehicle sensors, actuators, etc., and records a diagnostic code corresponding to the abnormality as diagnostic information. OBD stands for On-board Diagnostics. The diagnostic code is hereinafter also referred to as DTC. DTC is an abbreviation for Diagnostic Trouble Code. Appropriate processing is performed on the vehicle based on the DTC recorded in the electronic control unit.

例えば、特許文献1には、スキャンツール等の外部装置で車載の電子制御装置から読み出したDTCに基づいて、車両の整備業務を支援する技術が記載されている。 For example, Patent Literature 1 describes a technique for supporting vehicle maintenance work based on DTCs read from an in-vehicle electronic control device by an external device such as a scan tool.

特開2005-081849号公報JP 2005-081849 A

しかしながら、診断情報を記録する電子制御装置に異常が発生すると、適切な診断情報を記録する性能要件を電子制御装置が満たさなくなる。
この場合、本願発明者の詳細な検討の結果、例えば、外部装置が電子制御装置に対して診断情報の読み出し等の処理要求を送信し、処理要求の応答を電子制御装置から受信して取得すると、性能要件を満たす正常な電子制御装置からの応答か、性能要件を満たさない異常な電子制御装置からの応答かを、外部装置は判定できないという課題が見出された。
However, when an abnormality occurs in the electronic control unit that records diagnostic information, the electronic control unit no longer satisfies the performance requirements for recording appropriate diagnostic information.
In this case, as a result of detailed studies by the inventors of the present application, for example, if the external device transmits a processing request such as reading diagnostic information to the electronic control device, and receives and acquires a response to the processing request from the electronic control device , the external device cannot determine whether the response is from a normal electronic control unit that satisfies the performance requirements or from an abnormal electronic control unit that does not satisfy the performance requirements.

その結果、外部装置が電子制御装置から受信する応答に基づいて、不適切な処理が実行されるおそれがあるという課題が見出された。
本開示の1つの局面は、外部装置からの処理要求に対して異常な電子制御装置から外部装置が取得する応答に基づいて、不適切な処理が実行されることを抑制する技術を提供することが望ましい。
As a result, a problem was found that inappropriate processing may be executed based on the response received by the external device from the electronic control device.
One aspect of the present disclosure is to provide a technique for suppressing execution of inappropriate processing based on a response that an external device obtains from an abnormal electronic control device in response to a processing request from the external device. is desirable.

本開示の1つの態様による車載の電子制御装置(10)は、マイクロコンピュータ(20、S410~S418)と、通信部(32)と、外部異常検出部(34、S400~S408、S420~S430、S440~S446、S450~S464、S470~S482)と、を備える。 An in-vehicle electronic control device (10) according to one aspect of the present disclosure includes a microcomputer (20, S410 to S418), a communication section (32), an external abnormality detection section (34, S400 to S408, S420 to S430, S440-S446, S450-S464, S470-S482).

マイクロコンピュータは、車両制御を実行する。通信部は、電子制御装置に処理要求を送信する電子制御装置の外部の外部装置とマイクロコンピュータとを通信可能に接続する。外部異常検出部は、マイクロコンピュータの外部に設置され、マイクロコンピュータの異常を検出すると、通信部を制御して、マイクロコンピュータから外部装置に処理要求に対する応答が送信されないようにする。 A microcomputer executes vehicle control. The communication unit communicably connects an external device outside the electronic control device that transmits a processing request to the electronic control device and the microcomputer. The external abnormality detection unit is installed outside the microcomputer, and when detecting an abnormality in the microcomputer, controls the communication unit so that the response to the processing request is not transmitted from the microcomputer to the external device.

この構成によれば、診断処理を実行して診断情報を記録するマイクロコンピュータが異常な場合、マイクロコンピュータから外部装置に処理要求に対する応答が送信されない。これにより、外部装置からの処理要求に対して異常な電子制御装置から外部装置が受信して取得する応答に基づいて、不適切な処理が実行されることを抑制できる。 According to this configuration, when the microcomputer that executes diagnostic processing and records diagnostic information is abnormal, the microcomputer does not send a response to the processing request to the external device. As a result, it is possible to prevent inappropriate processing from being executed based on a response that the external device receives and acquires from an abnormal electronic control device in response to a processing request from the external device.

第1実施形態の車両制御システムを示すブロック図。1 is a block diagram showing a vehicle control system according to a first embodiment; FIG. 通信制御処理を示すフローチャート。4 is a flowchart showing communication control processing; マイクロコンピュータの内部での異常検出処理を示すフローチャート。4 is a flowchart showing abnormality detection processing inside the microcomputer; マイクロコンピュータの外部での異常検出処理を示すフローチャート。4 is a flowchart showing abnormality detection processing outside the microcomputer; 第2実施形態の通信制御処理を示すフローチャート。9 is a flowchart showing communication control processing according to the second embodiment; 第3実施形態の通信制御処理を示すフローチャート。10 is a flowchart showing communication control processing according to the third embodiment; 第4実施形態の通信制御処理を示すフローチャート。10 is a flowchart showing communication control processing according to the fourth embodiment; 他の電子制御装置でのDTC記憶処理を示すフローチャート。4 is a flowchart showing DTC storage processing in another electronic control unit; 他の電子制御装置でのランプ点灯処理を示すフローチャート。4 is a flowchart showing lamp lighting processing in another electronic control unit;

以下、図面を参照しながら本開示の実施形態を説明する。
[1.第1実施形態]
[1-1.構成]
図1に示す車両制御システム2は、エンジンECU10とブレーキECU40とメータECU42とを備えている。車両制御システム2は、図1に図示したECU以外にも種々のECUを備えている。ECUは電子制御装置の略である。エンジンECU10とブレーキECU40とメータECU42とスキャンツール60とは、互いにCANで通信可能に接続される。CANは、Controller Area Networkの略である。スキャンツール60は、整備工場等でコネクタ50を介して各ECUに接続される。
Embodiments of the present disclosure will be described below with reference to the drawings.
[1. First Embodiment]
[1-1. Constitution]
The vehicle control system 2 shown in FIG. 1 includes an engine ECU 10, a brake ECU 40, and a meter ECU 42. The vehicle control system 2 includes various ECUs in addition to the ECU shown in FIG. ECU is an abbreviation for electronic control unit. The engine ECU 10, the brake ECU 40, the meter ECU 42, and the scan tool 60 are connected so as to be able to communicate with each other by CAN. CAN is an abbreviation for Controller Area Network. The scan tool 60 is connected to each ECU via a connector 50 at a repair shop or the like.

エンジンECU10は、車両が走行する駆動源であるエンジンの出力トルクを制御する。ブレーキECU40は、車両に制動力を働かせる制動装置を制御する。メータECU42は、フロントパネルに設置された各種メータ、ランプ等の表示を制御する。 The engine ECU 10 controls the output torque of the engine, which is the drive source for the vehicle to run. The brake ECU 40 controls a braking device that applies braking force to the vehicle. The meter ECU 42 controls displays such as various meters and lamps installed on the front panel.

スキャンツール60は、エンジンECU10、ブレーキECU40、メータECU42に対し、各ECUがOBDで診断処理を実行した結果を表すDTCの読み出し等の処理要求を送信し、処理要求に対する応答を該当するECUから受信して取得する。 The scan tool 60 transmits to the engine ECU 10, the brake ECU 40, and the meter ECU 42 processing requests such as reading DTCs representing the results of OBD diagnostic processing performed by each ECU, and receives responses to the processing requests from the corresponding ECUs. to obtain.

エンジンECU10、ブレーキECU40、メータECU42のそれぞれの構成は実質的に同一であるから、エンジンECU10を例にして構成を説明する。
エンジンECU10は、マイクロコンピュータ20とASIC30とを備えている。以下、マイクロコンピュータをマイコンとも言う。ASICは、Application Specific Integrated Circuitの略である。エンジンECU10は1つのマイコン20を備えてもよいし、複数のマイコン20を備えてもよい。
Since the configurations of the engine ECU 10, the brake ECU 40, and the meter ECU 42 are substantially the same, the configurations of the engine ECU 10 will be described as an example.
The engine ECU 10 has a microcomputer 20 and an ASIC 30 . Hereinafter, the microcomputer is also referred to as a microcomputer. ASIC is an abbreviation for Application Specific Integrated Circuit. The engine ECU 10 may have one microcomputer 20 or may have a plurality of microcomputers 20 .

マイコン20は、CPU22とRAM24とROM26と内部異常検出部28とを備えている。マイコン20は、車載の各種のセンサ、アクチュエータなどに何らかの異常が発生しているか否かを診断する診断処理を実行し、何らかの異常が発生すると、フラッシュメモリ等の図示しない書き換え可能な不揮発性のメモリに異常に対応するDTCを記録する。 The microcomputer 20 includes a CPU 22 , a RAM 24 , a ROM 26 and an internal abnormality detector 28 . The microcomputer 20 executes diagnostic processing for diagnosing whether or not an abnormality has occurred in various sensors, actuators, etc. mounted on the vehicle. records the DTC corresponding to the anomaly.

内部異常検出部28は、例えば、CPU22が実行する車両制御処理と同じ処理を実行し、CPU22の実行結果と内部異常検出部28の実行結果とが不一致の場合、マイコン20の異常と判定する。 The internal abnormality detection unit 28 executes, for example, the same processing as the vehicle control processing executed by the CPU 22, and determines that the microcomputer 20 is abnormal when the execution result of the CPU 22 and the execution result of the internal abnormality detection unit 28 do not match.

ASIC30は、CANドライバ32と外部異常検出部34とを備えている。つまり、CANドライバ32と外部異常検出部34とは1つのICで構成されている。CANドライバ32は、マイコン20と、エンジンECU10の外部の装置として、ブレーキECU40とメータECU42とスキャンツール60とを通信可能に接続する。 The ASIC 30 includes a CAN driver 32 and an external abnormality detector 34 . That is, the CAN driver 32 and the external abnormality detector 34 are configured by one IC. The CAN driver 32 connects the microcomputer 20 and the brake ECU 40, the meter ECU 42, and the scan tool 60 as devices external to the engine ECU 10 so as to be able to communicate with each other.

外部異常検出部34は、マイコン20の内部異常検出部28の異常検出結果と内部異常検出部28との通信状態とに基づいてマイコン20に異常が発生していることを検出すると、CANドライバ32を制御して、マイコン20からスキャンツール60に処理要求に対する応答が送信されないようにする。 When the external abnormality detection unit 34 detects that an abnormality has occurred in the microcomputer 20 based on the abnormality detection result of the internal abnormality detection unit 28 of the microcomputer 20 and the communication state with the internal abnormality detection unit 28, the CAN driver 32 to prevent the microcomputer 20 from sending a response to the processing request to the scan tool 60. - 特許庁

[1-2.処理]
(1)通信制御処理
外部異常検出部34が実行する通信制御処理について、図2のフローチャートに基づいて説明する。図2のフローチャートは、所定時間間隔で常時実行される。
[1-2. process]
(1) Communication Control Processing Communication control processing executed by the external abnormality detection unit 34 will be described based on the flowchart of FIG. The flowchart of FIG. 2 is always executed at predetermined time intervals.

S400において外部異常検出部34は、CANドライバ32から通信状態を取得し、スキャンツール60から特定DTCの読み出し要求を受信したか否かを判定する。尚、特定DTCは、例えばDTCのうち、車検で車両の保安基準を満たさない不具合が発生したことを表すDTCとして提案されている。 In S<b>400 , the external abnormality detection unit 34 acquires the communication state from the CAN driver 32 and determines whether or not a specific DTC reading request has been received from the scan tool 60 . Incidentally, the specific DTC is proposed as, for example, among DTCs, a DTC that indicates that a vehicle inspection fails to meet the safety standards of the vehicle.

外部異常検出部34は、スキャンツール60から特定DTCの読み出し要求を受信したことを、CANフレームのCANIDがスキャンツール60を表しており、CANフレームのデータフィールドで特定DTCの読み出し要求であることが示されていることにより判定する。 The external abnormality detection unit 34 detects that the specific DTC read request has been received from the scan tool 60, that the CAN ID of the CAN frame indicates the scan tool 60, and that the data field of the CAN frame indicates the specific DTC read request. Judge by what is shown.

S400の判定がNoである、つまりスキャンツール60から特定DTCの読み出し要求を受信していない場合、本処理は終了する。
S400の判定がYesである、つまりCANドライバ32がスキャンツール60から特定DTCの読み出し要求を受信した場合、S402において外部異常検出部34は、マイコン20との通信が異常であるか否か、つまり内部異常検出部28との通信が異常であるか否かを判定する。S402の判定がYesである、つまりマイコン20との通信が異常である場合、処理はS408に移行する。
If the determination in S400 is No, that is, if the read request for the specific DTC has not been received from the scan tool 60, this process ends.
If the determination in S400 is Yes, that is, if the CAN driver 32 receives the read request for the specific DTC from the scan tool 60, the external abnormality detection unit 34 determines in S402 whether the communication with the microcomputer 20 is abnormal. It is determined whether communication with the internal abnormality detection unit 28 is abnormal. If the determination in S402 is Yes, that is, if the communication with the microcomputer 20 is abnormal, the process proceeds to S408.

S402の判定がNoである、つまりマイコン20との通信が正常である場合、S404において外部異常検出部34は、マイコン20から異常が通知されたか否か、つまり内部異常検出部28からマイコン20の異常が通知されたか否かを判定する。S404の判定がYesである、つまりマイコン20から異常が通知された場合、処理はS408に移行する。 If the determination in S402 is No, that is, if the communication with the microcomputer 20 is normal, in S404 the external abnormality detection unit 34 determines whether an abnormality has been notified from the microcomputer 20. Determine whether or not an abnormality has been notified. If the determination in S404 is Yes, that is, if the microcomputer 20 notifies of an abnormality, the process proceeds to S408.

S404の判定がNoである、つまりマイコン20と外部異常検出部34との通信は正常であり、マイコン20から異常が通知されていない場合、S406において外部異常検出部34は、マイコン20は正常であると判断し、スキャンツール60からの特定DTCの読み出し要求をCANドライバ32からマイコン20に送信させる。 If the determination in S404 is No, that is, the communication between the microcomputer 20 and the external abnormality detection unit 34 is normal, and no abnormality is notified from the microcomputer 20, the external abnormality detection unit 34 determines in S406 that the microcomputer 20 is normal. It determines that there is, and causes the CAN driver 32 to transmit a read request for the specific DTC from the scan tool 60 to the microcomputer 20 .

スキャンツール60からの特定DTCの読み出し要求を受信すると、マイコン20は、記録している特定DTCをCANドライバ32からスキャンツール60に送信するので、スキャンツール60は、エンジンECU10から特定DTCを取得できる。 When receiving a read request for the specific DTC from the scan tool 60, the microcomputer 20 transmits the recorded specific DTC from the CAN driver 32 to the scan tool 60, so the scan tool 60 can acquire the specific DTC from the engine ECU 10. .

S408において外部異常検出部34は、マイコン20の内部異常検出部28と外部異常検出部34との通信が異常であるか、内部異常検出部28からマイコン20の異常を通知される、つまりマイコン20が異常の場合、マイコン20から適切な特定DTCをスキャンツール60に送信できないと判断する。この場合、外部異常検出部34は、CANドライバ32を制御して、スキャンツール60からの特定DTCの読み出し要求をマイコン20に送信しない。 In S408, the external abnormality detection unit 34 detects whether communication between the internal abnormality detection unit 28 of the microcomputer 20 and the external abnormality detection unit 34 is abnormal, or the internal abnormality detection unit 28 notifies the microcomputer 20 of an abnormality. is abnormal, it is determined that an appropriate specific DTC cannot be sent from the microcomputer 20 to the scan tool 60 . In this case, the external abnormality detection unit 34 controls the CAN driver 32 so as not to transmit the specific DTC readout request from the scan tool 60 to the microcomputer 20 .

この場合、マイコン20は、スキャンツール60からの特定DTCの読み出し要求に応答しない。
(2)内部異常検出処理
外部異常検出部34が図2のS404においてマイコン20が異常であるか否かを判定する根拠となる内部異常検出部28による異常検出処理について、図3のフローチャートに基づいて説明する。図3のフローチャートは、所定時間間隔で常時実行される。
In this case, the microcomputer 20 does not respond to the specific DTC read request from the scan tool 60 .
(2) Internal Abnormality Detection Processing Abnormality detection processing by the internal abnormality detection unit 28, which is the basis for the external abnormality detection unit 34 to determine whether the microcomputer 20 is abnormal in S404 of FIG. 2, is based on the flowchart of FIG. to explain. The flowchart of FIG. 3 is always executed at predetermined time intervals.

S410において内部異常検出部28は、例えばCPU22による車両制御処理の実行結果と内部異常検出部28による車両制御処理の実行結果とを比較し、CPU22が正常に作動しているか否かを判定する。 In S410, the internal abnormality detection unit 28 compares, for example, the execution result of the vehicle control process by the CPU 22 and the execution result of the vehicle control process by the internal abnormality detection unit 28, and determines whether the CPU 22 is operating normally.

S410の判定がNoである、つまりCPU22が正常に作動していない場合、処理はS418に移行する。
S410の判定がYesである、つまりCPU22が正常に作動している場合、内部異常検出部28は、S412と414とにおいてそれぞれROM26とRAM24とに対するメモリ診断を実行し、RAM24およびROM26の両方に対するメモリ診断が正常であるか否かを判定する。メモリ診断には種々の公知技術が存在するので、詳細については省略する
S412またはS414の判定がNoである、つまりRAM24またはROM26のいずれかのメモリ診断の結果が異常の場合、処理はS418に移行する。
If the determination in S410 is No, that is, if the CPU 22 is not operating normally, the process proceeds to S418.
If the determination in S410 is Yes, that is, if the CPU 22 is operating normally, the internal abnormality detection unit 28 executes memory diagnosis for the ROM 26 and RAM 24 in S412 and S414 respectively, Determine whether the diagnosis is normal. There are various well-known techniques for memory diagnosis, so the details are omitted. If the determination in S412 or S414 is No, that is, if the memory diagnosis result of either the RAM 24 or the ROM 26 is abnormal, the process proceeds to S418. do.

S412およびS414の両方の判定がYesである、つまりRAM24とROM26との両方に対するメモリ診断の結果が正常の場合、S416において内部異常検出部28は、マイコン20が正常であることを外部異常検出部34に送信する。 If the determinations in S412 and S414 are both Yes, that is, if the results of the memory diagnosis for both the RAM 24 and the ROM 26 are normal, the internal abnormality detection unit 28 detects that the microcomputer 20 is normal in S416. 34.

S410またはS412またはS414のいずれかの判定がNoである、つまりマイコン20に何らかの異常が発生している場合、S418において内部異常検出部28は、マイコン20が異常であることを外部異常検出部34に送信する。 If the determination in any of S410, S412, or S414 is No, that is, if some sort of abnormality has occurred in the microcomputer 20, the internal abnormality detection unit 28 detects that the microcomputer 20 has an abnormality in the external abnormality detection unit 34 in S418. Send to

(3)外部異常検出処理
外部異常検出部34が、図2のS402とS404とにおいて判定する根拠となる異常検出処理について、図4のフローチャートに基づいて説明する。図4のフローチャートは、所定時間間隔で常時実行される。
(3) External Anomaly Detection Processing The anomaly detection processing that serves as the basis for the determinations made in S402 and S404 of FIG. 2 by the external anomaly detection unit 34 will be described based on the flowchart of FIG. The flowchart of FIG. 4 is always executed at predetermined time intervals.

S420において外部異常検出部34は、マイコン20の内部異常検出部28からマイコン20に対する異常検出結果を受信したか否かを判定する。S420の判定がYesである、つまり内部異常検出部28からマイコン20に対する異常検出結果を受信した場合、処理はS424に移行する。 In S<b>420 , the external abnormality detection unit 34 determines whether or not an abnormality detection result for the microcomputer 20 has been received from the internal abnormality detection unit 28 of the microcomputer 20 . If the determination in S420 is Yes, that is, if an abnormality detection result for the microcomputer 20 has been received from the internal abnormality detection unit 28, the process proceeds to S424.

S420の判定がNoである、つまり内部異常検出部28からマイコン20に対する異常検出結果を受信していない場合、S422において外部異常検出部34は、内部異常検出部28から異常検出結果を受信していない状態が所定時間経過したか否かを判定する。 If the determination in S420 is No, that is, if the abnormality detection result for the microcomputer 20 has not been received from the internal abnormality detection section 28, the external abnormality detection section 34 has not received the abnormality detection result from the internal abnormality detection section 28 in S422. It is determined whether or not the non-existing state has passed for a predetermined time.

S422の判定がNoである、つまり内部異常検出部28から異常検出結果を受信していない状態が所定時間経過していない場合、処理はS420に移行する。S422の判定がYesである、つまり内部異常検出部28から異常検出結果を受信していない状態が所定時間経過した場合、処理はS430に移行する。 If the determination in S422 is No, that is, if the state in which no abnormality detection result has been received from the internal abnormality detection unit 28 has not elapsed for a predetermined period of time, the process proceeds to S420. If the determination in S422 is Yes, that is, if the state in which no abnormality detection result has been received from the internal abnormality detection unit 28 has passed for a predetermined period of time, the process proceeds to S430.

S424において外部異常検出部34は、内部異常検出部28からマイコン20が正常であることを表す異常検出結果を受信したか否かを判定する。S424の判定がYesである、つまり内部異常検出部28からマイコン20が正常であることを表す異常検出結果を受信した場合、処理はS428に移行する。 In S<b>424 , the external abnormality detection unit 34 determines whether or not an abnormality detection result indicating that the microcomputer 20 is normal has been received from the internal abnormality detection unit 28 . If the determination in S424 is Yes, that is, if an abnormality detection result indicating that the microcomputer 20 is normal has been received from the internal abnormality detection unit 28, the process proceeds to S428.

S424の判定がNoである、つまり内部異常検出部28からマイコン20が異常であることを表す異常検出結果を受信した場合、426において外部異常検出部34は、初回に内部異常検出部28からマイコン20が異常であることを表す異常検出結果を受信してから受信する異常検出結果が異常である状態が所定時間継続しているか否かを判定する。 If the determination in S424 is No, that is, if an abnormality detection result indicating that the microcomputer 20 It is determined whether or not the state in which the received abnormality detection result is abnormal continues for a predetermined time after receiving the abnormality detection result indicating that 20 is abnormal.

S426の判定がNoである、つまり受信する異常検出結果が異常である状態が所定時間継続していない場合、処理はS420に移行する。
S426の判定がYesである、つまりの受信する異常検出結果が異常である状態が所定時間継続している場合、処理はS430に移行する。
If the determination in S426 is No, that is, if the received abnormality detection result has not continued for a predetermined period of time, the process proceeds to S420.
If the determination in S426 is Yes, that is, if the received abnormality detection result is abnormal and has continued for a predetermined period of time, the process proceeds to S430.

S428において外部異常検出部34は、マイコン20は正常であると判断する。S428の判断に基づいて、外部異常検出部34は、図2のS402とS404とにおいて、Noと判定する。 In S428, the external abnormality detection unit 34 determines that the microcomputer 20 is normal. Based on the determination of S428, the external abnormality detection unit 34 determines No in S402 and S404 of FIG.

S430において外部異常検出部34は、マイコン20は異常であると判断する。S430の判断に基づいて、外部異常検出部34は、図2のS402またはS404において、Yesと判定する。 In S430, the external abnormality detection unit 34 determines that the microcomputer 20 is abnormal. Based on the determination of S430, the external abnormality detection unit 34 determines Yes in S402 or S404 of FIG.

[1-3.効果]
上記第1実施形態では、外部異常検出部34は、マイコン20の内部異常検出部28との通信異常またはマイコン20から異常が通知されると、スキャンツール60からエンジンECU10に対して処理要求として特定DTCの読み出し要求があっても、特定DTCの読み出し要求をマイコン20に送信しない。
[1-3. effect]
In the first embodiment, when the external abnormality detection unit 34 is notified of a communication abnormality with the internal abnormality detection unit 28 of the microcomputer 20 or an abnormality is notified from the microcomputer 20, the scan tool 60 specifies a processing request to the engine ECU 10. Even if there is a DTC read request, a specific DTC read request is not sent to the microcomputer 20. - 特許庁

これにより、外部異常検出部34は、マイコン20からスキャンツール60に特定DTCの読み出し要求に対する応答が送信されないようにしている。その結果、第1実施形態では、以下の効果を得ることができる。 As a result, the external abnormality detection unit 34 prevents the microcomputer 20 from sending a response to the read request for the specific DTC to the scan tool 60 . As a result, the following effects can be obtained in the first embodiment.

(1a)異常なエンジンECU10から不適切な特定DTCをスキャンツール60が取得しないので、スキャンツール60が取得した不適切な特定DTCに基づいて、不適切な処理が実行されることを抑制できる。 (1a) Since the scan tool 60 does not acquire inappropriate specific DTCs from the abnormal engine ECU 10, execution of inappropriate processing based on the inappropriate specific DTCs acquired by the scan tool 60 can be suppressed.

上記第1実施形態において、スキャンツール60が外部装置に対応し、エンジンECU10が電子制御装置に対応し、CANドライバ32が通信部に対応する。 In the first embodiment, the scan tool 60 corresponds to the external device, the engine ECU 10 corresponds to the electronic control device, and the CAN driver 32 corresponds to the communication unit.

また、S400~S408、S420~S430が外部異常検出部の処理に対応し、S410~S418がマイコン20の処理に対応する。
[2.第2実施形態]
[2-1.第1実施形態との相違点]
第2実施形態の第1実施形態との相違点について以下に説明する。なお、第1実施形態と同じ符号は、同一の構成を示すものであって、先行する説明を参照する。
Also, S400 to S408 and S420 to S430 correspond to the processing of the external abnormality detection section, and S410 to S418 correspond to the processing of the microcomputer 20. FIG.
[2. Second Embodiment]
[2-1. Differences from First Embodiment]
Differences between the second embodiment and the first embodiment will be described below. Note that the same reference numerals as in the first embodiment indicate the same configurations, and refer to the preceding description.

外部異常検出部34が実行する通信制御処理について、図5のフローチャートに基づいて説明する。図5のフローチャートは、所定時間間隔で常時実行される。図5のフローチャートでは、スキャンツール60からエンジンECU10に送信される処理要求は、特定DTCの読み出し要求に限られていない点で第1実施形態と相違する。 Communication control processing executed by the external abnormality detection unit 34 will be described based on the flowchart of FIG. The flowchart of FIG. 5 is always executed at predetermined time intervals. The flowchart of FIG. 5 differs from the first embodiment in that the processing request transmitted from the scan tool 60 to the engine ECU 10 is not limited to a specific DTC reading request.

S440とS442の処理は、図2のS402とS404の処理と実質的に同一であるから説明を省略する。
S440とS442の両方の判定がNoである、つまり外部異常検出部34とマイコン20の内部異常検出部28との通信が正常であり、マイコン20から異常が通知されていない場合、S444において外部異常検出部34は、CANドライバ32を制御してスキャンツール60とマイコン20との通信を許可する、
Since the processing of S440 and S442 is substantially the same as the processing of S402 and S404 in FIG. 2, the description thereof is omitted.
If the determinations in S440 and S442 are both No, that is, the communication between the external abnormality detection unit 34 and the internal abnormality detection unit 28 of the microcomputer 20 is normal, and the microcomputer 20 has not notified of an abnormality, an external abnormality is detected in S444. The detection unit 34 controls the CAN driver 32 to permit communication between the scan tool 60 and the microcomputer 20.

この場合、特定DTCの読み出し要求を含むすべての処理要求が、CANドライバ32を介してスキャンツール60からマイコン20に送信され、処理要求に対するマイコン20の応答がCANドライバ32からスキャンツール60に送信される。 In this case, all processing requests including a specific DTC read request are transmitted from the scan tool 60 to the microcomputer 20 via the CAN driver 32, and the response of the microcomputer 20 to the processing request is transmitted from the CAN driver 32 to the scan tool 60. be.

S440またはS442のいずれかの判定がYesSである、つまり外部異常検出部34とマイコン20の内部異常検出部28との通信が異常であるか、あるいはマイコン20から異常が通知されている場合、S446において外部異常検出部34は、CANドライバ32を制御してスキャンツール60とマイコン20との通信を遮断する。 If the determination in either S440 or S442 is YesS, that is, if the communication between the external abnormality detection unit 34 and the internal abnormality detection unit 28 of the microcomputer 20 is abnormal, or if the microcomputer 20 has notified an abnormality, S446 , the external abnormality detection unit 34 controls the CAN driver 32 to cut off communication between the scan tool 60 and the microcomputer 20 .

この場合、特定DTCの読み出し要求を含むすべての処理要求は、CANドライバ32からマイコン20に送信されない。
[2-2.効果]
第2実施形態では、第1実施形態の効果(1a)に加え、以下の効果を得ることができる。
In this case, none of the processing requests including the specific DTC read request are sent from the CAN driver 32 to the microcomputer 20 .
[2-2. effect]
In the second embodiment, the following effects can be obtained in addition to the effect (1a) of the first embodiment.

(2a)特定DTCの読み出し要求に限らず、スキャンツール60の処理要求に対し、異常なエンジンECU10から不適切な応答がスキャンツール60に送信されない。したがって、スキャンツール60がエンジンECU10から受信して取得する不適切な応答に基づいて、誤った処理が実行されることを抑制できる。 (2a) An inappropriate response is not sent to the scan tool 60 from the abnormal engine ECU 10 in response to the processing request of the scan tool 60, not limited to the specific DTC reading request. Therefore, it is possible to prevent erroneous processing from being executed based on an inappropriate response that scan tool 60 receives and acquires from engine ECU 10 .

上記第2実施形態では、S440~S446が外部異常検出部34の処理に対応する。
[3.第3実施形態]
[3-1.第1実施形態との相違点]
第3実施形態の第1実施形態との相違点について以下に説明する。なお、第1実施形態と同じ符号は、同一の構成を示すものであって、先行する説明を参照する。
In the above-described second embodiment, S440 to S446 correspond to the processing of the external abnormality detection section .
[3. Third Embodiment]
[3-1. Differences from First Embodiment]
Differences between the third embodiment and the first embodiment will be described below. Note that the same reference numerals as in the first embodiment indicate the same configurations, and refer to the preceding description.

外部異常検出部34が実行する通信制御処理について、図6のフローチャートに基づいて説明する。図6のフローチャートは、所定時間間隔で常時実行される。図6のフローチャートでは、マイコン20が正常または異常のいずれであっても、スキャンツール60からマイコン20に特定DTCの読み出し要求が送信される。 Communication control processing executed by the external abnormality detection unit 34 will be described based on the flowchart of FIG. The flowchart of FIG. 6 is always executed at predetermined time intervals. In the flowchart of FIG. 6, the scan tool 60 sends a specific DTC read request to the microcomputer 20 regardless of whether the microcomputer 20 is normal or abnormal.

一方、マイコン20が正常の場合は、特定DTCの読み出し要求の応答として、マイコン20からスキャンツール60に特定DTCが送信される。マイコン20が異常の場合は、特定DTCの読み出し要求に対して、マイコン20からの応答をスキャンツール60に送信しない。 On the other hand, when the microcomputer 20 is normal, the specific DTC is transmitted from the microcomputer 20 to the scan tool 60 as a response to the specific DTC read request. When the microcomputer 20 is abnormal, the response from the microcomputer 20 is not sent to the scan tool 60 in response to the specific DTC read request.

S450とS458とS460の処理は、図2のS400~S404の処理と実質的に同一であるから説明を省略する。
S450の判定がYesであり、さらにS454の判定がYesであり、S458とS460の両方の判定がNoである、つまりスキャンツール60からの特定DTCの読み出し要求に対してCANドライバ32がマイコン20から応答を受信し、さらに外部異常検出部34とマイコン20の内部異常検出部28との通信が正常であり、マイコン20から異常が通知されていない場合、処理はS462に移行する。
Since the processes of S450, S458 and S460 are substantially the same as the processes of S400 to S404 in FIG. 2, description thereof is omitted.
The determination of S450 is Yes, the determination of S454 is Yes, and the determinations of both S458 and S460 are No. If the response is received, the communication between the external abnormality detector 34 and the internal abnormality detector 28 of the microcomputer 20 is normal, and the microcomputer 20 has not notified of an abnormality, the process proceeds to S462.

S450の判定がYesであり、S454の判定がNoである、つまりCANドライバ32がスキャンツール60から受信した特定DTCの読み出し要求をマイコン20に送信しても、CANドライバ32がマイコン20からの応答を受信していない場合、S456において外部異常検出部34は、CANドライバ32がマイコン20からの応答を受信していない時間が所定時間経過しているか否かを判定する。 Even if the determination in S450 is Yes and the determination in S454 is No, that is, even if the CAN driver 32 transmits to the microcomputer 20 the read request for the specific DTC received from the scan tool 60, the CAN driver 32 does not receive the response from the microcomputer 20. has not been received, in S456 the external abnormality detection unit 34 determines whether or not the CAN driver 32 has not received a response from the microcomputer 20 for a predetermined period of time.

S456の判定がYesである、つまりCANドライバ32がマイコン20からの応答を受信していない時間が所定時間経過している場合、外部異常検出部34はマイコン20のCPU22の通信異常であると判断し、処理をS464に移行する。S456の判定がNoの場合、処理はS454に移行する。 If the determination in S456 is Yes, that is, if the CAN driver 32 has not received a response from the microcomputer 20 for a predetermined period of time, the external abnormality detection unit 34 determines that there is a communication abnormality in the CPU 22 of the microcomputer 20. and the process proceeds to S464. If the determination in S456 is No, the process proceeds to S454.

S450とS454の判定がYesであり、さらにS456またはS458のいずれかの判定がYesである、つまり特定DTCの読み出し要求に対してCANドライバ32がマイコン20から応答を受信しているが、外部異常検出部34とマイコン20の内部異常検出部28との通信が異常か、あるいはマイコン20から異常が通知されている場合、処理はS464に移行する。 The judgments of S450 and S454 are Yes, and the judgment of either S456 or S458 is Yes, that is, the CAN driver 32 has received a response from the microcomputer 20 in response to the specific DTC readout request, but an external abnormality has occurred. If the communication between the detection unit 34 and the internal abnormality detection unit 28 of the microcomputer 20 is abnormal, or the abnormality is notified from the microcomputer 20, the process proceeds to S464.

S462において外部異常検出部34は、特定DTCの読み出し要求に対する応答としてマイコン20からCANドライバ32に送信される特定DTCを、CANドライバ32からスキャンツール60に送信する。 In S<b>462 , the external abnormality detection unit 34 transmits the specific DTC sent from the microcomputer 20 to the CAN driver 32 as a response to the read request for the specific DTC from the CAN driver 32 to the scan tool 60 .

S464において外部異常検出部34は、特定DTCの読み出し要求に対する応答としてマイコン20からCANドライバ32に特定DTCが送信されても、CANドライバ32を制御してCANドライバ32からスキャンツール60に特定DTCを送信しない。 In S464, even if the specific DTC is transmitted from the microcomputer 20 to the CAN driver 32 as a response to the read request for the specific DTC, the external abnormality detection unit 34 controls the CAN driver 32 to transmit the specific DTC from the CAN driver 32 to the scan tool 60. Don't send.

[3-2.効果]
第3実施形態では、外部異常検出部34は、マイコン20のCPU22または内部異常検出部28との通信が異常であるか、あるいはマイコン20から異常が通知されると、スキャンツール60からエンジンECU10に対する特定DTCの読み出し要求に対して、スキャンツール60にマイコン20の応答を送信しない。
[3-2. effect]
In the third embodiment, when communication with the CPU 22 of the microcomputer 20 or the internal abnormality detection unit 28 is abnormal, or when an abnormality is notified from the microcomputer 20, the external abnormality detection unit 34 sends the scan tool 60 to the engine ECU 10. The response of the microcomputer 20 is not sent to the scan tool 60 in response to the specific DTC readout request.

これにより、第3実施形態では、第1実施形態の効果(1a)と実質的に同じ効果を得ることができる。
上記第3実施形態において、S450~S464が外部異常検出部の処理に対応する。
Thereby, in the third embodiment, substantially the same effect as the effect (1a) of the first embodiment can be obtained.
In the third embodiment, S450-S464 correspond to the processing of the external abnormality detection section.

[4.第4実施形態]
[4-1.第1実施形態との相違点]
第4実施形態の第1実施形態との相違点について以下に説明する。なお、第1実施形態と同じ符号は、同一の構成を示すものであって、先行する説明を参照する。
[4. Fourth Embodiment]
[4-1. Differences from First Embodiment]
Differences between the fourth embodiment and the first embodiment will be described below. Note that the same reference numerals as in the first embodiment indicate the same configurations, and refer to the preceding description.

[4-2.処理]
(1)通信制御処理
外部異常検出部34が実行する通信制御処理について、図7のフローチャートに基づいて説明する。図7のフローチャートは、所定時間間隔で常時実行される。図7のフローチャートでは、マイコン20が異常の場合、スキャンツール60からの特定DTCの読み出し要求をマイコン20に送信しないことに加え、エンジンECU10が異常であることをブレーキECU40に送信し、ランプをメータECU42に点灯させる。
[4-2. process]
(1) Communication Control Processing Communication control processing executed by the external abnormality detection unit 34 will be described based on the flowchart of FIG. The flowchart of FIG. 7 is always executed at predetermined time intervals. In the flow chart of FIG. 7, when the microcomputer 20 is abnormal, the specific DTC reading request from the scan tool 60 is not transmitted to the microcomputer 20, and the fact that the engine ECU 10 is abnormal is transmitted to the brake ECU 40, and the lamp is turned on. The ECU 42 is turned on.

図7のフローチャートにおいて、S470~S478の処理は、図2のS400~S408の処理と実質的に同一であるから説明を省略する。
S472またはS474のいずれかの判定がYesである、つまり外部異常検出部34とマイコン20の内部異常検出部28との通信が異常か、あるいはマイコン20から異常が通知されている場合、S478の処理を実行後、処理はS480に移行する。
In the flow chart of FIG. 7, the processing of S470-S478 is substantially the same as the processing of S400-S408 of FIG. 2, so description thereof will be omitted.
If the determination in either S472 or S474 is Yes, that is, if the communication between the external abnormality detection unit 34 and the internal abnormality detection unit 28 of the microcomputer 20 is abnormal, or if the microcomputer 20 has notified of an abnormality, the process of S478 is performed. , the process proceeds to S480.

S480において外部異常検出部34は、CANドライバ32を制御して、エンジンECU10が異常であることを示す診断コードを記録する通知をブレーキECU40に送信する。 In S480, the external abnormality detection unit 34 controls the CAN driver 32 to transmit to the brake ECU 40 a notification to record a diagnostic code indicating that the engine ECU 10 is abnormal.

S482において外部異常検出部34は、CANドライバ32を制御して、ランプを点灯するようにメータECU42に通知する。
(2)ブレーキECU40の処理
エンジンECU10が異常であることを示す診断コードを記録する通知をエンジンECU10から受信したときのブレーキECU40の処理を、図8のフローチャートに基づいて説明する。図8のフローチャートは、所定時間間隔で常時実行される。
In S482, the external abnormality detection unit 34 controls the CAN driver 32 and notifies the meter ECU 42 to turn on the lamp.
(2) Processing of Brake ECU 40 Processing of the brake ECU 40 when receiving from the engine ECU 10 a notification to record a diagnostic code indicating that the engine ECU 10 is abnormal will be described based on the flowchart of FIG. The flowchart of FIG. 8 is always executed at predetermined time intervals.

S490の判定がNoである、つまりエンジンECU10が異常であることを示すDTCを記録する通知をエンジンECU10から受信していない場合、本処理は終了する。
S490の判定がYesである、つまりエンジンECU10が異常であることを示すDTCを記録する通知をエンジンECU10から受信すると、S492においてブレーキECU40は、エンジンECU10が異常であることを示すDTCを、例えばフラッシュメモリ等の書き換え可能な不揮発性のメモリに記録する。
If the determination in S490 is No, that is, if the notification for recording the DTC indicating that the engine ECU 10 is abnormal has not been received from the engine ECU 10, this process ends.
When the determination in S490 is Yes, that is, when the engine ECU 10 receives a notification to record the DTC indicating that the engine ECU 10 is abnormal, the brake ECU 40 flashes the DTC indicating that the engine ECU 10 is abnormal in S492, for example. Record in a rewritable non-volatile memory such as a memory.

(3)メータECU42の処理
エンジンECU10からランプを点灯する通知を受信したときのメータECU42の処理を、図9のフローチャートに基づいて説明する。図9のフローチャートは、所定時間間隔で常時実行される。
(3) Processing of Meter ECU 42 Processing of the meter ECU 42 when receiving a notification to turn on the lamp from the engine ECU 10 will be described based on the flowchart of FIG. The flowchart of FIG. 9 is always executed at predetermined time intervals.

S500の判定がNoである、つまりエンジンECU10からランプを点灯する通知を受信していない場合、本処理は終了する。
S500の判定がYesである、つまりエンジンECU10からランプを点灯する通知を受信すると、S502においてメータECU42は、ランプを点灯する。
[4-3.効果]
第4実施形態では、第1実施形態の効果(1a)に加え、以下の効果を得ることができる。
If the determination in S500 is No, that is, if the notification to turn on the lamp has not been received from the engine ECU 10, this process ends.
When the determination in S500 is Yes, that is, when the notification to turn on the lamp is received from the engine ECU 10, the meter ECU 42 turns on the lamp in S502.
[4-3. effect]
In the fourth embodiment, the following effects can be obtained in addition to the effect (1a) of the first embodiment.

(4a)作業員は、スキャンツール60からエンジンECU10への特定DTCの読み出し要求に対し、エンジンECU10から応答がなく、ランプが点灯していることを認識する。この場合、作業員がスキャンツール60を操作して他のECUにDTCの読み出し要求を送信することにより、ブレーキECU40からエンジンECU10が異常であることを示すDTCを読み出せる。 (4a) The operator recognizes that there is no response from the engine ECU 10 to the scan tool 60's request to read the specific DTC from the engine ECU 10, and that the lamp is lit. In this case, the worker operates the scan tool 60 to transmit a DTC read request to another ECU, so that the DTC indicating that the engine ECU 10 is abnormal can be read from the brake ECU 40 .

これにより、作業員は、スキャンツール60からエンジンECU10への特定DTCの読み出し要求に対し、エンジンECU10から応答がなく、ランプが点灯している原因がエンジンECU10の異常であると判断できる。 As a result, the operator can determine that the engine ECU 10 is abnormal because the engine ECU 10 does not respond to the specific DTC reading request from the scan tool 60 to the engine ECU 10 and the lamp is lit.

上記第4実施形態において、ブレーキECU40、メータECU42が他の電子制御装置に対応する。
また、S470~S482が外部異常検出部の処理に対応する。
[5.他の実施形態]
以上、本開示の実施形態について説明したが、本開示は上述の実施形態に限定されることなく、種々変形して実施することができる。
In the fourth embodiment, the brake ECU 40 and the meter ECU 42 correspond to other electronic control units.
Also, S470 to S482 correspond to the processing of the external abnormality detection section.
[5. Other embodiments]
Although the embodiments of the present disclosure have been described above, the present disclosure is not limited to the above-described embodiments, and various modifications can be made.

(1)上記実施形態では、外部異常検出部34は、スキャンツール60からの処理要求が特定DTCの読み出し要求であることを、CANフレームのデータフィールにより判定した。これに対し、外部異常検出部34は、CANフレームのCANIDがスキャンツール60を表している場合、スキャンツール60からの特定DTCの読み出し要求であると判定してもよい。 (1) In the above embodiment, the external anomaly detector 34 determines from the data field of the CAN frame that the processing request from the scan tool 60 is a specific DTC readout request. On the other hand, when the CANID of the CAN frame indicates the scan tool 60 , the external anomaly detection unit 34 may determine that the read request for the specific DTC is from the scan tool 60 .

(2)第3実施形態において、マイコン20が異常の場合、図6のS464において外部異常検出部34は、CANドライバ32を制御して、スキャンツール60にマイコン20の応答を送信しない代わりに、エンジンECU10が異常であることをスキャンツール60に送信してもよい。 (2) In the third embodiment, when the microcomputer 20 is abnormal, in S464 of FIG. The fact that the engine ECU 10 is abnormal may be transmitted to the scan tool 60 .

(3)スキャンツール60が特定DTCの読み出し要求を含む処理要求を送信するのはエンジンECU10に限るものではなく、図1に図示したブレーキECU40、メータECU42、またはその他のECUでもよい。 (3) The scan tool 60 may transmit a processing request including a specific DTC readout request to the engine ECU 10, and may be the brake ECU 40, meter ECU 42, or other ECU shown in FIG.

(4)本開示に記載のエンジンECU10およびその手法は、コンピュータプログラムにより具体化された1つまたは複数の機能を実行するようにプログラムされたプロセッサおよびメモリを構成することによって提供された専用コンピュータにより、実現されてもよい。あるいは、本開示に記載のエンジンECU10およびその手法は、1つ以上の専用ハードウェア論理回路によってプロセッサを構成することによって提供された専用コンピュータにより、実現されてもよい。もしくは、本開示に記載のエンジンECU10およびその手法は、1つまたは複数の機能を実行するようにプログラムされたプロセッサおよびメモリと1つ以上のハードウェア論理回路によって構成されたプロセッサとの組み合わせにより構成された1つ以上の専用コンピュータにより、実現されてもよい。また、コンピュータプログラムは、コンピュータにより実行されるインストラクションとして、コンピュータが読み取り可能な非遷移有形記録媒体に記憶されてもよい。エンジンECU10に含まれる各部の機能を実現する手法には、必ずしもソフトウェアが含まれている必要はなく、その全部の機能が、1つあるいは複数のハードウェアを用いて実現されてもよい。 (4) The engine ECU 10 and techniques thereof described in this disclosure can be performed by a dedicated computer provided by configuring a processor and memory programmed to perform one or more functions embodied by a computer program. , may be implemented. Alternatively, the engine ECU 10 and techniques described in this disclosure may be implemented by a dedicated computer provided by configuring a processor with one or more dedicated hardware logic circuits. Alternatively, the engine ECU 10 and techniques thereof described in this disclosure comprise a combination of a processor and memory programmed to perform one or more functions and a processor configured by one or more hardware logic circuits. may be implemented by one or more dedicated computers configured as The computer program may also be stored as computer-executable instructions on a computer-readable non-transitional tangible recording medium. The method of realizing the function of each part included in the engine ECU 10 does not necessarily include software, and all the functions may be realized using one or a plurality of pieces of hardware.

(5)上記実施形態における1つの構成要素が有する複数の機能を、複数の構成要素によって実現したり、1つの構成要素が有する1つの機能を、複数の構成要素によって実現したりしてもよい。また、複数の構成要素が有する複数の機能を、1つの構成要素によって実現したり、複数の構成要素によって実現される1つの機能を、1つの構成要素によって実現したりしてもよい。また、上記実施形態の構成の一部を省略してもよい。また、上記実施形態の構成の少なくとも一部を、他の上記実施形態の構成に対して付加または置換してもよい。 (5) A plurality of functions possessed by one component in the above embodiment may be realized by a plurality of components, or a function possessed by one component may be realized by a plurality of components. . Also, a plurality of functions possessed by a plurality of components may be realized by a single component, or a function realized by a plurality of components may be realized by a single component. Also, part of the configuration of the above embodiment may be omitted. Also, at least part of the configuration of the above embodiment may be added or replaced with respect to the configuration of the other above embodiment.

(6)上述したエンジンECU10の他、当該エンジンECU10を構成要素とするシステム、当該エンジンECU10としてコンピュータを機能させるためのプログラム、このプログラムを記録した半導体メモリ等の非遷移的実態的記録媒体、電子制御方法など、種々の形態で本開示を実現することもできる。 (6) In addition to the engine ECU 10 described above, a system having the engine ECU 10 as a component, a program for causing a computer to function as the engine ECU 10, a non-transitional actual recording medium such as a semiconductor memory recording this program, an electronic The present disclosure can also be implemented in various forms such as a control method.

10:エンジンECU(電子制御装置)、20:マイクロコンピュータ、32:CANドライバ(通信部)、34:外部異常検出部、40:ブレーキECU(他の電子制御装置)、42:メータECU(他の電子制御装置)、60:スキャンツール(外部装置) 10: engine ECU (electronic control unit), 20: microcomputer, 32: CAN driver (communication unit), 34: external abnormality detection unit, 40: brake ECU (other electronic control unit), 42: meter ECU (other electronic control device), 60: scan tool (external device)

Claims (8)

車載の電子制御装置(10)であって、
車両制御を実行するマイクロコンピュータ(20、S410~S418)と、
前記電子制御装置に処理要求を送信する前記電子制御装置の外部の外部装置と前記マイクロコンピュータとを通信可能に接続するように構成されている通信部(32)と、
前記マイクロコンピュータの外部に設置され、前記マイクロコンピュータの異常を検出すると、前記通信部を制御して、前記マイクロコンピュータから前記外部装置に前記処理要求に対する応答が送信されないように構成された外部異常検出部(34、S400~S408、S420~S430、S440~S446、S450~S464、S470~S482)と、
を備え
前記マイクロコンピュータは、診断処理を実行して診断情報を記録するように構成されており、
前記外部異常検出部は、前記マイクロコンピュータが異常の場合、前記処理要求として前記外部装置から前記診断情報の読み出し要求を前記通信部が受信すると、前記通信部を制御して、前記マイクロコンピュータから前記外部装置に前記処理要求に対する応答が送信されないように構成されている、
電子制御装置。
An in-vehicle electronic control device (10),
a microcomputer (20, S410 to S418) that executes vehicle control;
a communication unit (32) configured to communicably connect an external device outside the electronic control device that transmits a processing request to the electronic control device and the microcomputer;
An external abnormality detection device installed outside the microcomputer and configured to control the communication unit so as not to transmit a response to the processing request from the microcomputer to the external device when an abnormality of the microcomputer is detected. part (34, S400 to S408, S420 to S430, S440 to S446, S450 to S464, S470 to S482);
with
The microcomputer is configured to perform diagnostic processing and record diagnostic information,
When the microcomputer is abnormal and the communication unit receives a request to read the diagnostic information from the external device as the processing request, the external abnormality detection unit controls the communication unit to configured not to send a response to the processing request to an external device;
electronic controller.
請求項1に記載の電子制御装置であって、
前記外部異常検出部(S408、S478)は、前記マイクロコンピュータが異常の場合、前記外部装置から前記処理要求を前記通信部が受信すると、前記通信部を制御して、前記外部装置からの前記処理要求を前記マイクロコンピュータに送信しないように構成されている、
電子制御装置。
The electronic control device according to claim 1 ,
When the microcomputer is abnormal and the communication unit receives the processing request from the external device, the external abnormality detection unit (S408, S478) controls the communication unit to detect the processing from the external device. configured not to send requests to said microcomputer;
electronic controller.
車載の電子制御装置(10)であって、
車両制御を実行するマイクロコンピュータ(20、S410~S418)と、
前記電子制御装置に処理要求を送信する前記電子制御装置の外部の外部装置と前記マイクロコンピュータとを通信可能に接続するように構成されている通信部(32)と、
前記マイクロコンピュータの外部に設置され、前記マイクロコンピュータの異常を検出すると、前記通信部を制御して、前記マイクロコンピュータから前記外部装置に前記処理要求に対する応答が送信されないように構成された外部異常検出部(34、S400~S408、S420~S430、S440~S446、S450~S464、S470~S482)と、
を備え
前記外部異常検出部(S408、S478)は、前記マイクロコンピュータが異常の場合、前記外部装置から前記処理要求を前記通信部が受信すると、前記通信部を制御して、前記外部装置からの前記処理要求を前記マイクロコンピュータに送信しないように構成されている、
電子制御装置。
An in-vehicle electronic control device (10),
a microcomputer (20, S410 to S418) that executes vehicle control;
a communication unit (32) configured to communicably connect an external device outside the electronic control device that transmits a processing request to the electronic control device and the microcomputer;
An external abnormality detection device installed outside the microcomputer and configured to control the communication unit so as not to transmit a response to the processing request from the microcomputer to the external device when an abnormality of the microcomputer is detected. part (34, S400 to S408, S420 to S430, S440 to S446, S450 to S464, S470 to S482);
with
When the microcomputer is abnormal and the communication unit receives the processing request from the external device, the external abnormality detection unit (S408, S478) controls the communication unit to detect the processing from the external device. configured not to send requests to said microcomputer;
electronic controller.
請求項1から3のいずれか1項に記載の電子制御装置であって、
前記外部異常検出部(S464)は、前記マイクロコンピュータが異常の場合、前記外部装置から前記処理要求を前記通信部が受信すると、前記通信部から前記電子制御装置が異常であることを前記外部装置に送信するように構成されている、
電子制御装置。
The electronic control device according to any one of claims 1 to 3,
When the microcomputer is abnormal and the communication unit receives the processing request from the external device, the external abnormality detection unit (S464) detects from the communication unit that the electronic control unit is abnormal. configured to send to
electronic controller.
車載の電子制御装置(10)であって、
車両制御を実行するマイクロコンピュータ(20、S410~S418)と、
前記電子制御装置に処理要求を送信する前記電子制御装置の外部の外部装置と前記マイクロコンピュータとを通信可能に接続するように構成されている通信部(32)と、
前記マイクロコンピュータの外部に設置され、前記マイクロコンピュータの異常を検出すると、前記通信部を制御して、前記マイクロコンピュータから前記外部装置に前記処理要求に対する応答が送信されないように構成された外部異常検出部(34、S400~S408、S420~S430、S440~S446、S450~S464、S470~S482)と、
を備え
前記外部異常検出部(S464)は、前記マイクロコンピュータが異常の場合、前記外部装置から前記処理要求を前記通信部が受信すると、前記通信部から前記電子制御装置が異常であることを前記外部装置に送信するように構成されている、
電子制御装置。
An in-vehicle electronic control device (10),
a microcomputer (20, S410 to S418) that executes vehicle control;
a communication unit (32) configured to communicably connect an external device outside the electronic control device that transmits a processing request to the electronic control device and the microcomputer;
An external abnormality detection device installed outside the microcomputer and configured to control the communication unit so as not to transmit a response to the processing request from the microcomputer to the external device when an abnormality of the microcomputer is detected. part (34, S400 to S408, S420 to S430, S440 to S446, S450 to S464, S470 to S482);
with
When the microcomputer is abnormal and the communication unit receives the processing request from the external device, the external abnormality detection unit (S464) detects from the communication unit that the electronic control unit is abnormal. configured to send to
electronic controller.
請求項1から5のいずれか1項に記載の電子制御装置であって、
前記通信部は、前記電子制御装置と他の車載の電子制御装置(40)とを通信可能に接続するように構成されており、
前記外部異常検出部(S480)は、前記マイクロコンピュータが異常の場合、前記電子制御装置が異常であることを示す診断情報を記録するように前記通信部から前記他の電子制御装置に通知するように構成されている、
電子制御装置。
The electronic control device according to any one of claims 1 to 5 ,
The communication unit is configured to communicably connect the electronic control unit and another vehicle-mounted electronic control unit (40),
When the microcomputer is abnormal, the external abnormality detection unit (S480) causes the communication unit to notify the other electronic control unit to record diagnostic information indicating that the electronic control unit is abnormal. configured to
electronic controller.
請求項1から6のいずれか1項に記載の電子制御装置であって、
前記通信部は、前記電子制御装置と他の車載の電子制御装置(42)とを通信可能に接続するように構成されており、
前記外部異常検出部(S482)は、前記マイクロコンピュータが異常の場合、前記他の電子制御装置にランプを点灯するように前記通信部から通知するように構成されている、
電子制御装置。
The electronic control device according to any one of claims 1 to 6 ,
The communication unit is configured to communicably connect the electronic control unit and another vehicle-mounted electronic control unit (42),
The external abnormality detection unit (S482) is configured to notify the other electronic control device from the communication unit to turn on the lamp when the microcomputer is abnormal.
electronic controller.
請求項1から7のいずれか1項に記載の電子制御装置であって、
前記外部異常検出部と前記通信部とは1つのIC(30)で構成されている、
電子制御装置。
The electronic control device according to any one of claims 1 to 7 ,
The external abnormality detection unit and the communication unit are configured by one IC (30),
electronic controller.
JP2018233771A 2018-12-13 2018-12-13 electronic controller Active JP7147532B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018233771A JP7147532B2 (en) 2018-12-13 2018-12-13 electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018233771A JP7147532B2 (en) 2018-12-13 2018-12-13 electronic controller

Publications (2)

Publication Number Publication Date
JP2020093707A JP2020093707A (en) 2020-06-18
JP7147532B2 true JP7147532B2 (en) 2022-10-05

Family

ID=71084479

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018233771A Active JP7147532B2 (en) 2018-12-13 2018-12-13 electronic controller

Country Status (1)

Country Link
JP (1) JP7147532B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7251382B2 (en) * 2019-07-25 2023-04-04 株式会社デンソー vehicle diagnostic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005081849A (en) 2003-09-04 2005-03-31 Tsubasa System Co Ltd Maintenance operation supporting terminal, maintenance operation supporting method, maintenance operation supporting program, and obd history data
JP2009227194A (en) 2008-03-25 2009-10-08 Toyota Motor Corp Abnormality detection device, abnormal information transmission method and abnormal information transmission system
JP2011121553A (en) 2009-12-14 2011-06-23 Denso Corp On-vehicle device
JP2012210918A (en) 2011-03-18 2012-11-01 Denso Corp Vehicular system, ecu, storing instruction transmission device, and storing request transmission device
JP2016091162A (en) 2014-10-31 2016-05-23 株式会社デンソー Electronic control device
JP2017114381A (en) 2015-12-25 2017-06-29 株式会社東海理化電機製作所 Electronic control device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005081849A (en) 2003-09-04 2005-03-31 Tsubasa System Co Ltd Maintenance operation supporting terminal, maintenance operation supporting method, maintenance operation supporting program, and obd history data
JP2009227194A (en) 2008-03-25 2009-10-08 Toyota Motor Corp Abnormality detection device, abnormal information transmission method and abnormal information transmission system
JP2011121553A (en) 2009-12-14 2011-06-23 Denso Corp On-vehicle device
JP2012210918A (en) 2011-03-18 2012-11-01 Denso Corp Vehicular system, ecu, storing instruction transmission device, and storing request transmission device
JP2016091162A (en) 2014-10-31 2016-05-23 株式会社デンソー Electronic control device
JP2017114381A (en) 2015-12-25 2017-06-29 株式会社東海理化電機製作所 Electronic control device

Also Published As

Publication number Publication date
JP2020093707A (en) 2020-06-18

Similar Documents

Publication Publication Date Title
CN107490488B (en) Vehicle health check via noise and vibration levels
JP6451550B2 (en) In-vehicle display system, control device, display device
JPWO2018138775A1 (en) Shared backup unit and control system
JP6981357B2 (en) Vehicle control device
US7295903B2 (en) Device and method for on-board diagnosis based on a model
US20100256860A1 (en) Vehicle test system including plurality of apparatuses mutually communicable via network
JP2020119090A (en) Vehicle security monitoring device, method and program
JP2005199951A (en) Abnormality detection device of vehicular control system
JP2007326425A (en) Communication controlling unit, trouble analyzing center, and trouble analyzing method
JP2006349428A (en) Trouble diagnosing device
JP7037748B2 (en) Electronic control unit and connection authentication method
JP6555559B1 (en) Electronic control device, monitoring method, program, and gateway device
JP7147532B2 (en) electronic controller
KR20160009287A (en) Black box apparatus for diagnosing error of electronic control unit for vehicle and control method thereof
JP6899699B2 (en) Anomaly detection device and abnormality detection method
US8224520B2 (en) Failure determination apparatus for vehicle, failure determination method and computer readable medium for failure determination
JP2009213092A (en) Abnormity location identifying apparatus, its control program, and abnormity location identifying system
WO2021024588A1 (en) Mobility control system, method, and program
WO2019235231A1 (en) In-vehicle control device, control program and control method
JP2021078033A (en) Information processing device, information processing method, and program
JP5223512B2 (en) Vehicle abnormality analysis system, vehicle abnormality analysis method, and vehicle failure analysis device
JP4820679B2 (en) Electronic control device for vehicle
JP7211036B2 (en) Vehicle electronic controller and diagnostic system
JP2004142511A (en) Electronic control device for vehicle, electronic control unit, program, and recording medium
WO2021024716A1 (en) In-vehicle relay device, computer program, and malfunction determination method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210520

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220517

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220622

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220823

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220905

R151 Written notification of patent or utility model registration

Ref document number: 7147532

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151