JPS61259359A - Method of synchronous bus control - Google Patents

Method of synchronous bus control

Info

Publication number
JPS61259359A
JPS61259359A JP9969885A JP9969885A JPS61259359A JP S61259359 A JPS61259359 A JP S61259359A JP 9969885 A JP9969885 A JP 9969885A JP 9969885 A JP9969885 A JP 9969885A JP S61259359 A JPS61259359 A JP S61259359A
Authority
JP
Japan
Prior art keywords
signal
inverted
transmitting
measurement
receiving
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.)
Pending
Application number
JP9969885A
Other languages
Japanese (ja)
Inventor
Masahide Furukawa
雅英 古川
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 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 Electric Corp filed Critical Yokogawa Electric Corp
Priority to JP9969885A priority Critical patent/JPS61259359A/en
Publication of JPS61259359A publication Critical patent/JPS61259359A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain hardware synchronization between modules in a high speed over the limit of assurance of simultaneous by the software management by using a start and a signal in operation to hand shake the measuring operation timing existing in each measuring module. CONSTITUTION:The measuring modules 101-10n are connected to a system bus (synchronous bus) 2 provided respectively with an READY transmission and reception circuit 11 transmitting and receiving an READY signal, a TRIG transmission and reception circuit 12 transmitting and receiving an inverted TRIG signal, a BUSY transmission and reception circuit 13 transmitting and receiving an inverted BUSY signal and an EOP circuit 14 transmitting and receiving an inverted EOP signal. For example, in transmitting the READY signal, the level of the bus goes to H at the end of external synchronization, the high level is kept during the synchronization and the level goes to L when a trailing edge of the inverted EOP or a command from a CPU1 is received. In receiving a signal, it is discriminated by the leading of the said signal for the transmission and reception enable state of the inverted TRIG, the inverted BUSY and the inverted EOP signal, and it is discriminated at the trailing synchronization end to bring the level of the inverted TRIG signal, the inverted BUSY and the inverted EOP signal to H level.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、複数の計測用モジュール間でハードウェア同
期を行うための同期バス制御方法に関する。(従来の技
術) 従来より、複数個の計測用モジュールが接続されるシス
テムにおいては、その各計測用モジュールの動作を管理
するために用意された本体側のソフトウェア管理によっ
て計測のシーケンス処理を行っている。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a synchronous bus control method for performing hardware synchronization between a plurality of measurement modules. (Prior art) Conventionally, in systems in which multiple measurement modules are connected, measurement sequence processing has been performed by software management on the main body side prepared to manage the operation of each measurement module. There is.

(発明が解決しようとする問題点) しかしながら、このような処理ではシステムソフトウェ
アの処理速度(言語il訳やシステムバス通信の速度な
ど)よりも高速な計測同時性は確保され得ないという問
題があった。
(Problem to be Solved by the Invention) However, with this kind of processing, there is a problem that measurement concurrency that is faster than the processing speed of the system software (language translation, system bus communication speed, etc.) cannot be ensured. Ta.

また、計測要素の複合化(例えばAD変換とDA変換を
組合せるなど)を行うことで複数の計測用モジュールの
計測同時性を確保することはできるが、システム構成の
フレキシビリティという面からの制限が多く、実用的で
はなかった。
Furthermore, by combining measurement elements (for example, combining AD conversion and DA conversion), it is possible to ensure simultaneous measurement of multiple measurement modules, but this is limited in terms of system configuration flexibility. There were many cases and it was not practical.

本発明の目的は、この様な点に鑑み、複数の計測モジュ
ールで計測の同時性を確保した測定を行うときに、ソフ
トウェア管理による同時性保証限界以上の高速でモジュ
ール間のハードウェア同期を行うことが可能な同期バス
制御方法を提供することにある。
In view of these points, it is an object of the present invention to perform hardware synchronization between modules at a high speed exceeding the limit of guaranteeing simultaneity by software management when performing measurements with multiple measurement modules ensuring simultaneity of measurement. The object of the present invention is to provide a synchronous bus control method that allows for the synchronous bus control.

(問題点を解決するための手段) この様な目的を達成するために本発明では、個々の計測
モジュールに存在する計測動作タイミングを、起動と動
作中の信号でハンドシェイクすることによって同期化し
、計測モジュール側での判断により同期動作における計
測中止の信号を終了タイミングとして同期バスを介して
他の計測モジュールに通知するようにしたことを特徴と
する。
(Means for solving the problem) In order to achieve such an object, the present invention synchronizes the measurement operation timings existing in each measurement module by handshaking with activation and operation signals, The present invention is characterized in that, based on a judgment on the measurement module side, a signal to stop measurement in a synchronous operation is used as an end timing and is notified to other measurement modules via a synchronous bus.

(実施例) 以下図面を用いて本発明の詳細な説明する。第1図は本
発明の方法を実施するためのシステムの一実施例である
。図において、1は上位のCPIJ。
(Example) The present invention will be described in detail below using the drawings. FIG. 1 is an embodiment of a system for carrying out the method of the present invention. In the figure, 1 is the upper CPIJ.

2は同期バスを含むシステムバス、10+、102〜1
0nは計測用モジュールである。これらの複数個の計測
用モジュールはシステムバスにいもづる式に接続されて
いる。
2 is a system bus including a synchronous bus, 10+, 102~1
On is a measurement module. These multiple measurement modules are connected to the system bus in a similar manner.

各計測用モジュールには、READY信号(正論理)を
送受するためのREADY送受信回路11、TRIG信
号(負論理)を送受するためのTRIG送受信回路12
、BtJSY信号(負論理)を送受するためのBtJS
Y送受信回路13、E0百信号〈負論理)を送受するた
めのEOP送受信回路14がそれぞれ設けられ、同期バ
スに接続されている。
Each measurement module includes a READY transmitting/receiving circuit 11 for transmitting and receiving a READY signal (positive logic), and a TRIG transmitting/receiving circuit 12 for transmitting and receiving a TRIG signal (negative logic).
, BtJS for transmitting and receiving BtJSY signals (negative logic)
A Y transmitting/receiving circuit 13 and an EOP transmitting/receiving circuit 14 for transmitting and receiving an E0100 signal (negative logic) are provided, and are connected to a synchronous bus.

READY信号、TRIG信号、BUSY信号及びEO
P信号の同期動作内容は次の通りである。
READY signal, TRIG signal, BUSY signal and EO
The details of the P signal synchronization operation are as follows.

(+)READY信号 送信時:(TRIG信号受信機能指定のモジュールが送
信する。) ■外部同期動作準備完了で11 F(”とし、同期動作
中そのI F(1″状態を保持する。
(+) When transmitting READY signal: (Sent by the module with the TRIG signal reception function specified.) ■When external synchronization operation preparation is complete, the signal becomes 11 F(", and the IF(1" state is maintained during the synchronization operation.

■EOPの立下がりのエツジ・又は上位CPUからの指
令を受信時に“L )lとする。
- Set to "L" at the falling edge of EOP or when receiving a command from the host CPU.

受信時+(TRIG信号送信機能指定のモジュールが受
信する。) ■この信号の立上がりで、TRIG信 号、BLJSY信号、EOP侶号の送受信状態可能と判
断する。。
At the time of reception + (Received by the module designated with TRIG signal transmission function.) ■At the rising edge of this signal, it is determined that the TRIG signal, BLJSY signal, and EOP signal can be transmitted and received. .

■この信号の立下がりで外部同期動作 完了と判断し、TRIG信号、 BLISマ信号、EO
P信号を゛H″にする。
■When this signal falls, it is determined that the external synchronization operation is complete, and the TRIG signal, BLIS master signal, and EO
Set the P signal to "H".

<2)TRIG信号〈通常パルス幅は5oonsec以
上)送信時:1−RIGを受信するだのモジュールに計
測動作開始を通知する。TRIG信 号を送信するモジュールは同期動作中 1台のみとする。
<2) When transmitting the TRIG signal (usually the pulse width is 5 oonsec or more): 1-Notifies the module receiving the RIG of the start of the measurement operation. Only one module transmits the TRIG signal during synchronous operation.

受信時:この信号の立下がりで計測動作を開始する。When receiving: Measurement operation starts at the falling edge of this signal.

(3) B U S Y信号 送信時:■TRIG信号を受信するモジュールでTRI
G信号の立下がりから約200nsec以内にL″とし
、計測動作中 ″゛L″を保持する。
(3) When sending BUS Y signal: ■ TRIG signal is sent by the module that receives the TRIG signal.
The signal is set to L'' within about 200 nsec from the fall of the G signal, and maintained at L during the measurement operation.

■TRIG信号を受信するモジュール において計測動作完了で“” I−1”とする。■Module that receives TRIG signal When the measurement operation is completed, it is set as "I-1".

受信時: BtJSY信号を受信するモジュールは同期
動作中1台のみとする。
When receiving: Only one module receives the BtJSY signal during synchronous operation.

■TRIG信号を送信するモジュール においてL″のrfflTRIG信号送信を中断する。■Module that transmits TRIG signal At this point, transmission of the rfflTRIG signal of L'' is interrupted.

■TRIG信号を送信するモジュール においてTRIG倍信号1パルス出力 する。■Module that transmits TRIG signal TRIG multiplied signal 1 pulse output at do.

(4) E OP信号(計測モジュール内のデータ異常
で発生するパルス幅約500nsec以内の信号) 送信時:■TRIG信号を送信するモジュールにおいて
は、BLJSY信号が“HItの時に出力する。
(4) E OP signal (signal with a pulse width of approximately 500 nsec or less generated due to data abnormality in the measurement module) At the time of transmission: - In the module that transmits the TRIG signal, it is output when the BLJSY signal is "HIt".

■TRIG信号を受信するモジュール においてはBUSY信弓の立上がりか ら約200nsec以内に出力する 受信時:この信号の立下がりでREADY信号を“L″
とする。
■The module that receives the TRIG signal outputs it within about 200 nsec from the rising edge of BUSY signal.When receiving: At the falling edge of this signal, the READY signal is set to “L”.
shall be.

このような信号の授受を行う各回路の入出力端は第2図
に示すような構成となっている。すなわら、READY
、TRIG、BIJSY、EOPf7)信号の各送受信
回路はその入出力端において、入力信号はバッファBL
 (=−1〜4)で受け、出力信号はオーブンコレクタ
のナントゲートGl(J−1〜4)で出力する。この入
出力は共通接続され、抵抗R1L (L=1〜4)で+
5ボルトにプルアップされると共に抵抗R2z(L=1
〜4)でコモンラインに接続され、同期バスの各信号線
にそれぞれ接続される。
The input/output terminals of each circuit for transmitting and receiving such signals are constructed as shown in FIG. In other words, READY
, TRIG, BIJSY, EOPf7) signal transmitting/receiving circuits, at their input/output terminals, the input signal is sent to the buffer BL.
(=-1 to 4), and the output signal is output at the Nant gate Gl (J-1 to 4) of the oven collector. These inputs and outputs are commonly connected, and +
It is pulled up to 5 volts and resistor R2z (L=1
~4) to the common line and to each signal line of the synchronous bus.

このような構成における動作を第3図のタイムチャート
を参照して次に説明する。
The operation in such a configuration will be explained next with reference to the time chart of FIG.

1)■の時点 計測モジュールが3個の場合を例にとる。各計測モジュ
ール10+ 、102.103は上位CPU1からの指
令で各自の同期動作準備を完了するとREADY信号(
出力)を′H″にする。
1) Let us take as an example the case where there are three time measurement modules. When each measurement module 10+, 102, and 103 completes their synchronous operation preparations in response to a command from the host CPU 1, they receive a READY signal (
output) to 'H'.

2)■の時点 READY信号は各モジュールのREADY出力のAN
D条件でII Hljとなる(各同期バス信号の出力に
オープンコレクタを使用しているため)。
2) The READY signal at point ■ is the AN of the READY output of each module.
II Hlj under condition D (because an open collector is used to output each synchronous bus signal).

すなわち、同期バス上に現れるREADY信号が“′H
″になるタイミングは、前記1)の準備時間の最も遅い
モジュールによって決まる!3)■の時点 計測モジュール10+ 、102.103の全部にRE
ADY信号がH′°であることを通知する。
In other words, the READY signal appearing on the synchronous bus is "'H".
'' is determined by the module with the slowest preparation time in 1) above! 3) RE to all time measurement modules 10+ and 102 and 103 in ■
Notify that the ADY signal is H'°.

モジュール10.はTR[G信号を生成するための計測
動作に起動をかける。ここでいう計測動作とは、モジュ
ール10+に内蔵されている何らかの機能動作である。
Module 10. starts the measurement operation for generating the TR[G signal. The measurement operation here refers to some functional operation built into the module 10+.

4)■の時点 計測モジュール10+がその計測動作を完了すると、T
RIG信号出力を起動する。
4) When the point measurement module 10+ of ■ completes its measurement operation, T
Activate RIG signal output.

5)■の時点 1’ RI G信号をバスに出力し、計測モジュール1
0+ 、102.103に通知する。
5) At point 1' of ■, the RI G signal is output to the bus, and the measurement module 1
0+, notify 102.103.

6〉■の時点 計測モジュール102.103は各々独立にBUSY信
号を“L IIにし、そのBUSY信号をバス2に出力
する。計測モジュール102.103は各々の計測動作
に起動をかける。
The time measurement modules 102 and 103 of 6>■ each independently set the BUSY signal to "L II" and output the BUSY signal to the bus 2. The measurement modules 102 and 103 activate each measurement operation.

7)■の時点 計測モジュール103はBUSY信号がL″であること
を認知し、次のTRIG信号出力を禁止する。
7) The time measurement module 103 of (2) recognizes that the BUSY signal is L'' and prohibits the next TRIG signal output.

8)■の時点 計測モジュール102.10zは計測動作を完了し、B
tJSY信号を“H″にする。
8) The time measurement module 102.10z of ■ completes the measurement operation, and
Set the tJSY signal to “H”.

9)■の時点 BUSY信号は各モジュールのBUSY信号出力のAN
D条件でHnとなる。
9) The BUSY signal at point ■ is the AN of the BUSY signal output of each module.
Under D condition, Hn is obtained.

10〉[相]の時点 計測モジュール10+は入力されるBUSY信号が°H
′′であるため、次の丁RIG信号を生成するだめの計
測動作を起動する。
10〉[Phase] time measurement module 10+ has input BUSY signal °H
'', a measurement operation is started to generate the next RIG signal.

以上のようにして前記4)から10)の動作が繰返され
る。
As described above, the operations 4) to 10) are repeated.

11)0の時点 ここで、モジュール101において、EOP要囚が成立
し、EOP信号が出力されたとする。
11) Time point 0 Assume that the EOP requirement is established in the module 101 and the EOP signal is output.

12)0の時点 EOP信号を計測モジュール101,102゜103に
通知する。
12) Notify the measurement modules 101, 102 and 103 of the EOP signal at time 0.

13)■の時点 EOP信号を受信した計測モジュール101゜102.
103は各々READY信号を“L ”にする。これに
より総べての計測モジュールの計測動作が停止する。
13) Measurement modules 101 and 102 that received the EOP signal at time point (■).
103 sets the READY signal to "L". This causes the measurement operations of all measurement modules to stop.

(発明の効果) 以上説明したように、本発明によれば、同期バスの4つ
の信号、すなわちREADY信号、TRそのタイミング
を複数の計測モジュールの各々がハードウェアでハンド
シェイクして同期動作を行うことにより、言語翻訳やシ
ステムバス通信などのシステムソフトウェアの処理速度
よりも高速の計測同時性を確保することができるように
なった。
(Effects of the Invention) As described above, according to the present invention, each of the plurality of measurement modules performs a synchronous operation by handshaking the timings of four signals of the synchronous bus, that is, the READY signal and the TR, using hardware. This makes it possible to ensure measurement simultaneity that is faster than the processing speed of system software such as language translation and system bus communication.

また、計測要素を複合化することなく複数のモジュール
でも高速の同時計測ができる点で、システム構成のフレ
キシビリティに制限を受けなくなった。
Additionally, the flexibility of the system configuration is no longer limited by the ability to perform high-speed simultaneous measurements with multiple modules without composing measurement elements.

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

第1図は本発明の方法を実Il!iiiするためのシス
テムの一実施例、第2図は計測モジュールの信号入出力
端部の回路構成を示す図、第3図は動作を説明するため
のタイムチャートである。 1・・・CPU12・・・システムバス、10+、10
2〜10n・・・計測モジュール、11・・・READ
Y送受信回路、12・・・TRIG送受信回路、13・
・・BUSY送受信回路、14・・・EOP送受信回路
FIG. 1 shows the method of the present invention in practice! FIG. 2 is a diagram showing the circuit configuration of the signal input/output end of the measurement module, and FIG. 3 is a time chart for explaining the operation. 1...CPU12...System bus, 10+, 10
2~10n...Measurement module, 11...READ
Y transmitting/receiving circuit, 12...TRIG transmitting/receiving circuit, 13.
...BUSY transmitting/receiving circuit, 14...EOP transmitting/receiving circuit.

Claims (1)

【特許請求の範囲】[Claims] 上位CPUと同期バスを介して複数個の計測モジュール
が接続されたバスシステムにおいて、前記個々の計測モ
ジュールに存在する計測動作タイミングを、起動と動作
中の信号でハンドシェイクすることによって同期化し、
計測モジュール側での判断により同期動作における計測
中止の信号を終了タイミングとして同期バスを介して他
の計測モジュールに通知するようにした同期バス制御方
法。
In a bus system in which a plurality of measurement modules are connected to an upper CPU via a synchronization bus, the measurement operation timings existing in the individual measurement modules are synchronized by handshaking with activation and operation signals,
A synchronous bus control method in which a measurement stop signal in a synchronous operation is determined by a measurement module and is used as an end timing to notify other measurement modules via a synchronous bus.
JP9969885A 1985-05-13 1985-05-13 Method of synchronous bus control Pending JPS61259359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP9969885A JPS61259359A (en) 1985-05-13 1985-05-13 Method of synchronous bus control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP9969885A JPS61259359A (en) 1985-05-13 1985-05-13 Method of synchronous bus control

Publications (1)

Publication Number Publication Date
JPS61259359A true JPS61259359A (en) 1986-11-17

Family

ID=14254268

Family Applications (1)

Application Number Title Priority Date Filing Date
JP9969885A Pending JPS61259359A (en) 1985-05-13 1985-05-13 Method of synchronous bus control

Country Status (1)

Country Link
JP (1) JPS61259359A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5484444A (en) * 1977-12-19 1979-07-05 Mitsubishi Electric Corp Data bus control system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5484444A (en) * 1977-12-19 1979-07-05 Mitsubishi Electric Corp Data bus control system

Similar Documents

Publication Publication Date Title
EP0216533B1 (en) Computer-based instrument system
EP0326696A2 (en) Hybrid communications link adapter incorporating input/output and data communications technology
JPS62155651A (en) Method and apparatus for creating synchronous handshake
JP3377798B2 (en) IEEE488 interface and message processing method
EP0375794A1 (en) Method of synchronizing signals which are generated on different chips having on-chip clocking systems with different speed
US5692137A (en) Master oriented bus bridge
EP1750203B1 (en) Data bus mechanism for dynamic source synchronized sampling adjust
JPS61259359A (en) Method of synchronous bus control
US7191162B2 (en) FIFO interface for flag-initiated DMA frame synchro-burst operation
US7302508B2 (en) Apparatus and method for high speed data transfer
JPH0289438A (en) Sampling circuit
EP0344736A2 (en) High-speed synchronous data transfer system
JPS62226260A (en) Asynchronous data bus interface
JPH0756645B2 (en) Data processing device
JP2581041B2 (en) Data processing device
JPS5972845A (en) Asynchronous data receiving circuit
JPH01128636A (en) System for transmitting data intra-asynchronous equipments
JPS6024497B2 (en) Data transfer method
JPH0216829A (en) Data reception control system
JPH0528106A (en) Data transfer system
JPH04184297A (en) Time synchronization method of information processing system
JPH04195243A (en) Trigger transmission circuit
JPH08137635A (en) Control signal converter and control signal conversion method
JPH04290148A (en) Data acquisition control system
JPS61216192A (en) Memory writing system