[go: up one dir, main page]

JPH01277915A - Reset circuit for microcomputer - Google Patents

Reset circuit for microcomputer

Info

Publication number
JPH01277915A
JPH01277915A JP63107847A JP10784788A JPH01277915A JP H01277915 A JPH01277915 A JP H01277915A JP 63107847 A JP63107847 A JP 63107847A JP 10784788 A JP10784788 A JP 10784788A JP H01277915 A JPH01277915 A JP H01277915A
Authority
JP
Japan
Prior art keywords
voltage
reset
time
microcomputer
power
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
JP63107847A
Other languages
Japanese (ja)
Inventor
Shigeru Harada
茂 原田
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.)
Sony Corp
Original Assignee
Sony Corp
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 Sony Corp filed Critical Sony Corp
Priority to JP63107847A priority Critical patent/JPH01277915A/en
Publication of JPH01277915A publication Critical patent/JPH01277915A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To effectively operate a reset circuit for a microcomputer by providing a time constant circuit between a battery power source and the power detection input of a reset device and slowly raising and quickly lowering the supply voltage given to the reset device. CONSTITUTION:A time constant circuit 3 is provided between a power input terminal 1 and a reset circuit 6. When a supply voltage VD supplied from the battery power source is given to the reset circuit 6 through the time constant circuit 3, the time constant for charging is small but is large for discharging because a diode D2 connected in parallel with a resistance R2 of the time constant circuit 3 is set in the charging direction of a capacitor C2. Consequently, the input voltage of the reset circuit quickly rises at the time of power-on and slowly falls at the time of a momentary interruption of the supply voltage VD. Thus, the reset circuit for the microcomputer is effectively operated.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロコンピュータ用リセット回路に関し、
特に電池電源で動作させる携帯用の電子機器に用いて好
適なものである。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a reset circuit for a microcomputer;
It is particularly suitable for use in portable electronic devices that operate on battery power.

〔発明の概要〕[Summary of the invention]

電源とリセット手段との間に時定数回路を設け、リセッ
ト手段に与える電源電圧の立下がりを遅く、立上がりを
速くすることにより、電源電圧の瞬断時間が短いときに
はリセットがかからないようにすると共に、電源オン時
にはパワーオンリセ・7トが速くかかるようにしたマイ
クロコンピュータ用リセット回路である。
A time constant circuit is provided between the power supply and the reset means, and by slowing down the fall of the power supply voltage applied to the reset means and making the rise thereof fast, a reset is not applied when the momentary interruption of the power supply voltage is short, and This is a reset circuit for a microcomputer that allows a power-on reset to occur quickly when the power is turned on.

〔従来の技術〕[Conventional technology]

携帯可能な電子機器には電池ボックスが設けられていて
、携帯時には電池ボックス内に電池を入れて電池電源で
動作させる。電池電源で動作させているときに振動や衝
撃等が電子機器に与えられると、それによって電池ボッ
クス内の電池が移動して電池の電極同志、または電池の
電極と電池ボックスの電極用端子とが瞬間的に離れて電
源電圧が瞬断することがある。
Portable electronic devices are equipped with a battery box, and when carried, a battery is inserted into the battery box and the device is operated using battery power. If vibrations, shocks, etc. are applied to an electronic device when it is operated on battery power, the batteries in the battery box may move and cause the battery electrodes to contact each other, or the battery electrodes and the electrode terminals of the battery box to contact each other. The power supply voltage may be interrupted momentarily.

一方、マイクロコンピュータを備えている電子機器には
リセット手段が設けられていて、電源電圧が規定値に立
上がったときにリセット手段からリセット信号を与えて
マイクロコンピュータの動作を開始させる。従って携帯
用でマイクロコンピュータを備えている電子機器を電池
電源を動作させているときに電源電圧が瞬断した場合に
は、そのたびにリセットがかかる。従って、電源電圧が
瞬断してもマイクロコンピュータは暴走しない。
On the other hand, an electronic device equipped with a microcomputer is provided with a reset means, and when the power supply voltage rises to a specified value, a reset signal is applied from the reset means to start the operation of the microcomputer. Therefore, if a power supply voltage is momentarily cut off while a portable electronic device equipped with a microcomputer is operated on battery power, a reset is required each time. Therefore, even if the power supply voltage is momentarily interrupted, the microcomputer will not go out of control.

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

電源電圧の瞬断によって頻繁にリセットがかかると、動
作が中断されて支障が生じることがある。
Frequent resets caused by instantaneous interruptions in the power supply voltage may interrupt operation and cause problems.

即ち、例えば操作状態を記憶している不揮発メモリを持
っていない液晶テレビの場合、リセットがかかるたびに
チャンネルが初期設定値に戻ってしまう。従って、例え
ば初期設定値が1チヤンネルである液晶テレビで6チヤ
ンネルを見ているときにリセットがかかると、6チヤン
ネルから1チヤンネルに変わってしまうことがある。
That is, for example, in the case of a liquid crystal television that does not have a non-volatile memory that stores operating conditions, the channel returns to the initial setting value every time the television is reset. Therefore, for example, if a reset is applied while watching 6 channels on a liquid crystal television whose initial setting is 1 channel, the 6 channels may change to 1 channel.

また電源オン時に諸々の管面表示(初期表示)を行なう
表示装置の場合、この表示が瞬断のたびに行なわれるの
で煩わしくなる。また初期リセットを行なう時間が長い
機器の場合も、リセットが頻繁にかかると使いずらくな
る。
Further, in the case of a display device that displays various screen displays (initial displays) when the power is turned on, this display is performed every time there is a momentary power outage, which is troublesome. Also, in the case of devices that require a long initial reset time, frequent resets can make the device difficult to use.

本発明は上述の問題点にかんがみ、m断時間が短いとき
にはリセットがかからないようにすると共に、電源オン
時にはパワーオンリセットが速くかかるようにすること
を目的とする。
SUMMARY OF THE INVENTION In view of the above-mentioned problems, it is an object of the present invention to prevent a reset from being applied when the interruption time is short, and to quickly perform a power-on reset when the power is turned on.

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

本発明のマイクロコンピュータ用リセット回路は、電池
電源5から与えられる電源電圧V0の立上がりを検出し
てマイクロコンピュータ4をリセットするりセント手段
6と、上記電池1Hi5と上記リセット手段6の電源検
知入力端との間に設けられた時定数回路3とを具備して
いて、上記時定数回路3が抵抗R2とコンデンサC2と
で構成されていると共に、上記コンデンサC2を充電す
るダイオードD2が上記抵抗R2と並列に接続されてい
る。
The microcomputer reset circuit of the present invention detects the rise of the power supply voltage V0 supplied from the battery power supply 5 and resets the microcomputer 4. The time constant circuit 3 is composed of a resistor R2 and a capacitor C2, and a diode D2 that charges the capacitor C2 is connected to the resistor R2. connected in parallel.

〔作用〕[Effect]

電池電源5から供給される電源電圧■。を、時定数回路
3を介してリセット手段6に与える。時定数回路3の抵
抗R2に並列接続されているダイオードD2がコンデン
サC2の充電方向なので、充電の時定数は小さく放電の
時定数は大きい。従ってリセット手段6の入力電圧VI
Nは、電源オン時には急速に立上がると共に、電源電圧
■。の瞬断時には緩やかに立下がるので、リセットがか
かりにくくなる。
Power supply voltage supplied from battery power supply 5■. is applied to the reset means 6 via the time constant circuit 3. Since the diode D2 connected in parallel to the resistor R2 of the time constant circuit 3 is in the charging direction of the capacitor C2, the charging time constant is small and the discharging time constant is large. Therefore, the input voltage VI of the reset means 6
N rises rapidly when the power is turned on, and the power supply voltage ■. During a momentary power failure, the voltage falls slowly, making it difficult to reset.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示すマイクロコンピュータ
用リセット回路の回路図である。電源入力端子1に供給
された電源電圧■。は、電源フィルタ2及び時定数回路
3に与えられる。電源フィルタ2はコンデンサCal、
C4及びコイルL1で構成されていて、電源電圧■。は
この電源フィルタ2で電圧変化がなめらかにされてから
マイクロコンピュータ4の駆動電圧入力端子4aに与え
られる。
FIG. 1 is a circuit diagram of a microcomputer reset circuit showing one embodiment of the present invention. Power supply voltage supplied to power input terminal 1 ■. is given to the power supply filter 2 and the time constant circuit 3. Power filter 2 is a capacitor Cal,
It consists of C4 and coil L1, and the power supply voltage is ■. is applied to the drive voltage input terminal 4a of the microcomputer 4 after the voltage change is smoothed by the power supply filter 2.

時定数回路3は抵抗R2とコンデンサc2とで構成され
ていて、コンデンサCtを充電するダイオードD2が抵
抗R2に並列接続されている。従って時定数回路3の出
力点Bの電圧■8は、電源オン時には急速に立上がり、
電源オフ時には緩やかに立下がる。
The time constant circuit 3 is composed of a resistor R2 and a capacitor c2, and a diode D2 that charges the capacitor Ct is connected in parallel to the resistor R2. Therefore, the voltage 8 at the output point B of the time constant circuit 3 rises rapidly when the power is turned on.
It falls slowly when the power is turned off.

出力点Bの電圧■3が入力電圧VINとしてリセットI
C0Iに与えられる。リセットIC0Iはリセット手段
6として設けられているもので、入力電圧V+Nかりセ
ントIC0Iのスレッシホールド電圧■THを越えると
、ローパスフィルタフに導出する出力電圧■。1を高レ
ベルにする。また入力電圧VINがスレッシホールド電
圧VT)lよりも低下したときに出力電圧■。。、を低
レベルに反転させる。
Voltage at output point B ■3 is reset as input voltage VIN I
Given to C0I. The reset IC0I is provided as a reset means 6, and when the input voltage V+N exceeds the threshold voltage (■TH) of the cent IC0I, the output voltage (■) is derived to the low-pass filter. Set 1 to high level. Also, when the input voltage VIN falls below the threshold voltage VT)l, the output voltage ■. . , inverts to low level.

ローパスフィルタ7はコンデンサC4及び抵抗R1より
成り、リセットIC0Iの出力電圧■。。
The low-pass filter 7 consists of a capacitor C4 and a resistor R1, and the output voltage of the reset IC0I. .

はローパスフィルタ7で電圧変化をなめらかにされてか
らマイクロコンピュータ4のリセット端子4bに与えら
れる。リセット端子4bと駆動電圧入力端子4aとの間
の、即ちローパスフィルタフの出力点りと電源フィルタ
2の出力点Eとの間に保護用ダイオードD1が接続され
ている。この保護膜用ダイオードD、は、例えばゲルマ
ニウムダイオードが用いられていて、上記ローパスフィ
ルタフの抵抗R1が保護用ダイオードD、の負荷になっ
ている。
is applied to the reset terminal 4b of the microcomputer 4 after the voltage change is smoothed by the low-pass filter 7. A protection diode D1 is connected between the reset terminal 4b and the drive voltage input terminal 4a, that is, between the output point of the low-pass filter and the output point E of the power filter 2. For example, a germanium diode is used as the protective film diode D, and the resistor R1 of the low-pass filter serves as a load for the protective diode D.

携帯用の機器には第2図の平面図に示すような電池ボッ
クス8が設けられていて、携帯時にはこの電池ボックス
8に乾電池10を収納して電池電源5で駆動させる。電
池ボックス8にはプラス電極用端子11及びマイナス電
極用端子12が設けられていて、駆動電圧が6■の場合
はこれらの端子11.12間に乾電池10が4個収納さ
れる。
The portable device is provided with a battery box 8 as shown in the plan view of FIG. 2, and when the device is carried, a dry battery 10 is stored in the battery box 8 and the device is driven by the battery power source 5. The battery box 8 is provided with a positive electrode terminal 11 and a negative electrode terminal 12, and four dry batteries 10 are housed between these terminals 11 and 12 when the driving voltage is 6.

電池出力はプラス電極用端子11に接続されている電源
ライン13、及びマイナス電極用端子12に接続されて
いる電源ライン14(アースライン)を介して取り出さ
れ、プラス電圧が電源スィッチ(図示せず)を介して電
源入力端子1に与えられる。
The battery output is taken out via a power line 13 connected to the positive electrode terminal 11 and a power line 14 (earth line) connected to the negative electrode terminal 12, and the positive voltage is taken out via a power switch (not shown). ) to the power input terminal 1.

電池電源5で動作させているときに振動や衝撃等が機器
に与えられると、乾電池10が電池ボックス8内で移動
することかあ・る。この移動時に乾電池10の電極同志
の接触、及び各電極と端子11.12との接触が瞬間的
に離れて電源入力端子1に与えられる電源電圧■。が瞬
断されることがある。
If the device is subjected to vibrations, shocks, etc. while operating on the battery power source 5, the dry battery 10 may move within the battery box 8. During this movement, the contact between the electrodes of the dry battery 10 and the contact between each electrode and the terminals 11 and 12 are momentarily separated, and the power supply voltage ■ is applied to the power input terminal 1. may be interrupted momentarily.

次に、電源電圧■。の瞬断時間が短いときのリセット回
路の動作を、第3図の動作波形を参照しながら説明する
。第3図の時点toにおいて、電源入力端子1に与えら
れている電源電圧VDが瞬断されると、第1図の接続点
Aの電位、即ち電源フィルタ2及び時定数回路3の入力
電圧■、は第3図Aに示すように所定の時定数で降下す
る。
Next, the power supply voltage ■. The operation of the reset circuit when the instantaneous interruption time is short will be explained with reference to the operating waveforms shown in FIG. At time point to in FIG. 3, when the power supply voltage VD applied to the power supply input terminal 1 is momentarily interrupted, the potential at the connection point A in FIG. , falls at a predetermined time constant as shown in FIG. 3A.

抵抗R2と並列に接続されているダイオードD2の極性
はコンデンサC2の充電方向なので、接続点Aの電圧■
、が降下したときにはコンデンサCzの電荷は抵抗R2
を通して放電される。従って時定数回路3の出力点Bの
電圧Vl、即ちリセットIC0Iの入力電圧VINは第
3図Bに示すように、cz xRtの時定数でゆっくり
と降下して行く。
Since the polarity of diode D2 connected in parallel with resistor R2 is in the charging direction of capacitor C2, the voltage at connection point A is
, falls, the charge on capacitor Cz increases to resistor R2
is discharged through. Therefore, the voltage Vl at the output point B of the time constant circuit 3, that is, the input voltage VIN of the reset IC0I, slowly drops with a time constant of cz x Rt, as shown in FIG. 3B.

時点toから時間T1が経過した時点1.において電源
入力端子lに電源電圧■。が供給されると、接続点Aの
電圧vAが第3図Aに示すように上昇して行く。そして
時点itにおいて接続点Aの電圧■、がコンデンサC2
の端子電圧よりも高くなると、コンデンサC!が充電さ
れるようになる。充電時にはダイオードD、を通って充
電電流が流れるので、充電の時定数Ctxt、(rt 
:ダイオードD2の内部抵抗)が小さい。従ってリセッ
)ICOIの入力電圧VINは、第3図Bに示すように
急速に立上がり、時点t、において接続点Aの電圧vA
、即ち電源電圧V、となる。
Time 1 when time T1 has elapsed from time to. At the time, the power supply voltage ■ is applied to the power input terminal l. is supplied, the voltage vA at the connection point A increases as shown in FIG. 3A. At the time it, the voltage at the connection point A is the capacitor C2.
When the terminal voltage of capacitor C! will be charged. During charging, the charging current flows through the diode D, so the charging time constant Ctxt, (rt
: Internal resistance of diode D2) is small. Therefore, the input voltage VIN of ICOI rises rapidly as shown in FIG. 3B, and at time t, the voltage vA of the connection point A
, that is, the power supply voltage V.

瞬間時の電圧降下が緩やかなので瞬断時間T。Since the instantaneous voltage drop is gradual, the instantaneous voltage drop is T.

が短い場合には、第3図Bに示すように入力電圧VIN
がリセットIC0Iのスレッシホールド電圧vT、lを
下回らない。このためリセットIC0Lの出力電圧V。
is short, the input voltage VIN
does not fall below the threshold voltage vT,l of reset IC0I. Therefore, the output voltage V of the reset IC0L.

utは第3図Cに示すように高レベルのまま変化しない
ので、ローパスフィルタフの出力点りの電圧■、は高レ
ベルのまま変化しない。
Since ut remains at a high level and does not change as shown in FIG. 3C, the voltage 2 at the output point of the low-pass filter remains at a high level and does not change.

一方、接続点Aの電圧■、が時点t0からt。On the other hand, the voltage ■ at the connection point A changes from time t0 to t.

の間で低下することにより、電源フィルタ2の出力点E
の電圧V、は第3図已に示すように、接続点Aの電圧■
、の変化をなまらせた波形で変化する。このため瞬断時
間が短い場合は、マイクロコンピュータ4の駆動電圧入
力端子4aに与えられる駆動電圧vDDの電圧降下が小
さくなる。
The output point E of the power supply filter 2 decreases between
The voltage V, is the voltage at the connection point A, as shown in Figure 3.
, changes with a waveform that is a rounded version of the change in . Therefore, when the instantaneous interruption time is short, the voltage drop of the drive voltage vDD applied to the drive voltage input terminal 4a of the microcomputer 4 becomes small.

電源電圧V、が瞬断じたときにE点の電圧vEが下がり
、一方り点の電圧vLが変化しないので、瞬断時にはD
点の電圧■、がE点の電圧■アよりも高くなる。従って
これらの電圧VL、V、をリセット端子4b及び駆動電
圧入力端子4aに直接供給すると、リセット端子4bの
電位が駆動電圧入力端子4aよりも高くなる。この電位
差が例えば0.4■以上になるとマイクロコンピュータ
4の端子入力保護回路が破壊されることがある。実施例
ではローパスフィルタフの出力点りと電源フィルタ2の
出力点Eとの間に、保護用ダイオードD1を接続しであ
る。従ってマイクロコンピュータ4のリセット端子4b
に与えられるリセット入力電圧■8は、 となる。この場合電圧VLは変化しないので、リセット
入力電圧■、は第3図Fに示すように、出力点Eの電圧
VE  (駆動電圧VIlltl)からダイオードD、
の順方向電圧■2だけ上昇した電位(第3図Eにおいて
破線で示す電位)となる。従って駆動電圧入力端子4a
に入力される駆動電圧V。が瞬断時に低下しても、駆動
電圧入力端子4a及びリセット端子4b間の電位差をダ
イオードD、の順方向電圧V、以下に抑えることができ
る。ゲルマニウムダイオードの場合、順方向電圧■、が
0゜3■なので、リセット端子4bの電位は駆動電圧入
力端子4bの電位よりも0.3V以上高くならない。従
って、電源電圧■、の瞬断時に、リセット端子入力電圧
■7の電位を高レベルに保持しておき、リセットがかか
らないようにしてもマイクロコンピュータ4の端子入力
保護回路は破壊されない。なお、このように電源電圧の
瞬断が極く短時間の場合は、マイクロコンピュータ4は
暴走しないのでリセットをかけなくても問題はない。
When the power supply voltage V, is momentarily cut off, the voltage vE at point E decreases, while the voltage vL at point does not change.
The voltage at point ■, becomes higher than the voltage at point E, ■. Therefore, when these voltages VL, V are directly supplied to the reset terminal 4b and the drive voltage input terminal 4a, the potential of the reset terminal 4b becomes higher than that of the drive voltage input terminal 4a. If this potential difference exceeds, for example, 0.4 square meters, the terminal input protection circuit of the microcomputer 4 may be destroyed. In the embodiment, a protection diode D1 is connected between the output point of the low-pass filter and the output point E of the power filter 2. Therefore, the reset terminal 4b of the microcomputer 4
The reset input voltage ■8 applied to is as follows. In this case, since the voltage VL does not change, the reset input voltage ■ is changed from the voltage VE (driving voltage VIlltl) at the output point E to the diode D, as shown in FIG. 3F.
The potential is increased by the forward voltage (2) (the potential indicated by the broken line in FIG. 3E). Therefore, drive voltage input terminal 4a
The drive voltage V input to. Even if V decreases during a momentary interruption, the potential difference between the drive voltage input terminal 4a and the reset terminal 4b can be suppressed to below the forward voltage V of the diode D. In the case of a germanium diode, the forward voltage (2) is 0°3 (2), so the potential of the reset terminal 4b does not become higher than the potential of the drive voltage input terminal 4b by 0.3 V or more. Therefore, the terminal input protection circuit of the microcomputer 4 will not be destroyed even if the potential of the reset terminal input voltage (7) is held at a high level to prevent the reset from occurring during a momentary interruption of the power supply voltage (2). Note that when the instantaneous interruption of the power supply voltage is extremely short like this, the microcomputer 4 does not run out of control, so there is no problem even if the microcomputer 4 is not reset.

次に第4図の動作波形を参照しなから瞬断時間が長いと
きの動作を説明する。第4図の時点t0で瞬断が起きる
と出力点Aの電圧■4は第4図Aに示すように低下して
行き、時点t1においてOVとなる。そして時点t0か
ら時間T2が経過した時点t、において電源入力端子1
に電源電圧■。
Next, the operation when the instantaneous interruption time is long will be explained with reference to the operation waveforms shown in FIG. When a momentary interruption occurs at time t0 in FIG. 4, the voltage 4 at output point A decreases as shown in FIG. 4A, and reaches OV at time t1. Then, at time t, when time T2 has elapsed from time t0, the power input terminal 1
■Power supply voltage.

が供給されると、接続点Aの電圧■、はOVから立上が
って行き、時点t6で電源電圧V、まで上昇する。
When is supplied, the voltage (2) at the connection point A rises from OV, and rises to the power supply voltage V at time t6.

一方、出力点Bの電圧■、及びリセットIC01の入力
電圧VINは、第4図Bに示すように瞬断が起きた時点
t0から放電の時定数C2XR2で降下して行く、この
場合、瞬断時間T2が長いので、時点t2において入力
電圧VINがリセッ)ICOIのスレッシホールド電圧
■THを下回り、出力点Aの電圧■、がコンデンサC2
の端子電圧よりも高くなる時点t4迄降下し続ける。そ
して時点t4においてコンデンサC2が放電されるよう
になると、入力電圧は電源電圧■。と共に急速に上昇し
て行き、時点t、でスレッシホールド電圧V7Hを上回
ると共に、時点t6で接続点Aの電位と同じ電位になる
。リセットIC0Iの入力電圧■1Nはこのように早く
立上がるので、電源オン時にはパワーオンリセットを速
くかけることができる。
On the other hand, as shown in FIG. 4B, the voltage ■ at the output point B and the input voltage VIN of the reset IC01 decrease with the discharging time constant C2XR2 from the time t0 when the instantaneous interruption occurs. Since the time T2 is long, the input voltage VIN is reset at the time t2) below the threshold voltage TH of ICOI, and the voltage at the output point A is the capacitor C2.
The voltage continues to drop until time t4, when it becomes higher than the terminal voltage of . Then, at time t4, when the capacitor C2 starts to be discharged, the input voltage becomes the power supply voltage ■. At time t, it exceeds the threshold voltage V7H, and at time t6 it becomes the same potential as the connection point A. Since the input voltage 1N of the reset IC0I rises quickly in this manner, a power-on reset can be applied quickly when the power is turned on.

入力電圧VINが時点1tから時点t4の間でスレッシ
ホールド電圧VTHを下回るので、リセットICの出力
電圧■。□は第4図Cに示すように時点t2から時点t
、の間で低レベルとなる。従ってローパスフィルタ7か
らは第4図りに示すようにリセットIC0Iの出力電圧
V o u tの電圧変化をなめらかにした波形の出力
電圧■1が得られる。
Since the input voltage VIN falls below the threshold voltage VTH between time 1t and time t4, the output voltage of the reset IC is ■. □ is from time t2 to time t as shown in Figure 4C.
, the level is low between . Therefore, from the low-pass filter 7, as shown in the fourth diagram, an output voltage ■1 having a waveform in which the voltage change of the output voltage V out of the reset IC0I is smoothed is obtained.

一方、電源フィルタ2の出力点Eの出力電圧■。On the other hand, the output voltage at the output point E of the power filter 2 is ■.

は第4図Eに示すように時点t0から下がり始める。こ
の場合、瞬断時間T2が長いので出力点Eの電圧降下が
大きくなる。しかし保護用ダイオードD1を設けである
ので、出力点Eの電圧降下が大きくなってもリセット入
力電圧■8は上記したように出力点Eの電圧■、に対し
て、0.3v以上高くならない。またローパスフィルタ
フの出力電圧■1が電源フィルタ2の出力電圧■、より
も低い期間では(1)式で示したように、ローパスフィ
ルタフの出力電圧■、がリセット端子4bに与えられる
。従ってリセット入力電圧■8は第4図Fに示すように
、出力点Eの電圧■、に追従してなめらかに立下がって
行き、■、≦■□+■□となったときに出力電圧■、の
電圧変化で急速に降下する。また高レベルに立上がると
きには、■。
begins to decrease from time t0 as shown in FIG. 4E. In this case, since the instantaneous interruption time T2 is long, the voltage drop at the output point E becomes large. However, since the protective diode D1 is provided, even if the voltage drop at the output point E becomes large, the reset input voltage (2) 8 will not become higher than the voltage (2) at the output point E by more than 0.3 V as described above. Further, during a period in which the output voltage (1) of the low-pass filter is lower than the output voltage (2) of the power supply filter 2, the output voltage (2) of the low-pass filter is applied to the reset terminal 4b as shown in equation (1). Therefore, as shown in Fig. 4F, the reset input voltage ■8 falls smoothly following the voltage at the output point E, and when ■, ≦■□+■□, the output voltage ■ , it drops rapidly when the voltage changes. Also, when rising to a high level, ■.

≦V、+Vl!の期間で急速に立上がり、その後E点の
電圧■、に追従してゆっくりと立上がって行く。
≦V, +Vl! The voltage rises rapidly during the period , and then rises slowly following the voltage at point E.

このように瞬断時間T2が長い場合にはリセット端子入
力電圧vRを低レベルにしてリセットをかけて、マイク
ロコンピュータ4の暴走を防止することができる。
When the instantaneous interruption time T2 is long as described above, it is possible to prevent the microcomputer 4 from running out of control by setting the reset terminal input voltage vR to a low level and applying a reset.

なおマイクロコンピュータ4がリセット手段6を備えて
いる場合には第5図の回路図に示すように、第1図のリ
セットIC0I及びローパスフィルタフの代りに負荷抵
抗RLを接続すればよい。
If the microcomputer 4 is equipped with a reset means 6, a load resistor RL may be connected in place of the reset IC0I and low-pass filter shown in FIG. 1, as shown in the circuit diagram of FIG.

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

本発明は上述したように、電池電源とリセット手段の電
源検知入力との間に時定数回路を設け、リセット手段に
与える電源電圧の立下がりを遅くしたので、振動等で電
池が移動して電源電圧が瞬断したときに、マイクロコン
ピュータがリセットされにくいようにすることができる
。従って、マイクロコンピュータが暴走しないような短
い瞬断時にはリセットがかからないので安定した動作が
得られる。また電源電圧の立上がりを速くしであるので
、電源瞬断時にリセットがかからないようにしても、電
源オン時にパワーオンリセットがかかるまでの時間が長
くならないようにすることができる。
As described above, in the present invention, a time constant circuit is provided between the battery power supply and the power supply detection input of the reset means, and the fall of the power supply voltage applied to the reset means is delayed, so that the battery is moved by vibration etc. The microcomputer can be made less likely to be reset when the voltage is momentarily cut off. Therefore, stable operation can be achieved because no reset is applied in the event of a short instantaneous interruption that prevents the microcomputer from running out of control. In addition, since the power supply voltage rises quickly, even if the reset is not applied when the power is momentarily cut off, the time required until the power-on reset is applied when the power is turned on can be prevented from becoming long.

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

第1図は本発明の一実施例を示すリセット回路の回路図
、第2図は電池ボックスの平面図、第3図は瞬断時間が
短いときの動作波形図、第4図は瞬断時間が長いときの
動作波形図、第5図は第1図と異なる実施例を示すリセ
ット回路の回路図である。 なお図面に用いられた符号において、 2・−・・−・−・・・・・−・・−電源フィルタ3・
−−−−−・・−・−・−・・・・−時定数回路4−・
・−・・−・・−・・・・マイクロコンピュータ5−・
・−・・・−−−−m−・・−電池電源6・−・・−・
・−・−・−−−−−−リセット手段である。
Fig. 1 is a circuit diagram of a reset circuit showing an embodiment of the present invention, Fig. 2 is a plan view of the battery box, Fig. 3 is an operating waveform diagram when the instantaneous interruption time is short, and Fig. 4 is an instantaneous interruption time. FIG. 5 is a circuit diagram of a reset circuit showing an embodiment different from that in FIG. 1. In addition, in the symbols used in the drawings, 2.--.--.--..--power filter 3.
−−−−−・・−・−・−・・・−Time constant circuit 4−・
・−・・−・・−・・Microcomputer 5−・
・−・・−−−m−・・−Battery power supply 6・−・・−・
・−・−・−−−−− It is a reset means.

Claims (1)

【特許請求の範囲】  電池電源から与えられる電源電圧の立上がりを検出し
てマイクロコンピュータをリセットするリセット手段と
、 上記電池電源と上記リセット手段の電源検知入力端との
間に設けられた時定数回路とを具備し、上記時定数回路
が抵抗とコンデンサとで構成されていると共に、上記コ
ンデンサを充電するダイオードが上記抵抗と並列に接続
されているマイクロコンピュータ用リセット回路。
[Scope of Claims] Reset means for detecting a rise in power supply voltage applied from a battery power source to reset the microcomputer, and a time constant circuit provided between the battery power source and a power detection input terminal of the reset means. A reset circuit for a microcomputer, comprising: the time constant circuit comprising a resistor and a capacitor; and a diode for charging the capacitor connected in parallel with the resistor.
JP63107847A 1988-04-30 1988-04-30 Reset circuit for microcomputer Pending JPH01277915A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63107847A JPH01277915A (en) 1988-04-30 1988-04-30 Reset circuit for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63107847A JPH01277915A (en) 1988-04-30 1988-04-30 Reset circuit for microcomputer

Publications (1)

Publication Number Publication Date
JPH01277915A true JPH01277915A (en) 1989-11-08

Family

ID=14469568

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63107847A Pending JPH01277915A (en) 1988-04-30 1988-04-30 Reset circuit for microcomputer

Country Status (1)

Country Link
JP (1) JPH01277915A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099604B2 (en) 2003-10-31 2006-08-29 Sharp Kabushiki Kaisha Image forming apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099604B2 (en) 2003-10-31 2006-08-29 Sharp Kabushiki Kaisha Image forming apparatus

Similar Documents

Publication Publication Date Title
US5424800A (en) Camera having solar battery and secondary battery
KR970031144A (en) SECONDARY BATTERY PACK
JP3009589B2 (en) Solar cell power generation capability detection device and device using solar cell
KR19990066995A (en) Power supply
JP3753492B2 (en) Power monitoring IC and battery pack
JPH01277915A (en) Reset circuit for microcomputer
JP3838708B2 (en) Lithium ion power supply
JPS584848B2 (en) A/D conversion circuit
JPH07141087A (en) Driving device for input device of resistance film system
JP2585111B2 (en) Power-on reset circuit
JP3397031B2 (en) Overdischarge prevention device
JPH053634A (en) Battery charging and discharging circuit
JPH0438164B2 (en)
JP2006210252A (en) Battery monitor
US11237524B2 (en) Timepiece, electronic device, and method of determining illuminance of timepiece
JP3099477B2 (en) Piezoelectric element driving device
JPH04193041A (en) Power supply circuit
JPS5838435Y2 (en) Reset signal generation circuit
KR940000522B1 (en) Charging circuit of battery
KR19980066777A (en) Discharge Circuit Using Timing Sequence
KR890004067Y1 (en) Battery charging control-circuit
WO2022047917A1 (en) Display apparatus and drive system thereof
JPH0287938A (en) battery charging device
JPH0610780B2 (en) Power supply circuit
JPH0789719B2 (en) Secondary battery charge control circuit