JPH05264583A - Malfunction diagnostic device for air bag - Google Patents

Malfunction diagnostic device for air bag

Info

Publication number
JPH05264583A
JPH05264583A JP6488692A JP6488692A JPH05264583A JP H05264583 A JPH05264583 A JP H05264583A JP 6488692 A JP6488692 A JP 6488692A JP 6488692 A JP6488692 A JP 6488692A JP H05264583 A JPH05264583 A JP H05264583A
Authority
JP
Japan
Prior art keywords
eeprom
data
microcomputer
failure
writing
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.)
Withdrawn
Application number
JP6488692A
Other languages
Japanese (ja)
Inventor
Masaru Yoshimoto
勝 善本
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 Ten Ltd
Original Assignee
Denso Ten 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 Denso Ten Ltd filed Critical Denso Ten Ltd
Priority to JP6488692A priority Critical patent/JPH05264583A/en
Publication of JPH05264583A publication Critical patent/JPH05264583A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Air Bags (AREA)

Abstract

PURPOSE:To prevent holding error data by detecting abnormality in an EEPROM in a malfunction diagnostic device for an air bag provided with a microcomputer for diagnosing malfunction and an EEPROM for holding the data as the result of the diagnosing. CONSTITUTION:In an air bag ECU, a microcomputer 2 for diagnosing and an EEPROM3 for holding the data detected with the microcomputer 2 are provided. In the microcomputer 2, a means to detect the abnormality (such as unavailability of writing and reading correctly from the microcomputer 2 or change of the data in the EEPROM with time elapsing) of the EEPROM3 is provided in the microcomputer.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はエアバッグ用故障診断装
置に関し、特に故障診断用の演算処理回路と該診断によ
って検出された故障のデータを保持するEEPROMと
をそなえたエアバッグ用故障診断装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an air bag failure diagnosing device, and more particularly to an air bag failure diagnosing device having an arithmetic processing circuit for diagnosing a failure and an EEPROM for holding data of a failure detected by the diagnosis. Regarding

【0002】[0002]

【従来の技術】一般にエアバッグのスクイブを点火制御
するために該スクイブの点火回路には、衝突検知センサ
(車のバンパの後方などに設けられるフロントセンサや
エアバッグECUに内蔵される内蔵センサなどがあり、
何れも車の衝突時の減速度によってオンとなる加速度セ
ンサとして機能する)や安全用センサ(上記衝突検知セ
ンサが誤動作(例えばショート故障)したときやスクイ
ブの一端がアース側とショートしたときなどに該スクイ
ブが誤点火するのを防止するために設けられるセンサで
該衝突検知センサよりもオンとなるしきい値が小さくさ
れている)などのセンサ類、あるいは点火制御用のトラ
ンジスタなどが設けられている。
2. Description of the Related Art Generally, in order to control ignition of a squib of an airbag, an ignition circuit of the squib is provided with a collision detection sensor (a front sensor provided behind a bumper of a vehicle or a built-in sensor incorporated in an airbag ECU). There is
Both function as an acceleration sensor that is turned on by the deceleration at the time of a vehicle collision, a safety sensor (when the above collision detection sensor malfunctions (for example, short circuit failure), or when one end of the squib shorts to the ground side). A sensor provided to prevent the squib from erroneously igniting, the threshold value for turning on is smaller than that of the collision detection sensor) or the like, or an ignition control transistor or the like. There is.

【0003】そしてこれらのセンサ類、スクイブ、ある
いは上記トランジスタなどを含むエアバッグECU内の
故障の有無が故障診断用のマイコン(ダイアグ用のマイ
コン)によって診断され(そのために通常各部の電位が
該マイコンにとり込まれる)、どこかの故障が該マイコ
ンで検出された場合には(どこかの電圧が異常となって
いる場合には)、その故障個所や故障内容などを含む情
報が、該マイコンからEEPROMに、該EEPROM
の所定アドレスにおける所定ビット目のデータとして書
込まれる。このようにダイアグの結果どこかの故障が検
出されたときにはその故障のデータがEEPROMで保
持されており、該データ保持手段としてEEPROMを
用いることによって、イグニッションスイッチをオフと
したときも、電源電圧とは関係なく該データが保持され
る。
Then, the presence or absence of a failure in the airbag ECU including these sensors, squib, or the above transistors is diagnosed by a failure diagnosis microcomputer (diagnosis microcomputer) (for that reason, the potential of each part is usually the microcomputer. If any failure is detected by the microcomputer (if any voltage is abnormal), information including the failure location and failure details is output from the microcomputer. EEPROM to EEPROM
Is written as the data of the predetermined bit at the predetermined address. As described above, when any failure is detected as a result of the diagnosis, the data of the failure is held in the EEPROM, and by using the EEPROM as the data holding means, even when the ignition switch is turned off, the power supply voltage Holds the data regardless of.

【0004】このように該EEPROMには上記診断結
果の各種情報が記憶されているが、該EEPROM自体
が故障しているかどうかをも検知しないと、該EEPR
OM内の各種情報を信頼することができない。しかしな
がら従来は、かかるエアバッグの故障診断装置に用いら
れるEEPROMについての故障検知がなされていなか
ったため、該EEPROM内に保持されている各種情報
の信頼性には疑問が残っていた。
As described above, the EEPROM stores various kinds of information of the diagnosis result, but if it is not detected whether or not the EEPROM itself is out of order, the EEPROM is not detected.
Various information in the OM cannot be trusted. However, conventionally, since the failure of the EEPROM used in the failure diagnosis device for such an airbag has not been detected, the reliability of various information stored in the EEPROM remains questionable.

【0005】[0005]

【発明が解決しようとする課題】本発明はかかる技術的
背景のもとになされたもので、上記EEPROMが故障
した際には、上記ダイアグ用のマイコンからの正しい書
込みや読出しができなくなったり、あるいはデータ内容
(あるビットの内容)が時間の経過とともに変化するこ
とに着目し、それらを漏れなく検知することによって、
該EEPROMの故障を確実に検出しうるようにしたも
のである。
The present invention has been made based on such a technical background. When the EEPROM fails, correct writing and reading from the diagnostic microcomputer cannot be performed, Or by paying attention to the fact that the data content (content of a bit) changes over time and detecting them without omission,
The EEPROM is designed to be able to reliably detect a failure.

【0006】[0006]

【課題を解決するための手段】かかる課題を解決するた
めに本発明によれば、故障診断用の演算処理回路(マイ
コン)と、該診断によって検出されたデータを保持する
EEPROMとをそなえ、かつ該演算処理回路内に該E
EPROMの異常を検出する手段をそなえることを特徴
とする、エアバッグ用故障診断装置が提供される。ここ
で該故障診断は例えばダイアグ専用のマイコンによって
常時(車の走行中を含めてイグニッションスイッチがオ
ンのとき)行うこともでき、また車体停止時(すなわち
車速ゼロのとき)又はエンジン始動時(例えばエンジン
始動後6秒間)のみ該診断を行うようにして、点火制御
用のマイコン(車の走行中は点火制御を重点的に行う)
を、該ダイアグ用として兼用させることもできる。
In order to solve the above problems, according to the present invention, an arithmetic processing circuit (microcomputer) for failure diagnosis and an EEPROM for holding data detected by the diagnosis are provided, and The E in the arithmetic processing circuit
Provided is a failure diagnosis device for an air bag, which is provided with a means for detecting an abnormality in an EPROM. Here, the failure diagnosis can be performed at all times (when the ignition switch is on, including when the vehicle is running) by a microcomputer dedicated to diagnosis, or when the vehicle is stopped (that is, when the vehicle speed is zero) or when the engine is started (for example, Microcomputer for ignition control by performing the diagnosis only for 6 seconds after starting the engine (Ignition control is mainly performed while the vehicle is running)
Can also be used for the diagnosis.

【0007】図1は本発明によるEEPROM書込みお
よび読出しの基本的な処理手順を例示するもので、図1
(A)はEEPROMへのデータ書込み時における処理
手順を示しており、また図1(B)は該EEPROMか
らのデータ読出し時における処理手順を示している。な
お該EEPROM内には、該データ書込みがなされるデ
ータ領域とは別に、該EEPROMのデータ領域に書込
まれている各番地のデータの合計値が書込まれる領域
(サム領域と称することとする)が設けられている。
FIG. 1 exemplifies a basic processing procedure of EEPROM writing and reading according to the present invention.
FIG. 1A shows a processing procedure when writing data to the EEPROM, and FIG. 1B shows a processing procedure when reading data from the EEPROM. In addition, in the EEPROM, in addition to the data area in which the data is written, an area in which a total value of data of respective addresses written in the data area of the EEPROM is written (hereinafter referred to as a thumb area) ) Is provided.

【0008】そして該図1(A)に示される処理手順の
ステップ1では、今回のデータの書込みを行う前に予
め、該EEPROMのデータ領域に書込まれている各番
地のデータを実際に該マイコンで合計計算した値と、該
サム領域に書込まれている合計値とが一致しているか否
かが該ダイアグ用マイコンでチェックされる。なお該E
EPROMの各番地には例えば8ビットのデータとして
書込まれているような場合でも、例えば該ダイアグ用の
マイコンとして4ビットマイコンが用いられるような場
合には、該4ビット毎の合計をとるようにすることもで
きる。このようにして今回の書込みが行われる前に、上
述したように実際に上記各データを合計計算した値と、
前回の書込み時に該サム領域に書込まれた合計値とが一
致しているか否か(すなわち前回の書込み時(合計計算
時)から今回の書込み時(合計計算時)までの間に該E
EPROMのデータ(あるビットのデータ)が変化して
いないか否か)が該マイコンでチェックされる。
In step 1 of the processing procedure shown in FIG. 1 (A), the data of each address written in the data area of the EEPROM is actually written before the writing of the current data. The diagnostic microcomputer checks whether or not the total value calculated by the microcomputer matches the total value written in the thumb area. The E
Even if each address of the EPROM is written as 8-bit data, for example, when a 4-bit microcomputer is used as the microcomputer for the diagnosis, the total for each 4 bits should be taken. You can also In this way, before the current writing is performed, as described above, the value obtained by actually calculating the sum of the above respective data and
Whether or not the total value written in the thumb area at the time of the previous writing is the same (that is, during the period from the time of the previous writing (at the time of total calculation) to the time of the current writing (at the time of total calculation))
The microcomputer checks whether the EPROM data (data of a certain bit) has changed.

【0009】次に上記ステップ1の判定で異常がなけれ
ば(すなわち上記両合計値が一致していれば)、ステッ
プ2に進み、該ダイアグ用のマイコンから該EEPRO
M側(該EEPROMに内蔵されるマイコン)に、今回
の書込みがなされるアドレス(例えば“1,0,1,
1”)が送信され(すなわち該アドレスへの書込み要求
がなされ)、該EEPROM側から該ダイアグ用のマイ
コンにアクノレッジ信号が返っているか否か(すなわち
該アドレスへの書込み要求が該EEPROM側で受け入
れられたか否か)が該ダイアグ用マイコンでチェックさ
れる。
Next, if there is no abnormality in the determination in step 1 (that is, if the two total values match), the process proceeds to step 2 and the EEPRO is sent from the diagnostic microcomputer.
On the M side (microcomputer built in the EEPROM), the address (for example, "1, 0, 1,
1 ") is transmitted (that is, a write request to the address is made), and whether or not an acknowledge signal is returned from the EEPROM side to the diagnostic microcomputer (that is, the write request to the address is accepted by the EEPROM side). (Whether or not it has been performed) is checked by the diagnostic microcomputer.

【0010】つづいて上記ステップ2の判定に異常がな
ければ(すなわち上記アクノレッジ信号が返ってきたと
きは)、ステップ3に進み、上記と同様に該ダイアグ用
のマイコンから該EEPROM側(該EEPROMに内
蔵されるマイコン)に、今回の書込みデータが送信され
(すなわち該データの書込み要求がなされ)、該EEP
ROM側から該ダイアグ用のマイコンにアクノレッジ信
号が返ってくるか否か(すなわち該データの書込み要求
が該EEPROM側で受け入れられたか否か)が該ダイ
アグ用マイコンでチェックされる。ここで該データの書
込み時には、上記アドレス送信後で該書込みデータの送
信前に(実際にはこれらはシリアルデータとして送信さ
れる)、例えば1ビットのライトビット(書込み要求信
号に相当する例えばロウレベルのビット)が付加され
る。
If there is no abnormality in the determination in step 2 (that is, when the acknowledge signal is returned), the process proceeds to step 3 and, similarly to the above, the microcomputer for the diagnostic device operates on the EEPROM side (in the EEPROM). The write data of this time is transmitted (that is, a write request of the data is made) to the built-in microcomputer, and the EEP
The diagnostic microcomputer checks whether or not an acknowledge signal is returned from the ROM side to the diagnostic microcomputer (that is, whether the data write request is accepted by the EEPROM side). Here, at the time of writing the data, after the address is transmitted and before the write data is transmitted (these are actually transmitted as serial data), for example, a 1-bit write bit (for example, a low level corresponding to a write request signal) Bit) is added.

【0011】更に上記ステップ3の判定に異常がなけれ
ば(すなわち上記アクノレッジ信号が返ってきたとき
は)、ステップ4に進み、実際にデータを書込む前に、
該データの書込みによって該EEPROMのデータ領域
内のデータの合計値がどのように変化するかが該ダイア
グ用のマイコン内で予め計算され、該計算値と、実際に
今回のデータ書込みがなされた後での該データ領域内に
書込まれているデータの合計値とが一致しているか否か
(すなわち実際に今回のデータ書込みが該計算値通り正
しく行われたか否か)が該ダイアグ用マイコンでチェッ
クされる。そして該ステップ4の判定にも異常がなされ
ば(すなわち該計算値と該書込み後での合計値とが一致
していれば)、該EEPROMは正常であると判定さ
れ、一方上記ステップ1乃至4の何れかで異常判定がな
された場合には、該EEPROMに異常があると判定さ
れる。
If there is no abnormality in the determination in step 3 (that is, when the acknowledge signal is returned), the process proceeds to step 4, and before actually writing the data,
How the total value of the data in the data area of the EEPROM changes due to the writing of the data is calculated in advance in the microcomputer for the diagnosis, and after the calculated value and the current data writing are actually performed. Whether or not the total value of the data written in the data area in (3) matches (that is, whether or not the data writing this time is correctly performed according to the calculated value) is performed by the diagnostic microcomputer. Checked. If the judgment in step 4 is also abnormal (that is, if the calculated value and the total value after the writing match), the EEPROM is judged to be normal, while the steps 1 to 4 are executed. If an abnormality is determined in any of the above, it is determined that the EEPROM has an abnormality.

【0012】一方、該図1(B)に示される処理手順に
おいては、そのステップ1で該ダイアグ用のマイコンか
ら該EEPROM側(該EEPROMに内蔵されるマイ
コン)に、データの読出しを行いたいアドレスが送信さ
れ(すなわち該アドレスからの読出し要求がなされ)、
該EEPROM側から該ダイアグ用のマイコンにアクノ
レッジ信号が返ってくるか否か(すなわち該アドレスか
らの読出し要求が該EEPROM側で受け入れられたか
否か)が該ダイアグ用マイコンでチェックされる。ここ
で該データの読出し時には、上記アドレス送信後(シリ
アルデータとして送信される)に、例えば1ビットのリ
ードビット(読出し要求信号に相当する例えばハイレベ
ルのビット)が付加される。そして該ステップ1の判定
に異常がなければ(すなわち上記アクノレッジ信号が返
ってきたときは)、該EEPROMは正常であると判定
され、一方、該ステップ1で異常判定がなされた場合に
は、該EEPROMに異常があると判定される。
On the other hand, in the processing procedure shown in FIG. 1B, in step 1, the address from which the data is read from the microcomputer for the diagnosis to the EEPROM side (the microcomputer incorporated in the EEPROM). Is sent (ie a read request is made from that address),
The diagnostic microcomputer checks whether or not an acknowledge signal is returned from the EEPROM side to the diagnostic microcomputer (that is, whether a read request from the address is accepted by the EEPROM side). At the time of reading the data, a 1-bit read bit (for example, a high-level bit corresponding to the read request signal) is added after the address is transmitted (transmitted as serial data). If the determination in step 1 is normal (that is, when the acknowledge signal is returned), the EEPROM is determined to be normal, while if the abnormality determination is performed in step 1, the EEPROM is determined to be normal. It is determined that the EEPROM has an abnormality.

【0013】[0013]

【作用】上記構成によれば該EEPROMにおける異常
の有無を確実に検知することができるので、該EEPR
OM内に誤ったダイアグ情報が保持されるのを防ぐこと
ができる。
According to the above structure, it is possible to reliably detect the presence or absence of an abnormality in the EEPROM.
It is possible to prevent erroneous diagnosis information from being retained in the OM.

【0014】[0014]

【実施例】図4は本発明の1実施例としての故障診断装
置の構成を示すもので、エアバッグECUに接続される
スクイブSQの一端と点火電源電圧(例えばイグニッシ
ョン電圧)供給端子Vとの間には上記安全用センサSS
が接続され、また該スクイブSQの他端とアース端子G
NDとの間には、互に並列に接続された衝突検知センサ
GS0,GS1,GS2…(このうちGS0はエアバッ
グECUに内蔵された加速度センサ、GS1,GS2…
はフロントセンサで、この例では何れも機械接点式の加
速度センサとして示されている)が接続される。なおD
0,D1,D2…は各衝突検知センサにそれぞれ直列接
続されたダイオードで、該衝突検知センサの何れかが例
えばショート故障したとき、その電位変化が他の衝突検
知センサ側に影響しないようにして、どの衝突検知セン
サがショート故障したかがマイコン側で検知できるよう
にするために設けられる。
FIG. 4 shows the structure of a failure diagnosis apparatus according to one embodiment of the present invention, in which one end of a squib SQ connected to an airbag ECU and an ignition power supply voltage (for example, ignition voltage) supply terminal V are connected. Between the above safety sensor SS
, And the other end of the squib SQ and the ground terminal G
Collision detection sensors GS0, GS1, GS2 ... Connected to each other in parallel with ND (of which GS0 is an acceleration sensor built in the airbag ECU, GS1, GS2 ...
Is a front sensor, which is shown as a mechanical contact type acceleration sensor in this example). Note that D
Reference numerals 0, D1, D2 ... Are diodes connected in series to the respective collision detection sensors, so that when any one of the collision detection sensors has a short circuit failure, the potential change thereof does not affect the other collision detection sensors. This is provided so that the microcomputer can detect which collision detection sensor has a short circuit failure.

【0015】そして該スクイブ両側の各電位や上記各衝
突検知センサとダイオードとの各接続点の電位などが信
号処理回路1を介して上記ダイアグ用マイコン2にとり
込まれ、該マイコン2でどこかの故障が検出された場合
には、該ダイアグ結果の情報(故障個所や故障内容など
の情報)が、該マイコン2からEEPROM3に、該E
EPROM3のデータ領域内の所定アドレスにおける所
定ビット目のデータとして書込まれる。
The potentials on both sides of the squib and the potentials at the connection points between the collision detection sensors and the diodes are taken into the diagnostic microcomputer 2 via the signal processing circuit 1, and the microcomputer 2 somewhere fails. Is detected, information of the diagnosis result (information such as a failure location or failure content) is transferred from the microcomputer 2 to the EEPROM 3
It is written as data of a predetermined bit at a predetermined address in the data area of the EPROM 3.

【0016】ここで上述したように該マイコン2から該
EEPROM3の所定アドレスへの書込み要求あるいは
所定アドレスからの読出し要求がなされた場合(シリア
ルデータ通信によりなされる)には、該EEPROM3
に内蔵されるマイコンで該要求が検出され、該要求が該
EEPROM側で受け入れられた場合には、該EEPR
OM3側から上記マイコン2側にアクノレッジ信号AC
Kが返される。なおこの実施例に示される上記マイコン
2はダイアグ専用として設けられており、これにより該
故障診断が常時(車の走行中を含めて)なされる。そし
て本発明においては該EEPROM3内に、該データ領
域とは別に上述したサム領域が設けられ、該EEPRO
Mへのデータ書込みルーチンと該EEPROMからのデ
ータ読出しルーチンとで別々に、該EEPROM3の故
障の有無が該マイコン2で検知されることは上述したと
おりである。
As described above, when the microcomputer 2 issues a write request to the predetermined address of the EEPROM 3 or a read request from the predetermined address (made by serial data communication), the EEPROM 3
When the request is detected by the microcomputer incorporated in the EEPROM and the request is accepted by the EEPROM side, the EEPROM
Acknowledge signal AC from the OM3 side to the microcomputer 2 side
K is returned. The microcomputer 2 shown in this embodiment is provided only for the diagnosis, so that the failure diagnosis can be performed constantly (including when the vehicle is running). In the present invention, the above-mentioned thumb area is provided in the EEPROM 3 in addition to the data area.
As described above, the microcomputer 2 detects the presence / absence of a failure in the EEPROM 3 separately in the data write routine to M and the data read routine from the EEPROM.

【0017】図5は本発明の他の実施例としての故障診
断装置の構成を示すもので、上記衝突検知センサ(本例
では例えば半導体式の加速度センサであるとする)GS
で衝突検知がなされた場合には、マイコン2からの点火
制御信号によりトランジスタTRがオンとされ、これに
よりスクイブSQの点火がなされる。なおSSは上述し
た安全用センサである。このようにこの実施例に示され
る上記マイコン2は上記点火制御を行うとともに、例え
ばスクイブ両側の各電位などが該マイコン2にとり込ま
れて上記故障検出をも行い(すなわちダイアグ用として
の機能も兼ね)、該故障が検出された場合には、該ダイ
アグ結果の情報が該マイコン2からEEPROM3に上
述したようにして書込まれる。
FIG. 5 shows the configuration of a failure diagnosis apparatus as another embodiment of the present invention. The collision detection sensor (in this example, a semiconductor type acceleration sensor) GS is used.
When the collision is detected in step S1, the transistor TR is turned on by the ignition control signal from the microcomputer 2 and the squib SQ is ignited. SS is the above-mentioned safety sensor. As described above, the microcomputer 2 shown in this embodiment performs the ignition control and also detects the failure by taking in the potentials on both sides of the squib to the microcomputer 2 (that is, it also functions as a diagnostic). ), When the failure is detected, the information of the diagnosis result is written from the microcomputer 2 to the EEPROM 3 as described above.

【0018】すなわちこの実施例に示されるマイコン2
は点火制御と故障診断とを兼用しており、車の走行中は
点火制御を重点的に行い、該故障診断は常時例えば所定
時間間隔毎に行うか又は、エンジン始動時(例えばエン
ジン始動後6秒間)あるいは車の停止時(例えば車速ゼ
ロの時)のみ行うようにすることもできる。そして本実
施例においても該EEPROM3の故障の有無が、該マ
イコン2で上述したようにして検知される。
That is, the microcomputer 2 shown in this embodiment
Is used for both ignition control and failure diagnosis, and the ignition control is focused on while the vehicle is running, and the failure diagnosis is always performed, for example, at predetermined time intervals, or when the engine is started (for example, 6 after engine start). It is also possible to perform it only for a second) or when the vehicle is stopped (for example, when the vehicle speed is zero). Also in this embodiment, the presence or absence of a failure in the EEPROM 3 is detected by the microcomputer 2 as described above.

【0019】図2は本発明の1実施例としての故障診断
装置におけるダイアグ用マイコンでなされるEEPRO
Mへのデータ書込み手順を示すもので、先ずステップ1
でEEPROMのデータ領域内における各アドレスから
読出されたデータの合計値SUM1が該ダイアグ用マイ
コンで計算され、次いでステップ2で上記EEPROM
の上記サム領域に書込まれている合計値SUM0(上記
マイコンで読出される)と上記合計計算値SUM1とが
一致するか否かが判別される。すなわち上記ステップ1
および2が上記図1(A)におけるステップ1(サムチ
ェック)に対応するもので、これにより前回のデータ書
込み時(合計計算時)から今回のデータ書込み(合計計
算時)までの間に、EEPROMのデータ内容(あるビ
ットのデータ内容)が変化していないか否かが、今回の
データ書込み前にチェックされる。
FIG. 2 is an EEPRO made by a diagnostic microcomputer in a failure diagnosis apparatus as an embodiment of the present invention.
It shows the procedure for writing data to M. First, step 1
Then, the total value SUM1 of the data read from each address in the EEPROM data area is calculated by the diagnostic microcomputer, and then in step 2, the EEPROM is read.
It is determined whether or not the total value SUM0 (read by the microcomputer) written in the thumb area and the total calculated value SUM1 match. That is, step 1 above
1 and 2 correspond to step 1 (sum check) in FIG. 1 (A) described above, and as a result, during the period from the previous data writing (total calculation) to the current data writing (total calculation), the EEPROM Before the data writing this time, it is checked whether or not the data content (data content of a certain bit) has changed.

【0020】そして上記SUM0とSUM1の値が一致
すれば、ステップ3に進み今回のデータ書込みによって
該EEPROMのデータ領域内のデータの合計値がどの
ように変化するかが該ダイアグ用のマイコン内で予め計
算され、該マイコン内部で記憶される。なおここで該計
算された合計値をSUM2とする。つづくステップ4の
データ書込みは上記図1(A)におけるアドレス送信と
データ送信に対応しており、これら各送信に対し上記ア
クノレッジ信号が該EEPROM側から該ダイアグ用の
マイコンに返ってきた場合には、ステップ5の判定がイ
エスとなり(すなわちこれにより今回のデータ書込みが
終了し、それに応じてEEPROM内の上記データの合
計値が変化する)、つづくステップ6に進む。
If the values of SUM0 and SUM1 match, the process proceeds to step 3 to determine how the total value of the data in the data area of the EEPROM changes due to the current data writing in the microcomputer for the diagnosis. It is calculated in advance and stored in the microcomputer. Here, the calculated total value is referred to as SUM2. The data writing in the next step 4 corresponds to the address transmission and the data transmission in FIG. 1 (A), and when the acknowledge signal is returned from the EEPROM side to the microcomputer for the diagnosis in response to each of these transmissions. , The result of the determination in step 5 is YES (that is, the data writing this time is completed, and the total value of the data in the EEPROM changes accordingly), and the process proceeds to step 6.

【0021】そしてステップ6で上記今回のデータ書込
みがなされた後での該EEPROMのデータ領域内に書
込まれている各データ(上記ダイアグ用のマイコンで読
出される)の合計値SUM0′が該ダイアグ用のマイコ
ン内で計算され、ステップ7で上記書込み前に予め計算
された合計値SUM2と該書込み後に計算された合計値
SUM0′とが一致するか否かが判定される。すなわち
上記ステップ3とステップ6および7が上記図1(A)
におけるステップ4に対応するもので、これにより実際
に今回のデータ書込みが正しく行われたか否かがチェッ
クされる。
Then, in step 6, the total value SUM0 'of each data (read by the diagnostic microcomputer) written in the data area of the EEPROM after the current data writing is performed is It is calculated in the microcomputer for diagnosis, and in step 7, it is determined whether or not the total value SUM2 calculated in advance before the writing and the total value SUM0 'calculated after the writing match. That is, step 3 and steps 6 and 7 are the same as those in FIG.
This corresponds to the step 4 in step (4), and by this, it is checked whether or not the data writing this time is actually performed correctly.

【0022】そして上記SUM2とSUM0′の値が一
致すれば、ステップ8に進み、上記SUM2の値が、今
回のデータ書込みがなされた後でのデータ合計値SUM
0として上記EEPROMのサム領域に書込まれ、これ
により今回のデータ書込みが終了する。そして上記ステ
ップ2,5又は7の判定がノウのとき(すなわちステッ
プ2でSUM0とSUM1とが一致しないとき、ステッ
プ5で上記アクノレッジ信号が返ってこないとき、又は
ステップ7でSUM2とSUM0′とが一致しないと
き)には、ステップ9で該EEPROMに異常がある旨
の故障フラグが該ダイアグ用のマイコン内に立てられ
る。
If the values of SUM2 and SUM0 'match, the process proceeds to step 8 and the value of SUM2 is the total data value SUM after the current data writing.
It is written as 0 in the thumb area of the EEPROM, and this ends the current data writing. When the determination at step 2, 5 or 7 is NO (that is, when SUM0 and SUM1 do not match in step 2, when the acknowledge signal is not returned in step 5, or when SUM2 and SUM0 'are determined in step 7) If they do not match), in step 9, a failure flag indicating that the EEPROM has an abnormality is set in the diagnostic microcomputer.

【0023】図3は本発明の1実施例としての故障診断
装置におけるダイアグ用マイコンでなされるEEPRO
Mからのデータ読出し手順を示すもので、先ずステップ
1で、上記ダイアグ用のマイコン内のカウンタに変数C
として例えば“1,0,0”(2進数の4)が設定され
る。つづくステップ2のアドレス送信は上記図1(B)
におけるアドレス送信に対応しており、この送信に対し
上記アクノレッジ信号が該EEPROM側から該ダイア
グ用のマイコンに返ってきた場合には、ステップ3の判
定がイエスとなり、この場合にはステップ4に進んで該
EEPROMの当該アドレスからのデータ読出しがなさ
れる。
FIG. 3 is an EEPRO made by a diagnostic microcomputer in the failure diagnosis apparatus as one embodiment of the present invention.
The procedure for reading data from M is described below. First, in step 1, a variable C is stored in a counter in the diagnostic microcomputer.
For example, "1, 0, 0" (binary 4) is set. The address transmission in step 2 that follows is shown in Fig. 1 (B) above.
If the acknowledge signal is returned from the EEPROM side to the microcomputer for the diagnosis in response to this transmission, the determination in step 3 is YES, and in this case, the process proceeds to step 4. Then, the data is read from the address of the EEPROM.

【0024】一方、該ステップ3の判定がノウのとき
(すなわちステップ3で上記アクノレッジ信号が返って
こないとき)は、ステップ5に進んで該変数Cの値が1
だけデクリメントされる。このようにして該ステップ3
の判定が、連続5回の演算タイミングですべてノウとな
れば、ステップ6で該ダイアグ用マイコン内部でキャリ
ーフラグが立てられ、そのとき(すなわちステップ6の
判定がイエスとなったとき)、ステップ7に進んで該E
EPROMに異常がある旨の故障フラグが該ダイアグ用
のマイコン内に立てられる。
On the other hand, when the determination in step 3 is negative (that is, when the acknowledge signal is not returned in step 3), the process proceeds to step 5 and the value of the variable C is 1
Is only decremented. In this way, step 3
If all the judgments of No. become "no" at the calculation timings of five consecutive times, the carry flag is set inside the diagnostic microcomputer in Step 6, and at that time (that is, when the judgment in Step 6 is YES), Step 7 Proceed to the E
A failure flag indicating that the EPROM has an abnormality is set in the microcomputer for the diagnosis.

【0025】[0025]

【発明の効果】本発明によれば、EEPROMの異常を
確実に検知することができるので、該EEPROMに誤
ったダイアグ情報が保持されるのを防止することができ
る。したがって該EEPROMに保持されているダイア
グ情報をもとにしてエアバッグが正しく動作したかどう
かの判定を該動作後に正しく行うことが可能となるとと
もに、その故障個所をも正確に特定することができる。
According to the present invention, since the abnormality of the EEPROM can be surely detected, it is possible to prevent the erroneous diagnosis information from being held in the EEPROM. Therefore, it is possible to correctly determine whether or not the airbag has properly operated based on the diagnostic information stored in the EEPROM after the operation, and also to accurately specify the failure point. ..

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

【図1】本発明によるEEPROM書込みおよび読出し
の基本的な処理手順を例示する図である。
FIG. 1 is a diagram illustrating a basic processing procedure of EEPROM writing and reading according to the present invention.

【図2】本発明の1実施例としての故障診断装置におけ
るダイアグ用のマイコンでなされるEEPROMへの書
込み手順を示す図である。
FIG. 2 is a diagram showing a procedure for writing to an EEPROM, which is performed by a diagnostic microcomputer in the failure diagnostic device as one embodiment of the present invention.

【図3】本発明の1実施例としての故障診断装置におけ
るダイアグ用のマイコンでなされるEEPROMからの
読出し手順を示す図である。
FIG. 3 is a diagram showing a procedure for reading from an EEPROM, which is performed by a diagnostic microcomputer in the failure diagnosis apparatus as one embodiment of the present invention.

【図4】本発明の1実施例としての故障診断装置の構成
を示す図である。
FIG. 4 is a diagram showing a configuration of a failure diagnosis device as one embodiment of the present invention.

【図5】本発明の他の実施例としての故障診断装置の構
成を示す図である。
FIG. 5 is a diagram showing a configuration of a failure diagnosis device as another embodiment of the present invention.

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

1…信号処理回路 2…マイコン 3…EEPROM SS…安全用センサ SQ…スクイブ GS,GS0〜GS2…衝突検知センサ TR…点火制御トランジスタ DESCRIPTION OF SYMBOLS 1 ... Signal processing circuit 2 ... Microcomputer 3 ... EEPROM SS ... Safety sensor SQ ... Squib GS, GS0-GS2 ... Collision detection sensor TR ... Ignition control transistor

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 故障診断用の演算処理回路と該診断によ
って検出されたデータを保持するEEPROMとをそな
え、かつ該演算処理回路内に該EEPROMの異常を検
出する手段をそなえることを特徴とする、エアバッグ用
故障診断装置。
1. An arithmetic processing circuit for fault diagnosis and an EEPROM holding data detected by the diagnosis, and a means for detecting abnormality of the EEPROM is provided in the arithmetic processing circuit. , Airbag failure diagnosis device.
【請求項2】 車体停止時又はエンジン始動時に該故障
診断がなされることを特徴とする、請求項1に記載のエ
アバッグ用故障診断装置。
2. The failure diagnosis device for an airbag according to claim 1, wherein the failure diagnosis is performed when the vehicle body is stopped or the engine is started.
【請求項3】 該演算処理回路から該EEPROMへの
書込み又は読出し要求が該EEPROM側で受け入れら
れたか否かを判定することにより、該EEPROMの異
常が検出されることを特徴とする、請求項1に記載のエ
アバッグ用故障診断装置。
3. The abnormality of the EEPROM is detected by determining whether or not a write or read request to the EEPROM from the arithmetic processing circuit has been accepted by the EEPROM. The failure diagnosis device for an airbag according to 1.
【請求項4】 該EEPROMにはそのデータ領域に該
データが書込まれる毎にそのときのデータの合計値が保
持されるサム領域が設けられ、該サム領域内に保持され
ている合計値と、そのとき該EEPROMのデータ領域
内に保持されているデータの合計値とが一致するか否か
を判定することにより、該EEPROMの異常が検出さ
れることを特徴とする、請求項1に記載のエアバッグ用
故障診断装置。
4. The EEPROM is provided with a thumb area for holding a total value of the data at each time the data is written in the data area, and a sum value held in the thumb area. The abnormality of the EEPROM is detected by determining whether or not the total value of the data held in the data area of the EEPROM at that time matches. Airbag failure diagnostic device.
【請求項5】 該EEPROMのデータ領域に新たなデ
ータが書込まれる際、該書込みによって該データの合計
値がどのように変化するかが予め該演算処理回路におい
て演算され、該演算された合計値と、該データの書込み
後において該EEPROMのデータ領域内に保持されて
いるデータの合計値とが一致するか否かを判定すること
により、該EEPROMの異常が検出されることを特徴
とする、請求項1に記載のエアバッグ用故障診断装置。
5. When new data is written in the data area of the EEPROM, the arithmetic processing circuit calculates in advance how the total value of the data changes by the writing, and the calculated total is calculated. The abnormality of the EEPROM is detected by determining whether or not the value and the total value of the data held in the data area of the EEPROM after writing the data match. The failure diagnosis device for an airbag according to claim 1.
JP6488692A 1992-03-23 1992-03-23 Malfunction diagnostic device for air bag Withdrawn JPH05264583A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6488692A JPH05264583A (en) 1992-03-23 1992-03-23 Malfunction diagnostic device for air bag

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6488692A JPH05264583A (en) 1992-03-23 1992-03-23 Malfunction diagnostic device for air bag

Publications (1)

Publication Number Publication Date
JPH05264583A true JPH05264583A (en) 1993-10-12

Family

ID=13271032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6488692A Withdrawn JPH05264583A (en) 1992-03-23 1992-03-23 Malfunction diagnostic device for air bag

Country Status (1)

Country Link
JP (1) JPH05264583A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995013940A1 (en) * 1993-11-15 1995-05-26 Sensor Technology Co., Ltd. Operation device for crew protection apparatus
US8600623B2 (en) 2010-11-12 2013-12-03 Denso Corporation Control apparatus
US20140039764A1 (en) * 2012-08-02 2014-02-06 Denso Corporation Controller pre-shipment inspection method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO1995013940A1 (en) * 1993-11-15 1995-05-26 Sensor Technology Co., Ltd. Operation device for crew protection apparatus
US8600623B2 (en) 2010-11-12 2013-12-03 Denso Corporation Control apparatus
US20140039764A1 (en) * 2012-08-02 2014-02-06 Denso Corporation Controller pre-shipment inspection method

Similar Documents

Publication Publication Date Title
US7137645B2 (en) Control device for a restraining system in a motor vehicle
JP2861705B2 (en) Airbag device
JPH0295952A (en) Operating condition recorder of crew protection device
US5621326A (en) Fault diagnosis device for passenger protection apparatus
JP3988609B2 (en) Oxygen sensor abnormality detection device
JP2001515814A (en) Method and apparatus for controlling data transmission between two modules provided in a motor vehicle
JPH0735142B2 (en) Failure determination device for vehicle occupant protection system
JP2999016B2 (en) Vehicle safety device control system
JPH05264583A (en) Malfunction diagnostic device for air bag
US20070294007A1 (en) Active Front Steer Angle Sensor Failure Detection System and Method
US20050049768A1 (en) Vehicle electronic controller
JP3830837B2 (en) In-vehicle electronic control circuit with sensor self-diagnosis signal proper processing function
JP4106388B2 (en) Device for detecting an installation error with a satellite sensor facing in a vehicle
JP3176415B2 (en) Airbag ignition monitor circuit
JPH05310097A (en) Troubleshooting device for air bag
JP2551730Y2 (en) Airbag control device
JP3180457B2 (en) Operation setting device of microcomputer of occupant protection device
JP3116337B2 (en) Electronic odometer
JPH1035407A (en) Side air bag controller
JPH11232181A (en) Abnormally detector for battery backup ram
JP2508967Y2 (en) Data input circuit
JPS6237425B2 (en)
JPS623312A (en) Electronic controller for vehicle
JP2524925Y2 (en) Resistance value detection circuit
JPH0416779A (en) Method and apparatus for diagnosing electronic control apparatus for vehicle

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990608