[go: up one dir, main page]

JP2023034432A - Vehicle control device - Google Patents

Vehicle control device Download PDF

Info

Publication number
JP2023034432A
JP2023034432A JP2021140680A JP2021140680A JP2023034432A JP 2023034432 A JP2023034432 A JP 2023034432A JP 2021140680 A JP2021140680 A JP 2021140680A JP 2021140680 A JP2021140680 A JP 2021140680A JP 2023034432 A JP2023034432 A JP 2023034432A
Authority
JP
Japan
Prior art keywords
microcomputer
memory
identification information
transmission
vehicle
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.)
Granted
Application number
JP2021140680A
Other languages
Japanese (ja)
Other versions
JP7713339B2 (en
Inventor
美由記 秋元
Miyuki Akimoto
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.)
Daihatsu Motor Co Ltd
Original Assignee
Daihatsu Motor Co Ltd
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 Daihatsu Motor Co Ltd filed Critical Daihatsu Motor Co Ltd
Priority to JP2021140680A priority Critical patent/JP7713339B2/en
Publication of JP2023034432A publication Critical patent/JP2023034432A/en
Application granted granted Critical
Publication of JP7713339B2 publication Critical patent/JP7713339B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

【課題】マイコンの異常監視装置そのものが正常に機能しているか否かを判定することにより、制御システムの信頼性を高める。【解決手段】車両用制御装置は、マイコンの起動がコールドスタートの場合は、電源が供給されている間は記憶内容を保持するバックアップRAM11a2にキーワードを書き込んだ上でウォッチドックタイマ回路12へのウォッチドックリセット信号の送信を中断する。そしてタイマカウンタの値がオーバーフローしてマイコン11が再起動(ウォームスタート)した際に、バックアップRAM11a2にキーワードが記憶されているか否かを判断し、キーワードが記憶されている場合はウォッチドックタイマ回路12が正常に機能していると判断し、車両に関する制御プログラムに移行する。【選択図】図2[Problem] To improve the reliability of a control system by determining whether or not a microcomputer abnormality monitoring device itself is functioning normally. [Solution] When a microcomputer is started in a cold start, a vehicle control device writes a keyword to a backup RAM 11a2 that retains stored contents while power is being supplied, and then suspends the transmission of a watchdog reset signal to a watchdog timer circuit 12. When the timer counter value overflows and the microcomputer 11 is restarted (warm start), the device determines whether or not a keyword is stored in the backup RAM 11a2, and if the keyword is stored, determines that the watchdog timer circuit 12 is functioning normally, and transitions to a control program related to the vehicle. [Selected Figure] Figure 2

Description

本発明は、マイクロコンピュータの異常の監視機構を有する車両用制御装置に関する。 The present invention relates to a vehicle controller having a microcomputer abnormality monitoring mechanism.

従来、車両の各種制御を司るマイクロコンピュータ(マイコン)には、異常を監視する異常監視装置が設けられる。例えば、特許文献1に記載の電子制御装置では、制御モードとして、起動している状態である高速モードと、停止している状態である低消費電力モードとを有するマイコンを備え、マイコンの暴走を監視する装置を、マイコンの外部に設けた暴走監視回路と、マイコンの内部に設けたウォッチドックタイマ回路で構成している。そして、マイコンの制御状態に応じて暴走監視回路とウォッチドックタイマ回路のいずれかでマイコンの暴走を検出することで、確実な検出を可能にしている。 2. Description of the Related Art Conventionally, an abnormality monitoring device for monitoring an abnormality is provided in a microcomputer (microcomputer) that manages various vehicle controls. For example, the electronic control device described in Patent Document 1 includes a microcomputer having a high-speed mode, which is an active state, and a low power consumption mode, which is a stopped state, as control modes, and prevents the microcomputer from running out of control. The monitoring device consists of a runaway monitoring circuit provided outside the microcomputer and a watchdog timer circuit provided inside the microcomputer. Either the runaway monitoring circuit or the watchdog timer circuit detects the runaway of the microcomputer according to the control state of the microcomputer, thereby enabling reliable detection.

特開2008-152678号公報JP 2008-152678 A

特許文献1に記載の暴走監視装置では、マイコンの暴走を検出した際に、リセット信号をマイコンに送信し、当該信号を受信したマイコンがリセット処理を行うことで正常動作に復帰させるが、暴走監視装置のような安全機構そのものが故障する状況も考えられる。特許文献1に記載の電子制御装置では、暴走監視装置によるリセット処理が作動するのは、マイコンに異常が発生している時のみであるため、マイコンによる制御プログラムの作動前など、事前に暴走監視装置が正常に機能するか否かを判定することができない。そのため、暴走監視装置が備わっていても安全機構そのものが故障した場合はマイコンの異常状態を検出できず、システムを安全な状態に移行させることができない可能性がある。 In the runaway monitoring device described in Patent Document 1, when a runaway of a microcomputer is detected, a reset signal is sent to the microcomputer, and the microcomputer that receives the signal performs reset processing to restore normal operation. Situations are also conceivable in which the safety mechanism itself, such as the device, fails. In the electronic control device described in Patent Document 1, the reset processing by the runaway monitoring device operates only when an abnormality occurs in the microcomputer. It is not possible to determine whether the device functions normally. Therefore, even if a runaway monitoring device is provided, if the safety mechanism itself fails, it may not be possible to detect an abnormal state of the microcomputer and prevent the system from shifting to a safe state.

本発明は、上記した課題を鑑みてなされたものであり、マイクロコンピュータの状態を監視する異常監視装置を備える車両用制御装置において、異常監視装置そのものが正常に機能しているか否かを判定することにより、制御システムの信頼性を高めることを目的とする。 SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and provides a vehicle control apparatus that includes an abnormality monitoring device that monitors the state of a microcomputer. An object of the present invention is to improve the reliability of the control system.

前記の目的を達成するため、本発明にかかる車両用制御装置は、マイクロコンピュータと、前記マイクロコンピュータの動作を監視して当該マイクロコンピュータの動作が異常である場合に当該マイクロコンピュータの停止またはリセットを行う異常監視装置とを含む車両用制御装置において、車両のバッテリから電気が供給されている状態では記憶したデータを保持するメモリと、少なくともコールドスタートの場合は、前記メモリに前記データとして所定の識別情報を書き込む書込手段と、前記異常監視装置への異常検知用信号の送信を制御する送信制御手段と、予め定められた所定時間の間、前記異常監視装置が前記異常検知用信号を受信していない場合に前記マイクロコンピュータをリセットしてウォームスタートさせるリセット手段と、前記ウォームスタートの場合は、前記書込手段により前記メモリに書き込まれた前記所定の識別情報が前記メモリに記憶されているか否かを判断する判断手段とを備え、前記送信制御手段は、前記コールドスタートに基づいて前記書込手段が前記所定の識別情報の書き込みを行った後は、少なくとも前記所定時間を超えるまで前記異常検知用信号の送信を中断し、前記マイクロコンピュータは、前記送信制御手段が前記異常検知用信号の送信を中断した後において、前記ウォームスタートの際に前記判断手段により前記メモリに前記所定の識別情報が記憶されていると判断された場合は、前記異常監視装置が正常に機能していると判断することを特徴としている(請求項1)。 To achieve the above object, a vehicle control device according to the present invention includes a microcomputer, and monitoring the operation of the microcomputer and stopping or resetting the microcomputer when the operation of the microcomputer is abnormal. a memory for holding stored data when electricity is supplied from a battery of the vehicle; writing means for writing information; transmission control means for controlling transmission of the abnormality detection signal to the abnormality monitoring device; and the abnormality monitoring device receiving the abnormality detection signal for a predetermined time. a reset means for resetting and warm-starting the microcomputer if not, and if the warm-start is performed, whether or not the predetermined identification information written in the memory by the writing means is stored in the memory. and the transmission control means, after the writing means writes the predetermined identification information based on the cold start, the abnormality detection is continued until at least the predetermined time elapses. After the transmission control means interrupts the transmission of the abnormality detection signal, the microcomputer stores the predetermined identification information in the memory by the determination means during the warm start. When it is determined that the information is stored, it is determined that the abnormality monitoring device functions normally (claim 1).

また、前記判断手段により前記メモリに前記所定の識別情報が記憶されていると判定された後は、前記所定の識別情報がクリアされ、前記書込手段は、前記所定の情報がクリアされた後の前記マイクロコンピュータの再起動がウォームスタートとなった際、前記判断手段により前記メモリに前記所定の識別情報が記憶されていないと判定された場合は、前記メモリに前記所定の識別情報を書き込み、当該書き込みに基づいて前記送信制御手段による前記異常検知用信号の送信が、少なくとも前記所定時間を超えるまで中断されるようにしてもよい(請求項2)。 Further, after it is determined that the predetermined identification information is stored in the memory by the determination means, the predetermined identification information is cleared, and the writing means is operated after the predetermined information is cleared. when the restart of the microcomputer is a warm start, if the determination means determines that the predetermined identification information is not stored in the memory, write the predetermined identification information in the memory; Based on the writing, transmission of the abnormality detection signal by the transmission control means may be interrupted until at least the predetermined time period is exceeded (Claim 2).

また、前記マイクロコンピュータは、前記異常監視装置が正常に機能していると判断した場合に車両制御に関するプログラムの実行を開始するようにしてもよい(請求項3)。 Further, the microcomputer may start executing a program relating to vehicle control when it determines that the abnormality monitoring device is functioning normally.

請求項1の発明によれば、マイクロコンピュータがコールドスタートした場合は、所定の識別情報がメモリに書き込まれた上で、少なくとも前記所定時間を超えるまで異常監視装置への異常検知用信号の送信が中断される。そのため、異常監視装置が正常に機能している場合は、コールドスタート後の前記所定時間が経過後にマイクロコンピュータがリセットされてウォームスタートとなる。ウォームスタートの場合は、バッテリから電気が供給された状態での起動となるため、メモリの書き込まれた所定の識別情報が保持される。そのため、判断手段により所定の識別情報が記憶されていると判断された場合は、コールドスタート後の異常検知用信号の送信の中断に基づいて、リセット手段によるリセットが行われたことになり、異常監視装置が正常に機能していると判断できる。このように、マイクロコンピュータが、異常監視装置が正常に機能しているか否かを判断可能に構成されているため、制御システムの信頼性を高めることができる。 According to the invention of claim 1, when the microcomputer is cold-started, the predetermined identification information is written in the memory, and the abnormality detection signal is not transmitted to the abnormality monitoring device until at least the predetermined time elapses. interrupted. Therefore, when the abnormality monitoring device is functioning normally, the microcomputer is reset after the predetermined time has passed after the cold start, and the warm start is performed. In the case of a warm start, the predetermined identification information written in the memory is retained because the start is performed while electricity is supplied from the battery. Therefore, when it is determined by the determination means that the predetermined identification information is stored, it means that the reset is performed by the reset means based on the interruption of the transmission of the abnormality detection signal after the cold start, and the abnormality is detected. It can be determined that the monitoring device is functioning normally. In this manner, the microcomputer is configured to be able to determine whether or not the abnormality monitoring device is functioning normally, so the reliability of the control system can be enhanced.

請求項2の発明によれば、次回起動時がウォームスタートであっても、異常監視装置が正常に機能しているか否かを確認することができ、これにより、マイクロコンピュータがリセットされるたびに異常監視装置が正常に機能しているか否かを確認することができる。 According to the invention of claim 2, even if the next startup is a warm start, it is possible to confirm whether or not the abnormality monitoring device is functioning normally. It is possible to check whether the abnormality monitoring device is functioning normally.

請求項3の発明によれば、前記異常監視装置が正常に機能しているとマイクロコンピュータが判断しなければ、車両制御に関するプログラムが開始しないため、制御システムの信頼性がさらに向上する。 According to the third aspect of the invention, unless the microcomputer determines that the abnormality monitoring device is functioning normally, the vehicle control program does not start, thereby further improving the reliability of the control system.

本発明の一実施形態に係る車両用制御装置が搭載された車両の要部の構成を示すブロック図である。1 is a block diagram showing the configuration of a main part of a vehicle in which a vehicle control device according to an embodiment of the invention is mounted; FIG. マイコン起動時のスタートアップ処理の流れを示すフローチャートである。4 is a flow chart showing the flow of startup processing when the microcomputer is started.

本発明の一実施形態にかかる車両用制御装置について、図1および図2を参照して説明する。なお、図1は本発明の一実施形態の車両用制御装置のブロック図、図2はスタートアップ処理の流れを示すフローチャートである。 A vehicle control device according to an embodiment of the present invention will be described with reference to FIGS. 1 and 2. FIG. 1 is a block diagram of a vehicle control apparatus according to an embodiment of the present invention, and FIG. 2 is a flow chart showing the flow of start-up processing.

<車両の電気的構成>
本発明にかかる一実施形態の車両用制御装置2は、自車両1内に設けられ、各種の車両制御を行うものであり、バッテリ3と、イグニッションスイッチ4と、ECU5と、アクチュエータ6と、ECU5とは異なる他のECU(A)、ECU(B)、ECU(C)とを備える。
<Electrical Configuration of Vehicle>
A vehicle control device 2 according to one embodiment of the present invention is provided in a vehicle 1 and performs various vehicle controls. ECU (A), ECU (B), and ECU (C) that are different from each other.

ECU5と他のECU8、9、10とは、CAN7(Controller Area Network)を介して相互に通信可能に構成されている。 The ECU 5 and other ECUs 8, 9 and 10 are configured to be able to communicate with each other via a CAN 7 (Controller Area Network).

ECU5は、アクチュエータ6の作動制御などの車両に関する制御を実行するものであり、マイクロコンピュータ11(以下、マイコン11と言う場合もある。)と、ウォッチドックタイマ回路12(本発明の「異常監視装置」に相当)とを有する。アクチュエータ6は、例えば、ウォーターポンプやブレーキ装置などの各種車内装置に配設されるモータやソレノイドで構成される。 The ECU 5 executes vehicle-related control such as operation control of the actuator 6. The ECU 5 includes a microcomputer 11 (hereinafter sometimes referred to as the microcomputer 11), a watchdog timer circuit 12 (an "abnormality monitoring device" of the present invention). ). The actuator 6 is composed of, for example, a motor or a solenoid that is installed in various in-vehicle devices such as a water pump and a brake device.

マイコン11は、制御プログラムや制御に必要な各種データを記憶するメモリ11a(メインRAM11a1、バックアップRAM11a2、ROM11a3)と、各種の演算と制御を行うCPU11bと、後述するウォッチドックタイマ回路12を含むマイコン11の外部と接続させるためのI/Oポート11cとを有する。I/Oポート11cは、外部端子または入出力回路で構成される。 The microcomputer 11 includes a memory 11a (main RAM 11a1, backup RAM 11a2, ROM 11a3) that stores control programs and various data necessary for control, a CPU 11b that performs various calculations and controls, and a watchdog timer circuit 12, which will be described later. and an I/O port 11c for connecting to the outside of the. The I/O port 11c is composed of an external terminal or an input/output circuit.

メモリ11aは、例えば、メインRAM11a1と、バックアップRAM11a2と、ROM11a3とを備える。この実施形態では、バックアップRAM11a2(本発明の「メモリ」に相当)は、例えば、SRAMやDRAMなどの揮発性メモリである。なお、この実施形態では、リセット処理において、ウォッチドックタイマ回路12が正常に機能しているか否かの判断に用いられる定義値(キーワード:本発明の「所定の識別情報」に相当)がバックアップRAM11a2に記憶される。定義値(キーワード)については後述する。 The memory 11a includes, for example, a main RAM 11a1, a backup RAM 11a2, and a ROM 11a3. In this embodiment, the backup RAM 11a2 (corresponding to "memory" of the present invention) is, for example, a volatile memory such as SRAM or DRAM. In this embodiment, in the reset process, the definition value (keyword: equivalent to "predetermined identification information" of the present invention) used for determining whether the watchdog timer circuit 12 is functioning normally is stored in the backup RAM 11a2. stored in Definition values (keywords) will be described later.

また、バックアップRAM11a2については、後述の常時供給電源ライン40bからバッテリ3による電圧が供給されている間は記憶内容を保持することから、ウォームスタートの場合は、記憶内容を保持する。一方、メインRAM11a1については、コールドスタートおよびウォームスタートのいずれの場合も、記憶内容が不定となる。また、ROM11a3は、マイコン11が制御する各種プログラム(スタートアップ処理のプログラム、車両に関する制御プログラム)を記憶する。 The backup RAM 11a2 retains the memory contents while the voltage is supplied from the battery 3 from the constant power supply line 40b, which will be described later, and therefore retains the memory contents in the case of a warm start. On the other hand, the contents of the main RAM 11a1 are undefined in both cold start and warm start. The ROM 11a3 also stores various programs controlled by the microcomputer 11 (start-up processing program, vehicle-related control program).

CPU11bは、各種の演算と制御を行うとともに、I/Oポート11cを介してウォッチドックタイマ回路12に送信するウォッチドックリセット信号の送信制御を行う。
また、CPU11bは、スタートアップ処理(リセット処理)の過程において、メモリ11aの初期化(クリア)を行う(図2のステップS2、S7)とともに、バックアップRAM11a2のキーワード保存領域のデータの読み込みと書き込みが正常に行えるか否かのチェック(図2のステップS3)を行う。また、CPU11bは、当該キーワード保存領域の値が定義値(キーワード)となっているか否かを判定する(図2のステップS4)。とともに、当該キーワード保存領域の値が定義値(キーワード)になっていなかった場合は当該キーワード保存領域に定義値(キーワード)を書き込む(図2のステップS5)。
The CPU 11b performs various calculations and controls, and also controls transmission of a watchdog reset signal to be transmitted to the watchdog timer circuit 12 via the I/O port 11c.
In addition, in the process of startup processing (reset processing), the CPU 11b initializes (clears) the memory 11a (steps S2 and S7 in FIG. 2), and reads and writes data in the keyword storage area of the backup RAM 11a2 normally. It is checked whether or not it can be performed (step S3 in FIG. 2). Further, the CPU 11b determines whether or not the value of the keyword storage area is a defined value (keyword) (step S4 in FIG. 2). At the same time, if the value in the keyword storage area is not the defined value (keyword), the defined value (keyword) is written in the keyword storage area (step S5 in FIG. 2).

なお、キーワード保存領域は、バックアップRAM11a2の所定のアドレスに設定されている。また、定義値は、予め定められた値(例えば、「AA55AA55」)であり、適宜変更可能である。ここで、CPU11bが、本発明の「書込手段」、「送信制御手段」、「リセット手段」、「判断手段」に相当する。 The keyword save area is set at a predetermined address in the backup RAM 11a2. Also, the definition value is a predetermined value (for example, "AA55AA55") and can be changed as appropriate. Here, the CPU 11b corresponds to the "writing means", the "transmission control means", the "reset means", and the "determining means" of the present invention.

CPU11bの送信制御について具体的に説明すると、CPU11bは、マイコン11にバッテリ3からの電圧が供給されている状態では、基本的に、ウォッチドックタイマ回路12に対して周期的にウォッチドックリセット信号(本発明の「異常検知用信号」に相当)を送信する。当該周期は、ウォッチドックタイマ回路12のタイマカウンタ12aのカウンタ値の閾値として定められた設定時間(オーバーフローしてマイコン11に対するリセット信号が出力される閾値となる時間:本発明の「所定時間」に相当)よりも短い範囲で適宜設定可能である。 To explain the transmission control of the CPU 11b in detail, the CPU 11b basically sends a watchdog reset signal ( corresponding to the "abnormality detection signal" of the present invention). The cycle is a set time determined as a threshold value of the counter value of the timer counter 12a of the watchdog timer circuit 12 (the time when the threshold overflows and the reset signal to the microcomputer 11 is output: the "predetermined time" of the present invention). equivalent) can be set as appropriate within a shorter range.

ただし、CPU11bは、マイコン11にバッテリ3からの電圧が供給されている状態であっても、マイコン11のリセット処理の過程で、バックアップRAM11a2のキーワード保存領域にキーワードを書き込んだ後は、規定時間の間、ウォッチドックリセット信号の送信を中断する。当該規定時間は、ウォッチドックタイマ回路12のタイマカウンタ12aに設定された設定時間よりも長い時間である。そのため、ウォッチドックタイマ回路12が正常に機能している場合、バックアップRAM11a2にキーワードが書き込まれた後は、ウォッチドックリセット信号の送信の中断に基づいて、マイコン11がリセット(強制リセット)されることになる。 However, even when the voltage from the battery 3 is being supplied to the microcomputer 11, the CPU 11b waits for a specified period of time after writing the keyword to the keyword storage area of the backup RAM 11a2 in the process of resetting the microcomputer 11. suspends the transmission of the watchdog reset signal. The prescribed time is longer than the set time set in the timer counter 12 a of the watchdog timer circuit 12 . Therefore, if the watchdog timer circuit 12 is functioning normally, after the keyword is written in the backup RAM 11a2, the microcomputer 11 is reset (forced reset) based on the interruption of transmission of the watchdog reset signal. become.

ウォッチドックリセット信号は、ウォッチドックタイマ回路12のタイマカウンタ12aをリセットするための信号である。なお、ウォッチドックリセット信号の送信の中断(意図的な中断)は、後述のステップS6の後からスタートアップ処理に戻るとき(戻った時点)で解除される。また、スタートアップ処理内では、上述のようにバックアップRAM11a2にキーワードを書き込む処理以外に、実行している処理が複数あり、実行時間のかかる処理ではタイマカウンタ12aをクリアさせ、タイマカウンタ12aがリセットされないようになっている。また、制御プログラムの実行中では一定周期でタイマカウンタ12aをクリアさせ、上記意図的な中断によるリセット(強制リセット)されないようになっている。 The watchdog reset signal is a signal for resetting the timer counter 12 a of the watchdog timer circuit 12 . The interruption (intentional interruption) of the transmission of the watchdog reset signal is canceled when the process returns to the startup process after step S6, which will be described later (at the point of return). In addition, in the startup process, there are a plurality of processes being executed other than the process of writing the keyword in the backup RAM 11a2 as described above. It has become. Further, during the execution of the control program, the timer counter 12a is cleared at regular intervals so that it is not reset (forcibly reset) due to the above intentional interruption.

ウォッチドックタイマ回路12は、例えば、タイマカウンタ12aと、リセット信号出力回路12bとを有する。タイマカウンタ12aは、予め定められた設定時間までの時間をカウント(カウントアップ)するもので、ウォッチドックタイマ回路12は、マイコン11から送信されるウォッチドックリセット信号を受信したときにタイマカウンタ12aのカウンタ値をクリアする。 The watchdog timer circuit 12 has, for example, a timer counter 12a and a reset signal output circuit 12b. The timer counter 12a counts (counts up) the time until a predetermined set time. Clear the counter value.

リセット信号出力回路12bは、タイマカウンタ12aのカウント値が設定値(設定時間)を超えた場合(オーバーフローした場合)は、マイコン11にリセット信号を送信する。なお、マイコン11のリセット処理の過程で、バックアップRAM11a2にキーワードが書き込まれた後、前記設定時間よりも長い期間(前記規定時間)、ウォッチドックリセット信号の送信が中断されるため、ウォッチドックタイマ回路12が正常に機能している場合は、リセット信号出力回路12bからマイコン11にリセット信号が出力され、マイコン11が再度リセットされることになる。 The reset signal output circuit 12b transmits a reset signal to the microcomputer 11 when the count value of the timer counter 12a exceeds a set value (set time) (when it overflows). In the process of resetting the microcomputer 11, after the keyword is written in the backup RAM 11a2, transmission of the watchdog reset signal is interrupted for a period longer than the set time (the specified time). 12 is functioning normally, a reset signal is output from the reset signal output circuit 12b to the microcomputer 11, and the microcomputer 11 is reset again.

イグニッションスイッチ4は、エンジンの始動や各種電気系統の制御を行うための装置であり、一端がバッテリ3に接続され、他端がマイコン11に接続される。したがって、イグニッションスイッチ4がONに設定された場合は、マイコン11に電圧が供給される。このイグニッションスイッチ4を介する電源ライン(図1の電源ライン40a)は、各装置の各種制御プログラムの実行などに用いられるメイン電源供給ラインである。一方、イグニッションスイッチ4を介さず、一端がバッテリ3に接続され、他端がマイコン11に接続される電源ライン(図1の電源ライン40b)は、バックアップRAM11a2に常時電源(電気)を供給し、バックアップRAM11a2に記憶内容を保持させるための常時電源供給ラインである。このため、イグニッションスイッチ4がOFFにされてもバックアップRAM11a2に書き込まれたキーワードは保持可能となっている。 The ignition switch 4 is a device for starting the engine and controlling various electric systems, and has one end connected to the battery 3 and the other end connected to the microcomputer 11 . Therefore, when the ignition switch 4 is set to ON, voltage is supplied to the microcomputer 11 . A power line (power line 40a in FIG. 1) passing through the ignition switch 4 is a main power supply line used for executing various control programs of each device. On the other hand, the power supply line (power supply line 40b in FIG. 1), which has one end connected to the battery 3 and the other end connected to the microcomputer 11 without going through the ignition switch 4, constantly supplies power (electricity) to the backup RAM 11a2, This is a constant power supply line for holding the stored contents in the backup RAM 11a2. Therefore, even if the ignition switch 4 is turned off, the keyword written in the backup RAM 11a2 can be retained.

他のECU8~10は、それぞれECU5とは異なるECUであり、ECU5とCAN7を介して相互通信を行う。他のECU8~10は、例えば、エンジンスロットルの開度の制御やエンジンの停止制御などを行うエンジンECU、ステレオカメラが撮影した画像に基づいて、先行車などの物標と車両との相対速度や、先行車との目標車間距離、先行車に追従しているときの目標加減速度などのデータの算出を行うカメラECU、ブレーキに関する制御を行うECU、エンジンの燃料噴射量、吸入空気量、点火時期などを制御するEFI-ECUなど、車両に関する各種制御を行うECUのいずれかで構成される。 The other ECUs 8 to 10 are different ECUs from the ECU 5 and communicate with each other via the CAN 7 . The other ECUs 8 to 10 are, for example, an engine ECU that controls the opening of the engine throttle and the stop control of the engine, and based on the images taken by the stereo camera, the relative speed between the target such as the preceding vehicle and the vehicle. , Camera ECU that calculates data such as target distance from the preceding vehicle, target acceleration/deceleration when following the preceding vehicle, ECU that controls brakes, engine fuel injection amount, intake air amount, ignition timing It is composed of an ECU that performs various controls related to the vehicle, such as an EFI-ECU that controls such as.

また、ECU5には、車速情報、シフトポジションなどのシフトに関する情報、温度センサなどの各種センサに関する情報、時刻情報などの情報が、直接またはCAN7を介して入力される。 Further, information such as vehicle speed information, information relating to shift such as shift position, information relating to various sensors such as temperature sensor, and information such as time information is input to ECU 5 directly or via CAN 7 .

<スタートアップ処理の流れ>
次に、ECU5のスタートアップ処理の一例について、図2を参照して説明する。図2は、本実施形態のスタートアップ処理の一例を示すフローチャートである。
<Startup processing flow>
Next, an example of start-up processing of the ECU 5 will be described with reference to FIG. FIG. 2 is a flowchart showing an example of startup processing according to this embodiment.

ECU5に電源を入れた直後または、リセットが行われた直後は、例えば、メモリ11aに設けられたROM11a3に保存されたスタートアップ処理用のプログラム(いわゆるリセットベクタ)が読みだされ、当該処理がマイコン11のCPU11bにより実行される。 Immediately after the ECU 5 is powered on or immediately after it is reset, for example, a program for start-up processing (so-called reset vector) stored in the ROM 11a3 provided in the memory 11a is read, and the processing is executed by the microcomputer 11. is executed by the CPU 11b.

まず、CPU11bは、ステップS1において、今回の起動がコールドスタートであるか否かを判定する。例えば、ECU5に対して、バッテリ3からの電源が完全に遮断された後、最初にイグニッションスイッチ4がONになってバッテリ3からの電源が再投入されたときのマイコン11の起動は、コールドスタートとなる。一方、ウォッチドックタイマ回路12から送信されたリセット信号に基づいて行われるマイコン11の再起動は、マイコン11にバッテリ3からの電源が供給された状態で再起動するウォームスタートとなる。 First, in step S1, the CPU 11b determines whether or not the current startup is a cold start. For example, after the power supply from the battery 3 to the ECU 5 is completely cut off, the start-up of the microcomputer 11 when the ignition switch 4 is turned ON for the first time and the power supply from the battery 3 is turned on again is a cold start. becomes. On the other hand, the restarting of the microcomputer 11 based on the reset signal sent from the watchdog timer circuit 12 is a warm start in which power is supplied from the battery 3 to the microcomputer 11 .

この実施形態において、コールドスタートの場合は、メインRAM11a1とバックアップRAM11a2の記憶内容は、いずれも不定となる。一方、ウォームスタートの場合は、メインRAM11a1の記憶内容は不定となるが、バックアップRAM11a2の記憶内容は再起動前のものが保持される。 In this embodiment, in the case of a cold start, the contents stored in the main RAM 11a1 and the backup RAM 11a2 are both undefined. On the other hand, in the case of a warm start, the contents stored in the main RAM 11a1 are undefined, but the contents stored in the backup RAM 11a2 before the restart are retained.

そこで、今回の起動がコールドスタートの場合(ステップS1でYES)、CPU11bは、メインRAM11a1とバックアップRAM11a2の両方の初期化(クリア)を行い、ステップS3に進む。 Therefore, if the current startup is a cold start (YES in step S1), the CPU 11b initializes (clears) both the main RAM 11a1 and the backup RAM 11a2, and proceeds to step S3.

一方、今回の起動がウォームスタートの場合(ステップS1でNO)、CPU11bは、再起動前の記憶内容が保持されているバックアップRAM11a2以外のRAM(メインRAM11a1)の初期化(クリア)を行い(ステップS7)、ステップS3に進む。 On the other hand, if the current startup is a warm start (NO in step S1), the CPU 11b initializes (clears) the RAM (main RAM 11a1) other than the backup RAM 11a2 that holds the memory contents before the restart (step S7), and proceed to step S3.

ステップS3において、CPU11bは、バックアップRAM11a2の所定のアドレスに設定されたキーワード保存領域の読み込みと書き込みが正常に行えるか否かをチェックする。 In step S3, the CPU 11b checks whether or not the reading and writing of the keyword storage area set at the predetermined address of the backup RAM 11a2 can be performed normally.

次に、CPU11bは、バックアップRAM11a2のキーワード保存領域の値が定義値(キーワード)になっているか否かを判定する(ステップS4)。ここで、バックアップRAM11a2のキーワード記憶領域の値が定義値になっていないと判定した場合(ステップS4でNO)、CPU11bは、バックアップRAM11a2のキーワード保存領域に定義値を書き込み、ステップS6に進む。 Next, the CPU 11b determines whether or not the value in the keyword storage area of the backup RAM 11a2 is a defined value (keyword) (step S4). Here, if it is determined that the value in the keyword storage area of the backup RAM 11a2 is not the defined value (NO in step S4), the CPU 11b writes the defined value in the keyword storage area of the backup RAM 11a2, and proceeds to step S6.

一方、バックアップRAM11a2のキーワード記憶領域の値が定義値になっていると判定した場合(ステップS4でYES)、CPU11bは、バックアップRAM11a2のキーワード保存領域の値をクリアした上で(ステップS8)、車両に関する制御プログラムに移行する(スタートアップ処理を終了して通常の車両制御プログラムを開始する)。 On the other hand, if it is determined that the value in the keyword storage area of the backup RAM 11a2 is the defined value (YES in step S4), the CPU 11b clears the value in the keyword storage area of the backup RAM 11a2 (step S8), (End the startup process and start the normal vehicle control program).

ステップS6において、CPU11bは、ウォッチドックタイマ回路12へのウォッチドックリセット信号の送信を中断する。したがって、ウォッチドックタイマ回路12が正常に機能していると、ステップS6のウォッチドックリセット信号の送信の中断により、タイマカウンタ12aのカウント値が設定時間を超え(オーバーフロー)、リセット信号出力回路12bからマイコン11に向けてリセット信号が送信される。リセット信号を受信したマイコン11では、スタートアップ処理(再起動)を行われる。このときの再起動は、ウォームスタートとなる。 In step S6, the CPU 11b suspends transmission of the watchdog reset signal to the watchdog timer circuit 12. FIG. Therefore, if the watchdog timer circuit 12 is functioning normally, the interrupted transmission of the watchdog reset signal in step S6 causes the count value of the timer counter 12a to exceed the set time (overflow), and the reset signal output circuit 12b A reset signal is sent to the microcomputer 11 . Upon receiving the reset signal, the microcomputer 11 performs start-up processing (restart). The restart at this time is a warm start.

また、CPU11bがウォッチドックリセット信号の送信を中断しても、ウォッチドックタイマ回路12が正常に機能しない状態であった場合は、マイコン11にリセット信号が送信されない。この場合は、ステップS6の処理が終了してもリセットベクタに戻ることはなく、制御プログラムに移行できない状態になる。この場合は、ECU5が動作不能状態になるとともに、他のECU8~10との通信も行えない状態になり、車両制御システムのエラーとなる。 Even if the CPU 11b interrupts the transmission of the watchdog reset signal, the reset signal is not transmitted to the microcomputer 11 if the watchdog timer circuit 12 does not function normally. In this case, even if the process of step S6 is completed, the reset vector is not returned, and the control program cannot be entered. In this case, the ECU 5 becomes inoperable and cannot communicate with the other ECUs 8 to 10, resulting in an error in the vehicle control system.

<スタートアップ処理の具体例>
図2に示すスタートアップ処理に基づいて、マイコン11の起動時のより具体的な流れについて説明する。
<Specific example of startup processing>
Based on the start-up process shown in FIG. 2, a more specific flow when the microcomputer 11 is started will be described.

(1回目のスタートアップ処理:コールドスタート)
マイコン11に対するバッテリ3からの電源が遮断された後、バッテリ3との再接続がなされ、イグニッションスイッチ4がONとなった場合、スタートアップ処理が行われる。このときの起動はコールドスタートになるため、図2のフローチャートでは、ステップS1をYESで通過する。そして、ステップ2において、メインRAM11a1とバックアップRAM11a2が初期化(クリア)される。
(First startup processing: cold start)
After the power supply from the battery 3 to the microcomputer 11 is cut off, when the battery 3 is reconnected and the ignition switch 4 is turned on, start-up processing is performed. Since the startup at this time is a cold start, in the flowchart of FIG. 2, step S1 is passed with YES. Then, in step 2, the main RAM 11a1 and the backup RAM 11a2 are initialized (cleared).

続いて、ステップS3でキーワード保存領域のチェックが行われ、問題がなければキーワード保存領域の値が定義値(キーワード)になっているか否かが判定される(ステップS4)。コールドスタートの場合はステップS2でバックアップRAM11a2がクリアされているため、図2のステップS4ではNOで通過し、その後はバックアップRAM11a2のキーワード保存領域に定義値(キーワード)が書き込まれた後(ステップS5)、ウォッチドックタイマ回路12へのウォッチドックリセット信号の送信が中断される(ステップS6)。 Subsequently, the keyword storage area is checked in step S3, and if there is no problem, it is determined whether or not the value in the keyword storage area is the defined value (keyword) (step S4). In the case of a cold start, the backup RAM 11a2 is cleared in step S2, so step S4 in FIG. ), the transmission of the watchdog reset signal to the watchdog timer circuit 12 is interrupted (step S6).

ウォッチドックタイマ回路12が正常に機能している場合、ウォッチドックリセット信号の送信の中断が設定時間を経過すると、タイマカウンタ12aの値がオーバーフローしてリセット信号出力回路12bからマイコン11にリセット信号が送信される。したがって、ウォッチドックタイマ回路12が正常に機能している場合、コールドスタート時は、ウォッチドックタイマ回路12のリセット信号に基づいて、再起動(リセット)が行われる(リセットベクタに戻る:2回目のスタートアップ処理)。このときの起動はウォームスタートとなる。 When the watchdog timer circuit 12 is functioning normally, the value of the timer counter 12a overflows and a reset signal is sent to the microcomputer 11 from the reset signal output circuit 12b after the set time has passed since the transmission of the watchdog reset signal is interrupted. sent. Therefore, when the watchdog timer circuit 12 is functioning normally, restart (reset) is performed based on the reset signal of the watchdog timer circuit 12 at the time of cold start (returns to the reset vector: the second startup processing). The startup at this time is a warm start.

(2回目のスタートアップ処理:ウォームスタート)
リセット信号に基づく再起動(2回目のスタートアップ処理)では、ステップS1をNOで通過し、続くステップS7において、バックアップRAM11a2を除いたRAM(メインRAM11a1)がクリアされる。
(Second startup processing: warm start)
In the restart based on the reset signal (second start-up process), step S1 is passed with NO, and the RAM (main RAM 11a1) excluding the backup RAM 11a2 is cleared in the subsequent step S7.

なお、コールドスタート時(1回目のスタートアップ処理)のステップS5でバックアップRAM11a2のキーワード保存領域に定義値(キーワード)が書き込まれており、ウォームスタートの場合はバックアップRAM11a2の記憶内容は維持されている。そのため、ステップS7の段階でキーワード保存領域には定義値(キーワード)が記憶されており、続くステップS3のバックアップRAM11a2のキーワード保存領域のチェックが終わった後の、ステップS4(2回目のスタートアップ処理のステップS4)をYESで通過する。その後、キーワード保存領域の値のクリア(ステップS8)を経て、車両に関する制御プログラムに移行する。 Note that the definition value (keyword) is written in the keyword storage area of the backup RAM 11a2 in step S5 at the time of cold start (first start-up processing), and in the case of warm start, the storage contents of the backup RAM 11a2 are maintained. Therefore, the definition value (keyword) is stored in the keyword storage area at the stage of step S7, and after the keyword storage area of the backup RAM 11a2 is checked in step S3, step S4 (for the second startup process) Step S4) is passed with YES. After that, the value of the keyword storage area is cleared (step S8), and then the control program for the vehicle is entered.

なお、1回目のスタートアップ処理のステップS6でウォッチドックリセット信号の送信が中断されても、ウォッチドックタイマ回路12が正常に機能しない状態であった場合は、マイコン11にリセット信号が送信されず、2回目のスタートアップ処理が実施されない。その結果、車両に関する制御プログラムに移行しないことになる。 Even if the transmission of the watchdog reset signal is interrupted in step S6 of the first startup process, if the watchdog timer circuit 12 does not function normally, the reset signal is not transmitted to the microcomputer 11. The second startup process is not executed. As a result, the control program for the vehicle is not entered.

つまり、コールドスタートの場合は、制御プログラムに移行する前にウォッチドックタイマ回路12が正常に機能しているか否かが確認され、正常に機能している場合にのみ制御プログラムに移行するように構成されている。 That is, in the case of a cold start, it is confirmed whether the watchdog timer circuit 12 is functioning normally before transitioning to the control program, and only when it functions normally, transitions to the control program. It is

(3回目のスタートアップ処理:ウォームスタート)
2回目のスタートアップ処理の後、車両に関する制御プログラムに移行し、次に、再起動(ウォームスタート)が発生した場合は、3回目のスタートアップ処理になる。3回目のスタートアップ処理がウォームスタートの場合、まずステップS1をNOで通過する。
(Third startup processing: warm start)
After the second start-up process, the control program for the vehicle is entered, and if a restart (warm start) occurs, the third start-up process is performed. If the third start-up process is a warm start, step S1 is passed first with NO.

続くバックアップRAM11a2を除いたRAM(メインRAM11a1)のクリア(ステップS7)と、バックアップRAM11a2のキーワード保存領域のチェック(ステップS3)が終わると、バックアップRAM11a2のキーワード保存領域の値が定義値(キーワード)になっているか否かが判定される(ステップS4)。 After clearing the RAM (main RAM 11a1) excluding the backup RAM 11a2 (step S7) and checking the keyword storage area of the backup RAM 11a2 (step S3), the value of the keyword storage area of the backup RAM 11a2 becomes the defined value (keyword). It is determined whether or not (step S4).

このとき、2回目のスタートアップ処理のステップS8でバックアップRAM11a2のキーワード保存領域の値がクリアされているため、3回目のスタートアップ処理のステップS4をNOで通過する。その後は、ステップS5とステップS6を通過して、ウォッチドックタイマ回路12が正常に機能している場合は、4回目のスタートアップ処理(ウォームスタート)に移行する流れとなる。 At this time, since the value of the keyword storage area of the backup RAM 11a2 has been cleared in step S8 of the second start-up process, step S4 of the third start-up process is passed with NO. Thereafter, steps S5 and S6 are passed, and if the watchdog timer circuit 12 is functioning normally, the process proceeds to the fourth start-up process (warm start).

この場合の起動はウォームスタートになるため、4回目のスタートアップ処理では、ステップS1をNOで通過する。その後、バックアップRAM11a2を除いたRAM(メインRAM11a1)のクリア(ステップS7)と、バックアップRAM11a2のキーワード保存領域のチェック(ステップS3)が終わると、バックアップRAM11a2のキーワード保存領域の値が定義値(キーワード)になっているか否かが判定される(ステップS4)。なお、4回目のスタートアップ処理は、ウォームスタートであるため、3回目のスタートアップ処理のステップS5で書き込まれたキーワード保存領域の定義値(キーワード)は、4回目のスタートアップ処理のステップS7の段階で依然保持されている。 Since the start-up in this case is a warm start, in the fourth start-up process, step S1 is passed with NO. Thereafter, when the RAM (main RAM 11a1) excluding the backup RAM 11a2 is cleared (step S7) and the keyword storage area of the backup RAM 11a2 is checked (step S3), the value of the keyword storage area of the backup RAM 11a2 becomes the defined value (keyword). It is determined whether or not (step S4). Since the fourth startup process is a warm start, the definition value (keyword) in the keyword storage area written in step S5 of the third startup process remains unchanged at step S7 of the fourth startup process. held.

したがって、4回目のスタートアップ処理のステップS4はYESで通過し、バックアップRAM11a2のキーワード保存領域の値がクリアされた上で(ステップS8)、制御プログラムに移行する。 Therefore, step S4 of the fourth start-up process is passed with YES, and after clearing the value of the keyword saving area of the backup RAM 11a2 (step S8), the process proceeds to the control program.

図2のスタートアップ処理によれば、コールドスタート後にウォッチドックタイマ回路12が正常に機能しているか否かが確認された後、制御プログラムに移行し、その後に再起動(ウォームスタート)があった場合も、再びウォッチドックタイマ回路12が正常に機能しているか否かが確認された後に制御プログラムに移行するように構成されている。 According to the start-up process of FIG. 2, after it is confirmed whether or not the watchdog timer circuit 12 is functioning normally after a cold start, the process shifts to the control program. Also, it is configured to shift to the control program after confirming whether or not the watchdog timer circuit 12 is functioning normally again.

なお、スタートアップ処理のステップS8でバックアップRAM11a2のキーワード保存領域の値がクリアされるため、5回目以降の再起動(ウォームスタート)の場合も、制御プログラムに移行する前に、ウォッチドックタイマ回路12が正常に機能しているか否かの確認が行われる。 Since the value in the keyword storage area of the backup RAM 11a2 is cleared in step S8 of the start-up process, the watchdog timer circuit 12 is not started even after the fifth restart (warm start) before proceeding to the control program. A check is made to see if it is functioning properly.

したがって、上記した実施形態によれば、コールドスタートの場合は、スタートアップ処理(1回目のスタートアップ処理)において、制御プログラムに移行する前にバックアップRAM11a2のキーワード保存領域に定義値(キーワード)が書き込まれた上で、ウォッチドックリセット信号の送信が中断される。そのため、ウォッチドックタイマ回路12が正常に機能している場合は、タイマカウンタ12aの値がオーバーフローした後にマイコン11がリセットされてウォームスタートとなる。ウォームスタートの場合(2回目のスタートアップ処理)は、1回目のスタートアップ処理(コールドスタート時)のときにバックアップRAM11a2に書き込まれた定義値(キーワード)は保持された状態となる。そのため、CPU11bは、2回目のスタートアップ処理のステップS4において、バックアップRAM11a2のキーワード保存領域に定義値(キーワード)が記憶されている場合は、ウォッチドックリセット信号の送信に中断に基づいてリセットが行われたことになり、ウォッチドックタイマ回路12が正常に機能していると判断できる。 Therefore, according to the above-described embodiment, in the case of a cold start, the definition value (keyword) is written in the keyword storage area of the backup RAM 11a2 before shifting to the control program in the startup process (first startup process). Above, the transmission of the watchdog reset signal is interrupted. Therefore, when the watchdog timer circuit 12 is functioning normally, the microcomputer 11 is reset after the value of the timer counter 12a overflows, resulting in a warm start. In the case of a warm start (second start-up process), the defined values (keywords) written in the backup RAM 11a2 during the first start-up process (cold start) are held. Therefore, in step S4 of the second start-up process, if the definition value (keyword) is stored in the keyword storage area of the backup RAM 11a2, the CPU 11b is reset based on the interruption of transmission of the watchdog reset signal. Therefore, it can be determined that the watchdog timer circuit 12 is functioning normally.

したがって、2回目のスタートアップ処理のステップS4で、バックアップRAM11a2のキーワード保存領域の値が定義値(キーワード)になっている場合は、ウォッチドックタイマ回路12が正常に機能していると判断して、車両に関する制御プログラムに移行する。このように、マイコン11が起動する際、制御プログラムに移行する前に、CPU11bにおいてウォッチドックタイマ回路12が正常に機能しているか否かを判定するため、制御システムの信頼性を高めることができる。 Therefore, if the value in the keyword storage area of the backup RAM 11a2 is the defined value (keyword) in step S4 of the second startup process, it is determined that the watchdog timer circuit 12 is functioning normally. Move to the control program for the vehicle. As described above, when the microcomputer 11 is activated, the CPU 11b determines whether or not the watchdog timer circuit 12 is functioning normally before proceeding to the control program, so the reliability of the control system can be improved. .

また、図2のスタートアップ処理のステップS8において、バックアップRAM11a2のキーワード保存領域の値がクリアされるため、コールドスタートから制御プログラムに移行した後、マイコン11の再起動(ウォームスタート)が発生した場合も、ウォッチドックタイマ回路12が正常に機能しているか否かを確認することができ、これにより、マイコン11がリセット(再起動)されるたびにウォッチドックタイマ回路12が正常に機能しているか否かを確認できる。 Further, in step S8 of the start-up process in FIG. 2, since the value in the keyword storage area of the backup RAM 11a2 is cleared, even if the microcomputer 11 is restarted (warm start) after the transition from the cold start to the control program, , it is possible to check whether or not the watchdog timer circuit 12 is functioning normally. You can check whether

なお、本発明は上記した実施形態に限定されるものではなく、本発明の趣旨を逸脱しない限りにおいて種々の変更が可能である。 The present invention is not limited to the above-described embodiments, and various modifications are possible without departing from the gist of the present invention.

例えば、上記した実施形態では、コールドスタートの場合のみならず、ウォームスタートの場合も制御プログラムに移行する前にウォッチドックタイマ回路12が正常に機能しているか否かを確認できるようにしたが、コールドスタートの場合はウォッチドックタイマ回路12の確認を行うが、ウォームスタートの場合は確認しないようにしてもよい。この場合は、図2のステップS8でバックアップRAM11a2のキーワード保存領域の値をクリアする処理を省略するとよい。 For example, in the above-described embodiment, it is possible to confirm whether the watchdog timer circuit 12 is functioning normally before transitioning to the control program not only in the case of a cold start but also in the case of a warm start. The watchdog timer circuit 12 is checked in case of cold start, but it may not be checked in case of warm start. In this case, the process of clearing the values in the keyword storage area of the backup RAM 11a2 in step S8 of FIG. 2 may be omitted.

また、上記した実施形態は、ガソリン車に限らず、電気自動車、ハイブリッド車、自動運転車にも適用することができる。 Moreover, the above-described embodiments can be applied not only to gasoline vehicles, but also to electric vehicles, hybrid vehicles, and self-driving vehicles.

1:車両
11b:CPU(書込手段、送信制御手段、リセット手段、判断手段)
12:ウォッチドックタイマ回路(異常監視装置)
1: Vehicle 11b: CPU (writing means, transmission control means, reset means, judgment means)
12: Watchdog timer circuit (abnormality monitoring device)

Claims (3)

マイクロコンピュータと、前記マイクロコンピュータの動作を監視して当該マイクロコンピュータの動作が異常である場合に当該マイクロコンピュータの停止またはリセットを行う異常監視装置とを含む車両用制御装置において、
車両のバッテリから電気が供給されている状態では記憶したデータを保持するメモリと、
少なくともコールドスタートの場合は、前記メモリに前記データとして所定の識別情報を書き込む書込手段と、
前記異常監視装置への異常検知用信号の送信を制御する送信制御手段と、
予め定められた所定時間の間、前記異常監視装置が前記異常検知用信号を受信していない場合に前記マイクロコンピュータをリセットしてウォームスタートさせるリセット手段と、
前記ウォームスタートの場合は、前記書込手段により前記メモリに書き込まれた前記所定の識別情報が前記メモリに記憶されているか否かを判断する判断手段と、
を備え、
前記送信制御手段は、前記コールドスタートに基づいて前記書込手段が前記所定の識別情報の書き込みを行った後は、少なくとも前記所定時間を超えるまで前記異常検知用信号の送信を中断し、
前記マイクロコンピュータは、前記送信制御手段が前記異常検知用信号の送信を中断した後において、前記ウォームスタートの際に前記判断手段により前記メモリに前記所定の識別情報が記憶されていると判断された場合は、前記異常監視装置が正常に機能していると判断する
ことを特徴とする車両用制御装置。
A vehicle control device including a microcomputer and an abnormality monitoring device that monitors the operation of the microcomputer and stops or resets the microcomputer when the operation of the microcomputer is abnormal,
a memory that retains stored data while electricity is being supplied from the battery of the vehicle;
writing means for writing predetermined identification information as the data in the memory at least in the case of a cold start;
Transmission control means for controlling transmission of an abnormality detection signal to the abnormality monitoring device;
reset means for resetting and warm-starting the microcomputer when the abnormality monitoring device does not receive the abnormality detection signal for a predetermined period of time;
determining means for determining whether or not the predetermined identification information written in the memory by the writing means is stored in the memory in the case of the warm start;
with
The transmission control means suspends transmission of the abnormality detection signal until at least the predetermined time elapses after the writing means writes the predetermined identification information based on the cold start,
The microcomputer determines that the predetermined identification information is stored in the memory by the determination means during the warm start after the transmission control means interrupts the transmission of the abnormality detection signal. A control device for a vehicle, characterized in that it judges that the abnormality monitoring device is functioning normally if
前記判断手段により前記メモリに前記所定の識別情報が記憶されていると判定された後は、前記所定の識別情報がクリアされ、
前記書込手段は、前記所定の情報がクリアされた後の前記マイクロコンピュータの再起動がウォームスタートとなった際、前記判断手段により前記メモリに前記所定の識別情報が記憶されていないと判定された場合は、前記メモリに前記所定の識別情報を書き込み、当該書き込みに基づいて前記送信制御手段による前記異常検知用信号の送信が、少なくとも前記所定時間を超えるまで中断されることを特徴とする請求項1に記載の車両用制御装置。
After the determination means determines that the predetermined identification information is stored in the memory, the predetermined identification information is cleared,
The writing means determines that the predetermined identification information is not stored in the memory by the determining means when the restart of the microcomputer after the predetermined information is cleared is a warm start. In this case, the predetermined identification information is written in the memory, and based on the writing, the transmission of the abnormality detection signal by the transmission control means is interrupted until at least the predetermined time is exceeded. Item 1. The vehicle control device according to item 1.
前記マイクロコンピュータは、前記異常監視装置が正常に機能していると判断した場合に車両制御に関するプログラムの実行を開始することを特徴とする請求項1または2に記載の車両用制御装置。


3. The vehicle control device according to claim 1, wherein said microcomputer starts executing a program relating to vehicle control when it determines that said abnormality monitoring device is functioning normally.


JP2021140680A 2021-08-31 2021-08-31 Vehicle control device Active JP7713339B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021140680A JP7713339B2 (en) 2021-08-31 2021-08-31 Vehicle control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021140680A JP7713339B2 (en) 2021-08-31 2021-08-31 Vehicle control device

Publications (2)

Publication Number Publication Date
JP2023034432A true JP2023034432A (en) 2023-03-13
JP7713339B2 JP7713339B2 (en) 2025-07-25

Family

ID=85504314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021140680A Active JP7713339B2 (en) 2021-08-31 2021-08-31 Vehicle control device

Country Status (1)

Country Link
JP (1) JP7713339B2 (en)

Also Published As

Publication number Publication date
JP7713339B2 (en) 2025-07-25

Similar Documents

Publication Publication Date Title
CN101289984B (en) Eco-run control device and engine restart method
CN110626336B (en) Control system for automatic driving of L3-grade vehicle
JP4451405B2 (en) Vehicle battery management device and management method
US8510022B2 (en) Eco-run control device and eco-run control method
JP2003214233A (en) Electronic control device for vehicle
JP6179440B2 (en) Vehicle control device
JP2002235598A (en) Controller for vehicle
JP3970196B2 (en) Engine intake air amount control device and engine intake air amount control method
JP2007046546A (en) Idle stop vehicle control device
JP2006322332A (en) Failure detection method for starter drive circuit and economical running control device
JP4889249B2 (en) Engine starter protection method and engine starter protection device
JP3923810B2 (en) Electronic control device for vehicle
JP7713339B2 (en) Vehicle control device
JP2010113419A (en) Multicore controller
JP5741550B2 (en) Control device and vehicle control system
KR20200067702A (en) Engine start control for idle stop-and-go vehicle
JP2006327217A (en) Program for vehicle control and electronic control device for vehicle
JP2003294129A (en) Electronic control device for vehicle
JP2007209106A (en) Load control unit, load device and load control method
JP4375105B2 (en) Microcomputer monitoring device failure diagnosis method and vehicle electronic control device
JP6887277B2 (en) Electronic control device for automobiles
JP2008286032A (en) Vehicle control device
JP6258126B2 (en) In-vehicle control device
US20250002053A1 (en) Vehicle
JP2003261019A (en) On-vehicle electronic control circuit with adequate processing function of sensor self-diagnostic signal

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240506

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20250131

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20250225

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20250403

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20250708