JPH02284254A - Data transfer system for multiprocessor system - Google Patents
Data transfer system for multiprocessor systemInfo
- Publication number
- JPH02284254A JPH02284254A JP10668389A JP10668389A JPH02284254A JP H02284254 A JPH02284254 A JP H02284254A JP 10668389 A JP10668389 A JP 10668389A JP 10668389 A JP10668389 A JP 10668389A JP H02284254 A JPH02284254 A JP H02284254A
- Authority
- JP
- Japan
- Prior art keywords
- global bus
- processor
- data
- multiprocessor system
- data transfer
- 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
Links
- 238000012546 transfer Methods 0.000 title claims abstract description 33
- 238000000034 method Methods 0.000 claims abstract description 11
- 230000000737 periodic effect Effects 0.000 claims description 6
- 230000001105 regulatory effect Effects 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 1
Landscapes
- Multi Processors (AREA)
- Bus Control (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明はマルチプロセッサシステムのデータ転逆方式に
係り、特にグローバルバスを介してデータ転送を行うマ
ルチプロセッサシステムのデータ転送方式に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transfer method for a multiprocessor system, and more particularly to a data transfer method for a multiprocessor system that transfers data via a global bus.
数値制御装置又はロボット制御装置等では多数の軸を高
速に制御するための複数のプロセッサを使用するマルチ
プロセッサシステムが採用されている。Numerical control devices, robot control devices, and the like employ multiprocessor systems that use a plurality of processors to control a large number of axes at high speed.
このような制御装置で使用されるマルチプロセッサシス
テムでは、一般にシステム全体に対して数ms (約8
m5)毎に出力される基準信号(ITP(補間)周期信
号)があり、この基準信号が出力される毎に各プロツセ
サはデータの転送処理を行っていた。The multiprocessor systems used in such control devices typically require several ms (approximately 8
There is a reference signal (ITP (interpolation) cycle signal) that is output every m5), and each processor performs data transfer processing every time this reference signal is output.
そのため基準信号発生から一定時間経過後、各プロセッ
サは一斉にグローバルバスをアクセスしていた。そのた
めグローバルバスの単位時間あたりの使用頻度にかたよ
りが生じ、結果としてグローバルバスをアクセスするた
めの待ち時間が増大し、システム全体の性能が低下して
しまうという問題が生じていた。Therefore, after a certain period of time has elapsed since the reference signal was generated, each processor accesses the global bus at the same time. As a result, the frequency of use of the global bus per unit time is uneven, resulting in an increase in waiting time for accessing the global bus, resulting in a problem that the performance of the entire system is degraded.
本発明はこのような点に鑑みてなされたものであり、各
プロセッサのグローバルバスの待ち時間を低減し、シス
テム全体の性能を向上したマルチプロセッサシステムの
データ伝送方式を提供することを目的とする。The present invention has been made in view of the above points, and an object of the present invention is to provide a data transmission method for a multiprocessor system that reduces the waiting time of the global bus of each processor and improves the performance of the entire system. .
本発明では上記課題を解決するために、マルチプロセッ
サシステム内の各プロセッサ間のデータ転送をグローバ
ルバスを介して行うマルチプロセッサシステムのデータ
転送方式において、前記プロセッサが前記グローバルバ
スを介して書き込みデータ及び読み出しデータを一時的
に記憶する記憶手段と、前記プロセッサ毎に異なった時
間が設定され、基準信号の発生から前記時間の経過を経
時するタイマと、前記タイマの所定時間経過後に前記グ
ローバルバスを前記プロセッサとは別個にアクセスし、
前記記憶手段に記憶されている前記書き込みデータ及び
読み出しデータをグローバルバスを介して転送処理する
転送処理手段とからなるデータ転送調整手段を前記プロ
セッサのそれぞれに設け、前記グローバルバスが前記プ
ロセッサ間で互いに異なるタイミングでアクセスされる
ように構成したことを特徴とするマルチプロセッサシス
テムのデータ転送方式が、提供される。In order to solve the above problems, the present invention provides a data transfer method for a multiprocessor system in which data is transferred between each processor in the multiprocessor system via a global bus. a storage means for temporarily storing read data; a timer having a different time set for each processor and elapses the elapsed time from generation of a reference signal; accessed separately from the processor,
Each of the processors is provided with data transfer adjustment means comprising a transfer processing means for transferring the write data and read data stored in the storage means via a global bus, and the global bus transfers the data between the processors. A data transfer method for a multiprocessor system is provided, which is characterized in that it is configured to be accessed at different timings.
プロセッサはグローバルバスを介して書き込みデータ及
び読み出しデータを別に設けられた記憶手段に一時的に
記憶する。基準信号の発生から所定時間の経過をはかる
タイマは各プロセッサ毎に異なった時間に設定される。The processor temporarily stores write data and read data in separately provided storage means via the global bus. A timer that measures the elapse of a predetermined time from the generation of the reference signal is set to a different time for each processor.
転送処理手段はタイマの所定時間経過後にグローバルバ
スをプロセッサとは別個にアクセスし、記憶手段に記憶
されているデータをグローバルバスを介して転送処理す
る。従って、それぞれのプロセッサはグローバルバスを
互いに異なるタイミングでアクセスすることができる。The transfer processing means accesses the global bus separately from the processor after a predetermined time of the timer has elapsed, and transfers the data stored in the storage means via the global bus. Therefore, each processor can access the global bus at different timings.
また、グローバルバスへのアクセス処理は別の転送処理
手段が行うので、その間はプロセッサは別の処理を実行
することができる。Further, since access processing to the global bus is performed by another transfer processing means, the processor can execute other processing during that time.
以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.
第1図は本発明の一実施例であるマルチプロセッサシス
テムの全体構成を示すブロック図である。FIG. 1 is a block diagram showing the overall configuration of a multiprocessor system that is an embodiment of the present invention.
ここでは、マルチプロセッサシステムとして数′直制御
装置を例に説明する。Here, a multi-processor system will be explained using a several' direct control device as an example.
グローバルバス5にはプロセッサ・モジュール1.2及
び3が接続される。各プロセッサ・モジュールの構成は
同じなので、プロセッサ・モジュール1についてのみ説
明する。Processor modules 1.2 and 3 are connected to global bus 5. Since each processor module has the same configuration, only processor module 1 will be described.
プロセッサ・モジュール1はモジュール全体を制御する
マイクロプロセッサ11を有する。マイクロプロセッサ
11にはシステムプログラムを格納したROM及び各種
データ等を格納するRAM等がローカルバスを介して接
続されるが、本実施例ではこれらのデバイスについては
省略する。Processor module 1 has a microprocessor 11 that controls the entire module. A ROM that stores a system program, a RAM that stores various data, etc. are connected to the microprocessor 11 via a local bus, but the description of these devices will be omitted in this embodiment.
従来はマイクロプロセッサ11はバス制御回路15を介
してグローバルバス5を直接アクセスしていた。本実施
例ではマイクロプロセッサ11はデータ転送調整回路1
6によってグローバルバス5をアクセスする。但し、マ
イクロプロセッサの処理内容によっては直接グローバル
バス5をアクセスすることもできる。Conventionally, the microprocessor 11 directly accessed the global bus 5 via the bus control circuit 15. In this embodiment, the microprocessor 11 is the data transfer adjustment circuit 1.
6 accesses the global bus 5. However, depending on the processing content of the microprocessor, it is also possible to directly access the global bus 5.
データ転送調整回路16はタイマ12と、RAM13と
、DMAコントローラ14とで構成される。タイマ12
はITP (補間)周期信号4aを発生するITP発生
回路4に接続される。タイマ12はITP (補間)周
期信号4aの入力に同期して所定時間の経過をはかり、
所定時間経過したことをDMAコントローラ14へ出カ
スる。The data transfer adjustment circuit 16 includes a timer 12, a RAM 13, and a DMA controller 14. timer 12
is connected to an ITP generation circuit 4 which generates an ITP (interpolation) periodic signal 4a. The timer 12 measures the elapse of a predetermined time in synchronization with the input of the ITP (interpolation) periodic signal 4a,
The fact that a predetermined time has elapsed is output to the DMA controller 14.
RAM13はマイクロプロセッサ11の書込みデータ及
び読出しデータを一時的に記憶する。DMAコントロー
ラ14はタイマ12の所定時間経過出力12aを受は取
ったら、RAM13の書込みデータ及び読出しデータを
バス制御回路15及びグローバルバス5を介して転送処
理を行う。The RAM 13 temporarily stores write data and read data of the microprocessor 11. When the DMA controller 14 receives the predetermined time elapsed output 12a from the timer 12, it transfers the write data and read data from the RAM 13 via the bus control circuit 15 and the global bus 5.
バス制御回路15はグローバルバス5の使用権を確保す
るものであり、マイクロプロセッサ11又はDMAコン
トローラ14の命令に従って動作する。即ち、バス制御
回路15はグローバルバス5を使用しているときはバス
使用中信号、グローバルバス5を使用したいときはバス
要求信号を他のバス制御回路25及び35に出力し、他
のマイクロプロセッサ・モジュールがグローバルバス5
を使用しているときはバスビジー信号をマイクロプロセ
ッサ11又はDMAコントローラ14に出力する。The bus control circuit 15 secures the right to use the global bus 5 and operates according to instructions from the microprocessor 11 or the DMA controller 14. That is, the bus control circuit 15 outputs a bus in-use signal when using the global bus 5, and a bus request signal when it wants to use the global bus 5, to the other bus control circuits 25 and 35, and outputs a bus request signal to other microprocessors.・Module is Global Bus 5
When using the bus busy signal, it outputs a bus busy signal to the microprocessor 11 or DMA controller 14.
次に、本実施例の動作を説明する。第2図は各プロセッ
サ・モジュールがグローバルバス5上有する状態のタイ
ムチャートを示す図である。Next, the operation of this embodiment will be explained. FIG. 2 is a diagram showing a time chart of the states that each processor module has on the global bus 5.
各プロセッサ11.21及び31は、予めグローバルバ
ス5上のどの領域を読出すのかをRAM13.23、及
び33上に格納し、同時にITP発生回路4からのIT
P周期信号4aからどのくらいの時間経過後に、グロー
バルバス5に対してアクセスを行うかをタイマ12.2
2及び32にプログラミングする。タイマ12には約O
msが、タイマ23には約2msが、タイマ32には約
4msがそれぞれプログラミングされる。Each processor 11.21 and 31 stores in advance which area on the global bus 5 is to be read on the RAM 13.23 and 33, and at the same time the IT
The timer 12.2 determines how much time has passed since the P periodic signal 4a before accessing the global bus 5.
2 and 32. Approximately O for timer 12
ms, timer 23 is programmed with approximately 2 ms, and timer 32 is programmed with approximately 4 ms.
従って、ITP周期信号4aが出力された時点で、プロ
セッサ11.21及び31は書込みデータをRAM13
.23及び33に書き込む。タイマ12はOmsなので
、直ちにグローバルバス5の使用権を確保し、グローバ
ルバス5を介してデータの書込み及び読出し処理を実行
する。この書込み及び読出しは、プロセッサ11がRA
M13に書き込んだデータをグローバルバス5に転送し
、またRAM13に書かれである読み出すべき領域のデ
ータをグローバルバス5を介して読み取り、RAM23
に格納することによって行われる。Therefore, at the time when the ITP periodic signal 4a is output, the processors 11, 21 and 31 transfer the write data to the RAM 13.
.. Write to 23 and 33. Since the timer 12 is Oms, it immediately secures the right to use the global bus 5 and executes data writing and reading processing via the global bus 5. This writing and reading is performed by the processor 11 using the RA.
The data written in M13 is transferred to the global bus 5, and the data written in the RAM 13 in the area to be read is read via the global bus 5, and the data is transferred to the RAM 23.
This is done by storing it in .
このようにしてプロセッサ・モジュール1のグローバル
バス5に対する全てのアクセスが終了した時点でD M
、A、コントローラ14はプロセッサ11に対して転
送完了信号14aを出力する。この転送完了信号14a
を受けた後、プロセッサ11はRAML3からデータを
読み出す。In this way, when all accesses of the processor module 1 to the global bus 5 are completed, D M
, A, the controller 14 outputs a transfer completion signal 14a to the processor 11. This transfer completion signal 14a
After receiving the data, the processor 11 reads the data from the RAML3.
プロセッサ・モジュール2のDMAコントローラ24は
タイマ22にプログラムされた時間、即ちITP周期信
号4aから2ms経過後にグローバルバス5の使用権を
確保し、プロセッサ・モジュール1と同様にしてデータ
の書込み及び読出しを実行する。また、プロセッサ・モ
ジュール3のDMAコントローラ34はITP周期信号
4aから4ms経過後にグローバルバス5の使用権を確
保し、プロセッサ・モジュール1と同様にしてデータの
書込み及び読出しを実行する。The DMA controller 24 of the processor module 2 secures the right to use the global bus 5 after the time programmed in the timer 22, that is, 2 ms has elapsed since the ITP periodic signal 4a, and writes and reads data in the same manner as the processor module 1. Execute. Further, the DMA controller 34 of the processor module 3 secures the right to use the global bus 5 after 4 ms from the ITP cycle signal 4a, and executes writing and reading of data in the same manner as the processor module 1.
以上、本実施例によれば、第2図から明らかなように各
プロセッサ・モジュール1.2及び3はアクセス競合す
ることなく、グローバルバス5を使用することができる
。また、一般にグローバルバス5に対するアクセスはロ
ーカルで行うものよりも時間がかかるため、各プロセッ
サ・モジュール内のプロセッサが直接グローバルバスを
アクセスする必要がなくなりブロツセサの平均外部バス
サイクルを短縮でき、プロセッサの性能を向上すること
ができる。As described above, according to this embodiment, as is clear from FIG. 2, each processor module 1.2 and 3 can use the global bus 5 without access contention. Additionally, since accessing the global bus 5 generally takes longer than accessing it locally, the processors in each processor module do not need to access the global bus directly, which reduces the average external bus cycle of the processor and improves processor performance. can be improved.
本実施例では、数値制御装置に適用した場合を説明した
が、ロボット制御装置にも同様に適用することができる
。In this embodiment, a case where the present invention is applied to a numerical control device has been described, but the present invention can be similarly applied to a robot control device.
口発明の効果〕
以上説明したように本発明によれば、各ブロツセサ・モ
ジュール内のプロセッサのグローバルバス使用に際して
の待ち時間を著しく減少させることができるという効果
がある。Effects of the Invention As explained above, according to the present invention, there is an effect that the waiting time when the processor in each processor module uses the global bus can be significantly reduced.
第1図は本発明の一実施例であるマルチプロセッサシス
テムを有する数値制御装置の全体構成を示すブロック図
、
第2図は各プロセッサ・モジュールがグローバルバスを
専有する状態のタイムチャートを示す図である。
1.2.3
11.21.31
12.22.32
13.23.33
14.24.34
15.25.35
プロセッサ・モジュール
ITP発生回路
グローバルバス
マイクロプロセッサ
タイマ
AM
DMAコントローラ
・バス制御回路
l 6.
26、
データ転送調整回路
特許出願人 ファナック株式会社
代理人 弁理士 服部毅巖FIG. 1 is a block diagram showing the overall configuration of a numerical control device having a multiprocessor system, which is an embodiment of the present invention, and FIG. 2 is a time chart showing a state in which each processor module monopolizes the global bus. be. 1.2.3 11.21.31 12.22.32 13.23.33 14.24.34 15.25.35 Processor module ITP generation circuit Global bus Microprocessor timer AM DMA controller bus control circuit 6 .. 26. Data transfer adjustment circuit patent applicant FANUC Co., Ltd. agent Patent attorney Takeshi Hattori
Claims (4)
データ転送をグローバルバスを介して行うマルチプロセ
ッサシステムのデータ転送方式において、 前記プロセッサが前記グローバルバスを介して書き込み
データ及び読み出しデータを一時的に記憶する記憶手段
と、 前記プロセッサ毎に異なった時間が設定され、基準信号
の発生から前記時間の経過を経時するタイマと、 前記タイマの所定時間経過後に前記グローバルバスを前
記プロセッサとは別個にアクセスし、前記記憶手段に記
憶されている前記書き込みデータ及び読み出しデータを
グローバルバスを介して転送処理する転送処理手段とか
らなるデータ転送調整手段を前記プロセッサのそれぞれ
に設け、前記グローバルバスが前記プロセッサ間で互い
に異なるタイミングでアクセスされるように構成したこ
とを特徴とするマルチプロセッサシステムのデータ転送
方式。(1) In a data transfer method for a multiprocessor system in which data is transferred between each processor in the multiprocessor system via a global bus, the processor temporarily stores write data and read data via the global bus. storage means; a timer having a different time set for each processor and counting the elapsed time from generation of a reference signal; accessing the global bus separately from the processor after a predetermined time elapsed by the timer; Each of the processors is provided with data transfer adjustment means comprising a transfer processing means for transferring the write data and read data stored in the storage means via a global bus, and the global bus transfers the data between the processors. A data transfer method for a multiprocessor system characterized by being configured to be accessed at different timings.
はロボット制御装置であることを特徴とする特許請求の
範囲第1項記載のマルチプロセッサシステムのデータ転
送方式。(2) The data transfer method for a multiprocessor system according to claim 1, wherein the multiprocessor system is a numerical control device or a robot control device.
とを特徴とする特許請求の範囲第1項記載のマルチプロ
セッサシステムのデータ転送方式。(3) A data transfer method for a multiprocessor system according to claim 1, wherein the transfer processing means is a DMA controller.
とを特徴とする特許請求の範囲第1項記載のマルチプロ
セッサシステムのデータ転送方式。(4) The data transfer method for a multiprocessor system according to claim 1, wherein the reference signal is an ITP (interpolation) periodic signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10668389A JPH02284254A (en) | 1989-04-26 | 1989-04-26 | Data transfer system for multiprocessor system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP10668389A JPH02284254A (en) | 1989-04-26 | 1989-04-26 | Data transfer system for multiprocessor system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH02284254A true JPH02284254A (en) | 1990-11-21 |
Family
ID=14439865
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP10668389A Pending JPH02284254A (en) | 1989-04-26 | 1989-04-26 | Data transfer system for multiprocessor system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH02284254A (en) |
-
1989
- 1989-04-26 JP JP10668389A patent/JPH02284254A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5920714A (en) | System and method for distributed multiprocessor communications | |
| US5611078A (en) | Method and apparatus for independently resetting processors and cache controllers in multiple processor systems | |
| JP2584113B2 (en) | Data transfer method and data transfer device | |
| KR950009455A (en) | Digital signal processor | |
| KR880000253B1 (en) | Data exchange method of data processing system | |
| EP0507954B1 (en) | Device for controlling bus | |
| JPH02284254A (en) | Data transfer system for multiprocessor system | |
| JPS60205760A (en) | Memory controller | |
| KR0145932B1 (en) | Dma controller in high speed computer system | |
| JP2002278753A (en) | Data processing system | |
| JPH1139266A (en) | Multiprocessor device | |
| JPS6049464A (en) | Inter-processor communication system of multi-processor computer | |
| JP2785855B2 (en) | Information processing device | |
| JPH03131955A (en) | memory controller device | |
| JPH02224048A (en) | Information processor | |
| JPH0375959A (en) | Data transfer device for multiprocessor | |
| JPS60247767A (en) | Simultaneous input and output system for reading-out and writing-in operation of shared memory | |
| JPS6143369A (en) | Multi-processor system | |
| JPH0268649A (en) | Interruption control method | |
| JPS63305406A (en) | Programmable controller | |
| JPH01290192A (en) | Refresh control system for d-ram | |
| JPH058459B2 (en) | ||
| JPH0561671B2 (en) | ||
| JPS63228365A (en) | multiprocessor system | |
| JPS62239242A (en) | Debugging device |