JP2021071227A - Air conditioner - Google Patents
Air conditioner Download PDFInfo
- Publication number
- JP2021071227A JP2021071227A JP2019197749A JP2019197749A JP2021071227A JP 2021071227 A JP2021071227 A JP 2021071227A JP 2019197749 A JP2019197749 A JP 2019197749A JP 2019197749 A JP2019197749 A JP 2019197749A JP 2021071227 A JP2021071227 A JP 2021071227A
- Authority
- JP
- Japan
- Prior art keywords
- unit
- temperature
- data
- temperature data
- inspection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000007689 inspection Methods 0.000 claims abstract description 73
- 238000004891 communication Methods 0.000 claims abstract description 52
- 238000013500 data storage Methods 0.000 abstract description 13
- 238000000034 method Methods 0.000 description 24
- 238000001514 detection method Methods 0.000 description 22
- 230000002159 abnormal effect Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 7
- 101000741965 Homo sapiens Inactive tyrosine-protein kinase PRAG1 Proteins 0.000 description 3
- 102100038659 Inactive tyrosine-protein kinase PRAG1 Human genes 0.000 description 3
- 238000004378 air conditioning Methods 0.000 description 3
- 230000005856 abnormality Effects 0.000 description 2
- 238000012935 Averaging Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012804 iterative process Methods 0.000 description 1
- 239000003507 refrigerant Substances 0.000 description 1
Images
Landscapes
- Air Conditioning Control Device (AREA)
Abstract
Description
本発明は、室内の表面温度を検出する温度センサユニットを備えた空気調和機に係わり、より詳細には、誤り検出機能が無いシリアル通信方式を用いて温度センサユニットに対して所定のデータを送信した場合、温度センサユニット側で正しく受信したか否かを送信側で判断する機能に関する。 The present invention relates to an air conditioner provided with a temperature sensor unit for detecting the surface temperature in a room, and more specifically, transmits predetermined data to the temperature sensor unit using a serial communication method having no error detection function. If so, the present invention relates to a function of determining whether or not the temperature sensor unit has correctly received the data.
従来の空気調和機は、室内の表面温度を複数の区画に分割し、それぞれの区画の温度を検出する赤外線センサであるサーモパイルユニットを室内機の前面に搭載しているものがある(例えば、特許文献1参照。)。この室内機は検出した各区画の温度に基づいて室内を最適な温度で空調するようにしている。このサーモパイルユニットと室内機を制御する室内機制御部は、安価で手軽である一方、一般的にノイズに弱いとされているIIC (Inter Integrated Circuit)バスにより接続されている。このようなサーモパイルユニットは単機能のデバイスであり、通信機能にチェックサム方式などの誤り検出機能を備えていない。このため、この通信線にノイズが混入して温度データに誤りが発生した場合、意図しない温度データにより空調運転を行うおそれがあった。
Some conventional air conditioners have a thermopile unit, which is an infrared sensor that divides the indoor surface temperature into a plurality of compartments and detects the temperature of each compartment, mounted on the front surface of the indoor unit (for example, a patent). See
図7(1)に示すサーモパイルユニット80のサーモパイル82は、温度検出範囲を、縦5区画、横5区画で合計25ブロックに分割して個々のブロック毎に1つの温度検出素子を用いて温度を検出することができる。そしてこのサーモパイル82は、この検出素子0〜検出素子25で検出した温度データを温度記憶部81に格納している。なお、検出素子0は図示しない補償用温度検出器(サーモパイル82自身の温度を検出)を示している。
The
温度記憶部81は52個の8ビットのレジスタで構成されている。また、サーモパイル82で検出された温度データの値は16ビットであるため、隣接する8ビットのレジスタを2個使用してこの温度データが格納されている。レジスタには順にアドレス(レジスタアドレス)が付与されている。以降、レジスタアドレスと温度データに関しては16進数で表記する。
The
このレジスタアドレスは例えば素子0から素子25に対応して、02,03、04、05・・・・35となっている。このレジスタアドレスに素子0と対応する温度データと、素子1〜素子25で検出された温度データが、それぞれ上位桁、下位桁で合計2バイトの値としてアドレスレジスタ内に格納されている。
This register address is, for example, 02, 03, 04, 05 ... 35 corresponding to the
一方、図7(1)に示すサーモパイルユニット80に対して、図7(2)に示すようにサーモパイルの温度検出可能な温度検出素子の数を減らしたものがある。
図7(2)に示すサーモパイルユニット2のサーモパイル22は、温度検出範囲を、縦4区画、横4区画で合計16ブロックに分割して個々のブロック毎に1つの温度検出素子を用いて温度を検出することができる。そしてこのサーモパイル22は、この検出した各ブロックの温度データを温度記憶部21に格納している。なお、サーモパイル22の素子番号は素子1〜素子16であり、対応する温度記憶部21の図ではこの素子番号を割り当てて表記している。
On the other hand, as shown in FIG. 7 (2), the number of temperature detecting elements capable of detecting the temperature of the thermopile is reduced with respect to the
The
温度記憶部21は、サーモパイルユニット80と同様に52個の8ビットのレジスタで構成されている。また、サーモパイル22で検出された温度データの値は16ビットであるため、隣接する8ビットのレジスタを2個使用してこの温度データが格納されている。この温度記憶部21は、温度記憶部81と同じ構成であり、使用しない温度検出素子と対応したレジスタアドレスが未使用となっている。
The
この未使用のレジスタアドレスに格納される温度データは、サーモパイルユニット2が検出可能な温度の範囲外のデータ値である無効温度データである。この無効温度データは、例えば0000やFFFFの値であり、サーモパイル22で検出可能な温度範囲である0044〜03FF、実際の温度換算で-20℃〜+120℃の範囲外の値となっている。この無効温度データは、アドレスレジスタの04と05、0Eと0F、18と19、22と23、2C〜35にそれぞれ予め固定値として格納されている。サーモパイル22で検出された素子1〜素子16までの温度データは前述した無効温度データが格納されている以外のレジスタに順次格納されている。
The temperature data stored in this unused register address is invalid temperature data which is a data value outside the temperature range that can be detected by the
このようなサーモパイルユニット80やサーモパイルユニット2は、全てのレジスタのうち必要なレジスタを先頭として、ここから連続的に温度データを読み出すようになっている。このため、温度記憶部に格納された温度データを読み出す図示しない室内機制御部は、最初に読出す先頭のレジスタを示す値である開始レジスタアドレスをサーモパイルユニットに指定する。サーモパイルユニットは、この指定された開始レジスタアドレスで示されるレジスタを先頭として連続的に温度データを室内機制御ユニットへ送信するようになっている。
Such a
しかしながら、前述したようにサーモパイルユニットは誤り検出機能を備えていない。このため、室内機制御ユニット側からサーモパイルユニット側に送信した開始レジスタアドレスがノイズにより誤ったレジスタを示す値となっても、室内機制御ユニットはそれを判定することができない問題があった。 However, as described above, the thermopile unit does not have an error detection function. Therefore, even if the start register address transmitted from the indoor unit control unit side to the thermopile unit side becomes a value indicating an erroneous register due to noise, there is a problem that the indoor unit control unit cannot determine it.
本発明は以上述べた問題点を解決し、複数の温度データを検出して室内機制御ユニットへ送信するセンサユニットに通信データの誤り検出機能が備えられていない場合であっても、室内機制御ユニットがセンサユニットに送信した温度データを連続的に読み出すための開始アドレスを正しくセンサユニットが受信したか否かを判定することを目的とする。 The present invention solves the above-mentioned problems and controls the indoor unit even when the sensor unit that detects a plurality of temperature data and transmits the temperature data to the indoor unit control unit does not have an error detection function for communication data. The purpose is to determine whether or not the sensor unit has correctly received the start address for continuously reading the temperature data transmitted by the unit to the sensor unit.
本発明は上述の課題を解決するため、
室内の温度を検出するセンサユニットと、
同センサユニットと通信接続された室内機制御ユニットとを有する室内機を備えた空気調和機において、
前記センサユニットは、複数の温度検出素子を有し前記室内の複数の温度を検出するセンサ部と、温度データを記憶する温度記憶部と、前記室内機制御ユニットからの指示を受け付けて、前記温度記憶部に記憶した前記温度データを前記室内機制御ユニットへ送信する管理部とを備え、
前記温度記憶部は、前記センサ部が検出した有効温度データと、
前記センサユニットが検出可能な温度範囲外の温度データである無効温度データとを温度データとして所定の順番で並ぶアドレスに関連付けて格納し、
前記室内機制御ユニットは、前記温度記憶部に格納された前記温度データを連続的に読み出すために、前記温度記憶部に対して先頭として読み出す前記温度データに関連付けられたアドレスを前記管理部へ送信した場合、
前記管理部から読み出された前記無効温度データが前記所定の順番に基づく順番で受信できない場合、前記送信したアドレスが正しく前記管理部で受信出来ない通信エラーと判定するアドレス検査手段を備えたことを特徴とする。
In order to solve the above-mentioned problems, the present invention
A sensor unit that detects the temperature in the room and
In an air conditioner equipped with an indoor unit having the sensor unit and an indoor unit control unit connected by communication.
The sensor unit has a plurality of temperature detecting elements, a sensor unit that detects a plurality of temperatures in the room, a temperature storage unit that stores temperature data, and receives an instruction from the indoor unit control unit to receive the temperature. It is provided with a management unit that transmits the temperature data stored in the storage unit to the indoor unit control unit.
The temperature storage unit contains the effective temperature data detected by the sensor unit and
Invalid temperature data, which is temperature data outside the temperature range that can be detected by the sensor unit, is stored as temperature data in association with addresses arranged in a predetermined order.
In order to continuously read the temperature data stored in the temperature storage unit, the indoor unit control unit transmits an address associated with the temperature data to be read as the head to the temperature storage unit to the management unit. if you did this,
When the invalid temperature data read from the management unit cannot be received in the order based on the predetermined order, an address inspection means for determining that the transmitted address cannot be correctly received by the management unit is provided. It is characterized by.
以上の手段を用いることにより、本発明による空気調和機によれば、本発明は、複数の温度データを検出して室内機制御ユニットへ送信するセンサユニットに通信データの誤り検出機能が備えられていない場合であっても、室内機制御ユニットがセンサユニットに送信した温度データを連続的に読み出すための開始アドレスを正しくセンサユニットが受信したか否かを判定することができる。 According to the air conditioner according to the present invention by using the above means, the present invention is provided with a communication data error detection function in the sensor unit that detects a plurality of temperature data and transmits them to the indoor unit control unit. Even if this is not the case, it is possible to determine whether or not the sensor unit has correctly received the start address for continuously reading the temperature data transmitted by the indoor unit control unit to the sensor unit.
以下、本発明の実施の形態を、添付図面に基づいた実施例として詳細に説明する。なお、本発明と直接関係ない冷媒回路やファンモータなどの図示と説明を省略する。 Hereinafter, embodiments of the present invention will be described in detail as examples based on the accompanying drawings. The illustration and description of the refrigerant circuit, fan motor, etc., which are not directly related to the present invention, will be omitted.
[室内機の説明]
図1は本発明による空気調和機1の室内機10の実施例を示す斜視図である。
室内機10は横長の箱体であり、室内機10の前方右下から斜め上を見上げた状態を示している。室内機10の前面には前方に向かって湾曲した前面パネル5が、室内機10の下面には水平風向板3が、室内機10の左右側面には側面から吸い込んだ空気を前方に送風するファンユニット4が、それぞれ備えられている。また、室内機10の前方下方の左右の中間位置に、室内の温度を検出するセンサユニットであるサーモパイルユニット2が備えられている。このサーモパイルユニット2は室内の温度として、室内の床面や壁面の表面温度を検出する。また、室内機10の内部には室内機制御ユニット6が配置されており、サーモパイルユニット2と通信接続されている。
[Explanation of indoor unit]
FIG. 1 is a perspective view showing an embodiment of the
The
[サーモパイルユニットの説明]
図2は本発明で使用するサーモパイルユニット2と室内機制御ユニット6の内部を示すブロック図である。なお、以後説明するレジスタアドレスと温度データは全て16進数で表記している。なお、サーモパイルユニット2は背景技術で説明した図7(2)のものと同じである。
[Explanation of thermopile unit]
FIG. 2 is a block diagram showing the inside of the
サーモパイルユニット2は、温度検出範囲を、縦4区画、横4区画で合計16ブロックに分割して個々のブロック毎に1つの温度検出素子を用いて温度を検出するサーモパイル(センサ部)22と、サーモパイル22で検出した各ブロックの温度を2バイトのデータとして格納する温度記憶部21と、温度記憶部21に格納した温度データをIIC (Inter Integrated Circuit)バスを用いて室内機制御ユニット6へシリアル通信方式で送信する管理部23と、IICのプロトコルで規定されたデバイスを区別する固有のアドレス(子機ID)を記憶した子機ID記憶部24と、サーモパイル22自体の温度を検出する補償用温度検出器25を備えている。
The
温度記憶部21は、52個の8ビットのレジスタで構成されている。また、サーモパイル22の温度検出素子である素子1〜素子16で検出された温度データと、素子0で示される補償用温度検出器25で検出された温度データの値は16ビットであるため、隣接する8ビットのレジスタを2個使用してこれらの温度データが格納されている。以下、これらの温度データを有効温度データと呼称する。この温度記憶部21のレジスタアドレスは、例えば素子0から素子16に対応して所定の順番で並んでおり、02,03、04、05・・・・35となっている。なお、背景技術で説明した図7(1)のサーモパイルユニット80で使用しない温度検出素子と対応したレジスタ(素子名に「―」が表示さされているレジスタ)は未使用となっている。
The
この未使用のレジスタに格納される温度データは、サーモパイルユニット2が検出可能な温度の範囲外のデータ値である無効温度データである。この無効温度データは、例えば0000やFFFFの値であり、サーモパイル22で検出可能な温度範囲である0044〜03FF、実際の温度換算で-20℃〜+120℃の範囲外の値となっている。この無効温度データはアドレスの04と05、0Eと0F、18と19、22と23、2C〜35の所定の順番で並ぶレジスタアドレスで示されるレジスタに関連付けられてそれぞれ予め固定値として格納されている。サーモパイル22で検出された素子1〜素子16までの有効温度データは前述した無効温度データが格納されている以外のレジスタに各々のレジスタアドレスと関連付けて格納されている。なお、有効温度データと無効温度データを合わせて温度データと呼ぶ場合がある。
このように温度記憶部21は、有効温度データと無効温度データを温度データとして所定の順番で並ぶアドレスに関連付けて格納している。
The temperature data stored in this unused register is invalid temperature data which is a data value outside the temperature range that can be detected by the
In this way, the
[室内機制御ユニットの説明]
室内機制御ユニット6は、例えばマイコンからなる室内機制御部61と、記憶部62と、通信データ検査部70と、クロック信号用の通信線8の電圧をプルアップする抵抗64と、データ用の通信線9の電圧をプルアップする抵抗63を備えている。
[Explanation of indoor unit control unit]
The indoor
室内機制御部61は、室内機10全体の制御を行うと共に、サーモパイルユニット2との通信制御も行う。室内機制御部61は、サーモパイルユニット2から受信した有効温度データや無効温度データと、受信データを検査するための検査条件を通信データ検査部70に出力する。一方、通信データ検査部70は受信データの検査結果を室内機制御部61へ出力する。室内機制御部61はこの検査結果が異常(通信エラー)の場合、再度通信をやり直すリトライ処理を実行する。
The indoor unit control unit 61 controls the entire
[通信データ検査部の説明]
図3は通信データ検査部70の内部を示すブロック図である。
通信データ検査部70は、検査条件を記憶する検査条件記憶部74と、受信データを検査するための比較データ記憶部72と、受信データを一時的に保管する受信データ保管部73と、レジスタアドレスを検査するレジスタアドレス検査部(アドレス検査手段)71と、温度データを検査する温度データ検査部(温度データ検査手段)75を備えている。
[Explanation of Communication Data Inspection Department]
FIG. 3 is a block diagram showing the inside of the communication
The communication
室内機制御部61は、サーモパイルユニット2の温度記憶部21に記憶された温度データを読み出す場合、開始レジスタアドレスをサーモパイルユニット2の管理部23へ送信し、読み出したいデータの個数だけ受信を連続的に行う。これを詳細に説明すると、室内機制御部61は1バイトの温度データを受信した直後にACKを管理部23へ送信する。すると、これに対応して管理部23は1バイトの温度データを送信する。室内機制御部61は、読み出したい温度データの個数だけこの手順を繰り返す。なお、この通信手順に関しては後で詳細に説明する。
一方、室内機制御部61は、この時に使用する開始レジスタアドレスとデータの個数を検査条件として通信データ検査部70へ出力する。
When reading the temperature data stored in the
On the other hand, the indoor unit control unit 61 outputs the start register address and the number of data used at this time to the communication
通信データ検査部70は、この検査条件が入力されると、これを検査条件記憶部74に記憶する。例えば図3では開始レジスタアドレスが06、読み出すデータの個数が10個である。検査条件記憶部74は、この記憶した検査条件をレジスタアドレス検査部71と温度データ検査部75へ出力する。一方、室内機制御部61は読み出した(受信した)温度データを記憶部62へ記憶する一方、通信データ検査部70へ出力する。受信データ保管部73はこの入力された受信データを一時的に格納する。
When this inspection condition is input, the communication
比較データ記憶部72は、レジスタアドレス02〜2Dに対応して無効温度データである0000の値が事前に所定のレジスタアドレスのレジスタに格納されている。つまり、サーモパイルユニット2から温度データが正常に受信できた場合、かならず所定のレジスタアドレスと対応する温度データは無効温度データである0000に、また、その他のレジスタアドレスと対応する温度データは有効温度データである0044〜03FFの範囲の値になっている。
The comparison
このため、レジスタアドレス検査部71は無効温度データが格納されているべき所定の順番のレジスタアドレスの温度データが無効温度データである場合を「正常」と判定し、無効温度データが格納されているべき所定の順番のレジスタアドレスの温度データが有効温度データである場合を「異常」と判定する。
このように、レジスタアドレス検査部71は、管理部23から読み出された無効温度データが所定の順番(レジスタアドレスの順番)に基づく順番で受信できない場合に、「異常」と判定する。
Therefore, the register
In this way, the register
一方、温度データ検査部75はその他のレジスタアドレスに格納された温度データの値が有効温度データの範囲内である場合を「正常」と判定し、その他のレジスタアドレスに格納された温度データの値が1つでも無効温度データである場合を「異常」と判定する。
そしてそれぞれの検査部は、この検査結果を「正常/異常」としてそれぞれ出力する。なお、「異常」の場合が通信エラーとなる。なお、レジスタアドレス検査部71の検査方法については後で詳細に説明する。
On the other hand, the temperature
Then, each inspection unit outputs this inspection result as "normal / abnormal". If it is "abnormal", a communication error will occur. The inspection method of the register
このように、通信データ検査部70は受信したデータのみで受信データの正常/異常を判定できるため、データの誤り検出手段がないセンサユニットであっても受信後に通信エラーの検査が可能である。
In this way, since the communication
[データ通信の手順説明]
図4は親機となる室内機制御ユニット6と、子機となるサーモパイルユニット2の通信手順を示す説明図である。
図4において縦方向は上から下に向かって時間の経過を示している。横の項目は室内機制御ユニット6(親機)と、サーモパイルユニット2(子機)と、親機側でのエラー対処方法をそれぞれ示している。なお、図4内のかっこ付き数字は処理の順番を示している。また、図4ではIIC (Inter Integrated Circuit)における通信手順に従って説明する。なお、サーモパイルユニット2(子機)の子機IDは16進数で「3C」である。
[Explanation of data communication procedure]
FIG. 4 is an explanatory diagram showing a communication procedure between the indoor
In FIG. 4, the vertical direction shows the passage of time from top to bottom. The items on the side show the indoor unit control unit 6 (master unit), the thermopile unit 2 (slave unit), and the error handling method on the master unit side, respectively. The numbers in parentheses in FIG. 4 indicate the order of processing. Further, in FIG. 4, a communication procedure in IIC (Inter Integrated Circuit) will be described. The slave unit ID of the thermopile unit 2 (slave unit) is "3C" in hexadecimal.
(1)親機はスタートコンディションを送信する。(2)これを検知した子機側は受信準備を行う。(3)親機は子機IDを送信する。(4)これを受信した子機(サーモパイルユニット2)はそれが自分の子機IDであるか否かを、子機ID記憶部24に格納されている値と比較して確認する。(5)子機はそれが自分の子機IDであるためACKを送信する。子機は自分の子機IDでない場合は無応答とし、自分の子機IDであるが自身がビジー状態など対応が不可能な場合はNACKを送信する。このため、親機はACKが来るまで上記動作を3回繰り返す。
(1) The master unit transmits the start condition. (2) The slave unit that detects this prepares for reception. (3) The master unit transmits the slave unit ID. (4) The slave unit (thermopile unit 2) that has received this confirms whether or not it is its own slave unit ID by comparing it with the value stored in the slave unit
(6)ACKを受信した親機は、読み出したいデータの先頭を示すレジスタアドレス(開始レジスタアドレス)を準備する。例えば素子1から10バイトのデータを読み出したい場合、開始レジスタアドレスとして06を準備する。(7)親機はこの開始レジスタアドレスを子機へ送信する。(8)子機はこの開始レジスタアドレスを受信する。(9)子機の管理部23はこの開始レジスタアドレスの値を保持した後、ACKを送信する。このため、親機はACKが来るまで上記動作のリトライを繰り返す。ただし、子機はここでは何かのデータを受信したらACKを送信するだけであり、必ずしも親機が送信したデータと同じものを受信しているとは限らない。つまり、開始レジスタアドレスの値はこの時点で検査が不可能である。
(6) The master unit that receives the ACK prepares a register address (start register address) indicating the beginning of the data to be read. For example, when it is desired to read 10 bytes of data from
(10)ACKを受信した親機はこれを確認する。(11)親機はリピートスタートコンディションを送信する。(12)これを受信した子機は繰り返し処理の準備を行う。(13)親機はデータを読み出す子機IDと、親機における受信状態開始の通知を送信する。(14)これを受信した子機は自分の子機IDか否かを確認する。(15)子機は自分の子機IDであるためACKを送信する。子機は自分の子機IDでない場合は無応答とし、対応が不可能な場合はNACKを送信する。このため、親機はACKが来るまで上記動作をリトライする。 (10) The master unit that receives the ACK confirms this. (11) The master unit transmits a repeat start condition. (12) The slave unit that receives this prepares for the iterative process. (13) The master unit transmits a slave unit ID for reading data and a notification of the start of the reception state in the master unit. (14) The handset that receives this confirms whether or not it is its own handset ID. (15) Since the slave unit is its own slave unit ID, ACK is transmitted. If the handset is not its own handset ID, it will not respond, and if it cannot be handled, NACK will be sent. Therefore, the master unit retries the above operation until ACK arrives.
(16)ACKを受信した親機は受信データの格納準備を行う。(17)子機は前回受信した開始レジスタアドレスで示されるデータを第1温度データの上位桁として送信する。(18)親機はこの第1温度データを受信する。(19)親機は第1温度データの上位桁を記憶部62に格納する。次に親機はACKを送信する。親機はここでは何かのデータを受信したらACKを送信するだけであり、必ずしも子機が送信したデータと同じものを受信しているとは限らない。
(16) The master unit that has received the ACK prepares to store the received data. (17) The slave unit transmits the data indicated by the previously received start register address as the upper digit of the first temperature data. (18) The master unit receives this first temperature data. (19) The master unit stores the upper digit of the first temperature data in the
(20)ACKを受信した子機は第1温度データの下位桁を準備する。これは開始レジスタアドレスの次のアドレスで示されるデータを意味する。(21)子機は第1温度データの下位桁を送信する。(22)親機はこれを受信する。(23)親機は第1温度データの下位桁を記憶部62に格納する。親機はこの受信データも正しいか否かの検査は行っていない。次に親機はACKを送信する。(24)ACKを受信した子機は第2温度データの上位桁を準備する。以降、同様に親機は温度データの受信を繰り返す。
(20) The slave unit that has received the ACK prepares the lower digit of the first temperature data. This means the data indicated by the address following the start register address. (21) The slave unit transmits the lower digit of the first temperature data. (22) The master unit receives this. (23) The master unit stores the lower digit of the first temperature data in the
(25)子機は第10温度データの下位桁を送信する。(26)親機は第10温度データの下位桁を受信する。(27)親機は第10温度データの下位桁を記憶部62に格納する。親機は受信するデータの個数を管理しており、データを必要な個数、ここでは10個のデータを受信したら親機はNACKを送信する。(28)これを受信した子機は処理を完了する。
(25) The slave unit transmits the lower digit of the 10th temperature data. (26) The master unit receives the lower digit of the 10th temperature data. (27) The master unit stores the lower digit of the tenth temperature data in the
[開始レジスタアドレスの検査]
(29)親機は上記の通信でデータの内容が正しく送受信されたか否かを検査するため、通信データ検査部70へ検査条件と受信データを出力する。検査条件は今回検査の対象となる受信データの先頭を示す開始レジスタアドレス:06とデータ個数:10である。受信データは記憶部62に今回格納したデータである。
[Check start register address]
(29) The master unit outputs the inspection conditions and the received data to the communication
通信データ検査部70は図3に示すように、この検査条件を検査条件記憶部74に、受信データを受信データ保管部73にそれぞれ記憶する。比較データ記憶部72には所定のレジスタアドレスのレジスタに無効温度データ:0000が格納されている。これは図2で示す温度記憶部21と同じ構成である、ただし、温度データは格納されていない。
As shown in FIG. 3, the communication
レジスタアドレス検査部71は、検査条件記憶部74に記憶されている条件を用いて比較データ記憶部72内の無効温度データ:0000が格納されているレジスタアドレス(所定のレジスタアドレス)を検出する。検索条件の開始レジスタアドレス:06とデータ個数:10で示される今回の受信範囲はレジスタアドレス:06〜0Fであるため、レジスタアドレス検査部71は、比較データ記憶部72内で検索した結果、レジスタアドレスの0Eと0Fで無効温度データ:0000を抽出する。
The register
このためレジスタアドレス検査部71は、受信データ保管部73のレジスタアドレスの0Eと0Fと対応するレジスタに無効温度データ:0000が格納されていれば今回の通信におけるレジスタアドレスの値は誤りがないと判断する。もしレジスタアドレスの値が誤った値であれば、0Eと0Fに無効温度データ:0000以外の値が入ることになるため誤りを検出できる。
レジスタアドレス検査部71は、検査した結果(正常又は異常)を室内機制御部61へ出力する。室内機制御部61は、この結果が異常の場合には再度、温度データを受信するリトライ処理を実行する。
Therefore, if the register
The register
[温度データ値の検査]
(30)親機の温度データ検査部75は、前述したように検査条件から無効温度データのレジスタアドレスを抽出する。従ってこれ以外のレジスタアドレスが有効温度データを格納しているレジスタアドレスであるため、温度データ検査部75は、レジスタアドレス:06〜0Dの温度データを確認し、温度データの値が異常な値でないかを検査する。つまり、温度データ検査部75は、各温度データが取りうる温度範囲;0044〜03FFの範囲に入っていれば正常、範囲外であれば異常として検査結果を出力する。この結果により異常の場合に親機は再度、温度データを受信するリトライ処理を実行する。
なお、ノイズが多い場合はリトライ回数が増加して通信処理に時間がかかり、空調制御に支障が出る場合もある。このような場合、ここでのリトライ処理を行わないで次に説明する複数温度データの平均値化処理を実行するようにしてもよい。
[Inspection of temperature data value]
(30) The temperature
If there is a lot of noise, the number of retries increases and communication processing takes time, which may interfere with air conditioning control. In such a case, the averaging process of the plurality of temperature data described below may be executed without performing the retry process here.
[複数温度データの平均値化]
(31)親機の室内機制御部61は、サーモパイルユニット2から16素子の全ての温度データの受信を5回連続して実行し、記憶部62へそれぞれ別に記憶する。これらの温度データの中にはノイズによりデータの値が大きく狂ったものは通信データ検査部70により異常データとして排除されている。しかし、例えば数十℃だけ狂ったデータは排除されないので、そのまま空調制御に使用すると意図しない室温管理になってしまう場合がある。
[Average value of multiple temperature data]
(31) The indoor unit control unit 61 of the master unit executes the reception of all the temperature data of the 16 elements from the
このため、室内機制御部61は、連続して検出した5回分の温度データにおけるサーモパイル22の1つの温度検出素子に関して、5回連続で受信した温度データのうち、値の大きさ順に並べた中央の3値の平均値を実際に使用する温度データとしている。室内機制御部61は、これを全ての温度検出素子ごとに実行する。これにより、現在の室温に対して極端な値の温度データを排除することができる。
Therefore, the indoor unit control unit 61 arranges the temperature data received five times in a row in the order of the magnitude of the values of one temperature detection element of the
[レジスタアドレスの誤り検出方法の詳細説明]
図5は本発明によるレジスタアドレスの誤り検出方法を説明する説明図である。
図5の表はサーモパイルユニット2(子機)内の温度記憶部21を示している。室内機制御ユニット6(親機)は、サーモパイルユニット2(子機)内の温度記憶部21からデータを読み出す場合に複数のブロックに分割して読み出す。これは読出しに時間がかかるため、全てのデータを読み出してからエラーの検査を行ってエラーを検出した場合、全てのデータの再読み込みになるため時間がかかるからである。小さなブロックであればエラー時の再読出しの時間を短縮できる。
[Detailed explanation of register address error detection method]
FIG. 5 is an explanatory diagram illustrating a method for detecting an error in a register address according to the present invention.
The table of FIG. 5 shows the
このため図5ではレジスタアドレス02〜05、06〜0F、10〜19、1A〜23、24〜2Dの5つのブロックに分割している。この各ブロック内には1つの無効温度データを格納する所定のレジスタアドレスを含むようにしている。 Therefore, in FIG. 5, the register addresses are divided into five blocks of 02 to 05, 06 to 0F, 10 to 19, 1A to 23, and 24 to 2D. Each block contains a predetermined register address for storing one invalid temperature data.
ここで親機がレジスタアドレス:10から10個のデータを読み出す場合、図4の(7)でレジスタアドレス:10を子機へ送信した時、ノイズにより10が1Eに変化した場合、実際に読み出されるデータはレジスタアドレス:1Eから10個となり、全く無関係なデータを受信することになる。レジスタアドレス検査部71は読み出したデータの内、最後の2バイトが無効温度データ:0000でなく、0171なので異常と判断することができる。また、温度データ検査部75は、有効温度データが格納されるべきレジスタに無効温度データ:0000があるため、異常と判断することができる。
Here, when the master unit reads 10 data from the register address: 10, when the register address: 10 is transmitted to the slave unit in (7) of FIG. 4, if 10 changes to 1E due to noise, it is actually read. The number of data to be received is 10 from the register address: 1E, and completely unrelated data will be received. The register
[レジスタアドレスの別の読出し方法]
図6は温度データの別の読出し方法を説明する説明図である。
図6の表はサーモパイルユニット2(子機)内の温度記憶部21を示している。室内機制御ユニット6(親機)は、温度記憶部21からデータを読み出す場合に複数のブロックに分割して読み出す。図6ではレジスタアドレス02〜11、12〜1F、20〜2Dの3つのブロックに分割している。この各ブロック内には少なくとも1つの無効温度データを格納する所定のレジスタアドレスを含むようにしている。
[Another method of reading the register address]
FIG. 6 is an explanatory diagram illustrating another method of reading temperature data.
The table of FIG. 6 shows the
このように1つのブロックにおいて、少なくとも1つの無効温度データを固定したレジスタアドレスに格納することにより、複数の温度データを任意のブロック数に分割して読み出しても前述したような効果を得ることができる。 By storing at least one invalid temperature data in a fixed register address in one block in this way, it is possible to obtain the above-mentioned effect even if a plurality of temperature data are divided into an arbitrary number of blocks and read out. it can.
以上説明したように、室内機10に備えられて複数の温度データを検出して室内機制御ユニット6へ送信するサーモパイルユニット2に通信データの誤り検出機能が備えられていない場合であっても、室内機10側の通信データ検査部70で通信データの誤りを検出することができるため、通信データの信頼性を向上させることができる。
As described above, even when the
なお本実施例では無効温度データをすべて0000の値に統一しているが、これに限るものでなく、0001,0002,0003・・・・のように異なる値にすれば、レジスタアドレスがノイズにより変化した時、偶然に他のレジスタアドレスの無効温度データが格納された所定のレジスタアドレスに変化したとしても区別が可能なため、検出精度をさらに向上させることができる。
また、本実施例ではIIC (Inter Integrated Circuit)を用いたデータ送受信プロトコルを説明しているが、これに限るものでなく、通信データの誤り検出機能を備えていない通信方式であればどの様な通信方式であってもよい。
In this embodiment, all the invalid temperature data are unified to a value of 0000, but the present invention is not limited to this, and if different values such as 0001, 0002, 0003, ... When it changes, even if it accidentally changes to a predetermined register address in which invalid temperature data of another register address is stored, it can be distinguished, so that the detection accuracy can be further improved.
Further, in this embodiment, a data transmission / reception protocol using IIC (Inter Integrated Circuit) is described, but the present invention is not limited to this, and any communication method does not have an error detection function for communication data. It may be a communication method.
また、本実施例では全温度データのうち部分的に受信してエラー検査を行っているが、これに限るものでなく、全温度データを受信した後、エラー検査を行うようにしてもよい。
また、本実施例では通信データ検査部をハードウェアとして説明しているが、これに限るものでなく、ソフトウェアで実現してもよい。
Further, in this embodiment, the error inspection is performed by partially receiving the total temperature data, but the present invention is not limited to this, and the error inspection may be performed after receiving the total temperature data.
Further, in this embodiment, the communication data inspection unit is described as hardware, but the present invention is not limited to this, and may be realized by software.
1 空気調和機
2 サーモパイルユニット(センサユニット)
3 水平風向板
4 ファンユニット
5 前面パネル
6 室内機制御ユニット
8 通信線
9 通信線
10 室内機
21 温度記憶部
22 サーモパイル(センサ部)
23 管理部
24 子機ID記憶部
25 補償用温度検出器
61 室内機制御部
62 記憶部
63 抵抗
64 抵抗
70 通信データ検査部(通信データ検査手段)
71 レジスタアドレス検査部(アドレス検査手段)
72 比較データ記憶部
73 受信データ保管部
74 検査条件記憶部
75 温度データ検査部(温度データ検査手段)
1
3 Horizontal
23
71 Register address inspection unit (address inspection means)
72 Comparison
Claims (2)
同センサユニットと通信接続された室内機制御ユニットとを有する室内機を備えた空気調和機において、
前記センサユニットは、複数の温度検出素子を有し前記室内の複数の温度を検出するセンサ部と、温度データを記憶する温度記憶部と、前記室内機制御ユニットからの指示を受け付けて、前記温度記憶部に記憶した前記温度データを前記室内機制御ユニットへ送信する管理部とを備え、
前記温度記憶部は、前記センサ部が検出した有効温度データと、
前記センサユニットが検出可能な温度範囲外の温度データである無効温度データとを温度データとして所定の順番で並ぶアドレスに関連付けて格納し、
前記室内機制御ユニットは、前記温度記憶部に格納された前記温度データを連続的に読み出すために、前記温度記憶部に対して先頭として読み出す前記温度データに関連付けられたアドレスを前記管理部へ送信した場合、
前記管理部から読み出された前記無効温度データが前記所定の順番に基づく順番で受信できない場合、前記送信したアドレスが正しく前記管理部で受信出来ない通信エラーと判定するアドレス検査手段を備えたことを特徴とする空気調和機。 A sensor unit that detects the temperature in the room and
In an air conditioner equipped with an indoor unit having the sensor unit and an indoor unit control unit connected by communication.
The sensor unit has a plurality of temperature detecting elements, a sensor unit that detects a plurality of temperatures in the room, a temperature storage unit that stores temperature data, and receives an instruction from the indoor unit control unit to receive the temperature. It is provided with a management unit that transmits the temperature data stored in the storage unit to the indoor unit control unit.
The temperature storage unit contains the effective temperature data detected by the sensor unit and
Invalid temperature data, which is temperature data outside the temperature range that can be detected by the sensor unit, is stored as temperature data in association with addresses arranged in a predetermined order.
In order to continuously read the temperature data stored in the temperature storage unit, the indoor unit control unit transmits an address associated with the temperature data to be read as the head to the temperature storage unit to the management unit. if you did this,
When the invalid temperature data read from the management unit cannot be received in the order based on the predetermined order, an address inspection means for determining that the transmitted address cannot be correctly received by the management unit is provided. An air conditioner featuring.
The air conditioner according to claim 1, wherein when a plurality of the invalid temperature data are used, the respective values are made different.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019197749A JP7310545B2 (en) | 2019-10-30 | 2019-10-30 | air conditioner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2019197749A JP7310545B2 (en) | 2019-10-30 | 2019-10-30 | air conditioner |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2021071227A true JP2021071227A (en) | 2021-05-06 |
JP7310545B2 JP7310545B2 (en) | 2023-07-19 |
Family
ID=75712882
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019197749A Active JP7310545B2 (en) | 2019-10-30 | 2019-10-30 | air conditioner |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP7310545B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005308617A (en) * | 2004-04-23 | 2005-11-04 | Sanyo Electric Co Ltd | Display signal processor |
JP2010128519A (en) * | 2008-11-25 | 2010-06-10 | Hitachi Ltd | Storage control device and method for controlling storage control device |
JP2018087670A (en) * | 2016-11-30 | 2018-06-07 | 株式会社富士通ゼネラル | Air conditioner |
-
2019
- 2019-10-30 JP JP2019197749A patent/JP7310545B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2005308617A (en) * | 2004-04-23 | 2005-11-04 | Sanyo Electric Co Ltd | Display signal processor |
JP2010128519A (en) * | 2008-11-25 | 2010-06-10 | Hitachi Ltd | Storage control device and method for controlling storage control device |
JP2018087670A (en) * | 2016-11-30 | 2018-06-07 | 株式会社富士通ゼネラル | Air conditioner |
Also Published As
Publication number | Publication date |
---|---|
JP7310545B2 (en) | 2023-07-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2824297B2 (en) | Operation method when air conditioner sensor is abnormal | |
US10077928B2 (en) | Air-conditioning system and control method for air-conditioning system | |
CN110094332B (en) | Automatic addressing control method and device for compressor and multi-compressor system | |
JP2021071227A (en) | Air conditioner | |
US20080095046A1 (en) | Apparatus and method for detecting a communication abnormality in a multi-type air conditioner | |
JP2016114327A (en) | Sensor diagnostic device and sensor diagnostic method | |
EP2028426B1 (en) | Pipe-connection searching apparatus for multi-air conditioner | |
JP4989708B2 (en) | Air conditioning system diagnostic device, air conditioning system diagnostic method, and program | |
JP2018071811A (en) | Air conditioning control device and program | |
TWI394040B (en) | Host, memory device, and host access to the memory device | |
JP2011242085A (en) | Air conditioner | |
JP2007263404A (en) | Electrical equipment and communicating function normality determining method in the same | |
US11422544B2 (en) | Failure diagnosis system | |
CN104503512B (en) | A kind of constant temperature node failure self checking method | |
JP6289674B2 (en) | Air conditioner | |
JP7008052B2 (en) | Air conditioning system defect detection method and equipment | |
JP6945326B2 (en) | Air conditioner, air conditioning system and communication quality measurement method | |
US10571147B1 (en) | Digital communication timing discovery over a two wire connection | |
CN112461403A (en) | Temperature sensing bulb identification circuit, mainboard, air conditioner, identification method and device | |
JP4812720B2 (en) | Weighing device address setting method | |
TWI815255B (en) | Detection method of riser board | |
JP2924794B2 (en) | Air conditioner | |
CN105917660A (en) | Communications device, communications method, and program | |
JP2008096080A (en) | Address setting method in air conditioner | |
JPH08296840A (en) | Troubleshooting system for gas apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20220630 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20230526 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20230606 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20230619 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 7310545 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |