JP3619583B2 - Data transmission system - Google Patents
Data transmission system Download PDFInfo
- Publication number
- JP3619583B2 JP3619583B2 JP26286195A JP26286195A JP3619583B2 JP 3619583 B2 JP3619583 B2 JP 3619583B2 JP 26286195 A JP26286195 A JP 26286195A JP 26286195 A JP26286195 A JP 26286195A JP 3619583 B2 JP3619583 B2 JP 3619583B2
- Authority
- JP
- Japan
- Prior art keywords
- transmission
- data
- data transmission
- master station
- abnormal
- 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 - Lifetime
Links
Images
Landscapes
- Small-Scale Networks (AREA)
Description
【0001】
【発明の属する技術分野】
本発明は、複数のデータ伝送装置間の各々に順次送信権が割当てられることにより、または、親局が複数の子局の内の何れか一つに対して送信要求信号を送信して順次送信権を割当てることによりデータの送受信を行うデータ伝送システムに関する。
【0002】
【従来の技術】
この様なデータ伝送システムを利用するものとしては、例えばコントロールセンタがある。コントロールセンタにおいて、データ伝送装置であり親局たるマスタステーションは、伝送用メモリを有しており、その伝送用メモリには、プログラマブルコントローラが書込み及び読出し可能に接続されている。そして、プログラマブルコントローラは、コントロールセンタ内のデータ伝送装置であり子局たるリモートステーションからデータを得ようとする場合には、伝送用メモリの所定領域にデータを書込むことによって、マスタステーションにリモートステーションに対するトーカアドレス(送信要求信号)を伝送路上に出力させる。
【0003】
すると、各リモートステーションの中で、そのトーカアドレスが自分に割当てられているアドレスであると判断したものは、自分が所有しているモータ保護リレーのデータをマスタステーションに割当てられているリスナアドレス(受信要求信号)と共に伝送路に出力し、マスタステーションは、このデータを受信して、伝送用メモリのプログラマブルコントローラの受信領域に書込む。而して、プログラマブルコントローラは、このデータを伝送用メモリから読込んで、データに基づいて処理を行う。
【0004】
この様なデータ伝送システムにおいては、伝送路の短絡や断線などの異常が発生した場合に対応するため、伝送路を二重化して、異常が発生した場合は他方の伝送路に切替えてシステムを運転するものがある。この場合、従来のデータ伝送システムでは、データ伝送装置に異常検出回路を設け、回路的に伝送路の異常を検出して伝送路の切替を行なっていた。
【0005】
【発明が解決しようとする課題】
しかしながら、この様な従来のデータ伝送システムでは、伝送路を二重化したことによりインターフェイス用のバッファ回路などをデータ伝送装置に余分に設けた上に、更に異常検出回路を設けねばならず、データ伝送装置が大形化するという不具合があった。
本発明は上記課題を解決するもので、その目的は、異常検出回路を設けること無く伝送路に発生した異常を検出し得て、正常な伝送路に切替えることができるデータ伝送システムを提供することにある。
【0007】
【課題を解決するための手段】
上記目的を達成するため、請求項1記載のデータ伝送システムは、複数のデータ伝送装置間の各々に順次送信権が割当てられることによりデータの送受信を行うものにおいて、複数のデータ伝送装置間を接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、複数のデータ伝送装置は、伝送路の内現在使用されている伝送路から自局に対して送信若しくは受信要求信号が送信されない無要求時間を測定し、無要求時間が予め定められた一定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御する制御手段を具備したことを特徴とする。
【0008】
請求項2記載のデータ伝送システムは、親局たるデータ伝送装置が複数の子局たるデータ伝送装置の内の何れか一つに対して送信要求信号を送信して順次送信権を割当てることによりデータの送受信を行うものにおいて、親局と複数の子局とを接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、子局は、自局に対して送信若しくは受信要求信号が送信されない無要求時間を測定し、無要求時間が予め定められた一定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御する制御手段を具備したことを特徴とする。
【0009】
請求項3記載のデータ伝送システムは、親局たるデータ伝送装置が複数の子局たるデータ伝送装置の内の何れか一つに対して送信要求信号を送信して順次送信権を割当てることによりデータの送受信を行うものにおいて、親局と複数の子局とを接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、子局は、伝送路の内現在使用されている伝送路の無信号時間を測定し、無信号時間が予め定められた所定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えると共に、親局に異常信号を送信するように制御する制御手段を具備したことを特徴とする。
【0011】
請求項4記載のデータ伝送システムは、親局たるデータ伝送装置が複数の子局たるデータ伝送装置の内の何れか一つに対して送信要求信号を送信して順次送信権を割当てることによりデータの送受信を行うものにおいて、親局と複数の子局とを接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、子局は、受信データに付帯されたチェックコードから異常を判定し、この判定回数が予め定められた所定回数を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えると共に、親局に異常信号を送信するように制御する制御手段を具備したことを特徴とする。
【0012】
また、請求項2の場合において、制御手段は、伝送路異常と判断した場合は、親局に異常信号を送信するようにしても良い(請求項5)。
また、以上の場合において、制御手段は、伝送路異常と判断した場合は、表示手段に伝送路異常の発生を示す表示を行わせるのが好ましい(請求項6)。
【0013】
【発明の実施の形態】
以下、本発明の第1実施例について図1乃至図3を参照して説明する。全体構成を概略的に示す図1において、2つの親局たるマスタステーション(データ伝送装置)1a及び1bは、複数の子局たるリモートステーション(データ伝送装置)2に伝送路3a及び3bを介して接続されていると共に、装置全体を制御するためのプログラマブルコントローラ4に接続されている。
【0014】
このマスタステーション1a及び1bは、プログラマブルコントローラ4とリモートステーション2との間で行われるデータの送受信を中継するものである。尚、伝送路3a及び3bは、プログラマブルコントローラ4からマスタステーション1a及び1bを介して同一内容のデータ伝送が行われるが、リモートステーション2によって択一的に選択されて使用される。
【0015】
コントロールセンタ5は、リモートステーション2,モータ保護リレー6及び電磁接触器7等を一体化してなる複数個の制御ユニット5aを、図示しないキュービクル内に設置することにより構成されている。リモートステーション2は、マスタステーション1aまたは1bから伝送路3aまたは3bを介して送られてくる操作データを受信すると共にその操作データをモータ保護リレー6に送る。モータ保護リレー6は、与えられた操作データに応じて電磁接触器7の主接点7aを開閉することによりモータたる誘導電動機8の主回路9を開閉して誘導電動機8の停動制御を行う。
【0016】
また、モータ保護リレー6は、誘導電動機8の主回路電流値などの状態データや電源異常状態若しくは故障状態データをリモートステーション2に送信する。そして、リモートステーション2は、モータ保護リレー6から与えられる上記各種データを、伝送路3aまたは3bを介してマスタステーション1aまたは1bに送信する。
【0017】
プログラマブルコントローラ4は、マスタステーション1aまたは1bを介して所定のリモートステーション2との間でデータの授受を行うことにより、誘導電動機8の制御,保護及び監視を行いシステム全体を制御するようになっている。また、マスタステーション1a及び1bには、表示手段たる表示器1aa及び1baが設けられている。
【0018】
図2は、リモートステーション2の電気的構成を示すものである。伝送路3a及び3bは、ドライバ/レシーバ回路(以下、D/R回路と称す)10の入出力端子10A及び10Bに夫々接続されている。入出力端子10Aは、D/R回路10の内部で入力バッファ10Iaの入力端子及び出力バッファ10Oaの出力端子に接続されている。また、入出力端子10Bは、同様に入力バッファ10Ibの入力端子及び出力バッファ10Obの出力端子に接続されている。
【0019】
そして、入力バッファ10Iaの出力端子及び出力バッファ10Oaの入力端子は、D/R回路10の入出力端子10A´に接続されており、入力バッファ10Ibの出力端子及び出力バッファ10Obの入力端子は、D/R回路10の入出力端子10B´に接続されている。
【0020】
入出力端子10A´及び10B´は、接続切替え回路11の端子11A及び11Bに夫々接続されており、接続切替え回路11の端子11Cは、制御手段たるマイクロコンピュータ(以下、マイコンと称す)12の入出力端子に接続されている。
【0021】
マイコン12の出力端子は、D/R回路10の制御端子DIRに接続されており、マイコン12は、D/R回路10にハイまたはローレベルの制御信号を与えて、入力バッファ10Ia及び10Ibまたは出力バッファ10Oa及び10Obをイネーブルにして、D/R回路10の設定をドライバ/レシーバに切替えるようになっている。
【0022】
また、マイコン12の出力端子は、接続切替え回路11の制御端子A/Bに接続されており、マイコン12は、接続切替え回路11にハイまたはローレベルの制御信号を与えて、接続切替え回路11の端子11Cの接続を、端子11Aまたは端子11B、即ち伝送路3aまたは3bに切り替えるようになっている。加えて、マイコン12は、所定周期のクロック信号でカウントアップし、そのタイマ値を読出し可能なタイマ12aを内蔵している。尚、以上がデータ伝送システム13を構成している。
【0023】
次に、本実施例の作用について説明する。ここで、マイコン12は、接続切替え回路11にハイレベルの制御信号を与えて、入出力端子を伝送路3aに接続していると共に、D/R回路10にハイレベルの制御信号を与えて、入力バッファ10Ia及び10Ibをイネーブルにして、D/R回路10をレシーバに設定しているとする。
【0024】
マイコン12の制御内容のフローチャートを示す図3において、マイコン12は、「タイマスタート」の処理ステップR1において、内蔵されているタイマ12aをスタートさせて計時を開始すると、「アドレス送信あり?」の判断ステップR2に移行する。判断ステップR2においては、マイコン12は、マスタステーション1aから伝送路3a上に何等かのアドレスが送信されたか否かを判断する。判断ステップS2において、アドレスの送信が無く「NO」と判断すると、「タイマ値>一定値?」の判断ステップR3に移行する。
【0025】
判断ステップS3においては、マイコン12は、タイマ12aのタイマ値を読出して、そのタイマ値が示す無信号時間(アドレスが全く送信されない時間)が予め定められた一定値を超えたか否か、即ち、所定時間を経過したか否かを判断する。判断ステップR3において「NO」と判断すると、ステップR2に移行して、マイコン12は、再びアドレスが送信されたか否かを判断する。
【0026】
判断ステップR2において、アドレスが送信され「YES」と判断すると、「タイマクリア」の処理ステップR6に移行して、タイマ12aをクリアして計時を停止する。そして、次の「自分のアドレス?」の判断ステップR7に移行する。判断ステップR7においては、マイコン12は、ステップR2で受信したアドレスが自分に割当てられているトーカ若しくはリスナアドレス(送信若しくは受信要求信号)であるか否かを判断する。判断ステップR7において、送信されたアドレスが自分に割当てられたものでなくマイコン12が「NO」と判断すると、ステップR1に移行して、再び無信号時間の計時を開始する。
【0027】
判断ステップR7において、送信されたアドレスが自分に割当てられたものでありマイコン12が「YES」と判断すると、「送信/受信処理」の処理ステップR8に移行する。処理ステップR8においては、マイコン12は、トーカ若しくはリスナアドレスの受信に応じて、リモートステーション2からマスタステーション1に対する送信若しくは受信処理を行なう。尚、送信処理を行なう場合は、D/R回路10にローレベルの制御信号を与えて、出力バッファ10Oa及び10Obをイネーブルにして、D/R回路10をドライバに設定する。そして、ステップR1に移行する。
【0028】
ここで、伝送路3aに断線若しくは短絡事故が発生したとする。すると、マスタステーション1aからアドレスが送信されなくなるため、マイコン12は、ステップR2及びR3のループを繰返す。そして、タイマ12aのカウント値は次第にアップして行き、予め定められた一定値を超えるとステップR3において「YES」と判断して、「伝送路切替え」の処理ステップR4に移行する。
【0029】
処理ステップR4においては、マイコン12は、接続切替え回路11にローレベルの制御信号を与えて、入出力端子を伝送路3bに切替えて接続する。そして、「異常処理」の処理ステップR5に移行する。処理ステップR5においては、マイコン12は、マスタステーション1bから自分に割当てられたトーカアドレスが送信されると、伝送路3aに異常が発生したことを示すデータを、マスタステーション1bに対するリスナアドレスと共に送信する。そして、ステップR1に移行する。
【0030】
而して、マスタステーション1bは、そのリスナアドレスと共にデータを受取ると、表示器1baの例えばランプを点灯させるなどして、伝送路3aに異常が発生したことを報知する。そして、「タイマクリア」の処理ステップR9に移行してタイマ12aをクリアすると、ステップR1に移行する。
【0031】
以上のように本実施例によれば、マスタステーション1a及び1bと複数のリモートステーション2とを二重化された伝送路3a及び3bによって接続して、伝送路3aを使用してデータ伝送を行なった場合に、リモートステーション2のマイコン12は、アドレスが全く送信されない無信号時間が一定時間を超えた場合は、伝送路3aに異常が発生したと判断して伝送路3bに切替えて使用するようにした。
【0032】
従って、マイコン12のプログラムにより伝送路3aの断線や地絡などの異常を確実に検出して、健全な伝送路3bに切替えて使用することができるので、従来とは異なり、リモートステーション2に伝送路の異常を検出する回路を設ける必要がなく、リモートステーション2を小形に構成することができる。
【0033】
また、本実施例によれば、リモートステーション2は、伝送路3aの異常を検出すると、異常が発生したことを示すデータをマスタステーション1bに送信するので、マスタステーション1bは伝送路3aに異常が発生したことを認識することができる。また、マスタステーション1bは、表示器1baによって伝送路3aに異常が発生したことをオペレータなどに報知するようにしたので、コントロールセンタ5の保守管理を容易に行なうことができる。
【0034】
更に、本実施例によれば、二重化した伝送路3a及び3bに対応してマスタステーション1a及び1bを設けて、伝送路3aに異常が発生して伝送路3bに切替える場合は、マスタステーション1bからデータの送受信を行うようにして伝送路3aと伝送路3bとを分離したので、異常が発生した伝送路3aに生じるインピーダンスの不整合による反射の影響が切替えた伝送路3bに及ぶことがなく、安定したデータ伝送を行なうことができる。
【0035】
図4は本発明の第2実施例を示すものである。尚、第2実施例の構成は第1実施例と同様であり、以下異なる作用について説明する。
マイコン12の制御内容のフローチャートを示す図4において、マイコン12は、「タイマスタート」の処理ステップS1において、内蔵されているタイマ12aをスタートさせて計時を開始すると、「自分のアドレス送信あり?」の判断ステップS2に移行する。判断ステップS2においては、マイコン12は、マスタステーション1aから自分に割当てられているトーカ若しくはリスナアドレスが送信されたか否かを判断する。判断ステップS2において、トーカ若しくはリスナアドレスの送信が無く「NO」と判断すると、「タイマ値>一定値?」の判断ステップS3に移行する。
【0036】
判断ステップS3においては、マイコン12は、タイマ12aのタイマ値を読出して、そのタイマ値が示す自分に割当てられたトーカ若しくはリスナアドレスが送信されない時間,即ち無要求時間が予め定められた一定値を超えたか否か、即ち、一定時間を経過したか否かを判断する。而して、マイコン12は、判断ステップS3において「NO」と判断すると、ステップS2に移行して、再びトーカ若しくはリスナアドレスが送信されたか否かを判断する。
【0037】
判断ステップS2において、マイコン12は、自分のトーカ若しくはリスナアドレスが送信され「YES」と判断すると、「送信/受信処理」の処理ステップS6に移行する。処理ステップS6においては、マイコン12は、第1実施例のステップR8と同様に、トーカ若しくはリスナアドレスの受信に応じて、リモートステーション2からマスタステーション1aに対する送信若しくは受信処理を行なうと、「タイマクリア」の処理ステップS7に移行する。処理ステップS7において、マイコン12は、内蔵されているタイマ12aをゼロクリアすると、ステップS1に移行する。
【0038】
ここで、伝送路3aに断線若しくは短絡事故が発生した場合は、自分のトーカ若しくはリスナアドレスが送信されなくなるので、マイコン12は、ステップS2において「NO」と判断し続けて、タイマ12aのタイマ値が一定値を超えると、ステップS3で「YES」と判断する。以降のステップS4,S5及びS9における処理は、第1実施例のステップR4,R5及びR9と同様に行われる。
【0039】
以上のように第2実施例によれば、マイコン12は、自分に割当てられたトーカ若しくはリスナアドレスが送信されない時間が一定時間を超えた場合は、伝送路3aに異常が発生したと判断して伝送路3bに切替えて使用するようにしたので、第1実施例と同様の効果が得られる。
【0040】
図5は本発明の第3に実施例を示すものである。尚、第3実施例の構成は第1実施例と同様であり、以下異なる作用について説明する。
マイコン12の制御内容のフローチャートを示す図5において、マイコン12は、「送信要求アドレスあり?」の判断ステップT1において、自分に割当てられたトーカアドレスが送信された場合は「YES」と判断して、「送信処理」の処理ステップT2に移行し、保持しているデータをマスタステーション1aに送信する。そして、判断ステップT1において「NO」と判断した場合と同様に、「受信要求アドレスあり?」の判断ステップT3に移行する。
【0041】
判断ステップT3においては、マイコン12は、自分のリスナアドレスが送信されて「YES」と判断した場合は、「受信処理」の処理ステップT4に移行して、リスナアドレスに続いて付加されている送信データを受信する。そして、「チェックコード正常か?」の判断ステップT5に移行する。また、判断ステップT3において「NO」と判断した場合は、ステップT1に移行する。
【0042】
第3実施例では、マスタステーション1から送信されたデータには、チェックコードとして、例えば送信データから生成された巡回冗長符号、即ちCRC(Cyclic Redundancy Check )コードが付加されている。而して、判断ステップT5においては、このCRCコードを読出して、送信データに誤りがない正常状態を示しているか否かを判断する。判断ステップT5において、CRCコードが正常状態を示しておりマイコン12が「YES」と判断すると、ステップT1に移行する。
【0043】
また、伝送路3aにノイズが加わり若しくは伝送路3aが地絡事故を発生して、送信データに何等かの誤りが生じ、これに従ってCRCコードが正常状態を示さなくなった場合には、マイコン12は、判断ステップT5で「NO」と判断すると、「N←N+1」の処理ステップT6に移行する。処理ステップT6においては、マイコン12は、CRCコードによって送信データの誤りを検出した回数をカウントするカウンタNの値(初期処理で0クリアされている)をインクリメントする。そして、次の「N>3?」の判断ステップT7に移行する。
【0044】
判断ステップT7においては、マイコン12は、カウンタNのカウント値が所定回数としての「3」を超えたか否かを判断する。カウント値が「3」を超えてておらず「NO」と判断すると、ステップT1に移行する。また、カウント値が「3」を超えており「YES」と判断すると、処理ステップT8及びT9に移行して、第1実施例のステップR4及びR5と同様の処理を行う。そして、「N←0」の処理ステップT10に移行して、カウンタNのカウント値をゼロクリアすると、ステップT1に移行する。
【0045】
以上のように第3実施例によれば、マイコン12は、送信データに付加されたCRCコードが送信データの誤りを検出した回数「3」を超えた場合は、伝送路3aに異常が発生したと判断して伝送路3bに切替えて使用するようにしたので、伝送路3aにノイズの重畳若しくは地絡事故が発生した場合でも、異常を確実に検出することができる。
【0046】
本発明は上記しかつ図面に記載した実施例にのみ限定されるものではなく、次のような変形または拡張が可能である。
最初に伝送路3bを使用して、伝送路3bに異常が発生した場合は伝送路3aに切替えるようにしても良い。
第3実施例におけるチェックコードは、CRCコードに限ること無く、ハミング符号若しくはパリティチェック符号などでも良い。また、所定回数は「3」に限らず適宜変更して良い。
【0047】
無信号時間若しくは無送信時間を計時するのにマイコン12にタイマ12aを設ける代わりに、システムタイマによるタイマ割込み回数をカウントするソフトウエアタイマによって計時しても良い。
マスタステーション1a及び1bに表示器1aa及び1baを設ける代わりに、プログラマブルコントローラ4に表示器を設けて、リモートステーション2から伝送路に異常が発生したことを示すデータの送信があった場合には、プログラマブルコントローラ4の表示器に表示を行なわせても良い。
【0048】
マスタステーション1aに伝送路3a及び3bを接続して、伝送路を切替えた場合でも、マスタステーション1aからデータの送受信を行なうようにしても良い。
データ伝送システム13を、親局たるマスタステーション1が子局たるリモートステーション2に対してトーカ若しくはリスナアドレスを送信することによりデータの送受信を行なうものとしたが、これに限らず、固定的な親局−子局関係のない複数のデータ伝送装置間において、データ送信権(バスマスタとなる権利)が前記データ伝送装置間の各々に順次割当てられるようなデータ伝送システムに適用しても良い。
【0049】
【発明の効果】
本発明は以上説明した通りであるので、以下の効果を奏する。
請求項1または2記載のデータ伝送システムによれば、複数のデータ伝送装置または子局の制御手段は、伝送路の内現在使用されている伝送路から自局に対して送信若しくは受信要求信号が送信されない無要求時間を測定し、無要求時間が予め定められた一定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御するので、データ伝送装置に伝送路の異常を検出する回路を設けずとも、断線や地絡などの事故の発生を検知し得るので、小形に構成することができる。
【0051】
請求項3記載のデータ伝送システムによれば、子局の制御手段は、伝送路の内現在使用されている伝送路の無信号時間を測定し、無信号時間が予め定められた所定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御するので、データ伝送装置に伝送路の異常を検出する回路を設けずとも、断線や地絡などの事故の発生を検知し得るので、小形に構成することができる。
請求項4記載のデータ伝送システムによれば、子局の制御手段は、伝送路の内現在使用されている伝送路からの受信データに付帯されたチェックコードから異常を判定し、この判定回数が予め定められた所定回数を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御するので、伝送路にノイズの重畳や地絡などの異常が発生した場合でも、その異常を確実に検出することができる。
更に、制御手段は、伝送路異常と判断した場合は、親局に異常信号を送信して伝送路異常を報知するので、親局は、伝送路に異常が発生したことを認識することができる(請求項3又は4)。
【0052】
請求項5記載のデータ伝送システムによれば、請求項2の場合において、制御手段は、伝送路異常と判断した場合は、親局に異常信号を送信して伝送路異常を報知するので、親局は、伝送路に異常が発生したことを認識することができる。
【0053】
請求項6記載のデータ伝送システムによれば、制御手段は、表示手段に伝送路に異常が発生したことを示す表示を行わせるようにしたので、伝送路に異常が発生したことをオペレータなどに報知することができ、保守管理が容易となる。
【図面の簡単な説明】
【図1】本発明の第1実施例を示す全体構成図
【図2】リモートステーションの電気的構成を示す図
【図3】リモートステーションのマイクロコンピュータの制御内容を示すフローチャート
【図4】本発明の第2実施例を示す図3相当図
【図5】本発明の第3実施例を示す図3相当図
【符号の説明】
1a及び1bはマスタステーション(データ伝送装置,親局)、1aa及び1baは表示器(表示手段)、2はリモートステーション(データ伝送装置,子局)、3a及び3bは伝送路、12はマイクロコンピュータ(制御手段)、13はデータ伝送システムを示す。[0001]
BACKGROUND OF THE INVENTION
According to the present invention, a transmission right is sequentially assigned to each of a plurality of data transmission apparatuses, or a master station transmits a transmission request signal to any one of a plurality of slave stations and sequentially transmits them. The present invention relates to a data transmission system that transmits and receives data by assigning rights.
[0002]
[Prior art]
An example of using such a data transmission system is a control center. In the control center, a master station, which is a data transmission device and a master station, has a transmission memory, and a programmable controller is connected to the transmission memory so that writing and reading are possible. When the programmable controller is a data transmission device in the control center and wants to obtain data from a remote station as a slave station, the programmable controller writes the data in a predetermined area of the transmission memory, thereby the remote station to the master station. Talker address (transmission request signal) is output on the transmission line.
[0003]
Then, in each remote station, if it is determined that the talker address is the address assigned to itself, the data of the motor protection relay owned by itself will be the listener address assigned to the master station ( The master station receives this data and writes it in the reception area of the programmable controller of the transmission memory. Thus, the programmable controller reads this data from the transmission memory and performs processing based on the data.
[0004]
In such a data transmission system, in order to cope with an abnormality such as a short circuit or disconnection of the transmission line, the transmission line is duplicated, and when an abnormality occurs, the system is operated by switching to the other transmission line. There is something to do. In this case, in the conventional data transmission system, an abnormality detection circuit is provided in the data transmission apparatus, and the transmission line is switched by detecting an abnormality of the transmission line in a circuit.
[0005]
[Problems to be solved by the invention]
However, in such a conventional data transmission system, it is necessary to provide an extra buffer circuit for the interface in the data transmission device by duplicating the transmission path, and further provide an abnormality detection circuit. There was a problem that the size of the.
SUMMARY OF THE INVENTION The present invention solves the above problems, and an object thereof is to provide a data transmission system that can detect an abnormality occurring in a transmission line without providing an abnormality detection circuit and can switch to a normal transmission line. It is in.
[0007]
[Means for Solving the Problems]
To achieve the above objective,Claim1The described data transmission system performs transmission / reception of data by sequentially assigning a transmission right to each of a plurality of data transmission apparatuses, and connects a plurality of data transmission apparatuses and selectively uses one of them. A plurality of data transmission devices measure a no-request time during which no transmission or reception request signal is transmitted from the currently used transmission path to the local station. When the request time exceeds a predetermined time, a control means is provided for controlling the transmission path to be switched to the other one by determining that the transmission path is abnormal.
[0008]
Claim2The data transmission system described isThe data transmission device as the master station transmits a transmission request signal to any one of the data transmission devices as the slave stations.Assign sequential transmission rightsHaveIn those that send and receive data byWith a master station and multiple slave stationsAnd has a duplexed transmission line that selectively uses one or the other,The slave station measures the non-request time during which no transmission or reception request signal is transmitted to the local station, and the no-request time is a predetermined time.And a control means for controlling to switch the currently used transmission line to the other when it is determined that the transmission line is abnormal.
[0009]
Claim3In the described data transmission system, the data transmission device as a master station transmits and receives data by transmitting a transmission request signal to any one of the data transmission devices as a plurality of slave stations and sequentially assigning a transmission right. In what is to be performed, a master station and a plurality of slave stations are connected, and a duplex transmission path is used in which one of them is selectively used. Measure the no-signal time, and if the no-signal time exceeds a predetermined time, determine that the transmission line is abnormal and switch the currently used transmission line to the otherAnd send an abnormal signal to the master station.It is characterized by comprising control means for controlling as described above.
[0011]
Claim4In the described data transmission system, the data transmission device as a master station transmits and receives data by transmitting a transmission request signal to any one of the data transmission devices as a plurality of slave stations and sequentially assigning a transmission right. In what is to be performed, a master station and multiple slave stations are connected, and a duplex transmission path is used in which one of them is selectively used. The slave station determines an abnormality from the check code attached to the received data. If this number of determinations exceeds a predetermined number of times, it is determined that the transmission line is abnormal, and the currently used transmission line is switched to the other.And send an abnormal signal to the master station.It is characterized by comprising control means for controlling as described above.
[0012]
Claim 2In this case, when it is determined that the transmission path is abnormal, the control means may transmit an abnormal signal to the master station.5).
Also,In the above case,When it is determined that the transmission line is abnormal, the control unit preferably causes the display unit to display the occurrence of the transmission line abnormality.6).
[0013]
DETAILED DESCRIPTION OF THE INVENTION
Hereinafter, a first embodiment of the present invention will be described with reference to FIGS. In FIG. 1 schematically showing the entire configuration, two master stations (data transmission apparatuses) 1a and 1b serving as master stations are connected to a plurality of remote stations (data transmission apparatuses) 2 serving as slave stations via
[0014]
The
[0015]
The
[0016]
Further, the
[0017]
The
[0018]
FIG. 2 shows the electrical configuration of the
[0019]
The output terminal of the input buffer 10Ia and the input terminal of the output buffer 10Oa are connected to the input /
[0020]
The input /
[0021]
The output terminal of the
[0022]
The output terminal of the
[0023]
Next, the operation of this embodiment will be described. Here, the
[0024]
In FIG. 3 which shows the flowchart of the control contents of the
[0025]
In the determination step S3, the
[0026]
In the determination step R2, if the address is transmitted and it is determined “YES”, the process proceeds to the “timer clear” processing step R6 to clear the
[0027]
If it is determined in the determination step R7 that the transmitted address is assigned to itself and the
[0028]
Here, it is assumed that a disconnection or a short circuit accident has occurred in the
[0029]
In the processing step R4, the
[0030]
Thus, when the master station 1b receives the data together with the listener address, the master station 1b informs that an abnormality has occurred in the
[0031]
As described above, according to the present embodiment, when
[0032]
Therefore, since the program of the
[0033]
Further, according to this embodiment, when the
[0034]
Further, according to this embodiment, when the
[0035]
FIG. 4 shows a second embodiment of the present invention. The configuration of the second embodiment is the same as that of the first embodiment, and different operations will be described below.
In FIG. 4 which shows the flowchart of the control contents of the
[0036]
In the determination step S3, the
[0037]
In the determination step S2, when the
[0038]
Here, when a disconnection or a short circuit accident occurs in the
[0039]
As described above, according to the second embodiment, the
[0040]
FIG. 5 shows a third embodiment of the present invention. The configuration of the third embodiment is the same as that of the first embodiment, and different operations will be described below.
In FIG. 5 showing the flowchart of the control contents of the
[0041]
In the determination step T3, if the
[0042]
In the third embodiment, a cyclic redundancy code generated from transmission data, that is, a CRC (Cyclic Redundancy Check) code, for example, is added to the data transmitted from the
[0043]
Further, when noise is added to the
[0044]
In the determination step T7, the
[0045]
As described above, according to the third embodiment, when the CRC code added to the transmission data exceeds the number “3” of detecting the error in the transmission data, an abnormality has occurred in the
[0046]
The present invention is not limited to the embodiments described above and shown in the drawings, and the following modifications or expansions are possible.
The
The check code in the third embodiment is not limited to the CRC code, but may be a Hamming code or a parity check code. The predetermined number of times is not limited to “3” and may be changed as appropriate.
[0047]
Instead of providing the
Instead of providing the display units 1aa and 1ba in the
[0048]
Even when the
In the data transmission system 13, the
[0049]
【The invention's effect】
Since this invention is as having demonstrated above, there exist the following effects.
[0051]
Claim3According to the described data transmission system,The slave station control means measures the no-signal time of the currently used transmission line of the transmission lines, and determines that the transmission line is abnormal when the no-signal time exceeds a predetermined time. Since the transmission line is controlled so that it is switched to the other, it is possible to detect the occurrence of an accident such as a disconnection or a ground fault without providing a circuit for detecting an abnormality in the transmission line in the data transmission device. can do.
According to the data transmission system of
Further, when the control means determines that the transmission line is abnormal, it transmits an abnormal signal to the master station to notify the transmission line abnormality, so that the master station can recognize that an abnormality has occurred in the transmission line. (
[0052]
Claim5According to the described data transmission system,In the case of
[0053]
Claim6According to the described data transmission system, the control means causes the display means to display that an abnormality has occurred in the transmission line, so that the operator or the like can be notified that an abnormality has occurred in the transmission line. And maintenance management becomes easy.
[Brief description of the drawings]
FIG. 1 is an overall configuration diagram showing a first embodiment of the present invention.
FIG. 2 is a diagram showing an electrical configuration of a remote station
FIG. 3 is a flowchart showing the control contents of the microcomputer of the remote station.
FIG. 4 is a view corresponding to FIG. 3, showing a second embodiment of the present invention.
FIG. 5 is a view corresponding to FIG. 3, showing a third embodiment of the present invention.
[Explanation of symbols]
1a and 1b are master stations (data transmission device, master station), 1aa and 1ba are indicators (display means), 2 is a remote station (data transmission device, slave station), 3a and 3b are transmission paths, and 12 is a microcomputer. (Control means) 13 indicates a data transmission system.
Claims (6)
前記複数のデータ伝送装置間を接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、
前記複数のデータ伝送装置は、前記伝送路の内現在使用されている伝送路から自局に対して送信若しくは受信要求信号が送信されない無要求時間を測定し、前記無要求時間が予め定められた一定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御する制御手段を具備したことを特徴とするデータ伝送システム。In a data transmission system that transmits and receives data by sequentially assigning a transmission right to each of a plurality of data transmission devices,
A plurality of data transmission devices are connected to each other, and a duplexed transmission path in which one of them is selectively used,
The plurality of data transmission devices measure a non-request time during which no transmission or reception request signal is transmitted from the currently used transmission path to the local station, and the no- request time is predetermined. A data transmission system comprising control means for determining that a transmission path is abnormal when a predetermined time is exceeded and switching a currently used transmission path to the other.
前記親局と複数の子局とを接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、
前記子局は、自局に対して送信若しくは受信要求信号が送信されない無要求時間を測定し、前記無要求時間が予め定められた一定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えるように制御する制御手段を具備したことを特徴とするデータ伝送システム。In the data transmission system for transmitting and receiving data by being assigned a sequential transmission right master station serving the data transmission device transmits a transmission request signal or to one of the plurality of slave stations serving data transmission device,
Connecting the master station and a plurality of slave stations, and comprising a duplexed transmission path in which either one is selectively used;
The slave station measures a non-request time during which no transmission or reception request signal is transmitted to the local station, and determines that a transmission path is abnormal when the non-request time exceeds a predetermined time, and is currently used. A data transmission system comprising a control means for controlling to switch the transmission line used to the other.
前記親局と複数の子局とを接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、
前記子局は、前記伝送路の内現在使用されている伝送路の無信号時間を測定し、前記無信号時間が予め定められた所定時間を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えると共に、親局に異常信号を送信するように制御する制御手段を具備したことを特徴とするデータ伝送システム。In the data transmission system for transmitting and receiving data by being assigned a sequential transmission right master station serving the data transmission device transmits a transmission request signal or to one of the plurality of slave stations serving data transmission device,
Connecting the master station and a plurality of slave stations, and comprising a duplexed transmission path in which either one is selectively used;
The slave station measures the no-signal time of the currently used transmission line of the transmission lines, and determines that the transmission line is abnormal when the no-signal time exceeds a predetermined time. A data transmission system comprising a control means for switching a transmission path to the other and controlling to transmit an abnormal signal to the master station .
前記親局と複数の子局とを接続し、選択的にどちらか一方が使用される二重化された伝送路を備え、
前記子局は、受信データに付帯されたチェックコードから異常を判定し、この判定回数が予め定められた所定回数を超えた場合に伝送路異常と判断して現在使用されている伝送路を他方に切替えると共に、親局に異常信号を送信するように制御する制御手段を具備したことを特徴とするデータ伝送システム。In a data transmission system in which a data transmission device as a master station transmits and receives data by transmitting a transmission request signal to any one of a plurality of data transmission devices as slave stations and sequentially assigning a transmission right,
Connecting the master station and a plurality of slave stations, and comprising a duplexed transmission path in which either one is selectively used;
The slave station determines an abnormality from the check code attached to the received data, and determines that the transmission line is abnormal when the number of times of determination exceeds a predetermined number of times. And a control means for controlling to transmit an abnormal signal to the master station .
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26286195A JP3619583B2 (en) | 1995-10-11 | 1995-10-11 | Data transmission system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP26286195A JP3619583B2 (en) | 1995-10-11 | 1995-10-11 | Data transmission system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH09107312A JPH09107312A (en) | 1997-04-22 |
| JP3619583B2 true JP3619583B2 (en) | 2005-02-09 |
Family
ID=17381657
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP26286195A Expired - Lifetime JP3619583B2 (en) | 1995-10-11 | 1995-10-11 | Data transmission system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP3619583B2 (en) |
-
1995
- 1995-10-11 JP JP26286195A patent/JP3619583B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPH09107312A (en) | 1997-04-22 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP3619583B2 (en) | Data transmission system | |
| JPH06162390A (en) | Signal lamp control system | |
| JPH08242303A (en) | Method for detecting drop/disconnection of adaptor for slave equipment in nurse calling equipment | |
| JP2861595B2 (en) | Switching control device for redundant CPU unit | |
| JPH0283649A (en) | Bus monitoring system | |
| KR100202398B1 (en) | Integrated Information Communication Network Device Control System with Dual Structure | |
| JPS62109441A (en) | Data transmission system | |
| JP2830486B2 (en) | Communication device | |
| JPH1168802A (en) | Faulty environment supervisory system | |
| KR101563932B1 (en) | Apparatus and method for switchover of redundancy status in redundancy system | |
| JPH03255745A (en) | Loop-shaped signal communication system | |
| JPH07281705A (en) | Monitor controller | |
| JP3125864B2 (en) | Redundant system | |
| JP3263932B2 (en) | Data transmission equipment | |
| JPH09307572A (en) | Information transmission controller | |
| JPH0248736A (en) | Information processing system | |
| JPH02231835A (en) | Node fault detector | |
| JPS58111545A (en) | Monitor system for transmission line | |
| JPH0888598A (en) | Dual system information transmission equipment | |
| JPS61270930A (en) | Wireless transmission system | |
| JPH0775350B2 (en) | Ring communication network | |
| JPH04242340A (en) | 1:n serial communication system | |
| JPH0670380A (en) | Remote controller | |
| JPH0818606A (en) | Disconnection detection method | |
| JPH05324381A (en) | Communication device having dual input / output control unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20040823 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20040831 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20041012 |
|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20041109 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20041115 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071119 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081119 Year of fee payment: 4 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091119 Year of fee payment: 5 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101119 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101119 Year of fee payment: 6 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111119 Year of fee payment: 7 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121119 Year of fee payment: 8 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131119 Year of fee payment: 9 |
|
| EXPY | Cancellation because of completion of term |