JPH0628016B2 - Initial discrimination circuit - Google Patents

Initial discrimination circuit

Info

Publication number
JPH0628016B2
JPH0628016B2 JP62073274A JP7327487A JPH0628016B2 JP H0628016 B2 JPH0628016 B2 JP H0628016B2 JP 62073274 A JP62073274 A JP 62073274A JP 7327487 A JP7327487 A JP 7327487A JP H0628016 B2 JPH0628016 B2 JP H0628016B2
Authority
JP
Japan
Prior art keywords
circuit
power supply
type flip
capacitor
input
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.)
Expired - Lifetime
Application number
JP62073274A
Other languages
Japanese (ja)
Other versions
JPS63238609A (en
Inventor
敏彦 鶴
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP62073274A priority Critical patent/JPH0628016B2/en
Publication of JPS63238609A publication Critical patent/JPS63238609A/en
Publication of JPH0628016B2 publication Critical patent/JPH0628016B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はイニシャル判別回路に関し、特にロジック回路
を利用し電源投入時の初期投入かもしくは瞬間停電後の
投入かの判定を行なうイニシャル判別回路に関する。
The present invention relates to an initial discriminating circuit, and more particularly to an initial discriminating circuit that uses a logic circuit to determine whether the power is initially turned on or after a momentary power failure. .

〔従来の技術〕[Conventional technology]

フリップフロップ回路やRAM(ランダムアクセスメモ
リー)等を使用したロジック回路においては、電源が一
時的に断たれてもその直前の状態を保持させる為に大容
量コンデンサで回路の一部をバックアップさせる場合が
ある。この場合、停電復帰時に状態が保持されているか
否かによって、回路に対してイニシャルをかけるかどう
かを選択しなければならない。従来技術としては前述の
選択の為に電圧検知回路や、タイマー回路を設け、電源
入力や電源が断たれた時間を監視する方法がとられてい
る。
In a logic circuit using a flip-flop circuit, a RAM (random access memory), etc., a part of the circuit may be backed up by a large-capacity capacitor in order to retain the state immediately before that even if the power supply is temporarily cut off. is there. In this case, it is necessary to select whether or not to initialize the circuit depending on whether or not the state is retained when the power is restored. As a conventional technique, there is adopted a method of providing a voltage detection circuit and a timer circuit for the above selection and monitoring a power input or a time when the power is cut off.

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

上述した従来の方法では、電圧検知回路やタイマー回路
を駆動する電源は前述のロジック回路の電源と別系統の
電源を設けるか、または無停電化する必要があり、この
ため装置の複雑化や大型化が避けられないという欠点が
ある。
In the above-mentioned conventional method, it is necessary to provide a power supply for driving the voltage detection circuit or the timer circuit with a power supply in a system different from the power supply for the logic circuit described above, or to provide uninterruptible power supply. There is a drawback that it cannot be avoided.

本発明の目的は上述した欠点を除去し、別系統電源や無
停電電源を必要としない簡素な構成のイニシャル判別回
路を提供することにある。
An object of the present invention is to eliminate the above-mentioned drawbacks and to provide an initial determination circuit having a simple configuration that does not require a separate power supply or an uninterruptible power supply.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の回路は、直流電源の初期投入か瞬間停電後の投
入かの判別を行なうイニシャル判別回路において、デー
タ入力と前記データ入力をラッチするラッチ用クロック
入力とを入力とするD型フリップフロップ回路と、コン
デンサおよび抵抗によって形成する時定数回路に対する
前記直流電源の印加の有無によって充放電される前記コ
ンデンサの端子電圧を前記直流電源の印加状態を表現す
る状態電圧となし前記直流電源が断となっても前記コン
デンサの端子電圧が前記時定数回路の時定数により前記
直流電源の瞬間停電を判定する所定のしきい値を一定時
間超える状態を確保するものとした前記状態電圧を前記
D型フリップフロップ回路の前記データ入力として供給
する電源状態入力回路と、前記直流電源の投入によって
前記D型フリップフロップ回路の前記データ入力をラッ
チするラッチ用のクロックパルスを発生して前記D型フ
リップフロップ回路の前記ラッチ用クロック入力として
供給し前記直流電源の初期投入か瞬間停電後の投入かを
判別するイニシャル判別信号を前記D型フリップフロッ
プ回路の出力として送出させるクロックパルス発生回路
とを備える。
The circuit of the present invention is a D-type flip-flop circuit having a data input and a latching clock input for latching the data input in an initial determination circuit for determining whether the DC power supply is initially turned on or after a momentary power failure. And the terminal voltage of the capacitor charged and discharged depending on the presence or absence of the application of the DC power supply to the time constant circuit formed by the capacitor and the resistor is not a state voltage expressing the applied state of the DC power supply. Even if the terminal voltage of the capacitor is set to maintain a state in which the terminal voltage exceeds a predetermined threshold value for a certain period of time for determining the instantaneous power failure of the DC power supply by the time constant of the time constant circuit, the state voltage is set to the D-type flip-flop. Power state input circuit to be supplied as the data input of the flip-flop circuit, and the D-type flip circuit by turning on the DC power source. An initial for generating a latching clock pulse for latching the data input of the drop circuit and supplying it as the latching clock input of the D-type flip-flop circuit to determine whether the DC power is initially turned on or after a momentary power failure. And a clock pulse generation circuit for transmitting a discrimination signal as an output of the D-type flip-flop circuit.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示す回路図、第2図は第1
図の実施例における動作を説明するための波形図であ
る。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG.
FIG. 7 is a waveform chart for explaining the operation in the embodiment in the figure.

第1図のイニシャル判別回路は、全体をCMOS構成と
し、電源状態入力回路2のコンデンサ24は、抵抗21
とダイオード25を介して電源入力により充電され、こ
の端子電圧はダイオード26を介してインバータ27に
供給される。また、抵抗22はCMOS構成の場合に生
じ易いインバータ27は高入力インピーダンス化を回避
するためのプルアップ電圧印加用のものである。このよ
うな回路構成により、インバータ27の入力には僅かな
ダイオード26の順方向電圧降下がコンデンサ24の端
子電圧に加算された重畳電圧が印加されることとなる。
ダイオード25,26は電源が断たれたときコンデンサ
24の電荷が電源側へリークするのを防止するためのも
のである。又、抵抗23は放電用の高抵抗でコンデンサ
24とともに決まる時定数でコンデンサ24の電荷を放
電させる為のものである。インバータ27は主としてコ
ンデンサ24の端子電圧を受け、この端子電圧が所定の
しきい値を超えるときはロウレベルを、また所定のしき
い値以下のときはハイレベルをそれぞれ状態電圧として
D型フリップフロップ1の入力端子Dへデータ入力とし
て与える。クロックパルス発生回路3の抵抗34とコン
デンサ35、ならびにインバータ31,32は電源投入
時のラッチパルスを生成しD型フリップフロップ回路1
のラッチ用クロック入力としてクロック端子CKへ与え
ている。このクロックパルスによりD型フリップフロッ
プ回路1はインバータ27の出力、つまりコンデンサ2
4の端子電圧の状態をラッチし出力する。この場合のD
型フィップフロップ回路1の出力は、インバータ27の
出力がロウレベルすなわちコンデンサ24の端子電圧が
所定のしきい値を超えるときはハイレベル、インバータ
27の出力がハイレベルすなわちコンデンサ24の端子
電圧が所定のしきい値以下のときはロウレベルの出力が
イニシャル判別出力として送出される。
The initial discrimination circuit of FIG. 1 has a CMOS configuration as a whole, and the capacitor 24 of the power supply state input circuit 2 has a resistor 21
Is charged by the power supply input via the diode 25, and this terminal voltage is supplied to the inverter 27 via the diode 26. In addition, the resistor 22 is an inverter 27 that is apt to occur in the case of a CMOS structure and is for applying a pull-up voltage for avoiding a high input impedance. With such a circuit configuration, a superimposed voltage obtained by adding a slight forward voltage drop of the diode 26 to the terminal voltage of the capacitor 24 is applied to the input of the inverter 27.
The diodes 25 and 26 are for preventing the charge of the capacitor 24 from leaking to the power supply side when the power supply is cut off. The resistor 23 is a high resistance for discharging and discharges the electric charge of the capacitor 24 with a time constant determined together with the capacitor 24. The inverter 27 mainly receives the terminal voltage of the capacitor 24, and sets the low level when the terminal voltage exceeds a predetermined threshold value and the high level when the terminal voltage is less than the predetermined threshold value as the state voltage. It is given as a data input to the input terminal D of. The resistor 34 and the capacitor 35 of the clock pulse generation circuit 3, and the inverters 31 and 32 generate a latch pulse when the power is turned on to generate the D-type flip-flop circuit 1.
Is applied to the clock terminal CK as the latch clock input. By this clock pulse, the D-type flip-flop circuit 1 outputs the output of the inverter 27, that is, the capacitor 2
The state of the terminal voltage of 4 is latched and output. D in this case
The output of the type flip-flop circuit 1 is high level when the output of the inverter 27 is low level, that is, the terminal voltage of the capacitor 24 exceeds a predetermined threshold value, and the output of the inverter 27 is high level, that is, the terminal voltage of the capacitor 24 is predetermined. When it is less than or equal to the threshold of, the low level output is sent as the initial determination output.

この動作の状態を示したのが第2図で、(a)電源入力
がの場合、(d)インバータ27の入力はスレッシュ
ホールドレベル以下なので(f)イニシャル判別出力は
ローレベル、(a)電源入力がの場合、(d)インバ
ータ27の入力はスレッシュホールドレベルを超えるの
で、(f)イニシャル判別出力はハイレベルをそれぞれ
出力する。又、電源再投入が(a)電源入力のより後
であれば、(d)インバータ27の入力は破線で示す様
にコンデンサ24の端子電圧は放電によりさらに低下
し、インバータ27のスレッシュホールドより低くな
り、再び(f)イニシャル判別出力はローレベルが出力
される。このようにして、電源の瞬間停電後の早い時期
の復帰に対してはハイレベルの、また初期投入に対して
はロウレベルのイニシャル判別出力が出力される。な
お、(a)電源入力でとあるのは電源断の状態を示
し、不定とあるのはこの電源断に対応するコジック不定
状態を示す。また第2図には、上述した動作と関連す
る。(b)コンデンサ35の端子電圧、(c)インバー
タ32の出力および(e)インバータ31の出力を併記
して示している。ダイオード36は電源が断となったと
きのコンデンサ36の電荷を放電させる為、インバータ
33はクロックパルスの立上がりまでコンデンサ24の
放電を禁止するためにダイオード25のアノードをロー
レベルに保つ為に設けてある。
FIG. 2 shows the state of this operation. When (a) the power supply input is, (d) the input of the inverter 27 is below the threshold level, (f) the initial determination output is low level, and (a) the power supply is When the input is, (d) the input of the inverter 27 exceeds the threshold level, so (f) the initial determination output outputs a high level. Further, if the power is turned on again after (a) the power input, (d) the input of the inverter 27 is further lowered by the discharge, as shown by the broken line, and the terminal voltage of the capacitor 24 is lower than the threshold of the inverter 27. Then, the low level is output again as the (f) initial determination output. In this way, a high-level initial determination output is output for early recovery after the momentary power failure of the power supply, and a low-level initial determination output for initial power-on. It should be noted that (a) power input indicates a power-off state, and indefinite indicates a Kogic indefinite state corresponding to this power-off. Further, FIG. 2 relates to the operation described above. (B) The terminal voltage of the capacitor 35, (c) the output of the inverter 32, and (e) the output of the inverter 31 are shown together. The diode 36 discharges the electric charge of the capacitor 36 when the power supply is cut off, and the inverter 33 is provided to keep the anode of the diode 25 at a low level in order to inhibit the discharge of the capacitor 24 until the rise of the clock pulse. is there.

〔発明の効果〕〔The invention's effect〕

以上説明したように本発明は、電源が断たれてから再投
入されるまでのコンデンサ端子電圧の放電状態を電源投
入時にD型フリップフロップ回路にラッチすることによ
り、コンデンサと放電用抵抗にて決まる時定数に応じて
イニシャルをかけるか否かを判別するステータス情報を
別系統電源や無停電電源を必要とせずに得ることができ
るという効果がある。
As described above, according to the present invention, the discharging state of the capacitor terminal voltage from when the power is turned off to when the power is turned on is latched in the D-type flip-flop circuit when the power is turned on, so that it is determined by the capacitor and the discharging resistor. There is an effect that it is possible to obtain status information for determining whether or not an initial is applied according to a time constant, without requiring a separate system power supply or an uninterruptible power supply.

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

第1図は本発明の一実施例を示す回路図、第2図は第1
図の実施例における動作を説明するための波形図であ
る。 1…D型フリップフロップ回路、2…電源状態入力回
路、3…クロックパルス発生回路、21〜23…抵抗、
24…コンデンサ、25,26…ダイオード、27…イ
ンバータ、31〜33…インバータ、34…抵抗、35
…コンデンサ、36…ダイオード。
FIG. 1 is a circuit diagram showing an embodiment of the present invention, and FIG.
FIG. 7 is a waveform chart for explaining the operation in the embodiment in the figure. 1 ... D-type flip-flop circuit, 2 ... Power supply state input circuit, 3 ... Clock pulse generation circuit, 21-23 ... Resistor,
24 ... Capacitor, 25, 26 ... Diode, 27 ... Inverter, 31-33 ... Inverter, 34 ... Resistor, 35
... capacitor, 36 ... diode.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】直流電源の初期投入か瞬間停電後の投入か
の判別を行なうイニシャル判別回路において、 データ入力と前記データ入力をラッチするラッチ用クロ
ック入力とを入力とするD型フリップフロップ回路と、
コンデンサおよび抵抗によって形成する時定数回路に対
する前記直流電源の印加の有無によって充放電される前
記コンデンサの端子電圧を前記直流電源の印加状態を表
現する状態電圧となし前記直流電源が断となっても前記
コンデンサの端子電圧が前記時定数回路の時定数により
前記直流電源の瞬間停電を判定する所定のしきい値を一
定時間超える状態を確保するものとした前記状態電圧を
前記D型フリップフロップ回路の前記データ入力として
供給する電源状態入力回路と、前記直流電源の投入によ
って前記D型フリップフロップ回路の前記データ入力を
ラッチするラッチ用のクロックパルスを発生して前記D
型フリップフロップ回路の前記ラッチ用クロック入力と
して供給し前記直流電源の初期投入か瞬間停電後の投入
かを判別するイニシャル判別信号を前記D型フリップフ
ロップ回路の出力として送出させるクロックパルス発生
回路とを備えることを特徴とするイニシャル判別回路。
1. A D-type flip-flop circuit having a data input and a latch clock input for latching the data input in an initial determination circuit for determining whether the DC power supply is initially turned on or after a momentary power failure. ,
The terminal voltage of the capacitor charged and discharged depending on the presence or absence of the application of the DC power supply to the time constant circuit formed by the capacitor and the resistor is not a state voltage expressing the applied state of the DC power supply, even if the DC power supply is disconnected. The D-type flip-flop circuit is provided with the state voltage that ensures that the terminal voltage of the capacitor exceeds a predetermined threshold value for a certain period of time to determine an instantaneous power failure of the DC power supply according to the time constant of the time constant circuit. And a power supply state input circuit for supplying the data input, and a clock pulse for latch for latching the data input of the D-type flip-flop circuit is generated by turning on the DC power supply.
Type flip-flop circuit, and a clock pulse generation circuit for supplying an initial determination signal as the output of the D-type flip-flop circuit, which is supplied as the latch clock input and determines whether the DC power source is initially turned on or after a momentary power failure. An initial discriminating circuit, comprising:
JP62073274A 1987-03-26 1987-03-26 Initial discrimination circuit Expired - Lifetime JPH0628016B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62073274A JPH0628016B2 (en) 1987-03-26 1987-03-26 Initial discrimination circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62073274A JPH0628016B2 (en) 1987-03-26 1987-03-26 Initial discrimination circuit

Publications (2)

Publication Number Publication Date
JPS63238609A JPS63238609A (en) 1988-10-04
JPH0628016B2 true JPH0628016B2 (en) 1994-04-13

Family

ID=13513411

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62073274A Expired - Lifetime JPH0628016B2 (en) 1987-03-26 1987-03-26 Initial discrimination circuit

Country Status (1)

Country Link
JP (1) JPH0628016B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2816508B2 (en) * 1991-12-16 1998-10-27 三菱電機株式会社 Power-on detection circuit

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60239818A (en) * 1984-05-15 1985-11-28 Fujitsu Ltd Resetting system of microprocessor at turning on of power supply

Also Published As

Publication number Publication date
JPS63238609A (en) 1988-10-04

Similar Documents

Publication Publication Date Title
US4677311A (en) Power supply system for an electronic apparatus having memory
US4375663A (en) Power failure early warning circuit for microprocessor with CMOS RAM memory
US5375247A (en) Apparatus for controlled switching of a microcomputer to standby mode
JPS6230666B2 (en)
JP3274935B2 (en) Microcomputer
US5734204A (en) Backup apparatus
JP3484212B2 (en) Power loss sensor
US5212664A (en) Information card with dual power detection signals to memory decoder
US5550985A (en) Special purpose computer for demonstrating peripheral devices such as printers in which power is withdrawn from the port connection of the peripheral device
JPH0628016B2 (en) Initial discrimination circuit
JPH073751B2 (en) Current surge control integrated circuit
JP2000353392A (en) Voltage detecting circuit
EP0307572A2 (en) Multiple phase clock generator
JPH0142002B2 (en)
JP3537989B2 (en) Nonvolatile semiconductor memory device
JPH05333973A (en) Power unit for portable computer
JP3285975B2 (en) Bipolar IC for camera control
JPS60215227A (en) Battery backup circuit of ram
KR900008241Y1 (en) Memory data back-up circuit of static ram
JPS59146349A (en) Automatic reset system of microcomputer
JP3128435B2 (en) Computer system with resume function
US20010045848A1 (en) Power-up stable signal detection circuit
JPS5933111Y2 (en) Storage type fire detector
JP3077552B2 (en) Backup device for data storage circuit
JPH0113305B2 (en)