JP2804909B2 - Distributed data collection system - Google Patents

Distributed data collection system

Info

Publication number
JP2804909B2
JP2804909B2 JP7254034A JP25403495A JP2804909B2 JP 2804909 B2 JP2804909 B2 JP 2804909B2 JP 7254034 A JP7254034 A JP 7254034A JP 25403495 A JP25403495 A JP 25403495A JP 2804909 B2 JP2804909 B2 JP 2804909B2
Authority
JP
Japan
Prior art keywords
signal
data collection
collection terminal
time
terminal device
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.)
Expired - Fee Related
Application number
JP7254034A
Other languages
Japanese (ja)
Other versions
JPH0997269A (en
Inventor
博 大久保
正幸 難波
義孝 渡辺
政明 今野
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.)
Fujitsu Ltd
JGI Inc
Original Assignee
Fujitsu Ltd
JGI Inc
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 Fujitsu Ltd, JGI Inc filed Critical Fujitsu Ltd
Priority to JP7254034A priority Critical patent/JP2804909B2/en
Publication of JPH0997269A publication Critical patent/JPH0997269A/en
Application granted granted Critical
Publication of JP2804909B2 publication Critical patent/JP2804909B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、各々がアナログ・
データあるいはデジタル・データの発生場所近くに設置
され、その発生データを収集する複数のデータ収集端末
装置を、各データ収集端末装置ごとに中継されるデジタ
ル伝送路(以降、単に伝送路と称する)で中央記録装置
に接続し、各データ収集端末装置が収集したデータを中
央記録装置が収集する、分散型データ収集システムに関
する。
BACKGROUND OF THE INVENTION The present invention relates to an analog
A plurality of data collection terminals installed near the place where data or digital data is generated and collecting the generated data are connected by digital transmission lines (hereinafter simply referred to as transmission lines) relayed for each data collection terminal. The present invention relates to a distributed data collection system that is connected to a central recording device and collects data collected by each data collection terminal device by the central recording device.

【0002】特に、屋外の広範囲の地域に設置され、デ
ータ発生場所が逐次移動していき、これにともない、デ
ータ収集端末装置の設置場所も移動し、中央記録装置に
接続されるデータ収集端末装置の台数も頻繁に変化する
ような分散型データ収集システム、例えば、人工地震を
音源とする音波反射法により地下構造を探査する、デジ
タル・テレメトリ方式の物理探査装置などに関する。
In particular, the data collection terminal is installed in a wide area outdoors and the location of data generation moves sequentially, and accordingly, the installation location of the data collection terminal also moves, and the data collection terminal connected to the central recording device The present invention relates to a distributed data acquisition system in which the number of satellites frequently changes, for example, a digital telemetry type physical exploration device for exploring an underground structure by a sound reflection method using an artificial earthquake as a sound source.

【0003】[0003]

【従来の技術】このような分散型データ収集システムに
おいては、システムの消費電力を削減するために、デー
タ収集端末装置の動作状態を、通常は休止状態(電力消
費が最小限の状態)とし、データ収集に必要なときは稼
働状態にパワーアップする操作が行われる。特に、屋外
の広範囲に設置され、設置場所が移動していくような場
合は、各々のデータ収集端末装置の付近に元から存在す
る電源がなく、個別に設置されたバッテリ等から給電を
受けて稼働するため、消費電力を削減するための操作は
必須である。
2. Description of the Related Art In such a distributed data collection system, in order to reduce the power consumption of the system, the operation state of a data collection terminal device is usually set to a sleep state (a state in which power consumption is minimal). When necessary for data collection, an operation of powering up to an operating state is performed. In particular, when installed in a wide area outdoors and the installation location is moving, there is no power supply originally existing near each data collection terminal device, and power is supplied from a separately installed battery or the like. To operate, operations to reduce power consumption are essential.

【0004】また、設置場所が移動していくような場
合、中央記録装置とデータ収集端末装置との接続関係は
逐次変化していくので、伝送システムとしての結合関係
の初期化の操作も頻繁に行われる。
In addition, when the installation location moves, the connection relationship between the central recording device and the data collection terminal device changes successively, so that the operation of initializing the connection relationship as a transmission system is frequently performed. Done.

【0005】従って、中央記録装置が、データ収集に先
立って、各データ収集端末装置の電源制御、伝送ライン
上のアドレス情報等の初期化および設定、接続確認など
の操作を行い、各データ収集端末装置との結合関係を確
立する手順(以下「システム起動シーケンス」と称す)
が頻繁に実施される。
Therefore, prior to data collection, the central recording device performs operations such as power control of each data collection terminal device, initialization and setting of address information and the like on a transmission line, connection confirmation, and the like. Procedure for establishing a connection relationship with the device (hereinafter referred to as "system startup sequence")
Is frequently implemented.

【0006】システム起動シーケンスは必須ではある
が、システム本来の目的であるデータ収集からすれば余
分の作業であり、中央記録装置は、接続されているデー
タ収集端末装置の台数を迅速かつ確実に把握し、最短時
間で実行完了することが求められている。
Although the system start-up sequence is indispensable, it is an extra operation in terms of data collection, which is the original purpose of the system, and the central recording device quickly and reliably grasps the number of connected data collection terminals. It is required that execution be completed in the shortest time.

【0007】また、データ収集においては、その作業が
伝送路を介した通信により行われることから、その通信
を阻害する諸要因(例えば、電磁波・放電等による伝送
妨害、伝送路の切断、送受信機能の障害、電源異常な
ど)により、作業効率の低下、中断が発生し、多大な
(遅延1日当たり100〜1000万円の)費用が浪費
されることも珍しくない。従って、伝送の障害が発生し
た場合には、恒久障害である場合には速やかに障害箇所
を特定して復旧させることが求められる。また、間欠障
害である場合には、恒久障害の予防、外的障害原因の把
握による耐障害技術向上などのために、作業に与える影
響を最小限にして障害箇所を特定することが求められて
いる。
Further, in data collection, since the work is performed by communication via a transmission line, various factors obstructing the communication (for example, transmission obstruction due to electromagnetic waves / discharge, disconnection of the transmission line, transmission / reception function). It is not uncommon for work efficiency to drop or to be interrupted due to failures, power failures, etc.) and to waste a great deal of money (1 to 10 million yen per day of delay). Therefore, when a transmission failure occurs, it is required to promptly identify and restore the failure location if it is a permanent failure. In the case of intermittent failures, it is necessary to identify the location of the failure with minimum impact on work in order to prevent permanent damage and improve fault-tolerant technology by grasping the causes of external failures. I have.

【0008】1.従来の分散型データ収集システムにお
ける「システム起動シーケンス」の説明
[0008] 1. Explanation of "system startup sequence" in conventional distributed data collection system

【0009】図33は、従来のシステム起動シーケンス
のフローチャートである。始めに、「伝送路初期化」S
1においては、中央記録装置が伝送路下流へ伝送路を初
期化するための信号を送出し、伝送路(上流)からこの
信号を受信したデータ収集端末装置では、この信号を検
出すると、割り付けられた伝送路上のアドレス等をリセ
ットし、伝送路下流へはこの信号を中継・送出する。上
流からの信号がなくなると、以降、上流からの命令信号
を中継しない状態となる。なお「信号がなくなる」と
は、たとえば、上流からの信号パルスでリセットされ、
その後、一定時間間隔で0からカウント・アップしてい
くようなタイマ(カウンタ)のカウント値が所定の値以
上になったことをコンパレータ等で検出することにより
実現される無信号検出機能によって、信号パルスが検出
されなくなることを意味する。
FIG. 33 is a flowchart of a conventional system startup sequence. First, “Transmission path initialization” S
In 1, the central recording device sends a signal for initializing the transmission line to the downstream of the transmission line, and in the data collection terminal device receiving this signal from the transmission line (upstream), when the signal is detected, it is allocated. The address and the like on the transmission path are reset, and this signal is relayed and transmitted to the downstream of the transmission path. When the signal from the upstream disappears, the command signal from the upstream is not relayed thereafter. Note that "signal disappears" means, for example, that the signal is reset by a signal pulse from upstream,
After that, a non-signal detection function realized by detecting with a comparator or the like that the count value of a timer (counter) that counts up from 0 at a certain time interval becomes equal to or more than a predetermined value. It means that the pulse is no longer detected.

【0010】次に、「アドレス・セット」S2〜S6に
おいては、中央記録装置が、始めにアドレス情報Aが1
であるアドレス・セット・コマンドと称する命令信号を
送出し、この命令信号に対する応答信号を正常に受信す
るごとに、アドレス情報Aの値を1づつ増加させて次の
アドレス・セット・コマンドを送出することを繰り返
す。アドレス・セット・コマンドを送出した結果、タイ
ムオーバ(応答信号を中央記録装置が設定する所定の時
間以内に受信できない)であれば、データ収集端末装置
がこれ以上存在しないと判断し、最後のデータ収集端末
装置に、最遠端の端末装置であることを示すフラグを設
定して(S6)、「アドレス・セット」を終了する。
Next, in "address set" S2 to S6, the central recording device first sets address information A to 1
Is transmitted, and every time a response signal to the command signal is normally received, the value of the address information A is incremented by one and the next address set command is transmitted. Repeat that. As a result of sending the address set command, if the time is over (the response signal cannot be received within a predetermined time set by the central recording device), it is determined that there is no more data collection terminal device, and the last data A flag indicating that the terminal device is the farthest end terminal device is set in the collection terminal device (S6), and the "address set" ends.

【0011】データ収集端末装置は、アドレス・セット
・コマンドを受信すると、そのコマンドによってアドレ
ス割り付けされる(アドレス情報Aを伝送路における自
分のアドレスとして割り付けを受ける)。伝送路上のア
ドレスが割り付けられると、以降、自分あての(自分の
アドレスを指定した)命令信号以外を中継する状態とな
る。すなわち、中央記録装置が次に異なるアドレス情報
Aを持ったアドレス・セット・コマンドを送出すると、
既にアドレス割り付けされたデータ収集端末装置は、こ
れを下流に中継する。
When the data collection terminal device receives the address set command, it is assigned an address by the command (address information A is assigned as its own address on the transmission line). After the address on the transmission path is allocated, the state is set to relay the command signal other than the command signal addressed to itself (specifying the own address). That is, when the central recording device next sends an address set command having different address information A,
The data collection terminal device to which the address has already been assigned relays this downstream.

【0012】上記の「アドレス・セット」の最後は、命
令信号に対する応答信号がないという異常状態で終了し
ているので、異常情報が全てのデータ収集端末装置に記
録される。この異常情報の記録機能は、その発生場所を
調査するために必要であるが、「アドレス・セット」に
おける異常は予期されたものであり、異常として記録さ
れる必要がなく、後に発生する予期せぬ異常の記録と紛
らわしくなるため、消去しておく必要がある。
[0012] At the end of the above-mentioned "address set", the process ends in an abnormal state in which there is no response signal to the command signal, so that abnormal information is recorded in all data collection terminal devices. This function of recording anomaly information is necessary for investigating the place where the anomaly occurred, but the anomaly in the “address set” is expected and does not need to be recorded as anomaly. It is necessary to delete it because it becomes confusing with the record of the abnormalities.

【0013】そこで、最後に、「異常記録消去」S7の
手順が実行される。中央記録装置は、通常、一つの命令
信号で、全てのデータ収集端末装置に命令を実行させ
る、所謂、ブロードキャスト命令信号の形で、異常記録
消去の命令信号を送出する。
Then, finally, the procedure of "abnormal recording deletion" S7 is executed. The central recording device usually sends out a command signal for abnormal recording erasure in the form of a so-called broadcast command signal, which causes all data collection terminal devices to execute the command with one command signal.

【0014】データ収集端末装置は、この命令信号を受
信し、異常記録の消去を実行すると共に、下流へ中継す
る。ただし、前記「最遠端フラグ」を設定されたデータ
収集端末装置のみは、この命令信号を下流へ中継せず
に、上流へ応答信号を送出する。
The data collection terminal receives the command signal, deletes the abnormal record, and relays the data to the downstream. However, only the data collection terminal device for which the “farthest end flag” has been set transmits a response signal to the upstream without relaying this command signal to the downstream.

【0015】図34は、従来のシステム起動シーケンス
のタイムチャートである。
FIG. 34 is a time chart of a conventional system startup sequence.

【0016】「伝送路初期化」においては、データ収集
端末装置の数は不明であるから、中央記録装置は、接続
され得る最大数のデータ収集端末装置が接続されている
ものと仮定して、その全てを初期化するのに必要な時間
だけ、初期化のための信号を送出し続ける。
In the "transmission line initialization", since the number of data collection terminal devices is unknown, the central recording device assumes that the maximum number of data collection terminal devices that can be connected is connected. The signal for initialization is continuously transmitted for the time necessary to initialize all of them.

【0017】次に「アドレス・セット」で中央記録装置
に近いデータ収集端末装置から順に、伝送路上のアドレ
スを割り付ける(図34はデータ収集端末装置が4台の
例)。
Next, in the "address set", addresses on the transmission path are allocated in order from the data collection terminal device close to the central recording device (FIG. 34 shows an example of four data collection terminal devices).

【0018】最後に、「異常記録消去」を実行して終了
する。 2.従来の分散型データ収集システムにおける「データ
収集シーケンス中のタイムオーバ処理」の説明
Finally, "abnormal recording deletion" is executed, and the processing ends. 2. Explanation of "time-over processing during data collection sequence" in conventional distributed data collection system

【0019】図35は、従来の技術による、データ収集
シーケンス中のタイムオーバ処理のフローチャートであ
る。
FIG. 35 is a flowchart of a time-over process during a data collection sequence according to the conventional technique.

【0020】始めに、「データ収集命令」S21におい
ては、中央記録装置は、この時点のデータ収集対象であ
るデータ収集端末装置の伝送路上のアドレスを指定した
データ収集命令信号を下流に送出する。その際、下流か
らの応答信号を待つ最大時間(タイムオーバ監視時間)
を設定し、応答信号の受信を待つ。
First, in the "data collection command" S21, the central recording device sends downstream a data collection command signal designating an address on the transmission path of the data collection terminal device to be collected at this time. At that time, the maximum time to wait for a response signal from the downstream (time-over monitoring time)
And wait for the response signal.

【0021】ここで、タイムオーバが発生した場合、中
央記録装置は、前記で設定された時間後に応答信号の受
信待ちを打切り、タイムオーバと判定する。中央記録装
置とデータ収集対象であるデータ収集端末装置との間に
あるデータ収集端末装置では、下流からの応答信号を中
継する準備をして待っているが、所定の待ち時間経過ま
たは中央記録装置から次の命令信号を受信すれば、直前
のデータ収集命令に対する応答信号のタイムオーバが発
生したものと判定し、その異常を内部に記録する。
Here, when a time-over occurs, the central recording apparatus stops waiting for a response signal after the time set as described above, and determines that the time is over. In the data collection terminal device between the central recording device and the data collection terminal device for which data is to be collected, the data collection terminal device is waiting to prepare for relaying a response signal from the downstream. If the next command signal is received from the CPU, it is determined that the time-out of the response signal to the immediately preceding data collection command has occurred, and the abnormality is recorded internally.

【0022】次に、中央記録装置は異常発生箇所の特定
作業S23〜S29を開始する。
Next, the central recording apparatus starts operations S23 to S29 for specifying the location where the abnormality has occurred.

【0023】データ収集端末装置の伝送路上のアドレス
は、中央記録装置に一番近いものが1であり、以降、近
い順に1ずつ増加する値に割り付けられているものとす
る。中央記録装置は、始めに、アドレス情報Aが1であ
る「異常記録読出し命令信号」を送出し、これに対する
1台目のデータ収集端末装置からの応答信号に含まれる
異常記録を入手し、タイムオーバの記録の有無をチェッ
クする。タイムオーバの記録があれば、中央記録装置は
このデータ収集端末装置より下流に障害発生場所がある
と判定し、アドレスを1増加させて、次のデータ収集端
末装置からの異常記録を入手〜チェックを繰り返す。
It is assumed that the address on the transmission path of the data collection terminal device is 1, which is closest to the central recording device, and thereafter, the address is assigned to a value that increases by one in ascending order. First, the central recording device sends out an "abnormal record read command signal" in which the address information A is 1, obtains the abnormal record included in the response signal from the first data collection terminal device in response thereto, and Check for over-recorded. If there is a record of the time over, the central recording device determines that there is a failure location downstream from the data collection terminal device, increases the address by 1, and obtains an error record from the next data collection terminal device to check it. repeat.

【0024】その結果、(1)タイムオーバが発生すれ
ば、そのとき指定したデータ収集端末装置と、その一つ
上流側のデータ収集端末装置との間が、異常発生箇所と
判定する。この場合、同じ箇所での障害が再現したこと
になるから、恒常障害であると判定する。(2)タイム
オーバの記録がなければ、そのとき指定したデータ収集
端末装置以降では異常が発生しなかったのであるから、
そのデータ収集端末装置と、その一つ上流側のデータ収
集端末装置との間が、異常発生箇所と判定する。この場
合、先に発生した障害は再現しなかったのであるから、
間欠的に発生する障害と判定する。
As a result, (1) if a time-over occurs, the portion between the data collection terminal device designated at that time and the data collection terminal device on the one upstream side is determined to be an abnormality occurrence location. In this case, since the failure at the same location has been reproduced, it is determined that the failure is a permanent failure. (2) If there is no record of time-over, no abnormality has occurred since the data collection terminal device specified at that time.
An area between the data collection terminal device and the data collection terminal device on the one upstream side is determined as an abnormal occurrence location. In this case, the failure that occurred earlier was not reproduced,
It is determined that the failure occurs intermittently.

【0025】図36は、従来の技術による、データ収集
シーケンス中のタイムオーバ処理のタイムチャートであ
る。
FIG. 36 is a time chart of a time-over process during a data collection sequence according to the conventional technique.

【0026】この例では、中央記録装置に接続されたデ
ータ収集端末装置の数が4で、3台目と4台目のデータ
収集端末装置の間で、応答信号が伝達されない障害(恒
常障害)が発生した場合を示している。
In this example, the number of data collection terminals connected to the central recording device is four, and a failure where a response signal is not transmitted between the third and fourth data collection terminals (permanent failure) Shows the case in which is generated.

【0027】「タイムオーバ発生」により、中央記録装
置が「異常記録読出し」を開始する。まず、1台目のデ
ータ収集端末装置から異常記録を読出し、内容のチェッ
クを行う。そこにはタイムオーバの記録があるので、次
に2台目のデータ収集端末装置について同様の作業を行
う。さらに、3台目のデータ収集端末装置についても同
様である。次に、4台目のデータ収集端末装置に対し
て、中央記録装置が異常記録読出し命令信号を送出する
と、4台目のデータ収集端末装置からの応答信号は3台
目のデータ収集端末装置へ到達することができないか
ら、中央記録装置も応答信号を受信することができな
い。ここで、再びタイムオーバが発生し、中央記録装置
は、3台目と4台目のデータ収集端末装置の間で恒常障
害が発生したと判定して終了する。
Due to the "time over occurrence", the central recording apparatus starts "abnormal recording reading". First, the abnormality record is read from the first data collection terminal device, and the content is checked. Since there is a record of time over, the same operation is performed for the second data collection terminal device. The same applies to the third data collection terminal device. Next, when the central recording device sends an abnormal recording read command signal to the fourth data collection terminal device, a response signal from the fourth data collection terminal device is sent to the third data collection terminal device. Since it cannot be reached, the central recording device cannot receive the response signal either. Here, a time-over occurs again, and the central recording device determines that a permanent failure has occurred between the third and fourth data collection terminal devices, and ends.

【0028】[0028]

【発明が解決しようとする課題】従来の分散型データ収
集システムにおける問題点について、以下に述べる。
Problems in the conventional distributed data collection system will be described below.

【0029】まず、「システム起動シーケンス」におい
ては、 問題点(1) 中央記録装置は、接続されているデータ
収集端末装置の台数が分からないので、その台数が実際
は1台であっても、システム仕様上の最大数であると想
定して、必要以上の時間、伝送路初期化信号を送出しな
ければならず、非効率であるという問題があった。ま
た、中央記録装置は、接続されているデータ収集端末装
置の台数を把握するために、タイムオーバ(命令信号に
対する応答信号が検出できない)という異常を発生させ
ることが必要である。
First, in the "system startup sequence", problems (1) Since the number of connected data collection terminals is not known for the central recording device, even if the number is Assuming that it is the maximum number in the specification, the transmission line initialization signal must be transmitted for an unnecessarily long period of time, which is inefficient. In addition, the central recording device needs to generate an abnormality such as a time-over (a response signal to a command signal cannot be detected) in order to grasp the number of connected data collection terminal devices.

【0030】問題点(2) 従って、アドレス・セット
・シーケンスの途中で、伝送路上に実際の異常が発生し
た場合には、その伝送路が中央記録装置とアドレス・セ
ット対象のデータ収集端末装置との間に存在する場合、
このデータ収集端末装置が最遠端でないにもかかわら
ず、中央記録装置は、タイムオーバの検出より、アドレ
ス・セット〜台数検出のシーケンスを終了してしまい、
その結果として、接続されたデータ収集端末装置の台数
を誤認することになる。
Problem (2) Therefore, when an actual abnormality occurs on the transmission line during the address set sequence, the transmission line is connected to the central recording device and the data collection terminal device targeted for the address set. If it exists between
Even though this data collection terminal device is not the farthest end, the central recording device ends the sequence of address set to number detection from the detection of time over,
As a result, the number of connected data collection terminal devices is erroneously recognized.

【0031】問題点(3) この不具合を避けるために
は、システム起動シーケンスを複数回繰り返す必要があ
り、煩雑であるとともに、多大な処理時間を必要とす
る。特に、タイムオーバ障害箇所が複数で、かつ間欠的
に発生するような環境では、台数を正しく把握すること
ができない可能性もある。
Problem (3) In order to avoid this problem, it is necessary to repeat the system startup sequence a plurality of times, which is complicated and requires a great deal of processing time. In particular, in an environment where a plurality of time-over fault locations occur intermittently, it may not be possible to correctly determine the number.

【0032】問題点(4) 別の方法として、前記問題
点(2)におけるタイムオーバ発生時点で、そのデータ
収集端末装置に対するアドレス・セットを再試行するこ
とにより、再試行時間を短縮できる可能性もあるが、異
常記録の区別、消去、あるいは、発生場所が不定かつ間
欠である場合の処理などが非常に煩雑となる。
Problem (4) As another method, when the time over occurs in the problem (2), the address set for the data collection terminal device may be retried, thereby shortening the retry time. However, the process of distinguishing and erasing abnormal records, or processing when the place of occurrence is indeterminate and intermittent becomes very complicated.

【0033】次に、「データ収集シーケンス中のタイム
オーバ処理」においては、タイムオーバ(命令信号に対
する応答信号がない)が発生した箇所(障害箇所)の特
定を即座に短時間で行うこと、異常記録の処理方法、タ
イムオーバの監視時間の設定方法などが課題となる。具
体的には、
Next, in the "time-over processing during the data collection sequence", it is necessary to immediately and quickly identify a location (failure location) where a time-over (no response signal to the command signal) has occurred, Issues are a recording processing method and a method of setting a time-out monitoring time. In particular,

【0034】問題点(5) タイムオーバが発生する
と、データ収集を中断して、障害箇所特定のための煩雑
な手順を実行しなければならず(図35)、データ収集
効率の低下という問題が生じる。
Problem (5) When a time-over occurs, the data collection must be interrupted and a complicated procedure for identifying a failure location must be executed (FIG. 35). Occurs.

【0035】問題点(6) システムによっては、デー
タ収集命令と、データ収集端末装置のデータ収集動作の
起動を兼ねるような用法もあり、データ収集の中断によ
り、連続的に収集すべきデータの一部が失われることに
なるため、障害箇所の特定を諦めざるを得ないこともあ
る。その結果、例えば、伝送路を構成するケーブルの半
断線(切断された線材が接触によって導通を保っており
機械的刺激あるいは環境条件等により間欠的に非導通状
態となるような発見困難な障害)が発見できずに、障害
が長期間断続的に発生する問題も生じる。
Problem (6) Depending on the system, there is also a usage which also serves as a data collection command and the activation of the data collection operation of the data collection terminal device. In some cases, it may be necessary to give up identifying the location of the failure because parts are lost. As a result, for example, a semi-break of a cable constituting a transmission line (a difficult-to-find obstacle in which a cut wire material keeps conduction by contact and becomes intermittently non-conductive due to mechanical stimulation or environmental conditions). However, there is also a problem that failures occur intermittently for a long period of time without being able to find them.

【0036】問題点(7) さらに、障害箇所を特定す
るために異常記録を読出すときにタイムオーバが発生
し、その発生箇所が特定しようとした発生箇所と異なる
場合、障害発生箇所を誤認する問題が生じる。
Problem (7) Further, when a time-over occurs when an abnormal record is read in order to specify a fault location, and the fault location is different from the fault location to be specified, the fault fault location is erroneously recognized. Problems arise.

【0037】問題点(8) これを避けるために再試行
すれば、複数の異常が記録されているので、その記録か
ら障害状況、障害箇所を正しく判定する作業は極めて煩
雑になる。
Problem (8) If a retry is performed to avoid this, since a plurality of abnormalities are recorded, it is extremely complicated to correctly determine a failure situation and a failure location from the records.

【0038】そこで、本発明は、従来の分散型データ収
集システムにおけるデータ収集端末装置の台数把握の非
効率性および不確実性の改善、命令信号に対する応答信
号が所定の時間以内に検出されないタイムオーバ障害に
より生じる不都合の改善、同タイムオーバ障害が発生し
たときの迅速かつ確実な状況把握の実現、等を目的とす
る。
Accordingly, the present invention provides an improvement in inefficiency and uncertainty in grasping the number of data collection terminal devices in a conventional distributed data collection system, and a time-out in which a response signal to a command signal is not detected within a predetermined time. It is intended to improve inconvenience caused by a failure, to realize quick and reliable status grasp when the time-over failure occurs, and the like.

【0039】[0039]

【課題を解決するための手段】以上の課題を解決するた
め、本発明の第1の観点に係る分散型データ収集システ
ムは、デジタル伝送路を介して互いに直列接続される複
数のデータ収集端末装置と、デジタル伝送路を介して前
記複数のデータ収集端末装置の内の1つと接続される中
央記録装置であって、前記複数のデータ収集端末装置ご
とに割り付けられた異なるアドレスの中から特定のアド
レスを指定して対応するデータ収集端末装置を制御する
ことにより、前記複数のデータ収集端末装置に収集され
たデータを記録する前記中央記録装置とを含み、前記複
数のデータ収集端末装置の各々は、第1の信号を前記中
央記録装置側のデジタル伝送路(以下、「上流」とい
う)から受信するとともに、上流とは反対側のデジタル
伝送路(以下、「下流」という)へ該第1の信号を中継
する中継手段と、上流から該第1の信号を検出して、検
出信号を出力する検出手段と、該検出信号に応答して、
所定の時間内に第2の信号を上流へ送出する手段と、該
検出信号に応答して、下流から第2の信号を受信するた
めの待ち受け状態となり、所定の時間内に該第2の信号
が検出されない場合は、第1の数値を含む第3の信号を
上流へ送出し、該所定の時間内に該第2の信号が検出さ
れた場合は、下流からの該第3の信号を検出して加算手
段により該第3の信号に含まれる数値に所定の数値を加
算し、これを上流へ送出する手段と、を具備し、前記中
央記録装置は、該第1の信号をデジタル伝送路へ送出す
る手段と、デジタル伝送路から第2の信号を受信するた
めの待ち受け状態となり、所定の時間内に該第2の信号
が検出されない場合は、第2の数値を記憶手段に記憶さ
せ、該所定の時間内に該第2の信号が検出された場合
は、デジタル伝送路から該第3の信号を検出して該第3
の信号に含まれる数値を前記記憶手段に記憶させる手段
とを具備する。
In order to solve the above-mentioned problems, a distributed data collection system according to a first aspect of the present invention comprises a plurality of data collection terminal devices connected in series to each other via a digital transmission line. And a central recording device connected to one of the plurality of data collection terminal devices via a digital transmission line, wherein a specific address is selected from among different addresses allocated to the plurality of data collection terminal devices. By controlling the corresponding data collection terminal device by specifying the, including the central recording device to record the data collected in the plurality of data collection terminal device, each of the plurality of data collection terminal device, The first signal is received from a digital transmission path on the side of the central recording device (hereinafter, referred to as “upstream”) and a digital transmission path on the opposite side from the upstream (hereinafter, “downstream”). And relay means for relaying the first signal to the "hereinafter), by detecting the first signal from the upstream, a detecting means for outputting a detection signal in response to the detection signal,
Means for transmitting a second signal upstream within a predetermined time; and a standby state for receiving a second signal from downstream in response to the detection signal, wherein the second signal is received within a predetermined time. If no is detected, a third signal including the first numerical value is transmitted upstream, and if the second signal is detected within the predetermined time, the third signal from downstream is detected. Means for adding a predetermined numerical value to the numerical value included in the third signal by an adding means, and transmitting the added signal to the upstream, wherein the central recording device transmits the first signal to a digital transmission path. And a standby state for receiving the second signal from the digital transmission path, and if the second signal is not detected within a predetermined time, the second numerical value is stored in the storage means, If the second signal is detected within the predetermined time, a digital transmission path Third detecting signal Luo third
Means for storing the numerical value included in the signal of the above in the storage means.

【0040】ここで、該第1の数値及び該所定の数値が
「1」であり、該第2の数値が「0」であっても良い。
Here, the first numerical value and the predetermined numerical value may be “1”, and the second numerical value may be “0”.

【0041】また、本発明の第2の観点によれば、本発
明の第1の観点に係る分散型データ収集システムにおい
て、前記第1〜第3の信号は、データ収集のために使用
される伝送信号(命令信号および応答信号)よりも冗長
度の大きい信号であり、前記中央記録装置および前記複
数のデータ収集端末装置の各々は、デジタル伝送路から
受信した該第1〜第3の信号の検出のために、前記冗長
度を利用した雑音除去機能または誤り訂正機能を有する
信号高品位化手段をさらに具備する。
According to a second aspect of the present invention, in the distributed data collection system according to the first aspect of the present invention, the first to third signals are used for data collection. The central recording device and the plurality of data collection terminal devices each have a higher degree of redundancy than a transmission signal (command signal and response signal), and each of the central recording device and the plurality of data collection terminal devices receives the first to third signals received from a digital transmission path. For detection, the apparatus further includes a signal quality improving unit having a noise removal function or an error correction function using the redundancy.

【0042】さらに、本発明の第3の観点によれば、本
発明の第1の観点に係る分散型データ収集システムにお
いて、前記中央記録装置が特定のデータ収集端末装置へ
命令信号を送出し、前記特定のデータ収集端末装置が該
命令信号に応答して前記特定のデータ収集端末装置に割
り付けられたアドレスを含む応答信号を前記中央記録装
置へ送出し、前記特定のデータ収集端末装置と前記中央
記録装置との間にある他のデータ収集端末装置が該応答
信号を下流から上流へ中継することにより伝送制御され
る様になっており、前記複数のデータ収集端末装置の各
々は、該所定の時間内に該第2の信号が検出されない場
合は第3の数値を端末側記憶手段に記憶させ、該所定の
時間内に該第2の信号が検出された場合は、該第3の信
号に含まれる数値を前記端末側記憶手段に記憶させる手
段と、前記データ収集端末装置が上流からの命令信号を
下流へ中継した後、前記端末側記憶手段に記憶された数
値に単調増加特性を与える第1の演算手段を作用させて
得られる時間値を限度として、下流からの応答信号を待
つ手段と、該時間値内に応答信号を受信した場合は、該
応答信号を上流へ中継し、該時間値内に応答信号を受信
しなかった場合は、下流からの応答信号を受信できなか
ったこと(以下、「タイムオーバ」という)及び前記デ
ータ収集端末装置に割り付けられたアドレスを示す情報
を含む信号を応答信号として上流へ送出する手段とをさ
らに具備し、前記中央記録装置は、命令信号をデジタル
伝送路へ送出した後、前記記憶手段に記憶された数値に
単調増加特性を与える第2の演算手段を作用させて得ら
れる時間値を限度として、デジタル伝送路からの応答信
号を待つ手段と、該時間値内に前記タイムオーバ及びア
ドレスを示す情報を含まない応答信号を受信した場合
に、該応答信号を正常に受信したものとして以降の所定
の処理を行う手段と、該時間値内に前記タイムオーバ及
びアドレスを示す情報を含む応答信号を受信した場合
に、該応答信号に含まれるアドレスに対応するデータ収
集端末装置と、その一つ下流側のデータ収集端末装置と
の間に、応答信号が前記中央記録装置へ到達できない原
因となった障害箇所が存在することを記録する手段と、
該時間値内に応答信号を受信しなかった場合に、前記中
央記録装置と、前記中央記録装置に一番近いデータ収集
端末装置との間に、応答信号が前記中央記録装置へ到達
できない原因となった障害箇所が存在することを記録す
る手段とをさらに具備する。
Further, according to a third aspect of the present invention, in the distributed data collection system according to the first aspect of the present invention, the central recording device sends a command signal to a specific data collection terminal device, The specific data collection terminal device sends a response signal including an address assigned to the specific data collection terminal device to the central recording device in response to the command signal, and the specific data collection terminal device and the central Another data collection terminal device between the recording device and the recording device is controlled to be transmitted by relaying the response signal from downstream to upstream, and each of the plurality of data collection terminal devices includes the predetermined data collection terminal device. If the second signal is not detected within the time, a third numerical value is stored in the terminal side storage means, and if the second signal is detected within the predetermined time, the third signal is stored. Numeric values included Means for storing in the terminal-side storage means, and first arithmetic means for giving a monotonically increasing characteristic to the numerical value stored in the terminal-side storage means after the data collection terminal device relays an instruction signal from upstream to downstream. Means for waiting for a response signal from the downstream, up to a time value obtained by applying the response signal, and, when the response signal is received within the time value, relaying the response signal to the upstream, and responding within the time value. If the signal is not received, a signal including information indicating that the response signal from the downstream could not be received (hereinafter, referred to as “time over”) and the address assigned to the data collection terminal device is used as the response signal. Means for sending the command signal to a digital transmission path, and then providing a monotonically increasing characteristic to the numerical value stored in the storage means. Means for waiting for a response signal from the digital transmission line, up to a time value obtained by applying the above, and when a response signal not containing the information indicating the time-out and the address within the time value is received, the response Means for performing a predetermined process thereafter assuming that the signal has been normally received, and, when a response signal including the information indicating the time-out and the address within the time value is received, corresponding to the address included in the response signal. A data collection terminal device, and a means for recording that a failure point that caused a response signal to be unable to reach the central recording device exists between the data collection terminal device on one downstream side thereof,
If a response signal is not received within the time value, a cause that the response signal cannot reach the central recording device between the central recording device and the data collection terminal device closest to the central recording device. Means for recording the existence of the failed part.

【0043】ここで、第3の数値が「0」であっても良
い。
Here, the third numerical value may be “0”.

【0044】本発明の第1の観点によれば、中央記録装
置は、システム初期化シーケンスにおいて、伝送路初期
化シーケンスの結果、(1)伝送路初期化シーケンスの
終了を認識することができる。また、(2)接続されて
いるデータ収集端末装置の台数を把握することができ
る。
According to the first aspect of the present invention, the central recording apparatus can recognize (1) the end of the transmission path initialization sequence as a result of the transmission path initialization sequence in the system initialization sequence. (2) The number of connected data collection terminal devices can be ascertained.

【0045】即ち、中央記録装置は、第1の信号を送出
し、中央記録装置と最遠端のデータ収集端末装置との間
にあるデータ収集端末装置では、下流からの第2の応答
信号を受信するので、下流に他の装置があると認識して
下流からの第3の信号を待ち、最遠端のデータ収集端末
装置は、下流からの第2の応答信号が所定の時間以内に
受信できないので、自身が最遠端であることを認識して
数値部が1である第3の信号を送出し、これを受信した
上流のデータ収集端末装置は、数値部に1を加算して上
流へ中継する。このようにして、第3の信号の数値部
は、データ収集端末装置で中継されるごとに1加算され
て上流へ中継されるので、中央記録装置に到達したとき
には、その数値部の内容が、接続されているデータ収集
端末装置2の台数になっている。また、第3の信号が中
央記録装置に到達することにより、伝送路初期化シーケ
ンスは完了する。
That is, the central recording device transmits the first signal, and the data collection terminal device between the central recording device and the data collection terminal device at the farthest end transmits the second response signal from downstream. Since it receives the signal, it recognizes that there is another device downstream and waits for a third signal from the downstream, and the farthest end data collection terminal device receives the second response signal from the downstream within a predetermined time. Since the terminal cannot recognize itself as the farthest end, it sends a third signal having a numerical value of 1 and the upstream data collection terminal device receiving the signal adds 1 to the numerical value to obtain an upstream signal. Relay to In this way, the numerical value part of the third signal is incremented by one each time the data signal is relayed by the data collection terminal device and relayed upstream, so that when reaching the central recording device, the content of the numerical value part is: It is the number of data collection terminal devices 2 connected. When the third signal reaches the central recording device, the transmission path initialization sequence is completed.

【0046】従って、中央記録装置は、接続されている
データ収集端末装置の台数に応じた時間で伝送路初期化
信号の送出を終了することができるから、問題点(1)
が解決される。
Therefore, the central recording device can terminate the transmission of the transmission path initialization signal in a time corresponding to the number of the connected data collection terminal devices.
Is resolved.

【0047】また、中央記録装置は、次のアドレス・セ
ット・シーケンスの前に、データ収集端末装置の台数を
把握でき、その台数を確認するには伝送路初期化シーケ
ンスのみを繰り返せばよいから、問題点(2)〜(4)
が解決される。
Further, the central recording device can grasp the number of data collection terminal devices before the next address set sequence, and it is sufficient to repeat only the transmission path initialization sequence to confirm the number. Problems (2)-(4)
Is resolved.

【0048】さらに、本発明の第2の観点によれば、伝
送路初期化シーケンスにおける信号を、高品位なもの、
即ち、誤りの少ないもの、確度の高いものとすることが
できるので、伝送路初期化シーケンス自体も確度の高い
ものとなり、問題点(2)〜(4)はさらに確実に解決
される。
Further, according to the second aspect of the present invention, a signal in a transmission line initialization sequence is
In other words, since the error can be reduced and the accuracy can be increased, the transmission path initialization sequence itself can be enhanced, and the problems (2) to (4) can be solved more reliably.

【0049】次に、本発明の第3の観点によれば、中央
記録装置は、データ収集シーケンスにおいて、タイムオ
ーバ障害が発生すると即座にその発生箇所を把握するこ
とができる。
Next, according to the third aspect of the present invention, when a time-over fault occurs in the data collection sequence, the central recording apparatus can immediately grasp the location where the time-over fault occurs.

【0050】即ち、中央記録装置およびデータ収集端末
装置において、図3の例のように、第1の記憶手段48
の内容を入力として、入力に対して単調増加となるよう
な出力を与える第1の演算手段75により、タイムオー
バの監視時間を設定する。この結果、中央記録装置から
遠い装置ほど早く、すなわち、障害箇所に近い装置ほど
早くタイムオーバを検出して、上流へタイムオーバ検出
を示す応答信号を送出するから、これより上流の装置で
はタイムオーバを検出せずに、この応答信号を上流へ中
継する。すなわち、障害箇所直前(上流側)のデータ収
集端末装置がタイムオーバを検出したことが、中央記録
装置へ通知されるので、中央記録装置は、即座に障害箇
所を把握することができる。従って、障害箇所特定のた
めの作業を必要としないので、問題点(5)〜(8)が
解決される。
That is, in the central recording device and the data collection terminal device, as shown in the example of FIG.
Is set as an input, and a time-out monitoring time is set by the first arithmetic means 75 which gives an output that increases monotonically with respect to the input. As a result, a device farther from the central recording device detects the time-over earlier, that is, a device closer to the failure location, and sends a response signal indicating the time-over detection to the upstream, so that the device upstream from this device has a time-out. , And relay this response signal upstream. In other words, the central recording device is notified that the data collection terminal device immediately before (at the upstream side of) the failure has detected a time over, so that the central recording device can immediately grasp the failure location. Therefore, since the work for identifying the fault location is not required, the problems (5) to (8) are solved.

【0051】[0051]

【実施例】以下、図面に基づいて、本発明の実施例につ
いて説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0052】図1は、本発明に係る分散型データ収集シ
ステムの構成例である。中央記録装置1台に対するデー
タ収集端末装置の数に制限はないが、一例として、デー
タ収集端末装置が4台接続された場合を示す。
FIG. 1 is an example of the configuration of a distributed data collection system according to the present invention. Although the number of data collection terminals for one central recording device is not limited, an example is shown in which four data collection terminals are connected.

【0053】システムは中央記録装置1、複数のデータ
収集端末装置21〜24、伝送路31〜35で構成さ
れ、伝送路によりタンデム接続され、全体として、テレ
メトリ・システムを構成している。
The system includes a central recording device 1, a plurality of data collection terminal devices 21 to 24, and transmission lines 31 to 35, which are connected in tandem by the transmission lines to form a telemetry system as a whole.

【0054】中央記録装置1と各データ収集端末装置2
1〜24の間には、全二重あるいは半二重のデジタル伝
送機能(有線又は無線)があり、各データ収集端末装置
21〜24は、この伝送の中継機能をもつ。なお、この
伝送において、中央記録装置1側(図1で左側)への方
向を「上流」、反対方向を「下流」と定義する。
Central recording device 1 and each data collection terminal device 2
There is a full-duplex or half-duplex digital transmission function (wired or wireless) between 1 to 24, and each data collection terminal device 21 to 24 has a relay function for this transmission. In this transmission, the direction toward the central recording device 1 (left side in FIG. 1) is defined as “upstream”, and the opposite direction is defined as “downstream”.

【0055】中央記録装置1は、テレメトリ・システム
を初期化し、起動する初期化信号を送出する機能、およ
び、複数のデータ収集端末装置21〜24の中の1つあ
るいは全てを宛先として命令信号を送出し、宛先として
指定されたデータ収集端末装置からの応答信号を受信す
る機能をもつ。すなわち、テレメトリ・システムにおけ
る伝送の起動〜終了を制御する「マスタ機能」をもつ。
また、中央記録装置1は、通常、コンピュータ・システ
ムあるいはマイクロ・コンピュータ・システム、およ
び、これにより制御される、前記テレメトリ制御装置、
磁気テープ装置等の記憶装置、プリンタ/プロッタ/キ
ーボード/ディスプレイ等の入出力装置、などで構成さ
れ、前記応答信号から所要の情報を抽出し、内容の判定
あるいは記憶装置への記録を行うような複数種類の操作
の組合せにより、データ収集を行う。
The central recording apparatus 1 has a function of initializing the telemetry system and transmitting an initialization signal for starting the telemetry system, and a command signal destined for one or all of the plurality of data collection terminals 21 to 24. It has a function of transmitting and receiving a response signal from the data collection terminal device designated as the destination. That is, it has a "master function" for controlling the start to end of transmission in the telemetry system.
Also, the central recording device 1 is usually a computer system or a microcomputer system, and the telemetry control device controlled by the computer system or the microcomputer system,
It is composed of a storage device such as a magnetic tape device, an input / output device such as a printer / plotter / keyboard / display, etc., and extracts necessary information from the response signal to determine the contents or record the information in the storage device. Data collection is performed by combining a plurality of types of operations.

【0056】データ収集端末装置21〜24は、上流か
らの初期化信号を受信し、テレメトリ・インタフェース
部分を初期化するとともに下流へ中継する機能、およ
び、上流からの命令信号を受信し、これに含まれる宛先
が自分のみであれば命令を実行するとともに所定時間以
内に上流へ応答信号を送出し、宛先が他者であれば、命
令信号を下流へ中継し、下流からの応答信号を待って上
流へ中継し、宛先が全データ収集端末装置であれば、命
令信号を下流へ中継するとともに命令を実行し、下流か
らの応答信号を待って上流へ中継するとともにその末尾
に自分からの応答信号を付加して送出する機能とをも
つ。すなわち、テレメトリ・システムにおける「スレー
ブ機能」をもつ。また、データ収集端末装置21〜24
は、少なくとも、デジタルあるいはアナログ・データ入
力回路をもち、この入力回路の出力をサンプリングし、
必要に応じてアナログ・デジタル変換等のデータ変換処
理を施した後、デジタル・データとして保持しておき、
受信した命令信号に従って、このデータを上流へ送出す
る。
The data collection terminal devices 21 to 24 receive the initialization signal from the upstream, initialize the telemetry interface part and relay it to the downstream, and receive the command signal from the upstream, If the destination included is only yourself, execute the command and send a response signal upstream within a predetermined time, and if the destination is another, relay the command signal downstream and wait for a response signal from downstream. Relay to the upstream, if the destination is all data collection terminal equipment, relay the command signal to the downstream and execute the command, wait for the response signal from the downstream and relay to the upstream, and at the end of the response signal from yourself And sends it. That is, it has a “slave function” in the telemetry system. Further, the data collection terminal devices 21 to 24
Has at least a digital or analog data input circuit, samples the output of this input circuit,
After performing data conversion processing such as analog-to-digital conversion as necessary, it is stored as digital data,
This data is sent upstream according to the received command signal.

【0057】さて、本発明の第1の要点は、前記テレメ
トリの初期化(システム初期化シーケンス)において、
中央記録装置1が接続されているデータ収集端末装置の
数を容易に把握できる手段を提供することである。
The first point of the present invention is that, in the initialization of the telemetry (system initialization sequence),
An object of the present invention is to provide means for easily grasping the number of data collection terminal devices to which the central recording device 1 is connected.

【0058】図2は、本発明の第1の実施例に係る分散
型データ収集システムにおける、伝送路上のタイムチャ
ートである。
FIG. 2 is a time chart on a transmission line in the distributed data collection system according to the first embodiment of the present invention.

【0059】横軸は時間を表す。縦軸は伝送路(即ち、
データ収集端末装置の出力)別に信号を表す。縦軸で、
左向きの矢印は上流への信号を、右向きの矢印は下流へ
の信号を表す。
The horizontal axis represents time. The vertical axis is the transmission path (ie,
The output signal of the data collection terminal device) represents each signal. On the vertical axis,
Arrows pointing left indicate signals going upstream, and arrows pointing right indicate signals going downstream.

【0060】(1) 中央記録装置1は、データ収集端
末装置21へ、すなわち伝送路31の下流へ第1の信号
を送出すると同時または遅れて、下流からの第2の信号
の第1の時間監視手段を起動する。
(1) The central recording device 1 sends the first signal to the data collection terminal device 21, that is, at the same time or after the first signal is sent to the downstream of the transmission line 31, so that the first time of the second signal from the downstream is obtained. Start monitoring means.

【0061】(2) データ収集端末装置21は、この
第1の信号を検出し、中央記録装置1へ、すなわち伝送
路31の上流へ第2の信号を送出する。中央記録装置1
は、この第2の信号を検出することにより、第1の時間
監視を停止し、下流からの第3の信号を待つ。
(2) The data collection terminal device 21 detects the first signal and sends the second signal to the central recording device 1, that is, upstream of the transmission line 31. Central recording device 1
Stops the first time monitoring by detecting this second signal and waits for the third signal from downstream.

【0062】(3) データ収集端末装置21は、
(2)と並行して、データ収集端末装置22へ、すなわ
ち伝送路32の下流へ第1の信号を送出すると同時また
は遅れて、下流からの第2の信号の第1の時間監視手段
を起動する。
(3) The data collection terminal device 21
In parallel with (2), when the first signal is sent to the data collection terminal device 22, that is, downstream of the transmission line 32, the first time monitoring means of the second signal from downstream is activated simultaneously or with delay. I do.

【0063】(4) データ収集端末装置22は、この
第1の信号を検出し、データ収集端末装置21へ、すな
わち伝送路32の上流へ第2の信号を送出する。データ
収集端末装置21は、この第2の信号を検出することに
より、第1の時間監視を停止し、下流からの第3の信号
を待つ。
(4) The data collection terminal device 22 detects the first signal and sends the second signal to the data collection terminal device 21, that is, upstream of the transmission line 32. The data collection terminal device 21 stops monitoring the first time by detecting the second signal, and waits for the third signal from the downstream.

【0064】(5) データ収集端末装置22は、と
並行して、データ収集端末装置23へ、すなわち伝送路
33の下流へ第1の信号を送出すると同時または遅れ
て、下流からの第2の信号の第1の時間監視手段を起動
する。
(5) The data collection terminal device 22 transmits the first signal to the data collection terminal device 23, that is, downstream of the transmission line 33 at the same time or after the second signal is transmitted, in parallel with Activating the first time monitoring means of the signal.

【0065】(6)〜(8) 以下同様。(6) to (8) The same applies hereinafter.

【0066】(9) データ収集端末装置24は、伝送
路35の下流へ第1の信号を送出すると同時または遅れ
て、
(9) The data collection terminal device 24 transmits the first signal to the downstream of the transmission line 35 at the same time or with a delay,

【0067】(10) 下流からの第2の信号の第1の
時間監視手段を起動するが、
(10) The first time monitoring means for the second signal from the downstream is activated.

【0068】(11) 下流からの第2の信号が検出さ
れないので、監視時間オーバとなる。
(11) Since the second signal from the downstream is not detected, the monitoring time is over.

【0069】(12) データ収集端末装置24は、監
視時間オーバ(11)の後、第1の記憶手段に数値0を
セットし、データ収集端末装置23へ、すなわち伝送路
34の上流へ数値部の値が1である第3の信号を送出す
る。
(12) After the monitoring time has elapsed (11), the data collection terminal device 24 sets a numerical value 0 in the first storage means, and sets the numerical value portion to the data collection terminal device 23, that is, upstream of the transmission line 34. Is transmitted as a third signal.

【0070】(13) データ収集端末装置23は、こ
の第3の信号を受信し、この第3の信号の数値部の値1
を第1の記憶手段にセットし、この値に1を加えた値
(即ち、2)を数値部としてもつ第3の信号を、データ
収集端末装置22へ、すなわち伝送路33の上流へ送出
する。
(13) The data collection terminal device 23 receives the third signal, and sets the value 1 of the numerical part of the third signal to 1
Is set in the first storage means, and a third signal having a value obtained by adding 1 to this value (that is, 2) as a numerical value part is transmitted to the data collection terminal device 22, that is, upstream of the transmission line 33. .

【0071】(14)、(15) 以降、同様にして、
データ収集端末装置22からデータ収集端末装置21へ
は、数値部が3である第3の信号が伝送され、データ収
集端末装置21から中央記録装置1へは、数値部が4で
ある第3の信号が伝送される。
(14), (15) Thereafter, similarly,
A third signal whose numerical value is 3 is transmitted from the data collection terminal device 22 to the data collection terminal device 21, and a third signal whose numerical value portion is 4 is transmitted from the data collection terminal device 21 to the central recording device 1. A signal is transmitted.

【0072】このようにして、中央記録装置1は、下流
に接続されているデータ収集端末装置の台数を得ること
ができる。また、各データ収集端末装置も、それぞれの
第1の記憶手段に、自分より下流に接続されているデー
タ収集端末装置の台数を得ることができる。この実施例
では、データ収集端末装置は4台であるが、任意の台数
であっても同様の効果が得られることは明らかである。
In this way, the central recording device 1 can obtain the number of data collection terminal devices connected downstream. Also, each data collection terminal device can obtain the number of data collection terminal devices connected downstream from itself in each first storage means. In this embodiment, the number of data collection terminal devices is four, but it is clear that the same effect can be obtained with any number of data collection terminal devices.

【0073】なお、中央記録装置1および各データ収集
端末装置21〜24は、第1の時間監視手段が監視時間
オーバとなるか、下流から第3の信号を検出した後、所
定の時間以内に、第1の信号の送出を停止する((1
6)〜(20))。
The central recording device 1 and each of the data collection terminal devices 21 to 24 operate within a predetermined time after the first time monitoring means has exceeded the monitoring time or after detecting the third signal from the downstream. , Stop sending the first signal ((1
6) to (20)).

【0074】また、第1の信号は、伝送路の初期化の機
能を兼ねることは必須ではないが、伝送路の初期化と同
時に接続されているデータ収集端末装置の台数を把握す
ることは有益であり、以降の説明では、第1の信号が伝
送路の初期化の機能をもつものとして説明する。従っ
て、各データ収集端末装置21〜24は、従来の技術に
おいて伝送路初期化信号を受信したときと同様に、第1
の信号を受信中に、伝送路インタフェース部分を初期化
し、第1の信号がなくなったことを検出して、以降、伝
送路上のアドレスをセットされるまで、命令信号を下流
へ中継しない状態となる。
It is not essential that the first signal also has the function of initializing the transmission line, but it is useful to grasp the number of data collection terminal devices connected simultaneously with the initialization of the transmission line. In the following description, it is assumed that the first signal has a function of initializing the transmission path. Therefore, each of the data collection terminal devices 21 to 24 performs the same operation as when the transmission line initialization signal is received in the related art.
, The transmission line interface is initialized, and it is detected that the first signal has disappeared. Thereafter, the command signal is not relayed downstream until the address on the transmission line is set. .

【0075】図3は、本実施例におけるデータ収集端末
装置の構成図である。
FIG. 3 is a configuration diagram of the data collection terminal device in the present embodiment.

【0076】上流からの第1の信号は、第1の信号の検
出手段41により検出される。第1の信号の検出手段4
1は、第1の信号の規定に応じて、デジタル・パターン
検出回路、または、周期信号を検出するタンク回路・P
LL回路などで実現され、その検出出力により、第1の
信号の中継/送出手段42、第2の信号の送出手段、第
1の時間監視手段、第2の信号の検出手段が起動され
る。
The first signal from the upstream is detected by the first signal detecting means 41. First signal detecting means 4
1 is a digital pattern detection circuit or a tank circuit for detecting a periodic signal according to the definition of the first signal.
This is realized by an LL circuit or the like, and the detection output thereof activates the first signal relay / transmission unit 42, the second signal transmission unit, the first time monitoring unit, and the second signal detection unit.

【0077】第1の信号の中継/送出手段42は、上流
からの第1の信号を下流へ中継する手段であるか、ある
いは、第1の信号と同様の信号を下流へ送出する手段で
あり、起動されると、下流へ第1の信号が送出される。
The first signal relaying / sending means 42 is means for relaying the first signal from the upstream to the downstream, or means for sending a signal similar to the first signal to the downstream. , The first signal is sent downstream.

【0078】第2の信号の送出手段43は、第2の信号
として規定された所定の信号波形を発生する回路で実現
され、起動されると、上流へ第2の信号を送出する。
The second signal transmitting means 43 is realized by a circuit for generating a predetermined signal waveform defined as the second signal, and when activated, transmits the second signal upstream.

【0079】第1の時間監視手段44は、タイマ回路あ
るいはカウンタ回路などで実現され、その出力は通常0
であるが、起動されて所定の時間が経過すると1にな
り、監視時間が経過したことを示す。この出力は、第2
の信号の検出手段45の出力により時間監視が停止した
場合は0のままとなる。
The first time monitoring means 44 is realized by a timer circuit, a counter circuit, or the like.
However, it becomes 1 when a predetermined time elapses after being activated, indicating that the monitoring time has elapsed. This output is
When the time monitoring is stopped by the output of the signal detection means 45, the signal remains at 0.

【0080】第2の信号の検出手段45は、デジタル・
パターン検出回路などで実現され、下流からの第2の信
号が検出されると、その出力により第1の時間監視手段
44の動作を停止させる。
The detection means 45 for the second signal is a digital signal.
This is realized by a pattern detection circuit or the like, and when the second signal from the downstream is detected, the operation of the first time monitoring means 44 is stopped by the output.

【0081】第1の時間監視手段44の出力が1になる
と、すなわち、上流から第1の信号を受信してから所定
の時間以内に下流から第2の信号が検出されないと、セ
レクタ47の出力は特定の初期値、例えば0となり、第
1の記憶手段48には0がセットされる。同時に、セレ
クタ出力の0に、第1の加算手段50により所定の数値
として例えば1が加算された値、すなわち1が、第3の
信号の出力手段49へ第3の信号の数値部として入力さ
れ、上流へ、数値部が1である第3の信号が送出され
る。
When the output of the first time monitoring means 44 becomes 1, that is, when the second signal is not detected from the downstream within a predetermined time after receiving the first signal from the upstream, the output of the selector 47 is output. Is a specific initial value, for example, 0, and 0 is set in the first storage means 48. At the same time, a value obtained by adding, for example, 1 to the selector output 0 as a predetermined numerical value by the first adding means 50, that is, 1 is input to the third signal output means 49 as a numerical part of the third signal. , A third signal having a numerical value of 1 is sent upstream.

【0082】一方、第1の時間監視手段44の出力が0
であれば、すなわち、上流から第1の信号を受信してか
ら所定の時間以内に下流から第2の信号が検出されれ
ば、セレクタ47の出力は、第3の信号の検出手段46
の数値出力となり、下流からの第3の信号が検出される
のを待つ状態となる。
On the other hand, when the output of the first time monitoring means 44 is 0
That is, if the second signal is detected from the downstream within a predetermined time after the reception of the first signal from the upstream, the output of the selector 47 is output to the third signal detecting means 46.
, And waits for the detection of the third signal from the downstream.

【0083】第3の信号の検出手段46は、第3の信号
の規定に応じて、デジタル・パターン検出回路、数値部
抽出回路(例えばパルス数カウンタ、伝送データ変換回
路など)などで実現され、第2の信号検出手段の出力に
より起動された後、下流からの第3の信号を検出する
と、その数値部をセレクタ経由で第1の記憶手段48に
セットする。
The third signal detection means 46 is realized by a digital pattern detection circuit, a numerical value extraction circuit (for example, a pulse number counter, a transmission data conversion circuit, etc.) according to the definition of the third signal. After being activated by the output of the second signal detection means, when a third signal from downstream is detected, the numerical value part is set in the first storage means 48 via the selector.

【0084】同時に、この数値に、第1の加算手段50
で前記所定の数値1を加算した値を、第3の信号の送出
手段49に数値部として入力し、上流へ、数値部が、下
流から受信した第3の信号の数値部の値に1を加算した
値である第3の信号が送出される。
At the same time, the first adding means 50
Then, the value obtained by adding the predetermined numerical value 1 is input to the third signal transmitting means 49 as a numerical value part, and the numerical value part is upstream, and the numerical value part of the third signal received from the downstream is one. A third signal that is the added value is transmitted.

【0085】図4は、本実施例における中央記録装置の
構成図である。中央記録装置1が「伝送路の初期化」を
必要とするとき、シーケンス起動信号が本構成図の部分
に入力され、第1の信号の送出手段51、第1の時間監
視手段44、第2の信号の検出手段45が起動される。
FIG. 4 is a configuration diagram of the central recording apparatus in the present embodiment. When the central recording device 1 needs to "initialize the transmission path", a sequence start signal is input to the portion of this block diagram, and the first signal transmitting means 51, the first time monitoring means 44, the second Signal detection means 45 is activated.

【0086】第1の信号の送出手段51は、第1の信号
として規定された所定の信号波形を発生する回路で実現
され、起動されると、下流へ第1の信号を送出する。
The first signal transmitting means 51 is realized by a circuit for generating a predetermined signal waveform defined as the first signal, and when activated, transmits the first signal downstream.

【0087】第1の時間監視手段44は、タイマ回路あ
るいはカウンタ回路などで実現され、その出力は通常0
であるが、起動されて所定の時間が経過すると1にな
り、監視時間が経過したことを示す。この出力は、第2
の信号の検出手段45の出力により時間監視が停止した
場合は0のままとなる。
The first time monitoring means 44 is realized by a timer circuit or a counter circuit, the output of which is normally 0.
However, it becomes 1 when a predetermined time elapses after being activated, indicating that the monitoring time has elapsed. This output is
When the time monitoring is stopped by the output of the signal detection means 45, the signal remains at 0.

【0088】第2の信号の検出手段45は、デジタル・
パターン検出回路などで実現され、下流からの第2の信
号が検出されると、その出力により第1の時間監視手段
44の動作を停止させる。
The second signal detection means 45 is a digital signal detector.
This is realized by a pattern detection circuit or the like, and when the second signal from the downstream is detected, the operation of the first time monitoring means 44 is stopped by the output.

【0089】第1の時間監視手段44の出力が1になる
と、すなわち、下流へ第1の信号を送出してから所定の
時間以内に下流から第2の信号が検出されないと、セレ
クタ47の出力は特定の初期値、例えば0となり、第1
の記憶手段48には0がセットされる。
If the output of the first time monitoring means 44 becomes 1, that is, if the second signal is not detected from the downstream within a predetermined time after sending the first signal to the downstream, the output of the selector 47 is output. Is a specific initial value, for example, 0,
0 is set in the storage means 48 of.

【0090】一方、第1の時間監視手段44の出力が0
であれば、すなわち、下流へ第1の信号を送出してから
所定の時間以内に下流から第2の信号が検出されれば、
セレクタ47の出力は、第3の信号の検出手段46の数
値出力となり、下流からの第3の信号が検出されるのを
待つ状態となる。
On the other hand, if the output of the first time monitoring means 44 is 0
That is, if the second signal is detected from the downstream within a predetermined time after sending the first signal to the downstream,
The output of the selector 47 becomes the numerical output of the third signal detecting means 46, and is in a state of waiting for the detection of the third signal from the downstream.

【0091】第3の信号の検出手段46は、第3の信号
の規定に応じて、デジタル・パターン検出回路、数値部
抽出回路(例えばパルス数カウンタ、伝送データ変換回
路など)などで実現され、第2の信号検出手段の出力に
より起動された後、下流からの第3の信号を検出する
と、その数値部をセレクタ経由で第1の記憶手段48に
セットする。
The third signal detection means 46 is realized by a digital pattern detection circuit, a numerical value extraction circuit (for example, a pulse number counter, a transmission data conversion circuit, etc.) in accordance with the definition of the third signal. After being activated by the output of the second signal detection means, when a third signal from downstream is detected, the numerical value part is set in the first storage means 48 via the selector.

【0092】以上の説明により、本発明によれば、シス
テム起動シーケンスにおける伝送路初期化シーケンスに
おいて、中央記録装置が接続されているデータ収集端末
装置の台数を把握することができることは明らかであ
る。前記特定の初期値が0でない場合や、前記所定の値
が1でない場合においても、それらの値が中央記録装置
に把握されていれば、同様にデータ収集端末装置の台数
を求めることが可能である。
As described above, according to the present invention, it is apparent that the number of data collection terminal devices to which the central recording device is connected can be grasped in the transmission line initialization sequence in the system startup sequence. Even if the specific initial value is not 0 or the predetermined value is not 1, if those values are known by the central recording device, the number of data collection terminal devices can be similarly calculated. is there.

【0093】図5は、本実施例による、システム起動シ
ーケンスのフローチャートである。図33に示す従来の
分散型データ収集システムにおけるシステム起動シーケ
ンスのフローチャートと比較しながら、本発明の効果を
説明する。
FIG. 5 is a flowchart of a system startup sequence according to this embodiment. The effect of the present invention will be described in comparison with a flowchart of a system startup sequence in the conventional distributed data collection system shown in FIG.

【0094】まず、従来の分散型データ収集システムに
おける伝送路初期化シーケンスS1においては、接続さ
れ得る最大台数のデータ収集端末装置を初期化するのに
必要な長さ以上の時間が必要となるが、伝送路初期化シ
ーケンスS11においては、図2の説明で明らかなよう
に、接続されているデータ収集端末装置の数に応じた時
間で実行終了する。これは、図6(本発明)および図3
4(従来)のタイムチャートの比較でも明らかである。
例えば、物理探査装置においては、実際の最大台数は1
000程度で、実用される台数が100程度であるか
ら、その差は非常に大である。
First, in the transmission line initialization sequence S1 in the conventional distributed data collection system, a time longer than the length required to initialize the maximum number of data collection terminal devices that can be connected is required. In the transmission path initialization sequence S11, the execution ends in a time corresponding to the number of connected data collection terminal devices, as is apparent from the description of FIG. This is shown in FIG. 6 (invention) and FIG.
4 (conventional) is also clear from the comparison of the time charts.
For example, in a geophysical survey device, the actual maximum number is 1
The difference is very large because the number of practical units is about 100 at about 000.

【0095】次に、アドレス・セット・シーケンスS1
2〜S16については、従来の技術によるS2〜S7で
は、タイムオーバという異常状態で終了するために問題
があることを「発明が解決しようとする課題」の項で述
べた。しかし、本発明によれば、伝送路初期化シーケン
スS11の結果として、データ収集端末装置の台数Nが
得られるのであるから、タイムオーバの異常は、実際に
途中の伝送路等の異常がない限り発生しないことは明ら
かであり、シーケンスが簡素化された。
Next, the address set sequence S1
Regarding 2 to S16, in the section of "Problems to be Solved by the Invention", it has been described that there is a problem in S2 to S7 according to the related art that the process ends in an abnormal state of time over. However, according to the present invention, the number N of data collection terminal devices can be obtained as a result of the transmission path initialization sequence S11. Obviously this does not happen and the sequence has been simplified.

【0096】このような効果は、実際に障害が発生し得
る状況においてシステム起動シーケンスを確実に完了さ
せるために複数回の再試行を行う場合には、さらに大き
なものとなる。従来の技術による場合は、図33の全て
のフローを繰り返さなければならないのに対して、本発
明においては、伝送路初期化シーケンスS11のみを繰
り返せばよい。
Such an effect becomes even greater when a plurality of retries are performed in order to surely complete the system startup sequence in a situation where a failure may actually occur. In the case of the conventional technique, all the flows in FIG. 33 must be repeated, whereas in the present invention, only the transmission path initialization sequence S11 needs to be repeated.

【0097】さらに、この伝送路初期化シーケンスの確
度を高め、従来の技術からの改善効果を一層大きなもの
とするのが、次に説明する本発明の第2の実施例であ
る。
Further, the second embodiment of the present invention described below enhances the accuracy of the transmission line initialization sequence and further enhances the effect of improvement over the prior art.

【0098】図9は、本発明の第2の実施例におけるデ
ータ収集端末装置の構成図である。
FIG. 9 is a configuration diagram of a data collection terminal device according to the second embodiment of the present invention.

【0099】図3に示す第1の実施例との違いは、上流
からの信号入力と第1の信号の検出手段との間、およ
び、下流からの信号入力と第2の信号の検出手段45、
第3の信号の検出手段46との間とに、信号高品位化手
段61を挿入したことである。これにより、入力信号に
含まれる雑音あるいはエラーを除去または抑制すること
ができ、本発明の最重要点である「データ収集端末装置
の台数把握」を極めて確度の高いものとする効果を得る
ことができる。
The difference from the first embodiment shown in FIG. 3 is that between the signal input from the upstream and the means for detecting the first signal, and between the signal input from the downstream and the means for detecting the second signal 45. ,
This means that the signal quality improving means 61 is inserted between the third signal detecting means 46 and the third signal detecting means 46. Thereby, noise or errors included in the input signal can be removed or suppressed, and the most important point of the present invention, that is, “acquisition of the number of data collection terminal devices” can be obtained with extremely high accuracy. it can.

【0100】信号高品位化手段61は、次の条件により
実現される。
The signal quality improving means 61 is realized under the following conditions.

【0101】まず、第1〜第3の信号(以降、特殊信号
と称す)を伝送路の伝送性能に対して十分に冗長性のあ
る信号形式に規定する。次に、回路として、この冗長性
を利用したアナログ・フィルタまたはデジタル・フィル
タあるいは誤り検出/訂正手段などの信号高品位化手段
を採用し、特殊信号を信号高品位化手段を通過させるこ
とにより、信号の品位すなわち確度を向上させる。
First, the first to third signals (hereinafter referred to as special signals) are defined in a signal format having sufficient redundancy with respect to the transmission performance of the transmission line. Next, as a circuit, a signal quality enhancing means such as an analog filter or a digital filter utilizing this redundancy or an error detection / correction means is adopted, and a special signal is passed through the signal quality enhancing means. Improve signal quality, that is, accuracy.

【0102】図12及び図13に容易に実現可能な例を
示す。この例では、伝送路がAMI符号あるいはダイコ
ード符号などを伝送するバイポーラ・デジタル信号伝送
路の場合で、通常の命令信号等では4Mbpsの伝送性
能をもつが、特殊信号には周期でT2が128倍、パル
ス幅T1が20倍の信号を規定している。これにより、
伝送路の伝送性能に対して十分に狭帯域のアナログ・フ
ィルタまたはデジタル・フィルタを通過させることがで
き、確度を向上させることができる。なお、図10及び
図11に、信号高品位化手段の実施例として良く知られ
ているLPF(低域通過フィルタ)を示す。
FIGS. 12 and 13 show examples that can be easily realized. In this example, the transmission path is a bipolar digital signal transmission path for transmitting an AMI code or a dicode code, and has a transmission performance of 4 Mbps for a normal command signal or the like. And a pulse width T1 of 20 times. This allows
It is possible to pass an analog filter or a digital filter having a sufficiently narrow band with respect to the transmission performance of the transmission path, thereby improving the accuracy. FIGS. 10 and 11 show an LPF (low-pass filter) which is well known as an embodiment of the signal quality improving means.

【0103】他の実施例としては、特殊信号を誤り訂正
符号化し(垂直パリティ+水平パリティ、CRCコード
他のハミング符号など公知例多数)、信号高品位化手段
としてその冗長性を除去する誤り訂正回路を採用する方
法、あるいは、同一パターンを3回以上繰り返した特殊
信号を定義し、信号高品位化手段として多数決回路を採
用するなど、既知の技術で十分に実現可能である。
As another embodiment, a special signal is subjected to error correction coding (a number of known examples such as vertical parity + horizontal parity, CRC code and other hamming codes), and error correction is performed as signal quality improving means to remove the redundancy. This can be sufficiently realized by a known technique, such as a method using a circuit, or defining a special signal in which the same pattern is repeated three or more times and employing a majority circuit as a signal quality improving means.

【0104】なお、本実施例の中央記録装置の部分は、
同様にして、図4の下流からの信号入力と、第2の信号
の検出手段45および第3の信号の検出手段46との間
に、信号高品位化手段61を挿入することにより実現さ
れる。
Note that the central recording device of this embodiment is
Similarly, this is realized by inserting a signal quality improving unit 61 between the signal input from the downstream in FIG. 4 and the second signal detecting unit 45 and the third signal detecting unit 46. .

【0105】以上の説明から明らかなように、本発明の
第2の実施例によれば、システム初期化シーケンスにお
いて確度を向上させるための再試行部分が、伝送路初期
化シーケンスに限られるため、特殊信号として、通常の
命令信号等に対して十分に冗長性のある信号を規定して
おり、データ収集などの通常の運用シーケンスの効率を
落とすことなく、システム初期化シーケンスの確度を向
上させることができる。
As apparent from the above description, according to the second embodiment of the present invention, the retry portion for improving the accuracy in the system initialization sequence is limited to the transmission path initialization sequence. As a special signal, a signal that has sufficient redundancy with respect to the normal command signal etc. is specified, and the accuracy of the system initialization sequence is improved without lowering the efficiency of the normal operation sequence such as data collection. Can be.

【0106】次に、本発明の第1の要点(データ収集端
末装置の数を容易に把握できる手段を提供)について
の、第3の実施例について、図14〜図18を参照して
説明する。
Next, a third embodiment of the first essential point of the present invention (providing means for easily grasping the number of data collection terminal devices) will be described with reference to FIGS. .

【0107】図14は、第3の実施例におけるタイムチ
ャート、図15はそのデータ収集端末装置の構成図であ
る。
FIG. 14 is a time chart in the third embodiment, and FIG. 15 is a configuration diagram of the data collection terminal device.

【0108】本実施例では、伝送路がバイポーラ・デジ
タル信号伝送路である場合であって、第1の信号を所定
のパルス幅で所定の周期の負のパルス列信号、第2の信
号を同じパルス幅で正負を交互に2回ずつ繰り返すパル
ス信号、第3の信号を同じパルス幅・周期でパルス数が
数値部である正のパルス列信号と最後に負の1パルスで
あるエンドマークのように規定している。
In this embodiment, when the transmission path is a bipolar digital signal transmission path, the first signal is a negative pulse train signal with a predetermined pulse width and a predetermined period, and the second signal is the same pulse signal. A pulse signal that alternates between positive and negative twice in width, and a third signal is defined as a positive pulse train signal with the same pulse width and period, the number of pulses is a numerical part, and an end mark that is one negative pulse at the end. doing.

【0109】(1)〜(20)の説明については、図2
の説明とほぼ同じであるので詳細は省略する。ただし、
第3の信号は、正のパルスの数が数値であり、その数は
データ収集端末装置で上流へ中継されるごとに1づつ増
加する。なお、エンドマークは、本実施例のように負の
パルスであるか、他の特定のパターンであるか、あるい
は所定時間以上の無信号でもよい。
For the description of (1) to (20), see FIG.
Since the description is almost the same as that described above, the details are omitted. However,
In the third signal, the number of positive pulses is a numerical value, and the number increases by one each time it is relayed upstream by the data collection terminal device. Note that the end mark may be a negative pulse as in this embodiment, another specific pattern, or no signal for a predetermined time or more.

【0110】また、図15は、本実施例の第3の信号の
数値部がパルス列でありパルス数が数値であることに着
目して、第3の信号の検出手段46から第3の信号の送
出手段49までの部分を、第1の実施例(図3)の同部
分とは別の手段で実現したものである。
FIG. 15 shows that the numerical value part of the third signal of the present embodiment is a pulse train and the number of pulses is a numerical value. The part up to the sending means 49 is realized by means different from the same part in the first embodiment (FIG. 3).

【0111】第3の信号の検出手段へ、下流から第3の
信号が入力されると、第3の信号数値パルス分離手段9
1により数値がパルス数として抽出され、パルス数をカ
ウントするカウンタ回路で構成された第1の記憶手段4
8に入力され、結果として第1の記憶手段には、下流か
らの第3の信号の数値部の値がセットされる。また、第
3の信号数値パルス分離手段91は、最初のパルスで第
3の信号数値パルス送出手段94を起動し、第3の信号
数値パルス送出手段94は、1パルス分の時間だけ遅れ
て数値部パルスの送出を開始する。その後、第3の信号
エンドマークの検出手段92は、下流からの第3の信号
のエンドマークを検出し、第1の遅延手段93により1
パルス分の時間だけ遅れた後、第3の信号数値パルス送
出手段94を停止し、第3の信号エンドマークの送出手
段95を起動する。第3の信号数値パルス送出手段94
は、1パルス分の時間だけ遅れて数値部パルスの送出を
停止する。第3の信号エンドマークの送出手段95は、
1パルス分の時間だけ遅れてエンドマークを送出する。
When the third signal is input from the downstream to the third signal detecting means, the third signal numerical pulse separating means 9
The first storage means 4 which is constituted by a counter circuit for extracting a numerical value as a pulse number by 1 and counting the pulse number
8, the value of the numerical part of the third signal from the downstream is set in the first storage means as a result. Further, the third signal numerical pulse separating means 91 activates the third signal numerical pulse transmitting means 94 at the first pulse, and the third signal numerical pulse transmitting means 94 delays the numerical value by one pulse. The transmission of the partial pulse is started. Thereafter, the third signal end mark detecting means 92 detects the end mark of the third signal from the downstream, and the first delay means 93 outputs 1st mark.
After a delay of the pulse time, the third signal numerical pulse sending means 94 is stopped and the third signal end mark sending means 95 is activated. Third signal numerical pulse sending means 94
Stops the transmission of the numerical part pulse with a delay of one pulse. The third signal end mark sending means 95 includes:
The end mark is transmitted with a delay of one pulse.

【0112】この結果、上流への第3の信号の数値部パ
ルス数は、下流からの第3の信号の数値部パルス数よ
り、第1の遅延手段93での遅れの分、すなわち1パル
スだけ多くなる。
As a result, the number of pulses of the numerical part of the third signal going upstream is smaller than the number of pulses of the numerical part of the third signal coming downstream by the delay of the first delay means 93, that is, one pulse. More.

【0113】なお、第1の時間監視手段44の出力が1
(監視時間オーバ)になれば、第3の信号数値パルス送
出手段94の起動後、第1の遅延手段により1パルス分
の時間だけ遅れて、第3の信号数値パルス送出手段94
が停止され、第3の信号エンドマークの送出手段95が
起動されるので、上流へ数値部パルス数が1の第3の信
号が送出される。
The output of the first time monitoring means 44 is 1
If (monitoring time is over), the third signal numerical pulse sending means 94 is delayed by the first delay means by one pulse after the activation of the third signal numerical pulse sending means 94.
Is stopped and the third signal end mark sending means 95 is activated, so that a third signal having a numerical part pulse number of 1 is sent upstream.

【0114】以上の例の他にも、いくつかの特殊信号の
形式を例示して、対応する装置の例を容易に示すことが
できるが、以降は、特殊信号の形式の例を説明し、装置
の具体的構成の詳細説明は省略する。
In addition to the above examples, some special signal formats can be exemplified to easily show examples of corresponding devices. Hereinafter, examples of special signal formats will be described. A detailed description of the specific configuration of the device will be omitted.

【0115】図16及び図17は、NRZ(Non R
eturn to Zero)デジタル信号伝送におけ
る特殊信号の形式の例である。
FIGS. 16 and 17 show NRZ (Non R).
7 is an example of the format of a special signal in digital signal transmission.

【0116】図16に示す波形W11〜W13は、第1
〜第3の信号の各々に、異なる周期のパルス列を規定し
た例である。各信号の検出は、パルス幅検出回路により
容易に検出および区別をすることができる。
The waveforms W11 to W13 shown in FIG.
This is an example in which pulse trains having different periods are defined for each of the third to third signals. Detection of each signal can be easily detected and distinguished by a pulse width detection circuit.

【0117】図17に示す波形W21〜W23は、第1
の信号を周期信号とし、第2の信号は同相、第3の信号
は、数値部を逆相、エンドマーク部を同相とした例であ
る。これも、対応する回路は容易に実現できる。
The waveforms W21 to W23 shown in FIG.
Is an example in which the second signal has the same phase, the third signal has the opposite phase in the numerical value part, and the same phase in the end mark part. Again, the corresponding circuit can be easily realized.

【0118】なお、W13およびW23において、エン
ドマーク部は無信号の時間を検出することで代用しても
よい。
In W13 and W23, the end mark portion may be substituted by detecting the time of no signal.

【0119】図18は、半二重デジタル信号伝送におけ
る伝送路初期化シーケンスのタイムチャートの一例であ
る。
FIG. 18 is an example of a time chart of a transmission line initialization sequence in half-duplex digital signal transmission.

【0120】半二重伝送路で、上流/下流双方向の信号
が同時に存在することができないため、第1の信号の中
間で一時休止状態となることを除いては、図2の例とほ
ぼ同様である。
In the half-duplex transmission line, since signals in both the upstream and downstream directions cannot exist at the same time, except that the signal is temporarily suspended in the middle of the first signal, almost the same as the example of FIG. The same is true.

【0121】なお、第1の信号の後部(16)〜(2
0)は、伝送路初期化の終了を示すためのものである
が、第3の信号の送出にその意味も兼ねさせれば、不要
となる。
Incidentally, the rear part (16) to (2) of the first signal
0) indicates the end of the transmission path initialization, but becomes unnecessary if the transmission of the third signal also has its meaning.

【0122】次に、本発明の第2の要点は、データ収集
等の命令信号に対する応答信号がない(タイムオーバ)
障害が発生した場合に、即座にその障害箇所を特定する
手段を提供することである。
Next, the second point of the present invention is that there is no response signal to a command signal such as data collection (time over).
An object of the present invention is to provide a means for immediately specifying a location of a failure when a failure has occurred.

【0123】本発明では、本発明の第1の要点を実現し
た第1〜3の実施例の応用により、第2の要点を実現し
ている。
In the present invention, the second essential point is realized by applying the first to third embodiments which realize the first essential point of the present invention.

【0124】まず、従来の技術では、タイムオーバが発
生すると、中央記録装置はデータ収集端末装置からの応
答信号を受信することができないから、その原因である
障害箇所の特定作業が必要となり、問題点があること
を、「発明が解決しようとする課題」の項で述べた。
First, according to the prior art, when a time-over occurs, the central recording device cannot receive a response signal from the data collection terminal device, so that it is necessary to identify the cause of the failure, which is a problem. This point was mentioned in the section "Problems to be solved by the invention".

【0125】この、「応答信号を受信できない」点につ
いては、従来の技術でも、データ収集端末装置に応答信
号の時間監視機能を持たせることにより、検出を可能と
していた。
[0125] Regarding the point that "response signal cannot be received", even in the prior art, it has been possible to detect it by providing the data collection terminal device with a time monitoring function of the response signal.

【0126】図37及び図38は、その一例である。各
データ収集端末装置221〜223は、上流からの命令
信号(1)〜(3)を受信終了すると、その命令信号中
のアドレス(A4)が自分宛でないので、下流からの応
答信号の中継待ち状態となり、待ち時間の監視タイマを
起動する((5)〜(7))。データ収集端末装置22
4は命令信号(4)を受信終了すると、自分宛なので、
応答信号(9)を上流へ送出する。しかし、この応答信
号は、障害により、データ収集端末装置221〜223
へ到達することができないから、各々の応答信号待ち時
間タイムオーバ((10)、(12)、(14))によ
り、各々がタイムオーバを示す応答信号を上流へ送出す
る((11)、(13)、(15))。
FIGS. 37 and 38 show an example. When each of the data collection terminal devices 221 to 223 has finished receiving the command signals (1) to (3) from the upstream, the address (A4) in the command signals is not addressed to itself, and thus the data collection terminal devices 221 to 223 wait for the relay of the response signal from the downstream. The state becomes the state, and the monitoring timer for the waiting time is started ((5) to (7)). Data collection terminal device 22
4 ends receiving the command signal (4), and is addressed to itself.
A response signal (9) is sent upstream. However, this response signal is transmitted to the data collection terminal devices 221 to 223 due to a failure.
, The response signal indicating the time-over is sent upstream due to the respective response signal waiting time timeout ((10), (12), (14)) ((11), ( 13), (15)).

【0127】ここで、明らかなように、その監視時間は
全てのデータ収集端末装置で同じであるので、中央記録
装置201に到達する応答信号は、1台目のデータ収集
端末装置221からのものであるから、やはり、障害箇
所を即座に把握することはできない。
Here, as is apparent, the monitoring time is the same for all the data collection terminal devices, so that the response signal arriving at the central recording device 201 is the signal from the first data collection terminal device 221. Therefore, it is impossible to immediately grasp the location of the failure.

【0128】従って、伝送路が半二重であって、通信方
向を所定の時間でリセットする(上流からの信号受信待
ちにする)ような用途を除いては、あまり意味がない。
Therefore, there is not much meaning except for an application in which the transmission path is half-duplex and the communication direction is reset at a predetermined time (waiting for signal reception from upstream).

【0129】これに対して、本発明では、障害箇所の直
前(中央記録装置1から見て)にあるデータ収集端末装
置から、タイムオーバの異常を検出したことを示す応答
信号が送出されるので、中央記録装置1は、即座に障害
箇所を把握することができる。
On the other hand, in the present invention, a response signal indicating that a time-over abnormality has been detected is transmitted from the data collection terminal device immediately before the point of failure (as viewed from the central recording device 1). In addition, the central recording device 1 can immediately grasp the failure location.

【0130】以下、図を参照しながら、本発明の第2の
要点を実現する第4の実施例について説明する。
Hereinafter, a fourth embodiment for realizing the second essential point of the present invention will be described with reference to the drawings.

【0131】図20は、図19に示すシステムによる、
応答信号タイムオーバ対策の一例を示すタイムチャート
である。
FIG. 20 shows an example of the system shown in FIG.
It is a time chart which shows an example of a response signal time-over measure.

【0132】各データ収集端末装置21〜24が上流か
らの命令信号(1)〜(4)を受信完了し、応答信号の
待ち時間監視タイマを起動し((5)〜(7))、デー
タ収集端末装置24が上流へ応答信号(9)を送出する
が、障害のため、応答信号がデータ収集端末装置23
へ到達できないところまでは、従来の技術の場合を示し
た図37及び図38と同じである。
Each of the data collection terminal devices 21 to 24 completes receiving the command signals (1) to (4) from the upstream, starts a response signal waiting time monitoring timer ((5) to (7)), and The collection terminal device 24 sends a response signal (9) to the upstream, but the response signal is sent to the data collection terminal device 23 due to a failure.
37 and 38, which show the case of the conventional technique, up to the point where it cannot be reached.

【0133】ここで、本発明では、応答信号の待ち時間
の最大値(I)が、中央記録装置1が最大で、中央記録
装置1に近いデータ収集端末装置ほど大きくなるように
設定されている。本例では、図21に示す各装置内の第
1の記憶手段48の内容(K)に応じて、 I = T
0 + Tw × K となるような作用をもつ第1の
演算手段75をもつ場合を示している。T0、Twは時
間定数である。この結果、図20で明らかなように、一
番最初に応答信号のタイムオーバを検出するのは、デー
タ収集端末装置23であり、データ収集端末装置23
が、自分のアドレス(A3)およびタイムオーバ情報
(ST)を持つ応答信号を上流へ送出する。この応答信
号は、中央記録装置1およびデータ収集端末装置21〜
22がタイムオーバを検出するより早く、各装置に到達
するから、これらの装置ではタイムオーバを検出するこ
となく、この応答信号を受信または中継する。
Here, in the present invention, the maximum value (I) of the waiting time of the response signal is set so that the central recording device 1 is maximum and the data collection terminal device closer to the central recording device 1 becomes longer. . In this example, according to the content (K) of the first storage means 48 in each device shown in FIG.
The figure shows a case where there is a first calculating means 75 having an action such that 0 + Tw × K. T0 and Tw are time constants. As a result, as apparent from FIG. 20, it is the data collection terminal device 23 that first detects the time-over of the response signal, and the data collection terminal device 23
Sends a response signal having its own address (A3) and time-over information (ST) upstream. This response signal is transmitted to the central recording device 1 and the data collection terminal devices 21 to 21.
These devices receive or relay this response signal without detecting a time-over because the devices 22 reach each device sooner than the time-out is detected.

【0134】従って、中央記録装置1は、受信した応答
信号のステータス部(ST)からタイムオーバ障害が発
生したことを把握し、そのアドレス部(A3)から、デ
ータ収集端末装置23と、データ収集端末装置24との
間が、障害箇所であることを把握できる。
Therefore, the central recording device 1 recognizes that a time-over fault has occurred from the status portion (ST) of the received response signal, and from the address portion (A3), the data collection terminal device 23 and the data collection terminal 23 It is possible to grasp that a failure point is located between the terminal device 24 and the terminal device 24.

【0135】また、同様の障害が、中央記録装置1とデ
ータ収集端末装置21との間で発生した場合に限り、中
央記録装置1には応答信号が到達しないので、中央記録
装置1は、応答信号を検出できない場合にも、障害箇所
を把握することができる。しかも、その応答信号の最大
待ち時間は、接続されるデータ収集端末装置の数によっ
て自動的に設定されるので、中央記録装置1は、従来の
ように、データ収集端末装置台数が最大数であることを
想定した時間を待つ必要がなく、より短時間で障害を発
見することができる。
Also, the response signal does not reach the central recording device 1 only when a similar failure occurs between the central recording device 1 and the data collection terminal device 21, so that the central recording device 1 Even when no signal can be detected, the location of the failure can be grasped. In addition, since the maximum waiting time of the response signal is automatically set according to the number of connected data collection terminal devices, the central recording device 1 has the maximum number of data collection terminal devices as in the related art. There is no need to wait for a time assuming that a failure has occurred, and a failure can be found in a shorter time.

【0136】尚、データ収集シーケンス中のタイムオー
バ処理のフローチャートを図7に示すが、図35に示す
従来技術よりも簡素化されている。また、同じくタイム
オーバ処理のタイムチャートを図8に示すが、図36に
示す従来技術よりも短縮されていることが分る。
FIG. 7 shows a flowchart of the time-over process during the data collection sequence, which is simpler than the conventional technique shown in FIG. FIG. 8 shows a time chart of the time-over process, and it can be seen that the time chart is shorter than that of the prior art shown in FIG.

【0137】図21は、本実施例におけるデータ収集端
末装置の構成である。
FIG. 21 shows the configuration of the data collection terminal device in this embodiment.

【0138】図中で、二重枠のブロック(48、75)
以外の部分は、他の実施例と同様であるから、他のブロ
ックの詳細説明は省く。
In the figure, double-framed blocks (48, 75)
The other parts are the same as those of the other embodiments, and the detailed description of the other blocks will be omitted.

【0139】上流からの命令信号が入力されると、命令
信号の検出手段71がこれを検出し、命令信号の中継手
段72を起動して、命令信号を下流へ中継する。同時
に、応答信号の検出手段74、および、第2の時間監視
手段73を起動する。
When a command signal from the upstream is input, the command signal detecting means 71 detects this and activates the command signal relay means 72 to relay the command signal to the downstream. At the same time, the response signal detecting means 74 and the second time monitoring means 73 are activated.

【0140】下流からの応答信号が、第2の時間監視手
段73の監視時間以内に、応答信号の検出手段74によ
り検出された場合は、応答信号の中継手段76が起動さ
れ、応答信号は上流へ中継される。
If the response signal from the downstream is detected by the response signal detecting means 74 within the monitoring time of the second time monitoring means 73, the response signal relay means 76 is activated and the response signal is transmitted to the upstream. Relayed to

【0141】一方、下流の応答信号が、第2の時間監視
手段73の監視時間以内に、応答信号の検出手段74に
より検出されない場合は、第2の時間監視手段73の出
力が1となることにより、応答信号受信不能ステータス
78(タイムオーバ)が応答信号の送出手段79によ
り、上流へ送出される。
On the other hand, when the downstream response signal is not detected by the response signal detecting means 74 within the monitoring time of the second time monitoring means 73, the output of the second time monitoring means 73 becomes 1. As a result, the response signal unreceivable status 78 (time over) is transmitted upstream by the response signal transmitting means 79.

【0142】本実施例においては、この第2の時間監視
手段73の監視時間として、第1の実施例における第1
の記憶手段48の内容を入力とする第1の演算手段75
の出力がセットされていることが特徴である。第1の演
算手段75は、その入力値に対して、単調増加関係にあ
る出力値が得られるものである。これは、データ収集端
末装置が、プログラム可能なMPU(マイクロ・プロセ
ッサ)システムで構成され、そのMPUが第1の記憶手
段の内容を読むことができ、その値にプログラムされた
演算を施した後、第2の時間監視手段73にセットでき
るようにするなどにより、容易に実現することができ
る。あるいは、第1の演算手段75は、記憶内容に所定
の出力値が格納されているROM(リード・オンリー・
メモリ)またはRAM(ランダム・アクセス・メモリ)
等の記憶手段であって、入力をアドレス端子とし、出力
をデータ端子として接続することによっても実現でき
る。
In the present embodiment, the monitoring time of the second time monitoring means 73 is the first time in the first embodiment.
First calculating means 75 which receives the contents of the storing means 48 as an input
Is set. The first calculating means 75 is for obtaining an output value having a monotonically increasing relationship with the input value. This is because after the data collection terminal device is configured with a programmable MPU (microprocessor) system, the MPU can read the contents of the first storage means and performs a programmed operation on the value. , The second time monitoring means 73 can be easily set. Alternatively, the first arithmetic means 75 may be a ROM (read only) in which a predetermined output value is stored in the storage content.
Memory) or RAM (random access memory)
And the like, which can be realized by connecting an input as an address terminal and an output as a data terminal.

【0143】なお、前記単調増加の特性は、隣合う出力
数値の間に、少なくとも、データ収集端末装置間の、命
令信号および応答信号の伝播遅延時間と中継遅延時間の
総和の分だけ、差を持たせることにより、上流側が先に
タイムオーバを検出することがないように設計されてい
る。
The characteristic of the monotonic increase is that the difference between adjacent output values is at least the sum of the propagation delay time of the command signal and the response signal and the relay delay time between the data collection terminals. By having it, it is designed so that the upstream side does not detect time-out first.

【0144】なお、中央記録装置においても、同様の時
間監視機能を持たせることを実現できることは明らかで
ある。
It is obvious that the central recording device can be provided with a similar time monitoring function.

【0145】また、中央記録装置において、(1) タ
イムオーバの監視時間値(I)以内に、前記タイムオー
バ情報を持たない応答信号を受信した場合は、該応答信
号を正常に受信したものとして以降の所定の処理を行う
手段、(2) 前記タイムオーバ情報を持つ応答信号を
受信した場合は、該応答信号に含まれるアドレスをもつ
データ収集端末装置と、その一つ下流側のデータ収集端
末装置との間に、応答信号が該中央記録装置へ到達でき
ない原因となった障害箇所が存在することを記録する手
段、(3) 一方、時間値(I)以内に該応答信号を受
信しなかった場合は、該中央記録装置と、該中央記録装
置に一番近いデータ収集端末装置との間に、応答信号が
該中央記録装置に到達できない原因となった障害箇所が
存在することを記録する手段、は、中央記録装置が、通
常、コンピュータ・システムで構成されることにより、
容易に実現できることも明らかである。
In the central recording device, (1) when a response signal having no time-over information is received within the time-out monitoring time value (I), it is determined that the response signal has been normally received. Means for performing predetermined processing thereafter; (2) when a response signal having the time-over information is received, a data collection terminal device having an address included in the response signal, and a data collection terminal one downstream of the data collection terminal device Means for recording that there is a failure point between the device and the device that has prevented the response signal from reaching the central recording device. (3) On the other hand, the response signal is not received within the time value (I). In this case, it is recorded that there is a failure point between the central recording device and the data collection terminal device closest to the central recording device, which causes the response signal to be unable to reach the central recording device. Means, a central recording apparatus, usually, by being constituted by a computer system,
It is clear that it can be easily realized.

【0146】以上の説明で明らかなように、本発明の第
2の要点である、「データ収集等の命令信号に対する応
答信号がない(タイムオーバ)障害が発生した場合に、
即座にその障害箇所を特定する手段の提供」は、本実施
例により実現することができる。
As apparent from the above description, the second essential point of the present invention is that when a failure occurs in which there is no response signal to a command signal for data collection or the like (time over),
Provision of a means for immediately specifying the location of a failure ”can be realized by the present embodiment.

【0147】次に、第4の実施例を改善した第5の実施
例について説明する。
Next, a fifth embodiment which is an improvement of the fourth embodiment will be described.

【0148】図22は、第4の実施例に対して、第5の
実施例による改善効果のある例を示したものである。
FIG. 22 shows an example in which the fifth embodiment has an improvement effect over the fourth embodiment.

【0149】分散型データ収集システムにおいて、デー
タ発生場所(システム展開)が逐次移動して行く場合、
図22のように、当初、中央記録装置1には、データ収
集端末装置21〜26が接続されてデータ収集運用が行
われており、その運用中に、データ収集端末装置27〜
29が順次接続されていくような、システム展開作業が
実施される。
In the distributed data collection system, when the data generation place (system development) moves sequentially,
As shown in FIG. 22, data collection terminal devices 21 to 26 are initially connected to the central recording device 1 to perform data collection operation, and during the operation, the data collection terminal devices 27 to 26 are used.
The system deployment work is performed such that the 29 are sequentially connected.

【0150】この場合、当初、各装置内の第1の記憶手
段48の内容Kおよび各データ収集端末装置のアドレス
Aは、STEP1のようにセットされている。
In this case, the contents K of the first storage means 48 in each device and the address A of each data collection terminal device are initially set as in STEP1.

【0151】ここで、データ収集端末装置は、自分より
下流のデータ収集端末装置部分について伝送路を初期化
する手段をもっているものとし、中央記録装置1は、デ
ータ収集端末装置26に命じて、データ収集端末装置2
7〜29の伝送路の初期化を実行させる。この結果、各
装置のKおよびAの値は、STEP2のようになる。
Here, it is assumed that the data collection terminal has means for initializing the transmission path for the data collection terminal located downstream of itself, and the central recording device 1 instructs the data collection terminal 26 to transmit the data to the data collection terminal. Collection terminal device 2
The transmission lines 7 to 29 are initialized. As a result, the values of K and A of each device are as shown in STEP2.

【0152】次に、中央記録装置1により、データ収集
端末装置27〜29を運用範囲に加える手順が実行され
る。まず、Kの値は、データ収集端末装置の総数が6か
ら9に増加したので、中央記録装置1においては9、以
下、データ収集端末装置においては、中央記録装置1に
近い順に、8、7、・・・0とする必要がある。すなわ
ち、データ収集端末装置21〜25において、Kの値を
変更する必要が生じる。
Next, the central recording device 1 executes a procedure for adding the data collection terminal devices 27 to 29 to the operation range. First, the value of K is 9 in the central recording device 1 because the total number of data collection terminal devices has increased from 6 to 9, and thereafter, in the data collection terminal device, 8, 7 ,... 0 must be set. That is, in the data collection terminal devices 21 to 25, the value of K needs to be changed.

【0153】第4の実施例の場合、全てのデータ収集端
末装置について、伝送路の初期化からやり直さなければ
ならず、データ収集運用中は実行できないという問題が
ある。
In the case of the fourth embodiment, there is a problem that all the data collection terminal devices must be restarted from the initialization of the transmission line, and cannot be executed during the data collection operation.

【0154】そこで、第5の実施例では、各データ収集
端末装置が、中央記録装置1からの命令信号により、K
の値を変更する手段をもつことにより、この問題を解決
した。この結果、中央記録装置1は、データ収集運用中
に、次に追加されるデータ収集端末装置をアクセスする
ことができ、かつ、その場合でも、タイムオーバ障害が
発生すれば、即座に、その障害箇所を把握することがで
きる。従って、追加された部分にケーブル断線等の不具
合があれば、未然にその障害を除去することができ、シ
ステム効率の低下を防ぐことができる。
Therefore, in the fifth embodiment, each data collection terminal device receives a command signal from the central recording device 1 to execute K
This problem was solved by having a means for changing the value of. As a result, during the data collection operation, the central recording device 1 can access the data collection terminal device to be added next, and even in that case, if a time-over failure occurs, the failure is immediately performed. The location can be grasped. Therefore, if there is a defect such as a cable break in the added portion, the failure can be eliminated beforehand, and a decrease in system efficiency can be prevented.

【0155】図23は、本実施例におけるデータ収集端
末装置のブロック図である。第4の実施例である図21
との違いは、命令信号の受信手段71が第1の記憶手段
48の内容を、受信した命令信号に含まれる数値に変更
する手段が追加されたのみである。これは、例えば、M
PUが命令信号の数値を読み、第1の記憶手段48にセ
ットするなどにより容易に実施することができる。
FIG. 23 is a block diagram of a data collection terminal device according to this embodiment. FIG. 21 showing a fourth embodiment.
The only difference is that a means for the command signal receiving means 71 changing the contents of the first storage means 48 to a numerical value included in the received command signal is added. This is, for example, M
It can be easily implemented by the PU reading the numerical value of the instruction signal and setting it in the first storage means 48.

【0156】また、第6の実施例は、数値Kの変更作業
をさらに効率化する手段を提供するものである。
The sixth embodiment provides a means for further improving the operation of changing the numerical value K.

【0157】図22において、STEP2からSTEP
3への、データ収集端末装置21〜25の数値の変化を
見ると、全て、追加されたデータ収集端末装置の数(即
ち、3)だけ増加している。すなわち、データ収集端末
装置が、Kの値を、命令信号に含まれる数値分だけ増加
させる手段をもては、中央記録装置1は、同じ命令信号
をデータ収集端末装置21〜25へ送出すればよいこと
になる。さらに、中央記録装置1は、データ収集端末装
置26以降には命令信号が伝わらないように、例えば、
一時的にデータ収集端末装置25に最遠端フラグをセッ
トするなどして、全てのデータ収集端末装置に同時に命
令を実行させる(所謂、ブロードキャスト命令)命令信
号を送出することにより、1命令で、Kの値を変更する
ことができる。
In FIG. 22, from STEP 2 to STEP
Looking at the changes in the numerical values of the data collection terminals 21 to 25 to 3, all of them have increased by the number of added data collection terminals (ie, 3). That is, if the data collection terminal device has means for increasing the value of K by the value included in the command signal, the central recording device 1 sends the same command signal to the data collection terminal devices 21 to 25. It will be good. In addition, the central recording device 1 prevents the command signal from being transmitted to the data collection terminal device 26 and thereafter, for example,
By sending a command signal (so-called broadcast command) for causing all data collection terminal devices to execute commands simultaneously by temporarily setting the farthest end flag in the data collection terminal device 25, etc. The value of K can be changed.

【0158】図24は、第6の実施例におけるデータ収
集端末装置のブロック図である。第5の実施例である図
23との違いは、第1の記憶手段48の内容に、命令信
号の数値を加算する、第2の演算手段80が追加された
のみである。これは、例えば、MPUが命令信号の数値
および第1の記憶手段48の内容を読み、これらを加算
した後、第1の記憶手段48にセットするなどにより容
易に実施することができる。
FIG. 24 is a block diagram of a data collection terminal device according to the sixth embodiment. The difference from the fifth embodiment shown in FIG. 23 is that only a second operation means 80 for adding the value of the command signal to the contents of the first storage means 48 is added. This can be easily implemented by, for example, reading the numerical value of the instruction signal and the contents of the first storage means 48 by the MPU, adding them, and then setting them in the first storage means 48.

【0159】ところで、第4の実施例、図19の説明
で、第1の記憶手段48の内容(K)から、命令信号に
対する下流からの応答信号の最大待ち時間(I)を与え
る、第1の演算手段75の演算の例として、
In the fourth embodiment shown in FIG. 19, the maximum waiting time (I) of the response signal from the downstream to the command signal is given from the content (K) of the first storage means 48. As an example of the calculation of the calculation means 75,

【0160】[0160]

【数1】I = T0 + Tw × K を示した。ここで、T0を、自分宛の命令信号を受信し
たデータ収集端末装置が命令信号の受信完了後、応答信
号を送出するのに必要な時間の最大値+マージン、Tw
を、隣接するデータ収集端末装置間の命令信号の中継遅
延時間と伝送路遅延時間と、応答信号の中継遅延時間と
伝送路遅延時間との総和の最大値(以降、往復中継伝送
遅延時間と称する)+マージン、とすれば、タイムオー
バ障害発生時の無駄な待ち時間を最小にする演算式とな
る。
I = T0 + Tw × K Here, T0 is defined as the maximum time required for transmitting a response signal after the data collection terminal device which has received the command signal addressed to itself and the completion of reception of the command signal + margin, Tw
Is the maximum value of the sum of the relay delay time and the transmission path delay time of the command signal between the adjacent data collection terminal devices and the relay delay time and the transmission path delay time of the response signal (hereinafter referred to as the round-trip relay transmission delay time). ) + Margin, it is an arithmetic expression for minimizing useless waiting time when a time-over fault occurs.

【0161】しかし、前記のT0は、命令信号の種類に
よって大きく異なることがある。例えば、命令信号を受
信完了すると直ちに応答信号を送出するような命令信号
では、T0は小さいが、一方、命令信号を受信完了して
から、装置内部で所定の処理を実行し、その結果を応答
信号に乗せて送出するような命令信号では、T0は大き
くなる。
However, T0 may vary greatly depending on the type of command signal. For example, in the case of a command signal in which a response signal is sent immediately upon completion of the reception of the command signal, T0 is small. In the case of a command signal transmitted on a signal, T0 increases.

【0162】この場合、T0としては後者を選ぶことに
なり、前者の命令信号がほとんどであるようなシステム
では、タイムオーバ障害発生時の無駄な待ち時間が大き
いという問題が生じる。
In this case, the latter is selected as T0. In a system in which most of the former instruction signals are used, there is a problem that a wasteful waiting time when a time-over fault occurs is large.

【0163】このような問題点を解決するのが、第7の
実施例である。
The seventh embodiment solves such a problem.

【0164】その解決手段は、第4の実施例に係る分散
型データ収集システムにおいて、中央記録装置、データ
収集端末装置ともに、命令信号に応じて選択可能な複数
の演算機能をもたせたことである。これによって、命令
信号に応じて、応答信号の待ち時間最大値を最適値とす
ることができ、本問題点が解決される。
The solution is that in the distributed data collection system according to the fourth embodiment, both the central recording device and the data collection terminal device have a plurality of arithmetic functions that can be selected according to the command signal. . As a result, the maximum wait time of the response signal can be set to the optimum value according to the command signal, and this problem is solved.

【0165】図25は、第7の実施例におけるデータ収
集端末装置の構成図であり、第4の実施例である図21
との違いは、第1の演算手段75の代わりに、複数の演
算を選択することのできる第3の演算手段102をも
ち、命令信号受信手段71に、命令信号から演算選択コ
ード保持手段101を付加し、その出力(即ち、演算選
択コード(R))で、演算を選択できるように構成して
いることである。
FIG. 25 is a diagram showing the configuration of a data collection terminal device according to the seventh embodiment.
The difference is that, instead of the first operation means 75, a third operation means 102 capable of selecting a plurality of operations is provided, and the instruction signal receiving means 71 is provided with an operation selection code holding means 101 from the instruction signal. In addition, the configuration is such that the operation can be selected by the output (ie, the operation selection code (R)).

【0166】演算選択コード保持手段101は、命令信
号の所定の部分を保持するレジスタ回路で実現され、第
3の演算手段102は、複数のT0の値を保持するレジ
スタ回路、これらの1つを演算選択入力により選択する
セレクタ回路、加算器、乗算器等で構成するか、あるい
は、演算選択コードがT0を表すように定義すれば、加
算器と乗算器で構成され、または、演算選択コード保持
手段101の内容から所定の演算を選択し、第1の記憶
手段48の内容に作用させて得られる演算結果を、第2
の時間監視手段73にセットするようにプログラムされ
たMPUシステムで構成するなどにより、容易に実現す
ることが可能である。
The operation selection code holding means 101 is realized by a register circuit holding a predetermined portion of the instruction signal, and the third calculation means 102 is a register circuit holding a plurality of T0 values. It is composed of a selector circuit, an adder, a multiplier, etc., selected by the operation selection input, or, if the operation selection code is defined to represent T0, it is composed of an adder and a multiplier, or holds the operation selection code. A predetermined operation is selected from the contents of the means 101, and the result of the operation obtained by operating on the contents of the first
By using an MPU system programmed to be set in the time monitoring means 73, it can be easily realized.

【0167】なお、中央記録装置の構成については、デ
ータ収集端末装置の構成図から、上流側とのインタフェ
ース部分を削除して、容易に構成することができるの
で、説明を省略する。
The configuration of the central recording device can be easily configured by removing the interface portion with the upstream side from the configuration diagram of the data collection terminal device, and therefore the description is omitted.

【0168】また、上記と同様の問題が、前記Twにつ
いても発生する。例えば、有線と無線の伝送路が混在し
ており、有線部分では中継遅延時間の小さい中継方式を
採用し、無線部分では誤り対策として誤り訂正符号によ
る中継遅延時間が大きい伝送中継方式を採用するような
場合、有線部分ではTw(以降、Twcと称する)は小
さく、無線部分ではTw(以降、Twrと称する)は大
きい。
The same problem as described above also occurs for Tw. For example, wired and wireless transmission paths are mixed, and a wired system uses a relay system with a small relay delay time, and a wireless unit uses a transmission relay system with a large relay delay time with an error correction code as an error countermeasure. In such a case, Tw (hereinafter, referred to as Twc) is small in the wired portion, and Tw (hereinafter, referred to as Twr) is large in the wireless portion.

【0169】この場合、Twとしては後者を選ぶことに
なり、有線部分がほとんどであるようなシステムでは、
タイムオーバ障害発生時の無駄な待ち時間が大きいとい
う問題が生じる。
In this case, the latter is selected as Tw. In a system in which most of the wired portion is used,
There is a problem that a wasteful waiting time when a time-over failure occurs is long.

【0170】このような問題点を解決するのが、第8の
実施例である。その解決手段は、第4の実施例における
データ収集端末装置において、下流から受信した第3の
信号の数値部の値に、装置の種類に応じた定数値(T)
を加算した値を新たな数値部とする、第3の信号を上流
へ送出する機能をもたせたことである。ここで、装置ご
とに固有の往復中継伝送遅延時間に比例するような固有
の定数値(T)を割り当てれば、応答信号の最大待ち時
間(I)について、
The eighth embodiment solves such a problem. In the data collection terminal device according to the fourth embodiment, the value of the numerical part of the third signal received from the downstream is set to a constant value (T) corresponding to the type of the device.
And a function of transmitting a third signal to the upstream, in which the value obtained by adding is used as a new numerical value part. Here, if a unique constant value (T) that is proportional to the unique round-trip relay transmission delay time is assigned to each device, the maximum wait time (I) of the response signal is:

【0171】[0171]

【数2】I = T0 + Tw × K の、Tw × K の部分をシステム構成に応じて最適
化することができる。この結果、本問題点が解決され
る。
## EQU2 ## The Tw × K portion of I = T0 + Tw × K can be optimized according to the system configuration. As a result, this problem is solved.

【0172】ただし、中央記録装置が受信する第3の信
号の数値部の内容は、接続されたデータ収集端末装置の
台数ではなく、接続されたデータ収集端末装置のもつ固
有の定数値(T)の総和となる。従って、アドレス・セ
ット・シーケンスにおいては、中央記録装置は第1の記
憶手段48の内容を初期値とする変数(V)をもち、デ
ータ収集端末装置ごとに、アドレス・セットの結果、各
データ収集端末装置に固有の定数値(T)を読み出し
て、変数(V)から順次引いて行き、変数値(V)の値
が最遠端のデータ収集端末装置の第1の記憶手段にセッ
トされている特定の初期値、例えば0になったところ
で、アドレス・セット・シーケンスを終了する。
However, the content of the numerical part of the third signal received by the central recording device is not the number of connected data collection terminal devices, but a unique constant value (T) possessed by the connected data collection terminal devices. Is the sum of Therefore, in the address set sequence, the central recording device has a variable (V) whose initial value is the content of the first storage means 48, and for each data collection terminal device, the address set result and each data collection The constant value (T) unique to the terminal device is read out and sequentially subtracted from the variable (V), and the value of the variable value (V) is set in the first storage means of the farthest end data collection terminal device. When the value reaches a certain initial value, for example, 0, the address set sequence ends.

【0173】以下、図を参照して本実施例を説明する。Hereinafter, this embodiment will be described with reference to the drawings.

【0174】図26は、本実施例による改善を説明する
ための図である。この例では、中央記録装置に、データ
収集端末装置が9台接続されており、データ収集端末装
置23と24との間、および、データ収集端末装置26
と27との間が無線伝送路で、その他は有線伝送路であ
る。有線部分の往復中継伝送遅延時間は2μsec、無
線部分の往復中継伝送遅延時間は100μsecであ
る。従って、データ収集端末装置24および27の固有
の定数値(T)は50、他のデータ収集端末装置では1
である。伝送路初期化シーケンスで、各装置内の第1の
記憶手段の内容(K)は、表のようになり、中央記録装
置1では107となる。従って、Tw×Kの値も、表の
ようになり、中央記録装置では214μsecとなる。
因みに、発明3項によるTw×Kの値は900μsec
となり、本実施例によれば、大きく短縮されることが分
かる。台数がより多ければ、その差はさらに拡大する。
FIG. 26 is a diagram for explaining the improvement according to the present embodiment. In this example, nine data collection terminal devices are connected to the central recording device, and between the data collection terminal devices 23 and 24 and the data collection terminal device 26.
And 27 are wireless transmission paths, and the others are wired transmission paths. The round-trip transmission delay time of the wired portion is 2 μsec, and the round-trip relay transmission delay time of the wireless portion is 100 μsec. Therefore, the constant value (T) unique to the data collection terminals 24 and 27 is 50, and 1 for the other data collection terminals.
It is. In the transmission line initialization sequence, the contents (K) of the first storage means in each device are as shown in the table, and are 107 in the central recording device 1. Therefore, the value of Tw × K is also as shown in the table, and is 214 μsec in the central printing apparatus.
Incidentally, the value of Tw × K according to the third aspect is 900 μsec.
Thus, according to the present embodiment, it can be seen that the time is greatly reduced. The greater the number, the greater the gap.

【0175】次に、図27に、本実施例における、デー
タ収集端末装置の伝送路初期化機能の部分を主とする構
成図を示す。第1の実施例(図3)との違いは、第1の
加算手段50の代わりに、2つの数値の和を出力する第
2の加算手段111をもち、下流からの第3の信号の数
値部(下流からの第2の信号が検出されない場合は数値
0)に装置固有の定数112を加算した数値をもつ第3
の信号を上流へ送出するように構成されていることであ
る。第2の加算手段111、装置固有の定数112とも
回路として容易に実現できる。
Next, FIG. 27 is a configuration diagram mainly showing a transmission line initialization function part of the data collection terminal device in this embodiment. The difference from the first embodiment (FIG. 3) is that, instead of the first adding means 50, there is provided a second adding means 111 for outputting the sum of two numerical values, and the numerical value of the third signal from downstream is provided. A third value having a numerical value obtained by adding a constant 112 unique to the device to the unit (a numerical value 0 when the second signal from the downstream is not detected)
Is transmitted upstream. Both the second adding means 111 and the constant 112 unique to the device can be easily realized as a circuit.

【0176】また、応答信号の送出手段79、および、
応答信号情報セレクタ113は、命令信号に対する応答
信号送出部分から抜粋したもので、従来の技術によるデ
ータ収集端末装置2でも実施されているものである。本
実施例では、その応答信号情報セレクタの選択肢とし
て、命令コードがアドレス・セットである場合に、装置
固有の定数112の値を送出する手段をもつことであ
る。
A response signal transmitting means 79 and
The response signal information selector 113 is extracted from a response signal transmission portion for the command signal, and is also implemented in the data collection terminal device 2 according to the related art. In this embodiment, as an option of the response signal information selector, a means for transmitting the value of a constant 112 unique to the device when the instruction code is an address set is provided.

【0177】なお、中央記録装置の構成については、デ
ータ収集端末装置の構成図から、上流側とのインタフェ
ース部分を削除して、容易に構成することができるの
で、説明を省略する。
[0177] The configuration of the central recording device can be easily configured by removing the interface with the upstream side from the configuration diagram of the data collection terminal device, so that the description is omitted.

【0178】本問題点についての別の解決手段が、第9
の実施例である。
Another solution to this problem is the ninth solution.
This is an embodiment of the present invention.

【0179】その解決手段は、第4の実施例に係る分散
型データ収集システムにおいて、伝送路初期化シーケン
スにおける、第3の信号の応答時間を測定し、この測定
結果(以降Trと称す)から、第1〜第3の信号の規定
で定まる、第1の信号受信開始から第3の信号送出開始
までに要する時間(以降Tdと称す)を除いた、正味の
遅延時間(以降Tpdと称す)に、前記T0を加算して
得られる時間を、データ収集シーケンスにおける、命令
信号に対する下流からの応答信号の最大待ち時間(I)
として、第2の時間監視手段73に設定する。
The solution is to measure the response time of the third signal in the transmission line initialization sequence in the distributed data collection system according to the fourth embodiment, and use the measurement result (hereinafter referred to as Tr). , A net delay time (hereinafter referred to as Tpd) excluding the time required from the start of the first signal reception to the start of the third signal transmission (hereinafter referred to as Td), which is determined by the definition of the first to third signals. And the time obtained by adding T0 to the maximum waiting time (I) of the response signal from the downstream to the command signal in the data collection sequence.
Is set in the second time monitoring means 73.

【0180】[0180]

【数3】I = T0 + Tpd ; Tpd =
Tr − Td
I = T0 + Tpd; Tpd =
Tr−Td

【0181】さらに、各データ収集端末装置において
は、伝送路初期化シーケンスにおいて、下流から第3の
信号を受信するか、または、第1の時間監視手段が監視
時間オーバとなってから、装置に固有の最大往復遅延時
間(以降Tudと称す)を待って、第3の信号を上流へ
送出する。このTudは、装置の種類に応じた必要最小
限の値を設定することができるから、システム全体とし
て無駄のない最大待ち時間(I)を設定することがで
き、本問題点が解決する。
Further, in each data collection terminal device, in the transmission path initialization sequence, the third signal is received from the downstream or the first time monitoring means is over the monitoring time, and then the data collection terminal device is connected to the device. After waiting for a unique maximum round-trip delay time (hereinafter referred to as Tud), the third signal is transmitted upstream. Since this Tud can be set to the minimum necessary value according to the type of the apparatus, the maximum waiting time (I) can be set without waste as the whole system, and this problem is solved.

【0182】ここで、図14のように第1〜第3の信号
が規定されている場合を例として、前記Tdについて説
明を付加する。図14では、装置による中継遅延および
伝送路遅延は含まれていない。
Here, the case where the first to third signals are defined as shown in FIG. 14 will be described as an example. FIG. 14 does not include the relay delay and the transmission path delay due to the device.

【0183】まず、最遠端の装置24では、Tdは(1
0)から(11)までの時間(第1の信号の12パルス
分、(10)から(11)までは下流に装置がないこと
を検出するのに必要な時間)である。次に、装置23で
は、装置24でのTdに、(7)から(9)まで:第1
の信号を装置24が検出するのに必要な時間4パルス
と、(12)から(13)まで:第3の信号を装置24
が送出するのに必要な時間1パルスとの計5パルスが加
算されて、17パルスとなる。同様にして、装置22の
Tdは22パルス、装置21のTdは27パルスとな
る。すなわち、各データ収集端末装置におけるTdは、
下流から受信した第3の信号の数値部の値(=第1の記
憶手段にセットされた値)(K)を用いて、
First, in the farthest end device 24, Td is (1
It is the time from 0) to (11) (12 pulses of the first signal, and the time from (10) to (11) is the time required to detect that there is no device downstream). Next, in the device 23, Td in the device 24 is changed from (7) to (9):
4 pulses required for the device 24 to detect the signal of (3) from (12) to (13):
A total of five pulses, one pulse for the time required for the transmission, are added, resulting in 17 pulses. Similarly, the Td of the device 22 is 22 pulses, and the Td of the device 21 is 27 pulses. That is, Td in each data collection terminal device is:
Using the value of the numerical part of the third signal received from the downstream (= the value set in the first storage means) (K),

【0184】[0184]

【数4】Td = 12 + 5 × K で計算することができる。従って、各データ収集端末装
置2で、TrからTdを除くことは実現可能である。
## EQU4 ## It can be calculated by Td = 12 + 5 × K. Therefore, it is feasible for each data collection terminal device 2 to remove Td from Tr.

【0185】次に、図28と図29を参照しながら、本
実施例を説明する。図28は、本実施例における、デー
タ収集端末装置の伝送路初期化機能に関する部分の構成
図である。本図は、第1の実施例である図3に、(1)
第3の信号の応答時間測定手段121を付加して、第1
の信号の検出手段41によって上流からの第1の信号が
検出されてから、第3の信号の検出手段46によって下
流からの第3の信号が検出されるまで、または、第1の
時間監視手段44の監視時間が経過するまでの間の時間
測定機能と、(2)第2の遅延手段122により、当該
装置に発生し得る往復中継伝送遅延時間の最大値だけ、
上流への第3の信号の送出を遅らせる機能とを付加した
ものである。これらの回路は、カウンタ回路、シフトレ
ジスタ回路等により容易に実現可能である。
Next, this embodiment will be described with reference to FIGS. 28 and 29. FIG. 28 is a configuration diagram of a portion related to a transmission path initialization function of the data collection terminal device in the present embodiment. This figure is similar to FIG. 3 showing the first embodiment, but (1)
The third signal response time measuring means 121 is added to
From the detection of the first signal from the upstream by the signal detection means 41 to the detection of the third signal from the downstream by the third signal detection means 46, or the first time monitoring means. The time measurement function until the monitoring time of 44 elapses, and (2) the second delay means 122 allows only the maximum value of the round trip transmission delay time that can occur in the device,
A function of delaying the transmission of the third signal to the upstream is added. These circuits can be easily realized by a counter circuit, a shift register circuit, and the like.

【0186】図29は、本実施例における、データ収集
端末装置のデータ収集機能に関する部分の構成図であ
る。本図は、第4の実施例である図21の、(1)第1
の記憶手段48の代わりに、前記第3の信号の応答時間
測定手段121をもち、(2)第1の演算手段の代わり
に、第3の信号の応答時間測定手段121の内容Trか
ら第2の時間監視手段の最大待ち時間(I)を算出す
る、第4の演算手段123をもつようにしたものであ
る。演算手段については、他の項の説明と同様に、加算
器、乗算器、あるいはMPUシステムなどにより、容易
に実現可能である。
FIG. 29 is a configuration diagram of a portion related to the data collection function of the data collection terminal device in the present embodiment. This figure shows (1) the first embodiment of FIG. 21 which is the fourth embodiment.
(3) Instead of the storage means 48, the response time measuring means 121 for the third signal is provided. And a fourth calculating means 123 for calculating the maximum waiting time (I) of the time monitoring means. The arithmetic means can be easily realized by an adder, a multiplier, an MPU system, or the like, as described in the other sections.

【0187】なお、中央記録装置の構成については、デ
ータ収集端末装置の構成図から、上流側とのインタフェ
ース部分を削除して、容易に構成することができるの
で、説明を省略する。
The configuration of the central recording device can be easily configured by removing the interface portion with the upstream side from the configuration diagram of the data collection terminal device, so that the description is omitted.

【0188】最後に、第4〜第9の実施例とは別の手段
により、命令信号に対するタイムオーバ障害が発生した
ときに、障害箇所を即座に把握することのできる、本発
明の第10の実施例に係る分散型データ収集システムに
ついて説明する。
Finally, by means different from the fourth to ninth embodiments, when a time-over fault occurs for an instruction signal, the location of the fault can be immediately grasped. A distributed data collection system according to an embodiment will be described.

【0189】本実施例の原理を、図31の本実施例のタ
イムチャートを参照して説明する。
The principle of this embodiment will be described with reference to the time chart of this embodiment in FIG.

【0190】要約すれば、第1の実施例における、第1
の信号を命令信号に、第2の信号を応答確認信号に、第
3の信号を応答信号に、それぞれ置き換えたものと考え
ることができる。ただし、応答信号の中継については、
数値変更等の加工は行わないので、対応する構成は存在
しない。
In summary, in the first embodiment, the first
Is replaced with a command signal, the second signal is replaced with a response confirmation signal, and the third signal is replaced with a response signal. However, regarding the relay of the response signal,
Since processing such as numerical value change is not performed, there is no corresponding configuration.

【0191】図30及び図31において、まず、中央記
録装置1は、(1)下流へデータ収集端末装置24宛の
命令信号を送出し、(6)送出完了と同時に、下流から
の応答確認信号の検出時間監視手段を起動する。(2)
〜(5)この命令信号は、データ収集端末装置21〜2
3で中継されて、データ収集端末装置24に到達する。
このとき、(7)〜(9)データ収集端末装置21〜2
3は、命令信号の中継完了と同時に、下流からの応答確
認信号の検出時間監視手段を起動し、(11)〜(1
3)所定の時間以内に、上流へ応答確認信号を送出す
る。中央記録装置1〜データ収集端末装置22は、この
応答確認信号を受信して、応答確認信号の検出時間監視
手段を停止する。
In FIGS. 30 and 31, first, the central recording device 1 sends (1) a command signal addressed to the data collection terminal device 24 to the downstream, and (6) simultaneously with the completion of the sending, a response confirmation signal from the downstream. The detection time monitoring means is activated. (2)
(5) This command signal is transmitted to the data collection terminal devices 21 to 2
3 and reaches the data collection terminal device 24.
At this time, (7) to (9) data collection terminal devices 21 to 2
3 activates the detection time monitoring means of the response acknowledgment signal from the downstream simultaneously with the completion of the relay of the command signal, and (11) to (1)
3) Send a response confirmation signal to the upstream within a predetermined time. The central recording device 1 to the data collection terminal device 22 receive this response confirmation signal, and stop the response confirmation signal detection time monitoring means.

【0192】この命令信号を受信したデータ収集端末装
置24は、自分宛なので、(10)下流からの応答確認
信号の検出時間監視手段を起動ぜずに、(14)所定の
時間以内に、上流へ応答確認信号を送出する。しかし、
装置24から装置23への伝送路に障害があり、応答確
認信号(14)は、データ収集端末装置23に到達しな
いので、データ収集端末装置23において、(15)監
視時間オーバとなり、(16)上流へ自分がタイムオー
バを検出したことを示すステータスを含む応答信号を送
出する。(17)〜(19)この応答信号は、中継され
て、中央記録装置1に到達し、中央記録装置1はデータ
収集端末装置23と24との間が障害箇所であることを
把握する。
Since the data collection terminal device 24 which has received this command signal is addressed to itself, (10) without activating the detection time monitoring means for the response confirmation signal from the downstream, (14) within the predetermined time, To send a response confirmation signal. But,
Since there is a failure in the transmission path from the device 24 to the device 23, and the response confirmation signal (14) does not reach the data collection terminal device 23, the data collection terminal device 23 (15) has exceeded the monitoring time, and (16) A response signal including a status indicating that the time-over has been detected is transmitted upstream. (17)-(19) The response signal is relayed and arrives at the central recording device 1, and the central recording device 1 recognizes that a failure point exists between the data collection terminal devices 23 and 24.

【0193】図32は、本実施例におけるデータ収集装
置の構成図である。
FIG. 32 is a configuration diagram of the data collection device in this embodiment.

【0194】第1の実施例による、命令信号〜応答信号
の回路構成に、命令信号を受信または中継した後、所定
の時間以内に上流へ応答確認信号を送出する応答確認信
号の送出手段131と、下流からの応答信号の検出手段
74の代わりに、下流からの応答確認信号の検出手段1
32とをもち、第2の時間監視手段73で規定される最
大待ち時間以内に下流から応答確認信号が検出された場
合は、監視手段73を停止して下流からの応答信号中継
待ち状態となる。第2の時間監視手段73で規定される
最大待ち時間以内に、下流から応答確認信号が検出され
ない場合は、監視手段73が監視時間オーバとなり、上
流へタイムオーバ障害を検出したことを示すステータス
78を含む応答信号を送出する。
The circuit structure of the command signal to the response signal according to the first embodiment includes a response confirmation signal transmitting means 131 for transmitting a response confirmation signal upstream within a predetermined time after receiving or relaying the command signal. , Instead of the response signal detection means 74 from the downstream, the response confirmation signal detection means 1 from the downstream
32, if a response confirmation signal is detected from the downstream within the maximum waiting time defined by the second time monitoring means 73, the monitoring means 73 is stopped and the apparatus waits for a response signal relay from the downstream. . If the response confirmation signal is not detected from the downstream within the maximum waiting time defined by the second time monitoring means 73, the monitoring means 73 has exceeded the monitoring time, and the status 78 indicating that a time-over fault has been detected upstream. Is transmitted.

【0195】応答確認信号の送出手段131、および、
応答確認信号の検出手段132は、従来の技術により、
容易に実現することができる。
Response acknowledgment signal sending means 131, and
The response confirmation signal detection means 132 is provided by a conventional technique.
It can be easily realized.

【0196】なお、中央記録装置の応答確認信号の検出
に関する構成については、データ収集端末装置の構成図
から、上流側とのインタフェース部分を削除して、容易
に構成することができるので、説明を省略する。
The configuration relating to the detection of the response confirmation signal of the central recording device can be easily configured by removing the interface portion with the upstream side from the configuration diagram of the data collection terminal device. Omitted.

【0197】また、中央記録装置において、(1) タ
イムオーバの監視時間値(I)以内に、前記タイムオー
バ情報を持たない応答確認信号を受信した場合は、該応
答確認信号を正常に受信したものとして以降の所定の処
理を行う手段、(2) 前記タイムオーバ情報を持つ応
答確認信号を受信した場合は、該応答確認信号に含まれ
るアドレスをもつデータ収集端末装置と、その一つ下流
側のデータ収集端末装置との間に、応答確認信号が該中
央記録装置へ到達できない原因となった障害箇所が存在
することを記録する手段、(3) 一方、時間値(I)
以内に該応答確認信号を受信しなかった場合は、該中央
記録装置と、該中央記録装置に一番近いデータ収集端末
装置との間に、応答確認信号が該中央記録装置に到達で
きない原因となった障害箇所が存在することを記録する
手段、は、中央記録装置が、通常、コンピュータ・シス
テムで構成され、受信した情報の内容を分析して、その
結果に応じた記録等の処理を行うことにより実現できる
ことも明らかである。
In the central recording device, (1) when the response confirmation signal having no time-out information is received within the time-out monitoring time value (I), the response confirmation signal is normally received. (2) when receiving a response confirmation signal having the time-over information, a data collection terminal device having an address included in the response confirmation signal; Means for recording that there is a failure point that caused the response confirmation signal to be unable to reach the central recording device between the data collection terminal device and the time value (I)
If the response acknowledgment signal is not received within the central recording device and the data collection terminal device closest to the central recording device, the reason why the response acknowledgment signal cannot reach the central recording device is The means for recording the existence of the failed part is a central recording device, which is usually constituted by a computer system, analyzes the contents of the received information, and performs processing such as recording according to the result. It is also clear that this can be achieved.

【0198】なお、本実施例は、第4〜第9の実施例に
比較して、命令信号ごとに応答確認操作が付加されてい
るために、命令信号によるデータ収集シーケンスにおけ
る効率が低下し、応答確認信号自体の受信異常への対応
方法などが煩雑になる欠点を有するが、システム構成
(データ収集端末装置の数)の変更に応じて、柔軟かつ
迅速に変更処理をしなければならない用途には対応しや
すい利点を持つ。
In this embodiment, as compared with the fourth to ninth embodiments, since the response confirmation operation is added for each command signal, the efficiency in the data collection sequence by the command signal is reduced. This method has the disadvantage that the method of responding to the abnormal reception of the response confirmation signal itself becomes complicated, but it is used in applications where the change processing must be performed flexibly and quickly according to the change of the system configuration (number of data collection terminals). Has the advantage of being easy to handle.

【0199】[0199]

【発明の効果】以上、説明したように、本発明によれ
ば、中央記録装置と、これに伝送路で接続されるデータ
収集端末装置で構成され、データ収集端末装置の台数が
逐次変更されるような、分散型データ収集システムにお
いて、中央記録装置が、接続されているデータ収集端末
装置の台数を、台数に応じた必要最小限の時間で確実に
把握することができ、かつ、タイムオーバ障害が発生す
れば、即座にその障害箇所を把握することのできるシス
テムを提供することができる。
As described above, according to the present invention, according to the present invention, a central recording device and a data collection terminal device connected to the central recording device by a transmission line are provided, and the number of data collection terminal devices is sequentially changed. In such a distributed data collection system, the central recording device can reliably grasp the number of connected data collection terminal devices in a minimum necessary time according to the number, and a time-over failure occurs. Occurs, it is possible to provide a system capable of immediately grasping the fault location.

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

【図1】本発明に係る分散型データ収集システムの全体
構成(データ収集端末装置4台の例)を示すブロック図
である。
FIG. 1 is a block diagram showing an overall configuration of a distributed data collection system according to the present invention (an example of four data collection terminal devices).

【図2】本発明の第1の実施例における伝送路上の信号
タイムチャートである。
FIG. 2 is a signal time chart on a transmission line in the first embodiment of the present invention.

【図3】本発明の第1の実施例におけるデータ収集端末
装置の構成図である。
FIG. 3 is a configuration diagram of a data collection terminal device according to the first embodiment of the present invention.

【図4】本発明の第1の実施例における中央記録装置の
構成図である。
FIG. 4 is a configuration diagram of a central recording apparatus according to the first embodiment of the present invention.

【図5】本発明の第1の実施例によるシステム起動シー
ケンスのフローチャートである。
FIG. 5 is a flowchart of a system startup sequence according to the first embodiment of the present invention.

【図6】本発明の第1の実施例におけるシステム起動シ
ーケンスのタイムチャートである。
FIG. 6 is a time chart of a system startup sequence in the first embodiment of the present invention.

【図7】本発明の第4の実施例によるデータ収集シーケ
ンス中のタイムオーバ処理のフローチャートである。
FIG. 7 is a flowchart of a time-over process during a data collection sequence according to a fourth embodiment of the present invention.

【図8】本発明の第4の実施例によるデータ収集シーケ
ンス中のタイムオーバ処理のタイムチャートである。
FIG. 8 is a time chart of a time-over process during a data collection sequence according to a fourth embodiment of the present invention.

【図9】本発明の第2の実施例におけるデータ収集端末
装置の構成図である。
FIG. 9 is a configuration diagram of a data collection terminal device according to a second embodiment of the present invention.

【図10】本発明の第2の実施例で使用されるLPFの
例である。
FIG. 10 is an example of an LPF used in the second embodiment of the present invention.

【図11】本発明の第2の実施例で使用されるLPFの
例である。
FIG. 11 is an example of an LPF used in the second embodiment of the present invention.

【図12】本発明の第2の実施例で使用される波形サン
プルを示す図である。
FIG. 12 is a diagram showing waveform samples used in the second embodiment of the present invention.

【図13】本発明の第2の実施例に関する伝送路上の信
号フォーマットの例である。
FIG. 13 is an example of a signal format on a transmission line according to the second embodiment of the present invention.

【図14】本発明の第3の実施例に関する伝送路上の信
号タイムチャートである。
FIG. 14 is a signal time chart on a transmission line according to a third embodiment of the present invention.

【図15】本発明1項の第3の実施例におけるデータ収
集端末装置の構成図である。
FIG. 15 is a configuration diagram of a data collection terminal device according to a third embodiment of the present invention.

【図16】本発明の第3の実施例に関する伝送路上の信
号例のタイムチャートである。
FIG. 16 is a time chart of an example of a signal on a transmission line according to the third embodiment of the present invention.

【図17】本発明の第3の実施例に関する伝送路上の信
号例のタイムチャートである。
FIG. 17 is a time chart of an example of a signal on a transmission line according to the third embodiment of the present invention.

【図18】本発明の第3の実施例に関する伝送路上の信
号例のタイムチャート(半二重伝送の場合)である。
FIG. 18 is a time chart (in the case of half-duplex transmission) of an example of a signal on a transmission line according to the third embodiment of the present invention.

【図19】本発明の第4の実施例に係る分散型データ収
集システムの全体構成を示すブロック図である。
FIG. 19 is a block diagram illustrating an overall configuration of a distributed data collection system according to a fourth embodiment of the present invention.

【図20】本発明の第4の実施例による応答信号タイム
オーバ対策例(データ収集端末装置4台の場合)の伝送
路信号タイムチャートである。
FIG. 20 is a transmission path signal time chart of a response signal time-over countermeasure example (in the case of four data collection terminal devices) according to the fourth embodiment of the present invention.

【図21】本発明の第4の実施例におけるデータ収集端
末装置の実施例の構成図である。
FIG. 21 is a configuration diagram of an example of a data collection terminal device according to a fourth example of the present invention.

【図22】本発明の第5の実施例の説明図である。FIG. 22 is an explanatory diagram of a fifth embodiment of the present invention.

【図23】本発明の第5の実施例におけるデータ収集端
末装置の実施例の構成図である。
FIG. 23 is a configuration diagram of an example of a data collection terminal device according to a fifth example of the present invention.

【図24】本発明の第6の実施例におけるデータ収集端
末装置の実施例の構成図である。
FIG. 24 is a configuration diagram of an example of a data collection terminal device according to a sixth example of the present invention.

【図25】本発明の第7の実施例におけるデータ収集端
末装置の構成図である。
FIG. 25 is a configuration diagram of a data collection terminal device according to a seventh embodiment of the present invention.

【図26】本発明の第8の実施例の説明図である。FIG. 26 is an explanatory diagram of an eighth embodiment of the present invention.

【図27】本発明の第8の実施例におけるデータ収集端
末装置の伝送路初期化機能の部分の構成図である。
FIG. 27 is a configuration diagram of a part of a transmission line initialization function of a data collection terminal device according to an eighth embodiment of the present invention.

【図28】本発明の第9の実施例におけるデータ収集端
末装置の伝送路初期化機能の部分の構成図である。
FIG. 28 is a configuration diagram of a part of a transmission line initialization function of a data collection terminal device according to a ninth embodiment of the present invention.

【図29】本発明の第9の実施例におけるデータ収集端
末装置のデータ収集機能の部分の構成図である。
FIG. 29 is a configuration diagram of a part of a data collection function of a data collection terminal device according to a ninth embodiment of the present invention.

【図30】本発明の第10の実施例に係る分散型データ
収集システムの全体構成を示すブロック図である。
FIG. 30 is a block diagram showing an overall configuration of a distributed data collection system according to a tenth embodiment of the present invention.

【図31】本発明の第10の実施例における伝送路上の
信号タイムチャートである。
FIG. 31 is a signal time chart on a transmission line in a tenth embodiment of the present invention.

【図32】本発明の第10の実施例におけるデータ収集
端末装置の構成図である。
FIG. 32 is a configuration diagram of a data collection terminal device according to a tenth embodiment of the present invention.

【図33】従来の技術によるシステム起動シーケンスの
フローチャートである。
FIG. 33 is a flowchart of a system startup sequence according to a conventional technique.

【図34】従来の技術によるシステム起動シーケンスの
タイムチャートである。
FIG. 34 is a time chart of a system startup sequence according to a conventional technique.

【図35】従来の技術によるデータ収集シーケンス中の
タイムオーバ処理のフローチャートである。
FIG. 35 is a flowchart of a time-over process during a data collection sequence according to a conventional technique.

【図36】従来の技術によるデータ収集シーケンス中の
タイムオーバ処理のタイムチャートである。
FIG. 36 is a time chart of a time-over process during a data collection sequence according to a conventional technique.

【図37】従来の分散型データ収集システムの全体構成
を示すブロック図である。
FIG. 37 is a block diagram showing the overall configuration of a conventional distributed data collection system.

【図38】従来の技術による応答信号タイムオーバ対策
例(データ収集端末装置4台の場合)の伝送路信号タイ
ムチャートである。
FIG. 38 is a transmission signal time chart of a response signal time-over countermeasure example (in the case of four data collection terminals) according to a conventional technique.

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

1、201 中央記録装置 21〜29、221〜224 データ収集端末装置 31〜35 デジタル伝送路 41 第1の信号の検出手段 42 第1の信号の中継または送出手段 43 第2の信号の送出手段 44 第1の時間監視手段 45 第2の信号の検出手段 46 第3の信号の検出手段 47 デジタル・データ・セレクタ 48 第1の記憶手段 49 第3の信号の送出手段 50 第1の加算手段 51 第1の信号送出手段 61 信号高品位化手段 62 アナログLPF 63 ヒステリシス・コンパレータ(ヒステリシス特性
を持ったアナログ・コンパレータ回路) 64 デジタルLPF 71 命令信号の受信手段 72 命令信号の中継手段 73 第2の時間監視手段 74 応答信号の検出手段 75 第1の演算手段 76 応答信号の中継手段 77 デジタル・データ・セレクタ 78 応答信号受信不能ステータス(タイムオーバ検出
を意味するステータス) 79 応答信号の送出手段 80 第2の演算手段(2つのデジタル数値の加算手
段) 91 第3の信号数値パルス分離手段 92 第3の信号エンドマークの検出手段 93 第1の遅延手段 94 第3の信号数値パルス送出手段 95 第3の信号エンドマークの送出手段 101 演算選択コード保持手段 102 第3の演算手段 111 第2の加算手段 112 装置固有の定数 121 第3の信号の応答時間測定手段 122 第2の遅延手段(遅延時間=Tud) 123 第4の演算手段 131 応答確認信号の送出手段 132 応答確認信号の検出手段
1, 201 Central recording device 21-29, 221-224 Data collection terminal device 31-35 Digital transmission path 41 First signal detection means 42 First signal relay or transmission means 43 Second signal transmission means 44 First time monitoring means 45 second signal detection means 46 third signal detection means 47 digital data selector 48 first storage means 49 third signal transmission means 50 first addition means 51 1 signal sending means 61 signal quality improving means 62 analog LPF 63 hysteresis comparator (analog comparator circuit having hysteresis characteristics) 64 digital LPF 71 command signal receiving means 72 command signal relay means 73 second time monitoring Means 74 Response signal detection means 75 First calculation means 76 Response signal relay means 77 Digital Data selector 78 Response signal unreceivable status (status meaning time-over detection) 79 Response signal sending means 80 Second calculating means (adding means of two digital numerical values) 91 Third signal numerical pulse separating means 92 Third signal end mark detecting means 93 First delay means 94 Third signal numerical value pulse sending means 95 Third signal end mark sending means 101 Operation selection code holding means 102 Third operation means 111 Second Addition means 112 Device-specific constant 121 Third signal response time measurement means 122 Second delay means (delay time = Tud) 123 Fourth calculation means 131 Response confirmation signal transmission means 132 Response confirmation signal detection means

フロントページの続き (72)発明者 難波 正幸 東京都日野市富士町1番地 富士ファコ ム制御株式会社内 (72)発明者 渡辺 義孝 埼玉県春日部市谷原3−5−27 (72)発明者 今野 政明 埼玉県所沢市緑町4−43−23 (56)参考文献 特開 平1−241942(JP,A) 特開 平4−337937(JP,A) 特開 昭64−15857(JP,A) 特開 昭62−230198(JP,A) (58)調査した分野(Int.Cl.6,DB名) H04L 12/24 H04L 12/26 H04L 12/28Continued on the front page (72) Inventor Masayuki Namba 1 Fuji-cho, Hino-shi, Tokyo Inside Fuji Faccom Control Co., Ltd. (72) Inventor Yoshitaka Watanabe 3-5-27 Tanihara, Kasukabe-shi, Saitama (72) Inventor Masaaki Konno 4-43-23 Midoricho, Tokorozawa-shi, Saitama (56) References JP-A-1-241942 (JP, A) JP-A-4-337937 (JP, A) JP-A 64-15857 (JP, A) JP 62-230198 (JP, A) (58) Fields investigated (Int. Cl. 6 , DB name) H04L 12/24 H04L 12/26 H04L 12/28

Claims (11)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 分散型データ収集システムであって、 デジタル伝送路を介して互いに直列接続される複数のデ
ータ収集端末装置と、 デジタル伝送路を介して前記複数のデータ収集端末装置
の内の1つと接続される中央記録装置であって、前記複
数のデータ収集端末装置ごとに割り付けられた異なるア
ドレスの中から特定のアドレスを指定して対応するデー
タ収集端末装置を制御することにより、前記複数のデー
タ収集端末装置に収集されたデータを記録する前記中央
記録装置と、を含み、 前記複数のデータ収集端末装置の各々は、 第1の信号を前記中央記録装置側のデジタル伝送路(以
下、「上流」という)から受信するとともに、上流とは
反対側のデジタル伝送路(以下、「下流」という)へ該
第1の信号を中継する中継手段と、 上流から該第1の信号を検出して、検出信号を出力する
検出手段と、 該検出信号に応答して、所定の時間内に第2の信号を上
流へ送出する手段と、 該検出信号に応答して、下流から第2の信号を受信する
ための待ち受け状態となり、所定の時間内に該第2の信
号が検出されない場合は、第1の数値を含む第3の信号
を上流へ送出し、該所定の時間内に該第2の信号が検出
された場合は、下流からの該第3の信号を検出して加算
手段により該第3の信号に含まれる数値に所定の数値を
加算し、これを上流へ送出する手段と、 を具備し、 前記中央記録装置は、 該第1の信号をデジタル伝送路へ送出する手段と、 デジタル伝送路から第2の信号を受信するための待ち受
け状態となり、所定の時間内に該第2の信号が検出され
ない場合は、第2の数値を記憶手段に記憶させ、該所定
の時間内に該第2の信号が検出された場合は、デジタル
伝送路から該第3の信号を検出して該第3の信号に含ま
れる数値を前記記憶手段に記憶させる手段と、 を具備する、前記分散型データ収集システム。
1. A distributed data collection system, comprising: a plurality of data collection terminal devices connected in series to each other via a digital transmission line; and one of the plurality of data collection terminal devices via a digital transmission line. A central recording device connected to one of the plurality of data collection terminal devices, by controlling a corresponding data collection terminal device by specifying a specific address from among different addresses allocated to the plurality of data collection terminal devices, A central recording device that records data collected in a data collection terminal device, wherein each of the plurality of data collection terminal devices transmits a first signal to a digital transmission path (hereinafter, “ Upstream means) and relay means for relaying the first signal to a digital transmission path on the opposite side of the upstream (hereinafter referred to as "downstream"); Detecting means for detecting the first signal and outputting a detection signal; means for transmitting a second signal upstream within a predetermined time in response to the detection signal; and responding to the detection signal. Then, a standby state for receiving the second signal from the downstream is established, and if the second signal is not detected within a predetermined time, a third signal including the first numerical value is sent upstream, and When the second signal is detected within a predetermined time, the third signal from the downstream is detected, and a predetermined numerical value is added to a numerical value included in the third signal by an adding means. Means for transmitting the first signal to the digital transmission path, and a standby state for receiving the second signal from the digital transmission path; and If the second signal is not detected within a predetermined time, the second numerical value is used. When the second signal is detected within the predetermined time, the third signal is detected from a digital transmission path, and a numerical value included in the third signal is stored in the storage means. The distributed data collection system, comprising:
【請求項2】 請求項1に記載の分散型データ収集シス
テムにおいて、 前記第1〜第3の信号は、データ収集のために使用され
る伝送信号(命令信号および応答信号)よりも冗長度の
大きい信号であり、 前記中央記録装置および前記複数のデータ収集端末装置
の各々は、デジタル伝送路から受信した該第1〜第3の
信号の検出のために、前記冗長度を利用した雑音除去機
能または誤り訂正機能を有する信号高品位化手段をさら
に具備する、前記分散型データ収集システム。
2. The distributed data collection system according to claim 1, wherein the first to third signals are more redundant than transmission signals (command signals and response signals) used for data collection. The central recording device and the plurality of data collection terminal devices each have a noise removal function using the redundancy for detecting the first to third signals received from a digital transmission path. Alternatively, the distributed data collection system further includes signal quality improving means having an error correction function.
【請求項3】 前記中央記録装置が特定のデータ収集端
末装置へ命令信号を送出し、前記特定のデータ収集端末
装置が該命令信号に応答して前記特定のデータ収集端末
装置に割り付けられたアドレスを含む応答信号を前記中
央記録装置へ送出し、前記特定のデータ収集端末装置と
前記中央記録装置との間にある他のデータ収集端末装置
が該応答信号を下流から上流へ中継することにより伝送
制御される、請求項1に記載の分散型データ収集システ
ムにおいて、 前記複数のデータ収集端末装置の各々は、 該所定の時間内に該第2の信号が検出されない場合は、
第3の数値を端末側記憶手段に記憶させ、該所定の時間
内に該第2の信号が検出された場合は、該第3の信号に
含まれる数値を前記端末側記憶手段に記憶させる手段
と、 前記データ収集端末装置が上流からの命令信号を下流へ
中継した後、前記端末側記憶手段に記憶された数値に単
調増加特性を与える第1の演算手段を作用させて得られ
る時間値を限度として、下流からの応答信号を待つ手段
と、 該時間値内に応答信号を受信した場合は、該応答信号を
上流へ中継し、該時間値内に応答信号を受信しなかった
場合は、下流からの応答信号を受信できなかったこと
(以下、「タイムオーバ」という)及び前記データ収集
端末装置に割り付けられたアドレスを示す情報を含む信
号を応答信号として上流へ送出する手段と、 をさらに具備し、 前記中央記録装置は、 命令信号をデジタル伝送路へ送出した後、前記記憶手段
に記憶された数値に単調増加特性を与える第2の演算手
段を作用させて得られる時間値を限度として、デジタル
伝送路からの応答信号を待つ手段と、 該時間値内に前記タイムオーバ及びアドレスを示す情報
を含まない応答信号を受信した場合に、該応答信号を正
常に受信したものとして以降の所定の処理を行う手段
と、 該時間値内に前記タイムオーバ及びアドレスを示す情報
を含む応答信号を受信した場合に、該応答信号に含まれ
るアドレスに対応するデータ収集端末装置と、その一つ
下流側のデータ収集端末装置との間に、応答信号が前記
中央記録装置へ到達できない原因となった障害箇所が存
在することを記録する手段と、 該時間値内に応答信号を受信しなかった場合に、前記中
央記録装置と、前記中央記録装置に一番近いデータ収集
端末装置との間に、応答信号が前記中央記録装置へ到達
できない原因となった障害箇所が存在することを記録す
る手段と、をさらに具備する、前記分散型データ収集シ
ステム。
3. The central recording device sends a command signal to a specific data collection terminal device, and the specific data collection terminal device responds to the command signal to assign an address assigned to the specific data collection terminal device. Is transmitted to the central recording device, and another data collection terminal device between the specific data collection terminal device and the central recording device transmits the response signal by relaying the response signal from downstream to upstream. The distributed data collection system according to claim 1, wherein each of the plurality of data collection terminal devices is controlled when the second signal is not detected within the predetermined time.
Means for storing a third numerical value in the terminal-side storage means, and for storing the numerical value contained in the third signal in the terminal-side storage means when the second signal is detected within the predetermined time. After the data collection terminal device relays the command signal from the upstream to the downstream, the time value obtained by operating the first arithmetic means for giving a monotonically increasing characteristic to the numerical value stored in the terminal-side storage means is obtained. As a limit, means for waiting for a response signal from downstream, and if a response signal is received within the time value, relay the response signal upstream, and if no response signal is received within the time value, Means for sending a signal containing information indicating that a response signal from the downstream could not be received (hereinafter referred to as “time over”) and an address assigned to the data collection terminal device as a response signal to the upstream. Comprising, said After sending the command signal to the digital transmission line, the central recording device operates the digital transmission line up to the time value obtained by operating the second arithmetic means for giving a monotonically increasing characteristic to the numerical value stored in the storage means. Means for waiting for a response signal from the server, and when a response signal not containing the information indicating the time-out and the address within the time value is received, the subsequent predetermined processing is performed assuming that the response signal has been normally received. Means for receiving a response signal including information indicating the time-out and the address within the time value, a data collection terminal device corresponding to the address included in the response signal, and data collection one downstream thereof Means for recording that there is a failure point between the terminal device and the terminal device, the response signal being unable to reach the central recording device; and a response signal not received within the time value. In this case, it is recorded that there is a failure point between the central recording device and the data collection terminal device closest to the central recording device, which causes a response signal to be unable to reach the central recording device. The distributed data collection system, further comprising:
【請求項4】 請求項3に記載の分散型データ収集シス
テムにおいて、 前記複数のデータ収集端末装置の各々は、前記端末側記
憶手段に記憶された数値を、上流から受信した命令信号
に含まれる数値に変更する手段をさらに具備し、 前記中央記録装置は、前記端末側記憶手段に記憶された
数値の変更を必要とする全てのデータ収集端末装置に対
して該命令信号の送信によって該変更を終えた時点にお
いても、上流側のデータ収集端末装置ほど前記端末側記
憶手段に記憶された数値が大きく、かつ、前記中央記録
装置の前記記憶手段に記憶された数値が一番近いデータ
収集端末装置の前記端末側記憶手段に記憶された数値よ
りも大きくなる様に、前記中央記録装置の前記記憶手段
に記憶された数値及び前記複数のデータ収集端末装置の
前記端末側記憶手段に記憶された数値の変更を行う、前
記分散型データ収集システム。
4. The distributed data collection system according to claim 3, wherein each of the plurality of data collection terminal devices includes a numerical value stored in the terminal side storage unit in a command signal received from an upstream. The apparatus further comprises means for changing to a numerical value, wherein the central recording device transmits the command signal to all the data collection terminal devices that need to change the numerical value stored in the terminal-side storage means, and performs the change by transmitting the command signal. Even at the time of completion, the numerical value stored in the terminal side storage means is larger for the data collection terminal device on the upstream side, and the numerical value stored in the storage means of the central recording device is the closest. The numerical value stored in the storage means of the central recording device and the terminal of the plurality of data collection terminal devices so as to be larger than the numerical value stored in the terminal side storage means. To change the stored number in the storage means, the distributed data acquisition system.
【請求項5】 請求項3に記載の分散型データ収集シス
テムにおいて、 前記複数のデータ収集端末装置の各々が、前記端末側記
憶手段に記憶された数値に、上流から受信した命令信号
に含まれる数値を加算する手段をさらに具備する、前記
分散型データ収集システム。
5. The distributed data collection system according to claim 3, wherein each of the plurality of data collection terminal devices is included in a command signal received from an upstream in a numerical value stored in the terminal-side storage means. The distributed data collection system, further comprising a unit for adding a numerical value.
【請求項6】 請求項3に記載の分散型データ収集シス
テムにおいて、 前記複数のデータ収集端末装置の各々は、前記第1の演
算手段として、上流から受信した命令信号から抽出した
演算選択コードの値が入力される演算選択入力を有し、
該演算選択コードの値に応じて2種類以上の演算方法を
選択して実行する演算手段を具備し、 前記中央記録装置は、前記第2の演算手段として、デジ
タル伝送路に送信した命令信号に含まれる演算選択コー
ドと同じ値が入力される演算選択入力を有し、該演算選
択コードの値に応じて2種類以上の演算方法を選択して
実行する演算手段を具備する、前記分散型データ収集シ
ステム。
6. The distributed data collection system according to claim 3, wherein each of the plurality of data collection terminal devices includes, as the first calculation means, an operation selection code extracted from an instruction signal received from an upstream. An operation selection input into which a value is input,
The central recording device includes an arithmetic unit that selects and executes two or more types of arithmetic methods in accordance with the value of the arithmetic selection code, and the central recording device performs, as the second arithmetic unit, a command signal transmitted to a digital transmission path. The distributed data having an operation selection input to which the same value as the included operation selection code is input, and having an operation means for selecting and executing two or more types of operation methods according to the value of the operation selection code; Collection system.
【請求項7】 請求項3に記載の分散型データ収集シス
テムにおいて、 前記複数のデータ収集端末装置の各々は、 前記加算手段として、該第3の信号に含まれる数値に各
データ収集端末装置の種類に応じた定数値を加算する加
算手段を具備し、 該定数値を、前記データ収集端末装置宛のアドレス・セ
ット命令信号に対する応答信号に含ませて、上流に送出
する手段をさらに具備し、 該所定の時間内に下流からの第2の信号が検出されない
場合は、前記端末側記憶手段に該第3の数値を保持さ
せ、該定数値を含む第3の信号を上流へ送出し、 前記中央記録装置は、各データ収集端末装置に、前記中
央記録装置に近い順にデジタル伝送路上のアドレスを割
り付けるアドレス・セット・シーケンスにおいて、 前記記憶手段に記憶された数値を初期値とする変数を有
し、各データ収集端末装置ごとにアドレス・セット命令
信号を送出して、これに対する応答信号から該定数値を
抽出して該変数から引き算した結果を該変数に代入し、
次のデータ収集端末装置のアドレス・セットに移る操作
を該変数の値が正である間繰り返し、該変数の値が該第
3の数値と等しくなった時点でアドレス・セット・シー
ケンスを終了する様に制御する手段をさらに具備する、
前記分散型データ収集システム。
7. The distributed data collection system according to claim 3, wherein each of the plurality of data collection terminal devices includes a value included in the third signal as each of the plurality of data collection terminal devices. Further comprising: adding means for adding a constant value according to the type, including a constant value included in a response signal to the address set command signal addressed to the data collection terminal device, and sending the signal upstream. If the second signal from the downstream is not detected within the predetermined time, the terminal-side storage means holds the third numerical value, and sends the third signal including the constant value to the upstream, The central recording device initializes a numerical value stored in the storage means in an address set sequence for allocating an address on a digital transmission path to each data collection terminal device in an order close to the central recording device. Has a variable as a value, sends an address set command signal for each data collection terminal device, extracts the constant value from a response signal to the signal, substitutes the result obtained by subtraction from the variable into the variable,
The operation of moving to the address set of the next data collection terminal is repeated while the value of the variable is positive, and the address set sequence is terminated when the value of the variable becomes equal to the third numerical value. Further comprising means for controlling
The distributed data collection system.
【請求項8】 請求項3に記載の分散型データ収集シス
テムにおいて、 前記複数のデータ収集端末装置の各々は、 上流からの該第1の信号が検出されてから、下流からの
該第3の信号が検出されるまでの時間を測定する第1の
応答時間測定手段と、 前記第1の応答時間測定手段によって測定された時間に
基づいて、データ収集端末装置より下流に接続されてい
る前記複数のデータ収集端末装置の往復中継伝送遅延時
間の総和を算出し、これに所定の待ち時間を加算した時
間値を各データ収集端末装置についての該所定の時間と
してセットする手段と、 下流からの該第3の信号を検出するか、又は、該所定の
時間がオーバとなってから、該第3の信号を上流ヘ送出
開始するまでの時間を、各データ収集端末装置に固有の
最大往復遅延時間だけ遅らせる遅延手段と、 をさらに具備し、 前記中央記録装置は、 下流へ該第1の信号を送出してから、下流からの該第3
の信号が検出されるまでの時間を測定する第2の応答時
間測定手段と、 前記第2の応答時間測定手段によって測定された時間に
基づいて、デジタル伝送路に接続されている前記複数の
データ収集端末装置の往復中継伝送遅延時間の総和を算
出し、これに所定の待ち時間を加算した時間値を前記中
央記録装置についての該所定の時間としてセットする手
段と、 をさらに具備する、前記分散型データ収集システム。
8. The distributed data collection system according to claim 3, wherein each of the plurality of data collection terminal devices is configured to detect the first signal from an upstream signal and then output the third signal from a downstream device. First response time measuring means for measuring a time until a signal is detected; and the plurality of the plurality of communication means connected downstream from a data collection terminal device based on the time measured by the first response time measuring means. Means for calculating the sum of the round-trip relay transmission delay times of the data collection terminal devices and adding a predetermined waiting time to the sum as the predetermined time for each data collection terminal device; and The time from when the third signal is detected or the predetermined time is exceeded to when the transmission of the third signal is started to the upstream is defined as the maximum round-trip delay time unique to each data collection terminal device. Only Further comprising delay means La Celle, wherein the central recording unit, after sending the first signal to the downstream, the third from the downstream
Second response time measuring means for measuring a time until a signal is detected, and the plurality of data connected to a digital transmission path based on the time measured by the second response time measuring means. Means for calculating a sum of round-trip relay transmission delay times of the collection terminal device and adding a predetermined waiting time to the sum as the predetermined time for the central recording device, further comprising: Type data collection system.
【請求項9】 前記中央記録装置が特定のデータ収集端
末装置へ命令信号を送出し、前記特定のデータ収集端末
装置が該命令信号に応答して前記特定のデータ収集端末
装置に割り付けられたアドレスを含む応答信号を前記中
央記録装置へ送信し、前記特定のデータ収集端末装置と
前記中央記録装置との間にある他のデータ収集端末装置
が該応答信号を下流から上流へ中継することにより伝送
制御される、請求項1に記載の分散型データ収集システ
ムにおいて、 前記複数のデータ収集端末装置の各々は、 上流からの該命令信号を下流へ中継した後、所定の時間
値を限度として、下流からの応答確認信号を待つ手段
と、 該時間値内に該応答確認信号を受信した場合は、下流か
らの応答信号を待って該応答信号を上流へ中継し、該時
間値内に該応答確認信号を受信しなかった場合は、下流
からの応答確認信号を受信できなかったこと(以下、
「タイムオーバ」という)及び前記データ収集端末装置
に割り付けられたアドレスを示す情報を含む信号を応答
信号として上流へ送出する手段と、 をさらに具備し、 前記中央記録装置は、 命令信号をデジタル伝送路へ送出した後、所定の時間値
を限度として、デジタル伝送路からの応答確認信号を待
つ手段と、 該時間値内に前記タイムオーバ及びアドレスを示す情報
を含まない応答確認信号を受信した場合に、該応答確認
信号を正常に受信したものとして、応答信号の受信を待
って以降の所定の処理を行う手段と、 該時間値内に前記タイムオーバ及びアドレスを示す情報
を含む応答確認信号を受信した場合に、該応答確認信号
に含まれるアドレスに対応するデータ収集端末装置と、
その一つ下流側のデータ収集端末装置との間に、応答確
認信号が前記中央記録装置へ到達できない原因となった
障害箇所が存在することを記録する手段と、 該時間値内に応答確認信号を受信しなかった場合に、前
記中央記録装置と、 前記中央記録装置に一番近いデータ収集端末装置との間
に、応答確認信号が前記中央記録装置へ到達できない原
因となった障害箇所が存在することを記録する手段と、 をさらに具備する、前記分散型データ収集システム。
9. The central recording device sends a command signal to a specific data collection terminal device, and the specific data collection terminal device responds to the command signal to assign an address assigned to the specific data collection terminal device. Is transmitted to the central recording device, and another data collection terminal device between the specific data collection terminal device and the central recording device transmits the response signal by relaying the response signal from downstream to upstream. 2. The distributed data collection system according to claim 1, wherein each of the plurality of data collection terminals relays the command signal from an upstream to a downstream, and a predetermined time value as a limit after the relay of the command signal from the upstream. 3. Means for waiting for a response acknowledgment signal from the communication device; and, when the response acknowledgment signal is received within the time value, waiting for a response signal from downstream and relaying the response signal to the upstream. If no acknowledgment signal was received, a response acknowledgment signal from the downstream could not be received (hereinafter,
Means for transmitting a signal containing information indicating the address allocated to the data collection terminal device to the upstream as a response signal, and the central recording device digitally transmits the command signal. Means for waiting for a response acknowledgment signal from the digital transmission line up to a predetermined time value after transmitting to the channel, and receiving a response acknowledgment signal not including the information indicating the time-out and the address within the time value. Means for normally receiving the response acknowledgment signal, means for performing predetermined processing after waiting for the reception of the response signal, and a response acknowledgment signal including information indicating the time-over and the address within the time value. When received, a data collection terminal corresponding to the address included in the response confirmation signal,
Means for recording the presence of a failure point that has caused the response confirmation signal to be unable to reach the central recording device between the data collection terminal device on the downstream side and the response confirmation signal within the time value. Is not received, there is a fault location between the central recording device and the data collection terminal device closest to the central recording device, which caused the response confirmation signal to fail to reach the central recording device. The distributed data collection system, further comprising: means for recording what to do.
【請求項10】 該第1の数値及び該所定の数値が
「1」であり、該第2の数値が「0」である、請求項1
又は2又は9に記載の分散型データ収集システム。
10. The method according to claim 1, wherein the first numerical value and the predetermined numerical value are “1”, and the second numerical value is “0”.
Or a distributed data collection system according to 2 or 9.
【請求項11】 該第1の数値及び該所定の数値が
「1」であり、該第2の数値及び該第3の数値が「0」
である、請求項3〜8のいずれかに記載の分散型データ
収集システム。
11. The first numerical value and the predetermined numerical value are “1”, and the second numerical value and the third numerical value are “0”.
The distributed data collection system according to any one of claims 3 to 8, wherein
JP7254034A 1995-09-29 1995-09-29 Distributed data collection system Expired - Fee Related JP2804909B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7254034A JP2804909B2 (en) 1995-09-29 1995-09-29 Distributed data collection system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7254034A JP2804909B2 (en) 1995-09-29 1995-09-29 Distributed data collection system

Publications (2)

Publication Number Publication Date
JPH0997269A JPH0997269A (en) 1997-04-08
JP2804909B2 true JP2804909B2 (en) 1998-09-30

Family

ID=17259326

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7254034A Expired - Fee Related JP2804909B2 (en) 1995-09-29 1995-09-29 Distributed data collection system

Country Status (1)

Country Link
JP (1) JP2804909B2 (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004220106A (en) * 2003-01-09 2004-08-05 Sony Corp Communication apparatus, communication system, its method and its program
JP4496889B2 (en) * 2004-08-25 2010-07-07 ブラザー工業株式会社 Processing apparatus, tree-type network system, processing program, and processing method
JP2006279998A (en) * 2006-06-16 2006-10-12 Ntt Docomo Inc Gateway and wireless network
JP5196893B2 (en) 2007-07-10 2013-05-15 キヤノン株式会社 COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND COMMUNICATION METHOD FOR COMMUNICATION SYSTEM
JP4620762B2 (en) * 2008-07-14 2011-01-26 富士通コンポーネント株式会社 Computer switching system, computer switching method, computer switching device
JP2010166383A (en) * 2009-01-16 2010-07-29 Mitsubishi Electric Corp Data collecting method and system
JP5494646B2 (en) 2009-02-25 2014-05-21 日本電気株式会社 Communication network management system, method, and management computer

Also Published As

Publication number Publication date
JPH0997269A (en) 1997-04-08

Similar Documents

Publication Publication Date Title
EP0793881B1 (en) Method of time stamping a message indicative of the time of message creation
US7012853B2 (en) Seismic data acquisition apparatus and method
US4594709A (en) Data transmission device for loop transmission system
US8042004B2 (en) Diagnosing communications between computer systems
CN104468256A (en) Method and apparatus for isolating fault in controller area network
JP2804909B2 (en) Distributed data collection system
EP1405106B1 (en) Apparatus and method for distributed control of seismic data acquisition
JP2005071068A (en) Storage device
CN111104272B (en) CAN bus controller testing method based on RX and TX
US4994788A (en) System for collecting alarms from a set of stations
CN110789580A (en) Communication detection method, equipment and system of train network control system
JPH048981B2 (en)
JP7213100B2 (en) Electronics
JPS6133295B2 (en)
CN109739673A (en) A kind of register write protection method, logic device and communication equipment
JP7195166B2 (en) Fire detection system and relay
JP2007072662A (en) Bus failure detection system
JPH11251977A (en) Transmission line fault detection system and its method
JP3784624B2 (en) Communication direction switching method
JPS58172044A (en) Data highway system
JP3436208B2 (en) Communication control device tracing method and method
JP3342950B2 (en) Buffer memory delivery method for signal transmission equipment
JPH05324375A (en) Fault information reporting device in cpu system
JPH04296138A (en) Electronic mail system
JP2002222483A (en) Measuring instrument

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19980707

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

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

Free format text: PAYMENT UNTIL: 20080717

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20090717

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20090717

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

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

Free format text: PAYMENT UNTIL: 20090717

Year of fee payment: 11

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100717

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20100717

Year of fee payment: 12

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

Free format text: PAYMENT UNTIL: 20110717

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110717

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20110717

Year of fee payment: 13

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

Free format text: PAYMENT UNTIL: 20120717

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees