A FFT Processor for Satellite Signal Capture
By using mixed-radix FFT and three-dimensional 2FFT operations in the FFT processor, optimizing the rotation factor generation and butterfly operation, the complexity and resource consumption problems of the existing FFT processor in satellite signal acquisition are solved, and efficient satellite operation is achieved. Signal capture.
Patent Information
- Application Number
- CN202110161047.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-02-05
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2041-02-05
AI Technical Summary
Existing FFT processors have problems such as complex rotation factor generation, poor real-time computing performance, complex butterfly network structure and address translation control, poor module portability, and high hardware resource consumption in satellite signal acquisition, making it difficult to achieve fast and efficient performance. Pseudocode capture.
An FFT processor for satellite signal acquisition is designed, which adopts mixed-radix FFT operation and three-dimensional 2FFT operation. The rotation factor is generated by the rotation factor generation module, the complex multiplication module is used for complex multiplication operation, and the butterfly operation module is decomposed The 64-point FFT is a two-stage radix-8 butterfly operation that optimizes algorithm complexity and hardware resource usage.
The design structure is simplified, hardware resources are saved, the processor operation rate is increased, module portability is improved, and efficient hardware implementation of fast Fourier transform is achieved.
Smart Images

Figure CN112835073B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital signal processing, and in particular to an FFT processor for satellite signal capture. Background Art
[0002] In order to achieve signal capture in satellites of Global Navigation Satellite Systems (GNSS), such as China's BeiDou, the United States' GPS, Russia's GLONASS and the European Union's GALILEO, the following four pseudo-code capture algorithms are generally used: sliding correlation capture algorithm, matched filter capture algorithm, parallel frequency capture algorithm and parallel code phase capture algorithm. Among them, the sliding correlation capture algorithm takes the longest time to capture, and it is difficult to achieve rapid capture of pseudo-codes when the spread spectrum code is long; although the matched filter algorithm has a short capture time, it is complex to implement and is only suitable for capturing shorter pseudo-codes; the parallel frequency capture algorithm and the parallel code phase capture algorithm both utilize fast Fourier transformation (FFT) and have a short capture time, but the commonly used FFT processors currently have the following problems: the generation of rotation factors is complex and the real-time computing performance is poor; the butterfly network structure and address conversion control are complex, the module portability is poor, and the hardware implementation is difficult; the number of butterfly units cascaded is large, there are many multipliers and memories, and the memory access is frequent, resulting in large consumption of hardware resources. Therefore, it is necessary to improve the FFT processor. Summary of the invention
[0003] To solve at least one of the problems in the above background technology, an embodiment of the present application aims to provide an FFT processor for satellite signal acquisition.
[0004] The embodiment of the present application provides an FFT processor for satellite signal acquisition, including:
[0005] A serial-to-parallel conversion module, used for caching input data and outputting the input data in groups;
[0006] A rotation factor generation module, used to generate the rotation factors required for mixed-base FFT operation;
[0007] A first FFT module, used to perform an FFT operation according to the corresponding rotation factor and the data output by the serial-to-parallel conversion module, and output a calculation result;
[0008] A first complex multiplication module, used to perform a complex multiplication operation on the data output by the serial-to-parallel conversion module and the corresponding rotation factor, and output a calculation result;
[0009] A second FFT module, used to perform an FFT operation according to the corresponding rotation factor and the calculation result output by the first complex multiplication module, and output the calculation result;
[0010] A parallel-to-serial conversion module, used for sequentially converting the calculation results output by the first FFT module and the second FFT module to achieve serial output;
[0011] The FFT control module is used to control the operation of the serial-to-parallel conversion module, the rotation factor generation module and the parallel-to-serial conversion module.
[0012] In the FFT processor for satellite signal capture, the input data is 64-point input data, and the serial-to-parallel conversion module divides the input data into 8 groups of data;
[0013] The rotation factors include a first rotation factor and a second rotation factor required for a 128-point mixed-base FFT operation;
[0014] The first complex multiplication module is used to perform a complex multiplication operation on the data output by the serial-to-parallel conversion module and the second rotation factor;
[0015] The first FFT module and the second FFT module are both 64-point FFT modules. The first FFT module is used to perform a 64-point FFT operation based on the first rotation factor and the data output by the serial-to-parallel conversion module, and the second FFT module is used to perform a 64-point FFT operation based on the first rotation factor and the calculation result output by the first complex multiplication module.
[0016] In the FFT processor for satellite signal capture, the first FFT module and the second FFT module both include:
[0017] A butterfly operation module is used to decompose a 64-point radix-8 FFT operation into two-stage radix-8 butterfly operations to implement a 64-point radix-8 FFT operation;
[0018] A second complex multiplication module, used for performing a complex multiplication operation on the first-stage radix-8 butterfly operation result and the first rotation factor;
[0019] The storage conversion module is used to cache and address the operation result of the second complex multiplication module and then divide it into 8 groups of data to input into the butterfly operation module for the second-level radix-8 butterfly operation.
[0020] In the FFT processor for satellite signal capture, when the serial-to-parallel conversion module groups the input data, it extracts 8 numbers from the input data at intervals of 8 numbers to form a group of data.
[0021] In the FFT processor for satellite signal acquisition, the rotation factor generation module generates the rotation factor in the following manner:
[0022] According to the phase mapping coefficient of the rotation factor, the cosine function quantization coefficient corresponding to the approximate value of the real part and the sine function quantization coefficient corresponding to the approximate value of the imaginary part of the rotation factor are obtained by searching in a preset lookup table.
[0023] In the FFT processor for satellite signal capture, the butterfly operation module uses three-dimensional radix-2 FFT operation to implement radix-8 butterfly operation.
[0024] In the FFT processor for satellite signal acquisition, the first complex multiplication module and the second complex multiplication module use the following formula to perform complex multiplication operation:
[0025] (a+jb)(c+jb)=c(a+b)-b(c+d)+j[(a+b)ca(cd)]
[0026] Among them, a and c are the real parts of two complex numbers, and b and d are the imaginary parts of two complex numbers.
[0027] Beneficial effects:
[0028] An FFT processor for satellite signal capture provided in an embodiment of the present application has the following advantages compared with the prior art: simple design structure, saving radix-2 operation modules to reduce algorithm complexity, saving hardware resources, improving processor operation speed, and good module portability. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A schematic diagram of the structure of an FFT processor for satellite signal acquisition provided in an embodiment of the present application.
[0030] Figure 2 Schematic diagram of the symmetric relationship of the trigonometric functions of the rotation factors.
[0031] Figure 3 Schematic diagram of a radix-8 butterfly operation unit.
[0032] Figure 4 is a structural diagram of an exemplary complex multiplier. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0034] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.
[0035] See also Figure 1 , an embodiment of the present application provides an FFT processor for satellite signal acquisition, comprising:
[0036] The serial-to-parallel conversion module 1 is used to cache the input data and output the input data in groups;
[0037] The rotation factor generating module 2 is used to generate the rotation factors required for the mixed basis FFT operation;
[0038] The first FFT module 3 is used to perform FFT operation according to the corresponding rotation factor and the data output by the serial-to-parallel conversion module 1, and output the calculation result;
[0039] A first complex multiplication module 4 is used to perform a complex multiplication operation on the data output by the serial-to-parallel conversion module 1 and the corresponding rotation factor, and output a calculation result;
[0040] A second FFT module 5 is used to perform an FFT operation according to the calculation result output by the first complex multiplication module 4 of the corresponding rotation factor and output the calculation result;
[0041] A parallel-to-serial conversion module 6 is used to sequentially convert the calculation results output by the first FFT module 3 and the second FFT module 5 to achieve serial output;
[0042] The FFT control module 7 is used to control the operation of the serial-to-parallel conversion module 1, the rotation factor generation module 2 and the parallel-to-serial conversion module 6.
[0043] The N-point discrete Fourier transform and rotation factor expressions are as follows:
[0044] (1)
[0045] (2)
[0046] Among them, x(n) is the nth input data, X(k) is the kth calculation result data after conversion, is the rotation factor.
[0047] The discrete Fourier transform of the 128-point time domain sequence x(n) is defined as:
[0048] (3)
[0049] In the traditional 128-point FFT calculation method, the sequence number n of the 128-point time domain input sequence x(n) and the sequence number k of the frequency domain output sequence X(k) to be calculated are first decomposed into 8×8×2 mixed basis numerical expressions:
[0050]
[0051] Therefore, equation (3) can be rewritten as:
[0052] (4)
[0053] Then, formula (4) can be simplified as:
[0054]
[0055] Furthermore, in the traditional 128-point FFT calculation method, a 64-point FFT calculation is generally performed first, and then multiplied by the rotation factor Then perform a 2-point FFT operation.
[0056] In fact, since the rotation factor is periodic and reducible, the periodicity and reducibility of the rotation factor can be used to transform equation (1) into:
[0057] (5)
[0058] in, According to the parity of the frequency domain output sequence X(k) number k, the above formula can be decomposed into
[0059] (6)
[0060] (7).
[0061] When N=128, equations (6) and (7) can be converted to:
[0062] (8)
[0063] (9)
[0064] Therefore, if the 128-point FFT operation is performed using equations (8) and (9), a 64-point time domain input sequence x(n) can be taken and zero-filled at the end to form 64 points x(n+64) to form 128 points for FFT operation, which can save 64 addition and subtraction operations, thereby reducing the complexity of the algorithm. This method of inputting the time domain sequence x(n) and filling zeros at the end will cause the following effects: first, for other irregular points, zero filling can be used to adjust the data points to an integer power of 2, so as to facilitate the use of FFT; second, it plays the role of interpolation for the original data, overcomes the "fence" effect, and makes the spectrum look smooth. Therefore, zero filling will not affect the final result, and based on the optimized 128-point FFT processor, hardware resources can also be saved. In this application, this method of performing 128-point FFT operation using equations (8) and (9) is called a mixed-base FFT operation method.
[0065] A 128-point FFT processor is taken as an example for further explanation below. The FFT processor can implement the above-mentioned 128-point mixed-radix FFT operation function.
[0066] In some embodiments, see Figure 1 , the FFT processor used for satellite signal capture is a 128-point FFT processor; the input data is 64-point input data, and the serial-to-parallel conversion module 1 divides the input data into 8 groups of data;
[0067] The rotation factors include the first rotation factor required for the 128-point mixed-radix FFT operation and the second rotation factor ;
[0068] The first complex multiplication module 4 is used to use the data output by the serial-to-parallel conversion module 1 and the second rotation factor Perform complex number multiplication operations;
[0069] The first FFT module 3 and the second FFT module 5 are both 64-point FFT modules. The first FFT module 3 is used to calculate the first rotation factor. The data output by the serial-to-parallel conversion module 1 is subjected to a 64-point FFT operation. The second FFT module 5 is used to perform a 64-point FFT operation on the data output by the serial-to-parallel conversion module 1. A 64-point FFT operation is performed on the calculation result output by the first complex multiplication module 4.
[0070] In this example, the 64-point FFT operations performed by the first FFT module 3 and the second FFT module 5 are both 64-point radix-8 FFT operations.
[0071] Specifically, the first FFT module 3 and the second FFT module 5 both include:
[0072] A butterfly operation module 9 is used to decompose the 64-point radix 8 FFT operation into two-stage radix 8 butterfly operations to implement the 64-point radix 8 FFT operation;
[0073] A second complex multiplication module 8, used for performing a complex multiplication operation on the first-stage radix-8 butterfly operation result and the first rotation factor;
[0074] The storage conversion module 10 is used to cache and address the operation result of the second complex multiplication module and then divide it into 8 groups of data (obtaining an 8*8 array) to input into the butterfly operation module for the second level radix-8 butterfly operation.
[0075] Therefore, the first FFT module 3 actually completes the calculation of equation (8), and the second FFT module 5 completes the calculation of equation (9).
[0076] Among them, when the serial-to-parallel conversion module 1 groups the input data (divided into 8 groups), 8 numbers are extracted from the input data at intervals of 8 numbers to form a group of data. Specifically, the 1st, 9th, 17th, 25th, 33rd, 41st, 49th, and 57th data of the 64 input data are extracted to form the first group of data, the 2nd, 10th, 18th, 26th, 34th, 42nd, 50th, and 58th data of the 64 input data are extracted to form the second group of data, and the 3rd, 11th, 19th, 27th, 35th, 43rd, 51st, and 59th data of the 64 input data are extracted to form the third group of data, and so on, until 8 groups of data are obtained. In order to enter the 64-point FFT module for parallel processing to improve the processing speed.
[0077] In some preferred embodiments, the rotation factor generation module 2 generates the rotation factor in the following manner:
[0078] According to the phase mapping coefficient of the rotation factor, the cosine function quantization coefficient corresponding to the approximate value of the real part and the sine function quantization coefficient corresponding to the approximate value of the imaginary part of the rotation factor are obtained by searching in a preset lookup table.
[0079] According to the symmetry of trigonometric functions, a lookup table of rotation factors can be formed in advance, reducing the rotation factors actually required to be calculated to 16 reusable groups. The rotation factors are read through the address controller in the FFT butterfly operation, thereby saving the rotation factor calculation and storage space.
[0080] like Figure 2In the figure, we can see the symmetric relationship between the trigonometric functions of the rotation factors. A period of the trigonometric function is evenly divided into 32 intervals. The trigonometric function values of each interval have symmetry and correlation. The value of an interval can be expressed as a function of the interval value. In the FFT operation with a fixed algorithm, the rotation factor is a fixed known constant, and the shift-and-add algorithm is generally used instead of the multiplier to complete the multiplication of the rotation factors in order to reduce power consumption. According to the shift-and-add algorithm, any decimal can be approximated by superposition of negative powers of 2.
[0081] In this example, Figure 2 The half cycle [0:π] of the trigonometric function is equally divided into 16 intervals, and the phase mapping coefficient is set according to the interval, so that the preset lookup table includes the following sine and cosine function quantization coefficient lookup table, which includes 16 phase mapping coefficients (0-15) and the corresponding sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp);
[0082]
[0083] The preset lookup table corresponds to the following approximate value mapping table, which includes the real part approximation (i.e., the approximation of cos(2nkπ / 64)) and the imaginary part approximation (i.e., the approximation of sin(2nkπ / 64)) of various combinations of cosine function quantization coefficients and sine function quantization coefficients, where the cosine function quantization coefficient is 8 times the real part approximation, and the sine function quantization coefficient is 8 times the imaginary part approximation;
[0084]
[0085] When generating the rotation factor, the rotation factor generation module 2 first calculates the phase mapping coefficient, and then searches the sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) in the sine and cosine function quantization coefficient lookup table according to the phase mapping coefficient of the rotation factor. Then the sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are input to the complex multiplication module to realize the multiplication of the corresponding real part approximation and imaginary part approximation in the approximation mapping table, that is, the sine and cosine function quantization coefficient is 8 times the corresponding real and imaginary part approximation.
[0086] The specific process is as follows:
[0087] Among them, the first rotation factor ,
[0088] When 2nkπ / 64∈[0:π]:
[0089] 0~π is divided into 16 equal parts, that is, π / 16, and the corresponding phase mapping coefficient is (2nkπ / 64)÷(π / 16)=nk / 2. After rounding, the final phase mapping coefficient nk / 2∈[1:16] is obtained;
[0090] According to the calculated final phase mapping coefficient, the corresponding sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are queried in the sine and cosine function quantization coefficient lookup table. Then the sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are input to the complex multiplication module to realize the multiplication of the corresponding real part approximation and imaginary part approximation in the approximation mapping table.
[0091] When 2nkπ / 64∈[π:2π], the signs of the sine and cosine functions are reversed according to symmetry:
[0092] 0~π is divided into 16 equal parts, that is, π / 16, and the corresponding phase mapping coefficient is (2nkπ / 64)÷(π / 16)=nk / 2. The phase mapping coefficient nk / 2∈[16:32] is rounded off, and then 16 is subtracted to get the final phase mapping coefficient nk / 2-16∈[1:16];
[0093] According to the calculated final phase mapping coefficient, the corresponding sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are queried in the sine and cosine function quantization coefficient lookup table, and the signs of the sine and cosine function quantization coefficients are inverted. Then, the sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are input into the complex multiplication module to realize the complex multiplication of the corresponding real part approximation and imaginary part approximation in the approximation mapping table.
[0094] Similarly, the second rotation factor ,
[0095] When 2nπ / 128∈[0:π]:
[0096] 0~π is divided into 16 equal parts, that is, π / 16, and the corresponding phase mapping coefficient is (2nπ / 128)÷(π / 16)=n / 4. After rounding off, the final phase mapping coefficient n / 4∈[1:16] is obtained;
[0097] According to the calculated final phase mapping coefficient, the corresponding sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are queried in the sine and cosine function quantization coefficient lookup table, and then the sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are input into the complex multiplication module to realize the complex multiplication of the corresponding real part approximation and imaginary part approximation in the approximation mapping table.
[0098] When 2nπ / 128∈[π:2π], the signs of the sine and cosine functions are reversed according to symmetry:
[0099] 0~π is divided into 16 equal parts, that is, π / 16, and the corresponding phase mapping coefficient is (2nπ / 128)÷(π / 16)=n / 4. The phase mapping coefficient n / 4∈[16:32] is rounded off, and then 16 is subtracted to get the final phase mapping coefficient n / 4-16∈[1:16];
[0100] According to the calculated final phase mapping coefficient, the corresponding sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are queried in the sine and cosine function quantization coefficient lookup table, and the signs of the sine and cosine function quantization coefficients are inverted. Then, the sine function quantization coefficient (sin_tmp) and cosine function quantization coefficient (cos_tmp) are input into the complex multiplication module to realize the complex multiplication of the corresponding real part approximation and imaginary part approximation in the approximation mapping table.
[0101] For example, the first rotation factor The nk value table is as follows:
[0102]
[0103] The real and imaginary approximate values of the first rotation factors corresponding to the 8th group of numbers are shown in the following table. As for the first rotation factors corresponding to 0, 7, 14, 21, 28, 35, 42, and 49 in the 8th group of numbers, the order of generation is 0, 28, 14, 42, 7, 35, 21, and 49 for convenience. Figure 3 The results of the first-stage butterfly operation unit outputting the reverse order of A, E, C, G, B, F, D, and H are directly subjected to complex multiplication operation in the second complex multiplication module.
[0104]
[0105] For example, 49÷2≈25, 25-16=9, and the query results in Cos_temp=-2 and Sin_temp=8 corresponding to 9. Then, the signs of the quantized coefficients of the sine and cosine functions are inverted to obtain Cos_temp=2 and Sin_temp=-8, which are finally input to the complex multiplication module to implement complex multiplication with the real part approximated to 0.25 and the imaginary part approximated to -1, as shown in the table above.
[0106] The real and imaginary approximations of the first rotation factor corresponding to the second group of numbers are shown in the following table. The order of 0, 1, 2, 3, 4, 5, 6, and 7 in the second group of numbers is 0, 4, 2, 6, 1, 5, 3, and 7 for convenience. Figure 3 The first-stage radix-8 butterfly operation unit shown in FIG. 1 outputs the results of the order A, E, C, G, B, F, D, and H in reverse order, and the second complex multiplication module directly performs complex multiplication operations.
[0107]
[0108] Among them, when cos_temp=+7 (This is how decimals are implemented in hardware) as an example, the multiplication operation can be implemented by a set of shifters and subtractors; in the complex multiplication module, The multiplication of the approximate value of the rotation factor 0.875 is realized by shift-add approximate multiplication. Compared with the previous shift-add form, the simplified operation reduces a large number of addition and subtraction operations, reduces the loss of additional logic resources and greatly improves the operation efficiency. Similarly, the second rotation factor can be realized Lookup table.
[0109] In some preferred implementations, the butterfly operation module 9 uses a three-dimensional radix-2 FFT operation to implement a radix-8 butterfly operation.
[0110] The logical implementation of 64-point FFT is as follows:
[0111] (10)
[0112] Using octal to represent the input time variable n and the output frequency variable k, we can get:
[0113] (11)
[0114] Decompose equation (11) into two-level radix-8 butterfly operations, namely
[0115]
[0116] in, integer, The 64 numbers are arranged in a 8*8 matrix, that is, 8 rows and 8 columns of data after serial-to-parallel conversion. They are the first-level and second-level base-8 inner multiplication twiddle factors, The rotation factor that needs to be multiplied after the first-level radix-8 butterfly operation. The result of the second-level butterfly operation The result of the first-level butterfly operation Radix-8 FFT result after multiplication by the rotation factor.
[0117] Specifically, available Figure 3 The radix-8 butterfly operation unit shown in the figure implements the three-dimensional radix-2 FFT operation. , the corresponding rotation factor is , you can use Figure 4 The structure shown implements a complex multiplier that consumes only two multipliers and two adders (subtractors). The multiplication of the approximate value of the rotation factor 0.7071 is achieved by shift-adding approximate multiplication.
[0118] In some implementations, the first complex multiplication module 4 and the second complex multiplication module 8 both use the following formula to perform complex multiplication operations:
[0119] (a+jb)(c+jb)=c(a+b)-b(c+d)+j[(a+b)ca(cd)]
[0120] Among them, a and c are the real parts of two complex numbers, and b and d are the imaginary parts of two complex numbers.
[0121] For ordinary twiddle factor multiplication, there is a formula: Direct calculation requires four real number multiplications and two real number additions, while the above-mentioned optimized operation method only requires three real number multiplications and three real number additions to realize one complex number multiplication. In the actual circuit, the area of the multiplier with the same word length is much larger than the area of the adder (subtractor), so the optimized complex multiplier can save hardware resources.
[0122] In summary, compared with the prior art, the FFT processor for satellite signal acquisition has the following advantages:
[0123] 1. The optimized 128-point mixed-radix algorithm is realized, which saves the radix-2 operation module and reduces the algorithm complexity;
[0124] 2. The symmetry of trigonometric functions is used to flexibly reuse arbitrary rotation factors of approximate calculations, which improves the efficiency of generating rotation factors. At the same time, the multiplication-free operation is realized by optimizing the shift-and-add algorithm operation, which reduces the complex number operation unit, and achieves the purpose of reducing the power consumption of the processor while ensuring the accuracy. The second-level radix-8 FFT in the 64-point FFT module reuses the butterfly operation module, which saves hardware resources and improves the processor operation rate;
[0125] 3. For the traditional shift-add-multiply implementation, approximate values are taken, which greatly reduces the number of complex addition and subtraction operations and improves the processor operation speed;
[0126] 4. Fast Fourier transform hardware is realized by zero padding and two parallel 64-point radix-8 butterfly operation modules, which has the characteristics of simple design structure, high operation level and good module portability.
[0127] In summary, although the present invention has been disclosed as above in terms of preferred embodiments, the above preferred embodiments are not intended to limit the present invention. A person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and the solutions are substantially the same as the present invention.
Claims
1. An FFT processor for satellite signal acquisition, characterized in that: Able to realize 128-point mixed-radix FFT operation functions, including: A serial-to-parallel conversion module, used for caching input data and outputting the input data in groups; A rotation factor generation module, used to generate the rotation factors required for mixed-base FFT operation; A first FFT module, used to perform an FFT operation according to the corresponding rotation factor and the data output by the serial-to-parallel conversion module, and output a calculation result; A first complex multiplication module, used to perform a complex multiplication operation on the data output by the serial-to-parallel conversion module and the corresponding rotation factor, and output a calculation result; A second FFT module, used to perform an FFT operation according to the corresponding rotation factor and the calculation result output by the first complex multiplication module, and output the calculation result; A parallel-to-serial conversion module, used for sequentially converting the calculation results output by the first FFT module and the second FFT module to achieve serial output; An FFT control module, used to control the operation of the serial-to-parallel conversion module, the rotation factor generation module and the parallel-to-serial conversion module; The input data is 64-point input data, and the serial-to-parallel conversion module divides the input data into 8 groups of data; The rotation factors include a first rotation factor and a second rotation factor required for a 128-point mixed-base FFT operation; The first complex multiplication module is used to perform a complex multiplication operation on the data output by the serial-to-parallel conversion module and the second rotation factor; The first FFT module and the second FFT module are both 64-point FFT modules, the first FFT module is used to perform a 64-point FFT operation according to the first rotation factor and the data output by the serial-to-parallel conversion module, and the second FFT module is used to perform a 64-point FFT operation according to the first rotation factor and the calculation result output by the first complex multiplication module; The rotation factor generation module generates the rotation factors in the following manner: The phase mapping coefficient of the rotation factor is queried in a preset lookup table to obtain the cosine function quantization coefficient corresponding to the approximate value of the real part and the sine function quantization coefficient corresponding to the approximate value of the imaginary part of the required rotation factor; Among them, the first rotation factor is , the second rotation factor is , n is the serial number of the input data, k is the serial number of the frequency domain output data; The preset lookup table includes a sine and cosine function quantization coefficient lookup table, including 16 phase mapping coefficients, and corresponding sine function quantization coefficients and cosine function quantization coefficients; the 16 phase mapping coefficients correspond to 16 intervals obtained by equally dividing a half period [0:π] of the trigonometric function; The specific process of querying the preset lookup table according to the phase mapping coefficient of the rotation factor to obtain the cosine function quantization coefficient corresponding to the approximate value of the real part and the sine function quantization coefficient corresponding to the approximate value of the imaginary part of the required rotation factor is: For the first rotation factor, when 2nkπ / 64∈[0:π], the corresponding phase mapping coefficient is (2nkπ / 64)÷(π / 16)=nk / 2, and the final phase mapping coefficient nk / 2∈[1:16] is obtained after rounding. The corresponding sine function quantization coefficient and cosine function quantization coefficient are obtained by querying the sine and cosine function quantization coefficient lookup table according to the calculated final phase mapping coefficient; when 2nkπ / 64∈[π:2π], the corresponding phase mapping coefficient is (2nkπ / 64)÷(π / 16)=nk / 2, and the phase mapping coefficient nk / 2∈[16:32] is obtained after rounding, and then 16 is subtracted to obtain the final phase mapping coefficient nk / 2-16∈[1:16], and the corresponding sine function quantization coefficient and cosine function quantization coefficient are obtained by querying the sine and cosine function quantization coefficient lookup table according to the calculated final phase mapping coefficient, and the signs of the sine and cosine function quantization coefficients are inverted; For the second rotation factor, when 2nπ / 128∈[0:π], the corresponding phase mapping coefficient is (2nπ / 128)÷(π / 16)=n / 4, and the final phase mapping coefficient n / 4∈[1:16] is obtained after rounding. The corresponding sine function quantization coefficient and cosine function quantization coefficient are obtained by querying the sine-cosine function quantization coefficient lookup table according to the calculated final phase mapping coefficient; when 2nπ / 128∈[π:2π], the corresponding phase mapping coefficient is (2nπ / 128)÷(π / 16)=n / 4, and the phase mapping coefficient n / 4∈[16:32] is obtained after rounding, and then 16 is subtracted to obtain the final phase mapping coefficient n / 4-16∈[1:16]. The corresponding sine function quantization coefficient and cosine function quantization coefficient are obtained by querying the sine-cosine function quantization coefficient lookup table according to the calculated final phase mapping coefficient, and the signs of the sine-cosine function quantization coefficients are inverted.
2. The FFT processor for satellite signal acquisition according to claim 1, characterized in that: The first FFT module and the second FFT module both include: A butterfly operation module is used to decompose a 64-point radix-8 FFT operation into two-stage radix-8 butterfly operations to implement a 64-point radix-8 FFT operation; A second complex multiplication module, used for performing a complex multiplication operation on the first-stage radix-8 butterfly operation result and the first rotation factor; The storage conversion module is used to cache and address the operation result of the second complex multiplication module and then divide it into 8 groups of data to input into the butterfly operation module for the second-level radix-8 butterfly operation.
3. The FFT processor for satellite signal acquisition according to claim 1, characterized in that: When the serial-to-parallel conversion module groups the input data, it extracts 8 numbers from the input data at intervals of 8 numbers to form a group of data.
4. The FFT processor for satellite signal acquisition according to claim 2, characterized in that: The butterfly operation module uses three-dimensional radix-2 FFT operation to implement radix-8 butterfly operation.
5. The FFT processor for satellite signal acquisition according to claim 2, characterized in that: The first complex multiplication module and the second complex multiplication module perform complex multiplication operations using the following formula: (a+jb)(c+jb)=c(a+b)-b(c+d)+j[(a+b)ca(cd)] Among them, a and c are the real parts of two complex numbers, and b and d are the imaginary parts of two complex numbers.
