JPWO2019064401A1 - Communication system, master device and slave device - Google Patents
Communication system, master device and slave device Download PDFInfo
- Publication number
- JPWO2019064401A1 JPWO2019064401A1 JP2019545467A JP2019545467A JPWO2019064401A1 JP WO2019064401 A1 JPWO2019064401 A1 JP WO2019064401A1 JP 2019545467 A JP2019545467 A JP 2019545467A JP 2019545467 A JP2019545467 A JP 2019545467A JP WO2019064401 A1 JPWO2019064401 A1 JP WO2019064401A1
- Authority
- JP
- Japan
- Prior art keywords
- communication
- unit
- communication system
- indoor
- communication method
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 778
- 238000000034 method Methods 0.000 claims abstract description 289
- 230000004044 response Effects 0.000 claims abstract description 40
- 238000012790 confirmation Methods 0.000 claims description 49
- 230000005540 biological transmission Effects 0.000 claims description 13
- 230000004913 activation Effects 0.000 claims description 6
- 238000004378 air conditioning Methods 0.000 abstract description 67
- 230000008569 process Effects 0.000 description 37
- 230000007704 transition Effects 0.000 description 34
- 238000010586 diagram Methods 0.000 description 24
- 238000012545 processing Methods 0.000 description 24
- 230000006870 function Effects 0.000 description 6
- 238000006243 chemical reaction Methods 0.000 description 5
- 239000003990 capacitor Substances 0.000 description 2
- 239000002131 composite material Substances 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 239000003507 refrigerant Substances 0.000 description 2
- 238000005057 refrigeration Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B3/00—Line transmission systems
- H04B3/02—Details
Abstract
第1通信方式及び第2通信方式を切り替えて通信を行う室外機(110)に、室内機(140)を接続する空調システム(100)であって、室外機(110)は、室外機(110)の起動時に、第1通信方式及び第2通信方式から選択された一つの通信方式で全ての室内機(140)と通信し、全ての室内機(140)から正常な応答を受けた場合には、その一つの通信方式を、全ての室内機(140)との通信に使用する通信方式として決定し、室内機(140)の少なくとも一つから正常な応答を受けなかった場合には、その一つの通信方式を別の通信方式に切り替える。An air conditioning system (100) that connects an indoor unit (140) to an outdoor unit (110) that performs communication by switching between a first communication system and a second communication system, the outdoor unit (110) being the outdoor unit (110). ) At the time of starting, communicating with all the indoor units (140) by one communication method selected from the first communication method and the second communication method, and receiving a normal response from all the indoor units (140). Determines one of the communication methods as a communication method to be used for communication with all the indoor units (140), and if a normal response is not received from at least one of the indoor units (140), Switch one communication method to another.
Description
本発明は、通信システム、マスタ装置及びスレーブ装置に関し、特に、複数の通信方式を切り替えて通信する通信システム、マスタ装置及びスレーブ装置に関する。 The present invention relates to a communication system, a master device and a slave device, and more particularly to a communication system, a master device and a slave device that switch between a plurality of communication schemes for communication.
店舗又は事務所用の空調システムでは、室外機1台に対し、1又は複数の室内機がマルチドロップ接続される。言い換えると、空調システムは、室外機をマスタ、室内機をスレーブとするマスタ・スレーブ方式で通信が行われる。 In an air conditioning system for a store or an office, one or more indoor units are multi-drop connected to one outdoor unit. In other words, the air conditioning system communicates in a master-slave system in which the outdoor unit is the master and the indoor unit is the slave.
空調システムでは、空調機のバージョンアップ等により、従来の通信方式に対して、より高速な通信方式を搭載することがある。但し、既設システム内の一部のみの交換等の可能性を考慮し、新機種の空調機は、高速な通信を行うことのできる新規の通信方式と従来の通信方式の両方に対応していることが望まれる。従って、接続されている室外機と室内機とが新規の通信方式に対応しているか否かに応じて、適切な通信方式を選択する必要がある。 In an air conditioning system, a higher speed communication system may be installed in comparison with the conventional communication system due to version upgrade of the air conditioner. However, considering the possibility of replacing only part of the existing system, the new model air conditioner supports both the new communication method that enables high-speed communication and the conventional communication method. Is desired. Therefore, it is necessary to select an appropriate communication system depending on whether the connected outdoor unit and indoor unit are compatible with the new communication system.
一方、将来的には、従来の通信方式のみを搭載した機種はなくなる、あるいは、メーカとしてサポートしなくなるタイミングがある。このタイミング以降では、室外機及び室内機は、新規の通信方式のみを搭載していることが望ましい。これにより従来の通信方式を削除することでハードウェア及びソフトウェアともに簡素になるため、原価低減及び開発費削減等の効果がある。 On the other hand, in the future, there will be a time when there will be no models equipped with only the conventional communication method, or there will be a timing when the manufacturer will not support it. After this timing, it is desirable that the outdoor unit and the indoor unit be equipped with only the new communication method. As a result, the hardware and software can be simplified by deleting the conventional communication method, so that there are effects such as cost reduction and development cost reduction.
なお、電流伝送の場合、室外機及び室内機は、適切なタイミングで送受信を切り替える必要があるため、通信方式は一意である必要がある。 In the case of current transmission, the outdoor unit and the indoor unit need to switch between transmission and reception at appropriate timings, so the communication method must be unique.
特許文献1には、起動時に第1の通信方式で通信を確立したのち、第2の通信方式で通信可能か否かを確認し、通信可能であれば、第2の通信方式に切り替えて通信を行う装置が記載されている。
In
特許文献1に記載された装置は、第1通信方式での通信の確立を前提としているため、第1通信方式に対応していない機種が含まれている場合には、対応することができない。
The device described in
そこで、本発明は、複数の通信方式から適切な通信方式を選択することができるようにすることを目的とする。 Therefore, an object of the present invention is to make it possible to select an appropriate communication method from a plurality of communication methods.
本発明の第1の態様に係る通信システムは、第1通信方式及び第2通信方式を切り替えて通信を行う第1通信装置に、第2通信装置を接続する通信システムであって、前記第1通信装置は、前記第1通信装置の起動時に、前記第1通信方式及び前記第2通信方式から選択された一つの通信方式で前記第2通信装置と通信し、前記第2通信装置の全てから正常な応答を受けた場合には、前記一つの通信方式を、前記第2通信装置との通信に使用する通信方式として決定し、前記第2通信装置から正常な応答を受けなかった場合には、前記一つの通信方式を別の通信方式に切り替えることを特徴とする。 A communication system according to a first aspect of the present invention is a communication system in which a second communication device is connected to a first communication device that switches between a first communication system and a second communication system to perform communication. The communication device communicates with the second communication device by one communication system selected from the first communication system and the second communication system when the first communication device is activated, and all the second communication devices communicate with each other. When a normal response is received, the one communication method is determined as a communication method used for communication with the second communication device, and when a normal response is not received from the second communication device, The one communication method is switched to another communication method.
本発明の第2の態様に係る通信システムは、第1通信方式及び第2通信方式の少なくとも何れか一方を用いて通信を行う第1通信装置に、第1通信方式及び第2通信方式を切り替えて通信を行う第2通信装置を接続する通信システムであって、前記第2通信装置は、前記第2通信装置の起動時に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記第1通信装置との通信に使用する通信方式として決定し、前記第2通信装置の起動時に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記第1通信装置との通信に使用する通信方式として決定することを特徴とする。 A communication system according to a second aspect of the present invention switches a first communication system and a second communication system to a first communication device that performs communication using at least one of a first communication system and a second communication system. A communication system for connecting a second communication device for performing communication by means of the method, wherein the second communication device confirms whether or not the second communication device is compatible with the first communication method when the second communication device is activated. When the first system confirmation request is received, the first communication system is determined as the communication system to be used for communication with the first communication device, and the second communication system is set to the second communication system when the second communication device is activated. When the second system confirmation request for confirming whether or not the communication is supported is received, the second communication system is determined as a communication system to be used for communication with the first communication device. ..
本発明の一態様に係るマスタ装置は、スレーブ装置を接続するマスタ装置であって、前記スレーブ装置と第1通信方式及び第2通信方式を切り替えて通信を行う通信部と、前記通信部を制御する制御部と、を備え、前記制御部は、前記マスタ装置の起動時に、前記第1通信方式及び前記第2通信方式から選択された一つの通信方式で前記スレーブ装置と通信させ、前記通信部が前記スレーブ装置から正常な応答を受けた場合には、前記一つの通信方式を、前記スレーブ装置との通信に使用する通信方式として決定し、前記通信部が前記スレーブ装置から正常な応答を受けなかった場合には、前記一つの通信方式を別の通信方式に切り替えることを特徴とする。 A master device according to an aspect of the present invention is a master device that connects a slave device, and controls a communication unit that communicates with the slave device by switching between a first communication system and a second communication system, and a communication unit. And a control unit that performs communication with the slave device by one communication method selected from the first communication method and the second communication method when the master device is activated, and the communication unit When the slave device receives a normal response from the slave device, the one communication system is determined as a communication system to be used for communication with the slave device, and the communication unit receives a normal response from the slave device. If not, the one communication method is switched to another communication method.
本発明の一態様に係るスレーブ装置は、マスタ装置に接続されるスレーブ装置であって、前記マスタ装置と、第1通信方式及び第2通信方式を切り替えて通信を行う通信部と、前記通信部を制御する制御部と、を備え、前記制御部は、前記スレーブ装置の起動時に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記マスタ装置との通信に使用する通信方式として決定し、前記スレーブ装置の起動時に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記マスタ装置との通信に使用する通信方式として決定することを特徴とする。 A slave device according to an aspect of the present invention is a slave device connected to a master device, the communication device performing communication by switching between a first communication system and a second communication system with the master device, and the communication unit. And a control unit that controls, when the slave unit receives a first method confirmation request for confirming whether or not the first communication method is supported, when the slave apparatus is activated. , A second method confirmation for determining the first communication method as a communication method to be used for communication with the master device and confirming whether or not the slave device is compatible with the second communication method at the time of starting. When the request is received, the second communication method is determined as a communication method used for communication with the master device.
本発明の一態様によれば、複数の通信方式から適切な通信方式を選択することができる。 According to one aspect of the present invention, an appropriate communication method can be selected from a plurality of communication methods.
実施の形態1.
図1は、実施の形態1に係る通信システムとしての空調システム100の構成を概略的に示すブロック図である。
空調システム100は、室外機110と、室内機140A〜140Dとを備える。
ここで、室内機140A〜140Dの各々を特に区別する必要がない場合には、室内機140という。なお、室内機140は、1台以上あればよいが、複数台あるのが好適である。
また、通信システムとして、室外機110は、第1通信装置(マスタ装置)として機能し、室内機140は、第2通信装置(スレーブ装置)として機能し、複数の第2通信装置がマルチドロップで第1通信装置に接続されている。
FIG. 1 is a block diagram schematically showing a configuration of an air conditioning system 100 as a communication system according to the first embodiment.
The air conditioning system 100 includes an
Here, when it is not necessary to distinguish each of the
As the communication system, the
室外機110は、商用電源101から電源を供給される。ここでは、商用電源101は、例えば、AC(Alternating Current)200Vとする。
室外機110と室内機140との間は、冷媒配管、電源線及び通信線により接続される。実施の形態1では、冷媒配管に関する記述は省略する。The
The
室外機110と、室内機140とは、第1線S1、第2線S2及び第3線S3の3つの線で接続されている。第1線S1及び第2線S2は、電源線であり、商用電源101から供給されるAC200Vが供給される。第2線S2は、電源線と通信線の兼用線であり、第3線S3は、通信線である。
空調システム100は、室外機110、第2線S2、室内機140及び第3線S3により構成される閉回路に電流が流れているか否かで、デジタル信号を伝送する電流伝送を採用している。The
The air conditioning system 100 employs current transmission that transmits a digital signal depending on whether or not current is flowing in a closed circuit configured by the
図2は、室外機110の構成を概略的に示すブロック図である。
室外機110は、室外空調部111と、室外通信部120と、室外制御部130とを備える。
室外空調部111は、冷凍サイクルにおける室外側の動作を行う。例えば、室外空調部111は、モータ、圧縮機、室外熱交換器及び室外ファン等の装置を有する。FIG. 2 is a block diagram schematically showing the configuration of the
The
The
室外通信部120は、カレントループ伝送により、室内機140と通信を行う通信インターフェース(通信部)である。室外通信部120は、第1通信方式及び第2通信方式に対応している。第1通信方式と第2通信方式とでは、通信可能な通信速度が異なり、室外制御部130から指示に従って、室外通信部120は、第1通信方式と第2通信方式とを切り替える。例えば、第2通信方式は、第1通信方式よりも通信速度が速い。
The
図3は、室外通信部120の構成を概略的に示すブロック図である。
室外通信部120は、第1通信部121と、第2通信部122と、切替部123とを備える。
第1通信部121は、第1通信方式を使用して、室内機140と通信を行う。
第2通信部122は、第2通信方式を使用して、室内機140と通信を行う。
切替部123は、室外制御部130から指示に従って、第1通信部121と第2通信部122とを切り替える。FIG. 3 is a block diagram schematically showing the configuration of the
The
The
The
The
図2に戻り、室外制御部130は、室外機110での処理を制御する制御部である。例えば、室外制御部130は、室外通信部120を制御して、室内機140と通信を行わせる。
室外制御部130は、室外通信方式判定部131と、室外空調制御部132とを備える。Returning to FIG. 2, the
The
室外通信方式判定部131は、室外通信部120を制御して、室内機140との通信に、第1通信方式を使用するか、第2通信方式を使用するかを判定し、その判定結果を室外空調制御部132に与える。
例えば、室外通信方式判定部131は、室外機110の起動時に、第1通信方式及び第2通信方式から選択された一つの通信方式で室外通信部120に室内機140と通信させる。そして、室外通信方式判定部131は、室外通信部120が全ての室内機140から正常な応答を受けた場合には、その一つの通信方式を、室内機140との通信に使用する通信方式として決定する。また、室外通信方式判定部131は、室外通信部120が室内機140の少なくとも一つから正常な応答を受けなかった場合には、室外通信部120にその一つの通信方式を別の通信方式へ切り替えさせる。The outdoor communication
For example, the outdoor communication
室外空調制御部132は、室外通信方式判定部131からの通知に従って、第1通信方式又は第2通信方式に従って、室外通信部120に通信を行わせる。
また、室外空調制御部132は、室外空調部111の制御を行う。The outdoor air
Further, the outdoor air
以上に記載された室外通信部120は、例えば、図4(A)に示されているように、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC(Application Specific Integrated Circuits)又はFPGA(Field Programmable Gate Array)等の処理回路10で構成することができる。
ここで、第1通信部121及び第2通信部122は、それぞれ別々の処理回路10で構成されていてもよく、また、第1通信部121及び第2通信部122は、一部を共有した一つの処理回路10で構成されていてもよい。また、切替部123は、例えば、トランジスタによるスイッチングを使用して、第1通信部121及び第2通信部122を切り替えればよい。The
Here, the
また、以上に記載された室外制御部130は、例えば、図4(B)に示されているように、メモリ11と、メモリ11に格納されているプログラムを実行するCPU(Central Processing Unit)等のプロセッサ12とにより構成することができる。このようなプログラムは、ネットワークを通じて提供されてもよく、また、記録媒体に記録されて提供されてもよい。即ち、このようなプログラムは、例えば、プログラムプロダクトとして提供されてもよい。
なお、室外制御部130の一部は、例えば、図4(A)に示されている処理回路10で構成されてもよい。Further, the
In addition, a part of the
図5は、室内機140の構成を概略的に示すブロック図である。
室内機140は、室内空調部141と、室内通信部150と、室内制御部160とを備える。
室内空調部141は、冷凍サイクルにおける室内側の動作を行う。例えば、室内空調部141は、室内熱交換器及び室内ファン等の装置を備える。FIG. 5 is a block diagram schematically showing the configuration of the
The
The indoor
室内通信部150は、カレントループ伝送により、室外機110と通信を行う通信インターフェース(通信部)である。室内通信部150は、第1通信方式及び第2通信方式に対応しており、室内制御部160から指示に従って、室内通信部150は、第1通信方式と第2通信方式とを切り替える。
The
図6は、室内通信部150の構成を概略的に示すブロック図である。
室内通信部150は、第1通信部151と、第2通信部152と、切替部153とを備える。
第1通信部151は、第1通信方式を使用して、室外機110と通信を行う。
第2通信部152は、第2通信方式を使用して、室外機110と通信を行う。
切替部153は、室内制御部160から指示に従って、第1通信部151と第2通信部152とを切り替える。FIG. 6 is a block diagram schematically showing the configuration of the
The
The first communication unit 151 communicates with the
The second communication unit 152 communicates with the
The switching unit 153 switches between the first communication unit 151 and the second communication unit 152 according to an instruction from the
図5に戻り、室内制御部160は、室内機140での処理を制御する制御部である。例えば、室内制御部160は、室内通信部150を制御して、室外機110と通信を行わせる。
室内制御部160は、室内通信方式判定部161と、室内空調制御部162とを備える。Returning to FIG. 5, the
The
室内通信方式判定部161は、室内通信部150を制御して、室外機110との通信に、第1通信方式を使用するか、第2通信方式を使用するかを判定し、その判定結果を室内空調制御部162に与える。
例えば、室内通信方式判定部161は、室内機140の起動時に、室内通信部150が第1通信方式に対応しているか否かを確認するための要求(第1方式確認要求)を受信した場合には、第1通信方式を室外機110との通信に使用する通信方式として決定する。また、室内通信方式判定部161は、室内機140の起動時に、室内通信部150が第2通信方式に対応しているか否かを確認するための要求(第2方式確認要求)を受信した場合には、第2通信方式を室外機110との通信に使用する通信方式として決定する。The indoor communication
For example, when the indoor communication
室内空調制御部162は、室内通信方式判定部161からの通知に従って、第1通信方式又は第2通信方式に従って、室内通信部150に通信を行わせる。
また、室内空調制御部162は、室内空調部141の制御を行う。The indoor air
Further, the indoor air
以上に記載された室内通信部150は、例えば、図4(A)に示されているように、単一回路、複合回路、プログラム化したプロセッサ、並列プログラム化したプロセッサ、ASIC又はFPGA等の処理回路10で構成することができる。
ここで、第1通信部151及び第2通信部152は、それぞれ別々の処理回路10で構成されていてもよく、また、第1通信部151及び第2通信部152は、一部を共有した一つの処理回路10で構成されていてもよい。また、切替部153は、例えば、トランジスタによるスイッチングを使用して、第1通信部151及び第2通信部152を切り替えればよい。The
Here, the first communication unit 151 and the second communication unit 152 may be configured by
また、以上に記載された室内制御部160は、例えば、図4(B)に示されているように、メモリ11と、メモリ11に格納されているプログラムを実行するCPU等のプロセッサ12とにより構成することができる。このようなプログラムは、ネットワークを通じて提供されてもよく、また、記録媒体に記録されて提供されてもよい。即ち、このようなプログラムは、例えば、プログラムプロダクトとして提供されてもよい。
なお、室内制御部160の一部は、例えば、図4(A)に示されている処理回路10で構成されてもよい。In addition, the
In addition, a part of the
次に、空調システム100での動作を説明する。
図7は、室外機110の室外通信方式判定部131の動作を示す状態遷移図である。
室外通信方式判定部131は、室外機110の起動時に、第1切替要求に遷移する(S10)。
第1切替要求では、室外通信方式判定部131は、第2通信方式から第1通信方式に切り替えるため、室外通信部120に、第2通信方式で、室内機140へ第1通信方式切替要求フレームを送信させる。第1通信方式切替要求フレームは、第2通信方式から第1通信方式に切り替える内容(第1切替要求)を示すものとする。送信回数は、1回でもよいし、予め定められた回数(例えば5回)でもよい。Next, the operation of the air conditioning system 100 will be described.
FIG. 7 is a state transition diagram showing the operation of the outdoor communication
The outdoor communication
In the first switching request, the outdoor communication
室外通信方式判定部131は、第1通信方式切替要求フレームを送信させた後、第1室外側方式確認に遷移する(S11)。
第1室外側方式確認では、室外通信方式判定部131は、室外通信部120に、第1通信方式で、室内機140にフレーム(第1通信方式フレーム)を送信させる。このとき送信されるフレームは、第1通信方式に対応したフレームであり、第1通信方式に対応した室内機が解釈し、応答可能なフレームとする。ここで送信されるフレームは、接続されている全ての室内機140から応答を受けることのできるフレームであればどのようなフレームでもよく、例えば、接続されている室内機140の台数を調べるためのフレーム等であればよい。ここでのフレームは、第1通信方式に対応しているか否かを確認する内容(第1方式確認要求)を示すものとする。
ここで、室外通信方式判定部131は、室内機140から正常な応答があるまで、予め定められた回数、又は、予め定められた期間(第1の期間)、上記フレームの送信を繰り返す。例えば、室外通信方式判定部131は、フレームの送信を10秒間繰り返して、その期間、室内機140からの応答の受信を待機する。After transmitting the first communication method switching request frame, the outdoor communication
In the first outdoor side system confirmation, the outdoor communication
Here, the outdoor communication
そして、全ての室内機140から正常な応答があった場合、室外通信方式判定部131は、第1立ち上げ処理に遷移する(S12)。
一方、全ての室内機140からは、正常な応答がない場合、言い換えると、少なくとも1台の室内機140から正常な応答がない場合には、室外通信方式判定部131は、第2切替要求に遷移する(S13)。
ここで、室外機110及び室内機140間でやりとりされるフレームは、第1通信方式及び第2通信方式の両方において、エラーチェックができるものとする。例えば、実施の形態1では、フレームは、フィールド単位及びフレーム単位でエラーチェックができるものとする。
ここで、フィールドは、8bitのデータビットと、それに付属するスタートビット、ストップビット及びパリティビットとを指す。伝送に誤りがあった場合、多くの場合、パリティビットによるチェックでエラーとなる。
また、フィールドでエラーが検出できなかった場合、フレームの最末尾にあるフレームチェックコードにより、フレーム全体のエラーチェックができる。フレームチェックコードは、例えば、フレーム内の一部のデータを合計した値の2の補数をとるといったような方式がある。
そして、室外通信方式判定部131は、上記のパリティエラー若しくはフレームチェックコードエラーといったエラーが発生した場合、又は、室内機140から応答がなかった場合には、正常な応答がなかったと判定する。Then, when there is a normal response from all the
On the other hand, when there is no normal response from all the
Here, it is assumed that the frames exchanged between the
Here, the field indicates a data bit of 8 bits and a start bit, a stop bit and a parity bit attached to the data bit. When there is an error in transmission, a check using the parity bit often results in an error.
Also, if no error is detected in the field, the frame check code at the end of the frame allows error checking of the entire frame. For the frame check code, for example, there is a method such as taking a two's complement of a value obtained by summing a part of data in the frame.
Then, the outdoor communication
第1立ち上げ処理では、室外通信方式判定部131は、第1通信方式を室内機140との通信に使用する通信方式として決定して、第1通信方式で立ち上げ処理を実施する。例えば、室外通信方式判定部131は、室外通信部120に、第1通信方式で、室内機140の機種情報(対応する機能を示す情報)の取得等を要求するフレームを室内機140へ送信させる。このとき、室外通信方式判定部131は、室外通信部120に、第1通信方式で、室内機140に、室内機140が第2通信方式に対応しているか否かを確認するフレーム(第2通信方式対応確認フレーム)を送信するものとする。ここでのフレームは、第2通信方式に対応しているか否かを確認する内容(対応確認要求)を示す。
In the first startup process, the outdoor communication
そして、室外通信方式判定部131は、第2通信方式対応確認フレームへの応答に基づいて、全ての室内機140が第2通信方式に対応しているか否かを判断する。
全ての室内機140が第2通信方式に対応している場合には、室外通信方式判定部131は、第2切替要求に遷移する(S14)。
全ての室内機140が第2通信方式には対応していない場合、言い換えると、少なくとも1台の室内機140が第2通信方式に対応していない場合には、第1室外側定常処理に遷移する(S15)。なお、第2通信方式対応確認フレームに少なくとも1台の室内機140が応答しない場合も、室内機140が第2通信方式に対応していない場合に含まれる。Then, the outdoor communication
When all the
When all the
第1室外側定常処理では、室外通信方式判定部131は、室外空調制御部132に第1通信方式を使用する判定結果を通知し、室外空調制御部132は、第1通信方式で定常処理を行う。定常処理には、室内機140を制御するための処理が含まれる。
In the first outdoor steady process, the outdoor communication
第2切替要求では、室外通信方式判定部131は、第1通信方式から第2通信方式に切り替えるため、室外通信部120に、第1通信方式で、第2通信方式切替要求フレームを室内機140へ送信させる。第2通信方式切替要求フレームは、第1通信方式から第2通信方式に切り替える内容(第2切替要求)を示すものとする。送信回数は、1回でもよいし、予め定められた回数(例えば5回)でもよい。
In the second switching request, the outdoor communication
室外通信方式判定部131は、第2通信方式切替要求フレームを送信させた後、第2室外側方式確認に遷移する(S16)。
第2室外側方式確認では、室外通信方式判定部131は、室外通信部120に、第2通信方式で、フレーム(第2通信方式フレーム)を室内機140へ送信させる。このとき送信されるフレームは、第2通信方式に対応したフレームであり、第2通信方式に対応した室内機が解釈し、応答可能なフレームとする。ここで送信されるフレームは、接続されている全ての室内機140から応答を受けることのできるフレームであればどのようなフレームでもよく、例えば、接続されている室内機140の台数を調べるためのフレーム等であればよい。ここでのフレームは、第2通信方式に対応しているか否かを確認する内容(第2方式確認要求)を示す。
ここで、室外通信方式判定部131は、室内機140から正常な応答があるまで、予め定められた回数、又は、予め定められた期間(第1の期間)、上記フレームの送信を繰り返す。例えば、室外通信方式判定部131は、フレームの送信を10秒間繰り返し、その期間、室内機140からの応答の受信を待機する。After transmitting the second communication system switching request frame, the outdoor communication
In the second outdoor side system confirmation, the outdoor communication
Here, the outdoor communication
そして、全ての室内機140から正常な応答があった場合、室外通信方式判定部131は、第2立ち上げ処理に遷移する(S17)。
一方、全ての室内機140からは、正常な応答がない場合、言い換えると、少なくとも1台の室内機140から正常な応答がない場合には、室外通信方式判定部131は、第1切替要求に遷移する(S18)。Then, when there is a normal response from all the
On the other hand, when there is no normal response from all the
第2立ち上げ処理では、室外通信方式判定部131は、第2通信方式を室内機140との通信に使用する通信方式として決定し、第2通信方式で立ち上げ処理を実施する。例えば、室外通信方式判定部131は、室外通信部120に、第2通信方式で、室内機140の機種情報(対応する機能を示す情報)の取得等を要求するフレームを室内機140へ送信させる。処理完了後、室外通信方式判定部131は、第2室外側定常処理に遷移する(S19)。
In the second startup process, the outdoor communication
第2室外側定常処理では、室外通信方式判定部131は、室外空調制御部132に第2通信方式を使用する判定結果を通知し、室外空調制御部132は、第2通信方式で定常処理を行う。
In the second outdoor regular processing, the outdoor communication
なお、図7では、起動後、室外通信方式判定部131は、第1切替要求に遷移する(S10)ものとしたが、第2切替要求に遷移してもよい。
Note that, in FIG. 7, the outdoor communication
図8は、室内機140の室内通信方式判定部161の動作を示す状態遷移図である。
室内機140の室内通信方式判定部161は、室内機140の起動後、第1室内側方式確認に遷移する(S20)。
第1室内側方式確認では、室内通信方式判定部161は、室内通信部150に第1通信方式で、室外機110からのフレームを待ち受けさせる。
室内通信方式判定部161は、室外機110から正常なフレームを受信した場合、受信したフレームが、第1通信方式から第2通信方式への切り替えを内容とする第2通信方式切替要求フレームであった場合、第2定常処理に遷移する(S21)。
また、室内通信方式判定部161は、正常に受信されたフレームが、その他のフレーム、例えば、第1通信方式フレームであった場合、第1室内側定常処理に遷移する(S22)。
一方、室内通信方式判定部161は、一定期間(第2の期間)、室外機110から正常なフレームを受信しない場合、第2室内側方式確認に遷移する(S23)。ここでの一定期間は、例えば30秒とする。FIG. 8 is a state transition diagram showing the operation of the indoor communication
The indoor communication
In the first indoor side system confirmation, the indoor communication
When the normal frame is received from the
In addition, when the normally received frame is another frame, for example, the first communication system frame, the indoor communication
On the other hand, when the indoor communication
第1室内側定常処理では、室内通信方式判定部161は、第1通信方式を使用する判定結果を室内空調制御部162に通知し、室内空調制御部162は、第1通信方式で、室内通信部150に室外機110からのフレームを待ち受けさせる。
室内空調制御部162は、室内通信部150がフレームを受信すると、受信されたフレームを受け取り、受信されたフレームが、第1通信方式から第2通信方式への切り替えを内容とする第2通信方式切替要求フレームであるか否かを判断する。
受信されたフレームが第2通信方式切替要求フレームである場合には、室内空調制御部162は、室内通信方式判定部161に通知し、室内通信方式判定部161は、第2室内側定常処理に遷移する(S24)。
一方、受信されたフレームが第2通信方式切替要求フレームではない場合には、室内空調制御部162は、受信されたフレームに対して、室内通信部150を介して応答する。In the first indoor-side steady process, the indoor communication
When the
When the received frame is the second communication system switching request frame, the indoor air
On the other hand, when the received frame is not the second communication system switching request frame, the indoor air
第2室内側方式確認では、室内通信方式判定部161は、室内通信部150に第2通信方式で、室外機110からのフレームを待ち受けさせる。
室内通信方式判定部161は、室外機110から正常なフレームを受信した場合、受信したフレームが、第2通信方式から第1通信方式への切り換えを内容とする第1通信方式切替要求フレームであった場合、第1室内側定常処理に遷移する(S25)。
また、室内通信方式判定部161は、正常に受信されたフレームが、その他のフレーム、例えば、第2通信方式フレームであった場合、第2室内側定常処理に遷移する(S26)。
一方、室内通信方式判定部161は、一定期間(第2の期間)、室外機110から正常なフレームを受信しない場合、第1室内側方式確認に遷移する(S27)。ここでの一定期間は、例えば30秒とする。In the second indoor system confirmation, the indoor communication
When the normal frame is received from the
Further, when the normally received frame is another frame, for example, the second communication system frame, the indoor communication
On the other hand, if the indoor communication
第2室内側定常処理では、室内通信方式判定部161は、第2通信方式を使用する判定結果を室内空調制御部162に通知し、室内空調制御部162は、第2通信方式で、室内通信部150に室外機110からのフレームを待ち受けさせる。
室内空調制御部162は、室内通信部150がフレームを受信すると、受信されたフレームを受け取り、受信されたフレームが、第2通信方式から第1通信方式への切り替えを内容とする第1通信方式切替要求フレームであるか否かを判断する。
受信されたフレームが第1通信方式切替要求フレームである場合には、室内空調制御部162は、室内通信方式判定部161に通知し、室内通信方式判定部161は、第1室内側定常処理に遷移する(S27)。
一方、受信されたフレームが第1通信方式切替要求フレームではない場合には、室内空調制御部162は、受信されたフレームに対して、室内通信部150を介して応答する。In the second indoor-side steady process, the indoor communication
When the
When the received frame is the first communication system switching request frame, the indoor air
On the other hand, when the received frame is not the first communication system switching request frame, the indoor air
なお、図8では、起動後、室内通信方式判定部161は、第1室内側方式確認に遷移する(S20)ものとしたが、第2室内側方式確認に遷移してもよい。
Although in FIG. 8 the indoor communication
以上のように、実施の形態1によれば、室外機110及び室内機140の両方が、第1通信方式と第2通信方式とを切り替えて、何れか一方の通信方式で起動することができる。
As described above, according to the first embodiment, both the
また、実施の形態1によれば、例えば、図1に示されている空調システム100#1のように、室内機140D#1が、他の室内機140A〜140Cとは異なり、第1通信方式にのみ対応している場合でも、室外機110は、第1通信方式で起動し、他の室内機140A〜140Cも第1通信方式で起動することにより、空調システム100#1が第1通信方式で通信を行うことができるようになる。なお、室内機140D#1だけが第1通信方式にのみ対応しているばかりでなく、複数の室内機又は全ての室内機が第1通信方式にのみ対応している場合にも、第1通信方式で通信を行うことができるようになる。
Further, according to the first embodiment, for example, like the air conditioning system 100#1 shown in FIG. 1, the
さらに、実施の形態1によれば、例えば、図1に示されている空調システム100#2のように、室内機140D#2が、他の室内機140A〜140Cとは異なり、第2通信方式にのみ対応している場合でも、室外機110は、第2通信方式で起動し、他の室内機140A〜140Cも第2通信方式で起動することにより、空調システム100#2が第2通信方式で通信を行うことができるようになる。なお、室内機140D#2だけが第2通信方式にのみ対応しているばかりでなく、複数の室内機又は全ての室内機が第2通信方式にのみ対応している場合にも、第2通信方式で通信を行うことができるようになる。
Further, according to the first embodiment, for example, like the air conditioning system 100#2 shown in FIG. 1, the
また、実施の形態1によれば、例えば、図1に示されている空調システム100#3のように、室外機110#3が、実施の形態1における室外機110と異なり、第1通信方式にのみ対応している場合でも、室外機110#3は、第1通信方式で起動し、室内機140も第1通信方式で起動することにより、空調システム100#3が第1通信方式で通信を行うことができるようになる。なお、上述のように、室内機140D#1が第1通信方式にのみ対応している場合、又は、複数の室内機が第1通信方式にのみ対応している場合でも、同様に、第1通信方式で通信を行うことができるようになる。
Further, according to the first embodiment, unlike the
さらに、実施の形態1によれば、例えば、図1に示されている空調システム100#4のように、室外機110#4が、実施の形態1における室外機110と異なり、第2通信方式にのみ対応している場合でも、室外機110#4は、第2通信方式で起動し、室内機140も第2通信方式で起動することにより、空調システム100#4が第2通信方式で通信を行うことができるようになる。なお、上述のように、室内機140D#2が第2通信方式にのみ対応している場合、又は、複数の室内機が第2通信方式にのみ対応している場合でも、同様に、第2通信方式で通信を行うことができるようになる。
Further, according to the first embodiment, the
実施の形態2.
図1に示すように、実施の形態2に係る通信システムとしての空調システム200は、室外機210と、室内機240A〜240Dとを備える。
ここで、室内機240A〜240Dの各々を特に区別する必要がない場合には、室内機240という。なお、室内機240は、1台以上あればよい。
また、通信システムとして、室外機210は、第1通信装置(マスタ装置)として機能し、室内機240は、第2通信装置(スレーブ装置)として機能する。Embodiment 2.
As shown in FIG. 1, an air conditioning system 200 as a communication system according to the second embodiment includes an
Here, when it is not necessary to distinguish each of the
Further, as the communication system, the
図9は、実施の形態2における室外機210の構成を概略的に示すブロック図である。
室外機210は、室外空調部111と、室外通信部120と、室外制御部230と、室外記憶部212と、室外リセット要因判定部213とを備える。
実施の形態2における室外機210の室外空調部111及び室外通信部120は、実施の形態1における室外機110の室外空調部111及び室外通信部120と同様である。FIG. 9 is a block diagram schematically showing the configuration of the
The
The outdoor
室外記憶部212は、室外リセット要因判定部213が判定したリセットの要因を示す室外リセット要因情報を記憶する。室外記憶部212は、例えば、EEPROM(Electrically Erasable Programmable Read Only Memory)等の不揮発性メモリにより構成される。室外記憶部212に記憶された情報は、室外制御部230から読み出し又は書き込みが可能である。室外記憶部212の記憶内容は、主電源がオフになっても記憶される。
The
さらに、室外記憶部212は、室外通信方式判定部231による判定結果を示す室外通信方式情報を記憶する。室外通信方式判定部231は、通信方式を切り替えるたびに、室外通信方式情報が切り替え後の通信方式を示すように更新する。例えば、室外通信方式判定部231は、第1室外側定常処理又は第2室外側定常処理へ遷移した際に、室外通信方式情報を更新すればよい。これにより、室外通信方式情報は、室外機210が使用している通信方式を示すことになる。
Further, the
室外リセット要因判定部213は、室外機210のリセットの要因を判定し、その判定結果であるリセット要因を示す室外リセット要因情報を室外記憶部212に記憶させる。
例えば、室外リセット要因判定部213は、商用電源101からの電源電圧を計測するように接続されたA/D(Analog/Digital)変換回路により構成することができる。このような場合には、A/D変換回路は、電源電圧を監視し、電圧が低下してから一定期間以内に復帰した場合は、一時的な電源電圧の低下と判定し、一定期間以上経過した場合は、主電源オフと判定する。そして、A/D変換回路は、電源電圧が低下してから一定期間以上経過した際に、室外記憶部212に主電源オフを示すフラグを立てるなど、リセット解除後に、リセット要因判定結果であるリセット要因情報を参照できるようにする。The outdoor reset
For example, the outdoor reset
また、室外リセット要因判定部213は、電源ラインとグラウンドとを接続するコンデンサに接続されたA/D変換回路により構成することもできる。A/D変換回路は、リセットの発生後に、コンデンサに印加されている電圧をA/D変換し、一定値以上であれば、リセット要因を一時的な電源電圧の低下と判定し、一定値未満であれば、リセット要因を主電源オフと判定する。このような構成とした場合、室外記憶部212にリセット要因情報を記録する必要はない。
The outdoor reset
室外制御部230は、室外機210での処理を制御する制御部である。例えば、室外制御部230は、室外通信部120を制御して、室内機240と通信を行わせる。
室外制御部230は、室外通信方式判定部231と、室外空調制御部132とを備える。
実施の形態2における室外制御部230の室外空調制御部132は、実施の形態1における室外制御部130の室外空調制御部132と同様である。The
The
The outdoor air
室外通信方式判定部231は、室外通信部120を制御して、室内機240との通信に、第1通信方式を使用するか、第2通信方式を使用するかを判定し、その判定結果を室外空調制御部132に与える。
また、室外通信方式判定部231は、通信方式を切り換えた際に、室外記憶部212に記憶されている室外通信方式情報が切り替え後の通信方式を示すように更新する。
ここで、実施の形態2における室外通信方式判定部231は、室外リセット要因判定部213が判定したリセット要因及びリセット時の通信方式に基づいて、室外機210の起動時に遷移する状態を変える処理及び室外通信方式情報を更新する処理以外は、実施の形態1における室外通信方式判定部131と同様の処理を行う。The outdoor communication
Further, when the communication method is switched, the outdoor communication
Here, the outdoor communication
図10は、実施の形態2における室内機240の構成を概略的に示すブロック図である。
室内機240は、室内空調部141と、室内通信部150と、室内制御部260と、室内記憶部242と、室内リセット要因判定部243とを備える。
実施の形態2における室内機240の室内空調部141及び室内通信部150は、実施の形態1における室内機140の室内空調部141及び室内通信部150と同様である。FIG. 10 is a block diagram schematically showing the configuration of the
The
The indoor
室内記憶部242は、室内リセット要因判定部243が判定したリセットの要因を示す室内リセット要因情報を記憶する。
さらに、室内記憶部242は、室内通信方式判定部261による判定結果を示す室内通信方式情報を記憶する。室内通信方式判定部261は、通信方式を切り替えるたびに、室内通信方式情報を切り替え後の通信方式を示すように更新する。例えば、室内通信方式判定部261は、第1室内側定常処理又は第2室内側定常処理へ遷移するたびに、室内通信方式情報を更新すればよい。これにより、室内通信方式情報は、室内機240が使用している通信方式を示すことになる。
なお、室内記憶部242は、上述した室外記憶部212と同様に構成されている。The
Furthermore, the
The
室内リセット要因判定部243は、室内機240のリセットの要因を判定し、その判定結果であるリセット要因を示す室内リセット要因情報を室内記憶部242に記憶させる。室内リセット要因判定部243は、上述した室外リセット要因判定部213と同様に構成されている
The indoor reset
室内制御部260は、室内機240での処理を制御する制御部である。例えば、室内制御部260は、室内通信部150を制御して、室外機210と通信を行わせる。
室内制御部260は、室内通信方式判定部261と、室内空調制御部162とを備える。
実施の形態2における室内制御部260の室内空調制御部162は、実施の形態1における室内制御部160の室内空調制御部162と同様である。The
The
The indoor air
室内通信方式判定部261は、室内通信部150を制御して、室外機210との通信に、第1通信方式を使用するか、第2通信方式を使用するかを判定し、その判定結果を室内空調制御部162に与える。
また、室内通信方式判定部261は、通信方式を切り換えた際に、室内記憶部242に記憶されている室内通信方式情報が切り替え後の通信方式を示すように更新する。
ここで、実施の形態2における室内通信方式判定部261は、室内リセット要因判定部243が判定したリセット要因及びリセット時の通信方式に基づいて、室内機240の起動時に遷移する状態を変える処理及び室内通信方式情報を更新する処理以外は、実施の形態1における室内通信方式判定部161と同様の処理を行う。The indoor communication system determination unit 261 controls the
Further, when the communication method is switched, the indoor communication method determination unit 261 updates the indoor communication method information stored in the
Here, the indoor communication system determination unit 261 according to the second embodiment performs processing for changing the state transitioned when the
次に、実施の形態2における空調システム200での動作を説明する。
ここで、以下、リセット要因としての主電源オフは、POR(Power on Reset)、リセット要因としての一時的な電源電圧の低下は、WDR(Watch Dog Reset)と表記する。Next, the operation of the air conditioning system 200 according to the second embodiment will be described.
Here, the main power supply OFF as a reset factor is referred to as POR (Power on Reset), and the temporary decrease of the power supply voltage as a reset factor is referred to as WDR (Watch Dog Reset).
図11は、室外機210の室外通信方式判定部231の動作を示す状態遷移図である。
室外通信方式判定部231は、室外機210の起動時に、室外記憶部212に記憶されている室外リセット要因情報を取得し、室外リセット要因情報で示されるリセット要因がPORの場合、第1切替要求に遷移する(S1)。
一方、リセット要因がWDRの場合、室外通信方式判定部231は、室外記憶部212に記憶されている室外通信方式情報を取得して、リセット時に使用されていた通信方式を確認する。そして、室外通信方式情報が示す通信方式、言い換えると、リセット時に使用されていた通信方式が第1通信方式の場合、室外通信方式判定部231は、第1立ち上げ処理へ遷移し(S2)、室外通信方式情報が示す通信方式が第2通信方式の場合、室外通信方式判定部231は、第2立ち上げ処理へ遷移する(S3)。FIG. 11 is a state transition diagram showing the operation of the outdoor communication
The outdoor communication
On the other hand, when the reset factor is WDR, the outdoor communication
なお、第1切替要求、第1室外側方式確認、第1立ち上げ処理、第1室外側定常処理、第2切替要求、第2室外側方式確認、第2立ち上げ処理及び第2室外側定常処理は、実施の形態1と同様である。 The first switching request, the first outdoor side system confirmation, the first startup process, the first outdoor side steady process, the second switching request, the second outdoor side system confirmation, the second startup process, and the second outdoor side steady process. The processing is the same as in the first embodiment.
図12は、室内機240の室内通信方式判定部261の動作を示す状態遷移図である。
室内通信方式判定部261は、室内機240の起動時に、室内記憶部242に記憶されている室内リセット要因情報及び室内通信方式情報を取得し、室外通信方式情報が第1通信方式を示し、室内リセット要因情報がPORを示す場合には、第1室内側方式確認へ遷移する(S4)。
また、室内通信方式判定部261は、室外通信方式情報が第1通信方式を示し、室内リセット要因情報がWDRを示す場合には、第1室内側定常処理へ遷移する(S5)。
さらに、室内通信方式判定部261は、室外通信方式情報が第2通信方式を示し、室内リセット要因情報がPORを示す場合には、第2室内側方式確認へ遷移する(S6)。
加えて、室内通信方式判定部261は、室外通信方式情報が第2通信方式を示し、室内リセット要因情報がWDRを示す場合には、第2室内側定常処理へ遷移する(S7)。FIG. 12 is a state transition diagram showing the operation of the indoor communication system determination unit 261 of the
The indoor communication method determination unit 261 acquires the indoor reset factor information and the indoor communication method information stored in the
If the outdoor communication method information indicates the first communication method and the indoor reset factor information indicates WDR, the indoor communication method determination unit 261 transitions to the first indoor-side steady process (S5).
Further, when the outdoor communication method information indicates the second communication method and the indoor reset factor information indicates POR, the indoor communication method determination unit 261 transitions to the second indoor side method confirmation (S6).
In addition, when the outdoor communication method information indicates the second communication method and the indoor reset factor information indicates WDR, the indoor communication method determination unit 261 transitions to the second indoor side steady process (S7).
ここで、第1室内側方式確認、第1室内側定常処理、第2室内側方式確認及び第2室内側定常処理については、実施の形態1と同様である。 Here, the first indoor side system confirmation, the first indoor side steady process, the second indoor side system confirmation, and the second indoor side steady process are the same as in the first embodiment.
以上のように、実施の形態2によれば、リセット要因がWDRの場合に、早急にリセット前の状態に復帰することができる。 As described above, according to the second embodiment, when the reset factor is WDR, it is possible to immediately return to the state before the reset.
実施の形態1及び2では、室外機110、210における正常応答の待機期間(第1の期間)を10秒とし、室内機140、240における正常受信の待機期間(第2の期間)を30秒としているが、これらの待機期間が同じであってもよい。但し、これらを同じ期間とすると、室外機110、210及び室内機140、240が、同一のタイミングで異なる通信方式で起動すると正常に通信が確立できない可能性がある。このため、通信方式を切り替える期間を異なる期間とすることでこれを解決することができる。
In the first and second embodiments, the standby period (first period) for normal response in the
実施の形態1及び2では、室外機110、110#3、110#4、210に商用電源101が接続されているが、例えば、図13に示されているように、何れかの室内機(ここでは、室内機140A、240A)に別の商用電源102が接続されて、他の室内機にも電源が供給されてもよい。
In the first and second embodiments, the
100,100#1,100#2,100#3,100#4,200 空調システム、 101,102 商用電源、 110,110#3,110#4,210 室外機、 111 室外空調部、 212 室外記憶部、 213 室外リセット要因判定部、 120 室外通信部、 121 第1通信部、 122 第2通信部、 123 切替部、 130、230 室外制御部、 131、231 室外通信方式判定部、 132 室外空調制御部、 140,140D#1,140D#2,240 室内機、 141 室内空調部、 242 室内記憶部、 243 室内リセット要因判定部、 150 室内通信部、 151 第1通信部、 152 第2通信部、 153 切替部、 160,260 室内制御部、 161、261 室内通信方式判定部、 162 室内空調制御部。
100,100#1,100#2,100#3,100#4,200 Air conditioning system, 101,102 Commercial power supply, 110,110#3,110#4,210 Outdoor unit, 111 Outdoor air conditioning unit, 212 Outdoor storage Unit, 213 outdoor reset factor determination unit, 120 outdoor communication unit, 121 first communication unit, 122 second communication unit, 123 switching unit, 130, 230 outdoor control unit, 131, 231, outdoor communication method determination unit, 132 outdoor air conditioning control Section, 140,
本発明の第1の態様に係る通信システムは、第1通信方式及び第2通信方式を切り替えて通信を行う第1通信装置と、前記第1通信装置に接続される第2通信装置と、を備える通信システムであって、前記第1通信装置は、前記第1通信装置の起動時に、前記第1通信方式及び前記第2通信方式から選択された一つの通信方式に切り替える要求を前記第2通信装置に送信した後に、前記一つの通信方式で前記第2通信装置と通信し、前記第2通信装置から正常な応答を受けた場合には、前記一つの通信方式を、前記第2通信装置との通信に使用する通信方式として決定し、前記第2通信装置から正常な応答を受けなかった場合には、前記一つの通信方式を別の通信方式に切り替えることを特徴とする。 A communication system according to a first aspect of the present invention includes a first communication device that performs communication by switching between a first communication system and a second communication system, and a second communication device connected to the first communication device. In the communication system, the first communication device, when the first communication device is activated, requests the second communication to switch to one communication system selected from the first communication system and the second communication system. after transmitting device communicates with the second communication device at said one communication method, the second when receiving a communication device or et normal response is the one communication method, the second communication device It is characterized in that it is determined as a communication method to be used for communication with the second communication device, and if one of the communication methods is not normally received, the one communication method is switched to another communication method.
本発明の第2の態様に係る通信システムは、第1通信方式及び第2通信方式の少なくとも何れか一方を用いて通信を行う第1通信装置と、第1通信方式及び第2通信方式を切り替えて通信を行い、前記第1通信装置に接続される第2通信装置と、を備える通信システムであって、前記第2通信装置は、前記第2通信装置の起動時に、前記第1通信方式に切り替える要求を受信した後に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記第1通信装置との通信に使用する通信方式として決定し、前記第2通信装置の起動時に、前記第2通信方式に切り替える要求を受信した後に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記第1通信装置との通信に使用する通信方式として決定することを特徴とする。 Communication system according to a second aspect of the present invention switches the first communication apparatus for communicating with at least one of the first communication scheme and the second communication scheme, the first communication method and the second communication method there line communication Te, the second communication device connected to the first communication device, a communication system comprising, the second communication apparatus, at the start of the second communication device, the first communication system After receiving the request to switch to the first communication method, if the first method confirmation request for confirming whether or not the first communication method is supported is received, the first communication method is changed to the first communication apparatus. A method for determining whether or not the communication method to be used for communication is determined, and after confirming whether or not the second communication apparatus is compatible with the second communication method after receiving a request to switch to the second communication method when the second communication device is activated. When the two-method confirmation request is received, the second communication method is determined as the communication method used for communication with the first communication device.
本発明の一態様に係るマスタ装置は、スレーブ装置を接続するマスタ装置であって、前記スレーブ装置と第1通信方式及び第2通信方式を切り替えて通信を行う通信部と、前記通信部を制御する制御部と、を備え、前記制御部は、前記マスタ装置の起動時に、前記第1通信方式及び前記第2通信方式から選択された一つの通信方式に切り替える要求を前記スレーブ装置に送信した後に、前記一つの通信方式で前記スレーブ装置と通信させ、前記通信部が前記スレーブ装置から正常な応答を受けた場合には、前記一つの通信方式を、前記スレーブ装置との通信に使用する通信方式として決定し、前記通信部が前記スレーブ装置から正常な応答を受けなかった場合には、前記一つの通信方式を別の通信方式に切り替えることを特徴とする。 A master device according to an aspect of the present invention is a master device that connects a slave device, and controls a communication unit that communicates with the slave device by switching between a first communication system and a second communication system, and a communication unit. And a control unit for transmitting the request for switching to the one communication method selected from the first communication method and the second communication method to the slave apparatus when the master apparatus is activated. A communication method for communicating with the slave device when the communication unit receives a normal response from the slave device by communicating with the slave device using the one communication method. And the communication unit does not receive a normal response from the slave device, the one communication system is switched to another communication system.
本発明の一態様に係るスレーブ装置は、マスタ装置に接続されるスレーブ装置であって、前記マスタ装置と、第1通信方式及び第2通信方式を切り替えて通信を行う通信部と、前記通信部を制御する制御部と、を備え、前記制御部は、前記スレーブ装置の起動時に、前記第1通信方式に切り替える要求を受信した後に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記マスタ装置との通信に使用する通信方式として決定し、前記スレーブ装置の起動時に、前記第2通信方式に切り替える要求を受信した後に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記マスタ装置との通信に使用する通信方式として決定することを特徴とする。 A slave device according to an aspect of the present invention is a slave device connected to a master device, the communication device performing communication by switching between a first communication system and a second communication system with the master device, and the communication unit. And a control unit that controls the first communication method after receiving a request to switch to the first communication method when the slave device is activated. Request to switch to the second communication method when the slave apparatus is activated when the first communication method is determined to be the communication method used for communication with the master device. If a second method confirmation request for confirming whether or not it is compatible with the second communication method is received after receiving, the communication using the second communication method for communication with the master device. It is characterized in that it is decided as the method.
Claims (13)
前記第1通信装置は、
前記第1通信装置の起動時に、前記第1通信方式及び前記第2通信方式から選択された一つの通信方式で前記第2通信装置と通信し、前記第2通信装置の全てから正常な応答を受けた場合には、前記一つの通信方式を、前記第2通信装置との通信に使用する通信方式として決定し、前記第2通信装置から正常な応答を受けなかった場合には、前記一つの通信方式を別の通信方式に切り替えること
を特徴とする通信システム。A communication system for connecting a second communication device to a first communication device that performs communication by switching between a first communication system and a second communication system,
The first communication device,
When the first communication device is activated, it communicates with the second communication device by one communication system selected from the first communication system and the second communication system, and a normal response is sent from all the second communication devices. If received, the one communication method is determined as the communication method used for communication with the second communication device, and if no normal response is received from the second communication device, the one communication method is determined. A communication system characterized by switching the communication system to another communication system.
を特徴とする請求項1に記載の通信システム。The communication system according to claim 1, wherein the second communication method has a higher communication speed than the first communication method.
前記第1通信装置の起動時に、前記第2通信方式で、前記第2通信方式から前記第1通信方式への切り替えを要求する第1切替要求を前記第2通信装置に送信し、
前記第1切替要求の送信後に、前記第1通信方式を前記一つの通信方式として、前記第1通信方式で、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を前記第2通信装置へ送信し、
前記第2通信装置の全てから、前記第1方式確認要求に対して正常な応答を受けた場合には、前記第1通信方式を前記第2通信装置との通信に使用する通信方式として決定し、
前記第2通信装置から、前記第1方式確認要求に対して正常な応答を受けなかった場合には、前記第1通信方式を前記第2通信方式に切り替えること
を特徴とする請求項2に記載の通信システム。The first communication device,
When the first communication device is activated, in the second communication system, a first switching request that requests switching from the second communication system to the first communication system is transmitted to the second communication device,
After transmitting the first switching request, the first communication method is used as the one communication method, and the first communication method is used to confirm whether the first communication method is compatible with the first communication method. Sending a request to the second communication device,
When a normal response to the first system confirmation request is received from all the second communication devices, the first communication system is determined as a communication system to be used for communication with the second communication device. ,
The first communication method is switched to the second communication method when a normal response to the first method confirmation request is not received from the second communication device. Communication system.
前記第1通信方式を前記第2通信装置との通信に使用する通信方式として決定した場合には、前記第1通信方式で、前記第2通信方式に対応しているか否かを確認するための対応確認要求を前記第2通信装置に送信し、
前記第2通信装置から、前記対応確認要求に対して、前記第2通信方式に対応していることを示す応答を受けた場合には、前記第1通信方式を前記第2通信方式に切り替えること
を特徴とする請求項3に記載の通信システム。The first communication device,
When the first communication method is determined as the communication method used for communication with the second communication device, it is possible to confirm whether or not the first communication method is compatible with the second communication method. Send a correspondence confirmation request to the second communication device,
Switching the first communication system to the second communication system when a response indicating that the second communication system is supported is received from the second communication device in response to the correspondence confirmation request. The communication system according to claim 3, wherein:
前記第1通信方式を前記第2通信方式に切り替える場合には、前記第1通信方式で、前記第1通信方式から前記第2通信方式への切り替えを要求する第2切替要求を前記第2通信装置に送信し、
前記第2切替要求の送信後に、前記第2通信方式で、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を前記第2通信装置に送信し、
前記第2通信装置から、前記第2方式確認要求に対して正常な応答を受けた場合には、前記第2通信方式を前記第2通信装置との通信に使用する通信方式として決定し、
前記第2通信装置から、前記第2方式確認要求に対して正常な応答を受けなかった場合には、前記第2通信方式を前記第1通信方式に切り替えること
を特徴とする請求項3又は4に記載の通信システム。The first communication device,
When switching the first communication method to the second communication method, a second switching request for switching from the first communication method to the second communication method is issued by the second communication in the first communication method. Send to the device,
After the second switching request is transmitted, a second method confirmation request for confirming whether or not the second communication method is compatible with the second communication method is transmitted to the second communication device,
When a normal response to the second system confirmation request is received from the second communication device, the second communication system is determined as a communication system to be used for communication with the second communication device,
The third communication system is switched to the first communication system when a normal response to the second system confirmation request is not received from the second communication device. The communication system according to.
前記第1通信装置の起動時に、前記第1通信方式で、前記第1通信方式から前記第2通信方式への切り替えを要求する第2切替要求を前記第2通信装置に送信し、
前記第2切替要求の送信後に、前記第2通信方式を前記一つの通信方式として、前記第2通信方式で、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を前記第2通信装置へ送信し、
前記第2通信装置から、前記第2方式確認要求に対して正常な応答を受けた場合には、前記第2通信方式を前記第2通信装置との通信に使用する通信方式として決定し、
前記第2通信装置から、前記第2方式確認要求に対して正常な応答を受けなかった場合には、前記第2通信方式を前記第1通信方式に切り替えること
を特徴とする請求項1に記載の通信システム。The first communication device,
When the first communication device is activated, in the first communication system, a second switching request that requests switching from the first communication system to the second communication system is transmitted to the second communication device,
After the transmission of the second switching request, the second communication method is used as the one communication method, and the second communication method is used to confirm whether or not the second communication method is compatible with the second communication method. Sending a request to the second communication device,
When a normal response to the second system confirmation request is received from the second communication device, the second communication system is determined as a communication system to be used for communication with the second communication device,
The second communication method is switched to the first communication method when a normal response to the second method confirmation request is not received from the second communication device. Communication system.
前記第2通信装置の起動時に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記第1通信装置との通信に使用する通信方式として決定し、
前記第2通信装置の起動時に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記第1通信装置との通信に使用する通信方式として決定すること
を特徴とする請求項1に記載の通信システム。The second communication device,
When the first communication confirmation request for confirming whether or not the first communication system is supported is received at the time of starting the second communication device, the first communication system is set to the first communication device. Decided as the communication method to be used for
When a second system confirmation request for confirming whether or not the second communication system is supported is received at the time of starting the second communication device, the second communication system is set to the first communication device. The communication system according to claim 1, wherein the communication system is determined as a communication method used for the communication.
を特徴とする請求項7に記載の通信システム。During the first period in which the first communication device waits to receive the response from the second communication device, the second communication device receives the first system confirmation request or the second system confirmation request. The communication system according to claim 7, wherein the communication period is different from the second waiting period.
を特徴とする請求項1から8の何れか一項に記載の通信システム。The first communication device is configured to communicate with the second communication device at the time of the reset when the reset factor that causes the activation of the first communication device is a temporary decrease in the power supply voltage. The communication method that has been determined as the communication method to be used is determined as the communication method to be used for communication with the second communication device after the activation of the first communication device. The communication system according to claim 1.
前記第2通信装置は、
前記第2通信装置の起動時に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記第1通信装置との通信に使用する通信方式として決定し、
前記第2通信装置の起動時に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記第1通信装置との通信に使用する通信方式として決定すること
を特徴とする通信システム。A communication system in which a first communication apparatus that performs communication using at least one of a first communication method and a second communication method is connected to a second communication apparatus that performs communication by switching the first communication method and the second communication method And
The second communication device,
When the first communication confirmation request for confirming whether or not the first communication system is supported is received at the time of starting the second communication device, the first communication system is set to the first communication device. Decided as the communication method to be used for
When a second system confirmation request for confirming whether or not the second communication system is supported is received at the time of starting the second communication device, the second communication system is set to the first communication device. A communication system characterized by being determined as a communication method to be used for the communication of.
を特徴とする請求項10に記載の通信システム。The second communication device, when the reset factor that has caused the activation of the second communication device is a temporary decrease in the power supply voltage, communicates with the first communication device at the time of the reset. The communication method determined as the communication method to be used is determined as the communication method to be used for communication with the first communication device after the activation of the second communication device. system.
前記スレーブ装置と第1通信方式及び第2通信方式を切り替えて通信を行う通信部と、
前記通信部を制御する制御部と、を備え、
前記制御部は、前記マスタ装置の起動時に、前記第1通信方式及び前記第2通信方式から選択された一つの通信方式で前記スレーブ装置と通信させ、前記通信部が前記スレーブ装置から正常な応答を受けた場合には、前記一つの通信方式を、前記スレーブ装置との通信に使用する通信方式として決定し、前記通信部が前記スレーブ装置から正常な応答を受けなかった場合には、前記一つの通信方式を別の通信方式に切り替えること
を特徴とするマスタ装置。A master device for connecting a slave device,
A communication unit that performs communication by switching between the first communication method and the second communication method with the slave device;
A control unit for controlling the communication unit,
The control unit causes the slave device to communicate with one of the first communication method and the second communication method when the master device is activated, and the communication unit returns a normal response from the slave device. Is received, the one communication method is determined as a communication method used for communication with the slave device, and when the communication unit does not receive a normal response from the slave device, the one communication method is determined. A master device characterized by switching from one communication method to another.
前記マスタ装置と、第1通信方式及び第2通信方式を切り替えて通信を行う通信部と、
前記通信部を制御する制御部と、を備え、
前記制御部は、
前記スレーブ装置の起動時に、前記第1通信方式に対応しているか否かを確認するための第1方式確認要求を受信した場合には、前記第1通信方式を前記マスタ装置との通信に使用する通信方式として決定し、
前記スレーブ装置の起動時に、前記第2通信方式に対応しているか否かを確認するための第2方式確認要求を受信した場合には、前記第2通信方式を前記マスタ装置との通信に使用する通信方式として決定すること
を特徴とするスレーブ装置。A slave device connected to the master device,
A communication unit that communicates with the master device by switching between a first communication system and a second communication system;
A control unit for controlling the communication unit,
The control unit is
The first communication method is used for communication with the master device when a first method confirmation request for confirming whether or not the first communication method is supported is received when the slave device is activated. Decided as the communication method to
When the slave device is activated, if the second system confirmation request for confirming whether or not the second communication system is supported is used, the second communication system is used for communication with the master device. A slave device characterized by being determined as a communication method to be used.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/JP2017/035088 WO2019064401A1 (en) | 2017-09-28 | 2017-09-28 | Communication system, master device and slave device |
Publications (2)
Publication Number | Publication Date |
---|---|
JPWO2019064401A1 true JPWO2019064401A1 (en) | 2020-07-02 |
JP6797312B2 JP6797312B2 (en) | 2020-12-09 |
Family
ID=65901153
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2019545467A Active JP6797312B2 (en) | 2017-09-28 | 2017-09-28 | Communication system, master device and slave device |
Country Status (2)
Country | Link |
---|---|
JP (1) | JP6797312B2 (en) |
WO (1) | WO2019064401A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112556131B (en) * | 2020-12-15 | 2022-03-25 | 佛山市顺德区美的电子科技有限公司 | Switching control panel for air conditioning system, air conditioning system and self-adaptive control method |
JP2022185181A (en) * | 2021-06-02 | 2022-12-14 | ダイキン工業株式会社 | Indoor machine |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62198241A (en) * | 1986-02-26 | 1987-09-01 | Fuji Facom Corp | Automatic switching and setting equipment for communication format |
JPH06334667A (en) * | 1993-05-24 | 1994-12-02 | Fujitsu Ltd | Communication method for multi-drop asynchronous communication |
JP2014222444A (en) * | 2013-05-14 | 2014-11-27 | 三菱電機株式会社 | Numerical control device and communication method |
JP2016146598A (en) * | 2015-02-09 | 2016-08-12 | トヨタ自動車株式会社 | On-vehicle communication apparatus |
JP2016161188A (en) * | 2015-02-27 | 2016-09-05 | ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド | Air conditioner system and program |
JP2017142652A (en) * | 2016-02-10 | 2017-08-17 | 三菱電機株式会社 | Communication device, communication system, communication method and program |
-
2017
- 2017-09-28 JP JP2019545467A patent/JP6797312B2/en active Active
- 2017-09-28 WO PCT/JP2017/035088 patent/WO2019064401A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS62198241A (en) * | 1986-02-26 | 1987-09-01 | Fuji Facom Corp | Automatic switching and setting equipment for communication format |
JPH06334667A (en) * | 1993-05-24 | 1994-12-02 | Fujitsu Ltd | Communication method for multi-drop asynchronous communication |
JP2014222444A (en) * | 2013-05-14 | 2014-11-27 | 三菱電機株式会社 | Numerical control device and communication method |
JP2016146598A (en) * | 2015-02-09 | 2016-08-12 | トヨタ自動車株式会社 | On-vehicle communication apparatus |
JP2016161188A (en) * | 2015-02-27 | 2016-09-05 | ジョンソンコントロールズ ヒタチ エア コンディショニング テクノロジー(ホンコン)リミテッド | Air conditioner system and program |
JP2017142652A (en) * | 2016-02-10 | 2017-08-17 | 三菱電機株式会社 | Communication device, communication system, communication method and program |
Also Published As
Publication number | Publication date |
---|---|
WO2019064401A1 (en) | 2019-04-04 |
JP6797312B2 (en) | 2020-12-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101256547B1 (en) | Air conditioner, method for controlling outdoor units of the air conditioner, and central control system having the same | |
EP2581676B1 (en) | Air conditioning system | |
JP5564956B2 (en) | Information processing apparatus and firmware update method for information processing apparatus | |
JP2014093075A (en) | Rack for simultaneously updating basic input/output system and method thereof | |
JP6029793B2 (en) | Air conditioning management system | |
JP2016143318A (en) | Program update device, program update system, household electric appliance, communication adapter, controller, program update method, and program | |
JPWO2019064401A1 (en) | Communication system, master device and slave device | |
JP5895385B2 (en) | Image output apparatus and program thereof | |
JP2002245022A (en) | Multiprocessor system, its shared memory control method and shared memory control program, | |
JP2016103114A (en) | Inverter and update method of firmware program in inverter | |
JP2006244269A (en) | Facility managing device, program update system, facility management program updating method, starting program and facility management program | |
JP5985066B2 (en) | Air conditioning system and update method | |
JP2008243177A (en) | Storage device | |
JP2010033506A (en) | Duplication system, and active system determination method in duplication system | |
JP6818773B2 (en) | Air conditioner | |
JP4152079B2 (en) | Peripheral device of programmable controller | |
JP7307309B2 (en) | water heater | |
KR20230103777A (en) | System for upgrading of home appliances and method thereof | |
JP7405360B2 (en) | water supply device | |
WO2016016998A1 (en) | Controller and home system | |
JP5734368B2 (en) | Control device, control system, control method, and program | |
JP6356736B2 (en) | Controller system and control method | |
JP5687171B2 (en) | Controller, monitoring unit, and sequence program update method | |
WO2019082738A1 (en) | Communication adaptor and program updating method for communication adaptor | |
JP5871644B2 (en) | RESTART CONTROL SYSTEM, RESTART CONTROL METHOD, AND PROGRAM |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20200121 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20200121 |
|
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: 20201020 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20201117 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 6797312 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |