JPH05181571A - Microcomputer control device - Google Patents

Microcomputer control device

Info

Publication number
JPH05181571A
JPH05181571A JP3325582A JP32558291A JPH05181571A JP H05181571 A JPH05181571 A JP H05181571A JP 3325582 A JP3325582 A JP 3325582A JP 32558291 A JP32558291 A JP 32558291A JP H05181571 A JPH05181571 A JP H05181571A
Authority
JP
Japan
Prior art keywords
control unit
power supply
voltage
air conditioning
unit
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
Application number
JP3325582A
Other languages
Japanese (ja)
Inventor
Tadaaki Koketsu
忠明 纐纈
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to US07/965,744 priority Critical patent/US5236477A/en
Priority to KR1019920020750A priority patent/KR960002973B1/en
Publication of JPH05181571A publication Critical patent/JPH05181571A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B01PHYSICAL OR CHEMICAL PROCESSES OR APPARATUS IN GENERAL
    • B01DSEPARATION
    • B01D46/00Filters or filtering processes specially modified for separating dispersed particles from gases or vapours
    • B01D46/42Auxiliary equipment or operation thereof
    • B01D46/44Auxiliary equipment or operation thereof controlling filtration
    • B01D46/46Auxiliary equipment or operation thereof controlling filtration automatic
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/39Monitoring filter performance

Abstract

PURPOSE:To evade such defects as the reduction of the lifetime of a nonvolatile memory, the use of an expensive nonvolatile memory, etc., by reducing the frequency to write the data into the nonvolatile memory in regard of a microcomputer control device which uses the nonvolatile memory to preserve the data against the interruption of the supply of power. CONSTITUTION:A control unit 4 contains a microcomputer and is connected to a DC power supply part 3. A voltage drop detecting means 5 is electrically provided between the unit 4 and the part 3 and detects that the output voltage of the part 3 is set at a fixed level to output a signal SIG1 to the unit 4. Then a nonvolatile memory 7 is connected to the unit 4 and can read and write the data. In such a constitution, the data are written into the memory 7 when the signal SIG1 is outputted from the means 5 due to a power failure, etc., and then detected by the unit 4.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、マイコン制御機器に関
し、特にマイコン制御機器内のデータ保護の改良に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer control device, and more particularly to improvement of data protection in the microcomputer control device.

【0002】[0002]

【従来の技術】従来、マイクロコンピュータを有するい
わゆるマイコン制御機器にあっては、停電や不意の電源
遮断が生じても内部の例えば積算時間等のデータが消失
しないようにするためには一定時間毎に不揮発性メモリ
にデータを書き込むか、或いは制御機器自体の停止操作
が行われる都度不揮発性メモリにデータを書き込む等の
データ保護の手段が取られていた。
2. Description of the Related Art Conventionally, in a so-called microcomputer control device having a microcomputer, in order to prevent the internal data such as an accumulated time from being lost even if a power failure or an unexpected power cutoff occurs, a fixed time interval is set. In addition, data protection means such as writing data in the non-volatile memory or writing data in the non-volatile memory each time the control device itself is stopped is taken.

【0003】また、マイクロコンピュータにより運転状
態が制御可能な機器のうちで、空気清浄器などの空気調
和機器において、取替え可能な空気フィルタの交換時期
を検知する方法として、例えば、使用者がその空気フィ
ルタの変色度合いを基準の色ラベルと比較し、同程度の
色になったことをもってその空気フィルタの寿命を検知
するチェック方法がある。しかし、これでは、使用者が
随時チェックをする必要があって面倒であると共に、微
妙な色の差をもって判断するので使用者にとって適切な
寿命判断が困難となる不具合があった。
Further, among the devices whose operating states can be controlled by a microcomputer, as a method for detecting the replacement time of a replaceable air filter in an air conditioner such as an air purifier, for example, a user There is a check method in which the degree of color change of a filter is compared with a reference color label and the life of the air filter is detected when the color is about the same. However, this is troublesome because the user needs to check it at any time, and there is a problem that it is difficult for the user to properly determine the life because the determination is made based on the subtle color difference.

【0004】そこで、従来では、空気調和機器の空調運
転積算時間をカウントし、その空調運転積算時間が所定
時間に達したことをもって空気フィルタの交換時期を自
動的に判断する構成のものが考えられていた。この場合
に、運転中に停電や不意の電源遮断が生じた場合に、空
調運転積算時間のデータが消失しないようにするため
に、一定時間毎に不揮発性メモリに空調運転積算時間の
データを書き込むか、或いは、装置の停止操作が行われ
る都度不揮発性メモリに書き込む等の手段が取られてい
た。
Therefore, conventionally, a configuration is considered in which the air-conditioning operation integrated time of the air conditioner is counted, and when the air-conditioning operation integrated time reaches a predetermined time, the air filter replacement time is automatically determined. Was there. In this case, in order to prevent the data of accumulated air conditioning operation time from being lost in the event of a power outage or unexpected power interruption during operation, write the data of accumulated air conditioning operation time to the non-volatile memory at regular intervals. Alternatively, a means such as writing to the non-volatile memory each time the device is stopped is taken.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、停電や
不意の電源遮断などによって引き起こされるデータの消
失は、頻繁に起こるものではないのにもかかわらず、従
来のマイコン制御機器のデータ保護の手段を採用する
と、頻繁に不揮発性メモリにデータの書き込みが行われ
るので、不揮発性メモリの寿命を極端に短くしたり、寿
命を長く持たせるためには高価な不揮発性メモリを使用
しなければならないといった課題が生じていた。
However, although the loss of data caused by a power outage or an unexpected power cutoff does not occur frequently, the conventional means for data protection of the microcomputer control device is adopted. Then, since data is frequently written to the nonvolatile memory, there is a problem that the lifetime of the nonvolatile memory is extremely shortened or an expensive nonvolatile memory must be used to extend the lifetime. It was happening.

【0006】また、空気調和機器においても、上述と全
く同様の状況により不揮発性メモリの寿命が極端に短く
なったり、寿命を長く持たせるためには高価な不揮発性
メモリを使用しなければならないといった課題が生じて
いた。
Also in the air conditioner, the life of the non-volatile memory is extremely shortened due to the same situation as described above, or an expensive non-volatile memory must be used to extend the life of the non-volatile memory. There were challenges.

【0007】本発明は、上記事情を考慮してなされたも
ので、その目的は、不揮発性メモリにデータを書き込む
回数を少なくすることで、不揮発性メモリの寿命を短く
してしまうことのないマイコン制御機器を提供すること
にある。
The present invention has been made in view of the above circumstances, and an object thereof is to reduce the number of times data is written in a nonvolatile memory, thereby preventing the lifetime of the nonvolatile memory from being shortened. It is to provide a control device.

【0008】[0008]

【課題を解決するための手段】本発明は、上記目的を達
成するために、交流電源部に接続してこの交流電源部か
らの交流電圧を直流電圧に変換する直流電源部を設け、
この直流電源部にマイクロコンピュータを有した制御ユ
ニットを接続し、この制御ユニットと前記直流電源部と
の間に直流電源部からの出力電圧が一定レベル以下にな
ったことを検出して信号を制御ユニットに出力する電圧
低下検出手段を電気的に接続し、前記制御ユニットと前
記直流電源部との間に直流電源部から制御ユニットに供
給される電圧が制御ユニットを動作させるのに可能な電
圧になった時に制御ユニットを動作開始させるための信
号を出力する制御ユニットリセット回路部を設け、前記
制御ユニットの動作状態を確認できる表示手段を設け、
前記制御ユニットの動作を設定する操作部を前記制御ユ
ニットに接続し、データの書き込みおよび読みだしが可
能な不揮発性メモリを前記制御ユニットに接続し、前記
電圧低下検出手段から出力された信号を前記制御ユニッ
トが検知したときに前記不揮発性メモリに制御ユニット
内部のデータを書き込むことに特徴を有する。
In order to achieve the above object, the present invention is provided with a DC power supply unit which is connected to an AC power supply unit and converts an AC voltage from the AC power supply unit into a DC voltage.
A control unit having a microcomputer is connected to the DC power supply unit, and a signal is controlled by detecting that the output voltage from the DC power supply unit falls below a certain level between the control unit and the DC power supply unit. The voltage drop detection means for outputting to the unit is electrically connected, and the voltage supplied from the DC power supply unit to the control unit between the control unit and the DC power supply unit becomes a voltage that can operate the control unit. A control unit reset circuit section that outputs a signal for starting the operation of the control unit when
An operation unit for setting the operation of the control unit is connected to the control unit, a non-volatile memory capable of writing and reading data is connected to the control unit, and the signal output from the voltage drop detecting means is connected to the control unit. It is characterized in that the data in the control unit is written in the nonvolatile memory when the control unit detects it.

【0009】また、本発明は、取替え可能な空気フィル
タが装着された空気調和機器において、交流電源部に接
続してこの交流電源部からの交流電圧直流電圧に変換す
る直流電源部と、この直流電源部に接続するとともにマ
イクロコンピュータを有した空調制御ユニットと、この
空調制御ユニットと前記直流電源部との間に設けられ直
流電源部からの出力電圧が一定レベル以下になったこと
を検出して信号を空調制御ユニットに出力する電圧低下
検出手段と、前記空調制御ユニットと前記直流電源部と
の間に設けられ直流電源部から空調制御ユニットに供給
される電圧が空調制御ユニットを動作させるのに可能な
電圧になった時に空調制御ユニットを動作開始させるた
めの信号を出力する制御ユニットリセット回路部と、前
記空調制御ユニットの動作状態を確認できる表示手段
と、前記空調制御ユニットに接続して空調制御ユニット
の動作を設定する操作部と、前記空調制御ユニットに接
続して空調運転積算時間のデータの書き込みおよび読み
だしが可能な不揮発性メモリとを設け、前記空調制御ユ
ニットを、空調運転積算時間が所定時間に達すると前記
表示手段に前記空気フィルタの交換時期であることを表
示させると共に、前記電圧低下検出手段から出力された
信号を前記空調制御ユニットが検知したときに前記不揮
発性メモリに前記空調運転積算時間のデータを書き込む
ように構成したところに特徴を有する。
Further, the present invention is, in an air conditioner equipped with a replaceable air filter, a DC power supply unit for connecting to an AC power supply unit and converting the AC voltage from the AC power supply unit into a DC voltage, and the DC power supply unit. An air conditioning control unit that is connected to the power supply unit and has a microcomputer, and detects that the output voltage from the DC power supply unit provided between the air conditioning control unit and the DC power supply unit is below a certain level. A voltage drop detecting means for outputting a signal to the air conditioning control unit, and a voltage provided between the air conditioning control unit and the DC power supply unit to the air conditioning control unit for operating the air conditioning control unit. A control unit reset circuit section that outputs a signal for starting the operation of the air conditioning control unit when the voltage becomes possible, and the air conditioning control unit. Display unit for confirming the operating state of the air conditioner, an operation unit for connecting to the air conditioning control unit to set the operation of the air conditioning control unit, and a unit for connecting to the air conditioning control unit to write and read data of the air conditioning operation accumulated time. A non-volatile memory is provided, and when the air conditioning operation integrated time reaches a predetermined time, the air conditioning control unit displays on the display means that it is time to replace the air filter, and outputs from the voltage drop detection means. When the air-conditioning control unit detects the generated signal, it is characterized in that the data of the air-conditioning operation integrated time is written in the nonvolatile memory.

【0010】[0010]

【作用】請求項1記載のマイコン制御機器によれば、交
流電源部の電圧が低下することで、それにつれて直流電
源部の電圧が一定の電圧より低下すると、電圧低下検出
手段がその低下したことを検出した信号を制御ユニット
に出力する。制御ユニットはその信号を受け取ると不揮
発性メモリに制御ユニット内部のデータを書き込む。
According to the microcomputer control device of the present invention, when the voltage of the AC power supply unit drops and the voltage of the DC power supply unit drops below a certain voltage accordingly, the voltage drop detecting means drops. Is output to the control unit. When the control unit receives the signal, it writes the data inside the control unit to the non-volatile memory.

【0011】これによって、交流電源部から供給される
電圧が完全に無くなった場合でも、制御ユニット内部の
データは不揮発性メモリ内に残されるので消失すること
がない。
As a result, even if the voltage supplied from the AC power supply unit is completely lost, the data in the control unit remains in the non-volatile memory and is not lost.

【0012】また、直流電源部の電圧が低下した時にだ
け、不揮発性メモリにデータを書き込むので、不揮発性
メモリに書き込む回数が必要分だけになり、もって不揮
発性メモリの寿命を縮めることもなくなる。
Further, since the data is written in the non-volatile memory only when the voltage of the DC power supply unit drops, the number of times of writing in the non-volatile memory becomes the necessary number, and the life of the non-volatile memory is not shortened.

【0013】請求項2記載の空気調和機器によれば、交
流電源部の電圧が低下することで、それにつれて直流電
源部の電圧が一定の電圧より低下すると、電圧低下検出
手段がその低下したことを検出した信号を空調制御ユニ
ットに出力する。空調制御ユニットは、その信号を受け
取ると不揮発性メモリに空調制御ユニット内部に記憶さ
れた空調運転積算時間のデータを書き込む。
According to the air conditioner of the second aspect, when the voltage of the AC power supply unit drops and the voltage of the DC power supply unit drops below a certain voltage accordingly, the voltage drop detecting means drops. The signal which detected is output to the air conditioning control unit. Upon receiving the signal, the air conditioning control unit writes the data of the air conditioning operation accumulated time stored in the air conditioning control unit in the nonvolatile memory.

【0014】これにより、交流電源部から供給される電
圧が完全に無くなった場合でも、空調制御ユニット内部
の空調運転積算時間のデータが不揮発性メモリ内に残さ
れるので消失することがない。
As a result, even when the voltage supplied from the AC power supply unit is completely lost, the data of the air conditioning operation integrated time in the air conditioning control unit remains in the non-volatile memory and is not lost.

【0015】従って、直流電源部の電圧が低下したとき
にだけ、不揮発性メモリに空調運転積算時間のデータを
書き込むので、不揮発性メモリに書き込む回数が必要最
小限に減らすことができるので、不揮発性メモリの寿命
を縮めることがなくなる。
Therefore, since the data of the air-conditioning operation integrated time is written in the non-volatile memory only when the voltage of the DC power supply unit drops, the number of times of writing in the non-volatile memory can be reduced to the necessary minimum. It will not reduce the life of the memory.

【0016】そして、このような空調運転積算時間のデ
ータが所定時間に達すると、空調制御ユニットは、表示
手段に空気フィルタの交換時期であることを表示するよ
うになる。
When the data of such cumulative air-conditioning operation time reaches a predetermined time, the air-conditioning control unit displays on the display means that it is time to replace the air filter.

【0017】[0017]

【実施例】以下、本発明の第1の実施例につき図1ない
し図3を参照して説明する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first embodiment of the present invention will be described below with reference to FIGS.

【0018】まず、図2のシステムブロック図を用いて
全体の構成を説明する。
First, the overall configuration will be described with reference to the system block diagram of FIG.

【0019】100ボルト(V)の交流電圧を有する交
流電源部1は、母線2を介して直流電源部3に接続され
ている。この直流電源部3は100ボルト(V)の交流
電圧を、マイクロコンピュータを有する制御ユニット4
が正常に動作するための例えば5ボルト(V)の直流電
圧に変換して供給するものである。
An AC power supply unit 1 having an AC voltage of 100 V is connected to a DC power supply unit 3 via a bus 2. The DC power supply unit 3 supplies an AC voltage of 100 V (V) to the control unit 4 having a microcomputer.
Is converted into a DC voltage of, for example, 5 V (V) for normal operation, and supplied.

【0020】電圧低下検出手段5は、直流電源部3から
の第1の出力電圧を入力とし、この入力値がある一定値
以下に低下することを検出するもので、それを検出する
とその状態を示す信号である電圧低下検出信号SIG1
を制御ユニット4に出力するようになっている。
The voltage drop detecting means 5 receives the first output voltage from the DC power supply section 3 as an input, and detects that the input value drops below a certain value. Voltage drop detection signal SIG1 which is a signal
Is output to the control unit 4.

【0021】制御ユニットリセット回路部6も、直流電
源部3からの第1の出力電圧を入力とし、この入力値が
前記電圧低下検出信号SIG1が出力されるよりもさら
に低い電圧であるが、制御ユニット4が正常に動作する
に適した電圧5ボルト(V)が供給される程度には十分
な電圧7ボルト(V)を検出した時に、制御ユニット4
の動作開始を指令する信号SIG2を制御ユニット4に
出力する。
The control unit reset circuit section 6 also receives the first output voltage from the DC power supply section 3, and this input value is a voltage lower than the voltage drop detection signal SIG1 being output. When a voltage of 7 volts (V) is detected that is sufficient to supply a voltage of 5 volts (V) suitable for the unit 4 to operate normally, the control unit 4
The signal SIG2 for instructing the operation start of is output to the control unit 4.

【0022】不揮発性メモリ7は、制御ユニット4がそ
の内部に記憶している積算動作時間などのデータを書き
込んだり、必要に応じてその書き込んだデータを読み出
したりするためのもので、電力の供給がなくなってもそ
のデータが消失しないメモリであり、制御ユニット4に
接続されている。
The non-volatile memory 7 is used by the control unit 4 to write data such as the accumulated operating time stored therein and to read the written data as needed, and to supply power. It is a memory that does not lose its data even if it disappears, and is connected to the control unit 4.

【0023】電源スイッチのオンオフや制御量を制御ユ
ニット4に指令するための操作部8は、制御ユニット4
に接続しており、また、制御ユニット4が動作している
か否かを視覚的に判断することができる表示手段9も制
御ユニット4に接続されている。
The operation section 8 for instructing the control unit 4 to turn on / off the power switch and to control the control unit is the control unit 4
The display unit 9 is also connected to the control unit 4 and is capable of visually determining whether the control unit 4 is operating.

【0024】次に上記構成につき、その作用について具
体的に説明する。
Next, the operation of the above structure will be specifically described.

【0025】100ボルトの交流電圧を有する交流電源
部1に直流電源部3を接続すると、つまり図1で「スタ
ート」からステップS1までの間では次に述べることが
生じる。縦軸を電圧、横軸を時間とした直流電源部3の
特性図である図3から分かるように、まず前記第1の出
力電圧でもある直流電源部3内の第1次の直流電圧10
が徐々に上昇する。
When the DC power supply unit 3 is connected to the AC power supply unit 1 having an AC voltage of 100 V, that is, from "start" to step S1 in FIG. As can be seen from FIG. 3, which is a characteristic diagram of the DC power supply unit 3 in which the vertical axis represents voltage and the horizontal axis represents time, first, the primary DC voltage 10 in the DC power supply unit 3 which is also the first output voltage
Gradually rises.

【0026】そしてこの第1次の直流電圧10が7ボル
ト(V)を越えたときに、直流電源部3から制御ユニッ
ト4に安定した5ボルト(V)の直流電圧たる第2次の
直流電圧11が供給されるとともに、制御ユニットリセ
ット回路部6は、制御ユニット4の動作開始を指令する
信号SIG2を制御ユニット4に出力する。
When the primary DC voltage 10 exceeds 7 volts (V), the secondary DC voltage which is a stable DC voltage of 5 volts (V) from the DC power supply unit 3 to the control unit 4. 11 is supplied, the control unit reset circuit section 6 outputs to the control unit 4 a signal SIG2 instructing the operation start of the control unit 4.

【0027】さらに第1次の直流電圧10は上昇を続
け、電圧低下検出手段5が低下電圧であると判断する9
ボルト(V)を越えて、14ボルト(V)で安定する
が、その間に電圧検出手段5からは電圧低下検出信号S
IGは出力されない。この理由は、電圧低下検出手段5
は、第1次の直流電圧10が、0ボルト(V)から上昇
して一度9ボルト(V)を越えた後、電圧が低下して9
ボルト(V)より下がった場合にのみ電圧低下検出信号
SIG1を制御ユニット4に出力するようになっている
ためで、単純に第1次の直流電圧10が基準値たる9ボ
ルト(V)以下であっても電圧低下検出手段5は電圧低
下検出信号SIG1を出力しないようになっているから
である。
Further, the primary DC voltage 10 continues to rise, and the voltage drop detecting means 5 judges that the voltage is a down voltage 9
It stabilizes at 14 V (V) beyond the volt (V), during which the voltage detection means 5 outputs the voltage drop detection signal S.
IG is not output. The reason for this is that the voltage drop detecting means 5
Indicates that the primary DC voltage 10 rises from 0 volt (V) and once exceeds 9 volt (V), then the voltage drops to 9 V.
This is because the voltage drop detection signal SIG1 is output to the control unit 4 only when the voltage drops below the volt (V), so that the primary DC voltage 10 is simply below the reference value of 9 volt (V). This is because the voltage drop detection means 5 does not output the voltage drop detection signal SIG1 even if there is.

【0028】ステップS1では、不揮発性メモリ7内に
格納された例えば制御ユニット4が稼働した積算時間等
のデータを読みだす。但し、初めて制御ユニット4が今
回稼働する場合には、不揮発性メモリ7内にはデータが
格納されていないため、初期データのまま次のステップ
S2に進む。
In step S1, the data stored in the non-volatile memory 7, such as the cumulative time during which the control unit 4 has been operated, is read out. However, when the control unit 4 is operated for the first time this time, no data is stored in the non-volatile memory 7, and therefore the process proceeds to the next step S2 without changing the initial data.

【0029】ステップS2では、制御ユニット4内のマ
イクロコンピュータのROM(読みだし専用メモリ)内
に格納されたシステム制御プログラムが実行される。
In step S2, the system control program stored in the ROM (read-only memory) of the microcomputer in the control unit 4 is executed.

【0030】次のステップS3は、停電やプラグがコン
セントから抜かれる等して交流電源部1から直流電源分
3への電力供給が止まってしまうことを間接的に検知す
るための判断部であり、電圧低下検出手段5が直流電源
部3の第1次の直流電圧10の出力を監視することでこ
れを達成している。
The next step S3 is a judging section for indirectly detecting that the power supply from the AC power supply section 1 to the DC power supply section 3 is stopped due to a power failure or the plug being unplugged from the outlet. This is achieved by the voltage drop detecting means 5 monitoring the output of the primary DC voltage 10 of the DC power supply unit 3.

【0031】また、電力供給に変化が起こらなかった
り、例えわずかな変化が起こっても、第1次の直流電圧
10が、基準電圧である9ボルト(V)以上の場合に
は、ステップS2とS3のループに入る。
Even if the power supply does not change, or even a slight change occurs, if the primary DC voltage 10 is equal to or higher than the reference voltage of 9 V (V), step S2 is performed. Enter the loop of S3.

【0032】このステップS2とS3のループに入って
いる間に、操作部8のスイッチをオンすると、この信号
を受けた制御ユニット4は正常に稼働していることを示
す信号を表示手段9に出力し続ける。
When the switch of the operating portion 8 is turned on while the loop of steps S2 and S3 is entered, the control unit 4 receiving this signal displays a signal to the display means 9 indicating that it is operating normally. Continue to output.

【0033】ただし、この表示手段9に出力された信号
は稼働を示すための特別な信号である必要はなく、例え
ば、強・中・弱といったファンの風量を示すもので制御
ユニット4の稼働を示せばことたりるものである。
However, the signal output to the display means 9 does not have to be a special signal for indicating the operation, and for example, the signal indicating the air volume of the fan such as high, medium, or low indicates the operation of the control unit 4. It's ridiculous to show.

【0034】また、このステップS3で、第1次の直流
電圧10の電圧が低下し、電圧低下検出手段5が、第1
次の直流電圧10の基準電圧である9ボルト(V)より
も低下したことを検出すると、電圧低下検出信号SIG
1を制御ユニット4に出力する。
Further, in this step S3, the voltage of the primary DC voltage 10 drops, and the voltage drop detecting means 5 makes the first
When it is detected that the voltage is lower than the reference voltage of the next DC voltage 10, which is 9 volts (V), the voltage drop detection signal SIG
1 is output to the control unit 4.

【0035】次のステップS4では、制御ユニット4が
前記電圧低下検出信号SIG1の入力を受け入れること
により、制御ユニット4内部のRAM等に格納されたデ
ータであって電力の供給が無くなると消失してしまうデ
ータを不揮発性メモリ7に書き込む。
In the next step S4, the control unit 4 accepts the input of the voltage drop detection signal SIG1, so that the data stored in the RAM or the like inside the control unit 4 disappears when the power supply is lost. The lost data is written in the nonvolatile memory 7.

【0036】ステップS5では第1次の直流電圧10が
引き続き低下しているか否かが判断されて、制御ユニッ
ト4に安定した直流5ボルト(V)の電圧を供給できる
のに最低限必要とされる第1次の直流電圧10が7ボル
ト(V)以下にならないまで、つまり制御ユニットリセ
ット回路部6が信号SIG2を出力している間までは
(ステップS6)、ステップS5とS6のループに入る
が、制御ユニットリセット回路部6が信号SIG2を出
力しなくなると、完全にマイコン制御機器は停止する。
In step S5, it is judged whether or not the primary DC voltage 10 continues to decrease, and it is necessary to supply the control unit 4 with a stable DC voltage of 5 V (V). Until the primary DC voltage 10 is not lower than 7 volts (V), that is, until the control unit reset circuit section 6 outputs the signal SIG2 (step S6), the loop of steps S5 and S6 is entered. However, when the control unit reset circuit section 6 stops outputting the signal SIG2, the microcomputer control device is completely stopped.

【0037】以上のように本実施例は、直流電源部3の
電圧低下を検出する電圧低下検出手段5を設け、制御ユ
ニット4がこの電圧低下検出手段5からの電圧低下検出
信号SIG1を制御ユニット4が受けた場合にだけ、制
御ユニット4内のデータを不揮発性メモリ7に書き込み
保存したので、停電などに備えてデータを保存すること
が出来るだけでなく、必要以上にデータを頻繁に不揮発
性メモリ7内に書き込む必要がなくなるので、不揮発性
メモリ7の寿命をいたずらに短くしてしまうこともなく
なり、そのために高価な不揮発性メモリを使用する必要
もなくなり、製品自体の価格の高騰を防ぐこともでき
る。
As described above, the present embodiment is provided with the voltage drop detecting means 5 for detecting the voltage drop of the DC power supply section 3, and the control unit 4 sends the voltage drop detecting signal SIG1 from the voltage drop detecting means 5 to the control unit. The data in the control unit 4 is written and saved in the non-volatile memory 7 only when the data is received by the No. 4, so that the data can be saved in case of a power failure and the data is frequently non-volatile. Since it is not necessary to write in the memory 7, the life of the non-volatile memory 7 is not unnecessarily shortened, and therefore it is not necessary to use an expensive non-volatile memory, and the price of the product itself is prevented from rising. You can also

【0038】また、電圧低下と判断する検出値を、直流
電源部3から安定した電圧を制御ユニット4に送るのに
最低限度必要とする電圧よりも高い値に設定したので、
たとえ電力の供給がなくなってしまう場合でも制御ユニ
ット4は十分に不揮発性メモリ7内にデータを書き込む
時間や電力を有するため、確実にデータを不揮発性メモ
リ7内に格納することができる。
Further, since the detection value for judging the voltage drop is set to a value higher than the minimum voltage required to send a stable voltage from the DC power supply section 3 to the control unit 4,
Even if the power supply is cut off, the control unit 4 has sufficient time and power to write data in the non-volatile memory 7, so that the data can be surely stored in the non-volatile memory 7.

【0039】また、表示手段により、制御ユニット4の
正常な稼働を視覚で容易に確認することができる。
Further, the normal operation of the control unit 4 can be easily visually confirmed by the display means.

【0040】尚、電圧低下検出手段や制御ユニットリセ
ット回路部はその機能を備えていれば、物理的に直流電
源部と制御ユニットとの間に位置するものでなくても良
いし、それらは直流電源部と同一の回路内に設けられて
いても良いなど、種々の変形が可能である。
As long as the voltage drop detecting means and the control unit reset circuit section have their functions, they need not be physically located between the DC power supply section and the control unit. Various modifications are possible, such as being provided in the same circuit as the power supply unit.

【0041】図4および図5は本発明の第2の実施例を
示す空気調和機器であり、以下、第1の実施例と異なる
部分についてのみ説明する。
FIG. 4 and FIG. 5 show an air conditioner according to a second embodiment of the present invention, and only parts different from the first embodiment will be described below.

【0042】図4は全体構成を示すシステムブロック図
で、空調制御ユニット12は、第1の実施例における制
御ユニット4に代えて設けられているもので、空調運転
の制御を行うためのプログラムが予め記憶されている。
FIG. 4 is a system block diagram showing the entire structure. The air conditioning control unit 12 is provided in place of the control unit 4 in the first embodiment, and a program for controlling the air conditioning operation is provided. It is stored in advance.

【0043】不揮発性メモリ7は、空調制御ユニット1
2がその内部に記憶している空調運転積算時間のデータ
を書き込んだり、必要に応じてその書き込んだデータを
読み出したりするためのもので、電力の供給がなくなっ
ても空調運転積算時間のデータが消失しないようにした
メモリであり、空調制御ユニット12に接続されてい
る。
The nonvolatile memory 7 is used for the air conditioning control unit 1
2 is for writing the data of the air-conditioning operation accumulated time stored in it, and for reading the written data when necessary, the data of the air-conditioning operation accumulated time is stored even if the power is cut off. It is a memory that does not disappear and is connected to the air conditioning control unit 12.

【0044】電源スイッチのオンオフや空調運転の制御
量を空調制御ユニット12に指令するための操作部8
は、空調制御ユニット12に接続している。表示手段1
3は、空調制御ユニット12の動作状態を表示したり
(例えば運転状態でLED等を点灯させる)或いは図示
しない取替え可能な空気フィルタの交換時期を例えば
「フィルタ点検」という文字により表示して、視覚的に
判断することができるようにしたもので、空調制御ユニ
ット12に接続されている。
An operation unit 8 for instructing the air conditioning control unit 12 to turn on / off the power switch and control the air conditioning operation.
Is connected to the air conditioning control unit 12. Display means 1
Reference numeral 3 indicates the operating state of the air conditioning control unit 12 (for example, turning on the LED or the like in the operating state) or the replacement time of a replaceable air filter (not shown) by, for example, the letters "filter check", It is connected to the air-conditioning control unit 12.

【0045】ファンモータ14は、駆動回路15を介し
て空調制御ユニット12に接続されており、空調制御ユ
ニット12からの制御信号に応じて回転駆動され、図示
しない空気フィルタに汚れた空気を通過させて濾過する
ための気流を発生させる。
The fan motor 14 is connected to the air conditioning control unit 12 via a drive circuit 15 and is rotationally driven in response to a control signal from the air conditioning control unit 12 to pass dirty air through an air filter (not shown). Generate an air flow for filtration.

【0046】次に、本実施例の作用について図5のフロ
ーチャートに示すプログラムをも参照しながら説明す
る。
Next, the operation of this embodiment will be described with reference to the program shown in the flowchart of FIG.

【0047】直流電源部3は、交流電源部1から100
ボルトの交流電圧が印加されると、これを直流電源に変
換して出力する。このとき、直流電源部3の第1次の出
力電圧は徐々に上昇してゆき、その出力電圧が7ボルト
(V)を越えると、5ボルト(V)の第2次の出力電圧
を空調制御ユニット12に与えるようになる。また、制
御ユニットリセット回路部6は、空調制御ユニット12
の動作開始を指令する信号SIG2を空調制御ユニット
12に出力する。
The DC power supply unit 3 includes the AC power supply units 1 to 100.
When a volt AC voltage is applied, it is converted to a DC power source and output. At this time, the primary output voltage of the DC power supply unit 3 gradually rises, and when the output voltage exceeds 7 volts (V), the secondary output voltage of 5 volts (V) is controlled by air conditioning. It will be given to the unit 12. In addition, the control unit reset circuit unit 6 includes the air conditioning control unit 12
The signal SIG2 for instructing the start of the operation is output to the air conditioning control unit 12.

【0048】さらに第1次の直流電圧は上昇を続け、電
圧低下検出手段5が低下電圧であると判断する9ボルト
(V)を越えて、14ボルト(V)で安定するが、その
間に電圧検出手段5からは電圧低下検出信号SIG1は
出力されない。
Further, the primary DC voltage continues to rise, and exceeds the voltage of 9 V (V) which the voltage drop detecting means 5 judges to be a voltage drop, and stabilizes at 14 V (V), during which the voltage drops. The voltage drop detection signal SIG1 is not output from the detection means 5.

【0049】この理由は、電圧低下検出手段5は、第1
次の直流電圧が、0ボルト(V)から上昇して一度9ボ
ルト(V)を越えた後、電圧が低下して9ボルト(V)
より下がった場合にのみ電圧低下検出信号SIG1を空
調制御ユニット12に出力するようになっているため
で、単純に第1次の直流電圧が基準値たる9ボルト
(V)以下であっても電圧低下検出手段5は電圧低下検
出信号SIG1を出力しないようになっているからであ
る。
The reason for this is that the voltage drop detecting means 5 has the first
The next DC voltage rises from 0 volt (V) and once exceeds 9 volt (V), then the voltage drops to 9 volt (V).
This is because the voltage drop detection signal SIG1 is output to the air conditioning control unit 12 only when the voltage drops below the voltage level. Therefore, even if the primary DC voltage is 9 V (V) or less, which is the reference value, the voltage is simply This is because the voltage drop detecting means 5 does not output the voltage drop detection signal SIG1.

【0050】さて、空調制御ユニット12は、このよう
にして給電されると、図5に示すフローチャートに従っ
てプログラムをスタートする。空調制御ユニット12
は、ステップP1で、不揮発性メモリ7内に格納された
空調運転積算時間のデータを読みだす。この空調運転積
算時間のデータは、空調制御ユニット12が空調運転制
御を実施した積算時間であり、今回初めて空調制御ユニ
ット12が稼働される場合には、不揮発性メモリ7内に
はそのデータがまだ格納されていないため、初期データ
のままとしてステップP2に進む。
Now, when the air-conditioning control unit 12 is supplied with power in this way, it starts the program according to the flow chart shown in FIG. Air conditioning control unit 12
In step P1, the data of the air-conditioning operation integrated time stored in the nonvolatile memory 7 is read out. The data of the air-conditioning operation integrated time is the time when the air-conditioning control unit 12 has performed the air-conditioning operation control, and when the air-conditioning control unit 12 is operated for the first time, the data is not yet stored in the nonvolatile memory 7. Since it is not stored, the initial data is left as it is and the process proceeds to step P2.

【0051】空調制御ユニット12は、ステップP2
で、ROM(読みだし専用メモリ)内に格納された空調
運転制御プログラムを読出してこれに基づいて空調運転
の制御を実行する。この場合、ファンモータ14は、駆
動回路15を介して空調制御ユニット12から与えられ
る制御信号に応じて回転駆動され、これにより、図示し
ない汚れた空気を吸入し、空気フィルタを介して濾過し
た後に排出させるようになっている。
The air conditioning control unit 12 executes step P2.
Then, the air-conditioning operation control program stored in the ROM (read-only memory) is read out and the air-conditioning operation control is executed based on the program. In this case, the fan motor 14 is rotationally driven in response to a control signal provided from the air conditioning control unit 12 via the drive circuit 15, whereby the dirty air (not shown) is sucked in and filtered through the air filter. It is designed to be discharged.

【0052】また、空調制御ユニット12は、このよう
にして空調運転が行われている間の積算時間をカウント
し、その空調運転積算時間を内部のRAM等のメモリに
記憶している。そして、空調制御ユニット12は、この
空調運転積算時間のデータ値が所定時間値、即ち、空気
フィルタの交換時期に相当する運転時間(例えば150
0時間)に達したときに、表示手段13に空気フィルタ
交換の時期を示す表示信号を出力して、「フィルタ点
検」の表示を行なわせるようになっている。
Further, the air conditioning control unit 12 counts the integrated time during the air conditioning operation as described above, and stores the integrated time of the air conditioning operation in a memory such as an internal RAM. Then, the air conditioning control unit 12 determines that the data value of the air conditioning operation integrated time is a predetermined time value, that is, the operation time corresponding to the replacement time of the air filter (for example, 150 hours).
When it reaches 0 hour), a display signal indicating the time of air filter replacement is output to the display means 13 to display "filter check".

【0053】次のステップP3は、停電やプラグがコン
セントから抜かれる等して交流電源部1から直流電源分
3への電力供給が止まってしまうことを間接的に検知す
るための判断部であり、電圧低下検出手段5が直流電源
部3の第1次の直流電圧の出力を監視することでこれを
達成している。
The next step P3 is a judging section for indirectly detecting that the power supply from the AC power supply section 1 to the DC power supply section 3 is stopped due to a power failure or the plug being unplugged from the outlet. This is achieved by the voltage drop detecting means 5 monitoring the output of the primary DC voltage of the DC power supply unit 3.

【0054】また、電力供給に変化が起こらなかった
り、わずかな変化が起こっていても第1次の直流電圧が
基準電圧である9ボルト(V)以上となっている場合に
は、空調制御ユニット12はステップP2とP3のルー
プに入る。
If the power supply does not change or the primary DC voltage is higher than the reference voltage of 9 V (V) even if a slight change occurs, the air conditioning control unit 12 enters the loop of steps P2 and P3.

【0055】このステップP2とP3のループに入って
いる間に、操作部8のスイッチをオンすると、この信号
を受けた空調制御ユニット12は正常に稼働しているこ
とを示す信号を表示手段13に出力し続ける。また、表
示手段13は、空調運転の稼働状態を、空調制御ユニッ
ト12から与えられる表示信号に応じて例えば強・中・
弱といったファンの風量に対応して表示するようになっ
ている。
When the switch of the operation section 8 is turned on while the loop of steps P2 and P3 is entered, the air-conditioning control unit 12 receiving this signal displays a signal indicating that the air-conditioning control unit 12 is operating normally. Continue to output. In addition, the display unit 13 displays the operating state of the air conditioning operation in accordance with a display signal given from the air conditioning control unit 12, for example, strong / medium /
It is designed to be displayed according to the fan air volume such as weak.

【0056】そして、このステップP3で、空調制御ユ
ニット12は、電圧低下検出手段5から電圧低下検出信
号SIG1が出力されたかどうかを判断している。この
場合、第1次の直流電圧の電圧が低下し、電圧低下検出
手段5が、第1次の直流電圧10の基準電圧である9ボ
ルト(V)よりも低下したことを検出すると、電圧低下
検出信号SIG1を空調制御ユニット12に出力するの
で、これにより判断を行うようになっている。
Then, in this step P3, the air conditioning control unit 12 judges whether or not the voltage drop detection means 5 has output the voltage drop detection signal SIG1. In this case, when the voltage of the primary DC voltage drops and the voltage drop detecting means 5 detects that the voltage has dropped below the reference voltage of the primary DC voltage 10 of 9 volts (V), the voltage drop. Since the detection signal SIG1 is output to the air conditioning control unit 12, the determination is made based on this.

【0057】そこで、空調制御ユニット12は、ステッ
プP3で電圧低下検出信号SIG1が入力されていると
きには、「YES」と判断してステップP4に移行し、
RAM内に記憶格納している空調運転積算時間のデータ
を不揮発性メモリ7に書き込んだ後ステップP5に進
む。
Therefore, when the voltage drop detection signal SIG1 is input in step P3, the air conditioning control unit 12 determines "YES" and proceeds to step P4.
After writing the air-conditioning operation accumulated time data stored and stored in the RAM to the nonvolatile memory 7, the process proceeds to step P5.

【0058】また、空調制御ユニット12は、ステップ
P3で、電圧低下検出手段5から電圧低下検出信号SI
G1が入力されていない場合には、ここで「NO」と判
断してステップP2に戻る。
In step P3, the air conditioning control unit 12 sends the voltage drop detection signal SI from the voltage drop detection means 5.
If G1 is not input, it is determined to be "NO" here and the process returns to step P2.

【0059】ステップP5では第1次の直流電圧が引き
続き低下しているか否かが判断されて、空調制御ユニッ
ト12に安定した直流5ボルト(V)の電圧を供給でき
るのに最低限必要とされる第1次の直流電圧10が7ボ
ルト(V)以下になる前まで、つまり制御ユニットリセ
ット回路部6が信号SIG2を出力している間までは
(ステップP6)、ステップP5とP6のループに入る
が、制御ユニットリセット回路部6が信号SIG2を出
力しなくなると、完全にマイコン制御機器は停止する。
In step P5, it is judged whether or not the primary DC voltage continues to decrease, and it is necessary at least to supply a stable DC 5V voltage to the air conditioning control unit 12. Before the primary DC voltage 10 becomes 7 V (V) or less, that is, until the control unit reset circuit section 6 outputs the signal SIG2 (step P6), the loop of steps P5 and P6 is performed. However, when the control unit reset circuit section 6 stops outputting the signal SIG2, the microcomputer control device is completely stopped.

【0060】そして、この状態で、不揮発性メモリ7内
には、電源が遮断される直前まで空調制御ユニット12
がカウントしてRAM内に記憶していた空調運転積算時
間のデータが記憶格納されており、次に電源が投入され
て運転が再開されると、上述のようにしてステップP1
で空調制御ユニット12内に読み出されるので、電源の
通断電に拘らず正確な空調運転積算時間が保存される。
In this state, the air conditioning control unit 12 is stored in the nonvolatile memory 7 until just before the power is cut off.
Data of the air-conditioning operation integrated time which has been counted and stored in the RAM is stored and stored. When the power is next turned on and the operation is restarted, the step P1 is performed as described above.
Since it is read into the air conditioning control unit 12, the accurate accumulated time of the air conditioning operation is saved regardless of whether the power is on or off.

【0061】以上のように、本発明は、直流電源部3の
電圧低下を検出する電圧低下検出手段5を設け、空調制
御ユニット12がこの電圧低下検出手段5からの電圧低
下検出信号SIG1を受けた場合にだけ、空調制御ユニ
ット12内の空調運転積算時間のデータを不揮発性メモ
リ7に書き込み保存したので、停電などに備えてデータ
を保存することが出来るだけでなく、必要以上にデータ
を頻繁に不揮発性メモリ7内に書き込む必要がなくなる
ので、不揮発性メモリ7の寿命をいたずらに短くしてし
まうこともなくなり、そのために高価な不揮発性メモリ
を使用する必要もなくなり、製品自体の価格の高騰を防
ぐこともできる。
As described above, the present invention is provided with the voltage drop detecting means 5 for detecting the voltage drop of the DC power supply section 3, and the air conditioning control unit 12 receives the voltage drop detecting signal SIG1 from the voltage drop detecting means 5. The data of the air conditioning operation integrated time in the air conditioning control unit 12 is written and saved in the non-volatile memory 7 only when the data is stored, so not only can the data be saved in case of a power failure, but also the data can be stored more frequently than necessary. Since it is not necessary to write in the non-volatile memory 7, the life of the non-volatile memory 7 is not shortened unnecessarily, and therefore it is not necessary to use an expensive non-volatile memory, and the price of the product itself rises. Can be prevented.

【0062】また、電圧低下と判断する検出値を、直流
電源部3から安定した電圧を空調制御ユニット12に送
るのに最低限度必要とする電圧よりも高い値に設定した
ので、たとえ電力の供給がなくなってしまう場合でも空
調制御ユニット12は十分に不揮発性メモリ7内に空調
運転積算時間のデータを書き込む時間や電力を有するた
め、確実にそのデータを不揮発性メモリ7内に格納する
ことができる。
Further, since the detected value for judging the voltage drop is set to a value higher than the minimum required voltage for sending a stable voltage from the DC power supply unit 3 to the air conditioning control unit 12, even if the power is supplied. Since the air conditioning control unit 12 has enough time and power to write the data of the air conditioning operation integrated time in the non-volatile memory 7 even when the data disappears, the data can be surely stored in the non-volatile memory 7. ..

【0063】また、表示手段により、空調制御ユニット
12の正常な稼働状態を視覚で容易に確認することがで
きる。
Further, the normal operating state of the air conditioning control unit 12 can be visually confirmed easily by the display means.

【0064】[0064]

【発明の効果】請求項1記載のマイコン制御機器によれ
ば、直流電源部に接続するとともにマイクロコンピュー
タを有した制御ユニットと、この制御ユニットと前記直
流電源部との間に設けられ直流電源部からの出力電圧が
一定レベル以下になったことを検出して信号を制御ユニ
ットに出力する電圧低下検出手段と、前記制御ユニット
に接続してデータの書き込みおよび読みだしが可能な不
揮発性メモリとを備え、前記電圧低下検出手段から出力
された信号を制御ユニットが検知したときに不揮発性メ
モリにデータを書き込むようにしたので、停電などの電
力供給が途絶えた場合に備えてデータを保存することが
出来るように不揮発性メモリを使用したものにあって
も、不揮発性メモリにデータを書き込む回数を少なくす
ることで、不揮発性メモリの寿命を短くしてしまうこと
がないという優れた効果を奏する。
According to the microcomputer control device of the first aspect, the control unit connected to the DC power supply unit and having the microcomputer, and the DC power supply unit provided between the control unit and the DC power supply unit. A voltage drop detecting means for detecting that the output voltage from the device is below a certain level and outputting a signal to the control unit; and a nonvolatile memory capable of writing and reading data by connecting to the control unit. Since the data is written to the non-volatile memory when the control unit detects the signal output from the voltage drop detecting means, the data can be saved in case of power interruption such as power failure. Even if it uses a non-volatile memory as much as possible, by reducing the number of times data is written to the non-volatile memory, Excellent effects that have never result in shortening the memory of life.

【0065】請求項2記載の空気調和機器によれば、直
流電源部に接続すると共にマイコンを有した空調制御ユ
ニットと、この空調制御ユニットと前記直流電源部との
間に設けられ直流電源部からの出力電圧が一定レベル以
下になったことを検出して信号を空調制御ユニットに出
力する電圧低下検出手段と、前記空調制御ユニットに接
続してデータの書き込みおよび読みだしが可能な不揮発
性メモリとを備え、前記電圧低下検出手段から出力され
た信号を前記空調制御ユニットが検知したときに不揮発
性メモリに空調運転積算時間のデータを書き込むように
したので、停電などの電力供給が途絶えた場合に備えて
空調運転積算時間のデータを保存することが出来るよう
に不揮発性メモリを使用したものにあっても、不揮発性
メモリに空調運転積算時間のデータを書き込む回数を少
なくすることで、不揮発性メモリの寿命を短くしてしま
うことがないという優れた効果を奏する。
According to the air conditioner of the second aspect, the air conditioning control unit connected to the DC power supply unit and having a microcomputer, and the DC power supply unit provided between the air conditioning control unit and the DC power supply unit. A voltage drop detecting means for detecting that the output voltage of the device has fallen below a certain level and outputting a signal to the air conditioning control unit, and a non-volatile memory capable of writing and reading data by connecting to the air conditioning control unit. When the air conditioning control unit detects the signal output from the voltage drop detecting means, the data of the air conditioning operation integrated time is written in the nonvolatile memory, so that the power supply such as a power failure is interrupted. Even if a non-volatile memory is used so that the data of the accumulated air-conditioning operation time can be saved, the air-conditioning operation is stored in the non-volatile memory. By reducing the number of times of writing data of computation time, it exhibits the excellent effect that never would shorten the life of the nonvolatile memory.

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

【図1】本発明の第1の実施例を示す制御のフローチャ
ート
FIG. 1 is a control flowchart showing a first embodiment of the present invention.

【図2】システムブロック図FIG. 2 System block diagram

【図3】直流電源部の特性図FIG. 3 is a characteristic diagram of a DC power supply unit

【図4】本発明の第2の実施例を示す図1相当図FIG. 4 is a view corresponding to FIG. 1 showing a second embodiment of the present invention.

【図5】図2相当図FIG. 5 is a view corresponding to FIG.

【符号の説明】 3は直流電源部、4は制御ユニット、5は電圧低下検出
手段、6は制御ユニットリセット回路部、7は不揮発性
メモリ、8は操作部、9,13は表示手段、12は空調
制御ユニット、14はファンモータ、15は駆動回路で
ある。
[Description of Reference Signs] Reference numeral 3 is a DC power supply section, 4 is a control unit, 5 is a voltage drop detecting means, 6 is a control unit reset circuit section, 7 is a non-volatile memory, 8 is an operating section, 9 and 13 are display means, 12 Is an air conditioning control unit, 14 is a fan motor, and 15 is a drive circuit.

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 交流電源部に接続してこの交流電源部か
らの交流電圧直流電圧に変換する直流電源部と、この直
流電源部に接続するとともにマイクロコンピュータを有
した制御ユニットと、この制御ユニットと前記直流電源
部との間に設けられ直流電源部からの出力電圧が一定レ
ベル以下になったことを検出して信号を制御ユニットに
出力する電圧低下検出手段と、前記制御ユニットと前記
直流電源部との間に設けられ直流電源部から制御ユニッ
トに供給される電圧が制御ユニットを動作させるのに可
能な電圧になった時に制御ユニットを動作開始させるた
めの信号を出力する制御ユニットリセット回路部と、前
記制御ユニットの動作状態を確認できる表示手段と、前
記制御ユニットに接続して制御ユニットの動作を設定す
る操作部と、前記制御ユニットに接続してデータの書き
込みおよび読みだしが可能な不揮発性メモリとを備え、
前記電圧低下検出手段から出力された信号を前記制御ユ
ニットが検知したときに前記不揮発性メモリにデータを
書き込むことを特徴とするマイコン制御機器。
1. A DC power supply unit connected to an AC power supply unit for converting into an AC voltage DC voltage from the AC power supply unit, a control unit connected to the DC power supply unit and having a microcomputer, and this control unit. And a DC power supply unit, which detects the output voltage from the DC power supply unit being below a certain level and outputs a signal to the control unit, the control unit and the DC power supply unit. And a control unit reset circuit section that outputs a signal for starting the operation of the control unit when the voltage supplied from the DC power supply section to the control unit reaches a voltage that can operate the control unit. Display means for confirming the operating state of the control unit, an operation section for connecting to the control unit to set the operation of the control unit, and the control unit. Equipped with a non-volatile memory that can be connected to the control unit and can write and read data
A microcomputer control device, wherein data is written in the nonvolatile memory when the control unit detects a signal output from the voltage drop detecting means.
【請求項2】 取替え可能な空気フィルタが装着された
空気調和機器において、交流電源部に接続してこの交流
電源部からの交流電圧直流電圧に変換する直流電源部
と、この直流電源部に接続するとともにマイクロコンピ
ュータを有した空調制御ユニットと、この空調制御ユニ
ットと前記直流電源部との間に設けられ直流電源部から
の出力電圧が一定レベル以下になったことを検出して信
号を空調制御ユニットに出力する電圧低下検出手段と、
前記空調制御ユニットと前記直流電源部との間に設けら
れ直流電源部から空調制御ユニットに供給される電圧が
空調制御ユニットを動作させるのに可能な電圧になった
時に空調制御ユニットを動作開始させるための信号を出
力する制御ユニットリセット回路部と、前記空調制御ユ
ニットの動作状態を確認できる表示手段と、前記空調制
御ユニットに接続して空調制御ユニットの動作を設定す
る操作部と、前記空調制御ユニットに接続して空調運転
積算時間のデータの書き込みおよび読みだしが可能な不
揮発性メモリとを備え、前記空調制御ユニットは、空調
運転積算時間が所定時間に達すると前記表示手段に前記
空気フィルタの交換時期であることを表示させると共
に、前記電圧低下検出手段から出力された信号を前記空
調制御ユニットが検知したときに前記不揮発性メモリに
前記空調運転積算時間のデータを書き込むことを特徴と
する空気調和機器。
2. In an air conditioner equipped with a replaceable air filter, a DC power supply unit for connecting to an AC power supply unit and converting the AC voltage from the AC power supply unit into a DC voltage, and to the DC power supply unit. In addition, an air conditioning control unit having a microcomputer, and detecting that the output voltage from the DC power supply unit, which is provided between the air conditioning control unit and the DC power supply unit, falls below a certain level and controls the signal A voltage drop detecting means for outputting to the unit,
The air conditioning control unit is started when the voltage provided between the air conditioning control unit and the DC power supply unit and supplied from the DC power supply unit to the air conditioning control unit becomes a voltage that can operate the air conditioning control unit. Control unit reset circuit section for outputting a signal for controlling the air conditioning control unit, display means for confirming the operation state of the air conditioning control unit, an operation section for connecting the air conditioning control unit to set the operation of the air conditioning control unit, and the air conditioning control A non-volatile memory that is connected to the unit and is capable of writing and reading data of the air conditioning operation integrated time, and the air conditioning control unit, when the air conditioning operation integrated time reaches a predetermined time, the display means displays the air filter The air-conditioning control unit detects the signal output from the voltage drop detecting means while displaying that it is the time to replace. The air conditioning apparatus, characterized in that the non-volatile memory write data of the air conditioning operation integrated time when.
JP3325582A 1991-11-05 1991-12-10 Microcomputer control device Pending JPH05181571A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
US07/965,744 US5236477A (en) 1991-11-05 1992-10-23 Microcomputer-based control device
KR1019920020750A KR960002973B1 (en) 1991-11-05 1992-11-04 Controller for microcomputer

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP28816391 1991-11-05
JP3-288163 1991-11-05

Publications (1)

Publication Number Publication Date
JPH05181571A true JPH05181571A (en) 1993-07-23

Family

ID=17726624

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3325582A Pending JPH05181571A (en) 1991-11-05 1991-12-10 Microcomputer control device

Country Status (2)

Country Link
JP (1) JPH05181571A (en)
KR (1) KR960002973B1 (en)

Also Published As

Publication number Publication date
KR960002973B1 (en) 1996-03-02
KR930014026A (en) 1993-07-22

Similar Documents

Publication Publication Date Title
US5236477A (en) Microcomputer-based control device
EP0690363B1 (en) Extended clock termostat
JP2773073B2 (en) Self-diagnosis system for electronic control device and its diagnosis method
US6660070B2 (en) Air purifier
US7707376B2 (en) Verifying the validity of data saved at power down by comparing the time of save to time of power-off upon start up
JP3701776B2 (en) In-vehicle electrical equipment with microcomputer
JP2004326629A (en) Abnormality monitoring device
JP2600538B2 (en) Noise diagnosis device for air conditioner
JP4288928B2 (en) Air conditioner
JPH05181571A (en) Microcomputer control device
JPH0870415A (en) Electronic equipment
JP2000179910A (en) Air cleaning device
CN114878198A (en) Fault detection circuit and method and air conditioning equipment
US6122574A (en) Method for detecting abnormality of control unit and control unit employing same
JP2008187860A (en) Electronic apparatus
JPH05274002A (en) Microcomputer controller
JP4079058B2 (en) Vehicle communication diagnostic device and diagnostic method
JP2001149728A (en) Device for detecting clogging of filter
JP3328355B2 (en) Alternating automatic operation control system for electric pump
JPH03260576A (en) Controller for refrigerator
JP7293916B2 (en) electric pump system
JP4422879B2 (en) Air conditioner
JP3396627B2 (en) Low voltage detection circuit
CN115765095A (en) Vehicle-mounted power supply adjusting method and device, electronic equipment and storage medium
JPH1011365A (en) Protecting circuit for nonvolatile storage device