JPH08142794A - Diagnosis circuit for runaway detecting circuit - Google Patents

Diagnosis circuit for runaway detecting circuit

Info

Publication number
JPH08142794A
JPH08142794A JP29123594A JP29123594A JPH08142794A JP H08142794 A JPH08142794 A JP H08142794A JP 29123594 A JP29123594 A JP 29123594A JP 29123594 A JP29123594 A JP 29123594A JP H08142794 A JPH08142794 A JP H08142794A
Authority
JP
Japan
Prior art keywords
program
runaway
detecting circuit
detection circuit
reset signal
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.)
Pending
Application number
JP29123594A
Other languages
Japanese (ja)
Inventor
Masahiro Fukuda
正博 福田
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.)
Marelli Corp
Original Assignee
Kansei 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 Kansei Corp filed Critical Kansei Corp
Priority to JP29123594A priority Critical patent/JPH08142794A/en
Priority to KR1019950031733A priority patent/KR100362251B1/en
Publication of JPH08142794A publication Critical patent/JPH08142794A/en
Pending legal-status Critical Current

Links

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R21/00Arrangements or fittings on vehicles for protecting or preventing injuries to occupants or pedestrians in case of accidents or other traffic risks
    • B60R21/01Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents
    • B60R21/017Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents including arrangements for providing electric power to safety arrangements or their actuating means, e.g. to pyrotechnic fuses or electro-mechanic valves
    • B60R21/0173Diagnostic or recording means therefor
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R21/00Arrangements or fittings on vehicles for protecting or preventing injuries to occupants or pedestrians in case of accidents or other traffic risks
    • B60R21/01Electrical circuits for triggering passive safety arrangements, e.g. airbags, safety belt tighteners, in case of vehicle accidents or impending vehicle accidents
    • B60R2021/01122Prevention of malfunction
    • B60R2021/01184Fault detection or diagnostic circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Debugging And Monitoring (AREA)
  • Air Bags (AREA)
  • Safety Devices In Control Systems (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

PURPOSE: To detect the anomaly of a runaway detecting circuit in the initial stage by diagnosing a runaway detecting circuit for a CPU at the time point when an electric power is detected, by judging that the operation of the runaway detecting circuit is normal when receiving a reset signal from the free running detecting circuit within a prescribed time from the start of a program. CONSTITUTION: The standard time (standard time from the start of the free running of a program to the generation of a reset signal) is set in a comparison register 2 according to the program, and a free running counter 13 for metering this time lapse is operated, and the inside clock pulse is counted, and the counting processing is started. Accordingly, the inside clock pulse is counted up in proportion to the time lapse, and this operation is carried out until the counted value reaches the comparison register set value, and it is judged if a reset signal is supplied from a runaway detecting circuit 15 during this standard time, and if the reset signal is supplied, it is judged that the function of the runaway detecting circuit 15 is normal.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】この発明は、CPUのプログラム
暴走を検知してリセットし、初期化するウオッチドッグ
タイマ等の暴走検知回路の診断回路に関するものであ
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic circuit for a runaway detection circuit such as a watchdog timer which detects, resets and initializes a program runaway of a CPU.

【0002】[0002]

【従来の技術】この種の発明にかかる従来の暴走検知回
路の構成を図4に示す車両用乗員保護装置を例にとって
以下に説明する。即ち、同図において、DC/DCコン
バータ3はイグニッションスイッチ2を介して供給され
るバッテリ1からの電圧を昇圧して出力し、その昇圧電
圧を抵抗4を介してバックアップコンデンサ5に供給し
て充電する。その充電された電荷は、CPU11が加速
度センサ14からの加速度信号に基づいて重大衝突が発
生したと判断したときに、CPU11からスイッチング
トランジスタ8にトリガ信号が供給され、コレクタ、エ
ミッタ間が導通する。その結果、バックアップコンデン
サ5の充電電荷がダイオード6を介してスクイーブ9、
機械式加速度スイッチ10を直流に介して放電され、火
薬に点火されエアバッグが展開される。また、DC/D
Cコンバータ3が故障した場合には、バッテリ1からの
電流がダイオード7を介してスクイーブ9に供給され
る。
2. Description of the Related Art The structure of a conventional runaway detection circuit according to this invention will be described below by taking a vehicle occupant protection device shown in FIG. 4 as an example. That is, in the same figure, the DC / DC converter 3 boosts and outputs the voltage from the battery 1 supplied via the ignition switch 2, and supplies the boosted voltage to the backup capacitor 5 via the resistor 4 to charge it. To do. When the CPU 11 determines that a serious collision has occurred based on the acceleration signal from the acceleration sensor 14, the CPU 11 supplies a trigger signal to the switching transistor 8 so that the charged electric charge is conducted between the collector and the emitter. As a result, the charge stored in the backup capacitor 5 is squeezed through the diode 6,
The mechanical acceleration switch 10 is discharged through direct current, ignited by explosive powder, and the airbag is deployed. Also, DC / D
When the C converter 3 fails, the current from the battery 1 is supplied to the squeeze 9 via the diode 7.

【0003】また、CPU11は、バッテリ1からの電
圧がイグニッションスイッチ2を介して供給され、低電
圧を発生する回路系電源回路16から給電されて、給電
に伴って所定のフローチャートに従ってプログラムが作
動をし、その作動が正常であるときには暴走検知回路1
5に所定周波数のクロックパルスを供給するが、作動が
異常になると、クロックパルスに替わって暴走検知回路
15に、例えばハイレベル信号が供給されることによ
り、暴走検知回路15はリセット信号をCPU11に供
給してプログラム作動を初期化する。
Further, the CPU 11 is supplied with the voltage from the battery 1 through the ignition switch 2 and is supplied with electric power from the circuit system power supply circuit 16 which generates a low voltage, and the program is operated according to a predetermined flowchart in accordance with the supply of electric power. However, when the operation is normal, the runaway detection circuit 1
Although a clock pulse having a predetermined frequency is supplied to 5, the runaway detection circuit 15 supplies a reset signal to the CPU 11 when the operation becomes abnormal by supplying a high level signal to the runaway detection circuit 15 instead of the clock pulse. Supply to initialize program operation.

【0004】[0004]

【発明が解決しようとする課題】上記の如く、従来の暴
走検知回路15はCPU11のプログラムが暴走した場
合に、それを検知してCPU11のプログラム作動を初
期化する構成であるので、暴走検知回路15が故障して
いたり、またCPU11、暴走検知回路15間の電気的
接続回路パターンが断線していた場合には、CPU11
のプログラムが暴走した場合には正常動作に回復できな
い恐れが考えられた。
As described above, the conventional runaway detection circuit 15 has a configuration in which when the program of the CPU 11 runs out of control, it is detected and the program operation of the CPU 11 is initialized. If 15 is defective or the electrical connection circuit pattern between the CPU 11 and the runaway detection circuit 15 is broken, the CPU 11
It was thought that there was a possibility that normal operation could not be restored if the program of (1) went out of control.

【0005】特に、車両用乗員保護装置の如く乗員を事
故から保護するような非常に重要な装置にあっては、走
行前に異常事態が発生していることを知らせてくれれば
対応できたものの、異常を知らず重大事故を引き起こし
てしまった場合には取り返しのつかない大問題に発展す
る恐れが考えられた。
In particular, for a very important device such as a vehicle occupant protection device for protecting an occupant from an accident, it would have been possible to deal with it by notifying that an abnormal situation had occurred before traveling. However, if a serious accident was caused without noticing an abnormality, it could lead to an irreversible major problem.

【0006】そこで、この発明は、上記問題点に着目し
てなされたもので、CPUの暴走検知回路を電源が供給
された時点で診断して初期に暴走検知回路の異常を検知
出来るようにすることを目的とする。
Therefore, the present invention has been made in view of the above problems, and makes it possible to detect an abnormality of the runaway detection circuit at the initial stage by diagnosing the runaway detection circuit of the CPU when power is supplied. The purpose is to

【0007】[0007]

【課題を解決するための手段】この発明にかかる暴走検
知回路の診断回路は、プログラムを内蔵し、該プログラ
ムが正常動作しているときに、クロックパルスを出力す
るCPUと、該CPUから出力されるクロックパルスを
入力して、該クロックパルスの供給が停止されたとき、
前記CPUを初期化するためのリセット信号を出力する
暴走検知回路とを備え、前記CPUは電源が供給された
直後に、自らプログラム暴走状態を発生させ、そのプロ
グラム発生の所定時間内に前記暴走検知回路からリセッ
ト信号の供給を受けたとき、暴走検知回路の動作が正常
であると判断する。
A diagnostic circuit of a runaway detection circuit according to the present invention has a program built therein, and outputs a clock pulse when the program is operating normally, and a CPU that outputs the clock pulse. Clock pulse is input and the supply of the clock pulse is stopped,
A runaway detection circuit that outputs a reset signal for initializing the CPU, the CPU itself generates a program runaway state immediately after power is supplied, and detects the runaway within a predetermined time when the program is generated. When the reset signal is supplied from the circuit, it is determined that the operation of the runaway detection circuit is normal.

【0008】[0008]

【作用】この発明によれば、CPUに電源電圧が供給さ
れた直後に、CPUは自らプログラム暴走状態を発生さ
せ、そのプログラム発生の所定時間内に暴走検知回路か
らリセット信号の供給を受けたとき、暴走検知回路の動
作が正常であると判断し、リセット信号が供給されない
ときは異常と判断する。
According to the present invention, immediately after the power supply voltage is supplied to the CPU, the CPU itself causes the program runaway state, and when the reset signal is supplied from the runaway detection circuit within a predetermined time of the program generation. , It is judged that the operation of the runaway detection circuit is normal, and when the reset signal is not supplied, it is judged as abnormal.

【0009】[0009]

【実施例】次に、この発明による実施例を説明するが、
構成は図4に示す従来の構成と、CPU11’の一部機
能、即ち暴走検知回路15を故障診断する機能を除け
ば、他の部分の機能は同一であるので、その同一部分の
構成の説明は同一符号を付して省略し、異なる部分の機
能について説明する。
EXAMPLES Examples according to the present invention will be described below.
The configuration is the same as that of the conventional configuration shown in FIG. 4, except for a part of the function of the CPU 11 ', that is, a function of diagnosing the malfunction of the runaway detection circuit 15, and the other parts have the same functions. Are denoted by the same reference numerals and omitted, and the functions of different parts will be described.

【0010】すなわち、図1におけるCPU11’のプ
ログラム機能は図4のCPU11のプログラム機能に暴
走検知回路15の診断機能が追加されているので、その
追加された診断機能について、まず構成の違いを説明
し、次に図2を参照して作用の違いを説明する。
That is, since the program function of the CPU 11 'in FIG. 1 is added with the diagnostic function of the runaway detection circuit 15 in addition to the program function of the CPU 11 in FIG. Then, the difference in operation will be described with reference to FIG.

【0011】CPU11’には図4のCPU11に対し
てコンペアレジスタ12とフリーランニングカウンタ1
3とが図2で説明する無限ループ処理のために追加され
ている(これらは電源が供給された所定の時間の間のみ
しか作動しない)。プログラムによってコンペアレジス
タ12に基準時間(プログラム暴走が開始されてからリ
セット信号が発生されるまでの基準時間)が設定され、
かつこの時間経過を計時するためにフリーランニングカ
ウンタ13を作動して、内部クロックパルスを計数し
て、計時処理を開始する。すなわち、これは図3に示す
ように時間の経過に比例して内部クロックパルスをカウ
ントアップして、その計数値(フリーランニングカウン
ト値)がコンペアレジスタ設定値に達するまで行い、こ
の基準時間までの間に暴走検知回路15からリセット信
号が供給されたか否かが判断され、供給された場合に
は、暴走検知回路15の機能は正常であると判断され
る。
The CPU 11 'has a compare register 12 and a free running counter 1 as compared with the CPU 11 of FIG.
3 and 3 have been added for the infinite loop processing described in FIG. 2 (these only work for a given time when power is applied). The program sets the reference time (reference time from the start of program runaway to the generation of the reset signal) in the compare register 12,
In addition, the free-running counter 13 is operated to count the elapsed time, counts the internal clock pulse, and starts the timing process. That is, as shown in FIG. 3, this is performed by counting up the internal clock pulse in proportion to the passage of time, until the count value (free running count value) reaches the compare register set value, and up to this reference time. In the meantime, it is judged whether or not the reset signal is supplied from the runaway detection circuit 15, and when it is supplied, it is judged that the function of the runaway detection circuit 15 is normal.

【0012】次に、プログラムを説明するが、CPU1
1’に電源が投入されると、プログラムはステップST
100で初期設定された後に、ステップST101に進
み、CPU11’のRAMの記憶内容からすでに故障診
断機能が作動したか否かを読み取る。ここで、記憶内容
からすでに故障診断が終了していると判断された場合に
はステップST107に進み、通常の衝突判断機能のプ
ログラムを作動させる。
Next, the program will be described. The CPU 1
When the power is turned on to 1 ', the program proceeds to step ST
After the initial setting in 100, the process proceeds to step ST101, and it is read from the stored contents of the RAM of the CPU 11 'whether or not the failure diagnosis function has already been activated. Here, when it is determined from the stored contents that the failure diagnosis has already been completed, the process proceeds to step ST107, and the normal collision determination function program is activated.

【0013】一方このステップST101において、ま
だ故障診断が終了されていないと判断した場合にはその
RAMにこれから故障診断すると云う意味で前もって故
障診断が終了したと記録し、次のステップST103の
無限ループ処理にはいる。この無限ループ処理とは、疑
似的にプログラム暴走と同一な状態を作り出し、暴走検
知回路15にハイレベル信号を供給するものである。
On the other hand, if it is determined in step ST101 that the failure diagnosis is not completed yet, it is recorded in the RAM that the failure diagnosis is completed in the sense that the failure diagnosis will be completed, and the infinite loop of the next step ST103. Get into the process. This infinite loop processing is to artificially create the same state as program runaway and supply a high level signal to the runaway detection circuit 15.

【0014】その後、CPU11’はステップST10
4に進み、暴走検知回路15からリセット信号が供給さ
れているか否かが判断され、リセット信号が供給されて
いる場合にはステップST101に戻り、ステップST
107に進む。またリセット信号が供給されていない場
合にはステップST105に進む。
After that, the CPU 11 'makes a step ST10.
4, it is determined whether or not the reset signal is supplied from the runaway detection circuit 15, and if the reset signal is supplied, the process returns to step ST101 and step ST101.
Proceed to 107. If the reset signal is not supplied, the process proceeds to step ST105.

【0015】ステップST105では、フリーランニン
グカウンタ13の計数値(フリーランニングカウント
値)がコンペアレジスタ設定値に達したか否かが判断さ
れ、まだ達していないと判断された場合には、ステップ
ST103に戻る。また計数値がコンペアレジスタ設定
値に達していた場合には、ステップST106に進み、
暴走検知回路15が故障していると判断され、CPU1
1’から図示されない警報回路に警報を指示する信号が
供給される。
In step ST105, it is determined whether or not the count value of the free running counter 13 (free running count value) has reached the compare register setting value. If it is determined that the count value has not yet reached, the process proceeds to step ST103. Return. If the count value has reached the compare register setting value, the process proceeds to step ST106,
It is determined that the runaway detection circuit 15 is out of order, and the CPU 1
A signal indicating an alarm is supplied from 1'to an alarm circuit (not shown).

【0016】即ち、CPU11’は電源が投入される
と、疑似暴走状態を作成して暴走検知回路15にハイレ
ベル信号を供給して、その供給開始から所定時間内まで
に暴走検知回路15からCPU11’にリセット信号が
供給されないときには、CPU11’は暴走検知回路1
5が故障しているとして図示されない警報回路に警報を
指示する信号を出力する。
That is, when the power is turned on, the CPU 11 'creates a pseudo runaway state and supplies a high level signal to the runaway detection circuit 15, and the runaway detection circuit 15 sends the high level signal to the CPU 11 within a predetermined time from the start of the supply. When the reset signal is not supplied to'the CPU 11 ', the runaway detection circuit 1
A signal for instructing an alarm is output to an alarm circuit (not shown) that 5 is out of order.

【0017】[0017]

【発明の効果】以上説明したように、この発明によれば
電源投入時に暴走検知回路の診断がされるので、安心し
てこの機能が用いられた装置を使用できるという効果が
発揮される。
As described above, according to the present invention, the runaway detection circuit is diagnosed when the power is turned on, so that the device using this function can be used with peace of mind.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の適用例である乗員保護装置の構成を説
明するための回路ブロック図である。
FIG. 1 is a circuit block diagram for explaining a configuration of an occupant protection system, which is an application example of the present invention.

【図2】本発明による暴走検知回路の診断を行うプログ
ラムの説明図である。
FIG. 2 is an explanatory diagram of a program for diagnosing a runaway detection circuit according to the present invention.

【図3】フリーランニングカウンタの動作を説明する図
である。
FIG. 3 is a diagram illustrating an operation of a free running counter.

【図4】従来の暴走検知回路が用いられている乗員保護
装置の回路ブロック説明図である。
FIG. 4 is a circuit block diagram of an occupant protection device in which a conventional runaway detection circuit is used.

【符号の説明】[Explanation of symbols]

11,11’ マイクロコンピュータ 12 コンペアレジスタ 13 フリーランニングカウンタ 15 暴走検知回路 11, 11 'Microcomputer 12 Compare register 13 Free running counter 15 Runaway detection circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラムを内蔵し、該プログラムが正
常動作しているときに、クロックパルスを出力するCP
Uと、該CPUから出力されるクロックパルスを入力し
て、該クロックパルスの供給が停止されたとき、前記C
PUを初期化するためのリセット信号を出力する暴走検
知回路とを備え、前記CPUは電源が供給された直後
に、自らプログラム暴走状態を発生させ、そのプログラ
ム発生の所定時間内に前記暴走検知回路からリセット信
号の供給を受けたとき、暴走検知回路の動作が正常であ
ると判断することを特徴とする暴走検知回路の診断回
路。
1. A CP which contains a program and outputs a clock pulse when the program is operating normally.
When U and the clock pulse output from the CPU are input and the supply of the clock pulse is stopped, the C
And a runaway detection circuit for outputting a reset signal for initializing the PU. The CPU itself generates a program runaway state immediately after power is supplied, and the runaway detection circuit within a predetermined time when the program is generated. A diagnostic circuit for a runaway detection circuit, which is characterized by determining that the operation of the runaway detection circuit is normal when a reset signal is supplied from the.
JP29123594A 1994-11-25 1994-11-25 Diagnosis circuit for runaway detecting circuit Pending JPH08142794A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP29123594A JPH08142794A (en) 1994-11-25 1994-11-25 Diagnosis circuit for runaway detecting circuit
KR1019950031733A KR100362251B1 (en) 1994-11-25 1995-09-26 Diagnostic circuit of runaway detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29123594A JPH08142794A (en) 1994-11-25 1994-11-25 Diagnosis circuit for runaway detecting circuit

Publications (1)

Publication Number Publication Date
JPH08142794A true JPH08142794A (en) 1996-06-04

Family

ID=17766231

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29123594A Pending JPH08142794A (en) 1994-11-25 1994-11-25 Diagnosis circuit for runaway detecting circuit

Country Status (2)

Country Link
JP (1) JPH08142794A (en)
KR (1) KR100362251B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102991371A (en) * 2011-09-14 2013-03-27 株式会社京滨 Electronic control device and vehicle control system
CN113711209A (en) * 2019-04-25 2021-11-26 日立安斯泰莫株式会社 Electronic control device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102991371A (en) * 2011-09-14 2013-03-27 株式会社京滨 Electronic control device and vehicle control system
US8924059B2 (en) 2011-09-14 2014-12-30 Keihin Corporation Electronic control device and vehicle control system
CN102991371B (en) * 2011-09-14 2015-07-08 株式会社京滨 Electronic control device and vehicle control system
CN113711209A (en) * 2019-04-25 2021-11-26 日立安斯泰莫株式会社 Electronic control device
US11726853B2 (en) 2019-04-25 2023-08-15 Hitachi Astemo, Ltd. Electronic control device

Also Published As

Publication number Publication date
KR960017353A (en) 1996-06-17
KR100362251B1 (en) 2003-03-26

Similar Documents

Publication Publication Date Title
US5107245A (en) Control arrangement for an occupant restraint system of an automobile
US5811978A (en) Diagnostic circuit for checking capacity of condenser
US6597181B2 (en) High and low side driver tests for airbag module
JPH0811942B2 (en) Engine controller
US6580279B1 (en) Method and apparatus for checking the capacitance of a storage capacitor provided in an occupant protection system
JP2001206191A (en) Starting device for vehicle occupant protection system
JPH0711533B2 (en) Vehicle collision detection device
JP3683522B2 (en) Backup capacitor capacity diagnosis method
JPH08142794A (en) Diagnosis circuit for runaway detecting circuit
JPH09229976A (en) Capacitor capacity diagnosing circuit
JP2941149B2 (en) Capacitor capacity diagnostic device
JP2924428B2 (en) Airbag system failure recorder
JP3403836B2 (en) Microcomputer reset circuit
JPH0796815A (en) Electric control device for airbag device
JPH06331668A (en) Calculating circuit for capacity of capacitor having built-in dc/dc converter
JPH06331669A (en) Calculating circuit for capacity of capacitor
JPH04256038A (en) Watchdog timer inspecting device
JP3897859B2 (en) Diagnostic circuit for watchdog circuit
JPH1169663A (en) Drive for occupant protection devices
JPH1148908A (en) Air bag device failure detection device
JP3795182B2 (en) Crew protection device
JPH08202589A (en) Information processor and fault diagnostic method
JP4094140B2 (en) Capacitor capacity diagnosis circuit
JP2707878B2 (en) Air bag device failure detection device
JP2007041824A (en) Electronic control unit reset circuit