JPH0132126Y2 - - Google Patents
Info
- Publication number
- JPH0132126Y2 JPH0132126Y2 JP12369782U JP12369782U JPH0132126Y2 JP H0132126 Y2 JPH0132126 Y2 JP H0132126Y2 JP 12369782 U JP12369782 U JP 12369782U JP 12369782 U JP12369782 U JP 12369782U JP H0132126 Y2 JPH0132126 Y2 JP H0132126Y2
- Authority
- JP
- Japan
- Prior art keywords
- power supply
- counter
- flop
- type flip
- main 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.)
- Expired
Links
- 238000000034 method Methods 0.000 claims description 2
- 239000003990 capacitor Substances 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 230000003111 delayed effect Effects 0.000 description 1
- 230000002401 inhibitory effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
Landscapes
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Protection Of Static Devices (AREA)
Description
【考案の詳細な説明】
本考案は、バツクアツプ電源利用のカウンタに
計数されたカウント数が電源投入時あるいは電源
遮断時に変化してしまう不都合を排除するように
したバツクアツプ電源利用のカウンタメモリ方式
における保護回路に関する。[Detailed description of the invention] The present invention provides protection for a counter memory system using a backup power source, which eliminates the inconvenience that the count counted in the counter using a backup power source changes when the power is turned on or off. Regarding circuits.
バツクアツプ電源利用のカウンタはマイクロコ
ンピユータの普及に伴ない、その周辺メモリとし
て広範囲にわたる応用分野を開拓しつつある。 With the spread of microcomputers, counters that use backup power supplies are opening up a wide range of application fields as peripheral memory.
ところで、バツクアツプ電源利用のカウンタメ
モリはこのバツクアツプ電源を用いてカウンタに
計数された情報を一定時間記憶するものである
が、カウンタの電源投入時や電源遮断時にカウン
タの入力信号ラインにノイズが発生してしまいカ
ウンタ内の情報が変化してしまうという欠点があ
つた。 By the way, a counter memory that uses a backup power source uses this backup power source to store the information counted by the counter for a certain period of time, but noise is generated in the input signal line of the counter when the power is turned on or turned off. The disadvantage is that the information in the counter changes as a result.
本考案は上記の点に鑑みなされたもので、電源
の投入あるいは遮断等の電源変動時にはカウンタ
の入力信号ラインを低レベルに保持してカウンタ
内の情報を保護するようにしたバツクアツプ電源
利用のカウンタメモリ方式における保護回路を提
供するものであつて、その要旨とするところは、
バツクアツプ電源利用のカウンタの入力信号端子
にT型フリツプフロツプの出力信号端子を接続
し、主電源に対してタイミングがずれた電源を作
り、この電源及び前記主電源を入力にして信号を
発生させ、この信号を前記T型フリツプフロツプ
のクリヤ端子に入力接続し、前記主電源の投入・
遮断時のカウンタの入力信号ラインを低レベルに
保持させることを特徴とするバツクアツプ電源利
用のカウンタメモリ方式における保護回路にあ
る。 The present invention has been developed in view of the above points, and is a counter that uses a backup power source and protects the information in the counter by keeping the counter's input signal line at a low level during power fluctuations such as when the power is turned on or off. It provides a protection circuit for memory systems, and its gist is as follows:
Connect the output signal terminal of a T-type flip-flop to the input signal terminal of a counter using a backup power supply, create a power supply whose timing is shifted from the main power supply, input this power supply and the main power supply to generate a signal, and generate a signal using this power supply and the main power supply as inputs. A signal is input and connected to the clear terminal of the T-type flip-flop, and the main power is turned on/off.
The present invention relates to a protection circuit for a counter memory system using a backup power supply, which is characterized by keeping the input signal line of the counter at a low level when the power is cut off.
以下、本考案を図面に基づいて詳細に説明す
る。 Hereinafter, the present invention will be explained in detail based on the drawings.
第1図は本考案のバツクアツプ電源利用のカウ
ンタメモリとその保護回路の一実施例を示すブロ
ツク図、第2図は保護回路のタイムチヤート図、
第3図は主電源Vcc2に対して遅れたVcc1を得る
一例を示す回路図ある。第1図乃至第3図におい
て、1はT型フリツプフロツプ、2はカウンタ、
3は高容量コンデンサ、4,5はインバータにし
て、このインバータ4,5間にはコンデンサ6と
抵抗7よりなる時定数回路が接続されており、こ
のコンデンサ6と抵抗7との接続点8には並列接
続された抵抗9と逆極性のダイオード10との一
端および抵抗11を介してダイオード12のアノ
ードがそれぞれ接続されると共に、並列接続され
た抵抗9と逆極性のダイオード10との他端には
電源Vcc1が、またダイオード12のカソードに
は主電源Vcc2が、それぞれ接続されている。ま
た、前記T型フリツプフロツプ1、カウンタ2お
よびインバータ4の入力側のそれぞれには電源
Vcc1が接続されている。なお、この電源Vcc1と
主電源Vcc2との間には第2図に示すように立上
り、立下り時にタイミングのずれがあり、電源
Vcc1と主電源Vcc2とのタイミングのずれは第3
図にその一例を示す回路図より得るものである。
そして、このようなタイミングのずれがある電源
がT型フリツプフロツプ1、カウンタ2、インバ
ータ4やダイオード12のカソードなどに供給さ
れることになる。 Fig. 1 is a block diagram showing an embodiment of a counter memory using a backup power source of the present invention and its protection circuit, Fig. 2 is a time chart of the protection circuit,
FIG. 3 is a circuit diagram showing an example of obtaining Vcc 1 delayed with respect to main power supply Vcc 2 . In FIGS. 1 to 3, 1 is a T-type flip-flop, 2 is a counter,
3 is a high capacity capacitor, 4 and 5 are inverters, a time constant circuit consisting of a capacitor 6 and a resistor 7 is connected between the inverters 4 and 5, and a connection point 8 between the capacitor 6 and the resistor 7 is is connected to one end of the resistor 9 and the diode 10 of opposite polarity connected in parallel, and to the anode of the diode 12 via the resistor 11, and to the other end of the resistor 9 and the diode 10 of opposite polarity connected in parallel. is connected to the power supply Vcc 1 , and the cathode of the diode 12 is connected to the main power supply Vcc 2 . In addition, each of the input sides of the T-type flip-flop 1, counter 2, and inverter 4 has a power supply.
Vcc 1 is connected. Note that there is a timing difference between the power supply Vcc 1 and the main power supply Vcc 2 at the time of rise and fall as shown in Figure 2, and the power supply
The timing difference between Vcc 1 and main power supply Vcc 2 is the third
This can be obtained from the circuit diagram, an example of which is shown in the figure.
Then, the power supply having such a timing shift is supplied to the T-type flip-flop 1, the counter 2, the inverter 4, the cathode of the diode 12, etc.
このように構成したバツクアツプ電源利用のカ
ウンタメモリにはそのT型フリツプフロツプ1に
入力されたクロツクパルスをバイナリにカウント
して入力信号ラインよりカウンタ2に入力し、こ
のカウンタ2においてその情報を順次カウントし
ながら記憶していく。 In the counter memory constructed in this manner and using a backup power source, the clock pulses input to the T-type flip-flop 1 are counted in binary and inputted to the counter 2 from the input signal line, and the counter 2 sequentially counts the information. I will remember it.
いま、停電等の原因により主電源Vcc2が遮断
されると、瞬時に電源Vcc2の電位が0ボルトに
落ち、時間t1経過後に電源Vcc1の電位が0ボルト
に落ちることになるが、接続点8の電位は主電源
Vcc2の電位が0ボルトに落ちたときに低レベル
に落ちるので、インバータ5の出力には反転した
高レベルの出力が表われてT型フリツプフロツプ
1のクリヤ端子に供給されることになる。このた
め、T型フリツプフロツプ1はカウントを禁止さ
れてしまい、T型フリツプフロツプ1の電源
Vcc1が時間遅れをもつて遮断されるまでの間に
入力されるクロツクパルスがバイナリにカウント
されて出力することはなくなる。 Now, if the main power supply Vcc 2 is cut off due to a power outage or other cause, the potential of the power supply Vcc 2 will instantly drop to 0 volts, and after time t 1 has passed, the potential of the power supply Vcc 1 will drop to 0 volts. The potential at connection point 8 is the main power supply
Since it falls to a low level when the potential of Vcc2 falls to 0 volts, an inverted high level output appears at the output of the inverter 5 and is supplied to the clear terminal of the T-type flip-flop 1. Therefore, the T-type flip-flop 1 is prohibited from counting, and the power supply of the T-type flip-flop 1 is disabled.
The clock pulses inputted until Vcc 1 is cut off with a time delay are counted in binary and are no longer output.
したがつて、カウンタ2は主電源が遮断される
直前のカウント数情報が高容量コンデンサ3より
のエネルギによつてそのまま保持されることにな
る。そして、電源Vcc1の電圧が0ボルトに落ち
てしまつたときには、T型フリツプフロツプ1、
インバータ5は非動作状態になるので、前記カウ
ンタ2に書き込まれている情報は高容量コンデン
サ3よりのエネルギが供給されている間不揮発に
記憶されている。 Therefore, the counter 2 retains the count information immediately before the main power supply is cut off by the energy from the high-capacity capacitor 3. Then, when the voltage of the power supply Vcc 1 drops to 0 volts, the T-type flip-flop 1,
Since the inverter 5 is in a non-operating state, the information written in the counter 2 is stored in a non-volatile manner while energy is supplied from the high capacity capacitor 3.
しかるのち、停電等の電源を遮断していた原因
が回復し、主電源Vcc2が投入されると、T型フ
リツプフロツプ1およびカウンタ2は動作状態に
なるものの、インバータ4の入力レベルは低レベ
ルにあるため、インバータ4の出力レベルは高レ
ベルになり、コンデンサ6を介して接続点8のレ
ベルも低レベルであるため、インバータ5の出力
レベルには反転した高レベルの出力が表われてT
型フリツプフロツプ1のクリヤ端子に供給される
ことになる。このため、T型フリツプフロツプ1
はカウントが禁止され、動作しないことになる。
そして、電源Vcc1が時間t2経過後十分に立上つて
インバータ5の入力側が高レベルになつて、イン
バータ5の出力には反転した低レベルの出力が表
われてT型フリツプフロツプ1のクリヤ端子に供
給されることになる。このため、T型フリツプフ
ロツプ1はクロツクパルスをバイナリにカウント
してその出力を入力信号ラインよりカウンタ2に
書き込ませることになる。 Afterwards, when the cause of the power interruption, such as a power outage, is recovered and the main power supply Vcc 2 is turned on, the T-type flip-flop 1 and counter 2 become operational, but the input level of the inverter 4 becomes a low level. Therefore, the output level of inverter 4 becomes high level, and the level of connection point 8 via capacitor 6 is also low level, so an inverted high level output appears at the output level of inverter 5, and T
It will be supplied to the clear terminal of the type flip-flop 1. Therefore, the T-type flip-flop 1
count is prohibited and will not work.
Then, the power supply Vcc 1 rises sufficiently after time t 2 has elapsed, and the input side of the inverter 5 becomes high level, and an inverted low level output appears at the output of the inverter 5, and the clear terminal of the T-type flip-flop 1 is output. will be supplied to Therefore, the T-type flip-flop 1 counts the clock pulses in binary and writes the output into the counter 2 from the input signal line.
このように、主電源Vcc2の遮断時、投入時に
一時T型フリツプフロツプ1のカウントを禁止
し、カウンタ2に計数されている情報のカウント
数が変つてしまわないようにする。 In this way, counting of the T-type flip-flop 1 is temporarily prohibited when the main power supply Vcc 2 is cut off or turned on, thereby preventing the count number of the information counted by the counter 2 from changing.
次に、第4図乃至第5図において本考案の他の
実施例を説明する。第4図は、本考案のバツクア
ツプ電源利用のカウンタメモリ方式における保護
回路の他の実施例を示すもので、前述の実施例と
同一構成要素には同一符号を付してその説明を省
略する。また、電源Vcc1と主電源Vcc2のタイミ
ングのずれは第3図にその一例を示す回路図によ
り得ることとする。本実施例のT型フリツプフロ
ツプ1のクリヤ端子には逆極性のダイオード20
を介してEXOR21の出力側が接続されており、
このEXOR21の入力側には電源Vcc1と主電源
Vcc2とがそれぞれ抵抗22,23を介して接続
されている。また、前記ダイオード20のアノー
ドは抵抗24を介して電源Vcc1と接続されてい
る。図中25はダイオード20のアノードと抵抗
24との接続点である。 Next, another embodiment of the present invention will be described with reference to FIGS. 4 and 5. FIG. 4 shows another embodiment of the protection circuit in the counter memory system using a backup power source according to the present invention, and the same components as those in the previous embodiment are given the same reference numerals and their explanation will be omitted. Further, the timing difference between the power supply Vcc 1 and the main power supply Vcc 2 is obtained from the circuit diagram shown in FIG. 3 as an example. A diode 20 of opposite polarity is connected to the clear terminal of the T-type flip-flop 1 in this embodiment.
The output side of EXOR21 is connected via
The input side of this EXOR21 is the power supply Vcc 1 and the main power supply.
Vcc 2 are connected via resistors 22 and 23, respectively. Further, the anode of the diode 20 is connected to the power supply Vcc 1 via a resistor 24. In the figure, 25 is a connection point between the anode of the diode 20 and the resistor 24.
このように構成したバツクアツプ電源利用のカ
ウンタメモリは停電等による主電源Vcc2の遮断
時に、主電源Vcc2は瞬時に0ボルトに落ちるが、
電源Vcc1は時間t3の遅れをもつて0ボルトに落ち
る。このため、電源を遮断した瞬間のEXOR2
1の出力側には高レベル出力が表われるので、電
源Vcc1より抵抗24を介して接続点25に表わ
れる電圧はT型フリツプフロツプ1のクリヤ端子
に供給され、T型フリツプフロツプ1のカウント
を禁止し、T型フリツプフロツプ1の電源Vcc1
が時間t3遅れをもつて遮断されるまでの間に入力
されるクロツクパルスはバイナリにカウントされ
なくなる。 When the main power supply Vcc 2 is cut off due to a power outage, etc., the counter memory configured in this way and using a backup power supply instantly drops to 0 volts.
The power supply Vcc 1 drops to 0 volts with a delay of time t 3 . For this reason, EXOR2 at the moment the power is cut off
Since a high level output appears on the output side of 1, the voltage appearing at the connection point 25 from the power supply Vcc 1 via the resistor 24 is supplied to the clear terminal of the T-type flip-flop 1, inhibiting the counting of the T-type flip-flop 1. And the power supply Vcc 1 of T-type flip-flop 1
The clock pulses inputted until the clock pulse is cut off with a delay of time t3 are no longer counted in binary.
したがつて、カウンタ2は電源が遮断される直
前の情報(カウント数)が高容量コンデンサ3よ
りのエネルギによつてそのまま保持されている。
そして、電源Vcc1の電圧が0ボルトに落ちてし
まつたときには、T型フリツプフロツプ1は非動
作状態になるので、前記カウンタ2に書き込まれ
ているカウント数情報は高容量コンデンサ3より
のエネルギが供給されている間、不揮発に記憶さ
れている。 Therefore, the counter 2 retains the information (count number) just before the power is cut off by the energy from the high capacity capacitor 3.
When the voltage of the power supply Vcc 1 drops to 0 volts, the T-type flip-flop 1 becomes inactive, so the count information written in the counter 2 is supplied with energy from the high-capacity capacitor 3. It is stored non-volatilely while it is stored.
しかるのち、停電等による電源を遮断していた
原因が回復し、主電源Vcc2が投入されると、T
型フリツプフロツプ1およびカウンタ2は動作状
態になるが、EXOR21の入力には主電源Vcc2
の電圧のみが印加され、電源Vcc1の電圧は印加
されないので、EXOR21の出力には高レベル
出力が表われ、ダイオード20は逆バイアスされ
ることになる。このため、電源Vcc1の電圧は抵
抗24を介して接続点25に表われることにな
り、この接続点25の電圧が前記T型フリツプフ
ロツプ1のクリヤ端子に印加され、T型フリツプ
フロツプ1のカウントを禁止する。そして、電源
Vcc1が時間t4経過後十分に立上つてEXOR21の
入力には高レベルの電圧が印加されると、
EXOR21の出力には低レベルの出力が表われ
るので、電源Vcc1の電圧は抵抗24を介して接
続点25に印加され、ダイオード20を順バイア
スすることになる。このため、T型フリツプフロ
ツプ1のクリヤ端子は低レベルになり、T型フリ
ツプフロツプ1はクロツクパルスをバイナリにカ
ウントしてそのバイナリ出力を入力信号ラインを
介してカウンタ2に書き込ませる。 However, when the cause of the power cutoff due to a power outage etc. is recovered and the main power supply Vcc 2 is turned on, T
Type flip-flop 1 and counter 2 are in the operating state, but the input of EXOR 21 is connected to the main power supply Vcc 2
Since only the voltage of the power supply Vcc 1 is applied and the voltage of the power supply Vcc 1 is not applied, a high level output appears at the output of the EXOR 21, and the diode 20 is reverse biased. Therefore, the voltage of the power supply Vcc 1 appears at the connection point 25 via the resistor 24, and the voltage at this connection point 25 is applied to the clear terminal of the T-type flip-flop 1 to control the count of the T-type flip-flop 1. prohibit. And the power
When Vcc 1 rises sufficiently after time t4 and a high level voltage is applied to the input of EXOR21,
Since a low level output appears at the output of EXOR 21, the voltage of power supply Vcc 1 is applied to connection point 25 through resistor 24 to forward bias diode 20. Therefore, the clear terminal of the T-type flip-flop 1 goes low, and the T-type flip-flop 1 counts the clock pulses in binary and writes its binary output to the counter 2 via the input signal line.
このように、主電源Vcc2の遮断・投入等の変
動時に一時T型フリツプフロツプ1のカウントを
禁止し、カウンタ2に計数されているカウント数
が変化しないようにする。 In this way, counting by the T-type flip-flop 1 is temporarily inhibited when the main power supply Vcc 2 changes, such as when it is cut off or turned on, so that the count counted by the counter 2 does not change.
以上述べたとおり本考案のバツクアツプ電源利
用のカウンタメモリ方式における保護回路は、主
電源に対しタイミングがずれた電源を作り、この
電源及び主電源を入力にして信号を発生させ、こ
の信号をT型フリツプフロツプのクリヤ端子に入
力接続し、当該主電源の投入・遮断時のカウンタ
の入力信号ラインを低レベルに保持させ、クロツ
クパルスをカウントさせないようにして、主電源
の投入・遮断時のノイズによりカウンタのカウン
ト数が変化しないようにしたものであつて、エレ
ベータの停止位置を記憶しておくカウンタに使用
する保護回路などにきわめて有効に使用できるも
のである。 As described above, the protection circuit of the counter memory method using a backup power supply according to the present invention creates a power supply whose timing is shifted from the main power supply, generates a signal by inputting this power supply and the main power supply, and converts this signal into a T-type. By connecting the input to the clear terminal of the flip-flop, the input signal line of the counter is held at a low level when the main power supply is turned on and off, and the clock pulses are not counted. It is designed so that the count does not change, and can be used extremely effectively in protection circuits used in counters that memorize the stop position of elevators.
図面は本考案に係るバツクアツプ電源利用のカ
ウンタメモリ方式の保護回路を示すもので、第1
図はその一実施例を示すブロツク図、第2図はそ
のタイムチヤート、第3図は主電源Vcc2に対し
てタイミング遅れをもつた電源Vcc1を得るため
の一例を示す回路図、第4図は同じく他の実施例
を示すブロツク図、第5図はそのタイムチヤート
である。
1:T型フリツプフロツプ、2:カウンタ、
4,5:インバータ、21:EXOR、Vcc1:電
源、Vcc2:主電源。
The drawing shows a counter memory type protection circuit using a backup power supply according to the present invention.
Figure 2 is a block diagram showing one embodiment, Figure 2 is its time chart, Figure 3 is a circuit diagram showing an example of obtaining a power supply Vcc 1 with a timing delay with respect to the main power supply Vcc 2 , and Figure 4 The figure is a block diagram showing another embodiment, and FIG. 5 is a time chart thereof. 1: T-type flip-flop, 2: counter,
4, 5: Inverter, 21: EXOR, Vcc 1 : Power supply, Vcc 2 : Main power supply.
Claims (1)
子にT型フリツプフロツプの出力信号端子を接続
し、主電源に対してタイミングがずれた電源を作
り、この電源及び前記主電源を入力にして信号を
発生させ、この信号を前記T型フリツプフロツプ
のクリヤ端子に入力接続し、前記主電源の投入・
遮断時のカウンタの入力信号ラインを低レベルに
保持させることを特徴とするバツクアツプ電源利
用のカウンタメモリ方式における保護回路。 Connect the output signal terminal of a T-type flip-flop to the input signal terminal of a counter using a backup power supply, create a power supply whose timing is shifted from the main power supply, input this power supply and the main power supply to generate a signal, and generate a signal using this power supply and the main power supply as inputs. A signal is input and connected to the clear terminal of the T-type flip-flop, and the main power is turned on/off.
A protection circuit for a counter memory method using a backup power supply, which is characterized by keeping the input signal line of the counter at a low level when the power is cut off.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12369782U JPS5928722U (en) | 1982-08-17 | 1982-08-17 | Protection circuit for counter memory method using backup power supply |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP12369782U JPS5928722U (en) | 1982-08-17 | 1982-08-17 | Protection circuit for counter memory method using backup power supply |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS5928722U JPS5928722U (en) | 1984-02-22 |
| JPH0132126Y2 true JPH0132126Y2 (en) | 1989-10-02 |
Family
ID=30282267
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP12369782U Granted JPS5928722U (en) | 1982-08-17 | 1982-08-17 | Protection circuit for counter memory method using backup power supply |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS5928722U (en) |
-
1982
- 1982-08-17 JP JP12369782U patent/JPS5928722U/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS5928722U (en) | 1984-02-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US3725675A (en) | Power sequencing control circuit | |
| JPS63245236A (en) | Electric source switching circuit | |
| JPS5911998B2 (en) | Data check method | |
| JPH0132126Y2 (en) | ||
| US3671774A (en) | Zero recovery time two transistor multivibrator | |
| JP2813202B2 (en) | Input device | |
| JPS5933111Y2 (en) | Storage type fire detector | |
| SU738111A1 (en) | Flip-flop | |
| JP2527106B2 (en) | Semiconductor memory circuit | |
| JPS63198528A (en) | Source determining signal transmitting circuit | |
| SU1112564A2 (en) | Multithreshold logic element | |
| SU403049A1 (en) | COVER VOLTAGE CONVERTER | |
| RU2180985C2 (en) | Flip-flop unit | |
| JPS60215227A (en) | Battery backup circuit of ram | |
| JPS6277714A (en) | Signal inversion detecting circuit | |
| SU1034190A1 (en) | Device for set logical elements in initial state when voltage supply failure | |
| JPH01300649A (en) | Pcm input interruption backward protection circuit | |
| SU1322467A1 (en) | Scaling circuit operating in fibonacci code | |
| JPS6235709B2 (en) | ||
| JPS6231372B2 (en) | ||
| JPS6170622A (en) | reset circuit | |
| JPS62165711A (en) | Write circuit | |
| JPH03637B2 (en) | ||
| JPS63163558A (en) | RAM backup device | |
| JPS5983544A (en) | power supply |