JPS63185218A - Resetting device - Google Patents
Resetting deviceInfo
- Publication number
- JPS63185218A JPS63185218A JP1771887A JP1771887A JPS63185218A JP S63185218 A JPS63185218 A JP S63185218A JP 1771887 A JP1771887 A JP 1771887A JP 1771887 A JP1771887 A JP 1771887A JP S63185218 A JPS63185218 A JP S63185218A
- Authority
- JP
- Japan
- Prior art keywords
- reset
- microcomputer
- photocouplers
- transistor
- turned
- 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
- 239000003990 capacitor Substances 0.000 claims abstract description 12
- 230000002265 prevention Effects 0.000 claims description 3
- 230000001360 synchronised effect Effects 0.000 abstract description 3
- 238000004378 air conditioning Methods 0.000 abstract description 2
- 230000000694 effects Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009499 grossing Methods 0.000 description 1
Landscapes
- Electronic Switches (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は、空気調和機の機器を制御するために用いられ
るマイクロコンピュータのリセット装置に関するもので
ある。DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a reset device for a microcomputer used to control equipment of an air conditioner.
従来の技術
従来、こうした空調用のマイクロコンピュータ2 ′
・
−(以後マイコンと称す)の残留偏差防止用のリセット
装置は、第2図に示すように、AC電源を低電圧に変換
するトランス19と、このトランス19の2次側から出
力される低電圧を全波整流するダイオードブリッジ20
と、全波整流された電圧を平滑するコンデンサー38と
、マイコンの電源投入時のリセット時間をきめる時定数
用の抵抗器29.コンデンサー37と、電圧レベルをき
めるツェナーダイオード3oと、リセットレベルのON
、OFF をきめるトランジスター34と、出力される
電圧のレベルを反転するトランジスター33を備え、前
記トランジスター33を通して、マイコンのリセットポ
ートに入力されるようにhっている。一方、ダイオード
ブリッジ20の+側より、積分回路を構成している抵抗
器22およびコンデンサー21と、割り込み信号を出力
するトランジスター26が接続され、このトランジスタ
ー26を通してマイコンの割り込みボートに接続される
ようになっている。図中の30はトランジスタ34の入
力側に接続されたツェナーダイオードである。Conventional technology Conventionally, microcomputers 2' for air conditioning
As shown in Figure 2, the reset device for preventing residual deviation in - (hereinafter referred to as microcomputer) includes a transformer 19 that converts AC power into a low voltage, and a low voltage output from the secondary side of this transformer 19. Diode bridge 20 for full wave rectification of voltage
, a capacitor 38 for smoothing the full-wave rectified voltage, and a time constant resistor 29 for determining the reset time when the microcomputer is powered on. Capacitor 37, Zener diode 3o that determines the voltage level, and reset level ON
, a transistor 34 that determines OFF, and a transistor 33 that inverts the level of the output voltage, and is configured to be input to the reset port of the microcomputer through the transistor 33. On the other hand, from the + side of the diode bridge 20, a resistor 22 and a capacitor 21, which constitute an integrating circuit, and a transistor 26 that outputs an interrupt signal are connected, and through this transistor 26, it is connected to the interrupt board of the microcomputer. It has become. 30 in the figure is a Zener diode connected to the input side of the transistor 34.
3 ・\−2
このような構成で、ダイオードブリッジ20の一方を使
用して半波電圧を作り、この半波電圧をトランジスター
26に入力することにより、電源に同期した方形波がマ
イコンの割り込み信号として出力される。つぎにマイコ
ンにリセット信号を送るときは、電源投入時と、電源O
FF 時の二種類あり、電源投入時は抵抗器29とコン
デンサー37の時定数によりトランジスター33がON
になり、Lレベルに固定される。しかし、ある時間にな
るとツェナダイオード3oによりトランジスター34が
ONする。これによりトランジスター33がOFFにな
りHレベルに固定されてリセットが解除される。つぎに
電源OFF になると、ツェナダイオード30に人力さ
れていた電圧が降下し、ツェナー電圧以下になるとトラ
ンジスター34に電流が流れなくなりOFF 状態にな
る。これによりトランジスター33がON状態になりL
レベルに固定され、マイコンはリセット状態となる回路
を構成していた。3 ・\-2 With this configuration, by creating a half-wave voltage using one side of the diode bridge 20 and inputting this half-wave voltage to the transistor 26, a square wave synchronized with the power supply is used as an interrupt signal for the microcomputer. is output as Next, when sending a reset signal to the microcontroller, do so when the power is turned on and when the power is turned off.
There are two types of FF time. When the power is turned on, the transistor 33 is turned on depending on the time constant of the resistor 29 and capacitor 37.
and is fixed at L level. However, at a certain time, the Zener diode 3o turns on the transistor 34. This turns off the transistor 33 and fixes it at H level, releasing the reset. Next, when the power is turned off, the voltage applied to the Zener diode 30 drops, and when it falls below the Zener voltage, no current flows through the transistor 34, turning it off. As a result, the transistor 33 is turned on and L
It was fixed at a certain level, and the microcontroller formed a circuit that was in a reset state.
発明が解決しようとする問題点
このような従来の構成では、電源同期の信号を得るため
に、トランス19およびダイオードブリッジ20等が必
要になり、回路も複雑で部品も多くなる。また電源がO
FF してから、マイコンがリセット状態になる時間
が回路の負荷状態によって異なり、リセット時間が一定
でない。さらに短い時間でマイコンをリセット状態にす
ることはできにくいという問題点があった。Problems to be Solved by the Invention In such a conventional configuration, a transformer 19, a diode bridge 20, etc. are required in order to obtain a power synchronization signal, and the circuit is complicated and the number of components increases. Also, the power is turned on.
The time it takes for the microcomputer to enter the reset state after FF is different depending on the load condition of the circuit, and the reset time is not constant. Furthermore, there was a problem in that it was difficult to reset the microcomputer in a short period of time.
本発明は、上記従来の問題点を解決するもので、電源が
OFF l、てからマイコンがリセット状態になる時
間を短くし、負荷の変動に関係なくリセットにかかる時
間を一定にすることを目的とする。The present invention solves the above conventional problems, and aims to shorten the time required for the microcomputer to enter the reset state after the power is turned off, and to make the time required for resetting constant regardless of load fluctuations. shall be.
問題点を解決するだめの手段
この問題点を解決するために本発明は、AC電源に接続
された2つのホトカプラを備え、この各ホトカプラの二
次側のエミッターをそれぞれ逆流防止用のダイオードを
介してスイッチング用のトランジスターのベースに接続
し、前記スイッチング用のトランジスターのコレクター
をリセット用のトランジスターのベースに接続するとと
もに、5 へ−7
このリセット用トランジスターのコレクター側に電源投
入時のり七ソト時間を決める時定数用抵抗器およびコン
デンサ〜を接続したリセット装置の構成としだものであ
る。Means for Solving the Problem In order to solve this problem, the present invention includes two photocouplers connected to an AC power source, and connects the emitter on the secondary side of each photocoupler through a diode for preventing backflow. Connect the collector of the switching transistor to the base of the reset transistor, and connect the collector side of the reset transistor to the collector side of the reset transistor for 7 hours when the power is turned on. This is the configuration of a reset device connected to a resistor for a determined time constant and a capacitor.
作 用
このような構成により、電源がON状態には二つのホト
カプラに電流が流れ、常にスイッチング用トランジスタ
ーがON状態となり、マイコンのリセットポートにはH
レベルの信号が出力され通常状態となり、つぎに電源が
OFF状態になると、二つのホトカプラに電流が流れな
くなり、スイッチング用のトランジスターはOFF 状
態になり、マイコンのリセットボートにはLレベルの信
号が出力されリセット状態となる動作を行うこととなる
。Effect With this configuration, when the power is on, current flows through the two photocouplers, the switching transistor is always on, and the reset port of the microcontroller is connected to H.
A level signal is output and the normal state is established. Then, when the power is turned off, current no longer flows to the two photocouplers, the switching transistors are turned off, and an L level signal is output to the reset port of the microcomputer. This will result in an operation that will result in a reset state.
実施例
以下に本発明の一実施例のマイコンのリセット装置を第
1図にもとづき説明する。第1図に示すように、AC電
源には2つのホトカプラ2,3が電流制限用の抵抗器1
を介して接続されており、6 パ−・
このホトカプラー2,3はAC電源の半サイクルの電流
を検出するようになっている。前記ホトカプラ2,3の
各二次側のコレクター側には、それぞれ直流電源の+側
が接続され、エミッター側には、負荷としての抵抗器4
,5がそれぞれ接続され、この抵抗器4,5を通して直
流電源のGNDにそれぞれ接続されている。また前記抵
抗器4がらマイコンの割り込み信号用の割り込みポート
6aが導出されている。前記ホトカプラー2,3のエミ
ッターはそれぞれ逆流防止のダイオード6.7を介して
、電流制限用の抵抗器8に接続され、この抵抗器8を通
してスイッチング用トランジスター10のベースに接続
されている。このトランジスター1oのコレクター側に
はリセット用のトランジスター14の電流制限用抵抗器
11が接続され、時定数をきめる抵抗器13.コンデン
サ12がリセット用トランジスター14のベースに接続
されている。このリセット用のトランジスター14のコ
レクター側には、負荷としての抵抗器15と、放電用の
ダイオード16と、電源投入時のりセッ7−・
ト時間をきめる抵抗器17.コンデンサー18が接続さ
れ、時定数をきめる抵抗器1了を通して、マイコンのリ
セットポートに接続されるようになっている。Embodiment A microcomputer reset device according to an embodiment of the present invention will be described below with reference to FIG. As shown in Figure 1, the AC power supply has two photocouplers 2 and 3 connected to a current limiting resistor 1.
These photocouplers 2 and 3 are designed to detect half-cycle current of the AC power supply. The + side of a DC power supply is connected to the collector side of each secondary side of the photocouplers 2 and 3, and the resistor 4 as a load is connected to the emitter side.
, 5 are connected to each other, and are connected to the GND of the DC power supply through the resistors 4 and 5, respectively. Further, an interrupt port 6a for an interrupt signal of the microcomputer is led out from the resistor 4. The emitters of the photocouplers 2 and 3 are each connected to a current limiting resistor 8 via a backflow prevention diode 6.7, and through this resistor 8 to the base of a switching transistor 10. A current limiting resistor 11 of a reset transistor 14 is connected to the collector side of this transistor 1o, and a resistor 13. A capacitor 12 is connected to the base of the reset transistor 14. On the collector side of this reset transistor 14, there are a resistor 15 as a load, a diode 16 for discharging, and a resistor 17 for determining the reset time when the power is turned on. A capacitor 18 is connected to the reset port of the microcomputer through a resistor 1 that determines the time constant.
上記構成において、AC電源が投入されると、各サイク
ルごとにホトカプラ2,3に電流が流れ、二次側のトラ
ンジスター10が半周期ごとON。In the above configuration, when the AC power is turned on, current flows through the photocouplers 2 and 3 every cycle, and the secondary side transistor 10 is turned on every half cycle.
OFF を繰り返す。これによりマイコンの割り込み
信号用に電源と同期した信号が出力される。また、逆流
防止のダイオード6.7は、半サイクルONのとき、一
方はOFF 状態にガるので、互いの負荷抵抗器4,
5に電流が流れないように防止している。つぎにスイッ
チング用のトランジスター10はホトカプラ2,3の一
方がONしているときはこのONによってリセット用の
トランジスター14をドライブし、ON状態になる。つ
ぎにホトカプラ2,3が両方ともOFF しても、ス
イッチング用のトランジスター10はOFF 状態に々
るが、リセット用のトランジスター14は、抵抗器13
とコンデンサ−12による時定数によりOFF 状態に
ならない。これによりマイコンのリセットポートはHレ
ベルに固定され、通常状態になっている。Repeat OFF. This outputs a signal synchronized with the power supply for the microcomputer's interrupt signal. In addition, when the backflow prevention diodes 6 and 7 are ON for half a cycle, one of them is in the OFF state, so the load resistors 4 and 7 of each other are in the OFF state.
This prevents current from flowing through 5. Next, when one of the photocouplers 2 and 3 is turned on, the switching transistor 10 drives the reset transistor 14 to be turned on. Next, even if both photocouplers 2 and 3 are turned OFF, the switching transistor 10 remains OFF, but the reset transistor 14 is turned off by the resistor 13.
The OFF state does not occur due to the time constant caused by the capacitor 12 and the capacitor 12. As a result, the reset port of the microcomputer is fixed at the H level and is in a normal state.
つぎにAC電源がOFF されると、ホトカプラ2.
3に電流が流れなくなり、スイッチング用のトランジス
ター10がOFF 状態となる。これによりリセット
用のトランジスター14もOFF 状態となり、マイコ
ンのリセットポートもLレベルとなりリセット状態にな
る。Next, when the AC power is turned off, the photocoupler 2.
No current flows through the transistor 3, and the switching transistor 10 is turned off. As a result, the reset transistor 14 is also turned off, and the reset port of the microcomputer is also brought to the L level, resulting in a reset state.
発明の効果
以上の実施例の説明より明らかなように、本発明によれ
ばAC電源回路に二つのホトカプラを接続し、一方のホ
トカプラは電源同期の信号およびリセット信号とし、他
方のホトカプラはリセット信号専用とすることにより、
負荷変動に関係なく、電源OFF からマイコンがリセ
ット状態になる時間が一定になり、寸だ、短い時間の電
源OFFに対してもリセット状態にすることができ、回
路も簡単な構成に々す、コストも安価となるという効果
が得られるものである。Effects of the Invention As is clear from the above description of the embodiments, according to the present invention, two photocouplers are connected to an AC power supply circuit, one photocoupler is used as a power supply synchronization signal and a reset signal, and the other photocoupler is used as a reset signal. By making it exclusive,
Regardless of load fluctuations, the time it takes for the microcomputer to enter the reset state after the power is turned off is constant, and it can be brought into the reset state even when the power is turned off for a short period of time, and the circuit has a simple configuration. This also has the effect of reducing costs.
91・−791・-7
第1図は本発明の一実施例のマイコンのリセット装置の
電気回路図、第2図は従来のマイコンのリセット装置の
電気回路図である。
2.3・・・・・・ホトカプラ、10.14・・・・・
トランジスター、18・・・・・・電解コンデンサー、
16・・・−・放電用のダイオード、17・・・・・抵
抗器。FIG. 1 is an electrical circuit diagram of a microcomputer reset device according to an embodiment of the present invention, and FIG. 2 is an electrical circuit diagram of a conventional microcomputer reset device. 2.3...Hotocoupler, 10.14...
Transistor, 18... Electrolytic capacitor,
16...--Discharge diode, 17...Resistor.
Claims (1)
ホトカプラのエミッターをそれぞれ逆流防止用のダイオ
ードを介してスイッチング用のトランジスターのベース
に接続し、前記トランジスターのコレクターをリセット
用のトランジスターのベースに接続するとともに、この
リセット用トランジスターのコレクター側に電源投入時
のリセット時間を決める時定数用抵抗器およびコンデン
サーを接続してなるリセット装置。It has two photocouplers connected to an AC power source, the emitter of each photocoupler is connected to the base of a switching transistor via a reverse current prevention diode, and the collector of the transistor is connected to the base of a reset transistor. At the same time, the reset device consists of a time constant resistor and a capacitor connected to the collector side of this reset transistor to determine the reset time when the power is turned on.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1771887A JPS63185218A (en) | 1987-01-28 | 1987-01-28 | Resetting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1771887A JPS63185218A (en) | 1987-01-28 | 1987-01-28 | Resetting device |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS63185218A true JPS63185218A (en) | 1988-07-30 |
Family
ID=11951530
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1771887A Pending JPS63185218A (en) | 1987-01-28 | 1987-01-28 | Resetting device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS63185218A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021147994A1 (en) * | 2020-01-23 | 2021-07-29 | 华为技术有限公司 | Reset circuit and related electronic device |
-
1987
- 1987-01-28 JP JP1771887A patent/JPS63185218A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021147994A1 (en) * | 2020-01-23 | 2021-07-29 | 华为技术有限公司 | Reset circuit and related electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS63185218A (en) | Resetting device | |
JP2010268587A (en) | Connection determination device of three-phase power supply | |
CN210724573U (en) | Take relay fault detection's converter circuit and converter | |
CN220933064U (en) | Fault detection circuit and smoke exhaust ventilator | |
CN217981776U (en) | Power-on and input state detection circuit structure and electrical equipment | |
JPH09318680A (en) | Power supply cut detecting circuit | |
JPS6310536Y2 (en) | ||
JPH08114637A (en) | Three-phase ac power supply open-phase detection apparatus | |
JPS62121369A (en) | Abnormality detecting circuit for ac power source | |
JP2507757Y2 (en) | Double voltage rectification automatic switching circuit | |
JPS5926414Y2 (en) | power reset circuit | |
JPH04322136A (en) | Power supply | |
JPH04132520U (en) | Terminal power outage detection device | |
JPS56168238A (en) | Fault detecting circuit of solid state ac output circuit | |
JPH054014Y2 (en) | ||
JPS6141330U (en) | Distribution line connection equipment | |
JPH10243654A (en) | Capacitor drop type power circuit | |
JPH0635674Y2 (en) | Inverter electrolysis column device | |
JPS6044439U (en) | Power outage detection circuit | |
JPH01123428U (en) | ||
JPS6151223A (en) | Reset circuit | |
JPS59168350A (en) | Water leakage detector | |
JPS63299079A (en) | Control device for cooking utensil | |
JPS60204223A (en) | Power source circuit device | |
JP2003287263A (en) | Power source frequency determining device for air- conditioner |