JP2000124926A - Method for measuring load factor of communication and control system using the same - Google Patents

Method for measuring load factor of communication and control system using the same

Info

Publication number
JP2000124926A
JP2000124926A JP10291944A JP29194498A JP2000124926A JP 2000124926 A JP2000124926 A JP 2000124926A JP 10291944 A JP10291944 A JP 10291944A JP 29194498 A JP29194498 A JP 29194498A JP 2000124926 A JP2000124926 A JP 2000124926A
Authority
JP
Japan
Prior art keywords
communication
load factor
request
token
nodes
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP10291944A
Other languages
Japanese (ja)
Other versions
JP3632200B2 (en
Inventor
Hirobumi Takahashi
博文 高橋
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.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP29194498A priority Critical patent/JP3632200B2/en
Publication of JP2000124926A publication Critical patent/JP2000124926A/en
Application granted granted Critical
Publication of JP3632200B2 publication Critical patent/JP3632200B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To contribute to system design by enabling exact measurement of a load factor of communication by performing calculation so as to eliminate a difference in an acquisition time between pieces of information about each of required parameters. SOLUTION: Information about the entire communication network 100a is acquired by a first time I/O request processing, the number of active nodes on the network 100a, the number of vacancies as the discontinuous numbers of node numbers are acquired by continuously performing a second time I/O request processing, a token frequency and the load factor of the communication are calculated by a specified numerical formula and the load factor of the communication, the token frequency, the number of the nodes and the vacancies are displayed on a display means 6 or printed out by a control means 52. The I/O request processings are performed by data transfer between a program of the control means 52 and a communication controller 9 such as an other control node 51 via a communication driver. Thus, the exact load factor of the communication is obtained by eliminating a difference in an acquisition time by calculating the parameters to be required for calculation of the load factor of the communication by two times consecutive I/O request processings.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、トークンバス方式
の通信ネットワークの通信負荷率の測定方法に関し、特
に正確に通信負荷率を測定することが可能な測定方法及
びこれを用いた制御システムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of measuring a communication load factor of a communication network of a token bus system, and more particularly to a measurement method capable of accurately measuring a communication load factor and a control system using the same.

【0002】[0002]

【従来の技術】従来の制御システムのトークンバス方式
の通信ネットワークでは通信の確実性を確保するために
通信ネットワークの通信負荷率を意識したシステム設計
が必要とされる。
2. Description of the Related Art In a conventional communication network of a token bus system of a control system, a system design in consideration of a communication load factor of the communication network is required in order to ensure communication reliability.

【0003】従来の制御システムは制御室等に設置され
た制御操作監視ノードとフィールド等に分散して設置さ
れた制御ノードとから構成される。それぞれのノードは
通信ケーブル等の通信系により相互に接続されていて互
いにデータ通信等を行うことにより制御システムを構成
する。
A conventional control system includes a control operation monitoring node installed in a control room or the like and a control node distributed and installed in a field or the like. The nodes are mutually connected by a communication system such as a communication cable, and form a control system by performing data communication and the like with each other.

【0004】トークンバス方式(IEEE802.4規
格)ではトークン(Token)という特定の信号若しくは
フレームを前記ノード間で巡回させ、このトークンを捕
獲したノードのみが通信ネットワークへのアクセス権を
得て必要な信号若しくはフレームを通信ネットワーク上
に送信するものである。そして、トークンを巡回させる
論理リングを形成することにより物理的形状がバス形で
あっても全てのノードに順次通信ネットワークへのアク
セス権が与えられる。
[0004] In the token bus system (IEEE 802.4 standard), a specific signal or frame called a token is circulated between the nodes, and only the node that has captured the token obtains an access right to the communication network and needs the access right. A signal or a frame is transmitted on a communication network. Then, by forming a logical ring for circulating the token, even if the physical shape is a bus shape, all nodes are sequentially given access to the communication network.

【0005】図6は従来の制御システムの通信ネットワ
ークの一例を示す構成ブロック図である。図6において
1及び2は制御操作監視ノード、3及び4は制御ノー
ド、100は通信ネットワークである。制御操作監視ノ
ード1及び2と制御ノード3及び4はそれぞれ通信ネッ
トワークに100に接続される。
FIG. 6 is a configuration block diagram showing an example of a communication network of a conventional control system. In FIG. 6, 1 and 2 are control operation monitoring nodes, 3 and 4 are control nodes, and 100 is a communication network. The control operation monitoring nodes 1 and 2 and the control nodes 3 and 4 are each connected to a communication network 100.

【0006】ここで、図6に示す制御システムにおける
通信負荷率の従来の測定方法について説明する。通信負
荷率を求めるためには通信ネットワーク100上で稼働
中のノードの数、ノード番号の不連続数(以下、間隙数
と呼ぶ。)及びトークンが各ノードが構成する論理リン
グを何回回転したかを示すトークン周回数等を取得し
て、これらをパラメータとして計算式により算出するこ
とができる。具体的には、制御操作監視ノード1等にお
いて個々にソフトウェアを起動して通信ネットワーク1
00上で稼働中のノード数及び間隙数並びにトークン周
回数を取得していた。
Here, a conventional method of measuring the communication load factor in the control system shown in FIG. 6 will be described. In order to determine the communication load factor, the number of nodes operating on the communication network 100, the number of discontinuous node numbers (hereinafter referred to as the number of gaps), and the number of times the token has rotated the logical ring formed by each node. It is possible to obtain the number of token laps and the like indicating the above, and calculate them by using a formula as a parameter. More specifically, the control operation monitoring node 1 or the like individually starts software and executes the communication network 1
The number of active nodes, the number of gaps, and the number of token rounds were acquired on 00.

【0007】[0007]

【発明が解決しようとする課題】しかし、図6に示すよ
うな従来例では各パラメータ情報は各ノード間の通信等
の個別の処理により取得できるものの、この場合、それ
ぞれ得られた各パラメータ情報間の取得時間の差異によ
り求めた通信負荷率は正確ではないと言った問題点があ
った。
However, in the conventional example as shown in FIG. 6, each parameter information can be obtained by individual processing such as communication between each node. However, there is a problem that the communication load factor obtained by the difference in the acquisition time of the communication is not accurate.

【0008】例えば、通信ネットワーク100上で稼動
しているノード数、間隙数及びトークン周回数は時々刻
々と変化しているのでノード数を得た時点とトークン周
回数を得た時点とで時間的な差異がある場合にはトーク
ン周回数が得られた時点での実際のノード数が得られた
ノード数に一致しない可能性があるので求められた通信
負荷率の正確性が保証されないと言った課題があった。
従って本発明が解決しようとする課題は、正確に通信負
荷率を測定することが可能な測定方法及びこれを用いた
制御システムを実現することにある。
For example, the number of nodes, the number of gaps, and the number of token rotations operating on the communication network 100 change every moment, so that the time when the number of nodes is obtained and the time when the number of token rotations are obtained are temporally different. If there is a significant difference, the actual number of nodes at the time the token circulation number is obtained may not match the obtained number of nodes, so the accuracy of the required communication load factor is not guaranteed. There were challenges.
Therefore, an object of the present invention is to realize a measurement method capable of accurately measuring a communication load factor and a control system using the same.

【0009】[0009]

【課題を解決するための手段】このような課題を達成す
るために、本発明のうち請求項1記載の発明は、トーク
ンバス方式の通信ネットワークの通信負荷率測定方法に
おいて、第1のI/O要求処理を行い前記通信ネットワ
ーク全体の情報を取得し、つづいて第2のI/O要求処
理を行い前記通信ネットワークのアクセス権を有するノ
ードの情報を取得しておいて、前記通信ネットワーク全
体の情報から稼動中のノード数及び間隙数を求め、前記
通信ネットワークのアクセス権を有するノードの情報か
らトークン周回数を求めると共に先に求めた前記ノード
数及び前記間隙数から通信負荷率を計算し、求めた前記
通信負荷率、前記トークン周回数、前記ノード数及び前
記間隙数を表示することにより、それぞれ得られた各パ
ラメータ情報間の取得時間の差異がなくなるので正確に
通信負荷率を測定することが可能になる。
In order to achieve the above object, according to a first aspect of the present invention, there is provided a method for measuring a communication load factor of a communication network of a token bus system, comprising the steps of: An O request process is performed to obtain information on the entire communication network, and a second I / O request process is performed to obtain information on a node having an access right to the communication network. Determine the number of active nodes and gaps from the information, calculate the number of token rounds from the information of the node having the access right of the communication network and calculate the communication load factor from the number of nodes and the gap determined earlier, By displaying the obtained communication load factor, the token circulation number, the number of nodes, and the number of gaps, each of the obtained parameter information Since differences resulting time runs becomes possible to accurately measure the communication load factor.

【0010】請求項2記載の発明は、請求項1記載の発
明である通信負荷率測定方法において、前記I/O要求
処理が、プログラムが通信ドライバに対してI/O要求
を出し、前記I/O要求を受けた前記通信ドライバは要
求の対象となる通信コントローラの記憶手段にI/O要
求を書き込んでおいて、前記通信コントローラは書き込
まれたI/O要求の内容に基づき必要な処理を行うと共
に記憶手段に処理した結果若しくは要求された値を書き
込んだ後に、前記通信コントローラは前記通信ドライバ
に対して処理の終了を通知するため割り込み信号を送信
し、前記通信ドライバは前記割り込み信号により前記記
憶手段に書き込まれた情報を読み出すと共にこの値をプ
ログラムに戻すことにより、それぞれ得られた各パラメ
ータ情報間の取得時間の差異がなくなるので正確に通信
負荷率を測定することが可能になる。
According to a second aspect of the present invention, in the communication load factor measuring method according to the first aspect, the I / O request processing is such that a program issues an I / O request to a communication driver. Upon receiving the / O request, the communication driver writes the I / O request in the storage unit of the communication controller to be requested, and the communication controller performs necessary processing based on the written I / O request. The communication controller sends an interrupt signal to notify the communication driver of the end of the processing after writing the processing result or the requested value to the storage means, and the communication driver sends the interrupt signal according to the interrupt signal. By reading the information written in the storage means and returning this value to the program, it is possible to obtain between the respective obtained parameter information. Since the difference between is eliminated it is possible to accurately measure the communication load factor.

【0011】請求項3記載の発明は、請求項1記載の発
明である通信負荷率測定方法において、求めた前記通信
負荷率、前記トークン周回数、前記ノード数及び前記間
隙数を印刷することにより、報告書等の作成が容易にな
る。
According to a third aspect of the present invention, in the communication load factor measuring method according to the first aspect of the present invention, the determined communication load factor, the number of token rounds, the number of nodes, and the number of gaps are printed. , Making reports and the like easier.

【0012】請求項4記載の発明は、請求項1記載の発
明である通信負荷率測定方法において、求めた前記通信
負荷率、前記トークン周回数、前記ノード数及び前記間
隙数を周期的に蓄積すると共に蓄積したデータをグラフ
化して表示若しくは印刷することにより、通信負荷率等
のトレンドが分かるのでシステム設計が容易になる。
According to a fourth aspect of the present invention, in the communication load factor measuring method according to the first aspect of the present invention, the determined communication load factor, the token circulation count, the node count, and the gap count are periodically accumulated. In addition, by displaying the accumulated data in a graph and displaying or printing the data, trends such as the communication load factor can be known, thereby facilitating system design.

【0013】請求項5記載の発明は、トークンバス方式
の通信ネットワークの通信負荷率を測定する制御システ
ムにおいて、表示手段と、前記通信ネットワーク全体の
情報を取得する第1のI/O要求処理と前記通信ネット
ワークのアクセス権を有するノードの情報を取得する第
2のI/O要求処理を連続して行い、前記通信ネットワ
ーク全体の情報から稼動中のノード数及び間隙数を求
め、前記通信ネットワークのアクセス権を有するノード
の情報からトークン周回数を求めると共に先に求めた前
記ノード数及び前記間隙数から通信負荷率を計算し、前
記通信負荷率、前記トークン周回数、前記ノード数及び
前記間隙数を前記表示手段に表示する制御手段とを備え
たことにより、それぞれ得られた各パラメータ情報間の
取得時間の差異がなくなるので正確に通信負荷率を測定
することが可能になる。
According to a fifth aspect of the present invention, in a control system for measuring a communication load factor of a token bus communication network, a display means, a first I / O request process for acquiring information of the entire communication network, and A second I / O request process for continuously acquiring information on a node having an access right to the communication network is performed, and the number of active nodes and the number of gaps are obtained from the information of the entire communication network. The number of token rotations is obtained from the information of the node having the access right, and the communication load factor is calculated from the number of nodes and the number of gaps previously obtained, and the communication load factor, the number of token rotations, the number of nodes and the number of gaps are calculated. And control means for displaying the parameter information on the display means, so that there is no difference in the acquisition time between the respective obtained parameter information. It is possible to accurately measure the communication load factor since.

【0014】請求項6記載の発明は、請求項5記載の発
明である制御システムにおいて、前記I/O要求処理
が、プログラムが通信ドライバに対してI/O要求を出
し、前記I/O要求を受けた前記通信ドライバは要求の
対象となる通信コントローラの記憶手段にI/O要求を
書き込んでおいて、前記通信コントローラは書き込まれ
たI/O要求の内容に基づき必要な処理を行うと共に記
憶手段に処理した結果若しくは要求された値を書き込ん
だ後に、前記通信コントローラは前記通信ドライバに対
して処理の終了を通知するため割り込み信号を送信し、
前記通信ドライバは前記割り込み信号により前記記憶手
段に書き込まれた情報を読み出すと共にこの値をプログ
ラムに戻すことにより、それぞれ得られた各パラメータ
情報間の取得時間の差異がなくなるので正確に通信負荷
率を測定することが可能になる。
According to a sixth aspect of the present invention, in the control system according to the fifth aspect, the I / O request processing is such that a program issues an I / O request to a communication driver, and The communication driver that has received the I / O request writes the I / O request to the storage unit of the communication controller to be requested, and the communication controller performs necessary processing based on the written I / O request and stores the I / O request. After writing the processing result or the requested value to the means, the communication controller transmits an interrupt signal to notify the communication driver of the end of the processing,
The communication driver reads out the information written in the storage means by the interrupt signal and returns this value to the program, so that there is no difference in the acquisition time between the respective obtained parameter information. It becomes possible to measure.

【0015】請求項7記載の発明は、請求項5記載の発
明である制御システムにおいて、印刷手段により前記通
信負荷率、前記トークン周回数、前記ノード数及び前記
間隙数を印刷することにより、報告書等の作成が容易に
なる。
According to a seventh aspect of the present invention, in the control system according to the fifth aspect of the present invention, the printing is performed by printing the communication load factor, the token rotation number, the node number, and the gap number by a printing unit. Creation of books and the like becomes easy.

【0016】請求項8記載の発明は、請求項5及び請求
項7記載の発明である制御システムにおいて、前記通信
負荷率、前記トークン周回数、前記ノード数及び前記間
隙数を記憶手段に周期的に蓄積すると共に蓄積したデー
タをグラフ化して前記表示手段に表示若しくは前記印刷
手段で印刷することにより、通信負荷率等のトレンドが
分かるのでシステム設計が容易になる。
According to an eighth aspect of the present invention, in the control system according to the fifth and seventh aspects, the communication load factor, the number of token rounds, the number of nodes, and the number of gaps are periodically stored in storage means. By storing the accumulated data in a graph and displaying the data on the display unit or printing the data on the printing unit, a trend such as a communication load factor can be known, thereby facilitating system design.

【0017】[0017]

【発明の実施の形態】以下本発明を図面を用いて詳細に
説明する。図1は本発明に係る通信負荷率測定方法を用
いた制御システムの一実施例を示す構成ブロック図であ
る。図1において5はCPU等の制御回路、6はCRT
やLCD等の表示手段、7及び9は通信コントローラ、
8及び10は記憶手段,100aは通信ネットワークで
ある。また、5〜8は制御操作監視ノード50を、9〜
10は制御ノード51を、5及び7は制御手段52をそ
れぞれ構成している。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below in detail with reference to the drawings. FIG. 1 is a configuration block diagram showing one embodiment of a control system using the communication load factor measuring method according to the present invention. In FIG. 1, 5 is a control circuit such as a CPU, and 6 is a CRT.
, LCD and other display means, 7 and 9 are communication controllers,
8 and 10 are storage means, and 100a is a communication network. 5 to 8 are control operation monitoring nodes 50, 9 to
10 constitutes a control node 51, and 5 and 7 constitute control means 52, respectively.

【0018】制御回路5の制御信号は表示手段6に接続
され、制御回路5の入出力は通信コントローラ7及び記
憶手段8に相互に接続される。また、通信コントローラ
7の入出力も記憶手段7に相互に接続され、通信コント
ローラの通信入出力は通信ネットワーク100aに接続
される。一方、通信コントローラ9の入出力は記憶手段
10に相互に接続され、通信コントローラ9の通信入出
力は通信ネットワーク100aに接続される。
The control signal of the control circuit 5 is connected to the display means 6, and the input and output of the control circuit 5 are mutually connected to the communication controller 7 and the storage means 8. The input / output of the communication controller 7 is also mutually connected to the storage means 7, and the communication input / output of the communication controller is connected to the communication network 100a. On the other hand, the input / output of the communication controller 9 is mutually connected to the storage means 10, and the communication input / output of the communication controller 9 is connected to the communication network 100a.

【0019】ここで、図1に示す実施例の動作を図2及
び図3を用いて説明する。図2は制御回路5の動作を説
明するフロー図、図3はその時点での通信可能なノード
の情報(以下、ライブリストと呼ぶ。)の一例を示す説
明図である。制御回路5で実行されるアプリケーション
プログラム(以下、単にプログラムと呼ぶ。)は記憶手
段8に格納されており、制御回路5が適宜記憶手段8か
ら読み出して実行する。
The operation of the embodiment shown in FIG. 1 will now be described with reference to FIGS. FIG. 2 is a flowchart for explaining the operation of the control circuit 5, and FIG. 3 is an explanatory diagram showing an example of information of a communicable node at that time (hereinafter, referred to as a live list). An application program (hereinafter, simply referred to as a program) executed by the control circuit 5 is stored in the storage unit 8, and is read out from the storage unit 8 as appropriate and executed.

【0020】図2中”S001”において制御回路5は
第1のI/O要求処理を行い、通信ネットワーク100
a全体の情報を取得する。そして、図2中”S002”
において制御回路5は第2のI/O要求処理を連続して
行い通信ネットワーク100aのアクセス権を有するノ
ードの情報を取得する。
At "S001" in FIG. 2, the control circuit 5 performs a first I / O request process, and
a) Acquire information of the entirety. Then, "S002" in FIG.
In, the control circuit 5 performs the second I / O request processing continuously to acquire information on the node having the access right of the communication network 100a.

【0021】図2中”S003”において制御回路5は
第1のI/O要求処理で取得した通信ネットワーク10
0a全体の情報から通信ネットワーク100a上の稼動
ノード数及び間隙数を求める。
In FIG. 2, in "S003", the control circuit 5 transmits the communication network 10 acquired in the first I / O request processing.
The number of active nodes and the number of gaps on the communication network 100a are determined from the information of the entire network 0a.

【0022】例えば、ライブリストが図3に示す64ビ
ットの値であった場合、LSBから数えて1ビット目、
3ビット目、23ビット目及び24ビット目が”1”に
なっているので、ノード番号1,3,23及び24のノ
ードが通信可能になっていることが分かる。このため、
制御回路5はライブリストの”1”の個数をカウントす
ることにより通信ネットワーク100a上で稼働中のノ
ード数が”4”であることを得る。
For example, if the live list has the 64-bit value shown in FIG. 3, the first bit counted from the LSB,
Since the third bit, the 23rd bit, and the 24th bit are “1”, it can be understood that the nodes of the node numbers 1, 3, 23, and 24 are communicable. For this reason,
The control circuit 5 counts the number of “1” in the live list to obtain that the number of nodes operating on the communication network 100a is “4”.

【0023】一方、間隙数(ノード番号の不連続数)は
ノード番号が連続していない個所の数を示しているの
で、例えば、図3では1ビット目と3ビット目の間、3
ビット目と23ビット目の間及び24ビット目と1ビッ
ト目の間が不連続個所となる。このため、制御回路5は
ライブリストが”0”から”1”に変化する立ち上がり
の個数をカウントすることにより通信ネットワーク10
0aの間隙数が”3”とであることを得る。
On the other hand, the number of gaps (the number of discontinuities in the node numbers) indicates the number of locations where the node numbers are not continuous. For example, in FIG.
A discontinuous portion is between the bit 23 and the bit 23 and between the bit 24 and the bit 1. For this reason, the control circuit 5 counts the number of rises in which the live list changes from “0” to “1”, thereby controlling the communication network 10.
It is obtained that the number of gaps of 0a is “3”.

【0024】そして、図2中”S004”において制御
回路5は第2のI/O要求処理で取得した通信ネットワ
ーク100aのアクセス権を有するノードの情報からト
ークン周回数を求めると共に先に求めたノード数及び間
隙数から通信負荷率を計算する。
Then, in "S004" in FIG. 2, the control circuit 5 obtains the number of token rotations from the information of the node having the access right of the communication network 100a obtained in the second I / O request processing, and also obtains the node obtained earlier. The communication load factor is calculated from the number and the number of gaps.

【0025】ここで、1分間のトークン周回数を”N
t”、ノード数を”Nn”、間隙数を”Ns”、通信負
荷率を”Rload”とすれば、 Rload=(1−0.001×((Nt/60) ×(0.0292×Nn +0.0104×Ns +0.011)))×100 (1) という経験式により導かれる。
Here, the number of token circulations per minute is "N
t ", the number of nodes is" Nn ", the number of gaps is" Ns ", and the communication load factor is" Rload ": Rload = (1−0.001 × ((Nt / 60) × (0.0292 × Nn) + 0.0104 × Ns + 0.011)) × 100 (1)

【0026】例えば、1分間のトークン周回数を”34
0,000回”として、図3から得られるようにノード
数を”4”及び間隙数を”3”とすれば、 Rload=(1−0.001・((340000/60) ×(0.0292・4 +0.0104・3 +0.011)))・100 =9.9 (2) となり、通信負荷率は”9.9%”になる。
For example, if the number of token rotations per minute is "34"
Assuming that the number of nodes is “4” and the number of gaps is “3” as shown in FIG. 3, Rload = (1−0.001 · ((3400000/60) × (0. 0292 * 4 + 0.0104 * 3 + 0.011))) = 100 = 9.9 (2), and the communication load factor becomes "9.9%".

【0027】さらに、図2中”S005”において制御
回路5は表示手段6を制御して求めた通信負荷率、トー
クン周回数、通信ネットワーク100a上のノード数及
び間隙数を表示させる。最後に、図2中”S006”に
おいて制御回路5は定周期で実行するか否かを判断し
て、もし、定周期実行の場合は図2中”S001”の処
理に戻る。
Further, in "S005" in FIG. 2, the control circuit 5 controls the display means 6 to display the communication load factor, the number of token rotations, the number of nodes on the communication network 100a, and the number of gaps. Finally, in "S006" in FIG. 2, the control circuit 5 determines whether or not to execute the scan at a fixed cycle. If the scan is to be executed at a fixed cycle, the process returns to "S001" in FIG.

【0028】ここで、更に、I/O要求処理に関して図
4及び図5を用いて詳細に説明する。図4はプログラム
と通信ドライバインターフェース(以下、単に通信ドラ
イバと呼ぶ。)の関係を示す説明図、図5はI/O要求
処理の詳細を示すフロー図である。
Here, the I / O request processing will be further described in detail with reference to FIGS. FIG. 4 is an explanatory diagram showing a relationship between a program and a communication driver interface (hereinafter, simply referred to as a communication driver), and FIG. 5 is a flowchart showing details of I / O request processing.

【0029】図4において52及び100aは図1と同
一符号を付してあり、11はプログラム、12は通信ド
ライバである。プログラム11及び通信ドライバ12は
制御手段52上で動作し、プログラム11が通信ドライ
バ12を介して他のノードの通信コントローラとデータ
のやり取りを行う。
In FIG. 4, reference numerals 52 and 100a denote the same reference numerals as in FIG. 1, 11 denotes a program, and 12 denotes a communication driver. The program 11 and the communication driver 12 operate on the control unit 52, and the program 11 exchanges data with the communication controller of another node via the communication driver 12.

【0030】図5中”S101”においてプログラム1
1は通信ドライバ12に対してI/O要求を出す。図5
中”S102”において通信ドライバ12は要求の対象
となる通信コントローラの記憶手段にI/O要求を書き
込む。
In "S101" in FIG.
1 issues an I / O request to the communication driver 12. FIG.
In the middle “S102”, the communication driver 12 writes the I / O request in the storage unit of the communication controller to be requested.

【0031】例えば、通信ネットワーク100aのアク
セス権を有するノードが図1に示す制御ノード51の場
合には、通信ドライバ12は通信コントローラ9を介し
て記憶手段10にI/O要求を書き込む。
For example, when the node having access right to the communication network 100 a is the control node 51 shown in FIG. 1, the communication driver 12 writes an I / O request to the storage unit 10 via the communication controller 9.

【0032】また、例えば、通信ネットワーク100a
のアクセス権を有するノードが図1に示す制御操作監視
ノード50の場合には、通信ドライバ12は通信コント
ローラ7を介して記憶手段8にI/O要求を書き込む。
Further, for example, the communication network 100a
When the node having the access right is the control operation monitoring node 50 shown in FIG. 1, the communication driver 12 writes an I / O request to the storage unit 8 via the communication controller 7.

【0033】そして、図5中”S103”において通信
コントローラは書き込まれたI/O要求の内容に基づき
必要な処理を行い、図5中”S104”において記憶手
段(共有部分)に処理した結果や要求された値等を書き
込むと共に図5中”S105”において通信ドライバ1
2に対して処理の終了を通知するため割り込み信号を送
信する。
Then, in "S103" in FIG. 5, the communication controller performs necessary processing based on the contents of the written I / O request, and in "S104" in FIG. The requested value and the like are written, and the communication driver 1 in "S105" in FIG.
Then, an interrupt signal is transmitted to notify the end of processing.

【0034】例えば、I/O要求がトークン周回数の要
求であった場合、通信コントローラ9は自分が保持して
いるトークン周回数の情報を記憶手段10の共有部分に
書き込むと共に通信ドライバ12に対して割込み信号を
送信する。
For example, if the I / O request is a request for the number of token rotations, the communication controller 9 writes the information of the number of token rotations held by the communication controller 9 in the shared portion of the storage means 10 and sends the information to the communication driver 12. To send an interrupt signal.

【0035】最後に、図5中”S106”において通信
ドライバ12は記憶手段に書き込まれた情報を読み出す
と共にこの値をプログラム11に戻す。例えば、通信ド
ライバ12は通信コントローラ9からの割り込み信号を
受信すると記憶手段10に書き込まれているトークン周
回数を読み出してプログラム11に対して読み出したト
ークン周回数を渡す。
Finally, in "S106" in FIG. 5, the communication driver 12 reads the information written in the storage means and returns this value to the program 11. For example, when receiving the interrupt signal from the communication controller 9, the communication driver 12 reads the token rotation number written in the storage unit 10 and passes the read token rotation number to the program 11.

【0036】この結果、連続した2回のI/O要求処理
により通信ネットワーク100a全体の情報及び通信ネ
ットワーク100aのアクセス権を有するノードの情報
を取得し、これらの情報から通信負荷率の計算に必要な
パラメータであるノード数、間隙数及びトークン周回数
をそれぞれ求めることにより、得られた各パラメータ情
報間の取得時間の差異がなくなるので正確に通信負荷率
を測定することが可能になる。
As a result, the information of the entire communication network 100a and the information of the node having the access right to the communication network 100a are obtained by the continuous two I / O request processings, and the information required for calculating the communication load factor is obtained from the information. By obtaining the number of nodes, the number of gaps, and the number of token rounds, which are important parameters, there is no difference in the acquisition time between the obtained pieces of parameter information, so that the communication load factor can be accurately measured.

【0037】なお、図1に示す実施例の説明に際して制
御回路5は表示手段6を制御して求めた通信負荷率、ト
ークン周回数、通信ネットワーク100a上のノード数
及び間隙数を表示させると記載したが、勿論これに限定
される訳ではなく求めた通信負荷率等をプリンタ等の印
刷手段により印刷したりしても構わない。この場合には
求めた情報が印刷されるので報告書等の作成が容易にな
る。
In the description of the embodiment shown in FIG. 1, the control circuit 5 controls the display means 6 to display the communication load factor, the number of token turns, the number of nodes on the communication network 100a, and the number of gaps. However, it is needless to say that the present invention is not limited to this, and the obtained communication load factor and the like may be printed by a printing unit such as a printer. In this case, since the requested information is printed, it is easy to prepare a report or the like.

【0038】また、連続して周期的に通信負荷率等を求
めて記憶手段8等に蓄積して後にグラフ化してトレンド
グラフ等を表示手段6に表示させたり印刷手段により印
刷しても構わない。この場合には、通信負荷率等のトレ
ンドが分かるのでシステム設計が容易になる。また、既
設のシステムに対して周期的に通信負荷率を測定し、そ
のトレンドを求めることにより、一時的な通信の過負荷
による通信障害の発生の兆候を知ることが可能になる。
Further, the communication load ratio or the like may be continuously and periodically obtained and stored in the storage unit 8 or the like, and then graphed to display a trend graph or the like on the display unit 6 or print it with the printing unit. . In this case, a trend such as a communication load factor can be known, so that the system design becomes easy. In addition, by periodically measuring the communication load factor of the existing system and determining the trend, it is possible to know a sign of occurrence of a communication failure due to a temporary communication overload.

【0039】また、図2に示すフロー図の説明に際して
は図2中”S006”のステップから図2中”S00
1”にステップに即座にジャンプしている、言い換えれ
ば、連続的に通信負荷率等を求めているが、予め設定し
た設定値により待機時間を設けて間欠的に通信負荷率等
を求めても構わない。
In the description of the flowchart shown in FIG. 2, the steps from "S006" in FIG. 2 to "S00" in FIG.
Although the process immediately jumps to the step "1", in other words, the communication load ratio or the like is continuously obtained, the communication load ratio or the like may be intermittently obtained by providing a standby time based on a preset value. I do not care.

【0040】また、説明の簡単のために制御操作監視ノ
ード50では制御回路5と通信コントローラ7を分離し
て説明しているが、1つの制御手段52に2つの機能を
持たせることが可能である。また、記憶手段8に関して
も制御手段52内に有するROMやRAM等の記憶手段
を用いれば記憶手段8は必ずしも必要ではない。
In the control operation monitoring node 50, the control circuit 5 and the communication controller 7 are separated from each other for the sake of simplicity, but one control means 52 may have two functions. is there. The storage unit 8 is not necessarily required if a storage unit such as a ROM or a RAM included in the control unit 52 is used.

【0041】また、説明の簡単のために制御ノード51
では通信コントローラ9と記憶手段10を分離して記載
しているが、通信コントローラ9内に有するRAMやレ
ジスタ等の記憶手段を用いれば記憶手段10は必ずしも
必要ではない。
For simplicity of description, the control node 51
Although the communication controller 9 and the storage unit 10 are described separately in the above, the storage unit 10 is not necessarily required if a storage unit such as a RAM or a register included in the communication controller 9 is used.

【0042】[0042]

【発明の効果】以上説明したことから明らかなように、
本発明によれば次のような効果がある。請求項1,2,
5及び請求項6の発明によれば、連続した2回のI/O
要求処理により通信ネットワーク全体の情報及び通信ネ
ットワークのアクセス権を有するノードの情報を取得
し、これらの情報から通信負荷率の計算に必要なパラメ
ータであるノード数、間隙数及びトークン周回数を求め
ることにより、それぞれ得られた各パラメータ情報間の
取得時間の差異がなくなるので正確に通信負荷率を測定
することが可能になる。
As is apparent from the above description,
According to the present invention, the following effects can be obtained. Claims 1, 2,
According to the fifth and sixth aspects of the present invention, two consecutive I / Os
Obtain information on the entire communication network and information on nodes having access rights to the communication network by request processing, and obtain the number of nodes, the number of gaps, and the number of token rounds, which are parameters required for calculating the communication load factor, from the information. Accordingly, there is no difference in the acquisition time between the respective pieces of obtained parameter information, so that the communication load factor can be accurately measured.

【0043】また、請求項3及び請求項7の発明によれ
ば、求めた通信負荷率、トークン周回数、ノード数及び
間隙数を印刷することにより、報告書等の作成が容易に
なる。
According to the third and seventh aspects of the present invention, by printing the determined communication load factor, token circulation number, node number and gap number, it becomes easy to prepare a report or the like.

【0044】また、請求項4及び請求項8の発明によれ
ば、求めた通信負荷率、トークン周回数、ノード数及び
間隙数を周期的に蓄積すると共に蓄積したデータをグラ
フ化して表示若しくは印刷することにより、通信負荷率
等のトレンドが分かるのでシステム設計が容易になる。
According to the fourth and eighth aspects of the present invention, the obtained communication load factor, token circulation number, node number, and gap number are periodically accumulated, and the accumulated data is graphed for display or printing. By doing so, the trend of the communication load factor and the like can be understood, so that the system design becomes easy.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明に係る通信負荷率測定方法を用いた制御
システムをの一実施例を示す構成ブロック図である。
FIG. 1 is a configuration block diagram showing an embodiment of a control system using a communication load factor measuring method according to the present invention.

【図2】制御回路の動作を説明するフロー図である。FIG. 2 is a flowchart illustrating an operation of a control circuit.

【図3】通信可能なノードの情報の一例を示す説明図で
ある。
FIG. 3 is an explanatory diagram illustrating an example of information of a communicable node;

【図4】プログラムと通信ドライバインターフェースの
関係を示す説明図である。
FIG. 4 is an explanatory diagram showing a relationship between a program and a communication driver interface.

【図5】I/O要求処理の詳細を示すフロー図である。FIG. 5 is a flowchart showing details of an I / O request process.

【図6】従来の制御システムの通信ネットワークの一例
を示す構成ブロック図である。
FIG. 6 is a configuration block diagram illustrating an example of a communication network of a conventional control system.

【符号の説明】[Explanation of symbols]

1,2,50 制御操作監視ノード 3,4,51 制御ノード 5 制御回路 6 表示手段 7,9 通信コントローラ 8,10 記憶手段 11 プログラム 12 通信ドライバ 52 制御手段 100,100a 通信ネットワーク 1,2,50 control operation monitoring node 3,4,51 control node 5 control circuit 6 display means 7,9 communication controller 8,10 storage means 11 program 12 communication driver 52 control means 100,100a communication network

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】トークンバス方式の通信ネットワークの通
信負荷率測定方法において、 第1のI/O要求処理を行い前記通信ネットワーク全体
の情報を取得し、 つづいて第2のI/O要求処理を行い前記通信ネットワ
ークのアクセス権を有するノードの情報を取得しておい
て、 前記通信ネットワーク全体の情報から稼動中のノード数
及び間隙数を求め、 前記通信ネットワークのアクセス権を有するノードの情
報からトークン周回数を求めると共に先に求めた前記ノ
ード数及び前記間隙数から通信負荷率を計算し、 求めた前記通信負荷率、前記トークン周回数、前記ノー
ド数及び前記間隙数を表示することを特徴とする通信負
荷率測定方法。
In a method for measuring a communication load factor of a communication network of a token bus system, a first I / O request process is performed to obtain information of the entire communication network, and then a second I / O request process is performed. The information of the node having the access right of the communication network is obtained, the number of active nodes and the number of gaps are obtained from the information of the entire communication network, and the token is obtained from the information of the node having the access right of the communication network. Calculating the number of laps and calculating a communication load factor from the number of nodes and the number of gaps previously obtained, and displaying the obtained communication load factor, the number of token laps, the number of nodes and the number of gaps. Communication load factor measurement method.
【請求項2】前記I/O要求処理が、 プログラムが通信ドライバに対してI/O要求を出し、 前記I/O要求を受けた前記通信ドライバは要求の対象
となる通信コントローラの記憶手段にI/O要求を書き
込んでおいて、 前記通信コントローラは書き込まれたI/O要求の内容
に基づき必要な処理を行うと共に記憶手段に処理した結
果若しくは要求された値を書き込んだ後に、前記通信コ
ントローラは前記通信ドライバに対して処理の終了を通
知するため割り込み信号を送信し、 前記通信ドライバは前記割り込み信号により前記記憶手
段に書き込まれた情報を読み出すと共にこの値をプログ
ラムに戻すことを特徴とする請求項1記載の通信負荷率
測定方法。
2. The I / O request processing, wherein a program issues an I / O request to a communication driver, and the communication driver receiving the I / O request stores the I / O request in a storage unit of a communication controller to be requested. After writing the I / O request, the communication controller performs necessary processing based on the contents of the written I / O request and writes the processing result or the requested value to the storage unit. Transmits an interrupt signal to notify the communication driver of the end of the process, and the communication driver reads out the information written in the storage means by the interrupt signal and returns this value to the program. The communication load factor measuring method according to claim 1.
【請求項3】求めた前記通信負荷率、前記トークン周回
数、前記ノード数及び前記間隙数を印刷することを特徴
とする請求項1記載の通信負荷率測定方法。
3. The communication load factor measuring method according to claim 1, wherein the determined communication load factor, the token circulation number, the number of nodes, and the number of gaps are printed.
【請求項4】求めた前記通信負荷率、前記トークン周回
数、前記ノード数及び前記間隙数を周期的に蓄積すると
共に蓄積したデータをグラフ化して表示若しくは印刷す
ることを特徴とする請求項1記載の通信負荷率測定方
法。
4. The method according to claim 1, wherein the determined communication load factor, the number of token rounds, the number of nodes, and the number of gaps are periodically accumulated, and the accumulated data is graphed and displayed or printed. The communication load factor measurement method described.
【請求項5】トークンバス方式の通信ネットワークの通
信負荷率を測定する制御システムにおいて、 表示手段と、 前記通信ネットワーク全体の情報を取得する第1のI/
O要求処理と前記通信ネットワークのアクセス権を有す
るノードの情報を取得する第2のI/O要求処理を連続
して行い、前記通信ネットワーク全体の情報から稼動中
のノード数及び間隙数を求め、前記通信ネットワークの
アクセス権を有するノードの情報からトークン周回数を
求めると共に先に求めた前記ノード数及び前記間隙数か
ら通信負荷率を計算し、前記通信負荷率、前記トークン
周回数、前記ノード数及び前記間隙数を前記表示手段に
表示する制御手段とを備えたことを特徴とする制御シス
テム。
5. A control system for measuring a communication load factor of a token bus communication network, comprising: a display unit; and a first I / O for acquiring information on the entire communication network.
O request processing and second I / O request processing for acquiring information on a node having access right to the communication network are continuously performed, and the number of active nodes and the number of gaps are obtained from the information of the entire communication network; Calculate the number of token rotations from the information of the node having the access right of the communication network and calculate the communication load factor from the number of nodes and the number of gaps previously determined, and calculate the communication load factor, the number of token rotations, and the number of nodes. And a control means for displaying the number of gaps on the display means.
【請求項6】前記I/O要求処理が、 プログラムが通信ドライバに対してI/O要求を出し、 前記I/O要求を受けた前記通信ドライバは要求の対象
となる通信コントローラの記憶手段にI/O要求を書き
込んでおいて、 前記通信コントローラは書き込まれたI/O要求の内容
に基づき必要な処理を行うと共に記憶手段に処理した結
果若しくは要求された値を書き込んだ後に、前記通信コ
ントローラは前記通信ドライバに対して処理の終了を通
知するため割り込み信号を送信し、 前記通信ドライバは前記割り込み信号により前記記憶手
段に書き込まれた情報を読み出すと共にこの値をプログ
ラムに戻すことを特徴とする請求項5記載の制御システ
ム。
6. The I / O request processing, wherein the program issues an I / O request to a communication driver, and the communication driver receiving the I / O request stores the I / O request in a storage unit of a communication controller to be requested. After writing the I / O request, the communication controller performs necessary processing based on the contents of the written I / O request and writes the processing result or the requested value to the storage unit. Transmits an interrupt signal to notify the communication driver of the end of the process, and the communication driver reads out the information written in the storage means by the interrupt signal and returns this value to the program. The control system according to claim 5.
【請求項7】印刷手段により前記通信負荷率、前記トー
クン周回数、前記ノード数及び前記間隙数を印刷するこ
とを特徴とする請求項5記載の制御システム。
7. The control system according to claim 5, wherein said communication load factor, said token circulation number, said node number and said gap number are printed by a printing means.
【請求項8】前記通信負荷率、前記トークン周回数、前
記ノード数及び前記間隙数を記憶手段に周期的に蓄積す
ると共に蓄積したデータをグラフ化して前記表示手段に
表示若しくは前記印刷手段で印刷することを特徴とする
請求項5及び請求項7記載の制御システム。
8. The communication load factor, the token rotation number, the number of nodes, and the number of gaps are periodically stored in a storage unit, and the stored data is graphed and displayed on the display unit or printed by the printing unit. The control system according to claim 5, wherein the control is performed.
JP29194498A 1998-10-14 1998-10-14 Communication load factor measuring method and control system using the same Expired - Fee Related JP3632200B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP29194498A JP3632200B2 (en) 1998-10-14 1998-10-14 Communication load factor measuring method and control system using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP29194498A JP3632200B2 (en) 1998-10-14 1998-10-14 Communication load factor measuring method and control system using the same

Publications (2)

Publication Number Publication Date
JP2000124926A true JP2000124926A (en) 2000-04-28
JP3632200B2 JP3632200B2 (en) 2005-03-23

Family

ID=17775490

Family Applications (1)

Application Number Title Priority Date Filing Date
JP29194498A Expired - Fee Related JP3632200B2 (en) 1998-10-14 1998-10-14 Communication load factor measuring method and control system using the same

Country Status (1)

Country Link
JP (1) JP3632200B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162516B2 (en) 2001-03-22 2007-01-09 Minolta Co., Ltd. Information processing apparatus, information distribution apparatus, information processing system, network monitoring apparatus and network monitoring program
US8311043B2 (en) 2003-08-15 2012-11-13 Quintence Properties Kg, Llc Distribution of identifiers in serverless networks

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7162516B2 (en) 2001-03-22 2007-01-09 Minolta Co., Ltd. Information processing apparatus, information distribution apparatus, information processing system, network monitoring apparatus and network monitoring program
US8311043B2 (en) 2003-08-15 2012-11-13 Quintence Properties Kg, Llc Distribution of identifiers in serverless networks

Also Published As

Publication number Publication date
JP3632200B2 (en) 2005-03-23

Similar Documents

Publication Publication Date Title
CN110493744B (en) Data synchronous acquisition method and system of master-slave wireless sensor
US6735653B2 (en) Bus bandwidth consumption profiler
CN108693821A (en) control device, storage medium, control method and control system
JPH03189739A (en) Mechanism for measuring service time of software and hardware components
US11231700B2 (en) Communication system, communication method, and information storage medium
Sachenko et al. Intelligent distributed sensor network
JP2000124926A (en) Method for measuring load factor of communication and control system using the same
US20190229885A1 (en) Computing device and control system
WO2020184035A1 (en) Control system, support device, and program for support device
CN102195805B (en) Communication apparatus and communication method
CN115866154A (en) Time delay measuring method, device and system of vehicle-mounted multi-camera system and automobile
WO2021084771A1 (en) Control system, communication control method of control system, and control device
JP2006343177A (en) Measuring apparatus system
US20210389741A1 (en) Control system and control device
JPH0271190A (en) Method for time calibration of computer system
JP2512119B2 (en) Microprocessor
CN117520131A (en) On-line testing method for communication delay time between cores of multi-core DSP
CN115509849A (en) BMC-based sensor information reading system, method, device and medium
CN115358693A (en) Event publishing method based on time axis and related equipment
KR970011854B1 (en) Relation data processing method of distribution dbms system
JPS61161551A (en) Performance analyzer
JP2005339107A (en) Performance monitor circuit
JPH05334137A (en) Method for collecting system load history
JPH0450616B2 (en)
JP2000201161A (en) Arbitration control circuit

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040908

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20041101

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20041129

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20041212

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080107

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090107

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100107

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110107

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120107

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130107

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140107

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees