JP2013031021A - Power line communication system - Google Patents

Power line communication system Download PDF

Info

Publication number
JP2013031021A
JP2013031021A JP2011166131A JP2011166131A JP2013031021A JP 2013031021 A JP2013031021 A JP 2013031021A JP 2011166131 A JP2011166131 A JP 2011166131A JP 2011166131 A JP2011166131 A JP 2011166131A JP 2013031021 A JP2013031021 A JP 2013031021A
Authority
JP
Japan
Prior art keywords
network
power line
line communication
super
process proceeds
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2011166131A
Other languages
Japanese (ja)
Inventor
Akitoshi Saito
彰利 齋藤
Takayuki Nagata
貴之 永田
Naoki Nomura
直樹 野村
Koji Inoue
幸士 井上
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.)
Kyoritsu Electric Corp
Original Assignee
Kyoritsu Electric Corp
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 Kyoritsu Electric Corp filed Critical Kyoritsu Electric Corp
Priority to JP2011166131A priority Critical patent/JP2013031021A/en
Publication of JP2013031021A publication Critical patent/JP2013031021A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a power line communication system capable of simplifying a mechanism in the case of making a new communication device join a network.SOLUTION: A power line communication system comprises: a plurality of networks comprising power line communication devices having a power line communication function; and a controller for controlling the networks. The networks have network IDs defined to be unique to the respective networks. A new power line communication device having a super ID, which is defined to be different from the network IDs, can join all of the networks having the network IDs. After the new power line communication device having the super ID joins an arbitrary network, the super ID can be replaced with the network ID of the network that the new device joins.

Description

本発明は、電力線通信システムに係り、特に、新たな電力線通信装置をネットワークに参加させる場合の仕組みを簡略化させることができるように工夫したものに関する。   The present invention relates to a power line communication system, and more particularly to a device devised so as to simplify a mechanism when a new power line communication apparatus is joined to a network.

従来の電力線通信システムは、概略、次のような構成になっていた。まず、電力線通信システムの第1の例であるが、ネットワークを構成する前に、ネットワークを構成する各電力線通信装置にネットワークIDを予め書き込んでおき、それらの複数の電力線通信装置を集めてネットワークを構成するものである。   The conventional power line communication system has the following general configuration. First, as a first example of a power line communication system, before configuring a network, a network ID is written in advance in each power line communication device constituting the network, and the network is configured by collecting the plurality of power line communication devices. It constitutes.

次に、第2の例であるが、複数の電力線通信装置を設置し、その状態で、電力線通信とは別の通信手段(例えば、スイッチ、無線、超音波、光通信等を使用した手段)を使用して、各電力線通信装置にネットワークIDを書き込み、それによって、ネットワークを構成するものである。   Next, as a second example, a plurality of power line communication devices are installed, and in that state, communication means different from power line communication (for example, means using a switch, radio, ultrasonic waves, optical communication, etc.) Is used to write the network ID to each power line communication device, thereby configuring the network.

さらに、第3の例であるが、ネットワークIDの区別を設けることなく、近隣の全ての電力線通信装置に通信を行うことができるように、特別のパケットを定義したものがある。   Furthermore, as a third example, there is a packet in which a special packet is defined so that communication can be performed to all neighboring power line communication devices without distinguishing between network IDs.

この種の構成を示すものとして、例えば、特許文献1、特許文献2、特許文献3等がある。   For example, Patent Document 1, Patent Document 2, and Patent Document 3 show such a configuration.

特開2011−41228号公報JP 2011-41228 A 特開2008−72441号公報JP 2008-72441 A 特開2007−201964号公報JP 2007-201964 A

上記従来の構成によると次のような問題があった。
まず、第1の例の場合であるが、電力線通信装置を設置する前に、全ての電力線通信装置にネットワークIDを予め書き込む必要があり、煩雑な作業を余儀なくされてしまうという問題があった。
また、第2の例の場合であるが、電力線通信手段があるにもかかわらず、ネットワークIDを書き込むために、別の通信手段を設けなければならず、その分構成が複雑化してしまうとともにコストが上昇してしまうという問題があった。
さらに、第3の例の場合であるが、通信が物理的に可能な全範囲にパケットが飛んでしまうため、通信路の負荷が大きくなってしまうという問題があった。
The conventional configuration has the following problems.
First, as in the case of the first example, before installing the power line communication device, it is necessary to write the network IDs in all the power line communication devices in advance, and there is a problem that complicated work is forced.
In the case of the second example, although there is a power line communication means, another communication means must be provided to write the network ID, which complicates the configuration and costs. There was a problem that would rise.
Further, as in the case of the third example, there is a problem that the load on the communication path becomes large because the packet jumps to the entire range where communication is physically possible.

本発明はこのような点に基づいてなされたものでその目的とするところは、新たな電力線通信装置をネットワークに参加させる場合の仕組みを簡略化させることができる電力線通信システムを提供することにある。   The present invention has been made based on such points, and an object thereof is to provide a power line communication system capable of simplifying a mechanism when a new power line communication apparatus is joined to a network. .

上記課題を解決するべく本願発明の請求項1による電力線通信システムは、電力線通信機能を備えた電力線通信装置からなる複数のネットワークと、上記複数のネットワークを制御する制御装置と、からなる電力線通信システムにおいて、上記複数のネットワークにはそれぞれ該ネットワーク固有のネットワークIDが定義されていて、上記ネットワークIDとは別に全てのネットワークに対する参加が許容されるスーパーIDが定義されていて、上記スーパーIDを備えた新たな電力線通信装置を上記複数のネットワークの内の任意のネットワークに参加させ、その後、その参加した新たな電力線通信装置のネットワークIDをスーパーIDからその参加したネットワークのネットワークIDに書き換えるようにしたことを特徴とするものである。
また、請求項2による電力線通信システムは、請求項1記載の電力線通信システムにおいて、上記電力線通信装置には該電力線通信装置固有の識別子が付与されていることを特徴とする電力線通信システムである。
また、請求項3による電力線通信システムは、請求項2記載の電力線通信システムにおいて、上記電力線通信装置側には上記識別子を上記制御装置に出力する識別子出力手段が設けられていることを特徴とするものである。
また、請求項4による電力線通信システムは、請求項1〜請求項3の何れかに記載の電力線通信システムにおいて、ネットワークIDがワイルドカードIDに設定されたネットワークがあり、上記ワイルドカードIDのネットワークには別のワイルドカードID以外の様々なネットワークIDを持つ電力線通信装置が参加可能であり、任意のネットワークに参加して該ネットワークのネットワークIDに設定されている電力線通信装置を上記ワイルドカードIDのネットワークに参加させ、その状態で上記電力線通信装置のネットワークIDをスーパーIDに初期化させるようにしたことを特徴とするものである。
In order to solve the above problems, a power line communication system according to claim 1 of the present invention is a power line communication system comprising a plurality of networks composed of power line communication devices having a power line communication function and a control device for controlling the plurality of networks. In each of the plurality of networks, a network ID unique to the network is defined, and a super ID that is allowed to participate in all networks is defined separately from the network ID, and includes the super ID. A new power line communication device is allowed to participate in any of the plurality of networks, and then the network ID of the new power line communication device that has joined is rewritten from the super ID to the network ID of the participating network. Characterized by A.
A power line communication system according to claim 2 is the power line communication system according to claim 1, wherein an identifier unique to the power line communication device is assigned to the power line communication device.
The power line communication system according to claim 3 is characterized in that, in the power line communication system according to claim 2, identifier output means for outputting the identifier to the control device is provided on the power line communication device side. Is.
A power line communication system according to claim 4 is the power line communication system according to any one of claims 1 to 3, wherein there is a network in which a network ID is set to a wild card ID. A power line communication device having various network IDs other than another wild card ID can participate, and a power line communication device set in the network ID of the network participating in an arbitrary network is connected to the network of the wild card ID. In this state, the network ID of the power line communication device is initialized to a super ID.

以上詳述したように本発明の請求項1による電力線通信システムは、電力線通信機能を備えた電力線通信装置からなる複数のネットワークと、上記複数のネットワークを制御する制御装置と、からなる電力線通信システムにおいて、上記複数のネットワークにはそれぞれ該ネットワーク固有のネットワークIDが定義されていて、上記ネットワークIDとは別に全てのネットワークに対する参加が許容されるスーパーIDが定義されていて、上記スーパーIDを備えた新たな電力線通信装置を上記複数のネットワークの内の任意のネットワークに参加させ、その後、その参加した新たな電力線通信装置のネットワークIDをスーパーIDからその参加したネットワークのネットワークIDに書き換えるように構成されているので、まず、事前に煩雑な作業を行うことなく、且つ、別途、通信手段を設けることなく、新たな電力線通信装置の任意のネットワークへの参加を可能にすることができ、新たな電力線通信装置をネットワークに参加させる場合の仕組みを簡略化させることができる。
また、請求項2による電力線通信システムは、請求項1記載の電力線通信システムにおいて、上記電力線通信装置には該電力線通信装置固有の識別子が付与されているので、その識別子を使用して照合を行うことができる。
また、請求項3による電力線通信システムは、請求項2記載の電力線通信システムにおいて、上記電力線通信装置側には上記識別子を上記制御装置に出力する識別子出力手段が設けられているので、それらの照合を自動化させることができる。
また、請求項4による電力線通信システムは、請求項1〜請求項3の何れかに記載の電力線通信システムにおいて、ネットワークIDがワイルドカードIDに設定されたネットワークがあり、上記ワイルドカードIDのネットワークには別のワイルドカードID以外の様々なネットワークIDを持つ電力線通信装置が参加可能であり、任意のネットワークに参加して該ネットワークのネットワークIDに設定されている電力線通信装置を上記ワイルドカードIDのネットワークに参加させ、その状態で上記電力線通信装置のネットワークIDをスーパーIDに初期化させるように構成されているので、一旦、任意のネットワークに参加してそのネットワークのネットワークIDに書き換えられた電力線通信装置のネットワークIDを、再度、スーパーIDに初期化させることができ、電力線通信装置の再利用の容易化を図ることができる。
As described above in detail, the power line communication system according to claim 1 of the present invention is a power line communication system including a plurality of networks including a power line communication device having a power line communication function and a control device for controlling the plurality of networks. In each of the plurality of networks, a network ID unique to the network is defined, and a super ID that is allowed to participate in all networks is defined separately from the network ID, and includes the super ID. The new power line communication device is configured to participate in an arbitrary network of the plurality of networks, and then the network ID of the new power line communication device that has joined is rewritten from the super ID to the network ID of the network that has joined. First, advance When it is possible to join a new power line communication device to an arbitrary network without performing complicated work and without providing a separate communication means, and joining a new power line communication device to the network Can be simplified.
Further, the power line communication system according to claim 2 is the power line communication system according to claim 1, wherein the power line communication device is given an identifier unique to the power line communication device, so that the identifier is used for verification. be able to.
In addition, the power line communication system according to claim 3 is the power line communication system according to claim 2, wherein the power line communication device is provided with identifier output means for outputting the identifier to the control device. Can be automated.
A power line communication system according to claim 4 is the power line communication system according to any one of claims 1 to 3, wherein there is a network in which a network ID is set to a wild card ID. A power line communication device having various network IDs other than another wild card ID can participate, and a power line communication device set in the network ID of the network participating in an arbitrary network is connected to the network of the wild card ID. In this state, the network ID of the power line communication apparatus is initialized to the super ID. Therefore, the power line communication apparatus once joined to an arbitrary network and rewritten with the network ID of the network. The network ID of Can be initialized to supermarkets ID, it is possible to facilitate the re-use of the power line communication apparatus.

本発明の一実施の形態を示す図で、電力線通信システムの全体の構成を示すブロック図である。It is a figure which shows one embodiment of this invention, and is a block diagram which shows the whole structure of a power line communication system. 本発明の一実施の形態を示す図で、電力線通信システムの制御装置としての制御用パソコンと親機の構成を示すブロック図である。BRIEF DESCRIPTION OF THE DRAWINGS It is a figure which shows one embodiment of this invention, and is a block diagram which shows the structure of the personal computer for control as a control apparatus of a power line communication system, and a main | base station. 本発明の一実施の形態を示す図で、電力線通信システムの子機の構成を示すブロック図である。It is a figure which shows one embodiment of this invention, and is a block diagram which shows the structure of the subunit | mobile_unit of a power line communication system. 本発明の一実施の形態を示す図で、スーパーIDを使用して任意のネットワークに参加することを説明するための図である。It is a figure which shows one embodiment of this invention, and is a figure for demonstrating joining arbitrary networks using super ID. 本発明の一実施の形態を示す図で、スーパーIDを使用して任意のネットワークに参加した後該スーパーIDをネットワークIDに書き換えることを説明するための図である。It is a figure which shows one embodiment of this invention, and is a figure for demonstrating rewriting this super ID to network ID, after joining arbitrary networks using super ID. 本発明の一実施の形態を示す図で、ワイルドIDを使用した子機の初期化を説明するための図である。It is a figure which shows one embodiment of this invention, and is a figure for demonstrating the initialization of the subunit | mobile_unit which uses wild ID. 本発明の一実施の形態を示す図で、作用を説明するためのものであって、制御装置としての制御用パソコンの主たる処理内容を説明するフローチャートである。It is a figure which shows one embodiment of this invention, and is a flowchart for demonstrating an effect | action, Comprising: The main processing content of the personal computer for control as a control apparatus is demonstrated. 本発明の一実施の形態を示す図で、作用を説明するためのものであって、制御装置としての制御用パソコンの換気扇操作処理の内容を説明するフローチャートである。It is a figure which shows one embodiment of this invention, and is a flowchart for demonstrating an effect | action and explaining the content of the ventilation fan operation process of the personal computer for control as a control apparatus. 本発明の一実施の形態を示す図で、作用を説明するためのものであって、制御装置としての制御用パソコンの新規子機参加処理の内容を説明するフローチャートである。作用を説明するためのフローチャートである。It is a figure which shows one embodiment of this invention, and is a flowchart for demonstrating an effect | action and explaining the content of the new subunit | mobile_unit participation process of the control personal computer as a control apparatus. It is a flowchart for demonstrating an effect | action. 本発明の一実施の形態を示す図で、作用を説明するためのものであって、親機の処理の内容を説明するフローチャートである。It is a figure which shows one embodiment of this invention, and is a flowchart for demonstrating an effect | action and explaining the content of the process of a main | base station. 本発明の一実施の形態を示す図で、作用を説明するためのものであって、子機の処理の内容を説明するフローチャートである。It is a figure which shows one embodiment of this invention, and is a flowchart for demonstrating an effect | action and explaining the content of the process of a subunit | mobile_unit.

以下、図1乃至図10を参照して本発明の一実施の形態を説明する。図1は本実施の形態による電力線通信システムの全体の構成を示すブロック図であり、まず、制御装置としての制御用パソコン1がある。この制御用パソコン1は管理室Yに設置されていて、作業者5によって操作されるものである。上記管理室3とは別の場所に分電盤Zが設置されている。上記分電盤Z内には電力線9が引き込まれていて、この電力線9は第1系統電力線11と第2系統電力線13とに分岐されている。   Hereinafter, an embodiment of the present invention will be described with reference to FIGS. FIG. 1 is a block diagram showing the overall configuration of a power line communication system according to this embodiment. First, there is a control personal computer 1 as a control device. The control personal computer 1 is installed in the management room Y and is operated by the operator 5. A distribution board Z is installed in a place different from the management room 3. A power line 9 is drawn into the distribution board Z, and the power line 9 is branched into a first system power line 11 and a second system power line 13.

上記第1系統電力線11にはブレーカ15が介挿されており、また、上記第2系統電力線13にはブレーカ17が介挿されている。また、上記第1系統電力線11には第1系統親機19が接続されており、また、上記第2系統電力線13には第2系統親機21が接続されている。また、上記第1系統親機19と第2系統親機21は、何れもイーサネット(登録商標)ハブ23を介して既に説明した制御用パソコン1と送受信可能な構成になっている。そして、上記第1系統親機19が設置されている第1系統電力線11側が第1ネットワークとして構成されており、上記第2系統親機21が設置されている第2系統電力線13側が第2ネットワークとして構成されている。
尚、電力線通信の場合には、ブレーカ15、17を跨いで通信した場合には信号の減衰や歪みが発生してしまうことが懸念される。そこで、本実施の形態の場合には、各ブレーカ15、17の下流側に第1系統親機19と第2系統親機21をそれぞれ設置し、それぞれ別個のネットワークを構成するようにしているものである。
A breaker 15 is inserted in the first system power line 11, and a breaker 17 is inserted in the second system power line 13. The first system power unit 11 is connected to the first system power line 11, and the second system power unit 21 is connected to the second system power line 13. In addition, the first system base unit 19 and the second system base unit 21 are configured to be able to transmit and receive with the control personal computer 1 already described through the Ethernet (registered trademark) hub 23. The first system power line 11 side where the first system main unit 19 is installed is configured as a first network, and the second system power line 13 side where the second system main unit 21 is installed is the second network. It is configured as.
In the case of power line communication, there is a concern that signal attenuation or distortion may occur when communication is performed across the breakers 15 and 17. Therefore, in the case of the present embodiment, the first system base unit 19 and the second system base unit 21 are respectively installed on the downstream side of the breakers 15 and 17 so as to form separate networks. It is.

上記第1ネットワークには第1−1子機25、第1−2子機27が設置されている。上記第1−1子機25は部屋Aに設置されているとともに、上記第1−2子機27は部屋Bに設置されている。上記第1−1子機25はスイッチ(例えば、フォトリレー)33を介して換気扇35に接続されている。また、上記第1−2子機27もスイッチ(例えば、フォトリレー)37を介して換気扇39に接続されている。上記第1−1子機25、第1−2子機27は換気扇35、39のON/OFFを制御するためのものである。 In the first network, a 1-1 handset 25 and a 1-2 handset 27 are installed. The first and second handset devices 25 are installed in the room A, and the first and second handset devices 27 are installed in the room B. The 1-1 slave unit 25 is connected to a ventilation fan 35 via a switch (for example, a photo relay) 33. The 1-2 slave unit 27 is also connected to a ventilation fan 39 via a switch (for example, a photo relay) 37. The first and second slave units 25 and 27 are for controlling ON / OFF of the ventilation fans 35 and 39.

上記第2ネットワークには第2−1子機39、第2−2子機41が設置されている。上記第2−1子機39は部屋Cに設置されているとともに、上記第2−2子機41は部屋Dに設置されている。上記第2−1子機39はスイッチ(例えば、フォトリレー)47を介して換気扇49に接続されている。また、上記2−2子機41はスイッチ(例えば、フォトリレー)51を介して換気扇53に接続されている。上記第2−1子機39、第2−2子機41は換気扇49、53のON/OFFを制御するためのものである。 A 2-1 handset 39 and a 2-2 handset 41 are installed in the second network. The 2-1 handset 39 is installed in the room C, and the 2-2 handset 41 is installed in the room D. The 2-1 handset 39 is connected to a ventilation fan 49 via a switch (for example, a photo relay) 47. The 2-2 slave unit 41 is connected to a ventilation fan 53 via a switch (for example, a photo relay) 51. The 2-1 slave unit 39 and the 2-2 slave unit 41 are for controlling ON / OFF of the ventilation fans 49, 53.

上記各第1−1子機25、第1−2子機27、第2−1子機39、第2−2子機41の筺体には、各子機固有のシリアル番号が印刷されている。
尚、印刷以外にも、例えば、各子機固有のシリアル番号が印刷されたメモを添付するようにしても良い。
以上が電力線通信システムの全体の概略の構成である。以下、各部の構成を詳細に説明していく。
A serial number unique to each slave unit is printed on the housing of each of the first and second slave units 25, 27, 27, 39, and 41. .
In addition to printing, for example, a memo printed with a serial number unique to each slave unit may be attached.
The above is the overall configuration of the power line communication system. Hereinafter, the configuration of each unit will be described in detail.

上記制御用パソコン1と第1系統親機19は図2に示すような構成になっている。まず、上記制御用パソコン1はマイクロプロセッサ61を備えている。このマイクロプロセッサ61には、通信インターフェイス63、表示/入力装置65、プログラム記憶部67、データ記憶領域69が接続されている。上記プログラム記憶部67には上記マイクロプロセッサ61の動作を指示するための各種プロクラムが記憶されている。また、上記データ記憶領域69には、換気扇35、39、49、53の運転状態を制御・管理するための各種データが記憶されている。 The control personal computer 1 and the first system base unit 19 are configured as shown in FIG. First, the control personal computer 1 includes a microprocessor 61. A communication interface 63, a display / input device 65, a program storage unit 67, and a data storage area 69 are connected to the microprocessor 61. The program storage unit 67 stores various programs for instructing the operation of the microprocessor 61. The data storage area 69 stores various data for controlling and managing the operating state of the ventilation fans 35, 39, 49, and 53.

また、第1系統親機19であるが、同様に、マイクロプロセッサ71を備えている。このマイクロプロセッサ71には、通信インターフェイス73、電力線通信モデム75、プログラム記憶領域77、データ記憶領域79が接続されている。上記制御用パソコン1と第1親機19はそれぞれの通信インターフェイス63、73を介して相互に送受信できるように構成されている。上記プログラム記憶部77には上記マイクロプロセッサ71の動作を指示するための各種プロクラムが記憶されている。又、上記データ記憶領域79の一部は、第1系統親機19固有のID(例えば、シリアルナンバー)と第1系統親機19が管理するネットワークのネットワークIDを記憶する不揮発性メモリとなっている。
尚、図2では、第1系統親機19のみを示しているが、第2系統親機21についても同様の構成になっている。
Moreover, although it is the 1st system | base_line | base_unit 19, similarly, the microprocessor 71 is provided. A communication interface 73, a power line communication modem 75, a program storage area 77, and a data storage area 79 are connected to the microprocessor 71. The control personal computer 1 and the first master unit 19 are configured to be able to transmit and receive each other via the respective communication interfaces 63 and 73. The program storage unit 77 stores various programs for instructing the operation of the microprocessor 71. A part of the data storage area 79 is a non-volatile memory that stores an ID (for example, a serial number) unique to the first system base unit 19 and a network ID of the network managed by the first system base unit 19. Yes.
In FIG. 2, only the first system base unit 19 is shown, but the second system base unit 21 has the same configuration.

次に、図3を参照して、第1−1子機25の構成を説明する。第1子機25はマイクロプロセッサ81を備えている。このマイクロプロセッサ81には、電力線通信モデム83、スイッチインターフェイス85、データ記憶領域87、プログラム記憶領域89が接続されている。上記プログラム記憶領域89にはマイクロプロセッサ81の動作を指示する各種プログラムが記憶されており、また、上記データ記憶領域87には様々なデータが記憶されている。また、データ記憶領域87の一部は、第1−1子機25固有のID(例えば、シリアルナンバー)と参加するネットワークのネットワークIDを記憶する不揮発性メモリとなっている。
尚、図3では、第1−1子機25のみを示しているが、第1−2子機27、第2−1子機39、第2−2子機41についても同様の構成になっている。
Next, with reference to FIG. 3, the structure of the 1-1 subunit | mobile_unit 25 is demonstrated. The first slave unit 25 includes a microprocessor 81. A power line communication modem 83, a switch interface 85, a data storage area 87, and a program storage area 89 are connected to the microprocessor 81. Various programs for instructing the operation of the microprocessor 81 are stored in the program storage area 89, and various data are stored in the data storage area 87. A part of the data storage area 87 is a non-volatile memory that stores an ID (for example, a serial number) unique to the first and first handset 25 and a network ID of the network to participate in.
3 shows only the first and second slave units 25, the first and second slave units 27, 2-1 and 39, and the second and second slave units 41 have the same configuration. ing.

既に説明したように、第1系統親機19、第1−1子機25、第1−2子機27によって第1ネットワークを構成しており、これら第1系統親機19、第1−1子機25、第1−2子機27は、共通であって固有のネットワークID(NID:101)を備えている。同様に、第2系統親機21、第2−1子機39、第2−2子機41によって第2ネットワークを構成しており、これら第2系統親機21、第2−1子機39、第2−2子機41も、共通であって固有のネットワークID(NID:102)を備えている。 As already described, the first network base unit 19, the 1-1 slave unit 25, and the 1-2 slave unit 27 form a first network. These first system base unit 19, 1-1 The subunit | mobile_unit 25 and the 1-2nd subunit | mobile_unit 27 are common, and are provided with the specific network ID (NID: 101). Similarly, the second network master unit 21, the 2-1 slave unit 39, and the 2-2 slave unit 41 form a second network. These second system master unit 21 and 2-1 slave unit 39 The 2-2 handset 41 is also common and has a unique network ID (NID: 102).

以上の構成を基にその作用を説明する。
図1に示すように、電力線通信システムにおいて、新たに、別の第1−3子機91が参加する場合を例に挙げて説明する。上記第1−3子機91は、図1に示すような構成のものであり、既に説明した第1−1子機25、第1−2子機27、第2−1子機39、第2−2子機41と同様の構成をなすものである。また、上記第1−3子機91は、室Eに設置されるものであり、スイッチ(例えば、フォトリレー)93を介して換気扇95に接続されている。
図中同一部分には同一符号を付して示しその説明は省略する。
The operation will be described based on the above configuration.
As illustrated in FIG. 1, a case where another first to third handset 91 newly participates in the power line communication system will be described as an example. The first to third slave units 91 are configured as shown in FIG. 1, and have already been described with respect to the first and second slave units 25, 27, 27, 2-1 and 39. The configuration is the same as that of the 2-2 slave unit 41. The first to third slave devices 91 are installed in the room E, and are connected to a ventilation fan 95 via a switch (for example, a photo relay) 93.
The same parts are denoted by the same reference numerals in the drawings, and the description thereof is omitted.

さて、第1−1子機25、第1−2子機27には、第1ネットワーク固有のネットワークID(NID:101)が設定されており、又、第2−1子機27、第2−2子機39には第2ネットワーク固有のネットワークID(NID:102)が設定されている。これに対して、新たに参入する上記第1−3子機91には、初期状態のスーパーID(NID:0)が書き込まれている。このスーパーID(NID:0)が設定されている第1−3子機91は、第1ネットワーク、第2ネットワークの何れにも参加可能な状態にある。
尚、上記スーパーID(NID:0)は全てのネットワークに対する参加が許容されるネットワークIDである。
A network ID (NID: 101) unique to the first network is set in the first and second handset units 25 and 27, and the second and second handset units 27 and 2 are connected. -A unique network ID (NID: 102) of the second network is set in the slave unit 39. On the other hand, the super ID (NID: 0) in the initial state is written in the first to third slave devices 91 that are newly entered. The first to third handset 91 to which this super ID (NID: 0) is set is in a state where it can participate in both the first network and the second network.
The super ID (NID: 0) is a network ID that is allowed to participate in all networks.

ここで、第1系統親機19、第1−1子機25、第1−2子機27、第2系統親機21、第2−1子機39、第2−2子機41、第1−3子機91のこの時点での仕様を纏めると、図4に示すようなものとなる。この段階では、第1−3子機91は未だ何れのネットワークにも参加していない状態である。
図4に示されている内容を確認すると、まず、第2系統親機21のネットワークIDは「102」、固有のシリアル番号は「00000015」、設置されている部屋記号は「Z」、参加するネットワークは自信が参加している第2ネットワークである。第2−1子機39のネットワークIDは「102」、固有のシリアル番号は「10000002」、設置されている部屋記号は「C」、参加するネットワークは第2ネットワークである。第2−2子機41のネットワークIDは「102」、固有のシリアル番号は「10000003」、設置されている部屋記号は「D」、参加するネットワークは第2ネットワークである。
Here, the 1st system main unit 19, the 1-1 sub unit 25, the 1-2 sub unit 27, the 2nd system sub unit 21, the 2-1 sub unit 39, the 2-2 sub unit 41, the first The specifications at this point of the 1-3 handset 91 are summarized as shown in FIG. At this stage, the first to third handset 91 has not yet joined any network.
When the contents shown in FIG. 4 are confirmed, first, the network ID of the second base unit 21 is “102”, the unique serial number is “00000015”, the installed room symbol is “Z”, and the participation is made. The network is the second network with confidence. The network ID of the 2-1 slave unit 39 is “102”, the unique serial number is “10000002”, the installed room symbol is “C”, and the participating network is the second network. The network ID of the 2-2 handset 41 is “102”, the unique serial number is “10000003”, the installed room symbol is “D”, and the participating network is the second network.

次に、第1系統親機19のネットワークIDは「101」、固有のシリアル番号は「00000002」、設置されている部屋記号は「Z」、参加するネットワークは自信が参加している第1ネットワークである。第1−1子機25のネットワークIDは「101」、固有のシリアル番号は「10000005」、設置されている部屋記号は「A」、参加するネットワークは第1ネットワークである。第1−2子機27のネットワークIDは「101」、固有のシリアル番号は「10000006」、設置されている部屋記号は「B」、参加するネットワークは第1ネットワークである。
そして、新たに参加する第1−3子機91のネットワークIDはスーパーID「0」、固有のシリアル番号は「10000101」、設置されている部屋記号は「未定義」、参加するネットワークは未定である。
Next, the network ID of the first system parent device 19 is “101”, the unique serial number is “00000002”, the installed room symbol is “Z”, and the participating network is the first network in which confidence is participating. It is. The network ID of the first to first handset 25 is “101”, the unique serial number is “10000005”, the installed room symbol is “A”, and the participating network is the first network. The network ID of the first and second handset 27 is “101”, the unique serial number is “10000006”, the installed room symbol is “B”, and the participating network is the first network.
The network ID of the first to third handset 91 to be newly joined is the super ID “0”, the unique serial number is “10000101”, the installed room symbol is “undefined”, and the network to join is undecided. is there.

この段階で、スーパーID(NID:0)が書き込まれている第1−3子機91は、第1ネットワーク、第2ネットワークの何れにも参入可能な状態にあるが、この実施の形態では、より通信状態の良いネットワークを探索する。その結果、ブレーカ15、17を超えることなく直接接続されている第1親機19側の第1ネットワークに参加するものとする。 At this stage, the first to third handset 91 in which the super ID (NID: 0) is written is in a state where it can enter both the first network and the second network. In this embodiment, Search for a network with better communication. As a result, it is assumed that the first network on the first base unit 19 side directly connected without exceeding the breakers 15 and 17 is joined.

それによって、第1親機19から制御用パソコン1に対して、第1−3子機91がスーパーID(NID:0)を使用して参加してきたこと、その第1−3子機91の固有シリアル番号が「10000101」であることが、イーサネット(登録商標)ハブ23を介して入力される。その入力された情報は制御用パソコン1の表示/入力装置65に表示される。 As a result, the first-3 handset 91 has joined the control personal computer 1 from the first base 19 using the super ID (NID: 0), and the first-3 handset 91 The fact that the unique serial number is “10000101” is input via the Ethernet (registered trademark) hub 23. The input information is displayed on the display / input device 65 of the control personal computer 1.

作業者5は、自身が認識している第1−3子機91のシリアル番号と上記表示されているシリアル番号を照合して確認する。
尚、第1−3子機91のシリアル番号を入力することにより、上記照合を自動化することも可能である。
次に、第1ネットワークに参加した第1−3子機91のネットワークIDを、スーパーID(NID:0)から第2ネットワーク固有のネットワークID(NID:102)に書き換える。
The worker 5 collates and confirms the serial number of the first to third handset 91 recognized by the worker 5 and the serial number displayed above.
The collation can be automated by inputting the serial number of the first to third handset 91.
Next, the network ID of the first to third handset 91 that has joined the first network is rewritten from the super ID (NID: 0) to the network ID unique to the second network (NID: 102).

書き換え後の、第1系統親機19、第1−1子機25、第1−2子機27、第2系統親機21、第2−1子機39、第2−2子機41、第1−3子機91の仕様を纏めると、図5に示すようなものとなる。図5に示されている内容を確認すると、まず、第2系統親機21のネットワークIDは「102」、固有のシリアル番号は「00000015」、設置されている部屋記号は「Z」、参加するネットワークは自信が参加している第2ネットワークである。第2−1子機39のネットワークIDは「102」、固有のシリアル番号は「10000002」、設置されている部屋記号は「C」、参加するネットワークは第2ネットワークである。第2−2子機41のネットワークIDは「102」、固有のシリアル番号は「10000003」、設置されている部屋記号は「D」、参加するネットワークは第2ネットワークである。 After the rewriting, the first system base unit 19, the 1-1 handset 25, the 1-2 handset 27, the second system handset 21, the 2-1 handset 39, the 2-2 handset 41, The specifications of the first to third handset 91 are summarized as shown in FIG. When the contents shown in FIG. 5 are confirmed, first, the network ID of the second base unit 21 is “102”, the unique serial number is “00000015”, the installed room symbol is “Z”, and the participation is made. The network is the second network with confidence. The network ID of the 2-1 slave unit 39 is “102”, the unique serial number is “10000002”, the installed room symbol is “C”, and the participating network is the second network. The network ID of the 2-2 handset 41 is “102”, the unique serial number is “10000003”, the installed room symbol is “D”, and the participating network is the second network.

次に、第1系統親機19のネットワークIDは「101」、固有のシリアル番号は「00000002」、設置されている部屋記号は「Z」、参加するネットワークは自信が参加している第1ネットワークである。第1−1子機25のネットワークIDは「101」、固有のシリアル番号は「10000005」、設置されている部屋記号は「A」、参加するネットワークは第1ネットワークである。第1−2子機27のネットワークIDは「101」、固有のシリアル番号は「10000006」、設置されている部屋記号は「B」、参加するネットワークは第1ネットワークである。
そして、新たに参加する第1−3子機91のネットワークIDは「101」、固有のシリアル番号は「10000101」、設置されている部屋記号は「E」、参加するネットワークは第1ネットワークである。
Next, the network ID of the first system parent device 19 is “101”, the unique serial number is “00000002”, the installed room symbol is “Z”, and the participating network is the first network in which confidence is participating. It is. The network ID of the first to first handset 25 is “101”, the unique serial number is “10000005”, the installed room symbol is “A”, and the participating network is the first network. The network ID of the first and second handset 27 is “101”, the unique serial number is “10000006”, the installed room symbol is “B”, and the participating network is the first network.
The network ID of the first to third handset 91 to be newly joined is “101”, the unique serial number is “10000101”, the installed room symbol is “E”, and the participating network is the first network. .

次に、上記新たに参加した第1−3子機91を第1ネットワークから離脱させ別のネットワークに参加させる場合について説明する。この場合には、上記新たに参加した第1−3子機91を第1ネットワークから離脱させて初期化、すなわち、ネットワークIDが「101」に設定されている状態からスーパーID(NID:0)が設定されている状態に戻す必要がある。この場合には、図6に示すように、ネットワークIDがワイルドカードID(例えば、NID:255)に設定されている電力線通信ネットワークを用意しておく。そこには、制御用パソコン101、イーサネット(登録商標)ハブ103、電力線105、親機107等が設置されている。上記ワイルドカードID(例えば、NID:255)が設定されているネットワークには、あらゆるネットワークIDに設定されている子機が接続可能である。よって、ネットワークIDを「101」に書き換えられた前記第1−3子機91もこのネットワークに参加することができる。 Next, a case will be described in which the newly joined first to third handset 91 is detached from the first network and joined to another network. In this case, the newly joined first to third slave devices 91 are detached from the first network and initialized, that is, from the state where the network ID is set to “101”, the super ID (NID: 0) It is necessary to return to the state where is set. In this case, as shown in FIG. 6, a power line communication network in which the network ID is set to a wild card ID (for example, NID: 255) is prepared. There, a control personal computer 101, an Ethernet (registered trademark) hub 103, a power line 105, a master unit 107, and the like are installed. A slave unit set to any network ID can be connected to a network in which the wild card ID (for example, NID: 255) is set. Therefore, the first to third handset 91 whose network ID has been rewritten to “101” can also participate in this network.

そして、第1−3子機91を上記ネットワークに参加させた状態で、ネットワークIDを「101」からスーパーID(NID:0)に書き換えるものである。それによって、その第1−3子機91を別の任意のネットワークにスーパーID(NID:0)を介して参加させて再利用することが可能になる。又、第1−3子機981のネットワークIDを「101」からスーパーID(NID:0)に書き換える構成としては、前記したものに限定されるものではなく、第1−3子機91自身が自身のネットワークIDを「101」からスーパーID(NID:0)に書き換えるようにしても良い。
尚、後述する図11のフローチャートでは、子機自身が自身のネットワークIDを「101」からスーパーID(NID:0)に書き換える場合を説明している。
Then, the network ID is rewritten from “101” to the super ID (NID: 0) in a state where the first to third handset 91 is joined to the network. As a result, the first to third slave devices 91 can be reused by participating in another arbitrary network via the super ID (NID: 0). In addition, the configuration for rewriting the network ID of the first to third handset 981 from “101” to the super ID (NID: 0) is not limited to that described above, and the first to third handset 91 itself The own network ID may be rewritten from “101” to the super ID (NID: 0).
In the flowchart of FIG. 11 described later, a case where the slave unit itself rewrites its own network ID from “101” to a super ID (NID: 0) is described.

上記作用を図7乃至図11のフローチャートを参照して説明する。
まず、制御用パソコン1における処理を説明する。図7は制御用パソコン1の主処理内容を示すフローチャートであり、ステップS1において、初期化処理が実行される。次に、ステップS2に移行して、作業者5の入力待ちの状態に入る。次に、ステップS3に移行して、換気扇ON/OFF指示の有無が判別される。換気扇ON/OFF指示有りと判別された場合には、ステップS4に移行して、「換気扇操作処理」が呼び出されて実行される。これに対して、換気扇ON/OFF指示なしと判別された場合には、ステップS5に移行する。
The above operation will be described with reference to the flowcharts of FIGS.
First, processing in the control personal computer 1 will be described. FIG. 7 is a flowchart showing the main processing contents of the control personal computer 1. In step S1, initialization processing is executed. Next, the process proceeds to step S <b> 2 and enters a state of waiting for input from the operator 5. Next, the process proceeds to step S3, where it is determined whether there is a ventilation fan ON / OFF instruction. If it is determined that there is a ventilation fan ON / OFF instruction, the process proceeds to step S4, and the “ventilation fan operation process” is called and executed. On the other hand, if it is determined that there is no ventilation fan ON / OFF instruction, the process proceeds to step S5.

ステップS5においては、第1系統親機19からの通信を受信する。次いで、ステップS6に移行して、スーパーID(NID:0)を使用した新たな子機の参加が有ったか否かが判別される。スーパーID(NID:0)を使用した新たな子機の参加が有ったと判別された場合には、ステップS7に移行する。このステップS7においては、新たに参加してきた子機の固有シリアル番号Uと参加したネットワークの親機の番号N(=「1」)が記憶される。一方、ステップS6において、スーパーID(NID:0)を使用した新たな参加がないと判別された場合には、ステップS8に移行する。 In step S5, communication from the first system base unit 19 is received. Next, the process proceeds to step S6, where it is determined whether or not there has been a participation of a new child device using the super ID (NID: 0). If it is determined that there has been a participation of a new slave using the super ID (NID: 0), the process proceeds to step S7. In this step S7, the unique serial number U of the newly participating child device and the number N (= “1”) of the parent device of the participating network are stored. On the other hand, if it is determined in step S6 that there is no new participation using the super ID (NID: 0), the process proceeds to step S8.

ステップS8においては、第2系統親機21からの通信を受信する。次いで、ステップS9に移行して、スーパーID(NID:0)を使用した新たな子機の参加が有ったか否かが判別される。スーパーID(NID:0)を使用した新たな子機の参加が有ったと判別された場合には、ステップS10に移行する。このステップS10においては、新たに参加してきた子機の固有シリアル番号Uと参加したネットワークの親機の番号N(=「2」)が記憶される。一方、スーパーID(NID:0)を使用した新たな子機の参加がないと判別された場合には、ステップS2に戻る。 In step S8, communication from the second system base unit 21 is received. Next, the process proceeds to step S9, where it is determined whether or not there has been a participation of a new child device using the super ID (NID: 0). If it is determined that a new child device using the super ID (NID: 0) has participated, the process proceeds to step S10. In this step S10, the unique serial number U of the newly participating child device and the number N (= “2”) of the parent device of the participating network are stored. On the other hand, when it is determined that there is no participation of a new child device using the super ID (NID: 0), the process returns to step S2.

上記ステップS7またはステップS10において、新たに参加してきた子機の固有シリアル番号Uと参加したネットワークの親機の番号Nが記憶された後、ステップS11に移行する。このステップS11においては、「新規子機参加処理」が呼び出されて実行される。 In step S7 or step S10, the unique serial number U of the newly participating child device and the number N of the parent device of the participating network are stored, and then the process proceeds to step S11. In step S11, the “new child device participation process” is called and executed.

次に、図8を参照して、図7において示した「換気扇操作処理」について説明する。まず、ステップS21において、操作する部屋記号の入力が確認される。次いで、ステップS22に移行して、入力された部屋記号に対応する子機シリアル番号Sをデータ記憶領域69のデータテーブルTから検索する。次いで、ステップS23に移行する。このステップS23においては、検索が成功したか否かが判別される。 Next, the “ventilator operation process” illustrated in FIG. 7 will be described with reference to FIG. First, in step S21, input of a room symbol to be operated is confirmed. Next, the process proceeds to step S22, and the slave unit serial number S corresponding to the input room symbol is searched from the data table T in the data storage area 69. Next, the process proceeds to step S23. In step S23, it is determined whether the search is successful.

ステップS23において、検索が成功しなかったと判別された場合には、ステップS21に戻る。これに対して、検索が成功したと判別された場合には、ステップS24に移行する。このステップS24においては、子機シリアル番号Sに対応するネットワークID=Mをデータ記憶領域69のデータテーブルTから読み出す。次いで、ステップS25に移行して、ネットワークID=Mから対応する親機番号Kをデータ記憶領域69のデータテーブルTから読み出す。次いで、ステップS26に移行して、親機番号Kを経由してネットワークID=Mへ、子機シリアル番号Sに対して運転状態の変更を送信する。 If it is determined in step S23 that the search has not been successful, the process returns to step S21. On the other hand, if it is determined that the search is successful, the process proceeds to step S24. In this step S24, the network ID = M corresponding to the slave unit serial number S is read from the data table T in the data storage area 69. Next, the process proceeds to step S25, and the corresponding master unit number K is read from the data table T in the data storage area 69 from the network ID = M. Next, the process proceeds to step S26, and the change of the operation state is transmitted to the slave unit serial number S via the master unit number K to the network ID = M.

次に、図9を参照して、図7で示した「新規子機参加処理」について説明する。まず、ステップS31において、換気扇を増設する部屋記号Rと増設する子機のシリアル番号Uの入力を確認する。次いで、ステップS32に移行して、入力された部屋記号Rに対応する親機番号Wをデータ記憶領域69のデータテーブルTから読み出す。次いで、ステップS33に移行して、U=U2であるか否かを判別する。U=U2ではないと判別された場合には、ステップS34に移行して、シリアル番号不一致エラー表示が実行され、その後ステップS31に戻る。これに対して、U=U2であると判別された場合には、ステップS35に移行する。
尚、上記ステップと34において、シリアル番号不一致エラー表示が実行されると、作業者5は入力を変更することになり、それによって、シリアル番号不一致エラーは解消されることになる。
Next, the “new child device participation process” shown in FIG. 7 will be described with reference to FIG. First, in step S31, input of a room symbol R for adding a ventilation fan and a serial number U of a slave unit to be added is confirmed. Next, the process proceeds to step S 32, and the master unit number W corresponding to the input room symbol R is read from the data table T in the data storage area 69. Next, the process proceeds to step S33, and it is determined whether or not U = U2. If it is determined that U = U2 is not satisfied, the process proceeds to step S34, where a serial number mismatch error display is executed, and then the process returns to step S31. On the other hand, if it is determined that U = U2, the process proceeds to step S35.
When the serial number mismatch error display is executed in the above step and 34, the operator 5 changes the input, thereby eliminating the serial number mismatch error.

ステップS35においては、W=N(この場合にはN=1)であるか否かが判別される。W=N(この場合にはN=1)ではないと判別された場合には、ステップS36に移行する。このステップS36においては、第2系統親機21を経由して子機UにネットワークID=102を書き込む。次いで、ステップS37に移行して、第2系統親機21にて子機Uからの通信を受信する。次いで、ステップS38に移行して、再接続が完了したか否かが判別される。S38において、再接続が完了していないと判別された場合には、ステップと37に戻る。これに対して、再接続が完了していると判別された場合には、ステップと39に移行する。   In step S35, it is determined whether or not W = N (N = 1 in this case). If it is determined that W = N (N = 1 in this case), the process proceeds to step S36. In this step S 36, the network ID = 102 is written to the child device U via the second system parent device 21. Subsequently, the process proceeds to step S <b> 37 and the second system parent device 21 receives communication from the child device U. Next, the process proceeds to step S38, and it is determined whether or not the reconnection is completed. If it is determined in S38 that reconnection has not been completed, the process returns to step 37. On the other hand, if it is determined that the reconnection is completed, the process proceeds to step 39.

一方、ステップS35において、W=N(この場合にはN=1)であると判別された場合には、ステップS40に移行する。このステップS40においては、第1系統親機19を経由して子機にネットワークID=101を書き込む。次いで、ステップS39に移行する。ステップS39においては、データ記憶領域69のデータテーブルTに、新たに子機UのネットワークID、シリアル番号、部屋記号、参加親機番号(=1)を書き込む。以上で、「新規子機参加処理」が終了することになる。   On the other hand, if it is determined in step S35 that W = N (N = 1 in this case), the process proceeds to step S40. In this step S40, the network ID = 101 is written to the child device via the first system parent device 19. Next, the process proceeds to step S39. In step S39, the network ID, serial number, room symbol, and participating parent device number (= 1) of the child device U are newly written in the data table T of the data storage area 69. This completes the “new child device participation process”.

次に、図10を参照して第1系統親機19、第2系統親機21等の親機における処理を説明する。まず、ステップS51において、初期化処理が実行される。次いで、ステップS52に移行する。このステップS52においては、親機自身のネットワークID、シリアル番号をデータ記憶領域79の不揮発性メモリから読み出す。次いで、ステップS53に移行して、イーサネット(登録商標)ハブ23を介してのパケット待ちの状態に入る。次いで、ステップS54に移行する。このステップS54においては、子機へのパケット有りか否かが判別される。子機へのバケット有りと判別された場合には、ステップS55に移行して、電力線通信にて子機へのパケット送信が実行される。その後、ステップS53に戻る。   Next, with reference to FIG. 10, processing in the master unit such as the first master unit 19 and the second master unit 21 will be described. First, in step S51, an initialization process is executed. Next, the process proceeds to step S52. In this step S52, the network ID and serial number of the parent device itself are read from the nonvolatile memory in the data storage area 79. Next, the process proceeds to step S53 to enter a state of waiting for a packet via the Ethernet (registered trademark) hub 23. Next, the process proceeds to step S54. In step S54, it is determined whether or not there is a packet to the slave unit. If it is determined that there is a bucket to the child device, the process proceeds to step S55, and packet transmission to the child device is executed by power line communication. Thereafter, the process returns to step S53.

ステップS54において、子機へのパケットなしと判別された場合には、ステップS56に移行する。ステップS56においては、親機ネットワークIDの書換指示の有無が判別される。親機ネットワークIDの書換指示有りと判別された場合には、ステップS57に移行する。ステップS57においては、データ記憶領域79のネットワークIDを書き換える処理が実行される。その後ステップS52に戻る。これに対して、親機ネットワークIDの書換指示なしと判別された場合には、ステップS58に移行する。   If it is determined in step S54 that there is no packet to the child device, the process proceeds to step S56. In step S56, it is determined whether or not there is an instruction to rewrite the parent device network ID. If it is determined that there is an instruction to rewrite the parent device network ID, the process proceeds to step S57. In step S57, a process of rewriting the network ID in the data storage area 79 is executed. Thereafter, the process returns to step S52. On the other hand, if it is determined that there is no instruction to rewrite the parent network ID, the process proceeds to step S58.

ステップS58においては、子機からの電力線通信経由の通信を受信する。次いで、ステップS59に移行する。このステップと59においては、子機のネットワークへの接続が有るか否かが判別される。子機のネットワークへの接続が有ると判別された場合には、ステップS60に移行する。このステップS60においては、接続してきた子機のネットワークID=Pを取得する。次いで、ステップS61に移行する。このステップS61においては、P=親機自身のネットワークIDか否かが判別される。   In step S58, communication via power line communication from the slave unit is received. Next, the process proceeds to step S59. In this step 59, it is determined whether or not there is a connection of the slave unit to the network. If it is determined that there is a connection of the slave unit to the network, the process proceeds to step S60. In step S60, the network ID = P of the connected child device is acquired. Next, the process proceeds to step S61. In step S61, it is determined whether P = the network ID of the parent device itself.

P=親機自身のネットワークIDであると判別された場合には、ステップS62に移行する。このステップS62においては、接続してきた子機のネットワーク参加を許可する。これに対して、ステップS61において、P=親機自身のネットワークIDではないと判別された場合にはステップS63に移行する。このステップS63においては、P=スーパーIDか否かが判別される。P=スーパーIDであると判別された場合には、既に説明したステップS62に移行する。これに対して、P=スーパーIDではないと判別された場合には、ステップS64に移行する。このステップS64においては、接続してきた子機のネットワーク参加が拒否される。   If it is determined that P = the network ID of the parent device itself, the process proceeds to step S62. In step S62, the connected child device is permitted to participate in the network. On the other hand, if it is determined in step S61 that P is not the network ID of the parent device itself, the process proceeds to step S63. In step S63, it is determined whether or not P = super ID. If it is determined that P = super ID, the process proceeds to step S62 already described. On the other hand, if it is determined that P is not super ID, the process proceeds to step S64. In step S64, the network connection of the connected child device is rejected.

また、ステップS59において、子機のネットワークへの接続がないと判別された場合には、ステップS65に移行する。このステップS65においては、制御用パソコン1へのパケットが有るか否かが判別される。制御用パソコン1へのパケットがないと判別された場合には、ステップS53に戻る。これに対して、制御用パソコン1へのパケットが有ると判別された場合には、ステップS66に移行する。このステップS66においては、イーサネット(登録商標)ハブ23を介して子機からのパケットを制御用パソコン1に送信する。その後ステップS53に戻る。   If it is determined in step S59 that the slave unit is not connected to the network, the process proceeds to step S65. In step S65, it is determined whether or not there is a packet to the control personal computer 1. If it is determined that there is no packet to the control personal computer 1, the process returns to step S53. On the other hand, if it is determined that there is a packet to the control personal computer 1, the process proceeds to step S66. In step S 66, the packet from the slave unit is transmitted to the control personal computer 1 via the Ethernet (registered trademark) hub 23. Thereafter, the process returns to step S53.

次に、図11を参照して子機側の処理を説明する。まず、ステップS71において、初期化処理が実行される。次いで、ステップS72に移行して、自身のシリアル番号、ネットワークIDをデータ記憶領域87の不揮発性メモリから読み出す。次いで、ステップS73に移行して、電力線通信ネットワークへ接続して親機を発見する。次いで、ステップS74に移行する。このステップS74においては、自身のシリアル番号とネットワークIDを親機へ送信し、制御用パソコン1に送る。次いで、ステップS75に移行する。このステップS75においては、接続したネットワークのネットワークID=Gを親機から受信する。   Next, processing on the slave side will be described with reference to FIG. First, in step S71, initialization processing is executed. Next, the process proceeds to step S 72, and its own serial number and network ID are read from the nonvolatile memory in the data storage area 87. Next, the process proceeds to step S73 to connect to the power line communication network and discover the parent device. Next, the process proceeds to step S74. In this step S74, its own serial number and network ID are transmitted to the parent machine and sent to the control personal computer 1. Next, the process proceeds to step S75. In step S75, the network ID = G of the connected network is received from the parent device.

次いで、ステップS76に移行する。このステップS76においては自身のネットワークIDがスーパーIDか否かが判別される。スーパーIDではないと判別された場合にはステップS77に移行する。このステップS77においては、G=ワイルドカードIDか否かが判別される。G=ワイルドカードIDであると判別された場合には、ステップS78に移行する。このステップS78においては、初期化処理、すなわち、データ記憶領域87のネットワークIDをスーパーIDに初期化する。その後、ステップS72に戻る。一方、G=ワイルドカードIDではないと判別された場合には、ステップS79に移行する。このステップS79においては、G=子機自身のネットワークIDであるか否かが判別される。   Next, the process proceeds to step S76. In step S76, it is determined whether or not the own network ID is a super ID. If it is determined that the ID is not a super ID, the process proceeds to step S77. In step S77, it is determined whether or not G = wild card ID. If it is determined that G = wild card ID, the process proceeds to step S78. In this step S78, initialization processing, that is, the network ID of the data storage area 87 is initialized to the super ID. Thereafter, the process returns to step S72. On the other hand, if it is determined that G is not a wild card ID, the process proceeds to step S79. In step S79, it is determined whether or not G = the network ID of the handset itself.

G=子機自身のネットワークIDではないと判別された場合には、ステップS80に移行する。このステップS80においては、当該親機のネットワーク参加を拒否する。一方、G=子機自身のネットワークIDであると判別された場合には、ステップS81に移行する。ステップS81においては、当該親機のネットワーク参加を許可し、通信が確立することになる。
尚、上記ステップS76においては自身のネットワークIDがスーパーIDであると判別された場合には直接ステップS81に移行し、当該親機のネットワーク参加を許可し、通信が確立することになる。
次いで、ステップS82に移行する。ステップS82においては、親機からの通信電文を受信する。
If it is determined that G is not the network ID of the handset itself, the process proceeds to step S80. In step S80, the parent device is refused to participate in the network. On the other hand, if it is determined that G = the network ID of the handset itself, the process proceeds to step S81. In step S81, the parent device is permitted to participate in the network, and communication is established.
If it is determined in step S76 that the network ID is a super ID, the process directly proceeds to step S81 to permit the parent device to participate in the network and establish communication.
Next, the process proceeds to step S82. In step S82, a communication message from the parent device is received.

次いで、ステップS83に移行する。このステップS83においては、自身のネットワークIDがスーパーIDであるか否かが判別される。自身のネットワークIDがスーパーIDではないと判別された場合には、ステップS84に移行する。このステップS84においては、スイッチ動作状態の変更指示であるか否かが判別される。スイッチ動作状態の変更指示であると判別された場合には、ステップS85に移行する。このステップS85においては、スイッチの状態を変更する処理が実行される。その後、ステップS82に戻る。   Next, the process proceeds to step S83. In step S83, it is determined whether or not the own network ID is a super ID. If it is determined that the own network ID is not a super ID, the process proceeds to step S84. In step S84, it is determined whether or not it is a switch operation state change instruction. If it is determined that the instruction is to change the switch operating state, the process proceeds to step S85. In step S85, processing for changing the state of the switch is executed. Thereafter, the process returns to step S82.

これに対して、スイッチ動作状態の変更指示ではないと判別された場合には、ステップS86に移行する。ステップS86においては、ネットワークIDの書換指示であるか否かが判別される。一方、ステップS83において、自身のネットワークIDがスーパーIDであると判別された場合には、直接ステップS86に移行する。ステップS86において、ネットワークIDの書換指示であると判別された場合には、ステップS87に移行して、電力線通信ネットワークを一旦切断する。次いで、ステップS88に移行して、受信した新ネットワークIDをデータ記憶領域87に記憶する。次いで、ステップS89に移行して、親機に対して自身の状態を送信する。これに対して、ステップS86において、ネットワークIDの書換指示ではないと判別された場合にはステップS82に戻る。 On the other hand, when it is determined that it is not a switch operation state change instruction, the process proceeds to step S86. In step S86, it is determined whether or not it is an instruction to rewrite the network ID. On the other hand, if it is determined in step S83 that its own network ID is a super ID, the process directly proceeds to step S86. If it is determined in step S86 that the instruction is to rewrite the network ID, the process proceeds to step S87, and the power line communication network is temporarily disconnected. Next, the process proceeds to step S88, and the received new network ID is stored in the data storage area 87. Next, the process proceeds to step S89, and its own state is transmitted to the parent device. On the other hand, if it is determined in step S86 that the instruction is not a network ID rewrite instruction, the process returns to step S82.

以上本実施の形態によると次のような効果を奏することができる。
まず、新たに第1−3子機91を参加させようとした場合、第1−3子機91はそのネットワークIDがスーパーIDに設定されているので、何れのネットワークに対しても参加することができる。それによって、新規の子機の参加を容易にすることができる。
また、新たに参加させる子機に対して予めネットワークIDを書き込むという煩雑な作業を行う必要もなく、それによっても、新規の子機の参加を容易にすることができる。
また、スーパーIDを使用して参加してきた新たな第1−3子機91に関して、その後、そのネットワークのIDに自動的に書き換えることができるので、それ以降は安定した接続が可能になる。
また、そのような書換作業に際しても電力線通信手段以外に別の通信手段を要することはないのでコストの低減を図ることができる。
また、何処のネットワークにどのような装置が参加したかという情報を自動的に取得して管理することができる。
また、何処までも届いてしまうパケット送信を使用することもないので、ネットワークの負荷も小さくて済む。
As described above, according to the present embodiment, the following effects can be obtained.
First, when trying to newly join the first to third handset 91, since the network ID of the first to third handset 91 is set to the super ID, it should participate in any network. Can do. Thereby, participation of a new child device can be facilitated.
In addition, it is not necessary to perform a complicated operation of writing a network ID in advance to a child device to be newly joined, and thereby it is possible to easily join a new child device.
Further, since the new first to third child devices 91 that have participated using the super ID can be automatically rewritten to the ID of the network thereafter, stable connection can be made thereafter.
Further, in such rewriting work, since no other communication means is required other than the power line communication means, the cost can be reduced.
In addition, it is possible to automatically acquire and manage information on what network participates in which network.
Further, since the packet transmission that reaches anywhere is not used, the load on the network can be reduced.

尚、本発明は前記一実施の形態に限定されるものではない。
例えば、前記一実施の形態の場合には、電力線通信システムが二つのネットワークから構成されて場合を例に挙げて説明したが、これに限定されるものではなく、ネットワークの数、各ネットワークの子機の数等についてはこれを特に限定するものではない。
また、前記一実施の形態の場合には、各部屋に設置されている換気扇を制御の対象としている場合を例に挙げて説明したが、これに限定されるものではなく、照明器具、空調機器、等様々な機器の制御に適用可能である。
その他、図示した構成はあくまで一例である。
The present invention is not limited to the one embodiment.
For example, in the case of the above-described embodiment, the case where the power line communication system is composed of two networks has been described as an example. However, the present invention is not limited to this. There is no particular limitation on the number of machines.
Moreover, in the case of the said one embodiment, although demonstrated taking the case where the ventilation fan installed in each room was made into the object of control as an example, it is not limited to this, A lighting fixture, air-conditioning equipment It is applicable to control of various devices.
In addition, the illustrated configuration is merely an example.

本発明は、電力線通信システムに係り、特に、新たな通信装置をネットワークに参加させる場合の仕組みを簡略化させることができるように工夫したものに関し、例えば、照明機器、換気扇、等各種機器を制御するシステムに好適である。   The present invention relates to a power line communication system, and more particularly to a device devised so as to simplify a mechanism when a new communication device joins a network, and controls various devices such as a lighting device and a ventilation fan. It is suitable for the system to do.

1 制御用パソコン
19 第1系統親機
21 第2系統親機
25 第1−1子機
27 第1−2子機
39 第2−1子機
41 第2−2子機
91 第1−3子機

DESCRIPTION OF SYMBOLS 1 Personal computer for control 19 1st system | base station 21 2nd system | base station 25 1st 1st subunit | mobile_unit 27 1st 2nd subunit | mobile_unit 39 2nd 1st subunit | mobile_unit 41 2nd 2nd subunit | mobile_unit 91 1st-3th child Machine

Claims (4)

電力線通信機能を備えた電力線通信装置からなる複数のネットワークと、上記複数のネットワークを制御する制御装置と、からなる電力線通信システムにおいて、
上記複数のネットワークにはそれぞれ該ネットワーク固有のネットワークIDが定義されていて、
上記ネットワークIDとは別に全てのネットワークに対する参加が許容されるスーパーIDが定義されていて、
上記スーパーIDを備えた新たな電力線通信装置を上記複数のネットワークの内の任意のネットワークに参加させ、
その後、その参加した新たな電力線通信装置のネットワークIDをスーパーIDからその参加したネットワークのネットワークIDに書き換えるようにしたことを特徴とする電力線通信システム。
In a power line communication system comprising a plurality of networks composed of power line communication devices having a power line communication function, and a control device for controlling the plurality of networks,
Each of the plurality of networks has a unique network ID defined therein,
In addition to the above network ID, a super ID that allows participation in all networks is defined,
A new power line communication device with the super ID is allowed to participate in any of the plurality of networks,
Thereafter, the network ID of the newly joined power line communication device is rewritten from the super ID to the network ID of the joined network.
請求項1記載の電力線通信システムにおいて、
上記電力線通信装置には該電力線通信装置固有の識別子が付与されていることを特徴とする電力線通信システム。
The power line communication system according to claim 1, wherein
A power line communication system, wherein an identifier unique to the power line communication device is assigned to the power line communication device.
請求項2記載の電力線通信システムにおいて、
上記電力線通信装置側には上記識別子を上記制御装置に出力する識別子出力手段が設けられていることを特徴とする電力線通信システム。
The power line communication system according to claim 2,
A power line communication system, characterized in that an identifier output means for outputting the identifier to the control device is provided on the power line communication device side.
請求項1〜請求項3の何れかに記載の電力線通信システムにおいて、
ネットワークIDがワイルドカードIDに設定されたネットワークがあり、
上記ワイルドカードIDのネットワークには別のワイルドカードID以外の様々なネットワークIDを持つ電力線通信装置が参加可能であり、
任意のネットワークに参加して該ネットワークのネットワークIDに設定されている電力線通信装置を上記ワイルドカードIDのネットワークに参加させ、
その状態で上記電力線通信装置のネットワークIDをスーパーIDに初期化させるようにしたことを特徴とする電力線通信システム。
In the power line communication system according to any one of claims 1 to 3,
There is a network whose network ID is set to a wildcard ID,
A power line communication device having various network IDs other than another wild card ID can participate in the wild card ID network.
Participating in any network and joining the power line communication device set in the network ID of the network to the network of the wild card ID,
A power line communication system, wherein the network ID of the power line communication device is initialized to a super ID in that state.
JP2011166131A 2011-07-29 2011-07-29 Power line communication system Pending JP2013031021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2011166131A JP2013031021A (en) 2011-07-29 2011-07-29 Power line communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2011166131A JP2013031021A (en) 2011-07-29 2011-07-29 Power line communication system

Publications (1)

Publication Number Publication Date
JP2013031021A true JP2013031021A (en) 2013-02-07

Family

ID=47787626

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2011166131A Pending JP2013031021A (en) 2011-07-29 2011-07-29 Power line communication system

Country Status (1)

Country Link
JP (1) JP2013031021A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278279A (en) * 2014-07-01 2016-01-27 柯尼卡美能达株式会社 Image forming apparatus
JP2020047108A (en) * 2018-09-20 2020-03-26 住友電気工業株式会社 Power line communication system, master device, slave device, and authentication method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072441A (en) * 2006-09-14 2008-03-27 Sumitomo Electric Ind Ltd Power-line carrier communication apparatus
JP2008113133A (en) * 2006-10-30 2008-05-15 Mega Chips Corp Radio communication system
JP2008270927A (en) * 2007-04-16 2008-11-06 Canon Inc Radio network formation method, and radio terminal
WO2010076700A1 (en) * 2008-12-30 2010-07-08 Nokia Corporation Ad hoc network initiation
WO2010127333A1 (en) * 2009-05-01 2010-11-04 Qualcomm Incorporated Idle handoff to hybrid femto cell based on system selection database
JP2011041228A (en) * 2009-08-18 2011-02-24 Toyo Networks & System Integration Co Ltd Power line carrier communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008072441A (en) * 2006-09-14 2008-03-27 Sumitomo Electric Ind Ltd Power-line carrier communication apparatus
JP2008113133A (en) * 2006-10-30 2008-05-15 Mega Chips Corp Radio communication system
JP2008270927A (en) * 2007-04-16 2008-11-06 Canon Inc Radio network formation method, and radio terminal
WO2010076700A1 (en) * 2008-12-30 2010-07-08 Nokia Corporation Ad hoc network initiation
WO2010127333A1 (en) * 2009-05-01 2010-11-04 Qualcomm Incorporated Idle handoff to hybrid femto cell based on system selection database
JP2011041228A (en) * 2009-08-18 2011-02-24 Toyo Networks & System Integration Co Ltd Power line carrier communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105278279A (en) * 2014-07-01 2016-01-27 柯尼卡美能达株式会社 Image forming apparatus
JP2020047108A (en) * 2018-09-20 2020-03-26 住友電気工業株式会社 Power line communication system, master device, slave device, and authentication method

Similar Documents

Publication Publication Date Title
ES2932277T3 (en) Method and apparatus for controlling and managing a field device using an industrial internet operating system
EP2904739B1 (en) Discovering, validating, and configuring hardware-inventory components
CN104753697B (en) A kind of method, equipment and system controlling the automatic beginning of the network equipment
CN102185718B (en) System upgrading method and device
KR20100004951A (en) Ubiquitous sensor network system and method of configuring the same
CN103281752A (en) WIFI (wireless fidelity) network access method and device, electronic equipment and communication system
CN108900384A (en) Network flow monitoring method, apparatus and system, computer readable storage medium
CN103229478A (en) Method and device for virtual-machine drift determination
CN106716926B (en) Automated stand-alone boot circuit for hardware inventory
CN109039788A (en) Port configuration method, device and the storage medium of the network equipment
US10700924B2 (en) Remote line integration
CN104765621A (en) Method and system for deploying program on cluster node
CN105451154A (en) Vehicle-mounted information system and control method thereof
CN110324193A (en) A kind of terminal upgrade management method and device
CN103326959A (en) Switching application method and switching application system of multiple network modes, and cloud storage system
CN113678406A (en) Multi-structure deployment and management platform
CN103152756A (en) Automation configuration method for wireless local area network access controller (WLAN AC)
JP2013031021A (en) Power line communication system
CN103237050A (en) Method and system for intelligent voice interaction
CN105306228A (en) Virtual content sharing method
JPWO2011016137A1 (en) Inverter system and inverter
CN103078970A (en) Automatic configuration device and method for wireless fidelity (WiFi) address
JP2019110455A (en) Communication system and communication system construction method
CN110955537B (en) Method and device for containing pipes by physical machine
CN104641305A (en) System for account setup and/or device installation

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20140716

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20150225

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20150306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150502

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20150710