JPH0715283A - Digital filter - Google Patents

Digital filter

Info

Publication number
JPH0715283A
JPH0715283A JP15656493A JP15656493A JPH0715283A JP H0715283 A JPH0715283 A JP H0715283A JP 15656493 A JP15656493 A JP 15656493A JP 15656493 A JP15656493 A JP 15656493A JP H0715283 A JPH0715283 A JP H0715283A
Authority
JP
Japan
Prior art keywords
bits
signal
multiplier
order bit
order
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
JP15656493A
Other languages
Japanese (ja)
Inventor
Junichi Orihara
旬一 折原
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.)
JFE Steel Corp
Original Assignee
Kawasaki Steel Corp
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 Kawasaki Steel Corp filed Critical Kawasaki Steel Corp
Priority to JP15656493A priority Critical patent/JPH0715283A/en
Publication of JPH0715283A publication Critical patent/JPH0715283A/en
Pending legal-status Critical Current

Links

Landscapes

  • Filters That Use Time-Delay Elements (AREA)

Abstract

PURPOSE:To enlarge an applied range with simple configuration by providing a multiplier for the high-order bit of a coefficient, delay element and signal switching means for switching the connection of them, and providing an output signal for which the main part of the coefficient is calculated by the multiplier for high-order bit corresponding to the selection of the signal selecting means. CONSTITUTION:For example, the coefficient to be dealt with the low-order coefficient of 6 bits is set to multipliers ML1-MLn for low-order bit and when it can not be dealt with by the multiplier for 6 bits, the high-order coefficient is set to multipliers MH1-MHm for high-order bit and connected with a desired tap. When a number (n) of taps is 512 and a number (m) of multipliers for high-order bit is 64, concerning digit matching at an adder A, a final step output (a) of an adder for high-order bit is 19 bits adding 6 bits corresponding to the number of multipliers for high-order bit to 8 bits + 5 bits =13 bits outputted from the multiplier for high-order bit and a final step output (b) of an adder for low-order bit is 23 bits adding 9 bits to the 8 bits + 6 bits = 14 bits but a filter output C is 24 bits finally.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、複数の遅延素子を用い
て、異なる遅延時間の複数の遅延信号が、それぞれの遅
延信号の信号レベルを異ならせて合成された出力信号を
得るためのデジタルフィルタに係り、特に、少ないハー
ドウェアで、適用範囲が広いデジタルフィルタに関する
ものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention uses a plurality of delay elements to obtain a digital signal for obtaining a combined output signal of a plurality of delay signals having different delay times by varying the signal levels of the respective delay signals. The present invention relates to a filter, and in particular, to a digital filter with a small hardware and a wide range of application.

【0002】[0002]

【従来の技術】ゴーストキャンセラに用いるのに好適
な、有限インパルス応答(Finite Impulse Respons
e ,FIR)フィルタとして、出願人は特開昭5−14
130で、図1に示すようなFIRフィルタを提案して
いる。
2. Description of the Related Art Finite Impulse Respons suitable for use in a ghost canceller.
(e, FIR) filter is disclosed by the applicant in JP-A-5-14.
At 130, an FIR filter as shown in FIG. 1 is proposed.

【0003】図1において、合計 n−1個の遅延素子D
1 〜Dn-1 は直列接続され、各接続部分には、様々な遅
延時間の遅延信号を得るための合計 n個のタップT1 〜
Tnを備えている。
In FIG. 1, a total of n-1 delay elements D are provided.
1 to Dn-1 are connected in series, and a total of n taps T1 to T1 to obtain delay signals of various delay times are provided at each connection portion.
It has Tn.

【0004】一方、このフィルタの出力側には、前記タ
ップの数n より少数のm ( m< n)個の乗算器M1 〜M
m が設けられている。この乗算器M1 〜Mm としては、
例えばデータが8ビットで係数が10ビットの時は、8
×10ビットのものが使用されている。この乗算器M1
〜Mm の出力は、加算器A1 〜Am-1 で順次加算され
て、FIRフィルタの出力となる。
On the other hand, on the output side of this filter, there are m (m <n) number of multipliers M1 to M smaller than the number n of taps.
m is provided. As the multipliers M1 to Mm,
For example, if the data is 8 bits and the coefficient is 10 bits,
× 10 bits are used. This multiplier M1
The outputs from .about.Mm are sequentially added by the adders A1 to Am-1 and become the output of the FIR filter.

【0005】前記タップと乗算器の間にはスイッチマト
リックスSが設けられており、各タップと乗算器の接続
を定義できるようになっている。
A switch matrix S is provided between the taps and the multiplier so that the connection between each tap and the multiplier can be defined.

【0006】このFIRフィルタは、例えばゴーストキ
ャンセラやエコーキャンセラに使用される場合、図2に
示す如くタップ(遅延時間)に対応する係数値のうち、
零の部分が多いことに着目して考案されたもので、遅延
素子の数に比べて少ない数の乗算器でも、遅延時間や信
号レベルを幅広く選択して、出力信号を合成することが
できるという特徴を有する。
When this FIR filter is used in, for example, a ghost canceller or an echo canceller, among the coefficient values corresponding to the tap (delay time) as shown in FIG.
It was devised by paying attention to the fact that there are many zeros. Even with a smaller number of multipliers than the number of delay elements, a wide range of delay times and signal levels can be selected to synthesize output signals. It has characteristics.

【0007】このFIRフィルタ10は、例えばゴース
トキャンセラの場合、図3に示す如く、帰還ループに設
けられ、全体として無限インパルス応答(Infinite I
mpulse Response, IIR)フィルタとして使われる
ことが多い。
In the case of a ghost canceller, for example, the FIR filter 10 is provided in a feedback loop as shown in FIG. 3, and has an infinite impulse response (Infinite I) as a whole.
mpulse Response (IIR) filter is often used.

【0008】[0008]

【発明が解決しようとする課題】しかしながら、通常I
IRフィルタの前段に設けられるFIRフィルタによっ
て新たに小さなゴースト(孫ゴースト)を発生させてし
まった場合など、図4に示す如く、全体にノイズが乗っ
ており、大きな係数に加えて、全体に小さな係数が必要
な場合や、波形等化やフィルタリング等の一般の応用に
際して、図5に示す如く、全体に係数が必要な場合に
は、対応できない場合があるという問題点を有してい
た。
However, in general I
As shown in FIG. 4, when a small ghost (grandchild ghost) is newly generated by the FIR filter provided in the preceding stage of the IR filter, as shown in FIG. As shown in FIG. 5, when a coefficient is required or in general application such as waveform equalization or filtering, there is a problem that it may not be possible to cope with the case where the coefficient is required as a whole.

【0009】本発明は、前記従来の問題点を解消するべ
くなされたもので、少ないハードウェアで、適用範囲が
広いデジタルフィルタを提供することを目的とする。
The present invention has been made to solve the above-mentioned conventional problems, and an object of the present invention is to provide a digital filter having a wide range of application with a small amount of hardware.

【0010】[0010]

【課題を解決するための手段】本発明は、複数の遅延素
子を用いて、異なる遅延時間の複数の遅延信号が、それ
ぞれの遅延信号の信号レベルを異ならせて合成された出
力信号を得るためのディジタルフィルタにおいて、前記
遅延素子の全てに対応して、入力信号レベルを所望の信
号レベルに変換可能な、係数下位ビット用の複数の乗算
器と、前記遅延素子の一部に対応して、入力信号レベル
を所望の信号レベルに変換可能な、係数上位ビット用の
複数の乗算器と、前記一部の遅延素子と該上位ビット用
乗算器との接続を切替え選択する信号選択手段と、前記
下位ビット用乗算器による演算結果と、前記上位ビット
用乗算器による演算結果を合成する手段とを備え、前記
信号選択手段の切替え選択により、係数の主要部が前記
上位ビット用乗算器で演算された出力信号を得るように
して、前記課題を達成したものである。
According to the present invention, a plurality of delay elements are used to obtain an output signal in which a plurality of delay signals having different delay times are combined with different signal levels of the respective delay signals. In the digital filter of, corresponding to all of the delay elements, a plurality of multipliers for coefficient lower-order bits capable of converting the input signal level to a desired signal level, and corresponding to a part of the delay elements, A plurality of multipliers for coefficient high-order bits capable of converting an input signal level to a desired signal level; signal selection means for switching and selecting connection between the partial delay elements and the high-order bit multipliers; A means for synthesizing an operation result by the lower-order bit multiplier and an operation result by the higher-order bit multiplier is provided, and the main part of the coefficient is multiplied by the upper-order bit by switching selection of the signal selecting means. In so as to obtain a computed output signal is obtained by achieving the above objects.

【0011】又、前記複数の遅延素子が直列接続され、
各接続部分にそれぞれの遅延時間の遅延信号を得るため
のタップを備えている場合に、前記下位ビット用乗算器
のそれぞれの出力を加算器で加算して、ディジタルフィ
ルタの出力信号とし、前記信号選択手段が、前記複数の
タップと前記上位ビット用乗算器の入力との接続を切替
え選択するようにしたものである。
The plurality of delay elements are connected in series,
When each connection portion is provided with a tap for obtaining a delay signal of each delay time, each output of the lower-order bit multiplier is added by an adder to obtain an output signal of the digital filter, and the signal The selecting means switches and selects the connection between the plurality of taps and the input of the higher-order bit multiplier.

【0012】又、前記信号選択手段を、前記複数のタッ
プと前記上位ビット用乗算器の入力との間毎に設け、対
応するタップを対応する上位ビット用乗算器の入力側へ
オンとするかオフとするか切替えるスイッチと、該スイ
ッチの上位ビット用乗算器側の信号と他の信号選択手段
の出力との加算を行う加算器とを有し、1つの上位ビッ
ト用乗算器の入力に対して複数の信号選択手段の前記ス
イッチがオンとなった場合には、これら信号選択手段に
対応するタップからの信号を加算して、該上位ビット用
乗算器に入力するようにしたものである。
Whether the signal selecting means is provided between each of the plurality of taps and the input of the higher-order bit multiplier, and the corresponding tap is turned on to the input side of the corresponding higher-order bit multiplier. A switch for turning off or switching, and an adder for adding a signal on the side of the higher-order bit multiplier of the switch and an output of another signal selection means are provided, and an input for one higher-order bit multiplier is provided. When the switches of the plurality of signal selecting means are turned on, the signals from the taps corresponding to these signal selecting means are added and input to the high-order bit multiplier.

【0013】又、前記上位ビット用乗算器のそれぞれ
に、ディジタルフィルタの入力信号が入力され、前記複
数の遅延素子が、前記下位ビット用乗算器出力を注入
し、合成するための複数の加算器と共に、交互に直列接
続されている場合に、前記信号選択手段が、前記上位ビ
ット用乗算器の出力と、前記加算器のうちの1つの入力
との間を、切替え選択するようにしたものである。
Further, an input signal of the digital filter is input to each of the upper-order bit multipliers, and the plurality of delay elements injects the lower-order bit multiplier outputs and synthesizes the plurality of adders. In addition, the signal selecting means switches and selects between the output of the higher-order bit multiplier and one input of the adder when they are alternately connected in series. is there.

【0014】更に、前記遅延素子の一部に対応して、入
力信号レベルを所望の信号レベルに変換可能な、前記下
位ビット用乗算器より少数の、係数中位ビット用の複数
の乗算器と、前記一部の遅延素子と該中位ビット用乗算
器との接続を切替え選択する、中位ビット用の信号選択
手段と、前記下位ビット用乗算器、中位ビット用乗算器
及び上位ビット用乗算器による演算結果を合成する手段
とを備えることにより、同じく前記目的を達成したもの
である。
Further, a plurality of multipliers for medium-order coefficient bits, which are smaller in number than the multipliers for lower bits and capable of converting the input signal level to a desired signal level, corresponding to some of the delay elements. , A signal selecting means for the middle order bit, which switches and selects a connection between the partial delay element and the middle order bit multiplier, the lower order bit multiplier, the middle order bit multiplier and the upper order bit The above-mentioned object is also achieved by including means for synthesizing the calculation result by the multiplier.

【0015】[0015]

【作用】本発明は、デジタルフィルタのいずれの応用に
おいても、大きな係数が必要なタップの数は少ないこ
と、及び、多くの応用では、入力した信号のパワーに対
して、出力信号のパワーが大きくなることはないので、
各係数をCi 、最大値を1とすると、次式に示す如く、
各係数の和、又は、各係数の絶対値の和は1以下である
ことに着目してなされたものである。
According to the present invention, in any application of the digital filter, the number of taps requiring a large coefficient is small, and in many applications, the power of the output signal is larger than the power of the input signal. It will never happen, so
Assuming that each coefficient is Ci and the maximum value is 1, as shown in the following equation,
This is done by paying attention to the fact that the sum of the coefficients or the sum of the absolute values of the coefficients is 1 or less.

【0016】[0016]

【数1】 [Equation 1]

【0017】即ち本発明においては、乗算器を、例えば
上位ビット用と下位ビット用の2段に分割し、下位ビッ
ト用乗算器は、全タップに接続し、上位ビット用乗算器
のみ、スイッチマトリックスのような信号選択手段によ
り、必要なタップに接続する。
That is, according to the present invention, the multiplier is divided into, for example, two stages for upper bits and lower bits, the lower bit multipliers are connected to all taps, and only the upper bit multipliers and the switch matrix are connected. Connect to the required taps by signal selection means such as.

【0018】なお、図1に示した従来例に比べて、下位
ビット用乗算器の分だけハードウェアが増加するが、上
位ビット用乗算器は、ビット数が約半分で良くなるた
め、その1個当りのハードウェアは半分になり、しかも
大半の係数計算は下位ビット用乗算器で足りるため、上
位ビット用乗算器の数は従来技術より少なくて済む。更
に、スイッチマトリックスのハードウェアも上位ビット
用乗算器にのみ接続すればよいため少なくなる。
It should be noted that, compared with the conventional example shown in FIG. 1, the hardware is increased by the amount of the lower bit multiplier, but the upper bit multiplier is about half the number of bits. The number of hardware for each bit is halved, and most of the coefficient calculations are performed by the multiplier for the lower bit, so that the number of multipliers for the upper bit is smaller than that of the prior art. Furthermore, the hardware of the switch matrix is reduced because it is necessary to connect only the multiplier for the high-order bit.

【0019】なお乗算器の分割数は、上位ビット用と下
位ビット用の2段に限定されず、上位ビット用と下位ビ
ット用の間に1段以上の中位ビット用乗算器を設け、乗
算器を3段以上に分割してもよい。
The number of divisions of the multiplier is not limited to two stages, one for upper bits and the other for lower bits. One or more stages of multipliers for middle bits are provided between the upper bits and the lower bits to perform multiplication. The vessel may be divided into three or more stages.

【0020】[0020]

【実施例】以下、図面を参照して、本発明の実施例を詳
細に説明する。
Embodiments of the present invention will now be described in detail with reference to the drawings.

【0021】本発明の第1実施例は、図6に示す如く、
入力された信号を遅延させる、互いに直列接続された n
−1個の遅延素子D1 〜Dn-1 と、各遅延素子の前後
で、遅延時間の異なる信号を取出す n個のタップT1 〜
Tn と、全タップに接続された、係数の下位ビットに対
するフィルタ出力を演算するための下位ビット用乗算器
ML1 〜MLn と、各下位ビット用乗算器の出力を順次
加算する下位ビット用加算器AL1 〜ALn-1 と、係数
の上位ビットに対するフィルタ出力を演算するための、
前記下位ビット用乗算器よりも少数の上位ビット用乗算
器MH1 〜MHm( m<n )と、各上位ビット用乗算器
を所望のタップに接続するためのスイッチマトリックス
SMと、上位ビット用乗算器の出力を順次加算するため
の上位ビット用加算器AH1 〜AHm-1 と、該上位ビッ
ト用加算器の最終段(AHm-1 )出力a と前記下位ビッ
ト用加算器の最終段(ALn-1 )出力b を合成してフィ
ルタ出力c とするための加算器Aとから構成されてい
る。
The first embodiment of the present invention is as shown in FIG.
N in series with each other, delaying the input signal
-1 delay elements D1 to Dn-1 and n taps T1 to extract signals with different delay times before and after each delay element
Tn, lower bit multipliers ML1 to MLn connected to all taps for calculating the filter output for the lower bit of the coefficient, and lower bit adder AL1 for sequentially adding the output of each lower bit multiplier ~ ALn-1 and the filter output for the upper bits of the coefficient,
A smaller number of upper bit multipliers MH1 to MHm (m <n) than the lower bit multipliers, a switch matrix SM for connecting each upper bit multiplier to a desired tap, and an upper bit multiplier High-order bit adders AH1 to AHm-1 for sequentially adding the outputs, the final-stage (AHm-1) output a of the high-order bit adder, and the last-stage (ALn-1) of the low-order bit adder. ) Adder A for synthesizing output b into filter output c.

【0022】例えばデータが8ビットで、元の係数が1
0ビットの場合、図7に示す如く、サインビットSを含
めて、上位係数は5ビット、下位係数は6ビットに分割
し、上位ビット用乗算器は8×5ビット、下位ビット用
乗算器は8×6ビットとすることができる。ここで、下
位係数にサインビットを設けているのは、係数が2の補
数で表わされているためである。
For example, the data is 8 bits and the original coefficient is 1.
In the case of 0 bit, as shown in FIG. 7, the upper coefficient including the sign bit S is divided into 5 bits, the lower coefficient is divided into 6 bits, the upper bit multiplier is 8 × 5 bits, and the lower bit multiplier is It can be 8 × 6 bits. Here, the sign bit is provided to the lower coefficient because the coefficient is represented by a two's complement.

【0023】前記スイッチマトリックスSMの具体的な
構成としては、例えば出願人が特開平5−14130で
提案した構成のものを用いることができる。
As a concrete structure of the switch matrix SM, for example, the structure proposed by the applicant in JP-A-5-14130 can be used.

【0024】以下第1実施例の作用を説明する。The operation of the first embodiment will be described below.

【0025】フィルタの使用に際しては、前出図4又は
図5に示すような係数の分布に応じて、例えば6ビット
とされた下位係数のみで対応可能な係数に関しては、下
位ビット用乗算器ML1 〜MLn に、それぞれ設定す
る。一方、係数値が比較的大きく、前記6ビットの下位
ビット用乗算器では対応しきれない場合には、例えば5
ビットとされた上位係数を前記上位ビット用乗算器MH
1 〜MHm に設定し、所望の遅延時間が得られるよう
に、スイッチマトリックスSMにより所望のタップと接
続する。
In using the filter, according to the coefficient distribution as shown in FIG. 4 or 5, the lower bit multiplier ML1 is used for the coefficient that can be handled only by the lower coefficient of 6 bits, for example. To MLn, respectively. On the other hand, when the coefficient value is relatively large and cannot be handled by the 6-bit lower bit multiplier, for example, 5
The high-order coefficient that has been made into bits is the multiplier MH for the high-order bits.
It is set to 1 to MHm and is connected to a desired tap by the switch matrix SM so that a desired delay time can be obtained.

【0026】前記加算器Aにおける加算時の桁合せは、
例えば図8に示すように行われる。即ち、例えばタップ
数 n=512、上位ビット用乗算器数 m=64の場合、
上位ビット用加算器の最終段(AHm-1 )出力a は、図
8に示す如く、上位ビット用乗算器出力の8ビット+5
ビツト=13ビットに、上位ビット用乗算器数(64
個)に対応する6ビットを加えた19ビットとなるの
で、これを上位に対応させるべく、左へ5ビットシフト
する。一方、下位ビット用加算器の最終段(ALn-1 )
出力b は、下位ビット用乗算器出力の8ビット+6ビッ
ト=14ビットに、下位ビット用乗算器数(=タップ数
512個)に対応する9ビットを加えた23ビットとな
るが、サインビット分を拡張する。最終的に加算器A出
力のフィルタ出力c は、サインビットSを含み24ビッ
トとなる。
The digit alignment at the time of addition in the adder A is
For example, it is performed as shown in FIG. That is, for example, when the number of taps n = 512 and the number of multipliers for upper bits m = 64,
The output a of the final stage (AHm-1) of the high-order bit adder is 8 bits + 5 of the high-order bit multiplier output, as shown in FIG.
Bit = 13 bits, the number of multipliers for upper bits (64
Since it becomes 19 bits by adding 6 bits corresponding to (number), it is shifted to the left by 5 bits in order to correspond to the higher order. On the other hand, the final stage of the low-order bit adder (ALn-1)
The output b is 23 bits obtained by adding 9 bits corresponding to the number of lower bit multipliers (= 512 taps) to the 8 bits + 6 bits = 14 bits of the lower bit multiplier output, To extend. Finally, the filter output c of the output of the adder A is 24 bits including the sign bit S.

【0027】次に、本発明の第2実施例を詳細に説明す
る。
Next, the second embodiment of the present invention will be described in detail.

【0028】この第2実施例は、前記第1実施例のスイ
ッチマトリックスSMを、図9に示す如く、各スイッチ
の交点毎に加算器a が設けられた加算器マトリックスA
Mで置換えたものである。
In the second embodiment, as shown in FIG. 9, the switch matrix SM of the first embodiment is provided with an adder matrix A in which an adder a is provided at each intersection of each switch.
It is replaced with M.

【0029】この実施例によれば、異なるタップT1 〜
Tn の出力を加算器マトリックスAM内の加算器a で加
算して、対応する上位ビット用乗算器MH1 〜MHm に
出力することができるので、同じ係数が割当てられるタ
ップが複数ある場合には、当該係数に使用される上位ビ
ット用乗算器の数を削減することができ、全体として上
位ビット用乗算器の数を減らすことが可能である。
According to this embodiment, different taps T1 ...
Since the output of Tn can be added by the adder a in the adder matrix AM and output to the corresponding high-order bit multipliers MH1 to MHm, if there are multiple taps to which the same coefficient is assigned, It is possible to reduce the number of high-order bit multipliers used for the coefficients, and it is possible to reduce the number of high-order bit multipliers as a whole.

【0030】他の点については、前記第1実施例と同様
であるので、説明は省略する。
Since the other points are the same as those of the first embodiment, the description thereof will be omitted.

【0031】前記実施例においては、いずれも、上位ビ
ット用乗算器の出力と下位ビット用乗算器の出力を最後
にまとめて加算するようにしていたので、加算時の桁合
せが1回で済み、演算が比較的簡略である。
In each of the above-mentioned embodiments, the output of the high-order bit multiplier and the output of the low-order bit multiplier are added together at the end, so that only one digit alignment is required at the time of addition. The calculation is relatively simple.

【0032】次に、図10を参照して、本発明の第3実
施例を詳細に説明する。
Next, a third embodiment of the present invention will be described in detail with reference to FIG.

【0033】この第3実施例は、第1実施例の転置型に
相当する。この実施例においては、上位ビット用乗算器
MH1 〜MHm 及び下位ビット用乗算器ML1 〜MLn
が、いずれも入力に直結され、下位ビット用乗算器ML
1 〜MLn の出力と、スイッチマトリックスSMを経由
した上位ビット用乗算器MH1 〜MHm の出力が、加算
器A1 〜An で加算された後に、各遅延素子D1 〜Dn-
1 に入力され、各遅延素子D1 〜Dn-1 の出力を、順次
加算して出力とするようにしたものである。
The third embodiment corresponds to the transposed type of the first embodiment. In this embodiment, the upper bit multipliers MH1 to MHm and the lower bit multipliers ML1 to MLn are used.
Are both directly connected to the input, and the lower bit multiplier ML
The outputs of 1 to MLn and the outputs of the high-order bit multipliers MH1 to MHm via the switch matrix SM are added by the adders A1 to An, and then the delay elements D1 to Dn- are added.
The output of each delay element D1 to Dn-1 input to 1 is sequentially added to produce an output.

【0034】前記スイッチマトリックスSMの設定方法
等は、前記第1実施例と同様であるので、説明は省略す
る。
Since the setting method of the switch matrix SM and the like are the same as those in the first embodiment, the description thereof will be omitted.

【0035】本実施例においては、図11に示す如く、
各段の加算器で桁合せを行い、加算するにつれて、ビッ
ト数を順次増やし、それに合せてサインビットSの拡張
も行う。
In this embodiment, as shown in FIG.
Digit matching is performed by the adder of each stage, and the number of bits is sequentially increased as the addition is performed, and the sign bit S is also expanded accordingly.

【0036】即ち、1段目の加算器A1 では、スイッチ
マトリックスSMの出力端子1から出力される8ビット
+5ビット=13ビットの上位信号と、下位ビット用乗
算器ML1 から出力される8ビット+6ビット=14ビ
ットの下位信号を加算し、18ビットの和信号を遅延素
子D1 に出力する。
That is, in the first-stage adder A1, an upper signal of 8 bits + 5 bits = 13 bits output from the output terminal 1 of the switch matrix SM and an 8 bit + 6 output from the lower bit multiplier ML1. The lower signal of bit = 14 bits is added, and the sum signal of 18 bits is output to the delay element D1.

【0037】次に2段目の加算器A2 では、スイッチマ
トリックスSMの出力端子2から出力される13ビット
の上位信号と、下位ビット用乗算器ML2 から出力され
る14ビットの下位信号と、前後の遅延素子D1 の出力
を加算し、19ビットとなったその和信号を、次段の遅
延素子D2 に出力する。
Next, in the second-stage adder A2, the 13-bit upper signal output from the output terminal 2 of the switch matrix SM, the 14-bit lower signal output from the lower bit multiplier ML2, The output of the delay element D1 is added and the sum signal of 19 bits is output to the delay element D2 of the next stage.

【0038】以下、この桁合せを繰返して、最終的に
は、最終段の加算器An から、例えばn=512、 m=
64のときは24ビットの信号が出力される。
After that, this digit alignment is repeated until finally, for example, n = 512, m = from the adder An at the final stage.
When it is 64, a 24-bit signal is output.

【0039】本実施例によれば、加算器の数が少なくて
良い。
According to this embodiment, the number of adders may be small.

【0040】なお、前記実施例においては、いずれも乗
算器が上位ビット用と下位ビット用の2段に分割されて
いたが、乗算器の分割数は、これに限定されず、例えば
図12に示す第4実施例の如く、上位ビット用と下位ビ
ット用の間に1段(第4実施例の場合)又は2段以上の
中位ビット用乗算器MM1 〜MMp ( p<n )を設け
て、更に分割することも可能である。
In each of the above embodiments, the multiplier is divided into two stages, one for the upper bits and the other for the lower bits. However, the number of divisions of the multiplier is not limited to this, for example, as shown in FIG. As in the fourth embodiment shown, one stage (in the case of the fourth embodiment) or two or more stages of intermediate-order bit multipliers MM1 to MMp (p <n) are provided between the upper bits and the lower bits. , Can be further divided.

【0041】図12において、SMm は、中位ビット用
スイッチマトリックス、AM1 〜AMp-1 は、中位ビッ
ト用加算器、amは、該中位ビット用加算器の最終段(A
Mp-1 )出力である。
In FIG. 12, SMm is a switch matrix for medium bits, AM1 to AMp-1 are adders for medium bits, and am is the final stage (A of the adders for medium bits).
Mp-1) output.

【0042】前記実施例においては、本発明が、いずれ
もゴーストキャンセラに適用されていたが、本発明の適
用範囲はこれに限定されず、エコーキャンセラ、波形等
化フィルタリング等、他の一般の用途にも適用できるこ
とは明らかである。
In the above embodiments, the present invention was applied to the ghost canceller, but the scope of application of the present invention is not limited to this, and other general applications such as echo canceller, waveform equalization filtering, etc. It is clear that it can also be applied to.

【0043】[0043]

【発明の効果】以上説明したとおり、本発明によれば、
適用範囲が広いデジタルフィルタを少ないハードウェア
で構成することができ、コストダウン及び消費電力の低
下を図ることができるという優れた効果を有する。
As described above, according to the present invention,
A digital filter having a wide range of application can be configured with a small amount of hardware, which has an excellent effect of cost reduction and power consumption reduction.

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

【図1】出願人が特開平5−14130で提案した従来
のデジタルフィルタの構成を示すブロック線図
FIG. 1 is a block diagram showing a configuration of a conventional digital filter proposed by the applicant in JP-A-5-14130.

【図2】前記従来例を用いるに適したタップ係数の分布
を示す線図
FIG. 2 is a diagram showing a distribution of tap coefficients suitable for using the conventional example.

【図3】前記従来例のゴーストキャンセラへの使用状況
を説明するためのブロック線図
FIG. 3 is a block diagram for explaining a usage state of the conventional ghost canceller.

【図4】全体にノイズが載っているタップ係数の例を示
す線図
FIG. 4 is a diagram showing an example of tap coefficients with noise on the whole.

【図5】全体に係数が付いている一般の応用の場合のタ
ップ係数の例を示す線図
FIG. 5 is a diagram showing an example of tap coefficients in the case of a general application in which all coefficients are attached.

【図6】本発明の第1実施例の構成を示すブロック線図FIG. 6 is a block diagram showing the configuration of the first embodiment of the present invention.

【図7】第1実施例における係数の分割方法を示す線図FIG. 7 is a diagram showing a coefficient dividing method in the first embodiment.

【図8】同じく加算時の桁合せ方法を示す線図FIG. 8 is a diagram showing a method of aligning digits during addition as well.

【図9】本発明の第2実施例で用いられる加算器マトリ
ックスの例を示す線図
FIG. 9 is a diagram showing an example of an adder matrix used in the second embodiment of the present invention.

【図10】本発明の第3実施例の構成を示すブロック線
FIG. 10 is a block diagram showing a configuration of a third embodiment of the present invention.

【図11】第3実施例における各段の加算器での桁合せ
を示す線図
FIG. 11 is a diagram showing digit alignment in an adder of each stage in the third embodiment.

【図12】本発明の第4実施例の構成を示すブロック線
FIG. 12 is a block diagram showing a configuration of a fourth embodiment of the present invention.

【符号の説明】[Explanation of symbols]

D1 〜Dn-1 …遅延素子 T1 〜Tn …タップ SM、SMm …スイッチマトリックス ML1 〜MLn …下位ビット用乗算器 AL1 〜ALn-1 …下位ビット用加算器 MH1 〜MHm …上位ビット用乗算器 AH1 〜AHm-1 …上位ビット用加算器 A、a 、A1 〜An …加算器 AM…加算器マトリックス MM1 〜MMp …中位ビット用乗算器 AM1 〜AMp-1 …中位ビット用加算器 D1 to Dn-1 ... Delay element T1 to Tn ... Tap SM, SMm ... Switch matrix ML1 to MLn ... Lower bit multiplier AL1 to ALn-1 ... Lower bit adder MH1 to MHm ... Upper bit multiplier AH1 to AHm-1 ... Adder for upper bits A, a, A1 to An ... Adder AM ... Adder matrix MM1 to MMp ... Multiplier for middle order bits AM1 to AMp-1 ... Adder for middle order bits

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】複数の遅延素子を用いて、異なる遅延時間
の複数の遅延信号が、それぞれの遅延信号の信号レベル
を異ならせて合成された出力信号を得るためのディジタ
ルフィルタにおいて、 前記遅延素子の全てに対応して、入力信号レベルを所望
の信号レベルに変換可能な、係数下位ビット用の複数の
乗算器と、 前記遅延素子の一部に対応して、入力信号レベルを所望
の信号レベルに変換可能な、係数上位ビット用の複数の
乗算器と、 前記一部の遅延素子と該上位ビット用乗算器との接続を
切替え選択する信号選択手段と、 前記下位ビット用乗算器による演算結果と、前記上位ビ
ット用乗算器による演算結果を合成する手段とを備え、 前記信号選択手段の切替え選択により、係数の主要部が
前記上位ビット用乗算器で演算された出力信号を得るこ
とを特徴とするディジタルフィルタ。
1. A digital filter for using a plurality of delay elements, wherein a plurality of delay signals having different delay times are combined by varying the signal levels of the respective delay signals to obtain an output signal. Corresponding to all of the above, a plurality of multipliers for lower coefficient bits capable of converting the input signal level to a desired signal level, and corresponding to a part of the delay element, the input signal level to a desired signal level. A plurality of multipliers for coefficient high-order bits, signal selection means for switching and selecting connection between the some delay elements and the high-order bit multipliers, operation results by the low-order bit multipliers And a means for synthesizing the operation result by the high-order bit multiplier, the output signal in which the main part of the coefficient is operated by the high-order bit multiplier by switching selection of the signal selecting means. Digital filter, characterized in that to obtain.
【請求項2】請求項1において、 前記複数の遅延素子が直列接続され、各接続部分にそれ
ぞれの遅延時間の遅延信号を得るためのタップを備え、 前記下位ビット用乗算器のそれぞれの出力が加算器で加
算されて、ディジタルフィルタの出力信号とされ、 前記信号選択手段が、前記複数のタップと前記上位ビッ
ト用乗算器の入力との接続を切替え選択することを特徴
とするディジタルフィルタ。
2. The plurality of delay elements are connected in series, each connection portion is provided with a tap for obtaining a delay signal of each delay time, and each output of the lower bit multiplier is A digital filter, which is added by an adder to be an output signal of a digital filter, and wherein the signal selecting means switches and selects a connection between the plurality of taps and an input of the multiplier for upper bits.
【請求項3】請求項2において、 前記信号選択手段が、前記複数のタップと前記上位ビッ
ト用乗算器の入力との間毎に設けられ、対応するタップ
を対応する上位ビット用乗算器の入力側へオンとするか
オフとするか切替えるスイッチと、該スイッチの上位ビ
ット用乗算器側の信号と他の信号選択手段の出力との加
算を行う加算器とを有し、 1つの上位ビット用乗算器の入力に対して複数の信号選
択手段の前記スイッチがオンとなった場合には、これら
信号選択手段に対応するタップからの信号が加算され、
該上位ビット用乗算器に入力されることを特徴とするデ
ィジタルフィルタ。
3. The signal selection means according to claim 2, wherein the signal selection means is provided between each of the plurality of taps and the input of the higher-order bit multiplier, and the corresponding tap is input to the corresponding higher-order bit multiplier. A switch for turning on or off to the side, and an adder for adding the signal on the higher bit multiplier side of the switch and the output of another signal selection means, and for one high bit When the switches of the plurality of signal selecting means are turned on with respect to the input of the multiplier, the signals from the taps corresponding to these signal selecting means are added,
A digital filter which is input to the multiplier for upper bits.
【請求項4】請求項1において、 前記上位ビット用乗算器のそれぞれに、ディジタルフィ
ルタの入力信号が入力され、 前記複数の遅延素子が、前記下位ビット用乗算器出力を
注入し、合成するための複数の加算器と共に、交互に直
列接続され、 前記信号選択手段が、前記上位ビット用乗算器の出力
と、前記加算器のうちの1つの入力との間を、切替え選
択することを特徴とするディジタルフィルタ。
4. The input signal of a digital filter is input to each of the higher-order bit multipliers, and the plurality of delay elements injects and combines the lower-order bit multiplier outputs. And a plurality of adders of the same are alternately connected in series, and the signal selection means switches and selects between an output of the higher-order bit multiplier and one input of the adder. Digital filter that does.
【請求項5】請求項1において、更に、 前記遅延素子の一部に対応して、入力信号レベルを所望
の信号レベルに変換可能な、前記下位ビット用乗算器よ
り少数の、係数中位ビット用の複数の乗算器と、 前記一部の遅延素子と該中位ビット用乗算器との接続を
切替え選択する、中位ビット用の信号選択手段と、 前記下位ビット用乗算器、中位ビット用乗算器及び上位
ビット用乗算器による演算結果を合成する手段とを備え
たことを特徴とするディジタルフィルタ。
5. The coefficient medium-order bit according to claim 1, further comprising, corresponding to a part of the delay element, a smaller number of coefficient medium-order bits than the lower-bit multiplier capable of converting an input signal level to a desired signal level. A plurality of multipliers for use, a signal selecting means for the middle-order bits for switching and selecting the connection between the partial delay element and the multiplier for the middle-order bits, the multiplier for the lower-order bits, the middle-order bits Filter and a means for synthesizing operation results by the high-order bit multiplier.
JP15656493A 1993-06-28 1993-06-28 Digital filter Pending JPH0715283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15656493A JPH0715283A (en) 1993-06-28 1993-06-28 Digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15656493A JPH0715283A (en) 1993-06-28 1993-06-28 Digital filter

Publications (1)

Publication Number Publication Date
JPH0715283A true JPH0715283A (en) 1995-01-17

Family

ID=15630547

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15656493A Pending JPH0715283A (en) 1993-06-28 1993-06-28 Digital filter

Country Status (1)

Country Link
JP (1) JPH0715283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030064111A (en) * 2002-01-25 2003-07-31 전자부품연구원 Time sharing digital filter and multi-channel codec circuit using the same

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030064111A (en) * 2002-01-25 2003-07-31 전자부품연구원 Time sharing digital filter and multi-channel codec circuit using the same

Similar Documents

Publication Publication Date Title
US6295011B1 (en) Method of coding a number for storing in a memory
KR100671525B1 (en) Method and apparatus for converting pcm to pwm
JP2591864B2 (en) Digital filter
JPS59108146A (en) Apparatus for digitally multiplying digital signal by coefficient
JPH0681011B2 (en) Variable pass band filter device
EP0182602A2 (en) Digital filter
JP4665099B2 (en) Method for determining filter coefficients of a digital filter and digital filter
JPH09284094A (en) Digital filter bank device and its operating method
JPH0715283A (en) Digital filter
JP2885121B2 (en) Digital filter
JPH10509011A (en) Improved digital filter
US7385538B2 (en) Delta sigma modulator with multiple filters
JP2929807B2 (en) Digital filter
JP3008842B2 (en) Digital filter
US5463575A (en) Reduced quantization noise from single-precision multiplier
JP2000047852A (en) Multiplier and fixed coefficeint type fir digital filter provided with plural multipliers
JPS6113707A (en) Digital filter
JPH08335850A (en) Simple digital filter
JP3258938B2 (en) Decimation filter
JPH0575394A (en) Digital filter and digital signal processing system
JPS63140369A (en) Bit-serial signal scaling apparatus and digital signal amplitude controller
JPH0342728B2 (en)
KR100292067B1 (en) Cell for discrete time cellular neural networks
JPH05315892A (en) Digital filter
JP2900895B2 (en) Decoding method