JPH11203172A - Watchdog monitoring circuit - Google Patents

Watchdog monitoring circuit

Info

Publication number
JPH11203172A
JPH11203172A JP10008035A JP803598A JPH11203172A JP H11203172 A JPH11203172 A JP H11203172A JP 10008035 A JP10008035 A JP 10008035A JP 803598 A JP803598 A JP 803598A JP H11203172 A JPH11203172 A JP H11203172A
Authority
JP
Japan
Prior art keywords
circuit
microcomputer
duty factor
waveform
watchdog
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
JP10008035A
Other languages
Japanese (ja)
Inventor
Junichi Tanabe
順一 田辺
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
Calsonic 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 Calsonic Corp filed Critical Calsonic Corp
Priority to JP10008035A priority Critical patent/JPH11203172A/en
Publication of JPH11203172A publication Critical patent/JPH11203172A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To surely reset a microcomputer and to prevent malfunctions by simultaneously providing the frequency judgement circuit of a watchdog waveform and a duty factor judgement circuit. SOLUTION: The duty factor judgement circuit 13 is added so as to cope with the abnormality of a duty factor not detected by a conventional frequency judgement circuit 7 among pulse waves outputted from a W/D terminal 2 provided in the microcomputer 1. The duty factor judgement circuit 13 is provided with a low-pass filter 10 in an initial stage, only the pulse cycle change of low frequency components is taken out by the low-pass filter 10 and only a part where a pulse width becomes wide in the case that the duty factor becomes abnormal is extracted. Then, the extracted pulse waves are passed through a voltage follower 11 and sent to a differential amplifier circuit 12 and a voltage value intended beforehand is outputted there. The voltage is sent to a buffer amplifier 6, current-amplified there and then, inputted to an RES terminal 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はマイクロコンピュー
タの動作時に出力されるウオッチドッグ波形を監視する
ウオッチドッグ監視回路における、デューティ比判定回
路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a duty ratio judging circuit in a watchdog monitoring circuit for monitoring a watchdog waveform output during operation of a microcomputer.

【0002】[0002]

【従来の技術】今日の自動車において、エンジンや電装
機構部品の動作制御においては、マイクロコンピュータ
によって複雑かつ様々な制御がなされている。これらの
制御される対象となる部分は、大きく分けて自動車の走
行に関し必要となる動力制御系統と、車室内の環境を乗
員にとって好ましいものとする環境制御系統に大別され
る。
2. Description of the Related Art In today's automobiles, complicated and various controls are performed by a microcomputer in controlling the operation of an engine and electrical components. The parts to be controlled are roughly classified into a power control system required for driving the automobile and an environment control system for making the environment in the vehicle interior favorable for the occupant.

【0003】一般に自動車が使用される環境は、これら
の電装部品にとって大変に過酷な状況であり、特に電気
的なノイズを発生するエンジンの点火系統からのスパイ
ク性ノイズは、そのノイズを構成している周波数成分の
点からも大変に有害である。特にその周波数成分のう
ち、マイクロコンピュータの動作する領域の周波数帯に
掛かっている分については、ノイズの飛び込みに対する
厳重な策が施されている。
[0003] In general, the environment in which an automobile is used is very severe for these electrical components. In particular, spiking noise from an ignition system of an engine that generates electric noise constitutes the noise. It is very harmful in terms of the frequency components that are present. In particular, strict measures against noise intrusion are applied to the frequency components in the frequency band in the region where the microcomputer operates.

【0004】また、特に自動車の走行に関係する動力制
御系に関しては、さらに厳しいノイズ対策が求められて
おり、ブレーキシステムやトラクションコントロールシ
ステム、またエンジンの回転制御システムおよびオート
マチック車の変速機制御システムなどにおいては、乗員
の安全に直接関わる部分であるため、電気的なノイズ対
策に加えて機械的な誤動作防止システムが対策として講
じられてきた。
[0004] In particular, a power control system related to the running of an automobile is required to take stricter measures against noise, such as a brake system, a traction control system, an engine rotation control system, and a transmission control system of an automatic car. , Since it is a part directly related to occupant safety, a mechanical malfunction prevention system has been taken as a countermeasure in addition to electrical noise countermeasures.

【0005】また、乗員の人為的な操作ミスに起因した
意図しない動作に対しても、たとえばオートマチック変
速機を持つ自動車においてはブレーキペダルを踏んでい
なければ、変速レバーの操作を不可能にするなどの安全
対策が実施されており、事故の減少という効果をもたら
してきた。
[0005] In addition, even for an unintended operation caused by an occupant's manual operation error, for example, in an automobile having an automatic transmission, unless the brake pedal is depressed, the operation of the shift lever becomes impossible. And other safety measures have been implemented, which has had the effect of reducing accidents.

【0006】次に、車室内の乗員に対する快適装備に関
するノイズ対策としては、一般的なノイズフィルタの採
用によるカーオーディオへの雑音混入の防止や、自動車
用空気調和装置の温度制御装置へのノイズフィルタ装備
による誤動作の防止や、温度制御装置に用いられている
マイクロコンピュータへの電気的なシールド、およびウ
オッチドッグ監視回路による誤動作の監視が施されてき
た。
Next, as measures against noise relating to comfortable equipment for occupants in the vehicle cabin, a general noise filter is used to prevent noise from being mixed into car audio, and a noise filter is applied to a temperature control device of an air conditioner for an automobile. Prevention of malfunction due to equipment, electrical shielding to a microcomputer used in a temperature control device, and monitoring of malfunction by a watchdog monitoring circuit have been performed.

【0007】図2に示すのは、従来よりマイクロコンピ
ュータ1のW/D波形20の監視に用いられている回路
の一例を概略的に示したものである。
FIG. 2 schematically shows an example of a circuit conventionally used for monitoring the W / D waveform 20 of the microcomputer 1.

【0008】マイクロコンピュ−タ1のプログラム実行
時において、W/D端子2より常にW/D波形20が出
力されており、このW/D波形20を監視することでマ
イクロコンピュ−タ1の動作の正否判定を行っている。
このW/D波形20は周波数判定回路7に入力され、こ
の周波数判定回路7はW/D波形20が所定の周期を示
すパルス波である場合はリセット信号21をマイクロコ
ンピュ−タ1のRES端子3に出力することはない。
When a program of the microcomputer 1 is executed, a W / D waveform 20 is always output from the W / D terminal 2, and the operation of the microcomputer 1 is monitored by monitoring the W / D waveform 20. Is determined.
The W / D waveform 20 is input to the frequency determination circuit 7, and the frequency determination circuit 7 outputs a reset signal 21 to the RES terminal of the microcomputer 1 when the W / D waveform 20 is a pulse wave indicating a predetermined cycle. 3 is not output.

【0009】しかし、W/D波形20が所定の周期のパ
ルス波でなくなった場合には、シュミットトリガ回路5
がリセットに十分なパルス波を励起し、RES端子3に
リセット信号21を出力する。
However, when the W / D waveform 20 is no longer a pulse wave having a predetermined period, the Schmitt trigger circuit 5
Excites a pulse wave sufficient for resetting, and outputs a reset signal 21 to the RES terminal 3.

【0010】この周波数判定回路7は初段にハイパスフ
ィルタ回路4が設けられており、W/D波形のパルス周
期が高くなるか、あるいはパルス波とパルス波の間に新
たな意図しないパルス波が出現した場合には、この成分
のみを次段へとパルス波の形に整流して出力する。
The frequency judging circuit 7 is provided with a high-pass filter circuit 4 at the first stage, and the pulse cycle of the W / D waveform becomes longer, or a new unintended pulse wave appears between the pulse waves. In this case, only this component is rectified in the form of a pulse wave to the next stage and output.

【0011】この整流されたパルス波がLoレベルのタ
イミングにおいて、次段に設けられているシュミットト
リガ回路5がリセットに十分なパルス波を励起し、この
パルス波は出力バッファ6により電流増幅されて、RE
S端子3にリセット信号として入力される。
At the timing when the rectified pulse wave is at the Lo level, a Schmitt trigger circuit 5 provided in the next stage excites a pulse wave sufficient for resetting, and this pulse wave is current-amplified by the output buffer 6. , RE
The signal is input to the S terminal 3 as a reset signal.

【0012】[0012]

【発明が解決しようとする課題】このような従来のノイ
ズ対策において、特にマイクロコンピュータの動作を監
視するためのウオッチドッグ監視回路においては、マイ
クロコンピュータのプログラム動作時に出力されるW/
D波形の周波数を監視するのみであった。W/D波形が
出力されている間は正常動作であるとして、マイクロコ
ンピュータにリセット出力をせず、波形の出力が途切れ
たり、また正しい周波数の矩形波が出力されなくなりH
iレベルもしくはLoレベルの電圧値が不安定に陥った
場合にのみリセット信号を出力していた。
In such a conventional noise countermeasure, in particular, in a watchdog monitoring circuit for monitoring the operation of a microcomputer, a W / D signal output during a program operation of the microcomputer is used.
Only the frequency of the D waveform was monitored. Assuming that the operation is normal while the W / D waveform is being output, the microcomputer does not output a reset, and the output of the waveform is interrupted.
The reset signal is output only when the voltage value of the i level or the Lo level becomes unstable.

【0013】そのため、たとえばW/D波形のHiレベ
ルおよびLoレベルが正しく、単位時間あたりの矩形波
の数、つまりはパルス周期が正しければ、たとえその矩
形波のデューティー比が異常であっても、ウオッチドッ
グ監視回路は異常を検出することができず、空気調和装
置の温度調節不良や冷暖房の切り替え異常、およびブロ
アファンの回転制御の不能などの異常動作に繋がる、マ
イクロコンピュータの暴走を阻止することができなかっ
た。
Therefore, for example, if the Hi level and Lo level of the W / D waveform are correct and the number of rectangular waves per unit time, that is, the pulse period is correct, even if the duty ratio of the rectangular wave is abnormal, The watchdog monitoring circuit cannot detect abnormalities, and prevents runaway of the microcomputer, which leads to abnormal operation such as poor temperature control of the air conditioner, abnormal switching of cooling and heating, and inability to control the rotation of the blower fan. Could not.

【0014】本発明の目的は、W/D波形の周波数異常
監視に加えて、矩形波のデューティー比も監視して、異
常を検出可能としたウオッチドッグ監視回路を提供する
ことにある。
An object of the present invention is to provide a watchdog monitoring circuit capable of monitoring a duty ratio of a rectangular wave in addition to monitoring a frequency abnormality of a W / D waveform to detect an abnormality.

【0015】[0015]

【課題を解決するための手段】以上のような課題を解決
するために本発明においては、プログラムの動作時にウ
オッチドッグ波形を出力するマイクロコンピュータに組
み合わされ、前記ウオッチドッグ波形を監視して異常検
出時にリセット波形を出力するウオッチドッグ監視回路
において、前記ウォッチドッグ波形の周波数判定回路と
デューティー比判定回路を同時に備えたことに特徴を持
つウオッチドッグ監視回路をもって解決手段とする。
In order to solve the above-mentioned problems, the present invention is combined with a microcomputer which outputs a watchdog waveform during the operation of a program, and monitors the watchdog waveform to detect an abnormality. In a watchdog monitoring circuit that sometimes outputs a reset waveform, a watchdog monitoring circuit characterized in that the watchdog waveform frequency determination circuit and the duty ratio determination circuit are simultaneously provided is a solution.

【0016】このようにすれば、W/D波形の周波数異
常に加えてデューティー比の異常が発生した場合におい
ても、確実にマイクロコンピュータにリセットをかける
ことができ、誤動作を防止することが可能となる。
In this way, the microcomputer can be reliably reset even when an abnormality in the duty ratio occurs in addition to an abnormality in the frequency of the W / D waveform, thereby preventing a malfunction. Become.

【0017】[0017]

【発明の実施の形態】以下に本発明の説明をするための
実施の形態について述べる。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments for explaining the present invention will be described.

【0018】図1に示すのは、本発明に係るウオッチド
ッグ監視回路を説明するための概略の回路図である。図
3に示すのは、W/D波形20を説明するための概略図
である。
FIG. 1 is a schematic circuit diagram for explaining a watchdog monitoring circuit according to the present invention. FIG. 3 is a schematic diagram for explaining the W / D waveform 20.

【0019】図1において示すのは、図2において示し
た従来の周波数判定回路7に加え、本発明に係るデュ−
ティ−比判定回路13を並列に加えたものである。
FIG. 1 shows, in addition to the conventional frequency determination circuit 7 shown in FIG.
The tee ratio determination circuit 13 is added in parallel.

【0020】マイクロコンピュ−タ1に備わるW/D端
子2より出力されるパルス波のうち、従来の周波数判定
回路7では検出されなかったデューティー比の異常につ
いて、本図の回路においてはデューティー比判定回路1
3を加えている。このデューティー比判定回路13は初
段にローパスフィルタ10が設けてあり、このローパス
フィルタ10により低周波成分のパルス周期変化のみが
取り出され、デューティー比が異常となった場合のパル
ス幅が広くなった部分のみが抽出される。
In the pulse wave output from the W / D terminal 2 provided in the microcomputer 1, the abnormality of the duty ratio which is not detected by the conventional frequency judgment circuit 7 is judged by the circuit of FIG. Circuit 1
3 is added. The duty ratio determination circuit 13 is provided with a low-pass filter 10 at an initial stage. The low-pass filter 10 extracts only a pulse cycle change of a low-frequency component, and a portion where the pulse width is widened when the duty ratio becomes abnormal. Only those are extracted.

【0021】次に、この抽出されたパルス波はボルテー
ジフォロワ11を経由し、差動増幅回路12に送られ、
ここであらかじめ意図した電圧値が出力される。この電
圧はバッファアンプ6に送られ、ここで電流増幅された
後にRES端子3に入力される。
Next, the extracted pulse wave is sent to a differential amplifier circuit 12 via a voltage follower 11,
Here, the intended voltage value is output in advance. This voltage is sent to the buffer amplifier 6, where it is input to the RES terminal 3 after current amplification.

【0022】このようにして従来検出不可能であったデ
ューティー比の異常に対しても検出することが可能とな
る。
In this manner, it is possible to detect an abnormality in the duty ratio, which cannot be detected conventionally.

【0023】図3にはW/D端子2より出力されるW/
D波形20の正常時と異常時のパルス幅を比較したもの
であり、図中のa及びbの幅に着目すると正常時におい
てはaとbの幅は等しい。しかし何らかの原因によりマ
イクロコンピュ−タ1の動作が不安定となり、暴走状態
となった場合はaとbの幅が等しくならない状態が発生
する。
FIG. 3 shows W / D output from the W / D terminal 2.
This is a comparison of the pulse widths of the D waveform 20 in the normal state and the abnormal state. When attention is paid to the widths a and b in the figure, the widths a and b are equal in the normal state. However, for some reason, the operation of the microcomputer 1 becomes unstable, and if a runaway state occurs, a state occurs in which the widths of a and b are not equal.

【0024】この所謂デューティー比の異常は、たとえ
ば図に示すようにaの幅がbの幅に比べて広くなるとい
った状態に陥る。このようにaの幅が広くなるとパルス
波をフーリエ変換により、周波数分布の次元において観
測した場合に、低周波成分が正常なパルス波の場合に比
べて増加してくる。この特徴的な低周波成分を初段のロ
ーパスフィルタ10にて取り出してやることでデューテ
ィー比の異常を検出することができる。
This so-called abnormality of the duty ratio falls into a state in which the width of “a” is larger than the width of “b”, for example, as shown in FIG. As described above, when the width of “a” is widened, when the pulse wave is observed in the dimension of the frequency distribution by Fourier transform, the low frequency component increases as compared with the case of the normal pulse wave. The characteristic low-frequency component is extracted by the first-stage low-pass filter 10 so that an abnormality in the duty ratio can be detected.

【0025】なお、以上説明した実施の形態は、本発明
の理解を容易にするために記載されたものであって、本
発明を限定するために記載されたものではない。したが
って、上記実施の形態に開示された各要素は、本発明の
技術的範囲に属する全ての設計変更や均等物をも含む趣
旨である。
The embodiments described above are described for facilitating the understanding of the present invention, and are not described for limiting the present invention. Therefore, each element disclosed in the above embodiment is intended to include all design changes and equivalents belonging to the technical scope of the present invention.

【0026】[0026]

【発明の効果】以上説明したように、請求項1に記載の
発明によれば、W/D波形の周波数異常に加えてデュー
ティー比の異常が発生した場合においても、確実にマイ
クロコンピュータにリセットをかけることができ、誤動
作を防止することが可能なウオッチドッグ監視回路を提
供することができる。
As described above, according to the first aspect of the present invention, the microcomputer can be reliably reset even when the duty ratio abnormality occurs in addition to the W / D waveform frequency abnormality. It is possible to provide a watchdog monitoring circuit capable of preventing a malfunction from occurring.

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

【図1】 図1に示すのは、本発明に係るウオッチドッ
グ監視回路の全体回路図を示す。
FIG. 1 shows an overall circuit diagram of a watchdog monitoring circuit according to the present invention.

【図2】 図2に示すのは、従来の技術によるウオッチ
ドッグ監視回路の全体回路図を示す。
FIG. 2 shows an overall circuit diagram of a watchdog monitoring circuit according to the prior art.

【図3】 図3に示すのは、マイクロコンピュ−タのW
/D端子より出力されるパルス波を説明するための図で
ある。
FIG. 3 shows the W of the microcomputer.
FIG. 4 is a diagram for explaining a pulse wave output from a / D terminal.

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

1…マイクロコンピュ−タ 2…W/D端子 3…RES端子 4…ハイパスフィルタ 5…シュミットトリガ回路 6…バッファアンプ 7…周波数判定回路 10…ローパスフィルタ 11…ボルテージフォロワ 12…差動アンプ 13…デューティー比判定回路 DESCRIPTION OF SYMBOLS 1 ... Microcomputer 2 ... W / D terminal 3 ... RES terminal 4 ... High pass filter 5 ... Schmitt trigger circuit 6 ... Buffer amplifier 7 ... Frequency judgment circuit 10 ... Low pass filter 11 ... Voltage follower 12 ... Differential amplifier 13 ... Duty Ratio judgment circuit

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 プログラムの動作時にウオッチドッグ波
形を出力するマイクロコンピュータ(1)に組み合わさ
れ、前記ウオッチドッグ波形を監視して異常検出時にリ
セット波形を出力するウオッチドッグ監視回路におい
て、 前記ウォッチドッグ波形の周波数判定回路(7)とデュー
ティー比判定回路(13)とを同時に備えたことに特徴を持
つウオッチドッグ監視回路。
1. A watchdog monitoring circuit combined with a microcomputer (1) that outputs a watchdog waveform during operation of a program, monitors the watchdog waveform, and outputs a reset waveform when an abnormality is detected. A watchdog monitoring circuit characterized by having a frequency judgment circuit (7) and a duty ratio judgment circuit (13) at the same time.
JP10008035A 1998-01-19 1998-01-19 Watchdog monitoring circuit Withdrawn JPH11203172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10008035A JPH11203172A (en) 1998-01-19 1998-01-19 Watchdog monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10008035A JPH11203172A (en) 1998-01-19 1998-01-19 Watchdog monitoring circuit

Publications (1)

Publication Number Publication Date
JPH11203172A true JPH11203172A (en) 1999-07-30

Family

ID=11682094

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10008035A Withdrawn JPH11203172A (en) 1998-01-19 1998-01-19 Watchdog monitoring circuit

Country Status (1)

Country Link
JP (1) JPH11203172A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009081982A1 (en) * 2007-12-26 2009-07-02 Honda Motor Co., Ltd. Redundant communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009081982A1 (en) * 2007-12-26 2009-07-02 Honda Motor Co., Ltd. Redundant communication system
US8358578B2 (en) 2007-12-26 2013-01-22 Honda Motor Co., Ltd. Redundant communication system

Similar Documents

Publication Publication Date Title
US7281522B1 (en) Acceleration sensor status detecting apparatus
JP3752022B2 (en) Electronic control unit with fault diagnosis function
EP1913404B1 (en) Circuit arrangement and method for monitoring wheel speed sensors in a motor vehicle control device
US8280568B2 (en) Electric train car controlling device
US20080062604A1 (en) Fet monitoring and protecting system
JPH0159937B2 (en)
US5089804A (en) Short-circuit and ground fault detecting apparatus for automotive electromagnetic clutches
JP2006327474A (en) Wheel speed sensor monitoring device
JPH11203172A (en) Watchdog monitoring circuit
KR20120058082A (en) Transmission control unit for prohibiting unreasonable acceleration and deceleration of a vehicle and method thereof
JP3992648B2 (en) AT control unit
JP2008273425A (en) Failure diagnosing device of foot brake switch for vehicle
JPH10194007A (en) Power supply interrupting device at vehicular collision
JP3424615B2 (en) Tire pressure warning device
JPH0599058A (en) Controller mounted on vehicle
US20060064217A1 (en) Control unit for activating an occupant protection means in a motor vehicle and method for monitoring the proper functioning of a control unit preferably of this type
JPS6146351B2 (en)
KR100717950B1 (en) Lamp driving apparatus and method of car
US6094132A (en) System for monitoring driveline spinout conditions
KR100720276B1 (en) Method for detecting error of a brake switch in automobile
JP3042264B2 (en) Failure detection device for in-vehicle sensor
JP3191436B2 (en) Monitoring system for load drive system
CN109167712B (en) Vehicle network topology
CN117656826A (en) Arbitration method and system for opening degree of automobile accelerator pedal
JPH09209809A (en) Detection device

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: 20050405