JPS58158726A - Controller for microcomputer - Google Patents

Controller for microcomputer

Info

Publication number
JPS58158726A
JPS58158726A JP57039086A JP3908682A JPS58158726A JP S58158726 A JPS58158726 A JP S58158726A JP 57039086 A JP57039086 A JP 57039086A JP 3908682 A JP3908682 A JP 3908682A JP S58158726 A JPS58158726 A JP S58158726A
Authority
JP
Japan
Prior art keywords
microcomputer
output
reset
terminal
multivibrator
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
JP57039086A
Other languages
Japanese (ja)
Inventor
Hidenori Hosokawa
細川 英徳
Junichi Osumi
大住 淳一
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP57039086A priority Critical patent/JPS58158726A/en
Publication of JPS58158726A publication Critical patent/JPS58158726A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations

Abstract

PURPOSE:To attain sure microcomputer control, by eliminating defective reset at the application of power supply and enabling the computer to restart against a temporary failure of the microcomputer after resetting. CONSTITUTION:A power-on reset section 1 is formed so that outputs of a self- running multivibrator 9 and a monostable multivibrator 8 are inputted to a reset terminal of the microcomputer 6 via an OR circuit 5a. Resistors RA and RB and a capacitor C2 are connected among terminals 6, 7 of the multivibrator 9, the power line and ground, and the output of a terminal PA0 of the computer 6 is inputted to a terminal 2 of the monostable multivibrator 8. In applying the power supply, a power supply voltage Vcc rises sufficiently and each section starts stable operation. Further, if a failure takes place in the computer 6, the output of the terminal PA0 is not generated, the output of an output terminal 8 of the monostable multivibrator 8 is zero, and the output of the OR circuit 5a passes through the pulse of the multivibrator 9 as it is, allowing to reset the computer 6 and to restart it after a prescribed time.

Description

【発明の詳細な説明】 本発明はパワーオンリセット機能および異常検出機能を
有したマイクロコンピュータ用制御装置に関し、特に、
電源投入(パワーオン)時のリセット不良をなくシ、ま
た、マイクロコンピュータ(以下「マイコン」という)
の一時的な異常に対してはリセット稜再スタートできる
ようにしたマイクロコンピュータ用制御装置に関するう
従来のマイクロコンピュータ用制御装蓋として、例えば
、第1図に示すものがあシ、電源投入したとき所定の時
間後にriJ→rOJおよびrOJ→「l」の2つの信
号を出力する2つの出力端子を有したパワーオンリセッ
ト部1と、マイコン6(例えば、μPD7801)の異
常を検出したとき異常信号を出力するウォッチドッグ部
2と、パワーオンリセット部1およびウォッチドッグ部
2の出力をマイコン6のリセット端子に入力するかの回
路5を有している。パワーオンリセット部lは抵抗R1
およびコンデンサCIから構成される積分回路と、イン
バータ3.4よ)成るシュミットトリガ回路を有し、ウ
オッチドツク部2は、モノマルチバイブレータ8(例え
ば、74L8122)を有し、tw中0.45 ew 
Bq Kよってワンショットパルスのパルス幅が決まる
抵抗RwおよびコンデンサCwを接続されているうまた
、インバータ3の出力はモノマルチバイブレータ8の端
子2Kv#続され、インバータ4の出力およびモノマル
チバイブレータ8の端子8の出力はAND回路5に入力
し、更に1マイコン6のポート端子PAoにはリセット
時のハイインピーダンス状態を考tして抵抗7でフルア
ップされているう 以上の構成において、電源を投入してコンデンサC1の
端子電圧が所定のレベルに達するとインバータ3の出力
が「l」→「0」になると同時にインバータ4の出力が
「0」→「1」になるためモノマルチバイブレータ8が
インバータ3の出力変化の立ち下)時にパルス幅twの
ワンショットパルスを出力する。これよシ先にインバー
タ4が所定の時間(マイコン6の数クロックパルス以上
)「0」を出力しているためAND回路5の「0」忙よ
ってマイコン6がリセットされ、リセット稜KAND回
路5からインバータ40rlJおよびモノマルチバイブ
レータ8のワンショットパルスの「1」K基いて「1」
が出力されるとマイコン6がスタートとするうマイコン
6のスタートによってポート端子PAoより出力される
前記パルス幅twよシ小さい周期の繰シ返しパルスの立
ち下りがモノマルチバイブレータ8をリトリガして常時
「1」を出力させ、その操作を継続させるう一方マイコ
ン6に異常が発生すると(例えば、CPUの故障、プロ
グラムの破壊、RAMの記憶の破壊)前記縁)返しパル
スのマイコン6からの出力がなくなってモノマルチバイ
ブレータ4の出力が「0」になるため、マイコン6に異
常が発生したことを検出することができる、 しかし、従来のマイクロコンピュータ用制御装置にあっ
ては、電源投入から所定の時間経過したとき(前記イン
バータ3,4の出力が「l」→「0」、「0」→rlJ
 K変化するとき)、電源電圧Vccが十分に立ち上っ
ていないとリセット信号を入力してもリセット不良にな
る恐れがあ〕、また、電源のリップルやノイズによって
シュミットトリガ回路の入力がスレシホールドレベルを
上下するとリセット不良になる恐れがある。更K、マイ
コン6の異常が一時的なものであってもモノマルチバイ
ブレータ8の出力が「0」になってAND回路5から一
度「0」が出力されると、再度AND回路5から「1」
が出力されないためマイコン6がリセットされても再ス
タートすることができない。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a microcomputer control device having a power-on reset function and an abnormality detection function, and in particular,
Eliminates reset failures when turning on the power (power-on)
Regarding a microcomputer control device that can restart a reset edge in case of a temporary abnormality, for example, the one shown in Fig. A power-on reset unit 1 has two output terminals that output two signals, riJ→rOJ and rOJ→“l” after a predetermined time, and a power-on reset unit 1 that outputs an abnormality signal when an abnormality is detected in the microcomputer 6 (for example, μPD7801). It has a watchdog section 2 for outputting, and a circuit 5 for inputting the outputs of the power-on reset section 1 and the watchdog section 2 to a reset terminal of a microcomputer 6. Power-on reset section l is resistor R1
The watchdog section 2 has a mono multivibrator 8 (for example, 74L8122), and has a 0.45 ew in tw.
The pulse width of the one-shot pulse is determined by Bq K. A resistor Rw and a capacitor Cw are connected, and the output of the inverter 3 is connected to the terminal 2Kv# of the mono multivibrator 8, and the output of the inverter 4 and the mono multivibrator 8 are connected. The output of the terminal 8 is input to the AND circuit 5, and the port terminal PAo of the microcomputer 6 is fully increased by the resistor 7 in consideration of the high impedance state at the time of reset.In the above configuration, the power is turned on. When the terminal voltage of capacitor C1 reaches a predetermined level, the output of inverter 3 changes from "L" to "0" and at the same time the output of inverter 4 changes from "0" to "1", so mono-multivibrator 8 changes from inverter to 3), a one-shot pulse with a pulse width tw is output at the falling edge of the output change. Since the inverter 4 has been outputting "0" for a predetermined period of time (more than several clock pulses of the microcomputer 6), the microcomputer 6 is reset due to the "0" of the AND circuit 5, and from the reset edge KAND circuit 5. "1" based on "1" K of the one-shot pulse of inverter 40rlJ and mono-multivibrator 8
When the microcomputer 6 starts, the microcomputer 6 starts, and the fall of the repeating pulse with a period smaller than the pulse width tw retrigger the mono-multivibrator 8, which is output from the port terminal PAo by the start of the microcomputer 6. On the other hand, if an abnormality occurs in the microcomputer 6 (for example, CPU failure, program destruction, RAM memory corruption), the return pulse output from the microcomputer 6 Since the output of the mono multivibrator 4 becomes "0" when it is gone, it is possible to detect that an abnormality has occurred in the microcomputer 6. However, in conventional microcomputer control devices, the predetermined When the time elapses (the outputs of the inverters 3 and 4 are "l" → "0", "0" → rlJ
If the power supply voltage Vcc has not risen sufficiently, there is a risk of a reset failure even if a reset signal is input. Also, ripples or noise in the power supply may cause the input of the Schmitt trigger circuit to reach the threshold level. If you move it up or down, there is a risk of a reset failure. Furthermore, even if the abnormality in the microcomputer 6 is temporary, once the output of the mono multivibrator 8 becomes "0" and "0" is output from the AND circuit 5, "1" will be output from the AND circuit 5 again. ”
Since the microcomputer 6 is not output, it cannot be restarted even if the microcomputer 6 is reset.

本発明は、上記に鑑みてなされたものであり、電源投入
(パワーオン)時のリセット不良をなくし、また、マイ
コンの一時的な異常に対してはリセット後再スタートで
きるようKするため、116iJI電圧が十分立ち上っ
たとき所定の時限のリセット用「0」状態と所定の時限
のスタート用rxJ状態を有するリセット・スタート用
繰り返しパルスを出力し、マイコン動作に応答して出力
される動作信号があるときは前記パルスが入力して本マ
イコンがリセットされるのを禁止し、#動作信号が出力
されなくなったとき前記パルスによってマイコンをリセ
ット、スタートさせるようKしたマイクロコンピュータ
用制御装置を提供するものである。
The present invention has been made in view of the above, and is designed to eliminate reset failures when the power is turned on (power-on), and to restart the microcomputer after resetting in the event of a temporary abnormality. When the voltage rises sufficiently, a reset/start repeating pulse is output that has a "0" state for resetting for a predetermined time period and an rxJ state for starting for a predetermined time period, and there is an operation signal that is output in response to the microcomputer operation. To provide a control device for a microcomputer, which prohibits the microcomputer from being reset when the pulse is input, and resets and starts the microcomputer by the pulse when the # operation signal is no longer output. be.

以下本発明によるマイクロコンピュータ用制御装置を詳
細に説明する。
The microcomputer control device according to the present invention will be explained in detail below.

第2図は本発明の一実施例を示しく第1−と同一の部分
は同一の引用数字で示したので1復する説明は省略する
0、パワーオンリセット部lは自走マルチバイブレータ
9(例えば、NE555 )を有し、自走!ルチバイブ
レータ9およびモノマルチバイブレータ8の出力がOB
回路51を介してマイコン6のリセット端子に入力する
ように構成されているう自走マルチバイブレータ9の端
子6゜7と電源ラインおよびアース間に抵抗RA、 R
BおよびコンデンサC2が図示した通り接続され、マイ
コン6のポート端子PAoの出力がモノマルチバイブレ
ータ8の端子2に入力するように接続されている。
FIG. 2 shows an embodiment of the present invention. The same parts as in No. 1- are indicated by the same reference numerals, so a repeated explanation will be omitted. For example, it has a NE555) and is self-propelled! The output of multivibrator 9 and mono multivibrator 8 is OB.
Resistors RA and R are connected between the terminal 6°7 of the free-running multivibrator 9, which is configured to be input to the reset terminal of the microcomputer 6 via the circuit 51, and the power supply line and ground.
B and a capacitor C2 are connected as shown, and the output of the port terminal PAo of the microcomputer 6 is connected to be input to the terminal 2 of the mono multivibrator 8.

以上の構成において、第3図のタイムチャート忙よつ【
その操作を説明するに、時刻t1に1源を投入すると時
刻t2で電源電圧Vccが十分に立ち上り、各部が安定
した動作を開始する。
In the above configuration, the time chart in Figure 3 is busy [
To explain the operation, when one power source is turned on at time t1, the power supply voltage Vcc rises sufficiently at time t2, and each part starts stable operation.

自走マルチバイブレータ9は、「1」の時限が=ta中
0.7 (Ra + RB ) ・Cx−roJの時限
がtb中0.7 Rml −C2のパルス9を出力し、
OR回路5aを介してマイコン6のリセット端子に入力
する。パルス9は時刻t32おいてrlJになるが、時
刻t2〜tsrOJの時限が短いためにマイコン6はリ
セットされず、スタートを開始しない。
The self-propelled multivibrator 9 outputs a pulse 9 with a time limit of "1" of = 0.7 (Ra + RB) in ta and a time limit of Cx-roJ of 0.7 Rml - C2 in tb.
The signal is input to the reset terminal of the microcomputer 6 via the OR circuit 5a. The pulse 9 becomes rlJ at time t32, but since the time limit from time t2 to tsrOJ is short, the microcomputer 6 is not reset and does not start.

時刻t4においてパルス9が再び「0」になると時[t
b (マイコン6のリセットに必要な時限に設定されて
いる)にわたって続くため、マイコン6がリセットされ
、時刻t5においてリセット端子の入力(OR回路5a
の出力5mとなるパルス9)がrxJKなったときマイ
コン6が動作を開始する。動作開始から時限ts (t
s < ta)i遇するとマイコン6のボート端子PA
oの出力が立ち下り、以後周期toのパルス6を出力す
る。モノマルチバイブレータ8はこのパルス6を入力し
、その立ち下りを検出する度にリトリガされて時刻t6
からパルス輻tw (1w> tl )  のワンショ
ットパルス8を出力する。以後、ワンショットパルス8
と自走マルチバイブレータ9のパルス9がOR回路5a
から出力5aとして出力され、マイコン6が動作を継続
する。
When the pulse 9 becomes "0" again at time t4, time [t
b (set to the time required for resetting the microcomputer 6), the microcomputer 6 is reset, and at time t5, the reset terminal input (OR circuit 5a
The microcomputer 6 starts operating when the pulse 9) with an output of 5 m reaches rxJK. Time limit ts (t
s < ta) i If it happens, the boat terminal PA of the microcomputer 6
The output of o falls, and thereafter pulse 6 of period to is output. The mono multivibrator 8 inputs this pulse 6, and is retriggered every time it detects the falling edge of the pulse 6, and is retriggered at time t6.
A one-shot pulse 8 with a pulse intensity tw (1w>tl) is output from. After that, one shot pulse 8
and the pulse 9 of the self-propelled multivibrator 9 are connected to the OR circuit 5a.
The signal is outputted as an output 5a, and the microcomputer 6 continues its operation.

−4、マイコン6に一時的な異常が発生したためにボー
ト端子PAoから周期toのパルス9が出力されなくな
ると、時刻t7から時限tw経過したとき(時刻t8)
モノマルチバイブレータ8の出力8がroJ Kなるた
め(「0」信号が異常信号と見做される)、OR回路5
aの出力5aが自走マルチバイブレータ9のパルス9を
そのまま通孝させkものになる。出力5aの時限tbの
「0」によって(時刻ts −txo )マイコン6は
リセットされ、時刻110から再びスタートを開始する
-4. When the pulse 9 with period to is no longer output from the boat terminal PAo due to a temporary abnormality in the microcomputer 6, when time period tw has elapsed from time t7 (time t8)
Since the output 8 of the mono multivibrator 8 becomes roJK (the "0" signal is considered as an abnormal signal), the OR circuit 5
The output 5a of the output 5a passes the pulse 9 of the self-propelled multivibrator 9 as it is and becomes the output 5a. The microcomputer 6 is reset by "0" of the time limit tb of the output 5a (time ts - txo), and starts again from time 110.

このマイコン6の動作によって再びボート端子PAoか
らパルス6が出力され、時刻t11の立ち下9によって
モノマルチバイブレータ8がトリガされる。以後、同じ
動作を繰り返1つ 肖1以上の実施例において、マイコン6としてワンチッ
プマイクロコンピュータを使用することができるが、そ
れに代えて汎用のマイクロプロセッサと出力ICの組合
せを使用しても良いし、また、自走マルチノ(イブレー
タおよびモノマルチノ(イブレータも前述した素子に限
定するもので&士ない。
This operation of the microcomputer 6 causes the pulse 6 to be output from the boat terminal PAo again, and the mono-multivibrator 8 is triggered at the falling edge 9 of time t11. Thereafter, the same operation is repeated.In the above embodiments, a one-chip microcomputer can be used as the microcomputer 6, but a combination of a general-purpose microprocessor and an output IC may be used instead. However, the self-propelled multi-purpose generator (ibrator) and the mono-martino (digital generator) are not limited to the above-mentioned elements.

以上説明した通夛、本発明によるマイクロコンピュータ
用制御装置によれば、電源電圧が十分立ち上ったとき所
定の時限のリセット用「0」状態と所定の時限のスター
ト用「l」状態を有するリセット・スタート用繰り返し
〕くルスを出力し、マイコン動作に応答して出力される
動作信号があるときは前記パルスの入力があってもマイ
コンがリセットされるのを禁止し、該動作信号が出力さ
れなくなりにとき前記パルスによってマイコンをリセッ
ト、スタートさせるようにしタタめ、電源投入(パワー
オン)時のリセット不良をなくシ、また、マイコンの一
時的な異常に対してはリセット後再スタートする仁とが
できる。
As described above, according to the microcomputer control device according to the present invention, when the power supply voltage rises sufficiently, the reset signal has a "0" state for resetting a predetermined time period and an "l" state for starting a predetermined time period. [Repeat pulse for start] is output, and if there is an operation signal that is output in response to the microcomputer operation, the microcomputer is prohibited from being reset even if the pulse is input, and the operation signal is no longer output. When the microcomputer is reset and started by the pulse, it is possible to eliminate reset failures when the power is turned on (power-on), and to restart the microcomputer after resetting in case of temporary malfunction of the microcomputer. can.

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

第1図は従来のマイクロコンピュータ用制御装置を示す
ブロック図、第2図は本発明の一実施例を示すブロック
面、第31は第2図のタイムチャート。 符号の説明 1・・・ハワーオンリセット部 2・・・ウォッチドッグ部 6・・・マイコン8・・・
%/マルチパイプレーク 9・・・自走マルチバイブレーク 特許出願人 富士ゼロックス−株式会社第1図 1 第2図 !
FIG. 1 is a block diagram showing a conventional microcomputer control device, FIG. 2 is a block diagram showing an embodiment of the present invention, and No. 31 is a time chart of FIG. 2. Explanation of symbols 1...Hower-on reset section 2...Watchdog section 6...Microcomputer 8...
%/Multi-Pipe Lake 9... Self-propelled Multi-Pipe Lake Patent Applicant Fuji Xerox - Co., Ltd. Figure 1 Figure 2!

Claims (1)

【特許請求の範囲】 所定の時限のリセット信号と所定の時限のスタート信号
より成るリセット・スタート用繰〕返し信号を出力する
手段と、 マイクロコンビエータの動作に応答して動作信号を出力
する手段とを備え、 前記マイクロコンピュータが、前記動作信号の出力があ
るとき該動作信号によってリセットを禁止され、 前記動作信号の出力がないとき前記リセット・スタート
用繰夛返し信号の前記リセット信号および前記スタート
信号によってリセット、スタートされて前記動作信号を
出力することを特徴とするマイクロコンピュータ用制御
装置う
[Scope of Claims] Means for outputting a reset/start repetition signal consisting of a reset signal for a predetermined time period and a start signal for a predetermined time period; and means for outputting an operation signal in response to the operation of a microcombiator. The microcomputer is prohibited from being reset by the operation signal when the operation signal is output, and when the operation signal is not output, the reset signal and the start of the repetitive reset/start signal are prohibited. A control device for a microcomputer, characterized in that it is reset and started by a signal and outputs the operation signal.
JP57039086A 1982-03-12 1982-03-12 Controller for microcomputer Pending JPS58158726A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57039086A JPS58158726A (en) 1982-03-12 1982-03-12 Controller for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57039086A JPS58158726A (en) 1982-03-12 1982-03-12 Controller for microcomputer

Publications (1)

Publication Number Publication Date
JPS58158726A true JPS58158726A (en) 1983-09-21

Family

ID=12543269

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57039086A Pending JPS58158726A (en) 1982-03-12 1982-03-12 Controller for microcomputer

Country Status (1)

Country Link
JP (1) JPS58158726A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60212028A (en) * 1984-04-05 1985-10-24 Mitsubishi Electric Corp Reset circuit
JPH033031U (en) * 1989-05-30 1991-01-14
JPH04167014A (en) * 1990-10-30 1992-06-15 Noritz Corp Power backup circuit for microcomputer
JPH063586B2 (en) * 1983-11-30 1994-01-12 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング How to monitor the calculation module

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH063586B2 (en) * 1983-11-30 1994-01-12 ローベルト ボツシユ ゲゼルシヤフト ミツト ベシユレンクテル ハフツング How to monitor the calculation module
JPS60212028A (en) * 1984-04-05 1985-10-24 Mitsubishi Electric Corp Reset circuit
JPH033031U (en) * 1989-05-30 1991-01-14
JPH04167014A (en) * 1990-10-30 1992-06-15 Noritz Corp Power backup circuit for microcomputer

Similar Documents

Publication Publication Date Title
JPS59109955A (en) Automatic processor restarting circuit
JPS58158726A (en) Controller for microcomputer
JP2007041824A (en) Resetting circuit for electronic control unit
JPS6280716A (en) Reset circuit for backup
JP7063692B2 (en) Watchdog timer monitoring system
JPS6225794Y2 (en)
JPH0443436A (en) Device with microprocessor
JPH0143650Y2 (en)
KR920005760Y1 (en) Source-supply apparatus and monitoring circuit of improper working in cpu
TWI421701B (en) Computer system
JPH0334689B2 (en)
KR0154999B1 (en) Reset circuit
JPS59146349A (en) Automatic reset system of microcomputer
JPS625725Y2 (en)
JPH0219867Y2 (en)
JPS63298448A (en) Automatic resetting device for microcomputer
JPS63644A (en) Watch dog timer circuit
JPH02263223A (en) Reset circuit
JPH05218834A (en) Reset circuit
KR960007102Y1 (en) Reset circuit
JPH0426916Y2 (en)
JPH0736161B2 (en) CPU abnormality detection device
JPS6226740B2 (en)
JPS5875417A (en) Load driving circuit
JPH0313614B2 (en)