JPH0468709A - Digital filter - Google Patents

Digital filter

Info

Publication number
JPH0468709A
JPH0468709A JP17647090A JP17647090A JPH0468709A JP H0468709 A JPH0468709 A JP H0468709A JP 17647090 A JP17647090 A JP 17647090A JP 17647090 A JP17647090 A JP 17647090A JP H0468709 A JPH0468709 A JP H0468709A
Authority
JP
Japan
Prior art keywords
tap
data
input
register
signal
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
Application number
JP17647090A
Other languages
Japanese (ja)
Inventor
Kohei Eguchi
江口 公平
Kazuhiro Watanabe
和浩 渡邉
Takao Suzuki
孝夫 鈴木
Kiyoshi Yokota
潔 横田
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP17647090A priority Critical patent/JPH0468709A/en
Publication of JPH0468709A publication Critical patent/JPH0468709A/en
Pending legal-status Critical Current

Links

Landscapes

  • Cable Transmission Systems, Equalization Of Radio And Reduction Of Echo (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Abstract

PURPOSE:To attain filter processing for a multiplex signal with the scale of the hardware almost equal to that of an FIR filter having the same tap number with respect to a signal not multiplexed by providing a coefficient register outputting two coefficients alternately to one input of a multiplier synchronously with the input of a data at each tap and a delay register retarding an output of an adder by two cycles, and outputting the result to a succeeding tap adder to the filter. CONSTITUTION:When a signal A1 is inputted at first, a 1st tap MPY 3-1 multiplies the input data (A1) with the output HA1 of a coefficient register 2-1, and the result (HA1*A1) is inputted to the pre-stage of a delay register 5-1 of the 1st tap. When a signal B1 is received, the 1st tap MPY 3-1 multiplies the input data (B1) with the output HB1 of the coefficient register 2-1, and the result (HB1*B1) is inputted to the pre-stage of the delay register 5-1 of the 1st tap. Simultaneously the data (HA1*A1) stored in the pre-stage of the delay register 5-1 is shifted to its post-stage.

Description

【発明の詳細な説明】 (産業上の利用分野) 本発明は、ディジタル信号処理におけるディジタルフィ
ルタに関するものである。
DETAILED DESCRIPTION OF THE INVENTION (Field of Industrial Application) The present invention relates to a digital filter in digital signal processing.

(従来の技術) 第2図は従来のFIR型フィルタ回路の一構成例を示す
ブロック図であって、1は入力データを入力する入力レ
ジスタ(IN)、6−1〜6−には各タップ係数を格納
する係数レジスタ、7−1〜F−には各タッグにおいて
乗算を行う乗算器(MPY)、8−2〜g−には各タッ
プにおいて乗算器出力と前段の加算結果とを加算する加
算器、9−1〜9−には前タップの加算器結果を格納す
る遅延レジスタ(D)であり、タップ数はyである。
(Prior Art) FIG. 2 is a block diagram showing an example of the configuration of a conventional FIR type filter circuit, in which 1 is an input register (IN) for inputting input data, and 6-1 to 6- are each tap. Coefficient registers that store coefficients, 7-1 to F- are multipliers (MPY) that perform multiplication in each tag, and 8-2 to g- add the multiplier output and the previous stage addition result in each tap. The adders 9-1 to 9- are delay registers (D) that store the adder results of the previous tap, and the number of taps is y.

このFIR型フィルタ回路は式(1)に示すフィルタ演
算を行う。
This FIR type filter circuit performs the filter operation shown in equation (1).

但し、Yn:出力データ Xn−1’入力データ Hl:タップ係数 に=q−p+1 すなわち第2図において、データがINIに入力される
と各タップでは、MPY 7−1〜7−kKよシ前記入
力データが各係数レジスタ6−1〜6−kに格納されて
いる係数で乗算される。1タツプ目の乗算結果、すなわ
ちMPY 7−1の出力はそのま一*D9−1に入力さ
れる。他のタップの乗算結果、すなわちMPY 7−2
〜7−にの出力は加算器8−2〜B−kに入力され、前
タップのD9−1〜9−(k−7)のデータとそれぞれ
加算されて各タップのD9−2〜9−kに入力される。
However, Yn: Output data Xn-1' Input data Hl: Tap coefficient = q-p+1 In other words, in FIG. The input data is multiplied by the coefficients stored in each coefficient register 6-1 to 6-k. The multiplication result of the first tap, ie, the output of MPY 7-1, is directly input to *D9-1. Multiplication result of other taps, i.e. MPY 7-2
The outputs of ~7- are input to adders 8-2~B-k, and are added to the data of the previous taps D9-1~9-(k-7), respectively, and are added to the data of D9-2~9- of each tap. It is input to k.

以上のような動作を入力データが入力される度に繰シ返
し行うことによシ、最終出力からは式(1)の演算結果
が順次出力される。
By repeating the above operations every time input data is input, the calculation results of equation (1) are sequentially output from the final output.

また、第3図に示すような2つの信−%(hl、もi)
が多重された多重化信号をFIR型フィルタで式(1)
に示すフィルタ演算を行う場合には、第4図に示すよう
に多重化信号を2つの信号Ai、Biに分離し、分離し
たそれぞれの信号Ai、B、に対し別個のFIR型フィ
ルタによシフィルタ演算を行う。なお、前記各FIR型
フィルタは第2図に示すFIR型フィルタと同様の構成
をとる。
In addition, as shown in Fig. 3, two beliefs -% (hl, also
The multiplexed signal, in which the
When performing the filter operation shown in Fig. 4, the multiplexed signal is separated into two signals Ai and Bi, and each separated signal Ai and B is filtered by a separate FIR type filter. Perform calculations. It should be noted that each of the above-mentioned FIR type filters has the same configuration as the FIR type filter shown in FIG.

(発明が解決しようとする課題) しかしながら、第4図の構成では、FIR型フィルタを
2つ設けているため、同じタップ数でかつ、多重化され
ていない信号のFIR型フィルタより、ハードウェア規
模が大きくなるという問題点があった0 本発明は、以上述べた多重化信号の中の各々の信号に対
しFIRフィルタ演算を行う場合において、多重化され
ていない信号に対する同じタッグ数のFIR型フィルタ
より、ハードウェア規模が大きくなるという問題点を除
去するために、多重化されていない信号に対する同じタ
ップ数のFIR型フィルタとほぼ同等のハードウェア規
模で、多重化信号のフィルタ処理を行うことのできるデ
ィジタルフィルタを提供することを目的とする。
(Problem to be Solved by the Invention) However, since the configuration shown in FIG. 4 has two FIR filters, the hardware scale is greater than that of an FIR filter with the same number of taps and non-multiplexed signals. The present invention has the problem that when performing FIR filter calculation on each signal in the multiplexed signal described above, the FIR type filter with the same number of tags on the non-multiplexed signal is used. Therefore, in order to eliminate the problem of increased hardware scale, it is possible to perform filter processing for multiplexed signals on a hardware scale that is approximately equivalent to that of an FIR type filter with the same number of taps for non-multiplexed signals. The purpose is to provide a digital filter that can.

(課題を解決するための手段) 本発明は上記目的を達成するため複数の信号が多重化さ
れた入力信号に対し多重化された信号ごとにFZRフィ
ルタ演算を行うF’IR型のディジタルフィルタにおい
て、 多重化された信号と同数の係数データを格納し、前記信
号に同期して対応する係数データを出力する係数レノス
タと、 前記係数レジスタからの係数データと入力信号のデータ
を乗算する乗算器と、 前記乗算器からのデータと前タッグの遅延レジスタから
のデータとを加算する加算器と、前記加算器からのデー
タを多重化された信号の数と同じサイクル数だけ遅延さ
せる遅延レジスタとを各タップごとに設けたものである
(Means for Solving the Problems) In order to achieve the above object, the present invention provides an F'IR type digital filter that performs FZR filter operation for each multiplexed signal on an input signal in which a plurality of signals are multiplexed. , a coefficient renostar that stores the same number of coefficient data as the multiplexed signal and outputs the corresponding coefficient data in synchronization with the signal; and a multiplier that multiplies the coefficient data from the coefficient register by the data of the input signal. , an adder that adds the data from the multiplier and the data from the delay register of the previous tag, and a delay register that delays the data from the adder by a number of cycles equal to the number of multiplexed signals. This is provided for each tap.

(作用) FIR型のディジタルフィルタにおいて、各タップの係
数レジスタは多重化された信号に同期して対応する係数
データを順次乗算器に出力する。従って、各乗算器では
多重化された信号ごとに対応する係数データとの間で乗
算を行うことになる。
(Operation) In the FIR type digital filter, the coefficient register of each tap sequentially outputs corresponding coefficient data to the multiplier in synchronization with the multiplexed signal. Therefore, each multiplier multiplies each multiplexed signal with the corresponding coefficient data.

また、加算器から出力されるデータは遅延レジスタによ
シ多重化された信号の数と同じサイクルだけ遅延を受け
て次タップの加算器に入力される。
Furthermore, the data output from the adder is delayed by the same number of cycles as the number of signals multiplexed by the delay register, and then input to the adder of the next tap.

従って、各加算器は多重化された信号ごとに同種の信号
同士で加算を行うことになる。これにより、前記各乗算
器と加算器は多重化された各信号に共通に使用すること
ができ、多重化されていない信号のFIR型フィルタの
ハードウェアとほぼ同等の規模の回路を実現できる。
Therefore, each adder adds signals of the same type for each multiplexed signal. Thereby, each of the multipliers and adders can be used in common for each multiplexed signal, and it is possible to realize a circuit of approximately the same scale as the hardware of an FIR type filter for non-multiplexed signals.

(実施例) 第1図は本発明の実施例を示すブロック図であって、2
種類の信号が多重化された信号に対してFIRフィルタ
演算を行うものである。
(Embodiment) FIG. 1 is a block diagram showing an embodiment of the present invention.
The FIR filter operation is performed on a signal in which various types of signals are multiplexed.

第1図において、1は入力信号を入力する入力レジスタ
(IN)、2−1〜2−には各タップにおいて2種類の
タップ係数を格納している係数レジスタ、3−1〜3−
には各タップにおいて乗算を行う乗算器(MPY)、4
−2〜4−には各シップにおいて加算を行う加算器、5
−1〜5−には各タップにおいてデータを2サイクル遅
延させて出力する遅延レジスタ(但し、最終タップにお
ける遅延レジスタ5−には1サイクル遅延)である。
In FIG. 1, 1 is an input register (IN) that inputs an input signal, 2-1 to 2- are coefficient registers that store two types of tap coefficients for each tap, and 3-1 to 3- are coefficient registers that store two types of tap coefficients for each tap.
is a multiplier (MPY) that performs multiplication at each tap, 4
-2 to 4- are adders that perform addition in each ship, 5
-1 to 5- are delay registers for delaying data by two cycles at each tap and outputting the data (however, delay register 5- at the last tap is delayed by one cycle).

INIの出力は各タップのMPY 3−1〜3−にのデ
〒り入力に接続され、各タップの係数レジスタ2−1〜
2−にの出力は各MPY 3−1〜3−にの係数入力に
接続され、各MPY s −z −: s −kの出力
は各加算器4−2〜4−にの2つの入力のうちの一方の
入力に接続されている。但し、MPY 3−1の出力は
遅延レジスタ5−1の入力に接続されている。また、各
加算器4−2〜4−にの出力は各遅延レジスタ5−2〜
5−にの入力に接続され、各遅延レジスタ5−1〜5−
(k−2)の出力は次のタップの加算器4−2〜4−に
のもう一方の入力に接続されている。但し、最終タップ
の遅延レジスタ5−にの出力は出力端子に接続されてい
る。
The output of INI is connected to the input of MPY 3-1 to 3- of each tap, and the output of coefficient register 2-1 to 2-3 of each tap is connected to the input of MPY 3-1 to 3- of each tap.
The output of 2- is connected to the coefficient input of each MPY 3-1 to 3-, and the output of each MPY s-z-: s-k is connected to the two inputs of each adder 4-2 to 4-. connected to one of the inputs. However, the output of MPY 3-1 is connected to the input of delay register 5-1. In addition, the output to each adder 4-2 to 4- is output to each delay register 5-2 to
5-, each delay register 5-1 to 5-
The output of (k-2) is connected to the other input of the adder 4-2 to 4-4- of the next tap. However, the output of the final tap to the delay register 5- is connected to the output terminal.

また、各ステップにおける係数レジスタ2−1〜2−に
はMPY 3−1〜3− nに対し信号Aiが入力され
たときは係数HA i (HA1〜HAk)を出力し、
信号B、が入力されたとき係数)(Bi ()n31〜
HBk )を出力する。
Further, when the signal Ai is inputted to the MPY 3-1 to 3-n, the coefficient registers 2-1 to 2- in each step output coefficients HA i (HA1 to HAk),
When signal B is input, coefficient)(Bi()n31~
HBk).

次に、信号A1.Biが多重化された信号が入力される
場合における本実施例の動作について説明する。
Next, signal A1. The operation of this embodiment when a Bi multiplexed signal is input will be described.

〔1〕まず、信号A1が入力されると、1タツプ目のM
PY 3−1において入力データ(A1)が係数レジス
タ2−1の出力HAIで乗算され、その結果(HAI 
* A 1 )が1タツグ目の遅延レジスタ5−1の前
段に入力される。
[1] First, when signal A1 is input, the first tap M
In PY 3-1, the input data (A1) is multiplied by the output HAI of the coefficient register 2-1, and the result (HAI
*A 1 ) is input to the front stage of the first tag delay register 5-1.

〔2〕次に、信号B1が入力されると、1タツプ目のM
PY 3−1において入力データ(B1)が係数レジス
タ2−1の出力HBIで乗算され、その結果(HB1*
B1)が1タツプ目の遅延レジスタ5−−1の前段に入
力される。同時に、遅延レジスタ5−1の前段に格納さ
れていたデータ(HAI *Al)はその後段にシフト
される。
[2] Next, when signal B1 is input, the first tap M
In PY 3-1, the input data (B1) is multiplied by the output HBI of coefficient register 2-1, and the result (HB1*
B1) is input to the previous stage of the first tap delay register 5--1. At the same time, the data (HAI *Al) stored in the previous stage of the delay register 5-1 is shifted to the subsequent stage.

〔3〕次に、信号A2が入力されると、2タツプ目のM
PY 3−2において入力データ(A2)が係数レジス
タ2−2の出力HA2で乗算され、その結果(HA2 
* A 2 )が加算器4−2に入力され、前タップの
遅延レジスタ5−1の後段のデータ(IAI*A1)と
加算され、その結果(HAI *A 1 +HA2*A
2)が2タツプ目の遅延レジスタ5−2の前段に入力さ
れる。同時に、lタップ目の遅延レジスタ5−1の前段
に格納されていたデータ(HBl * B 1 )はそ
の後段にシフトされる。
[3] Next, when signal A2 is input, the second tap M
In PY 3-2, the input data (A2) is multiplied by the output HA2 of the coefficient register 2-2, and the result (HA2
*A 2 ) is input to the adder 4-2, and is added to the data (IAI*A1) at the subsequent stage of the delay register 5-1 of the previous tap, and the result is (HAI *A 1 +HA2*A
2) is input to the previous stage of the second tap delay register 5-2. At the same time, the data (HBl*B 1 ) stored in the previous stage of the l-th tap delay register 5-1 is shifted to the subsequent stage.

〔4〕次に、信号B2が入力されると、2タツグ目のM
PY 3−2において入力データ(B2)が係数レジス
タ2−2の出力HB2で乗算され、その結果(HB2*
B2)が加算器4−2に入力され、前タップの遅延レジ
スタ5−1の後段のデータ(HBff*B1)と加算さ
れ、その結果(HBI *B 1+HB2*B2)が2
タツプ目の遅延レジスタ5−2の前段に入力される。同
時に、遅延レジスタ5−2の前段に格納されていたデー
タ(HAI * A 1 + HA2 * A 2 )
はその後段にシフトされる。
[4] Next, when signal B2 is input, the second tag M
In PY 3-2, the input data (B2) is multiplied by the output HB2 of the coefficient register 2-2, and the result (HB2*
B2) is input to the adder 4-2, and is added with the data (HBff*B1) at the subsequent stage of the delay register 5-1 of the previous tap, and the result (HBI*B1+HB2*B2) is 2
It is input to the stage before the tap-th delay register 5-2. At the same time, the data stored in the previous stage of the delay register 5-2 (HAI * A 1 + HA2 * A 2 )
is shifted to the subsequent stage.

以上の動作を行っていくと、出力端子には信号AiとB
、のフィルタ処理された結果が交互に出力される。すな
わち、多重された状態で演算結果が出力される。
As the above operations are performed, the output terminals receive the signals Ai and B.
The filtered results of , are output alternately. That is, the calculation results are output in a multiplexed state.

(発明の効果) 以上、詳細に説明したように、本発明は、2種類の信号
が多重されているときの各々の信号に対しFIRフィル
タ演算をおこなう回路において、各タップにおhてデー
タの入力に同期して、2つの係数を交互に乗算−器の1
人力へ出力する係数レジスタと、加算器の出力を次タッ
プの加算器へ2サイクル遅延させて出力する遅延レジス
タとを設けたので、多重化されていない信号のFIR型
フィルタのハードウェアと同等の規模の回路を実現でき
る。
(Effects of the Invention) As described above in detail, the present invention provides a circuit that performs FIR filter operation on each signal when two types of signals are multiplexed, and the data is processed at each tap h. 1 of the multiplier alternately by two coefficients in synchronization with the input.
Since we have provided a coefficient register that outputs to human input and a delay register that delays the output of the adder by two cycles and outputs it to the next tap adder, it is equivalent to the hardware of an FIR type filter for non-multiplexed signals. It is possible to realize circuits of this scale.

尚、係数レジスタに格納できる係数の個数、及び遅延レ
ジスタの遅延量を増やすことにより、3個以上信号を多
重化した場合にも応用できる。
Note that by increasing the number of coefficients that can be stored in the coefficient register and the amount of delay in the delay register, the present invention can also be applied to a case where three or more signals are multiplexed.

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

第1図は本発明の実施例を示すブロック図、第2図は従
来のFIR型フィルタのブロック図、第3図は多重化信
号の説明図、第4図は従来の多重化信号のFIR型フィ
ルタのブロック図である。 1・・・入力レジスタ、2−1〜2− k−・・係数レ
ジスタ、3−1〜3−k・・・乗算器、4−2〜4−k
・・・加算器、5−1〜5−k・・・遅延レジスタ。
Fig. 1 is a block diagram showing an embodiment of the present invention, Fig. 2 is a block diagram of a conventional FIR type filter, Fig. 3 is an explanatory diagram of a multiplexed signal, and Fig. 4 is a conventional FIR type of multiplexed signal. FIG. 2 is a block diagram of a filter. 1... Input register, 2-1 to 2-k-... Coefficient register, 3-1 to 3-k... Multiplier, 4-2 to 4-k
...Adder, 5-1 to 5-k...Delay register.

Claims (1)

【特許請求の範囲】 複数の信号が多重化された入力信号に対し多重化された
信号ごとにFIRフィルタ演算を行うFIR型のディジ
タルフィルタにおいて、 多重化された信号と同数の係数データを格納し、前記信
号に同期して対応する係数データを出力する係数レジス
タと、 前記係数レジスタからの係数データと入力信号のデータ
とを乗算する乗算器と、 前記乗算器からのデータと前タップの遅延レジスタから
のデータとを加算する加算器と、前記加算器からのデー
タを多重化された信号の数と同じサイクル数だけ遅延さ
せる遅延レジスタと を各タップごとに設けたことを特徴とするディジタルフ
ィルタ。
[Claims] In an FIR type digital filter that performs FIR filter operation for each multiplexed signal on an input signal in which a plurality of signals are multiplexed, the same number of coefficient data as the multiplexed signals are stored. , a coefficient register that outputs corresponding coefficient data in synchronization with the signal; a multiplier that multiplies the coefficient data from the coefficient register by data of the input signal; and a delay register for the data from the multiplier and a previous tap. and a delay register for delaying the data from the adder by the same number of cycles as the number of multiplexed signals.
JP17647090A 1990-07-05 1990-07-05 Digital filter Pending JPH0468709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP17647090A JPH0468709A (en) 1990-07-05 1990-07-05 Digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP17647090A JPH0468709A (en) 1990-07-05 1990-07-05 Digital filter

Publications (1)

Publication Number Publication Date
JPH0468709A true JPH0468709A (en) 1992-03-04

Family

ID=16014243

Family Applications (1)

Application Number Title Priority Date Filing Date
JP17647090A Pending JPH0468709A (en) 1990-07-05 1990-07-05 Digital filter

Country Status (1)

Country Link
JP (1) JPH0468709A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012157066A (en) * 2006-02-09 2012-08-16 Altera Corp Specialized processing block for programmable logic device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012157066A (en) * 2006-02-09 2012-08-16 Altera Corp Specialized processing block for programmable logic device

Similar Documents

Publication Publication Date Title
EP0344326B1 (en) Fir digital filter device
US5297071A (en) Arithmetic circuit, and adaptive filter and echo canceler using it
JPH06188686A (en) Dynamic adaptability equalizer system and method
US6279020B1 (en) Programmable circuit for realizing a digital filter
US3912917A (en) Digital filter
US5477479A (en) Multiplying system having multi-stages for processing a digital signal based on the Booth's algorithm
JPH0468709A (en) Digital filter
JPH05327409A (en) Rate conversion method and its conversion circuit
JPH0834407B2 (en) Input weighted transversal filter
JPS58162120A (en) Transversal filter
US6944217B1 (en) Interleaved finite impulse response filter
KR100227074B1 (en) Multiply and accumulator for fir filtering
US6324222B1 (en) Digital receiver with polyphase structure
JP2527019B2 (en) Non-cyclic interpolation filter
JP2001092810A (en) Complex multiplier and complex correlator
JPH0438005A (en) Digital signal processing circuit
JPH01293007A (en) Noncyclic down-sampling filter
JP3801368B2 (en) Digital transversal filter
JP2004128858A (en) Fir digital filter
JPS62262509A (en) Digital filter circuit
JPH0993083A (en) Input weighted transversal filter
JPH0447454A (en) Method and device for discrete fourier transformation or cosine transformation of digital data
JPS6363944B2 (en)
JPH06112769A (en) Digital filter
JPH03263910A (en) Iir filter