Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0644755B2 - Microprocessor synchronization method for data transmission system - Google Patents
[go: Go Back, main page]

JPH0644755B2 - Microprocessor synchronization method for data transmission system - Google Patents

Microprocessor synchronization method for data transmission system

Info

Publication number
JPH0644755B2
JPH0644755B2 JP59111386A JP11138684A JPH0644755B2 JP H0644755 B2 JPH0644755 B2 JP H0644755B2 JP 59111386 A JP59111386 A JP 59111386A JP 11138684 A JP11138684 A JP 11138684A JP H0644755 B2 JPH0644755 B2 JP H0644755B2
Authority
JP
Japan
Prior art keywords
master
time
microprocessor
slave
mpu1
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
JP59111386A
Other languages
Japanese (ja)
Other versions
JPS60254352A (en
Inventor
昇 川田
千尋 遠藤
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP59111386A priority Critical patent/JPH0644755B2/en
Publication of JPS60254352A publication Critical patent/JPS60254352A/en
Publication of JPH0644755B2 publication Critical patent/JPH0644755B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/17Interprocessor communication using an input/output type connection, e.g. channel, I/O port

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multi Processors (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Description

【発明の詳細な説明】 (1)産業上の利用分野 本発明はデータ伝送システムにおけるモデム同期方法、
特にマルチプロセッサ方式のモデムを端末装置の作動に
同期させる方法に関するものである。
DETAILED DESCRIPTION OF THE INVENTION (1) Field of Industrial Application The present invention relates to a modem synchronization method in a data transmission system,
In particular, it relates to a method for synchronizing a multiprocessor modem with the operation of a terminal device.

データ伝送システムに用いられるMPU モデム(以下、単
にモデムという)に高度の処理機能を持たせる目的で2
個のMPU (マイクロプロセッサ)を並列に接続し、プロ
グラムを並列処理させる方法が採られることがある。か
かる場合、上記各MPU の送信・受信の動作は同期して行
わなければならないという条件がある。この同期させる
場合の基準としては、モデムの変調速度が基準になり、
この変調速度に対して各信号パルスを同期させる方法が
採られる。一方モデム内部には、高い精度が要求される
クロックが存在し、例えば2400Hzの場合は2400Hz±0.01
%に及ぶ高い精度が必要である。又、モデムにおける変
調速度は、ボー(Baud)を単位として表わされ、 の関係で定義される。
For the purpose of providing MPU modems (hereinafter simply referred to as modems) used in data transmission systems with advanced processing functions 2
A method may be adopted in which multiple MPUs (microprocessors) are connected in parallel and the program is processed in parallel. In such a case, there is a condition that the transmission / reception operations of the above MPUs must be performed in synchronization. As a standard for this synchronization, the modulation speed of the modem becomes the standard,
A method of synchronizing each signal pulse with this modulation speed is adopted. On the other hand, there is a clock that requires high accuracy inside the modem. For example, in the case of 2400Hz, 2400Hz ± 0.01
High accuracy of up to% is required. Also, the modulation rate in the modem is expressed in units of Baud, Is defined by the relationship.

この変調速度、即ちボーレート(BaundRate)は関数と
してFBO で表現されるから、MPU が出力するモデムが内
部にもつクロックを以下FBO で表わす。従って、データ
伝送システムにおいて、発信側の各装置、即ち端末はFB
O を基準として動作することが必要である。例えば上記
2400Hzについてみると、1/2400sec を1周期として所定
の位相、振幅をもつそれぞれの動作が各MPU 間において
も行われなければならない。従って、上記各装置が同期
された状態で動作するためにはモデムのFBO に同期する
ことが必要である。
This modulation rate, that is, the baud rate (BaundRate) is expressed as a function in FBO, and hence the internal clock of the modem output by the MPU is expressed as FBO. Therefore, in the data transmission system, each device on the sending side, that is, the terminal is an FB.
It is necessary to operate based on O 2. For example
Looking at 2400Hz, each operation with a predetermined phase and amplitude must be performed between each MPU with 1 / 2400sec as one cycle. Therefore, it is necessary to synchronize with the FBO of the modem in order for the above devices to operate in a synchronized state.

(2)従来の技術 第1図は2個のMPU を並列に接続してデータ処理を行う
ようにしたマルチプロセッサ方式の発信側制御装置の従
来例を示す。2個のMPU 1,2 のうち一方はマスタMPU 、
他方はスレーブMPU として動作する。これらのMPU1及び
2は一つのバス線S1に並列に接続され、又マスタMPU1と
スレーブMPU2とは信号線S2により相互に接続されてデー
タの送受信を行う。しかし、第1図に示すように、2個
のプロセッサを並列接続で使用する場合には、これらの
プロセッサ1,2 は並列にあると言っても、両者の間には
必ず主従の関係が発生する。上記第1図においては、MP
U1がマスタ、MPU2はスレーブである。そしてマスタMPU1
がFBO に同期して出力すると、スレーブMPU2はこれを監
視しマスタのMPU1に同期して動作する。
(2) Conventional Technique FIG. 1 shows a conventional example of a multiprocessor type originating side control device in which two MPUs are connected in parallel to perform data processing. One of the two MPUs 1, 2 is the master MPU,
The other operates as a slave MPU. These MPUs 1 and 2 are connected in parallel to one bus line S1, and the master MPU1 and slave MPU2 are mutually connected by a signal line S2 to transmit and receive data. However, as shown in Fig. 1, when two processors are used in parallel connection, even if these processors 1 and 2 are said to be in parallel, there is always a master-slave relationship between them. To do. In Fig. 1 above, MP
U1 is the master and MPU2 is the slave. And the master MPU1
When is output in synchronization with FBO, slave MPU2 monitors this and operates in synchronization with master MPU1.

一方、送信されてくる端末装置側のデータパルスは、 C
CITT,V24 で規定される100 シリーズインターフェース
を通り、当該100 シリーズインタフェース中の送信タイ
ミング信号(これをST1 と言う)により全く位相の合致
した状態でクロック作動によりMPU モデムに入力され
る。このため、いまMPU モデムがこのデータパルスを他
の端末装置に発信するためには、自己のFBO 信号をST1
信号に同期させると共に、マスタMPU1とスレーブMPU2と
の間の同期も取ってデータ処理させなければならない。
上記データ送信時におけるFBO 信号とST1 信号との同期
合せ制御をST1 の「引込み」と言い、例えば端末装置か
らモデム10に向けて送信要求信号RSが発送された時など
に、瞬時に実行される。
On the other hand, the data pulse transmitted from the terminal device side is C
It passes through the 100 series interface specified by CITT, V24, and is input to the MPU modem by clock operation in a state in which the phase is completely matched by the transmission timing signal (ST1) in the 100 series interface. Therefore, in order for the MPU modem to send this data pulse to another terminal device, the FBO signal of its own is sent to ST1.
In addition to synchronizing with the signal, the master MPU1 and the slave MPU2 must be synchronized with each other for data processing.
The synchronization control of the FBO signal and the ST1 signal at the time of transmitting the data is called "pull-in" of ST1, and is executed instantaneously, for example, when the transmission request signal RS is sent from the terminal device to the modem 10. .

従来においては、モデム10でのST1 引込みは第2図(a)
乃至(b) に示すタイムチャートに従って行われていた。
この図において(a) は端末装置からのST1 クロック信号
を示し、(b) はモデム10特有のクロック信号であるFBO
(1)を示す。
Conventionally, ST1 pull-in in modem 10 is shown in Fig. 2 (a).
It was performed according to the time charts shown in (b) to (b).
In this figure, (a) shows the ST1 clock signal from the terminal device, and (b) shows the FBO which is a clock signal specific to the modem 10.
Indicates (1).

これら(a)(b)に示すように、端末装置とモデム10内
のマスタMPU1との間において、ST1 の立上りがFBO(1)の
立上り終了後の状態(”1”とする)にあるM位相に合致
し、両クロックの間に一定の位相ずれが生じているもの
とする。
As shown in these (a) and (b), between the terminal device and the master MPU1 in the modem 10, the rising edge of ST1 is in a state ("1") after the rising edge of FBO (1) is completed. It is assumed that the phases match and a certain phase shift occurs between the two clocks.

マスタMPU1は(d) に示すように、プログラムに従っ
てST1 の”1”又は”0”の状態を監視し、ST1 が次
に”1”となるまで監視を繰り返す。
As shown in (d), the master MPU1 monitors the state of "1" or "0" of ST1 according to the program, and repeats the monitoring until ST1 becomes "1" next time.

ST1 が”0”から”1”に転換する時点をt1とする
と、t1はマスタMPU1が自己の走らすプログラムの位置に
よって認識できるから栄、タMPU1はプログラムに周期的
に(h) なる斜線領域に対応する時間を与えておき、この
間においてST1 が”0”から”1”へ変換する時点を探
知し、且つ捕捉する。そして上記時点t1においてST1 の
立上りを確認する。
Assuming that the time point when ST1 changes from "0" to "1" is t1, t1 can be recognized by the position of the program that the master MPU1 runs, and the MPU1 is in the shaded area (h) in the program periodically. Corresponding time is given, and during this period, the time when ST1 converts from "0" to "1" is detected and captured. Then, at the time point t1, the rise of ST1 is confirmed.

マスタMPU1のプログラムはFBO の一周期(上の例で
は1/2400sec)を単位として走行するから、t1の時点か
らプログラムエンドまでの時間は演算することができ
る。いま、この時間をAとする。
Since the program of the master MPU1 runs in units of one FBO cycle (1/2400 sec in the above example), the time from the time t1 to the program end can be calculated. Now, let this time be A.

またST1 の周期は、送信される端末装置側からのビ
ットにより既に知られている(上の例では1/9600sec で
ある)から時点t1から次にST1 が”1”に変換する時点
(t2とする)までの時間は演算によって求めることがで
きる。いま、その時間をBとする。
Since the ST1 cycle is already known from the bit transmitted from the terminal device side (1/9600 sec in the above example), from the time point t1 to the next time point when ST1 converts to "1" (t2 and It is possible to obtain the time until it does). Now, let B be that time.

従って、FBO はプログラムエンドにおいて”0”と
なるから、上記より、 B−A=C によりCを求めることができる。このため、プログラム
Pの最後のブロックの立上りをC時間だけ引延ばすこと
によりモデム10はST1 に同期する。(C) のFBO(2)は、こ
の時点の状態を示し、一度FBO(2)となるとPLL によって
同期保持ができる。
Therefore, since FBO becomes "0" at the program end, it is possible to obtain C from B-A = C from the above. Therefore, by delaying the rising edge of the last block of the program P by C time, the modem 10 synchronizes with ST1. FBO (2) in (C) shows the state at this point, and once FBO (2) is reached, synchronization can be maintained by the PLL.

以上でマスタMPU1と端末装置との間の同期をとるこ
とができたが、次にマスタMPU1とスレーブMPU2との同期
をとるためには、上記ST1 引込みのつど、マスタMPU1か
ら両部材間のデータ伝送用バスS1,S2 を使用して時間C
という情報をスレーブMPU2に送り、スレーブMPU2はこれ
に追随してプログラムを引延ばしマスタMPU1に同期す
る。
With the above procedure, the master MPU1 and the terminal device could be synchronized.However, in order to synchronize the master MPU1 and the slave MPU2 next time, the data between the master MPU1 and both members should be changed every time ST1 is pulled in above. Time C using transmission buses S1 and S2
Is sent to the slave MPU2, and the slave MPU2 follows this and extends the program to synchronize with the master MPU1.

(3)発明が解決しようとする問題点 しかしながら、このような従来技術によるST1 の引込み
に伴うマスタMPU1及びスレーブMPU2を同期させる方法に
あっては、マスタMPU1において算出されたプログラム引
延ばし時間CについてのデータをバスS1,S2 を使ってい
わゆるデータ伝送の形でスレーブMPU2に送っていたか
ら、バスS1,S2 にとってみると、特殊な使われ方をして
いることになる。このため、同期事象の発生に備え、バ
スS1,S2の回路中に特殊な装置を設けなければならず、
装置の煩雑さを招く。また、マスタMPU1は、同期のため
の情報を出すたび毎に別個に時間Cの情報をスレーブMP
U2に送らなければならないという煩雑さがあった。そし
て又、バスS1,S2 を使って同期のための情報を送るため
には、データ伝送を中断しなければならず、マスタ及び
スレーブMPU1,2のデータ処理能力が低下するという問題
点があった。
(3) Problems to be Solved by the Invention However, in the method of synchronizing the master MPU1 and the slave MPU2 associated with the ST1 pull-in according to the related art, the program extension time C calculated in the master MPU1 is The data of was sent to the slave MPU2 in the form of so-called data transmission using the buses S1 and S2, so for the buses S1 and S2, it is used in a special way. Therefore, a special device must be provided in the circuit of the buses S1 and S2 in preparation for the occurrence of the synchronization event.
This leads to complexity of the device. In addition, the master MPU 1 separately outputs the information of the time C to the slave MP each time it outputs the information for synchronization.
There was the complication that it had to be sent to U2. Also, in order to send information for synchronization using the buses S1 and S2, the data transmission must be interrupted, which causes a problem that the data processing capability of the master and slave MPU1 and 2 decreases. .

(4)問題点を解決するための手段 本発明は、上記従来の問題点に着目してなされたもの
で、その目的は、マルチプロセッサ方式のモデムにおい
て、複数のMPU の間に同期専用のST1 引込み線を設け、
バスの利用効率を高めたMPU の同期方法を提供し、上記
従来の問題点を解決することである。
(4) Means for Solving the Problems The present invention has been made by paying attention to the above-mentioned conventional problems, and an object thereof is to provide ST1 dedicated to synchronization between a plurality of MPUs in a multiprocessor modem. Set up a service line,
It is to solve the above-mentioned conventional problems by providing a method of synchronizing the MPU with improved bus utilization efficiency.

本発明は、かかる目的を達成するために、マスタ及びス
レーブのマイクロプロセッサを有するマルチプロセッサ
方式のモデムにおいて、端末装置から当該モデムに伝送
され、又、立上り・立下り動作を行う送信タイミング信
号ST1 をマイクロプロセッサ内に引込み、マイクロプロ
セッサの作動を端末装置の作動に同期させるために、上
記複数個のマイクロプロセッサ間に送信タイミング信号
引込み専用の信号線を設け、マスタに相当する第1のマ
イクロプロセッサでは、送信タイミングの立上りを検出
したとき、当該マイクロプロセッサが端末装置に同期す
るための調整時間をプログラム処理によって求める一
方、当該第1のマイクロプロセッサからスレーブに相当
する第2のマイクロプロセッサへは上記専用信号線を通
して送信タイミングの立上り検出信号と、第1のマイク
ロプロセッサの起動とを伝送し、第2のマイクロプロセ
ッサを同期させるようにしたことを要旨とするものであ
る。
In order to achieve such an object, the present invention provides a transmission timing signal ST1 which is transmitted from a terminal device to the modem in a multiprocessor type modem having a master and a slave microprocessor and which performs a rising / falling operation. In order to synchronize the operation of the microprocessor with the operation of the terminal device, a signal line dedicated to transmitting the transmission timing signal is provided between the plurality of microprocessors. , When the rise of the transmission timing is detected, the microprocessor calculates the adjustment time for synchronizing with the terminal device by program processing, while the first microprocessor is dedicated to the second microprocessor corresponding to the slave. Of transmission timing through the signal line The gist is that the rising edge detection signal and the activation of the first microprocessor are transmitted to synchronize the second microprocessor.

(5)作用 かかる構成を採ったため、マスタのMPU がST1 の引込み
を行う場合、検出演算した時間の情報をスレーブMPU に
与える必要はなく、スレーブMPU は信号線を通じてST1
の立上がり及びマスタMPU の同期作動の開始を監視して
いればよく、同期のための作動を簡易迅速化させること
ができる。
(5) Action Because of this configuration, when the master MPU pulls in ST1, it is not necessary to give the information of the detected and calculated time to the slave MPU, and the slave MPU sends ST1 through the signal line.
It suffices to monitor the rise of the master MPU and the start of the synchronous operation of the master MPU, and the operation for the synchronization can be simplified and speeded up.

(6)実施例 第3図は、本発明の一実施例に係るマスタMPU とスレー
ブMPU を有するマルチプロセッサ方式の制御装置を示
す。この制御装置20は、マスタとスレーブとの関係にあ
る2個のMPU1,2を有し、これらのMPU1及び2は、1つの
バス線S1に並列に接続され、またマスタMPU1とスレーブ
MPU2とは信号線S2により相互に接続されてFBO 等のデー
タ送受信を行う。さらに、マスタMPU1とスレーブMPU2と
の間には新たにST1 引込み用制御信号線S3が設けられて
いる。そしてバス線S1及びS2は主として他の端末装置又
はCPU との間の通常のデータの送信に使用され、信号線
S3はマスタMPU1及びスレーブMPU2間におけるST1 引込み
に伴う両MPU の同期を得るために専用的に用いられる。
(6) Embodiment FIG. 3 shows a multiprocessor type control device having a master MPU and a slave MPU according to an embodiment of the present invention. The control device 20 has two MPUs 1 and 2 which are in a relationship of a master and a slave, and these MPUs 1 and 2 are connected in parallel to one bus line S1.
The MPU2 and the MPU2 are connected to each other by a signal line S2 to exchange data such as FBO. Further, a ST1 pull-in control signal line S3 is newly provided between the master MPU1 and the slave MPU2. Bus lines S1 and S2 are mainly used for normal data transmission with other terminal devices or CPUs, and signal lines
S3 is exclusively used to obtain synchronization between both master MPU1 and slave MPU2 due to ST1 pull-in between both MPUs.

かかる構成を有する制御装置は、第2図(a) 乃至(e) に
示すタイムチャートに従って行われる。このうち(a) 乃
至(d) のタイムチャートは上記従来例について既に説明
してあるので、ここでは簡単に説明する。
The control device having such a configuration operates according to the time charts shown in FIGS. 2 (a) to (e). Of these, the time charts (a) to (d) have already been described for the above-mentioned conventional example, and therefore will be briefly described here.

先ず、マスタMPU1 は、自己のプログラムPの斜線部(h)
においてST1 の立上り点t1を捕捉すると、ST1 を引込
む時間Cを演算によって求める。次いでマスタMPU1はFB
O においてST1 引込み動作を行うべく、FBO(1)に対して
時間Cだけ引延ばし動作を行わせ、FBO(2)を得る。これ
によりST1 の立上りを時点t1で検出した後、次にST1 が
立上る時(時点t2)にはマスタMPU1の発信クロックであ
るFBO もまた時点t2においてST1 と同時に立上る。
First, the master MPU1 is the hatched part (h) of its own program P.
When the rising point t1 of ST1 is captured at, the time C for pulling in ST1 is calculated. Then master MPU1 is FB
In order to perform ST1 pull-in operation at O, FBO (1) is caused to perform a stretch operation for a time C, and FBO (2) is obtained. As a result, after detecting the rising edge of ST1 at time t1, the next time ST1 rises (time t2), the master MPU1's oscillation clock FBO also rises at the same time as ST1 at time t2.

他方、上記マスタMPU1によるST1 の立上り検出によっ
て、ST1 引込み用信号線S3における制御信号は、第2図
(e) に示すように、マスタMPU1からの出力により時間C
の間だけHiからLow になる。スレーブMPU2は、プログラ
ム中の(h) 部分内でマスタMPU1からの出力信号が立下る
のを常時監視し、時点t1において立下りが生じると自己
のプログラムを中断し、次にマスタMPU1からの出力信号
が立上るまで監視待機する。そして時間Cが経過し、ス
レーブMPU はマスタMPU からの前記出力信号の立上りを
認識し、中断されていたプログラムの実行を再開するこ
とにより、スレーブMPU も又ST1 及びFBO との同期をと
ることができる。
On the other hand, when the ST1 rising edge is detected by the master MPU1, the control signal on the ST1 pull-in signal line S3 is shown in FIG.
As shown in (e), time C is output by the output from the master MPU1.
It changes from Hi to Low only during the period. The slave MPU2 constantly monitors the falling of the output signal from the master MPU1 in the (h) part of the program, interrupts its program if a falling edge occurs at time t1, and then outputs from the master MPU1. Wait for monitoring until the signal rises. Then, when the time C has passed, the slave MPU recognizes the rising of the output signal from the master MPU and restarts the execution of the interrupted program, so that the slave MPU can also synchronize with ST1 and FBO. it can.

このようにしてST1 とFBO の同期がとられると、端末装
置、マスタMPU1、スレーブMPU2の3部材が同期して動作
するようになり、以後は第4図に示すように正しい位相
関係をもってプログラム処理が行われる。なお、この第
4図ではST1 の送信ビットが9600bit/秒、FBO のクロッ
クを2400Hzとした事例における同期状態を示すもので、
FBO の一周期に対してST1 4 ビットが処理される。
When the ST1 and FBO are synchronized in this way, the three members, the terminal device, the master MPU1 and the slave MPU2, operate in synchronism, and thereafter, the program processing is performed with the correct phase relationship as shown in FIG. Is done. In addition, in this Figure 4, the transmission bit of ST1 is 9600 bits / sec, and the synchronization state in the case where the clock of FBO is 2400 Hz is shown.
ST1 4 bits are processed for one cycle of FBO.

第5図及び第6図は、それぞれマスタMPU1及びスレーブ
MPU2におけるST1 引込み動作を示すフローチャートであ
る。第5図において明らかになるように、マスタMPU1で
は、そのプログラム中の(h) 処理において、ST1 の立上
りを監視し、立上りがあればST1 引込制御信号線S3のレ
ベルをHからLにし、プログラム引延ばし時間Cを算出
する。そして時間C経過後にST1 引込制御信号線S3のレ
ベルをLからHにすると共にST1 との同期動作を行う。
なお、ST1 の立上り監視時間が所定時間経過するとタイ
ムアップか否かを調べ、タイムアップになれば処理A、
即ちマスタMPU1におけるST1 引込み処理を終了する。こ
れは、同期をとれないまま長時間が経過するのを防止す
るためである。
5 and 6 show master MPU1 and slave, respectively.
7 is a flowchart showing ST1 pull-in operation in MPU2. As is clear from FIG. 5, in the master MPU1, the rising edge of ST1 is monitored in the process (h) in the program, and if there is a rising edge, the level of the ST1 pull-in control signal line S3 is changed from H to L, and the program The extension time C is calculated. Then, after the lapse of time C, the level of the ST1 pull-in control signal line S3 is changed from L to H and the operation of synchronizing with ST1 is performed.
It should be noted that when the rising monitor time of ST1 elapses a predetermined time, it is checked whether or not the time is up, and if the time is up, the process A,
That is, the ST1 pull-in process in the master MPU1 is completed. This is to prevent a long time from passing without being synchronized.

他方、スレーブMPU2は、信号線S3が通る制御信号の立下
りがあるか否かを監視し、立下りがあった場合は、次の
立上りがあるか否かを監視し、この立上りがあった時点
でマスタMPU1との同期を行う。また制御信号の立下りが
所定時間ないときはタイムアップとし、処理B、即ちス
レーブMPU2におけるST1 引込み処理を終了する。
On the other hand, the slave MPU2 monitors whether or not there is a falling edge of the control signal passing through the signal line S3, and if there is a falling edge, monitors whether or not there is a next rising edge, and there is this rising edge. At this point, synchronize with the master MPU1. If the control signal does not fall for a predetermined time, the time is up and the process B, that is, the ST1 pull-in process in the slave MPU2 is completed.

(7)発明の効果 以上説明したように、本発明によれば、マスタ及びスレ
ーブの関係のある複数のMPU を有するマルチプロセッサ
方式のデータ伝送システムにおいて、MPU 間にバス線と
は別にST1 引込用の信号線を接続し、この信号線におけ
るレベル切換によってST1 信号の引込み及び同期化を行
うようにしたため、マスタMPU からスレーブMPU に同期
情報を伝送する必要がなくなり操作が簡便になると共
に、バス線の有効利用が図り得る。またST1 引込みに関
するソフトウエアの作成が簡単になりプログラムが短く
なる。更に伝送回路のバスに同期のための制御回路を設
ける必要がなく構成が簡単になる等、種々の効果が得ら
れる。
(7) Effects of the Invention As described above, according to the present invention, in a multiprocessor type data transmission system having a plurality of MPUs having master and slave relationships, ST1 pull-in is provided between MPUs separately from a bus line. Since the ST1 signal is pulled in and synchronized by connecting the signal line of ST1 and switching the level of this signal line, it is not necessary to transmit the synchronization information from the master MPU to the slave MPU, and the operation is simple and the bus line is Can be effectively used. In addition, the software related to ST1 pull-in becomes easier and the program becomes shorter. Further, various effects can be obtained, such as a simple structure without the need for providing a control circuit for synchronization on the bus of the transmission circuit.

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

第1図はMPU を並列につないだマイクロプロセッサ方式
の制御装置の従来例を示す図、第2図は本発明におい
て、また一部は従来のおいても用いられるST1 引込み動
作時の同期タイミングを決定するためのプログラム制御
方法を示す図、第3図は第1図に対して本発明のマスタ
及びスレーブMPU 間のプログラム制御状態を示す図、第
4図はデータ伝送における端末装置側とMPU 側のクロッ
クの関係を示す図、第5図はST1 引込みのためのマスタ
MPU のフローチャート、そして第6図はST1 引込用のス
レーブMPU のフローチャートである。 1……マスタMPU 2……スレーブMPU S1,S2 ……バス線 S3……ST1 引込み用の信号線
FIG. 1 is a diagram showing a conventional example of a microprocessor type control device in which MPUs are connected in parallel, FIG. 2 is a timing diagram of the ST1 pull-in operation which is also used in the present invention and partly in the conventional art. FIG. 3 is a diagram showing a program control method for determining, FIG. 3 is a diagram showing the program control state between the master and slave MPUs of the present invention with respect to FIG. 1, and FIG. 4 is a terminal device side and MPU side in data transmission. Fig. 5 shows the relationship of clocks, and Fig. 5 shows the master for ST1 pull-in
The flow chart of the MPU, and Fig. 6 is the flow chart of the slave MPU for ST1 pull-in. 1 …… Master MPU 2 …… Slave MPU S1, S2 …… Bus line S3 …… ST1 Signal line for pull-in

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 昭57−204651(JP,A) 特開 昭56−90644(JP,A) 実開 昭57−114439(JP,U) ─────────────────────────────────────────────────── ─── Continuation of the front page (56) References JP-A-57-204651 (JP, A) JP-A-56-90644 (JP, A) Actually developed JP-A-57-114439 (JP, U)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】複数のマイクロプロセッサを並列に接続し
てデータ処理を行うようにしたマルチプロセッサ方式の
制御装置において、 端末装置から制御装置に伝送される送信タイミング信号
を基にマイクロプッロセッサを端末装置に同期させる方
法であって、 上記複数個のマイクロプロセッサ間に送信タイミング信
号引込み専用の信号線を設け、第1のマイクロプロセッ
サでは、送信タイミングの立上りを検出したとき、当該
マイクロプロセッサが端末装置に同期するための調整時
間を求める一方、当該第1のマイクロプロセッサから第
2のマイクロプロセッサへは、上記専用信号線を通して
送信タイミング信号の立上り時点と上記調整時間の経過
時点とを通知し、第2のマイクロプロセッサを同期させ
るようにしたことを特徴とするデータ伝送システムのマ
イクロプロセッサ同期方法。
1. In a multiprocessor type control device in which a plurality of microprocessors are connected in parallel to perform data processing, a microprocessor is connected to a terminal based on a transmission timing signal transmitted from the terminal device to the control device. A method of synchronizing with a device, wherein a signal line dedicated to pulling in a transmission timing signal is provided between the plurality of microprocessors, and in the first microprocessor, when the rising of the transmission timing is detected, the microprocessor is the terminal device. While obtaining the adjustment time for synchronization with the first microprocessor, the first microprocessor notifies the second microprocessor of the rise time of the transmission timing signal and the elapsed time of the adjustment time through the dedicated signal line. Data characterized by synchronizing the two microprocessors Micro processor synchronization method of the transmission system.
JP59111386A 1984-05-31 1984-05-31 Microprocessor synchronization method for data transmission system Expired - Lifetime JPH0644755B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59111386A JPH0644755B2 (en) 1984-05-31 1984-05-31 Microprocessor synchronization method for data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59111386A JPH0644755B2 (en) 1984-05-31 1984-05-31 Microprocessor synchronization method for data transmission system

Publications (2)

Publication Number Publication Date
JPS60254352A JPS60254352A (en) 1985-12-16
JPH0644755B2 true JPH0644755B2 (en) 1994-06-08

Family

ID=14559862

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59111386A Expired - Lifetime JPH0644755B2 (en) 1984-05-31 1984-05-31 Microprocessor synchronization method for data transmission system

Country Status (1)

Country Link
JP (1) JPH0644755B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5915583B2 (en) * 1979-12-25 1984-04-10 株式会社日立国際電気 Synchronization method for data transmission between multiple communication devices
JPS57204651A (en) * 1981-06-12 1982-12-15 Nec Corp Remote monitoring system

Also Published As

Publication number Publication date
JPS60254352A (en) 1985-12-16

Similar Documents

Publication Publication Date Title
EP0130470B1 (en) System and method for resolving contention among a plurality of asynchronous bus master devices connected to a common bus
US8689035B2 (en) Communication system, communication interface, and synchronization method
CN102263634B (en) The method of peripheral cell, the control unit exchanged data and data exchange
US4727370A (en) Method and system for synchronous handshake generation
CN107947888B (en) A kind of task level synchronous method based on network communication
CN113225152B (en) A method, apparatus and computer readable medium for camera synchronization
US5319678A (en) Clocking system for asynchronous operations
US6097775A (en) Method and apparatus for synchronously transferring signals between clock domains
JPH0644755B2 (en) Microprocessor synchronization method for data transmission system
JPS6057082B2 (en) How to synchronize between multiple computers
JPH0133864B2 (en)
JP3085448B2 (en) Communications system
CN114500766A (en) A GMSL camera time synchronization control method for autonomous driving
JP2871364B2 (en) Modem transmission synchronization apparatus and method
EP4560862A1 (en) Sampling synchronization method for differential protection device, differential protection device and system
JPS62120567A (en) Clock synchronization of decentralized processing system
US6453373B1 (en) Method and apparatus for differential strobing
JPS59176863A (en) Timer synchronizing system
JP3612471B2 (en) Spurious interrupt control method in multiprocessor configuration
JP2715547B2 (en) Transmission equipment parent / child station replacement system
JP3170827B2 (en) Polling data collection system
TWI489845B (en) Slave device for an ethernet system and related method of reducing synchronization power consumption
JPH05204850A (en) Device and method for communication information synchronization for bus and bus type connection system
JPH07248803A (en) Synchronizing device for dual device
JP2000250624A (en) Monitoring system for intra-device state