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
JPH027208B2 - - Google Patents
[go: Go Back, main page]

JPH027208B2 - - Google Patents

Info

Publication number
JPH027208B2
JPH027208B2 JP452680A JP452680A JPH027208B2 JP H027208 B2 JPH027208 B2 JP H027208B2 JP 452680 A JP452680 A JP 452680A JP 452680 A JP452680 A JP 452680A JP H027208 B2 JPH027208 B2 JP H027208B2
Authority
JP
Japan
Prior art keywords
multiplier
input
register
digital filter
output
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
Application number
JP452680A
Other languages
Japanese (ja)
Other versions
JPS56102111A (en
Inventor
Yasushi Wakahara
Yoshikazu Ikeda
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.)
KDDI Corp
Original Assignee
Kokusai Denshin Denwa KK
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 Kokusai Denshin Denwa KK filed Critical Kokusai Denshin Denwa KK
Priority to JP452680A priority Critical patent/JPS56102111A/en
Publication of JPS56102111A publication Critical patent/JPS56102111A/en
Publication of JPH027208B2 publication Critical patent/JPH027208B2/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
    • H03H17/04Recursive filters

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Mathematical Physics (AREA)
  • Complex Calculations (AREA)
  • Filters That Use Time-Delay Elements (AREA)

Description

【発明の詳細な説明】 本発明はデイジタルフイルタに関するものであ
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a digital filter.

デイジタルフイルタの特性は、Z変換を用いる
と次式で示される伝達関数H(Z)によつて表わ
される。
The characteristics of the digital filter are expressed by a transfer function H(Z) expressed by the following equation using Z transformation.

(1)式で、ai(i=0、…、N)、bi(i=1、…、
N)は、所要のフイルタ特性により決められる定
数であり、b0は1である。又分母はフイードバツ
ク系を示す。
In equation (1), a i (i=0,..., N), b i (i=1,...,
N) is a constant determined by the required filter characteristics, and b 0 is 1. Also, the denominator indicates the feedback system.

従来、デイジタルフイルタは(1)式から直接的に
構成され、例えばN=2の場合には第1図の如き
回路となつていた。第1図で40〜44は係数が
(a0、a1、a2、b1又はb2)である乗算器、20〜
23は加算器、30と31はレジスタ(遅延回
路)を示す。これらの記号は第1図以降でも用い
るものとする。
Conventionally, a digital filter was constructed directly from equation (1), and for example, when N=2, the circuit was as shown in FIG. In FIG. 1, 40 to 44 are multipliers whose coefficients are (a 0 , a 1 , a 2 , b 1 or b 2 ); 20 to 44;
23 is an adder, and 30 and 31 are registers (delay circuits). These symbols will also be used in Figures 1 onwards.

従来の方法は、第1図から分かるように出力yo
を得るための演算としては、次のステツプが必要
である。
As can be seen from Figure 1, the conventional method outputs y o
The following steps are required to obtain .

(ステツプ1) 乗算器41,42,43,44
を動作させ、a1Z-1、a2Z-2、b1Z-1、b2Z-2
各々求める。
(Step 1) Multipliers 41, 42, 43, 44
and calculate a 1 Z -1 , a 2 Z -2 , b 1 Z -1 and b 2 Z -2 respectively.

(ステツプ2) 加算器20,22を動作させ、
b1Z-1+b2Z-2及びa1Z-1+a2Z-2を各々求める。
(Step 2) Operate adders 20 and 22,
Find b 1 Z -1 +b 2 Z -2 and a 1 Z -1 +a 2 Z -2 , respectively.

(ステツプ3) 加算器21を動作させる(1+
b1Z-1+b2Z-2)。
(Step 3) Operate the adder 21 (1+
b 1 Z -1 + b 2 Z -2 ).

(ステツプ4) 乗算器40を動作させる(a0
掛ける)。
(Step 4) Operate the multiplier 40 (multiply by a0 ).

(ステツプ5) 加算器23を動作させる(分子
の計算)。
(Step 5) Operate the adder 23 (numerator calculation).

即ち演算時間としては 乗算 2回分 加算 (N+1)回分 の時間が必要であり、(第2図参照)演算時間が
大きいという欠点があつた。デイジタルフイルタ
は時分割多重で使用されることが大きく、この欠
点により従来方式は多重度は小さくなつていた。
That is, the calculation time required is the time equivalent to two multiplications and two additions (N+1) (see FIG. 2), which is disadvantageous in that the calculation time is long. Digital filters are often used in time-division multiplexing, and due to this drawback, the multiplicity of conventional systems has been low.

なお第2図でt1は乗算器41,42,43,4
4の動作時間、t2は加算器20,22の動作時
間、t3は加算器21の動作時間、t4は乗算器40
の動作時間、t5は加算器23の動作時間を示す。
Note that in FIG. 2, t 1 is the multiplier 41, 42, 43, 4
4, t2 is the operating time of adders 20 and 22, t3 is the operating time of adder 21, t4 is the operating time of multiplier 40.
, and t5 indicates the operating time of the adder 23.

本発明はこのような従来方式の欠点を除き、高
速演算が可能でかつ演算精度の高いデイジタルフ
イルタを提供するもので、1回の乗算と複数の加
算で結果を得ることが出来る。
The present invention eliminates the drawbacks of the conventional method and provides a digital filter that is capable of high-speed calculation and has high calculation accuracy, and can obtain a result with one multiplication and multiple additions.

以下図面等を用いて詳細に説明する。 This will be explained in detail below using drawings and the like.

簡単のためN=2とするが、任意の値のNに対
して本発明が適用できるのは勿論である。(1)式に
N=2を代入して伝達関数H(Z)を求めると、 H(Z)=a0+a1Z-1+a2Z-2/1+b1Z-1+b2Z-2 であり、これを変形すると H(Z)=a0+(a1−a0b1)Z-1+(a2−a
0b2)Z-2/1+b1Z-1+b2Z-2(2) とすることが可能である。(2)式が本発明の原理を
示す。
Although N=2 is assumed for simplicity, the present invention can of course be applied to any value of N. Substituting N=2 into equation (1) to find the transfer function H(Z), H(Z)=a 0 +a 1 Z -1 +a 2 Z -2 /1+b 1 Z -1 +b 2 Z -2 , and when transformed, H(Z)=a 0 + (a 1 −a 0 b 1 )Z -1 + (a 2 −a
0 b 2 ) Z -2 /1+b 1 Z -1 +b 2 Z -2 (2). Equation (2) shows the principle of the present invention.

本発明の構成は(2)式に従つて、第3図となる。
ただし、第3図における乗算器45〜49の各係
数は α0=a0 α1=a1−a0b1 α2=a2−a0b2 β1=b1 β2=b2 (3) である。
The configuration of the present invention is shown in FIG. 3 according to equation (2).
However , each coefficient of the multipliers 45 to 49 in FIG . _ (3).

即ち係数αi、βiを(3)式の如く定めれば、(1)式と
同一特性のフイルタを第3図の如く実現すること
ができる。第3図から解かるように本発明では、
出力yoの計算にはフイードバツクループ部分(乗
算器48,49等)の演算を待ち、その結果を用
いるということはなくすべての乗算器を同時に動
作させることが可能で、演算は次のステツプによ
り行われる。
That is, if the coefficients α i and β i are determined as shown in equation (3), a filter having the same characteristics as equation (1) can be realized as shown in FIG. As can be seen from FIG. 3, in the present invention,
To calculate the output y o , all multipliers can be operated simultaneously instead of waiting for the calculations in the feedback loop (multipliers 48, 49, etc.) and using the results. This is done in steps.

(ステツプ1) フイードフオワード乗算器4
6,47、フイードバツク乗算器48,49及
びフイードフオワード乗算器45によりα1Z-1
α2Z-2、β1Z-1、β2Z-2及びα0を提供する。
(Step 1) Feedback multiplier 4
6, 47, α 1 Z -1 by the feedback multipliers 48, 49 and the feedback multiplier 45,
α 2 Z −2 , β 1 Z −1 , β 2 Z −2 and α 0 are provided.

(ステツプ2) 加算器20と22によりα1Z-1
+α2Z-2及びβ1Z-1+β2Z-2を提供する。
(Step 2) α 1 Z -1 by adders 20 and 22
2 Z −2 and β 1 Z −12 Z −2 are provided.

(ステツプ3) 加算器21と23を動作させて
演算結果を得ると共に次のサイクルの演算の準
備をする。
(Step 3) Adders 21 and 23 are operated to obtain calculation results and prepare for the next cycle of calculations.

タイムチヤートは第4図のようになる。ここで
t1′は乗算器45〜49の動作時間、t2′は加算器
20,22の動作時間、t3′は加算器21,23
の動作時間である。一般にyoの計算は 乗算が1回 加算がN回 の時間で行われる。従来方式と比較すると乗算時
間が1/2となり加算時間がN/(N+1)となつ
ている。通常はN=1〜2と選ばれるので、本発
明の方式の演算速度は従来方式の約2倍となる。
The time chart will look like Figure 4. here
t 1 ′ is the operating time of multipliers 45 to 49, t 2 ′ is the operating time of adders 20 and 22, and t 3 ′ is the operating time of adders 21 and 23.
is the operating time. Generally, the calculation of y o is performed in one multiplication and N additions. Compared to the conventional method, the multiplication time is halved and the addition time is N/(N+1). Since N=1 to 2 is usually selected, the calculation speed of the method of the present invention is approximately twice that of the conventional method.

「以上の説明ではN=2としていたが、Nは任
意の値でよいことは先に述べたとおりである。す
なわち、(1)式は ただし、 α0=a0 α1=(ai−a0bi) βi=bi (i=1、2、…、N) (i=0、1、…、N) (5) と変形でき、(4)、(5)式に基づき第5図のようにデ
イジタルフイルタを構成できる。第5図におい
て、60,61,62,63は加算器、64,6
5はレジスタ(遅延回路)、66,67はフイー
ドバツク乗算器、68,69はフイードフオワー
ド乗算器である。
"In the above explanation, N = 2, but as mentioned earlier, N can be any value. In other words, equation (1) is However, α 0 = a 0 α 1 = (a i −a 0 b i ) β i = b i (i=1, 2,..., N) (i=0, 1,..., N) (5) It can be modified and a digital filter can be constructed as shown in FIG. 5 based on equations (4) and (5). In FIG. 5, 60, 61, 62, 63 are adders, 64, 6
5 is a register (delay circuit), 66 and 67 are feedback multipliers, and 68 and 69 are feedback multipliers.

一般にデイジタルフイルタは、演算が有限ビツ
ト長で行われるため、係数の誤差が演算の丸め等
により特性が設計値からずれることが多い。本発
明は以下で説明するようにこのような演算による
誤差が小さいという特徴も有している。
Generally, in digital filters, calculations are performed with a finite bit length, and therefore characteristics often deviate from designed values due to coefficient errors and rounding of calculations. The present invention is also characterized in that errors caused by such calculations are small, as will be explained below.

即ち既に示した様に出力yoを得るために従来方
式では、a0の係数についての乗算は、b1〜bNの係
数についての乗算の和の結果に対して行なつてい
たため演算が時間的にくり返し行なわれるため演
算誤差が大きい。これに対し本発明による方式は
第3図に示すように、演算が時間的にくり返され
ないので、演算誤差が小さくなる。
That is, as already shown, in the conventional method to obtain the output y o , the multiplication for the coefficient of a 0 is performed on the result of the sum of the multiplication for the coefficients of b 1 to b N , which reduces the calculation time. The calculation error is large because it is performed repeatedly. On the other hand, in the method according to the present invention, as shown in FIG. 3, the calculation is not repeated over time, so the calculation error is reduced.

尚、本発明に類似した方式としてデイジタルフ
イルタの並列形式がある。並列形式は例えば L.R.Rabirer、Bernard Gold共著 「Theory and Application of Digital
Signal Processing」 Prentice−Hall、Inc、U.S.A.発行1975年の
p.45に紹介されておりその構成を第6図に示す。
第6図でH1(Z)、H2(Z)、…、HK(Z)は第1
図と同一のものであり、Cは式のaN/bNであ
る。
Note that there is a parallel format of digital filters as a system similar to the present invention. A parallel format is, for example, ``Theory and Application of Digital'' by LRRabirer and Bernard Gold.
"Signal Processing" published by Prentice-Hall, Inc., USA, 1975.
It is introduced on page 45, and its configuration is shown in Figure 6.
In Figure 6, H 1 (Z), H 2 (Z), ..., H K (Z) are the first
It is the same as the figure, and C is a N /b N in the formula.

第6図は一見第3図と類似した方式であるが、
第6図のH1(Z)等は第1図と同一のものである
から、本発明のような高速演算が不可能でありか
つ演算誤差が小さくなることもない。また第3図
の係数α0と第6図の係数Cも全く異なる値となつ
ている。このように第6図と第3図は本質的に異
なるものである。
At first glance, Figure 6 is similar to Figure 3, but
Since H 1 (Z) and the like in FIG. 6 are the same as those in FIG. 1, high-speed calculation as in the present invention is not possible and calculation errors are not reduced. Furthermore, the coefficient α 0 in FIG. 3 and the coefficient C in FIG. 6 have completely different values. In this way, FIG. 6 and FIG. 3 are essentially different.

尚、デイジタルフイルタをカスケードに接続す
る場合には第3図において乗算器45を除き、例
えば入力端子10の直後に置くことも可能であ
る。このとき他の乗算器はその係数が1/α0とな
る。
Incidentally, when the digital filters are connected in cascade, the multiplier 45 in FIG. 3 can be omitted and placed, for example, immediately after the input terminal 10. At this time, the coefficients of the other multipliers become 1/α 0 .

以上詳細に説明したように、本発明は従来方式
と比較して極めて高速な演算を可能としかつ演算
誤差の小さいデイジタルフイルタを提供するもの
である。
As described above in detail, the present invention provides a digital filter that enables extremely high-speed calculations and has small calculation errors compared to conventional systems.

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

第1図は従来のデイジタルフイルタの構成例、
第2図は第1図の装置の動作タイムチヤート、第
3図は本発明によるN=2の場合のデイジタルフ
イルタの構成例、第4図は第3図の装置の動作タ
イムチヤート、第5図は本発明によるN=Nの場
合のデイジタルフイルタの構成例、第6図は別の
従来方式を示すための図である。 10;入力端子、50;出力端子、20,2
1,22,23,60,61,62,63;加算
器、30,31,64,65;レジスタ(遅延回
路)、40,41,42,43,44;乗算器、
45,46,47,68,69;フイードフオワ
ード乗算器、48,49,66,67;フイード
バツク乗算器。
Figure 1 shows an example of the configuration of a conventional digital filter.
FIG. 2 is an operating time chart of the device shown in FIG. 1, FIG. 3 is an example of the configuration of a digital filter according to the present invention when N=2, FIG. 4 is an operating time chart of the device shown in FIG. 3, and FIG. 6 is a diagram showing an example of the configuration of a digital filter in the case of N=N according to the present invention, and FIG. 6 is a diagram showing another conventional method. 10; input terminal, 50; output terminal, 20,2
1, 22, 23, 60, 61, 62, 63; Adder, 30, 31, 64, 65; Register (delay circuit), 40, 41, 42, 43, 44; Multiplier,
45, 46, 47, 68, 69; Feedback multiplier; 48, 49, 66, 67; Feedback multiplier.

Claims (1)

【特許請求の範囲】 1 Z変換により伝達関数H(Z)が (ただし、ai及びbiは係数、b0=1)で表わされ
るデイジタルフイルタにおいて、 H(Z)を ただし、 α0=a0 α1=(ai−a0bi)(i=1、2、…、N) βi=bi(i=0、1、…、N) と変形し、 係数がそれぞれβ1、β2、…、βNの第1、第2、
…、第Nの演算値フイードバツク用乗算器、係数
がそれぞれα1、α2、…、αNの第(N+1)、第
(N+2)、…、第(N+N)の演算値フイードフ
オワード用乗算器、係数がα0の第(2N+1)の
演算値フイードフオワード用乗算器、N個のレジ
スタ(または遅延回路)を用い、 第1、第2、…、第Nの乗算器の各出力と前記
デイジタルフイルタの入力との総和を第1のレジ
スタの入力とし、 該第1のレジスタの出力を、第2のレジスタの
入力、第(N+1)の乗算器の入力及び前記第1
の乗算器の入力とし、 該第2のレジスタの出力を、第3のレジスタの
入力、第(N+2)の乗算器の入力及び前記第2
の乗算器の入力とし、 第(N−1)のレジスタの出力を、第Nのレジ
スタの入力、第(N+N)の乗算器の入力前記N
の乗算器の入力とし、 前記デイジタルフイルタの入力を第(2N+1)
の乗算器の入力とし、 第(N+1)〜第(2N+1)の乗算器の出力
の総和を前記デイジタルフイルタの出力とするよ
うに構成することを特徴とするデイジタルフイル
タ。
[Claims] 1. Transfer function H(Z) is changed by Z transformation. (However, a i and b i are coefficients, b 0 = 1) In the digital filter, H(Z) is However, α 0 = a 0 α 1 = (a i −a 0 b i ) (i=1, 2,..., N) β i = b i (i=0, 1,..., N), The first , second , and
..., the N-th calculated value feedback multiplier, whose coefficients are α 1 , α 2 , ..., α N -th (N+1), (N+2), ..., (N+N)-th calculated value feedback, respectively. Multiplier, (2N+1)th calculated value feed forward multiplier with coefficient α 0 , using N registers (or delay circuits), each of the first, second, ..., Nth multiplier The sum of the output and the input of the digital filter is input to a first register, and the output of the first register is input to the second register, the input of the (N+1)th multiplier, and the first register.
The output of the second register is the input of the third register, the input of the (N+2)th multiplier and the second register.
The output of the (N-1)th register is the input of the Nth register, and the input of the (N+N)th multiplier is the input of the (N+N)th multiplier.
The input of the digital filter is the (2N+1)th multiplier input.
A digital filter, characterized in that the digital filter is configured such that the sum of the outputs of the (N+1)th to (2N+1)th multipliers is the output of the digital filter.
JP452680A 1980-01-21 1980-01-21 Digital filter Granted JPS56102111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP452680A JPS56102111A (en) 1980-01-21 1980-01-21 Digital filter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP452680A JPS56102111A (en) 1980-01-21 1980-01-21 Digital filter

Publications (2)

Publication Number Publication Date
JPS56102111A JPS56102111A (en) 1981-08-15
JPH027208B2 true JPH027208B2 (en) 1990-02-16

Family

ID=11586483

Family Applications (1)

Application Number Title Priority Date Filing Date
JP452680A Granted JPS56102111A (en) 1980-01-21 1980-01-21 Digital filter

Country Status (1)

Country Link
JP (1) JPS56102111A (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4813001A (en) * 1987-05-29 1989-03-14 Schlumberger Systems, Inc. AC calibration method and device by determining transfer characteristics

Also Published As

Publication number Publication date
JPS56102111A (en) 1981-08-15

Similar Documents

Publication Publication Date Title
JP2777207B2 (en) Reconfigurable multiprocessor
JPH042499Y2 (en)
JPH0661792A (en) Digital filter
JPS6272218A (en) Infinite impulse response filter
EP0373468B1 (en) A pipelined processor for implementing the least-mean-squares algorithm
JPS6037513B2 (en) digital circuit
WO1986002181A1 (en) A digital signal processor for single cycle multiply/accumulation
JPWO2008018197A1 (en) Digital filter, synthesizing apparatus thereof, synthesizing program, and synthesizing program recording medium
JPH027208B2 (en)
JPS60114020A (en) Digital filter circuit
JPH0834407B2 (en) Input weighted transversal filter
US7013319B1 (en) Digital filter methods and structures for increased processing rates
JPS63187366A (en) Arithmetic unit for moving average
JPH0767065B2 (en) Signal processing integrated circuit
JP3177358B2 (en) Digital filter
US7242326B1 (en) Sample rate conversion combined with filter
JPS6161514A (en) digital filter circuit
JPH06152330A (en) Digital filter
Fam A multi-signal bus architecture for FIR filters with single bit coefficients
SU922721A2 (en) Device for orthogonal conversion by walsh
JPS6117415B2 (en)
Allen et al. A bit serial linear array DFT
JPH0764810A (en) Galois field arithmetic unit
JPS61221963A (en) Fourier transfor device
JPH07109973B2 (en) Digital signal processing circuit