JPH11298483A - Optical polling access system - Google Patents
Optical polling access systemInfo
- Publication number
- JPH11298483A JPH11298483A JP10096000A JP9600098A JPH11298483A JP H11298483 A JPH11298483 A JP H11298483A JP 10096000 A JP10096000 A JP 10096000A JP 9600098 A JP9600098 A JP 9600098A JP H11298483 A JPH11298483 A JP H11298483A
- Authority
- JP
- Japan
- Prior art keywords
- slave station
- station
- level
- value
- master station
- 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.)
- Withdrawn
Links
Landscapes
- Small-Scale Networks (AREA)
- Optical Communication System (AREA)
Abstract
(57)【要約】
【課題】 本発明は光ポーリングアクセスシステムに関
し、通常の親局からのポーリングアクセスに支障なく、
子局からのアラーム・警報等の割り込み通知を迅速に行
なうことができる光ポーリングアクセスシステムを提供
することを目的としている。
【解決手段】 親局と複数の子局間を上りと下りの光フ
ァイバで接続して情報の伝送を行なうシステムにおい
て、親局内に子局から親局に到達する光信号を電気信号
に変換し、当該電気信号のレベルを測定して、その値が
一定レベル以上になったことを判別する検出部を設け、
子局から親局に到達する光レベルを一定にするアッテネ
ータを設け、親局が子局と通信を行っている最中にアク
セス要求されていない他の子局が一定の光を送出して割
り込み要求を行ない、親局では検出部が受光レベルが一
定値以上になったことを検出してアクセスしている子局
以外からの割り込み要求を認識するように構成する。
(57) [Summary] The present invention relates to an optical polling access system, and does not hinder ordinary polling access from a master station.
It is an object of the present invention to provide an optical polling access system capable of promptly issuing an interrupt notification such as an alarm or warning from a slave station. SOLUTION: In a system for transmitting information by connecting a master station and a plurality of slave stations with upstream and downstream optical fibers, an optical signal which reaches the master station from the slave station is converted into an electric signal in the master station. A detection unit that measures the level of the electric signal and determines that the value has reached a certain level or higher,
An attenuator that keeps the light level from the slave station to the master station constant is provided, and while the master station is communicating with the slave station, other slave stations that have not been requested to access transmit a certain amount of light and interrupt A request is made, and the master station is configured so that the detecting unit detects that the light receiving level has exceeded a certain value and recognizes an interrupt request from a station other than the accessing slave station.
Description
【0001】[0001]
【発明の属する技術分野】本発明は光ポーリングシステ
ムに関し、更に詳しくは親局と複数の子局とを光ケーブ
ルで接続(伝送路はバス型、スター型等の複数の子局が
接続できる形態)とし、親局が複数の子局全部へ一斉に
データを送信し、1台の子局が応答するポーリングアク
セスシステムにおいて、アクセスしていない子局が親局
に対して割り込み通知を行なう方式に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical polling system, and more particularly, to a master station and a plurality of slave stations connected by an optical cable (a transmission line can be connected to a plurality of slave stations such as a bus type or a star type). In a polling access system in which a master station transmits data to all of a plurality of slave stations all at once and one slave station responds, the present invention relates to a method in which a slave station that is not accessing notifies an interrupt to the master station.
【0002】[0002]
【従来の技術】従来、光ポーリングシステムでは、親局
がシステムを制御する方法として、以下の3種類の形態
が考えられる。 子局はアラーム・警報等の情報があっても、自装置の
アクセスまで待機状態になる。 アクセスの切り替わり時に、親局はアラーム・警報等
の情報がないか、全ての子局の状態を監視し、次の子局
へのアクセスを開始する。 アラーム・警報等の発生により他の子局の通信を妨害
し、データ異常検出により通知する。2. Description of the Related Art Conventionally, in an optical polling system, the following three modes are considered as a method of controlling a system by a master station. The slave station waits for access to its own device even if there is information such as alarms and warnings. When the access is switched, the master station monitors the status of all slave stations for information such as alarms and warnings, and starts access to the next slave station. The communication of other slave stations is disturbed by the occurrence of alarms and warnings, etc., and notification is made by detecting data abnormality.
【0003】図20は前記第1の方法を示すポーリング
アクセスタイミングを示す図である。子局が(a)〜
(n)まで接続されている場合、親局はアクセス周期T
で全ての子局をポーリングしていく。FIG. 20 is a diagram showing polling access timing showing the first method. Slave station is (a) ~
When the connection is made up to (n), the master station sets the access period T
Then poll all slave stations.
【0004】図21は前記第2の方法を示すポーリング
アクセスの切り換わりの監視タイミングを示す図であ
る。子局が(a)〜(n)まで接続されている場合、親
局は次の子局に移る時にアラーム・警報等の情報がない
かチェックする。そして、チェック後、次の子局に移
る。FIG. 21 is a diagram showing the timing of monitoring the switching of polling access according to the second method. If the slave station is connected to (a) to (n), the master station checks for information such as alarms and warnings when moving to the next slave station. Then, after checking, move to the next slave station.
【0005】[0005]
【発明が解決しようとする課題】前記した第1の方法で
は、アラーム・警報等の異常処理が遅れ、システムとし
て異常発生から状態回復までに時間がかかるという問題
がある。前記した第2の方法では、1アクセスに費やす
時間が大きく、システム動作能力が低下するという問題
がある。前記した第3の方法では、データ異常を引き起
こすためトライ処理が必要となり、リトライ処理ができ
ないシステムでは構築が困難となるという問題がある。The first method described above has a problem in that abnormal processing such as alarms and warnings is delayed, and it takes a long time for the system to recover from an abnormality occurrence to a state. In the above-mentioned second method, there is a problem that a long time is spent for one access and the system operation capability is reduced. The third method described above has a problem that a trial process is required to cause a data abnormality, and it is difficult to construct a system that cannot perform the retry process.
【0006】本発明はこのような課題に鑑みてなされた
ものであって、通常の親局からのポーリングアクセスに
支障なく、子局からのアラーム・警報等の割り込み通知
を迅速に行なうことができる光ポーリングアクセスシス
テムを提供することを目的としている。SUMMARY OF THE INVENTION The present invention has been made in view of such a problem, and it is possible to promptly notify an interrupt such as an alarm / alarm from a slave station without interfering with ordinary polling access from the master station. It aims to provide an optical polling access system.
【0007】[0007]
【課題を解決するための手段】(1)図1、図2は本発
明の原理ブロック図である。図1は子局が親局に対して
スター状に接続されている場合を、図2は子局と親局と
がバスで接続されている場合を示す。これら図におい
て、1は親局、2は親局1と接続される複数の子局であ
る。3は親局1と子局2を接続する下り光ファイバ、4
は親局と子局2を接続する上り光ファイバ、5は光パス
を分岐させるための光カップラである。(1) FIGS. 1 and 2 are block diagrams showing the principle of the present invention. FIG. 1 shows a case where the slave station is connected to the master station in a star shape, and FIG. 2 shows a case where the slave station and the master station are connected by a bus. In these figures, 1 is a master station, and 2 is a plurality of slave stations connected to the master station 1. 3 is a downstream optical fiber connecting the master station 1 and the slave station 2;
Is an upstream optical fiber connecting the master station and the slave station 2, and 5 is an optical coupler for branching an optical path.
【0008】親局1において、11は子局2をアクセス
要求する信号を出力する制御部、12は制御部11から
の電気信号を光信号に変換するE/O変換部、13は子
局2からの光信号を電気信号に変換するO/E変換部で
ある。In the master station 1, reference numeral 11 denotes a control unit for outputting a signal requesting access to the slave station 2, reference numeral 12 denotes an E / O converter for converting an electric signal from the control unit 11 into an optical signal, and reference numeral 13 denotes a slave station 2. This is an O / E converter for converting an optical signal from the optical signal into an electric signal.
【0009】子局2において、21は受信信号が親局1
からのアクセス要求信号であるかを判別する制御部、2
2は制御部21の出力信号を光信号に変換するE/O変
換部、23は親局1からの信号を電気信号に変換するO
/E変換部である。In the slave station 2, the received signal 21 is the master station 1
A control unit for determining whether the signal is an access request signal from
An E / O converter 2 converts an output signal of the control unit 21 into an optical signal, and an O / O converter 23 converts a signal from the master station 1 into an electric signal.
/ E conversion unit.
【0010】本発明は、親局内に、子局から親局に到達
する光信号を電気信号に変換し、当該電気信号のレベル
を測定して、その値が一定レベル以上になったことを判
別する検出部を設け、子局から親局に到達する光レベル
を一定にするアッテネータを設け、親局が子局と通信を
行なっている最中にアクセス要求されていない他の子局
が一定の光を送出して割り込み要求を行ない、親局では
前記検出部が受光レベルが一定値以上になったことを検
出してアクセスしている子局以外からの割り込み要求を
認識することを特徴としている。According to the present invention, an optical signal arriving at a master station from a slave station is converted into an electric signal, the level of the electric signal is measured, and it is determined that the value has reached a certain level or more. And an attenuator that keeps the light level reaching the master station from the slave station is constant, and other slave stations that have not been requested to access while the master station is communicating with the slave station are fixed. An interrupt request is made by transmitting light, and the detection unit detects that the light reception level has exceeded a predetermined value at the master station and recognizes an interrupt request from a slave station other than the accessing slave station. .
【0011】この発明の構成によれば、親局が子局と通
信を行なっている最中にアクセス要求されていない他の
子局が一定の光を送出して割り込み要求を行なった場
合、検出部により受光レベルが一定値以上になったこと
を検出することにより、他の子局からの割り込み要求を
判別することができる。According to the configuration of the present invention, when another slave station that is not requested to access while the master station is communicating with the slave station sends out a certain amount of light and issues an interrupt request, it is detected. The interrupt request from another slave station can be determined by detecting that the light receiving level has exceeded a certain value by the unit.
【0012】(2)また、親局内に、子局から親局に到
達する光信号を電気信号に変換し、当該電気信号のレベ
ルを測定する検出部と、該検出部で検出した値を保持す
る保持部と、該保持部の値と前記検出部の値を比較する
比較部を設け、親局が子局にアクセスして応答が返った
ことを制御部で確認すると、その時の検出部で測定した
光レベルを保持部で保持させ、比較部で保持部の保持し
た値と検出部で測定した値が一致するかどうかを判定
し、親局が子局にアクセスしている状態で、他の子局が
一定レベルの光を送出することで割り込みを要求する
と、前記検出部は先の子局にアクセスしている状態より
も光レベルが増加した値を示し、比較部で保持部で保持
した値と不一致となる場合に、制御部は他の子局から割
り込みが発生していることを認識することを特徴として
いる。(2) In the master station, a detecting section for converting an optical signal arriving from the slave station to the master station into an electric signal and measuring the level of the electric signal, and holding a value detected by the detecting section And a comparing unit for comparing the value of the holding unit with the value of the detecting unit, and when the control unit confirms that the master station has accessed the slave station and returned a response, the detecting unit at that time detects The measured light level is held by the holding unit, and the comparison unit determines whether the value held by the holding unit and the value measured by the detection unit match, and while the master station is accessing the slave station, When the slave station requests an interrupt by transmitting a certain level of light, the detection unit indicates a value in which the light level has increased from the state where the previous slave station is being accessed, and the comparison unit holds the value in the holding unit. If the value does not match the specified value, the control unit has generated an interrupt from another slave station. It is characterized by recognizing and.
【0013】この発明の構成によれば、親局が子局にア
クセスしている状態における子局からの光レベルを保持
部に保持させておき、保持した光レベルを基準にして他
の子局からの割り込み要求があった時には光レベルが増
加することで他の子局からの割り込み要求があったこと
を判別することができる。[0013] According to the configuration of the present invention, the optical level from the slave station while the master station is accessing the slave station is held in the holding section, and the other slave stations are referenced based on the held light level. When there is an interrupt request from the slave station, it is possible to determine that there is an interrupt request from another slave station by increasing the light level.
【0014】(3)また、親局内に、子局から親局に到
達する光信号を電気信号に変換し、当該電気信号のレベ
ルを測定する検出部と、各子局からの光レベル値と割り
込みが発生した時の光レベル値を保持する情報メモリ
と、該情報メモリの値と検出部の値を比較する比較部を
設け、親局は子局とアクセス中に、他の子局が割り込み
要求を発生すると、光レベルの変化を検出部で測定し、
比較部で情報メモリのデータとを比較し、比較結果が一
致すると、制御部は他の子局から割り込みが発生してい
ることを認識することを特徴としている。(3) In the master station, a detector for converting an optical signal arriving from the slave station to the master station into an electric signal and measuring the level of the electric signal, an optical level value from each slave station, and An information memory that holds the light level value at the time of occurrence of the interrupt and a comparison unit that compares the value of the information memory with the value of the detector are provided. When a request occurs, the change in light level is measured by the detector,
The comparison unit compares the data in the information memory, and when the comparison results match, the control unit recognizes that an interrupt has occurred from another slave station.
【0015】この発明の構成によれば、各子局からの光
レベル値を異ならしめた値と、割り込みがあった時の光
レベル値を情報メモリに保持しておくことにより、他の
子局からの割り込み要求があった時の光レベルを前記情
報メモリに保持している光レベル値と比較することで、
他の子局からの割り込み要求があったことを判別するこ
とができる。According to the configuration of the present invention, the value obtained by changing the light level value from each slave station and the light level value at the time of interruption are stored in the information memory, so that other slave stations can be stored. By comparing the light level at the time of the interrupt request from with the light level value held in the information memory,
It is possible to determine that there has been an interrupt request from another slave station.
【0016】[0016]
【発明の実施の形態】以下、図面を参照して本発明の実
施の形態例を詳細に説明する。図3は本発明の第1の実
施の形態例を示すブロック図である。図1と同一のもの
は、同一の符号を付して示す。親局1において、11は
制御部、12はE/O変換部、13はO/E変換部、1
4は受光する光信号を電気信号に変換し、その値が一定
レベル以上に上がることを測定する検出部である。3は
下り光ファイバ、4は上り光ファイバ、5は光信号を分
岐する光カップラである。6は子局2からの親局1に対
する光信号レベルが一定になるように調整するアッテネ
ータ(ATT)である。子局2において、21は制御
部、22はE/O変換部、23はO/E変換部である。
図に示す実施の形態例では、親局1と#1〜#3までの
3台の子局2が通信を行なう場合を示している。このよ
うに構成された回路の動作を説明すれば、以下の通りで
ある。Embodiments of the present invention will be described below in detail with reference to the drawings. FIG. 3 is a block diagram showing the first embodiment of the present invention. 1 are denoted by the same reference numerals. In the master station 1, 11 is a control unit, 12 is an E / O converter, 13 is an O / E converter, 1
Reference numeral 4 denotes a detection unit that converts a received light signal into an electric signal and measures that the value rises above a certain level. Reference numeral 3 denotes a downstream optical fiber, 4 denotes an upstream optical fiber, and 5 denotes an optical coupler for branching an optical signal. Reference numeral 6 denotes an attenuator (ATT) for adjusting the optical signal level from the slave station 2 to the master station 1 to be constant. In the slave station 2, 21 is a control unit, 22 is an E / O conversion unit, and 23 is an O / E conversion unit.
In the embodiment shown in the figure, a case is shown where the master station 1 and three slave stations 2 # 1 to # 3 communicate. The operation of the circuit thus configured will be described as follows.
【0017】親局1と#1の子局2とが光ファイバを介
して通信を行なっているものとする。この時、親局1か
らの信号はE/O変換部12で光信号に変換された後、
光カップラ5を介して子局2のO/E変換部23に入
り、電気信号に変換される。一方、子局2からの信号
は、E/O変換部22で光信号に変換された後、アッテ
ネータ6で光レベルが調整された後、光カップラ5を介
して親局1のO/E変換部13に入る。この時の信号検
出レベルは検出部14で測定され、制御部11に通知さ
れる。It is assumed that the master station 1 and the slave station # 1 are communicating via an optical fiber. At this time, after the signal from the master station 1 is converted into an optical signal by the E / O conversion unit 12,
The signal enters the O / E converter 23 of the slave station 2 via the optical coupler 5 and is converted into an electric signal. On the other hand, the signal from the slave station 2 is converted into an optical signal by the E / O converter 22, the optical level is adjusted by the attenuator 6, and the O / E conversion of the master station 1 is performed via the optical coupler 5. Enter the section 13. The signal detection level at this time is measured by the detection unit 14 and notified to the control unit 11.
【0018】ここで、他のアクセス要求されていない子
局、例えば#2の子局2が一定の光を送出することで割
り込み要求する。すると、親局1の検出部14では、受
光する光レベルが一定値以上に上がることを検出する。
検出結果は、制御部11に通知される。よって、親局1
は現在アクセスしている子局以外からの割り込みが発生
していることを検出し、全子局2をアクセスし、#2の
子局2から割り込みが発生したことを判別する。Here, another slave station to which no access is requested, for example, the slave station 2 of # 2 issues an interrupt request by transmitting a certain amount of light. Then, the detection unit 14 of the master station 1 detects that the light level to be received rises above a certain value.
The detection result is notified to the control unit 11. Therefore, master station 1
Detects that an interrupt has occurred from a station other than the currently accessed slave station, accesses all the slave stations 2, and determines that an interrupt has occurred from the slave station # 2.
【0019】この実施の形態例によれば、子局2側で親
局1からのアクセス要求信号を受信して、自局へのアク
セス要求信号であるか否かを判別することができる。ま
た、アクセス要求のあった子局2は親局1に対して応答
することにより、親局1側で特定の子局2からの応答信
号であることを判別することができる。According to this embodiment, the slave station 2 can receive the access request signal from the master station 1 and determine whether or not the access request signal is for the own station. The slave station 2 that has made the access request responds to the master station 1 so that the master station 1 can determine that it is a response signal from a specific slave station 2.
【0020】更に、この実施の形態例によれば、親局1
が子局2と通信を行なっている最中にアクセス要求され
ていない他の子局2が一定の光を送出して割り込み要求
を行なった場合、検出部14により受光レベルが一定値
以上になったことを検出することにより、他の子局から
の割り込み要求を判別することができる。Further, according to this embodiment, the master station 1
If the other station 2 that has not been requested to access during communication with the slave station 2 sends out a certain amount of light and makes an interrupt request, the light receiving level becomes higher than a certain value by the detector 14. By detecting this, it is possible to determine an interrupt request from another slave station.
【0021】図4は本発明の第2の実施の形態例を示す
ブロック図である。図3と同一のものは、同一の符号を
付して示す。図の親局1において、14は受信した信号
のレベルを測定する検出部、15は測定した信号レベル
を保持する保持部、16は検出部14の出力と保持部1
5に保持されている値を比較し、比較結果を制御部11
に通知する比較部である。その他の構成は、図3と同じ
である。このように構成された回路の動作を説明すれ
ば、以下の通りである。FIG. 4 is a block diagram showing a second embodiment of the present invention. The same components as those in FIG. 3 are denoted by the same reference numerals. In the master station 1 shown in the figure, 14 is a detection unit for measuring the level of a received signal, 15 is a holding unit for holding the measured signal level, and 16 is the output of the detection unit 14 and the holding unit 1
5 and compares the comparison result with the control unit 11.
Is a comparing unit for notifying the user. Other configurations are the same as those in FIG. The operation of the circuit thus configured will be described as follows.
【0022】親局1が#1の子局2にアクセスし、当該
子局2からの応答が返ったことを制御部11で確認する
と、その時の検出部14で測定した光レベルを保持部1
5に保持させる。そして、比較部16は保持部15の保
持した値と、検出部14で測定した値とが一致すること
を制御部11に通知する。When the master station 1 accesses the slave station 2 of # 1 and confirms that the response from the slave station 2 has been returned, the controller 11 checks the light level measured by the detector 14 at that time.
5. Then, the comparison unit 16 notifies the control unit 11 that the value held by the holding unit 15 and the value measured by the detection unit 14 match.
【0023】今、親局1が#1の子局2にアクセスして
いる状態で、他の子局、例えば#2の子局2が一定レベ
ルの光を送出して割り込みを要求する。すると、親局1
の検出部14は、#1の子局2にアクセスしている状態
よりも光レベルが増加したことを測定する。比較部16
は保持部15で保持されている値と、検出部14で検出
した値とを比較する。比較の結果、不一致となるため、
その旨を制御部11に通知する。よって、親局1は比較
部16からの信号を監視することで、現状アクセスして
いる#1の子局2以外の子局2から割り込みが発生して
いることを検出し、全子局2にアクセスして#2の子局
2からり割り込みを判別することができる。Now, while the master station 1 is accessing the slave station 2 of # 1, another slave station, for example, the slave station 2 of # 2 emits light of a certain level and requests an interrupt. Then, master station 1
The detector 14 measures that the light level has increased from the state where the slave station 2 of # 1 is being accessed. Comparison section 16
Compares the value held by the holding unit 15 with the value detected by the detection unit 14. As a result of the comparison,
This is notified to the control unit 11. Therefore, the master station 1 monitors the signal from the comparison section 16 to detect that an interrupt has occurred from the slave stations 2 other than the slave station 2 of # 1 currently being accessed. To determine the interrupt from the slave station 2 of # 2.
【0024】この実施の形態例によれば、親局が子局に
アクセスしている状態における子局からの光レベルを保
持部に保持させておき、保持した光レベルを基準にして
他の子局からの割り込み要求があった時には光レベルが
増加することで他の子局からの割り込み要求があったこ
とを判別することができる。According to this embodiment, the light level from the slave station while the master station is accessing the slave station is held in the holding section, and the other slaves are referenced based on the held light level. When there is an interrupt request from the station, it is possible to determine that there is an interrupt request from another slave station by increasing the light level.
【0025】図5は本発明の第3の実施の形態例を示す
ブロック図である。図3、図4と同一のものは、同一の
符号を付して示す。親局1において、17は各子局2か
らの光レベル値と、割り込みが発生した時の光レベル値
を保持する情報メモリである。比較部16は検出部14
の出力値と情報メモリ17に保持されている値を比較し
てその結果を制御部11に通知する。この回路では、子
局2から親局1へ到達する光レベルをアッテネータ6で
調整している。このように構成された回路の動作を説明
すれば、以下の通りである。FIG. 5 is a block diagram showing a third embodiment of the present invention. 3 and 4 are designated by the same reference numerals. In the master station 1, reference numeral 17 denotes an information memory for holding a light level value from each slave station 2 and a light level value when an interrupt occurs. The comparison unit 16 is a detection unit 14
Is compared with the value held in the information memory 17, and the result is notified to the control unit 11. In this circuit, the light level reaching the master station 1 from the slave station 2 is adjusted by the attenuator 6. The operation of the circuit thus configured will be described as follows.
【0026】親局1が#1の子局2とアクセス中に、他
の子局、例えば#2の子局2が割り込みを発生すると、
光レベルが変化する。その光レベルを親局1側の検出部
14で測定し、情報メモリ17のデータとを比較部16
で比較する。制御部11は、情報メモリ17のデータを
切り換え、比較部16からの一致通知を受けることによ
り、#2の子局2からの割り込み発生を判別することが
できる。よって、親局1は、どの子局2からの割り込み
であるかを判別し、即時に割り込み処理が機能となる。If another slave station, for example, the slave station 2 of # 2 generates an interrupt while the master station 1 is accessing the slave station 2 of # 1,
The light level changes. The light level is measured by the detection unit 14 of the master station 1 and compared with the data of the information memory 17 by the comparison unit 16.
To compare. The control unit 11 switches the data in the information memory 17 and receives the coincidence notification from the comparison unit 16 so as to determine the occurrence of an interrupt from the slave station 2 of # 2. Therefore, the master station 1 determines from which slave station 2 the interrupt is issued, and the interrupt processing functions immediately.
【0027】この実施の形態例によれば、各子局からの
光レベル値を異ならしめることと、割り込みがあった時
の光レベル値を情報メモリに保持しておくことにより、
他の子局からの割り込み要求があった時の光レベルを前
記情報メモリに保持している光レベル値と比較すること
で、他の子局からの割り込み要求があったことを判別す
ることができる。According to this embodiment, the light level value from each slave station is made different, and the light level value at the time of interruption is stored in the information memory.
By comparing the light level at the time of an interrupt request from another slave station with the light level value held in the information memory, it is possible to determine that there is an interrupt request from another slave station. it can.
【0028】図6は本発明の第4の実施の形態例を示す
ブロック図である。図5と同一のものは、同一の符号を
付して示す。親局1において、17は検出部14の出力
を保持する情報メモリである。比較部16は、情報メモ
リ17に保持されている値と、検出部14の出力とを比
較してその結果を制御部11に通知する。このように構
成された回路の動作を説明すれば、以下の通りである。FIG. 6 is a block diagram showing a fourth embodiment of the present invention. The same components as those in FIG. 5 are denoted by the same reference numerals. In the master station 1, reference numeral 17 denotes an information memory for holding the output of the detection unit. The comparing unit 16 compares the value held in the information memory 17 with the output of the detecting unit 14 and notifies the control unit 11 of the result. The operation of the circuit thus configured will be described as follows.
【0029】親局1は1つの子局2に対してアクセスを
行なっている最中に、その他の子局2に割り込みを出力
させ、その時の検出部14で測定した値を情報メモリ1
7に保持する。この制御は制御部11が行なう。The master station 1 outputs an interrupt to the other slave stations 2 while accessing one slave station 2, and stores the value measured by the detector 14 at that time in the information memory 1.
Hold at 7. This control is performed by the control unit 11.
【0030】その後に、親局1が#1の子局2とアクセ
ス中に、他の子局である#2の子局が割り込みを発生す
ると、光レベルの変化がある。検出部14はその光レベ
ルの変化を測定し、比較部16に与える。該比較部16
は、検出部14の出力と、情報メモリ17の出力とを比
較する。比較の結果が一致した場合、制御部11は他の
子局2からの割り込みがあったことを判別することがで
きる。よって、親局1は、どの子局2からの割り込みで
あるかを判別し、即時に割り込み処理が可能となる。Thereafter, when the master station 1 is accessing the slave station # 1 and the other slave station # 2 generates an interrupt, the light level changes. The detecting unit 14 measures the change in the light level and supplies it to the comparing unit 16. The comparison unit 16
Compares the output of the detection unit 14 with the output of the information memory 17. If the comparison results match, the control unit 11 can determine that there has been an interrupt from another slave station 2. Therefore, the master station 1 determines from which slave station 2 the interrupt is issued, and the interrupt processing can be immediately performed.
【0031】この実施の形態例によれば、割り込み時の
子局から親局に到達する全ての割り込みパターン時の光
レベルを情報メモリに記憶しておくことにより、他の子
局からの割り込み要求があった時の光レベルを前記情報
メモリに保持している光レベル値と比較することで、他
の子局からの割り込み要求があったことを判別すること
ができる。According to this embodiment, the light levels at the time of all the interrupt patterns reaching the master station from the slave station at the time of the interrupt are stored in the information memory, so that an interrupt request from another slave station can be obtained. By comparing the light level at the time of the occurrence with the light level value held in the information memory, it is possible to determine that there has been an interrupt request from another slave station.
【0032】図7は本発明の第5の実施の形態例を示す
ブロック図である。図3と同一のものは、同一の符号を
付して示す。親局1において、18は検出部14の出力
を受けて光レベルが増大している時間を測定し、制御部
11に通知するタイマである。この回路では、子局2か
ら親局1に到達する光レベルをアッテネータ6で調整し
ている。このように構成された回路の動作を説明すれ
ば、以下の通りである。FIG. 7 is a block diagram showing a fifth embodiment of the present invention. The same components as those in FIG. 3 are denoted by the same reference numerals. In the master station 1, a timer 18 receives the output of the detection unit 14, measures the time during which the light level is increasing, and notifies the control unit 11 of the time. In this circuit, the light level reaching the master station 1 from the slave station 2 is adjusted by the attenuator 6. The operation of the circuit thus configured will be described as follows.
【0033】親局1が#1の子局2と通信を行なってい
る最中に、アクセス要求されていない他の子局、例えば
#2の子局2が一定時間の光パルスを送出する。する
と、親局1の検出部14では、受光する光レベルが一定
値以上に一定時間上がることを検出し、タイマ18で検
出部14が検出した時間を測定し、制御部11に通知す
る。よって、親局1はタイマ18の監視時間により、現
状アクセスしている#1の子局2以外の子局からの割り
込みを判別し、即時に割り込み処理が可能となる。While the master station 1 is communicating with the slave station 2 of # 1, another slave station that has not been requested to access, for example, the slave station 2 of # 2 transmits an optical pulse for a predetermined time. Then, the detection unit 14 of the master station 1 detects that the light level to be received rises above a certain value for a certain time, measures the time detected by the detection unit 14 with the timer 18, and notifies the control unit 11. Therefore, based on the monitoring time of the timer 18, the master station 1 determines an interrupt from a slave station other than the currently accessed slave station # 1 and can immediately execute the interrupt processing.
【0034】この実施の形態例によれば、他の子局から
一定時間の光パルスを送出し、親局側で受光レベルが一
定時間増加することを検出して、この一定時間を各子局
で異ならしめることにより、他の子局から割り込み要求
があったことを判別することができる。According to this embodiment, an optical pulse for a fixed time is transmitted from another slave station, and the master station detects that the light receiving level increases for a certain time, and this fixed time is used for each slave station. Thus, it is possible to determine that there has been an interrupt request from another slave station.
【0035】図8は本発明の第6の実施の形態例を示す
ブロック図である。図3と同一のものは、同一の符号を
付して示す。この実施の形態例では、親局1と子局2と
はFM変調された信号により通信を行なっている。親局
1において、19は制御部11からの信号を受けてE/
O変換部12へ通知するFM変調部、20はO/E変換
部13の出力を受けて制御部11に通知するFM復調部
である。FIG. 8 is a block diagram showing a sixth embodiment of the present invention. The same components as those in FIG. 3 are denoted by the same reference numerals. In this embodiment, the master station 1 and the slave station 2 communicate with each other using FM-modulated signals. In the master station 1, 19 receives a signal from the control unit 11 and
Reference numeral 20 denotes an FM demodulation unit for notifying the O conversion unit 12, and an FM demodulation unit 20 for receiving the output of the O / E conversion unit 13 and notifying the control unit 11.
【0036】子局2において、24はO/E変換部23
の出力を受けて変調信号を復調し、制御部21に通知す
るFM復調部、25は制御部21の出力を受けて変調す
るFM変調部である。26は該FM変調部25の出力を
受けるリレーで、その出力はE/O変換部22に与えら
れる。リレー26のオン/オフ制御は、制御部21から
与えられる。このように構成された装置の動作を説明す
れば、以下の通りである。In the slave station 2, reference numeral 24 denotes an O / E converter 23.
Is an FM demodulation unit that demodulates a modulation signal in response to the output of the control unit 21 and notifies the control unit 21 of the demodulated signal. Reference numeral 26 denotes a relay for receiving the output of the FM modulator 25, and the output is supplied to the E / O converter 22. ON / OFF control of the relay 26 is given from the control unit 21. The operation of the device configured as described above will be described below.
【0037】親局1と子局2は、FM変復調部19、2
0、24、25により変復調された信号により通信を行
ない、信号レベルが平均して一定になるようにしてい
る。今、#1の子局2が親局1からポーリングアクセス
を行なっている最中に、#2の子局2が割り込みを通知
するために、FM変調部25からの信号をリレー25で
切断し、光だけを出力するように制御部21で制御す
る。The master station 1 and the slave station 2 are connected to the FM modems 19 and 2
Communication is performed using the signals modulated and demodulated by 0, 24, and 25 so that the signal level is constant on average. Now, while the slave station # 1 is performing polling access from the master station 1, the signal from the FM modulator 25 is disconnected by the relay 25 so that the slave station # 2 # 2 notifies an interrupt. Is controlled by the control unit 21 so as to output only light.
【0038】1つの子局2から親局1に到達する光レベ
ルをアッテネータ6により調整し、親局1に到達する光
レベルを−10dBmとする。ここで、#2の子局2が
光を送出すると、光レベルが図9に示すように倍になり
−7dBmに変化する。これがO/E変換部13で光信
号を電気信号に変換した時のレベルは−20dBmから
−14dBmになる。O/E変換部13は、フォトダイ
オード13bと、抵抗R0とアンプ13aで構成されて
いる。フォトダイオード13bは、入射する光に応じた
電気信号を発生する。これをアンプ13aで増幅する。The light level reaching the master station 1 from one slave station 2 is adjusted by the attenuator 6, and the light level reaching the master station 1 is set to -10 dBm. Here, when the # 2 slave station 2 emits light, the light level is doubled as shown in FIG. 9 and changes to -7 dBm. The level when this is converted from an optical signal to an electric signal by the O / E converter 13 is changed from -20 dBm to -14 dBm. The O / E converter 13 includes a photodiode 13b, a resistor R0, and an amplifier 13a. The photodiode 13b generates an electric signal according to incident light. This is amplified by the amplifier 13a.
【0039】そこで、検出部14で−17dBm以上の
レベルを検出する回路にすれば、光の増幅で割り込みが
発生していることを検出できる。即ち、図9の検出部1
4における抵抗R1とR2の分圧電圧を−17dBm相
当になるようにしておく。この結果、アンプ13aの出
力を受けてそれが−14dBmであれば、レベル検出器
14aは“1”レベルになり、制御部11に割り込みが
発生したことを通知することができる。制御部11は、
割り込みを検出すると、全子局2をアクセスし、#2の
子局2から割り込みが発生していることを判別すること
ができる。Therefore, if a circuit for detecting a level of -17 dBm or more is used in the detection unit 14, it is possible to detect that an interrupt has occurred due to amplification of light. That is, the detecting unit 1 shown in FIG.
4, the divided voltage of the resistors R1 and R2 is set to be equivalent to -17 dBm. As a result, if the output of the amplifier 13a is received and is −14 dBm, the level detector 14a becomes “1” level and can notify the control unit 11 that an interrupt has occurred. The control unit 11
When an interrupt is detected, all slave stations 2 are accessed, and it is possible to determine that an interrupt has occurred from the slave station # 2.
【0040】図10は本発明の第7の実施の形態例を示
すブロック図である。図8と同一のものは、同一の符号
を付して示す。親局1において、15は検出部14で測
定された信号レベルを保持する保持部である。16は検
出部14の出力と保持部15に保持されている値とを比
較して制御部11に通知する比較部である。その他の構
成はアッテネータが無い点を除いて図8と同じである。
このように構成された回路の動作を説明すれば、以下の
通りである。FIG. 10 is a block diagram showing a seventh embodiment of the present invention. 8 are denoted by the same reference numerals. In the master station 1, a holding unit 15 holds the signal level measured by the detection unit 14. A comparison unit 16 compares the output of the detection unit 14 with the value stored in the storage unit 15 and notifies the control unit 11 of the result. Other configurations are the same as those in FIG. 8 except that there is no attenuator.
The operation of the circuit thus configured will be described as follows.
【0041】この実施の形態例は、親局1が#1の子局
2とポーリングアクセスによる通信を行なっている最中
に、#2の子局2が割り込みを通知するために、#2の
子局2はFM変調部25からの信号をリレー26で切断
し、光だけを出力するように制御部21で制御するもの
である。In this embodiment, while the master station 1 is communicating with the slave station 2 of # 1 by polling access, the slave station 2 of # 2 notifies the interrupt of the slave station # 2. The slave station 2 disconnects the signal from the FM modulator 25 with the relay 26 and controls the controller 21 so as to output only light.
【0042】親局1は#1の子局からのポーリングアク
セスによる応答を、O/E変換部13で電気信号に変
え、FM復調部20でFM信号を復調し、制御部11で
応答信号を検出する。図11は本発明の第7の実施の形
態例の動作説明図である。今、O/E変換部13で#1
の子局2の光信号が−10dBmあったものとし、電気
信号に変えた−20dBmの電気信号は、検出部14を
構成するA/Dコンバータでアナログレベルをディジタ
ルレベルに変換する。制御部11はFM復調部20から
の応答信号を受けて、A/Dコンバータ14で変換され
た値を保持部15を構成するメモリ15に記憶する。The master station 1 converts a response from polling access from the slave station # 1 into an electric signal by the O / E converter 13, demodulates the FM signal by the FM demodulator 20, and converts the response signal by the controller 11. To detect. FIG. 11 is an operation explanatory view of the seventh embodiment of the present invention. Now, in the O / E conversion unit 13, # 1
It is assumed that the optical signal of the slave station 2 is −10 dBm, and the analog signal of −20 dBm converted into an electric signal is converted from an analog level to a digital level by an A / D converter constituting the detection unit 14. The control unit 11 receives the response signal from the FM demodulation unit 20 and stores the value converted by the A / D converter 14 in the memory 15 constituting the holding unit 15.
【0043】そして、制御部11でFM復調部20で復
調された信号は制御部11に通知される。その後、#2
の子局2が光を送出すると、光レベルが仮に−10dB
mから−8dBmに変化したものとする。これが、O/
E変換部13で電気信号に変換され、検出部14でディ
ジタルレベルに変えられる。この時のレベルは、−16
dBmとなる。The signal demodulated by the FM demodulation unit 20 is sent to the control unit 11. Then # 2
When the slave station 2 sends out the light, the light level is temporarily -10 dB.
It is assumed that the value has changed from m to −8 dBm. This is O /
The signal is converted into an electric signal by the E converter 13, and is converted into a digital level by the detector 14. The level at this time is -16
dBm.
【0044】比較部16は、このレベル(−16dB
m)を保持部15で保持しているレベル(−20dB
m)と比較し、レベルが上昇したことによる割り込み通
知を制御部11に対して行なう。このように、保持した
光レベルを基準にしてレベル増幅度を監視することで、
他の子局からの割り込みを判別することが可能となる。The comparing section 16 determines the level (−16 dB)
m) held by the holding unit 15 (−20 dB)
As compared with m), an interrupt notification due to the rise in level is sent to the control unit 11. In this way, by monitoring the level amplification based on the held light level,
It is possible to determine an interrupt from another slave station.
【0045】図12は本発明の第8の実施の形態例を示
すブロック図である。図5、図8、図10と同一のもの
は、同一の符号を付して示す。このシステムは、親局1
と子局2とがFM変復調された信号により通信を行な
い、各子局2からの光応答レベルを図14に示す端末光
レベルになるように調整するものである。図において、
17は各子局2からの光レベル値と割り込みが発生した
時の光レベル値を保持する(記憶する)情報メモリで、
図14に示すデータを保持しているものである。このよ
うに構成された回路の動作を説明すれば、以下の通りで
ある。FIG. 12 is a block diagram showing an eighth embodiment of the present invention. 5, 8, and 10 are denoted by the same reference numerals. This system is a master station 1
The mobile station 2 and the mobile station 2 communicate with each other by using the signal subjected to the FM modulation and demodulation, and adjust the optical response level from each mobile station 2 to the terminal light level shown in FIG. In the figure,
Reference numeral 17 denotes an information memory which holds (stores) the light level value from each slave station 2 and the light level value when an interrupt occurs.
This holds the data shown in FIG. The operation of the circuit thus configured will be described as follows.
【0046】図14において、アクセス中の子局の入力
レベルが異なっているのは、どの子局からの応答である
かを親局1の制御部11で判別できるようにするためで
ある。同図には、アクセス中の子局と、割り込み子局と
の組み合わせによる光増幅レベルが予め設定されてい
る。In FIG. 14, the reason why the input level of the slave station being accessed is different is that the control unit 11 of the master station 1 can determine which slave station is responding. In the figure, the optical amplification level is set in advance by the combination of the accessing slave station and the interrupt slave station.
【0047】#1の子局2が親局1からポーリングアク
セスを行なっている最中に、#2の子局2が割り込みを
通知するため、#2の子局2はFM変調部25からの信
号をリレー26で切断し、光だけを出力するように制御
部21で制御する。While the slave station 2 of # 1 is performing polling access from the master station 1, the slave station 2 of # 2 notifies an interrupt. The signal is cut by the relay 26 and the control unit 21 controls so that only light is output.
【0048】今、#1の子局2から親局1に到達する光
レベルをアッテネータ6で調整しているので、親局1に
入る光レベルは−30dBmとした時に、図13の動作
説明図に示すようにO/E変換部13で光信号を電気信
号に変換した時のレベルは−60dBmとなる。Now, since the optical level reaching the master station 1 from the slave station # 1 of # 1 is adjusted by the attenuator 6, when the optical level entering the master station 1 is -30 dBm, the operation explanatory diagram of FIG. As shown in (1), the level when the optical signal is converted into the electric signal by the O / E converter 13 is -60 dBm.
【0049】検出部14はA/Dコンバータ14により
アナログレベルをディジタルレベルに変換し、比較部1
6に入力する。この時、制御部11からアクセスを行な
っている#1の子局2のアドレス[0000]にデータ
切り換えアドレスを出力し、情報メモリ17のデータを
切り換えて比較部16に入力する。The detection unit 14 converts the analog level into a digital level by the A / D converter 14 and
Enter 6 At this time, the control unit 11 outputs the data switching address to the address [0000] of the slave station 2 of # 1 that is accessing the data, switches the data in the information memory 17 and inputs it to the comparing unit 16.
【0050】比較部16はA/Dコンバータ14の出力
と情報メモリ17の出力とを比較する。ここで比較結果
が一致すると、比較部16は制御部11に対して#1の
子局2の応答であることを通知する。The comparator 16 compares the output of the A / D converter 14 with the output of the information memory 17. Here, if the comparison results match, the comparison unit 16 notifies the control unit 11 that the response is the response of the slave station 2 of # 1.
【0051】その後、#2の子局2が光を送出すると、
光レベルが4.8dBm上がり(図14参照)、光レベ
ルは−25.2dBmとなる。これが、O/E変換部1
3で電気信号に変換された時のレベルは−50.4dB
mとなるので、比較部16では、検出部14からのデー
タと、情報メモリ17からのデータとを比較した時に不
一致となる。Thereafter, when the slave station 2 of # 2 emits light,
The light level rises by 4.8 dBm (see FIG. 14), and the light level becomes −25.2 dBm. This is the O / E converter 1
The level when converted to an electric signal in 3 is -50.4 dB
Therefore, the comparison unit 16 does not agree when comparing the data from the detection unit 14 with the data from the information memory 17.
【0052】この不一致結果を受けると、制御部11
は、#1の子局2以外の子局2からアクセスしているこ
とを認識することができる。制御部11で子局2からの
割り込みを確認すると、情報メモリ17のアドレスを切
り換えて比較部16で一致するまで切り換えると、#2
の子局2に切り換えた時に検出部14からのデータと情
報メモリ17から読み出したデータとが一致し、どの子
局から割り込みを発生しているかを判別することができ
る。これにより、全子局をアクセスすることなく、#2
の子局2からの割り込みを判別可能とすることができ
る。Upon receiving this mismatch result, the control unit 11
Can recognize that access is being made from a slave station 2 other than the slave station 2 of # 1. When the control unit 11 confirms the interruption from the slave station 2, the address in the information memory 17 is switched until the address is matched by the comparison unit 16, and # 2
When switching to the slave station 2, the data from the detection unit 14 and the data read from the information memory 17 match, and it is possible to determine from which slave station an interrupt has occurred. As a result, # 2 can be accessed without accessing all slave stations.
Interrupt from the slave station 2 can be determined.
【0053】図15は本発明の第9の実施の形態例を示
すブロック図である。図10、図12と同一のものは、
同一の符号を付して示す。前述の実施の形態例では、親
局1が#2の割り込みを検出するため、各子局2から親
局1に入力される光レベルをアッテネータ6で調整して
いた。この実施の形態例では、親局1に入力される光レ
ベルの調整をせずにすませるようにしたものである。FIG. 15 is a block diagram showing a ninth embodiment of the present invention. The same thing as FIG. 10 and FIG.
The same reference numerals are given. In the above embodiment, the attenuator 6 adjusts the optical level input from each of the slave stations 2 to the master station 1 so that the master station 1 detects the interrupt of # 2. In this embodiment, the light level input to the master station 1 is not adjusted.
【0054】この実施の形態例では、前述の実施の形態
例(図12〜図14)の情報メモリ17の内容が事前に
書き込めないため、図16に示すように情報メモリ17
は検出部14からの情報を制御部11からの書き込み制
御信号により保持するようにしたものである。このよう
に構成された回路の動作を説明すれば、以下の通りであ
る。In this embodiment, since the contents of the information memory 17 of the above-described embodiment (FIGS. 12 to 14) cannot be written in advance, as shown in FIG.
Is such that information from the detection unit 14 is held by a write control signal from the control unit 11. The operation of the circuit thus configured will be described as follows.
【0055】この実施の形態例では、システム立ち上げ
時や、一定時間毎に親局1は以下のことを行ない、情報
メモリ17の情報テーブルを作成することで、光部の汚
れ等による光レベルの変化を修正するようにしている。In this embodiment, the master station 1 performs the following at the start-up of the system or at regular time intervals, and creates an information table in the information memory 17 so that the light level due to dirt on the optical unit or the like is obtained. I am trying to correct the changes.
【0056】親局1は#1の子局2をアクセスし、該
子局2の応答で制御部11はその時の検出部14で検出
した光レベルを情報メモリ17に保持(ラッチ)させ
る。 親局1は、#1の子局2をアクセスしたまま、#2の
子局2に割り込み通知を行わせる。#2の子局2はFM
変調部25からの信号をリレー26で切断し、光だけを
出力するように制御部21で制御する。The master station 1 accesses the slave station 2 of # 1, and the controller 11 causes the information memory 17 to hold (latch) the light level detected by the detector 14 at that time in response to the slave station 2. The master station 1 causes the slave station 2 of # 2 to perform an interrupt notification while accessing the slave station 2 of # 1. # 2 slave station 2 is FM
The signal from the modulating unit 25 is cut by the relay 26, and the control unit 21 controls so as to output only light.
【0057】親局1では、#2の子局2が光を出力す
ることで、情報メモリ17のデータと、検出部14のデ
ータが不一致になる。制御部11は、情報メモリ17へ
のアドレスを#1の子局2アクセス時に#2の子局2が
割り込みを出した時のレベルテーブルのアドレスに切り
換え、検出部14からのデータを保持する。In the master station 1, the data in the information memory 17 does not match the data in the detector 14 because the slave station 2 of # 2 outputs light. The control unit 11 switches the address to the information memory 17 to the address of the level table when the # 2 slave station 2 issues an interrupt when the # 1 slave station 2 is accessed, and holds the data from the detection unit 14.
【0058】次に、#2の子局から#3、#4に変更
し、それぞれの割り込み時の光レベルを情報メモリ17
に保持する。 〜と同じように、アクセス先を#1の子局から#
2〜#4へと変えた時の光レベルを情報メモリ17に保
持する。Next, the slave station of # 2 is changed to # 3 and # 4, and the light level at the time of each interruption is stored in the information memory 17.
To hold. In the same way as above, the access destination is
The light level at the time of changing from 2 to # 4 is held in the information memory 17.
【0059】以上、全ての割り込みパターン時の光レベ
ルを保持することで、前述の実施の形態例と同じ割り込
み検出が可能となる。図17は本発明の第10の実施の
形態例を示すブロック図である。図7、図8、図9と同
一のものは、同一の符号を付して示す。前述の第8の実
施の形態例における情報メモリ17のデータは、子局2
の台数が増えればデータ量も増え、光レベル検出可能レ
ベル差にも限界がある。そこで、この実施の形態例で
は、親局1に入る光レベルをアッテネータ6により全子
局2が一定になるようにし、光レベルの割り込みレベル
検出時間を監視するタイマ18を設けたものである。こ
のように構成された回路の動作を説明すれば、以下の通
りである。As described above, by holding the light levels at the time of all the interrupt patterns, the same interrupt detection as in the above-described embodiment can be performed. FIG. 17 is a block diagram showing a tenth embodiment of the present invention. 7, 8, and 9 are denoted by the same reference numerals. The data in the information memory 17 in the above-described eighth embodiment is
As the number of devices increases, the amount of data also increases, and there is a limit to the difference in light level detectable level. Therefore, in this embodiment, the light level entering the master station 1 is made constant by the attenuator 6 for all the slave stations 2, and a timer 18 for monitoring the interrupt level detection time of the light level is provided. The operation of the circuit thus configured will be described as follows.
【0060】#1の子局2が親局1からポーリングを行
なっている最中に、#2の子局2が割り込みを通知する
ために、FM変調部25からの信号をリレー26で切断
し、光だけを一定時間(各子局毎に出力時間の設定を変
える)出力するように制御部21で制御する。While the # 1 slave station 2 is performing polling from the master station 1, the # 2 slave station 2 disconnects the signal from the FM modulator 25 at the relay 26 in order to notify the interrupt. The control unit 21 controls so that only the light is output for a fixed time (the setting of the output time is changed for each slave station).
【0061】光レベルからの割り込み検出は、第6の実
施の形態例と同じであるが、各子局2はそれぞれ決めら
れた一定時間を送出するために、図18に示すように検
出部14のレベル検出器14aが割り込み検出を行なう
と、タイマ18で割り込み発生時間をカウントし、カウ
ントした値を制御部11で認識する。The detection of the interruption from the light level is the same as that of the sixth embodiment, but each of the slave stations 2 sends out a fixed time, as shown in FIG. When the level detector 14a detects an interrupt, the timer 18 counts the interrupt occurrence time, and the control unit 11 recognizes the counted value.
【0062】このタイマ18でのカウントは、図19に
示すように、“0”に戻る前のカウント値が割り込みを
発生している端末番号(端末番号×1クロック)とな
る。例えば、図19において、カウンタが0に戻る前の
カウント値“2”が子局#2からの割り込みとなり、カ
ウンタが0に戻る前のカウント値“3”が子局#3から
の割り込みとなる。As shown in FIG. 19, the count value of the timer 18 is such that the count value before returning to “0” is the terminal number (terminal number × 1 clock) in which the interrupt has occurred. For example, in FIG. 19, the count value “2” before the counter returns to 0 becomes an interrupt from the slave station # 2, and the count value “3” before the counter returns to 0 becomes an interrupt from the slave station # 3. .
【0063】よって、情報メモリ17(図12参照)か
ら、タイマ18へと機能を変えることにより、子局2が
増加してもカウンタの容量を変えるだけで割り込みを発
生した子局を判別することができるようになる。Therefore, by changing the function from the information memory 17 (see FIG. 12) to the timer 18, it is possible to determine the slave station that has generated the interrupt only by changing the counter capacity even if the slave station 2 increases. Will be able to
【0064】前述の実施の形態例では、図1に示すスタ
ー接続の場合を例にとったが、本発明はこれに限るもの
ではなく、図2に示すバス接続の場合にも同様に適用す
ることができる。In the above-described embodiment, the case of the star connection shown in FIG. 1 is taken as an example, but the present invention is not limited to this, and is similarly applied to the case of the bus connection shown in FIG. be able to.
【0065】[0065]
【発明の効果】以上、詳細に説明したように、本発明に
よれば、 (1)親局内に、子局から親局に到達する光信号を電気
信号に変換し、当該電気信号のレベルを測定して、その
値が一定レベル以上になったことを判別する検出部を設
け、子局から親局に到達する光レベルを一定にするアッ
テネータを設け、親局が子局と通信を行なっている最中
にアクセス要求されていない他の子局が一定の光を送出
して割り込み要求を行ない、親局では前記検出部が受光
レベルが一定値以上になったことを検出してアクセスし
ている子局以外からの割り込み要求を認識することによ
り、親局が子局と通信を行なっている最中にアクセス要
求されていない他の子局が一定の光を送出して割り込み
要求を行なった場合、検出部により受光レベルが一定値
以上になったことを検出し、他の子局からの割り込み要
求を判別することができる。As described above in detail, according to the present invention, (1) an optical signal reaching a master station from a slave station is converted into an electrical signal in the master station, and the level of the electrical signal is changed. Measuring, providing a detection unit that determines that the value has reached a certain level or more, providing an attenuator to keep the light level reaching the master station from the slave station, the master station communicates with the slave station While the access is being made, another slave station that has not been requested to access transmits a certain amount of light and issues an interrupt request, and at the master station, the detection unit detects that the light reception level has exceeded a certain value and accesses the base station. By recognizing an interrupt request from a slave station other than the slave station, another slave station that has not been requested to access while the master station is communicating with the slave station emits a certain amount of light and issues an interrupt request. If the light receiving level exceeds a certain Is detected, an interrupt request from another slave station can be determined.
【0066】(2)また、親局内に、子局から親局に到
達する光信号を電気信号に変換し、当該電気信号のレベ
ルを測定する検出部と、該検出部で検出した値を保持す
る保持部と、該保持部の値と前記検出部の値を比較する
比較部を設け、親局が子局にアクセスして応答が返った
ことを制御部で確認すると、その時の検出部で測定した
光レベルを保持部で保持させ、比較部で保持部の保持し
た値と検出部で測定した値が一致するかどうかを判定
し、親局が子局にアクセスしている状態で、他の子局が
一定レベルの光を送出することで割り込みを要求する
と、前記検出部は先の子局にアクセスしている状態より
も光レベルが増加した値を示し、比較部で保持部で保持
した値と不一致となる場合に、制御部は他の子局から割
り込みが発生していることを認識することにより、親局
が子局にアクセスしている状態における子局からの光レ
ベルを保持部に保持させておき、保持した光レベルを基
準にして他の子局からの割り込み要求があった時には光
レベルが増加することで他の子局からの割り込み要求が
あったことを判別することができる。(2) In the master station, a detecting section for converting an optical signal arriving from the slave station to the master station into an electric signal and measuring the level of the electric signal, and holding a value detected by the detecting section And a comparing unit for comparing the value of the holding unit with the value of the detecting unit, and when the control unit confirms that the master station has accessed the slave station and returned a response, the detecting unit at that time detects The measured light level is held by the holding unit, and the comparison unit determines whether the value held by the holding unit and the value measured by the detection unit match, and while the master station is accessing the slave station, When the slave station requests an interrupt by transmitting a certain level of light, the detection unit indicates a value in which the light level has increased from the state where the previous slave station is being accessed, and the comparison unit holds the value in the holding unit. If the value does not match the specified value, the control unit has generated an interrupt from another slave station. , The optical level from the slave station while the master station is accessing the slave station is held in the holding unit, and an interrupt request from another slave station is made based on the held light level. When there is, it is possible to determine that there has been an interrupt request from another slave station by increasing the light level.
【0067】(3)また、親局内に、子局から親局に到
達する光信号を電気信号に変換し、当該電気信号のレベ
ルを測定する検出部と、各子局からの光レベル値と割り
込みが発生した時の光レベル値を保持する情報メモリ
と、該情報メモリの値と検出部の値を比較する比較部を
設け、親局は子局とアクセス中に、他の子局が割り込み
要求を発生すると、光レベルの変化を検出部で測定し、
比較部で情報メモリのデータとを比較し、比較結果が一
致すると、制御部は他の子局から割り込みが発生してい
ることを認識することにより、各子局からの光レベル値
を異ならしめた値と、割り込みがあった時の光レベル値
を情報メモリに保持しておき、他の子局からの割り込み
要求があった時の光レベルを前記情報メモリに保持して
いる光レベル値と比較することで、他の子局からの割り
込み要求があったことを判別することができる。(3) In the master station, a detector for converting an optical signal arriving from the slave station to the master station into an electric signal and measuring the level of the electric signal, and an optical level value from each slave station, An information memory that holds the light level value at the time of occurrence of the interrupt and a comparison unit that compares the value of the information memory with the value of the detector are provided. When a request occurs, the change in light level is measured by the detector,
The comparison unit compares the data with the data in the information memory, and when the comparison results match, the control unit recognizes that an interrupt has occurred from another slave station, so that the light level value from each slave station differs. And the light level at the time of interruption is held in the information memory, and the light level at the time of an interrupt request from another slave station is held at the information memory. By performing the comparison, it is possible to determine that there has been an interrupt request from another slave station.
【0068】このように、本発明によれば、通常の親局
からのポーリングアクセスに支障なく、子局からのアラ
ーム・警報等の割り込み通知を迅速に行なうことができ
る光ポーリングアクセスシステムを提供することができ
る。As described above, according to the present invention, there is provided an optical polling access system capable of promptly issuing an interrupt notification such as an alarm / alarm from a slave station without interfering with ordinary polling access from a master station. be able to.
【図1】本発明の原理ブロック図である。FIG. 1 is a principle block diagram of the present invention.
【図2】本発明の原理ブロック図である。FIG. 2 is a principle block diagram of the present invention.
【図3】本発明の第1の実施の形態例を示すブロック図
である。FIG. 3 is a block diagram showing a first embodiment of the present invention.
【図4】本発明の第2の実施の形態例を示すブロック図
である。FIG. 4 is a block diagram showing a second embodiment of the present invention.
【図5】本発明の第3の実施の形態例を示すブロック図
である。FIG. 5 is a block diagram showing a third embodiment of the present invention.
【図6】本発明の第4の実施の形態例を示すブロック図
である。FIG. 6 is a block diagram showing a fourth embodiment of the present invention.
【図7】本発明の第5の実施の形態例を示すブロック図
である。FIG. 7 is a block diagram showing a fifth embodiment of the present invention.
【図8】本発明の第6の実施の形態例を示すブロック図
である。FIG. 8 is a block diagram showing a sixth embodiment of the present invention.
【図9】本発明の第6の実施の形態例の動作説明図であ
る。FIG. 9 is an operation explanatory diagram of the sixth embodiment of the present invention.
【図10】本発明の第7の実施の形態例を示すブロック
図である。FIG. 10 is a block diagram showing a seventh embodiment of the present invention.
【図11】本発明の第7の実施の形態例の動作説明図で
ある。FIG. 11 is an operation explanatory view of a seventh embodiment of the present invention.
【図12】本発明の第8の実施の形態例を示すブロック
図である。FIG. 12 is a block diagram showing an eighth embodiment of the present invention.
【図13】本発明の第8の実施の形態例の動作説明図で
ある。FIG. 13 is an operation explanatory diagram of the eighth embodiment of the present invention.
【図14】端末光レベルを示す図である。FIG. 14 is a diagram showing a terminal light level.
【図15】本発明の第9の実施の形態例を示すブロック
図である。FIG. 15 is a block diagram showing a ninth embodiment of the present invention.
【図16】本発明の第9の実施の形態例の動作説明図で
ある。FIG. 16 is an operation explanatory diagram of the ninth embodiment of the present invention.
【図17】本発明の第10の実施の形態例を示すブロッ
ク図である。FIG. 17 is a block diagram showing a tenth embodiment of the present invention.
【図18】本発明の第10の実施の形態例の動作説明図
である。FIG. 18 is an operation explanatory diagram of the tenth embodiment of the present invention.
【図19】各部の動作を示すタイムチャートである。FIG. 19 is a time chart showing the operation of each unit.
【図20】ポーリングアクセスタイミングを示す図であ
る。FIG. 20 is a diagram showing polling access timing.
【図21】切り換わり時の監視タイミングを示す図であ
る。FIG. 21 is a diagram showing monitoring timing at the time of switching.
1 親局 2 子局 3 下り光ファイバ 4 上り光ファイバ 5 光カップラ 11 制御部 12 E/O変換部 13 O/E変換部 21 制御部 22 E/O変換部 23 O/E変換部 Reference Signs List 1 master station 2 slave station 3 downstream optical fiber 4 upstream optical fiber 5 optical coupler 11 control section 12 E / O conversion section 13 O / E conversion section 21 control section 22 E / O conversion section 23 O / E conversion section
Claims (3)
ァイバで接続して情報の伝送を行なうシステムにおい
て、 親局内に、子局から親局に到達する光信号を電気信号に
変換し、当該電気信号のレベルを測定して、その値が一
定レベル以上になったことを判別する検出部を設け、 子局から親局に到達する光レベルを一定にするアッテネ
ータを設け、 親局が子局と通信を行なっている最中にアクセス要求さ
れていない他の子局が一定の光を送出して割り込み要求
を行ない、 親局では前記検出部が受光レベルが一定値以上になった
ことを検出してアクセスしている子局以外からの割り込
み要求を認識することを特徴とする光ポーリングアクセ
スシステム。In a system for transmitting information by connecting a master station and a plurality of slave stations with upstream and downstream optical fibers, an optical signal arriving from the slave station to the master station is converted into an electric signal in the master station. Converting, measuring the level of the electrical signal, providing a detection unit for determining that the value has exceeded a certain level, providing an attenuator for keeping the optical level reaching the master station from the slave station, While the station is communicating with the slave station, another slave station that has not been requested to access transmits a certain amount of light and issues an interrupt request, and at the master station, the detection unit detects that the light receiving level is higher than a certain value. An optical polling access system, characterized in that the optical polling access system detects an interruption request and recognizes an interrupt request from a slave station other than the accessing slave station.
号を電気信号に変換し、当該電気信号のレベルを測定す
る検出部と、該検出部で検出した値を保持する保持部
と、該保持部の値と前記検出部の値を比較する比較部を
設け、 親局が子局にアクセスして応答が返ったことを制御部で
確認すると、その時の検出部で測定した光レベルを保持
部で保持させ、比較部で保持部の保持した値と検出部で
測定した値が一致するかどうかを判定し、 親局が子局にアクセスしている状態で、他の子局が一定
レベルの光を送出することで割り込みを要求すると、前
記検出部は先の子局にアクセスしている状態よりも光レ
ベルが増加した値を示し、比較部で保持部で保持した値
と不一致となる場合に、制御部は他の子局から割り込み
が発生していることを認識することを特徴とする請求項
1記載の光ポーリングアクセスシステム。2. A detecting unit for converting an optical signal arriving at a master station from a slave station into an electric signal and measuring a level of the electric signal, and a holding unit for holding a value detected by the detecting unit. And a comparing unit for comparing the value of the holding unit with the value of the detecting unit. When the control unit confirms that the master station has accessed the slave station and returned a response, the light measured by the detecting unit at that time is provided. The level is held in the holding unit, and the comparison unit determines whether the value held by the holding unit matches the value measured by the detection unit. When an interrupt is requested by transmitting light of a certain level, the detection unit indicates a value in which the light level is increased from the state where the previous slave station is being accessed, and the value held in the holding unit in the comparison unit is equal to the value held in the holding unit. If there is a mismatch, the control unit recognizes that an interrupt has occurred from another slave station. Light polling access system of claim 1, wherein Rukoto.
号を電気信号に変換し、当該電気信号のレベルを測定す
る検出部と、各子局からの光レベル値と割り込みが発生
した時の光レベル値を保持する情報メモリと、該情報メ
モリの値と検出部の値を比較する比較部を設け、 親局は子局とアクセス中に、他の子局が割り込み要求を
発生すると、光レベルの変化を検出部で測定し、比較部
で情報メモリのデータとを比較し、比較結果が一致する
と、制御部は他の子局から割り込みが発生していること
を認識することを特徴とする請求項1記載の光ポーリン
グアクセスシステム。3. A detecting unit for converting an optical signal arriving from a slave station to the master station into an electric signal and measuring the level of the electric signal in the master station, and generating an optical level value and an interrupt from each slave station. An information memory that holds the optical level value at the time of the error and a comparison unit that compares the value of the information memory with the value of the detection unit are provided. Then, the change in the light level is measured by the detection unit, the comparison unit compares the data with the data in the information memory, and when the comparison results match, the control unit recognizes that an interrupt has occurred from another slave station. The optical polling access system according to claim 1, wherein:
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10096000A JPH11298483A (en) | 1998-04-08 | 1998-04-08 | Optical polling access system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP10096000A JPH11298483A (en) | 1998-04-08 | 1998-04-08 | Optical polling access system |
Publications (1)
Publication Number | Publication Date |
---|---|
JPH11298483A true JPH11298483A (en) | 1999-10-29 |
Family
ID=14152849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP10096000A Withdrawn JPH11298483A (en) | 1998-04-08 | 1998-04-08 | Optical polling access system |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPH11298483A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002136740A (en) * | 2000-10-30 | 2002-05-14 | Heiwa Corp | Game machine |
-
1998
- 1998-04-08 JP JP10096000A patent/JPH11298483A/en not_active Withdrawn
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002136740A (en) * | 2000-10-30 | 2002-05-14 | Heiwa Corp | Game machine |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US4493948A (en) | Transparent secondary information transmission system for an information transmission system | |
US8842983B2 (en) | Data transmission systems and methods | |
JPH0637762A (en) | Radio communication equipment | |
JPH11298483A (en) | Optical polling access system | |
JPS6276948A (en) | Automatic level equalization method in local network | |
EP0388441B1 (en) | Apparatus and method for a secure and diagnosable antijabber communication | |
GB2226202A (en) | Optical transmission device | |
JP3480759B2 (en) | LAN communication system | |
JPS61222344A (en) | Data transmission system waiting time setting device | |
JPWO2013088470A1 (en) | Communication failure detection device | |
JP3003571B2 (en) | Burst signal collision detection circuit | |
JPS61117949A (en) | Start-stop line control device | |
KR0174669B1 (en) | Failure Detection Device in Sept Transmission Equipment | |
KR100222402B1 (en) | Transmission output level detection device in TDMA digital mobile communication device | |
JPS6236435B2 (en) | ||
JPH11112429A (en) | Optical signal monitoring device and its method | |
CN114584866A (en) | Service protection method, optical transport network device and storage medium | |
KR940000704B1 (en) | Subscriber Alert Determination Method of Remote Information System | |
JP2661102B2 (en) | Data transmission equipment | |
JPH10164216A (en) | Line automatic interrupt device | |
JP2000250624A (en) | Monitoring system for intra-device state | |
JP2001095016A (en) | Communication controller and storage medium in which program is stored | |
JPH0716193B2 (en) | Power-off detection method for modulator / demodulator | |
JPH04239295A (en) | Multiplex transmitter | |
JPH03255745A (en) | Loop-shaped signal communication system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Application deemed to be withdrawn because no request for examination was validly filed |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20050705 |