JPH06150029A - Reset controller - Google Patents

Reset controller

Info

Publication number
JPH06150029A
JPH06150029A JP4317905A JP31790592A JPH06150029A JP H06150029 A JPH06150029 A JP H06150029A JP 4317905 A JP4317905 A JP 4317905A JP 31790592 A JP31790592 A JP 31790592A JP H06150029 A JPH06150029 A JP H06150029A
Authority
JP
Japan
Prior art keywords
level
power supply
state
reset
microcomputer
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
JP4317905A
Other languages
Japanese (ja)
Inventor
Mitsuyoshi Nakajima
三善 中島
Naotaka Kihara
直貴 木原
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 Microcomputer System Ltd
Hitachi Ltd
Original Assignee
Hitachi Microcomputer System Ltd
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 Microcomputer System Ltd, Hitachi Ltd filed Critical Hitachi Microcomputer System Ltd
Priority to JP4317905A priority Critical patent/JPH06150029A/en
Publication of JPH06150029A publication Critical patent/JPH06150029A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To provide the reset controller which can change the reset cycle of a microcomputer corresponding to the power supply voltage lowering state of the microcomputer. CONSTITUTION:This controller is provided with an order circuit 12 for comparing a stablized power supply voltage level with reference levels Hth and Lth by voltage monitor circuits 10 and 11 and for deciding a first state in which the power supply voltage level is higher than the relatively higher level Hth, a second state in which the power supply voltage level is lower than the level Hth, and a third state in which the power supply voltage level is lower than the relatively lower level Lth, when the decided result is transited between the first state and the second state, a microcomputer 1 is reset in a cycle corresponding to the cycle of the second state and when the judged result is transited while including the third state as well, the microcomputer 1 is reset while exceeding a cycle corresponding to the cycles of second and third states.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータシ
ステムに適用されるリセット制御装置に係り、例えば自
動車のエンジン制御システムなど安全性が重要視される
マイクロコンピュータシステムに利用して有効な技術に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a reset control device applied to a microcomputer system, and more particularly to a technique effective for use in a microcomputer system in which safety is important, such as an automobile engine control system. is there.

【0002】[0002]

【従来の技術】従来、マイクロコンピュータシステムの
ために電源制御用ICが提供されている。斯る電源制御
用ICは、マイクロコンピュータへ安定化電源を供給す
る回路や、マイクロコンピュータのプログラムの異常ル
ープや暴走を監視する回路を備え、暴走検出時にはマイ
クロコンピュータをリセット状態にし、また電源投入時
には発振回路などの内部回路の動作状態が安定化するた
めに必要な一定期間リセット状態(パワーオンリセッ
ト)を保持するための信号を出力する。このような電源
制御用ICについて記載された文献の例としては、昭和
62年3月に株式会社日立製作所発行の「HD6301
Y0、HD6303Yアプリケーションノート ハード
ウエア編」第232頁〜第233頁がある。
2. Description of the Related Art Conventionally, a power supply control IC has been provided for a microcomputer system. Such a power supply control IC includes a circuit that supplies a stabilized power supply to a microcomputer and a circuit that monitors an abnormal loop or runaway of a program of the microcomputer. When a runaway is detected, the microcomputer is reset and when the power is turned on. It outputs a signal for holding the reset state (power-on reset) for a certain period necessary for stabilizing the operating state of the internal circuit such as the oscillation circuit. An example of a document describing such a power supply control IC is "HD6301" issued by Hitachi, Ltd. in March 1987.
Y0, HD6303Y Application Note: Hardware Edition ”, pages 232 to 233.

【0003】さらに上記に加えてマイクロコンピュータ
の電源電圧を監視し、規定電圧以下になった場合もマイ
クロコンピュータをリセット状態にする必要のあること
を本発明者は見出した。マイクロコンピュータの電源電
圧が規定電圧以下になった場合、例えば、マイクロコン
ピュータのレジスタなどの内容を別の記憶装置(例えば
SRAMなど)に格納させたりした後、マイクロコンピ
ュータを初期化するという手順でマイクロコンピュータ
システムの誤動作を防止する。そのためには、上記した
従来の電源制御用ICに加え、電源電圧を監視するため
のICもしくはトランジスタなどのディスクリートデバ
イスで構成した回路を追加することができる。
Further, in addition to the above, the present inventor has found that it is necessary to monitor the power supply voltage of the microcomputer and put the microcomputer in the reset state even when the voltage falls below a specified voltage. When the power supply voltage of the microcomputer becomes equal to or lower than the specified voltage, for example, after the contents of the register of the microcomputer are stored in another storage device (such as SRAM), the microcomputer is initialized by a procedure. Prevent malfunction of computer system. For that purpose, in addition to the conventional power supply control IC described above, an IC for monitoring the power supply voltage or a circuit composed of a discrete device such as a transistor can be added.

【0004】このとき、電源投入時はパワーオンリセッ
トを行うので、電源電圧が瞬間的に規定電圧以下になっ
た場合にも、電源投入時と同様にマイクロコンピュータ
を一定期間パワーオンリセット状態に保持することがで
きる。
At this time, since the power-on reset is performed when the power is turned on, the microcomputer is kept in the power-on reset state for a certain period as in the case where the power is turned on even when the power supply voltage momentarily becomes lower than the specified voltage. can do.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、マイク
ロコンピュータの電源電圧が規定電圧以下になったと
き、どのような場合にも、電源投入時と同様のパワーオ
ンリセットを行っていたのでは、パワーオンリセットが
行われる比較的長い期間において、マイクロコンピュー
タは対象システムを実質的に制御することができない。
例えば、自動車のエンジン制御システムやブレーキ制御
システムなどの車載のマイクロコンピュータシステムに
おいて、マイクロコンピュータがリセット状態となった
期間は、エンジンやブレーキに対する実質的な制御を行
うことができない。そのような制御休止期間は絶対的に
は短い時間であるが、システムの安全性や操作性に万全
を期するには、斯る実質的な制御不能期間は短いほど望
ましい。この点において本発明者は、マイクロコンピュ
ータの電源電圧低下の状態判別を行い、必要な場合にだ
けパワーオンリセットのような比較的長い期間に亘って
リセット状態を維持して、システムの安全性や操作性に
万全を期することの必要性を見出した。
However, when the power supply voltage of the microcomputer becomes lower than the specified voltage, the power-on reset similar to that at the time of power-on is performed in any case. During the relatively long period in which the reset is performed, the microcomputer cannot control the target system substantially.
For example, in a vehicle-mounted microcomputer system such as an automobile engine control system or a brake control system, substantial control over the engine and the brake cannot be performed while the microcomputer is in a reset state. Such a control suspension period is absolutely short, but in order to ensure the safety and operability of the system, the shorter the substantial uncontrollable period, the better. In this respect, the present inventor determines the state of the decrease in the power supply voltage of the microcomputer and maintains the reset state for a relatively long period such as power-on reset only when necessary to improve system safety and safety. We have found the necessity of ensuring operability.

【0006】本発明の目的は、マイクロコンピュータの
電源電圧低下状態に応じてマイクロコンピュータのリセ
ット期間を変更できるリセット制御装置を提供すること
にある。
It is an object of the present invention to provide a reset control device capable of changing the reset period of a microcomputer according to the power supply voltage drop state of the microcomputer.

【0007】本発明の前記並びにその他の目的と新規な
特徴は本明細書の記述及び添付図面から明らかになるで
あろう。
The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

【0008】[0008]

【課題を解決するための手段】本願において開示される
発明のうち代表的なものの概要を簡単に説明すれば下記
の通りである。
The outline of the representative one of the inventions disclosed in the present application will be briefly described as follows.

【0009】すなわち、マイクロコンピュータに利用さ
れる電源の電圧レベルを、比較手段にて相互にレベルの
異なる複数の基準レベルと比較し、当該比較結果に基づ
いて、前記比較すべき電源の電圧レベルが、絶対値的な
意味において相対的にレベルの高い基準レベルよりもレ
ベルの高い第1状態、その基準レベルよりもレベルの低
い第2状態、及び絶対値的な意味において相対的にレベ
ルの低い基準レベルよりもレベルが低い第3状態を判定
可能な判定手段を設け、その判定手段による判定結果が
第1条状態と第2状態との間を推移する場合当該第2状
態の期間に応ずる期間を以ってマイクロコンピュータの
リセット信号をリセット指示レベルに維持し、判定手段
による判定結果が第3状態をも含んで推移する場合には
第2及び第3状態の期間に応ずる期間を越えて前記リセ
ット信号をリセット指示レベルに維持するリセット信号
生成手段を採用する。
That is, the voltage level of the power supply used in the microcomputer is compared with a plurality of reference levels having different levels by the comparison means, and the voltage level of the power supply to be compared is determined based on the comparison result. A first state having a higher level than the reference level having a relatively higher level in the absolute sense, a second state having a lower level than the reference level, and a reference having a lower level in the absolute sense When the determination means capable of determining the third state whose level is lower than the level is provided and the determination result by the determination means transits between the first state and the second state, the period corresponding to the period of the second state is set. Accordingly, the reset signal of the microcomputer is maintained at the reset instruction level, and when the determination result by the determination means changes including the third state, the second and third states Beyond period to comply in time to adopt the reset signal generating means for maintaining said reset signal to the reset instruction level.

【0010】安定化電源回路を内蔵するとき、前記比較
手段は、外部電源又は出力すべき安定化電源の電圧レベ
ルを比較対象とすることができる。
When the stabilized power supply circuit is built in, the comparison means can compare the voltage level of the external power supply or the stabilized power supply to be output.

【0011】マイクロコンピュータの異常ループや暴走
を監視する機能も付加するには、マイクロコンピュータ
のプログラムランニングパルス信号の所定周期毎に計数
動作がリセットされ、その計数動作のオーバーフローに
よって、リセット信号を生成するウォッチドッグタイマ
を設ける。
In order to add a function of monitoring an abnormal loop or runaway of the microcomputer, the counting operation is reset at every predetermined cycle of the program running pulse signal of the microcomputer, and the reset signal is generated by the overflow of the counting operation. Provide a watchdog timer.

【0012】[0012]

【作用】上記した手段によれば、リセット信号生成手段
は、比較手段の比較結果に基づいて判別手段が判別した
マイクロコンピュータの電源電圧低下の状態に応じて、
マイクロコンピュータのリセット期間を変更可能とす
る。このことは、マイクロコンピュータの電源電圧が瞬
間的に規定電圧以下になった場合でも、電源投入時と同
様にマイクロコンピュータをパワーオンリセット状態に
維持することなく、速やかにマイクロコンピュータの再
起動を可能に作用し、以って、必要な場合にだけパワー
オンリセットのような比較的長い期間に亘ってリセット
状態を維持して、システムの安全性や操作性に万全を期
する。
According to the above means, the reset signal generating means is responsive to the power supply voltage drop state of the microcomputer determined by the determining means based on the comparison result of the comparing means.
The reset period of the microcomputer can be changed. This means that even if the power supply voltage of the microcomputer momentarily drops below the specified voltage, it is possible to restart the microcomputer promptly without maintaining the power-on reset state as in the case of turning on the power. Therefore, only when necessary, the reset state is maintained for a relatively long period such as power-on reset to ensure the safety and operability of the system.

【0013】[0013]

【実施例】図1には本発明に係るリセット制御装置の一
実施例が示される。
FIG. 1 shows an embodiment of a reset control device according to the present invention.

【0014】同図において1はマイクロコンピュータシ
ステムを全体的に制御するための半導体集積回路化され
たマイクロコンピュータ、2は本実施例のリセット制御
装置であり、その他の周辺回路は図示を省略してある。
本実施例のリセット制御装置2は、特に制限されない
が、公知の半導体集積回路製造技術により、単結晶シリ
コンのような1個の半導体基板に形成されている。部分
的に図示されたマイクロコンピュータシステムは、特に
制限されないが、自動車のエンジン制御システムやブレ
ーキ制御システムのように制御対象機器の安全並びに操
作性が要求されるシステムである。リセット制御装置2
は、外部電源スイッチ3を介して12Vのバッテリーの
ような外部電源4が供給される電源端子5、5Vのよう
な安定化電源を出力する電源端子6、リセット信号RE
Sの出力端子7、及びプログラムランニングパルス信号
PRPのような周期信号の入力端子8を備える。前記安
定化電源は外部電源を入力する安定化電源回路9にて形
成される。この安定化電源回路9は、特に制限されない
が、公知のシリーズレギュレータやスイッチングレギュ
レータで構成することができる。前記リセット信号RE
Sはマイクロコンピュータ1のリセット端子70に供給
される。プログラムランニングパルス信号PRPはマイ
クロコンピュータ1の所定のポート80から出力され
る。電源制御回路2は、電源監視のために、2個の電圧
監視回路10,11、順序回路12、及びリセット信号
出力制御回路13を備え、また、マイクロコンピュータ
21の暴走若しくは異常ループを監視するためにウォッ
チドッグタイマ14を有する。
In FIG. 1, reference numeral 1 is a microcomputer integrated into a semiconductor circuit for overall control of a microcomputer system, 2 is a reset control device of this embodiment, and other peripheral circuits are omitted. is there.
Although not particularly limited, the reset control device 2 of the present embodiment is formed on one semiconductor substrate such as single crystal silicon by a known semiconductor integrated circuit manufacturing technique. Although not particularly limited, the microcomputer system partially shown is a system such as an engine control system or a brake control system of an automobile, which requires safety and operability of controlled equipment. Reset control device 2
Is a power supply terminal 5 to which an external power supply 4 such as a 12 V battery is supplied via the external power supply switch 3, a power supply terminal 6 for outputting a stabilized power supply such as 5 V, and a reset signal RE.
The S output terminal 7 and the input terminal 8 for the periodic signal such as the program running pulse signal PRP are provided. The stabilized power supply is formed by a stabilized power supply circuit 9 which inputs an external power supply. The stabilized power supply circuit 9 may be composed of a known series regulator or switching regulator, although not particularly limited. The reset signal RE
S is supplied to the reset terminal 70 of the microcomputer 1. The program running pulse signal PRP is output from a predetermined port 80 of the microcomputer 1. The power supply control circuit 2 includes two voltage monitoring circuits 10 and 11, a sequential circuit 12, and a reset signal output control circuit 13 for power supply monitoring, and also for monitoring a runaway or abnormal loop of the microcomputer 21. Has a watchdog timer 14.

【0015】前記電圧監視回路10,11は、電源端子
6から出力すべき安定化電源の電圧レベルを、相互にレ
ベルの異なる複数の基準レベル(電圧監視レベルとも記
す)と比較する比較手段を構成し、例えば、一方の電圧
監視回路10は安定化電源の電圧レベルの2/3の電圧
レベルを基準レベル(Hth)とし、他方の電圧監視回
路11は安定化電源の電圧レベルの1/3の電圧レベル
を基準レベル(Lth)とし、入力が基準レベル以下の
状態で比較結果を論理”1”とする。
The voltage monitoring circuits 10 and 11 constitute a comparison means for comparing the voltage level of the stabilized power supply to be output from the power supply terminal 6 with a plurality of reference levels (also referred to as voltage monitoring levels) having mutually different levels. However, for example, one voltage monitoring circuit 10 sets the voltage level of 2/3 of the voltage level of the stabilized power supply as the reference level (Hth), and the other voltage monitoring circuit 11 sets the voltage level of 1/3 of the voltage level of the stabilized power supply. The voltage level is set to the reference level (Lth), and the comparison result is set to logic "1" when the input is below the reference level.

【0016】前記順序回路12は、前記電圧監視回路1
0,11による比較結果を入力し、安定化電源の電圧レ
ベルが、絶対値的な意味において前記基準レベルレベル
Hthよりもレベルの高い第1状態、その基準レベルH
thよりもレベルの低い第2状態、絶対値的な意味にお
いて前記基準レベルLthよりもレベルの低い第3状態
を判定する。本実施例に従えば、双方の電圧監視回路1
0,11の出力が論理”1”のとき前記第1状態、一方
の電圧監視回路10の出力だけが論理”1”のとき前記
第2状態、双方の電圧監視回路10,11の出力が論
理”1”のとき前記第3状態と判定する。
The sequential circuit 12 includes the voltage monitoring circuit 1
When the comparison result of 0 and 11 is input, the voltage level of the stabilized power supply is higher than the reference level level Hth in the absolute value sense.
The second state whose level is lower than th and the third state whose level is lower than the reference level Lth in the absolute value sense are determined. According to this embodiment, both voltage monitoring circuits 1
When the outputs of 0 and 11 are logic "1", the first state, when the output of only one voltage monitoring circuit 10 is logic "1", the second state, the outputs of both voltage monitoring circuits 10 and 11 are logic When it is "1", it is determined to be the third state.

【0017】前記リセット信号出力制御回路13は、順
序回路12による判定結果が第1条状態と第2状態との
間を推移する場合当該第2状態の期間に応ずる期間を以
ってマイクロコンピュータのリセット信号RESをリセ
ット指示レベルに維持し、順序回路12による判定結果
が第3状態をも含んで推移する場合には第2及び第3状
態の期間に応ずる期間を越えて前記リセット信号RES
をリセット指示レベルに維持する。すなわち、図2にも
示されるように、安定化電源の電圧レベルが第2状態を
経て再度規定電圧レベルに戻るときは、その第2の状態
の期間中にリセット信号RESをリセットイネーブルレ
ベル(本実施例に従えばローレベル)にする。図2にお
いて斯る第2状態の期間に応ずるマイクロコンピュータ
の状態は単にリセットと記されている。安定化電源の電
圧レベルが第3の状態を含んで推移したときは、安定化
電源の電圧レベルが規定電圧レベルに戻っても、第2状
態の期間はもとよりその後第1状態に復帰した一定期間
更にリセット信号をリセットネーブルレベルに維持す
る。図2において斯る第2状態から第1状態に復帰した
後の一定期間に応ずるマイクロコンピュータの状態は単
にパワーオンリセットと記されている。
The reset signal output control circuit 13 has a period corresponding to the period of the second state when the determination result by the sequential circuit 12 transits between the first state and the second state. When the reset signal RES is maintained at the reset instruction level and the determination result by the sequential circuit 12 changes including the third state, the reset signal RES is exceeded beyond the period corresponding to the periods of the second and third states.
To the reset instruction level. That is, as shown in FIG. 2, when the voltage level of the stabilized power supply returns to the specified voltage level after passing through the second state, the reset signal RES is reset to the reset enable level (main) during the period of the second state. According to the embodiment, the low level). In FIG. 2, the state of the microcomputer corresponding to the period of the second state is simply described as reset. When the voltage level of the stabilized power supply changes including the third state, even if the voltage level of the stabilized power supply returns to the specified voltage level, not only the period of the second state but also the fixed period of time after which the state returns to the first state. Further, the reset signal is maintained at the reset enable level. In FIG. 2, the state of the microcomputer corresponding to a certain period after returning from the second state to the first state is simply described as power-on reset.

【0018】前記ウォッチドッグタイマ14は、前記入
力端子に供給されるプログラムランニングパルス信号P
RPの所定周期毎に計数動作がリセットされ、その計数
動作のオーバーフローによって、前記リセット端子7か
ら出力すべきリセット信号RESを生成する。プログラ
ムランニングパルス信号PRPは、マイクロコンピュー
タがその動作プログラムの所定ルーチンを実行する毎の
周期を以って変化されるような信号であり、マイクロコ
ンピュータが正常に動作しているときは一定の許容範囲
でその周期が変化されるだけであり、一旦マイクロコン
ピュータに異常ループや暴走を生ずるとその周期が許容
範囲を越えて変化される。ウォッチドッグタイマ14は
その様な周期の変化からマイクロコンピュータ1の処理
に異常ループや暴走を生じたことを検出してマイクロコ
ンピュータをリセットする。尚、ウォッチドッグタイマ
14が出力するリセット信号とリセット信号出力制御回
路13が出力するリセット信号は、例えば論理和ゲート
15を介して外部端子7に与えられる。
The watchdog timer 14 has a program running pulse signal P supplied to the input terminal.
The counting operation is reset every predetermined cycle of RP, and the overflow of the counting operation generates the reset signal RES to be output from the reset terminal 7. The program running pulse signal PRP is a signal that is changed with a cycle every time the microcomputer executes a predetermined routine of its operating program, and has a certain allowable range when the microcomputer is operating normally. Therefore, the cycle is only changed, and once an abnormal loop or runaway occurs in the microcomputer, the cycle is changed beyond the allowable range. The watchdog timer 14 detects that an abnormal loop or runaway has occurred in the processing of the microcomputer 1 from such a change in the cycle and resets the microcomputer. The reset signal output by the watchdog timer 14 and the reset signal output by the reset signal output control circuit 13 are given to the external terminal 7 via the OR gate 15, for example.

【0019】図2には図1に示されるマイクロコンピュ
ータシステムにおける電源電圧低下に伴うリセット動作
の一例タイミングチャートが示される。
FIG. 2 is a timing chart showing an example of the reset operation associated with the power supply voltage drop in the microcomputer system shown in FIG.

【0020】リセット制御装置2に外部電源4から電源
が印加されると、安定化電源回路9の作用によりマイク
ロコンピュータ1へ安定化電源が供給される。このと
き、マイクロコンピュータ1に供給されるべき電源が安
定化電圧まで上昇する過程において、マイクロコンピュ
ータ1の電源電圧は第3状態及び第2状態を推移し、当
該電源電圧が電圧監視回路10に設定された電圧監視レ
ベルHth以上になるまでの期間、リセット信号RES
は、ローレベルとされ、マイクロコンピュータ1はリセ
ットの状態に置かれている。このとき、順序回路12は
第2状態に前に第3状態であったこと認識しているの
で、その電源電圧が電圧監視レベルHth以上になった
時点からある一定期間さらにリセット信号をローレベル
に維持して、マイクロコンピュータ1をパワーオンリセ
ットの状態とする。このパワーオンリセットの期間経過
後、リセット信号RESはハイレベルにされ、マイクロ
コンピュータのリセット状態が解除される。これ以降マ
イクロコンピュータ1はその動作プログラムにしたがっ
て動作を開始する。
When power is applied to the reset control device 2 from the external power supply 4, the stabilizing power supply circuit 9 causes the stabilizing power supply to be supplied to the microcomputer 1. At this time, in the process in which the power to be supplied to the microcomputer 1 rises to the stabilized voltage, the power supply voltage of the microcomputer 1 transits between the third state and the second state, and the power supply voltage is set in the voltage monitoring circuit 10. Reset signal RES until the voltage monitoring level Hth becomes equal to or higher than
Is at a low level and the microcomputer 1 is in a reset state. At this time, since the sequential circuit 12 recognizes that it was in the third state before the second state, the reset signal is further set to the low level for a certain period from the time when the power supply voltage becomes equal to or higher than the voltage monitoring level Hth. Then, the microcomputer 1 is kept in the power-on reset state. After the lapse of the power-on reset period, the reset signal RES is set to the high level and the reset state of the microcomputer is released. After that, the microcomputer 1 starts the operation according to the operation program.

【0021】マイクロコンピュータの動作中に外来ノイ
ズなどの影響でマイクロコンピュータへの電源電圧が低
下して、電圧監視レベルHth以下になるとリセット信
号RESはローレベルにされる(リセットの状態)。こ
のときの電源電圧低下が瞬間的なもので、電圧監視回路
11に設定された電圧監視レベルLth以下にならずに
電源電圧が上昇した場合は、電圧監視レベルHth以上
になった時点でリセット信号RESはハイレベルにされ
る(リセット状態の解除)。
When the power supply voltage to the microcomputer is lowered by the influence of external noise during the operation of the microcomputer and becomes lower than the voltage monitoring level Hth, the reset signal RES is set to the low level (reset state). If the power supply voltage at this time is instantaneously decreased and the power supply voltage rises without falling below the voltage monitoring level Lth set in the voltage monitoring circuit 11, the reset signal is output at the time when the power monitoring voltage rises above the voltage monitoring level Hth. RES is set to high level (reset state is released).

【0022】また、著しい電源電圧低下を生じて、電圧
監視レベルLth以下まで低下した場合には、電源電圧
が第1状態に復帰した後も、電源投入時と同様に電圧判
定レベルHth以上になった時点から一定期間リセット
信号RESがローレベルにされて、マイクロコンピュー
タ1はパワーオンリセットの状態とされる。
When the power supply voltage drops significantly and drops below the voltage monitoring level Lth, the power supply voltage remains above the voltage determination level Hth even after the power supply is restored to the first state. After that, the reset signal RES is set to the low level for a certain period, and the microcomputer 1 is brought into the power-on reset state.

【0023】本実施例によれば以下の作用効果がある。 (1)マイクロコンピュータ1の電源電圧が電圧監視レ
ベルLthまで低下した場合はマイクロコンピュータ1
をリセット並びにパワーオンリセットの状態に制御して
システムの誤動作を完全に防止するが、該電源電圧が電
圧監視レベルLth以下まで低下せずに電圧上昇した場
合はマイクロコンピュータ1をパワーオンリセットの状
態に移行させずに、速やかにリセット状態を解除して、
マイクロコンピュータの制御休止期間を必要最小限とす
る。これによりマイクロコンピュータ1の電源電圧が瞬
間的に規定電圧以下になった場合でも、電源投入時と同
様に一定期間マイクロコンピュータ1をリセット状態に
することなく、速やかにマイクロコンピュータ1の再起
動が可能になる。 (2)上記より自動車のエンジン制御システムやブレー
キ制御システムなどの車載のマイクロコンピュータシス
テムにおいて、制御休止期間が不要に長くなる事態を防
止して、そのシステムの安全性や操作性に万全を期する
ことができる。 (3)上記実施例のリセット制御装置は1個の半導体集
積回路化されている。これと同様の構成を、フリップフ
ロップなどの汎用ロジックICを使用して実現した場合
には、マイクロコンピュータシステムの小型化並びに回
路構成の簡易若しくは回路部品点数の低減という要請に
反し、また、汎用ロジックICを使用して電源電圧低下
の状態判別回路を構成した場合には構成部品点数が多く
なって各部品間の接続が複雑になり、さらに各構成部品
の特性バラツキによってインタフェースタイミングの調
整が困難となる。したがって、単一の半導体集積化され
た本実施例のリセット制御装置は、高い信頼性を以って
マイクロコンピュータのリセット制御を行うことができ
る。
According to this embodiment, there are the following effects. (1) When the power supply voltage of the microcomputer 1 drops to the voltage monitoring level Lth, the microcomputer 1
To prevent the malfunction of the system by controlling the reset state and the power-on reset state, but when the power supply voltage rises without lowering to the voltage monitoring level Lth or less, the microcomputer 1 is in the power-on reset state. Promptly release the reset state without shifting to
Minimize the control pause period of the microcomputer. As a result, even if the power supply voltage of the microcomputer 1 momentarily falls below the specified voltage, the microcomputer 1 can be restarted promptly without having to reset the microcomputer 1 for a certain period of time as when the power is turned on. become. (2) From the above, in a vehicle-mounted microcomputer system such as an automobile engine control system or a brake control system, the situation in which the control suspension period becomes unnecessarily long is prevented, and the safety and operability of the system are ensured. be able to. (3) The reset control device of the above embodiment is made into one semiconductor integrated circuit. If a similar configuration is realized by using a general-purpose logic IC such as a flip-flop, it goes against the demands for downsizing the microcomputer system and simplifying the circuit configuration or reducing the number of circuit parts. When an IC is used to configure a power supply voltage drop state determination circuit, the number of components becomes large and the connections between components become complicated, and it is difficult to adjust interface timing due to variations in the characteristics of each component. Become. Therefore, the single semiconductor integrated reset control device of this embodiment can perform the reset control of the microcomputer with high reliability.

【0024】以上本発明者によってなされた発明を実施
例に基づいて具体的に説明したが、本発明はそれに限定
されるものではなく、その要旨を逸脱しない範囲におい
て種々変更可能であることは言うまでもない。
Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited thereto, and needless to say, various modifications can be made without departing from the scope of the invention. Yes.

【0025】例えば、3種類以上の電圧監視レベルを設
けて安定化前の電圧を監視する構成にも適用することが
できる。また、電源電圧低下の第1乃至第3状態の判別
は、直接電圧レベルを判定する他、一つの電圧判定レベ
ル以下になっている時間の長短によって擬似的に第1状
態乃至第3状態を判別することも可能である。また、電
源電圧の変動要因が専らバッテリーのような外部電源に
ある場合、比較すべき電源電圧を外部電源電圧としても
よい。本発明のリセット制御装置は上記実施例のような
専用の単体LSIとして構成されるものに限定されず、
マイクロコンピュータに内蔵してもよい。この場合に安
定化電源回路は外付けにする。
For example, the present invention can be applied to a configuration in which three or more types of voltage monitoring levels are provided and the voltage before stabilization is monitored. In addition, the first to third states of the power supply voltage drop are determined by directly determining the voltage level, and pseudo determining the first to third states based on the length of time that the voltage is below one voltage determination level. It is also possible to do so. Further, when the fluctuation factor of the power supply voltage is exclusively due to the external power supply such as a battery, the power supply voltage to be compared may be the external power supply voltage. The reset control device of the present invention is not limited to the one configured as a dedicated single LSI as in the above embodiment,
It may be built in the microcomputer. In this case, the stabilized power supply circuit is externally attached.

【0026】以上の説明では主として本発明者によって
なされた発明をその背景となった利用分野である車載の
マイクロコンピュータシステムに適用した場合について
説明したが、その他各種マイクロコンピュータシステム
に適用することができる。本発明は、少なくともマイク
ロコンピュータの電源電圧低下状態に応じてマイクロコ
ンピュータのリセット期間を変更する条件のものに適用
できる。
In the above description, the case where the invention made by the present inventor is mainly applied to the vehicle-mounted microcomputer system which is the background field of application has been described, but it can be applied to other various microcomputer systems. . The present invention can be applied at least under the condition that the reset period of the microcomputer is changed according to the power supply voltage drop state of the microcomputer.

【0027】[0027]

【発明の効果】本願において開示される発明のうち代表
的なものによって得られる効果を簡単に説明すれば下記
の通りである。
The effects obtained by the typical ones of the inventions disclosed in the present application will be briefly described as follows.

【0028】(1)リセット信号生成手段は、比較手段
の比較結果に基づいて判別手段が判別したマイクロコン
ピュータの電源電圧低下の状態に応じて、マイクロコン
ピュータのリセット期間を変更可能とするから、マイク
ロコンピュータの電源電圧が瞬間的に規定電圧以下にな
った場合でも、電源投入時と同様にマイクロコンピュー
タをパワーオンリセット状態に維持することなく、速や
かにマイクロコンピュータの再起動を可能にできる。 (2)これにより、必要な場合にだけパワーオンリセッ
トのような比較的長い期間に亘ってリセット状態が維持
され、マイクロコンピュータシステムにおける制御休止
期間が不要に長くされず、システムの安全性や操作性に
万全を期することができる。 (3)半導体集積回路化されているので、高い信頼性を
以ってマイクロコンピュータのリセット制御を行うこと
ができる。 (4)ウォッチドッグタイマを更に内蔵することによ
り、マイクロコンピュータの異常ループや暴走を監視す
る機能も実現できる。
(1) The reset signal generating means can change the reset period of the microcomputer according to the state of the power supply voltage drop of the microcomputer judged by the judging means based on the comparison result of the comparing means. Even when the power supply voltage of the computer instantaneously becomes equal to or lower than the specified voltage, it is possible to promptly restart the microcomputer without maintaining the microcomputer in the power-on reset state as when the power is turned on. (2) As a result, the reset state is maintained for a comparatively long period such as a power-on reset only when necessary, and the control pause period in the microcomputer system is not unnecessarily lengthened, thereby ensuring system safety and operation. You can take full care of your sex. (3) Since the semiconductor integrated circuit is used, the reset control of the microcomputer can be performed with high reliability. (4) By further incorporating a watchdog timer, a function of monitoring an abnormal loop or runaway of the microcomputer can be realized.

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

【図1】本発明に係るリセット制御装置の一実施ブロッ
ク図である。
FIG. 1 is a block diagram of an embodiment of a reset control device according to the present invention.

【図2】図1に示されるマイクロコンピュータシステム
における電源電圧低下に伴うリセット動作の一例タイミ
ングチャートである。
FIG. 2 is a timing chart showing an example of a reset operation associated with a decrease in power supply voltage in the microcomputer system shown in FIG.

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

1 マイクロコンピュータシステム 2 リセット制御装置 5 電源端子 6 電源端子 9 安定化電源回路 10,11 電圧監視回路 Hth,Lth 電圧監視レベル 12 順序回路 13 リセット信号出力制御回路 14 ウォッチドッグタイマ RES リセット信号 PRP プログラムランニングパルス信号 1 Microcomputer System 2 Reset Control Device 5 Power Supply Terminal 6 Power Supply Terminal 9 Stabilized Power Supply Circuit 10, 11 Voltage Monitoring Circuit Hth, Lth Voltage Monitoring Level 12 Sequence Circuit 13 Reset Signal Output Control Circuit 14 Watchdog Timer RES Reset Signal PRP Program Running Pulse signal

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 マイクロコンピュータに利用される電源
の電圧レベルを、相互にレベルの異なる複数の基準レベ
ルと比較する比較手段と、 前記比較手段の比較結果に基づいて、前記比較すべき電
源の電圧レベルが、絶対値的な意味において相対的にレ
ベルの高い基準レベルよりもレベルの高い第1状態、そ
の基準レベルよりもレベルの低い第2状態、及び絶対値
的な意味において、相対的にレベルの低い基準レベルよ
りもレベルの低い第3状態を判定可能な判定手段と、 その判定手段による判定結果が第1状態と第2状態との
間を推移する場合当該第2状態の期間に応ずる期間を以
ってマイクロコンピュータのリセット信号をリセット指
示レベルに維持し、判定手段による判定結果が第3状態
をも含んで推移する場合には第2及び第3状態の期間に
応ずる期間を越えて前記リセット信号をリセット指示レ
ベルに維持するリセット信号生成手段とを、1個の半導
体基板に含んで成るものであることを特徴とするリセッ
ト制御装置。
1. A comparison means for comparing a voltage level of a power supply used in a microcomputer with a plurality of reference levels having mutually different levels, and a voltage of the power supply to be compared based on a comparison result of the comparison means. The level is a first state having a higher level than the reference level having a relatively higher level in the absolute sense, a second state having a lower level than the reference level, and a relatively level in the absolute sense. Determination means capable of determining the third state having a level lower than the low reference level, and when the determination result by the determination means transits between the first state and the second state, the period corresponding to the period of the second state. Accordingly, the reset signal of the microcomputer is maintained at the reset instruction level, and when the determination result by the determination unit changes including the third state, the second and third states Reset control and wherein the the reset signal generating means for maintaining the reset instruction level the reset signal over a period of meeting between are those comprising on a single semiconductor substrate.
【請求項2】 外部電源を受け、これを安定化して出力
する安定化電源回路を更に備え、前記比較手段は、外部
電源又は出力すべき安定化電源の電圧レベルを、相互に
レベルの異なる複数の基準レベルと比較するものである
ことを特徴とする請求項1記載のリセット制御装置。
2. A stabilizing power supply circuit which receives an external power supply and stabilizes and outputs the external power supply, wherein the comparison means has a plurality of voltage levels of the external power supply or the stabilized power supply to be output, which are different in level from each other. The reset control device according to claim 1, wherein the reset control device compares the reset control device with the reference level.
【請求項3】 マイクロコンピュータシステムのプログ
ラムランニングパルス信号の所定周期毎に計数動作がリ
セットされ、その計数動作のオーバーフローに基づいて
マイクロコンピュータのリセット信号を生成するウォッ
チドッグタイマを更に含んで成るものであることを特徴
とする請求項1又は2記載のマイクロコンピュータシス
テムのリセット制御装置。
3. A watchdog timer for resetting the counting operation every predetermined period of the program running pulse signal of the microcomputer system, and for generating a reset signal for the microcomputer based on the overflow of the counting operation. 3. The reset control device for a microcomputer system according to claim 1, wherein the reset control device is provided.
JP4317905A 1992-11-02 1992-11-02 Reset controller Withdrawn JPH06150029A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4317905A JPH06150029A (en) 1992-11-02 1992-11-02 Reset controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4317905A JPH06150029A (en) 1992-11-02 1992-11-02 Reset controller

Publications (1)

Publication Number Publication Date
JPH06150029A true JPH06150029A (en) 1994-05-31

Family

ID=18093365

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4317905A Withdrawn JPH06150029A (en) 1992-11-02 1992-11-02 Reset controller

Country Status (1)

Country Link
JP (1) JPH06150029A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002177483A (en) * 2000-12-19 2002-06-25 Newgin Corp Pachinko game machine
EP1973224A2 (en) 2007-03-06 2008-09-24 Funai Electric Co., Ltd. Plasma television set and power supply circuit
JP2008234484A (en) * 2007-03-22 2008-10-02 Fujitsu Ltd Reset circuit and system
US8941421B2 (en) 2012-09-26 2015-01-27 Renesas Electronics Corporation Semiconductor device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002177483A (en) * 2000-12-19 2002-06-25 Newgin Corp Pachinko game machine
EP1973224A2 (en) 2007-03-06 2008-09-24 Funai Electric Co., Ltd. Plasma television set and power supply circuit
JP2008234484A (en) * 2007-03-22 2008-10-02 Fujitsu Ltd Reset circuit and system
US8941421B2 (en) 2012-09-26 2015-01-27 Renesas Electronics Corporation Semiconductor device
US9236858B2 (en) 2012-09-26 2016-01-12 Renesas Electronics Corporation Semiconductor device

Similar Documents

Publication Publication Date Title
US5451892A (en) Clock control technique and system for a microprocessor including a thermal sensor
KR100277247B1 (en) How to optimize your processor and its performance
US7467318B2 (en) Adaptive temperature dependent feedback clock control system and method
JP4125370B2 (en) Method and apparatus for enhancing processor performance
US7930575B2 (en) Microcontroller for controlling power shutdown process
JPH06150029A (en) Reset controller
WO2009107108A1 (en) Clock switching circuits and methods
JP2008518313A (en) Data processing system with variable clock rate
US6664825B2 (en) Reset function incorporated microcomputer
JPS6280716A (en) Reset circuit for backup
US6567930B1 (en) Method and apparatus for controlling writing of flash EEPROM by microcomputer
JPH08339308A (en) Digital processor
JPH07114401A (en) Ram backup circuit
KR100407569B1 (en) Oscillator circuit with oscillation control function
JP3080785B2 (en) System clock selection circuit
US8677164B2 (en) Microcomputer and control method thereof
JP3107052B2 (en) Oscillation level detection circuit of microcomputer drive clock signal
JPS62214419A (en) Arithmatic and control unit
JPH0756774A (en) Watching timer
JPH06138975A (en) Semiconductor
JPS61123916A (en) Microcomputer
JPS5943765B2 (en) semiconductor integrated circuit
KR100304991B1 (en) Switching circuit
JPH04158420A (en) Microcomputer
US7152177B2 (en) Microcomputer and computer system

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