JPH11338726A - Microcomputer device - Google Patents

Microcomputer device

Info

Publication number
JPH11338726A
JPH11338726A JP10141968A JP14196898A JPH11338726A JP H11338726 A JPH11338726 A JP H11338726A JP 10141968 A JP10141968 A JP 10141968A JP 14196898 A JP14196898 A JP 14196898A JP H11338726 A JPH11338726 A JP H11338726A
Authority
JP
Japan
Prior art keywords
input
microcomputer
signal
input terminal
circuit
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
JP10141968A
Other languages
Japanese (ja)
Inventor
Takayuki Kishi
隆行 岸
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 JP10141968A priority Critical patent/JPH11338726A/en
Publication of JPH11338726A publication Critical patent/JPH11338726A/en
Pending legal-status Critical Current

Links

Landscapes

  • Measurement Of Resistance Or Impedance (AREA)
  • Testing Electric Properties And Detecting Electric Faults (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Microcomputers (AREA)
  • Analogue/Digital Conversion (AREA)

Abstract

PROBLEM TO BE SOLVED: To take a self-diagnosis between input terminals by using an internal program by inputting a signal outputted from an external connection circuit for a diagnostic signal from one A/D input terminal and comparing it with a signal inputted to another adjacent A/D input terminal. SOLUTION: A microcomputer 14 supplies the diagnostic signal to the external connection circuit, and inputs the signal outputted from the external connection circuit for it to the input terminal of a 1st A/D converter 9 and also inputs a signal inputted to the input terminal of a 2nd adjacent A/D converter 11. A comparing circuit 13 inputs the outputs from the 1st and 2nd A/D converters 9 and 11 respectively and judges whether both the outputs match each other (including a match within a certain range) or are different. When the same variation quantity is detected by the comparison between those signals, it is judged that the input terminals of both the A/D converters 9 and 10 short-circuit to each other.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、診断機能を有する
マイクロコンピュータ装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer device having a diagnostic function.

【0002】[0002]

【従来の技術】この種のものとして、例えば図2に示す
ようなもの、すなわちエアバッグコントローラのバック
アップコンデンサの静電容量をマイクロコンピュータで
診断するものがある。図において、車載バッテリ1から
の出力電圧は、イグニッションスイッチ2を介してDC
/DCコンバータ3に供給されて、昇圧され、抵抗R1
を介してバックアップコンデンサ4に充電される。そし
て、加速度センサ10によって検出された加速度信号は
マイクロコンピュータ8に内蔵された第2A/Dコンバ
ータ11を介してマイクロコンピュータ8の衝突判断機
能に供給され、その判断機能によって重大な衝突事故が
発生したと判断されると、マイクロコンピュータ8によ
ってスイッチ12がオンされて、バックアップコンデン
サ4に充電された電荷がダイオード5、スイッチ12を
直列に介して図示されないスクイブに放電されて、エア
バッグが展開される。
2. Description of the Related Art As this type, there is, for example, a type as shown in FIG. 2, that is, a type in which the capacitance of a backup capacitor of an airbag controller is diagnosed by a microcomputer. In the figure, an output voltage from an on-vehicle battery 1 is supplied to a DC through an ignition switch 2.
/ DC converter 3 to boost the voltage,
To the backup capacitor 4 via Then, the acceleration signal detected by the acceleration sensor 10 is supplied to the collision judgment function of the microcomputer 8 through the second A / D converter 11 built in the microcomputer 8, and a serious collision accident occurs due to the judgment function. Then, the microcomputer 12 turns on the switch 12, and the electric charge charged in the backup capacitor 4 is discharged to the squib (not shown) via the diode 5 and the switch 12 in series, and the airbag is deployed. .

【0003】一方、マイクロコンピュータ8は、所定の
タイミングで周期的にトランジスタ7をオンして抵抗R
2を介してバックアップコンデンサ4に充電された電荷
を放電せしめ、またトランジスタ7がオフされることに
よって再充電される。この動作は繰り返して行われ、こ
の時のバックアップコンデンサ4の充放電電圧が電圧分
割用の抵抗6を介してマイクロコンピュータ8に内蔵さ
れた第1A/Dコンバータ9に供給され、その時の充放
電電圧波形に基づいて、すなわち、一定時間毎の充放電
によって変化した電圧値に基づいて前記バックアップコ
ンデンサ4の静電容量が異常(例えば、経年変化によっ
て容量が低下した等の現象)か否かをマイクロコンピュ
ータ8が診断機能によって判断して、必要に応じて警報
信号を出力する。
On the other hand, the microcomputer 8 periodically turns on the transistor 7 at a predetermined timing to turn on the resistor R
The charge stored in the backup capacitor 4 is discharged through the second capacitor 2 and the transistor 7 is turned off to be recharged. This operation is repeatedly performed, and the charging / discharging voltage of the backup capacitor 4 at this time is supplied to the first A / D converter 9 built in the microcomputer 8 through the voltage dividing resistor 6, and the charging / discharging voltage at that time is supplied. Based on the waveform, that is, based on the voltage value changed by charging / discharging at regular time intervals, it is determined whether or not the capacitance of the backup capacitor 4 is abnormal (for example, a phenomenon such as a decrease in capacitance due to aging). The computer 8 makes a judgment by the diagnostic function and outputs an alarm signal as necessary.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、上述し
たようなマイクロコンピュータ装置にあっては、マイク
ロコンピュータの入力端子間の短絡診断機能が設けられ
ていないために、製造ラインでの検査が大変であった。
そこで、この発明は、上記のような課題に着目してなさ
れたもので、マイクロコンピュータが内蔵プログラムを
使用して入力端子間の短絡の自己診断を行えるようにす
ること。
However, in the above-described microcomputer device, since a function of diagnosing a short circuit between input terminals of the microcomputer is not provided, inspection on a production line is difficult. Was.
SUMMARY OF THE INVENTION The present invention has been made in view of the above-described problems, and an object of the present invention is to enable a microcomputer to perform a self-diagnosis of a short circuit between input terminals by using a built-in program.

【0005】[0005]

【課題を解決するための手段】このマイクロコンピュー
タ装置に係る発明は、複数のA/D入力端子が隣接され
て配置され、かつその複数のA/D入力端子に外部回路
が接続されたマイクロコンピュータを備えたマイクロコ
ンピュータ装置において、該マイクロコンピュータは、
外部接続回路に対して診断信号を供給し、その診断信号
に対して外部接続回路から出力される信号を前記マイク
ロコンピュータの1つのA/D入力端子から入力すると
共に、そのA/D入力端子に隣接した他のA/D入力端
子に入力される信号を入力し、これら双方のA/D入力
端子からの入力した信号を比較して、同一変化量が検出
されたとき、双方のA/D入力端子同士が互いに短絡し
ていると判断することを特徴とする。
According to the present invention, there is provided a microcomputer in which a plurality of A / D input terminals are arranged adjacent to each other and an external circuit is connected to the plurality of A / D input terminals. In a microcomputer device comprising:
A diagnostic signal is supplied to the external connection circuit, and a signal output from the external connection circuit in response to the diagnostic signal is input from one A / D input terminal of the microcomputer, and is input to the A / D input terminal. A signal input to another adjacent A / D input terminal is input, and signals input from both A / D input terminals are compared. When the same change amount is detected, both A / D input terminals are detected. The input terminals are determined to be short-circuited to each other.

【0006】[0006]

【発明の実施の形態】実施の形態1.次に実施の形態を
図1に基づいて以下に説明する。なお、図1において、
マイクロコンピュータ14に接続される外部回路は、図
2に示すものと同一で、図2におけるマイクロコンピュ
ータ8が替わったものであるので、その異なる部分、す
なわち比較回路13についてのみ以下に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Embodiment 1 Next, an embodiment will be described below with reference to FIG. In FIG. 1,
The external circuit connected to the microcomputer 14 is the same as that shown in FIG. 2 and the microcomputer 8 in FIG. 2 is replaced. Therefore, only the different part, that is, the comparison circuit 13 will be described below.

【0007】この比較回路13は、第1及び第2A/D
コンバータ9,11のそれぞれからの出力を入力し、双
方の出力が一致(所定の範囲内での一致も含む)してい
るのか、または異なっているのかを判断するものであ
る。また、第1及び第2A/Dコンバータ9,11のそ
れぞれの入力端子は、互いに隣接して配置されているも
のとする。
The comparison circuit 13 comprises a first and a second A / D
The output from each of the converters 9 and 11 is input, and it is determined whether both outputs match (including matching within a predetermined range) or are different. It is assumed that the input terminals of the first and second A / D converters 9 and 11 are arranged adjacent to each other.

【0008】これによって、マイクロコンピュータ14
からトランジスタ7に対してバックアップコンデンサ4
の静電容量診断を行うためにオン、オフ信号を出力する
と、第1及び第2A/Dコンバータ9,11の入力端子
が互いに短絡していない場合には、バックアップコンデ
ンサ4の充電電圧は電圧分割用の抵抗6を介して第1A
/Dコンバータ9にのみ供給され、第2A/Dコンバー
タ11には供給されないので、比較回路13は双方から
の信号は一致しないと判断し、警報信号は作成しない。
Accordingly, the microcomputer 14
From the backup capacitor 4 to the transistor 7
When the on and off signals are output for performing the capacitance diagnosis of the above, when the input terminals of the first and second A / D converters 9 and 11 are not short-circuited to each other, the charging voltage of the backup capacitor 4 is divided by a voltage. 1A through the resistor 6
Since the signal is supplied only to the / D converter 9 and not supplied to the second A / D converter 11, the comparison circuit 13 determines that the signals from both sides do not match, and does not create an alarm signal.

【0009】それに対して、第1及び第2A/Dコンバ
ータ9,11の入力端子が互いに短絡している場合に
は、バックアップコンデンサ4の充電電圧は電圧分割用
の抵抗6を介して第1及び第2A/Dコンバータ9,1
1の双方に供給されるので、比較回路13は双方からの
信号は一致したと判断し、警報信号を作成する。
On the other hand, when the input terminals of the first and second A / D converters 9 and 11 are short-circuited to each other, the charging voltage of the backup capacitor 4 is applied to the first and second A / D converters 9 and 11 via the voltage dividing resistor 6. Second A / D converter 9, 1
1, the comparison circuit 13 determines that the signals from both of them match, and creates an alarm signal.

【0010】なお、第1及び第2A/Dコンバータ9,
11のそれぞれからの出力に基づいて従来通りの機能が
作動していることはいうまでもないことである。
Note that the first and second A / D converters 9,
It goes without saying that the conventional function is operated based on the output from each of the eleventh and eleventh.

【0011】[0011]

【発明の効果】この発明によれば、マイクロコンピュー
タのA/Dコンバータの入力端子間の短絡を自己診断で
き、製造ラインでの検査が容易になるという効果が発揮
される。
According to the present invention, the short circuit between the input terminals of the A / D converter of the microcomputer can be self-diagnosed, and the effect of facilitating the inspection on the production line is exhibited.

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

【図1】本発明による実施の形態1を示す回路説明図で
ある。
FIG. 1 is a circuit diagram illustrating a first embodiment according to the present invention.

【図2】従来のエアバッグコントローラの回路説明図で
ある。
FIG. 2 is a circuit diagram of a conventional airbag controller.

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

8,14 マイクロコンピュータ 9 第1A/Dコンバータ 11 第2A/Dコンバータ 13 比較回路 8, 14 microcomputer 9 first A / D converter 11 second A / D converter 13 comparison circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 複数のA/D入力端子が隣接されて配置
され、かつその複数のA/D入力端子に外部回路が接続
されたマイクロコンピュータを備えたマイクロコンピュ
ータ装置において、該マイクロコンピュータは、外部接
続回路に対して診断信号を供給し、その診断信号に対し
て外部接続回路から出力される信号を前記マイクロコン
ピュータの1つのA/D入力端子から入力すると共に、
そのA/D入力端子に隣接した他のA/D入力端子に入
力される信号を入力し、これらの双方のA/D入力端子
から入力した信号を比較して、同一変化量が検出された
とき、双方のA/D入力端子同士が互いに短絡している
と判断することを特徴とするマイクロコンピュータ装
置。
1. A microcomputer device comprising a microcomputer in which a plurality of A / D input terminals are arranged adjacent to each other and an external circuit is connected to the plurality of A / D input terminals. A diagnostic signal is supplied to an external connection circuit, and a signal output from the external connection circuit in response to the diagnostic signal is input from one A / D input terminal of the microcomputer.
A signal input to another A / D input terminal adjacent to the A / D input terminal is input, and signals input from both of these A / D input terminals are compared, and the same change amount is detected. A microcomputer device that determines that both A / D input terminals are short-circuited to each other.
JP10141968A 1998-05-22 1998-05-22 Microcomputer device Pending JPH11338726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10141968A JPH11338726A (en) 1998-05-22 1998-05-22 Microcomputer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10141968A JPH11338726A (en) 1998-05-22 1998-05-22 Microcomputer device

Publications (1)

Publication Number Publication Date
JPH11338726A true JPH11338726A (en) 1999-12-10

Family

ID=15304324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10141968A Pending JPH11338726A (en) 1998-05-22 1998-05-22 Microcomputer device

Country Status (1)

Country Link
JP (1) JPH11338726A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015179025A (en) * 2014-03-19 2015-10-08 株式会社デンソー Input circuit with self-diagnosis function
JP2017146643A (en) * 2016-02-15 2017-08-24 アルパイン株式会社 Key input interface device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015179025A (en) * 2014-03-19 2015-10-08 株式会社デンソー Input circuit with self-diagnosis function
JP2017146643A (en) * 2016-02-15 2017-08-24 アルパイン株式会社 Key input interface device

Similar Documents

Publication Publication Date Title
JP5321392B2 (en) Voltage monitoring device
US8441263B2 (en) Voltage monitor with self diagnostic function
US9142068B2 (en) Airbag control unit
JP2004243955A (en) Air bag driving device
CA2118196C (en) An electronic control apparatus for an air-bag system
JP3711876B2 (en) Power supply system for vehicles
JPH11338726A (en) Microcomputer device
JPH06311733A (en) Malfunction detector in booster circuit
JP3481315B2 (en) Diagnosis system for occupant protection equipment
US7236867B2 (en) Short-circuit detecting circuit device
JP4372311B2 (en) Electric double layer capacitor deterioration detector
JPH08188113A (en) Occupant crash protection for vehicle
JPH06207959A (en) Abnormality diagnosis system for capacitor
JP2003104165A (en) Capacity measuring method for capacitor and occupant crash protection device using the same
JP4094140B2 (en) Capacitor capacity diagnosis circuit
JPH10282169A (en) Circuit for diagnosing capacitance of capacitor
JP2000009781A (en) Failure detection device for occupant protecting device
JP3929591B2 (en) Crew protection device
JP3935606B2 (en) Crew protection device
JP2002055114A (en) Occupant protector
JPH0490943A (en) Trouble diagnosing circuit
JPH1199904A (en) Occupant protection device
JPH08310337A (en) Vehicle protection device
JPH07159470A (en) Crew potective device for vehicle
JPH1076910A (en) Self-diagnostic device for system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20041221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070508