CN111079075B - Non-2-base DFT optimized signal processing method - Google Patents

Non-2-base DFT optimized signal processing method Download PDF

Info

Publication number
CN111079075B
CN111079075B CN201911313648.3A CN201911313648A CN111079075B CN 111079075 B CN111079075 B CN 111079075B CN 201911313648 A CN201911313648 A CN 201911313648A CN 111079075 B CN111079075 B CN 111079075B
Authority
CN
China
Prior art keywords
dft
point
factors
point dft
factor
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.)
Active
Application number
CN201911313648.3A
Other languages
Chinese (zh)
Other versions
CN111079075A (en
Inventor
韩乾
李凯
赵锴
王虎
宋长城
韩松宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zijinshan Laboratory
Original Assignee
Network Communication and Security Zijinshan Laboratory
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 Network Communication and Security Zijinshan Laboratory filed Critical Network Communication and Security Zijinshan Laboratory
Priority to CN201911313648.3A priority Critical patent/CN111079075B/en
Publication of CN111079075A publication Critical patent/CN111079075A/en
Application granted granted Critical
Publication of CN111079075B publication Critical patent/CN111079075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/14Fourier, Walsh or analogous domain transformations, e.g. Laplace, Hilbert, Karhunen-Loeve, transforms
    • G06F17/141Discrete Fourier transforms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/16Matrix or vector computation, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Computational Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Theoretical Computer Science (AREA)
  • Algebra (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Discrete Mathematics (AREA)
  • Complex Calculations (AREA)

Abstract

The invention belongs to the field of digital signal processing, optimizes a Cooley-Tukey algorithm based on non-2-base DFT, and discloses a signal processing method optimized by non-2-base DFT, which optimizes the prime factor decomposition of the Cooley-Tukey algorithm, disassembles N-point DFT according to the prime factor decomposition, and processes signals by using the Cooley-Tukey algorithm on the basis. The invention improves the reliability of signal processing and the accuracy of fixed-point calculation processing, and reduces the difficulty of signal processing of fixed-point non-2-base N-point DFT.

Description

一种非2-基DFT优化的信号处理方法A Signal Processing Method Based on Non-2-radix DFT Optimization

技术领域technical field

本发明属于数字信号处理领域,涉及一种5G系统中非2-基DFT优化的信号处理方法,主要针对数字信号处理中非2-基N点DFT质因数分解算法进行工程实现优化。便于DSP的定点化处理,降低非2-基N点DFT开发难度,也具有一定的普适性和通用性。The invention belongs to the field of digital signal processing, and relates to a non-2-radix DFT optimized signal processing method in a 5G system, mainly aiming at engineering realization optimization of a non-2-base N-point DFT prime factorization algorithm in digital signal processing. It is convenient for fixed-point processing of DSP, reduces the difficulty of developing non-2-base N-point DFT, and has certain universality and universality.

背景技术Background technique

在5G移动通信系统中,为了满足系统的物理层设计性能,定点DFT在数字信号处理的过程中被广泛应用。例如在处理Sounding信号时,信号长度为273,这时就需要非2-基DFT去处理。2基DFT的可直接采用非常成熟的FFT算法实现。而对于非2-基N点的DFT大致上有两种实现方式:一种通过将N点内插得到基2的M点,利用基-2或基-4实现M点的FFT,再通过降采样得到非2-基N点DFT;二是将N做质因数分解,迭代计算每个质因数点的DFT从而得到N点的DFT,其中互质因子算法(Prime-factor FFT algorithm,PFA)和Cooley-Tukey算法是目前较为经常使用的两种算法。互质因子算法,又称为Good-Thomas算法,其原理是将N点DFT转换为N1×N2大小的二维DFT,然后对N1(或N2)继续递归使用PFA直到其不能分解为止。PFA算法的缺点是要求N1与N2需要互质,这样当对N分解质因数时,如果分解结果中存在质因数幂的情况,则PFA算法无法适用。Cooley-Tukey算法是经mixed-radix算法化而来的,与PFA算法相同的是Cooley-Tukey算法也是将N点DFT转换为N1×N2大小的二维DFT,然后对其进行迭代,虽然计算步骤比PFA算法多出与旋转因子(Twiddle factors)相乘的流程,但与PFA算法不同的是Cooley-Tukey算法的N1与N2不需互质,使得该算法具有很好的普适性。在使用Cooley-Tukey算法实现DFT计算时,尤其是在定点DFT计算时,从分解质因数到DFT定标补偿整个流程开发较为复杂,而且定标精度不能得到保证。In the 5G mobile communication system, in order to meet the physical layer design performance of the system, fixed-point DFT is widely used in the process of digital signal processing. For example, when processing Sounding signals, the signal length is 273, and non-2-base DFT is required for processing. The 2-base DFT can be realized directly by a very mature FFT algorithm. For non-2-radix N-point DFT, there are roughly two ways to implement it: one is to interpolate N points to obtain base-2 M points, use base-2 or base-4 to realize the FFT of M points, and then reduce Sampling to obtain non-2-base N-point DFT; the second is to decompose N into prime factorization, and iteratively calculate the DFT of each prime factor point to obtain the DFT of N points, among which Prime-factor FFT algorithm (PFA) and The Cooley-Tukey algorithm is the two most commonly used algorithms at present. Coprime factor algorithm, also known as Good-Thomas algorithm, its principle is to convert N-point DFT into a two-dimensional DFT of N1×N2 size, and then continue to recursively use PFA on N1 (or N2) until it cannot be decomposed. The disadvantage of the PFA algorithm is that N1 and N2 are required to be mutually prime, so when decomposing the prime factor of N, if there is a power of the prime factor in the decomposition result, the PFA algorithm cannot be applied. The Cooley-Tukey algorithm is derived from the mixed-radix algorithm. The same as the PFA algorithm, the Cooley-Tukey algorithm also converts the N-point DFT into a two-dimensional DFT of N1×N2 size, and then iterates it. Although the calculation steps Compared with the PFA algorithm, there are more processes of multiplying the Twiddle factors (Twiddle factors), but different from the PFA algorithm, the N1 and N2 of the Cooley-Tukey algorithm do not need to be prime, which makes the algorithm have good universality. When using the Cooley-Tukey algorithm to implement DFT calculations, especially in fixed-point DFT calculations, the development of the entire process from decomposing prime factors to DFT calibration compensation is relatively complicated, and the calibration accuracy cannot be guaranteed.

发明内容Contents of the invention

本发明的目的在于提供一种非2-基DFT优化的信号处理方法,提高信号处理的可靠度和定点计算处理的精确度,降低定点非2-基N点DFT的信号处理难度。The purpose of the present invention is to provide a non-2-radix DFT optimized signal processing method, improve the reliability of signal processing and the accuracy of fixed-point calculation processing, and reduce the signal processing difficulty of fixed-point non-2-radix N-point DFT.

本发明提供的非2-基DFT优化的信号处理方法,基于Cooley-Tukey算法,对Cooley-Tukey算法的质因数分解进行优化,根据质因数分解拆解N点DFT,在此基础上利用Cooley-Tukey算法对信号进行处理;质因数分解具体为:对于长度为N的定点非2-基信号,对N进行质因数分解,N=N1×N2×…×Ni,其中Nm都为质数,且可重复,m∈{1,2,…,i};拆解N点DFT具体为:将所有Nm按照从大到小的排列,排列好的顺序为{N′1,N′2,…,N′i},将因子集合按照N′2N′3…N′i×N′1,N′3N′4…N′i×N′2,N′4N′5…N′i×N′3,…,N′i×N′i-1分成i-1个矩阵。The non-2-base DFT optimized signal processing method provided by the present invention is based on the Cooley-Tukey algorithm, optimizes the prime factor decomposition of the Cooley-Tukey algorithm, disassembles the N-point DFT according to the prime factor decomposition, and uses the Cooley-Tukey algorithm on this basis. The Tukey algorithm processes the signal; the prime factorization is specifically: for a fixed-point non-2-basic signal of length N, perform prime factorization on N, N=N 1 ×N 2 ×…×N i , where N m is Prime number, and repeatable, m ∈ {1, 2, ..., i}; dismantling the N-point DFT is specifically: arrange all N m in descending order, and the arranged order is {N′ 1 , N′ 2 ,...,N′ i }, set the factor set according to N′ 2 N′ 3 …N′ i ×N′ 1 , N′ 3 N′ 4 …N′ i ×N′ 2 , N′ 4 N′ 5 … N' i ×N' 3 ,..., N' i ×N' i-1 is divided into i-1 matrices.

Cooley-Tukey算法对信号进行处理时需要计算DFT因子和Twiddle因子,质因数分解优化后,对DFT因子、Twiddle因子的计算进行调整,具体为,计算DFT因子:在拆解N点DFT的基础上,按照排列好的因子集合{N′1,N′2,…,N′i}生成DFT因子,并对DFT因子进行定标;计算Twiddle因子:在拆解N点DFT的基础上,按照划分的矩阵生成Twiddle因子,并对Twiddle因子进行定标。The Cooley-Tukey algorithm needs to calculate the DFT factor and the Twiddle factor when processing the signal. After the prime factor decomposition is optimized, the calculation of the DFT factor and the Twiddle factor is adjusted. Specifically, the calculation of the DFT factor is based on dismantling the N-point DFT , generate DFT factors according to the arranged factor set {N′ 1 , N′ 2 ,…, N′ i }, and calibrate the DFT factors; calculate Twiddle factors: on the basis of dismantling the N-point DFT, according to the division The matrix of generates Twiddle factors and scales the Twiddle factors.

本发明还包括计算定标补偿,定标补充用于测算实际信号功率使用,在拆解N点DFT的基础上,将因子集合{N′1,N′2,…,N′i}进行定标回退值补偿计算:B=([log2N′1]+[log2N′2]+…+[log2N′i])×r,其中B为定标补偿比特数,r是定标整数位比特数。The present invention also includes calculation of calibration compensation, calibration supplement is used to measure and calculate the actual signal power usage, on the basis of dismantling N-point DFT, the factor set {N′ 1 , N′ 2 ,…, N′ i } is calibrated Compensation calculation for the scale back value: B=([log 2 N′ 1 ]+[log 2 N′ 2 ]+…+[log 2 N′ i ])×r, where B is the number of calibration compensation bits, and r is Scale integer bit count.

本发明对信号的处理具体为:(1)对于m<i的Nm点DFT,将信号分成N′m+1N′m+2…×N′i组,每组分别与第m组DFT因子相乘加和计算作为Nm点DFT的输出;N′m+1N′m+2…×N′i组Nm点DFT的输出分别与第m组Twiddle因子相乘,得到的结果作为N′m+1N′m+2…×N′i点DFT的输入,其中,当m=1时,所述信号指原始输入的定点非2-基信号,其余情况下所述信号指Nm-1点DFT的输出与第m-1组Twiddle因子相乘的结果;(2)执行第(1)步i-1次;(3)计算N′i点DFT:将N′i-1点DFT与相应Twiddle因子相乘的结果按照由内层至外层分别迭代N′i-1,N′i-2,…N′2次计算N′i点DFT;(4)对N′i点DFT的输出进行次序重排后输出。The processing of the signal in the present invention is specifically: (1) for the N m point DFT of m<i, the signal is divided into N' m+1 N' m+2 ...×N' i groups, and each group is respectively connected with the mth group DFT The multiplication and addition of factors is calculated as the output of N m -point DFT; N′ m+1 N′ m+2 …×N′ i group of N m -point DFT outputs are multiplied by the mth group of Twiddle factors respectively, and the obtained results are obtained as N' m+1 N' m+2 ...×N' i -point DFT input, wherein, when m=1, the signal refers to the fixed-point non-2-base signal of the original input, and in other cases the signal refers to N The output of the m-1 point DFT is multiplied by the m-1th group of Twiddle factors; (2) execute (1) step i-1 times; (3) calculate the N' i point DFT: use N' i-1 The result of multiplying the point DFT with the corresponding Twiddle factor is to calculate the N′ i point DFT by iterating N′ i-1 , N′ i-2 , ... N′ 2 times from the inner layer to the outer layer respectively; (4) for N′ i The output of the point DFT is output after rearranging the order.

本发明具有以下有益效果:本发明在原有Cooley-Tukey算法的基础上,对分解质因数,拆解N点DFT,计算DFT因子,计算Twiddle因子,计算定标补偿等过程进行了优化改进。通过对算法的优化实现了分解质因数,拆解N点DFT,计算DFT因子,计算Twiddle因子,计算定标补偿等过程的自动化,使原来繁琐和复杂的推算过程变得简单,降低了非2-基DFT的信号处理的难度;同时本发明可以根据不同需要修改定标,计算并反馈定标补偿结果,保证了信号处理的精度;而且经过优化后,便于Cooley-Tukey算法迭代运算的模块化实现,提高了信号处理的可靠性,本发明对于任意非2-基DFT或IDFT都能适用。The present invention has the following beneficial effects: on the basis of the original Cooley-Tukey algorithm, the present invention optimizes and improves processes such as decomposing prime factors, dismantling N-point DFT, calculating DFT factors, calculating Twiddle factors, and calculating calibration compensation. Through the optimization of the algorithm, the process of decomposing the prime factor, dismantling the N-point DFT, calculating the DFT factor, calculating the Twiddle factor, and calculating the calibration compensation is realized, which makes the original tedious and complicated calculation process simple and reduces the non-2 -The difficulty of the signal processing of base DFT; Simultaneously the present invention can revise calibration according to different needs, calculates and feeds back calibration compensation result, has guaranteed the precision of signal processing; And after being optimized, is convenient to the modularization of Cooley-Tukey algorithm iterative operation Realization, the reliability of signal processing is improved, and the present invention is applicable to any non-2-base DFT or IDFT.

附图说明Description of drawings

图1为分解质因数、DFT因子、Twiddle因子、定标补偿计算流程示意图;Figure 1 is a schematic diagram of the calculation process of decomposed prime factor, DFT factor, Twiddle factor, and calibration compensation;

图2为273点DFT算法第一步拆分实现示意图;Figure 2 is a schematic diagram of the first step of splitting the 273-point DFT algorithm;

图3为273点DFT算法第二步拆分实现示意图;Figure 3 is a schematic diagram of the second step splitting of the 273-point DFT algorithm;

图4为273点DFT算法数据处理映射关系示意图;Fig. 4 is a schematic diagram of 273-point DFT algorithm data processing mapping relationship;

图5为本发明流程图。Fig. 5 is a flowchart of the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚、明白,下面结合附图和技术方案对本发明作进一步详细的说明。In order to make the purpose, technical solution and advantages of the present invention more clear and understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and technical solutions.

本发明是在Cooley Tukey算法的基础上的进一步改进,有利于模块化实现。如图5所示,包括分解质因数与定标、执行DFT拆分计算与序列重排。The invention is a further improvement on the basis of the Cooley Tukey algorithm, which is beneficial to modular realization. As shown in Figure 5, it includes decomposing prime factors and scaling, performing DFT split calculation and sequence rearrangement.

如图1所示,在分解质因数与定标过程中,对将要进行DFT计算的非2-基时域序列做分解质因数,拆解N点DFT,计算DFT因子,计算Twiddle因子,计算定标补偿。经过优化后的这些处理流程都可以通过软件进行实现。这些处理流程只需将非2-基时域序列长度N作为输入,输出为DFT因子、Twiddle因子、质数因子(包含重复的因子)以及定标补偿。其中,计算DFT因子与计算Twiddle因子没有先后顺序要求。DFT因子、Twiddle因子供本发明计算时使用,质数因子决定了非2-基时域序列拆分结构,定标补偿在计算实际信号功率时使用。As shown in Figure 1, in the process of decomposing the prime factor and scaling, decompose the prime factor of the non-2-base time domain sequence to be calculated by DFT, disassemble the N-point DFT, calculate the DFT factor, calculate the Twiddle factor, and calculate the constant standard compensation. These optimized processing procedures can be realized by software. These processing flows only need to take the non-2-base time-domain sequence length N as input, and output DFT factors, Twiddle factors, prime factors (including repeated factors), and scaling compensation. Among them, there is no order requirement for calculating the DFT factor and calculating the Twiddle factor. The DFT factor and the Twiddle factor are used in the calculation of the present invention, the prime factor determines the split structure of the non-2-base time domain sequence, and the calibration compensation is used in the calculation of the actual signal power.

分解质因数:对DFT序列长度N进行质因数分解,记录所有的因子以便拆解N点DFT流程使用,因子的个数记为i,因子的个数决定了N点DFT需要迭代计算的次数;N=N1×N2×…×Ni,其中Nm都为质数,且可以重复,m∈{1,2,…,i}。Decompose the prime factor: Decompose the prime factor of the length N of the DFT sequence, and record all the factors for dismantling the N-point DFT process. The number of factors is recorded as i, and the number of factors determines the number of iterative calculations required for the N-point DFT; N=N 1 ×N 2 ×...×N i , where N m are all prime numbers and can be repeated, m∈{1,2,...,i}.

拆解N点DFT:建立在分解质因数的基础上,将所有的因子Nm按照从大到小的排列,排列好的顺序为{N′1,N′2,…,N′i},将因子集合按照N′2N′3…N′i×N′1,N′3N′4…N′i×N′2,N′4N′5…N′i×N′3,…,N′i×N′i-1分成i-1个矩阵,以便计算Twiddle因子、DFT计算和与Twiddle因子相乘流程使用。Disassemble N-point DFT: Based on the decomposition of prime factors, arrange all factors N m from large to small, and the arranged order is {N′ 1 , N′ 2 ,…, N′ i }, Set the factor set according to N′ 2 N′ 3 …N′ i ×N′ 1 , N′ 3 N′ 4 …N′ i ×N′ 2 , N′ 4 N′ 5 …N′ i ×N′ 3 ,… , N′ i ×N′ i-1 is divided into i-1 matrices for the calculation of Twiddle factors, DFT calculation and multiplication with Twiddle factors.

计算DFT因子:建立在拆解N点DFT的基础上,按照排列好的因子集合生成DFT因子,并对DFT因子进行定标。对于i个因子,计算DFT因子时,循环i次。Calculation of DFT factors: Based on the dismantling of N-point DFT, DFT factors are generated according to the set of arranged factors, and the DFT factors are calibrated. For i factors, when calculating DFT factors, loop i times.

计算Twiddle因子:建立在拆解N点DFT的基础上,按照划分的矩阵生成Twiddle因子,并对Twiddle因子进行定标。对于i个因子,计算Twiddle因子时,循环i-1次。Calculation of Twiddle factors: Based on the dismantling of N-point DFT, Twiddle factors are generated according to the divided matrix, and the Twiddle factors are calibrated. For i factors, when calculating Twiddle factors, loop i-1 times.

计算定标补偿:建立在拆解N点DFT的基础上,将拆解排列完成得到的因子集合{N′1,N′2,…,N′i}进行定标回退值补偿计算:Calculation of calibration compensation: based on the dismantling of N-point DFT, the factor set {N′ 1 , N′ 2 ,…, N′ i } obtained after dismantling and permutation is calculated for calibration fallback value compensation:

Figure BDA0002325221100000041
Figure BDA0002325221100000041

其中B为定标补偿比特数,r为整数定标比特数,对于DFT定标值Q(a,b),r=a-b,其中a为浮点数的定标比特数,b该定标数的小数比特位。通过该公式计算可得出N点DFT的定标补偿B。Wherein B is the number of calibration compensation bits, and r is the number of integer calibration bits. For the DFT calibration value Q(a, b), r=a-b, wherein a is the calibration bit number of the floating point number, and b is the calibration number of the calibration number. decimal places. The calibration compensation B of the N-point DFT can be obtained through the calculation of this formula.

结合图2、3、4、5,以5G系统中全带宽273PRB的DFT为例,对执行DFT拆分计算与序列重排进行详细说明。273做分解质因数后得到13×7×3(已经按照从大到小排序,设N1=13,N2=7,N3=3),所以273点DFT就拆分成三步完成:第一步计算13点DFT并与第一组Twiddle因子相乘;第二步计算7点DFT并与第二组Twiddle因子相乘;第三步计算3点DFT;第四步顺序重排输出结果。Combined with Figures 2, 3, 4, and 5, taking the DFT with a full bandwidth of 273 PRB in the 5G system as an example, the implementation of DFT split calculation and sequence rearrangement will be described in detail. After decomposing the prime factor of 273, we get 13×7×3 (it has been sorted from large to small, set N 1 =13, N 2 =7, N 3 =3), so the 273-point DFT is divided into three steps to complete: The first step is to calculate the 13-point DFT and multiply it with the first set of Twiddle factors; the second step is to calculate the 7-point DFT and multiply it with the second set of Twiddle factors; the third step is to calculate the 3-point DFT; the fourth step is to rearrange the output results .

第一步如图2所示,第一步由21个13点DFT组成,输入的时域序列按照模21进行分组,分成21组,作为13点DFT的输入,在每组13点DFT中将输入该组的信号与第一组DFT因子(m=1)进行相乘加和计算,计算结果作为该组13点DFT的输出。每组13点DFT的输出与第一组21×13的Twiddle因子(m=1)相乘作为下一步21点DFT的输入,并且需要满足第一步第k组的输出作为第二步每组第k个输入的条件进行排序,例如,图2中,第一组13点DFT(图2中的最上方为第一组)的输出与第一组21×13的Twiddle因子相乘作为每组21点DFT的第1个输入,第二组13点DFT的输出第一组21×13的Twiddle因子相乘作为每组21点DFT的第2个输入,以此类推,第21组13点DFT的输出与第一组21×13的Twiddle因子相乘作为每组21点DFT的输入。第一步拆解将273点DFT的整体架构建立起来,形成了13×21的拆解结构,即将273点的DFT计算转化为13次21点DFT的递归运算。The first step is shown in Figure 2. The first step is composed of 21 13-point DFTs. The input time domain sequences are grouped according to modulo 21 and divided into 21 groups, which are used as the input of 13-point DFT. In each group of 13-point DFT, the The input signal of this group is multiplied and added to the first group of DFT factors (m=1), and the calculation result is used as the output of the group of 13-point DFT. The output of each group of 13-point DFT is multiplied by the first group of 21×13 Twiddle factors (m=1) as the input of the next 21-point DFT, and it needs to satisfy the output of the kth group in the first step as the second step for each group The conditions of the kth input are sorted. For example, in Figure 2, the output of the first group of 13-point DFT (the top in Figure 2 is the first group) is multiplied by the first group of 21×13 Twiddle factors as each group The first input of 21-point DFT, the output of the second group of 13-point DFT is multiplied by the first group of 21×13 Twiddle factors as the second input of each group of 21-point DFT, and so on, the 21st group of 13-point DFT The output of is multiplied by the first group of 21×13 Twiddle factors as the input of each group of 21-point DFT. The first step of dismantling is to establish the overall structure of the 273-point DFT, forming a 13×21 dismantling structure, that is, converting the 273-point DFT calculation into 13 recursive operations of the 21-point DFT.

第二步如图3所示,与第一步类似,第二步是将每个迭代单元21点DFT进行拆解(一共13组21点DFT),拆解成7×3的结构。将第一步的输出信号按照模3进行分组,分成3组,图3中的输入y(0)至y(20)为图2中的第一步提到的每组21点DFT的输入,y(0)至y(20)被分成了三组,作为每组7点DFT的输入。每组7点DFT的输出与第二组3×7的Twiddle因子(m=2)相乘作为第三步3点DFT的输入,并且需要满足第一步第g组的输出作为第二步每组第g个输入的条件进行排序,例如,图3中,第一组7点DFT(图3中最上方为第一组)的输出与第二组21×13的Twiddle因子相乘作为每组3点DFT的第1个输入,第二组7点DFT的输出第二组21×13的Twiddle因子相乘作为每组7点DFT的第2个输入,第三组7点DFT的输出与第二组21×13的Twiddle因子相乘作为每组7点DFT的输入。第二步过程将21点DFT计算转化为7次3点DFT的递归运算。The second step is shown in Figure 3. Similar to the first step, the second step is to disassemble the 21-point DFT of each iteration unit (a total of 13 groups of 21-point DFT), and disassemble it into a 7×3 structure. The output signals of the first step are grouped according to modulus 3 and divided into 3 groups. The inputs y(0) to y(20) in Figure 3 are the inputs of each group of 21-point DFT mentioned in the first step in Figure 2, y(0) to y(20) are divided into three groups as the input of each group of 7-point DFT. The output of each group of 7-point DFT is multiplied by the second group of 3×7 Twiddle factors (m=2) as the input of the third step 3-point DFT, and the output of the first group g needs to be satisfied as the second step. The conditions of the gth input of the group are sorted, for example, in Figure 3, the output of the first group of 7-point DFT (the top in Figure 3 is the first group) is multiplied by the second group of 21×13 Twiddle factors as each group The first input of the 3-point DFT, the output of the second group of 7-point DFT is multiplied by the second group of 21×13 Twiddle factors as the second input of each group of 7-point DFT, the output of the third group of 7-point DFT and the output of the first group of 7-point DFT Two groups of 21×13 Twiddle factors are multiplied as the input of each group of 7-point DFT. The second step process converts the blackjack DFT calculation into seven recursive operations of the 3-point DFT.

第三步将第二步的输出结果按照外层13次,内层7次迭代计算3点DFT得出整个273点DFT的结果。In the third step, the output result of the second step is calculated according to 13 times of the outer layer and 7 iterations of the inner layer to calculate the 3-point DFT to obtain the result of the entire 273-point DFT.

第四步顺序重排,第三步计算得到的结果并不能作为最终的输出,由于进行了两次DFT拆分,导致第三步的输出的次序与第一步输入相比被打乱,需要结合两次拆分进行两次重排,实现次序调整,按照质因数分解时排列好的因子集合调整i次迭代后输出的序列的次序,从图2可以看到21点DFT的输出次序是乱的,没有从X(0)至X(272)顺序排序,从图3可以看到3点DFT的输出次序也是乱的,没有从Y(0)至Y(20)顺序排序。如图4所示,调整完之后的输出从X(0)至X(272)顺序排序,与x(0)至x(272)的输入顺序相对应,才能作为273点DFT的最后输出。The order of the fourth step is rearranged. The result of the calculation in the third step cannot be used as the final output. Due to the two DFT splits, the order of the output of the third step is disrupted compared with the input of the first step. Need Combining the two splits, perform two rearrangements to achieve order adjustment, and adjust the order of the output sequence after i iterations according to the set of factors arranged during the prime factorization. From Figure 2, we can see that the output order of the 21-point DFT is disordered Yes, there is no sequential order from X(0) to X(272). From Figure 3, it can be seen that the output order of the 3-point DFT is also disordered, and there is no sequential order from Y(0) to Y(20). As shown in Figure 4, the output after adjustment is sorted from X(0) to X(272), which corresponds to the input order of x(0) to x(272), and can be used as the final output of the 273-point DFT.

从实施例可以看出,对Cooley-Tukey算法的优化,整个流程变得清晰明了从工程实现方面由于对分解质因数,拆解N点DFT,计算DFT因子,计算Twiddle因子,计算定标补偿等流程实现了自动化的处理,大大简化了算法实现的难度;同时因为采用计算机实现了部分算法流程的自动化,整体算法实现的稳定性和可靠性得到提高;该发明具有普适性,对于任意非2-基DFT或IDFT都能适用。It can be seen from the examples that the optimization of the Cooley-Tukey algorithm makes the entire process clear and clear. From the aspect of engineering implementation, due to the decomposition of prime factors, dismantling of N-point DFT, calculation of DFT factors, calculation of Twiddle factors, calculation of calibration compensation, etc. The process realizes automatic processing, which greatly simplifies the difficulty of algorithm implementation; at the same time, because the computer realizes the automation of part of the algorithm process, the stability and reliability of the overall algorithm implementation are improved; the invention is universal, and can be used for any non-2 - Either base DFT or IDFT can be applied.

以上内容是结合具体的实例对本发明所作的进一步详细说明,不能认定本发明的具体实施方式仅限于此,对于本发明所属技术领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干简单的推演或替换,都应当视为属于本发明由所提交的权利要求书确定专利保护范围。对所公开的实施例的上述说明,使本领域专业技术人员能够实现或使用本申请。对这些实施例的多种修改对本领域的专业技术人员来说将是显而易见的,本文中所定义的一般原理可以在不脱离本申请的精神或范围的情况下,在其它实施例中实现。因此,本申请将不会被限制于本文所示的这些实施例,而是要符合与本文所公开的原理和新颖特点相一致的最宽的范围。The above content is a further detailed description of the present invention in conjunction with specific examples. It cannot be determined that the specific implementation of the present invention is limited thereto. For those of ordinary skill in the technical field of the present invention, without departing from the inventive concept, Several simple inferences or substitutions can also be made, all of which should be considered as belonging to the scope of patent protection determined by the submitted claims of the present invention. The above description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the application. Therefore, the present application will not be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (4)

1. A non-2-base DFT optimized signal processing method is based on Cooley-Tukey algorithm, and is characterized in that: optimizing the prime factor decomposition of the Cooley-Tukey algorithm, disassembling the N-point DFT according to the prime factor decomposition, and processing the signal by using the Cooley-Tukey algorithm on the basis; the quality factor decomposition specifically comprises the following steps: for fixed-point non-2-basis signals of length N, N is prime factorized with N = N 1 ×N 2 ×…×N i In which N is m Are prime numbers and can be repeated, and m belongs to {1,2, \ 8230;, i }; the N-point DFT disassembly specifically comprises the following steps: all N are m In descending order, the sequence is { N' 1 ,N′ 2 ,…,N i '} combining the factors by N' 2 N′ 3 …N i ′×N 1 ′,N′ 3 N′ 4 …N i ′×N′ 2 ,N′ 4 N′ 5 …N i ′×N′ 3 ,…,N i ′×N′ i-1 Divided into i-1 matrices.
2. The non-2-based DFT optimized signal processing method as recited in claim 1, wherein: calculating a DFT factor: based on the N-point DFT, according to the arranged factor set { N } 1 ′,N′ 2 ,…,N i ' } generating DFT factors and scaling the DFT factors; computing Twiddle factor: and on the basis of disassembling the N-point DFT, generating a Twdle factor according to the divided matrix, and calibrating the Twdle factor.
3. The non-2-based DFT optimized signal processing method as recited in claim 2, wherein: further comprising calculating a scaling compensation, combining the factors to { N' 1 ,N′ 2 ,…,N i ' } carrying out calibration backspacing value compensation calculation:
Figure FDA0002325221090000011
where B is the number of scaled compensation bits and r is the number of scaled integer bits.
4. The non-2-based DFT optimized signal processing method as recited in claim 1,2 or 3, further comprising: the signal processing specifically comprises: (1) For N of m < i m Point DFT, divide the signal into N' m+1 N′ m+2 …×N i ' groups, each group being respectively multiplied and added with the m-th group DFT factors as N m Outputting a point DFT; n' m+1 N′ m+2 …×N i ' group N m The outputs of the point DFTs are multiplied by the m-th group Twdle factors, and the result is N' m+1 N′ m+2 …×N i ' Point DFT input, wherein when m =1, the signal refers to the fixed-point non-2-base signal of the original input, and the rest of the signal refers to N m-1 The result of multiplying the output of the point DFT by the (m-1) th set of Twdle factors; (2) performing step i-1 of step (1); (3) Calculating N i ' Point DFT: is N' i-1 The result of multiplying the point DFT by the corresponding Twdle factor is iterated by N 'from inner layer to outer layer respectively' i-1 ,N′ i-2 ,…N′ 2 Sub-calculation of N i ' Point DFT; (4) To N i The output of the' point DFT is output after being rearranged in order.
CN201911313648.3A 2019-12-19 2019-12-19 Non-2-base DFT optimized signal processing method Active CN111079075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911313648.3A CN111079075B (en) 2019-12-19 2019-12-19 Non-2-base DFT optimized signal processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911313648.3A CN111079075B (en) 2019-12-19 2019-12-19 Non-2-base DFT optimized signal processing method

Publications (2)

Publication Number Publication Date
CN111079075A CN111079075A (en) 2020-04-28
CN111079075B true CN111079075B (en) 2023-03-14

Family

ID=70316079

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911313648.3A Active CN111079075B (en) 2019-12-19 2019-12-19 Non-2-base DFT optimized signal processing method

Country Status (1)

Country Link
CN (1) CN111079075B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114422315B (en) * 2022-03-29 2022-07-29 中山大学 Ultra-high throughput IFFT/FFT modulation and demodulation method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101933012A (en) * 2008-01-31 2010-12-29 高通股份有限公司 The device that is used for the DFT calculation
CN102073620A (en) * 2009-11-20 2011-05-25 扬智电子(上海)有限公司 Fast Fourier converter, reverse fast Fourier converter and reverse fast method thereof
CN103020015A (en) * 2012-11-30 2013-04-03 桂林卡尔曼通信技术有限公司 Realization method for fast computation of discrete Fourier transform with non-second power points

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101933012A (en) * 2008-01-31 2010-12-29 高通股份有限公司 The device that is used for the DFT calculation
CN102073620A (en) * 2009-11-20 2011-05-25 扬智电子(上海)有限公司 Fast Fourier converter, reverse fast Fourier converter and reverse fast method thereof
CN103020015A (en) * 2012-11-30 2013-04-03 桂林卡尔曼通信技术有限公司 Realization method for fast computation of discrete Fourier transform with non-second power points

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
面向LTE的超低复杂度FFT处理单元设计;费超;《试验科学与技术》;20161231;全文 *

Also Published As

Publication number Publication date
CN111079075A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
Higham et al. A new approach to probabilistic rounding error analysis
Lee et al. A hardware Gaussian noise generator using the Box-Muller method and its error analysis
Awaludin et al. High-speed and unified ECC processor for generic Weierstrass curves over GF (p) on FPGA
Greengard et al. A new version of the fast Gauss transform
Ge et al. An efficient FPGA implementation of orthogonal matching pursuit with square-root-free QR decomposition
US20240152331A1 (en) Residue number system in a photonic matrix accelerator
CN111079075B (en) Non-2-base DFT optimized signal processing method
Hirner et al. Proteus: A pipelined NTT architecture generator
Allouche et al. More infinite products: Thue–Morse and the gamma function
Puschel Cooley-Tukey FFT like algorithms for the DCT
Dumas On newton–raphson iteration for multiplicative inverses modulo prime powers
Nash Distributed-memory-based FFT architecture and FPGA implementations
CN103049716B (en) First moment-based convolver
Zheng et al. A Fast Algorithm Based on SRFFT for Length $ N= q\times 2^{m} $ DFTs
Jones The regularized fast Hartley transform
Daher et al. Fast algorithm for optimal design of Fermat number transform based block digital filters
Prots’ ko et al. Block-Cyclic Structuring of the Basis of Fourier Transforms Based on Cyclic Substitution
Alimohammad et al. A unified architecture for the accurate and high-throughput implementation of six key elementary functions
Aravind Kumar et al. An efficient pipelined architecture for real-valued fast Fourier transform
Neelima High Performance Variable Precision Multiplier and Accumulator Unit for Digital Filter Applications
TWI472932B (en) Digital signal processing apparatus and processing method thereof
Locharla et al. Radix-8 modified booth fixed-width signed multipliers with error compensation
Das et al. Area–time–energy efficient architecture of CBNS‐based fast Fourier transform
Wang et al. Complex function approximation using two-dimensional interpolation
US20240411833A1 (en) Architecture for number theoretic transform and inverse number theoretic transform

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: No. 9 Mozhou East Road, Nanjing City, Jiangsu Province, 211111

Patentee after: Zijinshan Laboratory

Country or region after: China

Address before: No. 9 Mozhou East Road, Jiangning Economic Development Zone, Jiangning District, Nanjing City, Jiangsu Province

Patentee before: Purple Mountain Laboratories

Country or region before: China