JPH0585042B2 - - Google Patents

Info

Publication number
JPH0585042B2
JPH0585042B2 JP1060689A JP1060689A JPH0585042B2 JP H0585042 B2 JPH0585042 B2 JP H0585042B2 JP 1060689 A JP1060689 A JP 1060689A JP 1060689 A JP1060689 A JP 1060689A JP H0585042 B2 JPH0585042 B2 JP H0585042B2
Authority
JP
Japan
Prior art keywords
circuit
data
filter
output
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 - Lifetime
Application number
JP1060689A
Other languages
Japanese (ja)
Other versions
JPH02189620A (en
Inventor
Tatsuya Hara
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 IC Microcomputer Systems Co Ltd
Original Assignee
NEC IC Microcomputer Systems 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 IC Microcomputer Systems Co Ltd filed Critical NEC IC Microcomputer Systems Co Ltd
Priority to JP1060689A priority Critical patent/JPH02189620A/en
Publication of JPH02189620A publication Critical patent/JPH02189620A/en
Publication of JPH0585042B2 publication Critical patent/JPH0585042B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、サンプリングデータのサンプリング
周波数変換装置に関し、特に、デイジタルフイル
ターを通し、間引きを行なうダウンサンプリング
回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a sampling frequency conversion device for sampling data, and particularly to a downsampling circuit that performs thinning through a digital filter.

〔従来の技術〕[Conventional technology]

第3図に一般的なデイジタルフイルターのブロ
ツク図を示す。
FIG. 3 shows a block diagram of a general digital filter.

第4図に従来の技術であるデイジタルフイルタ
ーを通したダウンサンプリング回路の構成図を示
す。
FIG. 4 shows a configuration diagram of a conventional down-sampling circuit using a digital filter.

第3図に示すように、一般的なデイジタルフイ
ルターは、現在のサンプリングデータから数サン
プル過去のサンプリングデータまで、それぞれの
フイルター係数を掛けて、それを累積することに
より出力を求める積和の形をしている。それをダ
ウンサンプリングするために、出力データの間引
きを行なう。
As shown in Figure 3, a typical digital filter uses a sum-of-products format that calculates the output by multiplying the current sampling data to several samples of past sampling data by each filter coefficient and accumulating the results. are doing. In order to downsample it, the output data is thinned out.

第4図に示した従来の技術であるダウンサンプ
リング回路を説明する。始めに、フイルター処理
の部分である。入力信号41が入力されると同時
に遅延回路45の各データは、次の遅延回路45
に転送される。次に係数発生回路46によつて順
次出力するフイルター係数と遅延回路45によつ
て保持された各サンプリングデータが選択回路4
7により選択され乗算器43によつて乗算され
る。遅延回路45の初期値は0である。順次乗算
された各データは、加算器44によつて累積さ
れ、初期化回路50を通り、データ保持回路48
に保持される。初期化回路51の出力は、通常、
入力をそのまま出力するが、フイルターの次数分
繰り返すと同時に0が出力され、1入力データの
フイルター処理が終了する。フイルター処理によ
つて得られたデータを、得ようとするサンプリン
グのタイミングで開くゲートを通すことにより、
任意の周波数にダウンサンプリングする。
The conventional downsampling circuit shown in FIG. 4 will be explained. First is the filter processing part. At the same time as the input signal 41 is input, each data of the delay circuit 45 is transferred to the next delay circuit 45.
will be forwarded to. Next, the filter coefficients sequentially output by the coefficient generation circuit 46 and each sampling data held by the delay circuit 45 are sent to the selection circuit 4.
7 and multiplied by multiplier 43. The initial value of the delay circuit 45 is 0. The sequentially multiplied data is accumulated by the adder 44, passes through the initialization circuit 50, and is stored in the data holding circuit 48.
is maintained. The output of the initialization circuit 51 is usually
The input is output as is, but 0 is output at the same time as it is repeated for the order of the filter, and the filter processing of 1 input data is completed. By passing the data obtained through filter processing through a gate that opens at the desired sampling timing,
Downsample to any frequency.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のデイジタルフイルターを通した
ダウンサンプリング回路は、フイルターの次数が
大きくなると、フイルターの次数が大きくなる分
だけ過去のサンプリングデータを保持する遅延回
路が必要となりハードウエアの規模が大きくなる
問題点がある。さらに構成上、出力には関係ない
間引きを行なうデータに対しても計算を行なうの
で、回路の動作を速くしなければならなく、計算
電力が大きくなる問題点がある。
The problem with the above-mentioned conventional down-sampling circuit using a digital filter is that as the order of the filter increases, a delay circuit is required to hold past sampling data corresponding to the increase in the order of the filter, resulting in an increase in the scale of the hardware. There is. Furthermore, due to the structure, calculations are also performed on data to be thinned out that is not related to the output, so the operation of the circuit must be made faster, resulting in the problem of increased calculation power.

〔発明の従来技術に対する相違点〕[Differences between the invention and the prior art]

上述した従来のダウンサンプリング回路に対
し、ひとつの入力データが入力した時点で、出力
に影響する計算を次の入力データが入力される前
に計算を行なう手段と、出力に必要な累積データ
の保持回路を備えることで、フイルター処理に必
要な遅延回路が不要となる点が異なる。
In contrast to the conventional downsampling circuit described above, there is a means to perform calculations that affect the output when one input data is input before the next input data is input, and a means to hold the accumulated data necessary for output. The difference is that the provision of the circuit eliminates the need for a delay circuit required for filter processing.

〔課題点を解決するための手段〕[Means to solve problems]

本発明であるダウンサンプリング回路は、フイ
ルターの係数発生回路と、サンプリングデータと
の乗算を行なう乗算器と、その結果を累積する加
算器と、その累積データを保持するデータ保持回
路を有する。
The downsampling circuit according to the present invention includes a filter coefficient generation circuit, a multiplier that multiplies sampling data, an adder that accumulates the results, and a data holding circuit that holds the accumulated data.

〔実施例〕〔Example〕

第1図は、本発明であるダウンサンプリング回
路の一実施例を示したブロツク図である。64KHz
のサンプリングデータを1/8の8KHzに16次のフイ
ルターを通しながらダウンサンプリングする回路
の例である。
FIG. 1 is a block diagram showing one embodiment of a downsampling circuit according to the present invention. 64KHz
This is an example of a circuit that downsamples the sampled data to 1/8 of 8KHz while passing it through a 16th order filter.

第2図は、入出力のタイミングを示した図であ
る。Xが入力、Yが出力、αがフイルター係数を
示す。X,Yの添え字は、時間の経過を示し、α
の添え字は、フイルターの次数を示す。
FIG. 2 is a diagram showing input/output timing. X is the input, Y is the output, and α is the filter coefficient. The subscripts of X and Y indicate the passage of time, α
The subscript indicates the order of the filter.

第2図のように、入力データX0は、出力デー
タY−1とY0の、ふたつの出力に影響する。
As shown in FIG. 2, input data X0 affects two outputs, output data Y-1 and Y0.

第1図と第2図を用い、本発明であるダウンサ
ンプリング回路の一実施例を説明する。まず始め
に、入力信号X0について次の出力である出力Y
−1を求めるために必要な処理を行なう。入力デ
ータX0は係数発生回路13から出力される第16
次のフイルター係数α16と乗算器14によつて
乗算される。その乗算結果とデータ保持回路17
の値が加算器15によつて加算される。データ保
持回路16とデータ保持回路17の初期値は0で
ある。同時にデータ保持回路16の値がデータ保
持回路17に転送され、加算結果が初期化回路1
9を通り、データ保持回路16に転送される。初
期化回路19の出力は、通常、入力をそのまま出
力するが、出力信号Yが計算される周期で、0が
出力される。
An embodiment of the downsampling circuit according to the present invention will be described with reference to FIGS. 1 and 2. First of all, regarding the input signal X0, the next output is the output Y
Perform the necessary processing to obtain -1. Input data X0 is the 16th input data output from the coefficient generation circuit 13.
Multiplyed by the next filter coefficient α16 and the multiplier 14. The multiplication result and data holding circuit 17
The values of are added by the adder 15. The initial values of the data holding circuit 16 and the data holding circuit 17 are 0. At the same time, the value of the data holding circuit 16 is transferred to the data holding circuit 17, and the addition result is transferred to the initialization circuit 1.
9 and is transferred to the data holding circuit 16. The initialization circuit 19 normally outputs the input as it is, but 0 is output at the cycle in which the output signal Y is calculated.

次に入力信号X0について出力Y0を求めるた
めに必要な処理を行なう。フイルター係数が違う
以外は、始めの処理と同じである。フイルター係
数発生回路13から出力されるフイルター係数
は、8次分ずらした第8次のフイルター係数α8
である。乗算器14によつて入力信号と乗算され
る。その乗算結果とデータ保持回路17の値が加
算器15によつて加算される。同時にデータ保持
回路16の値がデータ保持回路17に転送され、
加算結果が初期化回路19を通り、データ保持回
路16に転送される。
Next, necessary processing is performed to obtain the output Y0 for the input signal X0. This process is the same as the first process except for the filter coefficients. The filter coefficient output from the filter coefficient generation circuit 13 is an 8th-order filter coefficient α8 shifted by 8 orders.
It is. Multiplier 14 multiplies the input signal. The multiplication result and the value of data holding circuit 17 are added by adder 15. At the same time, the value of the data holding circuit 16 is transferred to the data holding circuit 17,
The addition result passes through the initialization circuit 19 and is transferred to the data holding circuit 16.

同様に、入力信号X1からX8まで、フイルタ
ー係数αを、α15からα7まで更新しながら、
処理することにより出力結果Y−1が求まる。こ
のとき、データ保持回路16のデータは、初期化
回路19により0に初期化され、データ保持回路
17には出力Y0を求めるために必要な、累積デ
ータの中間結果が保持されている。さらに、入力
信号X8からX15まで繰り返すと出力Y0が求
まる。このとき、データ保持回路16のデータ
は、初期化回路19により0に初期化され、デー
タ保持回路17には出力Y1を求めるために必要
な、累積データの中間結果が保持されている。こ
の処理を繰り返すことにより、デイジタルフイル
ターを通した1/8のダウンサンプリングを行なう
ことができる。
Similarly, while updating the filter coefficient α from α15 to α7 for input signals X1 to X8,
By processing, the output result Y-1 is obtained. At this time, the data in the data holding circuit 16 is initialized to 0 by the initialization circuit 19, and the data holding circuit 17 holds intermediate results of cumulative data necessary to obtain the output Y0. Furthermore, by repeating input signals X8 to X15, output Y0 is obtained. At this time, the data in the data holding circuit 16 is initialized to 0 by the initialization circuit 19, and the data holding circuit 17 holds intermediate results of cumulative data necessary to obtain the output Y1. By repeating this process, it is possible to perform 1/8 downsampling through a digital filter.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、デイジタルフイ
ルターを用いたダウンサンプリング回路において
従来必要とされていた遅延回路を削減することが
でき、ハードウエアの規模を小さくすることがで
きる。
As described above, the present invention can eliminate the delay circuits conventionally required in a downsampling circuit using a digital filter, and can reduce the scale of hardware.

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

第1図は、本発明の一実施例を示すダウンサン
プリング回路の構成図。第2図は、本発明の一実
施例を示した入出力のタイミング図。第3図は、
一般的なフイルターのブロツク図。第4図は、従
来の技術であるダウンサンプリング回路の構成図
である。 11…入力信号、12…出力信号、13…フイ
ルター係数発生回路、14…乗算器、15…加算
器、16…ゲート、17…データ保持回路、18
…データ保持回路、19…初期化回路、31…入
力信号、32…出力信号、33…乗算器、34…
加算器、35…遅延回路、41…入力信号、42
…出力信号、43…乗算器、44…加算器、45
…遅延回路、46…フイルター係数発生回路、4
7…選択回路、48…データ保持回路、49…ゲ
ート、50…初期化回路。
FIG. 1 is a configuration diagram of a downsampling circuit showing one embodiment of the present invention. FIG. 2 is an input/output timing diagram showing an embodiment of the present invention. Figure 3 shows
Block diagram of a general filter. FIG. 4 is a block diagram of a conventional downsampling circuit. 11... Input signal, 12... Output signal, 13... Filter coefficient generation circuit, 14... Multiplier, 15... Adder, 16... Gate, 17... Data holding circuit, 18
...data holding circuit, 19...initialization circuit, 31...input signal, 32...output signal, 33...multiplier, 34...
Adder, 35...Delay circuit, 41...Input signal, 42
...output signal, 43...multiplier, 44...adder, 45
...Delay circuit, 46...Filter coefficient generation circuit, 4
7... Selection circuit, 48... Data holding circuit, 49... Gate, 50... Initialization circuit.

Claims (1)

【特許請求の範囲】[Claims] 1 入力データをデイジタルフイルターに通し、
間引きにより周波数を変換するダウンサンプリン
グ回路において、周波数を変換する比率(処理前
のサンプリング周波数/処理後のサンプリング周
波数)が、フイルターの次数より小さい回路で、
フイルターの係数発生回路と、サンプリングデー
タとフイルター係数の乗算を行なう乗算器と、乗
算結果を累積する加算器と、その累積データを保
持するデータ保持回路を有することを特徴とする
ダウンサンプリング回路。
1 Pass the input data through a digital filter,
In a downsampling circuit that converts frequencies by thinning out, the frequency conversion ratio (sampling frequency before processing/sampling frequency after processing) is smaller than the order of the filter,
A downsampling circuit comprising a filter coefficient generation circuit, a multiplier that multiplies sampling data and a filter coefficient, an adder that accumulates the multiplication results, and a data holding circuit that holds the accumulated data.
JP1060689A 1989-01-18 1989-01-18 Down sampling circuit Granted JPH02189620A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1060689A JPH02189620A (en) 1989-01-18 1989-01-18 Down sampling circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1060689A JPH02189620A (en) 1989-01-18 1989-01-18 Down sampling circuit

Publications (2)

Publication Number Publication Date
JPH02189620A JPH02189620A (en) 1990-07-25
JPH0585042B2 true JPH0585042B2 (en) 1993-12-06

Family

ID=11754905

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1060689A Granted JPH02189620A (en) 1989-01-18 1989-01-18 Down sampling circuit

Country Status (1)

Country Link
JP (1) JPH02189620A (en)

Also Published As

Publication number Publication date
JPH02189620A (en) 1990-07-25

Similar Documents

Publication Publication Date Title
US4725972A (en) Method and apparatus for the transmission of time discrete signals between systems operating at different sampling rates
US7010557B2 (en) Low power decimation system and method of deriving same
US4961160A (en) Linear predictive coding analysing apparatus and bandlimiting circuit therefor
US4612625A (en) Decimator employing finite impulse response digital filters
US5821884A (en) Sampling rate conversion method and apparatus utilizing an area effect correlation method
Miyawaki et al. Multirate recursive digital filters--A general approach and block structures
JP2000010960A (en) Data interpolation method
JPH06350399A (en) Method and digital filter architecture for filtering digital signal
JPH0585042B2 (en)
JPH05327409A (en) Rate conversion method and its conversion circuit
JP3468677B2 (en) Frequency converter
JP3986457B2 (en) Input signal estimation method and apparatus, input signal estimation program, and recording medium therefor
JPH0453307A (en) Sampling frequency converter
JP2583610B2 (en) A / D, D / A converter
JPH06204798A (en) Interpolation method for asynchronous sampling frequency conversion
KR0176205B1 (en) Design Method of Highpass IIR Filter and Highpass IIR Filter
EP0604772A1 (en) Method and device for discrete-time signal interpolation
JP2880580B2 (en) Acyclic digital filter circuit
JPH05252119A (en) Sampling frequency converter
JPS6242609A (en) Thinning interpolation device
JP2888916B2 (en) Spectrum analysis method and apparatus
JPH07109973B2 (en) Digital signal processing circuit
JPS6117415B2 (en)
Yoshikawa et al. Roundoff error reduction in state‐space digital filters of cascade type
JPH06291675A (en) Compressing and expanding circuit