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
JPH07101835B2 - Digital signal processor - Google Patents
[go: Go Back, main page]

JPH07101835B2 - Digital signal processor - Google Patents

Digital signal processor

Info

Publication number
JPH07101835B2
JPH07101835B2 JP62151980A JP15198087A JPH07101835B2 JP H07101835 B2 JPH07101835 B2 JP H07101835B2 JP 62151980 A JP62151980 A JP 62151980A JP 15198087 A JP15198087 A JP 15198087A JP H07101835 B2 JPH07101835 B2 JP H07101835B2
Authority
JP
Japan
Prior art keywords
data
ram
address
digital
input
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 - Fee Related
Application number
JP62151980A
Other languages
Japanese (ja)
Other versions
JPS63316165A (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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric Co 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP62151980A priority Critical patent/JPH07101835B2/en
Publication of JPS63316165A publication Critical patent/JPS63316165A/en
Publication of JPH07101835B2 publication Critical patent/JPH07101835B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stereophonic System (AREA)
  • Reverberation, Karaoke And Other Acoustics (AREA)
  • Filters That Use Time-Delay Elements (AREA)
  • Complex Calculations (AREA)

Description

【発明の詳細な説明】 (イ)産業上の利用分野 本発明は、時系列で入力されるデータを所定のアルゴリ
ズムに基いて処理し、時系列データとして出力するデジ
タル信号処理装置に関する。
TECHNICAL FIELD The present invention relates to a digital signal processing device that processes data input in time series based on a predetermined algorithm and outputs the processed data as time series data.

(ロ)従来の技術 一般に、音声や画像等のように我々の周囲に存在する原
始情報源は、アナログ信号であることが多い。このアナ
ログ信号をデジタル的な手法によって処理するシステム
がデジタル信号処理装置(デジタル・シグナル・プロセ
ッシング・システム:DSPシステム)である。
(B) Conventional Technology In general, primitive information sources existing around us, such as voices and images, are often analog signals. A system that processes this analog signal by a digital method is a digital signal processing device (digital signal processing system: DSP system).

近年、デジタル回路のLSI化が急速に進み、ワンチップ
上にDSPシステムが容易に実現できるようになり、更
に、アナログ信号処理に比べて高精度処理が可能、パラ
メータの設定により任意の特性が安定して均一に得られ
る、無調整化が可能となる等の特徴を有するため、DSP
システムが急速に実用化されるようになった。また、DS
Pシステムの応用範囲は、音声信号処理、通信信号処
理、計測信号処理、画像信号処理、地震波信号処理、水
中音響信号処理等に広がり利用されている。
In recent years, digital circuits are rapidly becoming LSIs, and DSP systems can be easily realized on a single chip. Furthermore, high-accuracy processing is possible compared to analog signal processing, and arbitrary characteristics are stabilized by setting parameters. Since it has the characteristics that it can be uniformly obtained and adjustment can be made, DSP
The system came into practical use rapidly. Also, DS
The application range of the P system is broadly used for voice signal processing, communication signal processing, measurement signal processing, image signal processing, seismic wave signal processing, underwater acoustic signal processing, and the like.

また、オーディオ分野に於いてもCD(コンパクト・ディ
スク)プレーヤやDAT(デジタル・オーディオ・テー
プ)プレーヤの如く、オーディオ信号のデジタル処理化
が進むに伴って、オーディオ信号をデジタル処理するDS
Pシステムが実用化されている。
Also in the audio field, a DS (digital compact disc) player or a DAT (digital audio tape) player, which processes audio signals digitally as digital processing of audio signals progresses.
P system has been put to practical use.

従来のDSPシステムは、デジタルフィルタを容易に形成
できるように第6図に示すアーキテクチャを有してい
る。
A conventional DSP system has an architecture shown in FIG. 6 so that a digital filter can be easily formed.

第6図に於いて、データバスBUSには、入出力回路(I/
O)(1)、データRAM(2)、乗算器(3)、演算回路
(ALU)(4)、アキュームレータ(ACC)(5)等が接
続され、データRAM(2)の出力とデータROM(6)の出
力が乗算器(3)に接続され、乗算器(3)の乗算結果
出力がALU(4)の一方の入力に印加されている。これ
らの各回路は、プログラムROM(7)から順次読み出さ
れる命令を解読するデコーダ(8)からその命令に応じ
て出力されるマイクロコード信号によって制御される。
In FIG. 6, an input / output circuit (I /
O) (1), data RAM (2), multiplier (3), arithmetic circuit (ALU) (4), accumulator (ACC) (5), etc. are connected, and output of data RAM (2) and data ROM ( The output of 6) is connected to the multiplier (3), and the multiplication result output of the multiplier (3) is applied to one input of the ALU (4). Each of these circuits is controlled by a microcode signal output according to the instruction from a decoder (8) that decodes the instructions sequentially read from the program ROM (7).

デジタルフィルタの実現に於いては Y=A・x1+B・xi-1+C・xi-2…… という形の積和演算が繰返し表われる。このデジタルフ
ィルタをDSPシステムで実現する場合には、フィルタ内
の節点の計算順序を決定して、プログラムを作成し、そ
のプログラムをプログラムROM(7)に格納すると共に
データROM(6)内に計算式の定数を格納しておく。そ
して、プログラムを実行することにより、積和演算が為
され、演算結果はデータRAM(2)に順次記憶される。
In the realization of a digital filter, the multiply-accumulate operation of the form Y = A · x 1 + B · x i-1 + C · x i-2 ... appears repeatedly. When this digital filter is realized by a DSP system, the calculation order of the nodes in the filter is determined, a program is created, and the program is stored in the program ROM (7) and calculated in the data ROM (6). Stores the constant of the expression. Then, by executing the program, the product-sum operation is performed, and the operation result is sequentially stored in the data RAM (2).

(ハ)発明が解決しようとする問題点 第6図に示されたDSPシステムをオーディオ分野に使用
した場合、グラフィクイコライザ機能、バス・トレブ
ル、ラウドネス、ローブースト機能、サラウンド効果機
能等のオーディオに必要な機能を実現できるが、オーデ
ィオ信号は左と右の2チャンネルの信号があるため、上
述の機能を実現するための処理を左と右のチャンネルの
信号に各々施さなければならない。また、左と右のチャ
ンネルを独立して特性を変えるためには、各々異なった
定数をデータROMに書き込んでおかなければならない。
(C) Problems to be solved by the invention When the DSP system shown in FIG. 6 is used in the audio field, it is necessary for audio such as graphic equalizer function, bass treble, loudness, low boost function and surround effect function. However, since there are left and right two-channel signals in the audio signal, the left and right channel signals must be subjected to the above-described functions. In order to change the characteristics of the left and right channels independently, different constants must be written in the data ROM.

従って、CDプレーヤやDATプレーヤでは、信号のサンプ
リング周期が44.1KHzや48KHzのように高い周波数である
ため、上述の機能を実現するための処理をすべてサンプ
リング周期の間に、左と右のチャンネルの各々に実行し
終えなければならない。ゆえに、DSPシステムの処理速
度に応じては、上述の機能のいずれかが実現できなくな
ることもある。即ち、DSPシステムのスループットが悪
くなる欠点があった。
Therefore, in a CD player or DAT player, the signal sampling cycle has a high frequency such as 44.1 KHz or 48 KHz. Therefore, all the processing for realizing the above-mentioned function is performed on the left and right channels during the sampling cycle. You have to finish each one. Therefore, depending on the processing speed of the DSP system, it may not be possible to realize any of the functions described above. That is, there is a drawback that the throughput of the DSP system deteriorates.

(ニ)問題点を解決するための手段 本発明は、上述した点に鑑みて創作されたものであり、
入力されたデジタルデータ及び演算結果データを複数記
憶する第1のRAMと、デジタルフィルタを実現するため
の複数の定数を記憶する第2のRAMと、前記第1のRAMの
アドレスを指定する第1のデータポインタと、前記第2
のRAMのアドレスを指定する第2のデータポインタと、
前記第1のRAMと第2のRAMから読み出されたデータを乗
算する乗算器と、該乗算器の乗算結果とアキュームレー
タに保持された演算結果とを演算しその演算結果をアキ
ュームレータに保持させる演算回路(ALU)とを少なく
とも有するデジタル処理回路を一対備え、該一対のデジ
タル処理回路を、予めプログラムされた命令を解読して
制御信号を出力する制御回路で同時に制御することによ
り、左と右のチャンネルの信号を各々独立して同時に処
理し、スルーブットを向上したデジタル信号処理装置を
提供するものである。
(D) Means for Solving the Problems The present invention was created in view of the above points,
A first RAM that stores a plurality of input digital data and operation result data, a second RAM that stores a plurality of constants for realizing a digital filter, and a first RAM that specifies an address of the first RAM. Data pointer and the second
Second data pointer designating the RAM address of
A multiplier for multiplying the data read from the first RAM and the second RAM, and a calculation for calculating the multiplication result of the multiplier and the operation result held in the accumulator and holding the operation result in the accumulator A pair of digital processing circuits having at least a circuit (ALU) are provided, and the pair of digital processing circuits are simultaneously controlled by a control circuit which decodes a preprogrammed instruction and outputs a control signal, thereby producing a left and a right. It is intended to provide a digital signal processing device in which the signals of the channels are independently processed at the same time and the slewing is improved.

(ホ)作用 上述の手段によれば、例えば、デジタルフィルタを実現
するプログラムが実行されると、第1のRAMから読み出
されたデータと第2のRAMから読み出された定数とが乗
算器により乗算され、更に、乗算結果とアキュームレー
タに保持されたデータとが加算又は減算処理され、その
処理結果が再びアキュームレータに保持される。この動
作は、一対のデジタル処理回路の各々に於いて、同時に
行われ、その結果、2つの入力データ、即ち、左チャン
ネルと右チャンネルのデータに対して同時に積和演算が
為され、フィルタ動作が行われるのであり、従来に比べ
て2倍のスループットが得られる。また、左と右のチャ
ンネルで異なったフィルタ特性を得る場合にも、各々の
デジタル処理回路の第2のRAMに異なる定数を記憶させ
た後、同一の積和演算を行うことで実現できる。
(E) Operation According to the above-mentioned means, for example, when the program that realizes the digital filter is executed, the data read from the first RAM and the constant read from the second RAM are multiplied. The multiplication result and the data held in the accumulator are added or subtracted, and the processing result is held again in the accumulator. This operation is simultaneously performed in each of the pair of digital processing circuits, and as a result, the sum of products operation is simultaneously performed on the two input data, that is, the left channel data and the right channel data, and the filter operation is performed. Since it is performed, a throughput twice as high as that of the conventional one can be obtained. Further, when different filter characteristics are obtained for the left and right channels, different filter characteristics can be stored in the second RAM of each digital processing circuit and then the same multiply-add operation can be performed.

(ヘ)実施例 第1図は、本発明の実施例を示すブロック図であり、一
対のデジタル処理回路(9)(10)と、該デジタル処理
回路(9)(10)のデータバス(BUS1)(BUS2)(11)
に接続されたデータ入出力回路(12)と、同様にデータ
バス(11)に接続されたインターフェイス回路(13)
と、これらデジタル処理回路(9)(10)、データ入出
力回路(12)、および、インターフェイス回路(13)の
動作を制御する制御回路(14)とから構成されたオーデ
ィオ用のDSPシステムである。
(F) Embodiment FIG. 1 is a block diagram showing an embodiment of the present invention. A pair of digital processing circuits (9) and (10) and a data bus (BUS1) of the digital processing circuits (9) and (10). ) (BUS2) (11)
Data input / output circuit (12) connected to the data bus and interface circuit (13) similarly connected to the data bus (11)
And a digital processing circuit (9) (10), a data input / output circuit (12), and a control circuit (14) for controlling the operation of an interface circuit (13). .

データバス(11)は、各々8ビット×3の24ビット構成
である。データ入出力回路(12)は、入力端子INに外部
から印加された16ビットの左チャンネルと右チャンネル
のサンプリングデータ(例えば、CDプレーヤの場合はサ
ンプリング周波数が44.1KHzのデータ)をシリアルに入
力し、左チャンネルのデータはデータバス(11)のBUS1
に、右チャンネルのデータはデータバス(11)のBUS2に
送出し、更に、データバスBUS1に送出された処理済の左
チャンネルのデータとデータバスBUS2に送出された処理
済の右チャンネルのデータを受け取り、出力端子OUTか
ら交互にシリアル出力するものである。インターフェイ
ス回路(13)は、DSPシステムとマイクロコンピュータ
(不図示)の間のデータ送受を行うものであり、マイク
ロコンピュータから印加されたデジタルフィルタの定数
等をデータバス(11)に各々送出し、また、データバス
(11)に送出されたシステムステイタスデータ等を受け
取りマイクロコンピュータに送出するものである。
The data bus (11) has a 24-bit structure of 8 bits × 3. The data input / output circuit (12) serially inputs 16-bit left-channel and right-channel sampling data (for example, in the case of a CD player, the sampling frequency is 44.1 kHz) to the input terminal IN serially. , Left channel data is BUS1 of data bus (11)
The data of the right channel is sent to BUS2 of the data bus (11), and the processed left channel data sent to the data bus BUS1 and the processed right channel data sent to the data bus BUS2 are sent. It receives and alternately outputs serially from the output terminal OUT. The interface circuit (13) sends and receives data between the DSP system and a microcomputer (not shown), and sends constants of the digital filter applied from the microcomputer to the data bus (11). , Receives the system status data and the like sent to the data bus (11) and sends them to the microcomputer.

データ処理回路(9)は左チャンネルのデータ処理用
で、データ処理回路(10)は右チャンネルのデータ処理
用であり、各々全く同じ構成から成る。即ち、データ処
理回路(9)(10)は、データバス(11)、データRAM
(15)、定数RAM(16)、定数ROM(17)、アドレスポイ
ンタ(18)(19)(20)、乗算器(MUL)(21)、ALU
(22)、アキュームレータ(ACC)(23)、テンポラリ
ーレジスタ(TMP1,TMP2,…)(24)を有している。デー
タRAM(15)は、データ入出力回路(12)から送出され
た処理前のデータ及び演算処理後のデータを記憶する24
ビット×128の容量を持つ第1のRAMであり、データバス
(11)及び乗算器(21)の入力に接続される。定数RAM
(16)は、インターフェイス回路(13)から送出される
デジタルフィルタの係数等の定数を記憶する16ビット×
256の容量を持つ第2のRAMであり、データバス(11)及
び乗算器(21)の他方の入力に接続される。アドレスポ
インタ(18)は、8ビットで構成されデータRAM(15)
のアドレス指定を行うものであり、制御回路(14)から
出力されるマイクロコードINC1及びDEC1で制御され、保
持しているアドレスデータをインクリメント(+1)及
びデクリメント(−1)する機能を備えると共に、プロ
グラムによって任意の値が設定できるレジスタと、設定
された値とアドレスデータを比較する回路を内蔵し、ア
ドレスデータをインクリメントした結果が設定値を越え
ると「0」になり、デクリメントの結果が「0」未満に
なると設定値になる機能、即ち、「0」と設定値の間を
循環する機能を有している。この循環アドレス指定機能
を使用してデジタルフィルタの積和演算を簡単化してい
る。(詳細は後述する。)また、アドレスポインタ(1
9)は、定数RAM(16)のアドレスを指定する10ビットの
ポインタであり、制御回路(14)から出力されるマイク
ロコードINC2で制御され、アドレスデータをインクリメ
ントする機能と、制御回路(14)から出力されるマイク
ロコードCLEAR2によって「0」にクリアされる機能を有
している。更に、アドレスポインタ(20)は、定数ROM
(17)のアドレスを指定する8ビットのポインタであ
り、制御回路(14)から出力されるマイクロコードDEC3
によってアドレスデータをデクリメントする機能を有し
ている。
The data processing circuit (9) is for left channel data processing, and the data processing circuit (10) is for right channel data processing. That is, the data processing circuits (9) (10) are connected to the data bus (11) and the data RAM.
(15), constant RAM (16), constant ROM (17), address pointers (18) (19) (20), multiplier (MUL) (21), ALU
(22), an accumulator (ACC) (23), and temporary registers (TMP1, TMP2, ...) (24). The data RAM (15) stores the data before processing and the data after arithmetic processing sent from the data input / output circuit (12) 24
It is a first RAM having a capacity of 128 bits and is connected to the input of the data bus (11) and the multiplier (21). Constant RAM
(16) is a 16-bit memory for storing constants such as digital filter coefficients sent from the interface circuit (13) ×
A second RAM having a capacity of 256, which is connected to the data bus (11) and the other input of the multiplier (21). The address pointer (18) consists of 8 bits and is a data RAM (15)
Addressing is performed, which is controlled by microcodes INC1 and DEC1 output from the control circuit (14) and has a function of incrementing (+1) and decrementing (-1) the held address data, It has a register that can set an arbitrary value by a program and a circuit that compares the set value with the address data. When the result of incrementing the address data exceeds the set value, it becomes "0" and the decrement result becomes "0". It has a function of becoming a set value when it becomes less than ", that is, a function of circulating between" 0 "and the set value. This circular addressing function is used to simplify the product-sum operation of digital filters. (Details will be described later.) In addition, the address pointer (1
9) is a 10-bit pointer that specifies the address of the constant RAM (16), and is controlled by the microcode INC2 output from the control circuit (14) to increment the address data and the control circuit (14). It has the function of being cleared to "0" by the microcode CLEAR2 output from. Furthermore, the address pointer (20) is a constant ROM
An 8-bit pointer for designating the address of (17), which is the microcode DEC3 output from the control circuit (14).
Has a function of decrementing address data.

乗算器(21)は、24ビット×16ビットの乗算をするもの
であり、A入力は24ビット、B入力は16ビットで、その
乗算結果は1サイクル後に確定するものである。更に、
乗算器(21)のA入力とB入力には、入力選択回路MPXA
とMPXBが設けられ、入力選択回路MPXAは、制御回路(1
4)からのマイクロコードA−BUSによりデータバス(1
1)を選択し、マイクロコードA−DRAMによりデータRAM
(15)を選択してA入力に印加し、入力選択回路MPXB
は、マイクロコードB−BUSによりデータバス(11)を
選択し、マイクロコードB−CRAMにより定数RAM(16)
を選択し、マイクロコードB−CROMにより定数ROM(1
7)を選択してB入力に印加する。乗算結果は32ビット
で出力される。
The multiplier (21) performs multiplication of 24 bits × 16 bits, the A input is 24 bits and the B input is 16 bits, and the multiplication result is determined after one cycle. Furthermore,
The input selection circuit MPXA is used for the A and B inputs of the multiplier (21).
And MPXB are provided, and the input selection circuit MPXA is a control circuit (1
Data bus (1 by microcode A-BUS from 4)
Select 1) and use microcode A-DRAM to data RAM
(15) is selected and applied to the A input, and the input selection circuit MPXB
Selects the data bus (11) with the microcode B-BUS and the constant RAM (16) with the microcode B-CRAM.
And select the constant ROM (1
Select 7) and apply to the B input. The multiplication result is output in 32 bits.

ALU(22)は32ビットの演算回路であり、一方に入力さ
れた32ビットの乗算結果と他方に入力された32ビットの
ACC(23)のデータをマイクロコードADDによって加算処
理して、その結果をACC(23)に転送する。ACC(23)の
32ビットのうち、上位24ビットはデータバス(11)と接
続され、下位8ビットは補助バス(25)によってテンポ
ラリーレジスタ(24)の下位8ビットと接続されてい
る。テンポラリーレジスタ(24)は、32ビットのレジス
タTMP1,TMP2…TMP8で構成され、32ビットのデータを最
大8個保持するレジスタであり、各々の上位24ビットは
データバス(11)と接続される。データバス(11)と補
助バス(25)によって、テンポラリーレジスタ(24)と
ACC(23)間で32ビットデータの転送が行われる。
The ALU (22) is a 32-bit arithmetic circuit, and the 32-bit multiplication result input to one side and the 32-bit arithmetic result input to the other side.
The data of ACC (23) is added by the microcode ADD and the result is transferred to ACC (23). ACC (23)
Of the 32 bits, the upper 24 bits are connected to the data bus (11) and the lower 8 bits are connected to the lower 8 bits of the temporary register (24) by the auxiliary bus (25). The temporary register (24) is composed of 32-bit registers TMP1, TMP2 ... TMP8, holds up to eight 32-bit data, and the upper 24 bits of each are connected to the data bus (11). The data bus (11) and the auxiliary bus (25) enable the temporary register (24) and
32-bit data is transferred between ACC (23).

制御回路(14)は、プログラムを記憶するプログラムRO
M(26)と、プログラムROM(26)のアドレスを指定する
プログラムカウンタ(PC)(27)と、読み出された命令
を解読するインストラクションデコーダ(I-DEC)(2
8)とを有する。プログラムROM(26)は、32ビット×51
2の容量を有し、デジタルフィルタを実現するためのプ
ログラム、及び、その他必要なプログラムが格納され
る。インストラクションデコーダ(28)は、命令を解読
してマイクロコードを出力するものであり、アドレスポ
インタ(18)(19)(20)を制御するINC1,INC2,DEC1,C
LEAR2,DEC3や、入力選択回路MPXA,MPXBを制御する。A
−BUS,A−DRAM,B−BUS,B−CRAM,B−CROM、あるいはALU
(22)を制御するADD,THR等を出力する。このマイクロ
コードは、各々データ処理回路(9)(10)の各部の共
通する回路に印加されるため、一つの命令の実行によっ
てデータ処理回路(9)(10)を同時に同一の制御が行
われる。
The control circuit (14) is a program RO that stores the program.
M (26), program counter (PC) (27) that specifies the address of program ROM (26), and instruction decoder (I-DEC) (2) that decodes the read instruction.
8) and Program ROM (26) is 32 bits x 51
It has a capacity of 2 and stores a program for realizing a digital filter and other necessary programs. The instruction decoder (28) decodes an instruction and outputs a microcode, and controls the address pointers (18) (19) (20) INC1, INC2, DEC1, C.
It controls LEAR2, DEC3 and input selection circuits MPXA, MPXB. A
-BUS, A-DRAM, B-BUS, B-CRAM, B-CROM, or ALU
Outputs ADD, THR, etc. that control (22). Since this microcode is applied to a common circuit of each part of the data processing circuits (9) and (10), the same control is simultaneously performed on the data processing circuits (9) and (10) by executing one instruction. .

第1図に示されたDSPシステムに於いて、デジタルフィ
ルタを構成するために必要な命令の例を第2図に示す。
第2図に於いて、MUL命令は乗算命令であり、乗算器(2
1)の入力A及び入力Bに入力される対象を選択し、乗
算を行わせるものである。AP命令は、アドレスポインタ
(18)(19)(20)のインクリメント、デクリメントあ
るいはクリアを行うものである。ALU命令はALU(22)の
制御命令であり、ALUADDは、入力された2つのデータを
ALU(22)で加算し、加算結果をACC(23)に保持させ、
ALUTHRは、乗算器(21)からの乗算結果をそのままACC
(23)に保持させる命令である。RAM1D,TMP1D,TMP2Dは
ストア命令であり、データバス(11)のデータをデータ
RAM(15)、テンポラリーレジスタ(24)に記憶させ
る。ACCS,TMP1S,TMP2Sは、転送命令であり、ACC(2
3)、テンポラリーレジスタ(24)のデータをデータバ
ス(11)及び補助バス(25)に送出する命令である。
In the DSP system shown in FIG. 1, an example of the instructions necessary to configure the digital filter is shown in FIG.
In FIG. 2, the MUL instruction is a multiply instruction, and the multiplier (2
The object to be input to the input A and the input B of 1) is selected and multiplication is performed. The AP instruction increments, decrements or clears the address pointers (18) (19) (20). The ALU command is a control command for ALU (22), and ALUADD stores the two input data.
Add with ALU (22), hold the addition result in ACC (23),
ALUTHR uses the multiplication result from the multiplier (21) as it is to ACC
This is an instruction to be held by (23). RAM1D, TMP1D, TMP2D are store instructions, and data on the data bus (11)
It is stored in the RAM (15) and the temporary register (24). ACCS, TMP1S, TMP2S are transfer instructions, and ACC (2
3) is an instruction to send the data in the temporary register (24) to the data bus (11) and the auxiliary bus (25).

ところで、オーディオの信号処理に於いて、グラフィッ
クイコライザを実現する場合、 yi=x1A+xi-1B+xi-2C+yi-1D+yi-2E (A,B,C,D,Eは定数) で表わされる積和演算によって実現される帯域デジタル
フィルタを複数段縦続接続することによって得られる。
By the way, in the case of realizing a graphic equalizer in audio signal processing, y i = x 1 A + x i-1 B + x i-2 C + y i-1 D + y i-2 E (A, B, C, D, E is It is obtained by cascade-connecting a plurality of band digital filters realized by the sum of products operation represented by

第3図は、2次の直接型IIRフィルタの帯域デジタルフ
ィルタを2段縦続接続することによって2バンドのグラ
フィックイコライザを実現するものである。第3図に於
いて、(29)Z-1は単位時間(ここではサンプリング周
期)の遅延素子であり、(30)は定数A〜Jの乗算素
子、(31)は加算素子である。xiはフィルタに入力され
る入力データであり、ziはフィルタ出力である。オーデ
ィオシステムの場合、係るフィルタ処理は、左チャンネ
ルの信号及び右チャンネルの信号に対して行われなけれ
ばならないが、第1図に示されたDSPシステムでは、第
3図のデジタルフィルタを実現するプログラムの1回の
実行により、デジタル処理回路(9)(10)の両方が同
じ動作をするため、左チャンネルの信号と右チャンネル
の信号に対するフィルタ処理が同時に為される。
FIG. 3 shows a two-band graphic equalizer realized by connecting two stages of band digital filters of a second-order direct IIR filter in cascade. In FIG. 3, (29) Z -1 is a delay element of unit time (sampling period in this case), (30) is a multiplication element of constants A to J, and (31) is an addition element. x i is the input data input to the filter and z i is the filter output. In the case of an audio system, such filtering must be performed on the left channel signal and the right channel signal, but in the DSP system shown in FIG. 1, a program that realizes the digital filter of FIG. Since the digital processing circuits (9) and (10) both perform the same operation by executing once, the filtering processing for the left channel signal and the right channel signal is performed at the same time.

そこで、第1図に示されたDSPシステムに於いて、第3
図のデジタルフィルタを実現する動作を第4図及び第5
図を用いて説明する。
Therefore, in the DSP system shown in FIG.
The operation for realizing the digital filter shown in FIGS. 4 and 5 is performed.
It will be described with reference to the drawings.

第4図は、第3図のデジタルフィルタを実現するプログ
ラムを示す図であり、第5図は、データRAM(15)と定
数RAM(16)に記憶されるデータの割り付け図である。
第4図のプログラムによって、定数の乗算をC,B,A,E,D,
H,G,F,J,Iの順で行うために、定数RAM(16)のアドレス
「0」から「9」までには、同一順序で定数が格納され
る。一方、データRAM(15)にはxi,yi,ziのデータが3
アドレスおきに書き込まれているが、サンプリング周
期、即ち、一つの入力データxi+1に対するフィルタ処理
期間毎に、1アドレスずらしてxi+1,yi+1,zi+1を書き込
むことにより、遅延素子(29)による遅延データを作成
している。よって、第3図に示されたデジタルフィルタ
の場合には、アドレスポインタ(18)は、「0」〜
「7」の循環アドレス指定、及び、アドレスポインタ
(19)は、「0」〜「9」の循環アドレス指定となるよ
うにプログラムによって設定しておく。
FIG. 4 is a diagram showing a program for realizing the digital filter of FIG. 3, and FIG. 5 is an allocation diagram of data stored in the data RAM (15) and the constant RAM (16).
By the program of Fig. 4, the multiplication of constants is performed by C, B, A, E, D,
In order to carry out in the order of H, G, F, J, I, constants are stored in the same order at addresses "0" to "9" of the constant RAM (16). On the other hand, the data RAM (15) contains 3 x i , y i , z i data.
Although written at every address, x i + 1 , y i + 1 , z i + 1 are written by shifting one address for each sampling period, that is, for each filter processing period for one input data x i + 1 . The delay data is created by the delay element (29). Therefore, in the case of the digital filter shown in FIG. 3, the address pointer (18) has a value of "0" ...
The cyclic address designation of "7" and the address pointer (19) are set by the program so as to be the cyclic address designation of "0" to "9".

ここで、入力データxiに対して第4図のプログラムのス
テップ「0」を実行する時点に於いて、データRAM(1
5)の内容が第5図の(イ)の如くであり、アドレスポ
インタ(18)(19)が共にアドレス「0」であるとき、
ステップ「0」が実行されると、乗算器(21)の入力A
及びBには、データRAM(15)のアドレス「0」に記憶
されているデータxi-2(2サンプル前の入力データ)と
定数RAM(16)のアドレス「0」に記憶されている係数
Cが印加されるが、その乗算結果は、次のステップで確
定し出力される。また、ステップ「0」の最後に、命令
AP1INC,AP2INCにより、アドレスポインタ(18)(19)
が共にインクリメントされ、その内容が「1」となる。
Here, when the step "0" of the program of FIG. 4 is executed for the input data x i , the data RAM (1
When the contents of 5) are as shown in (a) of FIG. 5 and both address pointers (18) and (19) are address "0",
When the step "0" is executed, the input A of the multiplier (21) is input.
In and B, the data x i-2 (input data two samples before) stored in the address “0” of the data RAM (15) and the coefficient stored in the address “0” of the constant RAM (16). Although C is applied, the multiplication result is determined and output in the next step. Also, at the end of step "0",
Address pointer (18) (19) by AP1INC and AP2INC
Are incremented together, and the content becomes "1".

ステップ「1」が実行されると、ステップ「0」と同様
にデータRAM(15)と定数RAM(16)が乗算器(21)の入
力として選択され、各々、アドレス「1」に記憶された
データxi-1と定数Bが乗算器(21)に印加される。ま
た、前回のステップ「0」で乗算された結果は、命令AL
UTHRにより、ALU(22)を素通りしてACC(23)に最初の
乗算結果C・xi-2がストアされる。ステップ「1」の最
後に、命令AP1INC,AP2INCにより、アドレスポインタ(1
8)(19)がインクリメントされ、その内容はアドレス
「2」となる。
When the step "1" is executed, the data RAM (15) and the constant RAM (16) are selected as the input of the multiplier (21) as in the step "0", and stored in the address "1" respectively. The data x i-1 and the constant B are applied to the multiplier (21). In addition, the result of multiplication at the previous step "0" is the instruction AL.
The UTHR stores the first multiplication result C · x i−2 in ACC (23) by passing it through ALU (22). At the end of step "1", the address pointer (1
8) (19) is incremented and the content becomes address "2".

次に、ステップ「2」が実行されると、命令MULA−BUS,
B−CRAMにより、乗算器(21)の入力Aにはデータバス
(11)、入力Bには定数RAM(16)が選択される。一
方、命令TMP1Sにより、テンポラリーレジスタTMP1の内
容がデータバス(11)に送出され、命令RAM1Dにより、
データバス(11)に送出されたデータが、アドレスポイ
ンタ(18)で指定されるデータRAM(15)のアドレス
「2」にストアされる。このとき、テンポラリーレジス
タTMP1には、サンプリング周期毎にデータ入力回路(1
2)に外部から印加された入力データxiが予めストアさ
れている。従って、入力データxiは、乗算器(21)によ
って定数RAM(16)から読み出された定数Aと乗算され
ると共に、データRAM(15)のアドレス「2」にストア
される。一方、命令ALUADDにより、ACC(23)にストア
されているC・xi-2とステップ「1」の乗算結果B・x
i-1の加算が行われ、その結果B・xi-1+C・xi-2がACC
(23)にストアされる。ステップ「2」の最後に、アド
レスポインタ(18)(19)がインクリメントされ、その
内容はアドレス「3」となる。
Next, when step "2" is executed, the command MULA-BUS,
The B-CRAM selects the data bus (11) for the input A and the constant RAM (16) for the input B of the multiplier (21). On the other hand, the instruction TMP1S sends the contents of the temporary register TMP1 to the data bus (11), and the instruction RAM1D
The data sent to the data bus (11) is stored in the address "2" of the data RAM (15) designated by the address pointer (18). At this time, the temporary register TMP1 has a data input circuit (1
Input data x i applied from the outside is stored in advance in 2). Therefore, the input data x i is multiplied by the constant A read from the constant RAM (16) by the multiplier (21) and is stored in the address “2” of the data RAM (15). On the other hand, by the command ALUADD, the multiplication result B · x of C · x i−2 stored in ACC (23) and step “1”
i-1 is added, and as a result, B · x i-1 + C · x i-2 is ACC
Stored in (23). At the end of step "2", the address pointers (18) and (19) are incremented, and the content becomes the address "3".

ステップ「3」が実行されると、乗算器(21)の入力A
及びBには、データRAM(15)と定数RAM(16)のアドレ
ス「3」にストアされているデータyi-2と定数Eが印加
され、命令ALUADDにより、ステップ「2」の乗算結果A
・xiとACC(23)の内容B・xi-1+C・xi-2がALU(22)
に於いて加算され、加算結果A・xi+B・xi-1+C・x
i-2がACC(23)にストアされる。ステップ「3」の最後
にアドレスポインタ(18)(19)がインクリメントさ
れ、アドレス「4」となる。
When step "3" is executed, the input A of the multiplier (21) is input.
The data y i-2 and the constant E stored in the address “3” of the data RAM (15) and the constant RAM (16) are applied to B and B, and the multiplication result A of the step “2” is given by the instruction ALUADD.
・ Contents of x i and ACC (23) B ・ x i-1 + C ・ x i-2 is ALU (22)
The result of addition is A · x i + B · x i-1 + C · x
i-2 is stored in ACC (23). At the end of step "3", the address pointers (18) and (19) are incremented to become the address "4".

ステップ「4」が実行されると、乗算器(21)の入力A
及びBには、データRAM(15)と定数RAM(16)のアドレ
ス「4」にストアされているデータyi-1と定数Dが印加
され、命令ALUADDにより、ステップ「3」の乗算結果E
・yi-2とACC(23)の内容A・xi+B・xi-1+C・xi-2
がALU(22)に於いて加算され、加算結果A・xi+B・x
i-1+C・xi-2+E・yi-2がACC(23)にストアされる。
ステップ「4」の最後に、命令AP1DEC,AP2INCにより、
アドレスポインタ(18)はデクリメントされて、アドレ
ス「3」となり、アドレスポインタ(19)はインクリメ
ントされてアドレス「5」となる。
When step "4" is executed, the input A of the multiplier (21)
The data y i-1 stored at the address “4” of the data RAM (15) and the constant RAM (16) and the constant D are applied to B and B, and the multiplication result E of step “3” is given by the instruction ALUADD.
・ The contents of y i-2 and ACC (23) A ・ x i + B ・ x i-1 + C ・ x i-2
Are added in the ALU (22) and the addition result is A · x i + B · x
i-1 + C · x i-2 + E · y i-2 is stored in ACC (23).
At the end of step "4", the commands AP1DEC and AP2INC
The address pointer (18) is decremented to the address "3", and the address pointer (19) is incremented to the address "5".

ステップ「5」で実行されると、乗算器(21)の入力A
及びBには、データRAM(15)のアドレス「3」にスト
アされたデーアyi-2と定数RAM(16)のアドレス「5」
にストアされた定数Hが印加される。即ち、乗算器(2
1)は、このステップ「5」から第3図に示されたデジ
タルフィルタの2段目の乗算を行う。一方、命令ALUADD
により、ステップ「4」の乗算結果D・yi-1とACC(2
3)の内容A・xi+B・xi-1+C・xi-2+E・yi-2がALU
(22)に於いて加算され、加算結果A・xi+B・xi-1
C・xi-2+D・yi-1+E・yi-2がACC(23)にストアさ
れる。このときのACC(23)の内容は、1段目のデジタ
ルフィルタの出力yiとなる。ステップ「5」の最後にア
ドレスポインタ(18)はインクリメントされてアドレス
「4」となり、アドレスポインタ(19)はインクリメン
トされてアドレス「6」となる。
When executed in step "5", input A of the multiplier (21)
In and B, the data y i-2 stored in the address "3" of the data RAM (15) and the address "5" of the constant RAM (16) are stored.
The constant H stored in is applied. That is, the multiplier (2
In step 1), the second-stage multiplication of the digital filter shown in FIG. 3 is performed from step "5". Meanwhile, the instruction ALUADD
Results in multiplication result of step “4” D · y i-1 and ACC (2
3) Content A ・ x i + B ・ x i-1 + C ・ x i-2 + E ・ y i-2 is ALU
It is added in (22), and the addition result is A · x i + B · x i-1 +
C · x i-2 + D · y i-1 + E · y i-2 are stored in ACC (23). The content of ACC (23) at this time becomes the output y i of the first-stage digital filter. At the end of step "5", the address pointer (18) is incremented to the address "4", and the address pointer (19) is incremented to the address "6".

ステップ「6」が実行されると、乗算器(21)の入力A
及びBには、データRAM(15)のアドレス「4」にスト
アされたデータyi-1と定数RAM(16)のアドレス「6」
にストアされた定数Gが印加される。また、命令ACCSに
より、ACC(23)にストアされたデータyiがデータバス
(11)に送出され、命令TMP2Dにより、データバス(1
1)に送出されたデータyiがテンポラリーレジスタTMP2
にストアされる。一方、命令ALUTHRにより、ステップ
「5」の乗算結果H・yi-2は、ALU(22)を素通りしてA
CC(23)にストアされる。ステップ「6」の最後にアド
レスポインタ(18)(19)はインクリメントされて、ア
ドレス「5」とアドレス「7」になる。
When step "6" is executed, the input A of the multiplier (21) is input.
In and B, the data y i-1 stored in the address “4” of the data RAM (15) and the address “6” of the constant RAM (16) are stored.
The constant G stored in is applied. Further, the instruction ACCS sends the data y i stored in the ACC (23) to the data bus (11), and the instruction TMP2D sends the data bus (1
1) Data y i sent to temporary register TMP2
Will be stored in. On the other hand, according to the instruction ALUTHR, the multiplication result H · y i−2 in step “5” passes through ALU (22) and A
Stored in CC (23). At the end of step "6", the address pointers (18) and (19) are incremented to the addresses "5" and "7".

ステップ「7」が実行されると、命令MULA−BUS,B−CRA
Mにより、乗算器(21)の入力A及びBには、データバ
ス(11)に送出されたデータと定数RAM(16)のアドレ
ス「7」にストアされた定数Fが印加される。また、命
令TMP2S及びRAM1Dにより、テンポラリーレジスタTMP2に
ストアされたデータyiは、データバス(11)に送出され
て乗算器(21)の入力Aに印加されると共に、アドレス
ポインタ(18)で指定されたデータRAM(15)のアドレ
ス「5」のストアされる。一方、命令ALUADDによりステ
ップ「6」の乗算結果G・yi-1とACC(23)のH・yi-2
がALU(22)に於いて加算され、その結果G・yi-1+H
・yi-2がACC(23)にストアされる。ステップ「7」の
最後に、アドレスポインタ(18)(19)はインクリメン
トされてアドレス「6」とアドレス「8」になる。
When step "7" is executed, the commands MULA-BUS, B-CRA
By M, the data sent to the data bus (11) and the constant F stored at the address "7" of the constant RAM (16) are applied to the inputs A and B of the multiplier (21). The data y i stored in the temporary register TMP2 by the instruction TMP2S and RAM1D is sent to the data bus (11) and applied to the input A of the multiplier (21) and designated by the address pointer (18). The address "5" of the stored data RAM (15) is stored. On the other hand, by the instruction ALUADD, the multiplication result G · y i-1 in step “6” and H · y i-2 in ACC (23)
Are added in ALU (22), and as a result G · y i-1 + H
・ Y i-2 is stored in ACC (23). At the end of step "7", the address pointers (18) and (19) are incremented to address "6" and address "8".

ステップ「8」が実行されると、乗算器(21)の入力A
及びBには、データRAM(15)のアドレス「6」にスト
アされたデータzi-2と定数RAM(16)のアドレス「8」
にストアされた定数Jが印加され、一方ALU(22)に於
いてステップ「7」の乗算結果F・yiとACC(23)にス
トアされたデータG・yi-1+H・yi-2が加算され、その
結果F・yi+G・yi-1+H・yi-2がACC(23)にストア
される。ステップ「8」の最後にアドレスポインタ(1
8)(19)はインクリメントされて、アドレス「7」と
アドレス「9」になる。
When step “8” is executed, the input A of the multiplier (21) is input.
In and B, the data z i-2 stored in the address “6” of the data RAM (15) and the address “8” of the constant RAM (16) are stored.
Stored in the constant J is applied, whereas ALU (22) the multiplication result of step "7" In F · y i and ACC (23) to stored data G · y i-1 + H · y i- 2 is added, and as a result, F · y i + G · y i-1 + H · y i-2 is stored in ACC (23). At the end of step "8", the address pointer (1
8) (19) is incremented to become address "7" and address "9".

ステップ「9」が実行されると、乗算器(21)の入力A
及びBには、データRAM(15)のアドレス「7」にスト
アされたデータzi-1と定数RAM(16)のアドレス「9」
にストアされた定数Iが印加され、一方ALU(22)に於
いて、ステップ「8」の乗算結果J・zi-2とACC(23)
にストアされたデータF・yi+G・yi-1+H・yi-2が加
算され、加算結果F・yi+G・yi-1+H・yi-2+J・z
i-2がACC(22)にストアされる。ステップ「9」の最後
にアドレスポインタ(18)(19)がインクリメントされ
ると、アドレスポインタ(18)(19)は共にアドレス
「0」となる。
When step "9" is executed, the input A of the multiplier (21) is input.
In and B, the data z i-1 stored at the address “7” of the data RAM (15) and the address “9” of the constant RAM (16) are stored.
The constant I stored in is applied to the ALU (22) while the multiplication result J · z i-2 and ACC (23) in step “8” are applied.
The data F · y i + G · y i-1 + H · y i-2 stored in is added, and the addition result F · y i + G · y i-1 + H · y i-2 + J · z
i-2 is stored in ACC (22). When the address pointers (18) and (19) are incremented at the end of step "9", the address pointers (18) and (19) both become the address "0".

ステップ「10」が実行されると、乗算は行われず、ステ
ップ「9」の乗算結果I・zi-1とACC(23)にストアさ
れたデータF・yi+G・yi-1+H・yi-2+J・zi-2がAL
U(22)に於いて加算され、その加算結果F・yi+G・y
i-1+H・yi-2+I・zi-1+J・zi-2がACC(23)にスト
アされる。このときのACC(23)のデータは2段目のデ
ジタルフィルタの出力ziとなる。
When step “10” is executed, multiplication is not performed, and the multiplication result I · z i−1 of step “9” and the data F · y i + G · y i-1 + H · stored in ACC (23) are obtained. y i-2 + J ・ z i-2 is AL
It is added in U (22), and the addition result is F ・ y i + G ・ y
i-1 + H · y i-2 + I · z i-1 + J · z i-2 is stored in ACC (23). The data of ACC (23) at this time becomes the output z i of the second-stage digital filter.

最後にステップ「11」が実行されると、命令ACCSにより
ACC(23)にストアされたデータziがデータバス(11)
に送出され、命令RAM1Dにより、データバス(11)に送
出されたデータziがアドレスポインタ(18)で指定され
たデータRAM(15)のアドレス「0」にストアされる。
ステップ「11」の最後に、アドレスポインタ(18)がイ
ンクリメントされてアドレス「1」となる。従って、次
にステップ「0」から再びプログラムを実行する際に
は、アドレスポインタ(18)でアドレスされるデータRA
M(15)は、アドレス「1」からアクセスされることに
なり、前回のスタートアドレスより1アドレス先にずれ
る。
Finally, when step "11" is executed, the instruction ACCS
Data z i stored in ACC (23) is data bus (11)
The data z i sent to the data bus (11) is stored in the address “0” of the data RAM (15) designated by the address pointer (18) by the instruction RAM1D.
At the end of step "11", the address pointer (18) is incremented to become the address "1". Therefore, when the program is executed again from step "0", the data RA addressed by the address pointer (18)
M (15) is to be accessed from address "1", which is one address ahead of the previous start address.

以上のステップ「0」〜「11」のプログラムを実行する
ことにより、入力データxiに対するフィルタ処理が行わ
れ、データRAM(15)の内容が第5図(ロ)の如く変化
し、フィルタ出力ziが得られる。また、次のサンプリン
グデータxi+1のフィルタ処理に対して、スタートアドレ
スを1アドレス先に進めることにより、データxi+1に対
する遅延データが得られる。従って、ステップ「0」〜
「11」のプログラムをサンプリングデータに対して繰り
返えし実行することにより、第5図(ハ)(ニ)の如く
データRAM(15)が変化し、フィルタ出力zi+1,zi+2……
が得られる。また、上述の動作は、デジタル処理回路
(9)(10)に於いて、同時に行われるため左チャンネ
ルと右チャンネルのフィルタ出力データが同時に得られ
る。更に、第4図のプログラムを実行する前に、デジタ
ル処理回路(9)と(10)の定数RAM(16)に記憶され
る定数を予め変えておくことにより、左チャンネルと右
チャンネルのフィルタ特性、即ち、グラフィックイコラ
イザのレベルを左右独立とすることができる。この場
合、定数RAM(16)への定数書き込みは、インターフェ
イス回路(13)にマイクロコンピュータから印加される
定数を定数RAM(16)へ転送することにより行われる。
By executing the program of the above steps "0" to "11", the filtering process is performed on the input data x i , the contents of the data RAM (15) are changed as shown in FIG. z i is obtained. In addition, the delay data for the data x i + 1 can be obtained by advancing the start address by one address for the next filtering process of the sampling data x i + 1 . Therefore, steps "0"-
By repeatedly executing the program of "11" for the sampling data, the data RAM (15) is changed as shown in FIG. 5 (c) and (d), and the filter outputs z i + 1 and z i + 2 ……
Is obtained. Further, since the above-described operation is simultaneously performed in the digital processing circuits (9) and (10), the filter output data of the left channel and the right channel can be obtained at the same time. Furthermore, by changing the constants stored in the constant RAM (16) of the digital processing circuits (9) and (10) before executing the program of FIG. 4, the filter characteristics of the left channel and the right channel are changed. That is, the levels of the graphic equalizer can be left and right independent. In this case, the constant writing to the constant RAM (16) is performed by transferring the constant applied from the microcomputer to the interface circuit (13) to the constant RAM (16).

(ト)発明の効果 上述の如く本発明によれば、デジタルフィルタを実現す
るプログラムを実行することにより、同時に1組のデジ
タル処理回路が動作し、1組のデジタルフィルタが実現
できるため、左チャンネルと右チャンネルのオーディオ
信号のデジタル信号処理が、従来のプログラム長の約半
分で行え、サンプリング周期中に実現できる機能が増す
利点を有する。従って、スループットが向上した使用し
易いDSP装置が得られるものである。
(G) Effect of the Invention As described above, according to the present invention, by executing a program for realizing a digital filter, one set of digital processing circuits operates at the same time, and one set of digital filters can be realized. The digital signal processing of the right and left channel audio signals can be performed with about half the conventional program length, which has the advantage of increasing the functions that can be realized during the sampling period. Therefore, an easy-to-use DSP device with improved throughput can be obtained.

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

第1図は本発明の実施例を示すブロック図、第2図は第
1図に示されたブロック図でデジタルフィルタを実現す
るために必要な命令を示す図、第3図は2段接続された
2次の直接型IIRデジタルフィルタを示す図、第4図
は、第3図のデジタルフィルタを第1図の実施例で実現
するためのプログラムを示す図、第5図はデータRAM及
び定数RAMのアドレス割付図、第6図は従来例を示すブ
ロック図である。 (9)(10)…デジタル処理回路、(12)…データ入出
力回路、(13)…インターフェイス回路、(14)…制御
回路、(11)…データバス、(15)…データRAM、(1
6)…定数RAM、(17)…定数ROM、(18)(19)(20)
…アドレスポインタ、(21)…乗算器、(22)…ALU、
(23)…アキュームレータ(ACC)、(24)…テンポラ
リーレジスタ、(25)…補助バス、(26)…プログラム
ROM、(27)…プログラムカウンタ、(28)…インスト
ラクションデコーダ、(29)…遅延素子、(30)…乗算
素子、(31)…加算素子。
FIG. 1 is a block diagram showing an embodiment of the present invention, FIG. 2 is a diagram showing instructions necessary for realizing a digital filter in the block diagram shown in FIG. 1, and FIG. 3 is connected in two stages. FIG. 4 is a diagram showing a second-order direct type IIR digital filter, FIG. 4 is a diagram showing a program for realizing the digital filter of FIG. 3 in the embodiment of FIG. 1, and FIG. 5 is a data RAM and a constant RAM. FIG. 6 is a block diagram showing a conventional example. (9) (10) ... Digital processing circuit, (12) ... Data input / output circuit, (13) ... Interface circuit, (14) ... Control circuit, (11) ... Data bus, (15) ... Data RAM, (1
6) ... Constant RAM, (17) ... Constant ROM, (18) (19) (20)
… Address pointer, (21)… Multiplier, (22)… ALU,
(23) ... Accumulator (ACC), (24) ... Temporary register, (25) ... Auxiliary bus, (26) ... Program
ROM, (27) ... Program counter, (28) ... Instruction decoder, (29) ... Delay element, (30) ... Multiplication element, (31) ... Addition element.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 G10K 15/12 H03H 17/02 K 8842−5J H04S 1/00 K (72)発明者 川口 正樹 大阪府守口市京阪本通2丁目18番地 三洋 電機株式会社内 (56)参考文献 特開 昭62−284510(JP,A) 特開 昭63−113756(JP,A) 特開 昭63−266576(JP,A) 特開 昭60−5339(JP,A) 特開 昭63−292716(JP,A) 特開 昭63−221708(JP,A) 特開 昭63−264000(JP,A) 特開 昭63−264799(JP,A) 特開 昭63−254513(JP,A) 特開 平2−236693(JP,A)─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 6 Identification code Internal reference number FI Technical display location G10K 15/12 H03H 17/02 K 8842-5J H04S 1/00 K (72) Inventor Masaki Kawaguchi Osaka 2-18 Keihanhondori, Moriguchi, Sanyo Electric Co., Ltd. (56) Reference JP 62-284510 (JP, A) JP 63-113756 (JP, A) JP 63-266576 (JP , A) JP 60-5339 (JP, A) JP 63-292716 (JP, A) JP 63-221708 (JP, A) JP 63-264000 (JP, A) JP 63-264799 (JP, A) JP-A-63-254513 (JP, A) JP-A-2-236693 (JP, A)

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】左右2チャンネルを有するステレオ方式の
オーディオ信号に対応する入力デジタルデータ及び演算
結果データを複数記憶する第1のRAMと、デジタルフィ
ルタを実現するための複数の定数を記憶する第2のRAM
と、前記第1のRAMのアドレスを指定する第1のデータ
ポインタと、前記第2のRAMのアドレスを指定する第2
のデータポインタと、前記第1のRAMと前記第2のRAMと
から読み出されたデータを乗算する乗算器(MUL)と、
該乗算器の乗算結果とアキュムレータに保持された演算
結果とを演算しその演算結果を前記アキュムレータに保
持させる演算回路(ALU)とを少なくとも有するデジタ
ル信号処理回路を、前記オーディオ信号の左チャンネル
及び右チャンネルに各々対応して一対設けると共に、前
記一対のデジタル信号処理回路及びマイクロコンピュー
タの間のインターフェイスを行うものであって、該マイ
クロコンピュータから前記一対のデジタル信号処理回路
内の前記一対の第2のRAMへ、前記オーディオ信号の左
チャンネル及び右チャンネルの特性に各々対応する複数
の定数を送出するインターフェイス回路を設け、前記一
対のデジタル信号処理回路を、予めプログラムされたプ
ログラムメモリからの1つの命令を解読して制御信号を
出力する制御回路で同時に制御すると共に、前記一対の
デジタル信号処理回路にて、前記オーディオ信号の左チ
ャンネル及び右チャンネルの特性に応じた異なる信号処
理を同時に実行できることを特徴とするデジタル信号処
理装置。
1. A first RAM for storing a plurality of input digital data and operation result data corresponding to a stereo audio signal having two left and right channels, and a second RAM for storing a plurality of constants for realizing a digital filter. RAM
A first data pointer for designating an address of the first RAM, and a second data pointer for designating an address of the second RAM.
A data pointer, and a multiplier (MUL) for multiplying the data read from the first RAM and the second RAM,
A digital signal processing circuit, which has at least an arithmetic circuit (ALU) for operating the multiplication result of the multiplier and the operation result held in the accumulator and holding the operation result in the accumulator, includes a left channel and a right channel of the audio signal. A pair is provided corresponding to each channel, and an interface is provided between the pair of digital signal processing circuits and the microcomputer, and the pair of second digital signals in the pair of digital signal processing circuits is provided from the microcomputer. An interface circuit for sending a plurality of constants respectively corresponding to the characteristics of the left channel and the right channel of the audio signal to the RAM is provided, and the pair of digital signal processing circuits is provided with one command from a preprogrammed program memory. It is the same in the control circuit that decodes and outputs the control signal. And controls the at the pair of digital signal processing circuit, a digital signal processing apparatus characterized by different signal processing in accordance with the characteristics of the left and right channels of the audio signal can be executed simultaneously.
JP62151980A 1987-06-18 1987-06-18 Digital signal processor Expired - Fee Related JPH07101835B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62151980A JPH07101835B2 (en) 1987-06-18 1987-06-18 Digital signal processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62151980A JPH07101835B2 (en) 1987-06-18 1987-06-18 Digital signal processor

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP1237525A Division JP2943112B2 (en) 1989-09-13 1989-09-13 Digital signal processor

Publications (2)

Publication Number Publication Date
JPS63316165A JPS63316165A (en) 1988-12-23
JPH07101835B2 true JPH07101835B2 (en) 1995-11-01

Family

ID=15530429

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62151980A Expired - Fee Related JPH07101835B2 (en) 1987-06-18 1987-06-18 Digital signal processor

Country Status (1)

Country Link
JP (1) JPH07101835B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3019767B2 (en) * 1995-12-28 2000-03-13 ヤマハ株式会社 Digital signal processor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS605339A (en) * 1983-06-23 1985-01-11 Sony Corp Processing device of digital signal
JPH0748633B2 (en) * 1987-03-11 1995-05-24 日本ビクター株式会社 Amplitude and group delay adjustment device for audio
JPS63224513A (en) * 1987-03-13 1988-09-19 Victor Co Of Japan Ltd Adjusting device for amplitude and group delay for audio equipment
JPS63264799A (en) * 1987-04-22 1988-11-01 日本ビクター株式会社 Echo adder
JP2610428B2 (en) * 1987-04-22 1997-05-14 日本ビクター株式会社 2 channel stereoscopic reproduction sound field adjustment device

Also Published As

Publication number Publication date
JPS63316165A (en) 1988-12-23

Similar Documents

Publication Publication Date Title
US5210806A (en) Digital audio signal processing apparatus
US6487572B2 (en) Digital filtering method and device and sound image localizing device
US5502277A (en) Filter device and electronic musical instrument using the filter device
US5065433A (en) Audio signal data processing system
US6032081A (en) Dematrixing processor for MPEG-2 multichannel audio decoder
JPH07101835B2 (en) Digital signal processor
JP2630778B2 (en) Method of configuring low frequency band digital filter
JP2943112B2 (en) Digital signal processor
US6031916A (en) Sound effect adding device using DSP
EP0299537B1 (en) Apparatus and Method for processing digital signal
JPH0748633B2 (en) Amplitude and group delay adjustment device for audio
KR0147758B1 (en) Synthesis filter of mpeg-2 audio decoder
JPH0695627B2 (en) Low frequency digital filter
JP2647991B2 (en) Audio signal processing device having directionality enhancement
JPH0719246B2 (en) Digital signal processor
JP2686234B2 (en) Digital signal processing device and signal processing method
JP2589199B2 (en) Nonlinear conversion method of digital data and signal processing device using the same
JP2834746B2 (en) Digital signal processing device and address data generating method thereof
JPH07210541A (en) Digital signal processor and signal processing method
JPH07191964A (en) Digital signal processor
JPH0410009A (en) Nonlinear converting method for digital data and signal processor using said converting method
JPS62123820A (en) Digital graphic equalizer
JPH10336785A (en) Audio signal processor, processing method for the same and recording medium for recording program by the same method
JPH0252446B2 (en)
JP2001008298A (en) Method for using memory of signal delay device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees