JP2016070831A - Power failure detection circuit - Google Patents

Power failure detection circuit Download PDF

Info

Publication number
JP2016070831A
JP2016070831A JP2014202068A JP2014202068A JP2016070831A JP 2016070831 A JP2016070831 A JP 2016070831A JP 2014202068 A JP2014202068 A JP 2014202068A JP 2014202068 A JP2014202068 A JP 2014202068A JP 2016070831 A JP2016070831 A JP 2016070831A
Authority
JP
Japan
Prior art keywords
terminal
voltage
detection circuit
power supply
time
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.)
Granted
Application number
JP2014202068A
Other languages
Japanese (ja)
Other versions
JP5910693B1 (en
Inventor
悟朗 中尾
Goro Nakao
悟朗 中尾
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.)
Omron Corp
Original Assignee
Omron Corp
Omron Tateisi Electronics Co
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 Omron Corp, Omron Tateisi Electronics Co filed Critical Omron Corp
Priority to JP2014202068A priority Critical patent/JP5910693B1/en
Application granted granted Critical
Publication of JP5910693B1 publication Critical patent/JP5910693B1/en
Publication of JP2016070831A publication Critical patent/JP2016070831A/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stand-By Power Supply Arrangements (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a power failure detection circuit capable of detecting a power failure of an AC power source in a short period of time.SOLUTION: A power failure detection circuit comprises: a first timer circuit (12-1) that outputs a power source abnormality signal indicating that an AC power source is in an abnormal state, when a first time where a first state is maintained has passed a predetermined period since a point in time when entering the first state where an electric potential of a first terminal (2-1) of the AC power source (2) is higher than an electric potential of a second terminal (2-2) of the AC power source; a first phase inversion detection circuit (13-1) that resets the first time to 0 when the electric potential of the second terminal becomes higher than the electric potential of the first terminal; a second timer circuit (12-2) that outputs a power source abnormality signal when a second time where a second state is maintained has passed a predetermined period since a point in time when entering the second state where the electric potential of the second terminal is higher than the electric potential of the first terminal; and a second phase inversion detection circuit (13-2) that resets the second time to 0 when the electric potential of the first terminal becomes higher than the electric potential of the second terminal.SELECTED DRAWING: Figure 1

Description

本発明は、交流電源の停電を検知する停電検知回路に関する。   The present invention relates to a power failure detection circuit that detects a power failure of an AC power supply.

従来より、交流電源の停電を検知する技術が提案されている(例えば、特許文献1〜3を参照)。   Conventionally, techniques for detecting a power failure of an AC power supply have been proposed (see, for example, Patent Documents 1 to 3).

例えば、特許文献1には、交流電源から供給された電圧を整流器により直流化し、かつ、平滑コンデンサで平滑化することで得られた直流電圧に応じて停電を検知する回路が開示されている。   For example, Patent Document 1 discloses a circuit that detects a power failure according to a DC voltage obtained by converting a voltage supplied from an AC power source into a DC by a rectifier and smoothing the voltage with a smoothing capacitor.

また、特許文献2に開示された電源異常検知装置は、商用電源の電圧をパルス幅に変換し、そのパルス幅が規定値の範囲を越えたときに電源異常と判定する。
さらに、特許文献3に開示された電流調整装置では、商用電源と接続された電流トランスと負荷回路との間に参照端が接続された停電検出回路が、その参照端に印加された電圧に基づいて停電したか否かを判定する。
The power supply abnormality detection device disclosed in Patent Document 2 converts the voltage of the commercial power supply into a pulse width, and determines that the power supply is abnormal when the pulse width exceeds a specified value range.
Furthermore, in the current regulator disclosed in Patent Document 3, a power failure detection circuit in which a reference terminal is connected between a current transformer connected to a commercial power source and a load circuit is based on a voltage applied to the reference terminal. Determine whether a power failure occurred.

特開平10−134279号公報Japanese Patent Laid-Open No. 10-134279 特開2000−339233号公報JP 2000-339233 A 特開2002−112462号公報JP 2002-112462 A

しかしながら、交流電源から負荷回路へ電力を供給する回路に、電圧を平滑化したり、あるいはノイズ軽減のために、コンデンサが接続されていることがある。このような場合、交流電源が停電すると、そのコンデンサが放電することで、停電を検知する回路に印加される電圧の変化が緩やかとなり、停電の発生から停電の検知までに時間がかかってしまうおそれがあった。   However, a capacitor may be connected to a circuit that supplies power from the AC power supply to the load circuit in order to smooth the voltage or reduce noise. In such a case, when the AC power supply fails, the capacitor is discharged, and the change in the voltage applied to the circuit that detects the power failure becomes gradual, and it may take time from the occurrence of the power failure to the detection of the power failure. was there.

そこで、本発明は、交流電源の停電の検知に要する時間を短縮できる停電検知回路を提供することを目的とする。   Then, an object of this invention is to provide the power failure detection circuit which can shorten the time which detection of the power failure of AC power supply is required.

本発明の一つの形態として、停電検知回路が提供される。この停電検知回路は、第1の端子と第2の端子とを有する交流電源の第1の端子と接続され、第1の端子の電位が基準電位よりも高い第1の状態となった時点から、その第1の状態が維持されている第1の時間が第1の所定期間を過ぎると交流電源に異常が生じたことを表す電源異常信号を出力する第1のタイマ回路と、交流電源の第2の端子と接続され、第2の端子の電位が基準電位よりも高くなると第1の時間を0にリセットする第1の位相反転検知回路と、交流電源の第2の端子と接続され、第2の端子の電位が基準電位よりも高い第2の状態となった時点から、その第2の状態が維持されている第2の時間が第2の所定期間を過ぎると電源異常信号を出力する第2のタイマ回路と、交流電源の第1の端子と接続され、第1の端子の電位が基準電位よりも高くなると第2の時間を0にリセットする第2の位相反転検知回路とを有することを特徴とする。   As one aspect of the present invention, a power failure detection circuit is provided. This power failure detection circuit is connected to a first terminal of an AC power supply having a first terminal and a second terminal, and from the time when the potential of the first terminal is in a first state higher than the reference potential. A first timer circuit that outputs a power supply abnormality signal indicating that an abnormality has occurred in the AC power supply when the first time during which the first state is maintained exceeds a first predetermined period; Connected to the second terminal, connected to the first phase inversion detection circuit that resets the first time to 0 when the potential of the second terminal becomes higher than the reference potential, and the second terminal of the AC power supply; From the time when the potential of the second terminal becomes the second state higher than the reference potential, a power failure signal is output when the second time during which the second state is maintained exceeds the second predetermined period. Connected to the first timer terminal and the first terminal of the AC power supply. There and having a second phase inversion detecting circuit becomes higher than the reference potential the second time is reset to zero.

この停電検知回路において、第1の所定期間及び第2の所定期間は交流電圧の周期の1/2から交流電圧の周期の3倍までの期間であることが好ましい。   In this power failure detection circuit, it is preferable that the first predetermined period and the second predetermined period are periods from 1/2 of the cycle of the AC voltage to 3 times the cycle of the AC voltage.

またこの停電検知回路において、第1のタイマ回路は、制御端子が第1の端子と接続される第1のスイッチング素子と、第1のスイッチング素子を介して一端が定電圧源と接続されるコンデンサと、そのコンデンサの一端に制御端子が接続され、かつ、一方の端子が停電検知回路の出力端子と接続され、他方の端子が接地される第2のスイッチング素子とを有することが好ましい。この場合において、第1の位相反転検知回路は、制御端子が第2の端子と接続され、一方の端子が上記のコンデンサの一端と接続され、他方の端子が接地される第3のスイッチング素子を有することが好ましい。
この場合、第1の時間中、第1のスイッチング素子がオンとなってコンデンサが充電され、第1の時間が第1の所定期間を過ぎると、第2のスイッチング素子がオンとなることで出力端子から電源異常信号が出力され、一方、第1の時間が第1の所定期間に達する前に第2の端子の電位が基準電位よりも高くなると、第3のスイッチング素子がオンとなることでコンデンサが放電されて、第1の時間が0にリセットされることが好ましい。
In the power failure detection circuit, the first timer circuit includes a first switching element whose control terminal is connected to the first terminal, and a capacitor whose one end is connected to the constant voltage source via the first switching element. And a second switching element having a control terminal connected to one end of the capacitor, one terminal connected to the output terminal of the power failure detection circuit, and the other terminal grounded. In this case, the first phase inversion detection circuit includes a third switching element having a control terminal connected to the second terminal, one terminal connected to one end of the capacitor, and the other terminal grounded. It is preferable to have.
In this case, during the first time, the first switching element is turned on to charge the capacitor, and when the first time has passed the first predetermined period, the second switching element is turned on to output. When the power supply abnormality signal is output from the terminal and the potential of the second terminal becomes higher than the reference potential before the first time reaches the first predetermined period, the third switching element is turned on. Preferably, the capacitor is discharged and the first time is reset to zero.

さらに、この停電検知回路は、第1の端子及び第2の端子と接続され、第1の端子の電圧及び第2の端子の電圧の何れもが交流電源から供給される交流電圧の周期の1/2よりも長い第3の所定期間にわたって所定の電圧に達しない場合に電源異常信号を出力する電圧低下検知回路をさらに有することが好ましい。   Further, the power failure detection circuit is connected to the first terminal and the second terminal, and both the voltage of the first terminal and the voltage of the second terminal are 1 of the cycle of the AC voltage supplied from the AC power source. It is preferable to further include a voltage drop detection circuit that outputs a power supply abnormality signal when the predetermined voltage is not reached over a third predetermined period longer than / 2.

本発明に係る停電検知回路は、交流電源の停電の検知に要する時間を短縮できるという効果を奏する。   The power failure detection circuit according to the present invention has an effect that the time required for detecting a power failure of the AC power supply can be shortened.

本発明の一つの実施形態に係る停電検知回路の回路図である。It is a circuit diagram of a power failure detection circuit according to one embodiment of the present invention. 交流電源が正常動作している場合における、停電検知回路の各部の電圧の時間変化を示す図である。It is a figure which shows the time change of the voltage of each part of a power failure detection circuit in case an alternating current power supply is operating normally. 交流電源が停電した場合における、停電検知回路の各部の電圧の時間変化を示す図である。It is a figure which shows the time change of the voltage of each part of a power failure detection circuit at the time of AC power failure.

以下、本発明の一つの実施形態による停電検知回路を、図を参照しつつ説明する。この停電検知回路は、交流電源から供給される電圧の位相反転がその交流の周期に応じているか否かを調べ、交流の周期に応じて想定される期間を越えても位相反転しない場合に交流電源の停電を検知することで、停電の検知に要する時間を短縮する。   Hereinafter, a power failure detection circuit according to an embodiment of the present invention will be described with reference to the drawings. This power failure detection circuit checks whether or not the phase inversion of the voltage supplied from the AC power supply is in accordance with the AC cycle, and if the phase does not invert even after the period assumed in accordance with the AC cycle, the AC By detecting a power failure, the time required to detect a power failure is reduced.

図1は、本発明の一つの実施形態に係る停電検知回路の回路図である。図1に示されるように、停電検知回路1は、電圧低下検知回路11と、第1のタイマ回路12−1及び第2のタイマ回路12−2と、第1の位相反転検知回路13−1及び第2の位相反転検知回路13−2とを有する。そして停電検知回路1は、交流電源2の第1の端子2−1及び第2の端子2−2に対して、交流電源2から供給される交流電圧を直流電圧に変換してその直流電圧を負荷回路(図示せず)へ供給する整流回路3と並列に接続される。そして停電検知回路1は、交流電源2の停電を検知するか、あるいは、交流電源2から供給される交流電圧の振幅が所定値以下となると、トリガ端子14から電源異常を表す信号を出力する。トリガ端子14は、例えば、交流電源2から整流回路3を介して供給される電力により駆動される負荷回路を持つ機器の制御回路(図示せず)などと接続され、トリガ端子14からの信号により、その機器に、交流電源2に電源異常が発生したことが通知される。   FIG. 1 is a circuit diagram of a power failure detection circuit according to one embodiment of the present invention. As shown in FIG. 1, the power failure detection circuit 1 includes a voltage drop detection circuit 11, a first timer circuit 12-1, a second timer circuit 12-2, and a first phase inversion detection circuit 13-1. And a second phase inversion detection circuit 13-2. The power failure detection circuit 1 converts the AC voltage supplied from the AC power source 2 into a DC voltage to the first terminal 2-1 and the second terminal 2-2 of the AC power source 2 and converts the DC voltage to the DC voltage. It is connected in parallel with a rectifier circuit 3 that supplies a load circuit (not shown). The power failure detection circuit 1 detects a power failure of the AC power source 2 or outputs a signal indicating a power source abnormality from the trigger terminal 14 when the amplitude of the AC voltage supplied from the AC power source 2 becomes a predetermined value or less. The trigger terminal 14 is connected to, for example, a control circuit (not shown) of a device having a load circuit driven by power supplied from the AC power supply 2 via the rectifier circuit 3, and the trigger terminal 14 receives a signal from the trigger terminal 14. The device is notified that a power supply abnormality has occurred in the AC power supply 2.

本実施形態では、トリガ端子14から出力される信号が電源異常を表す場合、トリガ端子14の出力電圧は相対的に低くなり、一方、トリガ端子14から出力される信号が交流電源2が正常動作していることを表す場合、トリガ端子14の出力電圧は相対的に高くなる。   In the present embodiment, when the signal output from the trigger terminal 14 indicates a power supply abnormality, the output voltage of the trigger terminal 14 is relatively low, while the signal output from the trigger terminal 14 indicates that the AC power supply 2 is operating normally. In this case, the output voltage of the trigger terminal 14 is relatively high.

なお、以下では、便宜上、第1の端子2−1の電位が第2の端子2−2の電位と等しく、かつ、その後に第1の端子2−1の電位が第2の端子2−2の電位よりも高くなる時点での交流電源2から供給される交流電圧の位相を0°とする。すなわち、第1の端子2−1の電位が第2の端子2−2の電位よりも高ければ、交流電源2から供給される交流電圧の位相は0°〜180°の範囲に含まれ、その電位差が最大となる場合に位相は90°となる。逆に、第1の端子2−1の電位よりも第2の端子2−2の電位の方が高ければ、交流電源2から供給される交流電圧の位相は180°〜360°の範囲に含まれ、その電位差が最大となる場合に位相は270°となる。また、便宜上、交流電圧の位相が0°〜180°に含まれる場合、電圧及びその位相は正であるとし、交流電圧の位相が180°〜360°に含まれる場合、電圧及びその位相は負であるとする。   In the following, for the sake of convenience, the potential of the first terminal 2-1 is equal to the potential of the second terminal 2-2, and the potential of the first terminal 2-1 is thereafter set to the second terminal 2-2. The phase of the AC voltage supplied from the AC power source 2 at the time when the potential becomes higher than the potential is set to 0 °. That is, if the potential of the first terminal 2-1 is higher than the potential of the second terminal 2-2, the phase of the AC voltage supplied from the AC power supply 2 is included in the range of 0 ° to 180 °. When the potential difference is maximum, the phase is 90 °. Conversely, if the potential of the second terminal 2-2 is higher than the potential of the first terminal 2-1, the phase of the AC voltage supplied from the AC power supply 2 is included in the range of 180 ° to 360 °. When the potential difference is maximum, the phase is 270 °. For convenience, when the phase of the AC voltage is included in 0 ° to 180 °, the voltage and its phase are positive. When the phase of the AC voltage is included in 180 ° to 360 °, the voltage and its phase are negative. Suppose that

電圧低下検知回路11は、交流電源2から供給される交流電圧が所定の期間(第3の所定期間)にわたって所定の閾値電圧以下となった場合に、電源異常を表す信号をトリガ端子14に出力させる。そのために、電圧低下検知回路11は、二つのダイオードD1、D2と、ツェナーダイオードZD1と、二つのNPN型のバイポーラトランジスタ(以下、単にトランジスタと呼ぶ)TR1、TR2と、コンデンサC1とを有する。   The voltage drop detection circuit 11 outputs a signal indicating a power supply abnormality to the trigger terminal 14 when the AC voltage supplied from the AC power supply 2 becomes equal to or lower than a predetermined threshold voltage over a predetermined period (third predetermined period). Let For this purpose, the voltage drop detection circuit 11 includes two diodes D1 and D2, a Zener diode ZD1, two NPN bipolar transistors (hereinafter simply referred to as transistors) TR1 and TR2, and a capacitor C1.

ダイオードD1のアノード端子は交流電源2の第1の端子2−1と接続され、ダイオードD2のアノード端子は交流電源2の第2の端子2−2と接続される。そしてその二つのダイオードD1、D2の何れのカソード端子も、ツェナーダイオードZD1のカソード端子と接続される。また、ツェナーダイオードZD1のアノード端子は、抵抗R1を介してスイッチング素子であるトランジスタTR1のベース端子と接続される。なお、ベース端子は、スイッチング素子のオン・オフを切り替えるための信号が入力される制御端子の一例である。また、トランジスタTR1のコレクタ端子は、抵抗R2を介して定電圧源Vccと接続される。一方、トランジスタTR1のエミッタ端子は接地される。   The anode terminal of the diode D1 is connected to the first terminal 2-1 of the AC power supply 2, and the anode terminal of the diode D2 is connected to the second terminal 2-2 of the AC power supply 2. The cathode terminals of the two diodes D1 and D2 are connected to the cathode terminal of the Zener diode ZD1. The anode terminal of the Zener diode ZD1 is connected to the base terminal of the transistor TR1 that is a switching element via the resistor R1. The base terminal is an example of a control terminal to which a signal for switching on / off of the switching element is input. The collector terminal of the transistor TR1 is connected to the constant voltage source Vcc via the resistor R2. On the other hand, the emitter terminal of the transistor TR1 is grounded.

さらに、コンデンサC1の正極側の一端も、抵抗R2を介して定電圧源Vccと接続されるとともに、その正極側の一端は、抵抗R3を介してスイッチング素子であるトランジスタTR2のベース端子に接続される。一方、コンデンサC1の負極側の他端は接地される。   Furthermore, one end on the positive side of the capacitor C1 is also connected to the constant voltage source Vcc via the resistor R2, and one end on the positive side is connected to the base terminal of the transistor TR2 as a switching element via the resistor R3. The On the other hand, the other end on the negative electrode side of the capacitor C1 is grounded.

また、トランジスタTR2のコレクタ端子は、抵抗R4を介して定電圧源Vccと接続されるとともに、トリガ端子14と接続される。一方、トランジスタTR2のエミッタ端子は接地される。   The collector terminal of the transistor TR2 is connected to the constant voltage source Vcc via the resistor R4 and to the trigger terminal 14. On the other hand, the emitter terminal of the transistor TR2 is grounded.

以下、電圧低下検知回路11の動作について説明する。
交流電源2の第1の端子2−1及び第2の端子2−2の何れかの電圧がツェナーダイオードZD1のツェナー電圧よりも高い場合、トランジスタTR1のベース端子に電流が流れ、トランジスタTR1はオンとなる。そのため、トランジスタTR2のベース端子には電流が流れず、トランジスタTR2はオフとなる。そのため、トリガ端子14の電圧が定電圧源Vccから供給される電圧に応じた比較的高い値となる。すなわち、トリガ端子14からは、交流電源2が正常動作していることを表す信号が出力される。なお、このツェナー電圧は、上記の閾値電圧の一例であり、例えば、負荷回路が正常動作可能な電圧を得ることができる交流電圧の振幅の最小値、例えば、交流電源2の定格電圧の1/5〜1/2に設定される。
Hereinafter, the operation of the voltage drop detection circuit 11 will be described.
When the voltage of either the first terminal 2-1 or the second terminal 2-2 of the AC power supply 2 is higher than the Zener voltage of the Zener diode ZD1, a current flows through the base terminal of the transistor TR1, and the transistor TR1 is turned on. It becomes. Therefore, no current flows through the base terminal of the transistor TR2, and the transistor TR2 is turned off. Therefore, the voltage of the trigger terminal 14 becomes a relatively high value corresponding to the voltage supplied from the constant voltage source Vcc. That is, the trigger terminal 14 outputs a signal indicating that the AC power supply 2 is operating normally. This Zener voltage is an example of the above threshold voltage, and for example, the minimum value of the amplitude of the AC voltage that can obtain a voltage at which the load circuit can operate normally, for example, 1 / of the rated voltage of the AC power supply 2. Set to 5 to 1/2.

一方、交流電源2の第1の端子2−1及び第2の端子2−2の両方の電圧がツェナーダイオードZD1のツェナー電圧よりも低下すると、トランジスタTR1のベース端子に電流が流れず、トランジスタTR1はオフとなるので、コンデンサC1は、定電圧源Vccからの電圧により充電される。コンデンサC1の充電量がある一定値に達する遅延期間が経過するまでは、トランジスタTR2のベース端子に電流が流れず、トランジスタTR2がオフのまま維持される。なお、この遅延時間は、上記の第3の所定期間に対応する。したがって、交流電源2が正常動作しており、その遅延期間が経過する前に、第1の端子2−1及び第2の端子2−2の何れか一方の電圧がツェナーダイオードZD1のツェナー電圧よりも高くなれば、トリガ端子14が電源異常を表す信号を出力することはない。   On the other hand, when the voltage at both the first terminal 2-1 and the second terminal 2-2 of the AC power supply 2 is lower than the Zener voltage of the Zener diode ZD1, no current flows through the base terminal of the transistor TR1, and the transistor TR1. Is turned off, the capacitor C1 is charged by the voltage from the constant voltage source Vcc. Until the delay period in which the amount of charge of the capacitor C1 reaches a certain value elapses, no current flows through the base terminal of the transistor TR2, and the transistor TR2 remains off. This delay time corresponds to the third predetermined period. Accordingly, the voltage of either the first terminal 2-1 or the second terminal 2-2 is higher than the zener voltage of the zener diode ZD1 before the AC power supply 2 is operating normally and the delay period elapses. The trigger terminal 14 does not output a signal indicating a power supply abnormality.

しかし、交流電源2から出力される交流電圧の振幅が低下して、第1の端子2−1及び第2の端子2−2の何れから出力される電圧も、ツェナーダイオードZD1のツェナー電圧よりも高くならなければ、遅延期間内にトランジスタTR1がオンにならないので、トランジスタTR2のベース端子に電流が流れてトランジスタTR2がオンとなる。その結果、トリガ端子14の電圧が低下し、トリガ端子14から、電源異常を表す信号が出力されることになる。なお、交流電源2が正常動作している場合に、電源異常を表す信号が出力されることがないよう、遅延時間が交流電圧の周期の1/2よりも長くなるようにコンデンサC1の容量及び抵抗R3の抵抗値が設定されることが好ましい。一方、交流電源2から供給される交流電圧が低下してから、そのことを検知するまでに要する時間を短縮するために、遅延時間が交流電圧の周期よりも短くなるようにコンデンサC1の容量及び抵抗R3の抵抗値が設定されることが好ましい。   However, the amplitude of the AC voltage output from the AC power supply 2 decreases, and the voltage output from either the first terminal 2-1 or the second terminal 2-2 is higher than the Zener voltage of the Zener diode ZD1. If not, the transistor TR1 is not turned on within the delay period, so that a current flows through the base terminal of the transistor TR2 and the transistor TR2 is turned on. As a result, the voltage at the trigger terminal 14 decreases, and a signal indicating power supply abnormality is output from the trigger terminal 14. It should be noted that when the AC power supply 2 is operating normally, the capacitance of the capacitor C1 and the delay time are longer than 1/2 of the AC voltage cycle so that a signal indicating power supply abnormality is not output. The resistance value of the resistor R3 is preferably set. On the other hand, in order to reduce the time required for detecting the AC voltage supplied from the AC power source 2 after the AC voltage has decreased, the capacitance of the capacitor C1 and the capacitor C1 are set so that the delay time is shorter than the cycle of the AC voltage. The resistance value of the resistor R3 is preferably set.

第1のタイマ回路12−1は、交流電源2から供給される交流電圧が負から正に変化した時点(すなわち、交流電圧の位相が0°になった時点)から、電圧が正の状態(第1の状態)のまま維持される経過時間が所定の期間(以下、第1の所定期間と呼ぶ)を経過すると電源異常を表す信号をトリガ端子14に出力させる。なお、本実施形態においては、交流電源2から供給される交流電圧が負から正に変化した時点は、交流電源2の第1の端子2−1の電位が基準電位よりも高くなった時点に対応する。また基準電位は、停電検知回路1の接地電位である。   The first timer circuit 12-1 is in a state in which the voltage is positive from the time when the AC voltage supplied from the AC power supply 2 changes from negative to positive (that is, when the phase of the AC voltage becomes 0 °) ( When the elapsed time maintained in the first state passes a predetermined period (hereinafter referred to as a first predetermined period), a signal indicating a power supply abnormality is output to the trigger terminal 14. In the present embodiment, the time when the AC voltage supplied from the AC power supply 2 changes from negative to positive is the time when the potential of the first terminal 2-1 of the AC power supply 2 becomes higher than the reference potential. Correspond. The reference potential is the ground potential of the power failure detection circuit 1.

同様に、第2のタイマ回路12−2は、交流電源2から供給される交流電圧が正から負に変化した時点(すなわち、交流電圧の位相が180°になった時点)から、電圧が負の状態(第2の状態)のまま維持される経過時間が所定の期間(以下、第2の所定期間と呼ぶ)を経過すると電源異常を表す信号をトリガ端子14に出力させる。なお、本実施形態においては、交流電源2から供給される交流電圧が正から負に変化した時点は、交流電源2の第2の端子2−2の電位が基準電位よりも高くなった時点に対応する。   Similarly, the second timer circuit 12-2 has a negative voltage when the AC voltage supplied from the AC power supply 2 changes from positive to negative (that is, when the phase of the AC voltage becomes 180 °). When the elapsed time maintained in this state (second state) passes a predetermined period (hereinafter referred to as a second predetermined period), a signal indicating a power supply abnormality is output to the trigger terminal 14. In the present embodiment, the time when the AC voltage supplied from the AC power supply 2 changes from positive to negative is the time when the potential of the second terminal 2-2 of the AC power supply 2 becomes higher than the reference potential. Correspond.

第1の位相反転検知回路13−1は、交流電源2から供給される交流電圧が正から負に反転すると(すなわち、交流電圧の位相が180°になると)、第1のタイマ回路12−1による、第1の状態の経過時間をリセットする。同様に、第2の位相反転検知回路13−2は、交流電源2から供給される交流電圧が負から正に反転すると(すなわち、交流電圧の位相が0°になると)、第2のタイマ回路12−2による、第2の状態の経過時間をリセットする。   When the AC voltage supplied from the AC power supply 2 is inverted from positive to negative (that is, when the phase of the AC voltage becomes 180 °), the first phase inversion detection circuit 13-1 is configured to operate as the first timer circuit 12-1. To reset the elapsed time of the first state. Similarly, when the AC voltage supplied from the AC power supply 2 is inverted from negative to positive (that is, when the phase of the AC voltage becomes 0 °), the second phase inversion detection circuit 13-2 performs the second timer circuit. Reset the elapsed time of the second state according to 12-2.

第1のタイマ回路12−1と第2のタイマ回路12−2とは、それぞれ、第1のタイマ回路12−1の入力端子が交流電源2の第1の端子2−1と接続され、第2のタイマ回路12−2の入力端子が交流電源2の第2の端子2−2と接続される点を除いて、同一の構成とすることができる。同様に、第1の位相反転検知回路13−1と第2の位相反転検知回路13−2とは、それぞれ、第1の位相反転検知回路13−1の入力端子が交流電源2の第2の端子2−2と接続され、第2の位相反転検知回路13−2の入力端子が交流電源2の第1の端子2−1と接続される点を除いて、同一の構成とすることができる。
そこで以下では、第1のタイマ回路12−1と第1の位相反転検知回路13−1について説明する。
In the first timer circuit 12-1 and the second timer circuit 12-2, the input terminal of the first timer circuit 12-1 is connected to the first terminal 2-1 of the AC power source 2, respectively. The two timer circuits 12-2 can have the same configuration except that the input terminal of the timer circuit 12-2 is connected to the second terminal 2-2 of the AC power supply 2. Similarly, the first phase inversion detection circuit 13-1 and the second phase inversion detection circuit 13-2 are configured such that the input terminal of the first phase inversion detection circuit 13-1 is the second of the AC power supply 2. The same configuration can be adopted except that it is connected to the terminal 2-2 and the input terminal of the second phase inversion detection circuit 13-2 is connected to the first terminal 2-1 of the AC power supply 2. .
Therefore, hereinafter, the first timer circuit 12-1 and the first phase inversion detection circuit 13-1 will be described.

第1のタイマ回路12−1は、ダイオードD3と、3個のバイポーラトランジスタ(以下、単にトランジスタと呼ぶ)TR3〜TR5と、コンデンサC2とを有する。   The first timer circuit 12-1 includes a diode D3, three bipolar transistors (hereinafter simply referred to as transistors) TR3 to TR5, and a capacitor C2.

第1のタイマ回路12−1の入力端子であるダイオードD3のアノード端子は交流電源2の第1の端子2−1と接続され、一方、カソード端子は、抵抗R5を介してNPN型のトランジスタTR3のベース端子と接続される。   The anode terminal of the diode D3, which is the input terminal of the first timer circuit 12-1, is connected to the first terminal 2-1 of the AC power supply 2, while the cathode terminal is an NPN transistor TR3 via the resistor R5. Connected to the base terminal.

トランジスタTR3のコレクタ端子は、抵抗R6及びR7を介して定電圧源Vccと接続され、さらに、抵抗R7を介してPNP型のトランジスタTR4のベース端子と接続される。一方、トランジスタTR3のエミッタ端子は接地される。また、トランジスタTR4のエミッタ端子は定電圧源Vccと接続され、一方、トランジスタTR4のコレクタ端子は、抵抗R8を介してコンデンサC2の一端と接続される。さらに、トランジスタTR4のコレクタ端子は、抵抗R8及びR9を介してNPN型のトランジスタTR5のベース端子と接続される。
トランジスタTR3及びTR4は、第1のタイマ回路12−1が有する第1のスイッチング素子の一例である。
The collector terminal of the transistor TR3 is connected to the constant voltage source Vcc via the resistors R6 and R7, and is further connected to the base terminal of the PNP transistor TR4 via the resistor R7. On the other hand, the emitter terminal of the transistor TR3 is grounded. The emitter terminal of the transistor TR4 is connected to the constant voltage source Vcc, while the collector terminal of the transistor TR4 is connected to one end of the capacitor C2 via the resistor R8. Further, the collector terminal of the transistor TR4 is connected to the base terminal of the NPN transistor TR5 via resistors R8 and R9.
The transistors TR3 and TR4 are an example of a first switching element included in the first timer circuit 12-1.

上述したように、コンデンサC2の正極側の一端は、抵抗R8、R9を介してトランジスタTR4のコレクタ端子及びトランジスタTR5のベース端子と接続されるとともに、第1の位相反転検知回路13−1の出力端子と接続される。また、コンデンサC2の負極側の他端は接地される。   As described above, one end of the positive side of the capacitor C2 is connected to the collector terminal of the transistor TR4 and the base terminal of the transistor TR5 via the resistors R8 and R9, and the output of the first phase inversion detection circuit 13-1. Connected to terminal. The other end of the capacitor C2 on the negative electrode side is grounded.

さらに、第1のタイマ回路12−1の出力端子である、トランジスタTR5のコレクタ端子は、トリガ端子14と接続され、一方、トランジスタTR5のエミッタ端子は接地される。トランジスタTR5は、第1のタイマ回路12−1が有する第2のスイッチング素子の一例である。   Furthermore, the collector terminal of the transistor TR5, which is the output terminal of the first timer circuit 12-1, is connected to the trigger terminal 14, while the emitter terminal of the transistor TR5 is grounded. The transistor TR5 is an example of a second switching element included in the first timer circuit 12-1.

第1の位相反転検知回路13−1は、ダイオードD4と、スイッチング素子である、NPN型のバイポーラトランジスタ(以下、単にトランジスタと呼ぶ)TR6を有する。   The first phase inversion detection circuit 13-1 includes a diode D4 and an NPN bipolar transistor (hereinafter simply referred to as a transistor) TR6, which is a switching element.

第1の位相反転検知回路13−1の入力端子であるダイオードD4のアノード端子は交流電源2の第2の端子2−2と接続され、一方、カソード端子は、抵抗R10を介してトランジスタTR6のベース端子と接続される。第1の位相反転検知回路13−1の出力端子であるトランジスタTR6のコレクタ端子は、第1のタイマ回路12−1のコンデンサC2の正極側の端子と接続される。一方、トランジスタTR6のエミッタ端子は接地される。   The anode terminal of the diode D4, which is the input terminal of the first phase inversion detection circuit 13-1, is connected to the second terminal 2-2 of the AC power supply 2, while the cathode terminal of the transistor TR6 is connected via the resistor R10. Connected to the base terminal. The collector terminal of the transistor TR6, which is the output terminal of the first phase inversion detection circuit 13-1, is connected to the positive terminal of the capacitor C2 of the first timer circuit 12-1. On the other hand, the emitter terminal of the transistor TR6 is grounded.

以下、第1のタイマ回路12−1及び第1の位相反転検知回路13−1の動作について説明する。   Hereinafter, operations of the first timer circuit 12-1 and the first phase inversion detection circuit 13-1 will be described.

交流電源2から出力される交流電圧が負から正に変わると、第1の端子2−1の電位が基準電位である停電検知回路1の接地電位よりも高くなり、第1の端子2−1からダイオードD3を介してトランジスタTR3のベース端子に電流が流れるので、トランジスタTR3はオンとなる。そのため、トランジスタTR4のベース端子にも電流が流れて、トランジスタTR4もオンとなる。その結果、コンデンサC2の充電が開始される。そして交流電圧が正となっている間、コンデンサC2の充電が継続する。交流電圧が負から正に変わってから正のまま保たれている経過時間が第1の所定期間を超えてコンデンサC2の充電が継続されると、トランジスタTR5のベース端子に電流が流れるようになり、トランジスタTR5がオンになる。トランジスタTR5がオンになると、定電圧源Vccからトリガ端子14を介してトランジスタTR5を通って電流が流れるので、トリガ端子14の電圧が低下し、トリガ端子から電源異常を表す信号が出力されるようになる。   When the AC voltage output from the AC power supply 2 changes from negative to positive, the potential of the first terminal 2-1 becomes higher than the ground potential of the power failure detection circuit 1, which is the reference potential, and the first terminal 2-1 Current flows through the diode D3 to the base terminal of the transistor TR3, so that the transistor TR3 is turned on. Therefore, a current also flows through the base terminal of the transistor TR4, and the transistor TR4 is also turned on. As a result, charging of the capacitor C2 is started. The capacitor C2 continues to be charged while the AC voltage is positive. If the elapsed time that the AC voltage has been kept positive after changing from negative to positive exceeds the first predetermined period and the capacitor C2 continues to be charged, current will flow to the base terminal of the transistor TR5. The transistor TR5 is turned on. When the transistor TR5 is turned on, a current flows from the constant voltage source Vcc through the transistor TR5 via the trigger terminal 14, so that the voltage at the trigger terminal 14 decreases and a signal indicating a power supply abnormality is output from the trigger terminal. become.

一方、詳細は後述するように、その経過時間が第1の所定期間に達するまでに、第1の位相反転検知回路13−1により第1のタイマ回路12−1がリセットされると、コンデンサC2は放電するので、トランジスタTR5はオフのまま保たれる。トランジスタTR5がオフであれば、第1のタイマ回路12−1によってトリガ端子14の出力電圧が相対的に低い電圧となることはない。   On the other hand, as will be described in detail later, if the first timer circuit 12-1 is reset by the first phase inversion detection circuit 13-1 before the elapsed time reaches the first predetermined period, the capacitor C2 Is discharged, the transistor TR5 remains off. When the transistor TR5 is off, the output voltage of the trigger terminal 14 is not relatively lowered by the first timer circuit 12-1.

また、交流電圧が負の間、トランジスタTR3のベース端子に電流が流れないのでトランジスタTR3はオフとなる。そのため、トランジスタTR4のベース端子にも電流が流れなくなり、トランジスタTR4もオフになる。その結果、コンデンサC2の充電は停止される。そのため、既にトランジスタTR5がオンになっていない限り、トランジスタTR5がオンになることはない。   Further, since the current does not flow to the base terminal of the transistor TR3 while the AC voltage is negative, the transistor TR3 is turned off. Therefore, no current flows through the base terminal of the transistor TR4, and the transistor TR4 is also turned off. As a result, charging of the capacitor C2 is stopped. For this reason, the transistor TR5 is not turned on unless the transistor TR5 is already turned on.

次に、第1の位相反転検知回路13−1について、交流電源2から出力される交流電圧が正の間、トランジスタTR6のベース端子に電流が流れないのでトランジスタTR6はオフとなる。そのため、第1のタイマ回路12−1のコンデンサC2が、トランジスタTR6を介して放電されることはない。   Next, for the first phase inversion detection circuit 13-1, while the AC voltage output from the AC power supply 2 is positive, no current flows through the base terminal of the transistor TR6, so the transistor TR6 is turned off. Therefore, the capacitor C2 of the first timer circuit 12-1 is not discharged through the transistor TR6.

一方、交流電圧が正から負に変わると、第2の端子2−2の電位が基準電位である停電検知回路1の接地電位よりも高くなり、第2の端子2−2からダイオードD4を介してトランジスタTR6のベース端子に電流が流れるようになり、トランジスタTR6がオフになる。そのため、第1のタイマ回路12−1のコンデンサC2は、トランジスタTR6を介して放電されるので、第1のタイマ回路12−1はリセットされる。   On the other hand, when the AC voltage changes from positive to negative, the potential of the second terminal 2-2 becomes higher than the ground potential of the power failure detection circuit 1, which is the reference potential, and the second terminal 2-2 passes through the diode D4. As a result, current flows through the base terminal of the transistor TR6, and the transistor TR6 is turned off. For this reason, the capacitor C2 of the first timer circuit 12-1 is discharged through the transistor TR6, so that the first timer circuit 12-1 is reset.

このように、交流電源2が停電しなければ、第1のタイマ回路12−1がトリガ端子14に電源異常を表す信号を出力させるよりも前に、第1のタイマ回路12−1は、第1の位相反転検知回路13−1によりリセットされるので、トリガ端子14から電源異常を表す信号が出力されることはない。しかし、交流電圧が正となっている間に交流電源2が停電すると、第1の所定期間が経過しても交流電圧が正から負に切り替わらないので、第1のタイマ回路12−1は、第1の位相反転検知回路13−1によりリセットされず、交流電圧が負から正に切り替わってから第1の所定期間経過後、トリガ端子14から電源異常を表す信号が出力されることになる。   As described above, if the AC power supply 2 is not powered off, the first timer circuit 12-1 is connected to the first timer circuit 12-1 before the first timer circuit 12-1 outputs a signal indicating power supply abnormality to the trigger terminal 14. 1 is reset by the phase inversion detection circuit 13-1, the signal indicating the power supply abnormality is not output from the trigger terminal 14. However, if the AC power supply 2 fails while the AC voltage is positive, the AC voltage does not switch from positive to negative even after the first predetermined period has elapsed, so the first timer circuit 12-1 The first phase inversion detection circuit 13-1 is not reset, and a signal indicating a power supply abnormality is output from the trigger terminal 14 after the first predetermined period has elapsed since the AC voltage was switched from negative to positive.

同様に、交流電圧の位相が負となっている間に交流電源2が停電すると、第2の所定期間が経過しても交流電圧が負から正に切り替わらないので、第2のタイマ回路12−2は、第2の位相反転検知回路13−2によりリセットされず、トリガ端子14から電源異常を表す信号が出力されることになる。   Similarly, if the AC power supply 2 fails while the phase of the AC voltage is negative, the AC voltage does not switch from negative to positive even after the second predetermined period has elapsed, so the second timer circuit 12- 2 is not reset by the second phase inversion detection circuit 13-2, and a signal indicating a power supply abnormality is output from the trigger terminal 14.

したがって、この停電検知回路1は、交流電源2の停電が発生してから、遅くとも、第1の所定期間及び第2の所定期間の長い方が経過した時点で停電を検知でき、電源異常が生じたことをトリガ端子14に接続される機器に知らせることができる。そのため、その機器は、交流電源2の停電が生じてから、その機器自身が動作を停止するまでの間の停電対策(例えば、交流電源2からの電力により駆動されている機器の動作状況を表すデータを不揮発性のメモリに記憶するなど)に利用できる時間を長くとることができる。   Therefore, the power failure detection circuit 1 can detect a power failure when the longer one of the first predetermined period and the second predetermined period has elapsed at the latest after the occurrence of a power failure of the AC power supply 2, and a power failure occurs. This can be notified to the device connected to the trigger terminal 14. Therefore, the device represents a power failure countermeasure (for example, the operating status of the device driven by the power from the AC power source 2) after the AC power source 2 has a power failure until the device itself stops operating. It is possible to increase the time available for storing data in a non-volatile memory.

なお、交流電源2が正常動作している場合に、電源異常を表す信号が出力されることがないよう、第1及び第2の所定期間が交流電圧の周期の1/2以上となるように、第1のタイマ回路12−1及び第2のタイマ回路12−2のコンデンサC2の容量及び抵抗R9の抵抗値が設定されることが好ましい。一方、交流電源2が停電してから、そのことを検知するまでに要する時間を短縮するために、第1及び第2の所定期間が交流電圧の周期よりも短くなるようにコンデンサC2の容量及び抵抗R9の抵抗値が設定されることが好ましい。そこで例えば、第1及び第2の所定期間が交流電圧の周期の1/2から交流電圧の周期の3倍までの期間となるように、コンデンサC2の容量及び抵抗R9の抵抗値が設定されることが好ましい。第1及び第2の所定期間が交流電圧の周期の3倍以下となることで、停電検知回路1は、従来の停電検知回路よりも短期間で停電を検知できる。特に、第1及び第2の所定期間が交流電圧の周期の1/2に所定のオフセット(例えば、0.1〜1msec)を加えた期間となるように、コンデンサC2の容量及び抵抗R9の抵抗値が設定されることが好ましい。例えば、第1及び第2の所定期間が交流電圧の周期の1/2となるようにコンデンサC2の容量及び抵抗R9の抵抗値が設定される場合、停電検知回路1は、遅くとも、交流電源2が停電してから交流電圧の周期の1/2が経過した時点(例えば、交流電圧の周期が50Hzであれば、10msecを経過した時点であり、交流電圧の周期が60Hzであれば、8.3msecを経過した時点)で停電が発生したことを検知できる。   In addition, when the AC power supply 2 is operating normally, the first and second predetermined periods are set to be 1/2 or more of the AC voltage cycle so that a signal indicating power supply abnormality is not output. The capacitance of the capacitor C2 and the resistance value of the resistor R9 of the first timer circuit 12-1 and the second timer circuit 12-2 are preferably set. On the other hand, in order to shorten the time required for detecting the AC power supply 2 after a power failure, the capacitance of the capacitor C2 and the capacitor C2 are set so that the first and second predetermined periods are shorter than the AC voltage cycle. The resistance value of the resistor R9 is preferably set. Therefore, for example, the capacitance of the capacitor C2 and the resistance value of the resistor R9 are set so that the first and second predetermined periods are from 1/2 of the period of the AC voltage to 3 times the period of the AC voltage. It is preferable. When the first and second predetermined periods are not more than three times the AC voltage cycle, the power failure detection circuit 1 can detect a power failure in a shorter period than the conventional power failure detection circuit. In particular, the capacitance of the capacitor C2 and the resistance value of the resistor R9 are set such that the first and second predetermined periods are periods obtained by adding a predetermined offset (for example, 0.1 to 1 msec) to 1/2 of the period of the AC voltage. It is preferably set. For example, when the capacitance of the capacitor C2 and the resistance value of the resistor R9 are set so that the first and second predetermined periods are ½ of the cycle of the AC voltage, the power failure detection circuit 1 may be the AC power source 2 at the latest. When a half of the AC voltage cycle has elapsed since the power failure occurred (for example, if the AC voltage cycle is 50 Hz, 10 msec has passed; if the AC voltage cycle is 60 Hz, 8.3 msec. It is possible to detect a power outage when

図2は、交流電源が正常動作している場合における、停電検知回路の各部の電圧の時間変化を示す図である。図2において、横軸は時間を表し、縦軸は電圧を表す。波形200は、トリガ端子14からの出力電圧の時間変化を表す。波形201は、第1のタイマ回路12−1のコンデンサC2の正極側端子の電圧の時間変化を表す。また、波形202は、第2のタイマ回路12−2のコンデンサC2の正極側端子の電圧の時間変化を表す。さらに、波形203は、電圧低下検知回路11のコンデンサC1の正極側端子の電圧の時間変化を表す。そして波形204は、交流電源2から出力される交流電圧の波形である。   FIG. 2 is a diagram illustrating a temporal change in voltage of each part of the power failure detection circuit when the AC power supply is operating normally. In FIG. 2, the horizontal axis represents time, and the vertical axis represents voltage. A waveform 200 represents a time change of the output voltage from the trigger terminal 14. A waveform 201 represents a time change of the voltage at the positive terminal of the capacitor C2 of the first timer circuit 12-1. A waveform 202 represents a time change of the voltage at the positive terminal of the capacitor C2 of the second timer circuit 12-2. Further, a waveform 203 represents a time change of the voltage at the positive terminal of the capacitor C1 of the voltage drop detection circuit 11. A waveform 204 is a waveform of the AC voltage output from the AC power supply 2.

時刻t1にて交流電圧が負から正に変わるのに伴い、第1のタイマ回路12−1のコンデンサC2の充電が開始されるので、波形201に示されるように、第1のタイマ回路12−1のコンデンサC2の正極側端子の電圧も上昇する。しかし、時刻t4にて交流電圧が正から負に変わるので、第1のタイマ回路12−1のコンデンサC2は放電し、第1のタイマ回路12−1のコンデンサC2の正極側端子の電圧は、第1のタイマ回路12−1のトランジスタTR5がオンとなる電圧に達する前にほぼ0になるまで低下する。逆に、波形202に示されるように、第2のタイマ回路12−2のコンデンサC2の正極側端子の電圧は上昇を開始する。しかし、時刻t7にて交流電圧が負から正に変わるので、第2のタイマ回路12−2のコンデンサC2は放電し、第2のタイマ回路12−2のコンデンサC2の正極側端子の電圧は、第2のタイマ回路12−2のトランジスタTR5がオンとなる電圧に達する前にほぼ0になるまで低下する。交流電圧の1周期ごとに、各タイマ回路のコンデンサC2の正極側端子において、このような電圧変化が繰り返される。   As the AC voltage changes from negative to positive at time t1, charging of the capacitor C2 of the first timer circuit 12-1 is started, so that as shown in the waveform 201, the first timer circuit 12- The voltage at the positive terminal of the capacitor C2 increases. However, since the AC voltage changes from positive to negative at time t4, the capacitor C2 of the first timer circuit 12-1 is discharged, and the voltage at the positive terminal of the capacitor C2 of the first timer circuit 12-1 is: Before the transistor TR5 of the first timer circuit 12-1 reaches a voltage to turn on, the voltage drops to almost zero. Conversely, as indicated by the waveform 202, the voltage at the positive terminal of the capacitor C2 of the second timer circuit 12-2 starts to rise. However, since the AC voltage changes from negative to positive at time t7, the capacitor C2 of the second timer circuit 12-2 is discharged, and the voltage at the positive terminal of the capacitor C2 of the second timer circuit 12-2 is: The voltage drops to almost zero before reaching the voltage at which the transistor TR5 of the second timer circuit 12-2 is turned on. Such voltage change is repeated at the positive terminal of the capacitor C2 of each timer circuit every cycle of the AC voltage.

また、波形203に示されるように、時刻t0から時刻t2の間、第1の端子2−1及び第2の端子2−2の何れの電圧もツェナーダイオードZD1のツェナー電圧以下となるので、電圧低下検知回路11のコンデンサC1の正極側端子の電圧は上昇する。しかし、時刻t2において、第1の端子2−1の電圧がツェナーダイオードZD1のツェナー電圧よりも高くなるので、コンデンサC1の正極側端子の電圧はトランジスタTR2がオンとなる電圧に達することなく、ほぼ0になるまで低下する。その後、時刻t3まで、第1の端子2−1の電圧がツェナーダイオードZD1のツェナー電圧よりも高いので、コンデンサC1の正極側端子の電圧はほぼ0のままとなる。   Further, as shown in the waveform 203, since the voltage at both the first terminal 2-1 and the second terminal 2-2 is equal to or lower than the Zener voltage of the Zener diode ZD1 between the time t0 and the time t2, the voltage The voltage at the positive terminal of the capacitor C1 of the drop detection circuit 11 rises. However, since the voltage at the first terminal 2-1 becomes higher than the Zener voltage at the Zener diode ZD1 at time t2, the voltage at the positive terminal of the capacitor C1 does not reach the voltage at which the transistor TR2 is turned on. Decreases until zero. Thereafter, until time t3, the voltage at the first terminal 2-1 is higher than the Zener voltage of the Zener diode ZD1, and therefore the voltage at the positive terminal of the capacitor C1 remains substantially zero.

時刻t3以降、第1の端子2−1及び第2の端子2−2の何れの電圧もツェナーダイオードZD1のツェナー電圧以下となるので、コンデンサC1の正極側端子の電圧は再び上昇を開始する。しかし、時刻t5において、第2の端子2−2の電圧がツェナーダイオードZD1のツェナー電圧よりも高くなるので、コンデンサC1の正極側端子の電圧はトランジスタTR2がオンとなる電圧に達することなく、ほぼ0になるまで低下する。その後、時刻t6まで、第2の端子2−2の電圧がツェナーダイオードZD1のツェナー電圧よりも高いので、コンデンサC1の正極側端子の電圧はほぼ0のままとなる。   After time t3, the voltage at both the first terminal 2-1 and the second terminal 2-2 becomes equal to or lower than the Zener voltage of the Zener diode ZD1, so that the voltage at the positive terminal of the capacitor C1 starts to rise again. However, since the voltage at the second terminal 2-2 becomes higher than the Zener voltage at the Zener diode ZD1 at time t5, the voltage at the positive terminal of the capacitor C1 does not reach the voltage at which the transistor TR2 is turned on. Decreases until zero. Thereafter, until time t6, the voltage at the second terminal 2-2 is higher than the Zener voltage of the Zener diode ZD1, so the voltage at the positive terminal of the capacitor C1 remains substantially zero.

以後、交流電圧の1周期ごとに、コンデンサC1の正極側端子において、このような電圧変化が繰り返される。そのため、波形200に示されるように、トリガ端子14からの出力電圧は、電源異常を示す電圧とならず、交流電源2が正常動作していることを表す電圧のまま維持される。   Thereafter, such a voltage change is repeated at the positive terminal of the capacitor C1 every cycle of the AC voltage. Therefore, as shown in the waveform 200, the output voltage from the trigger terminal 14 is not a voltage indicating a power supply abnormality but is maintained as a voltage indicating that the AC power supply 2 is operating normally.

図3は、交流電源が停電した場合における、停電検知回路の各部の電圧の時間変化を示す図である。図3において、横軸は時間を表し、縦軸は電圧を表す。波形300は、トリガ端子14からの出力電圧の時間変化を表す。波形301は、第1のタイマ回路12−1のコンデンサC2の正極側端子の電圧の時間変化を表す。また、波形302は、第2のタイマ回路12−2のコンデンサC2の正極側端子の電圧の時間変化を表す。さらに、波形303は、電圧低下検知回路11のコンデンサC1の正極側端子の電圧の時間変化を表す。そして波形304は、交流電源2から出力される交流電圧の波形である。   FIG. 3 is a diagram illustrating a temporal change in voltage of each part of the power failure detection circuit when the AC power supply fails. In FIG. 3, the horizontal axis represents time, and the vertical axis represents voltage. A waveform 300 represents a time change of the output voltage from the trigger terminal 14. A waveform 301 represents a change over time in the voltage at the positive terminal of the capacitor C2 of the first timer circuit 12-1. A waveform 302 represents a change over time in the voltage at the positive terminal of the capacitor C2 of the second timer circuit 12-2. Further, a waveform 303 represents a time change of the voltage at the positive terminal of the capacitor C1 of the voltage drop detection circuit 11. A waveform 304 is a waveform of an AC voltage output from the AC power supply 2.

この例では、波形304に示されるように、時刻t1で停電が発生し、その後、交流電源からの電圧は正、すなわち、第1の端子2−1の電位が第2の端子2−2の電位よりも高い状態で一定となっている。そのため、第1のタイマ回路12−1のコンデンサC2の充電が継続されるので、波形301に示されるように、第1のタイマ回路12−1のコンデンサC2の正極側端子の電圧は上昇を続け、時刻t2にて第1のタイマ回路12−1のトランジスタTR5がオンとなる電圧に達する。そのため、波形300に示されるように、時刻t2以降、トリガ端子14からの出力電圧は低下し、停電が検知されたことが分かる。なお、波形302に示されるように、時刻t1以降では、第1の端子2−1の電位が第2の端子2−2の電位よりも高い状態で一定となっているため、第2のタイマ回路12−2のコンデンサC2の正極側端子の電圧は、ほぼ0のまま一定となる。さらに、時刻t1以降、第1の端子2−1の電圧がツェナーダイオードZD1のツェナー電圧よりも高いままとなっているので、電圧低下検知回路11のコンデンサC1の正極側端子の電圧はほぼ0のままとなる。   In this example, as shown in the waveform 304, a power failure occurs at time t1, and then the voltage from the AC power supply is positive, that is, the potential of the first terminal 2-1 is the second terminal 2-2. It is constant at a state higher than the potential. Therefore, since charging of the capacitor C2 of the first timer circuit 12-1 is continued, as shown in the waveform 301, the voltage at the positive terminal of the capacitor C2 of the first timer circuit 12-1 continues to rise. At time t2, the voltage reaches the voltage at which the transistor TR5 of the first timer circuit 12-1 is turned on. Therefore, as shown in the waveform 300, it can be seen that the output voltage from the trigger terminal 14 has dropped after time t2, and a power failure has been detected. As shown in the waveform 302, after the time t1, since the potential of the first terminal 2-1 is higher than the potential of the second terminal 2-2, the second timer The voltage at the positive terminal of the capacitor C2 of the circuit 12-2 remains constant at almost zero. Furthermore, since the voltage at the first terminal 2-1 remains higher than the Zener voltage of the Zener diode ZD1 after time t1, the voltage at the positive terminal of the capacitor C1 of the voltage drop detection circuit 11 is almost zero. Will remain.

以上に説明してきたように、この停電検知回路は、交流電源から供給される交流電圧の位相が所定の期間を越えても正から負または負から正に反転しない場合に交流電源の停電を検知する。そのため、この停電検知回路は、交流電源に接続されたコンデンサなどの影響により、停電発生後の電圧変化が緩やかであっても、停電の発生を迅速に検知できる。またこの停電検知回路は、簡単な回路構成で交流電源の停電を検知できる。さらに、この停電検知回路は、交流電源から供給された交流電圧の低下を検知する回路を別途有するので、交流電源が完全に停止せず、供給された交流電圧が低下したことも検知できる。   As explained above, this power failure detection circuit detects a power failure of the AC power source when the phase of the AC voltage supplied from the AC power source exceeds a predetermined period and does not reverse from positive to negative or negative to positive. To do. For this reason, the power failure detection circuit can quickly detect the occurrence of a power failure even if the voltage change after the power failure occurs moderately due to the influence of a capacitor or the like connected to the AC power supply. This power failure detection circuit can detect a power failure of the AC power supply with a simple circuit configuration. Furthermore, since this power failure detection circuit has a separate circuit for detecting a drop in the AC voltage supplied from the AC power supply, the AC power supply does not stop completely, and it can also be detected that the supplied AC voltage has dropped.

変形例によれば、各回路において、バイポーラトランジスタの代わりに、MOSFETあるいは他のスイッチング素子が用いられてもよい。   According to the modification, MOSFETs or other switching elements may be used in each circuit instead of bipolar transistors.

また、他の変形例によれば、第1のタイマ回路は、トランジスタTR3、TR4及びコンデンサC2の代わりに、コンパレータと、サンプリング回路と、カウンタとを有していてもよい。例えば、コンパレータの入力の一方は、交流電源2の第1の端子2−1と接続され、コンパレータの入力の他方は接地される。そしてコンパレータは、第1の端子2−1の電位が第2の端子2−2の電位よりも高い(すなわち、交流電圧の位相が正)のときに相対的に高い電圧を出力し、一方、第1の端子2−1の電位が第2の端子2−2の電位よりも低い(すなわち、交流電圧の位相が負)のときに相対的に低い電圧を出力する。サンプリング回路は、交流電圧の周期よりも短い所定の周期(例えば、0.1msec〜1msec)でコンパレータから出力された電圧をサンプリングして、コンパレータからの出力電圧が相対的に高い場合にパルス信号を生成する。そしてサンプリング回路の出力端子は、カウンタの入力端子と接続される。カウンタは、サンプリング回路からパルス信号が入力される度に、カウント値を1インクリメントする。そしてカウンタは、カウント値が交流電圧の周期の1/2の期間に入力されるパルス信号の数に相当する閾値を越えたとき、トランジスタTR5をオンにすることで、トリガ端子14から電源異常を表す信号が出力される。   According to another modification, the first timer circuit may include a comparator, a sampling circuit, and a counter instead of the transistors TR3 and TR4 and the capacitor C2. For example, one input of the comparator is connected to the first terminal 2-1 of the AC power supply 2, and the other input of the comparator is grounded. The comparator outputs a relatively high voltage when the potential of the first terminal 2-1 is higher than the potential of the second terminal 2-2 (that is, the phase of the AC voltage is positive), When the potential of the first terminal 2-1 is lower than the potential of the second terminal 2-2 (that is, the phase of the AC voltage is negative), a relatively low voltage is output. The sampling circuit samples the voltage output from the comparator at a predetermined cycle (for example, 0.1msec to 1msec) shorter than the cycle of the AC voltage, and generates a pulse signal when the output voltage from the comparator is relatively high To do. The output terminal of the sampling circuit is connected to the input terminal of the counter. The counter increments the count value by 1 each time a pulse signal is input from the sampling circuit. The counter turns on the transistor TR5 when the count value exceeds a threshold value corresponding to the number of pulse signals input in a half period of the AC voltage cycle, thereby causing a power supply abnormality from the trigger terminal 14. A representative signal is output.

この場合、第1の位相反転検知回路13−1も、トランジスタTR6の代わりにコンパレータを有していてもよい。そしてコンパレータの入力の一方は、交流電源2の第2の端子2−2と接続され、コンパレータの入力の他方は接地される。そしてコンパレータは、第2の端子2−2の電位が第1の端子2−1の電位よりも高い(すなわち、交流電圧の位相が負)のときに相対的に高い電圧を出力し、一方、第2の端子2−2の電位が第1の端子2−1の電位よりも低い(すなわち、交流電圧の位相が正)のときに相対的に低い電圧を出力する。そしてコンパレータからの出力は、カウンタのリセット端子に入力され、コンパレータが相対的に高い電圧を出力すると、カウンタがリセットされる。これにより、交流電源2が正常動作している場合には、カウンタのカウント値が閾値に達するよりも前にリセットされるので、トリガ端子14が電源異常を表す信号を出力することが防止される。
なお、第2のタイマ回路12−2及び第2の位相反転検知回路13−2も、上記の変形例のように構成されてもよい。
In this case, the first phase inversion detection circuit 13-1 may also have a comparator instead of the transistor TR6. One input of the comparator is connected to the second terminal 2-2 of the AC power supply 2, and the other input of the comparator is grounded. The comparator outputs a relatively high voltage when the potential of the second terminal 2-2 is higher than the potential of the first terminal 2-1 (that is, the phase of the AC voltage is negative), When the potential of the second terminal 2-2 is lower than the potential of the first terminal 2-1 (that is, the phase of the AC voltage is positive), a relatively low voltage is output. The output from the comparator is input to the reset terminal of the counter. When the comparator outputs a relatively high voltage, the counter is reset. As a result, when the AC power supply 2 is operating normally, it is reset before the count value of the counter reaches the threshold value, thereby preventing the trigger terminal 14 from outputting a signal indicating power supply abnormality. .
The second timer circuit 12-2 and the second phase inversion detection circuit 13-2 may also be configured as in the above modification.

上記の実施形態または変形例による停電検知回路は、例えば、弾球遊技機または回胴遊技機といった遊技機に搭載されてもよい。   The power failure detection circuit according to the above-described embodiment or modification may be mounted on a gaming machine such as a ball game machine or a spinning game machine.

このように、当業者は、本発明の範囲内で、実施される形態に合わせて様々な変更を行うことができる。   As described above, those skilled in the art can make various modifications in accordance with the embodiment to be implemented within the scope of the present invention.

1 停電検知回路
2 交流電源
2−1 第1の端子
2−2 第2の端子
3 整流回路
11 電圧低下検知回路
12−1 第1のタイマ回路
12−2 第2のタイマ回路
13−1 第1の位相反転検知回路
13−2 第2の位相反転検知回路
14 トリガ端子
DESCRIPTION OF SYMBOLS 1 Power failure detection circuit 2 AC power supply 2-1 1st terminal 2-2 2nd terminal 3 Rectifier circuit 11 Voltage drop detection circuit 12-1 1st timer circuit 12-2 2nd timer circuit 13-1 1st Phase inversion detection circuit 13-2 Second phase inversion detection circuit 14 Trigger terminal

Claims (4)

第1の端子と第2の端子とを有する交流電源の前記第1の端子と接続され、前記第1の端子の電位が基準電位よりも高い第1の状態となった時点から、当該第1の状態が維持されている第1の時間が第1の所定期間を過ぎると前記交流電源に異常が生じたことを表す電源異常信号を出力する第1のタイマ回路と、
前記交流電源の前記第2の端子と接続され、前記第2の端子の電位が前記基準電位よりも高くなると、前記第1の時間を0にリセットする第1の位相反転検知回路と、
前記交流電源の前記第2の端子と接続され、前記第2の端子の電位が前記基準電位よりも高い第2の状態となった時点から、当該第2の状態が維持されている第2の時間が第2の所定期間を過ぎると前記電源異常信号を出力する第2のタイマ回路と、
前記交流電源の前記第1の端子と接続され、前記第1の端子の電位が前記基準電位よりも高くなると、前記第2の時間を0にリセットする第2の位相反転検知回路と、
を有することを特徴とする停電検知回路。
The first terminal is connected to the first terminal of the AC power source having the first terminal and the second terminal, and the first terminal is in a first state in which the potential of the first terminal is higher than the reference potential. A first timer circuit that outputs a power supply abnormality signal indicating that an abnormality has occurred in the AC power supply when a first time during which the state is maintained exceeds a first predetermined period;
A first phase inversion detection circuit that is connected to the second terminal of the AC power supply and resets the first time to 0 when the potential of the second terminal becomes higher than the reference potential;
The second state in which the second state is maintained from the time when the second state is connected to the second terminal of the AC power source and the potential of the second terminal is higher than the reference potential. A second timer circuit for outputting the power abnormality signal when time passes a second predetermined period;
A second phase inversion detection circuit that is connected to the first terminal of the AC power supply and resets the second time to 0 when the potential of the first terminal becomes higher than the reference potential;
A power failure detection circuit characterized by comprising:
前記第1の所定期間及び前記第2の所定期間は前記交流電源から供給される交流電圧の周期の1/2から前記交流電圧の周期の3倍までの期間である、請求項1に記載の停電検知回路。   The said 1st predetermined period and the said 2nd predetermined period are periods from 1/2 of the period of the alternating voltage supplied from the said alternating current power supply to 3 times the period of the said alternating voltage. Power failure detection circuit. 前記第1のタイマ回路は、制御端子が前記第1の端子と接続される第1のスイッチング素子と、前記第1のスイッチング素子を介して一端が定電圧源と接続されるコンデンサと、前記コンデンサの前記一端に制御端子が接続され、かつ、一方の端子が前記停電検知回路の出力端子と接続され、他方の端子が接地される第2のスイッチング素子とを有し、
前記第1の位相反転検知回路は、制御端子が前記第2の端子と接続され、一方の端子が前記コンデンサの一端と接続され、他方の端子が接地される第3のスイッチング素子を有し、
前記第1の時間中、前記第1のスイッチング素子がオンとなって前記コンデンサが充電され、前記第1の時間が前記第1の所定期間を過ぎると、前記第2のスイッチング素子がオンとなることで前記出力端子から前記電源異常信号が出力され、
一方、前記第1の時間が前記第1の所定期間に達する前に前記第2の端子の電位が前記基準電位よりも高くなると、前記第3のスイッチング素子がオンとなることで前記コンデンサが放電されて、前記第1の時間が0にリセットされる、
請求項1または2に記載の停電検知回路。
The first timer circuit includes a first switching element having a control terminal connected to the first terminal, a capacitor having one end connected to a constant voltage source via the first switching element, and the capacitor A control terminal is connected to the one end of the second switching element, and one terminal is connected to the output terminal of the power failure detection circuit, and the other terminal is grounded.
The first phase inversion detection circuit includes a third switching element having a control terminal connected to the second terminal, one terminal connected to one end of the capacitor, and the other terminal grounded.
During the first time, the first switching element is turned on to charge the capacitor, and when the first time has passed the first predetermined period, the second switching element is turned on. The power abnormality signal is output from the output terminal,
On the other hand, if the potential of the second terminal becomes higher than the reference potential before the first time reaches the first predetermined period, the capacitor is discharged by turning on the third switching element. The first time is reset to zero,
The power failure detection circuit according to claim 1 or 2.
前記第1の端子及び前記第2の端子と接続され、前記第1の端子の電圧及び前記第2の端子の電圧の何れもが前記交流電源から供給される交流電圧の周期の1/2よりも長い第3の所定期間にわたって所定の電圧に達しない場合に前記電源異常信号を出力する電圧低下検知回路をさらに有する、請求項1〜3の何れか一項に記載の停電検知回路。   Connected to the first terminal and the second terminal, both of the voltage of the first terminal and the voltage of the second terminal are from a half of the cycle of the AC voltage supplied from the AC power supply. The power failure detection circuit according to any one of claims 1 to 3, further comprising a voltage drop detection circuit that outputs the power supply abnormality signal when the predetermined voltage is not reached over a long third predetermined period.
JP2014202068A 2014-09-30 2014-09-30 Power failure detection circuit Active JP5910693B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014202068A JP5910693B1 (en) 2014-09-30 2014-09-30 Power failure detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014202068A JP5910693B1 (en) 2014-09-30 2014-09-30 Power failure detection circuit

Publications (2)

Publication Number Publication Date
JP5910693B1 JP5910693B1 (en) 2016-04-27
JP2016070831A true JP2016070831A (en) 2016-05-09

Family

ID=55808215

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014202068A Active JP5910693B1 (en) 2014-09-30 2014-09-30 Power failure detection circuit

Country Status (1)

Country Link
JP (1) JP5910693B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3685508A4 (en) * 2018-12-07 2020-12-16 Varroc Engineering Limited A circuit for generating a control voltage depending on voltage phase of an input signal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5825233B2 (en) * 1977-12-16 1983-05-26 三菱電機株式会社 level detection device
JPS60100057A (en) * 1983-11-07 1985-06-03 Fuji Electric Corp Res & Dev Ltd Power failure detection circuit
JP2006179993A (en) * 2004-12-20 2006-07-06 Synclayer Inc Terrestrial digital broadcast signal level adjustment apparatus and television cooperative reception method
JP2008286673A (en) * 2007-05-18 2008-11-27 Panasonic Corp Power failure detection circuit, power failure detection method, and power supply system
JP2011041431A (en) * 2009-08-18 2011-02-24 Yokogawa Electric Corp Ac-voltage disconnection detector circuit and power device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5825233B2 (en) * 1977-12-16 1983-05-26 三菱電機株式会社 level detection device
JPS60100057A (en) * 1983-11-07 1985-06-03 Fuji Electric Corp Res & Dev Ltd Power failure detection circuit
JP2006179993A (en) * 2004-12-20 2006-07-06 Synclayer Inc Terrestrial digital broadcast signal level adjustment apparatus and television cooperative reception method
JP2008286673A (en) * 2007-05-18 2008-11-27 Panasonic Corp Power failure detection circuit, power failure detection method, and power supply system
JP2011041431A (en) * 2009-08-18 2011-02-24 Yokogawa Electric Corp Ac-voltage disconnection detector circuit and power device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3685508A4 (en) * 2018-12-07 2020-12-16 Varroc Engineering Limited A circuit for generating a control voltage depending on voltage phase of an input signal

Also Published As

Publication number Publication date
JP5910693B1 (en) 2016-04-27

Similar Documents

Publication Publication Date Title
US9825453B2 (en) Protection mode control circuit, switch control circuit including the protection mode control circuit and power supply device including the switch control circuit
US20150326103A1 (en) Switch control circuit and power supply device including the same
CN110198115B (en) AC line detection and X capacitor discharge using a single terminal
JP5780145B2 (en) Switching element driving circuit and driving device including the same
JP2015153556A (en) Relay drive circuit and relay module using the same
JPWO2018042937A1 (en) Switching power supply device and semiconductor device
JP6649622B2 (en) Capacitor discharge circuit
JP2016223797A (en) Battery disconnection detector, charging device, and battery pack
JP6442262B2 (en) Voltage detection circuit
JP5323992B2 (en) Isolated switching power supply
JP6194047B2 (en) Gate driver
JP5910693B1 (en) Power failure detection circuit
JP2014117045A (en) Charge pump circuit
JP6309855B2 (en) Regulator circuit
JP2009060722A (en) Rush-current preventing circuit and power supply device
JP2017034827A (en) Control device for switching power supply
JP6471687B2 (en) Timer device
JP2014033309A (en) Switch input detection device
JP2011176986A (en) Life detecting circuit
JP5318369B2 (en) Inrush current suppression circuit
JP6026248B2 (en) Switching power supply and control circuit thereof
JPWO2018079299A1 (en) Power converter
JP2019009947A (en) Switching power supply device
JP6753344B2 (en) Leakage detector
JP7031760B2 (en) Integrated circuit, power supply circuit

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20160301

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160314

R150 Certificate of patent or registration of utility model

Ref document number: 5910693

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250