JPH03256108A - Reset circuit for digital system - Google Patents

Reset circuit for digital system

Info

Publication number
JPH03256108A
JPH03256108A JP2053672A JP5367290A JPH03256108A JP H03256108 A JPH03256108 A JP H03256108A JP 2053672 A JP2053672 A JP 2053672A JP 5367290 A JP5367290 A JP 5367290A JP H03256108 A JPH03256108 A JP H03256108A
Authority
JP
Japan
Prior art keywords
reset
microprocessor
voltage
power supply
output
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
JP2053672A
Other languages
Japanese (ja)
Inventor
Shoji Kasai
笠井 昭二
Masayuki Hirose
正之 廣瀬
Kazuhiro Sakata
坂田 一裕
Masao Sugiyama
杉山 昌男
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2053672A priority Critical patent/JPH03256108A/en
Publication of JPH03256108A publication Critical patent/JPH03256108A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the generation of runaway in a microprocessor or miswriting in a memory by connecting a voltage monitoring IC with a a low operation power supply voltage to the output of the other voltage monitoring IC so that these ICs are used for resetting the microprocessor and turning on/off a power supply for the memory. CONSTITUTION:The voltage monitoring IC 1 is connected to the output of the voltage monitoring IC 2 with the low operation power supply voltage, the node between both the ICs 1, 2 is connected to the reset terminal of the microprocessor 3, a reset line L6 inputted to the chip select (CS) terminals of respective memories 5, a decoding circuit 4 for decoding an address bus L9, and the output lines L8 of the circuit 4 are connected to the other CS terminals of respective memories 5, and the micropocessor 3 and the memories 5 are connected to a data bus L7. When the operation of the IC 1 exceeds the operable voltage point (a) of the processor at the rise of the power supply, a reset signal is outputted. The reset signal is outputted before the IC 2 arrives at the point (a). Thereby, an OR logic between the outputs of the ICs 1, 2 is outputted to the line L6. Since the IC 1 is reset before the operation of the microprocessor 3, the microprocessor 3 can be prevented from generating runaway.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデジタルシステムのリセット回路に係り、特に
、マイコンシステムの電源投入、しゃ断時に好適な回路
に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a reset circuit for a digital system, and particularly to a circuit suitable for turning on and turning off the power of a microcomputer system.

〔従来の技術〕[Conventional technology]

従来の装置は、トランジスタ技術工989年12月号P
428〜430に記載のように、一つのリセット発生回
路より、デジタルシステムのリセット回路を構成してい
た。
The conventional device was published in Transistor Engineering, December 989 issue P
As described in Nos. 428 to 430, a reset circuit of a digital system was constituted by one reset generation circuit.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来技術は、電源投入、しゃ断時の低い電圧レベル
でのリセット発生回路の動作について考慮されておらず
、最低動作電圧が高い場合、デジタルシステムが動作し
、マイクロプロセッサはリセット前のため、暴走すると
いう問題があった。
The above conventional technology does not take into consideration the operation of the reset generation circuit at a low voltage level when the power is turned on or turned off, and if the minimum operating voltage is high, the digital system will operate and the microprocessor will run out of control because it has not yet been reset. There was a problem.

本発明の目的は、マイクロプロセッサが動作する前にリ
セット信号をマイクロプロセッサに入力し、マイクロプ
ロセッサの暴走を防止し、さらに、メモリへの誤まった
データの書き込みを防止することにある。
An object of the present invention is to input a reset signal to the microprocessor before the microprocessor starts operating, thereby preventing the microprocessor from running out of control and further preventing erroneous data from being written to the memory.

〔課題を解決するための手段〕[Means to solve the problem]

」二記目的を達成するために、本発明は最低動作電源電
圧の低いリセット発生回路である電圧監視ICを設けた
In order to achieve the second object, the present invention provides a voltage monitoring IC which is a reset generation circuit with a low minimum operating power supply voltage.

また、マイクロプロセッサの暴走を防止するためには、
動作電源電圧の低い電圧監視ICと動作電源電圧の高い
電圧監視ICの出力を接続し、マイクロプロセッサのリ
セットに入力する様にした。
Also, to prevent the microprocessor from running out of control,
The outputs of a voltage monitoring IC with a low operating power supply voltage and a voltage monitoring IC with a high operating power supply voltage are connected and input to the reset of the microprocessor.

さらに、本発明は動作電源電圧の低い電圧監視ICの出
力をメモリの電源投入、しゃ断に用い、メモリへの誤っ
たデータの書き込みを防止する様にした。
Furthermore, the present invention uses the output of a voltage monitoring IC with a low operating power supply voltage to turn on and off the power to the memory, thereby preventing writing of erroneous data to the memory.

〔作用〕[Effect]

動作電源電圧の低い電圧監視ICは、電源投入時すぐに
、デジタルシステムが動作する前にリセット出力が得ら
れ、そのリセット出力によりデジタルシステム、あるい
は、マイクロプロセッサをリセットし、デジタルシステ
ムが正常動作する電圧になった後、リセットを解除する
。また、電源しゃ断時はデジタルシステムが正常動作で
きない電圧になるとリセット出力し、デジタルシステム
をリセットするように動作する。それによって、電源投
入、および、しゃ断時のデジタルシステムの不確実な動
作領域は確実にリセットされるようになるので誤動作す
ることがない。
A voltage monitoring IC with a low operating power supply voltage can obtain a reset output immediately after the power is turned on, before the digital system starts operating, and the reset output resets the digital system or microprocessor, allowing the digital system to operate normally. After reaching the voltage, release the reset. In addition, when the power is cut off, if the voltage reaches such a level that the digital system cannot operate normally, a reset output is output and the digital system is operated to be reset. As a result, the uncertain operating range of the digital system at power-on and power-off is reliably reset, so that malfunctions will not occur.

〔実施例〕〔Example〕

第1図は本発明のリセット回路の一実施例を表わしたも
ので、電圧監視ICIと動作電源電圧の低い電圧監視I
C2の出力は接続され、マイクロプロセッサ3のリセッ
トに入力し、さらに、メモリ5のチップセレクトに入力
したリセットラインL6と、アドレスバスL9をデコー
ドするデコード回路4とそのデコード出力L8をメモリ
のチップセレクトに接続し、マイクロプロセッサ3とメ
モリ5がデータバスL7で接続されている。
FIG. 1 shows an embodiment of the reset circuit of the present invention, in which a voltage monitoring ICI and a voltage monitoring I with a low operating power supply voltage are shown.
The output of C2 is connected and inputted to the reset of the microprocessor 3, and the reset line L6 inputted to the chip select of the memory 5, and the decode circuit 4 which decodes the address bus L9 and its decode output L8 are input to the chip select of the memory. The microprocessor 3 and memory 5 are connected via a data bus L7.

第1図の回路のリセットタイミングを第3図に示す。電
源電圧立上り時は電圧監視ICIの動作− はマイクロプロセッサの動作可能電圧点■を超えたあと
にリセットが出力される。動作電源電圧の低い電圧監視
IC2は0点に達する以前にリセットが出力される。こ
れによりリセットラインL6は、電圧監視工C1と2の
出力のOR論理となる。
FIG. 3 shows the reset timing of the circuit of FIG. 1. When the power supply voltage rises, the voltage monitoring ICI operates. After the voltage exceeds the microprocessor's operable voltage point (2), a reset signal is output. The voltage monitoring IC 2 with a low operating power supply voltage outputs a reset signal before reaching the 0 point. As a result, the reset line L6 becomes an OR logic of the outputs of the voltage monitors C1 and C2.

本実施例によればマイクロプロセッサが動作する以前に
リセットされ、マイクロプロセッサの暴走を防止する効
果がある。
According to this embodiment, the microprocessor is reset before it starts operating, which has the effect of preventing the microprocessor from running out of control.

第2図は本発明のリセット回路の一実施例を表わしたも
ので、電圧監視ICIの出力をマイクロプロセッサ3の
リセット入力端子に接続し、電圧監視IC2の出力はメ
モリ5の電源の投入、しゃ断に用いている。
FIG. 2 shows an embodiment of the reset circuit of the present invention, in which the output of the voltage monitoring ICI is connected to the reset input terminal of the microprocessor 3, and the output of the voltage monitoring IC 2 is used to turn on and off the power of the memory 5. It is used for

第2図の回路のリセットタイミングを第4図に示す。電
源電圧立上り時は電圧監視IC1の動作はマイクロプロ
セッサの動作可能電圧点■を超えたあとにリセットが出
力される。動作電源電圧の低い電圧監視IC2は0点に
達する以前にリセットが出力される。これにより、マイ
クロプロセッサは■点を超え、リセットがLotaにな
るまでの期間、暴走する可能性があるが、電圧監視IC
2のリセットにより、マイクロプロセッサのリセット前
の動作領域ではメモリの電源が供給されないため、誤っ
たデータを書き込みはない。電圧監視工C2のリセット
が解除された時はすでにマイクロプロセッサはリセット
入力があり、従ってマイクロプロセッサの暴走はない。
FIG. 4 shows the reset timing of the circuit of FIG. 2. When the power supply voltage rises, the operation of the voltage monitoring IC 1 is such that a reset signal is output after the voltage exceeds the operating voltage point (2) of the microprocessor. The voltage monitoring IC 2 with a low operating power supply voltage outputs a reset signal before reaching the 0 point. As a result, the microprocessor may exceed the ■ point and run out of control until the reset reaches Lota, but the voltage monitoring IC
Due to the reset in step 2, power is not supplied to the memory in the operating area of the microprocessor before the reset, so no erroneous data is written. When the reset of the voltage monitor C2 is released, the microprocessor already has a reset input, so there is no runaway of the microprocessor.

また、電源しゃ断時は電源電圧監視ICIによりマイク
ロプロセッサをリセットしたあと、0点を超える立上り
が生じるが、電圧監視IC2のリセットによりメモリの
電源が供給されていないため、マイクロプロセッサの暴
走によるメモリへの誤ったデータの書込みは起こらない
In addition, when the power is cut off, after the microprocessor is reset by the power supply voltage monitoring ICI, a rise exceeding 0 point occurs, but since the power to the memory is not supplied due to the reset of the voltage monitoring IC2, the memory is affected by the runaway of the microprocessor. Writing of incorrect data will not occur.

また、アドレスデコード後のデコード出力L8は電圧監
視■C1のリセット出力とAND論理回路を構成し、そ
の出力をメモリのチップセレクト及びライトイネーブル
端子に接続している。これにより電圧低下による電圧監
視IC1のリセットが出力され、電圧監視IC2のリセ
ットが出力されない場合のメモリへの書き込みは禁止さ
れる。
Further, the decode output L8 after address decoding constitutes an AND logic circuit with the reset output of the voltage monitor C1, and its output is connected to the chip select and write enable terminals of the memory. As a result, a reset of the voltage monitoring IC1 due to a voltage drop is output, and writing to the memory is prohibited when a reset of the voltage monitoring IC2 is not output.

このため、マイクロプロセッサがリセット状態でバスが
ハイインピーダンスの時の外来ノイズによるメモリへの
誤ったデータの書込みを防ぐことができる。また、電源
供給後のアクセスタイムが長いメモリ等に対して、充分
なアクセスタイムを確保することができる。
Therefore, it is possible to prevent erroneous data from being written to the memory due to external noise when the microprocessor is in a reset state and the bus is at high impedance. Furthermore, sufficient access time can be ensured for a memory or the like that requires a long access time after power supply.

さらに、第2図では電圧監視IC2の出力でメモリの電
源を投入、しゃ断しているが、これをメモリのコントロ
ール信号であるチップイネーブル、あるいは、ライトイ
ネーブルなどをコントロールしても同様の効果が得られ
る。
Furthermore, in Figure 2, the power to the memory is turned on and off by the output of the voltage monitoring IC2, but the same effect can be obtained by controlling this with the memory control signal, such as chip enable or write enable. It will be done.

〔発明の効果〕〔Effect of the invention〕

本発明によれば低い電圧でデジタルシステムをリセット
できるので、電源電圧の立上りおよび立下り時の誤動作
を防ぐことができる。また、動作電圧の低い電圧監視I
Cのリセット出力でメモリの書き込みを防ぐことにより
、マイクロプロセッサのリセット後の誤動作を防ぐこと
ができる。
According to the present invention, since the digital system can be reset with a low voltage, malfunctions at the rise and fall of the power supply voltage can be prevented. In addition, voltage monitoring I with low operating voltage
By preventing memory writing with the reset output of C, malfunctions of the microprocessor after being reset can be prevented.

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

第1図と第2図は本発明の一実施例のブロック図、第3
図は第工図のリセットタイミングの説明図、第4図は第
2図のリセットタイミングの説明図を示す。 1・・電圧監視ICI、2・・・電圧監視IC2,3・
・マイクロプロセッサ、4・・・デコード回路、5・・
・メモリ、L6・・・リセット信号、L7・・・データ
バス、7
1 and 2 are block diagrams of one embodiment of the present invention, and FIG. 3 is a block diagram of an embodiment of the present invention.
FIG. 4 is an explanatory diagram of the reset timing of FIG. 2, and FIG. 4 is an explanatory diagram of the reset timing of FIG. 2. 1... Voltage monitoring ICI, 2... Voltage monitoring IC2, 3...
・Microprocessor, 4...Decoding circuit, 5...
・Memory, L6...Reset signal, L7...Data bus, 7

Claims (1)

【特許請求の範囲】 1、電気検出手段と、前記電圧検出手段の出力によりリ
セット信号を発生するリセット信号発生手段とよりなる
リセット発生回路と、前記リセット発生回路の出力で初
期状態となるデジタルICより成るデジタルシステムに
おいて、 前記電圧検出手段あるいは前記リセット信号発生手段の
少なくともどちらか一方を複数個設けたことを特徴とす
るデジタルシステムのリセット回路。 2、請求項1において、複数個設けた前記電圧検出手段
の検出電圧が異なるデジタルシステムのリセット回路。 3、請求項1において、複数個設けた前記リセット信号
発生手段のリセット信号のパルス幅が異なるデジタルシ
ステムのリセット回路。 4、請求項1において、複数個設けた前記リセット発生
回路の動作電源電圧が異なるデジタルシステムのリセッ
ト回路。
[Scope of Claims] 1. A reset generation circuit including an electrical detection means and a reset signal generation means that generates a reset signal based on the output of the voltage detection means, and a digital IC that is brought into an initial state by the output of the reset generation circuit. A reset circuit for a digital system, characterized in that a plurality of at least one of the voltage detection means and the reset signal generation means is provided in the digital system. 2. The reset circuit for a digital system according to claim 1, wherein the plurality of voltage detecting means detect different voltages. 3. The reset circuit for a digital system according to claim 1, wherein the reset signals of the plurality of reset signal generating means have different pulse widths. 4. The reset circuit for a digital system according to claim 1, wherein a plurality of said reset generation circuits have different operating power supply voltages.
JP2053672A 1990-03-07 1990-03-07 Reset circuit for digital system Pending JPH03256108A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2053672A JPH03256108A (en) 1990-03-07 1990-03-07 Reset circuit for digital system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2053672A JPH03256108A (en) 1990-03-07 1990-03-07 Reset circuit for digital system

Publications (1)

Publication Number Publication Date
JPH03256108A true JPH03256108A (en) 1991-11-14

Family

ID=12949324

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2053672A Pending JPH03256108A (en) 1990-03-07 1990-03-07 Reset circuit for digital system

Country Status (1)

Country Link
JP (1) JPH03256108A (en)

Similar Documents

Publication Publication Date Title
JPH06103748A (en) Power control circuit for ic memory card
JP2003022670A (en) Semiconductor integrated circuit
JP3076239B2 (en) On-board writing control method
JPH03256108A (en) Reset circuit for digital system
JPH0822422A (en) Memory device
JPH04258885A (en) Semiconductor memory device
US6861769B1 (en) Apparatus and method for protection of an electronic circuit
JPH054039Y2 (en)
JPH11119876A (en) Storage circuit and information processor with backup function
JPS5850409Y2 (en) information processing equipment
JP3009236B2 (en) Hot maintenance of devices
JP2879400B2 (en) Switch reset circuit
JP2871186B2 (en) Microcomputer
JP4854121B2 (en) IIC bus control circuit
JPH0430720Y2 (en)
JP2580673B2 (en) Power control device
KR890001224B1 (en) Reset and data protecting circuit
KR100344803B1 (en) Slave IC resetting method in TV system
JP2001203324A (en) Integrated circuit and method for controlling its operation
JPH0436426B2 (en)
JPS638954A (en) Erroneous writing preventing device to nonvolatile memory
JPH10171936A (en) Pc card
JPH03113524A (en) Battery back-up control circuit for cmos memory
JPH039487B2 (en)
JPS6359167B2 (en)