JPS62238939A - Control circuit of air conditioner - Google Patents

Control circuit of air conditioner

Info

Publication number
JPS62238939A
JPS62238939A JP61082055A JP8205586A JPS62238939A JP S62238939 A JPS62238939 A JP S62238939A JP 61082055 A JP61082055 A JP 61082055A JP 8205586 A JP8205586 A JP 8205586A JP S62238939 A JPS62238939 A JP S62238939A
Authority
JP
Japan
Prior art keywords
power
voltage
time
capacitor
terminal
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
JP61082055A
Other languages
Japanese (ja)
Other versions
JPH0621703B2 (en
Inventor
Yoshiki Hayata
祥樹 早田
Motoshi Miyanaka
宮中 元士
Takaharu Sato
敬治 佐藤
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP61082055A priority Critical patent/JPH0621703B2/en
Publication of JPS62238939A publication Critical patent/JPS62238939A/en
Publication of JPH0621703B2 publication Critical patent/JPH0621703B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

PURPOSE:To make it possible to discriminate an instaneous power supply voltage drop from a power interruption or power supply OFF operation by providing a timer circuit comprising a comparator, resistors and a capacitor in a control circuit. CONSTITUTION:In a case where a power supply voltage is ON after OFF, the discharge of a capacitor 9 becomes small. When a voltage at a terminal 27 is larger than a voltage at a terminal 26 obtained by dividing a Vcc by resistors 8 and 8, the output from a comparator 5 remains to be 'L', and an input terminal 25 of a microcomputer 3 is still 'L'. In a case where a power supply OFf time is sufficiently long, and the power supply is turned ON after the voltage at the terminal 27 becomes smaller than the voltage at the terminal 26, the output of the comparator 5 becomes 'H'. By judging this output of the comparator 5, it becomes possible to clearly discriminate the power interruption for a short period of time from the power interruption for a long period of time or the manual power supply OFF.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、押ボタン式スイッチを操作部に持つマイコン
制御空気調和機に係り、t¥jに電源OFF後の再通電
時の動作の安定性及び操作性に好適な空気調和機の制御
装置に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a microcomputer-controlled air conditioner having a push-button switch in the operation section, and is concerned with stabilizing the operation when the power is re-energized after the power is turned off. The present invention relates to a control device for an air conditioner that is suitable for ease of use and operability.

〔従来の技術〕[Conventional technology]

従来の装置は、昭和56年5月発行の日立バルエアコン
の丈−ビスフ゛ツクVc1己載されているように、瞬時
電圧低下や停電による電源0FhVCよシマイコン又は
LSIがリセット信号を読み込んだ時はすべてリセット
するようにしておシ、電源OFFから再通’IIまでの
時間を区別するようなことはなかった。
Conventional devices are all reset when the power supply is 0FhVC due to an instantaneous voltage drop or power outage, or when the microcontroller or LSI reads the reset signal, as shown in the Hitachi Bal Air Conditioner's Vc1 Book published in May 1981. However, there was no distinction between the time from power OFF to reconnection 'II.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

本発明は上記に鑑みて発明されたもので、コンパレータ
、抵抗、コンデンサの簡単なタイマ回路を設けることに
より、瞬時電源電圧低下と停電あるいは電源OFF’操
作とを区別することが出き、それぞれの場合に応じた制
御が可能となるマイコン制御装置の電源OFF時間判別
装置を提供することを目的とする。
The present invention was invented in view of the above, and by providing a simple timer circuit consisting of a comparator, a resistor, and a capacitor, it is possible to distinguish between an instantaneous power supply voltage drop, a power outage, or a power OFF operation. It is an object of the present invention to provide a power OFF time determination device for a microcomputer control device that enables control depending on the situation.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

上記目的を達成するため本発明は、電源から抵抗を通し
てコンデンサに充電するCRタイマにコンパレータの反
転入力端子を抵抗とコンデンサの接点に接続し、コンパ
レータの非反転端子には電源電圧を抵抗分割して得られ
る基準電圧を入力し、コンパレータの出力端子はマイコ
ンの入力端子に接続する。電源投入時には、抵抗を通し
てコンデンサに充電され、基準電圧に達するまではコン
パレータの出力は「H」となる。−担、コンデンサに充
電された後は、電源低下によりコンデンサに蓄えられた
電荷が放電して基準電圧以下になるまでコンパレータは
rLJとなる。これをマイコン起動時にまず、マイコン
内のRAMのデータが破壊されていないことを確認し、
破壊されている′場合は、RAMをイニシャライズする
。RAMのデータが正常な場合は前述コンパレータの出
力電圧を入力することによシ、一定時間以下の電源OF
F’の場合は入力「L」のままとなシ、一定時間以上の
場合はコンデンサに充電されるまでの時間入力「H」と
なる。この入力電圧により電源OドF時間を区別するこ
とができる特徴を有する。
In order to achieve the above object, the present invention connects the inverting input terminal of the comparator to the contact point between the resistor and the capacitor in a CR timer that charges the capacitor from the power supply through the resistor, and divides the power supply voltage into the non-inverting terminal of the comparator by resistor. The obtained reference voltage is input, and the output terminal of the comparator is connected to the input terminal of the microcomputer. When the power is turned on, the capacitor is charged through the resistor, and the output of the comparator becomes "H" until the reference voltage is reached. - After the capacitor is charged, the comparator becomes rLJ until the charge stored in the capacitor is discharged due to a power drop and the voltage drops below the reference voltage. When starting the microcontroller, first check that the data in the RAM in the microcontroller is not destroyed.
If it is destroyed, initialize the RAM. If the data in the RAM is normal, by inputting the output voltage of the comparator mentioned above, the power supply can be turned off for a certain period of time or less.
In the case of F', the input remains "L", and if it is longer than a certain time, the input becomes "H" until the capacitor is charged. This input voltage has the characteristic that the power supply ON/OFF time can be distinguished.

〔作用〕[Effect]

制御装置の電源が投入された場合や停電後再通電された
際のマイコン起動時にマイコン内のRAMの内容が破壊
されているかを判断する。RAM−の内容が破壊されて
いる場合f′iRAMの内容をイニシャライズする。R
AMの内容が破壊されていなければ、前述のコンパレー
タ、抵抗、コンデンサからなる電源OFF時間判別回路
からの出力を入力する。電源のOFFが一定時間以下で
あれば前述の如く出力はl’−LJのままであるので、
電源OFF時間は一定時間以下であると判断し、電源O
FF以前の状態で運転を再開させることができる。電源
7)OFF’が一定時間以上である場合は、前述の如く
出力が一定時間以下Jとなるので電源Of”F時間は一
定時間以上であると判断し、RAM内のデータはそのま
ま保持し、運転停止した状態で待期させることができる
It is determined whether the contents of the RAM in the microcomputer are destroyed when the microcomputer is activated when the control device is powered on or when the power is re-energized after a power outage. If the contents of RAM- have been destroyed, initialize the contents of f'iRAM. R
If the contents of the AM are not destroyed, the output from the power OFF time determination circuit consisting of the above-mentioned comparator, resistor, and capacitor is input. If the power is off for a certain period of time or less, the output will remain l'-LJ as described above, so
It is judged that the power OFF time is less than a certain time, and the power is turned ON.
Operation can be resumed in the state before FF. 7) If the power OFF' is longer than a certain time, the output will be J for less than a certain time as described above, so it is determined that the power OFF'F time is longer than a certain time, and the data in the RAM is held as is. It can be put on standby even when the machine is stopped.

〔実施例〕〔Example〕

以下、本発明の一実施例を第1図により説明する。マイ
クロコンピュータ31:l’ダイオード1を通して電源
電圧Vccが端子24へ、スイッチ12及び13からの
信号が端子28.29へ、マイコン電源Vccが低下し
た時11(IJ上セツトかける低電圧リセット信号23
がスタンバイ端子30へ、電源OFF時間判別回路22
が端子25へそれぞれ入力されている。またスタンバイ
端子30Vcは、ダイオード20を介してリセヴト端子
33が接続されている。スタンバイ端子30の入力が「
L」の場合には、マイクロコンビエータの動作を停止さ
せ、内蔵RAMだけに電源を供給する省電流モードに入
る。この場合電源電圧が一定レベル以上ならばマイクロ
コンピュータ内@RAMのデータを保持できるようにな
っている。リセット端子33がrLJの場合はマイコン
ICリセットかけるようになっている。リセヴト端子3
3に接続されたコンデンサ21は、マイコン電源投入時
にマイコン内部の回路が安定するまでリセット端子を「
L」にしてリセット信号にしておくための遅延用コンデ
ンサである。リセット端子、スタンバイ端子とも通常時
Hl’−HJとしておく。
An embodiment of the present invention will be described below with reference to FIG. Microcomputer 31: l'Power supply voltage Vcc is sent to terminal 24 through diode 1, signals from switches 12 and 13 are sent to terminals 28 and 29, and when microcomputer power supply Vcc drops, low voltage reset signal 23 is applied to set 11 (IJ).
to the standby terminal 30, the power OFF time determination circuit 22
are respectively input to the terminal 25. Further, the standby terminal 30Vc is connected to the reset terminal 33 via the diode 20. The input of standby terminal 30 is “
In the case of "L", the operation of the micro combinator is stopped and a current saving mode is entered in which power is supplied only to the built-in RAM. In this case, if the power supply voltage is above a certain level, the data in the RAM inside the microcomputer can be held. When the reset terminal 33 is rLJ, the microcomputer IC is reset. reset terminal 3
The capacitor 21 connected to 3 is used to hold the reset terminal until the microcomputer's internal circuit stabilizes when the microcomputer is powered on.
This is a delay capacitor to set the signal to "L" and use it as a reset signal. Both the reset terminal and standby terminal are normally set to Hl'-HJ.

前述の構成を持つ回路の電源電圧VccがOFFした場
合、電源VCCが低下してもコンデンサ2には電荷が充
電されているためVccよシミ圧の低下がおくれる。ま
た低電圧リセット回路23Vcよシ、電源電圧からダイ
オード16の順方向電圧を減じた値(コンパレータ15
の非反転入力端子電圧)が、コンパレータ15の反転入
力端子電圧(vCC)がツ、ナーダイオードのツェナー
電圧より本大きい場合はツ、ナー電圧、vCCがツェナ
ーダイオードのツ、ナー電圧よシ小さい場合はVccと
等しい電圧)よシ小さくなるとコンパレータ15の出力
けrLJとなり、スタンバイ端子30及びリセット端子
33’krLJとし、マイクロコンピュータをスタンバ
イモードにする。電源がOF’Fした場合、電源OFF
時間判別回路22のコンパレータ5の反転入力端子電圧
27は、コンデンサ9に充電された電荷が抵抗7全通し
て放電する。
When the power supply voltage Vcc of the circuit having the above-mentioned configuration is turned off, even if the power supply VCC decreases, the capacitor 2 is charged with electric charge, so that the drop in the stain pressure is delayed by Vcc. In addition, the low voltage reset circuit 23Vc uses a value obtained by subtracting the forward voltage of the diode 16 from the power supply voltage (the comparator 15
If the non-inverting input terminal voltage (vCC) of the comparator 15 is larger than the Zener voltage of the Zener diode, then the voltage is larger than the Zener voltage of the Zener diode, and if vCC is smaller than the Zener voltage of the Zener diode, When the voltage becomes much smaller (equal voltage to Vcc), the output of the comparator 15 becomes rLJ, which becomes the standby terminal 30 and the reset terminal 33'krLJ, putting the microcomputer in standby mode. If the power is OFF, turn off the power
The inverting input terminal voltage 27 of the comparator 5 of the time discrimination circuit 22 is caused by the charge stored in the capacitor 9 passing through the entire resistor 7 and discharging.

端子27の電圧は、一般によく知られている■=Vo 
e−?:f<で与えられる。ここで■は端子電圧、■。
The voltage at terminal 27 is generally well-known ■=Vo
e-? : given by f<. Here ■ is the terminal voltage, ■.

は放電前の端子電圧、tは放電開始からの時間、CUコ
ンデンサ9の容量、Rけ抵抗7の抵抗値である。
is the terminal voltage before discharge, t is the time from the start of discharge, the capacitance of the CU capacitor 9, and the resistance value of the R resistor 7.

電源電圧がOFF後ONした場合、oFpl、た時間が
短く、コンデンサ9の放電が小なく、端子27の電圧が
、vCCを抵抗6及び8で分割して得られる端子26の
電圧より大きい場合はコンパレータ5の出力HrT、J
のま−まとなる為、マイコン入力端子25ば「L」のま
まである。また、電源OFF時間が充分長く、コンデン
サ9の放電によう、端子27の電圧が端子26の電圧よ
り小さくなった後に電源ONI、た場合は、コンパレー
タ5の出力はrHJとなる。電源投入後コンデンサ9に
は抵抗7を通して充電されるため端子27の電圧が端子
26の電圧より大きくなり、出力は再び「L」となる。
When the power supply voltage is turned on after being turned off, oFpl is short, the discharge of the capacitor 9 is not small, and the voltage at the terminal 27 is greater than the voltage at the terminal 26 obtained by dividing vCC by the resistors 6 and 8. Output of comparator 5 HrT, J
In order to remain silent, the microcomputer input terminal 25 remains at "L". Further, if the power is turned on after the power is turned off for a sufficiently long time and the voltage at the terminal 27 becomes lower than the voltage at the terminal 26 due to discharge of the capacitor 9, the output of the comparator 5 becomes rHJ. After the power is turned on, the capacitor 9 is charged through the resistor 7, so the voltage at the terminal 27 becomes higher than the voltage at the terminal 26, and the output becomes "L" again.

前述の動作波形を第2図及び第3図に示す。前述の如く
、電源OFF時間が長い場合には、電源ON後後−的に
コンパレータ出力がrHJとなる。電源OF F’待時
間短い場合にはコンパレータ5の出力は「L」のままと
なる。
The aforementioned operating waveforms are shown in FIGS. 2 and 3. As described above, when the power is off for a long time, the comparator output becomes rHJ after the power is turned on. If the power OFF F' waiting time is short, the output of the comparator 5 remains "L".

上記の回路を利用し、マイコンリセット解除後マイコン
では、第4図に示すように、まず内蔵RAMが破壊され
ているかどうか判断し、RAM内容が破壊されていれば
RAMを初期化する。RAM内容が破壊されていなけれ
ば、前述のコンパレータ5からの入力を判断し、入力r
HJの場合は、非常に短い時間の電源OFFと判断し、
電源OF′F前の状態で運転を再開させる。また、コン
パレータからの入力がrLJのままである場合は、電源
OFF’時間が艮いと判断し、RAMの内容はi源Ot
i” &”前の状態を保持し、運転停止の状態で待期さ
せる。
Using the above circuit, after the microcomputer reset is released, the microcomputer first determines whether the built-in RAM is destroyed, as shown in FIG. 4, and if the contents of the RAM are destroyed, the RAM is initialized. If the RAM contents are not destroyed, the input from the above-mentioned comparator 5 is judged, and the input r
In the case of HJ, it is determined that the power is off for a very short time,
The operation is restarted in the state before the power was turned off. Also, if the input from the comparator remains at rLJ, it is determined that the power OFF' time is not reached, and the contents of the RAM are
i"&" Maintain the previous state and wait in the stopped state.

本実施例によれば、短時間の停電を長時間の停’I、f
手動による電源OFF’とを明確に区別することが可能
となる。また、ある程度長い停電でも、RAMの内容金
持時できるので、電源OFL’後の再投入時に温度、運
転モード等の再設定が不要となる効果がある。
According to this embodiment, a short power outage can be replaced with a long power outage 'I,f'.
It becomes possible to clearly distinguish between manual power OFF'. Furthermore, even if the power outage is for a long period of time, the contents of the RAM can be maintained, so there is an advantage that it is not necessary to reset the temperature, operation mode, etc. when the power is turned on again after the power is turned off.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、非常に簡単な回路で停電時間の長短が
判別でき、停電時間に対応した制御方法を取ることがで
き操作性の上で大きな効果がある
According to the present invention, it is possible to determine the length of the power outage time with a very simple circuit, and a control method corresponding to the power outage time can be adopted, which has a great effect on operability.

【図面の簡単な説明】[Brief explanation of drawings]

第1図は本発明の一実施例の回路図、第2図及び第3図
は電源OFF時間判別回路の波形図、第4図はマイコン
起動待プログラムのフローチャートである。 3…マイコン  5・壷・コンパレータ6.7.8・・
・抵抗  9・・・コンデンサ22・・・電源OFF時
間判別回路  12.13・・・入力スイッチ  23
・・・低電圧リセット回路。 埠2頗 茅予m 審+11!!
FIG. 1 is a circuit diagram of an embodiment of the present invention, FIGS. 2 and 3 are waveform diagrams of a power OFF time determination circuit, and FIG. 4 is a flowchart of a microcomputer startup wait program. 3...Microcomputer 5.Pot/Comparator 6.7.8...
・Resistance 9...Capacitor 22...Power OFF time determination circuit 12.13...Input switch 23
...Low voltage reset circuit.堠2蠗 Kayayo m umpire +11! !

Claims (1)

【特許請求の範囲】[Claims] 運転開始及び停止、運転温度設定、室内送風機風量の設
定、運転モードの設定等の操作を行う際、操作中のみ接
点を閉じ、非操作時には接点を開く構造のスイッチを使
用した操作装置を備え、マイクロコンピュータにて制御
を行う空気調和機において、コンパレータの非反転入力
端子には電源電圧を抵抗分割して得た基準電圧を入力し
、反転入力端子には、電源側へ抵抗、グランド側へコン
デンサをそれぞれ接続し、出力端子をマイクロコンピュ
ータの入力端子へ接続する回路と、電源投入時には、上
記コンデンサに電荷が充電され基準電圧以上となるまで
出力を「H」にし、一担電荷がコンデンサに充電された
後には上記コンデンサからの放電が基準電圧以下となら
ないような短時間の停電後の再通電時には出力が「L」
のままであるような電源OFF時間の判別回路を有し、
停電後の再通電あるいは電源投入によるマイクロコンピ
ュータ起動時に、マイクロコンピュータ内部のRAMの
データが正常か否かをソフトウェアで判断し、RAMの
データが破壊されている場合にはRAMのデータの初期
化を行い、RAMのデータが正常ならば前述の電源OF
F時間判別回路からの信号から一定時間以下の電源OF
F後の再通電か否かを判断し、一定時間以下の電源OF
Fの場合には、電源OFF前の状態で運転を継続させ、
電源OFF時間が一定時間以上の場合には、電源OFF
前の設定データは保持したまま運転停止の状態で待期さ
せることを特徴とする空気調和機の制御装置。
When performing operations such as starting and stopping operation, setting operating temperature, setting indoor fan air volume, and setting operation mode, it is equipped with an operating device that uses a switch that closes the contact only during operation and opens the contact when not in operation. In an air conditioner controlled by a microcomputer, the reference voltage obtained by dividing the power supply voltage with resistance is input to the non-inverting input terminal of the comparator, and the inverting input terminal is connected to a resistor on the power supply side and a capacitor on the ground side. and a circuit that connects the output terminal to the input terminal of the microcomputer, and when the power is turned on, the output is set to "H" until the above capacitor is charged and the voltage exceeds the reference voltage, and the single charge charges the capacitor. After that, the output becomes "L" when the power is re-energized after a short power outage in which the discharge from the capacitor does not fall below the reference voltage.
It has a circuit that determines the power OFF time so that the
When the microcomputer is restarted after a power outage or when the power is turned on, the software determines whether the data in the RAM inside the microcomputer is normal or not, and if the data in the RAM is corrupted, it initializes the data in the RAM. If the RAM data is normal, turn off the power as described above.
Power off for less than a certain time from the signal from the F time discrimination circuit
Determine whether or not to reenergize after F, and turn off the power for a certain period of time or less.
In case of F, continue operation in the state before the power was turned off,
If the power off time is longer than a certain time, the power will be turned off.
A control device for an air conditioner characterized in that the previous setting data is held and the operation is stopped and the device is put on standby.
JP61082055A 1986-04-11 1986-04-11 Air conditioner control circuit Expired - Fee Related JPH0621703B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61082055A JPH0621703B2 (en) 1986-04-11 1986-04-11 Air conditioner control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61082055A JPH0621703B2 (en) 1986-04-11 1986-04-11 Air conditioner control circuit

Publications (2)

Publication Number Publication Date
JPS62238939A true JPS62238939A (en) 1987-10-19
JPH0621703B2 JPH0621703B2 (en) 1994-03-23

Family

ID=13763828

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61082055A Expired - Fee Related JPH0621703B2 (en) 1986-04-11 1986-04-11 Air conditioner control circuit

Country Status (1)

Country Link
JP (1) JPH0621703B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6122697A (en) * 1984-05-15 1986-01-31 シャープ株式会社 Controller for electric device
JPS62129636A (en) * 1985-11-29 1987-06-11 Mitsubishi Electric Corp Control device for air conditioner

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6122697A (en) * 1984-05-15 1986-01-31 シャープ株式会社 Controller for electric device
JPS62129636A (en) * 1985-11-29 1987-06-11 Mitsubishi Electric Corp Control device for air conditioner

Also Published As

Publication number Publication date
JPH0621703B2 (en) 1994-03-23

Similar Documents

Publication Publication Date Title
JP2628642B2 (en) Automatic voltage switching power supply
JPH0630529A (en) Charging control apparatus of storage battery
JPH01198235A (en) Current supply circuit arrangement
JPS62188420A (en) Ac contactless switch
JPH01174268A (en) Detector for instantaneous disconnection of dc power supply
JPS62238939A (en) Control circuit of air conditioner
JP2841533B2 (en) Power supply circuit
JPS60156225A (en) Power source circuit
JPH05333973A (en) Power unit for portable computer
KR920006045B1 (en) Starting delay method for compressor after instantaneous power failure
JPS60183945A (en) Backup circuit
RU2259581C1 (en) Voltage transformer with overload protection
JPH0219856Y2 (en)
JPH0219311B2 (en)
JPS6346339A (en) Power source circuit of air conditioner
JPH0326686Y2 (en)
JPH0740289Y2 (en) Off-delay timer
JPH0342496Y2 (en)
JPS6352725B2 (en)
JPH0727840Y2 (en) Overcurrent detection device
JPS5842971B2 (en) Proximity switch
JPH0426902Y2 (en)
KR900004840Y1 (en) Driving circuit of automatic vending machine
KR900009460Y1 (en) Power failure detection interrupting circuit for micro-processor
JPS6139823A (en) Rush current preventing circuit

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees