JPS5853217A - Digital filter circuit - Google Patents

Digital filter circuit

Info

Publication number
JPS5853217A
JPS5853217A JP15170481A JP15170481A JPS5853217A JP S5853217 A JPS5853217 A JP S5853217A JP 15170481 A JP15170481 A JP 15170481A JP 15170481 A JP15170481 A JP 15170481A JP S5853217 A JPS5853217 A JP S5853217A
Authority
JP
Japan
Prior art keywords
counter
register
contents
digital filter
counters
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
Application number
JP15170481A
Other languages
Japanese (ja)
Other versions
JPH0331005B2 (en
Inventor
Hisao Ishizuka
石塚 久夫
Yuichi Kawakami
雄一 川上
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.)
NEC Corp
Original Assignee
NEC Corp
Nippon 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 NEC Corp, Nippon Electric Co Ltd filed Critical NEC Corp
Priority to JP15170481A priority Critical patent/JPS5853217A/en
Publication of JPS5853217A publication Critical patent/JPS5853217A/en
Publication of JPH0331005B2 publication Critical patent/JPH0331005B2/ja
Granted legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks

Abstract

PURPOSE:To execute a filter operation at a high speed, by converting a counter which serves as an address designating means of an RAM into an (n+1)-notation counter which counts the value that is larger than the prescribed number (n) of delaying stages just by 1. CONSTITUTION:An (n+1)-notation counter 7 serves as an address designating means for a register 5 and an RAM1 and counts the value larger than the prescribed number (n) of delaying stages just by 1. The contents of the counter 7 are cleared to zero. The contents which are designated by the counters 6 and 7 of a coefficient memory 2 containing n words and storing the coefficient of a digital filter and the RAM1 storing delay data are read out and multiplied by a multiplier 3. The result of this multiplication is added with the contents of the register 5 through an adder 4. The result of the addition is stored in the register 5. Then the count value is added by 1 for each of the counters 6 and 7. This operation is repeated by n times. Then an input signal 8 is stored in the address designated by the register 6 of the RAM1, and the count value of the counter 6 is increased by 1.

Description

【発明の詳細な説明】 本発明は、デジタルフィルタに関する。[Detailed description of the invention] The present invention relates to a digital filter.

デジタルフィルタの基本構成は乗算器、加算器、係数メ
モリ及び単位時間遅延素子でみるが、単位時間遅延素子
のノ・−ドウエア化方法としてはシフトレジスタを用い
る場合もあるが、RAM(ランダムアクセスメモリ)を
用いる方法が一般的である。例えば第1図のようなn段
の非巡回形デジタルフィルタは図2のようにハードウェ
ア化される。
The basic configuration of a digital filter is a multiplier, an adder, a coefficient memory, and a unit time delay element.As a method of converting the unit time delay element into node hardware, a shift register may be used, but a RAM (Random Access Memory ) is a common method. For example, an n-stage acyclic digital filter as shown in FIG. 1 is implemented in hardware as shown in FIG.

図2に於て1が単位時間遅延素子を表わすnワードから
なるRAM、2はnワードかななる係数メモリ、3は乗
算器、4は加算器、5はレジスタで、前記2つのメモリ
1,2はそれぞれカウンタ6゜7によってアクセスされ
る。
In FIG. 2, 1 is a RAM consisting of n words representing a unit time delay element, 2 is a coefficient memory consisting of n words, 3 is a multiplier, 4 is an adder, and 5 is a register. are respectively accessed by counters 6.7.

この構成に於て、ひとつの入力信号に対して、その出力
信号を得るためには、次の動作を行左う必要がある。即
ち (1)  レジスタ5及びカウンタ6.7の値をゼロク
リヤする。
In this configuration, in order to obtain an output signal for one input signal, it is necessary to perform the following operations. That is, (1) the values of register 5 and counter 6.7 are cleared to zero.

(2)1のRAM、2の係数メモリのカウンタ6゜7で
指される内容をそれぞれ読み出し、それらを3で乗算し
、その結果とレジスタ5の内容を4で加算し、結果をレ
ジスタ5に格納する。カウンタ6.7をそれぞれ1だけ
増加させる。
(2) Read the contents pointed to by counters 6 and 7 in RAM 1 and coefficient memory 2, multiply them by 3, add the result to the contents of register 5 by 4, and store the result in register 5. Store. Counters 6 and 7 are each incremented by 1.

(3)前記(2)をn回縁シ返す。(3) Repeat (2) above n times.

(4)  RA M 1の(i−1)番地の内容をi番
地に転送する。この動作を1=n−1、n −2、−、
2、1について行なう。
(4) Transfer the contents of address (i-1) of RAM 1 to address i. This operation is 1=n-1, n-2, -,
2. Do this for 1.

(5)入力信号8をRAM1の0番地に格納する。(5) Store input signal 8 in address 0 of RAM1.

以上である。上記一連の動作によって出力信号値をレジ
スタ5に得ることができる。例えば、前記(1)〜(5
)の動作を一定インストラクションサイクルXn5ec
  で動作するマイクロプロセッサで実現しようとする
場合の処理時間を考える。前記(1)及び(2)の処理
とRAM1の(i−1)番地の内容をi番地に転送する
動作とをそれぞれ1インストラクシヨンサイクルで実現
できるものとすると、前記(1)〜(5)の動作に必要
な時間は(1+n+n )X   n5ec    必
要である。
That's all. The output signal value can be obtained in the register 5 through the series of operations described above. For example, (1) to (5)
) operation using a constant instruction cycle Xn5ec
Consider the processing time when trying to implement it with a microprocessor running on . Assuming that the processes (1) and (2) above and the operation of transferring the contents of address (i-1) of RAM 1 to address i can be realized in one instruction cycle, then (1) to (5) ) The time required for the operation is (1+n+n)X n5ec.

この時間はひとつの出力信号を得るまでに必要な時間で
あり、目的に応じた時間内に納まって居ななければなら
ない。例えば、電話音声帯域の信号を実時間処理を行う
場合には前記(1)〜(5)の処理を125μsecの
時間内に完結しなければならない。
This time is the time required to obtain one output signal, and must be within the time required for the purpose. For example, when performing real-time processing on signals in the telephone voice band, the above-mentioned processes (1) to (5) must be completed within a time of 125 μsec.

本発明の目的は、前記(4)のメモリ転送処理を不要と
し、(1)〜(5)の処理を従来例に比べ約半分の時間
で実行可能なデジタルフィルタを提供スるコトにある。
An object of the present invention is to provide a digital filter that eliminates the need for the memory transfer process (4) and can execute the processes (1) to (5) in about half the time compared to the conventional example.

本発明によれば、デジタルフィルタの係数を記憶するn
語からなる係数記憶手段と遅延データを記憶するだめの
)LAMと、前記RAMのアドレス指定手段であって所
定の遅延段数nよりも1だけ多い値をカウントするn+
1進のカウンタとを有することを特徴とするデジタルフ
ィルタ回路が得られる。
According to the invention, n
a coefficient storage means consisting of words, a LAM (for storing delay data), and an addressing means for the RAM (n+) for counting a value that is one more than a predetermined number of delay stages n.
A digital filter circuit characterized in that it has a linear counter is obtained.

次に、本発明の一実施例について、図面を参照照して説
明する。
Next, one embodiment of the present invention will be described with reference to the drawings.

第2図は、第1図で示されたnタップの非巡回形フィル
タを実現する要所ブロック図であるが、本発明を同じフ
ィルタに適用した場合も要所ブロック図は第2図と同じ
になる。
FIG. 2 is a block diagram of key points for realizing the n-tap acyclic filter shown in FIG. become.

第2図で従来技術と異なる点は1のRA Mが(n+1
)語からなること、6のカウンタが(n+1)進となっ
ていることである。本発明のこの実施例において、ひと
つの出力信号を得るために必要な動作は、従来技術の動
作(1) 、 (2) 、 (3) 、 (4) 。
The difference from the conventional technology in Fig. 2 is that 1 RAM is (n+1
) words, and the counter of 6 is in base (n+1). In this embodiment of the invention, the operations required to obtain one output signal are those of the prior art (1), (2), (3), (4).

(5)と対応させて (1′)レジスタ5及びカウンタ7の内容をゼロクリヤ
する。カウンタ6の内容はクリヤしない。
In correspondence with (5), (1') the contents of the register 5 and counter 7 are cleared to zero. The contents of counter 6 are not cleared.

(2つ 1の工もAM、2の係数メモリのカウンタ6゜
7で指される番地の内容をそれぞれ読み出し3で乗算、
その結果とレジスタ5の内容とを4で加算し、結果でレ
ジスタ5に格納する。
(2) Step 1 is also AM, read the contents of the address pointed to by counter 6゜7 in coefficient memory 2, and multiply by 3,
The result and the contents of register 5 are added by 4, and the result is stored in register 5.

カウンタ6.7をそれぞれ1だけ増加させる。Counters 6 and 7 are each incremented by 1.

(3つ 前記(2つの動作をn回縁υ返す。(Three of the above (return the two operations n times υ.

(4つ (不要) (59入力信号をRA Mlのカウンタ6で指される番
地に格納し、カウンタ6を1だけ増加させる。
(4 (unnecessary) (59) Store the input signal at the address pointed to by counter 6 of RAM Ml, and increment counter 6 by 1.

となる。becomes.

従来技術と異なる動作は、(1)でカウンタ6の内容を
クリヤしないこと、(3)のRAM1内でのデータ転送
が不要なこと、(5)で入力信号を格納する几AM1の
番地が異なることである。即ち従来技術では必要だった
RAMI内でのデータ転送処理が全く不要となっている
。これは、R,AMIの番地を5− 指すカウンタ6が(J1+1)進となっているためにn
個のフィルタ係数 (aQ、al、a2.a3.・・・jan−1)に対応
して積をとられるRAM、l内のデータ列は、第1時刻
では (d(1+dl+d2+d3+”’+dn−1)であっ
たのが (dn#dO#dlPd21”’l”!1−2)第3時
刻 (dn−11dnldO,all”’1dn−3)のよ
うに、ひとつづつずれ、第1時刻の入力信号はd。に、
第2時刻の入力信号はdn−1にそれぞれ格納されるの
で、あたかもデータを転送したのと同じ効果が現われる
ためである。従って実際にデータを転送する処理が不要
となる。この結果、従来技術に比べRAM1は1語増加
させ、カウンタ6を(n+1)進とするというわずかの
ハードウェア量の増加で、フィルタ演算を高速に実行す
ることが可能となる。
The operations that differ from the conventional technology are (1) that the contents of the counter 6 are not cleared, (3) that data transfer within RAM 1 is unnecessary, and (5) that the address of AM1 where the input signal is stored is different. That's true. That is, data transfer processing within the RAMI, which was necessary in the prior art, is completely unnecessary. This is because the counter 6 that points to the address of R, AMI is in (J1+1) base.
At the first time, the data string in RAM, l, which is multiplied corresponding to the filter coefficients (aQ, al, a2.a3...jan-1), is (d(1+dl+d2+d3+"'+dn-1) ) was (dn#dO#dlPd21"'l"!1-2) at the third time (dn-11dnldO, all"'1dn-3), and the input signal at the first time is shifted by one. To d.
This is because the input signals at the second time are respectively stored in dn-1, so the same effect as if data were transferred appears. Therefore, there is no need for actual data transfer processing. As a result, compared to the prior art, the RAM 1 is increased by one word and the counter 6 is set to (n+1) base, which makes it possible to execute filter calculations at high speed with a slight increase in the amount of hardware.

上記実施例では非巡回形フィルタについて示し6− たが、巡回形フィルタであっても同様の構成を拡張すれ
ば容易に達成できることは明らかである。
In the above embodiment, an acyclic filter was shown, but it is clear that a cyclic filter can be easily achieved by extending the same configuration.

また、6,7のカウンタは、アンプカウンタのみでなく
、ダウンカウンタ及びポリノミアルカランクでも構成で
きることは明白である。
Further, it is clear that the counters 6 and 7 can be configured not only by amplifier counters but also by down counters and polynomial alkaline ranks.

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

第1図は非巡回形フィルタの構成図である。第2図は、
策1図のフィルタをノ・−ドウエア化したときの要部ブ
ロック図である。 1・・・・・・H・Aへ4.2・・・・・・係数メモリ
、3・・・・・・乗算器、4・・・・・・加算器、5・
・・・・・レジスタ、6,7・・・・・・カウンタ、8
・・・・・・入力線、9・・・・・・出力線。
FIG. 1 is a block diagram of an acyclic filter. Figure 2 shows
FIG. 1 is a block diagram of main parts when the filter of FIG. 1 is converted into software. 1... To H・A 4.2... Coefficient memory, 3... Multiplier, 4... Adder, 5...
...Register, 6,7...Counter, 8
...Input line, 9...Output line.

Claims (1)

【特許請求の範囲】[Claims] デジタルフィルタの係数を記憶するn語からなる係数記
憶手段と、遅延データを記憶するためのランダムアクセ
スメモリと、前記メモリのアドレス指定手段であって所
定の遅延段数nよシも1だけ多い値をカウントするn+
1進のカウンタとを有することを特徴とするデジタルフ
ィルタ回路。
coefficient storage means consisting of n words for storing the coefficients of the digital filter; random access memory for storing delay data; and addressing means for the memory, wherein the predetermined number of delay stages n is equal to one more. count n+
1. A digital filter circuit comprising a 1-digit counter.
JP15170481A 1981-09-25 1981-09-25 Digital filter circuit Granted JPS5853217A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15170481A JPS5853217A (en) 1981-09-25 1981-09-25 Digital filter circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15170481A JPS5853217A (en) 1981-09-25 1981-09-25 Digital filter circuit

Publications (2)

Publication Number Publication Date
JPS5853217A true JPS5853217A (en) 1983-03-29
JPH0331005B2 JPH0331005B2 (en) 1991-05-02

Family

ID=15524438

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15170481A Granted JPS5853217A (en) 1981-09-25 1981-09-25 Digital filter circuit

Country Status (1)

Country Link
JP (1) JPS5853217A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS594218A (en) * 1982-06-29 1984-01-11 Fujitsu Ltd Memory access circuit
JPS61195016A (en) * 1985-02-25 1986-08-29 Nec Corp Digital filter
JPS61288613A (en) * 1985-06-17 1986-12-18 Fujitsu Ltd Digital filter
JPS61288890A (en) * 1985-06-13 1986-12-19 谷川 正 Spungle forming and continuous stitching method and apparatus
JPS62253208A (en) * 1987-04-21 1987-11-05 Sony Corp Digital signal processing unit
JPS62253209A (en) * 1987-04-21 1987-11-05 Sony Corp Digital signal processing unit
JPS6442623U (en) * 1987-09-09 1989-03-14

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
IBM TECHNICAL DISSLOSURE BULLETIN=1976 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS594218A (en) * 1982-06-29 1984-01-11 Fujitsu Ltd Memory access circuit
JPH0113764B2 (en) * 1982-06-29 1989-03-08 Fujitsu Ltd
JPS61195016A (en) * 1985-02-25 1986-08-29 Nec Corp Digital filter
JPS61288890A (en) * 1985-06-13 1986-12-19 谷川 正 Spungle forming and continuous stitching method and apparatus
JPH07862B2 (en) * 1985-06-13 1995-01-11 正 谷川 Spangle forming continuous binding method and apparatus thereof
JPS61288613A (en) * 1985-06-17 1986-12-18 Fujitsu Ltd Digital filter
JPS62253208A (en) * 1987-04-21 1987-11-05 Sony Corp Digital signal processing unit
JPS62253209A (en) * 1987-04-21 1987-11-05 Sony Corp Digital signal processing unit
JPS6442623U (en) * 1987-09-09 1989-03-14

Also Published As

Publication number Publication date
JPH0331005B2 (en) 1991-05-02

Similar Documents

Publication Publication Date Title
US4754421A (en) Multiple precision multiplication device
US4715257A (en) Waveform generating device for electronic musical instruments
US5255216A (en) Reduced hardware look up table multiplier
JPS5853217A (en) Digital filter circuit
JPS6364100B2 (en)
US4063082A (en) Device generating a digital filter and a discrete convolution function therefor
US4229802A (en) Digital adding device
US4336600A (en) Binary word processing method using a high-speed sequential adder
US3714402A (en) Digital filter employing serial arithmetic
SE429080B (en) DIGITAL FILTER DEVICE FOR OWN-SIZED QUANTIZED Pulse Code Modulated Signals
JPH02281811A (en) Digital filter processor
US5781462A (en) Multiplier circuitry with improved storage and transfer of booth control coefficients
US4013879A (en) Digital multiplier
US4285047A (en) Digital adder circuit with a plurality of 1-bit adders and improved carry means
JP2001160736A (en) Digital filter circuit
JP2524035Y2 (en) Multiplier for convolution arithmetic circuit
SU1631554A1 (en) Device for computing fourier-galoiz transform
JPH0741213Y2 (en) FIR filter
JPS6259828B2 (en)
JPH0795671B2 (en) Digital Filter
KR19980013689A (en) An Implementation Method of K-tap FIR Filter Using Vector Processor (Method for emboding K-tap FIR Filter Using Vector Processor)
JPH06152330A (en) Digital filter
SU1171993A1 (en) Recursive digital filter
JPS615345A (en) Serial multiplication method
KR19980073359A (en) Variable tap structure of digital filter and its multiplication circuit