JP2013031021A - Power line communication system - Google Patents
Power line communication system Download PDFInfo
- 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
Links
Images
Abstract
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,
上記従来の構成によると次のような問題があった。
まず、第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
A power line communication system according to
The power line communication system according to claim 3 is characterized in that, in the power line communication system according to
A power line communication system according to
以上詳述したように本発明の請求項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
Further, the power line communication system according to
In addition, the power line communication system according to claim 3 is the power line communication system according to
A power line communication system according to
以下、図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
上記第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
In the case of power line communication, there is a concern that signal attenuation or distortion may occur when communication is performed across the
上記第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
上記第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
上記各第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
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
また、第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 |
In FIG. 2, only the first
次に、図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 |
3 shows only the first and
既に説明したように、第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
以上の構成を基にその作用を説明する。
図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
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
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
When the contents shown in FIG. 4 are confirmed, first, the network ID of the
次に、第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
The network ID of the first to
この段階で、スーパーID(NID:0)が書き込まれている第1−3子機91は、第1ネットワーク、第2ネットワークの何れにも参入可能な状態にあるが、この実施の形態では、より通信状態の良いネットワークを探索する。その結果、ブレーカ15、17を超えることなく直接接続されている第1親機19側の第1ネットワークに参加するものとする。
At this stage, the first to
それによって、第1親機19から制御用パソコン1に対して、第1−3子機91がスーパーID(NID:0)を使用して参加してきたこと、その第1−3子機91の固有シリアル番号が「10000101」であることが、イーサネット(登録商標)ハブ23を介して入力される。その入力された情報は制御用パソコン1の表示/入力装置65に表示される。
As a result, the first-3
作業者5は、自身が認識している第1−3子機91のシリアル番号と上記表示されているシリアル番号を照合して確認する。
尚、第1−3子機91のシリアル番号を入力することにより、上記照合を自動化することも可能である。
次に、第1ネットワークに参加した第1−3子機91のネットワークIDを、スーパーID(NID:0)から第2ネットワーク固有のネットワークID(NID:102)に書き換える。
The
The collation can be automated by inputting the serial number of the first to
Next, the network ID of the first to
書き換え後の、第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
次に、第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
The network ID of the first to
次に、上記新たに参加した第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
そして、第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
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
ステップ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
ステップ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
上記ステップ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
ステップ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
次に、図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
When the serial number mismatch error display is executed in the above step and 34, the
ステップ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
一方、ステップ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
次に、図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
ステップ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
ステップ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
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
次に、図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
次いで、ステップ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
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
以上本実施の形態によると次のような効果を奏することができる。
まず、新たに第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
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
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
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.
上記電力線通信装置には該電力線通信装置固有の識別子が付与されていることを特徴とする電力線通信システム。 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.
上記電力線通信装置側には上記識別子を上記制御装置に出力する識別子出力手段が設けられていることを特徴とする電力線通信システム。 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.
ネットワーク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.
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)
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)
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 |
-
2011
- 2011-07-29 JP JP2011166131A patent/JP2013031021A/en active Pending
Patent Citations (6)
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)
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 |