JPS62101112A - Sampling frequency conversion circuit - Google Patents

Sampling frequency conversion circuit

Info

Publication number
JPS62101112A
JPS62101112A JP24114585A JP24114585A JPS62101112A JP S62101112 A JPS62101112 A JP S62101112A JP 24114585 A JP24114585 A JP 24114585A JP 24114585 A JP24114585 A JP 24114585A JP S62101112 A JPS62101112 A JP S62101112A
Authority
JP
Japan
Prior art keywords
output
input
sampling frequency
coefficient
sample
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
JP24114585A
Other languages
Japanese (ja)
Other versions
JPH0720045B2 (en
Inventor
Yasushi Katsumata
勝又 泰
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP24114585A priority Critical patent/JPH0720045B2/en
Publication of JPS62101112A publication Critical patent/JPS62101112A/en
Publication of JPH0720045B2 publication Critical patent/JPH0720045B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)

Abstract

PURPOSE:To attain asynchronous sampling frequency conversion by addressing a series of coefficient set of a coefficient table memory periodically, applying the operation between the coefficient set and an input sample string so as to obtain an output sample value. CONSTITUTION:A counter 2 counting a clock pulse synchronously with a timing pulse in an input sampling frequency fx and forming a series of addressed periodically is provided. A series of coefficient set written in a coefficient table memory 5 is designated sequentially by the address. A digital filter 4 or an operation circuit such as a polynomial interpolation operating circuit uses one of the coefficient set subject to address designation at each output timing in response to an output sampling frequency to apply operation to an input sample string thereby introducing an output sample value. It is not required to measure the time difference of the sample point between the input and the means as to each sample point and the accurate operation of the sampling frequency conversion is expected.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、ディジタル化されたアナログ信号のサンプリ
ング周波数を変換する回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a circuit for converting the sampling frequency of a digitized analog signal.

〔発明の概要〕[Summary of the invention]

入力サンプリング周期で発生される一連のアドレスでも
って係数テーブルメモリの一連の係数セットを周期的に
アドレスし、出力サンプリング周波数に対応したタイミ
ングで指定される一つの係数セットと入力サンプル列と
の演算を施して出力サンプル値を得るように構成し、入
力と出力との夫々のサンプル点の個々の時間差を計測し
ないで非同期のサンプリング周波数変換を可能にしたも
のである。
A series of coefficient sets in the coefficient table memory are periodically addressed with a series of addresses generated in the input sampling period, and an operation is performed between one coefficient set specified and the input sample sequence at a timing corresponding to the output sampling frequency. The system is configured so that the output sample value is obtained by applying the input signal to the output sample point, thereby making it possible to perform asynchronous sampling frequency conversion without measuring the individual time differences between the input and output sample points.

〔従来の技術〕[Conventional technology]

第8図は特開昭57−115015号に開示されたサン
プリング周波数変換回路で、第9図に入力、出力のサン
プル列のタイムチャートを示す。
FIG. 8 shows a sampling frequency conversion circuit disclosed in Japanese Unexamined Patent Publication No. 57-115015, and FIG. 9 shows a time chart of input and output sample sequences.

このサンプリング周波数変換回路では、基本的には入力
と出力とのサンプリングタイミングの時間差をカウンタ
で求め、時間差情報をディジタルフィルタの乗算係数に
変換して、ディジタルフィル夕において入力サンプル列
のサンプリングレートを変更した出力サンプル列を得て
いる。即ち、まず入力サンプリング周波数fXのタイミ
ングパルスをPLL回路1に供給して十分に逓倍された
クロックパルスを発生させ、このクロックパルスをカウ
ンタ2で計数して、入力サンプリング周波数fXと出力
サンプリング周波数f、の各タイミングパルスで定まる
スタート/ストップの時間差を測定する。計測された時
間差情報φ5、即ち入力サンプル点と出力サンプル点と
のずれに応じた時間差は時間差−係数変換回路3に送ら
れ、時間差に応じた乗算係数が導出される。そしてこの
乗算係数を用いてディジタルフィルタ4でサンプル列を
たたみ込み演算し、出力サンプル点のサンプル値を出力
する。
This sampling frequency conversion circuit basically uses a counter to find the time difference between the sampling timings of the input and output, converts the time difference information into a multiplication coefficient for the digital filter, and changes the sampling rate of the input sample string in the digital filter. I am getting an output sample sequence. That is, first, a timing pulse with an input sampling frequency fX is supplied to the PLL circuit 1 to generate a sufficiently multiplied clock pulse, and this clock pulse is counted by a counter 2 to calculate the input sampling frequency fX and the output sampling frequency f, Measure the start/stop time difference determined by each timing pulse. The measured time difference information φ5, that is, the time difference corresponding to the shift between the input sample point and the output sample point is sent to the time difference-coefficient conversion circuit 3, and a multiplication coefficient corresponding to the time difference is derived. Using this multiplication coefficient, the digital filter 4 convolves the sample sequence and outputs the sample value at the output sample point.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

第8図の従来回路では、カウンタ2でスタート・ストッ
プを頻繁に繰り返すので、カウントエラーが生じ易く、
サンプリングレートの変換を確実に行うことができない
問題がある。
In the conventional circuit shown in FIG. 8, since the counter 2 frequently repeats start and stop, counting errors are likely to occur.
There is a problem in that the sampling rate cannot be converted reliably.

本発明はこの問題にかんがみ、人出力タイミングの時間
差の計測を不要にし、より簡単な回路手段で確実なサン
プリングレート変換を行わせることを目的とする。
In view of this problem, it is an object of the present invention to eliminate the need to measure the time difference between human output timings and to perform reliable sampling rate conversion using simpler circuit means.

〔問題点を解決するための手段〕[Means for solving problems]

第1図の実施例に示すように、入力サンプリング周波数
fXのタイミングパルスに同期したクロックパルスを計
数して一連のアドレスを周期的に形成するカウンタ2が
設けられている。上記アドレスによって係数テーブルメ
モリ5に書込まれた一連の係数セットが順次指定される
。ディジタルフィルタ4又は多項式補間演算回路のよう
な演算回路が、出力サンプリング周波数に対応して出力
タイミングごとに上記アドレス指定された係数セットの
1つを用いて入力サンプル列に対して演算を施して出力
サンプル値を導出する。
As shown in the embodiment of FIG. 1, a counter 2 is provided which counts clock pulses synchronized with timing pulses of an input sampling frequency fX to periodically form a series of addresses. A series of coefficient sets written in the coefficient table memory 5 are sequentially designated by the above address. An arithmetic circuit such as a digital filter 4 or a polynomial interpolation arithmetic circuit performs an arithmetic operation on the input sample string using one of the addressed coefficient sets at each output timing corresponding to the output sampling frequency and outputs the result. Derive sample values.

〔作用〕[Effect]

入力と手段とのサンプル点の時間差を個々のサンプル点
ごとに計測する必要が無く、係数メモリに対する循環的
なアドレス指定と、アドレス指定された係数セットの1
つを抽出することによって時間差に応じて係数セットが
得られる。入力端のアドレスカウンタ2の動作は、スタ
ート・ストップを繰り返さないので非常に安定であり、
これによってサンプリング周波数変換の正確な動作が期
待できる。
It is not necessary to measure the time difference between the sample points of the input and the means for each individual sample point, and circular addressing of the coefficient memory and one of the addressed coefficient sets is possible.
By extracting one, a set of coefficients can be obtained according to the time difference. The operation of address counter 2 at the input end is very stable as it does not repeat start and stop.
As a result, accurate operation of sampling frequency conversion can be expected.

〔実施例〕〔Example〕

第1図は本発明の一実施例を示すサンプリング周波数変
換回路のブロック図である。本発明では、入力と出力と
のサンプリング点の時間差の計測を行わずに、時間差に
対応してフィルタの演算係数を記憶した係数テーブルメ
モリに対して、入力のサンプリング・タイミングに関連
させて一連の係数セットを周期的にアドレス指定可能に
し、更に出力サンプリング・タイミングで定まる1つの
係数セントを用いて入力サンプル列に対して演算を施し
て出力サンプル値を得る構成になっている。
FIG. 1 is a block diagram of a sampling frequency conversion circuit showing one embodiment of the present invention. In the present invention, without measuring the time difference between the sampling points of the input and the output, the coefficient table memory stores the calculation coefficients of the filter corresponding to the time difference, and a series of coefficients are stored in relation to the input sampling timing. The configuration is such that the coefficient set can be addressed periodically, and further, one coefficient cent determined by the output sampling timing is used to perform an operation on the input sample string to obtain the output sample value.

第1図において、入力サンプリング周波数fつのタイミ
ング・パルスはPLL回路1で周波数が逓倍されてから
クロックパルスとしてカウンタ2に与えられる。サンプ
リングレートの変換比がL/M(L、M:整数)である
とき、PLL回路1の逓倍率はしてある。カウンタ2は
、フルカウント値がLで、計数値O〜Lの間を循環計数
する。
In FIG. 1, a timing pulse with an input sampling frequency f is frequency-multiplied by a PLL circuit 1 and then applied to a counter 2 as a clock pulse. When the sampling rate conversion ratio is L/M (L, M: integers), the multiplication rate of the PLL circuit 1 is set as follows. The counter 2 has a full count value of L, and performs cyclic counting between count values O to L.

循環計数の周期は入力のタイミング・パルスの周波数f
Xで定まり、出力サンプリング周波数f。
The cycle counting period is the frequency f of the input timing pulse
It is determined by X, and the output sampling frequency f.

のタイミングパルスとは全(非同期である。The timing pulses are all (asynchronous).

カウンタ2の出力は係数テーブルメモリ5のアドレスポ
インタとして使用されるために、係数テーブルメモリ5
のアドレスデコーダ5aに導出される。係数テーブルメ
モリ5は、後段のディジタルフィルタ4に与える乗算係
数のセントを入出力タイミングの時間差φ。、φ1/シ
、φ2/L1φ3/L、−一−−−・・−・−φ(L−
11/Lに対応して記憶している。カウンタ2の出力に
よって作られるアドレスポインタは、入力タイミングパ
ルスの周期でこれらの時間差に対応したアドレスφ。、
φI/L −−〜−−−−・−−−一−−・・−を順次
指定する。カウンタ2は循環カウントを繰り返している
ので、アドレス指定も循環的に繰り返される。カウンタ
2のフルカウント値はアドレスポインタの総数と一致す
る。
The output of the counter 2 is used as an address pointer for the coefficient table memory 5.
address decoder 5a. The coefficient table memory 5 calculates the cent of the multiplication coefficient to be given to the digital filter 4 at the subsequent stage based on the time difference φ between input and output timings. , φ1/shi, φ2/L1φ3/L, -1--...---φ(L-
11/L is stored. The address pointer created by the output of the counter 2 is the address φ corresponding to the time difference between these times in the period of the input timing pulse. ,
φI/L −−−−−−−·−−−1−−···− are specified in sequence. Since the counter 2 repeats cyclic counting, addressing is also repeated cyclically. The full count value of counter 2 matches the total number of address pointers.

係数テーブルメモリ5からは、フィルタ演算に必要な1
セント分の係数データがアドレス指定ごとに同時に(並
列的に)続出される。読出された係数データは、出カバ
ソファ6を通じてディジタルフィルタ4に導出される。
From the coefficient table memory 5, 1 necessary for filter calculation is
Coefficient data for cents is output simultaneously (in parallel) for each address specification. The read coefficient data is led to the digital filter 4 through the output sofa 6.

出力バッファ6はトライステート形で、出力サンプリン
グ周波数f。
The output buffer 6 is of tri-state type and has an output sampling frequency f.

に対応したタイミングパルスで導通する。このタイミン
グパルスは演算スタート信号としてディジタルフィルタ
4にも与えられる。従って出力側タイミングパルスが発
生したとき、そのときにアドレスポインタが指定する係
数セットがディジタルフィルタ4に取込まれる。ディジ
タルフィルタ4では、この係数セントを用いて入力サン
プル列に対してたたみ込み演算等が施され、出力サンプ
ル値が算出されて導出される。
It becomes conductive with a timing pulse corresponding to . This timing pulse is also given to the digital filter 4 as a calculation start signal. Therefore, when the output side timing pulse is generated, the coefficient set specified by the address pointer at that time is taken into the digital filter 4. In the digital filter 4, a convolution operation or the like is performed on the input sample sequence using this coefficient cent, and an output sample value is calculated and derived.

次に第2図〜第4図を参照して係数テーブル内の係数セ
ット及び演算手順について説明する。第2図入力及び出
力のサンプル列のタイムチャートで、第3図はディジタ
ルフィルタ4に与えられているローパスフィルタ特性の
インパルス応答グラフである。また第4図は入力サンプ
ル列及び出力のサンプル列の周波数スペクトラムである
Next, the coefficient sets in the coefficient table and the calculation procedure will be explained with reference to FIGS. 2 to 4. FIG. 2 is a time chart of input and output sample sequences, and FIG. 3 is an impulse response graph of the low-pass filter characteristics given to the digital filter 4. Further, FIG. 4 shows the frequency spectra of the input sample string and the output sample string.

サンプリングレートの変換比をL/M (L、 M:整
数)とすると、ディジタルフィルタ4においてまず第2
図に示すように、入力サンプル列(x4)の各サンプル
間にL−1個の零値を持つサンプルを間挿する。この例
ではL/M=415で、L−1=3個の零値を間挿して
いる。この零値間挿処理(オーバーサンプリング)によ
り、f%をサンプリング周波数とする第4図Aのような
入力サンプル列(xl)のスペクトルは、第4図Bのよ
うに見かけ上、サンプリング周波数4fX(Lf、)の
回りに分布するようになる。なお入力サンプル列の信号
成分のスペクトル分布自体は変化すること無く保存され
ている。
If the sampling rate conversion ratio is L/M (L, M: integers), then in the digital filter 4, first the second
As shown in the figure, samples having L-1 zero values are interpolated between each sample of the input sample sequence (x4). In this example, L/M=415 and L-1=3 zero values are interpolated. Due to this zero value interpolation process (oversampling), the spectrum of the input sample sequence (xl) as shown in FIG. Lf, ). Note that the spectral distribution itself of the signal components of the input sample sequence is preserved without changing.

次にディジタルフィルタ4において、第4図Cのように
Lfx/2以下の帯域で入力又は出力の低い方のサンプ
リング周波数(この例ではf、<fや)を持つ信号帯域
を通過させるローパスフィルタ処理を行う。ローパスフ
ィルタ特性は第3図のようなインパルス応答を示すもの
でよく、この応答特性の離散振幅値に0・・−・−・−
・−・−−−−−−k 、 −・−・・・−・・−・−
kZrを演算係数列として入力サンプル列(x、1とた
たみ込み演算を行えば、第4図Cのようなスペクトラム
を持つL倍の個数のサンプル点についてに補間されたサ
ンプル列が得られる。このサンプル列に対してサンプル
数を1/Mに減少させるような間引き処理(この例では
115で、5個に対して1個を出力させる)を行えば、
第4図りに示すようにサンプリング周波数をfy  (
L/MfX=415 f、)に変換した出力サンプル列
(y、)が得られる。
Next, in the digital filter 4, as shown in FIG. 4C, a low-pass filter process is performed to pass a signal band having a lower input or output sampling frequency (in this example, f, or <f) in a band below Lfx/2. I do. The low-pass filter characteristic may be one that shows an impulse response as shown in Figure 3, and the discrete amplitude value of this response characteristic is 0...-----.
・−・−−−−−−k , −・−・・・−・・−・−
By convolving kZr with the input sample sequence (x, 1) as a calculation coefficient sequence, a sample sequence interpolated for L times the number of sample points having a spectrum as shown in FIG. 4C is obtained. If you perform thinning processing to reduce the number of samples to 1/M for the sample string (115 in this example, outputting 1 out of 5 samples),
As shown in the fourth diagram, the sampling frequency is fy (
An output sample sequence (y, ) converted into L/MfX=415 f, ) is obtained.

なお上述のたたみ込み演算は、零値間挿されたL倍すン
プル列の全サンプル点に関して行う必要は無く、第2図
に示す出力サンプル列(yj)に対応したサンプル点ご
とに演算を行えばよい。従って演算回路は、1/Mに削
減でき、この演算処理に伴って間引き処理が行われるこ
とになる。
Note that the above-mentioned convolution operation does not need to be performed on all sample points of the zero-value interpolated L-times sample sequence, but is performed on each sample point corresponding to the output sample sequence (yj) shown in Figure 2. That's fine. Therefore, the number of arithmetic circuits can be reduced to 1/M, and thinning processing is performed along with this arithmetic processing.

ローパスフィルタ特性のインパルス応答Gこ対応した係
数列は、例えば第3図に示すように(k、、、k ls
 k z 、−−−−−−−−−・−−−−−−−k 
r 、k zt−r、kzr)の2r千1個で定義され
る。入力サンプル列(X、)と係数列(k、)とのたた
み込み演算によって出力サンプル列(y、)を得る演算
操作は次式で表すことができる。
The coefficient sequence corresponding to the impulse response G of the low-pass filter characteristic is, for example, as shown in FIG.
k z , −−−−−−−−−・−−−−−−−k
r, kzt-r, kzr). The calculation operation for obtaining the output sample sequence (y,) by convolving the input sample sequence (X,) and the coefficient sequence (k,) can be expressed by the following equation.

y; ”−・−・・−−−−+ X 4− z  ・k
 (r4L−φjL>  +xi−1’に9、−φjL
)  十Xi  ” +r−t−φjL) ”i+I 
 ’k 1r−KL−φjL)  ”  −’−’−・
−・・・−−−−m−−−−(φ、=0/し、1/L、
2/L、−−−−−−−−−・・−・−−・−一−−−
−・−・・−・−(L −1)/L)即ち、第3図に示
すインパルス応答の中心係数k。
y; ”−・−・・−−−−+ X 4− z ・k
(r4L-φjL> 9 for +xi-1', -φjL
) 1Xi ” +r-t-φjL) ”i+I
'k 1r-KL-φjL) ” −'-'-・
−・・−−−−m−−−−(φ, = 0/S, 1/L,
2/L, --------------・・−・−−・−1−−−
−・−・・−・−(L −1)/L) That is, the central coefficient k of the impulse response shown in FIG.

と第2図の入力サンプル列のサンプル値X、−3とを重
ね合わせ、更に入力サンプル点X1−1 と出力サンプ
ル点y、との時間差φ、(この例では2/L)だけイン
パルス応答関数を右にシフトさせた状態で、入力サンプ
ル列(X、)と係数列(k、)との積和演算を行う。X
l−1に対応する係数はに、−φjL = k r−2
で、X、に対応する係数はkfr−φjLl からL個
離れたkr−L−φjL = kr−2−4となる。以
下同様にL−1個置き(3個置き)の係数について対応
する入力サンプル列と積和演算して1つの出力サンプル
値yJを得る。即ち、入力サンプル列に間挿された零値
に対しては、乗算結果が零であることが分っているから
、インパルス応答の係数列からL−1個置きに抽出され
た係数セットを用いて演算すればよい。
and the sample value X, -3 of the input sample sequence in Fig. 2 are superimposed, and the impulse response function is further calculated by the time difference φ, (2/L in this example) between the input sample point X1-1 and the output sample point y. With the input sample sequence (X,) shifted to the right, a product-sum operation is performed on the input sample sequence (X,) and the coefficient sequence (k,). X
The coefficient corresponding to l-1 is -φjL = k r-2
Then, the coefficient corresponding to X is kr-L-φjL = kr-2-4, which is L apart from kfr-φjLl. Similarly, every L-1 (every third) coefficient is subjected to a sum-of-products operation with the corresponding input sample sequence to obtain one output sample value yJ. In other words, since we know that the multiplication result is zero for zero values interpolated in the input sample sequence, we use a set of coefficients extracted every L-1 from the impulse response coefficient sequence. All you have to do is calculate.

第1図の係数テーブルメモリ5はこのような係数セット
を入力と出力との時間差φ。、φ1八、φ2/L 、−
−−−−−−−φ。−11/Lの総てに対応して第5図
のように順次記憶している。
The coefficient table memory 5 in FIG. 1 stores such coefficient sets based on the time difference φ between input and output. , φ18, φ2/L , -
−−−−−−−φ. -11/L are sequentially stored as shown in FIG.

個々の係数セントは入力タイミングパルスに同期した周
期的なアドレス指定によってアクセスされると共に、出
力タイミングパルスが生じたときに、そのときの入力タ
イミングとの時間差φ、に応じて対応する1つの係数セ
ットが選択されることになる。
Each coefficient cent is accessed by periodic addressing synchronized with the input timing pulse, and a corresponding set of coefficients is created when the output timing pulse occurs, depending on the time difference φ from the current input timing. will be selected.

なお第1図のディジタルフィルタ4の代わりに、多項式
補間演算ブロックを用いても同様な手順で出力サンプル
値を得ることができる。
Note that the output sample values can be obtained in the same manner by using a polynomial interpolation calculation block instead of the digital filter 4 in FIG. 1.

第6図は本発明の別の実施例を示すブロック回路図で、
第1図の出力バッファ6をカウンタ2と係数テーブルメ
モリ5との間に配置したものである。第1図と同様にカ
ウンタ2は係数テーブルを周期的にアドレスするアドレ
スカウント出力を発生し、出力バッファ6は出力タイミ
ングパルスに同期してカウント出力を係数テーブルメモ
リ5に導出する。従ってこの実施例でも、カウンタ2が
循環計数を行い、その出力によって係数テーブルメモリ
に対して周期的なアドレス指定を可能にし、更に出力タ
イミングパルスによって係数セントの1つを選択する構
成になっている。
FIG. 6 is a block circuit diagram showing another embodiment of the present invention,
The output buffer 6 of FIG. 1 is arranged between the counter 2 and the coefficient table memory 5. As in FIG. 1, the counter 2 generates an address count output that periodically addresses the coefficient table, and the output buffer 6 outputs the count output to the coefficient table memory 5 in synchronization with the output timing pulse. Therefore, in this embodiment as well, the counter 2 performs cyclic counting, its output enables periodic addressing of the coefficient table memory, and the output timing pulse selects one of the coefficient cents. .

次に第7図は更に別の実施例を示すブロック回路図で、
第1図に示す基本回路を多段に接続した構成になってい
る。即ち、多段縦列構成のディジタルフィルター4の夫
々に係数テーブルメモリ5及び出カバソファ6が付属し
、各メモリ5は入力タイミングパルスを逓倍したクロッ
クを計数するカウンタ2の出力によって周期的にアドレ
ス指定される。タイミング回路7は、入力のタイミング
パルス又はPLL回路1の出力に依存して出力バノファ
6及びディジタルフィルタ4のタイミング制御を行うも
のと、出力のタイミングパルスに依存してこれらの制御
を行うものとが考えられる。
Next, FIG. 7 is a block circuit diagram showing yet another embodiment,
It has a configuration in which the basic circuit shown in FIG. 1 is connected in multiple stages. That is, a coefficient table memory 5 and an output sofa 6 are attached to each of the digital filters 4 having a multi-stage cascade configuration, and each memory 5 is periodically addressed by the output of a counter 2 that counts a clock obtained by multiplying an input timing pulse. . The timing circuit 7 has two types: one that controls the timing of the output vanofer 6 and the digital filter 4 depending on the input timing pulse or the output of the PLL circuit 1, and the other that controls these depending on the output timing pulse. Conceivable.

例えば48 k Hzから44.1k Hz ヘのサン
プリング周波数の変換を行う場合、変換比は147/1
60であるから、7X7X3÷8÷4÷5のようなオー
バーサンプリングとデシメーション(間引き)を行うデ
ィジタルフィルタ4の縦列組合せにより必要な変換比が
得られる。この場合、オーバーサンプリングのみのディ
ジタルフィルタ4は入力のタイミングパルスに同期して
動作し、間引き処理を行うディジタルフィルタ4は出力
のタイミングパルスに同期して動作する。
For example, when converting the sampling frequency from 48 kHz to 44.1 kHz, the conversion ratio is 147/1.
60, the necessary conversion ratio can be obtained by a cascade combination of digital filters 4 that perform oversampling and decimation such as 7X7X3÷8÷4÷5. In this case, the digital filter 4 that performs only oversampling operates in synchronization with the input timing pulse, and the digital filter 4 that performs thinning processing operates in synchronization with the output timing pulse.

なお上述の各実施例において、カウンタ2としてジッタ
抑圧機能を付加させたもの、或いは時間平均化を行うも
のを使用してもよい。また各実施例において出力サンプ
リングパルスを逓倍又は分周したパルスに基づいて出カ
バソファ6及びディジタルフィルタ4の制御を行っても
よい。更に実施例に示したサンプリング周波数の変換回
路は、機能ブロックの組合せで構成されているが、係数
メモリとしてのROM、サンプルデータメモリとしての
RAM、乗算器、アキュムレータを夫々備えるディジタ
ル信号処理プロセッサでその要部又は全部を構成するこ
とができる。
In each of the embodiments described above, the counter 2 may have a jitter suppression function or may perform time averaging. Further, in each embodiment, the output cover sofa 6 and the digital filter 4 may be controlled based on a pulse obtained by multiplying or frequency-dividing the output sampling pulse. Furthermore, the sampling frequency conversion circuit shown in the embodiment is composed of a combination of functional blocks, and is composed of a digital signal processing processor each equipped with a ROM as a coefficient memory, a RAM as a sample data memory, a multiplier, and an accumulator. It can constitute the main part or the whole part.

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

本発明は上述の如く、カウンタ2でもって一連の係数セ
ットを指定するアドレスを入力タイミングに同期して周
期的に発生させ、出力タイミングでもって係数セントの
1つを選択して入力サンプル列との演算を施すようにし
たから、カウンタ2を入出力タイミングの時間差に対応
させて不連続動作(スタート/ストップ)させる必要が
無く、連続動作にて係数セットの読出しが可能になり、
従って非常に安定な動作が得られ、正確なサンプリング
周波数変換を実行させることができる。
As described above, the present invention uses the counter 2 to periodically generate addresses specifying a series of coefficient sets in synchronization with the input timing, and selects one of the coefficients at the output timing to match the input sample sequence. Since the calculation is performed, there is no need for the counter 2 to operate discontinuously (start/stop) in response to the time difference between input and output timings, and the coefficient set can be read out in continuous operation.
Therefore, very stable operation can be obtained and accurate sampling frequency conversion can be performed.

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

第1図は本発明の一実施例を示すサンプリング周波数変
換回路のブロック回路図、第2図は入力サンプル列及び
出力サンプル列のタイムチャート、第3図はディジタル
フィルタに与えられるローパスフィルタ特性のインパル
ス応答のグラフ、第4図は入力及び出力サンプル列の周
波数スペクトラム、第5図は係数テーブルのデータ配列
図、第6図は別の実施例を示すブロック回路図、第7図
は多段構成にした場合のブロック回路図、第8図は従来
のサンプリング周波数変換回路のブロック回路図、第9
図は第8図における入力及び出力のサンプル列のタイム
チャートである。 なお図面に用いた符号において、 1−−−−−−−−−−−−−−−−・−PLL回路2
−−−−−・−−−−−−・−・−カウンタ4−・−・
・・・−・−ディジタルフィルタ5−−−−−−−−−
−−一・−・−係数テーブルメモリ6・・・−・−−−
−−−−−一−−出力バノファである。
Fig. 1 is a block circuit diagram of a sampling frequency conversion circuit showing an embodiment of the present invention, Fig. 2 is a time chart of an input sample sequence and an output sample sequence, and Fig. 3 is an impulse of low-pass filter characteristics given to a digital filter. Graph of the response, Figure 4 is the frequency spectrum of the input and output sample sequence, Figure 5 is the data arrangement diagram of the coefficient table, Figure 6 is a block circuit diagram showing another embodiment, Figure 7 is a multi-stage configuration. FIG. 8 is a block circuit diagram of a conventional sampling frequency conversion circuit, and FIG. 9 is a block circuit diagram of a conventional sampling frequency conversion circuit.
The figure is a time chart of the input and output sample sequences in FIG. In addition, in the symbols used in the drawings, 1-----------------PLL circuit 2
−−−−−・−−−−−−・−・−Counter 4−・−・
・・・−・−Digital filter 5−−−−−−−−
−−1・−・−Coefficient table memory 6・・・−・−−−
-------1--This is an output vanofa.

Claims (1)

【特許請求の範囲】[Claims] 入力サンプリング周波数のタイミングパルスに同期した
クロックパルスを計数して一連のアドレスを周期的に形
成するカウンタと、上記アドレスによって一連の係数セ
ットが順次指定される係数テーブルメモリと、出力サン
プリング周波数に対応して出力タイミングごとに上記ア
ドレス指定された係数セットの1つを用いて入力サンプ
ル列に対して演算を施して出力サンプル値を得る演算回
路とを備えるサンプリング周波数変換回路。
A counter that periodically forms a series of addresses by counting clock pulses synchronized with the timing pulse of the input sampling frequency, a coefficient table memory that sequentially specifies a series of coefficient sets according to the addresses, and a coefficient table memory that corresponds to the output sampling frequency. an arithmetic circuit that performs arithmetic operations on an input sample string using one of the addressed coefficient sets at each output timing to obtain an output sample value.
JP24114585A 1985-10-28 1985-10-28 Sampling frequency conversion circuit Expired - Fee Related JPH0720045B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24114585A JPH0720045B2 (en) 1985-10-28 1985-10-28 Sampling frequency conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24114585A JPH0720045B2 (en) 1985-10-28 1985-10-28 Sampling frequency conversion circuit

Publications (2)

Publication Number Publication Date
JPS62101112A true JPS62101112A (en) 1987-05-11
JPH0720045B2 JPH0720045B2 (en) 1995-03-06

Family

ID=17069936

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24114585A Expired - Fee Related JPH0720045B2 (en) 1985-10-28 1985-10-28 Sampling frequency conversion circuit

Country Status (1)

Country Link
JP (1) JPH0720045B2 (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63194435A (en) * 1987-02-09 1988-08-11 Nec Corp Digital signal interpolating circuit
JPS6447113A (en) * 1987-08-17 1989-02-21 Sony Corp Digital filter
JPS6477329A (en) * 1987-09-18 1989-03-23 Toshiba Corp Phase information detecting circuit
JPH01175311A (en) * 1987-12-29 1989-07-11 Sony Corp Sampling frequency converting circuit
JPH0273781A (en) * 1988-09-08 1990-03-13 Sanyo Electric Co Ltd Sampling frequency converter
JPH02141117A (en) * 1988-11-22 1990-05-30 Yamaha Corp Digital filter
JPH02141116A (en) * 1988-11-22 1990-05-30 Yamaha Corp Digital signal processing circuit and digital filter with same circuit mounted thereon
US4953117A (en) * 1987-12-29 1990-08-28 Sony Corporation Method and apparatus for converting sampling frequencies
US5159338A (en) * 1990-11-30 1992-10-27 Kabushiki Kaisha Toshiba Sampling frequency conversion apparatus
US5365468A (en) * 1992-02-17 1994-11-15 Yamaha Corporation Sampling frequency converter
JPH07118628B1 (en) * 1988-06-08 1995-12-18 Fujitsu Ltd
JP2004214827A (en) * 2002-12-27 2004-07-29 Sony Corp Sampling rate conversion apparatus and method thereof, and audio apparatus
JP2007067646A (en) * 2005-08-30 2007-03-15 Oki Electric Ind Co Ltd Sampling rate conversion method and its circuit
JP2008113123A (en) * 2006-10-30 2008-05-15 Fujitsu Ten Ltd Sampling conversion device
JP2008219560A (en) * 2007-03-06 2008-09-18 Yokogawa Electric Corp Decimation filter

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63194435A (en) * 1987-02-09 1988-08-11 Nec Corp Digital signal interpolating circuit
JPS6447113A (en) * 1987-08-17 1989-02-21 Sony Corp Digital filter
JPS6477329A (en) * 1987-09-18 1989-03-23 Toshiba Corp Phase information detecting circuit
US4953117A (en) * 1987-12-29 1990-08-28 Sony Corporation Method and apparatus for converting sampling frequencies
JPH01175311A (en) * 1987-12-29 1989-07-11 Sony Corp Sampling frequency converting circuit
JPH07118628B1 (en) * 1988-06-08 1995-12-18 Fujitsu Ltd
JPH0273781A (en) * 1988-09-08 1990-03-13 Sanyo Electric Co Ltd Sampling frequency converter
JPH02141116A (en) * 1988-11-22 1990-05-30 Yamaha Corp Digital signal processing circuit and digital filter with same circuit mounted thereon
JPH02141117A (en) * 1988-11-22 1990-05-30 Yamaha Corp Digital filter
US5159338A (en) * 1990-11-30 1992-10-27 Kabushiki Kaisha Toshiba Sampling frequency conversion apparatus
US5365468A (en) * 1992-02-17 1994-11-15 Yamaha Corporation Sampling frequency converter
JP2004214827A (en) * 2002-12-27 2004-07-29 Sony Corp Sampling rate conversion apparatus and method thereof, and audio apparatus
JP2007067646A (en) * 2005-08-30 2007-03-15 Oki Electric Ind Co Ltd Sampling rate conversion method and its circuit
JP2008113123A (en) * 2006-10-30 2008-05-15 Fujitsu Ten Ltd Sampling conversion device
JP2008219560A (en) * 2007-03-06 2008-09-18 Yokogawa Electric Corp Decimation filter

Also Published As

Publication number Publication date
JPH0720045B2 (en) 1995-03-06

Similar Documents

Publication Publication Date Title
JPS62101112A (en) Sampling frequency conversion circuit
EP1810403B1 (en) Sample rate converter for reducing the sampling frequency of a signal by a fractional number
US10009013B2 (en) Digital filter
JPH01175310A (en) Sampling frequency converting circuit
EP1684428A1 (en) Sample rate converter
US9432043B2 (en) Sample rate converter, an analog to digital converter including a sample rate converter and a method of converting a data stream from one data rate to another data rate
JP2011223570A (en) Ad conversion circuit
JPS6196817A (en) Filter
Jang et al. Non-recursive cascaded integrator-comb decimation filters with integer multiple factors
Bank Converting infinite impulse response filters to parallel form [tips & tricks]
CN107977123B (en) Sensing system and semiconductor device
JPWO2016021382A1 (en) Digital filter
JP3320542B2 (en) Method for filtering a digital signal and digital filter architecture
JPH01117426A (en) Digital analog conversion system
GB2267193A (en) Multi-tap oversampling filter
EP0426294B1 (en) Decimation-interpolation circuits
JPH08204506A (en) Interpolation circuit and interpolation system
JPH0435111A (en) Sampling rate converter
JPH0865105A (en) Sampling frequency converter
JP3258938B2 (en) Decimation filter
JPH04349709A (en) A/d converter circuit
EP0762646A1 (en) Continuous-time finite impulse response filter for analog signal processing
JPH10322164A (en) Digital filter
JPS5997218A (en) Digital low-pass filter
JPH05259814A (en) Digital filter

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees