A flexible and agile high-accuracy carrier generation system and method

By using a parallel two-stage accumulating sine wave output DDS structure, the problems of phase jitter and in-band spurious signals in radio frequency signals are solved, and the carrier frequency is made flexible and agile with high accuracy. This reduces the difficulty of FPGA timing design and improves the system's integration and software-based nature.

CN114157274BActive Publication Date: 2024-11-05XIAN INSTITUE OF SPACE RADIO TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111300409.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-04
Publication Date
2024-11-05
Estimated Expiration
2041-11-04

AI Technical Summary

Technical Problem

Existing DDS structures suffer from problems such as large phase jitter, numerous in-band spurious signals, inflexible agility, and small dynamic range in radio frequency signals, making it difficult to meet the requirements for high accuracy and flexible frequency adjustment.

Method used

It adopts a parallel two-stage accumulating sinusoidal output DDS structure, combined with a carrier frequency generation control parameter calculation module, a parallel two-stage DDS module, a parallel-to-serial conversion module and a DAC conversion unit, to achieve flexible and high-accuracy carrier frequency through parallel processing and parameter adjustment.

Benefits of technology

It achieves low phase jitter and in-band spurious emissions of the RF carrier, flexible and fast frequency change modes, and a large dynamic range, which reduces the clock speed and timing design difficulty of FPGA processing and improves the integration and software-based nature of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114157274B_ABST
    Figure CN114157274B_ABST
Patent Text Reader

Abstract

A flexible and agile high-accuracy carrier generation system and method, comprising: determining carrier generation control parameters according to sampling frequency and carrier frequency, placing the control parameters into a digital carrier generation module to generate parallel digital intermediate frequency carrier signals, converting the parallel digital intermediate frequency signals into analog radio frequency carrier signals through high-speed DA and outputting them. The radio frequency carrier generated by the present invention has smaller phase jitter and in-band spurious, and can achieve carrier frequency adjustment with faster response time and larger dynamic range, with higher degree of integration and software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of carrier wave generation, and in particular to a flexible and agile high-precision carrier wave generation system and method. Background Art

[0002] The frequency of the RF transmission signal can be flexibly changed to improve its anti-interference ability. The flexible frequency change requires that the carrier frequency can be flexibly adjusted and support a large change range. Direct digital synthesis (DDS) structure and high conversion rate DAC can be used to achieve signal generation. However, the digital carrier generated by the traditional DDS structure will have problems such as large phase jitter or many in-band spurious signals, and the RF signal is often located in the L band or higher. The sampling rate of this method is too high, which is often difficult to support in terms of timing on the FPGA side. Summary of the invention

[0003] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art, combine the principle of direct digital synthesis (DDS), and propose a carrier generation system and method of a parallel two-stage cumulative sinusoidal output DDS structure, so as to solve the problems of carrier phase jitter, large in-band spurious, inflexible agile mode and small dynamic range of communication and navigation radio frequency hopping signals, and provide a solution for software radio.

[0004] The technical solution of the present invention is:

[0005] A flexible and agile high-accuracy carrier generation system, comprising: a carrier frequency generation control parameter calculation module, a parallel double-stage DDS module, a parallel-to-serial conversion module, and a DAC conversion unit;

[0006] Carrier frequency generation control parameter calculation module: input is sampling frequency f s , RF frequency f RF , the first-stage accumulator has a bit width of N, calculates the three frequency control parameters K, m, and p for generating the corresponding intermediate frequency carrier signal, and outputs them to the parallel dual-stage DDS module;

[0007] Parallel two-stage DDS module: input is at rate f s / n clock, frequency control parameters K, m, p, realize the double-stage accumulation DDS calculation of n-way parallel mode according to the input three frequency control parameters, obtain the corresponding n-way parallel mode digital intermediate frequency sinusoidal carrier according to the value of the first-stage accumulator, and output it to the parallel-to-serial conversion module; n is an even number and n is a positive integer;

[0008] Parallel-to-serial conversion module: input is at a rate of f s / n clock, n parallel digital intermediate frequency sinusoidal carrier, convert n signals into n / 2 signals, and output them to the DAC conversion unit;

[0009] DAC conversion unit: The input is n / 2 parallel digital intermediate frequency sinusoidal carriers, and the n / 2 parallel digital intermediate frequency sinusoidal carriers are converted into 1 analog RF carrier.

[0010] The parallel-to-serial conversion module uses four 2:1 OSERDES to convert n signals into n / 2 signals.

[0011] The DAC conversion unit uses the 4:1Mux parallel-to-serial conversion mode and the mix mode of the DAC to convert n / 2 parallel digital intermediate frequency sinusoidal carriers into one analog radio frequency carrier.

[0012] In a first aspect, a flexible and agile high-accuracy carrier generation method comprises the following steps:

[0013] 1) According to the required frequency sampling frequency f s , adjust the precision f0 to determine the bit width W of the second-level accumulator;

[0014] 2) According to the frequency control parameters m and p, obtain L parallel processing second-level accumulators with a bit width of W. In the nth clock cycle, the value Acc2 of the L parallel accumulators i =mod[Acc2 i (n-1)+dlt,p],i=[0,L-1],Acc2 i (n-1) represents the value of the accumulator of the i-th path in the previous clock cycle, dlt = mod(L·m,p);

[0015] 3) Compare the L-way accumulator values ​​calculated in step 2). The 0th way is compared with the value of the L-1th way in the previous clock cycle, and the other ways (i) are compared with the i-1th way in the current clock cycle. When the comparison result is that the former is less than the latter, the carry flag c is set. i =1, otherwise 0; the carry value of the i-th path

[0016] 4) According to the frequency control parameter K and the L-way carry value calculated in step 3), L parallel processing first-level accumulators with a bit width of N are implemented. In the nth clock cycle, the value Acc of the L-way parallel accumulator is i =Acc L-1 (n-1)+i·K+q i , i = [0, L-1]; Acc L-1 (n-1) represents the value of the L-1th accumulator in the previous clock cycle;

[0017] 5) According to the L-way accumulator values ​​calculated in step 4), a parallel mode sinusoidal carrier phase value is obtained by looking up a table;

[0018] 6) When carrier frequency agility is required, only the three parameters K, m, and p need to be updated, and steps 2) to 5) need to be executed.

[0019] Second,

[0020] A processor, used to execute the method described in the first aspect.

[0021] A processing device, comprising:

[0022] Memory for storing computer programs;

[0023] A processor is used to call and run the computer program from the memory to execute the method described in the first aspect.

[0024] A computer-readable storage medium stores a computer program or instruction. When the computer program or instruction is executed, the method described in the first aspect is implemented.

[0025] The advantages of the present invention compared with the prior art are:

[0026] a) The phase jitter and in-band spurious of the RF carrier are small;

[0027] b) Flexible frequency change mode, fast speed and large dynamic range;

[0028] c) Parallel processing structure reduces the FPGA processing clock speed and timing design difficulty;

[0029] d) Higher level of integration and software. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A flexible and agile high-accuracy carrier generation method;

[0031] Figure 2 Designed for DDS structure;

[0032] Figure 3 Implement a block diagram for a parallel two-stage accumulator;

[0033] Figure 4 A design example for generating 1575.42MHz, 1191.795MHz, and 1268.52MHz carrier waves for the present invention;

[0034] Figure 5 The power spectra and in-band spurious measured results of the 1575.42MHz, 1191.795MHz, and 1268.52MHz carriers generated by the present invention. DETAILED DESCRIPTION

[0035] The invention discloses a flexible and agile high-accuracy carrier generation design method.

[0036] This design uses a two-stage cumulative sine output DDS structure with 8 parallel processing to generate a digital carrier. Figure 1 shown.

[0037] 1. The method includes the following parts:

[0038] (1) Design the DDS structure.

[0039] like Figure 2 As shown, in order to generate a digital carrier with accurate frequency and reduce phase jitter and in-band spurious, a DDS structure with two-stage accumulator and sinusoidal phase output is designed. First, calculate (f c / f s )·2 N The integer + irreducible fraction expression where f s is the sampling frequency, f c is the target carrier frequency, N is the bit width of the first-stage accumulator. The integer part K is the frequency control word of the first-stage accumulator. The fractional part This means that after every p cycles, the accumulated value is increased by an additional m. The decimal part is compensated by adding a second-level accumulator and calculating the carry value: s Under the clock control of , the second-stage accumulator accumulates in steps of m. When the accumulated value exceeds p, it carries 1 bit to the first-stage accumulator and simultaneously reduces the value of the accumulator at this stage by -p. Otherwise, it does not carry 1 bit. s Under the clock control, the first-stage accumulator accumulates in steps of (K+carry value q of the second-stage accumulator), and its accumulated value is used as the address of the sine lookup table (LUT), which stores the quantized sine waveform.

[0040] Flexible carrier frequency changes can be achieved by adjusting the three parameters K, m, and p.

[0041] (2) FPGA implementation and DDS structure parameter selection.

[0042] According to the principle of high Nyquist zone signal generation, the digital signal will be converted at f when it is sampled and converted at high speed by DAC. s / 2 generates multiple Nyquist zones with an interval of f s / 2 forms a mirror relationship. Taking the mirror signal in the high Nyquist region as the output, it is only necessary to generate the corresponding digital intermediate frequency carrier. The intermediate frequency carrier frequency f IF =|f s -f RF |. The generation of RF carrier needs to satisfy f s ≥2f RFTo generate the intermediate frequency carrier, it is only necessary to satisfy f s ≥2f IF , which can reduce the requirement on sampling rate, i.e., FPGA working clock frequency, and the corresponding RF carrier frequency range is [0,3f s / 2], which can meet the requirements of a larger agility range.

[0043] In FPGA, at f s Implemented in clock domain Figure 2 The DDS structure, K, m, p according to (f IF / f s )·2 N In order to achieve flexible and accurate frequency generation, the bit width W of phase accumulator 2 needs to adjust the accuracy f0 and f according to the required frequency. s Determine, find (f0 / f s )·2 N The irreducible fractional form A / B, then the bit width W is the smallest integer not less than log2B. The bit width N of phase accumulator 1 is selected based on the requirements for spurious performance and FPGA resources. The larger N is, the more resources are occupied and the smaller the spurious. The waveform memory is stored with a depth of 2 N , a lookup table with width L, storing the value y(i)=[i·(2 L-1 -1)·(sin2π / 2 N )] round up, i=[0,2 N -1], the width L is selected based on performance and resources. The larger L is, the more resources are occupied and the smaller the spurious signal is.

[0044] According to the sampling frequency f s , frequency adjustment accuracy f0, performance requirements, FPGA resource conditions, can determine the FPGA's working clock, the bit width of the two-stage accumulator and the storage table. FPGA Figure 2 The DDS structure is implemented, and the carrier generation with flexible and agile frequency can be achieved by changing the parameters K, m, and p during operation.

[0045] (3) FPGA parallel processing structure implementation.

[0046] Generally, FPGA can support a clock frequency range of about 100 to 600 MHz when processing digital signals, so 8x parallel processing can support up to 4.8 GHz radio frequency. In order to support carrier generation capabilities in a larger frequency range and reduce the difficulty of FPGA timing design, an 8-way parallel processing structure is selected, and the FPGA working clock becomes fs / 8.

[0047] (a) Parallel Accumulator

[0048] The block diagram of the two-stage accumulator implementation under parallel processing is as follows Figure 3At time n, the value Acc2 of the L-way parallel second-stage phase accumulator is i =mod[Acc2 i (n-1)+dlt,p],i=[0,L-1],Acc2 i (n-1) represents the value of the accumulator of the i-th path in the previous clock cycle, dlt = mod (L·m, p). Compare the values ​​of the parallel second-level accumulators. Acc20 is the value of Acc2 in the previous clock cycle. L-1 Compare and judge, other Acc2 i It is the same as Acc2 of the current clock cycle i-1 Compare, when the comparison result is that the former is less than the latter, the carry flag c i =1, otherwise 0. The carry value of the i-th path The value of the first-stage phase accumulator Acc i =Acc L-1 (n-1)+i·K+q i ,i=[0,L-1].Ac L-1 (n-1) indicates the value of the L-1th accumulator in the previous beat. When the carrier frequency needs to be changed, it only needs to update the corresponding parameter register in the FPGA and set the initialization flag to valid. The carrier frequency change can be completed in only one clock cycle and switched to [0,3f s / 2] range.

[0049] According to the table lookup of Acc0~Ac7, 8 parallel carrier signals Carr0~Carr7 are obtained.

[0050] (b) Parallel-to-serial conversion output (OSERDES)

[0051] In the FPGA, four 2:1 parallel-to-serial conversion output modules OSERDES are used, each of which converts the parallel carrier signal Carr i , Carr i+4 Converted into one serial data. The converted data is in DDR format, and data is latched on both the rising and falling edges of the clock.

[0052] (4)DAC conversion.

[0053] (a) DDR reception

[0054] In the DAC, four DDR receivers are used to receive the four-channel DDR data output of the FPGA, and the data is decoded into four channels and sent to the Mux. The clock frequency is f s / 4.

[0055] (b) 4:1Mux parallel-to-serial conversion

[0056] In the DAC, a 4:1Mux parallel-to-serial conversion is used to convert 4 channels of data into 1 channel.

[0057] (c) Digital-to-analog conversion

[0058] In DAC, use mix mode and use frequency f s The clock conversion data.

[0059] A flexible and agile high-accuracy carrier generation system comprises: a carrier frequency generation control parameter calculation module, a parallel double-stage DDS module, a parallel-serial conversion module, and a DAC conversion unit.

[0060] Carrier frequency generation control parameter calculation module: input is sampling frequency f s , RF frequency f RF , the first-stage accumulator has a bit width of N, calculates the three frequency control parameters K, m, and p for generating the corresponding intermediate frequency carrier signal, and outputs them to the parallel dual-stage DDS module;

[0061] Parallel two-stage DDS module: input is at rate f s / 8 clock, frequency control parameters K, m, p, according to the input three frequency control parameters to achieve 8-way parallel mode double-stage accumulation DDS calculation, according to the value of the first-stage accumulator to obtain the corresponding 8-way parallel mode digital intermediate frequency sinusoidal carrier, output to the parallel-to-serial conversion module;

[0062] Parallel-to-serial conversion module: input is at a rate of f s / 8 clock, 8 parallel digital intermediate frequency sinusoidal carriers, use 4 2:1 OSERDES to convert 8 signals into 4 signals, and output them to the DAC conversion unit;

[0063] DAC conversion unit: The input is 4 parallel digital intermediate frequency sinusoidal carriers, and the DAC's 4:1Mux parallel-to-serial conversion mode and mix mode are used to convert the 4 parallel digital intermediate frequency sinusoidal carriers into 1 analog RF carrier.

[0064] A flexible and agile high-accuracy carrier generation method comprises the following steps:

[0065] 1) According to the required frequency sampling frequency f s , adjust the precision f0 to determine the bit width W of the second-level accumulator;

[0066] 2) According to the frequency control parameters m and p, L parallel processing accumulators with a bit width of W (second-level accumulators) are implemented. In the nth clock cycle, the value Acc2 of the L parallel accumulators is i =mod[Acc2 i (n-1)+dlt,p],i=[0,L-1],Acc2 i(n-1) represents the value of the accumulator of the i-th path in the previous clock cycle, dlt = mod(L·m,p);

[0067] 3) Compare the L-way accumulator values ​​calculated in step 2). The 0th way is compared with the value of the L-1th way in the previous clock cycle, and the other ways (i) are compared with the i-1th way in the current clock cycle. When the comparison result is that the former is less than the latter, the carry flag c is set. i =1, otherwise 0. The carry value of the i-th path

[0068] 4) According to the frequency control parameter K and the L-way carry value calculated in step 3), L parallel accumulators with a bit width of N (first-level accumulators) are implemented. In the nth clock cycle, the value Acc of the L-way parallel accumulator is i =Acc L-1 (n-1)+i·K+q i ,i=[0,L-1].Ac L-1 (n-1) represents the value of the L-1th accumulator in the previous clock cycle;

[0069] 5) According to the L-way accumulator values ​​calculated in step 4), a parallel mode sinusoidal carrier phase value is obtained by looking up a table;

[0070] 6) When carrier frequency agility is required, only the three parameters K, m, and p need to be updated, and steps 2) to 5) need to be executed.

[0071] Example

[0072] It is required to accurately generate carrier signals of three frequencies: 1575.42MHz, 1191.795MHz, and 1268.52MHz, and to be flexibly adjusted within the range of 1.1GHz to 1.6GHz. The frequency generation accuracy is required to be 1KHz, and the in-band (±30MHz) spurious is less than -60dB. A 1718.64MHz sampling clock is designed, the first-stage accumulator bit width N is 14, the second-stage accumulator bit width M that meets the generation accuracy is 17, and the sine storage table quantization bit width L is 12.

[0073] Calculate the parameters of the three frequency points to be generated:

[0074] 1718.64-1575.42=143.22, 214*143.22 / 1718.64=1365+1 / 3, then the corresponding K=1365, m=1, p=3.

[0075] 1718.64-1191.795=526.845, 214*526.845 / 1718.64=5022+10 / 21, then the corresponding K=5022, m=10, p=21.

[0076] 1718.64-1268.52=450.12, 214*450.12 / 1718.64=4291+1 / 21, then the corresponding K=4291, m=1, p=21.

[0077] The block diagram for generating three frequency carriers is as follows: Figure 4 After the implementation, the RF signal output by the DA is connected to the spectrum analyzer. From the spectrum, it can be seen that the center frequency of the generated RF carrier meets expectations, and the in-band (±30MHz) spurious is less than -60dB, as shown in the figure. Figure 5 shown.

[0078] Although the present invention has been disclosed as above in the form of a preferred embodiment, it is not intended to limit the present invention. Any person skilled in the art may make possible changes and modifications to the technical solution of the present invention by using the methods and technical contents disclosed above without departing from the spirit and scope of the present invention. Therefore, any simple modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present invention without departing from the content of the technical solution of the present invention shall fall within the protection scope of the technical solution of the present invention.

[0079] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.

Claims

1. A flexible and agile high-accuracy carrier generation system, characterized in that: include: Carrier frequency generation control parameter calculation module, parallel double-stage DDS module, parallel-to-serial conversion module, DAC conversion unit; Carrier frequency generation control parameter calculation module: input is sampling frequency f s , RF frequency f RF , the first-stage accumulator bit width N, calculates the three frequency control parameters K, m, and p for generating the corresponding intermediate frequency carrier signal, and outputs them to the parallel two-stage DDS module; the method for determining K, m, and p is specifically as follows: Find (f RF / f s )·2 N The integer part of is taken as K; Find (f RF / f s )·2 N The irreducible fraction form of Get the values ​​of m and p; Parallel two-stage DDS module: input is at rate f s / n clock, frequency control parameters K, m, p, realize the double-stage accumulation DDS calculation of n-way parallel mode according to the input three frequency control parameters, obtain the corresponding n-way parallel mode digital intermediate frequency sinusoidal carrier according to the value of the first-stage accumulator, and output it to the parallel-to-serial conversion module; n is an even number and n is a positive integer; The parallel double-stage DDS module implements a method for double-stage accumulation DDS calculation in n-way parallel mode, specifically: At time t, the value Acc2 of the n-way parallel second-stage phase accumulator i =mod[Acc2 i (t-1)+dlt,p],i=[0,n-1],Acc2 i (t-1) represents the value of the accumulator of the i-th path in the previous beat, dlt = mod(L·m,p); Compare the values ​​of the parallel second-level accumulators. Acc20 is the value of Acc2 in the previous clock cycle. n-1 Compare and judge, other Acc2 i It is the same as Acc2 of the current clock cycle i-1 Compare, when the comparison result is that the former is less than the latter, the carry flag c i =1, otherwise 0; The carry value of the i-th path The value of the first-stage phase accumulator Acc i =Acc L-1 (t-1)+i·K+q i Among them, Acc L-1 (t-1) represents the value of the n-1th accumulator in the previous beat; Parallel-to-serial conversion module: input is at a rate of f s / n clocks, n parallel digital intermediate frequency sinusoidal carriers, perform dual-channel parallel-to-serial conversion on the i-th channel and the i+n / 2-th channel, convert the n-channel signals into n / 2 parallel channels, i.e. parallel carrier data, and output them to the DAC conversion unit; DAC conversion unit: first use n / 2 DDR receiving modules to receive n / 2 parallel carrier data, then convert it into 1 digital carrier through a 4:1Mux selector, and finally convert it into an analog RF carrier under a clock frequency of fs.

2. The flexible and agile high-accuracy carrier generation system according to claim 1, characterized in that: The parallel-to-serial conversion module uses n / 2 2:1 OSERDES to convert n signals into n / 2 signals.

3. A flexible and agile high-accuracy carrier generation method, characterized in that: The steps include: 1) According to the required frequency sampling frequency f s , adjust the precision f0 to determine the bit width W of the second-level accumulator; calculate (f0 / f s )·2 N The irreducible fraction form A / B, then the bit width W is the smallest integer not less than log2B; 2) According to the frequency control parameters m and p, obtain L parallel processing second-level accumulators with a bit width of W. In the nth clock cycle, the value Acc2 of the L parallel accumulators i =mod[Acc2 i (n-1)+dlt,p],i=[0,L-1],Acc2 i (n-1) represents the value of the accumulator of the i-th path in the previous clock cycle, dlt = mod(L·m,p); 3) Compare the L-way accumulator values ​​calculated in step 2). The 0th way is compared with the value of the L-1th way in the previous clock cycle, and the other ways (i) are compared with the i-1th way in the current clock cycle. When the comparison result is that the former is less than the latter, the carry flag c is set. i =1, otherwise 0; the carry value of the i-th path 4) According to the frequency control parameter K and the L-way second-stage accumulator carry value result q calculated in step 3) i , realize L parallel processing of the first-level accumulator with a bit width of N. In the nth clock cycle, the value Acc of the first-level parallel accumulator of the i-th path i =Acc L-1 (n-1)+i·K+q i , i=[0,L-1]; Acc L-1 (n-1) represents the value of the L-1th accumulator in the previous clock cycle; 5) According to the L-way accumulator values ​​calculated in step 4), a parallel mode sinusoidal carrier phase value is obtained by looking up a table; 6) When carrier frequency agility is required, only the three parameters K, m, and p need to be updated, and steps 2) to 5) need to be executed.

4. A processor, characterized in that: Used to perform the method according to claim 3.

5. A processing device, characterized in that: include: Memory for storing computer programs; A processor is used to call and run the computer program from the memory to execute the method according to claim 3.

6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program or instruction, and when the computer program or instruction is executed, the method of claim 3 is implemented.