JPH05327409A - Rate conversion method and its conversion circuit - Google Patents

Rate conversion method and its conversion circuit

Info

Publication number
JPH05327409A
JPH05327409A JP15572592A JP15572592A JPH05327409A JP H05327409 A JPH05327409 A JP H05327409A JP 15572592 A JP15572592 A JP 15572592A JP 15572592 A JP15572592 A JP 15572592A JP H05327409 A JPH05327409 A JP H05327409A
Authority
JP
Japan
Prior art keywords
digital signal
time
sampling frequency
oversampling
digital
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
JP15572592A
Other languages
Japanese (ja)
Inventor
Masayoshi Noguchi
雅義 野口
Makoto Yamada
誠 山田
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 JP15572592A priority Critical patent/JPH05327409A/en
Publication of JPH05327409A publication Critical patent/JPH05327409A/en
Pending legal-status Critical Current

Links

Landscapes

  • Analogue/Digital Conversion (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

PURPOSE:To provide a rate conversion method and its conversion circuit able to obtain a sufficient characteristic practically from a ROM of even a small capacity. CONSTITUTION:The conversion circuit is provided with a digital filter 13 receiving a 1st digital signal D11 to implement oversampling for a multiple of (m) (m>2 being an integral number) of a 1st sampling frequency and with an interpolation circuit 15 implementing linear interpolation with respect to an input signal. Operation by the digital filter 13 is applied to the 1st digital signal D11 at points of 1st and 2nd times having a 2nd digital signal D15 before and after inbetween timewise among point of times t1-tm being m-equal divisions of a period of the 1st digital signal D15. The result of the operation at the 1st and 2nd point of times is fed to the interpolation circuit 15, from which a 2nd digital signal D15 is obtained.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、デジタルデータのレ
ート変換方法及びその変換回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a digital data rate conversion method and a conversion circuit thereof.

【0002】[0002]

【従来の技術】例えばデジタルオーディオ機器において
は、デジタルオーディオ信号のサンプリング周波数とし
て、一般に48kHz、44.1kHz、32kHzが使用されてい
る。
2. Description of the Related Art For example, in digital audio equipment, 48 kHz, 44.1 kHz and 32 kHz are generally used as sampling frequencies of digital audio signals.

【0003】このため、デジタルオーディオ信号に対し
て、そのサンプリング周波数の変更、すなわち、レート
変換を必要とすることがある。
Therefore, it may be necessary to change the sampling frequency of the digital audio signal, that is, to perform rate conversion.

【0004】そして、このレート変換の方法として、 直線補間により変換する方法 選択的なオーバーサンプリングにより直接変換する
方法 が考えられている。
As a rate conversion method, a method of conversion by linear interpolation and a method of direct conversion by selective oversampling have been considered.

【0005】すなわち、の方法の場合には、もとのア
ナログオーディオ信号が、図5Bの実線の曲線で示さ
れ、レート変換前のクロック(A/D変換点)が、図5
Aで示されるとすれば、レート変換前のデジタルオーデ
ィオ信号は、図5Bにおいて●印を付けたデータとな
る。そして、レート変換後のクロックが、図5Cで示さ
れるとすれば、破線で示すように、これら●印を結ぶ直
線を仮定し、その×印を付けたデータを、レート変換し
たデジタルオーディオ信号として取り出す。
That is, in the case of the method (1), the original analog audio signal is shown by the solid curve in FIG. 5B, and the clock before rate conversion (A / D conversion point) is shown in FIG.
If indicated by A, the digital audio signal before rate conversion is the data marked with a black circle in FIG. 5B. If the clock after rate conversion is shown in FIG. 5C, as shown by the broken line, a straight line connecting these marks ● is assumed, and the data marked with × is used as a rate-converted digital audio signal. Take it out.

【0006】また、の方法の場合には、レート変換前
のデジタルオーディオ信号のサンプリング周波数と、レ
ート変換後のデジタルオーディオ信号のサンプリング周
波数との最小公倍数を、オーバーサンプリングの周波数
とする。そして、変換後のサンプリング点と一致するレ
ート変換前のオーバーサンプリング点について、実際の
計算を行い、レート変換されたデジタルオーディオ信号
を得るものである。
Further, in the case of the above method, the least common multiple of the sampling frequency of the digital audio signal before rate conversion and the sampling frequency of the digital audio signal after rate conversion is set as the oversampling frequency. Then, for the over-sampling points before rate conversion that match the sampling points after conversion, actual calculation is performed to obtain a rate-converted digital audio signal.

【0007】[0007]

【発明が解決しようとする課題】ところが、の方法の
場合には、直線補間のため、図5からも明らかなよう
に、レート変換後のデジタルオーディオ信号におけるレ
ベルの誤差が大きくなることがある。さらに、折り返し
成分を十分に減衰させることができない。
However, in the case of the method (1), since the linear interpolation is performed, as is apparent from FIG. 5, the level error in the digital audio signal after rate conversion may become large. Furthermore, the folding component cannot be attenuated sufficiently.

【0008】また、の方法の場合には、オーバーサン
プリングの周波数が、レート変換前のデジタルオーディ
オ信号のサンプリング周波数と、レート変換後のデジタ
ルオーディオ信号のサンプリング周波数との最小公倍数
となるので、変換するレートの組み合わせが例えば44.1
kHz及び48kHzのときには、最小公倍数が大きくなって
オーバーサンプリングの倍数あるいは周波数がきわめて
高くなってしまう。この結果、オーバーサンプリングに
使用するデジタルフィルタの乗算回路の数がきわめて多
くなり、その乗算係数を与えるROMとして、膨大な容
量のものが必要となってしまう。
In the case of the method (1), since the oversampling frequency is the least common multiple of the sampling frequency of the digital audio signal before rate conversion and the sampling frequency of the digital audio signal after rate conversion, conversion is performed. For example, the rate combination is 44.1
At kHz and 48 kHz, the least common multiple becomes large and the oversampling multiple or frequency becomes extremely high. As a result, the number of multiplication circuits of the digital filter used for oversampling becomes extremely large, and a ROM having an enormous capacity is required as a ROM for providing the multiplication coefficient.

【0009】この発明は、以上のような問題点を解決し
ようとするものである。
The present invention is intended to solve the above problems.

【0010】[0010]

【課題を解決するための手段】このため、この発明にお
いては、各部の参照符号を後述の実施例に対応させる
と、第1のサンプリング周波数の第1のデジタル信号D
11を、第2のサンプリング周波数の第2のデジタル信号
D15にレート変換する場合において、第1のデジタル信
号D11が供給され、第1のサンプリング周波数のm倍の
オーバーサンプリングを行うデジタルフィルタ13と、
入力信号に対して直線補間を行う補間回路15とを設
け、第1のデジタル信号D11の周期τをm等分する時点
t1 〜tm のうち、第2のデジタル信号D15を時間的に
前後から挟む第1及び第2の時点に、第1のデジタル信
号D11に対してデジタルフィルタ13の演算を行い、第
1及び第2の時点における演算の結果を、補間回路15
に供給して第2のデジタル信号D15を得るようにしたも
のである。
Therefore, in the present invention, when the reference numerals of the respective parts correspond to the embodiments described later, the first digital signal D of the first sampling frequency is obtained.
In the case of rate-converting 11 into the second digital signal D15 having the second sampling frequency, the first digital signal D11 is supplied, and the digital filter 13 that performs m times oversampling of the first sampling frequency,
An interpolating circuit 15 for linearly interpolating the input signal is provided, and the second digital signal D15 is temporally sandwiched between the time points t1 to tm at which the period τ of the first digital signal D11 is equally divided into m. At the first and second time points, the operation of the digital filter 13 is performed on the first digital signal D11, and the result of the operation at the first and second time points is calculated by the interpolation circuit 15
To obtain a second digital signal D15.

【0011】[0011]

【作用】第1のデジタル信号D11は、デジタルフィルタ
13において、必要な特性が得られる倍数mでオーバー
サンプリングされるとともに、そのオーバーサンプリン
グは、第2のデジタル信号D15を時間的に前後から挟む
2つの時点においてのみ、実行される。そして、このオ
ーバーサンプリングの結果が、補間回路15により直線
補間されて第2のデジタル信号D15が取り出される。
The first digital signal D11 is oversampled in the digital filter 13 by a multiple m that can obtain the required characteristics, and the oversampling sandwiches the second digital signal D15 from the front and back in terms of time. Only executed at one point. Then, the result of this oversampling is linearly interpolated by the interpolation circuit 15, and the second digital signal D15 is taken out.

【0012】[0012]

【実施例】図1において、レート変換前のデジタルオー
ディオ信号に同期したクロックP21が、端子21を通じ
て信号形成回路22に供給されて各種の制御信号及びタ
イミング信号が形成され、これら信号が、後述の回路1
2〜16にそれぞれ供給される。また、形成回路22に
おいては、レート変換後のデジタルオーディオ信号に同
期したクロックP27も形成され、このクロックP27が端
子27に取り出される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS In FIG. 1, a clock P21 synchronized with a digital audio signal before rate conversion is supplied to a signal forming circuit 22 through a terminal 21 to form various control signals and timing signals, and these signals will be described later. Circuit 1
2 to 16, respectively. Further, the forming circuit 22 also forms a clock P27 synchronized with the rate-converted digital audio signal, and the clock P27 is taken out to the terminal 27.

【0013】図3AはクロックP21を示し、図3Cはク
ロックP27を示すもので、クロックP21、P27は、最小
公倍数の周期で、時間位置が一致する。なお、クロック
P21の位置する時点を時点T1 、T2 、T3 、………と
するとともに、その周期をτとする。
FIG. 3A shows the clock P21, and FIG. 3C shows the clock P27. The clocks P21 and P27 have a cycle of the least common multiple and their time positions coincide with each other. The time point at which the clock P21 is located is time points T1, T2, T3, ... And its period is τ.

【0014】そして、レート変換前のデジタルオーディ
オ信号D11が、端子11から入力インターフェイス回路
12を通じてデジタルフィルタ13に供給される。この
例においては、フィルタ13は、信号D11に対して4倍
のオーバーサンプリングを行うものである。このため、
フィルタ13は、例えば図2に示すように、信号D11が
直列に供給される5段の遅延回路DL11〜DL15と、信号D
11及び遅延回路DL11〜DL15 の遅延出力が供給される6
つの乗算回路MP11〜MP16と、その乗算出力が供給される
加算回路SM11とにより、FIR型に構成される。
Then, the digital audio signal D11 before rate conversion is supplied from the terminal 11 to the digital filter 13 through the input interface circuit 12. In this example, the filter 13 performs 4 times oversampling on the signal D11. For this reason,
For example, as shown in FIG. 2, the filter 13 includes five stages of delay circuits DL11 to DL15 to which the signal D11 is supplied in series, and a signal D.
11 and the delay outputs of the delay circuits DL11 to DL15 are supplied 6
The multiplication circuit MP11 to MP16 and the addition circuit SM11 to which the multiplication output is supplied form an FIR type.

【0015】さらに、14は係数用ROMで、このRO
M14に乗算回路MP11〜MP16において使用される乗算係
数、例えば図3Eに示すような乗算係数k1 〜k25が書
き込まれているとともに、その乗算係数k1 〜K25のう
ち、所定のものが選択されて乗算回路MP11〜MP16にセッ
トされる。
Further, 14 is a coefficient ROM, which is the RO
M14 is written with multiplication coefficients used in the multiplication circuits MP11 to MP16, for example, multiplication coefficients k1 to k25 as shown in FIG. 3E, and a predetermined one of the multiplication coefficients k1 to K25 is selected and multiplied. Set to circuits MP11-MP16.

【0016】そして、この例においては、フィルタ13
が4倍のオーバーサンプリングを行うのであるから、そ
のオーバーサンプリング点は、図3Bに示すように、ク
ロックP21の周期τを4等分する時点t1 〜t4 とな
る。
In this example, the filter 13
Since 4 times oversampling is performed, the oversampling points are time points t1 to t4 at which the period .tau. Of the clock P21 is divided into four, as shown in FIG. 3B.

【0017】そして、本来ならば、このすべて周期τの
すべての時点t1 〜t4 で、フィルタ13の演算を必要
とするとともに、その演算ごとにROM14から乗算回
路MP11〜MP16にそれぞれの乗算係数をセットする必要が
ある。
Under normal circumstances, the calculation of the filter 13 is required at all time points t1 to t4 of this cycle τ, and each multiplication coefficient is set from the ROM 14 to the multiplication circuits MP11 to MP16 for each calculation. There is a need to.

【0018】しかし、この発明においては、図3B〜D
に示すように、例えば、時点T4 と時点T5 との間の期
間であれば、クロックP27が、時点t3 と時点t4 との
間の期間に位置するので、この時点t3 と時点t4 とに
ついて、フィルタ13の演算が実行される。すなわち、
一般的には、時点t1 〜t4 のうち、クロックP27の直
前の時点を時点tj とすれば、この時点tj と、続く時
点t(j+1) とにおいてのみ、フィルタ13の演算が実行
される(jは1〜4のいずれか。j=4のとき、j+1
=1とする)。
However, in the present invention, FIGS.
As shown in, for example, in the period between the time points T4 and T5, since the clock P27 is located in the period between the time points t3 and t4, the filter is executed for the time points t3 and t4. Thirteen operations are executed. That is,
Generally, if the time point immediately before the clock P27 among the time points t1 to t4 is the time point tj, the operation of the filter 13 is executed only at this time point tj and the subsequent time point t (j + 1). (J is one of 1 to 4. When j = 4, j + 1
= 1).

【0019】例えば、時点T4 と時点T5 との間の期間
の時点t3 であれば、ROM14に書き込まれている乗
算係数k1 〜K25(図3E)のうち、●印を付けた4つ
おきの係数k3 、k7 、k11、k15、k19、k23が、R
OM14から取り出され、この取り出された乗算係数
が、図2に示すように、フィルタ13の乗算回路MP11〜
MP16にセットされて演算が実行される。
For example, at the time t3 in the period between the time T4 and the time T5, among the multiplication coefficients k1 to K25 (FIG. 3E) written in the ROM 14, every fourth coefficient marked with a ●. k3, k7, k11, k15, k19, k23 are R
As shown in FIG. 2, the multiplication coefficients extracted from the OM 14 and extracted by the multiplication circuits MP11 to MP11 of the filter 13
It is set to MP16 and the operation is executed.

【0020】そして、このフィルタ13の演算出力が、
直線補間回路15に供給される。この補間回路15は、
図4A〜Cに示すように(図4は、図3に対して時間軸
を拡大している)、時点tj 、t(j+1) におけるフィル
タ13の演算出力を、値Dj、D(j+1) とすれば、これ
ら値Dj 、D(j+1) から、直線補間により、クロックP
27の時点における値Di を算出するものである。
The operation output of the filter 13 is
It is supplied to the linear interpolation circuit 15. This interpolation circuit 15
As shown in FIGS. 4A to 4C (in FIG. 4, the time axis is expanded with respect to FIG. 3), the operation output of the filter 13 at the time points tj and t (j + 1) is changed to values Dj and D (j +1), a clock P is obtained from these values Dj and D (j + 1) by linear interpolation.
The value Di at the time of 27 is calculated.

【0021】こうして、補間回路15からは、クロック
P27ごとに、そのクロックP27の時点におけるデータD
i が取り出される。
Thus, from the interpolation circuit 15, every clock P27, the data D at the time of the clock P27 is obtained.
i is fetched.

【0022】この取り出されたデータDi は、レート変
換後のクロックP27ごとに得られるので、レート変換さ
れたデジタルオーディオ信号にほかならない。そこで、
このデータD15(=Di )が、出力インターフェイス回
路16を通じて端子17にレート変換されたデジタルオ
ーディオ信号D15として出力される。
Since the extracted data Di is obtained for each clock P27 after rate conversion, it is nothing but a rate-converted digital audio signal. Therefore,
This data D15 (= Di) is output as a rate-converted digital audio signal D15 to the terminal 17 through the output interface circuit 16.

【0023】こうして、デジタルオーディオ信号のレー
ト変換を行うことができるが、一般的には、次のとおり
である。
In this way, the rate conversion of the digital audio signal can be performed, but generally, it is as follows.

【0024】1.レート変換前の信号D11(クロックP2
1)と、レート変換後の信号D15(クロックP27)との
最小公倍数の周期における、信号D15の周期数をm・n
とする(m、nは2以上の整数)。 2.レート変換前の信号D11のサンプリング周波数のm倍
のオーバーサンプリングを行うデジタルフィルタ13を
設ける。 3.フィルタ13の出力に対して、直線補間を行う補間回
路15を設ける。 4.レート変換前の信号D11の周期τを、m等分する時点
t1 〜tm を定める。 5.時点t1 〜tm のうち、レート変換後のクロックP27
の直前の時点を時点tj とするとき、この時点tj と、
続く時点t(j+1) とにおいてのみ、フィルタ13の演算
を実行する(jは1〜mのいずれか。j=mのとき、j
+1=1とする)。この演算結果を、値Dj 、D(j+1)
とする。 6.時点tj と、時点t(j+1) との間の期間を、n等分す
る。 7.n等分による時点のうちの1つの時点ti が、1.項に
より、レート変換後の信号D15の時点に一致するので、
この一致する時点ti における値Di を、値Dj 、D(j
+1) から直線補間により求める。すなわち、 Di =(D(j+1) −Dj )(N/n)+Dj N:時点tj からの時点ti の順番から、値Di を求め
る。 8.この求めた値Di を、レート変換された信号D15とし
て出力する。 以上のようにすれば、任意のレート変換を行うことがで
きる。
1. Signal D11 (clock P2 before rate conversion)
1) and the signal D15 (clock P27) after the rate conversion, the period of the signal D15 in the period of the least common multiple is m · n.
(M and n are integers of 2 or more). 2. A digital filter 13 is provided for performing oversampling of the sampling frequency of the signal D11 before rate conversion by m times. 3. An interpolation circuit 15 for performing linear interpolation on the output of the filter 13 is provided. 4. Determine the time points t1 to tm at which the period τ of the signal D11 before rate conversion is divided into m equal parts. 5. Of time points t1 to tm, clock P27 after rate conversion
When the time point immediately before is defined as time point tj, this time point tj,
Only at the subsequent time point t (j + 1), the calculation of the filter 13 is executed (where j is 1 to m. When j = m, j
+ 1 = 1). The result of this calculation is the value Dj, D (j + 1)
And 6. Divide the period between time tj and time t (j + 1) into n equal parts. 7. Since one of the time points ti divided by n equals the time point of the signal D15 after rate conversion according to item 1.
The value Di at the matching time ti is set to the values Dj and D (j
+1) is calculated by linear interpolation. That is, Di = (D (j + 1) -Dj) (N / n) + Dj N: The value Di is obtained from the order of the time ti from the time tj. 8. The obtained value Di is output as the rate-converted signal D15. With the above configuration, arbitrary rate conversion can be performed.

【0025】ただし、その場合、値mを大きくすると、
折り返し成分の減衰量を大きくすることができるが、こ
の値mに比例してROM14の容量が大きくなってしま
う。
However, in that case, if the value m is increased,
Although the amount of attenuation of the aliasing component can be increased, the capacity of the ROM 14 increases in proportion to this value m.

【0026】そこで、この発明においては、値mは折り
返し成分を許容できる最小値に選択する。そして、その
ようにすれば、ROM14の容量を、上述したの方法
の場合の1/nにすることができる。
Therefore, in the present invention, the value m is selected to be the minimum value that allows the folding component. Then, by doing so, the capacity of the ROM 14 can be reduced to 1 / n of that in the method described above.

【0027】つまり、値mを大きくすれば、理論的に
は、それだけレート変換特性が良くなるが、実際には、
レート変換前の信号D11の特性などに限界があり、レー
ト変換特性だけをよくしても意味がないので、レート変
換特性は必要最小限となる程度に小さい値mを選択し、
値nを大きくする。そのようにすれば、ROM14の容
量を1/nにすることができる。
That is, if the value m is increased, theoretically, the rate conversion characteristic is improved, but in reality,
Since there is a limit to the characteristics of the signal D11 before rate conversion and it is meaningless to improve only the rate conversion characteristics, select a value m that is as small as necessary for the rate conversion characteristics.
Increase the value n. By doing so, the capacity of the ROM 14 can be reduced to 1 / n.

【0028】例えば、サンプリング周波数を44.1kHzか
ら32kHzにレート変換する場合であれば、m・n=320
になるが、例えばm=40、すなわち、フィルタ13のオ
ーバーサンプリングを40倍とする。すると、n=8とな
り、ROM14の容量を1/8に削減することができ
る。
For example, when the sampling frequency is converted from 44.1 kHz to 32 kHz, m · n = 320
However, for example, m = 40, that is, the oversampling of the filter 13 is set to 40 times. Then, n = 8, and the capacity of the ROM 14 can be reduced to 1/8.

【0029】[0029]

【発明の効果】この発明によれば、デジタルフィルタ1
3及び直線補間回路15によりレート変換を行うように
したので、デジタルフィルタ13の係数用ROM14の
容量を1/nに小さくすることができる。
According to the present invention, the digital filter 1
3 and the linear interpolation circuit 15 perform rate conversion, the capacity of the coefficient ROM 14 of the digital filter 13 can be reduced to 1 / n.

【0030】また、1組のレート変換に必要な乗算係数
の数が1/nになるので、複数組のレート変換に必要な
乗算係数のすべてを、ROM14に用意することもで
き、複数のレート変換モードに対応できる変換回路を、
1チップのLSIで実現することができる。
Since the number of multiplication coefficients required for one set of rate conversion is 1 / n, all the multiplication coefficients required for a plurality of sets of rate conversion can be prepared in the ROM 14, and a plurality of rates can be provided. A conversion circuit compatible with the conversion mode
It can be realized by a one-chip LSI.

【0031】さらに、値mとして大きな値が必要な場合
には、フィルタ13におけるオーバーサンプリングの演
算回数及び演算時間が問題となるが、この発明において
は、レート変換後の信号D15(クロックP27)を挟む前
後の時点tj 、t(j+1) についてのみ、オーバーサンプ
リングの演算を行えばよいので、すなわち、レート変換
後の信号D15の2倍の数だけオーバーサンプリングの演
算を行えばよいので、演算回数が値mに影響されないと
ともに、処理時間に余裕ができる。
Further, when a large value is required as the value m, the number of oversampling operations and the operation time in the filter 13 become a problem, but in the present invention, the signal D15 (clock P27) after rate conversion is applied. Since the oversampling operation only needs to be performed for the time points tj and t (j + 1) before and after the sandwiching, that is, the oversampling operation only needs to be performed twice as many as the rate-converted signal D15. The number of times is not affected by the value m, and the processing time can be afforded.

【0032】また、ROM14は、例えば4倍のオーバ
ーサンプリングに必要なすべての乗算係数k1 〜k25を
有しているが、1回の演算では、図3Eの例えば●印の
位置の乗算係数、すなわち、乗算係数k1 〜k25のうち
の4つ(=m)おきの乗算係数を、例えば図2に示すよ
うに、乗算回路MP11〜MP16にセットして使用するだけな
ので、値mの大きさによって演算回数が変化することが
なく、したがって、信号D15の1サンプルを求めるのに
必要とする演算時間も値mに影響されない。
The ROM 14 has all the multiplication coefficients k1 to k25 necessary for, for example, quadruple oversampling. However, in one operation, the multiplication coefficient at the position of, for example, ● in FIG. , Every four (= m) multiplication coefficients among the multiplication coefficients k1 to k25 are set and used only in the multiplication circuits MP11 to MP16 as shown in FIG. The number of times does not change, so that the calculation time required to obtain one sample of the signal D15 is not influenced by the value m.

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

【図1】この発明の一例を示す系統図である。FIG. 1 is a system diagram showing an example of the present invention.

【図2】図1の一部の一例を示す系統図である。FIG. 2 is a system diagram showing an example of a part of FIG.

【図3】図1の動作を説明するための図である。FIG. 3 is a diagram for explaining the operation of FIG.

【図4】図1の動作を説明するための図である。FIG. 4 is a diagram for explaining the operation of FIG.

【図5】従来例を説明するための図である。FIG. 5 is a diagram for explaining a conventional example.

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

12 入力インターフェイス回路 13 デジタルフィルタ 14 係数用ROM 15 直線補間回路 16 出力インターフェイス回路 22 信号形成回路 12 input interface circuit 13 digital filter 14 coefficient ROM 15 linear interpolation circuit 16 output interface circuit 22 signal forming circuit

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】 第1のサンプリング周波数の第1のデジ
タル信号を、第2のサンプリング周波数の第2のデジタ
ル信号にレート変換する場合において、 上記第1のデジタル信号の周期をm等分(m>2の整
数)する時点を求めこのm等分する時点のうち、上記第
2のデジタル信号を時間的に前後から挟む第1及び第2
の時点に、上記第1のデジタル信号に対して上記m倍の
オーバーサンプリングを行い、 上記第1及び第2の時点における上記オーバーサンプリ
ングの結果を、直線補間して上記第2のデジタル信号を
得るようにしたレート変換方法。
1. When rate-converting a first digital signal having a first sampling frequency into a second digital signal having a second sampling frequency, the period of the first digital signal is divided into m equal parts (m). > 2), and at the time point of equally dividing into m, the first and second values sandwiching the second digital signal from the front and the rear in time.
At the point of time, the first digital signal is oversampled by m times, and the results of the oversampling at the first and second points of time are linearly interpolated to obtain the second digital signal. Rate conversion method.
【請求項2】 第1のサンプリング周波数の第1のデジ
タル信号を、第2のサンプリング周波数の第2のデジタ
ル信号にレート変換する場合において、 上記第1のデジタル信号と、上記第2のデジタル信号と
の最小公倍数の周期における、上記第2のデジタル信号
の周期数をm・n(m、nは2以上の整数)とすると
き、 上記第1のデジタル信号の周期をm等分する時点を求
め、 このm等分する時点のうち、上記第2のデジタル信号の
直前の第1の時点及びこの第1の時点に続く第2の時点
に、上記第1のデジタル信号に対してm倍のオーバーサ
ンプリングを行い、 上記第1の時点と、上記第2の時点との間の期間をn等
分する時点を求め、 このn等分する時点のうち、上記第2のデジタル信号に
時間位置が一致する時点のデータを、上記第1及び第2
の時点における上記オーバーサンプリングの結果を直線
補間して求め、 この直線補間によるデータを上記第2のデジタル信号と
して取り出すようにしたレート変換方法。
2. In the case of rate-converting a first digital signal of a first sampling frequency into a second digital signal of a second sampling frequency, the first digital signal and the second digital signal When the number of cycles of the second digital signal in the cycle of the least common multiple of and is m · n (m, n is an integer of 2 or more), the time point at which the cycle of the first digital signal is divided into m equal parts At the first time point immediately before the second digital signal and the second time point subsequent to the first time point, among the time points obtained by equally dividing the m times, m times as much as the first digital signal. Oversampling is performed to obtain a time point at which the period between the first time point and the second time point is divided into n equal parts, and among these n equal parts, the time position of the second digital signal is The data at the matching time is 1 and the second
A rate conversion method in which the result of the oversampling at the point of time is obtained by linear interpolation, and the data obtained by the linear interpolation is taken out as the second digital signal.
【請求項3】 第1のサンプリング周波数の第1のデジ
タル信号を、第2のサンプリング周波数の第2のデジタ
ル信号にレート変換するレート変換回路において、 上記第1のデジタル信号が供給され、上記第1のサンプ
リング周波数のm倍(m>2の整数)のオーバーサンプ
リングを行うデジタルフィルタと、 入力信号に対して直線補間を行う補間回路とを有し、 上記第1のデジタル信号の周期をm等分する時点のう
ち、上記第2のデジタル信号を時間的に前後から挟む第
1及び第2の時点に、上記第1のデジタル信号に対して
上記デジタルフィルタの演算を行い、 上記第1及び第2の時点における上記演算の結果を、上
記補間回路に供給して上記第2のデジタル信号を得るよ
うにしたレート変換回路。
3. A rate conversion circuit for rate-converting a first digital signal of a first sampling frequency into a second digital signal of a second sampling frequency, wherein the first digital signal is supplied and the first digital signal is supplied. A digital filter for oversampling m times the sampling frequency of 1 (m> 2 is an integer) and an interpolation circuit for linearly interpolating the input signal are provided, and the cycle of the first digital signal is m or the like. At the first and second time points at which the second digital signal is temporally sandwiched between the first and second time points during the division, the calculation of the digital filter is performed on the first digital signal to obtain the first and second time points. A rate conversion circuit configured to supply the result of the calculation at time 2 to the interpolation circuit to obtain the second digital signal.
【請求項4】 第1のサンプリング周波数の第1のデジ
タル信号を、第2のサンプリング周波数の第2のデジタ
ル信号にレート変換するレート変換回路において、 上記第1のデジタル信号と、上記第2のデジタル信号と
の最小公倍数の周期における、上記第2のデジタル信号
の周期数をm・n(m、nは2以上の整数)とすると
き、 上記第1のデジタル信号が供給され、上記第1のサンプ
リング周波数のm倍のオーバーサンプリングを行うデジ
タルフィルタと、 入力信号に対して直線補間を行う補間回路とを有し、 上記デジタルフィルタにおいて、上記第1のデジタル信
号の周期を、m等分する時点のうち、上記第2のデジタ
ル信号を時間的に前後から挟む第1及び第2の時点に、
上記第1のデジタル信号に対してm倍のオーバーサンプ
リングを行い、 上記補間回路において、上記第1の時点と、上記第2の
時点との間の期間をn等分する時点のうち、上記第2の
デジタル信号に時間位置が一致する時点のデータを、上
記第1及び第2の時点における上記オーバーサンプリン
グの結果を直線補間して求め、 この直線補間によるデータを上記第2のデジタル信号と
して取り出すようにしたレート変換回路。
4. A rate conversion circuit for rate-converting a first digital signal of a first sampling frequency into a second digital signal of a second sampling frequency, wherein the first digital signal and the second digital signal When the number of cycles of the second digital signal in the cycle of the least common multiple with the digital signal is m · n (m, n is an integer of 2 or more), the first digital signal is supplied and the first digital signal is supplied. Has a digital filter that performs m times oversampling of the sampling frequency and an interpolation circuit that performs linear interpolation on the input signal. In the digital filter, the cycle of the first digital signal is divided into m equal parts. Of the time points, at the first and second time points that sandwich the second digital signal from the front and back in terms of time,
M times oversampling is performed on the first digital signal, and the interpolator circuit divides the period between the first time point and the second time point into n equal parts, The data at the time when the time position coincides with the second digital signal is obtained by linearly interpolating the result of the oversampling at the first and second time points, and the data obtained by the linear interpolation is taken out as the second digital signal. Rate conversion circuit.
JP15572592A 1992-05-22 1992-05-22 Rate conversion method and its conversion circuit Pending JPH05327409A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15572592A JPH05327409A (en) 1992-05-22 1992-05-22 Rate conversion method and its conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15572592A JPH05327409A (en) 1992-05-22 1992-05-22 Rate conversion method and its conversion circuit

Publications (1)

Publication Number Publication Date
JPH05327409A true JPH05327409A (en) 1993-12-10

Family

ID=15612107

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15572592A Pending JPH05327409A (en) 1992-05-22 1992-05-22 Rate conversion method and its conversion circuit

Country Status (1)

Country Link
JP (1) JPH05327409A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5731770A (en) * 1995-04-12 1998-03-24 Sharp Kabushiki Kaisha Digital data buffering device
JP2001188600A (en) * 1999-12-28 2001-07-10 Matsushita Electric Ind Co Ltd Musical interval converting device
WO2005074131A1 (en) * 2004-01-30 2005-08-11 Sony Corporation Sampling rate conversion device and method, and audio device
JP2005354354A (en) * 2004-06-10 2005-12-22 Renesas Technology Corp System provided with sampling conversion means, and digital filter
US7411525B2 (en) 2005-08-30 2008-08-12 Oki Electric Industry Co., Ltd. Sampling rate converting method and circuit
JP2012191418A (en) * 2011-03-10 2012-10-04 Ricoh Co Ltd Data reception circuit, data transmission/reception system and data reception method
WO2014027570A1 (en) * 2012-08-13 2014-02-20 三菱電機株式会社 Signal generating device
JP2016158199A (en) * 2015-02-26 2016-09-01 セイコーNpc株式会社 Digital temperature compensated oscillator

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5731770A (en) * 1995-04-12 1998-03-24 Sharp Kabushiki Kaisha Digital data buffering device
JP2001188600A (en) * 1999-12-28 2001-07-10 Matsushita Electric Ind Co Ltd Musical interval converting device
WO2005074131A1 (en) * 2004-01-30 2005-08-11 Sony Corporation Sampling rate conversion device and method, and audio device
US7439884B2 (en) 2004-01-30 2008-10-21 Sony Corporation Sampling rate conversion device and method, and audio device
JP2005354354A (en) * 2004-06-10 2005-12-22 Renesas Technology Corp System provided with sampling conversion means, and digital filter
US7411525B2 (en) 2005-08-30 2008-08-12 Oki Electric Industry Co., Ltd. Sampling rate converting method and circuit
JP2012191418A (en) * 2011-03-10 2012-10-04 Ricoh Co Ltd Data reception circuit, data transmission/reception system and data reception method
WO2014027570A1 (en) * 2012-08-13 2014-02-20 三菱電機株式会社 Signal generating device
US9306728B2 (en) 2012-08-13 2016-04-05 Mitsubishi Electric Corporation Signal generating device
JP5931204B2 (en) * 2012-08-13 2016-06-08 三菱電機株式会社 Signal generator
JP2016158199A (en) * 2015-02-26 2016-09-01 セイコーNpc株式会社 Digital temperature compensated oscillator

Similar Documents

Publication Publication Date Title
EP0344326B1 (en) Fir digital filter device
EP0469159A1 (en) Sampling rate conversion apparatus
US5894428A (en) Recursive digital filter
US5592517A (en) Cascaded comb integrator interpolating filters
JP3160675B2 (en) Sample data interpolator
JPH0828649B2 (en) Digital filter
JPH05327409A (en) Rate conversion method and its conversion circuit
US5694345A (en) Hardware efficient interpolation filter
US6009445A (en) Reconfigurable infinite impulse response digital filter
US4755961A (en) Digital tank circuit
US6938063B2 (en) Programmable filter architecture
US4092618A (en) Discrete transversal filter
EP0653121B1 (en) Digital audio synchroniser
JP3258938B2 (en) Decimation filter
JP2628506B2 (en) Digital filter
KR100270165B1 (en) Paralled fir filter system with a digital interpolation function
JPH06112769A (en) Digital filter
JPS63256009A (en) Tone control circuit
US6025750A (en) Digital filter with long impulse response
JP2792489B2 (en) Adaptive filter
JP2913648B2 (en) Infinite impulse response digital filter
JPS6326119A (en) Sampling frequency converting circuit
CN115085693A (en) Multi-channel multi-phase interpolation processing architecture
JPH08335850A (en) Simple digital filter
JPH0770950B2 (en) Octave multiple filter