JPH08152180A - Control device for air conditioner - Google Patents

Control device for air conditioner

Info

Publication number
JPH08152180A
JPH08152180A JP6315484A JP31548494A JPH08152180A JP H08152180 A JPH08152180 A JP H08152180A JP 6315484 A JP6315484 A JP 6315484A JP 31548494 A JP31548494 A JP 31548494A JP H08152180 A JPH08152180 A JP H08152180A
Authority
JP
Japan
Prior art keywords
data
control
air conditioner
frequency
control device
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
JP6315484A
Other languages
Japanese (ja)
Inventor
Koichi Toda
行一 戸田
Yoshiaki Ogawa
善朗 小川
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.)
Fujitsu General Ltd
Original Assignee
Fujitsu General 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 Fujitsu General Ltd filed Critical Fujitsu General Ltd
Priority to JP6315484A priority Critical patent/JPH08152180A/en
Publication of JPH08152180A publication Critical patent/JPH08152180A/en
Pending legal-status Critical Current

Links

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

PURPOSE: To standardize and generalize a control device and micro-computer of an air conditioner. CONSTITUTION: A control device of an air conditioner has an inverter circuit 7 which makes the rotation control of a compressor motor 6 variable, and controls the inverter circuit 7 and an outdoor unit of the air conditioner by a micro-computer 30. For such a control device of an air conditioner, a control program which is common for at least a plurality of models of air conditioners is stored in a ROM 9a in the micro-computer 30, and at the same time, among data being required for the execution of the control program, different data for at least a plurality of models of air conditioners are stored in an external ROM 31 of the micro-computer 30. Then, when the micro-computer 30 executes the control program, the micro-computer controls the inverter circuit 7 and outdoor unit using at least the data of the external ROM 31. When the model of air conditioner is different, the ROM 31 is exchanged, and one micro-computer 30 and control device can be commonly used for respective models.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は空気調和機の制御に用
いるマイクロコンピュータを標準化し、種々機種に適用
可能とし、制御装置の汎用化を実現する空気調和機の制
御装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control device for an air conditioner, which standardizes a microcomputer used for controlling the air conditioner, makes it applicable to various models, and realizes generalization of the control device.

【0002】[0002]

【従来の技術】この種の空気調和機の室外機の制御装置
は図15示す構成をしている。この図におて、室外機の
制御装置は室内機側からのAC100Vの交流電源を端
子1のa,bを介して入力する一方、この端子1のcを
介して室内機との間でシリアル信号を送受信する。例え
ば、室内機は室外ファンおよび圧縮機を制御するための
信号(指令)を室外機に送信し、室外機は各種の検出温
度等の信号を室内機に送信する。
2. Description of the Related Art A control device for an outdoor unit of this type of air conditioner has a structure shown in FIG. In this figure, the control device for the outdoor unit inputs AC 100V AC power from the indoor unit side through terminals a and b, and serially communicates with the indoor unit through terminal 1c. Send and receive signals. For example, the indoor unit sends a signal (command) for controlling the outdoor fan and the compressor to the outdoor unit, and the outdoor unit sends signals such as various detected temperatures to the indoor unit.

【0003】また、室外機の制御装置は、室内機から供
給された交流電源を外来ノイズおよび内部発生ノイズの
低減用のノイズフィルタ2に通し、さらに力率改善用の
リアクタ3に通した後、倍電圧整流回路4、平滑回路5
で必要な直流電源を得る。例えば、倍電圧整流回路4は
ダイオードおよびコンデンサからなり、平滑回路5はコ
ンデンサからなり、AC100Vの交流電源を約280
Vの直流電源に変換する。
Further, the control device for the outdoor unit passes the AC power supplied from the indoor unit through the noise filter 2 for reducing external noise and internally generated noise, and further through the reactor 3 for improving the power factor, Double voltage rectifier circuit 4, smoothing circuit 5
Get the required DC power supply. For example, the voltage doubler rectifier circuit 4 is composed of a diode and a capacitor, the smoothing circuit 5 is composed of a capacitor, and an AC power supply of 100 V AC is about 280.
Convert to V DC power supply.

【0004】上記交流/直流変換された電源をスイッチ
ングして圧縮機モータ6の電機子巻線に印加するため、
複数のスイッチング素子(トランジスタ)U,V,W,
X,Y,Zおよびダイオードから構成されたインバータ
回路7は直流電源を三相交流に変換して圧縮機モータ6
に供給する。
In order to switch the AC / DC converted power supply and apply it to the armature winding of the compressor motor 6,
A plurality of switching elements (transistors) U, V, W,
An inverter circuit 7 composed of X, Y, Z and a diode converts a DC power supply into a three-phase AC and converts the compressor motor 6
Supply to.

【0005】上記シリアル信号を送受信するためのシリ
アル通信回路8は同シリアル信号をマイクロコンピュー
タ9に入力可能な信号に変換する一方、マイクロコンピ
ュータ9からの信号を室内機に入力可能な信号に変換す
る。
The serial communication circuit 8 for transmitting and receiving the serial signal converts the serial signal into a signal that can be input to the microcomputer 9, while converting the signal from the microcomputer 9 into a signal that can be input to the indoor unit. .

【0006】マイクロコンピュータ9はシリアル通信回
路8を介した室内機からの信号(指令)に基づいてイン
バータ回路7を駆動するための駆動信号をインバータ駆
動回路10に出力し、圧縮機モータ6に供給する三相交
流の電圧、周波数を可変制御する。また、マイクロコン
ピュータ9は室外ファン11を駆動する駆動信号、冷媒
の循環(冷房時および暖房時)のために四方弁12およ
び二方弁13を駆動する駆動信号を駆動回路14に出力
する。
The microcomputer 9 outputs a drive signal for driving the inverter circuit 7 to the inverter drive circuit 10 based on a signal (command) from the indoor unit via the serial communication circuit 8 and supplies it to the compressor motor 6. The voltage and frequency of the three-phase AC are variably controlled. Further, the microcomputer 9 outputs to the drive circuit 14 a drive signal for driving the outdoor fan 11 and a drive signal for driving the four-way valve 12 and the two-way valve 13 for circulating the refrigerant (during cooling and heating).

【0007】マイクロコンピュータ9における各種保護
機能の動作のために、電流センサ(CT)15および入
力電流検出回路16は当該制御装置の入力電流を検出し
てアナログ入力回路17に入力しており、このアナログ
入力回路17には室外温度センサ18、冷媒の吐出温度
センサ19および熱交換温度センサ20による検出温度
が入力している。
For the operation of various protective functions in the microcomputer 9, the current sensor (CT) 15 and the input current detection circuit 16 detect the input current of the control device and input it to the analog input circuit 17. The temperatures detected by the outdoor temperature sensor 18, the refrigerant discharge temperature sensor 19 and the heat exchange temperature sensor 20 are input to the analog input circuit 17.

【0008】アナログ入力回路17は入力検出信号をマ
イクロコンピュータ9に入力可能としてマイクロコンピ
ュータ9のアナログ入力ポートに出力し、マイクロコン
ピュータ9内部でディジタル信号に変換する。また、圧
縮機モータ6の過電流をシャント抵抗器21および過電
流検出回路22によって検出し、この検出電流信号をマ
イクロコンピュータ9に出力する。これによって、マイ
クロコンピュータ9は各種入力信号に基づいて各種保護
機能を動作し、かつ必要な情報をシリアル通信回路8を
介して室内機に送信する。各種保護機能の動作では、例
えば圧縮機モータ6を制御し、室外ファン6を制御す
る。
The analog input circuit 17 enables the input detection signal to be input to the microcomputer 9 and outputs it to the analog input port of the microcomputer 9 to convert it into a digital signal inside the microcomputer 9. Further, the shunt resistor 21 and the overcurrent detection circuit 22 detect the overcurrent of the compressor motor 6 and output the detected current signal to the microcomputer 9. As a result, the microcomputer 9 operates various protection functions based on various input signals, and transmits necessary information to the indoor unit via the serial communication circuit 8. In the operation of various protection functions, for example, the compressor motor 6 is controlled and the outdoor fan 6 is controlled.

【0009】なお、倍電圧整流回路4および平滑回路5
によって得た直流電源(約280V)をDC/DCコン
バータ23で5V等の電源に変換しており、この変換電
源をマイクロコンピュータ9等の電源電圧としている。
The voltage doubler rectifier circuit 4 and the smoothing circuit 5
The DC power supply (about 280 V) obtained by the above is converted into a power supply of 5 V or the like by the DC / DC converter 23, and this converted power supply is used as the power supply voltage of the microcomputer 9 or the like.

【0010】[0010]

【発明が解決しようとする課題】ところで、空気調和機
には使用目的(何畳用、高機能)によって様々な機種が
あり、これら機種の仕様も異なっている。例えば、図1
6および図17に示すように制御が異なり、下記表9に
示すように機種A,B,Cは周波数制御、電流制御、吐
出温制御、除霜制御、予熱制御、サーミスタ異常検出制
御等のデータが異なっている。
By the way, there are various types of air conditioners depending on the purpose of use (for tatami mats, high function), and the specifications of these models are also different. For example, FIG.
6 and FIG. 17, the control is different, and as shown in Table 9 below, the models A, B, and C have data such as frequency control, current control, discharge temperature control, defrost control, preheat control, thermistor abnormality detection control, etc. Are different.

【0011】[0011]

【表9】 このように、仕様の異なる機種(多機能の高級機種、安
価な機種を含む)毎に、つまり空気調和機の1機種毎に
専用のマイクロコンピュータが必要である。
[Table 9] As described above, a dedicated microcomputer is required for each model having different specifications (including multifunctional high-end models and inexpensive models), that is, for each model of the air conditioner.

【0012】また、1つのマイクロコンピュータ9を複
数の機種に対応させようとすると、複数の機種の制御プ
ログラムおよびデータ(表1ないし表8に示す)を全て
マイクロコンピュータ9の内部ROM9aに記憶してお
き、使用する機種に応じて制御プログラムおよびデータ
を選択することが必要である。
When it is attempted to make one microcomputer 9 compatible with a plurality of models, all the control programs and data (shown in Tables 1 to 8) of a plurality of models are stored in the internal ROM 9a of the microcomputer 9. Every time, it is necessary to select the control program and data according to the model to be used.

【0013】しかし、前者の場合には、マイクロコンピ
ュータ9がカスタム品となり、空気調和機の機種数だけ
マイクロコンピュータ9が必要であり、また制御装置も
同様に空気調和機の機種数だけ必要であり、マイクロコ
ンピュータおよび制御装置の標準化、汎用化を妨げるこ
とになる。
However, in the former case, the microcomputer 9 is a custom product, and as many microcomputers 9 as the air conditioner models are required, and the control device is also required as many as the air conditioner models. , The standardization and generalization of microcomputers and control devices will be hindered.

【0014】また、後者の場合には各機種毎の制御プロ
グラムやデータを記憶する内部ROM9aの容量が大き
くなり、しかも機種の数が多くなるほど、その内部RO
M9aの容量が膨大なものになってしまうという問題点
がある。
In the latter case, the internal ROM 9a for storing the control programs and data for each model becomes large, and as the number of models increases, the internal RO
There is a problem that the capacity of the M9a becomes enormous.

【0015】この発明は上記課題に鑑みなされたもので
あり、その目的は空気調和機に用いるマイクロコンピュ
ータの内部ROMの容量を増加させることもなく、マイ
クロコンピュータの標準化や汎用化を図り、かつ制御装
置も標準化、汎用化し、1つのマイクロコンピュータお
よび1つの制御装置を各機種に対して使用することがで
きるようにした空気調和機の制御装置を提供することに
ある。
The present invention has been made in view of the above problems, and an object thereof is to standardize and generalize a microcomputer without increasing the capacity of the internal ROM of the microcomputer used in the air conditioner, and to control the microcomputer. An object of the present invention is to provide a control device for an air conditioner that standardizes and generalizes the device and can use one microcomputer and one control device for each model.

【0016】[0016]

【課題を解決するための手段】上記目的を達成するため
に、この発明は少なくとも圧縮機の能力を可変可能とす
るインバータ手段を有し、前記インバータ手段および空
気調和機の室外機をマイクロコンピュータによって制御
する空気調和機の制御装置において、少なくとも空気調
和機の複数の機種に共通する制御プログラムを前記マイ
クロコンピュータの内部の記憶手段に記憶しているとと
もに、前記制御プログラムを実行するに必要なデータの
うち、少なくとも前記複数の機種毎に異なるデータを前
記マイクロコンピュータの外部の記憶手段に記憶してお
り、前記マイクロコンピュータは前記制御プログラムを
実行する際に少なくとも前記外部の記憶手段のデータを
用いて前記インバータ手段および室外機を制御すること
を要旨とする。
In order to achieve the above object, the present invention has at least inverter means for making variable the capacity of the compressor, and the inverter means and the outdoor unit of the air conditioner are controlled by a microcomputer. In the control device of the air conditioner to be controlled, at least a control program common to a plurality of models of the air conditioner is stored in the internal storage means of the microcomputer, and the data necessary for executing the control program is stored. Among them, at least the data different for each of the plurality of models is stored in a storage unit outside the microcomputer, and the microcomputer uses at least the data in the external storage unit when executing the control program. The gist is to control the inverter means and the outdoor unit.

【0017】また、前記外部の記憶手段には、前記圧縮
機を制御するための周波数のデータ、前記インバータ手
段の出力を制御するための出力電圧のデータ、種々機能
の動作に必要な時間のデータ、前記室外機の保護のため
の電流のデータ、前記室外機の制御および保護のための
温度のデータ、室外機の使用部品の有無のデータのうち
の少なくとも1つあるいはそれらの組合せを記憶してい
る。
Further, in the external storage means, frequency data for controlling the compressor, output voltage data for controlling the output of the inverter means, and time data necessary for operating various functions. Storing at least one or a combination of current data for protection of the outdoor unit, temperature data for controlling and protecting the outdoor unit, and data of presence / absence of parts used in the outdoor unit. There is.

【0018】さらに、前記外部の記憶手段に記憶されて
いるデータは、圧縮機を制御するための周波数コードに
対する周波数データ、周波数に対する出力電圧データ、
起動周波数データ、キャリア周波数データ、PWMのデ
ットタイムデータおよび周波数制御に必要なデータと、
電流制御に必要なデータと、吐出温制御に必要なデータ
と、除霜制御に必要なデータと、予熱制御に必要なデー
タと、温度検出部品の有無のデータのうちの少なくとも
1つあるいはそれらの組合せである。
Further, the data stored in the external storage means are frequency data for a frequency code for controlling the compressor, output voltage data for a frequency,
Starting frequency data, carrier frequency data, PWM dead time data and data required for frequency control,
At least one of data required for current control, data required for discharge temperature control, data required for defrost control, data required for preheat control, and data for presence / absence of a temperature detection component, or their data. It is a combination.

【0019】[0019]

【作用】上記手段によれば、上記マイクロコンピュータ
の内部の記憶手段には少なくとも複数の機種に共通する
制御プログラムが記憶され、マイクロコンピュータの外
部の記憶手段(ROM)としては、少なくとも複数の機
種毎に異なるデータ(各種機能;周波数制御、PWM出
力制御、電流制御、吐出温制御、除霜制御、予熱制御、
サーミスタ異常検出の有無等のためのデータのうちの少
なくとも1つまたはそれらの組合せ)を記憶した複数の
ROMが用意される。
According to the above means, the control program common to at least a plurality of models is stored in the storage means inside the microcomputer, and the external storage means (ROM) of the microcomputer is at least for each model. Different data (various functions; frequency control, PWM output control, current control, discharge temperature control, defrost control, preheat control,
A plurality of ROMs storing at least one of the data for the presence / absence of the thermistor abnormality detection or a combination thereof are prepared.

【0020】そして、空気調和機の機種毎にマイクロコ
ンピュータに接続される外部のROMが交換され、これ
によりマイクロコンピュータおよび制御装置を代えるこ
となく、各機種に対応した制御が可能となる。つまり、
マイクロコンピュータおよび制御装置の標準化、汎用化
が図れ、特に空気調和機の機種が多いほど、その効果が
大きいものとなる。
Then, the external ROM connected to the microcomputer is exchanged for each model of the air conditioner, so that the control corresponding to each model can be performed without changing the microcomputer and the control device. That is,
The standardization and general-purpose of the microcomputer and the control device can be achieved, and the effect becomes greater as the number of models of the air conditioner increases.

【0021】[0021]

【実施例】この発明の空気調和機の制御装置は、複数の
機種に共通する制御プログラムやデータを室外機のマイ
クロコンピュータの内部ROMに記憶し、複数の機種毎
に異なるデータを外部の記憶手段(例えばROM)にそ
れぞれ記憶するようにすれば、マイクロコンピュータの
内部ROMの容量が大きくならず、しかも外部のROM
を交換するだけで、そのマイクロコンピュータおよび制
御装置を各機種に共通して使用可能であることに着目し
たものである。
BEST MODE FOR CARRYING OUT THE INVENTION An air conditioner control apparatus according to the present invention stores control programs and data common to a plurality of models in an internal ROM of a microcomputer of an outdoor unit, and stores different data for a plurality of models in an external storage means. If they are respectively stored in the ROM (for example, ROM), the capacity of the internal ROM of the microcomputer does not increase, and the external ROM
It is focused on that the microcomputer and the control device can be used in common for each model simply by replacing the.

【0022】そのため、この発明の空気調和機の室外機
の制御装置は例えば図1に示す構成をしている。なお、
図1中、図15と同一部分には同一符号を付し重複説明
を省略する。
Therefore, the control device for the outdoor unit of the air conditioner of the present invention has, for example, the configuration shown in FIG. In addition,
1, those parts that are the same as those corresponding parts in FIG. 15 are designated by the same reference numerals, and a description thereof will be omitted.

【0023】図1において、この制御装置はマイクロコ
ンピュータ30に接続される外部の記憶手段31を備え
ており、この記憶手段31は例えばソケットに挿填され
るROMであり、他のROMと交換可能である。なお、
マイクロコンピュータ30は図15に示すマイクロコン
ピュータ9の機能を有し、内部ROM9aに記憶してあ
る制御プログラムを実行する際に必要に応じて記憶手段
31のデータを読み出して処理を実行する。
In FIG. 1, this control device is provided with an external storage means 31 connected to the microcomputer 30, and this storage means 31 is, for example, a ROM inserted into a socket and can be replaced with another ROM. Is. In addition,
The microcomputer 30 has the function of the microcomputer 9 shown in FIG. 15, and when executing the control program stored in the internal ROM 9a, it reads the data in the storage means 31 and executes the processing as necessary.

【0024】上記記憶手段31は例えば機種A,B,C
毎のデータ(表1ないし表8に示す)をそれぞれ記憶し
ており、つまり記憶手段31は機種A,B,C毎に用意
されることになる。
The storage means 31 is, for example, a model A, B, C.
The data (shown in Tables 1 to 8) for each is stored, that is, the storage means 31 is prepared for each model A, B, C.

【0025】上記制御装置の動作をプログラムおよびデ
ータの例を図2ないし図14に示すフローチャート図お
よび下記表1ないし表8を参照して具体的に説明する。
なお、記憶手段31は以下ROMと記す。
The operation of the above control device will be specifically described with reference to the flow charts shown in FIGS. 2 to 14 and Tables 1 to 8 below as examples of programs and data.
The storage means 31 is hereinafter referred to as a ROM.

【0026】[0026]

【表1】 [Table 1]

【0027】[0027]

【表2】 [Table 2]

【0028】[0028]

【表3】 [Table 3]

【0029】[0029]

【表4】 [Table 4]

【0030】[0030]

【表5】 [Table 5]

【0031】[0031]

【表6】 [Table 6]

【0032】[0032]

【表7】 [Table 7]

【0033】[0033]

【表8】 図2は圧縮機モータ6の周波数制御プログラムを説明す
るためのフローチャート図であり、表1および表2はそ
の周波数制御で用いるデータである。なお、表1中、f
n(圧縮機周波数),fcn(周波数コード),tfd
(周波数下降時間),tfu(周波数上昇時間),tf
e(周波数維持時間),fu(上昇時変化周波数),f
d(下降時変化周波数)は空気調和機の機種毎に異なる
ために外付けの記憶手段(以下ROMと記す)31に記
憶されている。
[Table 8] FIG. 2 is a flow chart for explaining the frequency control program of the compressor motor 6, and Tables 1 and 2 are data used in the frequency control. In Table 1, f
n (compressor frequency), fcn (frequency code), tfd
(Frequency fall time), tfu (frequency rise time), tf
e (frequency maintenance time), fu (change frequency when rising), f
Since d (descent change frequency) is different for each model of the air conditioner, it is stored in an external storage means (hereinafter referred to as ROM) 31.

【0034】まず、室内機からの指令(運転指令)によ
りマイクロコンピュータ30は圧縮機モータ6を起動し
た後、図2に示すルーチンを実行し、室内機から送信さ
れたシリアル信号の指令周波数コードfcnに対する周
波数fnをROM31のデータ(表1に示す)から読み
出す(ステップST1)。
First, the microcomputer 30 activates the compressor motor 6 in response to a command (operation command) from the indoor unit, and then executes the routine shown in FIG. 2 to instruct the command frequency code fcn of the serial signal transmitted from the indoor unit. The frequency fn corresponding to is read from the data of the ROM 31 (shown in Table 1) (step ST1).

【0035】続いて、圧縮機モータ6の出力周波数fs
と現に読み出されている周波数fnとを比較し、等しく
なっているときにはステップST2からST3に進み、
その周波数を維持し、かつ待機時間tfをROM31か
ら読み出した維持時間データtfe(表2に示す)とす
る。
Next, the output frequency fs of the compressor motor 6
Is compared with the currently read frequency fn, and if they are equal, the process proceeds from step ST2 to ST3,
The frequency is maintained and the standby time tf is the maintenance time data tfe (shown in Table 2) read from the ROM 31.

【0036】一方、出力周波数fsが周波数fnより小
さいときにはステップST4からST5に進み、出力周
波数fsを上昇させるためのデータfu(表2に示す)
をROM31から読み出す。このデータfuを加算して
圧縮機モータ6の周波数を上昇し(ステップST6)、
この周波数で待機する時間tfをROM31から読み出
したデータtfu(周波数上昇時間;表2に示す)とす
る(ステップST7)。
On the other hand, when the output frequency fs is smaller than the frequency fn, the process proceeds from step ST4 to ST5, and the data fu for increasing the output frequency fs (shown in Table 2).
Is read from the ROM 31. This data fu is added to increase the frequency of the compressor motor 6 (step ST6),
The time tf for waiting at this frequency is set as the data tfu (frequency rising time; shown in Table 2) read from the ROM 31 (step ST7).

【0037】また、出力周波数fsが周波数fnより大
きいときにはステップST4からST8に進み、出力周
波数fsを下降させるためのデータfd(表2に示す)
をROM31から読み出す。このデータfdを減算して
圧縮機モータ6の周波数を下降し(ステップST9)、
この周波数で待機する時間tfをROM31から読み出
したデータtfd(周波数下降時間;表2に示す)とす
る(ステップST10)。
When the output frequency fs is higher than the frequency fn, the process proceeds from step ST4 to ST8 and the data fd for decreasing the output frequency fs (shown in Table 2).
Is read from the ROM 31. This data fd is subtracted to decrease the frequency of the compressor motor 6 (step ST9),
The time tf of waiting at this frequency is set as the data tfd (frequency falling time; shown in Table 2) read from the ROM 31 (step ST10).

【0038】続いて、待機時間tf(tfeまたはtf
uもしくはtfd)が経過すると、ステップST11か
らST12に進み、室内機からの指令(周波数コードf
cn)に変更がなければステップST2に戻って上述し
たステップを繰り返し、その指令(周波数コードfc
n)に変更があればステップST1に戻って上述したス
テップを繰り返す。これにより、圧縮機モータ6の周波
数が室内機からの指令に制御される。
Then, the waiting time tf (tfe or tf
When u or tfd) elapses, the process proceeds from step ST11 to ST12, and the command from the indoor unit (frequency code f
If there is no change in cn), the process returns to step ST2 and repeats the above steps, and the command (frequency code fc
If n) is changed, the process returns to step ST1 and the above steps are repeated. As a result, the frequency of the compressor motor 6 is controlled by the command from the indoor unit.

【0039】図3ないし図7はインバータ回路7の駆動
信号の出力制御プログラムを説明するためのフローチャ
ート図であり、表3および表4はその出力制御で用いる
データである。なお、表3中、Vs(出力電圧),fk
(起動周波数),tPWM(キャリア周期),tDT
(デットタイム)は空気調和機の機種毎に異なるために
外付けのROM31に記憶されている。
3 to 7 are flow charts for explaining the output control program of the drive signal of the inverter circuit 7, and Tables 3 and 4 show data used in the output control. In Table 3, Vs (output voltage), fk
(Starting frequency), tPWM (carrier cycle), tDT
(Dead time) is stored in the external ROM 31 because it differs depending on the model of the air conditioner.

【0040】まず、室内機からの指令を受けたマイクロ
コンピュータは同指令が運転、運転停止であるかを判断
する(ステップST20)。その指令が運転停止である
ときにはステップST21に進み、内部のPWMタイマ
TMPWMを停止して駆動信号の出力をOFFとし、当
該ルーチンを終了する。
First, the microcomputer which has received the command from the indoor unit judges whether the command is driving or stopping (step ST20). When the command is the stop of operation, the process proceeds to step ST21, the internal PWM timer TMPWM is stopped, the output of the drive signal is turned off, and the routine ends.

【0041】一方、その指令が運転であるときにはステ
ップST20からST22に進み、出力周波数fsをも
とにしてインバータ回路7の出力電圧Vsのデータ(表
4に示す)をROM31から読み出す。
On the other hand, when the command is the operation, the process proceeds from step ST20 to ST22, and the data (shown in Table 4) of the output voltage Vs of the inverter circuit 7 is read from the ROM 31 based on the output frequency fs.

【0042】続いて、圧縮機モータ6の起動であるか否
かを判断し(ステップST23)、起動でないときには
当該ルーチンを終了し、起動であるときにはステップS
T24に進み、起動周波数fkのデータ(表3に示す)
をROM31から読み出す。この起動周波数fkのデー
タを出力周波数fsとし(ステップST25)、これに
対応する出力電圧Vsのデータ(表4に示す)をROM
31から読み出す(ステッST26)。
Subsequently, it is determined whether or not the compressor motor 6 has been started (step ST23), and if it is not started, the routine is finished, and if it is started, step S is performed.
Proceed to T24 and start frequency fk data (shown in Table 3)
Is read from the ROM 31. The data of the starting frequency fk is set as the output frequency fs (step ST25), and the corresponding data of the output voltage Vs (shown in Table 4) is stored in the ROM.
It is read from 31 (step ST26).

【0043】上記出力周波数fs、出力電圧Vsをもと
にしてPWM演算を行い、つまりタイマのデータtU,
tV,tW(三相分)を演算する(ステップST2
7)。
PWM calculation is performed based on the output frequency fs and the output voltage Vs, that is, the timer data tU,
Calculate tV and tW (for three phases) (step ST2)
7).

【0044】続いて、PWM出力のためのキャリア周期
tPWMおよびデッドタイムtDTのデータ(表3に示
す)をROM31から読み出し(ステップST28)、
このデータtPWMを内部のタイマTMPWMにセット
してスタートする(ステップST29)。
Subsequently, the carrier cycle tPWM for PWM output and the data of dead time tDT (shown in Table 3) are read from the ROM 31 (step ST28),
This data tPWM is set in the internal timer TMPWM and started (step ST29).

【0045】また、タイマTMPWMはキャリア周期t
PWM毎にタイムアップし、このタイムアップと同時に
図4に示すルーチンを実行する。まず、上記演算結果の
データtU,tV,tWを内部のコンペアレジスタに設
定し(ステップST30)、さらに次のデータtU,t
V,tWを出力周波数fs、出力電圧Vsをもとにして
PWM演算する(ステップST31)。
Further, the timer TMPWM has a carrier period t.
The time is up for each PWM, and at the same time as this time up, the routine shown in FIG. 4 is executed. First, the data tU, tV, tW of the above calculation result is set in the internal compare register (step ST30), and the next data tU, t
PWM calculation is performed on V and tW based on the output frequency fs and the output voltage Vs (step ST31).

【0046】上記設定されたデータtU,tV,tW、
つまりその時刻が来ると、図5ないし図7に示す割り込
み処理を実行する。図5に示すように、時刻tUにおい
て、インバータ回路7のトランジスタUがオン状態にあ
る場合ステップST40からST41に進み、トランジ
スタUをオフとする。しかる後、デットタイムtDTが
経過すると、ステップST42からST43に進み、イ
ンバータ回路7のトランジスタXをオンとする。
The above set data tU, tV, tW,
That is, when that time comes, the interrupt process shown in FIGS. 5 to 7 is executed. As shown in FIG. 5, when the transistor U of the inverter circuit 7 is in the on state at time tU, the process proceeds from step ST40 to ST41, and the transistor U is turned off. Then, when the dead time tDT elapses, the process proceeds from step ST42 to ST43 to turn on the transistor X of the inverter circuit 7.

【0047】一方、時刻tUにトランジスタUがオフ状
態にある場合ステップST40からST44に進み、イ
ンバータ回路7のトランジスタXをオフとする。しかる
後、デットタイムtDTが経過すると、ステップST4
5からST46に進み、トランジスタUをオンとする。
On the other hand, if the transistor U is in the off state at time tU, the process proceeds from step ST40 to ST44 to turn off the transistor X of the inverter circuit 7. Then, when the dead time tDT elapses, step ST4
From ST5, the process proceeds to ST46 to turn on the transistor U.

【0048】また、図6に示すように、時刻tVにおい
て、インバータ回路7のトランジスタVがオン状態にあ
る場合ステップST50からST51に進み、トランジ
スタVをオフとする。しかる後、デットタイムtDTが
経過すると、ステップST52からST53に進み、イ
ンバータ回路7のトランジスタYをオンとする。
Further, as shown in FIG. 6, when the transistor V of the inverter circuit 7 is in the ON state at time tV, the process proceeds from step ST50 to ST51 to turn off the transistor V. Then, when the dead time tDT elapses, the process proceeds from step ST52 to ST53 to turn on the transistor Y of the inverter circuit 7.

【0049】一方、時刻tVにトランジスタVがオフ状
態にある場合ステップST50からST54に進み、イ
ンバータ回路7のトランジスタYをオフとする。しかる
後、デットタイムtDTが経過すると、ステップST5
5からST56に進み、トランジスタVをオンとする。
On the other hand, when the transistor V is off at time tV, the process proceeds from step ST50 to ST54, and the transistor Y of the inverter circuit 7 is turned off. Then, when the dead time tDT elapses, step ST5
The process proceeds from 5 to ST56, and the transistor V is turned on.

【0050】また、図7に示すように、時刻tWにおい
て、インバータ回路7のトランジスタWがオン状態にあ
る場合ステップST60からST61に進み、トランジ
スタWをオフとする。しかる後、デットタイムtDTが
経過すると、ステップST62からST63に進み、イ
ンバータ回路7のトランジスタZをオンとする。
Further, as shown in FIG. 7, when the transistor W of the inverter circuit 7 is in the on state at the time tW, the process proceeds from step ST60 to ST61, and the transistor W is turned off. Then, when the dead time tDT elapses, the process proceeds from step ST62 to ST63, and the transistor Z of the inverter circuit 7 is turned on.

【0051】一方、時刻tVにトランジスタWがオフ状
態にある場合ステップST60からST64に進み、イ
ンバータ回路7のトランジスタZをオフとする。しかる
後、デットタイムtDTが経過すると、ステップST6
5からST66に進み、トランジスタWをオンとする。
On the other hand, if the transistor W is in the off state at time tV, the process proceeds from step ST60 to ST64, and the transistor Z of the inverter circuit 7 is turned off. Then, when the dead time tDT elapses, step ST6
The process proceeds from 5 to ST66 to turn on the transistor W.

【0052】このように、インバータ回路7のトランジ
スタU,V,W,X,Y,Zについて反転処理をし、か
つこの処理を繰り返し、インバータ回路7の駆動信号を
出力する。これにより、圧縮機モータ6がPWM制御さ
れる。
In this way, the transistors U, V, W, X, Y and Z of the inverter circuit 7 are inverted, and this processing is repeated to output the drive signal of the inverter circuit 7. As a result, the compressor motor 6 is PWM-controlled.

【0053】図8は保護機能の電流制御のプログラムを
説明するためのフローチャート図であり、表5はその電
流制御で用いるデータである。なお、表5中、ICD
(冷房動作電流値),IHD(暖房動作電流値),ti
(待機時間),ICK(冷房解除電流値),IHK(暖
房解除電流値),fdi(変化周波数)は空気調和機の
機種毎に異なるために外付けのROM31に記憶されて
いる。
FIG. 8 is a flow chart for explaining the current control program for the protection function, and Table 5 shows data used in the current control. In addition, in Table 5, ICD
(Cooling operating current value), IHD (heating operating current value), ti
(Standby time), ICK (cooling release current value), IHK (heating release current value), and fdi (change frequency) are stored in the external ROM 31 because they differ for each model of the air conditioner.

【0054】電流制御とは、空気調和機が接続される電
源の電流容量を越えないように同空気調和機を運転、制
御するものである。まず、室内機からの指令を受けたマ
イクロコンピュータ30は冷房運転であるか否か、つま
り冷房運転、暖房運転の何れであるかを判断する(ステ
ップST70)。冷房運転であるときには動作電流値I
CDのデータ(表5に示す)をROM31から読み出し
(ステップST71)、暖房運転であるときには動作電
流値IHDのデータ(表5に示す)をROM31から読
み出す(ステップST72)。
The current control is to operate and control the air conditioner so as not to exceed the current capacity of the power source to which the air conditioner is connected. First, the microcomputer 30 that has received a command from the indoor unit determines whether it is in the cooling operation, that is, whether it is the cooling operation or the heating operation (step ST70). Operating current value I during cooling operation
The data of the CD (shown in Table 5) is read from the ROM 31 (step ST71), and the data of the operating current value IHD (shown in Table 5) is read from the ROM 31 in the heating operation (step ST72).

【0055】続いて、それらデータICDあるいはIH
Dを比較電流値Isとし、この電流値Isと現に検出さ
れた電流値Iとを比較し、検出電流値Iが比較電流値I
sより大きいときにはステップST73からST74に
進み、電流制御を動作させる。
Then, the data ICD or IH
D is the comparison current value Is, and this current value Is is compared with the current value I detected at present, and the detected current value I is the comparison current value I.
When it is larger than s, the process proceeds from step ST73 to ST74 to operate the current control.

【0056】上記電流制御において、変化周波数fdi
のデータ(表5に示す)をROM31から読み出し(ス
テップST75)、このデータ分だけ出力周波数fsを
減少させる(ステップST76)。
In the above current control, the changing frequency fdi
Data (shown in Table 5) is read from the ROM 31 (step ST75), and the output frequency fs is reduced by this data (step ST76).

【0057】一方、上記比較電流値Isと現に検出され
た電流値Iとの比較結果において、検出電流値Iが比較
電流値Isより大きくないときにはステップST73か
らST77に進み、現運転が冷房運転であるか否かを判
断する。冷房運転である場合には電流制御の解除値IC
Kのデータ(表5に示す)をROM31から読み出し
(ステップST78)、暖房運転である場合には解除値
IHKのデータ(表5に示す)をROM31から読み出
す(ステップST79)。
On the other hand, when the detected current value I is not larger than the comparative current value Is in the comparison result of the comparative current value Is and the current value I currently detected, the routine proceeds from step ST73 to ST77, and the current operation is the cooling operation. Determine if there is. In the case of cooling operation, current control release value IC
The K data (shown in Table 5) is read from the ROM 31 (step ST78), and in the case of heating operation, the release value IHK data (shown in Table 5) is read from the ROM 31 (step ST79).

【0058】続いて、それらのICKあるいはIHKを
比較電流値Isとし、上記検出電流値Iが比較電流値I
sより小さいときにはステップST80からST83に
進み、つまり電流制御を動作しない。また、検出電流値
Iが比較電流値Isより小さいときにはステップST8
0からST81に進み、電流制御の動作中か否かを判断
し、動作中でなければステップST83に進み、つまり
電流制御を動作しない。また、動作中であれば出力周波
数fsを固定して動作したままとし、ステップST82
からST83に進む。
Subsequently, those ICK or IHK are set as the comparison current value Is, and the detected current value I is set to the comparison current value I.
When it is smaller than s, the process proceeds from step ST80 to ST83, that is, the current control is not operated. When the detected current value I is smaller than the comparison current value Is, step ST8
From 0 to ST81, it is determined whether or not the current control is in operation. If not, the process proceeds to step ST83, that is, the current control is not operated. If it is in operation, the output frequency fs is fixed and kept in operation, and step ST82
To ST83.

【0059】そして、ステップST83では、待機時間
tiのデータ(表5に示す)をROM31から読み出
す。この読み出された待機時間tiが経過すると、ステ
ップST84からST70に戻り、上述したステップを
繰り返す。これにより、空気調和機が接続される電源の
電流容量を越えないようにすることができる。
Then, in step ST83, the data of the waiting time ti (shown in Table 5) is read from the ROM 31. When the read waiting time ti elapses, the process returns from step ST84 to ST70, and the above steps are repeated. As a result, it is possible to prevent the current capacity of the power supply to which the air conditioner is connected from being exceeded.

【0060】図9は吐出温制御プログラムを説明するた
めのフローチャート図であり、表6はその吐出温制御で
用いるデータである。なお、表6中、TdD(動作温度
値),fTd(変化周波数),tTd(待機時間),T
dk(解除温度値)は空気調和機の機種毎に異なるため
に外付けのROM31に記憶されている。
FIG. 9 is a flow chart for explaining the discharge temperature control program, and Table 6 shows data used in the discharge temperature control. In Table 6, TdD (operating temperature value), fTd (change frequency), tTd (standby time), T
Since the dk (release temperature value) is different for each model of the air conditioner, it is stored in the external ROM 31.

【0061】吐出温制御とは、圧縮機を保護するため
に、冷媒の吐出温がある所定温度を越えないように圧縮
機を運転する制御である。まず、マイクロコンピュータ
30は吐出温制御の動作温度値TdDのデータ(表6に
示す)をROM31から読み出し(ステップST9
0)、この動作温度値TdDと現に検出された吐出温度
Tdとを比較する(ステップST91)。
The discharge temperature control is a control for operating the compressor so that the discharge temperature of the refrigerant does not exceed a predetermined temperature in order to protect the compressor. First, the microcomputer 30 reads the data (shown in Table 6) of the operating temperature value TdD of the discharge temperature control from the ROM 31 (step ST9).
0), and compares the operating temperature value TdD with the currently detected discharge temperature Td (step ST91).

【0062】吐出温度Tdが動作温度値TdDより大き
いときにはステップST92に進み、吐出温制御を動作
させ、変化周波数fTdのデータ(表6に示す)をRO
M31から読み出し(ステップST93)、この変化周
波数fTd分だけ出力周波数fsを減少させる(ステッ
プST94)。
When the discharge temperature Td is higher than the operating temperature value TdD, the process proceeds to step ST92, the discharge temperature control is operated, and the data of the changing frequency fTd (shown in Table 6) is RO.
The data is read from M31 (step ST93), and the output frequency fs is reduced by this change frequency fTd (step ST94).

【0063】続いて、待機時間tTdおよび解除温度値
Tdkのデータ(表6に示す)をROM31から読み出
し(ステップST95)、その待機時間tTdが経過す
るまでの間、吐出温度Tdと解除温度値Tdkとを比較
する(ステップST96,ST97)。その待機時間t
Tdが経過するまでの間に、吐出温度Tdが解除温度値
Tdkより小さくなったときにはステップST98に進
み、吐出温レリース制御を解除する。
Subsequently, the data (shown in Table 6) of the standby time tTd and the release temperature value Tdk is read from the ROM 31 (step ST95), and the discharge temperature Td and the release temperature value Tdk are read until the standby time tTd elapses. And are compared (steps ST96, ST97). Its waiting time t
When the discharge temperature Td becomes lower than the release temperature value Tdk before the elapse of Td, the process proceeds to step ST98 to release the discharge temperature release control.

【0064】なお、上記待機時間tTdが経過したとき
には動作を解除せず、ステップST90に戻り、上記ス
テップを繰り返す。
When the waiting time tTd has elapsed, the operation is not canceled, the process returns to step ST90 and the above steps are repeated.

【0065】一方、吐出温度Tdが動作温度値TdDよ
り大きくないときにはステップST91からST99に
進み、吐出温制御が動作中であるか否かを判断する。吐
出温制御が動作中でないときにはステップST90に戻
り、吐出温制御が動作中であるときにはステップST1
00に進み、解除温度値Tdkのデータ(表6に示す)
をROM31から読み出す。
On the other hand, when the discharge temperature Td is not higher than the operating temperature value TdD, the process proceeds from step ST91 to ST99, and it is determined whether the discharge temperature control is in operation. When the discharge temperature control is not in operation, the process returns to step ST90, and when the discharge temperature control is in operation, the step ST1.
00, data of release temperature value Tdk (shown in Table 6)
Is read from the ROM 31.

【0066】続いて、吐出温度Tdと解除温度値Tdk
とを比較し(ステップST101)、吐出温度Tdが解
除温度値Tdkより小さいときにはステップST98に
進み、吐出温制御を解除し、吐出温度Tdが解除温度値
Tdkより小さくないときにはステップST102に進
み、出力周波数fsを固定として動作を解除せず、ステ
ップST90に戻り、上記ステップを繰り返す。
Next, the discharge temperature Td and the release temperature value Tdk
(Step ST101), when the discharge temperature Td is lower than the release temperature value Tdk, the process proceeds to step ST98, the discharge temperature control is released, and when the discharge temperature Td is not lower than the release temperature value Tdk, the process proceeds to step ST102 to output. The frequency fs is fixed and the operation is not released, the process returns to step ST90, and the above steps are repeated.

【0067】これにより、吐出温度が制御され、圧縮機
が保護される。
As a result, the discharge temperature is controlled and the compressor is protected.

【0068】図10は暖房運転時の除霜制御プログラム
を説明するためのフローチャート図であり、表7はその
除霜制御で用いるデータである。なお、表7中、tJD
(除霜待機時間),TJD(除霜動作温度値),fJ
(除霜周波数),TJK(除霜解除温度値),tJK
(除霜解除時間)は空気調和機の機種毎に異なるために
外付けのROM31に記憶されている。
FIG. 10 is a flow chart for explaining the defrosting control program during the heating operation, and Table 7 shows data used in the defrosting control. In Table 7, tJD
(Defrost standby time), TJD (Defrost operation temperature value), fJ
(Defrost frequency), TJK (Defrost release temperature value), tJK
The (defrost release time) is stored in the external ROM 31 because it differs depending on the model of the air conditioner.

【0069】まず、マイクロコンピュータ30は除霜待
機時間tJDのデータ(表7に示す)をROM31から
読み出し(ステップST110)、この除霜待機時間t
JDと現に算出した暖房運転の積算時間tJSとを比較
する(ステップST111)。
First, the microcomputer 30 reads the data of the defrosting waiting time tJD (shown in Table 7) from the ROM 31 (step ST110), and this defrosting waiting time t
The JD is compared with the currently calculated integrated time tJS of the heating operation (step ST111).

【0070】積算時間tJSが除霜待機時間tJDより
大きくなると、除霜動作温度値TJDのデータ(表7に
示す)をROM31から読み出し(ステップST11
2)、この除霜動作温度値TJDと現に検出された室外
熱交換器温度TONとを比較する(ステップST11
3)。
When the integrated time tJS becomes longer than the defrost standby time tJD, the data (shown in Table 7) of the defrost operation temperature value TJD is read from the ROM 31 (step ST11).
2) This defrosting operation temperature value TJD is compared with the currently detected outdoor heat exchanger temperature TON (step ST11).
3).

【0071】室外熱交換器温度TONが除霜動作温度値
TJDより小さくなると、除霜周波数fJ、除霜解除温
度値TJK、除霜解除時間tJKのデータ(表7に示
す)をROM31から読み出し(ステップST11
4)、除霜運転を開始し、冷房運転に切り替え、室外フ
ァンを停止し、出力周波数をfJとする(ステップST
115)。
When the outdoor heat exchanger temperature TON becomes smaller than the defrosting operation temperature value TJD, the data (shown in Table 7) of the defrosting frequency fJ, the defrosting release temperature value TJK, and the defrosting release time tJK is read from the ROM 31 ( Step ST11
4) Start the defrosting operation, switch to the cooling operation, stop the outdoor fan, and set the output frequency to fJ (step ST
115).

【0072】続いて、除霜解除温度値TJKと現に検出
された室外熱交換器温度TONとを比較し(ステップS
T116)、室外熱交換器温度TONが除霜解除温度値
TJKより大きいときにはステップST117に進み、
除霜運転を解除し、通常の暖房運転に戻す。
Then, the defrost release temperature value TJK is compared with the currently detected outdoor heat exchanger temperature TON (step S
T116), when the outdoor heat exchanger temperature TON is higher than the defrost release temperature value TJK, the process proceeds to step ST117.
Cancel the defrosting operation and return to normal heating operation.

【0073】室外熱交換器温度TONが除霜解除温度値
TJKより大きくないときにはステップST118に進
み、除霜解除時間tJKが経過したか否かを判断する。
除霜解除時間tJKが経過していないときにはステップ
ST116に戻り、除霜解除時間tJKが経過したとき
にはステップST117に進み、除霜運転を解除し、通
常の暖房運転に戻す。
When the outdoor heat exchanger temperature TON is not higher than the defrost release temperature value TJK, the routine proceeds to step ST118, where it is determined whether the defrost release time tJK has elapsed.
When the defrost cancellation time tJK has not elapsed, the process returns to step ST116, and when the defrost cancellation time tJK has elapsed, the process proceeds to step ST117 to cancel the defrost operation and return to the normal heating operation.

【0074】これにより、熱交換器の霜が除去され、こ
の熱交換器の熱交換効率の低下が抑えられる。
As a result, the frost on the heat exchanger is removed and the heat exchange efficiency of the heat exchanger is prevented from decreasing.

【0075】図11は予熱制御プログラム制御を説明す
るためのフローチャート図であり、表8はその予熱制御
で用いるデータである。なお、表8中、TYD(予熱動
作室外温度値),fY(予熱周波数),VY(予熱電
圧),TYK(予熱解除室外温度値)は空気調和機の機
種毎に異なるために外付けのROM31に記憶されてい
る。
FIG. 11 is a flow chart for explaining the preheating control program control, and Table 8 shows data used in the preheating control. In Table 8, TYD (preheating operation outdoor temperature value), fY (preheating frequency), VY (preheating voltage), and TYK (preheating release outdoor temperature value) are different for each model of the air conditioner, so that the external ROM 31 is used. Remembered in.

【0076】マイクロコンピュータ30は暖房運転の停
止中に室内機からのシリアル信号(予熱許可)を受けた
ときに予熱制御を実行する。まず、予熱動作室外温度値
TYDのデータ(表8に示す)をROM31から読み出
し(ステップST120)、この予熱動作室外温度TY
Dと現に検出された室外温度TOとを比較する(ステッ
プST121)。
The microcomputer 30 executes preheat control when it receives the serial signal (preheat permission) from the indoor unit while the heating operation is stopped. First, the data of the preheating operation outdoor temperature value TYD (shown in Table 8) is read from the ROM 31 (step ST120), and this preheating operation outdoor temperature TY is read.
D is compared with the actually detected outdoor temperature TO (step ST121).

【0077】室外温度TOが予熱動作室外温度値TYD
より小さくなると、予熱周波数fY、予熱電圧VYのデ
ータ(表8に示す)をROM31から読み出し、かつこ
れらデータをもとにして圧縮機モータ6の巻線に周波数
fY、電圧VYの出力を行い予熱を開始する(ステップ
ST123)。
The outdoor temperature TO is the preheating operation outdoor temperature value TYD.
When it becomes smaller, the data of the preheating frequency fY and the preheating voltage VY (shown in Table 8) are read from the ROM 31, and the frequency fY and the voltage VY are output to the winding of the compressor motor 6 based on these data to perform the preheating. Is started (step ST123).

【0078】続いて、予熱解除室外温度値TYKのデー
タ(表8に示す)をROM31から読み出し(ステップ
ST124)、この予熱解除室外温度値TYKと現に検
出された室外温度TOとを比較する(ステップST12
5)。
Subsequently, the data (shown in Table 8) of the preheat release outdoor temperature value TYK is read from the ROM 31 (step ST124), and the preheat release outdoor temperature value TYK is compared with the currently detected outdoor temperature TO (step ST124). ST12
5).

【0079】室外温度TOが予熱解除室外温度値TYK
より大きくなると、予熱制御を解除し、出力周波数fs
を0Hz、出力電圧Vsを0Vとして巻線への出力を停
止してステップST120に戻り、上記ステップを繰り
返す。
The outdoor temperature TO is the preheat release outdoor temperature value TYK.
When it becomes larger, the preheating control is released and the output frequency fs
Is 0 Hz, the output voltage Vs is 0 V, the output to the winding is stopped, the process returns to step ST120, and the above steps are repeated.

【0080】図12および図13はサーミスタ異常検出
プログラムを説明するためのフローチャート図であり、
図14はそのサーミスタ異常検出で用いるデータの模式
図である。なお、図14中、例えば8ビット構成のデー
タのうち、0ビット目が室外温度サーミスタの有無情報
であり、1ビット目が室外熱交換器温度サーミスタの有
無の情報である。また、この8ビット構成のデータは外
付けのROM31に記憶されている。
12 and 13 are flow charts for explaining the thermistor abnormality detection program.
FIG. 14 is a schematic diagram of data used in the thermistor abnormality detection. In FIG. 14, of the 8-bit data, for example, the 0th bit is the presence / absence information of the outdoor temperature thermistor, and the 1st bit is the presence / absence information of the outdoor heat exchanger temperature thermistor. The 8-bit data is stored in the external ROM 31.

【0081】まず、マイクロコンピュータ30は、サー
ミスタ有無データDTHをROM31から読み出し(ス
テップST130)、このサーミスタ有無データDTH
の所定ビット目(例えば0ビット目)が1である場合に
は当該空気調和機に室外温度サーミスタが備えられてい
ると判断し、その0ビット目が0である場合にはその室
外温度サーミスタが備えられていないと判断し、同室外
温度サーミスタの異常検出処理を実行しない(ステップ
ST131)。
First, the microcomputer 30 reads the thermistor presence / absence data DTH from the ROM 31 (step ST130), and the thermistor presence / absence data DTH.
If the predetermined bit (for example, the 0th bit) of 1 is 1, it is determined that the air conditioner is equipped with an outdoor temperature thermistor. If the 0th bit is 0, the outdoor temperature thermistor is determined. It is determined that the outdoor thermistor is not provided, and the abnormality detection process for the outdoor temperature thermistor is not executed (step ST131).

【0082】室外温度サーミスタが備えられている場合
には同室外温度サーミスタの異常検出処理を実行する
(ステップST132)。この異常検出処理では、室外
温度サーミスタによる温度検出データをもとにして同室
外温度サーミスタの開放、短絡等の異常を検出し、故障
表示等を行う。
If the outdoor temperature thermistor is provided, an abnormality detection process for the outdoor temperature thermistor is executed (step ST132). In this abnormality detection processing, an abnormality such as an open or short circuit of the outdoor temperature thermistor is detected based on the temperature detection data obtained by the outdoor temperature thermistor, and a failure display or the like is performed.

【0083】また、マイクロコンピュータは、サーミス
タ有無データDTHをROM31から読み出し(ステッ
プST133)、このサーミスタ有無データDTHの所
定ビット目(例えば1ビット目)が1、0の何れである
かを判断する(ステップST134)。
Further, the microcomputer reads the thermistor presence / absence data DTH from the ROM 31 (step ST133) and determines whether the predetermined bit (eg, the first bit) of the thermistor presence / absence data DTH is 1 or 0 (step ST133). Step ST134).

【0084】サーミスタ有無データDTHの1ビット目
が1である場合には当該空気調和機に室外熱交換器温度
サーミスタが備えられていると判断し、室外熱交換器温
度サーミスタの異常検出処理を実行する(ステップST
135)。この異常検出処理では、室外熱交換器温度サ
ーミスタによる温度検出データをもとにして同室外温度
サーミスタの開放、短絡等の異常を検出し、故障表示等
を行う。サーミスタ有無データDTHの1ビット目が0
である場合当該空気調和機に室外熱交換器温度サーミス
タが備えられていないと判断し(ステップST13
6)、室外熱交換器温度サーミスタの異常検出処理を行
わない。
When the first bit of the thermistor presence / absence data DTH is 1, it is judged that the air conditioner is equipped with the outdoor heat exchanger temperature thermistor, and the abnormality detection process of the outdoor heat exchanger temperature thermistor is executed. Yes (step ST
135). In this abnormality detection processing, an abnormality such as an open or short circuit of the outdoor temperature thermistor is detected based on the temperature detection data obtained by the outdoor heat exchanger temperature thermistor, and a failure display or the like is performed. The first bit of the thermistor existence data DTH is 0
If it is, it is determined that the air conditioner is not equipped with the outdoor heat exchanger temperature thermistor (step ST13).
6) The abnormality detection process of the outdoor heat exchanger temperature thermistor is not performed.

【0085】なお、上記表1ないし表8に示すデータは
空気調和機の1機種のものであり、他の機種の場合には
異なるデータを記憶しているROMを制御装置に取り付
け、マイクロコンピュータ30に接続するだけでよい。
また、上記表1ないし表8に示したデータを全て外部R
OMに記憶するに限らず、これらのうち1つまたはそれ
らの組合せを記憶してもよい。
The data shown in Tables 1 to 8 are for one model of the air conditioner. In the case of other models, a ROM storing different data is attached to the control device, and the microcomputer 30 is used. Just connect to.
In addition, all the data shown in Tables 1 to 8 above are external R
It is not limited to be stored in the OM, and one or a combination thereof may be stored.

【0086】このように、空気調和機の各機種毎に異な
るデータをそれぞれ外付けのROM30に記憶してお
き、各機種毎にそのROM30を取り替えるだけ、各機
種に対応した各種制御が可能となり、高級機種(多機能
の機種)あるいは機能の少ない機種(安価な機種)を問
わずに、1つのマイクロコンピュータ30および1つの
制御装置によって空気調和機の制御が可能である。換言
すれば、各種の空気調和機に適用可能なマイクロコンピ
ュータおよび制御装置を実現することができ、つまり空
気調和機の制御に用いるマイクロコンピュータおよび制
御装置の標準化、汎用化を図ることができ、ひいては空
気調和機のコストダウンを図ることができる。
As described above, various data corresponding to each model of the air conditioner is stored in the external ROM 30 and the ROM 30 can be replaced for each model to perform various controls corresponding to each model. The air conditioner can be controlled by one microcomputer 30 and one control device regardless of whether it is a high-end model (multifunctional model) or a model with few functions (inexpensive model). In other words, it is possible to realize a microcomputer and a control device applicable to various air conditioners, that is, it is possible to standardize and generalize the microcomputer and the control device used for controlling the air conditioner, and eventually The cost of the air conditioner can be reduced.

【0087】なお、上記実施例では、プログラムの実行
時に外付けのROM31に記憶されているデータを必要
に応じて読み出して使用しているが、これに限らずに例
えば各プログラムを実行する際に、最初にそのプログラ
ムで使用するデータを予め全て読み出して内部のRAM
(図示せず)に記憶し、この記憶したデータを用いるよ
うにしてもよい。また、空気調和機の電源投入時の初期
化処理において全てのデータを読み出して内部のRAM
に記憶し、各プログラムの実行時にそのRAMのデータ
を用いるようにしてもよい。
In the above embodiment, the data stored in the external ROM 31 is read and used as needed when the program is executed. However, the present invention is not limited to this. For example, when executing each program. First, all the data used in the program is read in advance and the internal RAM
It may be stored in (not shown) and the stored data may be used. In addition, in the initialization process when the power of the air conditioner is turned on, all the data is read and the internal RAM is read.
It is also possible to store the data in the RAM and use the data in the RAM when executing each program.

【0088】[0088]

【発明の効果】以上説明したように、この発明の空気調
和機の制御装置によれば、室外機の制御装置としてのマ
イクロコンピュータの内部の記憶手段に少なくとも複数
機種に共通な制御プログラムを記憶しており、そのマイ
クロコンピュータの外部の記憶手段に少なくとも複数機
種毎に異なるデータ(各種機能;周波数制御、PWM出
力制御、電流制御、吐出温制御、除霜制御、予熱制御、
サーミスタ異常検出の有無等のためのデータのうちの1
つまたはそれらの組合せ)を記憶しており、各機種毎に
外部の記憶手段を交換するようにしたので、仕様の異な
る機種に対して1つのマイクロコンピュータ、1つの制
御装置で済み、つまりマイクロコンピュータおよび制御
装置の種類を減少させることができ、室外機のマイクロ
コンピュータおよび制御装置の標準化、汎用化を図るこ
とができ、しかもマイクロコンピュータの内部記憶手段
の容量が小さく済むという効果がある。また、そのマイ
クロコンピュータおよび制御装置の標準化、汎用化によ
り、空気調和機の多機種少量生産にも対応することがで
き、トータルコストメリットが大きくなるという効果が
ある。
As described above, according to the control device for an air conditioner of the present invention, a control program common to at least a plurality of models is stored in a storage means inside a microcomputer as a control device for an outdoor unit. Data (various functions; frequency control, PWM output control, current control, discharge temperature control, defrost control, preheat control, different data for at least a plurality of models are stored in an external storage means of the microcomputer.
One of the data for the presence or absence of thermistor abnormality detection
One or a combination thereof), and the external storage means is exchanged for each model, so one microcomputer and one controller are required for models with different specifications, that is, a microcomputer. Further, the types of the control device can be reduced, standardization and generalization of the microcomputer of the outdoor unit and the control device can be achieved, and the capacity of the internal storage means of the microcomputer can be reduced. Further, standardization and general-purpose use of the microcomputer and the control device enable production of a large number of models of air conditioners in small quantities, which has the effect of increasing the total cost merit.

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

【図1】この発明の一実施例を示す空気調和機の制御装
置の概略的ブロック線図。
FIG. 1 is a schematic block diagram of a control device for an air conditioner showing an embodiment of the present invention.

【図2】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 2 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図3】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 3 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図4】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 4 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図5】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
5 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図6】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 6 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図7】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 7 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図8】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 8 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図9】図1に示す制御装置の動作を説明する概略的フ
ローチャート図。
FIG. 9 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図10】図1に示す制御装置の動作を説明する概略的
フローチャート図。
FIG. 10 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図11】図1に示す制御装置の動作を説明する概略的
フローチャート図。
FIG. 11 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図12】図1に示す制御装置の動作を説明する概略的
フローチャート図。
FIG. 12 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図13】図1に示す制御装置の動作を説明する概略的
フローチャート図。
FIG. 13 is a schematic flowchart illustrating the operation of the control device shown in FIG.

【図14】図1に示す制御装置の動作を説明するための
データの概略的模式図。
14 is a schematic diagram of data for explaining the operation of the control device shown in FIG.

【図15】従来の空気調和機の制御装置の概略的ブロッ
ク線図。
FIG. 15 is a schematic block diagram of a conventional air conditioner control device.

【図16】図15に示す制御装置の動作を説明する概略
的グラフ図。
16 is a schematic graph illustrating the operation of the control device shown in FIG.

【図17】図15に示す制御装置の動作を説明する概略
的グラフ図。
17 is a schematic graph illustrating the operation of the control device shown in FIG.

【符号の説明】[Explanation of symbols]

6 圧縮機モータ 7 インバータ回路(インバータ手段) 9,30 マイクロコンピュータ 9a ROM(内部の) 31 ROM(外部の) 6 Compressor motor 7 Inverter circuit (inverter means) 9,30 Microcomputer 9a ROM (internal) 31 ROM (external)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 少なくとも圧縮機の能力を可変可能とす
るインバータ手段を有し、前記インバータ手段および空
気調和機の室外機をマイクロコンピュータによって制御
する空気調和機の制御装置において、 少なくとも空気調和機の複数の機種に共通する制御プロ
グラムを前記マイクロコンピュータの内部の記憶手段に
記憶しているとともに、前記制御プログラムを実行する
に必要なデータのうち、少なくとも前記複数の機種毎に
異なるデータを前記マイクロコンピュータの外部の記憶
手段に記憶しており、前記マイクロコンピュータは前記
制御プログラムを実行する際に少なくとも前記外部の記
憶手段のデータを用いて前記インバータ手段および室外
機を制御することを特徴とする空気調和機の制御装置。
1. A control device for an air conditioner, which comprises at least inverter means for making variable the capacity of a compressor, and controls the inverter means and an outdoor unit of the air conditioner by a microcomputer. A control program common to a plurality of models is stored in a storage means inside the microcomputer, and at least data different for each of the plurality of models among the data necessary for executing the control program is stored in the microcomputer. Stored in an external storage means of the air conditioner, wherein the microcomputer controls the inverter means and the outdoor unit by using at least the data of the external storage means when executing the control program. Machine control device.
【請求項2】 前記外部の記憶手段には、前記圧縮機を
制御するための周波数のデータ、前記インバータ手段の
出力を制御するための出力電圧のデータ、種々機能の動
作に必要な時間のデータ、前記室外機の保護のための電
流のデータ、前記室外機の制御および保護のための温度
のデータ、室外機の使用部品の有無のデータのうちの少
なくとも1つあるいはそれらの組合せを記憶している請
求項1記載の空気調和機の制御装置。
2. The external storage means stores frequency data for controlling the compressor, output voltage data for controlling the output of the inverter means, and time data necessary for operating various functions. Storing at least one or a combination of current data for protection of the outdoor unit, temperature data for control and protection of the outdoor unit, and data of presence / absence of parts used in the outdoor unit. The control device for an air conditioner according to claim 1.
【請求項3】 前記外部の記憶手段に記憶されているデ
ータは、圧縮機を制御するための周波数コードに対する
周波数データ、周波数に対する出力電圧データ、起動周
波数データ、キャリア周波数データ、PWMのデットタ
イムデータおよび周波数制御に必要なデータと、電流制
御に必要なデータと、吐出温制御に必要なデータと、除
霜制御に必要なデータと、予熱制御に必要なデータと、
温度検出部品の有無のデータのうちの少なくとも1つあ
るいはそれらの組合せである請求項1および2記載の空
気調和機の制御装置。
3. The data stored in the external storage means is frequency data for a frequency code for controlling the compressor, output voltage data for the frequency, starting frequency data, carrier frequency data, and PWM dead time data. And data required for frequency control, data required for current control, data required for discharge temperature control, data required for defrost control, and data required for preheat control,
The control device for an air conditioner according to claim 1 or 2, which is at least one of the data on the presence or absence of the temperature detection component or a combination thereof.
JP6315484A 1994-11-25 1994-11-25 Control device for air conditioner Pending JPH08152180A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6315484A JPH08152180A (en) 1994-11-25 1994-11-25 Control device for air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6315484A JPH08152180A (en) 1994-11-25 1994-11-25 Control device for air conditioner

Publications (1)

Publication Number Publication Date
JPH08152180A true JPH08152180A (en) 1996-06-11

Family

ID=18065927

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6315484A Pending JPH08152180A (en) 1994-11-25 1994-11-25 Control device for air conditioner

Country Status (1)

Country Link
JP (1) JPH08152180A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114746703A (en) * 2019-11-26 2022-07-12 大金工业株式会社 Air conditioner management system
CN115950125A (en) * 2022-12-19 2023-04-11 珠海格力电器股份有限公司 Defrosting control method, refrigerating system and refrigerating equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225656A (en) * 1988-07-13 1990-01-29 Mitsubishi Electric Corp Control device for air conditioner
JPH05336797A (en) * 1992-05-29 1993-12-17 Mitsubishi Electric Corp Controlling equipment of air conditioner

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0225656A (en) * 1988-07-13 1990-01-29 Mitsubishi Electric Corp Control device for air conditioner
JPH05336797A (en) * 1992-05-29 1993-12-17 Mitsubishi Electric Corp Controlling equipment of air conditioner

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114746703A (en) * 2019-11-26 2022-07-12 大金工业株式会社 Air conditioner management system
US11639807B2 (en) 2019-11-26 2023-05-02 Daikin Industries, Ltd. Air conditioning management system
CN115950125A (en) * 2022-12-19 2023-04-11 珠海格力电器股份有限公司 Defrosting control method, refrigerating system and refrigerating equipment

Similar Documents

Publication Publication Date Title
EP0620631B1 (en) Management system for domestic electric loads
US5133302A (en) Electric motor fan control system for vehicle
KR920001096B1 (en) Air conditioner
GB2257310A (en) Inverter controlled air conditioner capable of effectively reducing in-rush current at starting
JP2002061925A (en) Air conditioner
JPS60142140A (en) Air conditioner
EP0500141B1 (en) Electric control apparatus for ice making machine
EP0666457A1 (en) Electronic defrost controller with fan delay and drip time modes
JPH08178447A (en) Multi-room split type air conditioner
EP0427486B1 (en) Air conditioner apparatus
JPH08152180A (en) Control device for air conditioner
WO2000060731A1 (en) Method and apparatus for controlling a compressor
US4840220A (en) Heat pump with electrically heated heat accumulator
EP1238236B1 (en) A system and a method of automatic defrost for a refrigeration appliance
JP2000121135A (en) Controller for air conditioner
JPH07190458A (en) Indoor/outdoor unit separate type air conditioner
CN1129307A (en) Air conditioner
JPS63286643A (en) Air-conditioning machine
KR20010037408A (en) Method for fan control in inverter air conditioner
JPH062918A (en) Controller for air conditioner
JP4504504B2 (en) Multi air conditioner
JP2003034132A (en) Air conditioning system for electric car
JP2002181366A (en) Control method for air conditioner
JPH09152169A (en) Multi-type air conditioner
JPH06317345A (en) Air-conditioning equipment

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20010704