JPH11337596A - Power failure detection method and power failure detection circuit using the method - Google Patents
Power failure detection method and power failure detection circuit using the methodInfo
- Publication number
- JPH11337596A JPH11337596A JP14294198A JP14294198A JPH11337596A JP H11337596 A JPH11337596 A JP H11337596A JP 14294198 A JP14294198 A JP 14294198A JP 14294198 A JP14294198 A JP 14294198A JP H11337596 A JPH11337596 A JP H11337596A
- Authority
- JP
- Japan
- Prior art keywords
- detected
- zero
- power failure
- cross
- voltage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 53
- 238000000034 method Methods 0.000 title description 21
- 230000002238 attenuated effect Effects 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 9
- 230000007257 malfunction Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000015654 memory Effects 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000000087 stabilizing effect Effects 0.000 description 1
- 239000000758 substrate Substances 0.000 description 1
Landscapes
- Measurement Of Current Or Voltage (AREA)
Abstract
(57)【要約】
【課題】 モータなどの回転機械を使用した負荷が接続
された場合でも、誤りなく速やかに停電検出ができるよ
うにする。
【解決手段】 ゼロクロス検出回路1と、ゼロクロスの
周期を計るタイマ手段2’と、交流電源の電圧を検出す
る電圧検出回路7とを備える。ゼロクロス検出回路1に
よって交流入力のゼロクロス点が検出されると、検出さ
れたゼロクロス点から所定点の電圧を電圧検出回路7で
検出する。この検出電圧は、停電後のノイズの場合に
は、検出電圧は検出ごとに一定とならず変化しながら減
衰する。そのため、検出電圧値を所定値と比較すること
により、停電を検出する。また、交流入力のゼロクロス
点が検出されなくなると、タイマ手段2’によってその
間隔を検出することにより停電を検出する。このように
ゼロクロスに基づいて停電を検出することにより、モー
タなどの回転機械を使用した負荷が接続された場合で
も、誤りなく速やかに停電検出ができるようにする。
(57) [Summary] [PROBLEMS] To enable quick and error-free power failure detection even when a load using a rotating machine such as a motor is connected. SOLUTION: A zero cross detecting circuit 1, a timer means 2 'for measuring a period of the zero cross, and a voltage detecting circuit 7 for detecting a voltage of an AC power supply are provided. When the zero-cross point of the AC input is detected by the zero-cross detection circuit 1, a voltage at a predetermined point from the detected zero-cross point is detected by the voltage detection circuit 7. In the case of noise after a power failure, the detection voltage is attenuated while changing instead of being constant at each detection. Therefore, the power failure is detected by comparing the detected voltage value with a predetermined value. When the zero-cross point of the AC input is no longer detected, the power failure is detected by detecting the interval by the timer means 2 '. By detecting a power failure based on the zero cross in this way, even when a load using a rotating machine such as a motor is connected, the power failure can be promptly detected without error.
Description
【0001】[0001]
【発明の属する技術分野】この発明は、交流電源の停電
検出方法及びその方法を用いた停電検出回路に関するも
のである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a power failure detection method for an AC power supply and a power failure detection circuit using the method.
【0002】[0002]
【従来の技術】機器のマイクロコンピュータ(以下、マ
イコン)化が進み、プログラムで働く機器が増えてくる
と、停電などの電源異常の発生により、機器全体が動作
不良に陥ったり、大切なデータを喪失してしまうことが
ある。そのため、システムに応じた停電対策が取られる
ようになっている。2. Description of the Related Art As devices become more and more microcomputers and the number of devices that work with programs increases, power failures such as power outages cause the entire device to malfunction or lose valuable data. It may be lost. For this reason, power failure measures are taken according to the system.
【0003】停電対策は、停電検知と検知後の処理及び
復帰処理とに分けられ、特に、停電検知は重要である。The power failure countermeasures are divided into power failure detection and processing after detection and recovery processing. In particular, power failure detection is important.
【0004】この停電検知の方法には、従来から、さま
ざまな方法が考えられている。例えば、電源回路の整流
回路内に停電検出用の回路を設けて制御回路(マイコン
など)へ停電情報(信号)を送り、停電情報を受けた制
御回路が、割り込みを発生して対策処理を行うという方
法が一般的である。[0004] Various methods have been considered for this power failure detection method. For example, a power failure detection circuit is provided in a rectifier circuit of a power supply circuit, power failure information (signal) is sent to a control circuit (microcomputer or the like), and the control circuit receiving the power failure information generates an interrupt and performs a countermeasure process. Is generally used.
【0005】すなわち、図8に示すように、ゼロクロス
検出回路1とマイコン2とを接続し、図9のように、ゼ
ロクロス検出回路1によって電源波形の欠損を検出する
と、マイコン2が通常のジョブを中断し、最優先で電源
異常に対する処理を行って、非同期の事象として起こる
電源異常に対処する。That is, as shown in FIG. 8, when the zero-cross detection circuit 1 is connected to the microcomputer 2 and the zero-cross detection circuit 1 detects the loss of the power supply waveform as shown in FIG. Suspend and process power failures with the highest priority to deal with power failures that occur as asynchronous events.
【0006】この場合、重要なことは、電源3が検知時
間と停電処理時間の間、充分な電圧を供給できることで
ある。In this case, what is important is that the power supply 3 can supply a sufficient voltage during the detection time and the power failure processing time.
【0007】[0007]
【発明が解決しようとする課題】しかしながら、上記の
ゼロクロス回路を用いた停電検出回路では、図8に示す
ように、整流回路と並列にモータなどの回転機械を使用
したものが負荷として接続されると(例えば、圧縮機
4)、停電後に回転機械が発電機として働き、交流ノイ
ズを発生する。すると、発生ノイズがトランスを介して
廻りこみ、その回り込んだノイズを、図10のようにゼ
ロクロス回路1が電源波形と誤認するため、停電処理を
開始するタイミングが遅れてしまう。そのため、マイコ
ン2が停電処理をする際に電源3が停電処理に対して充
分に耐え得るだけの電圧を供給できなくなるという問題
がある。However, in the power failure detection circuit using the above-mentioned zero cross circuit, as shown in FIG. 8, a circuit using a rotating machine such as a motor in parallel with a rectification circuit is connected as a load. (For example, the compressor 4), after the power failure, the rotating machine functions as a generator, and generates AC noise. Then, the generated noise is circulated through the transformer, and the sneak noise is erroneously recognized as the power supply waveform by the zero cross circuit 1 as shown in FIG. 10, so that the timing of starting the power failure process is delayed. For this reason, when the microcomputer 2 performs the power failure processing, there is a problem that the power supply 3 cannot supply a voltage enough to withstand the power failure processing.
【0008】そこで、この発明の課題は、モータなどの
回転機械を使用した負荷が接続された場合でも、誤動作
をしない停電検出方法及びその方法を用いた停電検出回
路を提供することである。It is an object of the present invention to provide a power failure detection method which does not malfunction even when a load using a rotary machine such as a motor is connected, and a power failure detection circuit using the method.
【0009】[0009]
【課題を解決するための手段】上記の課題を解決するた
め、請求項1では、交流電源電圧のゼロクロス点を検出
し、ゼロクロスが検出されると、前記ゼロクロス点から
所定点の電圧を検出し、検出した電圧値が所定値内にあ
るかどうかを比較して、前記所定値内にある回数がn回
連続して繰り返されたことを検出すると停電とし、一
方、ゼロクロスが検出されないと、そのゼロクロスが所
定期間内に所定数検出されないかどうかを検出し、検出
されないと停電とする検出方法を採用したのである。According to a first aspect of the present invention, a zero cross point of an AC power supply voltage is detected, and when a zero cross is detected, a voltage at a predetermined point is detected from the zero cross point. It is compared whether the detected voltage value is within a predetermined value, and when it is detected that the number of times within the predetermined value is continuously repeated n times, it is determined that a power failure has occurred. A detection method is employed in which it is detected whether a predetermined number of zero crossings are detected within a predetermined period, and if not, a power failure is detected.
【0010】このような方法を採用することにより、検
出されるゼロクロス点から所定点の電圧は、交流の場合
は、常に同じ電圧値が検出される。一方、停電後のノイ
ズの場合には、検出電圧は検出ごとに一定とならず変化
しながら減衰し、最終的にはゼロになる。そのため、検
出電圧値を所定値と比較し、検出電圧が前記所定値内に
ある回数がn回連続して繰り返されたことを検出するこ
とにより、ノイズを弁別して停電を検出できる。By adopting such a method, the voltage at the predetermined point from the detected zero crossing point is always the same voltage value in the case of AC. On the other hand, in the case of noise after a power failure, the detected voltage is not constant at every detection, but is attenuated while changing, and finally becomes zero. Therefore, by comparing the detected voltage value with the predetermined value and detecting that the number of times that the detected voltage is within the predetermined value is repeated n times continuously, it is possible to discriminate noise and detect a power failure.
【0011】このとき、停電時にノイズ成分が重畳しな
い場合でも、ゼロクロスが所定期間内に所定数検出され
ないかどうかを検出するので、停電を検出することがで
きる。At this time, even if the noise component is not superimposed at the time of the power failure, it is detected whether or not a predetermined number of zero crossings are detected within a predetermined period, so that the power failure can be detected.
【0012】また、請求項2では、交流電源電圧のゼロ
クロス点を検出するゼロクロス検出手段と、前記ゼロク
ロス検出手段からのゼロクロス信号に基づいてゼロクロ
スの周期を計るタイマ手段と、交流電源電圧の電圧を検
出する電圧検出手段とを備え、上記ゼロクロス検出手段
によって交流電源電圧のゼロクロスを検出し、ゼロクロ
スが検出されると、前記ゼロクロス点から所定点の電圧
を電圧検出手段により検出し、検出した電圧値が所定値
内にあるかどうかを比較して、前記所定値内にある回数
がn回連続して繰り返されたことを検出すると停電と
し、一方、ゼロクロスが検出されないと、そのゼロクロ
スが所定期間内に所定数検出されないかどうかを検出
し、検出されないと停電とする構成を採用したのであ
る。According to a second aspect of the present invention, there is provided a zero-cross detecting means for detecting a zero-cross point of the AC power supply voltage, a timer means for measuring a period of the zero-cross based on the zero-cross signal from the zero-cross detecting means, Voltage detecting means for detecting the zero-cross of the AC power supply voltage by the zero-cross detecting means, and when the zero-cross is detected, a voltage at a predetermined point from the zero-cross point is detected by the voltage detecting means, and the detected voltage value Is determined to be within a predetermined value, and when it is detected that the number of times within the predetermined value has been repeated n times continuously, it is determined that a power failure has occurred. Then, a configuration is adopted in which it is detected whether or not a predetermined number is detected, and if not, a power failure is detected.
【0013】このような構成を採用することにより、交
流電圧のゼロクロス点をゼロクロス手段で検出し、その
検出したゼロクロス信号に基づいてゼロクロス点から所
定点の電圧を電圧検出手段を使って検出する。また、ゼ
ロクロスが検出されないと、タイマ手段によってゼロク
ロスが所定期間内に所定数検出されないかどうかを検出
し、検出されないと停電とする。By employing such a configuration, the zero-cross point of the AC voltage is detected by the zero-cross means, and a voltage at a predetermined point from the zero-cross point is detected by the voltage detection means based on the detected zero-cross signal. If no zero cross is detected, the timer means detects whether or not a predetermined number of zero crosses are detected within a predetermined period.
【0014】[0014]
【発明の実施の形態】以下、この発明の実施の形態を図
面に基づいて説明する。Embodiments of the present invention will be described below with reference to the drawings.
【0015】図1に本願発明の停電検出方法に基づく停
電検出回路を用いた制御回路のブロック図を示す。FIG. 1 is a block diagram of a control circuit using a power failure detection circuit based on the power failure detection method of the present invention.
【0016】この制御回路は、冷凍機の圧縮機制御を行
うための回路で、圧縮機4は交流(AC)電源と並列に
接続されている。This control circuit is a circuit for controlling the compressor of the refrigerator, and the compressor 4 is connected in parallel with an alternating current (AC) power supply.
【0017】前記制御回路は、マイコン2、圧縮機用リ
レー5、時計用IC6、ゼロクロス検出回路1、電源波
高値検出回路7、その他メモリーやI/Oインターフェ
ース回路など8を、安定化電源回路3とともに1枚の基
板に設けたものである。The control circuit includes a microcomputer 2, a compressor relay 5, a clock IC 6, a zero-cross detection circuit 1, a power supply peak value detection circuit 7, a memory 8 and an I / O interface circuit 8, and a stabilized power supply circuit 3. Are provided on one substrate.
【0018】このような基板内の圧縮機用リレー5、時
計用IC6、ゼロクロス検出回路1、電源波高値検出回
路7、その他メモリーやI/Oインターフェース回路な
ど8はデータ及びアドレスバス9によってマイコン2と
接続されている。The compressor relay 5, the clock IC 6, the zero-cross detection circuit 1, the power supply peak value detection circuit 7, and other memories and I / O interface circuits 8 in such a board are connected to a microcomputer 2 through a data and address bus 9. Is connected to
【0019】前記マイコン2は、プログラムによるタイ
マ手段2’を備えており、ゼロクロス検出回路1からの
ゼロクロス信号の周期を計れるようになっている。ま
た、マイコン2は、後述するように停電検知と停電検知
後の処理とからなる停電処理プログラムを備えており、
ゼロクロス検出回路1からのゼロクロス信号により、割
り込み処理による停電検知処理を実行して交流電圧を監
視する。そして、前記監視電圧が低下すると、停電検知
後の処理を実行する。さらに、マイコン2はホールト機
能を備えており、停電検知後の処理を実行すると、スリ
ープモードによる消費電力モードとなって待機状態にな
る。The microcomputer 2 is provided with a timer means 2 'by a program so that the period of the zero-cross signal from the zero-cross detection circuit 1 can be measured. The microcomputer 2 includes a power failure processing program including a power failure detection and a process after the power failure is detected, as described later.
In response to a zero-cross signal from the zero-cross detection circuit 1, a power failure detection process by an interrupt process is executed to monitor the AC voltage. Then, when the monitoring voltage decreases, the processing after the power failure detection is executed. Further, the microcomputer 2 has a halt function. When the microcomputer 2 executes a process after detecting a power failure, the microcomputer 2 enters a power consumption mode by a sleep mode and enters a standby state.
【0020】圧縮機用リレー5は、リレー接点5’が図
1のようにAC電源と圧縮機4間に設けられ、マイコン
2に接続されて圧縮機4をオン・オフ制御できるように
なっている。The compressor relay 5 has a relay contact 5 'provided between the AC power supply and the compressor 4 as shown in FIG. 1, and is connected to the microcomputer 2 so that the compressor 4 can be turned on and off. I have.
【0021】時計用IC6は、いわゆる、リアルタイム
クロックで、日・時データをマイコン2に出力する。The clock IC 6 outputs date / time data to the microcomputer 2 using a so-called real-time clock.
【0022】ゼロクロス検出回路1は、コンパレータ回
路を用いた周知のもので、図1のようにゼロクロス用ト
ランス10と接続され、交流電圧波形がゼロ点を通過し
た際に検出信号を出力する。The zero-cross detecting circuit 1 is a known circuit using a comparator circuit, and is connected to a zero-crossing transformer 10 as shown in FIG. 1, and outputs a detection signal when an AC voltage waveform passes through a zero point.
【0023】電源波高値検出回路7は、例えば、この形
態の場合、サンプル&ホールド回路とA/D変換器とで
構成されており、サンプル&ホールド回路のホールドタ
イミングをコントロールすることにより、電源電圧の波
高値を任意のタイミングでサンプリングできるようにな
っている。また、そのサンプリングした電圧値は、A/
D変換器がデジタルデータに変換し、マイコン2が読み
込めるようにする。For example, in this case, the power supply peak value detection circuit 7 includes a sample-and-hold circuit and an A / D converter, and controls the hold timing of the sample-and-hold circuit to obtain the power supply voltage. Can be sampled at an arbitrary timing. The sampled voltage value is A /
The D converter converts the data into digital data so that the microcomputer 2 can read the data.
【0024】安定化電源回路3は、オンボードタイプの
もので、制御基板用トランス11と接続され、基板上の
各ICや回路に電力を供給する。The stabilized power supply circuit 3 is of an on-board type, is connected to the control board transformer 11, and supplies power to each IC and circuit on the board.
【0025】このとき、時計用IC6とマイコン2は、
スイッチ回路12を介して安定化電源回路3と接続され
ており、前記スイッチ回路12はマイコン2と接続され
ている。そのため、マイコン2によって安定化電源回路
3との接続をオン・オフできるようになっている。さら
に、この時計用IC6とマイコン2の電源入力端子Vc
cには、ダイオードDを介してバッテリーBが接続され
ており、前記スイッチ回路12がオフとなると、バッテ
リーBから電力を供給できるようになっている。At this time, the clock IC 6 and the microcomputer 2
The switch circuit 12 is connected to the stabilized power supply circuit 3 via the switch circuit 12, and the switch circuit 12 is connected to the microcomputer 2. Therefore, the connection with the stabilized power supply circuit 3 can be turned on / off by the microcomputer 2. Further, the clock IC 6 and the power input terminal Vc of the microcomputer 2 are used.
A battery B is connected to c via a diode D. When the switch circuit 12 is turned off, power can be supplied from the battery B.
【0026】この形態は以上のように構成されており、
次に、この制御回路の作用を説明することにより、本願
の停電検出方法を説明する。This embodiment is configured as described above.
Next, the operation of the control circuit will be described to explain the power failure detection method of the present application.
【0027】すなわち、マイコン2は、電源が投入され
ると同時にゼロクロスを検出し、図2に示すような停電
検知処理A,B(「処理」100:以下「処理」省略)
を実行する。That is, the microcomputer 2 detects a zero crossing at the same time as the power is turned on, and performs power failure detection processing A and B as shown in FIG. 2 (“processing” 100: hereinafter “processing” is omitted).
Execute
【0028】すなわち、停電検知処理(100)では、
まず、i,j=0として(110)、タイマ2’を作動
(120)させる。そして、停電検知処理Aによって、
タイマ2’がタイムアップ(130)するまでにゼロク
ロス信号が検出されるかどうかを検出する。このとき、
タイマ2’がタイムアップすると(140)、タイマ
2’をリセットしたのち(150)、ゼロクロス点から
電源周波数ごとに設定される所定点t3の電圧を電源波
高値検出回路7によってサンプリングし、その値をデジ
タルデータに変換して読み込む(160)。That is, in the power failure detection process (100),
First, i, j = 0 are set (110), and the timer 2 'is operated (120). Then, by the power failure detection processing A,
It is detected whether a zero-cross signal is detected before the timer 2 'times out (130). At this time,
When the timer 2 'times out (140), the timer 2' is reset (150), and the voltage at a predetermined point t3 set for each power supply frequency from the zero crossing point is sampled by the power supply peak value detection circuit 7, and the value is sampled. Is converted into digital data and read (160).
【0029】この所定点t3は、50ヘルツの場合は、
5msとし、60ヘルツの場合は、4.333msとす
ることにより、各周波数における半サイクルごとのピー
ク電圧の波高値を測定できるように設定してある。When the predetermined point t3 is 50 Hz,
The peak value is set to 5 ms, and to 4.333 ms at 60 Hz, so that the peak value of the peak voltage for each half cycle at each frequency can be measured.
【0030】こうして読み込んだ所定点t3の値とあら
かじめ設定した所定の値とを比較し、読み込んだ値が所
定値以内どうかを比較する(170)。この所定値は、
この形態の場合、ピーク値の半分の電圧(1/2VAC)
を基準電圧として設定しているが、この値に限定される
ものではない。基準電圧の値は整流回路の特性などによ
り、適宜設定することができる。The value of the predetermined point t3 thus read is compared with a predetermined value set in advance, and it is determined whether the read value is within a predetermined value (170). This predetermined value is
In this embodiment, half the voltage of the peak value (1 / 2V AC)
Is set as the reference voltage, but is not limited to this value. The value of the reference voltage can be set as appropriate according to the characteristics of the rectifier circuit.
【0031】このように、サンプリングした電圧値を読
み込んで比較すると、図3に示すように、定常状態(交
流が入力している状態)では比較結果は、常に基準電圧
以上となる。この場合は、処理(110)へ戻って処理
を繰り返す。As described above, when the sampled voltage values are read and compared, as shown in FIG. 3, the comparison result is always equal to or higher than the reference voltage in a steady state (state where AC is input). In this case, the process returns to the process (110) and the process is repeated.
【0032】いま、停電が発生して供給電力がストップ
すると、回転中の圧縮機4のモータは発電機となりノイ
ズ電圧を発生する。Now, when a power failure occurs and the supply power stops, the motor of the rotating compressor 4 becomes a generator and generates a noise voltage.
【0033】そのため、停電後もゼロクロス検出器1
は、図3に示すように、ゼロクロス信号を出力し、電源
波高値検出回路7によって所定点の電圧がサンプルされ
る。このとき、図4の模式図に示すように、サンプルし
たノイズ電圧V2は、モータの停止につれて徐々に減衰
し、交流電圧V1に比べて小さくなる。Therefore, even after the power failure, the zero-cross detector 1
As shown in FIG. 3, a zero-cross signal is output, and a voltage at a predetermined point is sampled by the power supply peak value detection circuit 7. At this time, as shown in the schematic diagram of FIG. 4, the sampled noise voltage V2 gradually attenuates as the motor stops, and becomes smaller than the AC voltage V1.
【0034】したがって、処理(120)〜(190)
を繰り返すことにより、サンプルした電圧が所定値以下
となる回数nが、この形態では、図5に示すように、3
回連続した場合に停電と判断する。そして、停電検知後
の処理(200)として、レジスタデータなどを保存し
てスリープ状態になる。さらに、スイッチ手段12をオ
フとし、時計IC6を安定化電源回路3から切離し、バ
ックアップ用のバッテリーBから電力を供給する。Therefore, the processes (120) to (190)
Is repeated, the number n of times that the sampled voltage becomes equal to or less than the predetermined value is 3 in this embodiment, as shown in FIG.
It is determined that a power outage has occurred if the power has been turned on consecutive times. Then, as a process (200) after the detection of the power failure, register data and the like are stored and the device enters a sleep state. Further, the switch means 12 is turned off, the clock IC 6 is disconnected from the stabilizing power supply circuit 3, and power is supplied from the backup battery B.
【0035】このように、電圧値を検出したので、ゼロ
クロス信号がノイズによって連続して出力される場合で
も、ノイズを弁別して速やかに停電を検出し、従来のよ
うに停電処理を開始するタイミングの遅れを防止するこ
とができる。As described above, since the voltage value is detected, even when the zero-cross signal is continuously output due to noise, the noise is discriminated and the power failure is detected promptly, and the timing of starting the power failure processing as in the prior art is determined. Delay can be prevented.
【0036】その結果、システムとして時刻データを保
持し、システムの復帰が確実にできる。As a result, the system retains the time data, and the system can be reliably restored.
【0037】一方、処理(130)でゼロクロスを検出
できない場合。つまり、停電後に圧縮機4からのノイズ
の発生が無い場合、タイマ2’がタイムアップすると、
停電検知処理Bにより、タイマ2’をリセットし(21
0)、jに1を加算して(220)、加算したjを所定
値と比べながら(230)タイマを作動する(12
0)。そして、処理(120)→(130)→(21
0)→(220)→(230)を繰り返すことにより、
図6に示すように、ゼロクロスが所定回数(この形態で
は3回 50ヘルツ:T=30ms、60ヘルツ:T=
25ms)検出されないと、停電とみなして停電検知後
の処理を実行する(200)。On the other hand, when the zero cross cannot be detected in the process (130). That is, if no noise is generated from the compressor 4 after the power failure, when the timer 2 'times out,
The timer 2 'is reset by the power failure detection process B (21
0), 1 is added to j (220), and the timer is activated while comparing the added j with a predetermined value (230) (12).
0). Then, processing (120) → (130) → (21)
0) → (220) → (230)
As shown in FIG. 6, zero crossing is performed a predetermined number of times (three times in this embodiment, 50 Hz: T = 30 ms, 60 Hz: T = 30 ms).
25 ms) If not detected, it is regarded as a power failure, and the processing after the power failure is detected is executed (200).
【0038】こうして、ゼロクロス信号の無い期間を検
出して停電検知を行うことにより、図7に示すように、
圧縮機の作動の如何に係わらず、停電の検出を行うこと
ができる。As described above, by detecting a period during which there is no zero-cross signal and detecting a power failure, as shown in FIG.
The power failure can be detected regardless of the operation of the compressor.
【0039】すなわち、ゼロクロスが所定期間内に所定
数検出されないかどうかを検出することにより、圧縮機
4が停止中でノイズによるゼロクロス信号が検出されな
い状態であっても、停電を検出できるようになってい
る。That is, by detecting whether or not a predetermined number of zero crosses are detected within a predetermined period, a power failure can be detected even when the compressor 4 is stopped and a zero cross signal due to noise is not detected. ing.
【0040】なお、この形態では、負荷に回転機械を用
いた場合に付いて述べたが、負荷が回転機械以外の場合
でも確実に停電を検知できることはいうまでもない。In this embodiment, a case where a rotating machine is used as the load has been described. However, it goes without saying that a power failure can be reliably detected even when the load is not a rotating machine.
【0041】また、このようにゼロクロス点から所定点
の電圧を検知するようにしたことにより、回転機械以外
のノイズに対しても同様の効果が期待できることも明白
である。By detecting the voltage at a predetermined point from the zero-cross point in this way, it is apparent that the same effect can be expected for noises other than those of the rotating machine.
【0042】[0042]
【発明の効果】この発明は、以上のように構成すること
により、ゼロクロスを検出し、検出されるゼロクロスに
基づいて停電を検出するようにしたので、例えば、モー
タなどの回転機械を使用した負荷が接続された場合で
も、誤動作をしない停電検出方法及びその方法を用いた
停電検出回路を提供することができる。According to the present invention, a zero-cross is detected and a power failure is detected based on the detected zero-cross by employing the above-described configuration. For example, a load using a rotating machine such as a motor can be used. A power failure detection method that does not malfunction even when the power supply is connected, and a power failure detection circuit using the method can be provided.
【図1】実施形態のブロック図FIG. 1 is a block diagram of an embodiment.
【図2】実施形態のフローチャートFIG. 2 is a flowchart of an embodiment.
【図3】実施形態の作用説明図FIG. 3 is a diagram illustrating the operation of the embodiment.
【図4】実施形態の作用を説明する模式図FIG. 4 is a schematic diagram illustrating the operation of the embodiment.
【図5】実施形態の作用説明図FIG. 5 is an operation explanatory view of the embodiment.
【図6】実施形態の作用説明図FIG. 6 is an operation explanatory view of the embodiment.
【図7】実施形態の作用説明図FIG. 7 is a diagram illustrating the operation of the embodiment.
【図8】従来例のブロック図FIG. 8 is a block diagram of a conventional example.
【図9】従来例の作用説明図FIG. 9 is a diagram illustrating the operation of a conventional example.
【図10】従来例の作用説明図FIG. 10 is a diagram illustrating the operation of a conventional example.
1 ゼロクロス検出回路 2 マイコン 2’タイマ 3 安定化電源回路 4 圧縮機 6 時計用IC 7 電源波高値検出回路 DESCRIPTION OF SYMBOLS 1 Zero cross detection circuit 2 Microcomputer 2 'timer 3 Stabilized power supply circuit 4 Compressor 6 Clock IC 7 Power supply peak value detection circuit
Claims (2)
ゼロクロスが検出されると、前記ゼロクロス点から所定
点の電圧を検出し、検出した電圧値が所定値内にあるか
どうかを比較して、前記所定値内にある回数がn回連続
して繰り返されたことを検出すると停電とし、 一方、ゼロクロスが検出されないと、そのゼロクロスが
所定期間内に所定数検出されないかどうかを検出し、検
出されないと停電とする停電検出方法。1. A zero-cross point of an AC power supply voltage is detected,
When a zero cross is detected, a voltage at a predetermined point is detected from the zero cross point, a comparison is made as to whether the detected voltage value is within a predetermined value, and the number of times within the predetermined value is repeated n times continuously. A power failure detection method that detects a power failure when a power failure is detected, and detects whether a predetermined number of zero crosses are not detected within a predetermined time period if no zero cross is detected, and determines that a power failure occurs if no zero cross is detected.
ゼロクロス検出手段と、前記ゼロクロス検出手段からの
ゼロクロス信号に基づいてゼロクロスの周期を計るタイ
マ手段と、交流電源電圧の電圧を検出する電圧検出手段
とを備え、 上記ゼロクロス検出手段によって交流電源電圧のゼロク
ロスを検出し、ゼロクロスが検出されると、前記ゼロク
ロス点から所定点の電圧を電圧検出手段により検出し、
検出した電圧値が所定値内にあるかどうかを比較して、
前記所定値内にある回数がn回連続して繰り返されたこ
とを検出すると停電とし、 一方、ゼロクロスが検出されないと、そのゼロクロスが
所定期間内に所定数検出されないかどうかを検出し、検
出されないと停電とする請求項1に記載の停電検出方法
を用いた停電検出回路。2. A zero-cross detecting means for detecting a zero-cross point of an AC power supply voltage, a timer means for measuring a zero-cross period based on a zero-cross signal from the zero-cross detecting means, and a voltage detecting means for detecting a voltage of the AC power supply voltage. The zero cross detection means detects a zero cross of the AC power supply voltage, and when the zero cross is detected, a voltage at a predetermined point from the zero cross point is detected by the voltage detection means,
By comparing whether the detected voltage value is within a predetermined value,
When it is detected that the number of times within the predetermined value has been repeated n times continuously, it is determined that a power failure has occurred. On the other hand, if a zero cross is not detected, it is detected whether or not a predetermined number of the zero crosses are detected within a predetermined period. A power failure detection circuit using the power failure detection method according to claim 1.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14294198A JPH11337596A (en) | 1998-05-25 | 1998-05-25 | Power failure detection method and power failure detection circuit using the method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP14294198A JPH11337596A (en) | 1998-05-25 | 1998-05-25 | Power failure detection method and power failure detection circuit using the method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11337596A true JPH11337596A (en) | 1999-12-10 |
Family
ID=15327217
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP14294198A Pending JPH11337596A (en) | 1998-05-25 | 1998-05-25 | Power failure detection method and power failure detection circuit using the method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11337596A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1167608A3 (en) * | 2000-06-21 | 2003-11-19 | Whirlpool Corporation | A method and apparatus for power loss detection and saving of operation settings in an appliance |
| JP2008209018A (en) * | 2007-02-23 | 2008-09-11 | Mitsubishi Heavy Ind Ltd | Large refrigerator control device and power failure detection method thereof |
| JP2010259615A (en) * | 2009-05-07 | 2010-11-18 | Tiger Vacuum Bottle Co Ltd | Cooking appliances |
| CN113740760A (en) * | 2020-05-29 | 2021-12-03 | 株式会社村田制作所 | Method and apparatus for fast fault detection of AC power supply |
-
1998
- 1998-05-25 JP JP14294198A patent/JPH11337596A/en active Pending
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| EP1167608A3 (en) * | 2000-06-21 | 2003-11-19 | Whirlpool Corporation | A method and apparatus for power loss detection and saving of operation settings in an appliance |
| JP2008209018A (en) * | 2007-02-23 | 2008-09-11 | Mitsubishi Heavy Ind Ltd | Large refrigerator control device and power failure detection method thereof |
| JP2010259615A (en) * | 2009-05-07 | 2010-11-18 | Tiger Vacuum Bottle Co Ltd | Cooking appliances |
| CN113740760A (en) * | 2020-05-29 | 2021-12-03 | 株式会社村田制作所 | Method and apparatus for fast fault detection of AC power supply |
| CN113740760B (en) * | 2020-05-29 | 2023-05-16 | 株式会社村田制作所 | Method and device for rapid fault detection of alternating current power supply |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4855722A (en) | Alternating current power loss detector | |
| US6598170B1 (en) | Power supply control based on preset schedule with independent schedule monitor and backup system for executing schedule operation when malfunction occurs | |
| JP3664692B2 (en) | Arithmetic processing unit | |
| JP6611200B2 (en) | COMMUNICATION DEVICE AND COMMUNICATION DEVICE POWER SUPPLY CAPACITOR ABNORMALITY DETECTING METHOD | |
| JP3708802B2 (en) | Uninterruptible power system | |
| JP2008261663A (en) | Electronic energy meter | |
| JPH11341702A (en) | Uninterruptible power system | |
| JPH1090314A (en) | Power failure detection method | |
| JPH0236003B2 (en) | ||
| JPH10207586A (en) | Power-off control system for computer | |
| JPH0335170A (en) | Detecting circuit for ac power supply failure | |
| JPH07306230A (en) | Blackout detector | |
| JPS5912642Y2 (en) | data processing equipment | |
| JPH06103480B2 (en) | Blackout processor | |
| JPS63103311A (en) | Processing method for microcomputer system at time of service interruption | |
| JPH0211197A (en) | Operation controller for washing machine | |
| JPH0990522A (en) | Lamp light intensity control device | |
| JPS61189468A (en) | Power failure detector | |
| JP2020071711A (en) | Electric equipment, communication device, and communication system | |
| JPS589525A (en) | DC power supply | |
| KR890003479B1 (en) | How to Prepare for Micom's Power Failure | |
| JPS63315963A (en) | Power failure detecting circuit | |
| JPH01245322A (en) | Power failure control circuit for microprocessor | |
| JPS5829323A (en) | Power outage detection device | |
| JPH05268643A (en) | Power failure detecting system in telephone system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Effective date: 20050308 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
| A977 | Report on retrieval |
Effective date: 20070627 Free format text: JAPANESE INTERMEDIATE CODE: A971007 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070710 |
|
| A02 | Decision of refusal |
Effective date: 20080408 Free format text: JAPANESE INTERMEDIATE CODE: A02 |