WO2012012963A1 - Device and method for converting digital sampling rate - Google Patents

Device and method for converting digital sampling rate Download PDF

Info

Publication number
WO2012012963A1
WO2012012963A1 PCT/CN2010/077042 CN2010077042W WO2012012963A1 WO 2012012963 A1 WO2012012963 A1 WO 2012012963A1 CN 2010077042 W CN2010077042 W CN 2010077042W WO 2012012963 A1 WO2012012963 A1 WO 2012012963A1
Authority
WO
WIPO (PCT)
Prior art keywords
switch
sample
filter
input
multiplier
Prior art date
Application number
PCT/CN2010/077042
Other languages
French (fr)
Chinese (zh)
Inventor
周鹏
陈月峰
叶辉
赵兴山
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2012012963A1 publication Critical patent/WO2012012963A1/en

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/06Non-recursive filters
    • H03H17/0621Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing
    • H03H17/0635Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing characterized by the ratio between the input-sampling and output-delivery frequencies
    • H03H17/0685Non-recursive filters with input-sampling frequency and output-delivery frequency which differ, e.g. extrapolation; Anti-aliasing characterized by the ratio between the input-sampling and output-delivery frequencies the ratio being rational
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03HIMPEDANCE NETWORKS, e.g. RESONANT CIRCUITS; RESONATORS
    • H03H17/00Networks using digital techniques
    • H03H17/02Frequency selective networks
    • H03H17/0248Filters characterised by a particular frequency response or filtering method
    • H03H17/028Polynomial filters

Definitions

  • means rounding down.
  • e [M is the position of the current sample within the sample period 7 ;
  • the Farrow filter implementation based on polynomial fitting is essentially a polynomial piecewise function to fit the time domain response A of the low pass filter.
  • W usually expressed by the following formula: Where w is the number of segments of the low-pass filter; (", 7 ⁇ is called the basis function of the polynomial, ⁇ is the segment interval; M is the highest power of the polynomial.
  • the basis function in the mainstream design scheme is formula:
  • the switching device wherein, when the first switch is in the second state, the device further comprises: cascading an integer multiple of the decimating finite impulse response filter after the polyphase filter.
  • FIG. 2 is a schematic structural diagram of a digital sample rate conversion device according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a digital sample rate conversion device according to another embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a digital sample rate conversion apparatus according to still another embodiment of the present invention
  • FIG. 6 is a time domain impulse response diagram of a conversion filter in a Farrow filter according to still another embodiment of the present invention.
  • Each of the second multipliers is connected to a third switch (K3), and the third switch is configured to control the second sample sequence and the first when the first switch is in the first state The input of the second normalized distance 2 between the sample sequence of values.
  • embodiments of the present invention provide a generalized Farrow filter based on a polynomial fit using a polyphase filter structure.
  • the design of the universal Farrow filter unifies the classical filter structure and the transposed filter structure, and is only realized by the switching circuit for interpolation and extraction to increase the flexibility of the sample rate conversion device, and also simplifies the Farrow structure.
  • Hardware structure is only realized by the switching circuit for interpolation and extraction to increase the flexibility of the sample rate conversion device, and also simplifies the Farrow structure.
  • the plurality of first switches may be configured as a linkage switch; similarly, the plurality of second switches may also be configured as linkage switches, and the plurality of third switches may also be configured as linkage switches.
  • FIG. 3 is a schematic structural diagram of a digital sample rate conversion apparatus according to another embodiment of the present invention.
  • the time of the conversion filter in the Farrow filter based on the polynomial fit is as follows:
  • the output signal of the mth sample time corresponds to the input signal X ( k ) which is the L- ⁇ + i/2j sample time, and at this time, the normalized distance between the output signals is output.
  • X ( k ) which is the L- ⁇ + i/2j sample time
  • the normalized distance between the output signals is output.
  • the digital sample rate conversion device uses the structure of a general-purpose Farrow filter suitable for interpolation and extraction, and has the following main features: (1)
  • the Farrow filter uses a polyphase filter structure of (M+l) (N+l); and the tap coefficients of the sub-filters in each sub-filter stage are odd, which is beneficial to the filtered signal. Timing reception; Secondly, each sub-filter uses an odd-symmetric FIR filter, which reduces the number of multipliers.

Landscapes

  • Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Algebra (AREA)
  • General Physics & Mathematics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Transmission Systems Not Characterized By The Medium Used For Transmission (AREA)
  • Television Systems (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

A device and method for converting digital sampling rate is provided in the present invention. When a first sampling period is greater than a second sampling period, the multiple phase filter in the device is used to control a first switch to be in a first state, and makes a first multiplier doesn't have the input of a first normalized distance and a second multiplier have the input of a second normalized distance by controlling a second switch and a third switch. When the first sampling period is less than the second sampling period, the multiple phase filter is also used to control said first switch to be in a second state, and makes the first multiplier have the input of the first normalized distance and the second multiplier doesn't have the input of the second normalized distance by controlling said second switch and said third switch. By applying the present invention, flexibility of sampling rate conversion device is enhanced, and hardware implement architecture of Farrow filter is simplified.

Description

一种数字采样率的转换装置和方法 技术领域 本发明涉及数字信号处理领域, 尤其涉及一种数字釆样率的转换装置 和方法。 背景技术  TECHNICAL FIELD The present invention relates to the field of digital signal processing, and in particular, to a digital sample rate conversion apparatus and method. Background technique
软件无线电的目标就是在一个通用的硬件平台上, 通过加载相应的软 件来改变空中接口。 对于不同釆样率的通信标准和协议, 软件无线电中常 用的策略是不管输入信号的符号速率多少都使用一个固定的速率进行釆 样, 然后对这些不同步的釆样值进行数字釆样率转换( SRC )以达到符号同 步的要求。  The goal of software radio is to change the air interface by loading the appropriate software on a common hardware platform. For communication standards and protocols of different sampling rates, a common strategy in software radio is to use a fixed rate regardless of the symbol rate of the input signal, and then digitally convert the unsynchronized sample values. (SRC) to achieve symbol synchronization requirements.
釆样率转换的问题可归纳为一个重釆样的过程, 原理如图 1 所示。 首 先对于以釆样周期为 Τι的输入离散信号 χ( )通过理想的数模变换器 ( DAC ) 重建为模拟信号 χ); 然后再对模拟信号以所需的釆样周期为 进行重釆样 得到釆样信号 y(M7^) , 其中, A。W为连续时间滤波器以防止釆样率转换时信 号频谱产生的镜像或者混叠现象,通常 A。w也是一个低通滤波器。将上述过 程可以下式来表示: y(mT2) = ^x(kTl) h(mT2 -kTl)
Figure imgf000003_0001
Figure imgf000003_0002
上式中, ^表示向下取整。 e [M为当前样本在釆样周期7;内的位置。 基于多项式拟合的 Farrow滤波器实现方案就其本质而言就是利用多项 式分段函数来拟合低通滤波器的时域响应 A。W , 通常可用下式来表示:
Figure imgf000004_0001
其中, w为低通滤波器的分段数; (",7^称为多项式的基函数, Γ为 段间隔; M为多项式最高次幂。 目前, 主流设计方案中的基函数是釆用下 式:
Figure imgf000004_0002
The problem of sample rate conversion can be summarized as a repetitive process. The principle is shown in Figure 1. First, the input discrete signal χ ( ) with the sample period Τ ι is reconstructed into an analog signal 通过 by an ideal digital-to-analog converter (DAC). ( ί ); Then, the analog signal is resampled with the desired sampling period to obtain a sample signal y( M7 ^) , where A . W is a continuous-time filter to prevent mirroring or aliasing caused by the signal spectrum during sample rate conversion, usually A. w is also a low pass filter. The above process can be expressed by the following formula: y(mT 2 ) = ^x(kT l ) h(mT 2 -kT l )
Figure imgf000003_0001
Figure imgf000003_0002
In the above formula, ^ means rounding down. e [M is the position of the current sample within the sample period 7 ; The Farrow filter implementation based on polynomial fitting is essentially a polynomial piecewise function to fit the time domain response A of the low pass filter. W , usually expressed by the following formula:
Figure imgf000004_0001
Where w is the number of segments of the low-pass filter; (", 7 ^ is called the basis function of the polynomial, Γ is the segment interval; M is the highest power of the polynomial. Currently, the basis function in the mainstream design scheme is formula:
Figure imgf000004_0002
此时的滤波器的分段数为偶数, 并且其系数是偶对称的, 也即满足:
Figure imgf000004_0003
The number of segments of the filter at this time is an even number, and its coefficient is evenly symmetric, that is, it satisfies:
Figure imgf000004_0003
不同 Farrow滤波器由于其结构上的区别在实现釆样率转换时会有不同 的功能和效果。 通常, 经典 Farrow滤波器结构实现的具有记好的去镜像功 能, 因而适合于插值滤波; 而转置 Farrow滤波器结构具有艮好的去混叠功 能, 因此适合于抽取滤波。 由于经典 Farrow滤波器和转置 Farrow滤波器在 结构上的区别, 目前通常要用两套电路分别来实现各自的功能。 发明内容  Different Farrow filters have different functions and effects when implementing the sample rate conversion due to their structural differences. In general, the classical Farrow filter structure implements a well-documented de-mirror function and is therefore suitable for interpolation filtering. The transposed Farrow filter structure has a good anti-aliasing function and is therefore suitable for decimation filtering. Due to the structural differences between the classic Farrow filter and the transposed Farrow filter, two sets of circuits are usually used to implement their respective functions. Summary of the invention
本发明的目的是提供一种数字釆样率的转换装置和方法, 以解决现有 技术需要两套电路来分别实现插值滤波器结构和抽取滤波器结构的技术问 题。  SUMMARY OF THE INVENTION An object of the present invention is to provide a digital sampling rate conversion apparatus and method for solving the technical problem that the prior art requires two sets of circuits to implement the interpolation filter structure and the decimation filter structure, respectively.
为了实现上述目的, 提供一种数字釆样率的转换装置, 用于将输入的 具有第一釆样周期的第一釆样值序列转换为具有第二釆样周期的第二釆样 值序列输出, 其中, 该装置包括多相滤波器, 以及多相滤波器中设置的第 一开关、 第二开关和第三开关; In order to achieve the above object, a digital sample rate conversion apparatus is provided for converting an input first sample sequence having a first sample period into a second sample having a second sample period a sequence of values output, wherein the apparatus comprises a polyphase filter, and a first switch, a second switch, and a third switch disposed in the polyphase filter;
所述多相滤波器, 用于当第一釆样周期大于第二釆样周期时, 控制所 述第一开关处于第一状态, 并通过控制所述第二开关和所述第三开关, 使 得第一乘法器上无第一归一化距离的输入, 在第二乘法器上有第二归一化 距离的输入; 当第一釆样周期小于第二釆样周期时, 控制所述第一开关处 于第二状态, 并通过控制所述第二开关和所述第三开关, 使得第一乘法器 上有第一归一化距离的输入, 在第二乘法器上无第二归一化距离的输入。  The polyphase filter is configured to control the first switch to be in a first state when the first sampling period is greater than the second sampling period, and to control the second switch and the third switch The first multiplier has no input of the first normalized distance, and the second multiplier has an input of the second normalized distance; when the first sampling period is less than the second sampling period, the first is controlled The switch is in the second state, and by controlling the second switch and the third switch, the first multiplier has an input of a first normalized distance, and the second multiplier has no second normalized distance input of.
优选地, 所述多相滤波器进一步包括: 多个子滤波器级; 多个子滤波 器级中每个子滤波器级的输入端都连接有第一开关, 在第一开关处于第一 状态时, 所述多个子滤波器级中的第一级直接接收所述第一釆样值序列, 所述多个子滤波器级中、 除所述第一级外的其它级直接连接到第一乘法器 的输出端; 在第一开关处于第二状态时, 所述多个子滤波器级中的第一级 通过累加器接收所述第一釆样值序列, 所述多个子滤波器级中、 除所述第 一级外的其它级通过累加器连接到所述第一乘法器的输出端;  Preferably, the polyphase filter further includes: a plurality of sub-filter stages; a first switch is connected to an input end of each of the plurality of sub-filter stages, when the first switch is in the first state, The first stage of the plurality of sub-filter stages directly receives the first sample sequence, and other stages of the plurality of sub-filter stages except the first stage are directly connected to the output of the first multiplier Receiving, in a second state, the first one of the plurality of sub-filter stages receives the first sample sequence by an accumulator, wherein the plurality of sub-filter stages Other stages outside the first stage are connected to the output of the first multiplier by an accumulator;
所述所有的第一乘法器串联连接, 且每个第一乘法器上都连接有所述 第二开关; 所述第二开关用于在所述第一开关处于第二状态时, 控制所述 第二釆样值序列与所述第一釆样值序列之间的第一归一化距离的输入; 所述多个子滤波器级中、 最后一级的输出端与第二乘法器的输入端相 连接, 所述多个子滤波器级中、 除最后一级外的其它级中的每一级的输出 端与第一加法器的输入端相连接, 所述不同的第一加法器之间通过第二乘 法器串联连接, 每个第二乘法器的输出端与第一加法器的输入端相连接, 与所述多个子滤波器级中、 第一级的输出端相连接的第一加法器的输出端 用于输出所述第二釆样值序列;  All of the first multipliers are connected in series, and each of the first multipliers is connected to the second switch; the second switch is configured to control the first switch when the first switch is in the second state Input of a first normalized distance between the second sample sequence and the first sample sequence; the output of the last stage, the output of the last stage, and the input of the second multiplier Connected, an output of each of the plurality of sub-filter stages, except for the last stage, is connected to an input of the first adder, and the different first adders pass between a second multiplier connected in series, the output of each second multiplier being coupled to the input of the first adder, and the first adder coupled to the output of the first stage of the plurality of sub-filter stages The output is used to output the second sample sequence;
每个所述第二乘法器上都连接有第三开关; 所述第三开关用于在所述 第一开关处于第一状态时, 控制所述第二釆样值序列与所述第一釆样值序 列之间的第二归一化距离的输入。 a third switch is connected to each of the second multipliers; the third switch is used to When the first switch is in the first state, the input of the second normalized distance between the second sample sequence and the first sample sequence is controlled.
优选地, 所述的转换装置, 其中, 所述多相滤波器中转换滤波器用于 釆用公式 计算时域冲激响应;  Preferably, the conversion device, wherein the conversion filter in the polyphase filter is used to calculate a time domain impulse response using a formula;
其中, 时域冲激响应的分段数为奇数个, 即 w为偶数,基函数的最高次 幂 M为整数, T为分段周期; Wherein, the number of segments of the time domain impulse response is an odd number, that is, w is an even number, and the highest power of the basis function M is an integer, and T is a segmentation period;
T )为基函数;
Figure imgf000006_0001
T) is a basis function;
Figure imgf000006_0001
使所述系数 满足:
Figure imgf000006_0002
Make the coefficients satisfy:
Figure imgf000006_0002
优选地, 所述的转换装置, 其中, 所述多相滤波器, 进一步用于在所 述第一釆样周期与所述第二釆样周期的比值为 L/M , L和 M为互质的正整 数, 且 L大于 M的情况下, 控制所述第一开关处于第一状态, 第 m个釆样 时刻的第二釆样值对应于第 k个釆样时刻的第一釆样值, 其中, m为整数, k = LmM/L+1/2J,计算第 m个釆样时刻的第二釆样值与第 k个时刻的第一釆样 值之间的所述第二归一化距离为: Preferably, the conversion device, wherein the polyphase filter is further configured to compare a ratio of the first sampling period to the second sampling period to L/M, and L and M are relatively prime a positive integer, and L is greater than M, controlling the first switch to be in the first state, and the second sample value of the mth sample time corresponds to the first sample value of the kth sample time, Where m is an integer, k = L mM / L+1 / 2 J, and the second return between the second sample value at the mth sample time and the first sample value at the kth time is calculated The distance is:
Mkl = mM/L- [mM/L+
Figure imgf000006_0003
且 _0·5≤ Al < 0·5; 其中, L为第一釆样周期; Μ为 第二釆样周期。
Mkl = mM/L- [mM/L+
Figure imgf000006_0003
And _0·5 ≤ Al <0·5; wherein, L is the first sampling period; Μ is the second sampling period.
优选地, 所述的转换装置, 其中, 所述多相滤波器, 进一步用于在所 述第一釆样周期与所述第二釆样周期的比值为 L/M , L和 Μ为互质的正整 数, 且 L小于 Μ的情况下, 控制所述第一开关处于第二状态, 所述累加器 用于实现从第 kl个釆样时刻的第一釆样值累加到第 k2个釆样时刻的第一 釆样值的积分累加, 其中, kl < k2, 第 m个釆样时刻的第二釆样值对应的 累加时刻为:
Figure imgf000007_0001
; 其中, L为第一釆样周期;
Preferably, the conversion device, wherein the polyphase filter is further configured to use a ratio of the first sample period to the second sample period to be L/M, and L and Μ are mutually prime a positive integer, and if L is less than Μ, controlling the first switch to be in a second state, the accumulator And an integral accumulation of the first sample value for accumulating the first sample value from the k1th sample time to the k2 sample time, wherein k1 < k2, the second time of the mth sample time The cumulative time corresponding to the sample value is:
Figure imgf000007_0001
Where L is the first sampling period;
M为第二釆样周期。 M is the second sampling period.
优选地, 所述的转换装置, 其中, 所述多相滤波器, 进一步用于计算 输出信号中的第 m个釆样时刻的第二釆样值与输入信号中的第 k个釆样时 刻的第一釆样值之间的归一化距离为: Preferably, the conversion device, wherein the polyphase filter is further configured to calculate a second sample value of the mth sample time in the output signal and a kth sample time in the input signal The normalized distance between the first sample values is:
Figure imgf000007_0002
Figure imgf000007_0002
其中, fe e [H,fe 2 ] ; L为第一釆样周期; M为第二釆样周期。 Where fe e [H,fe 2 ] ; L is the first sampling period; M is the second sampling period.
优选地, 所述的转换装置, 其中, 每个子滤波器级包括: 偶数阶的有 限脉冲响应滤波器; 所述偶数阶的有限脉冲响应滤波器的系数为奇对称。  Preferably, the conversion device, wherein each sub-filter stage comprises: an even-order finite impulse response filter; and the coefficients of the even-order finite impulse response filter are oddly symmetric.
优选地, 所述的转换装置, 其中, 在所述第一开关处于第一状态时, 该装置还包括: 在多相滤波器前面级联一个整数倍的插值有限脉冲响应滤 波器。  Preferably, the switching device, wherein, when the first switch is in the first state, the device further comprises: cascading an integer multiple of the interpolating finite impulse response filter in front of the polyphase filter.
优选地, 所述的转换装置, 其中, 在所述第一开关处于第二状态时, 该装置还包括: 在多相滤波器后面级联一个整数倍的抽取有限脉冲响应滤 波器。  Preferably, the switching device, wherein, when the first switch is in the second state, the device further comprises: cascading an integer multiple of the decimating finite impulse response filter after the polyphase filter.
另一方面, 提供一种应用本发明实施例的数字釆样率的转换装置进行 数字釆样率转换的方法, 用于将输入的具有第一釆样周期的第一釆样值序 列转换为具有第二釆样周期的第二釆样值序列输出, 其中, 该方法包括: 当第一釆样周期大于第二釆样周期时, 控制第一开关处于第一状态, 并通过控制第二开关和第三开关, 使得第一乘法器上无第一归一化距离的 输入, 在第二乘法器上有第二归一化距离的输入; 当第一釆样周期小于第二釆样周期时, 控制第一开关处于第二状态, 并通过控制第二开关和第三开关, 使得所述第一乘法器上有第一归一化距 离的输入, 在所述第二乘法器上无第二归一化距离的输入。
Figure imgf000008_0001
In another aspect, a method for performing digital sample rate conversion using a digital sample rate conversion apparatus according to an embodiment of the present invention is provided for converting an input first sample sequence sequence having a first sample period to have a second sample sequence output of the second sample cycle, wherein the method includes: when the first sample cycle is greater than the second sample cycle, controlling the first switch to be in the first state, and by controlling the second switch and a third switch, such that the first multiplier has no input of a first normalized distance, and the second multiplier has an input of a second normalized distance; When the first sampling period is less than the second sampling period, controlling the first switch to be in the second state, and by controlling the second switch and the third switch, so that the first multiplier has a first normalized distance Input, there is no input of a second normalized distance on the second multiplier.
Figure imgf000008_0001
该方法还包括: 釆用公式 , 计算多相滤波器中 转换滤波器的时域冲激响应;  The method further includes: calculating a time domain impulse response of the conversion filter in the polyphase filter using a formula;
其中, 时域冲激响应的分段数为奇数个, 即 w为偶数,基函数的最高次 幂 M为整数, T为分段周期; Wherein, the number of segments of the time domain impulse response is an odd number, that is, w is an even number, and the highest power of the basis function M is an integer, and T is a segmentation period;
T )为基函数;
Figure imgf000008_0002
T) is a basis function;
Figure imgf000008_0002
0, t为其它值 使所述系数 e»w满足: c0, t is another value such that the coefficient e »w satisfies: c
Figure imgf000008_0003
本发明的技术效果在于:
Figure imgf000008_0003
The technical effects of the present invention are:
通过设置三个开关, 只需控制开关的状态, 即可实现插值或抽取时的 釆样率转换, 将插值滤波器结构和抽取滤波器结构统一起来了, 增强了釆 样率转换装置的灵活性, 简化了滤波器的硬件实现架构, 提高了数据吞吐  By setting three switches, it is only necessary to control the state of the switch, which can realize the conversion of the sample rate during interpolation or extraction, and unify the structure of the interpolation filter and the structure of the decimation filter, which enhances the flexibility of the sample rate conversion device. , simplifies the hardware implementation architecture of the filter and improves data throughput
附图说明 DRAWINGS
图 1为现有技术的釆样率转换的原理示意图;  1 is a schematic diagram of the principle of the prior art sample rate conversion;
图 2为本发明一实施例的数字釆样率的转换装置的原理结构示意图; 图 3为本发明另一实施例的数字釆样率的转换装置的原理结构示意图 图 4为本发明又一实施例的数字釆样率的转换装置的原理结构示意图 图 5为本发明又一实施例的数字釆样率的转换装置的原理结构示意图; 图 6为本发明又一实施例的 Farrow滤波器中转换滤波器的时域冲激响 应图。 具体实施方式 2 is a schematic structural diagram of a digital sample rate conversion device according to an embodiment of the present invention; FIG. 3 is a schematic structural diagram of a digital sample rate conversion device according to another embodiment of the present invention; FIG. Schematic diagram of the principle structure of the digital sampling rate conversion device FIG. 5 is a schematic structural diagram of a digital sample rate conversion apparatus according to still another embodiment of the present invention; FIG. 6 is a time domain impulse response diagram of a conversion filter in a Farrow filter according to still another embodiment of the present invention. detailed description
为使本发明的目的、 技术方案和优点更加清楚, 下面将结合附图及具 体实施例对本发明进行详细描述。  The present invention will be described in detail below with reference to the drawings and specific embodiments.
图 2为本发明一实施例的数字釆样率的转换装置的结构示意图。 本发 明实实施例的数字釆样率的转换装置的用于将输入的具有第一釆样周期 Tin 的第一釆样值序列转换为具有第二釆样周期 T。ut的第二釆样值序列,如图 2 , 包括: 多相滤波器 100, 所述多相滤波器又包括: FIG. 2 is a schematic structural diagram of a digital sample rate conversion apparatus according to an embodiment of the present invention. The digital sampling rate conversion apparatus of the embodiment of the present invention is for converting the input first sample sequence sequence having the first sample period T in to have the second sample period T. The second sample sequence of ut , as shown in FIG. 2, includes: a polyphase filter 100, the polyphase filter further comprising:
多个子滤波器级, 每个所述子滤波器级的输入端都连接有一第一开关 ( K1 ), 在第一开关处于第一状态时: 所述多个子滤波器级中的第一级直接 接收所述第一釆样值序列, 所述多个子滤波器级中、 除所述第一级外的其 它级直接连接到一第一乘法器 101的输出端; 在第一开关处于第二状态时, 所述多个子滤波器级中的第一级通过一累加器接收所述第一釆样值序列, 所述多个子滤波器级中、 除所述第一级外的其它级通过一累加器连接到所 述第一乘法器的输出端;  a plurality of sub-filter stages, each of which is connected to a first switch (K1), wherein when the first switch is in the first state: the first of the plurality of sub-filter stages is directly Receiving the first sample sequence, the other stages of the plurality of sub-filter stages except the first stage are directly connected to the output end of a first multiplier 101; the first switch is in the second state The first stage of the plurality of sub-filter stages receives the first sample sequence by an accumulator, and the other stages of the plurality of sub-filter stages except the first stage pass an accumulation Connected to an output of the first multiplier;
所述所有的第一乘法器 101 串联连接, 且每个第一乘法器上都连接有 一第二开关(K2 ), 该第二开关用于在所述第一开关处于第二状态时, 控制 所述第二釆样值序列与所述第一釆样值序列之间的第一归一化距离 μη的输 入; All the first multipliers 101 are connected in series, and each of the first multipliers is connected with a second switch (K2) for controlling the control station when the first switch is in the second state. Inputting a first normalized distance μ η between the second sample sequence and the first sample sequence;
所述多个子滤波器级中、 最后一级的输出端与一第二乘法器 102 的输 入端相连接, 所述多个子滤波器级中、 除最后一级外的其它级中的每一级 的输出端与一第一加法器 103 的输入端相连接, 所述不同的第一加法器之 间通过一第二乘法器串联连接, 每一第二乘法器的输出端与一第一加法器 的输入端相连接, 与所述多个子滤波器级中第一级的输出端相连接的第一 加法器的输出端用于输出所述第二釆样值序列; The output of the last stage of the plurality of sub-filter stages is connected to the input of a second multiplier 102, and each of the other stages of the plurality of sub-filter stages except the last stage The output end is connected to the input end of a first adder 103, and the different first adders are connected in series by a second multiplier, the output end of each second multiplier and a first adder The input ends are connected, and the output of the first adder connected to the output of the first stage of the plurality of sub-filter stages is used to output the second sample sequence;
每一所述第二乘法器上都连接有一第三开关(K3 ), 第三开关用于在所 述第一开关处于第一状态时, 控制所述第二釆样值序列与所述第一釆样值 序列之间的第二归一化距离 2的输入。 Each of the second multipliers is connected to a third switch (K3), and the third switch is configured to control the second sample sequence and the first when the first switch is in the first state The input of the second normalized distance 2 between the sample sequence of values.
示例性地, 如图 2所示, 第一开关 K1处于第一状态时, K1拨向 I向, 没有累加器的支路接通; 第一开关 K1处于第二状态时, K2拨向 D向, 有 累加器的支路接通。 本发明实施例的实现过程中, 在 L大于 M时, K1拨 向 I向,使没有累加器的支路接通,且第二开关打开,第三开关闭合,此时, 多相滤波器实现为插值式滤波器; 在 L小于 M时, K1拨向 D向, 使有累 加器的支路接通, 且第二开关闭合, 第三开关打开, 此时, 多相滤波器实 现为抽取式滤波器。  Exemplarily, as shown in FIG. 2, when the first switch K1 is in the first state, K1 is turned to the I direction, and the branch without the accumulator is turned on; when the first switch K1 is in the second state, K2 is dialed to the D direction. , the branch with the accumulator is switched on. In the implementation process of the embodiment of the present invention, when L is greater than M, K1 is turned to the I direction, so that the branch without the accumulator is turned on, and the second switch is turned on, and the third switch is closed. At this time, the polyphase filter is realized. Is an interpolation filter; when L is less than M, K1 is turned to the D direction, so that the branch with the accumulator is turned on, and the second switch is closed, and the third switch is turned on. At this time, the polyphase filter is implemented as a decimation type. filter.
如图 2所示, x ( k ), k为整数, 表示第 k个输入信号, 即第 k个第一 釆样值; y ( m ), m为整数, 表示第 m个釆样时刻的输出信号, 即第 m个 第二釆样值。  As shown in Fig. 2, x ( k ), k is an integer representing the kth input signal, that is, the kth first sample value; y ( m ), m is an integer representing the output of the mth sample time The signal, that is, the mth second sample value.
优选地, 本发明的实施例提供了一种基于多项式拟合的通用的 Farrow 滤波器, 该通用的 Farrow滤波釆用多相滤波器结构。该通用 Farrow滤波器 的设计方案将经典滤波器结构和转置滤波器结构统一起来, 对于插值和抽 取时仅通过开关电路来实现以增加釆样率转换装置的灵活性, 同时也简化 了 Farrow结构的硬件结构。  Preferably, embodiments of the present invention provide a generalized Farrow filter based on a polynomial fit using a polyphase filter structure. The design of the universal Farrow filter unifies the classical filter structure and the transposed filter structure, and is only realized by the switching circuit for interpolation and extraction to increase the flexibility of the sample rate conversion device, and also simplifies the Farrow structure. Hardware structure.
在本发明实施例的具体实现中, 上述多个第一开关可设置成联动开关; 同样的, 多个第二开关也可设置成联动开关, 多个第三开关也可设置成联 动开关。  In a specific implementation of the embodiment of the present invention, the plurality of first switches may be configured as a linkage switch; similarly, the plurality of second switches may also be configured as linkage switches, and the plurality of third switches may also be configured as linkage switches.
图 3为本发明另一实施例的数字釆样率的转换装置的原理结构示意图。 本发明的该实施例中, 基于多项式拟合的 Farrow滤波器中转换滤波器的时 域冲激响应表达式如下: FIG. 3 is a schematic structural diagram of a digital sample rate conversion apparatus according to another embodiment of the present invention. In this embodiment of the invention, the time of the conversion filter in the Farrow filter based on the polynomial fit The domain impulse response expression is as follows:
N M  N M
h(t) =∑∑cm (n) fm (n,T,t) h(t) =∑∑c m (n) f m (n,T,t)
η=Ο ϊ?ρ=0  η=Ο ϊ?ρ=0
其中, 冲激响应的分段数为奇数个, 即 w为偶数, Μ为整数, Τ为分段 基函数为: for r<t <(n+l)r
Figure imgf000011_0001
Wherein, the number of segments of the impulse response is an odd number, that is, w is an even number, Μ is an integer, and 分段 is a piecewise basis function: for r<t <(n+l)r
Figure imgf000011_0001
同时, 时域低通滤波器的时域响应满足奇对称性, 也即使系数 满 足:
Figure imgf000011_0002
At the same time, the time domain response of the time domain low-pass filter satisfies the odd symmetry, even if the coefficients satisfy:
Figure imgf000011_0002
具体实现中, 每一所述子滤波器级包括: 偶数阶的有限脉冲响应滤波 器, 所述有限脉冲响应滤波器的系数为奇对称。  In a specific implementation, each of the sub-filter stages includes: an even-order finite impulse response filter, and the coefficients of the finite impulse response filter are oddly symmetric.
对于进行插值和抽取时的釆样率转换, 传统的 Farrow滤波器分别釆用 经典的 Farrow结构和转置的 Farrow结构加以实现,而本发明中对于进行插 值和抽取时仅通过三个开关电路来实现插值和抽取时的釆样率变换, 原理 结构如图 3所示。 设输入信号的釆样周期为 输出信号的釆样周期为 ^, 并设 Τ Τ。 = LIM , 其中 £和 A 为两个互质的正整数。 For the sampling rate conversion during interpolation and decimation, the traditional Farrow filter is implemented by the classical Farrow structure and the transposed Farrow structure, respectively, and in the present invention, only three switching circuits are used for interpolation and extraction. The sample rate conversion during interpolation and extraction is realized. The principle structure is shown in Figure 3. Let the sampling period of the input signal be the sampling period of the output signal is ^, and set Τ Τ . = L I M , where £ and A are two prime positive integers.
该例中, 具体的技术方案与实施步骤如下:  In this example, the specific technical solutions and implementation steps are as follows:
a, 通用 Farrow滤波器釆用 (M+1 ) ( N+1 ) 的多相滤波器结构, 即 总共有 A +l个子滤波器级,每一滤波器级包括一个子滤波器,每个子载波器 是抽头数为 w+i的 FIR滤波器, 其中抽头系数奇对称。  a, the general-purpose Farrow filter uses a (M+1) (N+1) polyphase filter structure, that is, there are a total of A + 1 sub-filter stages, and each filter stage includes a sub-filter, each sub-carrier The device is an FIR filter with a tap number of w+i, wherein the tap coefficients are oddly symmetric.
b , 当输入的第一釆样值序列的第一釆样周期大于输出的第二釆样值序 列的第二釆样周期时即£>^时表示插值, 此时闭合 K3断开 K2, 并将 K1 拔向 I方向, 第 m个釆样时刻的输出信号 对应于为第 L-^ + i/2j个釆 样时刻的输入信号 X ( k ) , 此时, 输出输入信号之间的归一化距离, 可表示 为 k
Figure imgf000012_0001
, 并满足 _0·5≤ Al < 0·5。
b, when the first sample period of the input first sample sequence is greater than the second sample period of the output second sample sequence, ie, >>, the interpolation is performed, and at this time, K3 is turned off and K2 is turned off, and Will K1 Pulling out in the I direction, the output signal of the mth sample time corresponds to the input signal X ( k ) which is the L-^ + i/2j sample time, and at this time, the normalized distance between the output signals is output. , can be expressed as k ,
Figure imgf000012_0001
And satisfy _0·5 ≤ Al < 0·5.
C , 当输入的第一釆样值序列的第一釆样周期小于输出的第二釆样值序 列的第二釆样周期时即当 < A 时即表示抽取, 此时闭合 K2断开 K3 , 并将 K1拔向 D方向, 此状态下, 累加器用于实现从第 kl个釆样时刻的第一釆 样值累加到第 k2釆样个时刻的第一釆样值的积分累加,其中用 来表示 该积分累加过程, 也即是对从 kl 即 1¾。 时刻的输入信号一直累加存储到 k2即 1¾^釆样时刻的输入信号。 其中 kl < k2, 即 k^e^ kupp^对于第 个 输出即第 m个釆样时刻的输出, 对应的累加时刻为: C, when the first sample period of the input first sample sequence is smaller than the second sample period of the output second sample sequence, that is, when <A, the extraction is performed, and at this time, K2 is closed and K3 is disconnected. K1 and pull in the direction D, in this state, from a first accumulator for accumulating achieve Bian kl th sample value of the time to preclude the kind of k2 preclude accumulating a first integrator samples preclude the sample time, wherein by Σ To indicate the integral accumulation process, that is, the pair is from kl ie 13⁄4. The input signal of the time is always accumulated and stored in the input signal of k2, that is, the time of the sample. Where kl < k2, that is, k^e^ kupp^ for the output of the first output, that is, the mth sample time, the corresponding accumulation time is:
(m_l/2) M/Le難集 (m_l/2) M/Le difficult set
― l^ M/L不属于難集 ― l^ M/L is not a difficult set
Figure imgf000012_0002
其中 W,W分别表示向下和向上取整; 表示当前的输出 ^与第 fe e [Η, ]个输入信号之间的归一化距离, 可表示为^
Figure imgf000012_0003
, 并满足 -0.5 < μ,2 < 0.5 在本发明其它实施例的釆样率转换装置中, 优选地, 对于进行插值的 釆样率变换处理, 可以在 Farrow滤波器前级联一个整数倍插值有限脉冲响 应 (FIR, Finite Impulse Response )滤波器; 而对于进行抽取的釆样率变换 处理, 可以在 Farrow 滤波器后面级联一个整数倍抽取 FIR滤波器以提高 Farrow滤波器在进行插值和抽取时的性能。 具体地, 可参照图 4和图 5所 示。 图 4中, Farrow滤波器实现为插值滤波器。 图 5中, Farrow滤波器实 现为抽取滤波器。
Figure imgf000012_0002
Where W and W respectively represent rounding up and up; indicating the normalized distance between the current output ^ and the first fe e [Η, ] input signals, which can be expressed as ^
Figure imgf000012_0003
And satisfying -0.5 < μ, 2 < 0.5 In the sampling rate conversion device of other embodiments of the present invention, preferably, for the sample rate conversion processing for performing interpolation, an integer multiple interpolation may be cascaded before the Farrow filter Finite Impulse Response (FIR) filter; for the sample rate conversion process for decimation, an integer multiple of the FIR filter can be cascaded after the Farrow filter to improve the Farrow filter when interpolating and extracting. Performance. Specifically, it can be referred to FIG. 4 and FIG. 5. In Figure 4, the Farrow filter is implemented as an interpolation filter. In Figure 5, the Farrow filter is implemented as a decimation filter.
本发明一实施例的数字釆样率的转换装置, 釆用适合于插值和抽取的 通用 Farrow滤波器的结构, 主要有以下几个特点: ( 1 ) Farrow滤波器釆用 (M+l ) ( N+l ) 的多相滤波器结构; 且每 个子滤波器级中的子滤波器的抽头系数为奇数个, 这有利于滤波后信号的 定时接收; 其次每个子滤波器的釆用奇对称的 FIR滤波器, 这样可以减少 乘法器的个数。 The digital sample rate conversion device according to an embodiment of the present invention uses the structure of a general-purpose Farrow filter suitable for interpolation and extraction, and has the following main features: (1) The Farrow filter uses a polyphase filter structure of (M+l) (N+l); and the tap coefficients of the sub-filters in each sub-filter stage are odd, which is beneficial to the filtered signal. Timing reception; Secondly, each sub-filter uses an odd-symmetric FIR filter, which reduces the number of multipliers.
( 2 )通过对开关电路进行控制对实现插值滤波和抽取滤波操作, 其优 点首先是统一了 Farrow滤波器实现结构, 简化了硬件实现架构; 其次, 对 于插值和抽取处理, 统一结构中的多相滤波器都是工作在低釆样率下, 从 而可以提高数据吞吐率。  (2) The interpolation filtering and decimation filtering operations are realized by controlling the switching circuit. The advantages are firstly to unify the Farrow filter implementation structure and simplify the hardware implementation architecture. Secondly, for interpolation and extraction processing, the multiphase in the unified structure The filters are all operating at low sample rates, which increases data throughput.
( 3 )对于插值和抽取处理时, 通过级联对应的 FIR滤波器, 可以提高 带外抑制和去除镜像, 从而可以提高 Farrow滤波器进行插值和抽取处理的 性能。  (3) For the interpolation and decimation processing, the out-of-band suppression and the removal of the image can be improved by cascading the corresponding FIR filter, thereby improving the performance of the Farrow filter for interpolation and extraction processing.
本发明实施例还提供了一种应用本发明上述各实施例的数字釆样率的 转换装置进行数字釆样率转换的方法, 用于将输入的具有第一釆样周期的 第一釆样值序列转换为具有第二釆样周期的第二釆样值序列输出, 包括如 下步骤:  The embodiment of the present invention further provides a method for performing digital sample rate conversion by using the digital sample rate conversion device of the above embodiments of the present invention, for inputting the first sample value having the first sample period The sequence is converted to a second sample sequence output having a second sample period, including the following steps:
当第一釆样周期大于第二釆样周期时, 控制所述第一开关处于第一状 态, 控制所述第二、 第三开关, 使得所述第一乘法器上无第一归一化距离 的输入, 在所述第二乘法器上有第二归一化距离的输入;  Controlling the first switch to be in a first state when the first sampling period is greater than the second sampling period, and controlling the second and third switches such that there is no first normalized distance on the first multiplier Input, having an input of a second normalized distance on the second multiplier;
当第一釆样周期小于第二釆样周期时, 控制所述第一开关处于第二状 态, 控制所述第二、 第三开关, 使得所述第一乘法器上有第一归一化距离 的输入, 在所述第二乘法器上无第二归一化距离的输入。  Controlling the first switch to be in a second state when the first sampling period is less than the second sampling period, and controlling the second and third switches such that the first multiplier has a first normalized distance The input has no input of a second normalized distance on the second multiplier.
本发明实施例还提供了一种应用本发明上述各实施例的数字釆样率的 转换装置进行数字釆样率转换的方法, 用于将输入的具有第一釆样周期的 第一釆样值序列转换为具有第二釆样周期的第二釆样值序列输出, 其中, 该方法为; 使多相滤波器中转换滤波器的时域冲激响应表达式为如下所示:The embodiment of the present invention further provides a method for performing digital sample rate conversion by using the digital sample rate conversion device of the above embodiments of the present invention, for inputting the first sample value having the first sample period Converting the sequence to a second sample sequence output having a second sample period, wherein the method is; The time domain impulse response expression of the conversion filter in the polyphase filter is as follows:
N M N M
h(t) =∑∑cm (n)fm (n,T,t) h(t) =∑∑c m (n)f m (n,T,t)
η=Ο ϊ?ρ=0  η=Ο ϊ?ρ=0
其中, 冲激响应的分段数为奇数个, 即 w为偶数, Μ为整数, Τ为分段 周期;  Wherein, the number of segments of the impulse response is an odd number, that is, w is an even number, Μ is an integer, and Τ is a segmentation period;
基函数为:  The basis function is:
Figure imgf000014_0001
使所述系数 满足:
Figure imgf000014_0001
Make the coefficients satisfy:
-n) m为 ί^  -n) m is ί^
, 、 ^ n = N/2+l,...,N  , , ^ n = N/2+l,...,N
-cm (N-n) m为鑛 本发明的实施例针对数字信号处理中釆样率变换 ( SRC )提供了一种通 用釆样率转换的方法和装置, 釆用基于多项式的 SRC滤波器结构原理将适 合插值的经典 Farrow滤波器以及适合抽取的转置 Farrow滤波器综合到统一 的滤波器结构下, 对于进行插值和抽取仅通过开关电路来实现以增加釆样 率变换的灵活性, 并且简化的硬件实现架构, 提高了数据吞吐量; 且由于 釆用了偶数阶的 FIR滤波器作为子滤波器, 有利于滤波后的符号定时接收; 进一步地, 由于子载波器的系数为奇对称, 使乘法器的个数减少了一半; 最后, 通过级联 FIR滤波器可以提高 Farrow滤波器在进行插值和抽取时的 性能。 -c m (Nn) m is a mine. The embodiment of the present invention provides a general method and apparatus for sampling rate conversion (SRC) in digital signal processing, using a polynomial-based SRC filter structure principle. Combining the classic Farrow filter suitable for interpolation and the transposed Farrow filter suitable for decimation into a unified filter structure, the interpolation and extraction are only realized by the switching circuit to increase the flexibility of the sample rate conversion, and the simplified The hardware implementation architecture improves the data throughput; and because the even-order FIR filter is used as the sub-filter, it facilitates the filtered symbol timing reception; further, since the coefficients of the sub-carrier are odd-symmetric, the multiplication is performed. The number of devices is reduced by half; finally, the performance of the Farrow filter for interpolation and decimation can be improved by a cascaded FIR filter.
下面对本发明实施例的数字釆样率的转换装置和方法的具体应用进行 说明。具体地,在数字中频处理芯片项目中,下行链路的数字上变频(DUC ) 处理模块需要将各种制式成型后的基带信号进行上变频至一个固定的釆样 率, 此时的处理可以通过本发明的转换装装置来实现插值滤波过程; 上行 链路的数字下变频 (DDC )处理模块需要将各种制式由一个较高的釆样率 变换至各自的基带釆样率, 此时的处理可以通本发明的转换装置来实现抽 取滤波过程。 具体实施步骤如下: The specific application of the digital sampling rate conversion apparatus and method of the embodiment of the present invention will be described below. Specifically, in the digital intermediate frequency processing chip project, the downlink digital up-conversion (DUC) processing module needs to up-convert the baseband signals formed by various standards to a fixed sampling rate, and the processing at this time can be passed. The conversion device of the present invention implements an interpolation filtering process; the uplink digital down conversion (DDC) processing module requires a high sampling rate of various modes. Transforming to the respective baseband sampling rate, the processing at this time can implement the decimation filtering process by the conversion device of the present invention. The specific implementation steps are as follows:
图 6为本发明实施例的 Farrow滤波器中转换滤波器的时域响应图, 其 中 N=10, M=4, 即 Farrow滤波器是釆 5 x 11多相滤波器结构。  6 is a time-domain response diagram of a conversion filter in a Farrow filter according to an embodiment of the present invention, where N=10 and M=4, that is, the Farrow filter is a 釆5×11 polyphase filter structure.
DUC处理模块中, 对于各种制式成型后的基带信号先通过一个半带滤 波器进行 2倍插值变换; 然后再通过 Farrow滤波器进行插值处理变换至所 需的釆样率, 其中的 Farrow滤波器进行插值处理时的相关步骤可参见上文 所述的 L>M时的处理过程。  In the DUC processing module, the baseband signals formed by various standards are first subjected to 2x interpolation transformation through a half-band filter; then, the interpolation processing is performed by the Farrow filter to convert to the desired sampling rate, wherein the Farrow filter is used. The relevant steps when performing the interpolation process can be referred to the process of L>M described above.
DDC处理模块中, 对于输入为较高釆样率下的各种制式接收信号先通 过 Farrow滤波器进行抽取处理, 输出釆样率为其所需釆样率的 2倍; 然后 再通过半带滤波器进行 2倍抽取变换至所需的釆样率, 其中的 Farrow滤波 器进行抽取处理时的相关步骤可参见上文所述的 L < M时的处理过程。  In the DDC processing module, the received signals of various standards for the input at a higher sampling rate are first extracted by the Farrow filter, and the output sampling rate is twice the required sampling rate; then the half-band filtering is performed. The device performs a 2-fold decimation transformation to the desired sampling rate, and the relevant steps when the Farrow filter performs the decimation processing can be referred to the processing at the time of L < M described above.
以上所述仅是本发明的优选实施方式, 应当指出, 对于本技术领域的 普通技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进 和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is considered as the scope of protection of the present invention.

Claims

权利要求书 Claim
1、 一种数字釆样率的转换装置, 用于将输入的具有第一釆样周期的第 一釆样值序列转换为具有第二釆样周期的第二釆样值序列输出, 其特征在 于, 该装置包括多相滤波器, 以及多相滤波器中设置的第一开关、 第二开 关和第三开关;  A digital sample rate conversion device for converting an input first sample sequence sequence having a first sample period into a second sample sequence output having a second sample period, wherein The device includes a polyphase filter, and a first switch, a second switch, and a third switch disposed in the polyphase filter;
所述多相滤波器, 用于当第一釆样周期大于第二釆样周期时, 控制所 述第一开关处于第一状态, 并通过控制所述第二开关和所述第三开关, 使 得第一乘法器上无第一归一化距离的输入, 在第二乘法器上有第二归一化 距离的输入; 当第一釆样周期小于第二釆样周期时, 控制所述第一开关处 于第二状态, 并通过控制所述第二开关和所述第三开关, 使得第一乘法器 上有第一归一化距离的输入, 在第二乘法器上无第二归一化距离的输入。  The polyphase filter is configured to control the first switch to be in a first state when the first sampling period is greater than the second sampling period, and to control the second switch and the third switch The first multiplier has no input of the first normalized distance, and the second multiplier has an input of the second normalized distance; when the first sampling period is less than the second sampling period, the first is controlled The switch is in the second state, and by controlling the second switch and the third switch, the first multiplier has an input of a first normalized distance, and the second multiplier has no second normalized distance input of.
2、 根据权利要求 1所述的转换装置, 其特征在于, 所述多相滤波器进 一步包括: 多个子滤波器级; 多个子滤波器级中每个子滤波器级的输入端 都连接有第一开关, 在第一开关处于第一状态时, 所述多个子滤波器级中 的第一级直接接收所述第一釆样值序列, 所述多个子滤波器级中、 除所述 第一级外的其它级直接连接到第一乘法器的输出端; 在第一开关处于第二 状态时, 所述多个子滤波器级中的第一级通过累加器接收所述第一釆样值 序列, 所述多个子滤波器级中、 除所述第一级外的其它级通过累加器连接 到所述第一乘法器的输出端;  2. The conversion apparatus according to claim 1, wherein the polyphase filter further comprises: a plurality of sub-filter stages; and the input ends of each of the plurality of sub-filter stages are connected to the first a first stage of the plurality of sub-filter stages directly receiving the first sample sequence, wherein the first stage is divided by the first stage The other stages are directly connected to the output of the first multiplier; when the first switch is in the second state, the first one of the plurality of sub-filter stages receives the first sample sequence by the accumulator, Among the plurality of sub-filter stages, other stages than the first stage are connected to an output end of the first multiplier by an accumulator;
所有的第一乘法器串联连接, 且每个第一乘法器上都连接有所述第二 开关; 所述第二开关用于在所述第一开关处于第二状态时, 控制所述第二 釆样值序列与所述第一釆样值序列之间的第一归一化距离的输入;  All first multipliers are connected in series, and each of the first multipliers is connected to the second switch; the second switch is configured to control the second switch when the first switch is in the second state An input of a first normalized distance between the sample sequence of values and the sequence of first sample values;
所述多个子滤波器级中、 最后一级的输出端与第二乘法器的输入端相 连接, 所述多个子滤波器级中、 除最后一级外的其它级中的每一级的输出 端与第一加法器的输入端相连接, 所述不同的第一加法器之间通过第二乘 法器串联连接, 每个第二乘法器的输出端与第一加法器的输入端相连接, 与所述多个子滤波器级中、 第一级的输出端相连接的第一加法器的输出端 用于输出所述第二釆样值序列; The output of the last stage of the plurality of sub-filter stages is connected to the input of the second multiplier, and the output of each of the other stages of the plurality of sub-filter stages except the last stage The end is connected to the input end of the first adder, and the different first adders pass the second multiplication The detectors are connected in series, the output of each second multiplier is connected to the input of the first adder, and the output of the first adder connected to the output of the first stage of the plurality of sub-filter stages The end is configured to output the second sample sequence of values;
每个第二乘法器上都连接有第三开关; 所述第三开关用于在所述第一 开关处于第一状态时, 控制所述第二釆样值序列与所述第一釆样值序列之 间的第二归一化距离的输入。  a third switch is connected to each of the second multipliers; the third switch is configured to control the second sample sequence and the first sample value when the first switch is in the first state The input of the second normalized distance between the sequences.
3、 根据权利要求 2所述的转换装置, 其特征在于, 所述多相滤波器, 还包括: 转换滤波器; 所述转换滤波器 , 用 于釆用 公式 The conversion device according to claim 2, wherein the polyphase filter further comprises: a conversion filter; and the conversion filter is used for a formula
N M 计算时域冲激响应; N M calculates the time domain impulse response;
其中, 时域冲激响应的分段数为奇数个, T为分段周期;  Wherein, the number of segments of the time domain impulse response is an odd number, and T is a segmentation period;
/ T )为基函数;  / T ) is a basis function;
Figure imgf000017_0001
Figure imgf000017_0001
4、 根据权利要求 2所述的转换装置, 其特征在于, 所述多相滤波; 进一步用于在所述第一釆样周期与所述第二釆样周期的比值为 L/M , L和 M为互质的正整数, 且 L大于 M的情况下, 控制所述第一开关处于第一状 态, 第 m个釆样时刻的第二釆样值对应于第 k个釆样时刻的第一釆样值, 其中, m为整数, fc = M/£+i/2」, 计算第„!个釆样时刻的第二釆样值与第 k 个时刻的第一釆样值之间的所述第二归一化距离为:The conversion device according to claim 2, wherein the polyphase filtering is further configured to use a ratio of the first sample period to the second sample period to be L/M, L and M is a positive positive integer, and when L is greater than M, the first switch is controlled to be in the first state, and the second sample value of the mth sample time corresponds to the first time of the kth sample time The sample value, where m is an integer, fc = M/£+i/ 2 ”, calculates the relationship between the second sample value of the first „! sample time and the first sample value at the kth time The second normalized distance is:
a = mM/L- [mM/L+
Figure imgf000017_0002
且 _0·5≤ Al < 0·5; 其中, L为第一釆样周期; Μ为 第二釆样周期。
a = mM/L- [mM/L+
Figure imgf000017_0002
And _0·5 ≤ Al <0·5; wherein, L is the first sampling period; The second sampling cycle.
5、 根据权利要求 2所述的转换装置, 其特征在于, 所述多相滤波器, 进一步用于在所述第一釆样周期与所述第二釆样周期的比值为 L/M , L和 M为互质的正整数, 且 L小于 M的情况下, 控制所述第一开关处于第二状 态, 所述累加器用于实现从第 kl个釆样时刻的第一釆样值累加到第 k2个 釆样时刻的第一釆样值的积分累加, 其中, kl < k2, 第 m个釆样时刻的第 二釆样值对应的累加时刻为:
Figure imgf000018_0001
; 其中, L为第一釆样周期;
The conversion device according to claim 2, wherein the polyphase filter is further configured to use a ratio of the first sample period to the second sample period to be L/M, L And M is a positive positive integer, and L is less than M, the first switch is controlled to be in a second state, and the accumulator is configured to implement the first sample value from the k1th sample time to be added to the first The integral accumulation of the first sample value at k2 sample times, where kl < k2, the cumulative time corresponding to the second sample value at the mth sample time is:
Figure imgf000018_0001
Where L is the first sampling period;
M为第二釆样周期。 M is the second sampling period.
6、 根据权利要求 5所述的转换装置, 其特征在于, 所述多相滤波器, 进一步用于计算输出信号中的第 m个釆样时刻的第二釆样值与输入信号中 的第 k个釆样时刻的第一釆样值之间的归一化距离为: The conversion device according to claim 5, wherein the polyphase filter is further configured to calculate a second sample value of the mth sample time and an kth of the input signal in the output signal The normalized distance between the first sample values at the time of the sample is:
Figure imgf000018_0002
Figure imgf000018_0002
其中, [H,fe 2 ] ; L为第一釆样周期; M为第二釆样周期。  Where [H, fe 2 ] ; L is the first sampling period; M is the second sampling period.
7、 根据权利要求 2所述的转换装置, 其特征在于, 每个子滤波器级包 括: 偶数阶的有限脉冲响应滤波器; 所述偶数阶的有限脉冲响应滤波器的 系数为奇对称。  7. The conversion apparatus according to claim 2, wherein each of the sub-filter stages comprises: an even-order finite impulse response filter; and the coefficients of the even-order finite impulse response filter are oddly symmetric.
8、 根据权利要求 2所述的转换装置, 其特征在于, 在所述第一开关处 于第一状态时, 该装置还包括: 在多相滤波器前面级联一个整数倍的插值 有限脉冲响应滤波器。  8. The conversion device according to claim 2, wherein, when the first switch is in the first state, the device further comprises: cascading an integer multiple of the interpolation finite impulse response filter in front of the polyphase filter Device.
9、 根据权利要求 2所述的转换装置, 其特征在于, 在所述第一开关处 于第二状态时, 该装置还包括: 在多相滤波器后面级联一个整数倍的抽取 有限脉冲响应滤波器。  The conversion device according to claim 2, wherein, when the first switch is in the second state, the device further comprises: cascading an integer multiple of the finite impulse response filter after the polyphase filter Device.
10、 一种数字釆样率的转换方法, 其特征在于, 该方法包括: 当第一釆样周期大于第二釆样周期时, 控制第一开关处于第一状态, 并通过控制第二开关和第三开关, 使得第一乘法器上无第一归一化距离的 输入, 在第二乘法器上有第二归一化距离的输入; 10. A method for converting a digital sample rate, the method comprising: When the first sampling period is greater than the second sampling period, controlling the first switch to be in the first state, and by controlling the second switch and the third switch, so that the first multiplier has no input of the first normalized distance, An input having a second normalized distance on the second multiplier;
当第一釆样周期小于第二釆样周期时, 控制第一开关处于第二状态, 并通过控制第二开关和第三开关, 使得第一乘法器上有第一归一化距离的 输入, 在第二乘法器上无第二归一化距离的输入。  When the first sampling period is less than the second sampling period, controlling the first switch to be in the second state, and by controlling the second switch and the third switch, the first multiplier has the input of the first normalized distance, There is no input of the second normalized distance on the second multiplier.
11、 根据权利要求 10所述的转换方法, 其特征在于, 该方法还包括: 釆用公式
Figure imgf000019_0001
, 计算多相滤波器中转换滤波器的时域冲 激口向应;
11. The conversion method according to claim 10, wherein the method further comprises: using a formula
Figure imgf000019_0001
Calculating the time domain impulse response of the conversion filter in the polyphase filter;
其中, 时域冲激响应的分段数为奇数个, T为分段周期;  Wherein, the number of segments of the time domain impulse response is an odd number, and T is a segmentation period;
/„^,r, 为基函数;
Figure imgf000019_0002
/„^,r, is the basis function;
Figure imgf000019_0002
使所述系数 满足:
Figure imgf000019_0003
Make the coefficients satisfy:
Figure imgf000019_0003
PCT/CN2010/077042 2010-07-28 2010-09-17 Device and method for converting digital sampling rate WO2012012963A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010239817.6 2010-07-28
CN201010239817.6A CN102347768B (en) 2010-07-28 2010-07-28 Conversion equipment of digital sampling rate and method thereof

Publications (1)

Publication Number Publication Date
WO2012012963A1 true WO2012012963A1 (en) 2012-02-02

Family

ID=45529374

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077042 WO2012012963A1 (en) 2010-07-28 2010-09-17 Device and method for converting digital sampling rate

Country Status (2)

Country Link
CN (1) CN102347768B (en)
WO (1) WO2012012963A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020047148A1 (en) * 2018-08-31 2020-03-05 Commscope Technologies Llc Efficient implementation of fixed-rate farrow-based resampling filter

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102412806B (en) * 2011-10-24 2017-08-25 南京中兴新软件有限责任公司 The Farrow wave filters and its implementation of logic-based circuit
CN105915193B (en) * 2016-06-21 2018-06-19 电子科技大学 A kind of improvement generation method for multiphase filter
US9966977B1 (en) * 2016-10-25 2018-05-08 Samsung Electronics Co., Ltd Efficient polyphase architecture for interpolator and decimator
CN107374621B (en) * 2017-08-31 2020-12-22 华南理工大学 Channel sampling rate high-low distribution method for electroencephalogram signal acquisition

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11205089A (en) * 1998-01-08 1999-07-30 Matsushita Electric Ind Co Ltd Digital video recording apparatus
CN1354906A (en) * 2000-01-10 2002-06-19 皇家菲利浦电子有限公司 Image interpolation and decimation using continuously variable delay filter and combined with polyphase filter
CN101080870A (en) * 2004-11-12 2007-11-28 模拟设备股份有限公司 Sample rate converter for reducing the sampling frequency of a signal by a fraction
US7369637B1 (en) * 2004-06-04 2008-05-06 Altera Corporation Adaptive sampling rate converter
CN101207372A (en) * 2007-12-04 2008-06-25 中兴通讯股份有限公司 Apparatus and method for implementation of fixed decimal sampling frequency conversion

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11205089A (en) * 1998-01-08 1999-07-30 Matsushita Electric Ind Co Ltd Digital video recording apparatus
CN1354906A (en) * 2000-01-10 2002-06-19 皇家菲利浦电子有限公司 Image interpolation and decimation using continuously variable delay filter and combined with polyphase filter
US7369637B1 (en) * 2004-06-04 2008-05-06 Altera Corporation Adaptive sampling rate converter
CN101080870A (en) * 2004-11-12 2007-11-28 模拟设备股份有限公司 Sample rate converter for reducing the sampling frequency of a signal by a fraction
CN101207372A (en) * 2007-12-04 2008-06-25 中兴通讯股份有限公司 Apparatus and method for implementation of fixed decimal sampling frequency conversion

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020047148A1 (en) * 2018-08-31 2020-03-05 Commscope Technologies Llc Efficient implementation of fixed-rate farrow-based resampling filter
US10826676B2 (en) 2018-08-31 2020-11-03 Commscope Technologies Llc Efficient implementation of fixed-rate farrow-based resampling filter

Also Published As

Publication number Publication date
CN102347768A (en) 2012-02-08
CN102347768B (en) 2014-03-12

Similar Documents

Publication Publication Date Title
Jovanovic-Dolecek et al. A new two-stage sharpened comb decimator
CN101257482B (en) Method and device for realizing digital baseband variable velocity to convert modulating system
KR100799406B1 (en) Digital sampling rate converter for compensating signal droop in band
WO2012012963A1 (en) Device and method for converting digital sampling rate
WO2014094823A1 (en) Methods and devices for handling channel mismatches of an i/q down-converted signal and a two-channel ti-adc
US20120051407A1 (en) Apparatus and methods for sampling rate conversion for wireless transceivers
KR100612594B1 (en) Method and apparatus for performing phase detection and timing recovery for a vestigial sideband receiver
CN110290081B (en) Baseband signal processing method and device
US7376690B2 (en) Time discrete filter comprising upsampling, sampling rate conversion and downsampling stages
CN108763720B (en) DDC implementation method with sampling rate capable of being adjusted down at will
US7248189B2 (en) Programmable sample rate conversion engine for wideband systems
JP4449007B2 (en) Sampling frequency converter
US20060224649A1 (en) Interpolation and decimation using newton polyphase filters
Sheikh et al. Efficient sample rate conversion for multi-standard software defined radios
JP2000307384A (en) Digital filter, oversampling analog/digital or digital/ analog converting device using the same
WO2001008313A1 (en) A low pass digital filter
Mehra et al. Optimized design of decimator for alias removal in multirate DSP applications
CN111404513A (en) CIC decimation filter and implementation method thereof
Candan Optimal sharpening of CIC filters and an efficient implementation through Saramäki-Ritoniemi decimation filter structure (extended version)
CN110212889B (en) Digital signal sampling device and method
US20120203812A1 (en) Method and apparatus for generating signal having converted sampling rate in communication system
EP1570574A1 (en) Multirate filter and a display system and a mobile telephone comprising said multirate filter
CN114024553B (en) Multi-channel baseband-to-radio frequency up-conversion method and system and electronic equipment
Liu et al. A novel oversampling scheme for design of hybrid filter bank based ADCs
Mehra et al. Area Efficient Interpolator Using Half-Band Symmetric Structure

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10855191

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10855191

Country of ref document: EP

Kind code of ref document: A1