JP2021071227A - Air conditioner - Google Patents

Air conditioner Download PDF

Info

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
Application number
JP2019197749A
Other languages
Japanese (ja)
Other versions
JP7310545B2 (en
Inventor
真枝 北島
Masae Kitajima
真枝 北島
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 JP2019197749A priority Critical patent/JP7310545B2/en
Publication of JP2021071227A publication Critical patent/JP2021071227A/en
Application granted granted Critical
Publication of JP7310545B2 publication Critical patent/JP7310545B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Air Conditioning Control Device (AREA)

Abstract

To determine whether or not a sensor unit, which detects a plurality of pieces of temperature data and transmits the same to an indoor machine control unit, correctly receives a start address to continuously read out the temperature data transmitted from the indoor machine control unit even when the sensor unit is not provided with a function to detect an error in communication data.SOLUTION: A communication data inspection section 70 comprises: an inspection condition storage section 74 which stores an inspection condition; a comparison data storage section to inspect received data; a received data storage section 73 which temporarily stores the received data; and a register address inspection section 71 which inspects a register address. The register address inspection section 71 obtains a determination result by inspecting existence of invalid temperature data with a predetermined register address.SELECTED DRAWING: Figure 3

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 Reference 1.). This indoor unit air-conditions the room at the optimum temperature based on the detected temperature of each section. The thermopile unit and the indoor unit control unit that controls the indoor unit are connected by an IIC (Inter Integrated Circuit) bus, which is generally considered to be vulnerable to noise while being inexpensive and easy to use. Such a thermopile unit is a single-function device, and does not have an error detection function such as a checksum method as a communication function. Therefore, if noise is mixed in this communication line and an error occurs in the temperature data, there is a possibility that the air conditioning operation may be performed by the unintended temperature data.

図7(1)に示すサーモパイルユニット80のサーモパイル82は、温度検出範囲を、縦5区画、横5区画で合計25ブロックに分割して個々のブロック毎に1つの温度検出素子を用いて温度を検出することができる。そしてこのサーモパイル82は、この検出素子0〜検出素子25で検出した温度データを温度記憶部81に格納している。なお、検出素子0は図示しない補償用温度検出器(サーモパイル82自身の温度を検出)を示している。 The thermopile 82 of the thermopile unit 80 shown in FIG. 7 (1) divides the temperature detection range into a total of 25 blocks in 5 vertical sections and 5 horizontal sections, and uses one temperature detection element for each block to measure the temperature. Can be detected. The thermopile 82 stores the temperature data detected by the detection elements 0 to 25 in the temperature storage unit 81. Note that the detection element 0 indicates a compensating temperature detector (which detects the temperature of the thermopile 82 itself) (not shown).

温度記憶部81は52個の8ビットのレジスタで構成されている。また、サーモパイル82で検出された温度データの値は16ビットであるため、隣接する8ビットのレジスタを2個使用してこの温度データが格納されている。レジスタには順にアドレス(レジスタアドレス)が付与されている。以降、レジスタアドレスと温度データに関しては16進数で表記する。 The temperature storage unit 81 is composed of 52 8-bit registers. Further, since the value of the temperature data detected by the thermopile 82 is 16 bits, this temperature data is stored by using two adjacent 8-bit registers. Addresses (register addresses) are assigned to the registers in order. Hereinafter, the register address and temperature data will be expressed in hexadecimal.

このレジスタアドレスは例えば素子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 elements 0 to 25. The temperature data corresponding to the element 0 and the temperature data detected by the elements 1 to 25 in the register address are stored in the address register as a total of 2 bytes in the upper digit and the lower digit, respectively.

一方、図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 thermopile unit 80 shown in FIG. 7 (1).
The thermopile 22 of the thermopile unit 2 shown in FIG. 7 (2) divides the temperature detection range into a total of 16 blocks in 4 vertical sections and 4 horizontal sections, and uses one temperature detection element for each block to measure the temperature. Can be detected. The thermopile 22 stores the temperature data of each of the detected blocks in the temperature storage unit 21. The element numbers of the thermopile 22 are elements 1 to 16, and these element numbers are assigned and shown in the corresponding temperature storage unit 21 figures.

温度記憶部21は、サーモパイルユニット80と同様に52個の8ビットのレジスタで構成されている。また、サーモパイル22で検出された温度データの値は16ビットであるため、隣接する8ビットのレジスタを2個使用してこの温度データが格納されている。この温度記憶部21は、温度記憶部81と同じ構成であり、使用しない温度検出素子と対応したレジスタアドレスが未使用となっている。 The temperature storage unit 21 is composed of 52 8-bit registers like the thermopile unit 80. Further, since the value of the temperature data detected by the thermopile 22 is 16 bits, this temperature data is stored by using two adjacent 8-bit registers. The temperature storage unit 21 has the same configuration as the temperature storage unit 81, and the register address corresponding to the unused temperature detection element is unused.

この未使用のレジスタアドレスに格納される温度データは、サーモパイルユニット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 thermopile unit 2. This invalid temperature data is, for example, a value of 0000 or FFFF, which is a temperature range of 0044 to 03FF that can be detected by the thermopile 22, and a value outside the range of −20 ° C. to + 120 ° C. in terms of actual temperature. The invalid temperature data is stored in advance as fixed values in the address registers 04 and 05, 0E and 0F, 18 and 19, 22 and 23, and 2C to 35, respectively. The temperature data of the elements 1 to 16 detected by the thermopile 22 are sequentially stored in registers other than the above-mentioned invalid temperature data.

このようなサーモパイルユニット80やサーモパイルユニット2は、全てのレジスタのうち必要なレジスタを先頭として、ここから連続的に温度データを読み出すようになっている。このため、温度記憶部に格納された温度データを読み出す図示しない室内機制御部は、最初に読出す先頭のレジスタを示す値である開始レジスタアドレスをサーモパイルユニットに指定する。サーモパイルユニットは、この指定された開始レジスタアドレスで示されるレジスタを先頭として連続的に温度データを室内機制御ユニットへ送信するようになっている。 Such a thermopile unit 80 and a thermopile unit 2 are adapted to continuously read temperature data from all the registers, starting from the required register. Therefore, the indoor unit control unit (not shown) that reads the temperature data stored in the temperature storage unit specifies the start register address, which is a value indicating the first register to be read first, to the thermopile unit. The thermopile unit continuously transmits temperature data to the indoor unit control unit starting from the register indicated by the specified start register address.

しかしながら、前述したようにサーモパイルユニットは誤り検出機能を備えていない。このため、室内機制御ユニット側からサーモパイルユニット側に送信した開始レジスタアドレスがノイズにより誤ったレジスタを示す値となっても、室内機制御ユニットはそれを判定することができない問題があった。 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.

特開2016-173198号公報(段落番号0026〜0028)Japanese Unexamined Patent Publication No. 2016-173198 (paragraph numbers 0026 to 0028)

本発明は以上述べた問題点を解決し、複数の温度データを検出して室内機制御ユニットへ送信するセンサユニットに通信データの誤り検出機能が備えられていない場合であっても、室内機制御ユニットがセンサユニットに送信した温度データを連続的に読み出すための開始アドレスを正しくセンサユニットが受信したか否かを判定することを目的とする。 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.

本発明による空気調和機の室内機の実施例を示す斜視図である。It is a perspective view which shows the Example of the indoor unit of the air conditioner according to this invention. 本発明によるサーモパイルユニットと室内機制御ユニットを示すブロック図である。It is a block diagram which shows the thermopile unit and the indoor unit control unit by this invention. 通信データ検査部の内部を示すブロック図である。It is a block diagram which shows the inside of a communication data inspection part. 室内機制御ユニットとサーモパイルユニットとの通信手順を示す説明図である。It is explanatory drawing which shows the communication procedure between an indoor unit control unit and a thermopile unit. 本発明による誤り検出方法を説明する説明図である。It is explanatory drawing explaining the error detection method by this invention. 温度データの別の読出し方法を説明する説明図である。It is explanatory drawing explaining another reading method of temperature data. サーモパイルユニット内のサーモパイルと温度記憶部を示す説明図である。It is explanatory drawing which shows the thermopile and the temperature storage part in a thermopile 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 indoor unit 10 of the air conditioner 1 according to the present invention.
The indoor unit 10 is a horizontally long box body, and shows a state in which the indoor unit 10 looks up diagonally from the lower right front. A front panel 5 curved toward the front is provided on the front surface of the indoor unit 10, a horizontal wind direction plate 3 is provided on the lower surface of the indoor unit 10, and a fan that blows air sucked from the side surfaces forward is provided on the left and right side surfaces of the indoor unit 10. Each unit 4 is provided. Further, a thermopile unit 2 which is a sensor unit for detecting the temperature in the room is provided at an intermediate position between the left and right in front of and below the indoor unit 10. The thermopile unit 2 detects the surface temperature of the floor surface or wall surface of the room as the room temperature. Further, an indoor unit control unit 6 is arranged inside the indoor unit 10 and is connected to the thermopile unit 2 by communication.

[サーモパイルユニットの説明]
図2は本発明で使用するサーモパイルユニット2と室内機制御ユニット6の内部を示すブロック図である。なお、以後説明するレジスタアドレスと温度データは全て16進数で表記している。なお、サーモパイルユニット2は背景技術で説明した図7(2)のものと同じである。
[Explanation of thermopile unit]
FIG. 2 is a block diagram showing the inside of the thermopile unit 2 and the indoor unit control unit 6 used in the present invention. The register addresses and temperature data described below are all expressed in hexadecimal. The thermopile unit 2 is the same as that of FIG. 7 (2) described in the background art.

サーモパイルユニット2は、温度検出範囲を、縦4区画、横4区画で合計16ブロックに分割して個々のブロック毎に1つの温度検出素子を用いて温度を検出するサーモパイル(センサ部)22と、サーモパイル22で検出した各ブロックの温度を2バイトのデータとして格納する温度記憶部21と、温度記憶部21に格納した温度データをIIC (Inter Integrated Circuit)バスを用いて室内機制御ユニット6へシリアル通信方式で送信する管理部23と、IICのプロトコルで規定されたデバイスを区別する固有のアドレス(子機ID)を記憶した子機ID記憶部24と、サーモパイル22自体の温度を検出する補償用温度検出器25を備えている。 The thermopile unit 2 divides the temperature detection range into a total of 16 blocks in 4 vertical sections and 4 horizontal sections, and detects the temperature using one temperature detection element for each block, and the thermopile (sensor unit) 22. The temperature storage unit 21 that stores the temperature of each block detected by the thermopile 22 as 2-byte data and the temperature data stored in the temperature storage unit 21 are serialized to the indoor unit control unit 6 using the IIC (Inter Integrated Circuit) bus. For compensation that detects the temperature of the management unit 23 that transmits by communication method, the slave unit ID storage unit 24 that stores the unique address (slave unit ID) that distinguishes the device specified by the IIC protocol, and the thermopile 22 itself. A temperature detector 25 is provided.

温度記憶部21は、52個の8ビットのレジスタで構成されている。また、サーモパイル22の温度検出素子である素子1〜素子16で検出された温度データと、素子0で示される補償用温度検出器25で検出された温度データの値は16ビットであるため、隣接する8ビットのレジスタを2個使用してこれらの温度データが格納されている。以下、これらの温度データを有効温度データと呼称する。この温度記憶部21のレジスタアドレスは、例えば素子0から素子16に対応して所定の順番で並んでおり、02,03、04、05・・・・35となっている。なお、背景技術で説明した図7(1)のサーモパイルユニット80で使用しない温度検出素子と対応したレジスタ(素子名に「―」が表示さされているレジスタ)は未使用となっている。 The temperature storage unit 21 is composed of 52 8-bit registers. Further, since the values of the temperature data detected by the elements 1 to 16 which are the temperature detection elements of the thermopile 22 and the temperature data detected by the compensation temperature detector 25 indicated by the element 0 are 16 bits, they are adjacent to each other. These temperature data are stored using two 8-bit registers. Hereinafter, these temperature data will be referred to as effective temperature data. The register addresses of the temperature storage unit 21 are arranged in a predetermined order corresponding to, for example, elements 0 to 16, and are 02, 03, 04, 05 ... 35. The register corresponding to the temperature detection element not used in the thermopile unit 80 of FIG. 7 (1) described in the background technique (the register in which "-" is displayed in the element name) is unused.

この未使用のレジスタに格納される温度データは、サーモパイルユニット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 thermopile unit 2. This invalid temperature data is, for example, a value of 0000 or FFFF, which is a temperature range of 0044 to 03FF that can be detected by the thermopile 22, and a value outside the range of −20 ° C. to + 120 ° C. in terms of actual temperature. This invalid temperature data is associated with the registers indicated by the register addresses arranged in a predetermined order of addresses 04 and 05, 0E and 0F, 18 and 19, 22 and 23, and 2C to 35, and is stored as a fixed value in advance. There is. The effective temperature data of the elements 1 to 16 detected by the thermopile 22 is stored in association with each register address in a register other than the above-mentioned invalid temperature data. The effective temperature data and the invalid temperature data may be collectively referred to as temperature data.
In this way, the temperature storage unit 21 stores the effective temperature data and the invalid temperature data as temperature data in association with addresses arranged in a predetermined order.

[室内機制御ユニットの説明]
室内機制御ユニット6は、例えばマイコンからなる室内機制御部61と、記憶部62と、通信データ検査部70と、クロック信号用の通信線8の電圧をプルアップする抵抗64と、データ用の通信線9の電圧をプルアップする抵抗63を備えている。
[Explanation of indoor unit control unit]
The indoor unit control unit 6 includes, for example, an indoor unit control unit 61 composed of a microcomputer, a storage unit 62, a communication data inspection unit 70, a resistor 64 for pulling up the voltage of the communication line 8 for a clock signal, and data. It is provided with a resistor 63 that pulls up the voltage of the communication line 9.

室内機制御部61は、室内機10全体の制御を行うと共に、サーモパイルユニット2との通信制御も行う。室内機制御部61は、サーモパイルユニット2から受信した有効温度データや無効温度データと、受信データを検査するための検査条件を通信データ検査部70に出力する。一方、通信データ検査部70は受信データの検査結果を室内機制御部61へ出力する。室内機制御部61はこの検査結果が異常(通信エラー)の場合、再度通信をやり直すリトライ処理を実行する。 The indoor unit control unit 61 controls the entire indoor unit 10 and also controls communication with the thermopile unit 2. The indoor unit control unit 61 outputs the effective temperature data and the invalid temperature data received from the thermopile unit 2 and the inspection conditions for inspecting the received data to the communication data inspection unit 70. On the other hand, the communication data inspection unit 70 outputs the inspection result of the received data to the indoor unit control unit 61. If the inspection result is abnormal (communication error), the indoor unit control unit 61 executes a retry process for re-communication.

[通信データ検査部の説明]
図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 data inspection unit 70.
The communication data inspection unit 70 includes an inspection condition storage unit 74 that stores inspection conditions, a comparison data storage unit 72 for inspecting received data, a reception data storage unit 73 that temporarily stores received data, and a register address. A register address inspection unit (address inspection means) 71 for inspecting the data and a temperature data inspection unit (temperature data inspection means) 75 for inspecting the temperature data are provided.

室内機制御部61は、サーモパイルユニット2の温度記憶部21に記憶された温度データを読み出す場合、開始レジスタアドレスをサーモパイルユニット2の管理部23へ送信し、読み出したいデータの個数だけ受信を連続的に行う。これを詳細に説明すると、室内機制御部61は1バイトの温度データを受信した直後にACKを管理部23へ送信する。すると、これに対応して管理部23は1バイトの温度データを送信する。室内機制御部61は、読み出したい温度データの個数だけこの手順を繰り返す。なお、この通信手順に関しては後で詳細に説明する。
一方、室内機制御部61は、この時に使用する開始レジスタアドレスとデータの個数を検査条件として通信データ検査部70へ出力する。
When reading the temperature data stored in the temperature storage unit 21 of the thermopile unit 2, the indoor unit control unit 61 transmits the start register address to the management unit 23 of the thermopile unit 2 and continuously receives as many data as the number of data to be read. To do. Explaining this in detail, the indoor unit control unit 61 transmits ACK to the management unit 23 immediately after receiving 1 byte of temperature data. Then, in response to this, the management unit 23 transmits 1 byte of temperature data. The indoor unit control unit 61 repeats this procedure for the number of temperature data to be read. The communication procedure will be described in detail later.
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 data inspection unit 70 as inspection conditions.

通信データ検査部70は、この検査条件が入力されると、これを検査条件記憶部74に記憶する。例えば図3では開始レジスタアドレスが06、読み出すデータの個数が10個である。検査条件記憶部74は、この記憶した検査条件をレジスタアドレス検査部71と温度データ検査部75へ出力する。一方、室内機制御部61は読み出した(受信した)温度データを記憶部62へ記憶する一方、通信データ検査部70へ出力する。受信データ保管部73はこの入力された受信データを一時的に格納する。 When this inspection condition is input, the communication data inspection unit 70 stores it in the inspection condition storage unit 74. For example, in FIG. 3, the start register address is 06 and the number of data to be read is 10. The inspection condition storage unit 74 outputs the stored inspection conditions to the register address inspection unit 71 and the temperature data inspection unit 75. On the other hand, the indoor unit control unit 61 stores the read (received) temperature data in the storage unit 62, and outputs it to the communication data inspection unit 70. The reception data storage unit 73 temporarily stores the input reception data.

比較データ記憶部72は、レジスタアドレス02〜2Dに対応して無効温度データである0000の値が事前に所定のレジスタアドレスのレジスタに格納されている。つまり、サーモパイルユニット2から温度データが正常に受信できた場合、かならず所定のレジスタアドレスと対応する温度データは無効温度データである0000に、また、その他のレジスタアドレスと対応する温度データは有効温度データである0044〜03FFの範囲の値になっている。 The comparison data storage unit 72 stores in advance a value of 0000, which is invalid temperature data, in a register at a predetermined register address corresponding to the register addresses 02 to 2D. That is, when the temperature data can be normally received from the thermopile unit 2, the temperature data corresponding to the predetermined register address is always the invalid temperature data 0000, and the temperature data corresponding to the other register addresses is the effective temperature data. The value is in the range of 0044 to 03FF.

このため、レジスタアドレス検査部71は無効温度データが格納されているべき所定の順番のレジスタアドレスの温度データが無効温度データである場合を「正常」と判定し、無効温度データが格納されているべき所定の順番のレジスタアドレスの温度データが有効温度データである場合を「異常」と判定する。
このように、レジスタアドレス検査部71は、管理部23から読み出された無効温度データが所定の順番(レジスタアドレスの順番)に基づく順番で受信できない場合に、「異常」と判定する。
Therefore, the register address inspection unit 71 determines that the case where the temperature data of the register addresses in the predetermined order in which the invalid temperature data should be stored is the invalid temperature data is "normal", and the invalid temperature data is stored. When the temperature data of the register addresses in the predetermined order to be power is the effective temperature data, it is determined as "abnormal".
In this way, the register address inspection unit 71 determines that the invalid temperature data read from the management unit 23 is "abnormal" when it cannot be received in the order based on the predetermined order (order of the register addresses).

一方、温度データ検査部75はその他のレジスタアドレスに格納された温度データの値が有効温度データの範囲内である場合を「正常」と判定し、その他のレジスタアドレスに格納された温度データの値が1つでも無効温度データである場合を「異常」と判定する。
そしてそれぞれの検査部は、この検査結果を「正常/異常」としてそれぞれ出力する。なお、「異常」の場合が通信エラーとなる。なお、レジスタアドレス検査部71の検査方法については後で詳細に説明する。
On the other hand, the temperature data inspection unit 75 determines that the value of the temperature data stored in the other register address is within the range of the effective temperature data as "normal", and determines that the value of the temperature data stored in the other register address is "normal". When even one of the data is invalid temperature data, it is determined as "abnormal".
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 address inspection unit 71 will be described in detail later.

このように、通信データ検査部70は受信したデータのみで受信データの正常/異常を判定できるため、データの誤り検出手段がないセンサユニットであっても受信後に通信エラーの検査が可能である。 In this way, since the communication data inspection unit 70 can determine the normality / abnormality of the received data only from the received data, it is possible to inspect the communication error after the reception even if the sensor unit does not have the data error detecting means.

[データ通信の手順説明]
図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 unit control unit 6 serving as a master unit and the thermopile unit 2 serving as a slave unit.
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 ID storage unit 24. (5) The slave unit transmits an ACK because it is its own slave unit ID. If the slave unit is not its own slave unit ID, it makes no response, and if it is its own slave unit ID but it cannot respond due to its busy state, NACK is transmitted. Therefore, the master unit repeats the above operation three times until ACK arrives.

(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 element 1, 06 is prepared as a start register address. (7) The master unit transmits this start register address to the slave unit. (8) The slave unit receives this start register address. (9) The management unit 23 of the slave unit holds the value of the start register address and then transmits ACK. Therefore, the master unit repeats the retry of the above operation until ACK arrives. However, here, the slave unit only transmits an ACK when it receives some data, and does not necessarily receive the same data as the data transmitted by the master unit. That is, the value of the start register address cannot be checked at this point.

(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 storage unit 62. Next, the master unit transmits ACK. Here, the master unit only sends an ACK when it receives some data, and does not necessarily receive the same data as the data transmitted by the slave unit.

(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 storage unit 62. The master unit has not inspected whether this received data is also correct. Next, the master unit transmits ACK. (24) The slave unit that has received the ACK prepares the upper digit of the second temperature data. After that, the master unit repeats the reception of the temperature data in the same manner.

(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 storage unit 62. The master unit manages the number of data to be received, and when the required number of data, here 10 data, is received, the master unit transmits NACK. (28) The slave unit that receives this completes the process.

[開始レジスタアドレスの検査]
(29)親機は上記の通信でデータの内容が正しく送受信されたか否かを検査するため、通信データ検査部70へ検査条件と受信データを出力する。検査条件は今回検査の対象となる受信データの先頭を示す開始レジスタアドレス:06とデータ個数:10である。受信データは記憶部62に今回格納したデータである。
[Check start register address]
(29) The master unit outputs the inspection conditions and the received data to the communication data inspection unit 70 in order to inspect whether or not the contents of the data are correctly transmitted / received in the above communication. The inspection conditions are a start register address: 06 indicating the beginning of the received data to be inspected this time and a number of data: 10. The received data is the data stored this time in the storage unit 62.

通信データ検査部70は図3に示すように、この検査条件を検査条件記憶部74に、受信データを受信データ保管部73にそれぞれ記憶する。比較データ記憶部72には所定のレジスタアドレスのレジスタに無効温度データ:0000が格納されている。これは図2で示す温度記憶部21と同じ構成である、ただし、温度データは格納されていない。 As shown in FIG. 3, the communication data inspection unit 70 stores the inspection conditions in the inspection condition storage unit 74 and the received data in the reception data storage unit 73. The comparison data storage unit 72 stores invalid temperature data: 0000 in a register at a predetermined register address. This has the same configuration as the temperature storage unit 21 shown in FIG. 2, but does not store temperature data.

レジスタアドレス検査部71は、検査条件記憶部74に記憶されている条件を用いて比較データ記憶部72内の無効温度データ:0000が格納されているレジスタアドレス(所定のレジスタアドレス)を検出する。検索条件の開始レジスタアドレス:06とデータ個数:10で示される今回の受信範囲はレジスタアドレス:06〜0Fであるため、レジスタアドレス検査部71は、比較データ記憶部72内で検索した結果、レジスタアドレスの0Eと0Fで無効温度データ:0000を抽出する。 The register address inspection unit 71 detects the register address (predetermined register address) in which the invalid temperature data: 0000 in the comparison data storage unit 72 is stored by using the conditions stored in the inspection condition storage unit 74. Since the current reception range indicated by the start register address: 06 and the number of data: 10 of the search condition is the register address: 06 to 0F, the register address inspection unit 71 searches in the comparison data storage unit 72 and finds the register. Invalid temperature data: 0000 is extracted at 0E and 0F of the address.

このためレジスタアドレス検査部71は、受信データ保管部73のレジスタアドレスの0Eと0Fと対応するレジスタに無効温度データ:0000が格納されていれば今回の通信におけるレジスタアドレスの値は誤りがないと判断する。もしレジスタアドレスの値が誤った値であれば、0Eと0Fに無効温度データ:0000以外の値が入ることになるため誤りを検出できる。
レジスタアドレス検査部71は、検査した結果(正常又は異常)を室内機制御部61へ出力する。室内機制御部61は、この結果が異常の場合には再度、温度データを受信するリトライ処理を実行する。
Therefore, if the register address inspection unit 71 stores invalid temperature data: 0000 in the registers corresponding to the register addresses 0E and 0F of the reception data storage unit 73, the register address value in this communication is correct. to decide. If the value of the register address is incorrect, an error can be detected because values other than invalid temperature data: 0000 are entered in 0E and 0F.
The register address inspection unit 71 outputs the inspection result (normal or abnormal) to the indoor unit control unit 61. If the result is abnormal, the indoor unit control unit 61 executes a retry process for receiving the temperature data again.

[温度データ値の検査]
(30)親機の温度データ検査部75は、前述したように検査条件から無効温度データのレジスタアドレスを抽出する。従ってこれ以外のレジスタアドレスが有効温度データを格納しているレジスタアドレスであるため、温度データ検査部75は、レジスタアドレス:06〜0Dの温度データを確認し、温度データの値が異常な値でないかを検査する。つまり、温度データ検査部75は、各温度データが取りうる温度範囲;0044〜03FFの範囲に入っていれば正常、範囲外であれば異常として検査結果を出力する。この結果により異常の場合に親機は再度、温度データを受信するリトライ処理を実行する。
なお、ノイズが多い場合はリトライ回数が増加して通信処理に時間がかかり、空調制御に支障が出る場合もある。このような場合、ここでのリトライ処理を行わないで次に説明する複数温度データの平均値化処理を実行するようにしてもよい。
[Inspection of temperature data value]
(30) The temperature data inspection unit 75 of the master unit extracts the register address of the invalid temperature data from the inspection conditions as described above. Therefore, since the other register addresses are the register addresses that store the effective temperature data, the temperature data inspection unit 75 confirms the temperature data of the register addresses: 06 to 0D, and the value of the temperature data is not an abnormal value. Inspect. That is, the temperature data inspection unit 75 outputs the inspection result as normal if it is within the temperature range that each temperature data can take; 0044 to 03FF, and as abnormal if it is out of the range. If an error occurs due to this result, the master unit again executes a retry process for receiving temperature data.
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 thermopile unit 2 five times in succession, and stores them separately in the storage unit 62. Among these temperature data, those whose data values are greatly deviated due to noise are excluded as abnormal data by the communication data inspection unit 70. However, for example, data that is out of order by several tens of degrees Celsius is not excluded, so if it is used for air conditioning control as it is, room temperature control may be unintended.

このため、室内機制御部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 thermopile 22 in the temperature data for five times continuously detected. The average value of the three values of is used as the temperature data to be actually used. The indoor unit control unit 61 executes this for each temperature detecting element. This makes it possible to eliminate temperature data that is extremely high with respect to the current room temperature.

[レジスタアドレスの誤り検出方法の詳細説明]
図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 temperature storage unit 21 in the thermopile unit 2 (slave unit). When reading data from the temperature storage unit 21 in the thermopile unit 2 (slave unit), the indoor unit control unit 6 (master unit) is divided into a plurality of blocks and read out. This is because it takes time to read, and if an error is detected by checking for an error after reading all the data, it takes time to reload all the data. If it is a small block, the time for re-reading in case of an error can be shortened.

このため図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 address inspection unit 71 can determine that the data is abnormal because the last two bytes of the read data are 0171 instead of invalid temperature data: 0000. Further, the temperature data inspection unit 75 can determine that there is an abnormality because the invalid temperature data: 0000 is in the register in which the effective temperature data should be stored.

[レジスタアドレスの別の読出し方法]
図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 temperature storage unit 21 in the thermopile unit 2 (slave unit). When reading data from the temperature storage unit 21, the indoor unit control unit 6 (master unit) divides the data into a plurality of blocks and reads the data. In FIG. 6, it is divided into three blocks of register addresses 02 to 11, 12 to 1F, and 20 to 2D. Each block contains a predetermined register address for storing at least one invalid temperature data.

このように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 thermopile unit 2 provided in the indoor unit 10 detects a plurality of temperature data and transmits the temperature data to the indoor unit control unit 6 does not have a communication data error detection function. Since the communication data inspection unit 70 on the indoor unit 10 side can detect an error in the communication data, the reliability of the communication data can be improved.

なお本実施例では無効温度データをすべて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 Air conditioner 2 Thermopile unit (sensor unit)
3 Horizontal wind direction plate 4 Fan unit 5 Front panel 6 Indoor unit control unit 8 Communication line 9 Communication line 10 Indoor unit 21 Temperature storage unit 22 Thermopile (sensor unit)
23 Management unit 24 Slave unit ID storage unit 25 Compensation temperature detector 61 Indoor unit control unit 62 Storage unit 63 Resistance 64 Resistance 70 Communication data inspection unit (communication data inspection means)
71 Register address inspection unit (address inspection means)
72 Comparison data storage unit 73 Received data storage unit 74 Inspection condition storage unit 75 Temperature data inspection unit (temperature data inspection means)

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.
前記無効温度データを複数用いる場合、各々の値を異ならせることを特徴とする請求項1記載の空気調和機。
The air conditioner according to claim 1, wherein when a plurality of the invalid temperature data are used, the respective values are made different.
JP2019197749A 2019-10-30 2019-10-30 air conditioner Active JP7310545B2 (en)

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)

* Cited by examiner, † Cited by third party
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

Patent Citations (3)

* Cited by examiner, † Cited by third party
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