JPS62287346A - Resetting device - Google Patents

Resetting device

Info

Publication number
JPS62287346A
JPS62287346A JP61132346A JP13234686A JPS62287346A JP S62287346 A JPS62287346 A JP S62287346A JP 61132346 A JP61132346 A JP 61132346A JP 13234686 A JP13234686 A JP 13234686A JP S62287346 A JPS62287346 A JP S62287346A
Authority
JP
Japan
Prior art keywords
monostable multivibrator
output
microprocessor
pulse
trigger
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
JP61132346A
Other languages
Japanese (ja)
Inventor
Hironaka Hosokawa
拓央 細川
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP61132346A priority Critical patent/JPS62287346A/en
Publication of JPS62287346A publication Critical patent/JPS62287346A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To constitute the titled device so that normal operation can be continued even if noise is applied to a trigger input, by using a clear terminal as the trigger input of a monostable multivibrator for generating a reset signal. CONSTITUTION:In case a microprocessor 1 runs away, and a trigger pulse is not outputted from an address decoder 3, an output Q of a retrigger monostable multivibrator 4 is varied from an 'L' level to an 'H' level. By such an output variation, an output Q of a monostable multivibrator 5 outputs a pulse having width of TW2, and resets the microprocessor 1. In case when noise has entered into an output signal of the retrigger monostable multivibrator 4, since a clear input terminal of the monostable multivibrator 5 is in an 'L' level, only a pulse having width of the same degree as that of the noise appears in its output Q. Therefore, a charged charge of a capacitor 14 is scarcely discharged, and the normal operation can be continued.

Description

【発明の詳細な説明】 3、発明の詳細な説明 産業上の利用分野 本発明は、マイクロプロセッサが暴走した時に、マイク
ロプロセッサをリセットするリセット装置に関するもの
で、特にマイクロプロセッサを使用した機器がノイズ等
により暴走した時にマイクロプロセッサをリセットする
ことにより正常動作に復帰させることができるようにす
るものである。
Detailed Description of the Invention 3. Detailed Description of the Invention Industrial Application Field The present invention relates to a reset device that resets a microprocessor when it goes out of control. When the microprocessor goes out of control due to such reasons, it is possible to restore normal operation by resetting the microprocessor.

従来の技術 従来のマイクロプロセッサのリセット装置の一例を第4
図に示す。図中、1はマイクロプロセッサ、12Lはデ
ータバス、1bはアドレスバス、2はプログラムを記憶
するメモリ装置、3はマイクロプロセッサ1がある特定
のアドレスを出力した時のみパルスを出力するアドレス
デコーダである。
2. Prior Art An example of a conventional microprocessor reset device is shown in the fourth example.
As shown in the figure. In the figure, 1 is a microprocessor, 12L is a data bus, 1b is an address bus, 2 is a memory device that stores programs, and 3 is an address decoder that outputs a pulse only when the microprocessor 1 outputs a certain address. .

4はアドレスデコーダ3の出力パルスにより動作する再
トリガ単安定マルチバイブレータであり、出力のパルス
偏は外付けのコンデンサ6a、抵抗6bにより設定され
る。再トリガ単安定マルチバイブレータ4のQ出力は、
次段単安定マルチパイプレータ5のトリガ入力端千人に
接続されており、この信号変化でトリガする。単安定マ
ルチバイブレータ5は、外付はコンデンサ7&、抵抗7
bにより設定されるパルス幅のパルスを出力する。又、
単安定マルチバイブレータ5より出力されたパルスは、
抵抗8を介してトランジスタ9を導通せしめ、コンデン
サ14の充電電荷を抵抗10を介して放電し、リセット
信号16を″L″レベルにすることにより、マイクロプ
ロセッサ1をリセットする。又、11は電源投入時にマ
イクロプロセッサ1をリセットするためのパワーオンリ
セット回路であり、抵抗12.ダイオード13.コンデ
ンサ14からなっており、従来より良く知られている回
路である。
4 is a retrigger monostable multivibrator operated by the output pulse of the address decoder 3, and the output pulse deviation is set by an external capacitor 6a and a resistor 6b. The Q output of the retrigger monostable multivibrator 4 is:
The trigger input terminal of the next-stage monostable multipipulator 5 is connected to the trigger terminal, and a trigger is triggered by this signal change. Monostable multivibrator 5 has external capacitor 7 & resistor 7
Outputs a pulse with a pulse width set by b. or,
The pulse output from the monostable multivibrator 5 is
The microprocessor 1 is reset by making the transistor 9 conductive through the resistor 8, discharging the charge in the capacitor 14 through the resistor 10, and setting the reset signal 16 to the "L" level. 11 is a power-on reset circuit for resetting the microprocessor 1 when the power is turned on, and resistor 12. Diode 13. It consists of a capacitor 14 and is a well-known circuit.

又、単トリガ単安定マルチバイブレータ4及び次段単安
定マルチバイブレータ6は同じ動作をするものが使用で
き、その電気的特性は表1のようになっている。
Further, the single trigger monostable multivibrator 4 and the next-stage monostable multivibrator 6 that operate in the same manner can be used, and their electrical characteristics are as shown in Table 1.

(以 下 余 白) 表1 以上のように構成された従来のリセット装置の動作につ
いて説明する。メモリ装置2には、ある一定の時間間隔
T以下でアドレスデコーダ3の出力を変化させるための
特定のアドレスをマイクロプロセッサ1が出力するよう
なプログラムが記憶されており、マイクロプロセッサ1
が正常に動作している時はアドレスデコーダ3より、T
以下の間隔で再トリガ単安定マルチバイブレータ4にパ
ルスが送られている。再トリガ単安定マルチバイブレー
タ4は、トリガ入力人にII H#レベルからL“レベ
ルへ変化する信号(トリガパルス)が印加されると、外
付けのコンデンサ68L、抵抗6bにより設定される時
間@ (Tw、とする)を持ったパルスが出力され、又
、パルスが出力されている時に再度入力にトリガパルス
が入った場合、出力パルスは、再度入力されたトリガパ
ルスからTw。
(Left below) Table 1 The operation of the conventional reset device configured as described above will be explained. The memory device 2 stores a program that causes the microprocessor 1 to output a specific address for changing the output of the address decoder 3 at a certain time interval T or less.
When is operating normally, address decoder 3 outputs T.
Pulses are sent to the retrigger monostable multivibrator 4 at the following intervals. When the retrigger monostable multivibrator 4 receives a signal (trigger pulse) that changes from the II H# level to the L" level to the trigger input, the retrigger monostable multivibrator 4 waits for a time set by an external capacitor 68L and a resistor 6b. Tw) is output, and if a trigger pulse is input again while the pulse is being output, the output pulse will be Tw from the trigger pulse input again.

加えられた時間幅を持ったものになる0ここで、Tw、
>TとなるようにTw、を設定すると、再トリガ単安定
マルチバイブレータ4のQ出力は、マイクロプロセッサ
1が正常に動作している時は、常にHレベルとなってお
り、次段単安定マルチ6のトリガ入力人にはトリガパル
スが印そのためトランジスタ9は、カットオフした/!
まであり、マイクロプロセッサ1にリセットはかからな
い。
0 where Tw,
>T, the Q output of the retrigger monostable multivibrator 4 is always at H level when the microprocessor 1 is operating normally, and the 6 trigger input is marked with a trigger pulse, so transistor 9 is cut off /!
, and the microprocessor 1 is not reset.

マイクロプロセッサ1がノイズ等により暴走して特定の
アドレスを出力しなくなった場合には、アドレスデコー
ダ3から出力される再トリガ単安定マルチバイブレータ
4へのトリガパルスが無くなり、最後に入力されたトリ
ガパルスよりTw、後。
When the microprocessor 1 goes out of control due to noise etc. and stops outputting a specific address, the trigger pulse output from the address decoder 3 to the re-trigger monostable multivibrator 4 disappears, and the last input trigger pulse Tw later.

に再トリガ単安定マルチバイブレータ4のQ出力はHレ
ベルより L レベルに変化する。
When re-triggered, the Q output of the monostable multivibrator 4 changes from the H level to the L level.

この信号が次段単安定マルチバイブレータ5のトリガ入
カムに印加されると、そのQ出力には外付けのコンデン
サ71Lと抵抗7bで設定される時間幅(Tw2)のパ
ルスが出力され、このパルスがデンサ14の充電電荷を
抵抗1oを介して放電し、マイクロプロセッサをリセッ
トする。第6図にこの動作のタイミングを示す。
When this signal is applied to the trigger input cam of the next-stage monostable multivibrator 5, a pulse with a time width (Tw2) set by the external capacitor 71L and resistor 7b is output to its Q output, and this pulse discharges the charge in the capacitor 14 through the resistor 1o and resets the microprocessor. FIG. 6 shows the timing of this operation.

マイクロプロセッサが暴走する原因の多くは単発的なノ
イズによるものであり、従来のリセット装置においても
、マイクロプロセッサの暴走時にはリセットがかかり、
正常動作に復帰することができる。
Most of the causes of microprocessors running out of control are due to one-off noises, and even with conventional reset devices, when a microprocessor runs out of control, a reset occurs.
Normal operation can be restored.

発明が解決しようとする問題点 しかしながら、上記のような構成では、単安定マルヂー
バイブレータのトリガ入力端子は、単発的なノイズによ
り動作しやすく、マイクロプロセッサが、暴走しなくて
も、ノイズに感応した時には、Tw2の幅をもったパル
スが発生し、マイクロプロセッサをリセットするという
誤動作を起こすという問題点を有していた。この誤動作
が起こる場合のタイミングチャートを第6図に示す。
Problems to be Solved by the Invention However, in the configuration described above, the trigger input terminal of the monostable multivibrator is likely to operate due to one-off noises, and the microprocessor may be sensitive to noise even if it does not go out of control. When this happens, a pulse with a width of Tw2 is generated, causing a malfunction in which the microprocessor is reset. FIG. 6 shows a timing chart when this malfunction occurs.

本発明は上記問題点に鑑み、マイクロプロセッサが暴走
したときのみ、マイクロプロセッサをリセットするリセ
ット装置を提供するものである。
In view of the above problems, the present invention provides a reset device that resets a microprocessor only when the microprocessor goes out of control.

問題点を解決するための手段 上記問題点を解決するために本発明のリセット装置は、
再トリガ単安定マルチバイブレータの出力全次段単安定
マルチバイブレータのクリア端子に接続したものである
Means for Solving the Problems In order to solve the above problems, the reset device of the present invention includes:
The output of the retrigger monostable multivibrator is connected to the clear terminal of all subsequent stage monostable multivibrators.

作用 、 本発明は上記した構成によって、次段単安定マルチ
バイブレータのクリア端子にノイズが入り、その出力に
パルスが現われても、すぐクリア信号によりパルスがク
リアされるため、ノイズと同程度の幅のパルスしか出力
されず、パワーオンリセット回路を構成しているコンデ
ンサの充電電荷をほとんど放電しないため、マイクロプ
ロセッサをリセットするには到らないこととなる。
Effect: With the above-described configuration, even if noise enters the clear terminal of the next-stage monostable multivibrator and a pulse appears at its output, the pulse is immediately cleared by the clear signal, so the width is the same as that of the noise. Since only 1 pulse is output and the charge in the capacitor forming the power-on reset circuit is hardly discharged, it is not possible to reset the microprocessor.

実施例 以下本発明の一実施例のリセット装置について、図面を
参照しながら説明する。第1図は本発明の一実施例にお
けるリセット装置の回路構成図を示すものである。
Embodiment Hereinafter, a reset device according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 shows a circuit configuration diagram of a reset device in an embodiment of the present invention.

第1図において、4は、再トリガ単安定マルチバイブレ
ータであり、そのQ(Qの反転)出力は、次段単安定マ
ルチバイブレータ5のクリア端子(CLFI)に接続す
る。ここで、再トリガ単安定マルチバイブレータ4と次
段単安定マルチバイブレータ5は、前記衣1に示す電気
的特性を持った再トリガ単安定マルチを使用しており、
次段単安定マルチバイブレータ6のクリア端子(CLR
)の立上り信号により、パルスを出力するよう、トリガ
入力AはHレベルにしている。その他の点については従
来例と同一であるので詳細な説明は省略する。
In FIG. 1, 4 is a retrigger monostable multivibrator, and its Q (inverted Q) output is connected to the clear terminal (CLFI) of the next stage monostable multivibrator 5. Here, the retrigger monostable multivibrator 4 and the next stage monostable multivibrator 5 use a retrigger monostable multivibrator having the electrical characteristics shown in the above-mentioned clothing 1,
Clear terminal (CLR) of next-stage monostable multivibrator 6
Trigger input A is set to H level so that a pulse is output in response to a rising signal of ). Since other points are the same as the conventional example, detailed explanation will be omitted.

本実施例において、マイクロプロセッサ1が正常に動作
している時は、アドレスデコーダ3よりT以下の時間間
隔でトリガパルスが出力され、再トリガ単安定マルチバ
イブレータ4のQ出力は常にL レベルとなっており、
次段単安定マルチバイブレータ5のQ出力はL レベル
を保持するため、マイクロプロセッサ1にリセットはか
からない。又、マイクロプロセッサ1が暴走し、アドレ
スデコーダ3からトリガパルスが出力されなくなった場
合は、再トリガ単安定マルチバイブレータする。この出
力変化により単安定マルチバイブレータ5の出力qは、
Tw2の幅を持ったパルスを出カシ、マイクロプロセッ
サ1をリセットする。この動作のタイミングを第2図に
示す。
In this embodiment, when the microprocessor 1 is operating normally, the address decoder 3 outputs trigger pulses at time intervals of T or less, and the Q output of the retrigger monostable multivibrator 4 is always at the L level. and
Since the Q output of the next-stage monostable multivibrator 5 is held at L level, the microprocessor 1 is not reset. Further, if the microprocessor 1 goes out of control and the trigger pulse is no longer output from the address decoder 3, the monostable multivibrator is retriggered. Due to this output change, the output q of the monostable multivibrator 5 becomes
A pulse with a width of Tw2 is output and the microprocessor 1 is reset. The timing of this operation is shown in FIG.

従来例と同じように、再トリガ単安定マルチバイブレー
タ4の出力信号にノイズが入った場合、本実施例では、
単安定マルチパイプソー夕6のクリア入力端子がL レ
ベルになっているため、その出力Qには、従来例のよう
にTw2のような幅をもったパルスではなく、ノイズと
同程度の幅のパルスしか表われない。そのためパワーオ
ンリセット回路11に使用しているコンデンサ14の充
電電荷放電はほとんど行なわれず、マイクロプロセッサ
1をリセットすることはなく、正常な動作を続けること
ができる。このノイズが発生した場合のタイミングを第
3図に示す。
As in the conventional example, when noise enters the output signal of the retrigger monostable multivibrator 4, in this example,
Since the clear input terminal of the monostable multi-pipe saw 6 is at the L level, its output Q does not have a pulse with a width like Tw2 as in the conventional example, but a pulse with a width similar to that of noise. Only pulses appear. Therefore, the capacitor 14 used in the power-on reset circuit 11 is hardly charged or discharged, and the microprocessor 1 is not reset, allowing normal operation to continue. FIG. 3 shows the timing when this noise occurs.

発明の効果 以上のように、本発明によれば、リセット信号を作成す
る単安定マルチバイブレータのトリガ入力としてクリア
端子を使用しているため、従来例のように、トリガ入力
へノイズが印加されてもマイクロプロセッサにリセット
がかからず、正常な動作を続けることができる。そして
、マイクロプロセッサが暴走した時のみ所定の動作をし
、マイクロプロセッサをリセットすることにより、正常
な動作へ復帰させるという優れた効果が得られるもので
ある。
Effects of the Invention As described above, according to the present invention, since the clear terminal is used as the trigger input of the monostable multivibrator that creates the reset signal, noise is not applied to the trigger input as in the conventional example. However, the microprocessor is not reset and can continue to operate normally. Then, by performing a predetermined operation only when the microprocessor goes out of control and resetting the microprocessor, an excellent effect can be obtained in that the microprocessor is returned to normal operation.

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

第1図は本発明の一実施例におけるリセット装置の回路
構成図、第2図は本発明の実施例においてマイクロプロ
セッサが暴走した場合のタイミングチャート、第3図は
本発明の実施例においてノイズが印加された場合のタイ
ミングチャート、第4図は従来例のリセット装置の回路
構成図、第6図は従来例のリセット装置においてマイク
ロプロセッサが暴走した場合のタイミングチャート、第
6図は従来例のリセット装置においてノイズにより誤動
作した場合のタイミングチャートである。 1・・・・・・マイクロプロセッサ、2・・・・・・メ
モリ装置、3・・・・・・アドレスデコーダ、4・・・
・・・再トリガ単安定マルチパイプソータ、5・・・・
・・単安定マルチバイブレータ、9・・・・・トランジ
スタ、11・・・・・・パワーオンリセクト回路。 代理人の氏名 弁理士 中 尾 敏 男 ほか1名4−
4噂トリ刀1−安プζマ刃+ハイフ゛レータ5−尊埒り
にマクはノ\努フ゛シータ /7−−パワーオシリセツト匣1番 第1図 tXZ図 第3図 (14)のQli:iカ リ゛ピットの/I茗勺(75) マイクロ70e、vプめ     JE  前 動作ぶ
、恕 第4図
FIG. 1 is a circuit configuration diagram of a reset device in an embodiment of the present invention, FIG. 2 is a timing chart when a microprocessor goes out of control in an embodiment of the present invention, and FIG. Figure 4 is a circuit diagram of a conventional reset device; Figure 6 is a timing chart of a conventional reset device when the microprocessor goes out of control; Figure 6 is a reset of the conventional example. It is a timing chart when a device malfunctions due to noise. 1...Microprocessor, 2...Memory device, 3...Address decoder, 4...
... Re-trigger monostable multi-pipe sorter, 5...
...monostable multivibrator, 9...transistor, 11...power-on resect circuit. Name of agent: Patent attorney Toshio Nakao and 1 other person 4-
4 rumored sword 1 - cheap ζma blade + hyphrator 5 - to be respectful, Maku is no \eflier / 7 - power oscillator reset box 1 Figure 1 tXZ diagram Figure 3 (14) Qli:i Calipit's /I Meiho (75) Micro 70e, v pump JE front operation, figure 4

Claims (1)

【特許請求の範囲】[Claims] マイクロプロセッサと、このマイクロプロセッサからの
特定のアドレスをデコードするアドレスデコーダと、上
記マイクロプロセッサが正常に動作している時は、一定
の時間間隔T以下で上記アドレスデコーダの出力を変化
させるためのアドレスを発生させるプログラムを記憶す
るメモリ装置と、上記アドレスデコーダの出力により上
記時間間隔T以上の幅のパルスを発生する再トリガ単安
定マルチバイブレータと、この再トリガ単安定マルチバ
イブレータの出力変化によりパルスを発生する次段単安
定マルチバイブレータとを具備し、上記再トリガ単安定
マルチバイブレータの出力を次段単安定マルチバイブレ
ータのクリア端子に接続し、上記次段単安定マルチバイ
ブレータの出力パルスにより上記マイクロプロセッサを
リセットするようにしたことを特徴とするリセット装置
a microprocessor, an address decoder for decoding a specific address from the microprocessor, and an address for changing the output of the address decoder at a fixed time interval T or less when the microprocessor is operating normally; a retrigger monostable multivibrator that generates a pulse having a width equal to or longer than the time interval T based on the output of the address decoder; The output of the retrigger monostable multivibrator is connected to the clear terminal of the next stage monostable multivibrator, and the output pulse of the next stage monostable multivibrator causes the output pulse of the next stage monostable multivibrator to trigger the microprocessor. A reset device characterized in that it is configured to reset.
JP61132346A 1986-06-06 1986-06-06 Resetting device Pending JPS62287346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61132346A JPS62287346A (en) 1986-06-06 1986-06-06 Resetting device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61132346A JPS62287346A (en) 1986-06-06 1986-06-06 Resetting device

Publications (1)

Publication Number Publication Date
JPS62287346A true JPS62287346A (en) 1987-12-14

Family

ID=15079195

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61132346A Pending JPS62287346A (en) 1986-06-06 1986-06-06 Resetting device

Country Status (1)

Country Link
JP (1) JPS62287346A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01186364A (en) * 1988-01-21 1989-07-25 Matsushita Electric Ind Co Ltd Printer
JPH0756775A (en) * 1993-08-11 1995-03-03 Nec Corp Watchdog circuit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5619222A (en) * 1979-07-24 1981-02-23 Mitsubishi Electric Corp Pulse circuit
JPS58205225A (en) * 1982-05-26 1983-11-30 Sanyo Electric Co Ltd Composite resetting circuit
JPS619735A (en) * 1984-06-25 1986-01-17 Ricoh Co Ltd Resetting system of cpu

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5619222A (en) * 1979-07-24 1981-02-23 Mitsubishi Electric Corp Pulse circuit
JPS58205225A (en) * 1982-05-26 1983-11-30 Sanyo Electric Co Ltd Composite resetting circuit
JPS619735A (en) * 1984-06-25 1986-01-17 Ricoh Co Ltd Resetting system of cpu

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01186364A (en) * 1988-01-21 1989-07-25 Matsushita Electric Ind Co Ltd Printer
JPH0756775A (en) * 1993-08-11 1995-03-03 Nec Corp Watchdog circuit

Similar Documents

Publication Publication Date Title
JPS62287346A (en) Resetting device
US5471635A (en) Methods and apparatus pulse-width modulation that use a counter and a modulus device
JP2595781Y2 (en) Chattering elimination circuit
KR880000916Y1 (en) Reset delay circuit
JPH0749879Y2 (en) Binary signal output device
JPS6225794Y2 (en)
JPS58158726A (en) Controller for microcomputer
KR890001716B1 (en) Micro computer power automatic control circuit
SU780166A1 (en) Single-shot multivibrator
SU736178A1 (en) Device for preservation of information in storage at disconnection of power supply
SU1626352A1 (en) Single-shot pulse former
JP2501666Y2 (en) Unit duplication device
SU1378031A1 (en) Pulse shaper
SU1443133A1 (en) Externally triggered square pulse shaper
SU1113885A1 (en) One-shot multivibrator
JPS59216254A (en) Interruption level control system
JPS622445B2 (en)
KR200161966Y1 (en) A sound control circuit
JPH0433117A (en) Watchdog timer circuit
JPS5932051A (en) Monitoring system of working of cpu
JPH0453452B2 (en)
SU424303A1 (en) RESERVED PULSE GENERATOR
KR890004865Y1 (en) Frequency divide circuits shortening delay time using counters
JPS60238947A (en) Malfunction detecting circuit of microprocessor
SU1182668A1 (en) Pulse repetition frequency divider