JP2004364168A - Communication controller, communication control system, and communication control method - Google Patents

Communication controller, communication control system, and communication control method Download PDF

Info

Publication number
JP2004364168A
JP2004364168A JP2003162625A JP2003162625A JP2004364168A JP 2004364168 A JP2004364168 A JP 2004364168A JP 2003162625 A JP2003162625 A JP 2003162625A JP 2003162625 A JP2003162625 A JP 2003162625A JP 2004364168 A JP2004364168 A JP 2004364168A
Authority
JP
Japan
Prior art keywords
network
communication state
control device
communication control
lonworks
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
JP2003162625A
Other languages
Japanese (ja)
Inventor
Katsuji Oi
勝司 大井
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.)
Daikin Industries Ltd
Original Assignee
Daikin Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Daikin Industries Ltd filed Critical Daikin Industries Ltd
Priority to JP2003162625A priority Critical patent/JP2004364168A/en
Publication of JP2004364168A publication Critical patent/JP2004364168A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Communication Control (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a communication controller, a communication control system and a communication control method which optimally sets the interval of heartbeat transmission. <P>SOLUTION: The communication controller 30 connected to LonWorks node groups 20 via a LonWorks network 10 comprises a transmission interval changer 31, a communication condition detector 32 and a communication condition decider 33. The transmission interval changer 31 change the interval of heartbeat transmission. The heartbeat transmission is periodically performed from at least one of the LonWorks node groups 20. The communication condition detector 32 detects the bandwidth duty cycle of the LonWorks network 10 after changing the heart beat transmission interval by the interval changer 32. The communication condition decider 33 decides the state of the bandwidth duty cycle of the LonWorks network 10 based on the detection result by the detector 32. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、通信制御装置、通信制御システム及び通信制御方法に関する。
【0002】
【従来の技術】
ネットワークにおける通信形態として、データの変化があった場合に送信が行われるデータ駆動型の送信と周期的に送信が行われる周期送信とがある。この周期送信は、例えば、ネットワークにより接続された機器の間の接続状態を検出する場合などに使用されることがある(例えば、特許文献1参照。)。また、周期送信は、故障した機器を検出する場合などに使用されることがある(例えば、特許文献2参照。)。すなわち、リアルタイムに管理制御するのが望ましいデータ項目などについて、周期送信は使用されることがある。
【0003】
一般に、周期送信の間隔を小さくすればネットワークの通信状態は悪化するが、周期送信されるデータのリアルタイム性は向上する傾向がある。周期送信の間隔を大きくすればネットワークの通信状態は良好になるが、周期送信されるデータのリアルタイム性は劣化する傾向がある。つまり、周期送信されるデータのリアルタイム性とネットワークの通信状態とはトレードオフの関係になる。ただし、両者の関係は線形的な関係ではなく、周期送信の間隔を短くしていくとあるところから急激にネットワークの通信状態が悪化する傾向にある。
【0004】
従来は、そのような周期送信の間隔をネットワーク管理者又はシステム構築者(System Integrator)が自己の経験に基づいて設定していた(例えば、非特許文献1参照。)。
【0005】
【特許文献1】
特開2000−67022号公報(第11−12項、図12)
【0006】
【特許文献2】
特開平10−78944号公報(第5−6項、図3)
【0007】
【非特許文献1】
「設備と管理6月別冊 LonWorks(登録商標)ネットワークシステム導入の手引き」オーム社出版、2002年6月10日、p.60
【0008】
【発明が解決しようとする課題】
しかし、従来の技術では、ネットワークの通信状態が急激に悪化する直前の状態に対してある程度余裕のあるマージンを取った状態になるように、周期送信の間隔が設定されることがあった。そのため、周期送信されるデータのリアルタイム性が犠牲となり、周期送信の間隔が最適に設定されていないことがあった。
【0009】
そこで、本発明の課題は、周期送信の間隔を最適に設定することができる通信制御装置、通信制御システム及び通信制御方法を提供することにある。
【0010】
【課題を解決するための手段】
請求項1に係る通信制御装置は、複数の機器にネットワークで接続された通信制御装置であって、送信間隔変更部と、通信状態検出部と、通信状態判断部とを備える。送信間隔変更部は、周期送信の間隔を変更する。周期送信は、複数の機器のうち少なくとも1以上の機器から周期的に行われる送信である。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後のネットワークの通信状態を検出する。通信状態判断部は、通信状態検出部が検出した結果に基づき、ネットワークの通信状態を判断する。
【0011】
この通信制御装置では、送信間隔変更部は、周期送信の間隔を変更する。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後のネットワークの通信状態を検出する。通信状態判断部は、ネットワークの通信状態に関する目標値を取得することができる。通信状態判断部は、ネットワークの通信状態の情報を通信状態検出部から取得し、ネットワークの通信状態と目標値との比較を行い、ネットワークの通信状態が目標値に近づいたか否かの判断を行う。
【0012】
したがって、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
なお、通信状態は、例えば、帯域幅使用率・コリジョン発生率・不良データ発生率・ディスカード発生率・平均遅延時間などを含む。
請求項2に係る通信制御装置は、請求項1に記載の通信制御装置であって、送信間隔判断部をさらに備える。送信間隔判断部は、通信状態判断部が判断した結果に基づき、周期送信の間隔を変更すべきか否かの判断を行う。
【0013】
この通信制御装置では、送信間隔判断部は、ネットワークの通信状態が目標値に近づいたか否かの判断を通信状態判断部から取得する。送信間隔判断部は、ネットワークの通信状態が目標値に近づいたと通信状態判断部が判断した場合、周期送信の間隔を変更すべきでないと判断する。送信間隔判断部は、ネットワークの通信状態が目標値に近づいていないと通信状態判断部が判断した場合、周期送信の間隔を変更すべきであると判断する。送信間隔変更部は、周期送信の間隔を変更すべきでないと送信間隔判断部が判断した場合、周期送信の間隔を変更しない。送信間隔変更部は、周期送信の間隔を変更すべきであると送信間隔判断部が判断した場合、周期送信の間隔を変更する。
【0014】
したがって、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項3に係る通信制御装置は、請求項2に記載の通信制御装置であって、相関関係記憶部をさらに備える。相関関係記憶部は、送信間隔変更部が変更した結果と通信状態検出部が検出した結果とに基づき、周期送信の間隔の変更量とネットワークの通信状態の変化量との相関関係を記憶する。送信間隔判断部は、通信状態判断部が判断した結果に基づき、相関関係記憶部を参照することにより、周期送信の間隔の変更すべき量を決定する。
【0015】
この通信制御装置では、相関関係記憶部は、ネットワークの通信状態の情報を通信状態検出部から取得し、周期送信の間隔の変更量の情報を送信間隔変更部から取得し、周期送信の間隔の変更量とネットワークの通信状態の変化量との相関関係を記憶する。送信間隔判断部は、ネットワークの通信状態の情報を通信状態検出部から取得し、目標値とネットワークの通信状態との差分を計算し、周期送信の間隔の変更量とネットワークの通信状態の変化量との相関関係を相関関係記憶部から取得し、周期送信の間隔の変更すべき量を決定する。送信間隔変更部は、周期送信の間隔の変更すべき量を送信間隔判断部から取得し、周期送信の間隔を変更する。
【0016】
したがって、周期送信の間隔の変更量とネットワークの通信状態の変化量との相関関係を学習することができるので、周期送信の間隔を最適に設定することができる。
請求項4に係る通信制御装置は、請求項1から3のいずれかに記載の通信制御装置であって、目標値入力部をさらに備える。目標値入力部は、目標値を入力する。
【0017】
この通信制御装置では、目標値入力部は、目標値を入力する。通信状態判断部は、目標値を目標値入力部から取得し、ネットワークの通信状態の情報を通信状態検出部から取得する。通信状態判断部は、ネットワークの通信状態と目標値との比較を行い、ネットワークの通信状態が目標値に近づいたか否かの判断を行う。
【0018】
したがって、ネットワークの許容される通信状態を容易に設定することができる。
なお、目標値入力部は、あらかじめ設定された目標値を受け付けてもよいし、キーボードなどの入力装置から目標値を受け付けてもよいし、通信制御装置とは別の場所に設定された目標値をネットワーク経由で取得してもよい。
【0019】
請求項5に係る通信制御装置は、請求項1から4のいずれかに記載の通信制御装置であって、判断結果出力部をさらに備える。判断結果出力部は、通信状態判断部が判断した結果を出力する。
この通信制御装置では、判断結果出力部は、ネットワークの通信状態が目標値に近づいたか否かの判断を通信状態判断部から取得し、通信状態判断部が判断した結果を出力する。
【0020】
したがって、周期送信の間隔が最適に設定されたか否かを容易に確認することができる。
なお、判断結果出力部が出力する方法は、表示画面に映し出される方法などだけでなく、印字装置により印字される方法などを含む。
請求項6に係る通信制御装置は、請求項4又は5のいずれかに記載の通信制御装置であって、通信状態判断部は、ネットワークの通信状態が目標値に対して一定の範囲内になった場合は、ネットワークの通信状態が目標値に近づいたと判断する。
【0021】
この通信制御装置では、通信状態判断部は、ネットワークの通信状態に関する目標値を取得することができる。通信状態判断部は、ネットワークの通信状態の情報を通信状態検出部から取得し、ネットワークの通信状態と目標値とを比較する。通信状態判断部は、ネットワークの通信状態が目標値に対して一定の範囲内になった場合すなわちネットワークの通信状態と目標値との差分の絶対値が一定の値以下になった場合、ネットワークの通信状態が目標値に近づいたと判断する。
【0022】
したがって、ネットワークの通信状態が目標値に近づいたか否かを容易に判断することができる。
請求項7に係る通信制御装置は、請求項1から6のいずれかに記載の通信制御装置であって、通信状態は、帯域幅使用率又はコリジョン発生率である。
この通信制御装置では、通信状態は、帯域幅使用率又はコリジョン発生率である。送信間隔変更部は、周期送信の間隔を変更する。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後のネットワークの帯域幅使用率又はコリジョン発生率を検出する。通信状態判断部は、ネットワークの帯域幅使用率又はコリジョン発生率に関する目標値を取得することができる。通信状態判断部は、ネットワークの帯域幅使用率又はコリジョン発生率の情報を通信状態検出部から取得し、ネットワークの帯域幅使用率又はコリジョン発生率と目標値との比較を行い、ネットワークの帯域幅使用率又はコリジョン発生率が目標値に近づいたか否かの判断を行う。
【0023】
したがって、ネットワークの帯域幅使用率又はコリジョン発生率を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項8に係る通信制御装置は、請求項1から7のいずれかに記載の通信制御装置であって、ネットワークは、分散制御ネットワークである。送信間隔変更部は、複数の機器において設定されている周期送信の間隔を変更する。
【0024】
ここでは、ネットワークは、分散制御ネットワークである。周期送信の間隔は、複数の機器において設定されている。送信間隔変更部は、複数の機器に分散制御ネットワークを介して命令することにより、周期送信の間隔を変更することができる。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後の分散制御ネットワークの通信状態を検出する。通信状態判断部は、ネットワークの通信状態に関する目標値を取得することができる。通信状態判断部は、分散制御ネットワークの通信状態の情報を通信状態検出部から取得し、分散制御ネットワークの通信状態と目標値との比較を行い、分散制御ネットワークの通信状態が目標値に近づいたか否かの判断を行う。
【0025】
したがって、分散制御ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項9に係る通信制御装置は、請求項1から7のいずれかに記載の通信制御装置であって、ネットワークは、集中制御ネットワークである。送信間隔変更部は、管理制御装置又は複数の機器において設定されている周期送信の間隔を変更する。管理制御装置は、複数の機器を集中的に管理制御する。
【0026】
ここでは、ネットワークは、集中制御ネットワークである。周期送信の間隔は、管理制御装置又は複数の機器において設定されている。送信間隔変更部は、管理制御装置又は複数の機器に集中制御ネットワークを介して命令することにより、周期送信の間隔を変更することができる。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後の集中制御ネットワークの通信状態を検出する。通信状態判断部は、ネットワークの通信状態に関する目標値を取得することができる。通信状態判断部は、集中制御ネットワークの通信状態の情報を通信状態検出部から取得し、集中制御ネットワークの通信状態と目標値との比較を行い、集中制御ネットワークの通信状態が目標値に近づいたか否かの判断を行う。
【0027】
したがって、集中制御ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項10に係る通信制御システムは、複数の機器と、請求項1から8に記載の通信制御装置と、ネットワークとを備える。ネットワークは、複数の機器と通信制御装置とを接続する。
【0028】
この通信制御システムでは、周期送信の間隔は、複数の機器において設定されている。送信間隔変更部は、複数の機器にネットワークを介して命令することにより、周期送信の間隔を変更することができる。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後のネットワークの通信状態を検出する。通信状態判断部は、ネットワークの通信状態に関する目標値を取得することができる。通信状態判断部は、ネットワークの通信状態の情報を通信状態検出部から取得し、ネットワークの通信状態と目標値との比較を行い、ネットワークの通信状態が目標値に近づいたか否かの判断を行う。
【0029】
したがって、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項11に係る通信制御システムは、複数の機器と、管理制御装置と、請求項1から7のいずれか又は請求項9に記載の通信制御装置と、ネットワークとを備える。管理制御装置は、複数の機器を集中的に管理制御する。ネットワークは、複数の機器と管理制御装置と通信制御装置とを接続する。
【0030】
この通信制御システムでは、周期送信の間隔は、管理制御装置又は複数の機器において設定されている。送信間隔変更部は、管理制御装置又は複数の機器にネットワークを介して命令することにより、周期送信の間隔を変更することができる。通信状態検出部は、送信間隔変更部により周期送信の間隔が変更された後のネットワークの通信状態を検出する。通信状態判断部は、ネットワークの通信状態に関する目標値を取得することができる。通信状態判断部は、ネットワークの通信状態の情報を通信状態検出部から取得し、ネットワークの通信状態と目標値との比較を行い、ネットワークの通信状態が目標値に近づいたか否かの判断を行う。
【0031】
したがって、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項12に係る通信制御方法は、複数の機器が接続されたネットワークの通信制御方法であって、送信間隔変更ステップと、通信状態検出ステップと、通信状態判断ステップとを備える。送信間隔変更ステップでは、周期送信の間隔が変更される。周期送信は、複数の機器のうち少なくとも1以上の機器から周期的に行われる送信である。通信状態検出ステップでは、送信間隔変更ステップにおいて周期送信の間隔が変更された後のネットワークの通信状態が検出される。通信状態判断ステップでは、通信状態検出ステップにおいて検出された結果に基づき、ネットワークの通信状態が判断される。
【0032】
この通信制御方法では、送信間隔変更ステップにおいて、周期送信の間隔が変更される。通信状態検出ステップにおいて、送信間隔変更ステップにおいて周期送信の間隔が変更された後のネットワークの通信状態が検出される。通信状態判断ステップにおいて、ネットワークの通信状態に関する目標値が取得され得る。通信状態判断ステップにおいて、ネットワークの通信状態の情報が取得され、ネットワークの通信状態と目標値との比較が行われ、ネットワークの通信状態が目標値に近づいたか否かの判断が行われる。
【0033】
したがって、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
なお、通信状態は、例えば、帯域幅使用率・コリジョン発生率・不良データ発生率・ディスカード発生率・平均遅延時間などを含む。
【0034】
【発明の実施の形態】
[第1実施形態]
図1に、本発明の第1実施形態にかかる通信制御システム1の構成図を示す。通信制御システム1では、LonWorks(登録商標)技術が採用されている。
【0035】
<通信制御システム1の全体構成>
図1に示す通信制御システム1は、主としてLonWorks(登録商標)ネットワーク10とLonWorks(登録商標)ノード群20(20a,20b,・・・)と通信制御装置30とを備える。ここで、LonWorks(登録商標)ネットワークとは、LonWorks(登録商標)技術を採用したネットワークである。LonWorks(登録商標)ノードとは、LonWorks(登録商標)ネットワークに接続された機器のことである。なお、通信状態調整装置30も一種のLonWorks(登録商標)ノードであるが、LonWorks(登録商標)ノード群20(20a,20b,・・・)と区別するために、名称を変えてある。
【0036】
LonWorks(登録商標)ノード群20(20a,20b,・・・)と通信制御装置30とは、LonWorks(登録商標)ネットワーク10により接続されている。
<通信制御装置30の構成>
図1に示す通信状態調整装置30は、主として送信間隔変更部31と通信状態検出部32と通信状態判断部33と送信間隔判断部34と目標値入力部35とニューロンチップ38とを備える。ここで、ニューロンチップとは、LonWorks(登録商標)技術が採用されたネットワーク用ICである。このニューロンチップにより、LonTalk(登録商標)プロトコルに従った通信がなされる。
【0037】
目標値入力部35は、帯域幅使用率の目標値の入力を受け付ける。送信間隔変更部31は、LonWorks(登録商標)ノード群20(20a,20b,・・・)にLonWorks(登録商標)ネットワーク10を介してアクセスすることにより、LonWorks(登録商標)ノード群20(20a,20b,・・・)から周期的に行われる送信(以下、ハートビート送信と呼ぶ)が送信される時間間隔のコンフィギュレーション・プロパティの値(以下、ハートビートCP値と呼ぶ。)を変更する。ここで、コンフィギュレーション・プロパティとは、LonWorks(登録商標)ノード群20(20a,20b,・・・)の設定値や制御用パラメータを定義するものである。LonWorks(登録商標)ノード群20(20a,20b,・・・)からLonWorks(登録商標)ネットワーク10を介してハートビート送信が変更後のハートビートCP値の送信間隔で一定時間なされた際、LonWorks(登録商標)ネットワーク10における帯域幅使用率が通信状態検出部32により検出される。通信状態判断部33は、通信状態検出部32から帯域幅使用率の情報を受け取り、目標値入力部35から帯域幅使用率の目標値の情報を受け取り、帯域幅使用率と目標値との比較を行い、図1に示すLonWorks(登録商標)ネットワーク10における帯域幅使用率が目標値に近づいたか否か判断する。送信間隔判断部34は、その判断の情報を通信状態判断部33から受け取り、ハートビートCP値を変更するか否かを判断する。
【0038】
<LonWorks(登録商標)ノード20aの構成>
図1に示すLonWorks(登録商標)ノード20aは、主として送信間隔記憶部21aとニューロンチップ22aとを備える。
他のLonWorks(登録商標)ノード20b、・・・も同様の構成である。
【0039】
<LonWorks(登録商標)ネットワーク10の構成>
図1に示すように、LonWorks(登録商標)ネットワーク10は、LonWorks(登録商標)ノード群20(20a,20b,・・・)と通信制御装置30とを接続している。
図1に示すLonWorks(登録商標)ネットワーク10では、主として図3に示すネットワーク変数(出力NVe,出力NVf,・・・,入力NVg,入力NVh,・・・)を介して情報の送受信が行われる。ここで、ネットワーク変数とは、LonTalk(登録商標)プロトコルに従って情報の送受信が行われる際に、仲介を行う変数である。すなわち、送信側のLonWorks(登録商標)ノードにおける出力用ネットワーク変数に送信すべき情報が代入されると、受信側のLonWorks(登録商標)ノードにおけるバインディングされた入力用ネットワーク変数でその情報が受信される。つまり、ネットワーク変数は情報を伝送するための入れ物である。LonWorks(登録商標)ネットワークにおけるネットワーク変数を介した情報の通信では、イーサネット(登録商標)とは異なり、情報の送受信の際に、送信先アドレスは指定されない。あらかじめ行われているバインディングにより、送信先アドレスが、出力用ネットワーク変数(出力NVe,出力NVf,・・・)に設定されているからである。
【0040】
<通信制御システム1がLonWorks(登録商標)ネットワーク10の帯域幅使用率を調整する処理の流れ>
図1に示す通信制御システム1がLonWorks(登録商標)ネットワーク10の帯域幅使用率を調整する処理の流れを、図2に示すフローチャートを用いて説明する。
【0041】
図2に示すステップS1では、図1に示す通信制御装置30の目標値入力部35に帯域幅使用率の目標値が入力され、帯域幅使用率の目標値の情報が図1に示す通信制御装置30の目標値入力部35から通信状態判断部33に渡される。帯域幅使用率の目標値は、ネットワークが飽和する直前の値を用いるのが望ましい。ネットワークが飽和する帯域幅使用率の値は経験的に70%であると言われているので、目標値を60%としてもよい。図2に示すステップS2では、図1に示す通信制御装置30の通信状態検出部32によりLonWorks(登録商標)ネットワーク10の帯域幅使用率が検出され、それによりLonWorks(登録商標)ノード群20(20a,20b,・・・)が検出され、LonWorks(登録商標)ノード群20(20a,20b,・・・)の情報が通信状態検出部32から送信間隔判断部34へ渡される。図2に示すステップS3では、図3に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のアドレスとコンフィグレーション・プロパティ(NCa,NCb,・・・)の識別子とが指定され、値読み出しコマンド(fetchリクエスト)とがリクエストパケットとして送信されることにより図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が問い合わせられ、図3に示すコンフィグレーション・プロパティ(NCa,NCb,・・・)の値がリプライパケットとして返信され、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が通信制御装置30に受信され、通信制御装置30の送信間隔判断部34に渡される。これにより、通信制御装置30の送信間隔判断部34で、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が検出される。図2に示すステップS4では、図1に示す通信制御装置30の通信状態検出部32によりLonWorks(登録商標)ネットワーク10の帯域幅使用率が検出され、LonWorks(登録商標)ネットワーク10の帯域幅使用率の情報が通信制御装置30の通信状態判断部33に渡される。図2に示すステップS5では、図1に示す通信制御装置30の通信状態判断部33により
(帯域幅使用率の目標値)−(実際の帯域幅使用率)=(目標値との差分)・・・(式1)
が計算される。ここで、帯域幅使用率の目標値は、図2に示すステップS1において図1に示す通信制御装置30の目標値入力部35から通信状態判断部33に渡された、LonWorks(登録商標)ネットワーク10における帯域幅使用率の目標値の情報である。実際の帯域幅使用率は、図2に示すステップS5において図1に示す通信制御装置30の通信状態検出部32から通信状態判断部33に渡された、LonWorks(登録商標)ネットワーク10における帯域幅使用率の情報である。図2に示すステップS6では、図1に示す通信制御装置30の通信状態判断部33により式1における目標値との差分の絶対値が一定の値以下(5%以下)であるか否かが検出され、実際の帯域幅使用率が帯域幅使用率の目標値に近づいたか否かが判断される。実際の帯域幅使用率が帯域幅使用率の目標値に近づいたと判断された場合は、その判断が図1に示す通信制御装置30の通信状態判断部33から送信間隔判断部34へ渡され、送信間隔判断部34によりハートビートCP値を変更すべきでないと判断され処理が終了される。実際の帯域幅使用率が帯域幅使用率の目標値に近づいていないと判断された場合は、その判断が図1に示す通信制御装置30の通信状態判断部33から送信間隔判断部34へ渡され、送信間隔判断部34によりハートビートCP値を変更すべきであると判断され図2に示すステップS7へ処理が進められる。図2に示すステップS7では、式1における目標値との差分の情報が図1に示す通信制御装置30の通信状態判断部33から送信間隔判断部34へ渡される。送信間隔判断部34では、変更対象のLonWorks(登録商標)ノードが全てのLonWorks(登録商標)ノード20a,20b,・・・に決定され、変更すべきハートビートCP値が1秒に決定される。図2に示すステップS8では、変更対象のLonWorks(登録商標)ノードの情報が図1に示す通信制御装置30の送信間隔判断部34から送信間隔変更部31へ渡され、式1における目標値との差分が正の値であれば変更対象のLonWorks(登録商標)ノード20a,20b,・・・のハートビートCP値が変更すべきハートビートCP値すなわち1秒だけ減らされる。式1における目標値との差分が負の値であれば変更対象のLonWorks(登録商標)ノード20a,20b,・・・のハートビートCP値が変更すべきハートビートCP値すなわち1秒だけ増やされる。
【0042】
<通信制御システム1において情報が送受信される動作>
図1に示す通信制御システム1において情報が送受信される動作を、図1に示す構成図及び図3に示す概念図を用いて説明する。図3においてネットワーク変数(出力NVe,出力NVf,・・・,入力NVg,入力NVh,・・・)は白抜きの矢印で示され、その矢印の方向によって情報の伝達の方向が表される。ネットワーク変数(出力NVe,出力NVf,・・・,入力NVg,入力NVh,・・・)の間を接続している実線は、実際の配線を表しているのではなく、ネットワーク変数間のバインドの状態を表している。
【0043】
図1に示す通信制御装置30の送信間隔判断部34がLonWorks(登録商標)ノード20aのハートビートCP値を検出する場合を考える。図3に示すLonWorks(登録商標)ノード20aのアドレスとコンフィグレーション・プロパティ(NCa)の識別子とが指定され、値読み出しコマンド(fetchリクエスト)がリクエストパケットとして通信制御装置30から図1に示すLonWorks(登録商標)ネットワーク10経由で送信されることによりLonWorks(登録商標)ノード20aのハートビートCP値が問い合わせられ、LonWorks(登録商標)ノード20aに受信される。LonWorks(登録商標)ノード20aでは図3に示すコンフィグレーション・プロパティ(NCa)の値が読み出され、コンフィグレーション・プロパティ(NCa)の値がリプライパケットとしてLonWorks(登録商標)ノード20aから図1に示すLonWorks(登録商標)ネットワーク10経由で返信され、LonWorks(登録商標)ノード20aのハートビートCP値が通信制御装置30に受信される。受信されたハートビートCP値は、通信制御装置30の送信間隔判断部34で受け取られる。すなわち、この場合はネットワーク変数を介さないでデータの送受信が行われる。
【0044】
図1に示す通信制御装置30の送信間隔変更部31がLonWorks(登録商標)ノード20aのハートビートCP値を変更する場合を考える。図3に示すLonWorks(登録商標)ノード20aのアドレスとコンフィグレーション・プロパティ(NCa)の識別子とが指定され、値書き込みコマンド(NvUpdateコマンド)と変更すべきハートビートCP値が通信制御装置30から図1に示すLonWorks(登録商標)ネットワーク10経由で送信されることによりLonWorks(登録商標)ノード20aのハートビートCP値の変更要求が出され、LonWorks(登録商標)ノード20aに受信される。LonWorks(登録商標)ノード20aでは、図1に示す送信間隔記憶部21aがアクセスされ、LonWorks(登録商標)ノード20aのハートビートCP値が、変更すべきハートビートCP値だけ変更される。すなわち、この場合もネットワーク変数を介さないでデータの送受信が行われる。
【0045】
図1に示すLonWorks(登録商標)ノード20aがLonWorks(登録商標)ノード20bに情報を送信する場合を考える。ここで、LonWorks(登録商標)ノード20aにおいて、出力用ネットワーク変数(出力NVe)はハートビート送信されるように設定されており、出力用ネットワーク変数(出力NVf)はデータ駆動型の送信が行われるように設定されているものとする。LonWorks(登録商標)ノード20aにおいて、出力用ネットワーク変数(出力NVe)には、状態の変化がなくてもハートビートCP値に設定された時間間隔で情報が代入され、その情報はLonWorks(登録商標)ノード20bへ送信される。一方、出力用ネットワーク変数(出力NVf)には、出力用ネットワーク変数(出力NVf)に対応する状態の変化があった場合に情報が代入され、その情報はLonWorks(登録商標)ノード20bへ送信される。図1に示すLonWorks(登録商標)ノード20bがLonWorks(登録商標)ノード20aに情報を送信する場合も同様である。すなわち、この場合はネットワーク変数を介してデータの送受信が行われる。
【0046】
<通信制御システム1に関する特徴>
(1)
ここでは、図1に示す通信制御装置30の送信間隔変更部31は、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更する。通信制御装置30の通信状態検出部32は、送信間隔変更部31により周期送信の間隔が変更された後のLonWorks(登録商標)ネットワーク10の帯域幅使用率を検出する。通信制御装置30の通信状態判断部33は、LonWorks(登録商標)ネットワーク10の帯域幅使用率の情報を通信状態検出部32から取得し、LonWorks(登録商標)ネットワーク10の帯域幅使用率と目標値との比較を行い、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたか否かの判断を行う。通信制御装置30の送信間隔判断部34は、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたか否かの判断を通信制御装置30の通信状態判断部33から取得する。通信制御装置30の送信間隔判断部34は、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたと通信制御装置30の通信状態判断部33が判断した場合、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更すべきでないと判断する。通信制御装置30の送信間隔判断部34は、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいていないと通信制御装置30の通信状態判断部33が判断した場合、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更すべきであると判断する。通信制御装置30の送信間隔変更部31は、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更すべきでないと通信制御装置30の送信間隔判断部34が判断した場合、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更しない。通信制御装置30の送信間隔変更部31は、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更すべきであると通信制御装置30の送信間隔判断部34が判断した場合、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更する。
【0047】
したがって、LonWorks(登録商標)ネットワーク10の帯域幅使用率を見ながらLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更されるので、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が最適に設定される。
【0048】
(2)
ここでは、図1に示す通信制御装置30の目標値入力部35は、目標値を入力する。通信制御装置30の通信状態判断部33は、通信制御装置30の目標値入力部から目標値を取得し、LonWorks(登録商標)ネットワーク10の帯域幅使用率の情報を通信制御装置30の通信状態検出部32から取得する。通信制御装置30の通信状態判断部33は、LonWorks(登録商標)ネットワーク10の帯域幅使用率と目標値との比較を行い、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたか否かの判断を行う。
【0049】
したがって、LonWorks(登録商標)ネットワーク10の許容される帯域幅使用率が容易に設定される。
(3)
ここでは、図1に示す通信制御装置30の通信状態判断部33は、LonWorks(登録商標)ネットワーク10の帯域幅使用率の情報を通信制御装置30の通信状態検出部32から取得し、LonWorks(登録商標)ネットワーク10の帯域幅使用率と目標値とを比較する。通信制御装置30の通信状態判断部33は、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に対して一定の範囲内になった場合すなわちネットワークの通信状態と目標値との差分の絶対値が一定の値以下(5%以下)になった場合、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたと判断する。
【0050】
したがって、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたか否かが容易に判断される。
(4)
ここでは、図1に示すLonWorks(登録商標)ネットワーク10は、分散制御ネットワークである。LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値は、LonWorks(登録商標)ノード群20(20a,20b,・・・)の送信間隔記憶部21a,21b,・・・において設定されている。通信制御装置30の送信間隔変更部31は、値書き込みコマンド(NvUpdateコマンド)と変更すべきハートビートCP値をLonWorks(登録商標)ネットワーク10経由で送信することにより、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更する。通信制御装置30の通信状態検出部32は、通信制御装置30の送信間隔変更部31によりLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更された後のLonWorks(登録商標)ネットワーク10の帯域幅使用率を検出する。通信制御装置30の通信状態判断部33は、LonWorks(登録商標)ネットワーク10の帯域幅使用率の情報を通信制御装置30の通信状態検出部32から取得し、LonWorks(登録商標)ネットワーク10の帯域幅使用率と目標値との比較を行い、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたか否かの判断を行う。
【0051】
したがって、LonWorks(登録商標)ネットワーク10の帯域幅使用率を見ながら、値書き込みコマンド(NvUpdateコマンド)と変更すべきハートビートCP値をLonWorks(登録商標)ネットワーク10経由で送信することにより、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更されるので、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が最適に設定される。
【0052】
<第1実施形態の変形例>
(A)図1に示す通信制御装置30は、相関関係記憶部37をさらに備えていてもよい。この場合、図2に示すステップS3で図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が検出された際に、ハートビートCP値がLonWorks(登録商標)ノード群20(20a,20b,・・・)について平均された値が相関関係記憶部37に記憶される。図2に示すステップS4で図1に示すLonWorks(登録商標)ネットワーク10の帯域幅使用率が測定された際に、その測定値が相関関係記憶部37に記憶される。図2に示すステップS8で図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更された際に、ハートビートCP値がLonWorks(登録商標)ノード群20(20a,20b,・・・)について平均された値が相関関係記憶部37に記憶される。
【0053】
図2に示すステップS4からステップS8のルーチンを繰り返す結果、図1に示すLonWorks(登録商標)ネットワーク10の帯域幅使用率とLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値との図4に示す相関図が得られる。すなわち、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を小さくするに従って、LonWorks(登録商標)ネットワーク10の帯域幅使用率は増加する。ところが、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を図4に示すX1(秒)よりも小さくすると、LonWorks(登録商標)ネットワーク10の帯域幅使用率はY1(%)からほとんど増加しなくなる。すなわち、LonWorks(登録商標)ネットワーク10が飽和する直前の状態に相当するのは、点P1である。これより、LonWorks(登録商標)ネットワーク10の帯域幅使用率の目標値Y1(%)が導かれる。
【0054】
LonWorks(登録商標)ネットワーク10の帯域幅使用率の目標値Y1(%)が明確になる程度に図4に示す相関図が得られた場合を考える。この場合、図2に示すステップS4で帯域幅使用率が測定された結果Y2(%)だったとする。次に、ステップS5及びステップS6の処理に代わって、図1に示す相関関係記憶部37に記憶された図4に示す相関図が参照される。その結果、LonWorks(登録商標)ネットワーク10の現在の状態は、点P2に相当することが分かる。点P2に対応するハートビートCP値がX2であることが導かれ、変更すべきハートビートCP値は、
(現在のハートビートCP値)×X1/X2
=(変更すべきハートビートCP値) ・・・(式2)
の式により計算される。図2に示すステップS7で、変更対象のLonWorks(登録商標)ノードが全ての図1に示すLonWorks(登録商標)ノード20a,20b,・・・に決定され、式2における変更すべきハートビートCP値が図1に示すLonWorks(登録商標)ノード20a,20b,・・・のそれぞれについて算出される。図2に示すステップS8で図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が、LonWorks(登録商標)ノード20a,20b,・・・に対してそれぞれ式2により算出された値だけ変更される。その結果、ハートビートCP値を図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)について平均した値は、図4に示すX1(秒)となり、相関図上でX1(秒)に相当する点P1に到達し、LonWorks(登録商標)ネットワーク10の帯域幅使用率は目標値Y1(%)となる。あるいは、図2に示すステップS8において、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更される代わりに、LonWorks(登録商標)ノード20a,20b,・・・に対してそれぞれ式2により算出された値が後述の判断結果出力部36により推奨値として出力されるようにしてもよい。これにより、図2に示すステップS4〜ステップS8のルーチンの回数を減らすことができる。
(B)図1に示す通信制御装置30の通信状態検出部32は、LonWorks(登録商標)ネットワーク10の帯域幅使用率の代わりに、LonWorks(登録商標)ネットワーク10のコリジョン発生率を検出してもよい。この場合、図1に示すニューロンチップ38の代わりに、汎用のCPUデバイスにLonTalk(登録商標)プロトコル処理プログラムを組み込んだネットワークインターフェース38aを用いることができる。ニューロンチップは正常に受信できたパケットについてのみアプリケーションにデータを渡すため、第三者的なLonWorks(登録商標)ノード(データを送信していないノード)である通信制御装置30にニューロンチップを用いると、コリジョンのように正常に受信できないパケットを検出することが困難になるからである。LonWorks(登録商標)ネットワーク10のコリジョン発生率を見ながらLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更することにより、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を最適に設定することができる。
【0055】
図1に示す通信制御装置30は、相関関係記憶部37をさらに備えていてもよい。この場合、図2に示すステップS4からステップS8のルーチンを繰り返す結果、図1に示すLonWorks(登録商標)ネットワーク10のコリジョン発生率とLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値との図5に示す相関図が得られる。図2に示すステップS4でコリジョン発生率が測定された結果Y4(回/秒)だったとする。次に、図2に示すステップS5及びステップS6の処理に代わって、図1に示す相関関係記憶部37に記憶された図5に示す相関図が参照される。その結果、LonWorks(登録商標)ネットワーク10の現在の状態は、点P4に相当することが分かる。点P4に対応するハートビートCP値がX4(秒)であることが導かれ、変更すべきハートビートCP値は、
(現在のハートビートCP値)×X3/X4
=(変更すべきハートビートCP値) ・・・(式3)
の式により計算される。図2に示すステップS7で、変更対象のLonWorks(登録商標)ノードが全てのLonWorks(登録商標)ノード20a,20b,・・・に決定され、式3における変更すべきハートビートCP値が図1に示すLonWorks(登録商標)ノード20a,20b,・・・のそれぞれについて算出される。図2に示すステップS8で図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が、LonWorks(登録商標)ノード20a,20b,・・・に対してそれぞれ式3により算出された値だけ変更される。その結果、ハートビートCP値を図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)について平均した値は、図5に示すX3(秒)となり、相関図上でX3(秒)に相当する点P3に到達し、LonWorks(登録商標)ネットワーク10のコリジョン発生率は目標値Y3(回/秒)となる。あるいは、図2に示すステップS8において、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更される代わりに、LonWorks(登録商標)ノード20a,20b,・・・に対してそれぞれ式3により算出された値が後述の判断結果出力部36により推奨値として出力されるようにしてもよい。これにより、図2に示すステップS4〜ステップS8のルーチンの回数を減らすことができる。
(C)図1に示す通信制御装置30の通信状態検出部32は、LonWorks(登録商標)ネットワーク10の帯域幅使用率の代わりに、LonWorks(登録商標)ネットワーク10の不良データ発生率・ディスカード発生率・平均遅延時間などを検出してもよい。この場合、LonWorks(登録商標)ネットワーク10の不良データ発生率・ディスカード発生率・平均遅延時間などを見ながらLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更することにより、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を最適に設定することができる。
(D)図1に示す通信制御装置30の目標値入力部35は、あらかじめ設定された目標値を受け付けてもよいし、キーボードなどの入力装置から目標値を受け付けてもよいし、通信制御装置30とは別の場所に設定された目標値をLonWorks(登録商標)ネットワーク10経由で取得してもよい。
【0056】
また、通信制御装置30の目標値入力部35は、ハートビートCP値の変更可能範囲又は変更の可否を受け付けてもよい。この場合、目標値入力部35に変更可能範囲外の目標値が入力されるとエラーとなり、目標値が受け付けられない。目標値入力部35に変更可能範囲内の目標値が入力されると、目標値が受け付けられる。目標値入力部35に変更不可の目標値が入力されるとエラーとなり、目標値が受け付けられない。目標値入力部35に変更可能の目標値が入力されると、目標値が受け付けられる。したがって、目標値についてユーザの使用条件などに応じてカスタマイズすることができる。
(E)図1に示す通信制御装置30は、判断結果出力部36をさらに備えていてもよい。この場合、通信制御装置30の判断結果出力部36は、LonWorks(登録商標)ネットワーク10の帯域幅使用率が目標値に近づいたか否かの判断を通信制御装置30の通信状態判断部33から取得し、通信制御装置30の通信状態判断部33が判断した結果を出力する。したがって、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が最適に設定されたか否かを容易に確認することができる。
【0057】
また、前述のように、図2に示すステップS8で、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が変更される代わりに、LonWorks(登録商標)ノード群20(20a,20b,・・・)に対してそれぞれ式2や式3により算出された値が判断結果出力部36により推奨値として出力されるようにしてもよい。この場合は、変更すべき量が妥当か否かを確認してから、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値を変更することができる。
【0058】
あるいは、図1に示す通信制御装置30の目標値入力部35に複数の目標値が入力され、LonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値の変更すべき値が判断結果出力部36により目標値ごとに推奨値として出力されるようにしてもよい。この場合、状況に応じて、目標値を選択することができる。
【0059】
なお、通信制御装置30の判断結果出力部36が出力する方法は、表示画面に映し出される方法などでもよいし、印字装置により印字される方法などでもよい。
(F)図2に示すステップS2において、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)が検出される代わりに、通信制御装置30の送信間隔判断部34にLonWorks(登録商標)ノード群20(20a,20b,・・・)がユーザにより直接入力されてもよい。図2に示すステップS3において、図1に示すLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値が検出される代わりに、通信制御装置30の送信間隔変更部31にLonWorks(登録商標)ノード群20(20a,20b,・・・)のハートビートCP値がユーザにより直接入力されてもよい。この場合、検出する処理が不要となるため、通信制御装置30の構造又は処理が簡略化される。
(G)図2に示すステップS7において、変更対象のLonWorks(登録商標)ノード20a,20b,・・・が決定される方法は、LonWorks(登録商標)ノード20a,20b,・・・がランダムに選択される方法であってもよい。あるいは、LonWorks(登録商標)ノード20a,20b,・・・がそれらのアドレス順などの順番に選択される方法であってもよい。この場合、ハートビートCP値の変更の回数を調べなくてよいので、送信間隔判断部34の構造又は処理が簡略化される。
【0060】
あるいは、次のような方法でもよい。図2に示すステップS7では、式1における目標値との差分の情報が図1に示す通信制御装置30の通信状態判断部33から送信間隔判断部34へ渡される。送信間隔判断部34では、式1における目標値との差分が正の値のときは、ハートビートCP値を変更した回数が最も少ない図1に示すLonWorks(登録商標)ノード20a,20b,・・・のうち最もハートビートCP値が大きいLonWorks(登録商標)ノード20a,20b,・・・が選択されて変更対象のLonWorks(登録商標)ノード20a,20b,・・・が決定される。逆に、式1における目標値との差分が負の値のときは、ハートビートCP値を変更した回数が最も少ない図1に示すLonWorks(登録商標)ノード20a,20b,・・・のうち最もハートビートCP値が小さいLonWorks(登録商標)ノード20a,20b,・・・が選択されて変更対象のLonWorks(登録商標)ノード20a,20b,・・・が決定される。いずれの場合も、変更すべきハートビートCP値は1秒に決定される。この場合、図2に示すステップS8では、式1における目標値との差分の情報と変更対象のLonWorks(登録商標)ノードの情報とが図1に示す通信制御装置30の送信間隔判断部34から送信間隔変更部31へ渡され、式1における目標値との差分が正の値であれば変更対象のLonWorks(登録商標)ノード20a,20b,・・・のハートビートCP値が変更すべきハートビートCP値すなわち1秒だけ減らされ、式1における目標値との差分が負の値であれば変更対象のLonWorks(登録商標)ノード20a,20b,・・・のハートビートCP値が変更すべきハートビートCP値すなわち1秒だけ増やされる。
(H)LonWorks(登録商標)ネットワーク10は、他の分散制御ネットワークでもよい。
【0061】
[第2実施形態]
本発明の第2実施形態にかかる通信制御システム100を図6に示す。図6において、図1の通信制御システム1の構成要素と同様の構成要素は同じ番号で示してある。
この通信制御システム100は、基本的な構造は第1実施形態と同様であり、機器群120(120a,120b,・・・)と通信制御装置130とがイーサネット(登録商標)110により接続されている点も第1実施形態と同様であるが、イーサネット(登録商標)110が集中制御ネットワークである点で異なる。すなわち、図6に示すように、イーサネット(登録商標)110に管理制御装置50がさらに接続され、機器群120(120a,120b,・・・)からの周期送信の送信間隔が管理制御装置50の送信間隔記憶部51に記憶されている点で第1実施形態と異なっている。また、管理制御装置50と機器群120(120a,120b,・・・)と通信制御装置130とは、ニューロンチップ38,22a,22b,・・・の代わりに、イーサネット(登録商標)プロトコルに対応したネットワークインターフェース52,131,121a,121b,・・・を備えている点で第1実施形態と異なっている。
【0062】
通信制御装置130の通信状態検出部32がイーサネット(登録商標)110の帯域幅使用率を見ながら、通信制御装置130の送信間隔変更部31が機器群120(120a,120b,・・・)からの周期送信の送信間隔を変更する点も第1実施形態と同様である。したがって、このような通信制御システム100によっても、機器群120(120a,120b,・・・)からの周期送信の送信間隔が最適に設定される。
【0063】
<第2実施形態の変形例>
(A)イーサネット(登録商標)110は、トークンリング・トークンバス・FDDI(Fiber Distributed Data Interface)・TDMA(Time Division Multiple Access)・ATM(Asynchronous Transfer Mode)など他の方式の集中制御ネットワークであってもよい。
(B)図6に示す管理制御装置50が送信間隔記憶部51を備えずに、機器群120(120a,120b,・・・)が送信間隔記憶部群51(51a,51b,・・・)を備えてもよい。
【0064】
【発明の効果】
請求項1に係る通信制御装置では、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項2に係る通信制御装置では、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
【0065】
請求項3に係る通信制御装置では、周期送信の間隔の変更量とネットワークの通信状態の変化量との相関関係を学習することができるので、周期送信の間隔を最適に設定することができる。
請求項4に係る通信制御装置では、ネットワークの許容される通信状態を容易に設定することができる。
【0066】
請求項5に係る通信制御装置では、周期送信の間隔が最適に設定されたか否かを容易に確認することができる。
請求項6に係る通信制御装置では、ネットワークの通信状態が目標値に近づいたか否かを容易に判断することができる。
請求項7に係る通信制御装置では、ネットワークの帯域幅使用率又はコリジョン発生率を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
【0067】
請求項8に係る通信制御装置では、分散制御ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項9に係る通信制御装置では、集中制御ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
【0068】
請求項10に係る通信制御システムでは、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
請求項11に係る通信制御システムでは、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
【0069】
請求項12に係る通信制御方法では、ネットワークの通信状態を見ながら周期送信の間隔を変更することができるので、周期送信の間隔を最適に設定することができる。
【図面の簡単な説明】
【図1】本発明の第1実施形態による通信制御システム1の構成図。
【図2】通信制御システム1がLonWorks(登録商標)ネットワーク10の帯域幅使用率を調整する処理の流れを示すフローチャート。
【図3】通信制御システム1において情報が送受信される動作を示す概念図。
【図4】通信制御システム1におけるLonWorks(登録商標)ネットワーク10の帯域幅使用率とハートビートCP値のLonWorks(登録商標)ノード群20(20a,20b,・・・)についての平均値との相関図。
【図5】通信制御システム1におけるLonWorks(登録商標)ネットワーク10のコリジョン発生率とハートビートCP値のLonWorks(登録商標)ノード群20(20a,20b,・・・)についての平均値との相関図。
【図6】本発明の第2実施形態による通信制御システム100の構成図。
【符号の説明】
1,100 通信制御システム
10 LonWorks(登録商標)ネットワーク
20 LonWorks(登録商標)ノード群
30,130 通信制御装置
50 管理制御装置
110 イーサネット(登録商標)
120 機器群
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a communication control device, a communication control system, and a communication control method.
[0002]
[Prior art]
Communication modes in a network include data-driven transmission in which transmission is performed when data changes, and periodic transmission in which transmission is performed periodically. This periodic transmission may be used, for example, when detecting a connection state between devices connected by a network (for example, see Patent Document 1). In addition, the periodic transmission may be used when a failed device is detected (for example, see Patent Literature 2). In other words, the periodic transmission may be used for a data item or the like that is desired to be managed and controlled in real time.
[0003]
Generally, if the interval of the periodic transmission is reduced, the communication state of the network is deteriorated, but the real-time property of the periodically transmitted data tends to be improved. Increasing the interval between periodic transmissions improves the communication state of the network, but tends to deteriorate the real-time property of the periodically transmitted data. That is, there is a trade-off between the real-time property of periodically transmitted data and the communication state of the network. However, the relationship between the two is not a linear relationship, and the communication state of the network tends to rapidly deteriorate from a certain point when the interval between periodic transmissions is shortened.
[0004]
Conventionally, such a periodical transmission interval is set by a network administrator or a system builder (System Integrator) based on his / her own experience (for example, see Non-Patent Document 1).
[0005]
[Patent Document 1]
JP-A-2000-67022 (Section 11-12, FIG. 12)
[0006]
[Patent Document 2]
JP-A-10-78944 (Section 5-6, FIG. 3)
[0007]
[Non-patent document 1]
"Equipment and Management June Supplement LonWorks (registered trademark) Network System Introduction Guide," Ohmsha Publishing, June 10, 2002, p. 60
[0008]
[Problems to be solved by the invention]
However, in the related art, the interval between the periodic transmissions is sometimes set so that a certain margin is provided for the state immediately before the communication state of the network rapidly deteriorates. For this reason, the real-time property of the periodically transmitted data is sacrificed, and the interval of the periodic transmission may not be set optimally.
[0009]
Therefore, an object of the present invention is to provide a communication control device, a communication control system, and a communication control method that can optimally set an interval between periodic transmissions.
[0010]
[Means for Solving the Problems]
A communication control device according to a first aspect is a communication control device connected to a plurality of devices via a network, and includes a transmission interval change unit, a communication state detection unit, and a communication state determination unit. The transmission interval changing unit changes the interval of the periodic transmission. Periodic transmission is transmission that is periodically performed from at least one or more devices among a plurality of devices. The communication state detection unit detects a communication state of the network after the interval of the periodic transmission is changed by the transmission interval changing unit. The communication state determination unit determines a communication state of the network based on a result detected by the communication state detection unit.
[0011]
In this communication control device, the transmission interval changing unit changes the interval of the periodic transmission. The communication state detection unit detects a communication state of the network after the interval of the periodic transmission is changed by the transmission interval changing unit. The communication state determination unit can acquire a target value related to the communication state of the network. The communication state determination unit obtains information on the communication state of the network from the communication state detection unit, compares the communication state of the network with a target value, and determines whether the communication state of the network has approached the target value. .
[0012]
Therefore, the interval of the periodic transmission can be changed while checking the communication state of the network, so that the interval of the periodic transmission can be set optimally.
The communication state includes, for example, a bandwidth usage rate, a collision occurrence rate, a bad data occurrence rate, a discard occurrence rate, an average delay time, and the like.
A communication control device according to a second aspect is the communication control device according to the first aspect, further comprising a transmission interval determination unit. The transmission interval determination unit determines whether to change the periodic transmission interval based on the result determined by the communication state determination unit.
[0013]
In this communication control device, the transmission interval determination unit acquires from the communication state determination unit whether the communication state of the network has approached the target value. When the communication state determining unit determines that the communication state of the network has approached the target value, the transmission interval determining unit determines that the interval of the periodic transmission should not be changed. When the communication state determination unit determines that the communication state of the network is not approaching the target value, the transmission interval determination unit determines that the periodical transmission interval should be changed. The transmission interval changing unit does not change the interval of the periodic transmission when the transmission interval determining unit determines that the interval of the periodic transmission should not be changed. The transmission interval changing unit changes the interval of the periodic transmission when the transmission interval determining unit determines that the interval of the periodic transmission should be changed.
[0014]
Therefore, the interval of the periodic transmission can be changed while checking the communication state of the network, so that the interval of the periodic transmission can be set optimally.
A communication control device according to a third aspect is the communication control device according to the second aspect, further comprising a correlation storage unit. The correlation storage unit stores a correlation between the change amount of the periodic transmission interval and the change amount of the communication state of the network based on the result changed by the transmission interval change unit and the result detected by the communication state detection unit. The transmission interval determination unit determines the amount to change the interval of the periodic transmission by referring to the correlation storage unit based on the result determined by the communication state determination unit.
[0015]
In this communication control device, the correlation storage unit acquires information on the communication state of the network from the communication state detection unit, acquires information on the amount of change in the interval of the periodic transmission from the transmission interval changing unit, and acquires the information on the interval of the periodic transmission. The correlation between the change amount and the change amount of the communication state of the network is stored. The transmission interval determination unit obtains information on the communication state of the network from the communication state detection unit, calculates a difference between the target value and the communication state of the network, and calculates a change amount of the periodic transmission interval and a change amount of the network communication state. Is obtained from the correlation storage unit, and the amount to change the periodical transmission interval is determined. The transmission interval changing unit obtains the amount of the periodical transmission interval to be changed from the transmission interval determination unit, and changes the periodical transmission interval.
[0016]
Therefore, it is possible to learn the correlation between the change amount of the periodic transmission interval and the change amount of the communication state of the network, so that the periodic transmission interval can be set optimally.
A communication control device according to a fourth aspect is the communication control device according to any one of the first to third aspects, further comprising a target value input unit. The target value input section inputs a target value.
[0017]
In this communication control device, the target value input section inputs a target value. The communication state determination unit acquires the target value from the target value input unit, and acquires information on the communication state of the network from the communication state detection unit. The communication state determination unit compares the communication state of the network with the target value, and determines whether the communication state of the network has approached the target value.
[0018]
Therefore, the allowable communication state of the network can be easily set.
The target value input unit may receive a preset target value, may receive a target value from an input device such as a keyboard, or may set a target value set in a location different from the communication control device. May be obtained via a network.
[0019]
A communication control device according to a fifth aspect is the communication control device according to any one of the first to fourth aspects, further comprising a determination result output unit. The determination result output unit outputs a result determined by the communication state determination unit.
In this communication control device, the determination result output unit acquires from the communication state determination unit whether the communication state of the network has approached the target value, and outputs the result determined by the communication state determination unit.
[0020]
Therefore, it can be easily confirmed whether or not the interval of the periodic transmission has been optimally set.
The method output by the determination result output unit includes not only a method of displaying on a display screen but also a method of printing by a printing device.
A communication control device according to a sixth aspect is the communication control device according to any one of the fourth and fifth aspects, wherein the communication state determination unit determines that the communication state of the network is within a certain range with respect to the target value. In this case, it is determined that the communication state of the network has approached the target value.
[0021]
In this communication control device, the communication state determination unit can obtain a target value related to the communication state of the network. The communication state determination unit acquires information on the communication state of the network from the communication state detection unit, and compares the communication state of the network with a target value. When the communication state of the network falls within a certain range with respect to the target value, that is, when the absolute value of the difference between the communication state of the network and the target value falls below a certain value, the communication state determination unit It is determined that the communication state has approached the target value.
[0022]
Therefore, it can be easily determined whether or not the communication state of the network has approached the target value.
A communication control device according to claim 7 is the communication control device according to any one of claims 1 to 6, wherein the communication state is a bandwidth usage rate or a collision occurrence rate.
In this communication control device, the communication state is a bandwidth usage rate or a collision occurrence rate. The transmission interval changing unit changes the interval of the periodic transmission. The communication state detection unit detects a bandwidth usage rate or a collision occurrence rate of the network after the transmission interval changing unit changes the interval of the periodic transmission. The communication state determination unit can obtain a target value related to the bandwidth usage rate or the collision occurrence rate of the network. The communication state determination unit obtains information on the network bandwidth usage rate or collision occurrence rate from the communication state detection unit, compares the network bandwidth usage rate or collision occurrence rate with a target value, and It is determined whether the usage rate or the collision occurrence rate has approached the target value.
[0023]
Therefore, the interval of the periodic transmission can be changed while observing the bandwidth usage rate or the collision occurrence rate of the network, so that the interval of the periodic transmission can be set optimally.
The communication control device according to claim 8 is the communication control device according to any one of claims 1 to 7, wherein the network is a distributed control network. The transmission interval changing unit changes a periodic transmission interval set in a plurality of devices.
[0024]
Here, the network is a distributed control network. Periodic transmission intervals are set in a plurality of devices. The transmission interval changing unit can change the interval of the periodic transmission by instructing a plurality of devices via the distributed control network. The communication state detecting unit detects a communication state of the distributed control network after the interval of the periodic transmission is changed by the transmission interval changing unit. The communication state determination unit can acquire a target value related to the communication state of the network. The communication state determination unit obtains information on the communication state of the distributed control network from the communication state detection unit, compares the communication state of the distributed control network with a target value, and determines whether the communication state of the distributed control network has approached the target value. A determination is made as to whether or not it is.
[0025]
Therefore, the interval of the periodic transmission can be changed while observing the communication state of the distributed control network, so that the interval of the periodic transmission can be set optimally.
A communication control device according to a ninth aspect is the communication control device according to any one of the first to seventh aspects, wherein the network is a centralized control network. The transmission interval changing unit changes a periodic transmission interval set in the management control device or the plurality of devices. The management control device centrally manages and controls a plurality of devices.
[0026]
Here, the network is a centralized control network. The interval of the periodic transmission is set in the management control device or a plurality of devices. The transmission interval changing unit can change the interval of the periodic transmission by instructing the management control device or the plurality of devices via the central control network. The communication state detection unit detects a communication state of the centralized control network after the interval of the periodic transmission is changed by the transmission interval changing unit. The communication state determination unit can acquire a target value related to the communication state of the network. The communication state determination unit obtains information on the communication state of the centralized control network from the communication state detection unit, compares the communication state of the centralized control network with a target value, and determines whether the communication state of the centralized control network has approached the target value. A determination is made as to whether or not it is.
[0027]
Therefore, the interval of periodic transmission can be changed while observing the communication state of the central control network, so that the interval of periodic transmission can be set optimally.
A communication control system according to a tenth aspect includes a plurality of devices, the communication control device according to the first to eighth aspects, and a network. The network connects a plurality of devices and the communication control device.
[0028]
In this communication control system, intervals of periodic transmission are set in a plurality of devices. The transmission interval changing unit can change the interval of periodic transmission by instructing a plurality of devices via a network. The communication state detection unit detects a communication state of the network after the interval of the periodic transmission is changed by the transmission interval changing unit. The communication state determination unit can acquire a target value related to the communication state of the network. The communication state determination unit obtains information on the communication state of the network from the communication state detection unit, compares the communication state of the network with a target value, and determines whether the communication state of the network has approached the target value. .
[0029]
Therefore, the interval of the periodic transmission can be changed while checking the communication state of the network, so that the interval of the periodic transmission can be set optimally.
A communication control system according to claim 11 includes a plurality of devices, a management control device, any one of claims 1 to 7 or the communication control device according to claim 9, and a network. The management control device centrally manages and controls a plurality of devices. The network connects a plurality of devices, the management control device, and the communication control device.
[0030]
In this communication control system, the interval of periodic transmission is set in the management control device or a plurality of devices. The transmission interval changing unit can change the interval of the periodic transmission by instructing the management control device or the plurality of devices via the network. The communication state detection unit detects a communication state of the network after the interval of the periodic transmission is changed by the transmission interval changing unit. The communication state determination unit can acquire a target value related to the communication state of the network. The communication state determination unit obtains information on the communication state of the network from the communication state detection unit, compares the communication state of the network with a target value, and determines whether the communication state of the network has approached the target value. .
[0031]
Therefore, the interval of the periodic transmission can be changed while checking the communication state of the network, so that the interval of the periodic transmission can be set optimally.
A communication control method according to a twelfth aspect is a communication control method for a network to which a plurality of devices are connected, and includes a transmission interval changing step, a communication state detecting step, and a communication state determining step. In the transmission interval changing step, the interval of the periodic transmission is changed. Periodic transmission is transmission that is periodically performed from at least one or more devices among a plurality of devices. In the communication state detecting step, the communication state of the network after the interval of the periodic transmission is changed in the transmission interval changing step is detected. In the communication state determination step, the network communication state is determined based on the result detected in the communication state detection step.
[0032]
In this communication control method, in the transmission interval changing step, the interval of the periodic transmission is changed. In the communication state detecting step, the communication state of the network after the periodic transmission interval is changed in the transmission interval changing step is detected. In the communication state determination step, a target value related to the communication state of the network can be obtained. In the communication state determination step, information on the communication state of the network is obtained, the communication state of the network is compared with a target value, and it is determined whether the communication state of the network has approached the target value.
[0033]
Therefore, the interval of the periodic transmission can be changed while checking the communication state of the network, so that the interval of the periodic transmission can be set optimally.
The communication state includes, for example, a bandwidth usage rate, a collision occurrence rate, a bad data occurrence rate, a discard occurrence rate, an average delay time, and the like.
[0034]
BEST MODE FOR CARRYING OUT THE INVENTION
[First Embodiment]
FIG. 1 shows a configuration diagram of a communication control system 1 according to the first embodiment of the present invention. The communication control system 1 employs LonWorks (registered trademark) technology.
[0035]
<Overall Configuration of Communication Control System 1>
The communication control system 1 shown in FIG. 1 mainly includes a LonWorks (registered trademark) network 10, a LonWorks (registered trademark) node group 20 (20a, 20b,...), And a communication control device 30. Here, the LonWorks (registered trademark) network is a network that employs LonWorks (registered trademark) technology. A LonWorks (registered trademark) node is a device connected to a LonWorks (registered trademark) network. The communication state adjusting device 30 is also a kind of LonWorks (registered trademark) node, but the name is changed to distinguish it from the LonWorks (registered trademark) node group 20 (20a, 20b, ...).
[0036]
The LonWorks (registered trademark) node group 20 (20a, 20b,...) And the communication control device 30 are connected by a LonWorks (registered trademark) network 10.
<Configuration of Communication Control Device 30>
The communication state adjusting device 30 shown in FIG. 1 mainly includes a transmission interval changing unit 31, a communication state detecting unit 32, a communication state determining unit 33, a transmission interval determining unit 34, a target value input unit 35, and a neuron chip 38. Here, the neuron chip is a network IC employing the LonWorks (registered trademark) technology. The neuron chip performs communication according to the LonTalk (registered trademark) protocol.
[0037]
The target value input unit 35 receives an input of a target value of the bandwidth usage rate. The transmission interval changing unit 31 accesses the LonWorks (registered trademark) node group 20 (20a, 20b,...) Via the LonWorks (registered trademark) network 10 so that the LonWorks (registered trademark) node group 20 (20a). , 20b,...), The value of a configuration property (hereinafter, referred to as a heartbeat CP value) of a time interval at which a transmission periodically performed (hereinafter, referred to as a heartbeat transmission) is transmitted. . Here, the configuration property defines a set value and a control parameter of the LonWorks (registered trademark) node group 20 (20a, 20b,...). When the heartbeat transmission from the LonWorks (registered trademark) node group 20 (20a, 20b,...) Via the LonWorks (registered trademark) network 10 is performed for a fixed time at the transmission interval of the changed heartbeat CP value, the LonWorks The bandwidth usage rate in the (registered trademark) network 10 is detected by the communication state detection unit 32. The communication state determination unit 33 receives the information on the bandwidth usage from the communication state detection unit 32, receives the information on the target value of the bandwidth usage from the target value input unit 35, and compares the bandwidth usage with the target value. To determine whether the bandwidth usage rate in the LonWorks (registered trademark) network 10 shown in FIG. 1 has approached a target value. The transmission interval determination unit 34 receives the information of the determination from the communication state determination unit 33, and determines whether to change the heartbeat CP value.
[0038]
<Configuration of LonWorks (registered trademark) node 20a>
The LonWorks (registered trademark) node 20a illustrated in FIG. 1 mainly includes a transmission interval storage unit 21a and a neuron chip 22a.
The other LonWorks (registered trademark) nodes 20b,... Have the same configuration.
[0039]
<Configuration of LonWorks (registered trademark) network 10>
As shown in FIG. 1, a LonWorks (registered trademark) network 10 connects a LonWorks (registered trademark) node group 20 (20a, 20b,...) And a communication control device 30.
In the LonWorks (registered trademark) network 10 shown in FIG. 1, information is transmitted and received mainly through network variables (output NVe, output NVf,..., Input NVg, input NVh,...) Shown in FIG. . Here, the network variable is a variable that mediates when information is transmitted and received in accordance with the LonTalk (registered trademark) protocol. That is, when the information to be transmitted is substituted for the output network variable in the LonWorks (registered trademark) node on the transmitting side, the information is received in the bound input network variable in the LonWorks (registered trademark) node on the receiving side. You. In other words, network variables are containers for transmitting information. In communication of information via a network variable in a LonWorks (registered trademark) network, unlike in Ethernet (registered trademark), a destination address is not specified when transmitting and receiving information. This is because the destination address is set in the output network variables (output NVe, output NVf,...) By the binding performed in advance.
[0040]
<Flow of processing in which communication control system 1 adjusts the bandwidth usage rate of LonWorks (registered trademark) network 10>
The flow of processing in which the communication control system 1 shown in FIG. 1 adjusts the bandwidth usage rate of the LonWorks (registered trademark) network 10 will be described with reference to the flowchart shown in FIG.
[0041]
In step S1 shown in FIG. 2, the target value of the bandwidth usage rate is input to the target value input unit 35 of the communication control device 30 shown in FIG. 1, and the information of the target value of the bandwidth usage rate is transmitted to the communication control shown in FIG. It is passed from the target value input unit 35 of the device 30 to the communication state determination unit 33. It is desirable to use the value immediately before the network is saturated as the target value of the bandwidth usage rate. Since the bandwidth utilization value at which the network is saturated is empirically said to be 70%, the target value may be set to 60%. In step S2 shown in FIG. 2, the communication state detection unit 32 of the communication control device 30 shown in FIG. 1 detects the bandwidth usage rate of the LonWorks (registered trademark) network 10, and thereby the LonWorks (registered trademark) node group 20 ( 20a, 20b,...) Are detected, and information on the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is passed from the communication state detection unit 32 to the transmission interval determination unit. In step S3 shown in FIG. 2, the address of the LonWorks (registered trademark) node group 20 (20a, 20b,...) And the identifier of the configuration property (NCa, NCb,...) Shown in FIG. Then, the value read command (fetch request) is transmitted as a request packet, whereby the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. The value of the configuration property (NCa, NCb,...) Shown in FIG. 3 is returned as a reply packet, and the heartbeat CP of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. The value is received by the communication control device 30, and the transmission interval determination unit 3 of the communication control device 30 It is passed to. Thereby, the transmission interval determination unit 34 of the communication control device 30 detects the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...). In step S4 shown in FIG. 2, the bandwidth usage rate of the LonWorks (registered trademark) network 10 is detected by the communication state detection unit 32 of the communication control device 30 shown in FIG. 1, and the bandwidth usage of the LonWorks (registered trademark) network 10 is determined. The information on the rate is passed to the communication state determination unit 33 of the communication control device 30. In step S5 shown in FIG. 2, the communication state determination unit 33 of the communication control device 30 shown in FIG.
(Target value of bandwidth usage rate) − (Actual bandwidth usage rate) = (Difference from target value) (Equation 1)
Is calculated. Here, the target value of the bandwidth usage rate is the LonWorks (registered trademark) network passed from the target value input unit 35 of the communication control device 30 shown in FIG. 1 to the communication state determination unit 33 in step S1 shown in FIG. 10 is information on a target value of the bandwidth usage rate in the tenth embodiment. The actual bandwidth usage rate is determined by the bandwidth in the LonWorks (registered trademark) network 10 passed from the communication state detection unit 32 of the communication control device 30 shown in FIG. 1 to the communication state determination unit 33 in step S5 shown in FIG. This is usage rate information. In step S6 shown in FIG. 2, the communication state determination unit 33 of the communication control device 30 shown in FIG. 1 determines whether the absolute value of the difference from the target value in Expression 1 is equal to or less than a certain value (5% or less). It is determined whether or not the detected bandwidth utilization rate has approached the bandwidth utilization target value. When it is determined that the actual bandwidth usage rate has approached the target value of the bandwidth usage rate, the determination is passed from the communication state determination unit 33 of the communication control device 30 shown in FIG. 1 to the transmission interval determination unit 34, The transmission interval determination unit 34 determines that the heartbeat CP value should not be changed, and the process ends. When it is determined that the actual bandwidth usage rate is not approaching the target value of the bandwidth usage rate, the determination is passed from the communication state determination unit 33 of the communication control device 30 shown in FIG. Then, the transmission interval determination unit 34 determines that the heartbeat CP value should be changed, and the process proceeds to step S7 shown in FIG. In step S7 shown in FIG. 2, information on the difference from the target value in Expression 1 is passed from the communication state determination unit 33 of the communication control device 30 shown in FIG. In the transmission interval determination unit 34, the LonWorks (registered trademark) node to be changed is determined to all the LonWorks (registered trademark) nodes 20a, 20b,..., And the heartbeat CP value to be changed is determined to one second. . In step S8 shown in FIG. 2, information on the LonWorks (registered trademark) node to be changed is passed from the transmission interval determination unit 34 of the communication control device 30 shown in FIG. Is a positive value, the heartbeat CP value of the LonWorks (registered trademark) nodes 20a, 20b,... To be changed is reduced by the heartbeat CP value to be changed, that is, 1 second. If the difference from the target value in Expression 1 is a negative value, the heartbeat CP value of the LonWorks (registered trademark) node 20a, 20b,... To be changed is increased by the heartbeat CP value to be changed, that is, 1 second. .
[0042]
<Operation of transmitting and receiving information in communication control system 1>
The operation of transmitting and receiving information in the communication control system 1 shown in FIG. 1 will be described with reference to the configuration diagram shown in FIG. 1 and the conceptual diagram shown in FIG. In FIG. 3, network variables (output NVe, output NVf,..., Input NVg, input NVh,...) Are indicated by hollow arrows, and the direction of information transmission is indicated by the direction of the arrow. The solid line connecting the network variables (output NVe, output NVf,..., Input NVg, input NVh,...) Does not represent the actual wiring, but the binding between the network variables. Indicates the state.
[0043]
Consider a case where the transmission interval determination unit 34 of the communication control device 30 shown in FIG. 1 detects the heartbeat CP value of the LonWorks (registered trademark) node 20a. The address of the LonWorks (registered trademark) node 20a shown in FIG. 3 and the identifier of the configuration property (NCa) are specified, and a value read command (fetch request) is transmitted as a request packet from the communication control device 30 to the LonWorks (FIG. 1). The heartbeat CP value of the LonWorks (registered trademark) node 20a is inquired by being transmitted via the (registered trademark) network 10, and is received by the LonWorks (registered trademark) node 20a. In the LonWorks (registered trademark) node 20a, the value of the configuration property (NCa) shown in FIG. 3 is read, and the value of the configuration property (NCa) is read from the LonWorks (registered trademark) node 20a as a reply packet to FIG. The heartbeat CP value of the LonWorks (registered trademark) node 20a is received by the communication control device 30 via the LonWorks (registered trademark) network 10 shown in FIG. The received heartbeat CP value is received by the transmission interval determination unit 34 of the communication control device 30. That is, in this case, data transmission / reception is performed without using a network variable.
[0044]
Consider a case where the transmission interval changing unit 31 of the communication control device 30 shown in FIG. 1 changes the heartbeat CP value of the LonWorks (registered trademark) node 20a. The address of the LonWorks (registered trademark) node 20a and the identifier of the configuration property (NCa) shown in FIG. 3 are specified, and the value write command (NvUpdate command) and the heartbeat CP value to be changed are sent from the communication control device 30. A request for changing the heartbeat CP value of the LonWorks (registered trademark) node 20a is issued by being transmitted through the LonWorks (registered trademark) network 10 shown in FIG. 1, and is received by the LonWorks (registered trademark) node 20a. In the LonWorks (registered trademark) node 20a, the transmission interval storage unit 21a illustrated in FIG. 1 is accessed, and the heartbeat CP value of the LonWorks (registered trademark) node 20a is changed by the heartbeat CP value to be changed. That is, also in this case, data transmission / reception is performed without using a network variable.
[0045]
It is assumed that the LonWorks (registered trademark) node 20a shown in FIG. 1 transmits information to the LonWorks (registered trademark) node 20b. Here, in the LonWorks (registered trademark) node 20a, the output network variable (output NVe) is set to be transmitted by heartbeat, and the output network variable (output NVf) is transmitted in a data-driven manner. Is set as follows. In the LonWorks (registered trademark) node 20a, information is substituted into the output network variable (output NVe) at a time interval set for the heartbeat CP value even if there is no change in the state, and the information is stored in the LonWorks (registered trademark). ) Sent to node 20b. On the other hand, when a state change corresponding to the output network variable (output NVf) is made, information is substituted into the output network variable (output NVf), and the information is transmitted to the LonWorks (registered trademark) node 20b. You. The same applies to a case where the LonWorks (registered trademark) node 20b shown in FIG. 1 transmits information to the LonWorks (registered trademark) node 20a. That is, in this case, data transmission / reception is performed via a network variable.
[0046]
<Characteristics of the communication control system 1>
(1)
Here, the transmission interval changing unit 31 of the communication control device 30 shown in FIG. 1 changes the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...). The communication state detection unit 32 of the communication control device 30 detects the bandwidth usage rate of the LonWorks (registered trademark) network 10 after the transmission interval has been changed by the transmission interval changing unit 31. The communication state determination unit 33 of the communication control device 30 acquires the information on the bandwidth usage rate of the LonWorks (registered trademark) network 10 from the communication state detection unit 32, and determines the bandwidth usage rate and the target of the LonWorks (registered trademark) network 10. The value is compared with a value, and it is determined whether or not the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached a target value. The transmission interval determination unit 34 of the communication control device 30 acquires from the communication state determination unit 33 of the communication control device 30 whether the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached the target value. When the communication state determination unit 33 of the communication control device 30 determines that the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached the target value, the transmission interval determination unit 34 of the communication control device 30 determines that the LonWorks (registered trademark). It is determined that the heartbeat CP value of the node group 20 (20a, 20b, ...) should not be changed. When the communication state determination unit 33 of the communication control device 30 determines that the bandwidth usage rate of the LonWorks (registered trademark) network 10 has not approached the target value, the transmission interval determination unit 34 of the communication control device 30 determines whether the LonWorks (registered (Trademark) It is determined that the heartbeat CP value of the node group 20 (20a, 20b, ...) should be changed. The transmission interval change unit 31 of the communication control device 30 determines that the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Should not be changed. Does not change the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...). The transmission interval changing unit 31 of the communication control device 30 determines that the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Should be changed. If the judgment is made, the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is changed.
[0047]
Therefore, the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is changed while observing the bandwidth usage rate of the LonWorks (registered trademark) network 10, and the LonWorks (registered trademark) is changed. The heartbeat CP value of the node group 20 (20a, 20b, ...) is optimally set.
[0048]
(2)
Here, the target value input unit 35 of the communication control device 30 shown in FIG. 1 inputs a target value. The communication status determination unit 33 of the communication control device 30 acquires a target value from the target value input unit of the communication control device 30 and transmits information on the bandwidth usage rate of the LonWorks (registered trademark) network 10 to the communication status of the communication control device 30. Obtained from the detection unit 32. The communication state determination unit 33 of the communication control device 30 compares the bandwidth usage rate of the LonWorks (registered trademark) network 10 with the target value, and the bandwidth usage rate of the LonWorks (registered trademark) network 10 approaches the target value. Is determined.
[0049]
Therefore, the allowable bandwidth usage rate of the LonWorks (registered trademark) network 10 is easily set.
(3)
Here, the communication state determination unit 33 of the communication control device 30 shown in FIG. 1 acquires the information on the bandwidth usage rate of the LonWorks (registered trademark) network 10 from the communication state detection unit 32 of the communication control device 30, and acquires the LonWorks ( The bandwidth usage rate of the registered trademark network 10 is compared with a target value. The communication state determination unit 33 of the communication control device 30 determines that the bandwidth usage rate of the LonWorks (registered trademark) network 10 falls within a certain range with respect to the target value, that is, the difference between the network communication state and the target value. When the absolute value becomes equal to or less than a certain value (5% or less), it is determined that the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached the target value.
[0050]
Therefore, it is easily determined whether or not the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached the target value.
(4)
Here, the LonWorks (registered trademark) network 10 shown in FIG. 1 is a distributed control network. The heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is calculated based on the transmission interval storage units 21a, 21b, and 21 of the LonWorks (registered trademark) node group 20 (20a, 20b,. .. Are set. The transmission interval changing unit 31 of the communication control device 30 transmits the value write command (NvUpdate command) and the heartbeat CP value to be changed via the LonWorks (registered trademark) network 10 so that the LonWorks (registered trademark) node group 20 is transmitted. (20a, 20b,...) Are changed. The communication state detection unit 32 of the communication control device 30 determines whether the transmission interval changing unit 31 of the communication control device 30 has changed the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...). Of the LonWorks (registered trademark) network 10 is detected. The communication state determination unit 33 of the communication control device 30 acquires information on the bandwidth usage rate of the LonWorks (registered trademark) network 10 from the communication state detection unit 32 of the communication control device 30, and acquires the bandwidth of the LonWorks (registered trademark) network 10. A comparison is made between the bandwidth usage rate and the target value to determine whether or not the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached the target value.
[0051]
Therefore, the value write command (NvUpdate command) and the heartbeat CP value to be changed are transmitted via the LonWorks (registered trademark) network 10 while observing the bandwidth usage rate of the LonWorks (registered trademark) network 10, thereby obtaining the LonWorks (registered trademark) network. The heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is optimal because the heartbeat CP value of the node group 20 (20a, 20b,. Is set to
[0052]
<Modification of First Embodiment>
(A) The communication control device 30 illustrated in FIG. 1 may further include a correlation storage unit 37. In this case, when the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 is detected in step S3 shown in FIG. 2, the heartbeat CP value is changed to LonWorks ( The average value of the registered trademark node group 20 (20a, 20b, ...) is stored in the correlation storage unit 37. When the bandwidth utilization rate of the LonWorks (registered trademark) network 10 shown in FIG. 1 is measured in step S <b> 4 shown in FIG. 2, the measured value is stored in the correlation storage unit 37. When the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 is changed in step S8 shown in FIG. 2, the heartbeat CP value is changed to LonWorks (registered trademark). The average value of the node group 20 (20a, 20b,...) Is stored in the correlation storage unit 37.
[0053]
As a result of repeating the routine from step S4 to step S8 shown in FIG. 2, the bandwidth utilization rate of the LonWorks (registered trademark) network 10 and the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. The correlation diagram shown in FIG. 4 with the heartbeat CP value is obtained. That is, as the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 decreases, the bandwidth usage rate of the LonWorks (registered trademark) network 10 increases. However, if the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is smaller than X1 (second) shown in FIG. 4, the bandwidth usage rate of the LonWorks (registered trademark) network 10 is reduced. Hardly increases from Y1 (%). That is, the point P1 corresponds to a state immediately before the LonWorks (registered trademark) network 10 is saturated. From this, the target value Y1 (%) of the bandwidth usage rate of the LonWorks (registered trademark) network 10 is derived.
[0054]
Consider a case where the correlation diagram shown in FIG. 4 is obtained to such an extent that the target value Y1 (%) of the bandwidth usage rate of the LonWorks (registered trademark) network 10 becomes clear. In this case, it is assumed that the bandwidth utilization rate is measured as Y2 (%) in step S4 shown in FIG. Next, the correlation diagram shown in FIG. 4 stored in the correlation storage unit 37 shown in FIG. 1 is referred to in place of the processing in steps S5 and S6. As a result, it is found that the current state of the LonWorks (registered trademark) network 10 corresponds to the point P2. It is derived that the heartbeat CP value corresponding to the point P2 is X2, and the heartbeat CP value to be changed is:
(Current heartbeat CP value) x X1 / X2
= (Heartbeat CP value to be changed) (Equation 2)
Is calculated by the following equation. In step S7 shown in FIG. 2, the LonWorks (registered trademark) node to be changed is determined to be all the LonWorks (registered trademark) nodes 20a, 20b,... Shown in FIG. The value is calculated for each of the LonWorks (registered trademark) nodes 20a, 20b,... Shown in FIG. In step S8 shown in FIG. 2, the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 is changed to the LonWorks (registered trademark) node 20a, 20b,. In this case, only the value calculated by the equation 2 is changed. As a result, the average value of the heartbeat CP value for the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 is X1 (second) shown in FIG. (Second), and the bandwidth utilization rate of the LonWorks (registered trademark) network 10 reaches the target value Y1 (%). Alternatively, in step S8 shown in FIG. 2, instead of changing the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1, the LonWorks (registered trademark) node 20a is changed. , 20b,... May be output as recommended values by the determination result output unit 36 described later. As a result, the number of steps S4 to S8 shown in FIG. 2 can be reduced.
(B) The communication state detection unit 32 of the communication control device 30 illustrated in FIG. 1 detects the collision occurrence rate of the LonWorks (registered trademark) network 10 instead of the bandwidth usage rate of the LonWorks (registered trademark) network 10. Is also good. In this case, instead of the neuron chip 38 shown in FIG. 1, a network interface 38a in which a general-purpose CPU device incorporates a LonTalk (registered trademark) protocol processing program can be used. Since the neuron chip passes data to the application only on normally received packets, if the neuron chip is used in the communication control device 30 which is a third-party LonWorks (registered trademark) node (a node that does not transmit data). This is because it becomes difficult to detect a packet that cannot be received normally, such as a collision. By changing the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) While observing the collision occurrence rate of the LonWorks (registered trademark) network 10, the LonWorks (registered trademark) node group 20 is changed. (20a, 20b,...) Can be optimally set.
[0055]
The communication control device 30 illustrated in FIG. 1 may further include a correlation storage unit 37. In this case, as a result of repeating the routine from step S4 to step S8 shown in FIG. 2, the collision occurrence rate of the LonWorks (registered trademark) network 10 shown in FIG. 1 and the LonWorks (registered trademark) node group 20 (20a, 20b,...) 5) is obtained with the heartbeat CP value of FIG. It is assumed that the result of measuring the collision occurrence rate in step S4 shown in FIG. 2 is Y4 (times / second). Next, instead of the processing in steps S5 and S6 shown in FIG. 2, the correlation diagram shown in FIG. 5 stored in the correlation storage unit 37 shown in FIG. 1 is referred to. As a result, it is found that the current state of the LonWorks (registered trademark) network 10 corresponds to the point P4. It is derived that the heartbeat CP value corresponding to the point P4 is X4 (seconds), and the heartbeat CP value to be changed is
(Current heartbeat CP value) x X3 / X4
= (Heartbeat CP value to be changed) (Equation 3)
Is calculated by the following equation. In step S7 shown in FIG. 2, the LonWorks (registered trademark) nodes to be changed are determined to all the LonWorks (registered trademark) nodes 20a, 20b,... Are calculated for each of the LonWorks (registered trademark) nodes 20a, 20b,. In step S8 shown in FIG. 2, the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 is changed to the LonWorks (registered trademark) node 20a, 20b,. Each of them is changed by the value calculated by Expression 3. As a result, the average value of the heartbeat CP value for the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1 is X3 (second) shown in FIG. (Ps), and the collision occurrence rate of the LonWorks (registered trademark) network 10 becomes the target value Y3 (times / second). Alternatively, in step S8 shown in FIG. 2, instead of changing the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1, the LonWorks (registered trademark) node 20a is changed. , 20b,... May be output as recommended values by a determination result output unit 36 described later. As a result, the number of steps S4 to S8 shown in FIG. 2 can be reduced.
(C) The communication state detection unit 32 of the communication control device 30 shown in FIG. 1 replaces the bandwidth usage rate of the LonWorks (registered trademark) network 10 with the defective data occurrence rate / discard of the LonWorks (registered trademark) network 10. The occurrence rate / average delay time may be detected. In this case, the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) While checking the defective data occurrence rate, discard occurrence rate, average delay time, etc. of the LonWorks (registered trademark) network 10. Can be optimally set for the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...).
(D) The target value input unit 35 of the communication control device 30 illustrated in FIG. 1 may receive a preset target value, may receive a target value from an input device such as a keyboard, or may communicate with the communication control device. A target value set in a location different from 30 may be obtained via the LonWorks (registered trademark) network 10.
[0056]
Further, the target value input unit 35 of the communication control device 30 may receive a changeable range of the heartbeat CP value or whether or not the change is possible. In this case, if a target value outside the changeable range is input to the target value input unit 35, an error occurs and the target value is not accepted. When a target value within the changeable range is input to the target value input unit 35, the target value is accepted. If a target value that cannot be changed is input to the target value input unit 35, an error occurs and the target value is not accepted. When a changeable target value is input to the target value input unit 35, the target value is accepted. Therefore, the target value can be customized according to the user's use conditions and the like.
(E) The communication control device 30 illustrated in FIG. 1 may further include a determination result output unit 36. In this case, the determination result output unit 36 of the communication control device 30 acquires from the communication state determination unit 33 of the communication control device 30 whether the bandwidth usage rate of the LonWorks (registered trademark) network 10 has approached the target value. Then, a result determined by the communication state determination unit 33 of the communication control device 30 is output. Therefore, it is possible to easily confirm whether or not the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Is optimally set.
[0057]
As described above, in step S8 shown in FIG. 2, instead of changing the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1, LonWorks ( The values calculated by Expressions 2 and 3 for the (registered trademark) node group 20 (20a, 20b,...) May be output as recommended values by the determination result output unit 36. In this case, the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Can be changed after confirming whether the amount to be changed is appropriate.
[0058]
Alternatively, a plurality of target values are input to the target value input unit 35 of the communication control device 30 shown in FIG. 1 to change the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...). The power value may be output by the determination result output unit 36 as a recommended value for each target value. In this case, the target value can be selected according to the situation.
[0059]
The method output by the determination result output unit 36 of the communication control device 30 may be a method of displaying on a display screen or a method of printing by a printing device.
(F) In step S2 shown in FIG. 2, instead of detecting the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. 1, the transmission interval determination unit 34 of the communication control device 30 The LonWorks (registered trademark) node group 20 (20a, 20b, ...) may be directly input by the user. In step S3 shown in FIG. 2, instead of detecting the heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) Shown in FIG. The heartbeat CP value of the LonWorks (registered trademark) node group 20 (20a, 20b,...) May be directly input to the user 31. In this case, since the detection process is not required, the structure or the process of the communication control device 30 is simplified.
(G) In step S7 shown in FIG. 2, the method of determining the LonWorks (registered trademark) nodes 20a, 20b,... To be changed is such that the LonWorks (registered trademark) nodes 20a, 20b,. The selected method may be used. Alternatively, a method may be used in which the LonWorks (registered trademark) nodes 20a, 20b,... Are selected in an order such as their address. In this case, since the number of times of changing the heartbeat CP value does not need to be checked, the structure or processing of the transmission interval determination unit 34 is simplified.
[0060]
Alternatively, the following method may be used. In step S7 shown in FIG. 2, information on the difference from the target value in Expression 1 is passed from the communication state determination unit 33 of the communication control device 30 shown in FIG. When the difference from the target value in Expression 1 is a positive value, the transmission interval determination unit 34 determines that the number of times the heartbeat CP value has been changed the least is the LonWorks (registered trademark) nodes 20a, 20b,. , The LonWorks (registered trademark) nodes 20a, 20b,... Having the largest heartbeat CP value are selected, and the LonWorks (registered trademark) nodes 20a, 20b,. Conversely, when the difference from the target value in Equation 1 is a negative value, the LonWorks (registered trademark) nodes 20a, 20b,... Shown in FIG. The LonWorks (registered trademark) nodes 20a, 20b,... Having a small heartbeat CP value are selected, and the LonWorks (registered trademark) nodes 20a, 20b,. In any case, the heartbeat CP value to be changed is determined to be one second. In this case, in step S8 shown in FIG. 2, the information of the difference from the target value in Expression 1 and the information of the LonWorks (registered trademark) node to be changed are transmitted from the transmission interval determination unit 34 of the communication control device 30 shown in FIG. If the difference from the target value in Equation 1 is a positive value, the heartbeat CP value of the heartbeat CP value of the LonWorks (registered trademark) node 20a, 20b,. The beat CP value is reduced by one second, that is, if the difference from the target value in Expression 1 is a negative value, the heart beat CP value of the LonWorks (registered trademark) nodes 20a, 20b,... To be changed should be changed. The heartbeat CP value is increased by one second.
(H) The LonWorks (registered trademark) network 10 may be another distributed control network.
[0061]
[Second embodiment]
FIG. 6 shows a communication control system 100 according to the second embodiment of the present invention. 6, the same components as those of the communication control system 1 of FIG. 1 are denoted by the same reference numerals.
The communication control system 100 has the same basic structure as that of the first embodiment, and a device group 120 (120a, 120b,...) And a communication control device 130 are connected by an Ethernet (registered trademark) 110. This is similar to the first embodiment except that the Ethernet (registered trademark) 110 is a centralized control network. That is, as shown in FIG. 6, the management control device 50 is further connected to the Ethernet (registered trademark) 110, and the transmission interval of the periodic transmission from the device group 120 (120a, 120b,. It differs from the first embodiment in that it is stored in the transmission interval storage unit 51. The management control device 50, the device group 120 (120a, 120b,...), And the communication control device 130 support the Ethernet (registered trademark) protocol instead of the neuron chips 38, 22a, 22b,. Are different from the first embodiment in that the network interfaces 52, 131, 121a, 121b,.
[0062]
While the communication state detecting unit 32 of the communication control device 130 monitors the bandwidth usage rate of the Ethernet (registered trademark) 110, the transmission interval changing unit 31 of the communication control device 130 transmits the data from the device group 120 (120a, 120b,...). The point that the transmission interval of the periodic transmission is changed is the same as in the first embodiment. Therefore, even with such a communication control system 100, the transmission interval of the periodic transmission from the device group 120 (120a, 120b,...) Is optimally set.
[0063]
<Modification of Second Embodiment>
(A) The Ethernet (registered trademark) 110 is a Token Ring Token Bus, FDDI (Fiber Distributed Data Interface), TDMA (Time Division Multiple Access), ATM (Asynchronous Transfer Mode, etc.) Is also good.
(B) The management control device 50 shown in FIG. 6 does not include the transmission interval storage unit 51, and the device group 120 (120a, 120b,...) Has the transmission interval storage unit group 51 (51a, 51b,...). May be provided.
[0064]
【The invention's effect】
In the communication control device according to the first aspect, the interval of the periodic transmission can be changed while checking the communication state of the network, so that the interval of the periodic transmission can be set optimally.
In the communication control device according to the second aspect, the interval of the periodic transmission can be changed while observing the communication state of the network, so that the interval of the periodic transmission can be set optimally.
[0065]
In the communication control device according to the third aspect, since the correlation between the change amount of the interval of the periodic transmission and the change amount of the communication state of the network can be learned, the interval of the periodic transmission can be set optimally.
In the communication control device according to the fourth aspect, the allowable communication state of the network can be easily set.
[0066]
In the communication control device according to the fifth aspect, it is possible to easily confirm whether or not the interval of the periodic transmission is optimally set.
In the communication control device according to the sixth aspect, it is possible to easily determine whether or not the communication state of the network has approached the target value.
In the communication control device according to the seventh aspect, the interval of the periodic transmission can be changed while monitoring the bandwidth usage rate or the collision occurrence rate of the network, so that the interval of the periodic transmission can be set optimally.
[0067]
In the communication control device according to the eighth aspect, the interval of the periodic transmission can be changed while observing the communication state of the distributed control network, so that the interval of the periodic transmission can be set optimally.
In the communication control device according to the ninth aspect, the interval of the periodic transmission can be changed while checking the communication state of the centralized control network, so that the interval of the periodic transmission can be set optimally.
[0068]
In the communication control system according to the tenth aspect, the interval of periodic transmission can be changed while checking the communication state of the network, so that the interval of periodic transmission can be set optimally.
In the communication control system according to the eleventh aspect, the interval of the periodic transmission can be changed while observing the communication state of the network, so that the interval of the periodic transmission can be set optimally.
[0069]
In the communication control method according to the twelfth aspect, the interval of the periodic transmission can be changed while observing the communication state of the network, so that the interval of the periodic transmission can be set optimally.
[Brief description of the drawings]
FIG. 1 is a configuration diagram of a communication control system 1 according to a first embodiment of the present invention.
FIG. 2 is a flowchart illustrating a flow of a process in which the communication control system 1 adjusts a bandwidth usage rate of the LonWorks (registered trademark) network 10;
FIG. 3 is a conceptual diagram showing an operation of transmitting and receiving information in the communication control system 1.
FIG. 4 shows the relationship between the bandwidth usage rate of the LonWorks® network 10 and the average value of the heartbeat CP value of the LonWorks® node group 20 (20a, 20b,...) In the communication control system 1. Correlation diagram.
FIG. 5 shows a correlation between the collision occurrence rate of the LonWorks® network 10 in the communication control system 1 and the average value of the heartbeat CP value for the LonWorks® node group 20 (20a, 20b,...). FIG.
FIG. 6 is a configuration diagram of a communication control system 100 according to a second embodiment of the present invention.
[Explanation of symbols]
1,100 Communication control system
10 LonWorks® Network
20 LonWorks (registered trademark) nodes
30, 130 communication control device
50 Management control device
110 Ethernet (registered trademark)
120 equipment group

Claims (12)

複数の機器(20,120)にネットワーク(10,110)で接続された通信制御装置(30,130)であって、
前記複数の機器(20,120)のうち少なくとも1以上の機器から周期的に行われる送信である周期送信の間隔を変更する送信間隔変更部(31)と、
前記送信間隔変更部(31)により前記周期送信の間隔が変更された後の前記ネットワーク(10,110)の通信状態を検出する通信状態検出部(32)と、
前記通信状態検出部(32)が検出した結果に基づき、前記ネットワーク(10,110)の前記通信状態を判断する通信状態判断部(33)と、
を備えた通信制御装置(30,130)。
A communication control device (30, 130) connected to a plurality of devices (20, 120) via a network (10, 110),
A transmission interval changing unit (31) for changing an interval of a periodic transmission that is a transmission periodically performed from at least one device among the plurality of devices (20, 120);
A communication state detection unit (32) for detecting a communication state of the network (10, 110) after the transmission interval change unit (31) changes the periodical transmission interval;
A communication state determination unit (33) for determining the communication state of the network (10, 110) based on a result detected by the communication state detection unit (32);
A communication control device (30, 130) comprising:
前記通信状態判断部(33)が判断した結果に基づき、前記周期送信の間隔を変更すべきか否かの判断を行う送信間隔判断部(34)をさらに備えた、
請求項1に記載の通信制御装置(30,130)。
A transmission interval determination unit (34) for determining whether to change the periodic transmission interval based on a result determined by the communication state determination unit (33);
The communication control device (30, 130) according to claim 1.
前記送信間隔変更部(31)が変更した結果と前記通信状態検出部(32)が検出した結果とに基づき、前記周期送信の間隔の変更量と前記ネットワーク(10,110)の前記通信状態の変化量との相関関係を記憶する相関関係記憶部(37)をさらに備え、
前記送信間隔判断部(34)は、前記通信状態判断部(33)が判断した結果に基づき、前記相関関係記憶部(37)を参照することにより、前記周期送信の間隔の変更すべき量を決定する、
請求項2に記載の通信制御装置(30,130)。
Based on the result of the change by the transmission interval change unit (31) and the result of the detection by the communication state detection unit (32), the change amount of the interval of the periodic transmission and the communication state of the network (10, 110) are determined. A correlation storage unit (37) for storing a correlation with the amount of change;
The transmission interval determination unit (34) refers to the correlation storage unit (37) based on the result determined by the communication state determination unit (33), and determines the amount by which the periodic transmission interval should be changed. decide,
The communication control device (30, 130) according to claim 2.
前記目標値を入力する目標値入力部(35)をさらに備えた、
請求項1から3のいずれかに記載の通信制御装置(30,130)。
A target value input unit (35) for inputting the target value;
The communication control device (30, 130) according to any one of claims 1 to 3.
前記通信状態判断部(33)が判断した結果を出力する判断結果出力部(36)をさらに備えた、
請求項1から4のいずれかに記載の通信制御装置(30,130)。
A determination result output unit (36) for outputting a result determined by the communication state determination unit (33);
The communication control device (30, 130) according to any one of claims 1 to 4.
前記通信状態判断部(33)は、前記ネットワーク(10,110)の前記通信状態が前記目標値に対して一定の範囲内になった場合は、前記ネットワーク(10,110)の前記通信状態が前記目標値に近づいたと判断する、
請求項4又は5のいずれかに記載の通信制御装置(30,130)。
When the communication state of the network (10, 110) falls within a certain range with respect to the target value, the communication state determination unit (33) changes the communication state of the network (10, 110). Judging that the target value has been approached,
The communication control device (30, 130) according to claim 4 or 5.
前記通信状態は、帯域幅使用率又はコリジョン発生率である、
請求項1から6のいずれかに記載の通信制御装置(30,130)。
The communication state is a bandwidth usage rate or a collision occurrence rate,
The communication control device (30, 130) according to any one of claims 1 to 6.
前記ネットワーク(10,110)は、分散制御ネットワーク(10)であり、
前記送信間隔変更部(31)は、前記複数の機器(20)において設定されている前記周期送信の間隔を変更する、
請求項1から7のいずれかに記載の通信制御装置(30)。
The network (10, 110) is a distributed control network (10);
The transmission interval changing unit (31) changes an interval of the periodic transmission set in the plurality of devices (20);
Communication control device (30) according to any of the preceding claims.
前記ネットワーク(10,110)は、集中制御ネットワーク(110)であり、
前記送信間隔変更部(31)は、前記複数の機器(120)を集中的に管理制御する管理制御装置(50)又は前記複数の機器(120)において設定されている前記周期送信の間隔を変更する、
請求項1から7のいずれかに記載の通信制御装置(130)。
The network (10, 110) is a centralized control network (110);
The transmission interval changing unit (31) changes the interval of the periodic transmission set in the management control device (50) for centrally managing and controlling the plurality of devices (120) or the plurality of devices (120). Do
Communication control device (130) according to any of the preceding claims.
複数の機器(20)と、
請求項1から8に記載の通信制御装置(30)と、
前記複数の機器(20)と前記通信制御装置(30)とを接続するネットワーク(10)と、
を備えた通信制御システム(1)。
A plurality of devices (20);
A communication control device (30) according to claims 1 to 8,
A network (10) for connecting the plurality of devices (20) and the communication control device (30);
A communication control system (1) comprising:
複数の機器(120)と、
前記複数の機器(120)を集中的に管理制御する管理制御装置(50)と、
請求項1から7のいずれか又は請求項9に記載の通信制御装置(130)と、
前記複数の機器(120)と前記管理制御装置(50)と前記通信制御装置(130)とを接続するネットワーク(110)と、
を備えた通信制御システム(100)。
A plurality of devices (120);
A management control device (50) for centrally managing and controlling the plurality of devices (120);
A communication control device (130) according to any one of claims 1 to 7 or claim 9,
A network (110) connecting the plurality of devices (120), the management control device (50), and the communication control device (130);
A communication control system (100) comprising:
複数の機器(20,120)が接続されたネットワーク(10,110)の通信制御方法であって、
前記複数の機器(20,120)のうち少なくとも1以上の機器から周期的に行われる送信である周期送信の間隔が変更される送信間隔変更ステップと、
前記送信間隔変更ステップにおいて前記周期送信の間隔が変更された後の前記ネットワーク(10,110)の通信状態が検出される通信状態検出ステップと、
前記通信状態検出ステップにおいて検出された結果に基づき、前記ネットワーク(10,110)の前記通信状態が判断される通信状態判断ステップと、
を備えた通信制御方法。
A communication control method for a network (10, 110) to which a plurality of devices (20, 120) are connected,
A transmission interval changing step in which an interval of a periodic transmission, which is a transmission periodically performed from at least one of the plurality of devices (20, 120), is changed;
A communication state detecting step of detecting a communication state of the network (10, 110) after the periodic transmission interval is changed in the transmission interval changing step;
A communication state determining step of determining the communication state of the network (10, 110) based on a result detected in the communication state detecting step;
A communication control method comprising:
JP2003162625A 2003-06-06 2003-06-06 Communication controller, communication control system, and communication control method Pending JP2004364168A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003162625A JP2004364168A (en) 2003-06-06 2003-06-06 Communication controller, communication control system, and communication control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003162625A JP2004364168A (en) 2003-06-06 2003-06-06 Communication controller, communication control system, and communication control method

Publications (1)

Publication Number Publication Date
JP2004364168A true JP2004364168A (en) 2004-12-24

Family

ID=34054716

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003162625A Pending JP2004364168A (en) 2003-06-06 2003-06-06 Communication controller, communication control system, and communication control method

Country Status (1)

Country Link
JP (1) JP2004364168A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007251541A (en) * 2006-03-15 2007-09-27 Mitsubishi Electric Corp Connection monitoring device
JP2008294662A (en) * 2007-05-23 2008-12-04 Toyota Motor Corp Communication apparatus and communication system
JP2009176284A (en) * 2007-12-25 2009-08-06 Fuji Xerox Co Ltd File sharing system
JP2010504691A (en) * 2006-09-28 2010-02-12 アルカテル−ルーセント ユーエスエー インコーポレーテッド A method for automatically configuring communication network elements
JP2010182061A (en) * 2009-02-05 2010-08-19 Fujitsu Ltd Software update instruction program, software update instruction method, and information processing device
US8214823B2 (en) 2007-03-30 2012-07-03 Fujitsu Limited Cluster system, process for updating software, service provision node, and computer-readable medium storing service provision program
JP2013207495A (en) * 2012-03-28 2013-10-07 Kddi Corp Line monitoring method and scheme
JP2013247414A (en) * 2012-05-23 2013-12-09 Fujitsu Ltd Communication control device and communication control method
JP2014178799A (en) * 2013-03-14 2014-09-25 Hitachi Ltd Online control system and communication quality detection method
JP2014529828A (en) * 2011-09-02 2014-11-13 トレーディング テクノロジーズ インターナショナル インコーポレイテッド Message stream integrity
CN109162818A (en) * 2018-10-31 2019-01-08 潍柴动力股份有限公司 A kind of control system of engine, control method and engine
WO2020166364A1 (en) * 2019-02-13 2020-08-20 日本電信電話株式会社 Gateway, communication system, and communication method

Cited By (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4680808B2 (en) * 2006-03-15 2011-05-11 三菱電機株式会社 Connection monitoring device
JP2007251541A (en) * 2006-03-15 2007-09-27 Mitsubishi Electric Corp Connection monitoring device
JP2010504691A (en) * 2006-09-28 2010-02-12 アルカテル−ルーセント ユーエスエー インコーポレーテッド A method for automatically configuring communication network elements
US9026575B2 (en) 2006-09-28 2015-05-05 Alcatel Lucent Technique for automatically configuring a communication network element
US8214823B2 (en) 2007-03-30 2012-07-03 Fujitsu Limited Cluster system, process for updating software, service provision node, and computer-readable medium storing service provision program
JP2008294662A (en) * 2007-05-23 2008-12-04 Toyota Motor Corp Communication apparatus and communication system
JP2009176284A (en) * 2007-12-25 2009-08-06 Fuji Xerox Co Ltd File sharing system
US8621054B2 (en) 2009-02-05 2013-12-31 Fujitsu Limited Computer-readable recording medium storing software update command program, software update command method, and information processing device
JP2010182061A (en) * 2009-02-05 2010-08-19 Fujitsu Ltd Software update instruction program, software update instruction method, and information processing device
US10152751B2 (en) 2011-09-02 2018-12-11 Trading Technologies International, Inc. Order feed message stream integrity
JP2014529828A (en) * 2011-09-02 2014-11-13 トレーディング テクノロジーズ インターナショナル インコーポレイテッド Message stream integrity
US9154393B2 (en) 2011-09-02 2015-10-06 Trading Technologies International, Inc. Order feed message stream integrity
US10311518B2 (en) 2011-09-02 2019-06-04 Trading Technologies International, Inc. Order feed message stream integrity
JP2013207495A (en) * 2012-03-28 2013-10-07 Kddi Corp Line monitoring method and scheme
JP2013247414A (en) * 2012-05-23 2013-12-09 Fujitsu Ltd Communication control device and communication control method
US9077625B2 (en) 2012-05-23 2015-07-07 Fujitsu Limited Apparatus and method for controlling a transmission interval of maintenance packets in a communication network
JP2014178799A (en) * 2013-03-14 2014-09-25 Hitachi Ltd Online control system and communication quality detection method
CN109162818A (en) * 2018-10-31 2019-01-08 潍柴动力股份有限公司 A kind of control system of engine, control method and engine
WO2020166364A1 (en) * 2019-02-13 2020-08-20 日本電信電話株式会社 Gateway, communication system, and communication method
JP2020136745A (en) * 2019-02-13 2020-08-31 日本電信電話株式会社 Gateway, communication system, and communication method
JP7271986B2 (en) 2019-02-13 2023-05-12 日本電信電話株式会社 Gateway, communication system and communication method

Similar Documents

Publication Publication Date Title
JP4796668B2 (en) Bus control device
US9614786B2 (en) Dragonfly processor interconnect network
KR101504055B1 (en) Automatic capture of the network delay components
JP2004364168A (en) Communication controller, communication control system, and communication control method
CN101227340B (en) Embedded type network quality detecting device and method and evaluation system and evaluation method thereof
EP2410697A1 (en) Frame transmission and communication network
JP5071165B2 (en) Route multiplexing communication system, communication node, and communication method
US11467566B2 (en) Communication device, communication terminal, communication device and method for operating a communication system for transmitting time-critical data
CN103841015A (en) Network system and routing method
US20220217089A1 (en) Path traffic allocation method, network device, and network system
US7342883B2 (en) Method and apparatus for managing network traffic
CN102047616B (en) Data communication system and data communication device
JP2010045503A (en) Packet transfer system and packet transfer method
EP2852094B1 (en) A system for remotely controlling and/or monitoring power distribution units or sensor units in a data centre
JP2004364169A (en) Network node, network system, and communication state adjustment method
JP4559511B2 (en) Packet transfer system and packet transfer method
US20090201840A1 (en) Wireless networks using a rooted, directed topology
JP4815534B2 (en) Packet delay characteristic measuring apparatus and method
EP2561646A1 (en) Apparatuses and methods for registering transmission capacities in a broadband access network
CN101262421B (en) Relay apparatus and relay method
Hasnaoui et al. An implementation of a proposed modification of CAN protocol on CAN fieldbus controller component for supporting a dynamic priority policy
CN101453422B (en) Network bandwidth allocation method and device
CN106301973B (en) Network detecting method and the controller for using the method
CN108900416A (en) A kind of network communication optimal path acquisition methods based on mathematical model
JP2003304271A (en) Mutual connection device between dissimilar networks