JP2013175857A - Method for determining representative terminal of communication device and control system - Google Patents
Method for determining representative terminal of communication device and control system Download PDFInfo
- Publication number
- JP2013175857A JP2013175857A JP2012038226A JP2012038226A JP2013175857A JP 2013175857 A JP2013175857 A JP 2013175857A JP 2012038226 A JP2012038226 A JP 2012038226A JP 2012038226 A JP2012038226 A JP 2012038226A JP 2013175857 A JP2013175857 A JP 2013175857A
- Authority
- JP
- Japan
- Prior art keywords
- communication device
- response
- representative
- terminal
- communication
- 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
Images
Landscapes
- Selective Calling Equipment (AREA)
Abstract
Description
この発明は、通信装置と制御システムの代表端末決定方法に関するものである。 The present invention relates to a representative terminal determination method for a communication device and a control system.
複数の通信端末をマルチドロップ接続して、複数の通信端末間で相互に通信を行なうシステムがある。このようなシステムでは、通信データの内容に、送信先のあて名である識別番号を設けることが必要である。この識別番号は一般的にアドレスと呼ばれる。このアドレスは、通常システムの初期設定状態でアドレス設定スイッチ等によって、人為的に各端末機に設定される。上記のような通信装置については、アドレスを人為的に設定しているため、工事業者の誤設定が生じる虞があるので、それを防ぐための技術が提案されている(たとえば、特許文献1,2参照)。特許文献1には、一次局に多数の二次局をデイジーチェーン方式に接続し、配線順序により順次アドレスを自動設定する装置が開示されている。また、特許文献2には、既に稼働しているシステムに対して端末を増設する場合に、増設端末は自動的に自分のアドレスを作って、このアドレスが既存端末のアドレスと重複していないかを確認する装置が開示されている。
There is a system in which a plurality of communication terminals are connected in a multi-drop manner to communicate with each other. In such a system, it is necessary to provide an identification number, which is a destination address, in the contents of communication data. This identification number is generally called an address. This address is artificially set to each terminal by an address setting switch or the like in the initial setting state of the system. For the communication apparatus as described above, since the address is set artificially, there is a possibility that an erroneous setting of a construction contractor may occur. Therefore, a technique for preventing this is proposed (for example,
しかしながら、特許文献1に記載の技術では、配線順序によりアドレスを自動設定しているため、配線順に通信線を開放および接続する素子が必要であり、システム構成価格が増加するとともに、自動アドレス設定を主導する端末機が、システム中に1台あるときしか設定することができない。もし、自動アドレス設定の主導端末機と同様の機能を持つ端末機が2台以上あった場合は、これらの中から一つを選んで自動アドレス設定を主導させるようにするために、新たな設定スイッチが必要となる。また、これらのシステムでは、システム施工時に、最終的に管理したい順番に施工する必要があり、施工後のアドレス変更は困難となる等の問題点がある。
However, in the technique described in
また、特許文献2に記載の技術では、既存端末のアドレスと重複していないかを確認しているため、既にアドレスの設定が完了しているシステムが存在していることが前提であり、新規にシステムを設定する場合は、必ずアドレスを設定する必要があるという問題点がある。
In the technique described in
そこで、システムの初期設定を施工者に頼らず自動的に、かつ競って時間を最短にできるようにした技術が提案されている(たとえば、特許文献3参照)。特許文献3では、通信装置を構成する複数台のリモコンと複数の端末機群に対して、それぞれ電源投入時にリモコンがポーリングを開始するまでの時間とリモコンからの信号に対して端末が返信するまでの時間を遅延させる手段を設けることにより主リモコン、代表端末機を決定し情報の送受信を行わせることで、アドレス設定を不要としている。
Thus, a technique has been proposed in which the initial setting of the system can be automatically and competitively made the shortest time without depending on the installer (see, for example, Patent Document 3). In
しかしながら、特許文献3の技術では、代表端末機を意図的に決定するための配慮がなされていない。たとえば、保有する機能の異なる複数の端末を連動運転させるケースでは、最も多くの機能を有する端末または最も優先度の高い機能構成の端末に対して代表権を与えるのが好ましいが、特許文献3の技術では端末機群を構成する全ての端末に代表権が与えられる可能性がある。そのため、端末が保有する機能がリモコンで操作できる機能として適切に表示できない虞があった。これは、代表端末機に設定された端末が保有する機能しかリモコンで制御することができないというこの通信システムの特徴によるものである。
However, in the technique of
この発明は、上記に鑑みてなされたもので、複数の通信装置を電気的に接続するマルチドロップ接続により通信を行なうシステムで、最適な通信装置を代表端末機に設定することができる通信装置と制御システムの代表端末決定方法を得ることを目的とする。 The present invention has been made in view of the above, and is a system for performing communication by multi-drop connection in which a plurality of communication devices are electrically connected, and a communication device capable of setting an optimum communication device as a representative terminal. An object is to obtain a representative terminal determination method of a control system.
上記目的を達成するため、この発明にかかる通信装置は、1以上の機能を有する複数の通信装置が、前記通信装置を遠隔操作する操作器にマルチドロップ形式で通信線を介して接続される制御システムで使用される前記通信装置において、前記通信装置が有する機能の数に応じて設定された所定の範囲の応答時間範囲を含む応答時間設定情報を参照して、自通信装置の有する機能に対応した応答時間範囲となるように乱数を生成し、前記生成した乱数を代表権決定情報として記憶する乱数生成手段と、前記操作器から応答要求を受信すると、前記応答要求の受信時から前記代表権決定情報に対応する時間が経過後に前記応答要求に対する応答コマンドを送信する通信手段と、前記応答要求の受信時から前記代表権決定情報に対応する時間が経過するまでの間に、前記制御システム内の他の前記通信装置からの応答コマンドを受信したか否かによって、自通信装置を前記操作器との間でデータの送受信を行う代表端末とするか、前記操作器との間でデータの送受信を行わない子機とするかの判定を行う代表権決定手段と、を備えることを特徴とする。 In order to achieve the above object, a communication apparatus according to the present invention is a control in which a plurality of communication apparatuses having one or more functions are connected via a communication line in a multidrop manner to an operating device that remotely operates the communication apparatus. In the communication device used in the system, the response time setting information including a response time range of a predetermined range set according to the number of functions of the communication device is referred to correspond to the function of the own communication device. A random number generating means for generating a response time range, storing the generated random number as representative right determination information, and receiving a response request from the controller, the representative right from the time of receiving the response request. A communication means for transmitting a response command for the response request after the time corresponding to the determination information has elapsed; and a time corresponding to the representation right determination information from the time of reception of the response request. In the meantime, depending on whether or not a response command has been received from another communication device in the control system, the communication device is a representative terminal that transmits and receives data to and from the controller, Representative right determining means for determining whether or not to select a slave unit that does not transmit / receive data to / from the controller.
この発明によれば、通信装置が有する機能の数に応じて設定された所定の範囲の応答時間範囲を含む応答時間設定情報を参照して、自通信装置の有する機能に対応した応答時間範囲となるように乱数を生成し、生成した乱数を代表権決定情報として記憶する乱数生成手段と、応答要求の受信時から代表権決定情報に対応する時間が経過するまでの間に、他の通信装置からの応答コマンドを受信したか否かによって、自通信装置を代表端末とするか子機とするかの判定を行う代表権決定手段と、を備えるようにしたので、複数の通信装置を連動運転させるシステムでの代表端末を意図した通りに自動設定することができるという効果を有する。 According to this invention, with reference to response time setting information including a response time range of a predetermined range set according to the number of functions possessed by the communication device, a response time range corresponding to the function possessed by the communication device, Random number generating means for generating random numbers so as to store the generated random numbers as representative right determination information, and other communication devices between the time when the response request is received and the time corresponding to the representative right determination information elapses And a representative right determining means for determining whether the local communication device is a representative terminal or a slave unit depending on whether or not a response command is received from the mobile station. It is possible to automatically set the representative terminal in the system to be intended as intended.
以下に添付図面を参照して、この発明の実施の形態にかかる通信装置と制御システムの代表端末決定方法を詳細に説明する。なお、これらの実施の形態によりこの発明が限定されるものではない。 A representative terminal determination method for a communication device and a control system according to embodiments of the present invention will be described below in detail with reference to the accompanying drawings. Note that the present invention is not limited to these embodiments.
実施の形態1.
図1は、実施の形態1による通信装置が適用されるシステム構成の一例を模式的に示す図である。このシステムは、操作器であるリモコン1に対して3台の通信装置である端末2a,2b,2cが通信線3によってマルチドロップ形式で接続されている。この端末2a,2b,2cは、たとえば、室内の空気を換気する換気運転機能、室内からの排出空気と室内への給気空気との間で熱交換して室内の空気を換気する熱交換換気運転機能、給気空気を加湿して供給させる加湿運転機能、または給気空気を冷暖房して供給させる冷暖房運転機能などの空気質改善機能を有している。
FIG. 1 is a diagram schematically illustrating an example of a system configuration to which a communication device according to
図2は、図1のシステムでの各端末の機能構成の一例を示す図である。この図に示されるように、端末2aは、換気と熱交換を行うことができる装置であり、端末2bは、換気と熱交換と加湿を行うことができる装置であり、端末2cは、換気のみを行うことができる装置である。このように、端末2c→端末2a→端末2bの順に高機能化している。
FIG. 2 is a diagram illustrating an example of a functional configuration of each terminal in the system of FIG. As shown in this figure, the
図3は、実施の形態1による端末の機能構成の一例を模式的に示すブロック図である。端末2(2a,2b,2c)は、各端末2が有する機能に応じて設けられる負荷21と、負荷21を制御する制御回路22と、を有する。負荷21として、たとえば図2に示される機能に応じて、ファン、モータ、ヒータ、加湿機構などが設けられ、制御回路22に接続される。また、端末2は電源5に接続されている。
FIG. 3 is a block diagram schematically illustrating an example of a functional configuration of the terminal according to the first embodiment. The terminal 2 (2a, 2b, 2c) includes a
制御回路22は、負荷21をON/OFF(駆動)する負荷駆動部221と、通信線3上における通信状態を受信する機能と、通信線3上に信号を送信する機能とを備える通信手段である送受信部222と、制御部224で実行する処理プログラムやデータなどを記憶するEEPROM(Electrically Erasable Programmable Read Only Memory)などの不揮発性メモリ223と、不揮発性メモリ223に記憶された処理プログラムやデータに基づいて負荷駆動部221を制御する制御部224と、を有する。
The
なお、この実施の形態1では、制御回路22は、マルチドロップ形式で接続される端末2a,2b,2cのうちリモコン1との間で送受信を行う代表端末を決定する代表端末決定部を有する。図4は、代表端末決定部の機能構成の一例を模式的に示すブロック図である。代表端末決定部250は、応答時間設定情報格納部251と、乱数生成部252と、代表権決定情報記憶部253と、代表権決定部254と、を備える。ここで、応答時間設定情報格納部251と代表権決定情報記憶部253とは、たとえば不揮発性メモリ223に設けられ、乱数生成部252と代表権決定部254は制御部224に設けられる。
In the first embodiment, the
応答時間設定情報格納部251は、端末の有する機能と、応答時間の範囲を示す等級と、を対応付けた応答時間設定情報を格納する。具体的には、応答時間設定情報は、機能を多く有するまたは優先順位の高い機能を有する端末ほど、リモコン1からの応答要求に対して応答コマンドを送信する応答時間が短くなるように等級付けしたものである。ここで、等級とは、システム内における機能の優先度により決定されるものであり、代表端末機へのなりやすさを示すものである。図5は、応答時間設定情報の一例を示す図である。応答時間設定情報は、等級と、等級に対応付けられた応答時間の範囲である乱数(応答時間)領域と、等級に対応付けられた端末2の機能と、を有する。ここでは、端末2に設けることが可能な機能として、換気、熱交換、加湿、冷暖房があるものとする。換気のみの機能を有する端末2の等級を0とし、換気と熱交換の機能を有する端末2の等級を1とし、換気、熱交換および加湿の機能を有する端末2の等級を2とし、換気、熱交換、加湿および冷暖房の機能を有する端末2の等級を3としている。そして、等級数が高いほど、すなわち機能の数が多いほど乱数(応答時間)領域が小さくなるように設定しており、後述する代表権決定部254による代表端末になりやすい条件とされている。ここでは、等級0では、乱数(応答時間)領域は769〜1024msであり、等級1では、乱数(応答時間)領域は513〜768msであり、等級2では、乱数(応答時間)領域は257〜512msであり、等級3では、乱数(応答時間)領域は1〜256msである。
The response time setting
乱数生成部252は、応答時間設定情報を参照して、自端末2が有する負荷21の機能に対応した等級で規定される乱数(応答時間)領域の範囲内で、乱数を生成する。たとえば、端末2aの等級は1であるので、生成した乱数が513〜768の範囲にあればその値を生成し、その範囲外であればその範囲内に収まる乱数が生成されるまで乱数を生成する。また、生成した乱数を代表権決定情報として代表権決定情報記憶部253に記憶する。代表権決定情報記憶部253は、代表権決定情報を記憶する。
The random
代表権決定部254は、リモコン1からポーリングによる応答要求を受信すると、代表権決定情報記憶部253に記憶されている代表権決定情報を応答待ち時間として、時間をカウントし、応答待ち時間が経過するまでの間に他の端末2からリモコン1からの応答要求に対する応答コマンドを受信したかを監視する。そして、応答待ち時間が経過するまでに他の端末2からの応答コマンドを受信しなかった場合には、自端末2をリモコン1との間で通信を行う代表権を有する代表端末(親機)に設定し、応答待ち時間内に他の端末2からの応答コマンドを受信した場合には、自端末を代表権を有さない端末(以下、子機という)に設定する。
When receiving the response request by polling from the
また、代表権決定部254は、自端末2を代表端末と設定した場合には、代表権決定情報から所定の数を引いた値を新たな代表権決定情報として代表権決定情報記憶部253に記憶し、自端末が子機であると決定した場合には、代表権決定情報から所定の数を足した値を新たな代表権決定情報として代表権決定情報記憶部253に記憶する。すなわち、代表端末となった端末2の応答時間をさらに短くし、子機となった端末2の応答時間をさらに長くする。これによって、次回の代表権の決定の際にも、今回代表端末となった端末が代表端末となりやすい環境としている。
Further, when the
つぎに、このような端末における代表端末の決定方法の処理手順について説明する。図6は、実施の形態1による代表端末の決定方法の手順の一例を示すフローチャートである。まず、端末2に電源が投入されると(ステップS100)、端末2の乱数生成部252は、応答時間設定情報を参照して自身が備える機能に応じた等級に対応する乱数(応答時間)領域の範囲で乱数を決定し(ステップS101)、生成した乱数を不揮発性メモリ223の代表権決定情報記憶部253に代表権決定情報として記憶する(ステップS102)。
Next, a processing procedure of a representative terminal determination method in such a terminal will be described. FIG. 6 is a flowchart illustrating an example of a procedure of a representative terminal determination method according to the first embodiment. First, when the
ついで、システム内のリモコン1からのポーリングによる応答要求を受信すると(ステップS103)、各端末2の代表権決定部254は、応答待ち時間のカウントを開始する(ステップS104)。このとき、各端末2は他端末2から送信される応答要求に対する返信である応答コマンドの監視も行う。
Next, when a response request by polling is received from the
その後、代表権決定部254は、応答待ち時間が代表権決定情報記憶部253に記憶された代表権決定情報を上回ったか否かを判定する(ステップS105)。応答待ち時間が代表権決定情報を経過していない場合(ステップS105でNoの場合)には、他端末2からの応答コマンドを受信したかを判定する(ステップS106)。そして、他端末2からの応答コマンドを受信していない場合(ステップS106でNoの場合)には、ステップS105へと戻り、応答待ち時間のカウントを継続する。
Thereafter, the representation
また、他端末2よりも早く応答待ち時間が代表権決定情報を上回ることが確認できた場合(ステップS105でYesの場合)には、自端末2が代表端末(親機)であることが確定し(ステップS107)、送受信部222はリモコン1に対して応答コマンドを送信する(ステップS108)。その後、代表端末の代表権決定部254は、代表権決定情報記憶部253の代表権決定情報から所定の数を減算したものを新たな代表権決定情報として代表権決定情報記憶部253に記憶する(ステップS109)。たとえば、代表権決定情報から10減らすようにすることができる。このように代表権決定情報から所定の数減算する処置を施すことで、次回以降も代表端末となりやすくなるようにする。以上で、代表端末の決定方法が終了する。
If it can be confirmed that the response waiting time exceeds the representative right determination information earlier than the other terminals 2 (Yes in step S105), it is determined that the
一方、ステップS105の応答待ち時間中に、ステップS106で他端末2からリモコン1に対しての応答コマンドを受信した場合(ステップS106でYesの場合)には、自端末が子機であることが確定する(ステップS110)。子機となった端末2の代表権決定部254は、代表権決定情報記憶部253の代表権決定情報から所定の数を加算したものを新たな代表権決定情報として代表権決定情報記憶部253に記憶する(ステップS111)。たとえば、代表権決定情報から10増やすようにすることができる。このように代表権決定情報から所定の数加算する処置を施すことで、次回以降も子機となりやすくなるようにする。以上で、代表端末の決定方法が終了する。
On the other hand, if a response command to the
以上のように、実施の形態1では、端末2が有する機能の数に応じて生成される乱数の範囲を設定し、リモコン1から応答要求を受信した後に応答待ち時間のカウントを開始し、生成した乱数の値までカウントする間に、他端末2から応答コマンドを受信しなければ自端末2がリモコン1との間で送受信を行う代表端末となり、生成した乱数の値までカウントする間に、他端末2から応答コマンドを受信した場合には自端末2が子機となるようにした。これによって、代表端末に設定された端末が保有する機能しかリモコン1で制御することができないようなシステムにおいて、保有する機能が少ない端末が代表端末になる確率を低くすることができ、システム内でリモコン1によって端末2が制御できないという事態の発生を低減できるという効果を有する。また、システムを構成する端末2を増設する際にも容易に対応することができるという効果も有する。
As described above, in the first embodiment, the range of random numbers generated according to the number of functions of the
さらに、この実施の形態1の通信装置を用いることで、既存のシステムに対して新規の機能を有する端末を増設する必要が生じた場合でも、応答時間設定情報の見直し(たとえば、等級を増やす)を正しく行うことによって、容易に対応することができるという効果も有する。 Further, by using the communication apparatus of the first embodiment, even when it becomes necessary to add a terminal having a new function to the existing system, the response time setting information is reviewed (for example, the grade is increased). It is possible to easily cope with the problem by performing the above.
実施の形態2.
図7は、実施の形態2による端末の機能構成の一例を模式的に示すブロック図である。この端末2は、実施の形態1の図3の制御回路22の構成に対して新たに代表権スイッチ225を備えるものである。代表権スイッチ225は、端末2からリモコン1への応答待ち時間を短縮する(等級を繰り上げる)ためのものであり、これを用いることで代表端末を手動で設定することができる。なお、実施の形態1と同一の構成要素には同一の符号を付してその説明を省略している。
FIG. 7 is a block diagram schematically illustrating an example of a functional configuration of the terminal according to the second embodiment. This
図8は、図1のシステムでの各端末の機能構成と代表権スイッチの状態の一例を示す図である。この図8は、実施の形態1の図2で代表権スイッチ225の状態を付加したものである。この例では、端末2aでは代表権スイッチ225がオン状態とされ、その他の端末2b,2cでは代表権スイッチ225はオフ状態とされている。
FIG. 8 is a diagram showing an example of the functional configuration of each terminal and the state of the representative right switch in the system of FIG. FIG. 8 is obtained by adding the state of the representative
このような代表権スイッチ225を設けることによって、応答時間設定情報格納部251が有する応答時間設定情報も実施の形態1とは異なる構成となる。図9は、応答時間設定情報の一例を示す図である。この図9は、実施の形態1の図5で、代表権スイッチ225の状態が付加されたものである。具体的には、端末が有する機能の優先度に関係なく、代表権スイッチ225がオン状態にあるものが最も等級数が高くされており、その下に図5と同様に代表権スイッチ225がオフの状態で端末が有する機能の数が減るにしたがって等級数が低く設定されている。ここでは、等級0では、乱数(応答時間)領域は1025〜1280msであり、等級1では、乱数(応答時間)領域は769〜1024msであり、等級2では、乱数(応答時間)領域は513〜768msであり、等級3では、乱数(応答時間)領域は257〜512msであり、等級4では、乱数(応答時間)領域は1〜256msである。
By providing such a representative
つぎに、このような端末における代表端末の決定方法の処理手順について説明する。図10は、実施の形態2による代表端末の決定方法の手順の一例を示すフローチャートである。まず、端末2に電源が投入されると(ステップS200)、端末2の乱数生成部252は、代表権スイッチ225の状態、すなわちオンであるかオフであるかを確認する(ステップS201)。その後は、実施の形態1の図6のステップS101〜S109で示した処理手順と同じ手順が実行され、代表端末が決定される(ステップS202〜S210)。ただし、ステップS209で応答コマンドを送信する際は、自身の代表権スイッチ225のオン/オフ情報を含めて送るようにする点が実施の形態1とは異なる。
Next, a processing procedure of a representative terminal determination method in such a terminal will be described. FIG. 10 is a flowchart illustrating an example of a procedure of a representative terminal determination method according to the second embodiment. First, when the
また、ステップS206の待ち時間中に、ステップS207で他端末2からリモコン1に対しての応答コマンドを受信した場合(ステップS207でYesの場合)には、代表権決定部254は、代表権スイッチ225が重複して設定されていないかを判定する(ステップS211)。これは、上記したステップS209で、代表端末は、自身の代表権スイッチ225のオン/オフ情報を含めて応答コマンドを送信するので、その応答コマンドの内容と、ステップS201で確認した自端末2の代表権スイッチ225のオン/オフ情報とを比較することによって重複設定されているか否かを確認することができる。
If the response command from the
代表権スイッチ225が重複設定されていない場合(ステップS211でYesの場合)には、自端末2が子機であることが確定し(ステップS212)、子機となった端末2の代表権決定部254は、代表権決定情報記憶部253の代表権決定情報から所定の数を加算したものを新たな代表権決定情報として代表権決定情報記憶部253に記憶する(ステップS213)。このように代表権決定情報から所定の数加算する処置を施すことで、次回以降も子機となりやすくなるようにする。以上で、代表端末の決定方法が終了する。
If the representative
また、代表権スイッチ225が重複設定されている場合(ステップS211でNoの場合)には、状態を認識した時点でリモコン1に対して異常を報告する(ステップS214)。これによって、リモコン1にエラーを表示させるなどの処理を行うことができる。そして、代表端末の決定方法が終了する。
If the representative
以上のように、実施の形態2では、代表権スイッチ225を設けるようにしたので、使用者の要望に応じてシステム内での代表端末を設定することができるという効果を実施の形態1の効果に加えて得ることができる。
As described above, in the second embodiment, since the representative
以上のように、この発明にかかる通信装置は、一般住宅、ビル、工場などに設置される換気装置の複数台運転に適している。 As described above, the communication device according to the present invention is suitable for the operation of a plurality of ventilation devices installed in ordinary houses, buildings, factories, and the like.
1 リモコン
2,2a,2b,2c 端末
3 通信線
5 電源
21 負荷
22 制御回路
221 負荷駆動部
222 送受信部
223 不揮発性メモリ
224 制御部
225 代表権スイッチ
250 代表端末決定部
251 応答時間設定情報格納部
252 乱数生成部
253 代表権決定情報記憶部
254 代表権決定部
DESCRIPTION OF
Claims (9)
前記通信装置が有する機能の数に応じて設定された所定の範囲の応答時間範囲を含む応答時間設定情報を参照して、自通信装置の有する機能に対応した応答時間範囲となるように乱数を生成し、前記生成した乱数を代表権決定情報として記憶する乱数生成手段と、
前記操作器から応答要求を受信すると、前記応答要求の受信時から前記代表権決定情報に対応する時間が経過後に前記応答要求に対する応答コマンドを送信する通信手段と、
前記応答要求の受信時から前記代表権決定情報に対応する時間が経過するまでの間に、前記制御システム内の他の前記通信装置からの応答コマンドを受信したか否かによって、自通信装置を前記操作器との間でデータの送受信を行う代表端末とするか、前記操作器との間でデータの送受信を行わない子機とするかの判定を行う代表権決定手段と、
を備えることを特徴とする通信装置。 In the communication device used in a control system in which a plurality of communication devices having one or more functions are connected to an operating device that remotely operates the communication device via a communication line in a multi-drop format.
By referring to response time setting information including a response time range of a predetermined range set according to the number of functions of the communication device, a random number is set so that the response time range corresponds to the function of the communication device. Random number generating means for generating and storing the generated random number as representative right determination information;
When a response request is received from the operation device, a communication unit that transmits a response command to the response request after a time corresponding to the representation right determination information has elapsed since the reception of the response request;
Depending on whether or not a response command has been received from another communication device in the control system between the time when the response request is received and the time corresponding to the representation right determination information has elapsed, Representative right determining means for determining whether to be a representative terminal that transmits / receives data to / from the operating device or a slave device that does not transmit / receive data to / from the operating device;
A communication apparatus comprising:
前記応答時間設定情報は、前記代表権選択手段によって前記代表端末と設定される場合に、前記応答時間が最も小さくなるように前記応答時間範囲が設定されることを特徴とする請求項2に記載の通信装置。 A representative right selecting means for externally setting whether to be the representative terminal or the slave unit for the own communication device,
The response time range is set so that the response time becomes the smallest when the response time setting information is set as the representative terminal by the representative right selection unit. Communication equipment.
前記代表権決定手段は、前記他の通信装置が送信する前記応答コマンドの内容を確認し、自通信装置の前記代表権選択手段が前記代表端末となるように設定されている場合で、前記他の通信装置が前記代表端末に設定されていることを示す情報が前記応答コマンドに設定されている場合には、前記操作器に異常を通知することを特徴とする請求項3に記載の通信装置。 The communication means transmits the state of the representative right selection means included in the response command,
The representative right determining means confirms the content of the response command transmitted by the other communication device, and the representative right selecting means of the own communication device is set to be the representative terminal. 4. The communication device according to claim 3, wherein, when information indicating that the communication device is set as the representative terminal is set in the response command, an abnormality is notified to the operation device. 5. .
前記応答時間設定情報は、前記通信端末が有する室内の空気質改善機能の種類に応じて設定される前記応答時間範囲を有することを特徴とする請求項1から6のいずれか1つに記載の通信装置。 The function of the communication device is an indoor air quality improvement function,
The said response time setting information has the said response time range set according to the kind of indoor air quality improvement function which the said communication terminal has, The Claim 1 characterized by the above-mentioned. Communication device.
前記各通信装置が、前記通信装置が有する機能の数に応じて設定された所定の範囲の応答時間範囲を含む応答時間設定情報を参照して、自通信装置の有する機能に対応した応答時間範囲となるように乱数を生成し、前記生成した乱数を代表権決定情報として記憶する工程と、
前記操作器から応答要求を受信すると、前記応答要求の受信時から応答経過時間をカウントする工程と、
前記応答経過時間のカウントの開始から前記代表権決定情報に対応する時間が経過するまでの間に、前記制御システム内の他の前記通信装置から前記応答要求に対する応答コマンドの受信の有無を判定する工程と、
前記応答経過時間のカウントの開始から前記代表権決定情報に対応する時間が経過するまでの間に、前記他の通信装置から前記応答コマンドを受信しない場合には、自通信装置を前記操作器との間でデータの送受信を行う代表端末と設定し、前記応答コマンドを送信し、前記他の通信装置から前記応答コマンドを受信した場合には、自通信装置を子機と設定する工程と、
を含むことを特徴とする制御システムの代表端末決定方法。
In a representative terminal determination method for a control system, wherein a plurality of communication devices having one or more functions are connected to an operating device that remotely operates the communication device via a communication line in a multi-drop format.
Each communication device refers to response time setting information including a response time range of a predetermined range set according to the number of functions that the communication device has, and a response time range corresponding to the function of the communication device And generating a random number so as to store the generated random number as representative right determination information;
Receiving a response request from the controller, counting a response elapsed time from the time of reception of the response request;
A determination is made as to whether or not a response command for the response request has been received from another communication device in the control system between the start of counting the response elapsed time and the time corresponding to the representative right determination information has elapsed. Process,
If the response command is not received from the other communication device between the start of counting the response elapsed time and the time corresponding to the representation right determination information has elapsed, Set as a representative terminal that transmits and receives data between, when the response command is transmitted, and when the response command is received from the other communication device, the step of setting the own communication device as a slave,
A representative terminal determination method for a control system, comprising:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012038226A JP5904821B2 (en) | 2012-02-24 | 2012-02-24 | Method for determining representative terminal of communication device and control system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2012038226A JP5904821B2 (en) | 2012-02-24 | 2012-02-24 | Method for determining representative terminal of communication device and control system |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013175857A true JP2013175857A (en) | 2013-09-05 |
JP5904821B2 JP5904821B2 (en) | 2016-04-20 |
Family
ID=49268413
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2012038226A Active JP5904821B2 (en) | 2012-02-24 | 2012-02-24 | Method for determining representative terminal of communication device and control system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5904821B2 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05304694A (en) * | 1992-04-27 | 1993-11-16 | Mitsubishi Electric Corp | Communication equipment |
JPH10134290A (en) * | 1996-10-31 | 1998-05-22 | Shimadzu Corp | Communication network for controlling actuator |
WO2005034434A1 (en) * | 2003-10-03 | 2005-04-14 | Sharp Kabushiki Kaisha | Communication apparatus, method for activating operation mode of that apparatus, communication method, communication system, program, and recording medium having stored that program |
-
2012
- 2012-02-24 JP JP2012038226A patent/JP5904821B2/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05304694A (en) * | 1992-04-27 | 1993-11-16 | Mitsubishi Electric Corp | Communication equipment |
JPH10134290A (en) * | 1996-10-31 | 1998-05-22 | Shimadzu Corp | Communication network for controlling actuator |
WO2005034434A1 (en) * | 2003-10-03 | 2005-04-14 | Sharp Kabushiki Kaisha | Communication apparatus, method for activating operation mode of that apparatus, communication method, communication system, program, and recording medium having stored that program |
Also Published As
Publication number | Publication date |
---|---|
JP5904821B2 (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101512977B (en) | Reprogramming nodes in a wireless automation system | |
US9702581B2 (en) | Air conditioning system | |
JP6080457B2 (en) | Energy consuming equipment control device, energy consuming equipment control method, and energy consuming equipment control system | |
US11159369B2 (en) | Automatic initialization routine in an automation system | |
WO2016021208A1 (en) | Management device, control method for management device, and control method for management system | |
CN102607105A (en) | Air conditioner, method for controlling outdoor units thereof, and central control system having the same | |
US10171262B2 (en) | Method for provisioning of room automation components of a building automation | |
US20180034652A1 (en) | Terminal and method of controlling same | |
JP2018121445A (en) | Remote control system for refrigeration cycle appliance and remote control system for home electric appliance | |
JP5316477B2 (en) | Air conditioning controller | |
JP5904821B2 (en) | Method for determining representative terminal of communication device and control system | |
JP4950617B2 (en) | Air conditioning management apparatus, air conditioning management method, and air conditioning management program | |
EP3022869B1 (en) | Communication method and apparatus using smart module in home network system | |
JP4042790B2 (en) | Electrical device and method for determining normal communication function in electrical device | |
JP5774178B2 (en) | Communication adapter, communication method, and program | |
JP6038210B2 (en) | Integrated control device and integrated management system | |
KR101990400B1 (en) | Building automation system, gateway comprised therein and method of operating the gateway | |
JP6776164B2 (en) | Management equipment, management methods and programs | |
CN112889295B (en) | Remote management device and remote management system | |
JP5528603B1 (en) | Communication adapter, control system, communication adapter control method, and program | |
KR102026638B1 (en) | Gateway, building automation system comprising the same and method of operating the same | |
WO2015080196A1 (en) | Operating terminal, program, and method | |
WO2006030697A1 (en) | Communication device, communication control method, communication control program, and computer-readable recording medium containing the communication control program | |
JP2005121279A (en) | Air conditioner | |
KR101658092B1 (en) | Building automation system, facilities control apparatus comprised therein and control method of the facilities control apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140730 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150722 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20150728 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20150911 |
|
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: 20160216 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20160315 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5904821 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |