JPS62221044A - Preventing circuit for malfunction of microprocessor - Google Patents
Preventing circuit for malfunction of microprocessorInfo
- Publication number
- JPS62221044A JPS62221044A JP61063010A JP6301086A JPS62221044A JP S62221044 A JPS62221044 A JP S62221044A JP 61063010 A JP61063010 A JP 61063010A JP 6301086 A JP6301086 A JP 6301086A JP S62221044 A JPS62221044 A JP S62221044A
- Authority
- JP
- Japan
- Prior art keywords
- microprocessor
- output
- power supply
- port
- 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
Links
- 230000007257 malfunction Effects 0.000 title claims description 5
- 238000001514 detection method Methods 0.000 claims description 5
- 230000002265 prevention Effects 0.000 claims description 3
- 239000003990 capacitor Substances 0.000 abstract description 11
- 230000006866 deterioration Effects 0.000 abstract description 2
- 230000005856 abnormality Effects 0.000 abstract 2
- 230000002159 abnormal effect Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000007599 discharging Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
Landscapes
- Debugging And Monitoring (AREA)
Abstract
Description
【発明の詳細な説明】
技術分野
本発明はマイクロプロセッサの周辺回路構成、特にマイ
クロプロセッサの誤動作防止回路に関する。TECHNICAL FIELD The present invention relates to a peripheral circuit configuration of a microprocessor, and particularly to a malfunction prevention circuit for a microprocessor.
罷】」1垂
従来、マイクロプロセッサの周辺回路には、マイクロプ
ロセッサ自身が正常に動作しているかどうかを判断する
判断回路を有していなかったので、外部からのノイズ等
によりマイクロプロセッサが異常状態になり機能が停止
しても、この異常状態を検出できないという欠点がある
。Conventionally, the peripheral circuits of microprocessors did not have a judgment circuit to judge whether or not the microprocessor itself was operating normally. The disadvantage is that even if the function stops, this abnormal state cannot be detected.
11立旦刀
したがって本発明の目的は、マイクロプロセッサの異常
状態を検出できるマイクプロセッサ誤動作検出回路を提
供することである。Therefore, an object of the present invention is to provide a microprocessor malfunction detection circuit capable of detecting an abnormal state of a microprocessor.
11立旦羞
本発明によれば、マイクロプロセッサの出力信号が予め
定められた時間以上オンまたはオフし続けていることを
検出する検出手段と、前記検出手段の出力信号により電
源断を実行する電源制御部とを有することを特徴とする
マイクロプロセッサの誤動作防止回路が得られる。According to the present invention, there is provided a detection means for detecting that an output signal of a microprocessor continues to be on or off for a predetermined period of time or more, and a power supply that executes power-off based on the output signal of the detection means. A malfunction prevention circuit for a microprocessor characterized by having a control section is obtained.
実施例
次に、本発明の一実施例を示した図面を参照して、本発
明をより詳細に説明する。Embodiment Next, the present invention will be explained in more detail with reference to the drawings showing an embodiment of the present invention.
第1図を参照すると、本発明の一実施例は、マイクロプ
ロセッサ1と、マイクロブセッサ1の出力する基本クロ
ック101によりオン・オフするトランジスタQ1と、
トランジスタQ1がオフのとき抵抗器R1及びR2を通
して充電され、トランジスタQ1がオンのとき抵抗器R
2を通して放電されるコンデンサC1と、基本りOツク
101の極性を反転するインバータ2と、反転された基
本タロツク102によりオン・オフされるトランジスタ
Q2と、トランジスタQ2がオフのとき抵抗器R3及び
R4を通して充電され、トランジスタQ2がオンのとき
抵抗器R4を通して放電されるコンデンサC2と、コン
デンサC1の充[2圧しベル信号103とコンデンサC
2の充電電圧レベル信号104とが入力されるオアゲー
ト回路3と、オアゲート回路3の出力信号105が論理
レベル“1”になったとき電源断にする電源制御部4と
により構成される。 次に本実施例の動作を説明する。Referring to FIG. 1, one embodiment of the present invention includes a microprocessor 1, a transistor Q1 that is turned on and off by a basic clock 101 output from the microprocessor 1,
Charges through resistors R1 and R2 when transistor Q1 is off, and charges through resistor R when transistor Q1 is on.
2, an inverter 2 which reverses the polarity of the basic clock 101, a transistor Q2 which is turned on and off by the inverted basic clock 102, and resistors R3 and R4 when the transistor Q2 is off. The capacitor C2 is charged through the capacitor C2 and discharged through the resistor R4 when the transistor Q2 is on, and the charging of the capacitor C1 is caused by the bell signal 103 and the capacitor C2.
2, and a power supply control section 4 that turns off the power when the output signal 105 of the OR gate circuit 3 reaches the logic level "1". Next, the operation of this embodiment will be explained.
マイクロプロセッサ1は正常動作中は出力ポートから基
本クロック101を出力するようにプログラミングされ
ている。トランジスタQ1は基本クロック101が′1
”レベルのときオンして抵抗器R2を通してコンデンサ
C1に充電された電荷を放電する。又、トランジスタQ
1は基本クロック101が“0″レベルのときオフする
。このとき、コンデンサC1は抵抗器R1,R2を通し
て充電される。この充放電によるコンデンサC1の充電
電圧レベルは第2図のようになる。The microprocessor 1 is programmed to output the basic clock 101 from the output port during normal operation. Transistor Q1 has basic clock 101 '1
” level, it turns on and discharges the charge stored in the capacitor C1 through the resistor R2. Also, the transistor Q
1 is turned off when the basic clock 101 is at the "0" level. At this time, capacitor C1 is charged through resistors R1 and R2. The charging voltage level of the capacitor C1 due to this charging and discharging is as shown in FIG.
マイクロプロセッサ1が異常状態になると、出力ポート
から基本クロックが出力されず、出力ポートは1″又は
′0′′の論理レベルに固定される。“O″ルベル固定
されると、トランジスタQ1はオフしたままになるので
コンデンサC1は、抵抗@R1及びR2を通して充電さ
れ続けるため、その充電電圧レベル信号103はオアゲ
ート回路3の入力スレッショールドレベルを越え、オア
ゲート回路出力信号105が出力される。この信号が電
源制御部4に入力され電源制御部4は電源をオフする。When the microprocessor 1 is in an abnormal state, the basic clock is not output from the output port, and the output port is fixed at the logic level of 1'' or '0''. When the level is fixed at "O", the transistor Q1 is turned off. Since the capacitor C1 continues to be charged through the resistors @R1 and R2, its charging voltage level signal 103 exceeds the input threshold level of the OR gate circuit 3, and the OR gate circuit output signal 105 is output. The signal is input to the power supply control section 4, and the power supply control section 4 turns off the power.
又、マイクロプロセッサ1の異常により出力ポートが1
″の論理レベルに固定されると、トランジスタQ2がオ
フしたままになるので上記と同様の原理でコンデンサC
2の充TtTi圧レベル信号104がオアゲート回路3
の入力スレッショールドレベルを越えオアゲート回路3
からオアゲート回路出力信号105が出力され、この信
号により電源制御部4は電源をオフする。Also, due to an error in microprocessor 1, output port 1
If the logic level is fixed at the logic level of ", transistor Q2 remains off, so the capacitor C
The charging TtTi pressure level signal 104 of 2 is output to the OR gate circuit 3.
exceeds the input threshold level of OR gate circuit 3
An OR gate circuit output signal 105 is output from the circuit, and the power supply control unit 4 turns off the power based on this signal.
発明の詳細
な説明したように本発明は、マイクロプロセッサの出力
するクロック信号が出力されているかどうかを抵抗とコ
ンデンサとトランジスタとを組合せた回路で検出するこ
とにより、従来では出来なかったマイクロプロセッサの
異常状態を検出して電源を断として、モータやソレノイ
ド等の焼損劣化を防ぐという効果がある。Detailed Description of the Invention As described in detail, the present invention detects whether or not a clock signal output from a microprocessor is being output using a circuit that combines a resistor, a capacitor, and a transistor. This has the effect of detecting an abnormal condition and turning off the power to prevent burnout and deterioration of motors, solenoids, etc.
第1図は本発明の一実施例の回路図、第2図は実施例の
各部の信号波形図である。
主要部分の符号の説明
1・・・・・・マイクロプロセッサ
2・・・・・・インバータ回路FIG. 1 is a circuit diagram of an embodiment of the present invention, and FIG. 2 is a signal waveform diagram of each part of the embodiment. Explanation of symbols of main parts 1...Microprocessor 2...Inverter circuit
Claims (1)
上オンまたはオフし続けていることを検出する検出手段
と、前記検出手段の出力信号により電源断を実行する電
源制御部とを有することを特徴とするマイクロプロセッ
サの誤動作防止回路。It is characterized by comprising a detection means for detecting that an output signal of a microprocessor continues to be on or off for a predetermined period of time or more, and a power supply control section for executing power-off based on the output signal of the detection means. Microprocessor malfunction prevention circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61063010A JPS62221044A (en) | 1986-03-20 | 1986-03-20 | Preventing circuit for malfunction of microprocessor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP61063010A JPS62221044A (en) | 1986-03-20 | 1986-03-20 | Preventing circuit for malfunction of microprocessor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62221044A true JPS62221044A (en) | 1987-09-29 |
Family
ID=13216918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP61063010A Pending JPS62221044A (en) | 1986-03-20 | 1986-03-20 | Preventing circuit for malfunction of microprocessor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62221044A (en) |
-
1986
- 1986-03-20 JP JP61063010A patent/JPS62221044A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9573540B2 (en) | On-vehicle electronic control device | |
JPH09319456A (en) | Oscillation stop detector | |
JPH05173674A (en) | Global resetting circuit | |
JP2004212601A (en) | Image forming apparatus | |
JPS62221044A (en) | Preventing circuit for malfunction of microprocessor | |
US5986442A (en) | Load drive device having short-circuit protection function | |
JPH1042586A (en) | Motor drive circuit | |
JPH0443436A (en) | Device with microprocessor | |
US20050033494A1 (en) | Electronic control unit having hold circuit and method therefor | |
JPH0898419A (en) | Power supply circuit | |
JPH0143650Y2 (en) | ||
JP6610204B2 (en) | Combustion equipment | |
JP3863337B2 (en) | Gate driver and power conversion device | |
JPS6277653A (en) | Malfunction preventing circuit | |
JP2016130967A (en) | Electronic control device | |
JPH08140393A (en) | Protective circuit for motor drive control circuit | |
JPH0779562A (en) | Dc/dc converter | |
JPH0689709B2 (en) | Engine controller | |
JP2003140779A (en) | Watch dog timer diagnosing system | |
JPH0142054Y2 (en) | ||
JP2005039946A (en) | Self-exciting oscillation type load drive unit | |
JPH0359450B2 (en) | ||
JP3722159B2 (en) | Control device for diesel engine | |
JPH0592824U (en) | Overcurrent detection circuit | |
JPS60240846A (en) | Safety device of fuel injection device |