JPS599737A - Controlling circuit for use of bus - Google Patents

Controlling circuit for use of bus

Info

Publication number
JPS599737A
JPS599737A JP11812082A JP11812082A JPS599737A JP S599737 A JPS599737 A JP S599737A JP 11812082 A JP11812082 A JP 11812082A JP 11812082 A JP11812082 A JP 11812082A JP S599737 A JPS599737 A JP S599737A
Authority
JP
Japan
Prior art keywords
circuit
bus
signal
path
communication line
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11812082A
Other languages
Japanese (ja)
Other versions
JPS6153752B2 (en
Inventor
So Akai
赤井 創
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yokogawa Electric Corp
Original Assignee
Yokogawa Hokushin Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yokogawa Hokushin Electric Corp filed Critical Yokogawa Hokushin Electric Corp
Priority to JP11812082A priority Critical patent/JPS599737A/en
Publication of JPS599737A publication Critical patent/JPS599737A/en
Publication of JPS6153752B2 publication Critical patent/JPS6153752B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/36Handling requests for interconnection or transfer for access to common bus or bus system
    • G06F13/368Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control
    • G06F13/372Handling requests for interconnection or transfer for access to common bus or bus system with decentralised access control using a time-dependent priority, e.g. individually loaded time counters or time slot

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

PURPOSE:To improve the utilizing efficiency of a communication line, by providing a circuit for setting a bus utilizing right in accordance with a priority order decided in advance. CONSTITUTION:A controlling circuit 9 confirms whether a communication line lis used or not, by detecting circuits 2, 4 and 5. In case when the communication line is not used, the controlling circuit 9 sends out a bus using request signal to the communication line l from a sending-out circuit 1. In this case, a built-in timing circuit is started. The time required for making this timing circuit time-up is set to a different value at each device, and a device whose set time is short is made to have a high priority order. In case when a bus utilizing right obtaining signal is not detected within a set time of this timing circuit, its own bus utilizing obtaining signal is sent out from a sending-out circuit 3. In this way, a device of the highest priority can use the bus in accordance with the priority order, and the bus utilizing efficiency can be raised.

Description

【発明の詳細な説明】 本発明は、通信線に複数の装置が接続される場合におい
て、パスを効率よく管理することができるバス使用管理
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a bus usage management circuit that can efficiently manage paths when a plurality of devices are connected to a communication line.

各装置が通信線に第1図に示すようにパス構造に接続し
ている通信システム罠おいて、各装置はパス使用権を獲
得した後バスを専有してデータ通信を実行する。このよ
うな場合のパス使用権の管理方式には、データ通信の・
一部としてパス使用権を授受する方式(バトンパス方式
)と、データ通信に先だって特別な信号のやりとりを行
ってパス使用権を獲得する方式がある。後者の方式には
、通常の信号線の他に1本またはそれ以上の管理用の信
号線を必要とする方式と、各装置はパス使用要求が発生
した場合にパスが使用中でなければ直ちに通信を開始す
るが、パス上で複数の通信データが衝突した場合そのと
七を検知してその回の通信を打切り、適当な時間経過後
、再度通信を開始し衝突が検出されなければ通信が成功
したものとして通信を続行する方式(C8MA/CD方
式)とがある。
In a communication system in which each device is connected to a communication line in a path structure as shown in FIG. 1, each device monopolizes the bus and executes data communication after acquiring the right to use the path. In such cases, the management method for path usage rights includes data communication
There are two types of methods: a method in which the right to use the path is given and received (baton pass method), and a method in which the right to use the path is acquired by exchanging special signals prior to data communication. The latter method requires one or more management signal wires in addition to the normal signal wires, and when a path use request occurs, each device immediately responds if the path is not in use. Communication starts, but if multiple pieces of communication data collide on the path, it will be detected and the current communication will be terminated.After an appropriate amount of time has elapsed, communication will be started again, and if no collision is detected, communication will continue. There is a method (C8MA/CD method) in which communication is continued based on success.

特に、1本のシリアル通信線でデータ転送を行う通信シ
ステムでは通常の信号線の他にパス管理用の制御線も必
要となりデメリットが極めて大きくなる。また、cSM
A/CD方式では衝突を検出するだめの検出回路が必要
となり、タイミング調整、送出レベル調整等を含め回路
が複雑化する。
In particular, in a communication system in which data is transferred using a single serial communication line, a control line for path management is required in addition to a normal signal line, which is an extremely large disadvantage. Also, cSM
The A/CD method requires a detection circuit to detect collisions, and the circuit becomes complicated, including timing adjustment, output level adjustment, and the like.

本発明け、このような点に鑑みてなさhたものであって
、複数の装置で同時にパス使用要求が発生した場合、予
め定めらhた優先順位に従って、その中で最優先の装置
のみがその時点におけるパス使用権を獲得できるように
して通信線の使用効率の向上を図ったパス使用管理回路
を簡単な構成で実現したものである。
The present invention has been developed in consideration of these points. When a path use request is generated by multiple devices at the same time, only the device with the highest priority among them is processed according to a predetermined priority order. This is a path usage management circuit that has a simple configuration and is designed to improve communication line usage efficiency by making it possible to acquire the right to use the path at that point in time.

以下、図面を参照して本発明の詳細な説明する。Hereinafter, the present invention will be described in detail with reference to the drawings.

第2図は、本発明の一実施例を示す電気的構成図である
。図において、lは通信線、1は通信線lにパス使用要
求信号を送出するパス使用要求信号送出回路(以下第1
の送出回路という)、2は通信#iltにのっているパ
ス使用要求信号を検出するパス使用要求信号検出回路(
以下第1の検出回路という)、3は信号線tにパス使用
権獲得信号を送出するパス使用権獲得信号送出回路(以
下第2の送出回路という)、4け通信線tにのっている
パス使用権獲得信号を検出するパス使用権獲得信号検出
回路(以下第2の検出回路という)、5は通信線lにの
っている信号がデータ伊丹であることを検出するデータ
通信信号検出回路(以下第3の検出回路という)である
FIG. 2 is an electrical configuration diagram showing an embodiment of the present invention. In the figure, l denotes a communication line, and 1 denotes a path use request signal sending circuit (hereinafter referred to as a first circuit) that sends a path use request signal to the communication line l.
2 is a path use request signal detection circuit (referred to as a sending circuit of
3 is a path acquisition signal transmission circuit (hereinafter referred to as a second transmission circuit) that sends a path acquisition signal to the signal line t, and 3 is on the communication line t. A path usage right acquisition signal detection circuit (hereinafter referred to as a second detection circuit) detects a path usage right acquisition signal, and 5 is a data communication signal detection circuit that detects that the signal on the communication line l is data Itami. (hereinafter referred to as the third detection circuit).

6はデータ信号を信号線tK送出するデータ通信送信回
路(以下第3の送信回路という)、7は信号線lからの
データ信号を受信するデータ受信回路、8は該データ受
信回路の出力を受ける演算処理回路、9は各回路と接続
されて各種制(財)を行う制御回路である。制御回路8
,9としては、例えばマイクロコンピュータが用いられ
る。また、制量回路9の内部には定められた優先順位に
従って時間設定可能な241回路が内蔵されている。以
上説明した回路は、第1図に示す各装置ととに具備して
おり、通信線の効率的な運用を図っている〇このように
構成された装置の動作を説明すれば、以下のとおりであ
る。
6 is a data communication transmitting circuit (hereinafter referred to as the third transmitting circuit) that sends out a data signal to signal line tK; 7 is a data receiving circuit that receives a data signal from signal line l; and 8 is a receiving circuit that receives the output of the data receiving circuit. The arithmetic processing circuit 9 is a control circuit that is connected to each circuit and performs various controls. Control circuit 8
, 9, for example, a microcomputer is used. Further, the control circuit 9 includes 241 circuits that can set the time according to a predetermined priority order. The circuits described above are included in each device shown in Figure 1 to ensure efficient operation of communication lines. The operation of the device configured in this way is as follows. It is.

制御回路9は、通信要求信号を受けると通信線lが使用
されているかどうかを確認する。通信線lが使用さhて
いるかどうかの確認は、第1乃至第5の検出回路2.4
.5が行う。これら検出回路としては、例えばモノマル
チが用いもねる。各モノマルチがつくるパルスのパルス
幅をモノマルチととに異ならしめておき、一定のパルス
幅時間経過後に通信線lの状態を見に行くようにして、
通信線lにのっている信号の種類を判別する。例えば、
パス使用要求信号として第3図のPlに示すような信号
を、パス使用権獲得信号として第3図のP2に示すよう
な信号を用いる。
Upon receiving the communication request signal, the control circuit 9 checks whether the communication line 1 is being used. The first to fifth detection circuits 2.4 check whether the communication line is being used or not.
.. 5 does. As these detection circuits, for example, mono-multiple circuits can be used. The pulse width of the pulse generated by each monomulti is made different from the monomulti, and the state of the communication line l is checked after a certain pulse width time has elapsed.
Determine the type of signal on communication line l. for example,
A signal as shown at Pl in FIG. 3 is used as the path use request signal, and a signal as shown at P2 in FIG. 3 is used as the path use right acquisition signal.

即ち、Plは時間幅デだけトーン信号を発生する周期T
の断続波信号、P2は周期Tを越えてトーン波が連続す
る信号である。各信号をこのように定義すると、各検出
回路はトーン波の最初の立上りでトリガがかかりパルス
を発生する。第1の検出回路2の場合、このパルス幅を
Tより若干大きめKとっておく。モノマルチとして再ト
リガ可能なものを用いると、パス要求信号がある場合は
モノマルチは更に次のトーン波で再トリガされるので検
出回路2の出力は11状卵を維持する。このことから、
パス要求信号があることを確認することができる。一方
第2の検出回路4の場合、モノマルチのパルス幅を1よ
り大きくTより小さい範囲で立下るようにしておく。パ
ス使用権獲得信号がある場合は、常時トーン波で再トリ
ガされ続けるので、検出回路4の出力は111状伸を維
持し続はパス使用権獲得信号があることを確認すること
ができる。逆に、これら検出回路2,4の出力が101
の場合は信号がないことになる。
That is, Pl is the period T for generating the tone signal for the time width D.
The intermittent wave signal P2 is a signal in which tone waves continue over a period T. When each signal is defined in this way, each detection circuit is triggered at the first rising edge of the tone wave and generates a pulse. In the case of the first detection circuit 2, this pulse width is set to K, which is slightly larger than T. If a retriggerable monomulti is used, if there is a path request signal, the monomulti will be retriggered with the next tone wave, so the output of the detection circuit 2 will maintain the eleventh shape. From this,
It is possible to confirm that there is a path request signal. On the other hand, in the case of the second detection circuit 4, the monomulti pulse width is set to fall in a range greater than 1 and smaller than T. If there is a path acquisition signal, it is constantly re-triggered with a tone wave, so the output of the detection circuit 4 maintains a 111-like expansion, making it possible to confirm that there is a path acquisition signal. Conversely, the outputs of these detection circuits 2 and 4 are 101
In this case, there is no signal.

上述の操作により通信線lが使用中でないことを確認し
た後、制御回路9は第1の送出回路1から第3図PIK
示すようなパス使用要求信号を通信線lに向かって送出
する。通信ntが使用中のときには、空くまで待つ。制
御回路9け、パス使用要求信号を送出すると同時に内蔵
のタイマ回路をスタートさせる。このタイマ回路がタイ
ムアツプするまでの間、他の装置からのバス使用権獲得
信が空くまで待つ。
After confirming that the communication line l is not in use by the above-mentioned operation, the control circuit 9 connects the first sending circuit 1 to the PIK shown in FIG.
A path use request signal as shown is sent to the communication line l. When communication nt is in use, it waits until it becomes free. The control circuit 9 starts the built-in timer circuit at the same time as sending out the path use request signal. Until this timer circuit times up, it waits until a bus usage right acquisition signal from another device becomes available.

ここで、タイマ回路のタイムアツプするまでの時間を各
装置ごとに異なった値に設定しておくと、設定時間の短
い装置はど高い優先順位を持たせることができる。この
タイマ回路の設定時間内に、パス使用権獲得信号が検出
されなかった場合、制御回路9は第2の送男回路3から
自らのパス使用柳獲得信号を送出する。その徒、他の装
置がバス使用権獲得信号を検知する壕での時間だけ待っ
てデータ通信を実行する。データ通信は、第3の送信回
路6から通信線tにデータを送信することにより行う。
Here, by setting the time until the timer circuit times up to a different value for each device, the device with the shortest set time can be given the highest priority. If the path usage right acquisition signal is not detected within the set time of this timer circuit, the control circuit 9 sends out its own path usage right acquisition signal from the second transmission circuit 3. Instead, it waits for the time when other devices detect the signal to acquire the right to use the bus, and then executes data communication. Data communication is performed by transmitting data from the third transmitting circuit 6 to the communication line t.

以上の操作をフローチャートで示すと第4図のようにな
る。
The above operations are shown in a flowchart as shown in FIG.

前述したように、各装置のタイ1回路は優先順位ごとに
時間幅が短く設定されている。これら設定値の差は、バ
ス使用権獲得信号が送出された後金ての装置がそれを検
知するために必要な時間よりも長めにとる必要がある。
As described above, the time width of the tie 1 circuit of each device is set to be short for each priority. The difference between these set values needs to be longer than the time required for all devices to detect the bus right acquisition signal after it is sent.

このように時間幅を設定することにより、信号線lが使
用中でないと判断して複数の装置が同時にバス使用要求
信号を送出した場合にも、優先度の高い装置が先行して
送出するバス使用権獲得信号を優先度の低い装置が検知
してバス使用を中止するため、唯一の装置のみがバス使
用権を得ることができる。このようにして、信号線lを
効率よく使用することができる。オた、回路自体も簡単
な構成のものを実現でき、複雑な回路調整も不要である
。1述の説明でけ、信号線lの本数について言及してい
ないが、本発明は特に1本のシリアル伝送線に用いてH
適である。
By setting the time width in this way, even if multiple devices send out bus use request signals at the same time after determining that signal line l is not in use, the device with a higher priority will send out the bus request signal first. Since a device with a lower priority detects the right-to-use signal and stops using the bus, only one device can obtain the right to use the bus. In this way, the signal line l can be used efficiently. Additionally, the circuit itself can be of a simple configuration, and no complicated circuit adjustment is required. Although the above description does not mention the number of signal lines l, the present invention is particularly suitable for use with one serial transmission line.
suitable.

以上、詳細に説明したように、本発明によりは複数の装
置で同時にバス使用要求が発生した場合、予め定められ
た優先順位K (jtってその時点における最優先の装
置のみがバス使用権を獲得できるようにして通信線の使
用効率の向上を図ったバス使用管理回路を簡単な構成で
実現することができる。
As explained above in detail, according to the present invention, when bus use requests are generated by multiple devices at the same time, only the device with the highest priority at that time has the right to use the bus. It is possible to realize a bus usage management circuit with a simple configuration, which improves the efficiency of using communication lines by making it possible to acquire the bus.

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

第1図はバス接続構成を示す図、第2図は本発明の一実
施例を示す電気的構成図、第3図はタイミングチャート
、第4図はフローチャートである。 1・・・パス使用要求信号送出回路、2・・・バス使用
要求信号検出回路、3・・・パス使用権獲得信号送出回
路、4・・・バス使用権獲得信号検出回路、5・・・デ
ータ通信信号検出回路、6・・・テータ通信送悟回路、
7・・・データ受信回路、8・・・演算処理回路、9・
・・制御回路。 茅1図 第2 図            P。 第 3 口
FIG. 1 is a diagram showing a bus connection configuration, FIG. 2 is an electrical configuration diagram showing an embodiment of the present invention, FIG. 3 is a timing chart, and FIG. 4 is a flow chart. DESCRIPTION OF SYMBOLS 1... Path use request signal sending circuit, 2... Bus use request signal detection circuit, 3... Path use right acquisition signal sending circuit, 4... Bus use right acquisition signal detection circuit, 5... data communication signal detection circuit, 6... data communication transmission circuit,
7... Data receiving circuit, 8... Arithmetic processing circuit, 9.
...Control circuit. Kaya Figure 1 Figure 2 P. Third mouth

Claims (1)

【特許請求の範囲】[Claims] 他の装置が通信実行中であることを検知する回路と、パ
ス使用要求信号及びパス使用権獲得信号を出力する回路
と、バス使用要求信号及びパス使用権獲得信号を検出す
る回路と、定められた優先順位に従って時間設定可能な
タイマ回路と、これら各回路を制御する制御回路とによ
り構成さねてなるバス使用管理回路。
A circuit for detecting that another device is communicating, a circuit for outputting a path use request signal and a path use right acquisition signal, and a circuit for detecting a bus use request signal and a path use right acquisition signal. A bus usage management circuit consisting of a timer circuit that can set the time according to priority order, and a control circuit that controls each of these circuits.
JP11812082A 1982-07-07 1982-07-07 Controlling circuit for use of bus Granted JPS599737A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11812082A JPS599737A (en) 1982-07-07 1982-07-07 Controlling circuit for use of bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11812082A JPS599737A (en) 1982-07-07 1982-07-07 Controlling circuit for use of bus

Publications (2)

Publication Number Publication Date
JPS599737A true JPS599737A (en) 1984-01-19
JPS6153752B2 JPS6153752B2 (en) 1986-11-19

Family

ID=14728523

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11812082A Granted JPS599737A (en) 1982-07-07 1982-07-07 Controlling circuit for use of bus

Country Status (1)

Country Link
JP (1) JPS599737A (en)

Also Published As

Publication number Publication date
JPS6153752B2 (en) 1986-11-19

Similar Documents

Publication Publication Date Title
EP0262429B1 (en) Data processor having a high speed data transfer function
US8181045B2 (en) Power control bus
EP0498751A1 (en) Apparatus and method for communicating between nodes in a network
EP0739112B1 (en) Electronic devices and operating mode control thereof
JP2704144B2 (en) Serial data transmission device and control method therefor
JPS599737A (en) Controlling circuit for use of bus
US20020099890A1 (en) Apparatus and method for processing interruptions in a data transmission over a bus
JP3109110B2 (en) Communication device and communication method
JPS59147555A (en) Contention type multi-drop connecting system
JP3154626B2 (en) Serial transmission device
JP2571460B2 (en) Initial reset control method
US7515554B2 (en) Half-duplex communication control method
JP2749417B2 (en) Priority control circuit
JP3087391B2 (en) Station address duplication check method of transmission system
JPH06175975A (en) Serial communication equipment
US6510482B1 (en) Multiplexed bus data transmission control system
JPH07101877B2 (en) Terminal device
JPH03136119A (en) Data transmission system
JPS61173368A (en) Access system for shared memory device
JPH0349442A (en) Inter-unit communication equipment
JPH08191290A (en) Normality/abnormality discriminating device
JPS60204144A (en) Fault detecting system in bus type communication system
JPH05327737A (en) Communicative abnormality monitoring device
JPH0784943A (en) Serial communication device
JPS61117943A (en) Transmission control device