JP2020060428A - Power failure detection device and half-wave detection circuit - Google Patents

Power failure detection device and half-wave detection circuit Download PDF

Info

Publication number
JP2020060428A
JP2020060428A JP2018191271A JP2018191271A JP2020060428A JP 2020060428 A JP2020060428 A JP 2020060428A JP 2018191271 A JP2018191271 A JP 2018191271A JP 2018191271 A JP2018191271 A JP 2018191271A JP 2020060428 A JP2020060428 A JP 2020060428A
Authority
JP
Japan
Prior art keywords
logic
current
alternating current
detection signal
polarity
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
JP2018191271A
Other languages
Japanese (ja)
Other versions
JP7161365B2 (en
Inventor
久保田 潤一
Junichi Kubota
潤一 久保田
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2018191271A priority Critical patent/JP7161365B2/en
Publication of JP2020060428A publication Critical patent/JP2020060428A/en
Application granted granted Critical
Publication of JP7161365B2 publication Critical patent/JP7161365B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

To permit detection of occurrence of power failure in a shorter time.SOLUTION: Detection means outputs a detection signal of first logic during a period when an AC polarity is a first polarity, and outputs a detection signal of second logic during a period when an AC polarity is a second polarity opposite to the first polarity. Clocking means clocks time between timing for switching from first logic to second logic and timing for switching from second logic to first logic. Determination means determines that power failure occurs when clocked time is shorter than a half cycle of AC. Detection means outputs a detection signal of first logic if AC supply is broken when a detection signal of second logic is being outputted, and outputs a detection signal of second logic temporarily and then resumes outputting a detection signal of first logic if AC supply is broken when the detection signal of first logic is being outputted.SELECTED DRAWING: Figure 3

Description

本発明は停電検知装置および半波検知回路に関する。   The present invention relates to a power failure detection device and a half-wave detection circuit.

一般に、画像形成装置等の電子機器はメモリやハードディスクなどの記憶装置を備えている。商用交流電源に停電が発生すると、記憶装置に記憶されていたデータが失われてしまうことがある。よって、電子機器は停電を検知してデータを退避することが必要となる。特許文献1によれば、半波検知回路を使用して商用交流電源の停電を検知することが提案されている。   Generally, electronic equipment such as an image forming apparatus includes a storage device such as a memory or a hard disk. When a commercial AC power supply fails, the data stored in the storage device may be lost. Therefore, the electronic device needs to detect the power failure and save the data. According to Patent Document 1, it is proposed to detect a power failure of a commercial AC power supply using a half-wave detection circuit.

特開平7−229930号公報JP-A-7-229930

特許文献1による半波検知回路では発光ダイオードに電流が流れていない期間に発生した停電を即座に検知することができない。より具体的には、特許文献1の半波検知回路は、交流の半周期よりも短い時間で停電の発生を検知することができない。そこで、本発明は、より短時間で停電の発生を検知可能な停電検知装置を提供することを目的とする。   The half-wave detection circuit according to Patent Document 1 cannot immediately detect a power failure that has occurred while no current is flowing through the light emitting diode. More specifically, the half-wave detection circuit of Patent Document 1 cannot detect the occurrence of a power failure in a time shorter than the half cycle of AC. Therefore, an object of the present invention is to provide a power failure detection device that can detect the occurrence of a power failure in a shorter time.

本発明は、たとえば、
交流電源から供給される交流の極性が第一極性である期間において第一論理の検知信号を出力し、前記交流電源から供給される交流の極性が前記第一極性とは反対の第二極性である期間において第二論理の検知信号を出力する検知手段と、
前記検知信号の論理が前記第一論理から前記第二論理に切り替わるタイミングと、前記検知信号の論理が前記第二論理から前記第一論理に切り替わるタイミングとの間の時間を計時する計時手段と、
前記計時手段により計時された時間が前記交流の半周期よりも短くなると、前記交流電源に停電が発生したと判定する判定手段と、を有し
前記検知手段は、
前記第二論理の検知信号が出力されているときに前記交流電源からの交流の供給が遮断されると、前記第一論理の検知信号を出力し、
前記第一論理の検知信号が出力されているときに前記交流電源からの交流の供給が遮断されると、一時的に前記第二論理の検知信号を出力し、次に前記第一論理の検知信号の出力を再開するように構成されていることを特徴とする停電検知装置。
The present invention is, for example,
The detection signal of the first logic is output in the period in which the polarity of the alternating current supplied from the alternating current power source is the first polarity, and the polarity of the alternating current supplied from the alternating current power source is the second polarity opposite to the first polarity. Detection means for outputting a detection signal of the second logic in a certain period,
Timing for switching the logic of the detection signal from the first logic to the second logic, and timing means for measuring the time between the timing for the logic of the detection signal to switch from the second logic to the first logic,
When the time measured by the time measuring means becomes shorter than the half cycle of the alternating current, the determining means for determining that a power failure has occurred in the alternating current power source, and the detecting means,
When the supply of alternating current from the AC power supply is cut off while the detection signal of the second logic is being output, the detection signal of the first logic is output,
When the supply of alternating current from the alternating current power supply is cut off while the detection signal of the first logic is being output, the detection signal of the second logic is temporarily output, and then the detection of the first logic is performed. A power failure detection device characterized by being configured to restart the output of signals.

本発明によれば、より短時間で停電の発生を検知可能な停電検知装置が提供される。   According to the present invention, a power failure detection device capable of detecting the occurrence of a power failure in a shorter time is provided.

電子機器(停電検知装置)を説明する図Diagram explaining electronic equipment (power failure detection device) 制御回路を説明する図Diagram explaining the control circuit 半波検知回路を説明する図Diagram illustrating the half-wave detection circuit 停電検知処理を説明する図Diagram explaining power failure detection processing 停電検知処理を説明する図Diagram explaining power failure detection processing 停電検知処理を説明する図Diagram explaining power failure detection processing

<実施例1>
●電子機器(停電検知装置)
図1は電子機器10を示している。交流電源1は交流を供給する商用交流電源などである。整流平滑回路2は、交流を整流し、かつ、平滑し、直流電圧を生成する。第一コンバータ3は、整流平滑回路2が出力する第一レベルの直流電圧を第二レベルの直流電圧Voに変換するDCDCコンバータである。第二コンバータ4は、第一コンバータ3が出力する第二レベルの直流電圧Voを第三レベルの直流電圧Vccに変換するDCDCコンバータである。制御回路5は直流電圧Vccを供給されて動作する回路である。半波検知回路6は、交流電源1から供給される交流に基づきパルス状の検知信号を生成する回路である。なお、図1において制御回路5と半波検知回路6とが破線で囲まれているが、これらは停電検知装置として機能する。
<Example 1>
● Electronic equipment (power failure detection device)
FIG. 1 shows an electronic device 10. The AC power supply 1 is a commercial AC power supply or the like that supplies AC. The rectifying / smoothing circuit 2 rectifies and smoothes an alternating current to generate a direct current voltage. The first converter 3 is a DCDC converter that converts the first level DC voltage output from the rectifying and smoothing circuit 2 into a second level DC voltage Vo. The second converter 4 is a DCDC converter that converts the second level DC voltage Vo output from the first converter 3 into a third level DC voltage Vcc. The control circuit 5 is a circuit that operates by being supplied with the DC voltage Vcc. The half-wave detection circuit 6 is a circuit that generates a pulsed detection signal based on the alternating current supplied from the alternating-current power supply 1. Although the control circuit 5 and the half-wave detection circuit 6 are surrounded by broken lines in FIG. 1, they function as a power failure detection device.

●制御回路
図2は制御回路5を示している。CPU11はHDD13またはメモリ12のROM領域に記憶されている制御プログラムを実行することで様々な機能を実現する中央演算処理装置である。メモリ12はさらにRAM領域を有している。HDD13はハードディスクドライブである。タイマー14は、半波検知回路6が出力する検知信号に基づき計時を実行するタイマーである。停電判定部15は、タイマー14により計時された時間が交流の半周期よりも短くなると、交流電源1に停電が発生したと判定する。退避処理部16は、停電判定部15により停電が検知されると、退避処理を実行する。退避処理は、電子機器10のシャットダウン処理や、メモリ12のRAM領域に記憶されているデータをROM領域(例:フラッシュメモリ)に退避したり、HDD13へ退避したりする処理である。
Control Circuit FIG. 2 shows the control circuit 5. The CPU 11 is a central processing unit that realizes various functions by executing a control program stored in the HDD 13 or the ROM area of the memory 12. The memory 12 further has a RAM area. The HDD 13 is a hard disk drive. The timer 14 is a timer that counts time based on the detection signal output from the half-wave detection circuit 6. The power failure determination unit 15 determines that a power failure has occurred in the AC power supply 1 when the time measured by the timer 14 becomes shorter than the half cycle of the AC. The evacuation processing unit 16 executes evacuation processing when the power outage determination unit 15 detects a power outage. The saving process is a process of shutting down the electronic device 10, saving the data stored in the RAM area of the memory 12 to a ROM area (eg, flash memory), or saving the data to the HDD 13.

●半波検知回路
図3(A)は半波検知回路6の回路図である。フォトカプラ7は発光ダイオードD1とフォトトランジスタPtとを有している。フォトトランジスタPtのコレクタは検知信号の出力部として機能し、抵抗R1によりプルアップされている。フォトトランジスタPtのエミッタは接地されている。したがって、発光ダイオードD1に電流が流れると、フォトトランジスタPtにも電流が流れ、検知信号のレベルがロー(Lレベル)となる。発光ダイオードD1に電流が流れなければ、フォトトランジスタPtにも電流が流れず、検知信号のレベルがハイ(Hレベル)となる。
Half-wave detection circuit FIG. 3A is a circuit diagram of the half-wave detection circuit 6. The photocoupler 7 has a light emitting diode D1 and a phototransistor Pt. The collector of the phototransistor Pt functions as a detection signal output unit and is pulled up by the resistor R1. The emitter of the phototransistor Pt is grounded. Therefore, when a current flows through the light emitting diode D1, a current also flows through the phototransistor Pt, and the level of the detection signal becomes low (L level). If no current flows through the light emitting diode D1, no current flows through the phototransistor Pt, and the level of the detection signal becomes high (H level).

発光ダイオードD1のアノードは抵抗R2を介して交流電源1に接続されている。発光ダイオードD1のカソードは抵抗R4を介して交流電源1に接続されている。PNPタイプのトランジスタTr1のベースは時定数回路8を介して発光ダイオードD1のカソードと抵抗R4の一端に接続されている。トランジスタTr1のコレクタは、抵抗R3を介して抵抗R2の一端と発光ダイオードD1のアノードとに接続されている。トランジスタTr1のエミッタはコンデンサC2の一端と、ダイオードD2のカソードと、時定数回路8とに接続されている。コンデンサC2の他端は交流電源1と抵抗R4の他端に接続されている。時定数回路8の抵抗R5はトランジスタTr1のベース、コンデンサC1、発光ダイオードD1のカソード、ダイオードD2のアノードおよび抵抗R4に接続されている。ダイオードD3は、交流電源1の極性が負極性になると抵抗R4を介して電流が流れる。   The anode of the light emitting diode D1 is connected to the AC power supply 1 via the resistor R2. The cathode of the light emitting diode D1 is connected to the AC power supply 1 via the resistor R4. The base of the PNP type transistor Tr1 is connected to the cathode of the light emitting diode D1 and one end of the resistor R4 via the time constant circuit 8. The collector of the transistor Tr1 is connected to one end of the resistor R2 and the anode of the light emitting diode D1 via the resistor R3. The emitter of the transistor Tr1 is connected to one end of the capacitor C2, the cathode of the diode D2, and the time constant circuit 8. The other end of the capacitor C2 is connected to the AC power supply 1 and the other end of the resistor R4. The resistor R5 of the time constant circuit 8 is connected to the base of the transistor Tr1, the capacitor C1, the cathode of the light emitting diode D1, the anode of the diode D2 and the resistor R4. In the diode D3, a current flows through the resistor R4 when the polarity of the AC power supply 1 becomes negative.

●発光ダイオードD1に電流が流れている期間
交流電源1から供給される交流の極性が正極性の場合、発光ダイオードD1に電流が流れる。発光ダイオードD1からの光がフォトトランジスタPtに入射し、フォトトランジスタPtに電流が流れる。これにより、検知信号の論理がLレベルになる。抵抗R4には発光ダイオードD1に流れる電流に比例した電圧が発生する。コンデンサC2には、発光ダイオードD1およびダイオードD2を介して電流が流れ込み、充電される。コンデンサC2の両端電圧(充電電圧)は抵抗R4に生じる電圧に等しい。トランジスタTr1のエミッタ−ベース間には逆方向(エミッタの電位がベースの電位に対して低い)の電圧Vebが印加されているため、トランジスタTr1はオフ状態となる。
● Period in which current flows through the light emitting diode D1 When the polarity of the alternating current supplied from the AC power supply 1 is positive, the current flows through the light emitting diode D1. The light from the light emitting diode D1 enters the phototransistor Pt, and a current flows through the phototransistor Pt. As a result, the logic of the detection signal becomes L level. A voltage proportional to the current flowing through the light emitting diode D1 is generated in the resistor R4. A current flows into the capacitor C2 via the light emitting diode D1 and the diode D2 and is charged. The voltage across the capacitor C2 (charging voltage) is equal to the voltage developed across the resistor R4. Since the voltage Veb in the opposite direction (the emitter potential is lower than the base potential) is applied between the emitter and the base of the transistor Tr1, the transistor Tr1 is turned off.

●発光ダイオードD1に電流が流れていない期間
交流電源1から供給される交流の極性が負極性の場合、発光ダイオードD1には電流が流れなくなる。この場合、発光ダイオードD1からの光がフォトトランジスタPtに入射しなくなり、フォトトランジスタPtには電流が流れなくなる。これにより、検知信号の論理がHレベルになる。
● Period in which no current flows in the light emitting diode D1 When the polarity of the alternating current supplied from the AC power supply 1 is negative, no current flows in the light emitting diode D1. In this case, the light from the light emitting diode D1 does not enter the phototransistor Pt, and no current flows in the phototransistor Pt. As a result, the logic of the detection signal becomes H level.

交流電源1の交流電圧が負極性になると、抵抗R4、ダイオードD3および抵抗R2を介して電流が流れる。よって、抵抗R4には発光ダイオードD1に電流が流れている期間とは逆方向の電圧が発生する。コンデンサC2には発光ダイオードD1に電流が流れている期間に充電された電荷が残っている。そのため、トランジスタTr1のエミッタ−ベース間には順方向(エミッタの電位がベースの電位に対して高い)の電圧Vebが印加され、トランジスタTr1はオン状態となる。トランジスタTr1がオン状態であるため、コンデンサC2に充電されている電荷はトランジスタTr1、抵抗R3、および抵抗R2を介する経路で緩やかに放電される。   When the AC voltage of the AC power supply 1 becomes negative, a current flows through the resistor R4, the diode D3 and the resistor R2. Therefore, a voltage is generated in the resistor R4 in the opposite direction to the period in which the current is flowing through the light emitting diode D1. The capacitor C2 retains the electric charge charged while the current is flowing through the light emitting diode D1. Therefore, a forward voltage Veb (the emitter potential is higher than the base potential) is applied between the emitter and the base of the transistor Tr1, and the transistor Tr1 is turned on. Since the transistor Tr1 is in the ON state, the electric charge charged in the capacitor C2 is gently discharged through the path passing through the transistor Tr1, the resistor R3, and the resistor R2.

●停電の検知
図4(A)は発光ダイオードD1に電流が流れていない期間に停電が発生した際の交流電源1の電圧、検知信号、コレクタ電流Icおよび電圧Veb形を示す。時刻t7に交流電源1に停電が発生すると、交流電源1の両端電圧が0Vとなる。その結果、トランジスタTr1を介してコンデンサC2から放電されている電荷は、トランジスタTr1、抵抗R3、発光ダイオードD1、抵抗R4を介した経路にも流れるようになる。発光ダイオードD1に電流が流れることにより、検知信号はHレベルからLレベルに遷移する。タイマー14は、HレベルからLレベルに遷移したタイミング(遷移エッジ)と、LレベルからHレベルに遷移したタイミングとの間の時間Taを計時している。通常、時間Taは、交流の半周期Tpに等しい。時刻t7でタイマー14は遷移エッジを検知して計時を停止する。図4(A)が示すように、時間Taは交流の半周期Tpよりも短いため、停電判定部15は停電が発生したと判定する。
● Detection of Power Failure FIG. 4 (A) shows the voltage of the AC power supply 1, the detection signal, the collector current Ic, and the voltage Veb type when a power failure occurs during the period when no current is flowing in the light emitting diode D1. When a power failure occurs in the AC power supply 1 at time t7, the voltage across the AC power supply 1 becomes 0V. As a result, the electric charge discharged from the capacitor C2 via the transistor Tr1 also flows into the path via the transistor Tr1, the resistor R3, the light emitting diode D1, and the resistor R4. When a current flows through the light emitting diode D1, the detection signal changes from H level to L level. The timer 14 measures the time Ta between the timing (transition edge) at which the H level changes to the L level and the timing at which the L level changes to the H level. Usually, the time Ta is equal to the half cycle Tp of alternating current. At time t7, the timer 14 detects the transition edge and stops timing. As shown in FIG. 4 (A), the time Ta is shorter than the AC half cycle Tp, so the power failure determination unit 15 determines that a power failure has occurred.

図4(B)は特許文献1に記載された発明の検知電圧のレベルなどを示している。特許文献1に記載された発明では、時刻t7以降に検知信号はHレベルのままとなるため、時間Taは半周期Tpよりも長くなってしまう。よって、特許文献1に記載された発明では半周期Tpよりも短い時間で停電を検知することができなかった。一方、実施例1では、発光ダイオードD1に電流が流れていない期間に停電が発生すると、コンデンサC2の放電より発光ダイオードD1に電流が流れるようになるため、検知信号のレベルがLレベルになる。よって、タイマー14は、半周期Tpよりも短い時間Taを計測可能となる。   FIG. 4B shows the level of the detection voltage of the invention described in Patent Document 1. In the invention described in Patent Document 1, since the detection signal remains at the H level after time t7, the time Ta becomes longer than the half cycle Tp. Therefore, the invention described in Patent Document 1 could not detect a power failure in a time shorter than the half cycle Tp. On the other hand, in the first embodiment, when a power failure occurs during the period when no current flows in the light emitting diode D1, the current flows in the light emitting diode D1 due to the discharge of the capacitor C2, and the level of the detection signal becomes the L level. Therefore, the timer 14 can measure the time Ta that is shorter than the half cycle Tp.

図5は発光ダイオードD1に電流が流れている期間に停電が発生した際の交流電源1の電圧、検知信号、コレクタ電流Icおよび電圧Vebを示す。時刻t8で交流電源1に停電が発生すると、発光ダイオードD1への電流供給源が無くなる。そのため、発光ダイオードD1に電流が流れなくなり、検知信号の論理はLレベルからHレベルへ遷移する。発光ダイオードD1に電流が流れなくなると、抵抗R4の両端電圧が0Vとなる。そのため、トランジスタTr1のエミッタ−ベース間の電圧Vebは逆方向から順方向へと変化し、トランジスタTr1はオフ状態からオン状態へ遷移する。しかし、トランジスタTr1がオフ状態からオン状態に遷移するには、抵抗R5とコンデンサC1の時定数に起因する時間(t8からt9までの時間)を要する。そのため、停電発生時に検知信号は一定期間だけHレベルとなる。その次に検知信号はLレベルになる。よって、タイマー14は、半周期Tpよりも短い時間Taを計測可能となる。   FIG. 5 shows the voltage of the AC power supply 1, the detection signal, the collector current Ic, and the voltage Veb when a power failure occurs while the current is flowing through the light emitting diode D1. When a power failure occurs in the AC power supply 1 at time t8, the current supply source to the light emitting diode D1 is lost. Therefore, no current flows in the light emitting diode D1, and the logic of the detection signal transits from L level to H level. When the current stops flowing through the light emitting diode D1, the voltage across the resistor R4 becomes 0V. Therefore, the voltage Veb between the emitter and the base of the transistor Tr1 changes from the reverse direction to the forward direction, and the transistor Tr1 makes a transition from the off state to the on state. However, it takes time (time from t8 to t9) due to the time constant of the resistor R5 and the capacitor C1 for the transistor Tr1 to transit from the off state to the on state. Therefore, when a power failure occurs, the detection signal becomes H level for a certain period. Then, the detection signal becomes L level. Therefore, the timer 14 can measure the time Ta that is shorter than the half cycle Tp.

<実施例2>
図3(B)に実施例2の半波検知回路6を示している。発光ダイオードD1にはスイッチ素子であるFET(電界効果トランジスタ)が直列に接続されている。したがって、FETがオフ状態になると、発光ダイオードD1に電流が流れなくなる。つまり、停電が発生したときにFETがオフ状態になることで、検知信号のレベルを強制的にHレベルに変更することが可能となる。
<Example 2>
FIG. 3B shows the half-wave detection circuit 6 of the second embodiment. A FET (field effect transistor), which is a switching element, is connected in series to the light emitting diode D1. Therefore, when the FET is turned off, no current flows in the light emitting diode D1. That is, when the power failure occurs, the FET is turned off, so that the level of the detection signal can be forcibly changed to the H level.

発光ダイオードD1のアノードは、抵抗R16、ダイオードD17、および抵抗R18を介して交流電源1に接続されている。抵抗R16の一端は交流電源1に接続されており、抵抗R16の他端はダイオードD17のアノードに接続されている。ダイオードD17のカソードは抵抗R18の一端に接続されている。抵抗R18の他端は発光ダイオードD1のアノードに接続されている。FETのドレインは発光ダイオードD1のカソードに接続されている。FETのゲートは抵抗R26を介して交流電源1の一端に接続されている。FETのソースは交流電源1の他端に接続されている。FETのゲート−ソース間には抵抗R25が接続されている。NPNタイプのトランジスタTr2のベースには時定数回路8が接続されている。トランジスタTr2のコレクタはダイオードD17のカソードと、抵抗R18の一端に接続されている。トランジスタTr2のエミッタはFETのゲート、抵抗R25の一端、および抵抗R26の一端に接続されている。コンデンサC20の一端はダイオードD17のカソード、トランジスタTr2のコレクタ、および抵抗R18の一端に接続されている。コンデンサC20の他端は交流電源1の他端、FETのソースおよび抵抗R25の他端に接続されている。ダイオードD19のアノードは交流電源1の他端に接続されている。ダイオードD19のカソードはダイオードD17のアノードに接続されている。   The anode of the light emitting diode D1 is connected to the AC power supply 1 via the resistor R16, the diode D17, and the resistor R18. One end of the resistor R16 is connected to the AC power supply 1, and the other end of the resistor R16 is connected to the anode of the diode D17. The cathode of the diode D17 is connected to one end of the resistor R18. The other end of the resistor R18 is connected to the anode of the light emitting diode D1. The drain of the FET is connected to the cathode of the light emitting diode D1. The gate of the FET is connected to one end of the AC power supply 1 via the resistor R26. The source of the FET is connected to the other end of the AC power supply 1. A resistor R25 is connected between the gate and source of the FET. The time constant circuit 8 is connected to the base of the NPN type transistor Tr2. The collector of the transistor Tr2 is connected to the cathode of the diode D17 and one end of the resistor R18. The emitter of the transistor Tr2 is connected to the gate of the FET, one end of the resistor R25, and one end of the resistor R26. One end of the capacitor C20 is connected to the cathode of the diode D17, the collector of the transistor Tr2, and one end of the resistor R18. The other end of the capacitor C20 is connected to the other end of the AC power supply 1, the source of the FET and the other end of the resistor R25. The anode of the diode D19 is connected to the other end of the AC power supply 1. The cathode of the diode D19 is connected to the anode of the diode D17.

交流電源1の電圧が上昇すると、抵抗R25に電流が流れてFETのゲート−ソース間の電圧が上昇する。FETのゲート−ソース間の電圧がオン閾値を超えると、FETがオンする。これにより、発光ダイオードD1に電流が流れ、検知信号がLレベルとなる。一方、交流電源1の電圧が下降してFETのゲート−ソース間の電圧がオン閾値を下回ると、FETがオフする。その結果、発光ダイオードD1に電流が流れなくなり、検知信号がHレベルとなる。   When the voltage of the AC power supply 1 rises, a current flows through the resistor R25 and the gate-source voltage of the FET rises. When the gate-source voltage of the FET exceeds the on threshold, the FET turns on. As a result, a current flows through the light emitting diode D1 and the detection signal becomes L level. On the other hand, when the voltage of the AC power supply 1 drops and the voltage between the gate and the source of the FET falls below the ON threshold value, the FET is turned off. As a result, no current flows in the light emitting diode D1, and the detection signal becomes H level.

●実施例1と実施例2との違い
実施例1では検知信号の論理が反転するタイミングが、発光ダイオードD1の順方向電圧とフォトカプラ7のCTR(変換効率)の影響を受ける。CTRとは発光ダイオードD1に流れる電流とフォトトランジスタPtに流れる電流の比である。CTRは100%〜400%程度の誤差範囲を持つこともある。つまり、CTRのバラツキは大きい。一方、実施例2では、タイミングの誤差を招くパラメータとしてFETのゲート閾値電圧が支配的となるような回路構成が採用されている。よって、実施例2は、実施例1と比較して、交流電源1の電圧が0Vになるタイミングを精度よく検知できる。
Difference between Example 1 and Example 2 In Example 1, the timing at which the logic of the detection signal is inverted is affected by the forward voltage of the light emitting diode D1 and the CTR (conversion efficiency) of the photocoupler 7. CTR is the ratio of the current flowing through the light emitting diode D1 and the current flowing through the phototransistor Pt. The CTR may have an error range of about 100% to 400%. That is, the variation in CTR is large. On the other hand, the second embodiment employs a circuit configuration in which the gate threshold voltage of the FET is dominant as a parameter that causes a timing error. Therefore, the second embodiment can detect the timing when the voltage of the AC power supply 1 becomes 0 V with higher accuracy than the first embodiment.

●FETがオンしている期間の回路動作
FETがオンしている期間では、検知信号のレベルがLレベルになる。コンデンサC20には抵抗R16およびダイオードD17を介して電荷が充電される。トランジスタTr2のベース−エミッタ間には逆方向(ベースの電位がエミッタに対して低い)電圧が印加されているため、トランジスタTr2はオフ状態となっている。
● Circuit operation while FET is on During the FET is on, the level of the detection signal becomes L level. The capacitor C20 is charged with electric charge via the resistor R16 and the diode D17. Since a reverse voltage (the potential of the base is lower than the emitter) is applied between the base and the emitter of the transistor Tr2, the transistor Tr2 is in the off state.

●FETがオフしている期間の回路動作
一方、FETがオフしている期間は、検知信号電圧にはHレベルが出力されている。トランジスタTr2のベース−エミッタ間には順方向(ベースの電位がエミッタの電位に対して高い)の電圧が印加される。そのため、トランジスタTr2はオン状態となる。トランジスタTr2がオン状態であるため、コンデンサC20に充電されている電荷はトランジスタTr2および抵抗R26を介して緩やかに放電される。
● Circuit operation while FET is off On the other hand, H level is output to the detection signal voltage while FET is off. A forward voltage (the potential of the base is higher than the potential of the emitter) is applied between the base and the emitter of the transistor Tr2. Therefore, the transistor Tr2 is turned on. Since the transistor Tr2 is in the ON state, the electric charge charged in the capacitor C20 is gently discharged through the transistor Tr2 and the resistor R26.

●停電の検知
図6(A)はFETがオフしている期間に停電が発生した際の交流電源1の電圧、検知信号、コレクタ電流Icおよび電圧Vebを示す。時刻t10で停電が発生すると、交流電源1の両端電圧が0Vとなる。そのため、コンデンサC20から放電される電荷が、トランジスタTr2および抵抗R25を介した経路にも流れるようになる。抵抗R25に電流が流れることにより、FETのゲート−ソース電圧がオン閾値電圧を超える。そのため、FETはオン状態に遷移し、発光ダイオードD1に電流が流れ、検知信号はLレベルに遷移する。なお、発光ダイオードD1には抵抗R18を介してコンデンサC20から電荷が供給される。タイマー14は、検知信号のレベルがHレベルからLレベルに遷移したことに応答して計時を停止する。これにより、タイマー14は、交流の半周期Tpよりも短い時間Taを検知できる。また、停電判定部15は交流の半周期Tpよりも時間Taが短いため、停電が発生したと判定する。
Detection of Power Failure FIG. 6A shows the voltage of the AC power supply 1, the detection signal, the collector current Ic, and the voltage Veb when a power failure occurs while the FET is off. When a power failure occurs at time t10, the voltage across the AC power supply 1 becomes 0V. Therefore, the electric charge discharged from the capacitor C20 also flows in the path via the transistor Tr2 and the resistor R25. Due to the current flowing through the resistor R25, the gate-source voltage of the FET exceeds the ON threshold voltage. Therefore, the FET transits to the ON state, a current flows through the light emitting diode D1, and the detection signal transits to the L level. The light emitting diode D1 is supplied with electric charge from the capacitor C20 via the resistor R18. The timer 14 stops clocking in response to the level of the detection signal changing from H level to L level. As a result, the timer 14 can detect a time Ta that is shorter than the AC half cycle Tp. The power failure determination unit 15 determines that a power failure has occurred because the time Ta is shorter than the AC half cycle Tp.

図6(B)はFETがオンしている期間に停電が発生した際の交流電源1の電圧、検知信号、コレクタ電流Icおよび電圧Vebを示す。時刻t11で停電が発生すると、交流電源1の電圧が0Vになる。これにより、FETのゲート−ソース電圧がオン閾値電圧を下回る。その結果、FETはオフし、発光ダイオードD1に電流が流れなくなる。検知信号のレベルはLレベルからHレベルへ遷移する。FETがオフすると、発光ダイオードD1のカソード電圧が上昇するため、トランジスタTr2のベース−エミッタ間の電圧は逆方向から順方向へと変化する。その結果、トランジスタTr2はオフ状態からオン状態へ遷移する。しかし、トランジスタTr2がオフ状態からオン状態に遷移するには、抵抗R5とコンデンサC1の時定数に起因する時間(時刻t11から時刻t12までの時間)が必要となる。そのため、図6(B)が示すように、検知信号は停電発生時に一定期間にわたりHレベルとなり、次にLレベルに遷移する。   FIG. 6B shows the voltage of the AC power supply 1, the detection signal, the collector current Ic, and the voltage Veb when a power failure occurs while the FET is on. When a power failure occurs at time t11, the voltage of the AC power supply 1 becomes 0V. As a result, the gate-source voltage of the FET falls below the ON threshold voltage. As a result, the FET is turned off and no current flows through the light emitting diode D1. The level of the detection signal transits from L level to H level. When the FET is turned off, the cathode voltage of the light emitting diode D1 rises, so that the base-emitter voltage of the transistor Tr2 changes from the reverse direction to the forward direction. As a result, the transistor Tr2 transitions from the off state to the on state. However, in order for the transistor Tr2 to transition from the off state to the on state, time (time from time t11 to time t12) due to the time constant of the resistor R5 and the capacitor C1 is required. Therefore, as shown in FIG. 6B, the detection signal becomes H level for a certain period when a power failure occurs, and then transits to L level.

タイマー14は、検知信号のレベルがLレベルからHレベルに遷移したことに応答して計時を停止する。これにより、タイマー14は、交流の半周期Tpよりも短い時間Taを検知できる。また、停電判定部15は交流の半周期Tpよりも時間Taが短いため、停電が発生したと判定する。   The timer 14 stops counting in response to the level of the detection signal changing from the L level to the H level. As a result, the timer 14 can detect a time Ta that is shorter than the AC half cycle Tp. The power failure determination unit 15 determines that a power failure has occurred because the time Ta is shorter than the AC half cycle Tp.

<まとめ>
半波検知回路6は交流電源1から供給される交流の極性が第一極性(例:正)である期間において第一論理の検知信号(例:L)を出力する検知手段の一例である。半波検知回路6は交流電源1から供給される交流の極性が第一極性とは反対の第二極性(例:負)である期間において第二論理の検知信号(例:H)を出力する検知手段の一例である。タイマー14は検知信号の論理が第一論理から第二論理に切り替わるタイミングと、検知信号の論理が第二論理から第一論理に切り替わるタイミングとの間の時間を計時する計時手段の一例である。停電判定部15は計時手段により計時された時間Taが交流の半周期Tpよりも短くなると、交流電源1に停電が発生したと判定する判定手段の一例である。
<Summary>
The half-wave detection circuit 6 is an example of a detection unit that outputs a detection signal (example: L) of the first logic during a period in which the polarity of alternating current supplied from the AC power supply 1 is the first polarity (example: positive). The half-wave detection circuit 6 outputs a detection signal (example: H) of the second logic during a period in which the polarity of the alternating current supplied from the alternating-current power supply 1 is the second polarity (example: negative) opposite to the first polarity. It is an example of a detection means. The timer 14 is an example of a time measuring unit that measures the time between the timing at which the logic of the detection signal switches from the first logic to the second logic and the timing at which the logic of the detection signal switches from the second logic to the first logic. The power outage determination unit 15 is an example of a determination unit that determines that a power failure has occurred in the AC power supply 1 when the time Ta measured by the time counting means becomes shorter than the AC half cycle Tp.

図4(A)や図6(A)が示すように、半波検知回路6は、第二論理の検知信号が出力されているときに交流電源1からの交流の供給が遮断されると、第一論理の検知信号を出力する。図5や図6(B)が示すように、半波検知回路6は、第一論理の検知信号が出力されているときに交流電源1からの交流の供給が遮断されると、一時的に第二論理の検知信号を出力し、次に第一論理の検知信号の出力を再開するように構成されている。これにより、より短時間で停電の発生を検知可能となる。   As shown in FIGS. 4A and 6A, when the half-wave detection circuit 6 cuts off the supply of alternating current from the alternating-current power supply 1 while the detection signal of the second logic is being output, The detection signal of the first logic is output. As shown in FIG. 5 and FIG. 6B, the half-wave detection circuit 6 is temporarily stopped when the AC supply from the AC power supply 1 is cut off while the detection signal of the first logic is being output. It is configured to output the detection signal of the second logic and then restart the output of the detection signal of the first logic. This makes it possible to detect the occurrence of power failure in a shorter time.

フォトカプラ7は交流を半波整流することで検知信号を出力する信号生成回路の一例である。半波検知回路6のうちフォトカプラ7や抵抗R1を除いた部分は信号生成回路を制御する制御回路として機能する。信号生成回路が第二論理の検知信号を出力しているときに交流電源1からの交流の供給が遮断される場合がある。この場合に、制御回路は、信号生成回路に第一論理の検知信号を出力させてもよい。信号生成回路が第一論理の検知信号を出力しているときに交流電源1からの交流の供給が遮断される場合がある。この場合に、制御回路は、信号生成回路に一時的に第二論理の検知信号を出力させ、次に第一論理の検知信号の出力を再開させてもよい。   The photocoupler 7 is an example of a signal generation circuit that outputs a detection signal by half-wave rectifying AC. The part of the half-wave detection circuit 6 excluding the photocoupler 7 and the resistor R1 functions as a control circuit that controls the signal generation circuit. The AC supply from the AC power supply 1 may be interrupted while the signal generation circuit is outputting the detection signal of the second logic. In this case, the control circuit may cause the signal generation circuit to output the detection signal of the first logic. The AC supply from the AC power supply 1 may be interrupted while the signal generation circuit is outputting the detection signal of the first logic. In this case, the control circuit may cause the signal generation circuit to temporarily output the detection signal of the second logic and then restart the output of the detection signal of the first logic.

図3(A)が示すように、発光ダイオードD1は、第一極性の電圧が印加されると電流を流し、第二極性の電流が印加されると電流を流さない整流素子の一例である。フォトトランジスタPtと抵抗R1は、整流素子に電流が流れる期間において第一論理の検知信号を出力し、整流素子に電流が流れない期間において第二論理の検知信号を出力する出力回路を形成している。トランジスタTr1は、電流流出端子と、制御端子と、整流素子の出力側に接続された電流流入端子とを有している。トランジスタTr1は、第一極性の交流が交流電源1から供給されている期間においてオンとなり、第二極性の交流が交流電源1から供給されている期間においてオフとなる電流制御素子として機能する。抵抗R3は、整流素子の入力側と電流制御素子の電流流出端子との間に接続され、電流制御素子に流れる電流を制限する制限抵抗として機能する。コンデンサC2は電流制御素子の電流流入端子に接続され、整流素子に電流が流れる期間において充電され、整流素子に電流が流れていない期間において放電する蓄電回路の一例である。時定数回路8は電流制御素子の制御端子に接続された時定数回路の一例である。第二極性の交流が交流電源1から供給されている期間において交流電源1からの交流の供給が遮断されると、蓄電回路の放電による電流が電流制御素子および制限抵抗を介して整流素子に流れる。これにより、出力回路は検知信号の論理を第二論理から第一論理に変更する。第一極性の交流が交流電源1から供給されている期間において交流電源1からの交流の供給が遮断されると、整流素子に電流が流れなくなる。これにより、出力回路は検知信号の論理を第一論理から第二論理に変更する。時定数回路8が、制御端子に印加される電圧の上昇を遅延させることで、交流電源1からの交流の供給が遮断されたタイミングから遅れて電流制御素子がオンになる。これにより、蓄電回路の放電による電流が電流制御素子および制限抵抗を介して整流素子に流れ、出力回路は検知信号の論理を第二論理から第一論理に変更する。   As shown in FIG. 3A, the light emitting diode D1 is an example of a rectifying element that allows a current to flow when a voltage of the first polarity is applied and does not flow when a current of the second polarity is applied. The phototransistor Pt and the resistor R1 form an output circuit that outputs a detection signal of the first logic during a period when a current flows through the rectifying element and outputs a detection signal of a second logic during a period when no current flows through the rectifying element. There is. The transistor Tr1 has a current outflow terminal, a control terminal, and a current inflow terminal connected to the output side of the rectifying element. The transistor Tr1 functions as a current control element that is turned on while the first polarity alternating current is being supplied from the alternating current power supply 1 and is off while the second polarity alternating current is being supplied from the alternating current power supply 1. The resistor R3 is connected between the input side of the rectifying element and the current outflow terminal of the current control element, and functions as a limiting resistor that limits the current flowing through the current control element. The capacitor C2 is an example of a power storage circuit that is connected to the current inflow terminal of the current control element, is charged while the current flows through the rectifying element, and discharges when the current does not flow through the rectifying element. The time constant circuit 8 is an example of a time constant circuit connected to the control terminal of the current control element. When the alternating current supply from the alternating current power supply 1 is cut off during the period when the second polarity alternating current is supplied from the alternating current power supply 1, the current due to the discharge of the storage circuit flows to the rectifying element via the current control element and the limiting resistor. . As a result, the output circuit changes the logic of the detection signal from the second logic to the first logic. If the supply of alternating current from the alternating-current power supply 1 is cut off during the period when the alternating current of the first polarity is supplied from the alternating-current power supply 1, no current flows in the rectifying element. As a result, the output circuit changes the logic of the detection signal from the first logic to the second logic. The time constant circuit 8 delays the rise of the voltage applied to the control terminal, so that the current control element is turned on after the timing at which the alternating current supply from the alternating current power supply 1 is cut off. As a result, a current due to the discharge of the power storage circuit flows into the rectifying element via the current control element and the limiting resistor, and the output circuit changes the logic of the detection signal from the second logic to the first logic.

なお、フォトトランジスタPtは発光ダイオードが点灯すると電流を流し、発光ダイオードが消灯すると電流を流さない受光素子の一例である。抵抗R1は受光素子の出力側に接続されたプルアップ抵抗の一例である。   The phototransistor Pt is an example of a light receiving element that allows a current to flow when the light emitting diode is turned on and does not flow a current when the light emitting diode is turned off. The resistor R1 is an example of a pull-up resistor connected to the output side of the light receiving element.

図3(B)が示すように、信号生成回路は、発光ダイオードD1、フォトトランジスタPtおよび抵抗R1により構成されてもよい。発光ダイオードD1は第一整流素子の一例である。制御回路は次のような回路素子により構成されうる。FETは、交流電源1から第一極性の交流が供給されるとオンとなり、第一極性の交流が供給されなくなるとオフとなるように配置されたスイッチ素子の一例である。コンデンサC20は第一整流素子に電流が流れる期間において充電され、第一整流素子に電流が流れていない期間において放電する蓄電回路の一例である。NPNタイプのトランジスタTr2と抵抗R25はスイッチ素子に印加される制御電圧を制御する抵抗および電流制御素子の一例である。時定数回路8は電流制御素子の制御端子に接続された時定数回路の一例である。第一極性の交流が交流電源から供給されている期間において交流電源からの交流の供給が遮断される場合がある。この場合、第一整流素子に電流が流れなくなることで、出力回路は検知信号の論理を第一論理から第二論理に変更する。時定数回路8が、制御端子に印加される電圧の上昇を遅延させることで、交流電源1からの交流の供給が遮断されたタイミングから遅れて電流制御素子がオンになる。蓄電回路の放電による電流が電流制御素子を介して抵抗R25に流れることでスイッチ素子がオンとなる。これにより、蓄電回路の放電による電流を第一整流素子に流すことが可能となり、出力回路が検知信号の論理を第二論理から第一論理に変更する。また、第二極性の交流が交流電源1から供給されている期間において交流電源1からの交流の供給が遮断される場合もある。この場合、蓄電回路の放電による電流が電流制御素子を介して抵抗R25に流れることでスイッチ素子がオンとなる。その結果、蓄電回路の放電による電流が第一整流素子に流れ、出力回路は検知信号の論理を第二論理から第一論理に変更する。   As shown in FIG. 3B, the signal generation circuit may include a light emitting diode D1, a phototransistor Pt, and a resistor R1. The light emitting diode D1 is an example of the first rectifying element. The control circuit can be composed of the following circuit elements. The FET is an example of a switch element arranged so as to be turned on when the alternating current of the first polarity is supplied from the alternating current power supply 1 and turned off when the alternating current of the first polarity is stopped. The capacitor C20 is an example of a power storage circuit that is charged while a current flows in the first rectifying element and discharges when a current does not flow in the first rectifying element. The NPN type transistor Tr2 and the resistor R25 are an example of a resistor and a current control element that control the control voltage applied to the switch element. The time constant circuit 8 is an example of a time constant circuit connected to the control terminal of the current control element. The AC supply from the AC power supply may be interrupted during the period when the AC of the first polarity is supplied from the AC power supply. In this case, the output circuit changes the logic of the detection signal from the first logic to the second logic because the current does not flow to the first rectifying element. The time constant circuit 8 delays the rise of the voltage applied to the control terminal, so that the current control element is turned on after the timing at which the alternating current supply from the alternating current power supply 1 is cut off. The switch element is turned on by the current due to the discharge of the power storage circuit flowing through the resistor R25 through the current control element. As a result, a current due to the discharge of the storage circuit can be made to flow through the first rectifying element, and the output circuit changes the logic of the detection signal from the second logic to the first logic. In addition, the AC supply from the AC power supply 1 may be interrupted during the period in which the second polarity AC is supplied from the AC power supply 1. In this case, the switch element is turned on by the current due to the discharge of the power storage circuit flowing through the resistor R25 via the current control element. As a result, a current due to discharge of the storage circuit flows through the first rectifying element, and the output circuit changes the logic of the detection signal from the second logic to the first logic.

図3(B)が示すように、ダイオードD19は第二極性の交流を整流することで生成した電流をトランジスタTr2のコレクタおよびベースに供給するトランジスタTr2をオンにする第二整流素子の一例である。なお、停電時にはコンデンサC20から電流が供給されてトランジスタTr2がオンになる。抵抗R25の一端は、電流制御素子の電流流出端子とスイッチ素子の制御端子とに接続されている。電流制御素子がオンとなることで電流制御素子の電流流出端子から抵抗R25の一端に電流が流れる。これにより、スイッチ素子の制御端子に印加される制御電圧が閾値電圧を超え、スイッチ素子がオンとなる。   As shown in FIG. 3B, the diode D19 is an example of a second rectifying element that turns on the transistor Tr2 that supplies the current generated by rectifying the alternating current of the second polarity to the collector and the base of the transistor Tr2. . In addition, at the time of power failure, current is supplied from the capacitor C20 and the transistor Tr2 is turned on. One end of the resistor R25 is connected to the current outflow terminal of the current control element and the control terminal of the switch element. When the current control element is turned on, current flows from the current outflow terminal of the current control element to one end of the resistor R25. As a result, the control voltage applied to the control terminal of the switch element exceeds the threshold voltage, and the switch element is turned on.

このように、本発明によれば、電子機器10に搭載可能な半波検知回路6や停電検知装置が提供される。停電検知装置は制御回路5と半波検知回路6により構成される。また、比較的に安価な回路素子により半波検知回路6を形成できることも利点であろう。以上の実施例では交流電圧が正極性であるときにLowレベルの検知信号が出力され、交流電圧が負極性であるときにHighレベルの検知信号が出力されている。しかし、交流電圧の極性と検知信号との論理との関係は反対でもよい。   As described above, according to the present invention, the half-wave detection circuit 6 and the power failure detection device that can be mounted on the electronic device 10 are provided. The power failure detection device includes a control circuit 5 and a half-wave detection circuit 6. It would also be an advantage that the half-wave detection circuit 6 can be formed by a relatively inexpensive circuit element. In the above embodiment, the low-level detection signal is output when the AC voltage has a positive polarity, and the high-level detection signal is output when the AC voltage has a negative polarity. However, the relationship between the polarity of the AC voltage and the logic of the detection signal may be opposite.

1…交流電源、5…制御回路、6…半波検知回路、10…電子機器、7…フォトカプラ   1 ... AC power supply, 5 ... Control circuit, 6 ... Half-wave detection circuit, 10 ... Electronic device, 7 ... Photo coupler

Claims (12)

交流電源から供給される交流の極性が第一極性である期間において第一論理の検知信号を出力し、前記交流電源から供給される交流の極性が前記第一極性とは反対の第二極性である期間において第二論理の検知信号を出力する検知手段と、
前記検知信号の論理が前記第一論理から前記第二論理に切り替わるタイミングと、前記検知信号の論理が前記第二論理から前記第一論理に切り替わるタイミングとの間の時間を計時する計時手段と、
前記計時手段により計時された時間が前記交流の半周期よりも短くなると、前記交流電源に停電が発生したと判定する判定手段と、を有し
前記検知手段は、
前記第二論理の検知信号が出力されているときに前記交流電源からの交流の供給が遮断されると、前記第一論理の検知信号を出力し、
前記第一論理の検知信号が出力されているときに前記交流電源からの交流の供給が遮断されると、一時的に前記第二論理の検知信号を出力し、次に前記第一論理の検知信号の出力を再開するように構成されていることを特徴とする停電検知装置。
The detection signal of the first logic is output in the period in which the polarity of the alternating current supplied from the alternating current power source is the first polarity, and the polarity of the alternating current supplied from the alternating current power source is the second polarity opposite to the first polarity. Detection means for outputting a detection signal of the second logic in a certain period,
Timing for switching the logic of the detection signal from the first logic to the second logic, and timing means for measuring the time between the timing for the logic of the detection signal to switch from the second logic to the first logic,
When the time measured by the time measuring means becomes shorter than the half cycle of the alternating current, the determining means for determining that a power failure has occurred in the alternating current power source, and the detecting means,
When the supply of alternating current from the AC power supply is cut off while the detection signal of the second logic is being output, the detection signal of the first logic is output,
When the supply of alternating current from the alternating current power supply is cut off while the detection signal of the first logic is being output, the detection signal of the second logic is temporarily output, and then the detection of the first logic is performed. A power failure detection device characterized by being configured to restart the output of signals.
前記検知手段は、
前記交流を半波整流することで前記検知信号を出力する信号生成回路と、
前記信号生成回路が前記第二論理の検知信号を出力しているときに前記交流電源からの交流の供給が遮断されると、前記信号生成回路に前記第一論理の検知信号を出力させ、前記信号生成回路が前記第一論理の検知信号を出力しているときに前記交流電源からの交流の供給が遮断されると、前記信号生成回路に一時的に前記第二論理の検知信号を出力させ、次に前記第一論理の検知信号の出力を再開させる制御回路と
を有することを特徴とする請求項1に記載の停電検知装置。
The detection means is
A signal generation circuit that outputs the detection signal by half-wave rectifying the alternating current,
When the AC supply from the AC power supply is cut off while the signal generation circuit is outputting the second logic detection signal, the signal generation circuit is caused to output the first logic detection signal, and If the AC supply from the AC power supply is cut off while the signal generation circuit is outputting the detection signal of the first logic, the signal generation circuit is caused to temporarily output the detection signal of the second logic. The power failure detection device according to claim 1, further comprising: a control circuit that restarts the output of the detection signal of the first logic.
前記信号生成回路は、
前記第一極性の電圧が印加されると電流を流し、前記第二極性の電流が印加されると電流を流さない整流素子と、
前記整流素子に電流が流れる期間において前記第一論理の検知信号を出力し、前記整流素子に電流が流れない期間において前記第二論理の検知信号を出力する出力回路と、を有し、
前記制御回路は、
電流流出端子と、制御端子と、前記整流素子の出力側に接続された電流流入端子とを有し、前記第一極性の前記交流が前記交流電源から供給されている期間においてオンとなり、前記第二極性の前記交流が前記交流電源から供給されている期間においてオフとなる電流制御素子と、
前記整流素子の入力側と前記電流制御素子の前記電流流出端子との間に接続され、前記電流制御素子に流れる電流を制限する制限抵抗と、
前記電流制御素子の前記電流流入端子に接続され、前記整流素子に電流が流れる期間において充電され、前記整流素子に電流が流れていない期間において放電する蓄電回路と、
前記電流制御素子の前記制御端子に接続された時定数回路と、を有し、
前記第二極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記蓄電回路の放電による電流が前記電流制御素子および前記制限抵抗を介して前記整流素子に流れることで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更し、
前記第一極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記整流素子に電流が流れなくなることで、前記出力回路は前記検知信号の論理を前記第一論理から前記第二論理に変更し、前記時定数回路が、前記制御端子に印加される電圧の上昇を遅延させることで、前記交流電源からの交流の供給が遮断されたタイミングから遅れて前記電流制御素子がオンになり、前記蓄電回路の放電による電流が前記電流制御素子および前記制限抵抗を介して前記整流素子に流れることで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更することを特徴とする請求項2に記載の停電検知装置。
The signal generation circuit,
A current flows when the voltage of the first polarity is applied, and a rectifying element that does not flow when the current of the second polarity is applied,
An output circuit that outputs the detection signal of the first logic in a period in which a current flows in the rectifying element, and outputs the detection signal of the second logic in a period in which no current flows in the rectifying element;
The control circuit is
It has a current outflow terminal, a control terminal, and a current inflow terminal connected to the output side of the rectifying element, and is turned on while the alternating current of the first polarity is supplied from the alternating current power supply, and A current control element that is turned off during a period in which the alternating current of bipolar polarity is supplied from the alternating current power supply;
A limiting resistor connected between the input side of the rectifying element and the current outflow terminal of the current control element, and limiting the current flowing through the current control element,
A storage circuit that is connected to the current inflow terminal of the current control element, is charged while a current flows through the rectifying element, and discharges during a time when no current flows through the rectifying element,
A time constant circuit connected to the control terminal of the current control element,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the second polarity is supplied from the alternating current power supply, the current due to the discharge of the storage circuit passes through the current control element and the limiting resistor. By flowing to the rectifying element, the output circuit changes the logic of the detection signal from the second logic to the first logic,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the first polarity is supplied from the alternating current power supply, current stops flowing through the rectifying element, and thus the output circuit detects the detection signal. The logic of is changed from the first logic to the second logic, and the time constant circuit delays the rise of the voltage applied to the control terminal, thereby interrupting the supply of alternating current from the alternating current power supply. The current control element is turned on with a delay from the timing, and a current due to discharge of the storage circuit flows to the rectifying element via the current control element and the limiting resistor, whereby the output circuit outputs the logic of the detection signal. The power failure detection device according to claim 2, wherein the second logic is changed to the first logic.
前記整流素子は発光ダイオードであり、
前記出力回路は、
前記発光ダイオードが点灯すると電流を流し、前記発光ダイオードが消灯すると電流を流さない受光素子と、
前記受光素子の出力側に接続されたプルアップ抵抗と
を有することを特徴とする請求項3に記載の停電検知装置。
The rectifying element is a light emitting diode,
The output circuit is
When the light emitting diode is turned on, a current is passed, and when the light emitting diode is turned off, a light receiving element that does not pass a current,
The power failure detection device according to claim 3, further comprising a pull-up resistor connected to an output side of the light receiving element.
前記電流制御素子はPNPタイプのトランジスタであることを特徴とする請求項3または4に記載の停電検知装置。   The power failure detection device according to claim 3 or 4, wherein the current control element is a PNP type transistor. 前記信号生成回路は、
前記第一極性の電圧が印加されると電流を流し、前記第二極性の電圧が印加されると電流を流さない第一整流素子と、
前記第一整流素子に電流が流れる期間において前記第一論理の検知信号を出力し、前記第一整流素子に電流が流れない期間において前記第二論理の検知信号を出力する出力回路と、を有し、
前記制御回路は、
前記交流電源から前記第一極性の前記交流が供給されるとオンとなり、前記第一極性の前記交流が供給されなくなるとオフとなるように配置されたスイッチ素子と、
前記第一整流素子に電流が流れる期間において充電され、前記第一整流素子に電流が流れていない期間において放電する蓄電回路と、
前記スイッチ素子に印加される制御電圧を制御する抵抗および電流制御素子と、
前記電流制御素子の制御端子に接続された時定数回路と、を有し、
前記第一極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記第一整流素子に電流が流れなくなることで、前記出力回路は前記検知信号の論理を前記第一論理から前記第二論理に変更し、前記時定数回路が、前記制御端子に印加される電圧の上昇を遅延させることで、前記交流電源からの交流の供給が遮断されたタイミングから遅れて前記電流制御素子がオンになり、前記蓄電回路の放電による電流が前記電流制御素子を介して前記抵抗に流れることで前記スイッチ素子がオンとなり、前記蓄電回路の放電による電流を前記第一整流素子に流すことで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更し、
前記第二極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記蓄電回路の放電による電流が前記電流制御素子を介して前記抵抗に流れることで前記スイッチ素子がオンとなり、前記蓄電回路の放電による電流を前記第一整流素子に流すことで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更することを特徴とする請求項2に記載の停電検知装置。
The signal generation circuit,
A current flows when the voltage of the first polarity is applied, a first rectifying element that does not flow current when the voltage of the second polarity is applied,
An output circuit that outputs the detection signal of the first logic during a period when a current flows through the first rectifying element, and outputs the detection signal of the second logic during a period when no current flows through the first rectifying element. Then
The control circuit is
A switch element arranged to be turned on when the alternating current of the first polarity is supplied from the alternating current power source and turned off when the alternating current of the first polarity is not supplied,
A storage circuit that is charged in a period in which a current flows in the first rectifying element and discharges in a period in which no current flows in the first rectifying element,
A resistor and a current control element for controlling a control voltage applied to the switch element,
A time constant circuit connected to the control terminal of the current control element,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the first polarity is supplied from the alternating current power supply, the current does not flow to the first rectifying element, and thus the output circuit is The logic of the detection signal is changed from the first logic to the second logic, and the time constant circuit delays the rise of the voltage applied to the control terminal, thereby cutting off the AC supply from the AC power supply. The current control element is turned on with a delay from the timing when the switch element is turned on by the current due to the discharge of the storage circuit flowing through the resistance through the current control element, and the current due to the discharge of the storage circuit. By flowing to the first rectifying element, the output circuit changes the logic of the detection signal from the second logic to the first logic,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the second polarity is supplied from the alternating current power supply, the current due to the discharge of the storage circuit is applied to the resistor via the current control element. The switch element is turned on by flowing, and the output circuit changes the logic of the detection signal from the second logic to the first logic by flowing a current due to discharge of the storage circuit to the first rectifying element. The power failure detection device according to claim 2, wherein
前記第二極性の前記交流を整流することで生成した電流を前記電流制御素子に供給する第二整流素子をさらに有することを特徴とする請求項6に記載の停電検知装置。   The power failure detection device according to claim 6, further comprising a second rectifying element that supplies a current generated by rectifying the alternating current of the second polarity to the current control element. 前記抵抗の一端は、前記電流制御素子の電流流出端子と前記スイッチ素子の制御端子とに接続されており、
前記電流制御素子がオンとなることで前記電流制御素子の前記電流流出端子から前記抵抗の一端に電流が流れることで、前記スイッチ素子の前記制御端子に印加される制御電圧が閾値電圧を超え、前記スイッチ素子がオンとなることを特徴とする請求項6または7に記載の停電検知装置。
One end of the resistor is connected to the current outflow terminal of the current control element and the control terminal of the switch element,
When the current control element is turned on to cause a current to flow from the current outflow terminal of the current control element to one end of the resistor, the control voltage applied to the control terminal of the switch element exceeds a threshold voltage, The power failure detection device according to claim 6 or 7, wherein the switch element is turned on.
交流電源から供給される交流の極性が第一極性である期間において第一論理の検知信号を出力し、前記交流電源から供給される交流の極性が前記第一極性とは反対の第二極性である期間において第二論理の検知信号を出力する半波検知回路であって、
前記第二論理の検知信号が出力されているときに前記交流電源からの交流の供給が遮断されると、前記第一論理の検知信号を出力し、
前記第一論理の検知信号が出力されているときに前記交流電源からの交流の供給が遮断されると、一時的に前記第二論理の検知信号を出力し、次に前記第一論理の検知信号の出力を再開することを特徴とする半波検知回路。
The detection signal of the first logic is output in the period in which the polarity of the alternating current supplied from the alternating current power source is the first polarity, and the polarity of the alternating current supplied from the alternating current power source is the second polarity opposite to the first polarity. A half-wave detection circuit that outputs a detection signal of the second logic in a certain period,
When the supply of alternating current from the AC power supply is cut off while the detection signal of the second logic is being output, the detection signal of the first logic is output,
When the supply of alternating current from the alternating current power supply is cut off while the detection signal of the first logic is being output, the detection signal of the second logic is temporarily output, and then the detection of the first logic is performed. A half-wave detection circuit characterized by restarting signal output.
前記交流を半波整流することで前記検知信号を出力する信号生成回路と、
前記信号生成回路が前記第二論理の検知信号を出力しているときに前記交流電源からの交流の供給が遮断されると、前記信号生成回路に前記第一論理の検知信号を出力させ、前記信号生成回路が前記第一論理の検知信号を出力しているときに前記交流電源からの交流の供給が遮断されると、前記信号生成回路に一時的に前記第二論理の検知信号を出力させ、次に前記第一論理の検知信号の出力を再開させる制御回路と
を有することを特徴とする請求項9に記載の半波検知回路。
A signal generation circuit that outputs the detection signal by half-wave rectifying the alternating current,
When the AC supply from the AC power supply is cut off while the signal generation circuit is outputting the second logic detection signal, the signal generation circuit is caused to output the first logic detection signal, and If the AC supply from the AC power supply is cut off while the signal generation circuit is outputting the detection signal of the first logic, the signal generation circuit is caused to temporarily output the detection signal of the second logic. The half-wave detection circuit according to claim 9, further comprising: a control circuit that restarts the output of the detection signal of the first logic.
前記信号生成回路は、
前記第一極性の電圧が印加されると電流を流し、前記第二極性の電流が印加されると電流を流さない整流素子と、
前記整流素子に電流が流れる期間において前記第一論理の検知信号を出力し、前記整流素子に電流が流れない期間において前記第二論理の検知信号を出力する出力回路と、を有し、
前記制御回路は、
電流流出端子と、制御端子と、前記整流素子の出力側に接続された電流流入端子とを有し、前記第一極性の前記交流が前記交流電源から供給されている期間においてオンとなり、前記第二極性の前記交流が前記交流電源から供給されている期間においてオフとなる電流制御素子と、
前記整流素子の入力側と前記電流制御素子の前記電流流出端子との間に接続され、前記電流制御素子に流れる電流を制限する制限抵抗と、
前記電流制御素子の前記電流流入端子に接続され、前記整流素子に電流が流れる期間において充電され、前記整流素子に電流が流れていない期間において放電する蓄電回路と、
前記電流制御素子の前記制御端子に接続された時定数回路と、を有し、
前記第二極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記蓄電回路の放電による電流が前記電流制御素子および前記制限抵抗を介して前記整流素子に流れることで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更し、
前記第一極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記整流素子に電流が流れなくなることで、前記出力回路は前記検知信号の論理を前記第一論理から前記第二論理に変更し、前記時定数回路が、前記制御端子に印加される電圧の上昇を遅延させることで、前記交流電源からの交流の供給が遮断されたタイミングから遅れて前記電流制御素子がオンになり、前記蓄電回路の放電による電流が前記電流制御素子および前記制限抵抗を介して前記整流素子に流れることで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更することを特徴とする請求項10に記載の半波検知回路。
The signal generation circuit,
A current flows when the voltage of the first polarity is applied, and a rectifying element that does not flow when the current of the second polarity is applied,
An output circuit that outputs the detection signal of the first logic in a period in which a current flows in the rectifying element, and outputs the detection signal of the second logic in a period in which no current flows in the rectifying element;
The control circuit is
It has a current outflow terminal, a control terminal, and a current inflow terminal connected to the output side of the rectifying element, and is turned on while the alternating current of the first polarity is supplied from the alternating current power supply, and A current control element that is turned off during a period in which the alternating current of bipolar polarity is supplied from the alternating current power supply;
A limiting resistor connected between the input side of the rectifying element and the current outflow terminal of the current control element, and limiting the current flowing through the current control element,
A storage circuit that is connected to the current inflow terminal of the current control element, is charged while a current flows through the rectifying element, and discharges during a time when no current flows through the rectifying element,
A time constant circuit connected to the control terminal of the current control element,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the second polarity is supplied from the alternating current power supply, the current due to the discharge of the storage circuit passes through the current control element and the limiting resistor. By flowing to the rectifying element, the output circuit changes the logic of the detection signal from the second logic to the first logic,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the first polarity is supplied from the alternating current power supply, current stops flowing through the rectifying element, and thus the output circuit detects the detection signal. The logic of is changed from the first logic to the second logic, and the time constant circuit delays the rise of the voltage applied to the control terminal, thereby interrupting the supply of alternating current from the alternating current power supply. The current control element is turned on with a delay from the timing, and a current due to discharge of the storage circuit flows to the rectifying element through the current control element and the limiting resistor, so that the output circuit outputs the logic of the detection signal. 11. The half-wave detection circuit according to claim 10, wherein the second logic is changed to the first logic.
前記信号生成回路は、
前記第一極性の電圧が印加されると電流を流し、前記第二極性の電圧が印加されると電流を流さない第一整流素子と、
前記第一整流素子に電流が流れる期間において前記第一論理の検知信号を出力し、前記第一整流素子に電流が流れない期間において前記第二論理の検知信号を出力する出力回路と、を有し、
前記制御回路は、
前記交流電源から前記第一極性の前記交流が供給されるとオンとなり、前記第一極性の前記交流が供給されなくなるとオフとなるように配置されたスイッチ素子と、
前記第一整流素子に電流が流れる期間において充電され、前記第一整流素子に電流が流れていない期間において放電する蓄電回路と、
前記スイッチ素子に印加される制御電圧を制御する抵抗および電流制御素子と、
前記電流制御素子の制御端子に接続された時定数回路と、を有し、
前記第一極性の前記交流が前記交流電源から供給されている期間において前記交流電源からの交流の供給が遮断されると、前記第一整流素子に電流が流れなくなることで、前記出力回路は前記検知信号の論理を前記第一論理から前記第二論理に変更し、前記時定数回路が、前記制御端子に印加される電圧の上昇を遅延させることで、前記交流電源からの交流の供給が遮断されたタイミングから遅れて前記電流制御素子がオンになり、前記蓄電回路の放電による電流が前記電流制御素子を介して前記抵抗に流れることで前記スイッチ素子がオンとなり、前記第二極性の交流に基づく電流を前記第一整流素子に流すことで、前記出力回路は前記検知信号の論理を前記第二論理から前記第一論理に変更することを特徴とする請求項10に記載の半波検知回路。
The signal generation circuit,
A current flows when the voltage of the first polarity is applied, a first rectifying element that does not flow current when the voltage of the second polarity is applied,
An output circuit that outputs the detection signal of the first logic during a period when a current flows through the first rectifying element, and outputs the detection signal of the second logic during a period when no current flows through the first rectifying element. Then
The control circuit is
A switch element arranged to be turned on when the alternating current of the first polarity is supplied from the alternating current power source and turned off when the alternating current of the first polarity is not supplied,
A storage circuit that is charged in a period in which a current flows in the first rectifying element and discharges in a period in which no current flows in the first rectifying element,
A resistor and a current control element for controlling a control voltage applied to the switch element,
A time constant circuit connected to the control terminal of the current control element,
When the supply of the alternating current from the alternating current power supply is cut off during the period in which the alternating current of the first polarity is supplied from the alternating current power supply, the current does not flow to the first rectifying element, and thus the output circuit is The logic of the detection signal is changed from the first logic to the second logic, and the time constant circuit delays the rise of the voltage applied to the control terminal, thereby cutting off the AC supply from the AC power supply. The current control element is turned on with a delay from the timing when the switch element is turned on by the current due to the discharge of the storage circuit flowing to the resistor through the current control element, and the alternating current of the second polarity is generated. The half wave according to claim 10, wherein the output circuit changes the logic of the detection signal from the second logic to the first logic by causing a current based on the first rectifier to flow. Intellectual circuit.
JP2018191271A 2018-10-09 2018-10-09 Power failure detection device and half-wave detection circuit Active JP7161365B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018191271A JP7161365B2 (en) 2018-10-09 2018-10-09 Power failure detection device and half-wave detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018191271A JP7161365B2 (en) 2018-10-09 2018-10-09 Power failure detection device and half-wave detection circuit

Publications (2)

Publication Number Publication Date
JP2020060428A true JP2020060428A (en) 2020-04-16
JP7161365B2 JP7161365B2 (en) 2022-10-26

Family

ID=70219586

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018191271A Active JP7161365B2 (en) 2018-10-09 2018-10-09 Power failure detection device and half-wave detection circuit

Country Status (1)

Country Link
JP (1) JP7161365B2 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6067864A (en) * 1983-09-22 1985-04-18 Toshiba Corp Ac voltage detecting circuit
JPS6473259A (en) * 1987-09-14 1989-03-17 Nec Corp Instantaneous interruption detection for ac power supply
JPH02146923A (en) * 1988-11-24 1990-06-06 Nec Corp Instantaneous interruption detecting circuit for ac power source
JPH07229930A (en) * 1994-02-15 1995-08-29 Fujitsu General Ltd Method and apparatus for judging alternating current voltage

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6067864A (en) * 1983-09-22 1985-04-18 Toshiba Corp Ac voltage detecting circuit
JPS6473259A (en) * 1987-09-14 1989-03-17 Nec Corp Instantaneous interruption detection for ac power supply
JPH02146923A (en) * 1988-11-24 1990-06-06 Nec Corp Instantaneous interruption detecting circuit for ac power source
JPH07229930A (en) * 1994-02-15 1995-08-29 Fujitsu General Ltd Method and apparatus for judging alternating current voltage

Also Published As

Publication number Publication date
JP7161365B2 (en) 2022-10-26

Similar Documents

Publication Publication Date Title
JP7193709B2 (en) Switching power supply control semiconductor device and AC-DC converter
CN102739215B (en) Power-on-reset circuit with low power consumption
WO2016136546A1 (en) Semiconductor device for controlling power source
KR20090029266A (en) Switching regulator and operations control method thereof
CN100559326C (en) Low voltage detection system
US20090267544A1 (en) Motor control circuit and operation method thereof
JP2008104285A (en) Switching power supply method
CN112130050B (en) IGBT desaturation fault detection device
TWI569564B (en) Switching mode power supplies with fast load-transient response
JP5163211B2 (en) Semiconductor integrated circuit for reset circuit and power supply control
JPWO2018225436A1 (en) Gate drive device
JP2008072830A (en) Switching power unit
JP2020060428A (en) Power failure detection device and half-wave detection circuit
US9331580B2 (en) Switching power supply system and control circuit of the switching power supply system
JP2018057240A (en) Power supply system and image formation apparatus
CN106787636B (en) Synchronous rectification control circuit compatible with CCM (continuous current mode)
US9154043B2 (en) Power source device and image forming apparatus
JP2017034827A (en) Control device for switching power supply
JP2005210845A (en) Power supply circuit
JP2007192690A (en) Power failure detection circuit
CN110300476B (en) Dimmer control circuit, method and system
JP2009268184A (en) Ac detection circuit and dc power supply
KR20150112838A (en) Power supply device comprising the same
JP6753344B2 (en) Leakage detector
JP2010259286A (en) Charging circuit

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20210103

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210113

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210929

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20220902

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20221014

R151 Written notification of patent or utility model registration

Ref document number: 7161365

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151