JP4449007B2 - Sampling frequency converter - Google Patents
Sampling frequency converter Download PDFInfo
- Publication number
- JP4449007B2 JP4449007B2 JP2006553878A JP2006553878A JP4449007B2 JP 4449007 B2 JP4449007 B2 JP 4449007B2 JP 2006553878 A JP2006553878 A JP 2006553878A JP 2006553878 A JP2006553878 A JP 2006553878A JP 4449007 B2 JP4449007 B2 JP 4449007B2
- Authority
- JP
- Japan
- Prior art keywords
- sampling
- filter
- signal
- sampling frequency
- 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.)
- Expired - Fee Related
Links
- 238000005070 sampling Methods 0.000 title claims description 209
- 238000006243 chemical reaction Methods 0.000 claims description 95
- 238000004364 calculation method Methods 0.000 claims description 46
- 238000001514 detection method Methods 0.000 claims description 18
- 238000001914 filtration Methods 0.000 claims description 14
- 230000001360 synchronised effect Effects 0.000 claims description 3
- 230000004044 response Effects 0.000 description 16
- 238000000034 method Methods 0.000 description 11
- 238000003384 imaging method Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000007704 transition Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000005562 fading Methods 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 238000001266 bandaging Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003595 spectral effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03H—IMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
- H03H17/00—Networks using digital techniques
- H03H17/02—Frequency selective networks
- H03H17/06—Non-recursive filters
- H03H17/0621—Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing
- H03H17/0628—Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing the input and output signals being derived from two separate clocks, i.e. asynchronous sample rate conversion
Landscapes
- Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
Description
本発明は、ディジタル信号のサンプリング周波数を変換するサンプリング周波数変換装置に関する。 The present invention relates to a sampling frequency converter for converting a sampling frequency of a digital signal.
ディジタル放送をはじめとする通信分野や、音声処理、画像処理等の分野では、ディジタル信号を再サンプリングして周波数変換するサンプリングレートコンバージョン(サンプリング周波数変換)技術が基盤技術として重要となっている。 In the fields of communication such as digital broadcasting, audio processing, image processing, and the like, sampling rate conversion (sampling frequency conversion) technology for re-sampling a digital signal and converting the frequency is important as a basic technology.
従来、こうしたサンプリング周波数変換を行うためのサンプリングレート変換装置(sampling rate convertor)やサンプリング周波数変換装置(sampling frequency convertor)と称されている変換装置として、特開平11-17498号公報、特開2003-324337号公報に開示されたものがある。 Conventionally, as a conversion device called a sampling rate converter or a sampling frequency converter for performing such sampling frequency conversion, Japanese Patent Laid-Open Nos. 11-17498 and 2003- There is one disclosed in Japanese Patent No. 324337.
特開平11-17498号公報に開示されているサンプリングレート変換装置は、同公報の図1に示されているように、オーバーサンプリング部と変換フィルタ部、ローパスフィルタ及びダウンサンプリング部を有して構成され、L倍のアップサンプリングと1/M倍のダウンサンプリングにより、有理数比(L/M)でのサンプリング周波数変換を行って出力信号DOUTを生成するようになっている。 The sampling rate conversion device disclosed in Japanese Patent Laid-Open No. 11-17498 has an oversampling unit, a conversion filter unit, a low-pass filter, and a downsampling unit, as shown in FIG. The output signal DOUT is generated by performing sampling frequency conversion at a rational number ratio (L / M) by L times upsampling and 1 / M times downsampling.
また、変換フィルタ部とローパスフィルタが、アップサンプリングとダウンサンプリングに際して生じるイメージング(imaging)とエイリアシング(aliasing)成分を除去するためのインターポレーション/デシメーションフィルタとして機能している。 The conversion filter unit and the low-pass filter function as an interpolation / decimation filter for removing imaging and aliasing components generated during upsampling and downsampling.
そして、特定のサンプリングレート毎に対応付けて、各フィルタのフィルタ係数が予め決められており、所望のサンプリングレートを指定すると、その予め決められているフィルタ係数に基づいて各フィルタのフィルタ特性が発揮され、イメージング(imaging)成分とエイリアシング(aliasing)成分を低減した出力信号DOUT、すなわち、入力信号DINを復元し得る出力信号DOUTを生成するようにしている。 The filter coefficient of each filter is determined in advance in association with each specific sampling rate. When a desired sampling rate is specified, the filter characteristics of each filter are exhibited based on the predetermined filter coefficient. Thus, an output signal DOUT in which an imaging component and an aliasing component are reduced, that is, an output signal DOUT that can restore the input signal DIN is generated.
特開2003-324337号公報に開示されているサンプリング周波数変換装置は、同公報の図1に示されているように、サンプリング周波数f1で離散化された入力信号データ列A(n)を入力し、時間的にシフトして出力するシフトレジスタと、該サンプリング周波数f1と周波数変換しようとする所望のサンプリング周波数f2とのサンプリング時刻における位相差を求める位相比較回路と、位相差に対応した係数でシフトレジスタの出力に補間処理を行う補間回路とを有して構成されている。 The sampling frequency converter disclosed in Japanese Patent Laid-Open No. 2003-324337 inputs an input signal data string A (n) discretized at a sampling frequency f1, as shown in FIG. A shift register that shifts in time and outputs, a phase comparison circuit that obtains a phase difference at the sampling time between the sampling frequency f1 and a desired sampling frequency f2 to be frequency-converted, and a shift by a coefficient corresponding to the phase difference An interpolation circuit that performs an interpolation process on the output of the register is included.
そして、補間回路が、上述の位相差に対応した所定の係数とシフトレジスタからシフトして出力される入力信号データ列A(n)の振幅値とを積和演算することにより、サンプリング周波数f2でのサンプリング時刻におけるデータ列、すなわち、サンプリング周波数f2に周波数変換したデータ列B(n)を生成している。 Then, the interpolation circuit performs a product-sum operation on the predetermined coefficient corresponding to the above-described phase difference and the amplitude value of the input signal data sequence A (n) output after being shifted from the shift register, so that the sampling frequency f2 is obtained. The data string at the sampling time, that is, the data string B (n) frequency-converted to the sampling frequency f2 is generated.
ところで、特開平11-17498号公報に開示されている従来のサンプリングレート変換装置は、上述したように各フィルタ3,4のフィルタ係数が特定のサンプリングレート毎に対応付けて予め決められているため、特定のサンプリングレート以外でのサンプリングレートで周波数変換をすることができないという課題がある。
By the way, in the conventional sampling rate converter disclosed in Japanese Patent Laid-Open No. 11-17498, the filter coefficients of the
例えば具体的事例として、放送局からの到来電波をディジタル放送受信機で受信し、フェージング等の影響により周波数変動を生じているベースバンド信号を再サンプリングして放送局側と同期した所望の規定周波数の復調信号を復調しようとする場合、従来のサンプリングレート変換装置では、特定のサンプリングレートに対してのみ周波数変換の機能を発揮し得るという制限があるため、放送局側と同期した所望の規定周波数の復調信号を復調等することができなくなるという課題があった。 For example, as a specific example, a received signal from a broadcast station is received by a digital broadcast receiver, and a baseband signal that has undergone frequency fluctuations due to fading or the like is resampled to synchronize with the broadcast station. When a demodulated signal is to be demodulated, the conventional sampling rate conversion device has a limitation that it can exhibit a frequency conversion function only for a specific sampling rate. There is a problem that the demodulated signal cannot be demodulated.
また、このサンプリングレート変換装置は、時間分解能が細かくなるほど、必要とするフィルタ係数の数を多くしなければならないため、例えばフィルタ係数のデータを予め記憶しておくためのRAMやROM等の記憶手段の容量を大幅に増大させる必要がある。このため、いわゆる高分解能でサンプリング周波数変換を行おうとすると、装置構成の大型化等により実現が困難となるという問題がある。 Further, since the sampling rate conversion device has to increase the number of necessary filter coefficients as the time resolution becomes finer, for example, storage means such as a RAM or a ROM for storing filter coefficient data in advance. It is necessary to increase the capacity of For this reason, if sampling frequency conversion is to be performed with so-called high resolution, there is a problem that it is difficult to realize due to an increase in the size of the apparatus configuration.
特開2003-324337号公報に開示されているサンプリング周波数変換装置は、
入力信号データ列A(n)とサンプリング周波数変換後のデータ列B(n)との乖離(誤差)が大きくなるという課題があり、いわゆる高精度のサンプリング周波数変換が必要とされる技術分野、例えばディジタル放送受信機での復調処理や、ハイクオリティが要求される音声処理や画像処理等の技術分野に適用することが難しいという問題がある。
The sampling frequency converter disclosed in Japanese Patent Laid-Open No. 2003-324337 is
There is a problem that the difference (error) between the input signal data string A (n) and the data string B (n) after the sampling frequency conversion becomes large, and a technical field in which so-called highly accurate sampling frequency conversion is required, for example There is a problem that it is difficult to apply to a technical field such as demodulation processing in a digital broadcast receiver, sound processing and image processing that require high quality.
本発明はこうした従来の課題に鑑みてなされたものであり、例えば所望のサンプリングレートに応じて適応的にサンプリング周波数変換を行うことができ、また、所望の時間分解能でのサンプリング周波数変換を行うことができ、また、装置構成の大型化等を未然に防止することができる等、従来より機能の向上を図ったサンプリング周波数変換装置を提供することを目的とする。 The present invention has been made in view of such conventional problems. For example, sampling frequency conversion can be adaptively performed according to a desired sampling rate, and sampling frequency conversion can be performed at a desired time resolution. In addition, an object of the present invention is to provide a sampling frequency conversion device that has improved functions compared to the prior art, such as preventing the enlargement of the device configuration and the like.
請求項1に記載の発明は、ディジタル信号のサンプリング周波数を変換するサンプリング周波数変換装置であって、前記ディジタル信号をディジタルフィルタリングするディジタルフィルタと、目的周波数の信号と前記ディジタル信号とのサンプリング時刻間の位相差を検出する位相差検出手段と、前記位相差検出手段が検出した前記位相差に基づいて、前記目的周波数の信号のサンプリング時刻における前記ディジタルフィルタのフィルタ係数を演算するフィルタ係数演算手段と、前記フィルタ係数演算手段で演算される前記フィルタ係数に、窓関数による重み付け演算を行うことにより、前記目的周波数の信号のサンプリング時刻における前記ディジタルフィルタのフィルタ特性を設定するためのフィルタ係数を演算する窓関数演算手段と、を備え、前記ディジタルフィルタが、前記窓関数演算手段で前記重み付け演算されたフィルタ係数により設定されるフィルタ特性に基づいて前記ディジタル信号をディジタルフィルタリングすることによって、前記ディジタル信号を前記目的周波数に同期したサンプリング周波数のサンプル列から成る出力信号にサンプリング周波数変換すること、を特徴とする。
The invention according to
請求項2に記載の発明は、請求項1に記載のサンプリング周波数変換装置において、前記ディジタル信号をアップサンプリングして所定のローパスフィルタ特性に基づいてディジタルローパスフィルタリングを行うことで、前記ディジタル信号より高いサンプリング周波数の中間生成信号を生成して、前記ディジタルフィルタに供給するレート変換手段を更に備え、前記位相差検出手段は、前記中間生成信号と前記目的周波数の信号とのサンプリング時刻間の位相差を検出することを特徴とする。 According to a second aspect of the present invention, in the sampling frequency converter according to the first aspect, the digital signal is up-sampled and digital low-pass filtering is performed based on a predetermined low-pass filter characteristic, so that the digital signal is higher than the digital signal. Rate conversion means for generating an intermediate generation signal having a sampling frequency and supplying the generated signal to the digital filter, wherein the phase difference detection means calculates a phase difference between sampling times of the intermediate generation signal and the signal having the target frequency. It is characterized by detecting.
更に、請求項1に記載のサンプリング周波数変換装置において、前記サンプリング周波数変換装置は、前記ディジタルフィルタと位相差検出手段とフィルタ係数演算手段及び窓関数演算手段と同等の構成を有するレート変換手段を複数備えたポリフェーズ構造であること、を特徴とする。
2. The sampling frequency converter according to
本発明の好適な実施の形態について、図1及び図2を参照して説明する。
図1(a)(b)は、本実施形態のサンプリング周波数変換装置の2態様の各構成を表したブロック図、図2(a)(b)は、本サンプリング周波数変換装置におけるサンプリング周波数変換過程を説明するための図である。
A preferred embodiment of the present invention will be described with reference to FIGS.
1 (a) and 1 (b) are block diagrams showing configurations of two aspects of the sampling frequency conversion device of the present embodiment, and FIGS. 2 (a) and 2 (b) are sampling frequency conversion processes in the sampling frequency conversion device. It is a figure for demonstrating.
図1(a)に示すサンプリング周波数変換装置1は、第1レート変換部2の他、位相差検出部3とフィルタ係数演算部4及びディジタルフィルタ5を備えた第2レート変換部6を有して構成されている。
A sampling
第1レート変換部2が、サンプリング周波数fsの入力信号Xから整数a倍のサンプリング周波数faとなる中間生成信号Uを生成し、第2レート変換部6が、中間生成信号Uをローパスフィルタリングして所望のサンプリング周波数fbとなる出力信号Yを生成することにより、サンプリング周波数fsの入力信号Xをサンプリング周波数fbの出力信号Yへとサンプリング周波数変換する。
The first
更に詳述すると、第1レート変換部2は、サンプリング周波数fsで離散化されたサンプル列である入力信号Xをクロック信号CKsに同期して入力し、入力信号Xの各サンプル間にa−1個ずつゼロ値サンプル(振幅0のサンプル)を挿入することで、入力信号Xのサンプリングレートを整数a倍に増加させたアップサンプリング信号(符号略)を内部で生成する。更に、そのアップサンプリング信号に混入することとなるイメージング成分が生じる高周波数帯域を阻止域、入力信号Xの信号成分が生じる低周波数帯域を通過域とする所定のローパスフィルタ特性に基づいて、アップサンプリング信号をローパスフィルタリングすることによって、イメージング成分を除去し、且つサンプリング周波数fsのa倍のサンプリング周波数faの中間生成信号Uを生成して出力する。
More specifically, the first
第2レート変換部6の位相差検出部3は、出力信号Yのサンプリング周波数fbと等しい周波数(以下「目的周波数」という。)fbに決められたクロック信号CKbと、第1レート変換部2がアップサンプリングの際に設定した中間生成信号Uのサンプリング周波数fa(すなわち、a×fs)を示すクロック信号CKaとを入力する。そして、これらのクロック信号CKa,CKbに基づいて、クロック信号CKbと入力信号Xと中間生成信号Uとの各々のサンプリング時刻tb,ts,taを検知し、更に、サンプリング時刻taを基準にしてサンプリング時刻taとtbの時間差(以下「位相差」という。)pを検出する。
The phase
これにより、位相差検出部3は、目的周波数fbと中間生成信号Uのサンプリング周波数faとの周波数差(fb−fa)を、サンプリング時刻ta,tbの位相差pとして検出することとなる。
Thereby, the phase
すなわち、図2(a)に例示するように、例えば、サンプリング周期(1/fs)毎に隣接する入力信号Xのサンプルが、黒丸印(●)で示すX(0),X(1),…であり、整数a倍(例えば、3倍)にレート変換された中間生成信号Uの各サンプルが、黒丸印(●)で示すU(0),U(1),U(2),U(3),U(4),…であり、各サンプリング周期(1/fs)の開始時刻であるサンプリング時刻がtsであり、クロック信号CKbのサンプリング時刻がtb1,tb2,tb3,…であり、クロック信号CKaのサンプリング時刻がta1,ta2,ta3,…であった場合、位相差検出部3は、クロック信号CKa,CKbの各サンプリング時刻を逐一検知していく。そして、サンプリング時刻tb1を検知すると、そのサンプリング時刻tb1が属するサンプリング周期(1/fs)におけるサンプリング時刻tsと、サンプリング時刻tb1から最前に位置するサンプルU(1)のサンプリング時刻ta1を検出し、更に、サンプリング時刻tsを基準とするサンプリング時刻ts,tb1間の時間tsbとサンプリング時刻ts,ta1間の時間tsaとの差(tsb−tsa)を位相差pとして検出する。
That is, as illustrated in FIG. 2A, for example, adjacent samples of the input signal X at every sampling period (1 / fs) are represented by X (0), X (1), ..., and each sample of the intermediate generation signal U that has been rate-converted to an integer a times (for example, 3 times) is represented by U (0), U (1), U (2), U (3), U (4),..., The sampling time that is the start time of each sampling period (1 / fs) is ts, the sampling time of the clock signal CKb is tb1, tb2, tb3,. When the sampling times of the clock signal CKa are ta1, ta2, ta3,..., The phase
また、位相差検出部3は、クロック信号CKbのサンプリング時刻tb2を検知した場合にも同様に、サンプリング時刻tb2,ts,ta2に基づいて位相差pを検出し、サンプリング時刻tb3を検知した場合にも同様に、サンプリング時刻tb3,ts,ta3に基づいて位相差pを検出し、以下同様の検出処理を繰り返す。
Similarly, when the phase
フィルタ係数演算部4は、検出された位相差pを次式(1)で表される演算式に導入して演算処理を行うことにより、n次(N−1次)のディジタルフィルタ5のフィルタ係数α0〜αN-1を導出し、ディジタルフィルタ5に供給してそのフィルタ係数αn(0≦n≦N−1)と中間生成信号Uのサンプル列との有限離散的たたみ込み演算処理を行わせることにより、クロック信号CKaのサンプリング時刻taに同期した新たなサンプル(以下「内挿サンプル」という)を生成させる。
The filter
ここで、上記式(1)中の係数pは上述の位相差である。係数mは、サンプリング周波数変換の分解能である。係数Nは、中間生成信号Uのサンプル列に対し巡回的な値をとるフィルタ係数αn(1≦n≦N−1)の個数である。係数H0とHk(1≦k≦N−1)は、
所望のディジタルフィルタの各周波数特性の周波数サンプル(スペクトル値)である。
Here, the coefficient p in the above equation (1) is the above-described phase difference. The coefficient m is the resolution of sampling frequency conversion. The coefficient N is the number of filter coefficients α n (1 ≦ n ≦ N−1) taking a cyclic value with respect to the sample sequence of the intermediate generation signal U. The coefficients H 0 and H k (1 ≦ k ≦ N−1) are
It is a frequency sample (spectral value) of each frequency characteristic of a desired digital filter.
更に、上記式(1)は、次のようにして決められている。
まず、サンプリング周波数変換装置1を設計等する際、ディジタルフィルタ5の周波数特性を所定のローパスフィルタ特性H(ejωT)とする。
Further, the above equation (1) is determined as follows.
First, when designing the
すなわち、入力信号Xのサンプリング周波数fsを未知の変数、そのサンプリング周波数fsの逆数(1/fs)をサンプリング周期T、その角周波数をωs、第1レート変換部2の変換比aを所定値(例えば、2)と決め、角周波数(ωs/2)を境にして低周波数帯域側に生じる入力信号Xの信号成分を通過させる通過域(0≦│ω│<ωs/2)を有し、且つ角周波数(a−1/2)ωsを境にして高周波数帯域側が阻止域(a−1/2)ωs≦│ω│<mωs/2)となる標準のローパスフィルタ特性H(ejωT)を決めるのである。
That is, the sampling frequency fs of the input signal X is an unknown variable, the reciprocal (1 / fs) of the sampling frequency fs is the sampling period T, the angular frequency is ωs, and the conversion ratio a of the first
しかる後、サンプリング周波数fsの整数a倍のサンプリング周波数faとなる中間生成信号Uに対して、ディジタルフィルタ5が位相差pを含めた高いサンプリング周波数でローパスフィルタリングを行うことを考慮して、周波数(0≦│ω│<mωs/2)の下でローパスフィルタ特性H(ejωT)を逆離散フーリエ変換(IDFT)することによってフィルタ係数αn(1≦n≦N−1)を演算するための演算式を作成し、その演算式を上記式(1)に決める。
Thereafter, considering that the
そして、上記式(1)で表される演算処理を行うフィルタ係数演算部4を形成している。
And the filter
ディジタルフィルタ5は、上記式(1)のフィルタ係数により所定の周波数特性(ローパスフィルタ特性)を発揮するn次のディジタルローパスフィルタで形成されており、クロック信号CKaに同期して中間生成信号Uを入力し、ローパスフィルタリングを行う。
The
つまり、ディジタルフィルタ5は、サンプリング時刻tbにおいてフィルタ係数演算部4で演算されたフィルタ係数αn(0≦n≦N−1)に従ってそのローパスフィルタ特性を可変し、中間生成信号Uのサンプル列とフィルタ係数αn(0≦n≦N−1)との有限離散的たたみ込み演算によってサンプリング時刻tbでの内挿サンプルを生成して出力する。
That is, the
したがって、ディジタルフィルタ5は、図2(a)に示したサンプリング時刻tb1,tb2,tb3…等において検出された各位相差pに対応するかたちで、各サンプル時刻tb1,tb2,tb3…等の夫々の時刻での内挿サンプルを順に生成していき、図2(a)(b)に例示するように、サンプリング周波数fbに同期したサンプル列Y(0),Y(1),Y(2),Y(3),…等から成る出力信号Yを出力する。そして、サンプリング周波数fbの出力信号Yが出力されることとなるため、変換比(fb/fs)でのサンプリング周波数変換が実現される。
Therefore, the
以上説明したように、図1(a)に示す本実施形態のサンプリング周波数変換装置1によれば、位相差検出部3とフィルタ係数演算部4、及び出力信号Yの内挿サンプルを生成するためのディジタルフィルタ5を有する第2レート変換器6において、目的周波数fbのクロック信号CKbと、入力周波数fsより高いサンプリング周波数faの中間生成信号Uとのサンプリング時刻ta,tmの位相差pを検出すると、所定のローパスフィルタ特性H(ejωT)の逆離散フーリエ変換に相当する上記演算式(1)にその位相差pを導入することで、ディジタルフィルタ5のフィルタ係数α0〜αN-1を演算するので、所望のサンプリングレートでのサンプリング周波数変換を自在に実現することができる。
As described above, according to the sampling
すなわち、本実施形態のサンプリング周波数変換装置1は、予め決められた特定のサンプリングレートでのサンプリング周波数変換しかできないというものではなく、クロック信号CKbの目的周波数fbが任意の周波数に指定又は調整等されると、ディジタルフィルタ5のフィルタ係数α0〜αN-1を導出するための演算処理を行うことから、例えばユーザ等に対して任意のサンプリングレートを自在に指定させることができる。
That is, the sampling
また、具体的事例として、放送局からの到来電波をディジタル放送受信機で受信し、フェージング等の影響により周波数変動を生じているベースバンド信号を再サンプリングして放送局側と同期した所望の規定周波数の復調信号を復調するための復調回路に、本実施形態のサンプリング周波数変換装置1を用いることとすると、クロック信号CKbの目的周波数fbを規定周波数に合わせて、ベースバンド信号を入力信号Xとすることにより、規定周波数の復調信号(すなわち、出力信号)Yを生成することができる。
In addition, as a specific example, a digital broadcast receiver receives incoming radio waves from a broadcast station, re-samples a baseband signal that has undergone frequency fluctuation due to fading, etc., and synchronizes with the broadcast station. If the
更に、本実施形態のサンプリング周波数変換装置1は、第2レート変換部6の前段に第1レート変換部1を有し、入力信号Xのサンプリングレートを増加させてディジタルフィルタリングを施すことで高いサンプリング周波数faの中間生成信号Uを生成するので、第2レート変換部6に設けられているディジタルフィルタ5の次数nを下げることができる。このため、ディジタルフィルタ5の構成を簡素化することができると共に、そのディジタルフィルタ5のフィルタ係数を演算するためのフィルタ係数演算部4の構成の簡素化や演算量の低減を図ることができる。
Furthermore, the sampling
つまり、サンプリング周波数変換装置では一般に、レート変換に際して、イメージング成分やエイリアシングの除去及び発生の抑制を図るためにローパスフィルタリングが必要であり、そのローパスフィルタリングを行うディジタルローパスフィルタの構成の簡素化や演算量の低減化が極めて重要となっている。 In other words, sampling frequency converters generally require low-pass filtering in order to remove imaging components and aliasing and suppress generation during rate conversion. The configuration of the digital low-pass filter that performs the low-pass filtering and the amount of calculation are simplified. It is extremely important to reduce this.
かかる課題に対して、本実施形態では、第2レート変換部6の前段に第1レート変換部2を設けたことで、低周波数帯域に占める信号成分と高周波数帯域に占めるイメージング成分等の不要ノイズ成分とが広い周波数幅を介して分離された中間生成信号Uを生成することができるため、ディジタルフィルタ5のフィルタ特性は、中間生成信号Uの信号成分の占める低周波数帯域を通過域、イメージング成分等の占める高周波帯域を阻止域、上述の広い周波数幅を遷移域とするローパスフィルタ特性とすればよく、その遷移域でのしゃ断特性を急峻にする必要がなくなる。このため、ディジタルフィルタ5を高次のフィルタで形成する必要がなく、低次のフィルタで形成することが可能となり、ディジタルフィルタ5の構成の簡素化、及びフィルタ係数演算部4の構成の簡素化、演算量の低減等を実現することができる。
In order to deal with such a problem, in the present embodiment, the first
そして、ディジタルフィルタ5とフィルタ係数演算部4における演算等のための処理量を大幅に低減することが可能となるため、高速処理を行うのに好適であり、且つ又、設定可能なサンプリングレートを規定することとなるサンプリング時刻ta,tbの時間分解能の向上を図ることが可能なサンプリング周波数変換装置を提供することができる。
Since the processing amount for the calculation in the
また、以上の説明では、第2レート変換部6を1個設けた基本的な構成のサンプリング周波数変換装置1について説明したが、図1(b)のブロック図に示すように、第2レート変換部6と同様の構成を有する複数個のレート変換部6(1),6(2),…,6(j)を並列に接続することで、いわゆるポリフェーズ構造のサンプリング周波数変換装置を構成してもよい。
In the above description, the sampling
つまり、各レート変換部6(1),6(2),…,6(j)に中間生成信号Uを並列入力し、更に各レート変換部6(1),6(2),…,6(j)内の位相差検出部に供給するクロック信号CKb1,CKb2,…,CKbjの夫々の目的周波数fb1,fb2,…,fbjを適宜異なった周波数にし、更に各レート変換部6(1),6(2),…,6(j)から出力される各出力信号Y1,Y2,…,Yjを回転子(commutator)7を通じて出力することで最終的な出力信号Youtを生成する構成とすることにより、ポリフェーズ構造のサンプリング周波数変換装置を構成することができる。 That is, the intermediate generation signal U is input in parallel to the rate conversion units 6 (1), 6 (2),..., 6 (j), and the rate conversion units 6 (1), 6 (2),. , CKbj to be supplied to the phase difference detectors in (j), the target frequencies fb1, fb2,..., fbj are appropriately changed to different frequencies, and each rate converter 6 (1), The final output signal Yout is generated by outputting the output signals Y1, Y2,..., Yj output from 6 (2),..., 6 (j) through the rotator (commutator) 7. Thus, a sampling frequency conversion device having a polyphase structure can be configured.
このように、ポリフェーズ構造とすると、図1(a)に示した第2レート変換部6を1個だけ設けて構成する場合よりも、各レート変換部6(1),6(2),…,6(j)は、低速での処理が可能となり且つ演算量等の低減化を図ることができる。
As described above, when the polyphase structure is adopted, the rate conversion units 6 (1), 6 (2), 6 (2), and 6 (2) are compared with the case where only one second
そして、一般にポリフェーズ構造とすると、上述のメリット(低速での処理、演算量等の低減化)を図ることができることが知られているが、本実施形態の第2レート変換部6と同様の構成を有する複数個のレート変換部6(1),6(2),…,6(j)によってポリフェーズ構造とすると、ポリフェーズ構造による上記メリットをより多く享受することが可能なサンプリング周波数変換装置を実現することができる。
In general, it is known that the polyphase structure can achieve the above-described merits (low-speed processing, reduction in calculation amount, etc.), but the same as the second
なお、図1(a)(b)を参照して説明した2態様の各サンプリング周波数変換装置1は、IC、MSI、LSI等の半導体集積回路装置等を用いて、いわゆるハードウェア構造のディジタル回路で形成してもよいし、そのディジタル回路と等価な機能を発揮するコンピュータプログラムを作成し、そのコンピュータプログラムで示される処理工程に従って、ディジタルシグナルプロセッサ(DSP)やマイクロプロセッサ(MPU)等を実行させるようにしてもよい。
Note that each of the two sampling
次に、上記実施形態に係るより具体的な実施例について、図3及び図4を参照して説明する。図3は、本実施例のサンプリング周波数変換装置の構成を表したブロック図であり、図1と同一又は相当する部分を同一符号で示している。図4は、本実施例のサンプリング周波数変換装置におけるサンプリング周波数変換過程を説明するための図である。 Next, more specific examples according to the above embodiment will be described with reference to FIGS. FIG. 3 is a block diagram showing the configuration of the sampling frequency converter according to the present embodiment, and the same or corresponding parts as those in FIG. 1 are denoted by the same reference numerals. FIG. 4 is a diagram for explaining a sampling frequency conversion process in the sampling frequency conversion apparatus of the present embodiment.
図3において、このサンプリング周波数変換装置1は、第1レート変換部2と第2レート変換部6を有し、所定のコンピュータプログラムを実行することで各変換部2,6の機能を発揮するディジタルシグナルプロセッサ(DSP)によって形成されている。
In FIG. 3, the
第1レート変換部2は、インターポレータ2aとインターポレーションフィルタ2bとを有して構成され、第2レート変換部6は、位相差検出部3とフィルタ係数演算部4及びディジタルフィルタ5を有して構成されている。
The first
インターポレータ2aは、サンプリング周波数fsで離散化された入力信号Xと、サンプリング周波数fsを示すクロック信号CKsを入力し、外部指定される整数aの値に基づいて入力信号Xのサンプリングレートを整数a倍に増加させるアップサンプリングを行うことで、アップサンプリング信号Suを生成する。すなわち、図4(a)に例示するように、入力信号Xの各サンプル間に、a−1個(例えば、a=4であれば、3個)ずつゼロ値サンプルを挿入することで、アップサンプリング信号Suを生成する。 The interpolator 2a receives the input signal X discretized at the sampling frequency fs and the clock signal CKs indicating the sampling frequency fs, and sets the sampling rate of the input signal X to an integer based on the value of the integer a designated externally. An upsampling signal Su is generated by performing upsampling that is increased by a times. That is, as illustrated in FIG. 4A, the zero value samples are inserted between each sample of the input signal X by a−1 (for example, 3 if a = 4). A sampling signal Su is generated.
インターポレーションフィルタ2bは、アップサンプリングの結果、アップサンプリング信号Suに混入するイメージング成分を除去するためのディジタルローパスフィルタで形成されており、図4(b)に模式的に示すように、角周波数(ωs/2)を境にして低周波数帯域に生じる入力信号Xの信号成分を通過させる通過域と、角周波数(ωs/2)を中心とする狭周波数幅の遷移域と、該遷移域より高周波数帯域の阻止域とが決められたローパスフィルタ特性を有している。そして、かかるローパスフィルタ特性に基づいてアップサンプリング信号Suにローパスフィルタリングを施すことにより、阻止域に生じるイメージング成分を除去し、図4(c)に例示するようなサンプリングレートが整数a倍となる中間生成信号Uを生成して出力する。 The interpolation filter 2b is formed by a digital low-pass filter for removing an imaging component mixed in the up-sampling signal Su as a result of up-sampling. As shown schematically in FIG. From the transition region that passes the signal component of the input signal X generated in the low frequency band with (ωs / 2) as the boundary, the transition region of the narrow frequency centered on the angular frequency (ωs / 2), and the transition region It has a low-pass filter characteristic in which a high frequency stop band is determined. Then, by applying low-pass filtering to the up-sampling signal Su based on such low-pass filter characteristics, an imaging component generated in the stop band is removed, and the sampling rate as illustrated in FIG. A generation signal U is generated and output.
また、インターポレーションフィルタ2bは、上記ローパスフィルタ特性を発揮させるべく一般に知られている方法で作成すればよい。こうして、インターポレーションフィルタ2bを作成すると、インターポレーションフィルタ2bは、サンプリング信号Suからイメージング成分を除去した中間生成信号Uを生成して出力する。 The interpolation filter 2b may be created by a generally known method so as to exhibit the low-pass filter characteristics. Thus, when the interpolation filter 2b is created, the interpolation filter 2b generates and outputs an intermediate generation signal U from which the imaging components are removed from the sampling signal Su.
位相差検出部3は、目的周波数fbに決められたクロック信号CKbと、インターポレータ2aとインターポレーションフィルタ2bがアップサンプリングの際に設定した中間生成信号Uのサンプリング周波数fa(すなわち、a×fs)を示すクロック信号CKaとを入力する。そして、図2(a)に例示したように、これらのクロック信号CKa,CKbに基づいて、クロック信号CKaと入力信号Xと中間生成信号Uとの各々のサンプリング時刻ta,ts,tbを検知し、更に、サンプリング時刻taを基準にしてサンプリング時刻taとtbの時間差(位相差)pを検出する。
The phase
フィルタ係数演算部4は、検出された位相差pを次式(2)で表される演算式に導入して演算処理を行うことにより、クロック信号CKbのサンプリング時刻tbでの内挿サンプルを生成するためのn次のディジタルフィルタ5のフィルタ係数α0〜αN-1を導出し、その導出したフィルタ係数αn(0≦n≦N−1)によってディジタルフィルタ5のローパスフィルタ特性を更新設定する。
The filter
ここで、上記式(2)は、次のようにして決められている。まず、アップサンプリング信号Suに対するサンプリングレート変換となることを考慮して、ディジタルフィルタ5のローパスフィルタ特性Ha(ejωT)を次式(3)のように決める。
Here, the above equation (2) is determined as follows. First, in consideration of the sampling rate conversion for the up-sampling signal Su, the low-pass filter characteristic Ha (e jωT ) of the
ここで、上記式(3)において、入力信号Xのサンプリング周波数fsを未知の変数、そのサンプリング周波数fsの逆数(1/fs)をサンプリング周期T、その角周波数をωs、角周波数(ωs/2)を境にして低周波数帯域側に生じる入力信号Xの信号成分を通過させる通過域(0≦│ω│<ωs/2)を有し、且つ角周波数(a−1/2)ωsを境にして高周波数帯域側が阻止域(a−1/2)ωs≦│ω│<aωs)となる標準のローパスフィルタ特性Ha(ejωT)に決める。 Here, in the above equation (3), the sampling frequency fs of the input signal X is an unknown variable, the reciprocal (1 / fs) of the sampling frequency fs is the sampling period T, the angular frequency is ωs, and the angular frequency (ωs / 2 ) As a boundary, and has a pass band (0 ≦ | ω | <ωs / 2) for allowing the signal component of the input signal X generated on the low frequency band side to pass, and the angular frequency (a−1 / 2) ωs as a boundary. Thus, the standard low-pass filter characteristic Ha (e jωT ) in which the high frequency band side is the stop band (a−1 / 2) ωs ≦ | ω | <aωs) is determined.
しかる後、サンプリング周波数fsの整数a倍のサンプリング周波数faのアップサンプリング信号Suに対して、インターポレーションフィルタ2bがローパスフィルタリングを行うことを考慮して、周波数(m×fs)の下でローパスフィルタ特性Hm(ejωT)を逆離散フーリエ変換(IDFT)することによって、m×N個のインパルスレスポンスhnを演算する。 Thereafter, in consideration of the fact that the interpolation filter 2b performs low-pass filtering on the up-sampling signal Su having a sampling frequency fa that is an integer a times the sampling frequency fs, a low-pass filter under a frequency (m × fs). By performing inverse discrete Fourier transform (IDFT) on the characteristic Hm (e jωT ), m × N impulse responses hn are calculated.
より詳細には、上記式(3)で表したローパスフィルタ特性Hm(ejωT)の、ωk(k=0,1,2,…,mN−1)毎の周波数サンプルHk、すなわち、m×N個の周波数サンプルHkについて逆離散フーリエ変換(IDFT)することによって、m×N個のインパルスレスポンスh0〜hmN-1を演算する。 More specifically, the frequency sample H k for each ωk (k = 0, 1, 2,..., MN −1) of the low-pass filter characteristic Hm (e jωT ) expressed by the above equation (3), that is, m × By performing inverse discrete Fourier transform (IDFT) on N frequency samples H k , m × N impulse responses h 0 to hm N −1 are calculated.
つまり、m×N個の周波数サンプルHkは、次式(4)の関係が成り立つことから、次式(5)で表されるように、周波数サンプルHkについて逆離散フーリエ変換することによって、m×N個のインパルスレスポンスhn(すなわち、h0〜hmN-1)を算出する。 In other words, since m × N frequency samples H k satisfy the relationship of the following equation (4), by performing an inverse discrete Fourier transform on the frequency sample H k as represented by the following equation (5), m × N impulse responses hn (that is, h 0 to h mN-1 ) are calculated.
そして、未知の位相差pを、0≦p<mで表される範囲内の変数とし、上記式(5)に示したインパルスレスポンスhn(すなわち、h0〜hmN-1)に位相差pを適用することで、ディジタルフィルタ5のフィルタ係数αn(すなわち、α0〜αN-1)を求めるのである。
つまり、αn=hm(n-N/2)+pの関係を上記式(5)に適用し、ディジタルフィルタ5のフィルタ係数αnを演算するための前記式(2)を決めている。
Then, the unknown phase difference p is set as a variable within a range represented by 0 ≦ p <m, and the impulse response hn (that is, h 0 to h mN-1 ) shown in the above equation (5) is converted into the phase difference p. Is applied to obtain the filter coefficient αn (ie, α 0 to α N-1 ) of the
That is, the relationship of αn = hm (nN / 2) + p is applied to the above equation (5), and the equation (2) for calculating the filter coefficient αn of the
ディジタルフィルタ5は、サンプリング周波数faの逆数(1/fa)の時間を単位サンプル遅延(z-1)とするN−1個の遅延素子を備えたシフトレジスタ5aと、各遅延素子の入出力に対して、フィルタ係数演算部4で演算されたフィルタ係数α0〜αN-1を乗算する乗算器5bと、乗算器5bの出力を加算する加算器5cとを有するFIR形ディジタルフィルタで形成されている。そして、かかる構成により、図4(d)に示すフィルタ特性に基づいて中間生成信号Uをローパスフィルタリングすることにより、サンプリング時刻tbでの内挿サンプルを生成し、加算器5bから出力信号Yとして出力する。
The
以上説明したように、本実施例のサンプリング周波数変換器1によれば、前述した実施形態と同様に、フィルタ係数演算部4が、位相差pに基づいてディジタルフィルタ5のフィルタ係数αnを演算するので、予め決められたサンプリングレートでのサンプリング周波数変換しか行えないという問題を解消し、サンプリングレートを自由に指定して、所望のサンプリング周波数faの出力信号Yを生成することができる。
As described above, according to the
更に、インターポレータ2aとインターポレーションフィルタ2bにおいて、予め入力信号Xからサンプリングレートを整数a倍に増加させた中間生成信号Uを生成しておき、その中間生成信号Uに対して、第2レート変換部6のディジタルフィルタ5がディジタルフィルタリングを施すことで出力信号Yを生成するので、図4(d)に例示するように、a=2の場合には、ディジタルフィルタ5のフィルタ特性である通過域(0≦ω≦ωs/2)と阻止域(3ωs/2≦ω)との間の遷移領域を、帯域幅(ωs/2≦ω≦3ωs/2)に広げることができる。
Further, in the interpolator 2a and the interpolation filter 2b, an intermediate generation signal U in which the sampling rate is increased by an integer a from the input signal X is generated in advance. Since the
このため、その遷移域での遮断特性を急峻にする必要がなくなることから、ディジタルフィルタ5を高次のフィルタとする必要がない。このことから、ディジタルフィルタ5のフィルタ長を大きくしなくともよく、別言すればフィルタ係数の数を低減することができるため、フィルタ係数演算部4における演算量を大幅に低減することが可能である。その結果、DSPにおける負荷の軽減、高速処理等を実現することができる。
For this reason, it is not necessary to make the cutoff characteristic in the transition region steep, so that the
なお、以上の説明では、第2レート変換部6を1個設けたサンプリング周波数変換装置1について説明したが、図1(b)に示したように、第2レート変換部6と同様の構成を有する複数個のレート変換部を並列に接続することで、いわゆるポリフェーズ構造のサンプリング周波数変換装置を構成してもよい。かかるポリフェーズ構造とすれば、ポリフェーズ構造によるメリットをより多く享受することが可能なサンプリング周波数変換装置を実現することができる。
In the above description, the sampling
次に、他の実施例について図5を参照して説明する。図5は、本実施例のサンプリング周波数変換装置の構成を表したブロック図であり、図1(a)と同一又は相当する部分を同一符号で示している。 Next, another embodiment will be described with reference to FIG. FIG. 5 is a block diagram showing the configuration of the sampling frequency conversion apparatus according to the present embodiment, and the same or corresponding parts as those in FIG.
図5において、このサンプリング周波数変換装置1は、位相差検出部3とフィルタ係数演算部4及びディジタルフィルタ5の他、窓関数演算部7を備えたレート変換部6で形成されており、図1(a)に示した第1レート変換部2を備えることなく、直接入力信号Xを入力して、レート変換した出力信号Yを生成して出力する。
5, the sampling
位相差検出部3は、図1(a)に示した位相差検出部3と同様に、目的周波数fbのクロック信号CKbのサンプリング時刻tbと、サンプリング周波数fsの入力信号Xのサンプリング時刻tsを検知し、それらのサンプリング時刻ts,tbの差(tb−ts)を位相差pとして検出する。
The phase
すなわち、本実施例のサンプリング周波数変換装置1では、図1(a)に示した第1レート変換部2を備えていないことから、入力信号Xとクロック信号CKbのサンプリング時刻ts,tbとの差(tb−ts)を位相差pとして検出する。
That is, since the sampling
フィルタ係数演算部4は、サンプリング時刻taに同期して位相差検出部3から供給される位相差pを次式(6)で表される演算式に導入して演算処理を行うことにより、n次のディジタルフィルタ5のフィルタ係数αnを導出するための、インパルスレスポンスβnを算出し、窓関数演算部7に供給する。
The filter
ここで、上記式(6)は、次のようにして決められている。 まず、次式(7)で表されるゼロ位相の理想フィルタのインパルスレスポンスgnの一部を、n次のディジタルフィルタ5のフィルタ係数として使用するものとする。
Here, the above equation (6) is determined as follows. First, a part of the impulse response gn of the zero-phase ideal filter expressed by the following equation (7) is used as the filter coefficient of the n-th order
次に、上記式(7)において、ωc=ωs/(2m)に置き換えて上記式(7)を変形することにより、次式(8)で表される次数(mN−1)のディジタルフィルタ5のインパルスレスポンスhnを求める。
Next, in the above equation (7), the above equation (7) is modified by substituting ωc = ωs / (2m), whereby the
次に、上記式(8)に位相差pを適用することにより、次式(9)で表されるインパルスレスポンスβnを演算するための演算式を求め、該演算式を上記式(6)に決めている。 Next, by applying the phase difference p to the above equation (8), an equation for calculating the impulse response βn expressed by the following equation (9) is obtained, and the equation is expressed by the above equation (6). I have decided.
窓関数演算部7は、フィルタ係数演算部4で生成されたインパルスレスポンスβn(0≦n≦N−1)に対して、次式(10)で表されるハミング窓(hamming window)の窓関数Wnによる重み付け演算を行うことにより、ディジタルフィルタ5のフィルタ係数αn(0≦n≦N−1)を演算する。
The window
これにより、窓関数演算部7は、上記式(6)に示したフィルタ係数演算部4で生成されるインパルスレスポンスβnに、上記式(10)に示した窓関数Wnを重み付けすることで、次式(11)で表されるフィルタ係数αnを生成し、ディジタルフィルタ5に供給する。
As a result, the window
ディジタルフィルタ5は、n次(N−1次)のFIR形ディジタルフィルタで形成されており、サンプリング時刻tbに同期して窓関数演算部7から供給されるインパルスレスポンスαnと、入力信号Xのサンプル列とを有限離散的たたみ込み演算をすることにより、サンプリング時刻tbでの内挿サンプルを生成し、出力信号Yとして出力する。
The
以上に説明したように、本実施例のサンプリング周波数変換装置1によれば、フィルタ係数演算部4が、ゼロ位相の理想フィルタのインパルスレスポンスの一部であるhnに、位相差pを導入することで、インパルスレスポンスβnを演算し、窓関数演算部7が、インパルスレスポンスβnにハミング窓の窓関数Wnを重み付け演算することにより、ディジタルフィルタ5のインパルスレスポンスαnを演算する。そして、ディジタルフィルタ5が、インパルスレスポンスαnと入力信号Xのサンプル列との有限離散的たたみ込み演算を行うことにより、目的周波数fbのクロック信号CKbのサンプリング時刻tbに同期して、内挿サンプルを生成することにより、サンプリング周波数fsの入力信号Xをサンプリング周波数fbの出力信号Yにサンプリング周波数変換する。
As described above, according to the
このように、本実施例のサンプリング周波数変換装置1によれば、フィルタ係数演算部3と窓関数演算部7が、位相差pに基づいてディジタルフィルタ5のフィルタ係数αnを演算するので、予め決められたサンプリングレートでのサンプリング周波数変換しか行えないという問題を解消し、サンプリングレートを自由に指定して、所望のサンプリング周波数fbの出力信号Yを生成することができる。
As described above, according to the
なお、以上の説明では、窓関数演算部7において、上記式(10)で表されるハミング窓の窓関数Wnに基づいてインパルスレスポンスβn(0≦n≦N−1)に重み付けを行う場合について説明したが、他の窓関数、例えばハニング窓(hanning window)によって重み付けを行うようにしてもよい。
In the above description, the window
また、レート変換部6の前段に、図1(a)に示したのと同様に第1レート変換部2を設け、その第1レート変換部2でサンプリング周波数fsの入力信号Xを整数a倍のサンプリング周波数faの中間生成信号Uを生成して、その中間生成品号Uを入力信号としてレート変換部6に供給するようにしてもよい。そして、かかる構成とする場合には、図5に示した位相差検出部3は、中間生成信号Uのサンプリング時刻とクロック信号CKbのサンプリング時刻tbとから、位相差pを検出して、フィルタ係数演算部4と窓関数演算部7に供給すればよい。
Further, the first
また、レート変換部6を1個設けたサンプリング周波数変換装置1について説明したが、図1(b)に示したように、レート変換部6と同様の構成を有する複数個のレート変換部を並列に接続することで、いわゆるポリフェーズ構造のサンプリング周波数変換装置を構成してもよい。かかるポリフェーズ構造とすれば、ポリフェーズ構造によるメリットをより多く享受することが可能なサンプリング周波数変換装置を実現することができる。
Further, the sampling
3…位相差検出部
4…フィルタ係数演算部
5…ディジタルフィルタ
6…第2レート変換部
7…窓関数演算部
DESCRIPTION OF
Claims (3)
前記ディジタル信号をディジタルフィルタリングするディジタルフィルタと、
目的周波数の信号と前記ディジタル信号とのサンプリング時刻間の位相差を検出する位相差検出手段と、
前記位相差検出手段が検出した前記位相差に基づいて、前記目的周波数の信号のサンプリング時刻における前記ディジタルフィルタのフィルタ係数を演算するフィルタ係数演算手段と、
前記フィルタ係数演算手段で演算される前記フィルタ係数に、窓関数による重み付け演算を行うことにより、前記目的周波数の信号のサンプリング時刻における前記ディジタルフィルタのフィルタ特性を設定するためのフィルタ係数を演算する窓関数演算手段と、
を備え、
前記ディジタルフィルタが、前記窓関数演算手段で前記重み付け演算されたフィルタ係数により設定されるフィルタ特性に基づいて前記ディジタル信号をディジタルフィルタリングすることによって、前記ディジタル信号を前記目的周波数に同期したサンプリング周波数のサンプル列から成る出力信号にサンプリング周波数変換すること、
を特徴とするサンプリング周波数変換装置。A sampling frequency converter for converting a sampling frequency of a digital signal,
A digital filter for digital filtering the digital signal;
Phase difference detecting means for detecting a phase difference between sampling times of a signal of a target frequency and the digital signal;
Filter coefficient calculating means for calculating a filter coefficient of the digital filter at the sampling time of the signal of the target frequency based on the phase difference detected by the phase difference detecting means;
A window for calculating a filter coefficient for setting a filter characteristic of the digital filter at the sampling time of the signal of the target frequency by performing a weighting operation by a window function on the filter coefficient calculated by the filter coefficient calculating means Function computing means;
With
The digital filter digitally filters the digital signal based on a filter characteristic set by the filter coefficient subjected to the weighting calculation by the window function calculation means, thereby obtaining a sampling frequency synchronized with the target frequency. Converting the sampling frequency into an output signal consisting of a sample sequence,
A sampling frequency converter characterized by the above.
前記位相差検出手段は、前記中間生成信号と前記目的周波数の信号とのサンプリング時刻間の位相差を検出すること、
を特徴とする請求項1に記載のサンプリング周波数変換装置。Rate conversion means for up-sampling the digital signal and performing digital low-pass filtering based on a predetermined low-pass filter characteristic to generate an intermediate generation signal having a higher sampling frequency than the digital signal and supplying the intermediate generation signal to the digital filter In addition,
The phase difference detection means detects a phase difference between sampling times of the intermediate generation signal and the signal of the target frequency;
The sampling frequency converter according to claim 1.
前記ディジタルフィルタと位相差検出手段とフィルタ係数演算手段及び窓関数演算手段と同等の構成を有するレート変換手段を複数備えたポリフェーズ構造であること、
を特徴とする請求項1に記載のサンプリング周波数変換装置。The sampling frequency converter is
A polyphase structure including a plurality of rate conversion means having the same configuration as the digital filter, phase difference detection means, filter coefficient calculation means, and window function calculation means;
The sampling frequency converter according to claim 1.
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2005014142 | 2005-01-21 | ||
| JP2005014142 | 2005-01-21 | ||
| PCT/JP2006/300449 WO2006077795A1 (en) | 2005-01-21 | 2006-01-16 | Sampling frequency converting apparatus |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPWO2006077795A1 JPWO2006077795A1 (en) | 2008-08-07 |
| JP4449007B2 true JP4449007B2 (en) | 2010-04-14 |
Family
ID=36692185
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2006553878A Expired - Fee Related JP4449007B2 (en) | 2005-01-21 | 2006-01-16 | Sampling frequency converter |
Country Status (2)
| Country | Link |
|---|---|
| JP (1) | JP4449007B2 (en) |
| WO (1) | WO2006077795A1 (en) |
Families Citing this family (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP4296518B2 (en) | 2006-12-07 | 2009-07-15 | ソニー株式会社 | Information processing apparatus and information processing method |
| JP5724475B2 (en) * | 2011-03-10 | 2015-05-27 | 株式会社リコー | Data receiving circuit, data transmitting / receiving system, and data receiving method |
| JP5573901B2 (en) * | 2012-08-23 | 2014-08-20 | Nttエレクトロニクス株式会社 | Sampling rate converter |
| JP6809201B2 (en) * | 2016-12-19 | 2021-01-06 | セイコーエプソン株式会社 | Sampling rate conversion circuit, reciprocal count value generation circuit and physical quantity sensor |
| CN108871385B (en) * | 2017-05-12 | 2021-09-07 | 西门子公司 | Encoder, motor, encoder data processing method and storage medium |
| CN110704792A (en) * | 2019-09-29 | 2020-01-17 | 广州海格通信集团股份有限公司 | Method for realizing real-time and efficient sampling rate arbitrary transformation |
| CN111769819B (en) * | 2019-12-26 | 2023-08-04 | 长安大学 | Sampling frequency self-adaptive adjustable data acquisition method and system |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH0748635B2 (en) * | 1987-03-23 | 1995-05-24 | 松下電器産業株式会社 | Filter coefficient calculator |
| JPS6477327A (en) * | 1987-09-18 | 1989-03-23 | Toshiba Corp | Sample rate converting circuit |
| JP2002506603A (en) * | 1998-04-27 | 2002-02-26 | コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ | Sample rate converter using polynomial interpolation |
| FR2832568A1 (en) * | 2001-11-20 | 2003-05-23 | Koninkl Philips Electronics Nv | SAMPLING FREQUENCY DIGITAL CONVERTER |
| JP2004214827A (en) * | 2002-12-27 | 2004-07-29 | Sony Corp | Sampling rate conversion device and method, and audio device |
-
2006
- 2006-01-16 WO PCT/JP2006/300449 patent/WO2006077795A1/en not_active Ceased
- 2006-01-16 JP JP2006553878A patent/JP4449007B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPWO2006077795A1 (en) | 2008-08-07 |
| WO2006077795A1 (en) | 2006-07-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP5142342B2 (en) | AD converter circuit | |
| JP2986745B2 (en) | Composite phase filter, timing error compensating apparatus and method using the same | |
| CN108763720B (en) | DDC implementation method with sampling rate capable of being adjusted down at will | |
| JP4449007B2 (en) | Sampling frequency converter | |
| US20080012882A1 (en) | Digital Filter and Image Processing Apparatus Using the Same | |
| US20050184890A1 (en) | Method for implementing a fractional sample rate converter (F-SRC) and corresponding converter architecture | |
| KR100641741B1 (en) | A digital filter and a method for filtering sample data | |
| US7221718B2 (en) | I/Q demodulator and I/Q signal sampling method thereof | |
| JP2007202157A (en) | Sampling rate conversion | |
| CN107534434B (en) | Data processing device, data processing method, and communication device | |
| JP5234798B2 (en) | Sampling frequency converter | |
| US20050184889A1 (en) | Method for implementing a fractional sample rate converter (F-SRC) and corresponding converter architecture | |
| JP2010130185A (en) | Sampling rate conversion circuit | |
| CN101473535A (en) | Method for processing a digital input signal in a digital domain and digital filter circuit for processing a digital input signal | |
| JPH0590897A (en) | Oversampling filter circuit | |
| JP5876849B2 (en) | Sampling rate conversion system and sampling rate conversion method | |
| JP4989575B2 (en) | Filter and filter configuration method | |
| US7242326B1 (en) | Sample rate conversion combined with filter | |
| US7262717B2 (en) | Sample rate conversion combined with filter | |
| US9819330B2 (en) | Filter for interpolated signals | |
| Mehra et al. | Optimized design of decimator for alias removal in multirate DSP applications | |
| Gupta et al. | A survey on efficient rational sampling rate conversion algorithms | |
| CN120653177A (en) | FPGA-based implementation method for optimizing variable sampling rate | |
| WO2005078924A1 (en) | Frequency component isolation filter, method, and program | |
| JP2010021860A (en) | Band separation filter and band separation method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| TRDD | Decision of grant or rejection written | ||
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20091225 |
|
| A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20100112 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 4449007 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20130205 Year of fee payment: 3 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140205 Year of fee payment: 4 |
|
| LAPS | Cancellation because of no payment of annual fees |