JPH0323028B2 - - Google Patents

Info

Publication number
JPH0323028B2
JPH0323028B2 JP59093669A JP9366984A JPH0323028B2 JP H0323028 B2 JPH0323028 B2 JP H0323028B2 JP 59093669 A JP59093669 A JP 59093669A JP 9366984 A JP9366984 A JP 9366984A JP H0323028 B2 JPH0323028 B2 JP H0323028B2
Authority
JP
Japan
Prior art keywords
circuit
signal
input
bistable
input terminal
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
Application number
JP59093669A
Other languages
Japanese (ja)
Other versions
JPS60236339A (en
Inventor
Mitsuharu Teranishi
Yasuo Watanabe
Akira Takeuchi
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asics Corp
Original Assignee
Asics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asics Corp filed Critical Asics Corp
Priority to JP59093669A priority Critical patent/JPS60236339A/en
Priority to US06/731,147 priority patent/US4882580A/en
Publication of JPS60236339A publication Critical patent/JPS60236339A/en
Publication of JPH0323028B2 publication Critical patent/JPH0323028B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/42Loop networks
    • H04L12/437Ring fault isolation or reconfiguration

Description

【発明の詳細な説明】 発明の背景および概要 この発明は2つの入力信号のうちいずれか先に
到着した信号を優先する先着優先回路に関する。
DETAILED DESCRIPTION OF THE INVENTION Background and Summary of the Invention The present invention relates to a first-come, first-served priority circuit that gives priority to whichever of two input signals arrives first.

この発明は、たとえば2対の通信ラインに常に
同一の信号が伝送されているような通信システム
において、一方の信号のみを選択的に取込むよう
な場合に好適な先着優先回路を提供するものであ
る。
The present invention provides a first-come, first-served priority circuit suitable for selectively receiving only one signal in a communication system in which the same signal is always transmitted through two pairs of communication lines, for example. be.

この発明による先着優先回路は、2つの入力端
子にそれぞれ接続され、ゲート回路として働く第
1および第2の双安定回路、2つの入力端子の入
力信号のうち先に到着した信号を判別する先着判
別回路、上記第1、第2の双安定回路および先着
判別回路を制御するためのゲート制御回路として
働く第3および第4の双安定回路、一定周期のク
ロツク・パルスを出力するシステム・クロツク発
生回路、OR回路、ならびに送信制御および初期
リセツト回路から構成されている。
The first-come-first-served priority circuit according to the present invention includes first and second bistable circuits each connected to two input terminals and serving as a gate circuit, and a first-come-first-served discrimination circuit that determines which signal arrives first among the input signals of the two input terminals. circuit, third and fourth bistable circuits that act as gate control circuits for controlling the first and second bistable circuits and the first-come-first-served discrimination circuit, and a system clock generation circuit that outputs clock pulses of a constant period. , an OR circuit, and a transmission control and initial reset circuit.

上記第1の双安定回路は一方の入力端子の入力
信号をクロツク・パルスに同期して通過させるも
のであり、上記第2の双安定回路は他方の入力端
子から上記先着判別回路を経て入力する信号をク
ロツク・パルスに同期して通過させるものであ
り、上記OR回路は上記第1および第2の双安定
回路のいずれか一方を通過した入力信号を受信信
号として出力するものである。
The first bistable circuit passes the input signal from one input terminal in synchronization with the clock pulse, and the second bistable circuit passes the input signal from the other input terminal through the first-come-first-served discrimination circuit. The OR circuit outputs the input signal that has passed through either the first or second bistable circuit as a received signal.

上記第3の双安定回路は上記第1の双安定回路
を経て入力信号が与えられたときに一方の安定状
態から他方の安定状態になり、その出力によつて
上記第2の双安定回路をデイスエーブル状態とす
るものであり、上記第4の双安定回路は上記第2
の双安定回路を経て入力する信号が与えられたと
きに一方の安定状態から他方の安定状態になり、
その出力によつて上記第1の双安定回路をデイス
エーブル状態とするものである。
The third bistable circuit changes from one stable state to the other stable state when an input signal is applied via the first bistable circuit, and its output changes the second bistable circuit. The fourth bistable circuit is in a disabled state, and the fourth bistable circuit is in a disabled state.
When an input signal is given through a bistable circuit, one stable state changes to the other stable state,
The output disables the first bistable circuit.

上記先着判別回路は、上記一方の入力端子の入
力信号と上記第4の双安定回路の出力信号によつ
て制御されるゲート回路を含み、このゲート回路
は、上記一方の入力端子の入力信号よりも早く到
達した上記他方の入力端子の入力信号の通過を許
し、これにより他方の安定状態となつた上記第4
の双安定回路の出力信号によつて上記一方の入力
端子の入力信号の有無にかかわらずイネーブル状
態を維持し、上記他方の入力端子の入力信号より
も早くまたは同時に到着した上記一方の入力端子
の入力信号によつてデイスエーブル状態となつて
上記他方の入力端子の入力信号の通過を禁止す
る。
The first-come-first-served discrimination circuit includes a gate circuit controlled by the input signal of the one input terminal and the output signal of the fourth bistable circuit, and the gate circuit is controlled by the input signal of the one input terminal. The fourth terminal allows the input signal of the other input terminal to pass through, which has reached the other input terminal earlier, and thereby the other input terminal becomes in a stable state.
The output signal of the bistable circuit maintains the enabled state regardless of the presence or absence of the input signal of the one input terminal, and the input signal of the one input terminal arrives earlier or at the same time as the input signal of the other input terminal. It is disabled by an input signal and prohibits the input signal from the other input terminal from passing through.

上記送信制御および初期リセツト回路には上記
受信信号が与えられ、この回路は上記受信信号が
入力した時点からその受信信号の停止後一定時間
が経過するまでの間送信不可信号を出力するとと
もに、受信信号の停止後一定時間が経過したとき
に上記第3および第4の双安定回路に初期リセツ
ト信号を与えこれらの双安定回路を一方の安定状
態に戻す。
The above-mentioned reception signal is given to the above-mentioned transmission control and initial reset circuit, and this circuit outputs a transmission-disabled signal from the time when the above-mentioned reception signal is input until a certain period of time has passed after the reception signal stops, and also outputs a reception-disabled signal. When a certain period of time has elapsed after the signal stopped, an initial reset signal is applied to the third and fourth bistable circuits to return these bistable circuits to one of the stable states.

このような先着優先回路は、たとえば2つの受
信端子を備え、これらの受信端子に同一の信号が
受信され、かつ一般には2つの受信信号の到着時
間が若干異なるような通信制御装置に適用され
る。そのような場合にこの発明による先着優先回
路を用いると、先に到着した信号が先着判別回路
で判別され、対応する第1または第2双安定回路
およびOR回路を経て取込まれるとともに、後に
到着した信号は対応する第3または第4双安定回
路の出力信号によつて第2または第1双安定回路
がデイスエーブル状態になることにより入力が禁
止される。2つの受信信号が同時に到着した場合
にもあらかじめ定められた一方の入力信号が優先
的に受入れられかつ他方の入力が禁止される。そ
して、受信信号が停止したのち一定時間が経過す
ると送信制御および初期リセツト回路によつて第
3および第4双安定回路が初期リセツトされるの
で、元の状態に戻り、次の入力信号が受入れ可能
となる。さらに、受信信号が入力している間は送
信制御および初期リセツト回路から送信不可信号
が出力されるので、上記の通信制御装置からの信
号の送出が禁止され、同一ライン上に入力信号と
出力信号とが混在するような状態が防止される。
Such a first-come, first-served priority circuit is applied, for example, to a communication control device that has two receiving terminals, receives the same signal at these receiving terminals, and generally has slightly different arrival times for the two received signals. . In such a case, if the first-come-first-served priority circuit according to the present invention is used, the first-arriving signal will be discriminated by the first-come-first-served discrimination circuit, and will be taken in via the corresponding first or second bistable circuit and OR circuit, and the signal that arrived later will be taken in through the corresponding first or second bistable circuit and OR circuit. The input of the input signal is prohibited by disabling the second or first bistable circuit by the output signal of the corresponding third or fourth bistable circuit. Even when two received signals arrive at the same time, one predetermined input signal is accepted preferentially and the input of the other is prohibited. Then, after a certain period of time has passed after the reception signal stops, the third and fourth bistable circuits are initialized by the transmission control and initial reset circuit, so they return to their original state and can accept the next input signal. becomes. Furthermore, while a receive signal is being input, a transmission disable signal is output from the transmission control and initial reset circuit, so the transmission of signals from the communication control device is prohibited, and the input and output signals are routed on the same line. This prevents a situation where both are mixed.

この発明は、上述のような通信システムのみな
らず、たとえば割込信号の先着優先などにも適用
することができる。
The present invention can be applied not only to communication systems as described above, but also to, for example, first-come, first-served interrupt signals.

以下、この発明を2対の送受信ラインにより構
成された通信システムにおける通信制御装置に適
用した実施例について詳述する。
Hereinafter, an embodiment in which the present invention is applied to a communication control device in a communication system configured with two pairs of transmitting and receiving lines will be described in detail.

実施例の説明 この実施例は、通信ラインとして光フアイバが
用いられた光通信システムに関するものであり、
通信方式には全二重通信方式が採用されている。
Description of Embodiment This embodiment relates to an optical communication system using an optical fiber as a communication line.
A full-duplex communication method is used for the communication method.

第1図において、複数の装置10は光通信ライ
ンによりループ状に接続されている。しかも、各
装置10の通信制御装置11には、2対の送、受
信端子T,Rが設けられ、これらに2対の送受信
ラインA,Bが接続されている。送受信ライン
A,Bのいずれも送信ラインと受信ラインとから
構成され、通信ループ上において隣りあう他の装
置10にそれぞれ接続されている。複数の装置1
0のうちのいずれか1つを中心的な装置(以下、
便宜上中央装置と呼ぶ)としてもよい。この場合
には、起動方式として中央装置が主導権をもつポ
ーリング・セレクテイング方式を採用することが
できよう。もちろん、すべての装置10がすべて
平等の交信権をもつようにしてもよいし、各装置
10の交信権に適当な優先順位をあらかじめ割当
てるようにすることもできよう。
In FIG. 1, a plurality of devices 10 are connected in a loop through optical communication lines. Furthermore, the communication control device 11 of each device 10 is provided with two pairs of transmitting and receiving terminals T and R, and two pairs of transmitting and receiving lines A and B are connected to these. Both of the transmission and reception lines A and B are composed of a transmission line and a reception line, and are respectively connected to other devices 10 adjacent to each other on the communication loop. Multiple devices 1
0 as the central device (hereinafter referred to as
For convenience, it may be referred to as a central device). In this case, a polling/selecting method in which the central device takes initiative may be adopted as the activation method. Of course, all devices 10 may have equal communication rights, or appropriate priorities may be assigned in advance to the communication rights of each device 10.

いずれにしても、送受信ラインAとBとには常
に同一電文(データ)が伝送されている。このよ
うに同一電文が2対の送受信ラインA,Bを用い
て送られているので、送受信ラインのどこか1箇
所で故障が発生しても各装置10または中央装置
は他のすべての装置10と交信が可能である。ま
た通信制御装置11のいずれかが故障してもその
装置10を除く他のすべての装置は相互にまたは
中央装置と正常に交信を行なうことが可能であ
る。さらに、装置10相互間でまたは中央装置と
他の装置との間で交信が行なわれているときにお
いても、任意の装置10または送受信ラインの修
理が可能であり、任意の装置10のループからの
除去または新たな装置10のループへの加入を行
なうことができる。
In any case, the same message (data) is always transmitted on the transmission/reception lines A and B. In this way, the same message is sent using the two pairs of transmission/reception lines A and B, so even if a failure occurs at any one point on the transmission/reception lines, each device 10 or the central device will not be able to communicate with all other devices 10. It is possible to communicate with Furthermore, even if any of the communication control devices 11 fails, all other devices except that device 10 can normally communicate with each other or with the central device. Furthermore, repair of any device 10 or transmitting/receiving line is possible even when communication is taking place between devices 10 or between a central device and other devices, and any device 10 can be repaired from the loop. Removal or new devices 10 can be added to the loop.

第2図は、通信制御装置11の構成の概要を示
している。2対の送受信ラインA,Bには常に同
一の電文が伝送されているが、ラインAから送ら
れてきた電文とラインBから送られてきた電文と
が通信制御装置に到着する時間には一般にわずか
ながらずれが生じるので、両電文を単純に重畳す
ると電文のデータが変化するおそれがある。この
問題に対処するために通信制御装置11には先着
優先回路23が設けられている。先着優先回路2
3の構成については後に詳述する。
FIG. 2 shows an overview of the configuration of the communication control device 11. The same message is always transmitted on the two pairs of transmission/reception lines A and B, but the time when the message sent from line A and the message sent from line B arrive at the communication control device is generally different. Since there is a slight deviation, there is a risk that the data in the message will change if the two messages are simply superimposed. To deal with this problem, the communication control device 11 is provided with a first-come-first-served priority circuit 23. First come first priority circuit 2
The configuration of No. 3 will be explained in detail later.

装置10のCPU等からの送信信号(電文)は
電気/光(E/O)変換回路21A,21Bに送
られ、これらの回路21A,21Bで光信号に変
換されたのち、それぞれラインA,Bの送信ライ
ンに同時に送出される。
Transmission signals (telegrams) from the CPU, etc. of the device 10 are sent to electrical/optical (E/O) conversion circuits 21A and 21B, and after being converted into optical signals by these circuits 21A and 21B, they are sent to lines A and B, respectively. are simultaneously sent out to the transmission line.

ラインAの光/電気(O/E)変換回路22A
に入力した光信号は電気信号に変換されて先着優
先回路23に送られるとともに、ラインBのE/
O変換回路21Bに送られ光信号としてラインB
の送信ラインに送出される。また、ラインBの
O/E変換回路22Bに受信された光信号は電気
信号に変換されて先着優先回路23に送られると
ともに、E/O変換回路21Aで光信号に変換さ
れラインAの送信ラインに送出される。このよう
にして、ラインAから受信された信号はただちに
ラインBの送信ラインに送出され、ラインBから
受信された信号はただちにラインAの送信ライン
に送出されることにより、二重のループ通信が達
成される。受信された光信号は一旦電気信号に変
換され、さらに光信号に変換されて送信ラインに
送出されるので、O/E,E/O変換回路が一種
の中継装置の役割を果たし、ループ通信ラインが
全体としてかなり長くても光フアイバによる光信
号の減衰という問題を考慮する必要はない。ま
た、先着優先回路23がたとえ故障したとして
も、O/E変換回路が受信した信号はE/O変換
回路に送られて送信ラインに送出されるので通信
ループが遮断されることはない。
Line A optical/electrical (O/E) conversion circuit 22A
The optical signal input to the line B is converted into an electrical signal and sent to the first-come-first-served priority circuit 23.
Line B is sent to the O conversion circuit 21B as an optical signal.
is sent to the transmission line. Further, the optical signal received by the O/E conversion circuit 22B of line B is converted into an electrical signal and sent to the first-come-first-served priority circuit 23, and is also converted to an optical signal by the E/O conversion circuit 21A, which is transmitted to the transmission line of line A. sent to. In this way, a signal received from line A is immediately sent to the transmission line of line B, and a signal received from line B is immediately sent to the transmission line of line A, thereby creating a double loop communication. achieved. The received optical signal is first converted into an electrical signal, and then further converted into an optical signal and sent to the transmission line, so the O/E, E/O conversion circuit plays the role of a kind of relay device, and the loop communication line Even if the optical fiber is quite long as a whole, there is no need to consider the problem of optical signal attenuation due to the optical fiber. Further, even if the first-come-first-served priority circuit 23 breaks down, the signal received by the O/E conversion circuit is sent to the E/O conversion circuit and sent out to the transmission line, so the communication loop will not be interrupted.

O/E変換回路22A,22Bで信号が受信さ
れ先着優先回路23に入力すると、この回路23
は両回路22A,22Bから入力する信号のうち
どちらが時間的に早いかを判定し、早い方の信号
を受信信号iとして出力する。遅い方の信号はこ
の回路23を通過することが禁止される。また先
着優先回路23は、信号を受信している間、送信
不可信号jを出力する。この送信不可信号jは装
置10のCPUに送られ、これにもとづいてCPU
は送信可能信号jが入力している間、送信信号の
送出を止める。送信信号は上述のようにE/O変
換回路21A,21Bに送られるので、受信信号
があるときには、O/E変換回路22A,22B
から回路21A,21Bに送られる受信信号と重
畳されてしまうからである。後に分るように、
O/E変換回路22A,22Bに同時に信号が入
力した場合にはラインAの信号が優先される。
When the signal is received by the O/E conversion circuits 22A and 22B and inputted to the first-come-first-served priority circuit 23, this circuit 23
determines which of the signals inputted from both circuits 22A and 22B is earlier in time, and outputs the earlier signal as the received signal i. The slower signal is prohibited from passing through this circuit 23. Further, the first-come-first-served priority circuit 23 outputs a transmission impossible signal j while receiving the signal. This transmission impossible signal j is sent to the CPU of the device 10, and based on this, the CPU
stops sending out the transmission signal while the transmission enable signal j is input. Since the transmission signal is sent to the E/O conversion circuits 21A and 21B as described above, when there is a reception signal, the O/E conversion circuits 22A and 22B
This is because the signal is superimposed on the received signal sent from the source to the circuits 21A and 21B. As you will see later,
When signals are input to the O/E conversion circuits 22A and 22B at the same time, the signal on line A is given priority.

第3図は先着優先回路23の詳細を、第4図は
その動作をそれぞれ示している。第3図におい
て、ラインAのO/E変換回路22Aの出力信号
aはDフリツプフロツプ(ゲート回路)31Aの
データ入力端子Dに入力するとともに、先着判別
回路36に送られる。ラインBのO/E変換回路
22Bの出力信号bは先着判別回路36を経て信
号b1としてDフリツプフロツプ(ゲート回路)
31Bに入力する。これらのDフリツプフロツプ
31A,31Bの出力信号(非反転出力)c,d
はOR回路33を経て受信信号iとなる。後述す
るように、出力信号cとdは同時に出力されるこ
とはない。先着判別回路36は、信号bの入力が
信号aの入力よりもクロツク・パルスgの1周期
以上早ければ信号bを通過させ、それ以外の場合
には信号bの通過を禁止するものである。
FIG. 3 shows details of the first-come-first-served priority circuit 23, and FIG. 4 shows its operation. In FIG. 3, the output signal a of the O/E conversion circuit 22A on line A is input to the data input terminal D of a D flip-flop (gate circuit) 31A, and is also sent to the first-arrival discrimination circuit 36. The output signal b of the O/E conversion circuit 22B on line B passes through the first-arrival discrimination circuit 36 and is output as a signal b1 to a D flip-flop (gate circuit).
31B. Output signals (non-inverted output) of these D flip-flops 31A and 31B c, d
passes through the OR circuit 33 and becomes the received signal i. As will be described later, output signals c and d are never output at the same time. The first-arrival discrimination circuit 36 allows signal b to pass if the input of signal b is earlier than the input of signal a by one cycle or more of the clock pulse g, and otherwise prohibits the passage of signal b.

Dフリツプフロツプ31A,31BはJKフリ
ツプフロツプ(ゲート制御回路)32B,32A
によつて制御される。Dフリツプフロツプ31
A,31Bの出力信号c,dはJKフリツプフロ
ツプ32A,32Bの入力端子Jにもそれぞれ入
力する。JKフリツプフロツプ32Aの反転出力
QはDフリツプフロツプ31Bの強制リセツト端
子Rに、JKフリツプフロツプ32Bの反転出力
QはDフリツプフロツプ31Aの強制リセツト端
子Rにそれぞれ送られている。これらのDフリツ
プフロツプ31A,31Bは、常時は、クロツク
入力端子Tに入力するクロツク・パルスgに同期
して入力信号a,b1をそれぞれ通過させうる状
態にある。しかしながら、入力信号cによつて
JKフリツプフロツプ32Aがセツトされると、
その反転出力がLレベルになるので、Dフリツ
プフロツプ31Bは強制的にリセツトされ、入力
信号b1の通過を禁止する。逆に入力信号b1に
よつてJKフリツプフロツプ32Bがセツトされ
ると、その反転出力がLレベルになつてDフリ
ツプフロツプ32Aは強制的にリセツトされ、入
力信号aの通過が禁止される。
D flip-flops 31A and 31B are JK flip-flops (gate control circuit) 32B and 32A.
controlled by. D flip-flop 31
The output signals c and d of A and 31B are also input to input terminals J of JK flip-flops 32A and 32B, respectively. The inverted output Q of the JK flip-flop 32A is sent to the forced reset terminal R of the D flip-flop 31B, and the inverted output Q of the JK flip-flop 32B is sent to the forced reset terminal R of the D flip-flop 31A. These D flip-flops 31A and 31B are normally in a state in which they can pass input signals a and b1, respectively, in synchronization with the clock pulse g input to the clock input terminal T. However, depending on the input signal c
When JK flip-flop 32A is set,
Since the inverted output becomes L level, the D flip-flop 31B is forcibly reset and prohibits the passage of the input signal b1. Conversely, when the JK flip-flop 32B is set by the input signal b1, its inverted output goes to L level, the D flip-flop 32A is forcibly reset, and the passage of the input signal a is prohibited.

送信制御および初期リセツト回路34は2つの
機能をもつている。この回路34には受信信号i
が入力しており、回路34は受信信号iの入力が
停止してから一定時間tを計時する。そして、受
信信号iが再び入力することなく一定時間tが経
過したときに、回路34はLレベルの初期リセツ
ト・パルスhを出力する。このパルスhによつて
JKフリツプフロツプ32A,32Bは強制リセ
ツトされる。また、受信信号iが入力した時点か
ら上記の一定時間tが経過するまでの間、回路3
4からはLレベルの送信不可信号jが出力され
る。システム・クロツク発生回路35は一連のク
ロツク・パルスgを出力するものであり、このク
ロツク・パルスgは、Dフリツプフロツプ31
A,31BおよびJKフリツプフロツプ32A,
32Bのクロツク入力端子Tに入力している。
Transmission control and initial reset circuit 34 has two functions. This circuit 34 has a received signal i.
is input, and the circuit 34 measures a certain period of time t after the input of the received signal i stops. Then, when a certain period of time t has elapsed without the received signal i being input again, the circuit 34 outputs an initial reset pulse h at L level. By this pulse h
JK flip-flops 32A and 32B are forcibly reset. In addition, the circuit 3
4 outputs an L level transmission disable signal j. The system clock generator circuit 35 outputs a series of clock pulses g, which are applied to the D flip-flop 31.
A, 31B and JK flip-flop 32A,
It is input to the clock input terminal T of 32B.

第4図において、クロツク・パルスgの周期は
かなり拡大されて示されている。また信号a,
b,b1,c,dおよびiはこれらの信号が表わ
すデータに応じて実際には反転を繰返している
が、第4図においては一律にHレベルとして表現
されている。第4図は、ラインAの信号aの方
がラインBの信号bよりも早く到着した場合を示
している。同は信号bの方が信号aよりも早く
到着した場合を、同は両信号a,bが同時に到
着した場合をそれぞれ示している。
In FIG. 4, the period of clock pulse g is shown considerably enlarged. Also, the signal a,
Although b, b1, c, d and i are actually repeatedly inverted depending on the data represented by these signals, they are uniformly expressed as H level in FIG. FIG. 4 shows the case where signal a on line A arrives earlier than signal b on line B. This figure shows the case where signal b arrives earlier than signal a, and the same figure shows the case where both signals a and b arrive at the same time.

先着判別回路36のAND回路37の一方の入
力端子にはJKフリツプフロツプ32Bの反転出
力端子の出力信号eが、他方の入力端子には信
号aが入力するようになつている。AND回路3
7の出力はNAND回路39の一方の入力端子に
導かれ、このNAND回路の他方の入力端子には、
NOT回路38で反転されたラインBの信号bが
入力するようになつている。初期状態ではJKフ
リツプフロツプ32Bは初期リセツトされている
から信号eはHレベルである。したがつて、信号
a、(Hレベル)が入力するとAND回路37の出
力はHレベルになる。このHレベル出力は
NAND回路39の一方の入力端子に送られるか
ら、NAND回路39はそのゲートを閉じた状態
となり、信号bの通過が禁止される。したがつ
て、信号aが信号bと同時かまたは信号bよりも
早く到着した場合には、信号bはこの先着判別回
路36を通過できない(第4図,、とくに
参照)。
The output signal e from the inverted output terminal of the JK flip-flop 32B is input to one input terminal of the AND circuit 37 of the first arrival discrimination circuit 36, and the signal a is input to the other input terminal. AND circuit 3
The output of 7 is led to one input terminal of the NAND circuit 39, and the other input terminal of this NAND circuit is
The signal b of line B, which has been inverted by the NOT circuit 38, is input. In the initial state, the JK flip-flop 32B is initially reset, so the signal e is at H level. Therefore, when signal a (H level) is input, the output of the AND circuit 37 becomes H level. This H level output is
Since the signal is sent to one input terminal of the NAND circuit 39, the gate of the NAND circuit 39 is closed, and the passage of the signal b is prohibited. Therefore, if signal a arrives at the same time as signal b or earlier than signal b, signal b cannot pass through the first-arrival determination circuit 36 (see especially FIG. 4).

信号aがDフリツプフロツプ31Aに入力する
と、クロツク・パルスgの立上りの時点からこの
信号aはDフリツプフロツプ31Aを通過して
(信号c)OR回路33を経て受信信号iになる
とともに、JKフリツプフロツプ32Aの入力端
子Jに入力する。クロツク・パルスgの立下りに
よつてJKフリツプフロツプ32Aがセツトされ
るのでその反転出力はLレベルになる。このL
レベルの信号はJKフリツプフロツプ32Aの入
力端子Kにフイードバツクされるので、JKフリ
ツプフロツプ32Aはセツト状態に保持される。
When the signal a is input to the D flip-flop 31A, from the time of the rising edge of the clock pulse g, this signal a passes through the D flip-flop 31A (signal c) and becomes the received signal i through the OR circuit 33, and also becomes the received signal i of the JK flip-flop 32A. Input to input terminal J. Since the JK flip-flop 32A is set by the fall of the clock pulse g, its inverted output becomes L level. This L
Since the level signal is fed back to the input terminal K of the JK flip-flop 32A, the JK flip-flop 32A is held in the set state.

JKフリツプフロツプ32Aの反転出力端子
のLレベルの信号fは、Dフリツプフロツプ31
Bの強制リセツト端子Rに入力するので、Dフリ
ツプフロツプ31BはこのLレベルの信号fによ
つて強制的にリセツトされる。したがつてDフリ
ツプフロツプ31Bの非反転出力端子Qの出力d
はLレベルに保持され、JKフリツプフロツプ3
2Bもリセツトされた状態に保持され、信号aが
入力している間はNAND回路39もそのゲート
を閉じたままである。初期リセツト回路34によ
つてJKフリツプフロツプ32Aが初期リセツト
されるまでこの信号fはLレベルに保持されるの
で、信号aが停止してたとえNAND回路39の
ゲートが開いて信号bがこの回路39を通過して
も(信号b1)、Dフリツプフロツプ31Bがセ
ツトされることはない。信号fは、ラインBの信
号b1がDフリツプフロツプ31Bを通過するの
を禁止するラインA優先信号である(第4図,
参照)。
The L level signal f at the inverting output terminal of the JK flip-flop 32A is applied to the D flip-flop 31.
Since the D flip-flop 31B is input to the B forced reset terminal R, the D flip-flop 31B is forcibly reset by this L level signal f. Therefore, the output d of the non-inverting output terminal Q of the D flip-flop 31B
is held at L level, and JK flip-flop 3
2B is also held in a reset state, and the NAND circuit 39 also keeps its gate closed while the signal a is being input. This signal f is held at the L level until the initial reset circuit 34 initializes the JK flip-flop 32A, so even if the signal a stops and the gate of the NAND circuit 39 opens, the signal b will not pass through this circuit 39. Even if it passes (signal b1), the D flip-flop 31B is not set. The signal f is a line A priority signal that prohibits the line B signal b1 from passing through the D flip-flop 31B (see FIG. 4).
reference).

信号bの方が信号aよりも先に先着判別回路3
6に到着した場合には、AND回路37の一方の
入力信号eがHレベルであつても他方の入力信号
aがLレベルであるから、AND回路37の出力
はLレベルであり、信号bはNAND回路39を
通過する。信号bはNOT回路38で反転されさ
らにNAND回路39で反転されるので、NAND
回路39の出力信号b1と信号bとは同形であ
る。Dフリツプフロツプ31Bのデータ入力端子
Dに入力する信号b1は、クロツク・パルスgの
立上りの時点からこのDフリツプフロツプ31B
を通過し、信号dとなり、さらにOR回路33を
経て受信信号iとなる。信号dはJKフリツプフ
ロツプ32Bの入力端子Jにも入力するので、ク
ロツク・パルスgの立下りによつてJKフリツプ
フロツプ32Bはセツトされる。このJKフリツ
プフロツプ32Bの反転出力端子の出力eはL
レベルになり、Dフリツプフロツプ31Aの強制
リセツト端子Rに入力する。したがつて、この
後、信号aが入力してもDフリツプフロツプ31
Aはリセツト状態に保持され、入力信号aはこの
Dフリツプフロツプ31Aを通過できない。信号
eはラインB優先信号である(第4図参照)。
The signal b is sent to the first-arrival discrimination circuit 3 before the signal a.
6, even if one input signal e of the AND circuit 37 is at H level, the other input signal a is at L level, so the output of the AND circuit 37 is at L level, and the signal b is at Passes through a NAND circuit 39. Since the signal b is inverted by the NOT circuit 38 and further inverted by the NAND circuit 39, it becomes a NAND signal.
The output signal b1 of the circuit 39 and the signal b have the same shape. The signal b1 inputted to the data input terminal D of the D flip-flop 31B changes from the rising edge of the clock pulse g to the data input terminal D of the D flip-flop 31B.
The signal passes through , becomes a signal d, and further passes through an OR circuit 33 to become a received signal i. Since the signal d is also input to the input terminal J of the JK flip-flop 32B, the JK flip-flop 32B is set by the fall of the clock pulse g. The output e of the inverted output terminal of this JK flip-flop 32B is L
level, and is input to the forced reset terminal R of the D flip-flop 31A. Therefore, even if the signal a is input after this, the D flip-flop 31
A is held in the reset state and input signal a cannot pass through this D flip-flop 31A. Signal e is a line B priority signal (see FIG. 4).

JKフリツプフロツプ32Bがセツトされて信
号eがLレベルになると、信号aの有無にかかわ
らずAND回路37の出力はLレベルに保持され
続けるから、NAND回路39のゲートは開いた
ままであり、入力信号bはNAND回路39を通
過することができる。
When the JK flip-flop 32B is set and the signal e goes to the L level, the output of the AND circuit 37 continues to be held at the L level regardless of the presence or absence of the signal a, so the gate of the NAND circuit 39 remains open and the input signal b can pass through the NAND circuit 39.

信号bが信号aよりもわずかに早く到着した場
合であつても、この時間差の間にクロツク・パル
スgが立上つてかつ立下がらなければ、ラインB
優先信号(Lレベル)eが出力される前に
NAND回路39のゲートが信号aにより閉じて
しまうので、ラインAの信号aが優先されること
になる。
Even if signal b arrives slightly earlier than signal a, if clock pulse g does not rise and fall during this time difference, line B
Before priority signal (L level) e is output
Since the gate of the NAND circuit 39 is closed by the signal a, the signal a on line A is prioritized.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は複数の装置間の通信システムを示すブ
ロツク図、第2図は通信制御装置を示すブロツク
図、第3図は先着優先回路を示すブロツク図、第
4図は先着優先回路の動作を示すタイム・チヤー
トである。 23……先着優先回路、31A,31B……D
フリツプフロツプ(ゲート回路)、32A,32
B……JKフリツプフロツプ(ゲート制御回路)、
34……送信制御および初期リセツト回路、36
……先着判別回路。
Fig. 1 is a block diagram showing a communication system between multiple devices, Fig. 2 is a block diagram showing a communication control device, Fig. 3 is a block diagram showing a first-come-first-served priority circuit, and Fig. 4 shows the operation of the first-come-first-served priority circuit. This is a time chart. 23...First-come-first-served priority circuit, 31A, 31B...D
Flip-flop (gate circuit), 32A, 32
B...JK flip-flop (gate control circuit),
34... Transmission control and initial reset circuit, 36
...First-come-first-served discrimination circuit.

Claims (1)

【特許請求の範囲】 1 2つの入力端子にそれぞれ接続され、ゲート
回路として働く第1および第2の双安定回路31
A,31B、 2つの入力端子の入力信号のうち先に到着した
信号を判別する先着判別回路36、 上記第1、第2の双安定回路および先着判別回
路を制御するためのゲート制御回路として働く第
3および第4の双安定回路32A,32B、 一定周期のクロツク・パルスを出力するシステ
ム・クロツク発生回路35、 OR回路33、ならびに 送信制御および初期リセツト回路34から構成
され、 上記第1の双安定回路31Aは一方の入力端子
の入力信号をクロツク・パルスに同期して通過さ
せるものであり、 上記第2の双安定回路31Bは他方の入力端子
から上記先着判別回路を経て入力する信号をクロ
ツク・パルスに同期して通過させるものであり、 上記OR回路33は上記第1および第2の双安
定回路のいずれか一方を通過した入力信号を受信
信号として出力するものであり、 上記第3の双安定回路32Aは上記第1の双安
定回路を経て入力信号が与えられたときに一方の
安定状態から他方の安定状態になり、その出力に
よつて上記第2の双安定回路をデイスエーブル状
態とするものであり、 上記第4の双安定回路32Bは上記第2の双安
定回路を経て入力する信号が与えられたときに一
方の安定状態から他方の安定状態になり、その出
力によつて上記第1の双安定回路をデイスエーブ
ル状態とするものであり、 上記先着判別回路36は、上記一方の入力端子
の入力信号と上記第4の双安定回路の出力信号に
よつて制御されるゲート回路37,39を含み、
このゲート回路は、上記一方の入力端子の入力信
号よりも早く到着した上記他方の入力端子の入力
信号の通過を許し、これにより他方の安定状態と
なつた上記第4の双安定回路の出力信号によつて
上記一方の入力端子の入力信号の有無にかかわら
ずイネーブル状態を維持し、上記他方の入力端子
の入力信号よりも早くまたは同時に到着した上記
一方の入力端子の入力信号によつてデイスエーブ
ル状態となつて上記他方の入力端子の入力信号の
通過を禁止するものであり、 上記送信制御および初期リセツト回路34には
上記受信信号が与えられ、この回路は上記受信信
号が入力した時点からその受信信号の停止後一定
時間が経過するまでの間送信不可信号を出力する
とともに、受信信号の停止後一定時間が経過した
ときに上記第3および第4の双安定回路に初期リ
セツト信号を与えこれらの双安定回路を一方の安
定状態に戻すものである、 先着優先回路。
[Claims] 1. First and second bistable circuits 31 each connected to two input terminals and functioning as a gate circuit.
A, 31B, a first-come-first-served discrimination circuit 36 that discriminates which signal arrives first among the input signals at the two input terminals, and serves as a gate control circuit for controlling the first and second bistable circuits and the first-come-first-served discrimination circuit. It consists of third and fourth bistable circuits 32A, 32B, a system clock generation circuit 35 that outputs clock pulses of a constant period, an OR circuit 33, and a transmission control and initial reset circuit 34, and The stabilizing circuit 31A passes an input signal from one input terminal in synchronization with a clock pulse, and the second bistable circuit 31B clocks a signal input from the other input terminal via the first-come-first-served discrimination circuit. - The OR circuit 33 outputs the input signal that has passed through either the first or second bistable circuit as a received signal, and the third The bistable circuit 32A changes from one stable state to the other stable state when an input signal is applied through the first bistable circuit, and its output disables the second bistable circuit. The fourth bistable circuit 32B changes from one stable state to the other stable state when a signal input via the second bistable circuit is given, and its output causes the above The first bistable circuit is disabled, and the first-arrival discrimination circuit 36 includes a gate circuit 37 that is controlled by the input signal of the one input terminal and the output signal of the fourth bistable circuit. , 39,
This gate circuit allows the input signal of the other input terminal that has arrived earlier than the input signal of the one input terminal to pass through, thereby causing the output signal of the fourth bistable circuit to be in the other stable state. maintains the enabled state regardless of the presence or absence of an input signal to the one input terminal, and is disabled by the input signal to the one input terminal that arrives earlier or at the same time as the input signal to the other input terminal. The above-mentioned transmission control and initial reset circuit 34 is given the above-mentioned received signal, and this circuit starts receiving the above-mentioned received signal from the time it is input. It outputs a transmission-disabled signal until a certain period of time elapses after the stop of the signal, and when a certain period of time elapses after the stop of the received signal, it gives an initial reset signal to the third and fourth bistable circuits. A first-come, first-served circuit that returns a bistable circuit to one stable state.
JP59093669A 1984-05-09 1984-05-09 First-in priority circuit Granted JPS60236339A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP59093669A JPS60236339A (en) 1984-05-09 1984-05-09 First-in priority circuit
US06/731,147 US4882580A (en) 1984-05-09 1985-05-06 Communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59093669A JPS60236339A (en) 1984-05-09 1984-05-09 First-in priority circuit

Publications (2)

Publication Number Publication Date
JPS60236339A JPS60236339A (en) 1985-11-25
JPH0323028B2 true JPH0323028B2 (en) 1991-03-28

Family

ID=14088806

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59093669A Granted JPS60236339A (en) 1984-05-09 1984-05-09 First-in priority circuit

Country Status (1)

Country Link
JP (1) JPS60236339A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61117946A (en) * 1984-11-13 1986-06-05 Fuji Electric Co Ltd Data transmission equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5440602A (en) * 1977-09-06 1979-03-30 Nippon Gakki Seizo Kk Production of stylus
JPS57104339A (en) * 1980-12-19 1982-06-29 Ricoh Co Ltd Optical communication network

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5440602A (en) * 1977-09-06 1979-03-30 Nippon Gakki Seizo Kk Production of stylus
JPS57104339A (en) * 1980-12-19 1982-06-29 Ricoh Co Ltd Optical communication network

Also Published As

Publication number Publication date
JPS60236339A (en) 1985-11-25

Similar Documents

Publication Publication Date Title
US4799052A (en) Method for communicating data on a communication network by token passing
JP3827772B2 (en) Voting nodes for distributed control systems
CA1191918A (en) Multipoint data communication system with local arbitration
US5598414A (en) Access to transmit on a message priority basis
JPS63288537A (en) Communication equipment
US4561092A (en) Method and apparatus for data communications over local area and small area networks
GB1593885A (en) Data processing system
US4564838A (en) Data communication network and method of communication
KR100391024B1 (en) Two-pin distributed ethernet bus architecture
EP0166915B1 (en) Communication system
US4561088A (en) Communication system bypass architecture
JPH0323028B2 (en)
US4882580A (en) Communication system
US4231015A (en) Multiple-processor digital communication system
US6108352A (en) Circuit and method for synchronizing outputs of two simultaneously transmitting devices in a multiplexed communication system
JPS61208331A (en) Serial data communication system
US5481676A (en) Arrangement for the decentralized control of access to a bus by units connected to the bus
JPS62206946A (en) Remote test circuit
EP0169324B1 (en) Switching protocol with retry
JPH04364626A (en) Private communication equipment
JPS593641Y2 (en) data transmission equipment
JP2615815B2 (en) Priority control method
JPH1069448A (en) Deterministic network protocol
JPH0388531A (en) Signal transmission system
JPS61240735A (en) Line control diagnostic system