JPH02230362A - Digital arithmetic processing unit - Google Patents
Digital arithmetic processing unitInfo
- Publication number
- JPH02230362A JPH02230362A JP4984289A JP4984289A JPH02230362A JP H02230362 A JPH02230362 A JP H02230362A JP 4984289 A JP4984289 A JP 4984289A JP 4984289 A JP4984289 A JP 4984289A JP H02230362 A JPH02230362 A JP H02230362A
- Authority
- JP
- Japan
- Prior art keywords
- data
- processor
- signal
- dsp
- standby
- 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
Links
Landscapes
- Multi Processors (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は、ディジタル演算処理装置に係り、特にマルチ
プロセッサシステムにおいてデュアルボ−}−RAMの
アドレス競合時のデータの衝突を完全になくしたデータ
転送手段を備えたディジタル演算処理装置に関する。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a digital arithmetic processing device, and in particular to data transfer that completely eliminates data collisions during address conflicts in dual-baud RAM in multiprocessor systems. The present invention relates to a digital arithmetic processing device equipped with means.
従来,マルチプロセッサシステムにおいて、デュアルボ
ートRAMを2つのプロセッサにてアクセスする場合、
アドレスが競合時には、後からアクセスするプロセッサ
を待機させるようにしていた.また、従来は上記したよ
うな待機できるような汎用CPU (例えば68000
. 8086など)を適用していた。Conventionally, in a multiprocessor system, when dual port RAM is accessed by two processors,
When there was an address conflict, the processor that accessed it later was made to wait. In addition, conventionally, general-purpose CPUs (for example, 68,000
.. 8086, etc.) was applied.
上記従来技術は,非同期でデュアルポートRAMをアク
セスする演算処理システムで、かつ、プロセッサの処理
(メモリアクセス)を待機させることができない高速な
プロセッサ(DSPなど)を片方に適用し、デュアルポ
ートRAMの双方向から同じアドレスをアクセスした場
合にデータを不定となる問題があった。The above conventional technology is an arithmetic processing system that accesses dual-port RAM asynchronously, and a high-speed processor (DSP, etc.) that cannot wait for processor processing (memory access) is applied to one side, and the dual-port RAM is There was a problem in which data became undefined when the same address was accessed from both directions.
本発明の目的は,上記したようなDSPを有したシステ
ムにおいて、双方向からデュアルポートRAMをアクセ
スした時、アドレスが競合しても、確実にデータ転送を
行うようにしたディジタル演算処理装置を提供すること
にある。An object of the present invention is to provide a digital arithmetic processing device in which data is reliably transferred even when addresses conflict when a dual port RAM is accessed from both directions in a system having a DSP as described above. It's about doing.
上記目的は、マルチプロセッサシステムにおいて、デュ
アルポートRAMを双方向(1つはDSPのようなメモ
リアクセスを待機する機能がないもの)から同一アドレ
スをアクセスする場合、メモリアクセスを待機する機能
があるプロセッサに対し,上記DSP側から,メモリア
クセスを待機させる信号を送出することにより達成され
る。In a multiprocessor system, when the same address is accessed from dual-port RAM from both directions (one is a device that does not have the function of waiting for memory access like a DSP), the processor that has the function of waiting for memory access This is achieved by sending a signal from the DSP side to make memory access standby.
DSPは,デュアルポートRAMをアクセスする間、デ
ュアルポートRAMへのアクセスを待機できるプロセッ
サ(CPU)に対して、データアクノリツジ信号をアク
ティブにしないように、上記データアクノリツジ信号を
時間的に引き延ばすようにする。While accessing the dual port RAM, the DSP temporally adjusts the data acknowledge signal so as not to activate the data acknowledge signal for a processor (CPU) that can wait for access to the dual port RAM. Try to stretch it out.
上記CPUはデータアクノリッジ信号がアクティブにな
るまで(DSPのアクセスが終了するまで)はデュアル
ボートRAMへのアクセスを待機するので、アドレス競
合時にもデータが不定となることはない。Since the CPU waits to access the dual port RAM until the data acknowledge signal becomes active (until the DSP access ends), data will not become undefined even in the event of an address conflict.
以下、本発明の一実施例について説明する。 An embodiment of the present invention will be described below.
第1図は本発明を適用した一実施例のディジタル保護リ
レー装置のユニットを示したものである.第1図におい
て、ユニット100aは電力系統から入力するアナログ
状態量データとしての入力信号inn (n=1.2,
−N)を取込み、ディジタル変換した後、ディジタル演
算によりフィルタ処理を行い、演算結果を出力する機能
を有するユニットである.
ユニット100bは、保護リレー装置のデータ転送及び
IWに示すシステムバスのアービトレーション等のシス
テムコントロール機能を有するユニットである。Figure 1 shows a unit of a digital protection relay device according to an embodiment of the present invention. In FIG. 1, a unit 100a receives an input signal inn (n=1.2,
-N), converts it into digital data, performs filter processing using digital calculations, and outputs the calculation results. The unit 100b is a unit having system control functions such as data transfer of the protection relay device and arbitration of the system bus shown in IW.
ここで、ユニット100aの構成について説明する。l
a,lb及び1cは入力信号ilIn に重畳された
高調波を除去するローバスフィルタ(LPF)である.
LPFは、主としてサンプリングによる折返し成分誤差
を防止する。ld,la及び1fはそれぞれ各LPF
(la,lb及びlc)の出力を同時刻にサンプリング
しホールドするサンプル/ホールド回路(S/H)であ
る。1gはS/H回路のホールドしているデータを順次
切換えて、1hに示すアナログ/ディジタル変換回路(
A/D)に入力するマルチプレクサである。1hに示す
A/Dは、アナログ入力信号Inn をディジタル信
号Xn(n = 1 . 2 , ・・・N)に変換し
て、11に示すメモリ(RAM)に格納する。Here, the configuration of the unit 100a will be explained. l
a, lb, and 1c are low-pass filters (LPF) that remove harmonics superimposed on the input signal ilIn.
The LPF mainly prevents aliasing component errors due to sampling. ld, la and 1f are each LPF
This is a sample/hold circuit (S/H) that samples and holds the outputs of (la, lb, and lc) at the same time. 1g sequentially switches the data held by the S/H circuit and converts it to the analog/digital conversion circuit shown in 1h (
This is a multiplexer that inputs to the A/D). The A/D shown at 1h converts the analog input signal Inn into a digital signal Xn (n=1.2, . . . N) and stores it in the memory (RAM) shown at 11.
1jはディジタルシグナルプロセッサ(DSP: Di
gital Signal Processor)であ
り,汎用のプロセッサに比べて高速処理機能を有する。1j is a digital signal processor (DSP: Di
It is a digital signal processor) and has faster processing capabilities than general-purpose processors.
1kは上記したDSPのインストラクション(命令語)
を格納するメモリ(ROM)である。IQはDSPで演
算したデータを格納するメモリ(デュアルポートRAM
:双方向アクセス可能メモリ)である.上記したRAM
1 i , ROM 1 k及びRAMIQは1qに
て示すローカルバスに接続し、DSP1jが任意にアク
セスする。1k is the above DSP instruction (command word)
This is a memory (ROM) that stores. IQ is a memory (dual port RAM) that stores data calculated by DSP.
: bidirectionally accessible memory). RAM mentioned above
1 i , ROM 1 k, and RAMIQ are connected to a local bus indicated by 1 q, and are arbitrarily accessed by the DSP 1 j.
1mはシステムバス1wとのインタフェース回路.in
はゲート回路、1oはカウンタ回路である。1pは、上
記したS/Hid〜1 f ,MPX1g,A/Dih
,RAMI i及びDSP1jに対し制御信号を与える
タイミング制御回路である。1m is an interface circuit with system bus 1w. in
is a gate circuit, and 1o is a counter circuit. 1p is the above-mentioned S/Hid~1f, MPX1g, A/Dih
, RAMI i and DSP1j.
1xは100bに示したシステムコントロールユニット
から与えるデータストローブ(DS)信号である.1y
は、DSP1jからのシリアル出力信号(So)、IZ
は100bのシステムコントロールユニットに対してデ
ータ転送の確認を行うためのデータアクノリツジ(DT
ACK)信号である。1x is a data strobe (DS) signal given from the system control unit shown in 100b. 1y
is the serial output signal (So) from DSP1j, IZ
is the data acknowledgment (DT) for confirming data transfer to the system control unit of 100b
ACK) signal.
次に、100bのシステムコントロールユニット内の各
ブロックについて説明する。Next, each block in the system control unit 100b will be explained.
1rは汎用CPUであり、保護リレー装置全体の各ユニ
ット(例えば、アナログ入力ユニット,リレー演算ユニ
ット,整定処理ユニツl− .シーケンス処理ユニット
など)へのデータ転送を行う機能を有する。1sはシス
テムバス1wとのインタフェース回路、1tはCPUI
rのインストラクション用メモリ(ROM) 、1
uはRAM、1vは100bのシステムコントロールユ
ニットのローカルバスである。1r is a general-purpose CPU, which has a function of transferring data to each unit of the entire protection relay device (for example, an analog input unit, a relay calculation unit, a setting processing unit, a sequence processing unit, etc.). 1s is an interface circuit with the system bus 1w, 1t is the CPUI
r instruction memory (ROM), 1
u is a RAM, and 1v is a local bus of the system control unit 100b.
第2図にDSP1jの詳細図を示す。図示のように,外
部メモリのアドレス指定を行うアドレスレジスタ22,
パラレル・ポートとして使用するデータレジスタ23,
データRAM24,mビット×mビットの高速並列乗算
器25,インストラクション用ROM26,加減算等を
行うALU(Aritha+etic Logic U
nit) 2 7 ,アキュムレー夕等のレジスタ28
,外部との制御信号(a,b及びCなど)の割込み等を
コントロールする制御回路29,DSP17内の内部バ
ス30を含んで構成されている。FIG. 2 shows a detailed diagram of the DSP 1j. As shown in the figure, an address register 22 for specifying addresses of external memory,
a data register 23 used as a parallel port;
Data RAM 24, m-bit x m-bit high-speed parallel multiplier 25, instruction ROM 26, ALU (Aritha+etic Logic U) that performs addition and subtraction, etc.
nit) 2 7, register 28 for accumulator etc.
, a control circuit 29 that controls interrupts of external control signals (a, b, C, etc.), and an internal bus 30 within the DSP 17.
前記乗算器25は1インストラクションサイクルの間に
入力信号A,Bの内容を乗算し、その結果Cを内部バス
30に出力するものである。なお、DSP1jは周知の
ように、1インストラクションサイクルの間に積和演算
が可能であること、パイプライン処理が可能であること
などにより、固定及び浮動小数点データの高速な数値演
算を実現できることを特徴とする。これにより、多入力
点数に係る入力データを実時間でフィルタリング可能と
するものである。この点汎用のプロセッサでは処理速度
が遅いので適用で゜きない。The multiplier 25 multiplies the contents of the input signals A and B during one instruction cycle, and outputs the result C to the internal bus 30. As is well known, the DSP1j is characterized by being able to perform multiply-accumulate operations within one instruction cycle and by being able to perform pipeline processing, thereby realizing high-speed numerical operations on fixed and floating point data. shall be. This allows input data related to multiple input points to be filtered in real time. In this respect, general-purpose processors cannot be applied because their processing speeds are slow.
また、DSP1jは31に示すシリアルレジスタを有し
、シリアル入力データ(SI),シリアル出力データ(
S○)を入出力できる特徴を有する。In addition, the DSP 1j has a serial register shown in 31, which stores serial input data (SI) and serial output data (
It has the feature of being able to input and output S○).
また、DSPはその高速演算機能を最大限に発揮するた
め、全ての命令を1クロックで終了するように動作する
ようにしているものが多い。従って、外部の情報(例え
ば、Wait信号:演算及゜び入出力動作を待たせる信
号)で演算及び入出カ動作を待たせる機能がないものが
多い。Further, in order to maximize the high-speed calculation function of a DSP, many DSPs operate so that all instructions are completed in one clock. Therefore, many devices do not have the function of making calculations and input/output operations wait using external information (for example, a Wait signal: a signal that causes calculations and input/output operations to wait).
第3図は、上記したようなDSPを用いたことによる一
般的な不具合について説明するための各部の波形例であ
る。第3図において、(a)はDSP側からデュアルボ
ートRAMへデータを書込むためのアドレス、(b)は
書込み信号である。FIG. 3 shows waveform examples of various parts to explain general problems caused by using the above-mentioned DSP. In FIG. 3, (a) is an address for writing data from the DSP side to the dual port RAM, and (b) is a write signal.
(C)はマスタCPU側からのアドレス、(d)はアド
レスストローブ信号、(e)はマスクの書込み信号、(
f)はデータストローブ信号である。(C) is the address from the master CPU side, (d) is the address strobe signal, (e) is the mask write signal, (
f) is a data strobe signal.
ここで、マスタCPUはアドレスAのデータを読み込む
とするが、DSPの書込みアドレスAと同時刻に選択す
るため,(g)に示すマスクCPUが取込むデータDA
は,不定となる。この際に、スレーブ(アナログ入力ユ
ニットなど)は(h)のデータアクノリツジ信号をマス
タCPUがアクセスするメモリのアクセスタイムに依存
した時間経過後にマスクCPUに対し出力する。従って
、不定データにより誤動作等の不具合が発生する可能性
がある。Here, it is assumed that the master CPU reads the data at address A, but since it is selected at the same time as the write address A of the DSP, the data DA taken in by the mask CPU shown in (g)
becomes indeterminate. At this time, the slave (such as an analog input unit) outputs the data acknowledge signal (h) to the mask CPU after a period of time depending on the access time of the memory accessed by the master CPU. Therefore, problems such as malfunctions may occur due to undefined data.
本発明は、上記したような不具合を完全になくし、シス
テムの誤動作を防止するものである。The present invention completely eliminates the above-mentioned problems and prevents system malfunctions.
以下に、第4図に示したフローチャートに沿って本発明
の実施例の動作について説明する。Below, the operation of the embodiment of the present invention will be explained along the flowchart shown in FIG.
(i)アナログ入力、A/D変換
LPE 1 a〜1cに電力系統の変成器,変流器等の
センサにより検出された状態量を表わす入カ信号1 n
1 〜1 n nを入力する。LPE1a〜1cはサ
ンプリングによる折返し誤差を防止するプレフィルタと
して作用する。このフィルタ出力はS/H回路1d〜1
fによって周期Tごとにサンプルホールドされる.MP
X1gはS/H回路1d〜1fを周期T′ごとに順次切
換えて、S/H回路1d〜1fの内容をA/D変換回路
1hに入ヵする.A/D変換回路1hは入力信号in1
〜innをアナログ量からディジタル量x1〜X,1に
変換し、これらをRAMIQに格納する。これらの動作
を周期Tごとに毎回繰返す.
(ii)イニシャル処理(4a)
イニシャル処理として,DSP1jの内部メモリ(RA
M24及びレジスタ28)及びRAM liを初期化す
る。(i) Analog input, A/D conversion LPEs 1a to 1c receive input signals 1n representing state quantities detected by sensors such as power system transformers and current transformers.
Enter 1 to 1 n. The LPEs 1a to 1c act as prefilters that prevent aliasing errors due to sampling. This filter output is S/H circuit 1d~1
The sample is held every period T by f. M.P.
X1g sequentially switches the S/H circuits 1d to 1f every cycle T', and inputs the contents of the S/H circuits 1d to 1f into the A/D conversion circuit 1h. The A/D conversion circuit 1h receives the input signal in1
~inn is converted from an analog quantity to a digital quantity x1~X,1, and these are stored in RAMIQ. These operations are repeated every cycle T. (ii) Initial processing (4a) As the initial processing, the internal memory (RA
M24 and register 28) and RAM li are initialized.
(iii)データ入力(4b)
第1図11に示したRAMに格納した電圧・電流信号を
DSP1jの内部メモリRAM24に転送する。(iii) Data input (4b) The voltage/current signals stored in the RAM shown in FIG. 11 are transferred to the internal memory RAM 24 of the DSP 1j.
(iv)フィルタ係数入力(4c)
ディジタルフィルタ演算に必要なフィルタ係数を、外部
ROM1kもしくは、システムバス1wを介し、他のユ
ニットからDSP1jの内部メモリ24に転送する。(iv) Filter coefficient input (4c) Filter coefficients necessary for digital filter calculation are transferred from other units to the internal memory 24 of the DSP 1j via the external ROM 1k or the system bus 1w.
(V)ディジタルフィルタ演算(4d)フィルタ演算と
して具体的にはいくつかの方法が考えられるが,その一
例として次式(1), (2)に示す処理を行なう。(V) Digital filter operation (4d) Several methods can be specifically considered for the filter operation, and one example is the processing shown in the following equations (1) and (2).
Wn=KXn+Bt・Wn−t+Bz・Wn−z・・・
(1)
Yn=Wn+Az−Wn−t+Az・Wn−z −(
2)K:ゲイン係数、
AI,A2,Bl,B2:フィルタ係数xn:入力デー
タ
Yn:出力データ
Wn−z:Wnの1時刻遅延データ
Wn−z:Wnの2時刻遅延データ
電圧,電流データの複数のデータを用いて順次行い、演
算結果をDSP1jの内部RAM24に記憶する.ディ
ジタルフィルタの構成及び特性については後で詳細に説
明する。Wn=KXn+Bt・Wn-t+Bz・Wn-z...
(1) Yn=Wn+Az-Wn-t+Az・Wn-z −(
2) K: Gain coefficient, AI, A2, Bl, B2: Filter coefficient xn: Input data Yn: Output data Wn-z: 1 time delay data of Wn Wn-z: 2 time delay data of Wn Voltage, current data The calculations are performed sequentially using a plurality of pieces of data, and the calculation results are stored in the internal RAM 24 of the DSP 1j. The configuration and characteristics of the digital filter will be explained in detail later.
(vi)シリアルデータ出力(1)(48)上記したデ
ィジタルフィルタ演算結果を出力する前に、先に説明し
たDSP1jのシリアル入出力機能を用いて、シリアル
データを出力する。(vi) Serial data output (1) (48) Before outputting the above digital filter operation result, serial data is output using the serial input/output function of the DSP 1j described above.
第5図は、第1図の1n及び10に示したゲート回路及
びカウンタ回路の具体的な回路例である.第5図におい
て、SELはボード(スレーブ)のセレクト信号、DS
はマスタCPU1rからのデータストローブ信号、S○
はDSP1jからのシリアルデータ、DTACKはマス
タCPU1rに対してのアクノリツジ信号である。FIG. 5 shows a specific circuit example of the gate circuit and counter circuit shown in 1n and 10 of FIG. In Figure 5, SEL is the board (slave) select signal, DS
is the data strobe signal from master CPU1r, S○
is serial data from the DSP 1j, and DTACK is an acknowledge signal to the master CPU 1r.
5aはNOR、5bはAND、5cはカウンタ(シフト
レジスタ)、5dはオープンコレクタ形のNANDゲー
トであり、各ゲート回路共に周知である。5a is a NOR gate, 5b is an AND gate, 5c is a counter (shift register), and 5d is an open collector type NAND gate, and each gate circuit is well known.
第1図のDSP1jからシリアルデータ(“L 11レ
ベル)を第5図5bのANDゲートのS○端子に印加す
る。Serial data ("L11 level") from the DSP 1j in FIG. 1 is applied to the S○ terminal of the AND gate in FIG. 5b.
そうすることにより、カウンタ5cの入力端子A,B及
びCLRには11 L uレベルの信号が印加されるた
め、カウンタ5cの出力端子Qは“L nとなり、1o
のDTACK信号は“H”となる.このDTACK信号
が“H ”であるために、第1図の1rのマスタCPU
は、読み込み(または書込み)中であれば、その動作を
延ばす。(実際にはDTACKが“L”になるまで待ち
。)従って、DSP1jからシリアル出力を11 L,
Itにして上記ANDゲート5bのSO端子に印加す
ることにより、マスタCPU1rの動作を待ちの状態に
することができる.
(vii)データ出力(4f)
DSP1jはRAMIQにディジタルフィルタ演算デー
タを出力する.
(vii)シリアルデータ出力(2)(4 g)4fの
ブロックにて、ディジタルフィルタ演算データの転送を
終了させたのち、マスクCPIJ1rに対し,アクセス
可能とするために、シリアルデータ(゛′H”)を(v
i)に説明したように第5図5bのANDゲートのSO
端子に印加する。By doing so, a signal of 11 L u level is applied to the input terminals A, B and CLR of the counter 5c, so the output terminal Q of the counter 5c becomes "L n" and 1o
The DTACK signal becomes “H”. Since this DTACK signal is "H", the master CPU of 1r in FIG.
defers the operation if it is currently reading (or writing). (Actually, wait until DTACK becomes “L”.) Therefore, the serial output from DSP1j is 11L,
By applying it to the SO terminal of the AND gate 5b, the operation of the master CPU 1r can be put into a waiting state. (vii) Data output (4f) DSP1j outputs digital filter calculation data to RAMIQ. (vii) Serial data output (2) (4 g) After completing the transfer of the digital filter calculation data in the 4f block, the serial data (゛'H” ) to (v
i) of the AND gate in FIG.
Apply to the terminal.
そうすることにより、第5図5cのカウンタはカウント
アップ動作を開始し、所定の時間が経過したあと、出力
端子Qが11 H j#となり、DTACK信号はII
L”となる.
従って、マスタCPU1rは、データアクノリツジ信号
が返ってくるため、次の処理を行う。By doing so, the counter in FIG. 5c starts counting up, and after a predetermined time has elapsed, the output terminal Q becomes 11 H j#, and the DTACK signal becomes II
Therefore, since the data acknowledge signal is returned, the master CPU 1r performs the following processing.
(読込み中であれば、その動作を再開する.)以上述べ
た動作を周期Tごとに繰返す。(If reading is in progress, the operation is restarted.) The above-described operation is repeated every cycle T.
第6図は、本発明の動作を示す各部の波形を示すもので
ある。FIG. 6 shows waveforms of various parts showing the operation of the present invention.
DSP1jは第6図(a)に示すアドレス情報及び(b
)に示す書込み信号Wp を出力する。The DSP 1j receives the address information shown in FIG. 6(a) and (b)
) outputs the write signal Wp shown in FIG.
その前に、シリアルデータ(”L”)をSo端子に印加
し、(Q)に示すように、データ転送中(RAM1uを
アクセスする間)は“L 71となるようにし,転送後
はII H I+となるようにする。Before that, apply serial data (“L”) to the So terminal, and as shown in (Q), set it to “L 71” during data transfer (while accessing RAM1u), and after transfer, II H Make it I+.
一方、マスタCPU1rは,DSP1jとは非同期にR
AM1Ωをアクセスするために、(d)に示すようなタ
イミングでアドレス情報を出力する。非同期にアクセス
しているため、RAMIQのアドレスAは同時刻にDS
P1j及びマスタCPU1rからアクセスされることが
ある。従って、マスタCPU1rから見たときのデータ
の内容は不定となるのだが、(c)のSo信号により、
(e)に示すようにDTACK信号がII L I+と
なる時間を延ばしているため、DSP1jがデータ転送
を終了した後にデータを確定している。そのため、アド
レス一致したためによる、データが不定となることは完
全になくなるわけであり、保護リレーシステムとして誤
動作の要因になることがなく,高信頼度な保護リレーシ
ステムが構成できる。On the other hand, the master CPU 1r performs R asynchronously with the DSP 1j.
In order to access AM1Ω, address information is output at the timing shown in (d). Because it is accessed asynchronously, RAMIQ address A is accessed at the same time as DS.
It may be accessed from P1j and master CPU1r. Therefore, the content of the data when viewed from the master CPU 1r is undefined, but due to the So signal in (c),
As shown in (e), since the time for the DTACK signal to become II L I+ is extended, the data is determined after the DSP 1j completes the data transfer. Therefore, it is completely eliminated that the data becomes unstable due to address matching, and a highly reliable protection relay system can be constructed without causing malfunction of the protection relay system.
第7図には、本発明の変形例の実施例を示す。FIG. 7 shows a modified embodiment of the present invention.
第7図において,7a及び7yのみが第1図に示したブ
ロック図と異なる。In FIG. 7, only 7a and 7y are different from the block diagram shown in FIG.
7aは、割込み信号発生機能を有するデュアルポートR
AMであり、第8図8aに詳細ブロックを示す。7a is a dual port R with an interrupt signal generation function.
AM, and a detailed block is shown in FIG. 8a.
8aにおいて、Do=Dnはデータパス、Ao−A,は
アドレスバスが接続される。INTはデュアルポートR
AMから発生する割込み信号である。In 8a, Do=Dn is connected to a data path, and Ao-A is connected to an address bus. INT is dual port R
This is an interrupt signal generated from AM.
(実際は,ある固定のアドレスをアクセスすることによ
り、上記INT信号がアクティブになる。)CSはチッ
プセレクト信号、OEはアウトプットイネーブル信号、
WEはライトイネーブル信号である。(Actually, the above INT signal becomes active by accessing a certain fixed address.) CS is a chip select signal, OE is an output enable signal,
WE is a write enable signal.
次に、変形例の動作について説明する。Next, the operation of the modified example will be explained.
第1図の実施例では、1nのゲート回路にDSP1jか
らシリアル出力データを印加する例について述べた。変
形例では,フィルタ演算データを出力する前に、シリア
ル出力データのかわりに、デュアルポートRAM7aか
らINT信号がアクティブ(″L”)となるように、あ
る固定のアドレスをアクセスする。そうすることにより
、第7図7yに示す信号(I N”r)を出力し、1n
のゲート回路に印加する。In the embodiment shown in FIG. 1, an example has been described in which serial output data is applied from the DSP 1j to the 1n gate circuit. In the modified example, before outputting the filter operation data, instead of the serial output data, a certain fixed address is accessed so that the INT signal from the dual port RAM 7a becomes active ("L"). By doing so, the signal (I N"r) shown in FIG. 7 7y is output, and 1n
applied to the gate circuit.
また、第7図は1oのカウンタは、上記1nのゲート回
路がLtL″′となった直後から、DSP1jがデュア
ルポートRAM7aをアクセスする間まで、DTACK
を“H IIにするように動作させる.従って,第1図
に示した実施例と全く同様な効果がある。In addition, in FIG. 7, the counter 1o receives DTACK from immediately after the gate circuit 1n becomes LtL"' until the DSP 1j accesses the dual port RAM 7a.
Therefore, the same effect as the embodiment shown in FIG. 1 is obtained.
さらに,レジスタ回路を設け、デュアルボートRAMI
Qをアクセスする間,上記レジスタ回路に“L″ (実
際には0)のデータをDSP1jから出力することによ
り1nのゲート回路に11 L I+レベルの信号を印
加するようにする。Furthermore, a register circuit is provided, and dual port RAMI
While accessing Q, a signal of 11 L I+ level is applied to the 1n gate circuit by outputting "L" (actually 0) data from the DSP 1j to the register circuit.
従って、このような方法でも本発明の第1図に示した効
果があることは容易に理解できる。Therefore, it is easy to understand that such a method also has the effects shown in FIG. 1 of the present invention.
本発明では、アナログ入力ユニットとシステムコントロ
ールユニットとのデータ転送の例について述べたが、こ
れ以外に、上述したようなDSPを用いたユニット(例
えば数値演算ユニットなど)とシステムコントロールと
のデータ転送にも適用できることは言うまでもないこと
である。In the present invention, an example of data transfer between an analog input unit and a system control unit has been described. Needless to say, it can also be applied.
本発明によれば、非同期で同一のデュアルボートRAM
を二つのプロセッサがアクセスする場合、アドレス競合
が生じても、データが不定になることがないので、保護
リレーシステムとして誤動作することがなく、信頼度を
向上できる。According to the invention, an asynchronous and identical dual port RAM
When accessed by two processors, the data will not become undefined even if an address conflict occurs, so the protection relay system will not malfunction and its reliability can be improved.
第1図は本発明の実施例のブロック図、第2図はDSP
のブロック図、第3図はデュアルポートRAMのアドレ
ス競合時の各部のタイミング波形図、第4図は本発明の
実施例の動作フロー図、第5図は本発明の実施例の中の
要素回路図,第6図AO〜ATL
は本発明によるデュアルポートRAMのアドレス競合時
の各部のタイミング波形図、第7図は本発明の実施例の
変形例のブロック図、第8図はデュアルポートRAMの
ブロック図である。
1 a , 1 b , 1 c−ローバスフィルタ、
ld,le,if・・・サンプルホールド回路、1g・
・・マルチプレクサ、1h・・・アナログ/ディジタル
変換回路,11・・・ランダムアクセスメモリ、1j・
・・ディジタルシグナルプロセッサ、1p・・・タイミ
ング制御回路。
00〜{)TL
高1図
率S区
高6図
(1)ヱドし又L A−N
A−N A(bl唖
−“一『一一一(Cps0
(+)士゜一タ
9^Figure 1 is a block diagram of an embodiment of the present invention, Figure 2 is a DSP
3 is a timing waveform diagram of each part during address conflict in dual port RAM, FIG. 4 is an operation flow diagram of an embodiment of the present invention, and FIG. 5 is an element circuit in an embodiment of the present invention. 6, AO to ATL are timing waveform diagrams of various parts during address conflict in the dual port RAM according to the present invention, FIG. 7 is a block diagram of a modified example of the embodiment of the present invention, and FIG. It is a block diagram. 1a, 1b, 1c - low-pass filter,
ld, le, if...sample hold circuit, 1g.
...Multiplexer, 1h...Analog/digital conversion circuit, 11...Random access memory, 1j...
...Digital signal processor, 1p...timing control circuit. 00~{)TL High 1 drawing rate S section High 6 drawing (1) Edo Shimata L A-N
A-N A (bl mute)
−“1 『111(Cps0 (+)士゜一タ9^
Claims (1)
理手順に従つて一定周期ごとに演算処理を行う、待機機
能のない高速プロセッサ、待機機能のあるプロセッサ及
び共有メモリを備えたディジタル演算処理装置において
、該待機機能のない高速プロセッサが該共有メモリをア
クセスする間、該待機機能を有するプロセッサに対し待
機信号を送出し、優先的に該共有メモリをアクセスする
ようにしたことを特徴とするディジタル演算処理装置。 2、前記待機機能のない高速プロセッサにディジタルシ
グナルプロセッサを搭載してなるディジタル演算処理装
置。 3、前記第2項において、前記ディジタルシグナルプロ
セッサからシリアルデータを該待機信号として送出する
ことを特徴としたディジタル演算処理装置。 4、前記第1項において、前記共有メモリに割込み信号
発生機能付デュアルポートRAMを搭載し、該共有メモ
リに、前記待機機能のないプロセッサが割込み信号を出
すようにして、この信号を待機信号として送出するよう
にしたことを特徴としたディジタル演算処理装置。[Claims] 1. A high-speed processor without a standby function, a processor with a standby function, and a shared memory, which takes in data from a certain system and performs arithmetic processing at regular intervals according to a predetermined processing procedure. In the digital arithmetic processing device, while the high-speed processor without the standby function accesses the shared memory, a standby signal is sent to the processor with the standby function so that the processor with the standby function accesses the shared memory preferentially. A digital arithmetic processing device characterized by: 2. A digital arithmetic processing device comprising a high-speed processor without a standby function and a digital signal processor. 3. The digital arithmetic processing device according to item 2, wherein serial data is sent from the digital signal processor as the standby signal. 4. In the above item 1, a dual port RAM with an interrupt signal generation function is installed in the shared memory, and the processor without the standby function issues an interrupt signal to the shared memory, and this signal is used as a standby signal. A digital arithmetic processing device characterized in that it transmits data.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1049842A JPH0682353B2 (en) | 1989-03-03 | 1989-03-03 | Multiprocessor system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP1049842A JPH0682353B2 (en) | 1989-03-03 | 1989-03-03 | Multiprocessor system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH02230362A true JPH02230362A (en) | 1990-09-12 |
| JPH0682353B2 JPH0682353B2 (en) | 1994-10-19 |
Family
ID=12842328
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP1049842A Expired - Lifetime JPH0682353B2 (en) | 1989-03-03 | 1989-03-03 | Multiprocessor system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0682353B2 (en) |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59218571A (en) * | 1983-05-26 | 1984-12-08 | Yaskawa Electric Mfg Co Ltd | Multi-processor system |
| JPS59220821A (en) * | 1983-05-31 | 1984-12-12 | Nec Home Electronics Ltd | Common bus controller of computer |
| JPS6068462A (en) * | 1983-09-24 | 1985-04-19 | Yaskawa Electric Mfg Co Ltd | multiprocessor system |
-
1989
- 1989-03-03 JP JP1049842A patent/JPH0682353B2/en not_active Expired - Lifetime
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS59218571A (en) * | 1983-05-26 | 1984-12-08 | Yaskawa Electric Mfg Co Ltd | Multi-processor system |
| JPS59220821A (en) * | 1983-05-31 | 1984-12-12 | Nec Home Electronics Ltd | Common bus controller of computer |
| JPS6068462A (en) * | 1983-09-24 | 1985-04-19 | Yaskawa Electric Mfg Co Ltd | multiprocessor system |
Also Published As
| Publication number | Publication date |
|---|---|
| JPH0682353B2 (en) | 1994-10-19 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS6243744A (en) | Microcomputer | |
| JPH02230362A (en) | Digital arithmetic processing unit | |
| JPS5936390A (en) | Register circuit | |
| JPS61237150A (en) | Data processing method for input/output operations | |
| JPS6326753A (en) | Memory bus control method | |
| JPS61117651A (en) | Interface device | |
| SU1341636A1 (en) | Program interruption device | |
| JPH0370816B2 (en) | ||
| JPH03152651A (en) | Information transmission system | |
| JPS61224063A (en) | Data transfer controller | |
| JPS61147363A (en) | Two-port memory system | |
| JPS63228488A (en) | first in first out storage | |
| JPH02211571A (en) | Information processor | |
| KR920010971B1 (en) | Input and output processor using data buffer ram | |
| JPS61161560A (en) | Memory device | |
| JPS58101358A (en) | Memory controlling system | |
| JPS61153770A (en) | Image processor | |
| JPH03189868A (en) | Data processor | |
| JPH04364524A (en) | Arithmetic control unit | |
| JPS6034147B2 (en) | Multi-stage advance control method in data transfer | |
| JPS62231366A (en) | Channel control device | |
| JPS63188233A (en) | Central processing unit | |
| JPH09160689A (en) | Data transfer circuit | |
| JPS62108333A (en) | Semiconductor device | |
| JPS63188883A (en) | Storage device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20071019 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20081019 Year of fee payment: 14 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091019 Year of fee payment: 15 |
|
| EXPY | Cancellation because of completion of term | ||
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20091019 Year of fee payment: 15 |