CN115442883B - Fusion frequency offset correction method and device for ultra-wideband baseband - Google Patents

Fusion frequency offset correction method and device for ultra-wideband baseband Download PDF

Info

Publication number
CN115442883B
CN115442883B CN202211384212.5A CN202211384212A CN115442883B CN 115442883 B CN115442883 B CN 115442883B CN 202211384212 A CN202211384212 A CN 202211384212A CN 115442883 B CN115442883 B CN 115442883B
Authority
CN
China
Prior art keywords
frequency
sine
cosine wave
frequency offset
low
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
CN202211384212.5A
Other languages
Chinese (zh)
Other versions
CN115442883A (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.)
Changsha Chixin Semiconductor Technology Co ltd
Original Assignee
Changsha Chixin Semiconductor Technology Co ltd
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 Changsha Chixin Semiconductor Technology Co ltd filed Critical Changsha Chixin Semiconductor Technology Co ltd
Priority to CN202211384212.5A priority Critical patent/CN115442883B/en
Publication of CN115442883A publication Critical patent/CN115442883A/en
Application granted granted Critical
Publication of CN115442883B publication Critical patent/CN115442883B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0035Synchronisation arrangements detecting errors in frequency or phase
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M1/00Analogue/digital conversion; Digital/analogue conversion
    • H03M1/12Analogue/digital converters
    • H03M1/124Sampling or signal conditioning arrangements specially adapted for A/D converters
    • H03M1/1245Details of sampling arrangements or methods
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/69Spread spectrum techniques
    • H04B1/7163Spread spectrum techniques using impulse radio
    • H04B1/7183Synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Gears, Cams (AREA)

Abstract

The invention provides a method and a device for correcting fusion frequency offset of an ultra-wideband baseband, which comprises the following steps: acquiring current ADC sampling data, and calculating a frequency offset value of the current ADC sampling data; comparing the front frequency offset value of the current ADC sampling data with the frequency offset regulating gear of NCO, and generating high-frequency sine-cosine waves with corresponding frequencies after determining a first regulating gear; acquiring the frequency of a first adjusting gear, determining a second adjusting gear according to the difference value of the frequency of the first adjusting gear and a target frequency offset, and generating a low-frequency sine-cosine wave of corresponding frequency; and carrying out complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain the target sine-cosine wave. According to the method and the device for correcting the fusion frequency offset for the ultra-wideband baseband, the first adjusting gear and the second adjusting gear are selected according to the current data frequency offset value, and then the high-frequency sine-cosine wave and the low-frequency sine-cosine wave with corresponding frequencies are respectively generated, so that the correction of larger frequency offset is realized, and the storage resources are saved.

Description

Fusion frequency offset correction method and device for ultra-wideband baseband
Technical Field
The invention relates to the technical field of ultra wide band, in particular to a method and a device for correcting fusion frequency offset of an ultra wide band baseband.
Background
In the field of wireless communication, especially Ultra Wideband (UWB for short), because UWB has the characteristic of wide operating frequency band, the communication frequency band of UWB operation is between 3.1GHz to 10.6GHz, and the channel bandwidth of communication system is greater than 500MHz. Because the UWB communication band is wide, the highest channel frequency is up to 10GHz, and there may be a very large frequency offset in the data transmission process. Correction of frequency offset, particularly correction of large frequency offset, is necessary during UWB communication.
However, if a large frequency offset, for example, a frequency offset of ± 500KHz, is to be corrected, in order to ensure that the accuracy reaches 10KHz level and the coverage frequency offset reaches ± 500KHz level, a very large space is required inside the chip to store quantized discretized sine wave data, which is very costly in physical resources and affects the power consumption of the circuit.
Therefore, it is necessary to provide a method and an apparatus for correcting a fused frequency offset of an ultra wideband baseband, so as to effectively solve the above problems.
Disclosure of Invention
The invention provides a method and a device for correcting fusion frequency offset of an ultra-wideband baseband, which respectively generate high-frequency sine and cosine waves and low-frequency sine and cosine waves with corresponding frequencies after a first regulating gear and a second regulating gear are selected according to a current data frequency offset value, realize the correction of larger frequency offset and save storage resources.
The embodiment of the invention provides a fusion frequency offset correction method for an ultra-wideband baseband, which comprises the following steps:
acquiring current ADC sampling data, and calculating a frequency offset value of the current ADC sampling data;
comparing the frequency offset value of the current ADC sampling data with a frequency offset regulating gear of NCO, and generating high-frequency sine-cosine waves with corresponding frequencies after determining a first regulating gear;
acquiring the frequency of a first adjusting gear, determining a second adjusting gear according to the difference value of the frequency of the first adjusting gear and a target frequency offset, and generating a low-frequency sine-cosine wave of corresponding frequency;
carrying out complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave;
the high-frequency sine and cosine waves are realized by an LUT method, points of one period are obtained after discretization of sine waves of one period, the points of one quarter of the period are stored in a table, and the points of the remaining three quarters of the period and a value corresponding to the whole period of the cosine waves are obtained through calculation according to triangular transformation.
Preferably, after the current ADC sample data is obtained, the method further includes performing dc offset on the current ADC sample data, and filtering.
Preferably, after the second adjustment gear is determined, a low-frequency sine-cosine wave with a corresponding frequency is generated, and the low-frequency sine-cosine wave is realized through coordinate rotation digital calculation.
Preferably, the low-frequency sine-cosine wave is calculated through coordinate rotation numbers, and the method includes determining a counting period according to the current working clock frequency and the second adjustment gear, obtaining a required camber value according to the counting period and the second adjustment gear, and sending the required camber value to a coordinate rotation number module to calculate to obtain the low-frequency sine-cosine wave.
Preferably, the current operating clock frequency is obtained by designing a counter.
Preferably, the first adjustment step is determined according to a hundred digit value of the frequency offset value of the current ADC sample data, and the second adjustment step is determined according to a ten digit value of the frequency offset value of the current ADC sample data.
Preferably, the high-frequency sine-cosine wave and the low-frequency sine-cosine wave are complex-multiplied to obtain a target sine-cosine wave, and the target sine-cosine wave is calculated by the following formula:
Figure 506751DEST_PATH_IMAGE001
wherein, the first and the second end of the pipe are connected with each other,
Figure 63635DEST_PATH_IMAGE002
representing the sine and cosine waves of the object,
Figure 783198DEST_PATH_IMAGE003
representing a high frequency sine-cosine wave,
Figure 44415DEST_PATH_IMAGE004
representing a low frequency sine-cosine wave.
The embodiment of the invention also provides a fusion frequency offset correction device for the ultra-wideband baseband, which comprises:
the current data frequency offset value acquisition module is used for acquiring current ADC sampling data and calculating the frequency offset value of the current ADC sampling data;
the high-frequency sine and cosine wave generation module is used for comparing the frequency offset value of the current ADC sampling data with the frequency offset regulating gear of the NCO, generating a high-frequency sine and cosine wave with corresponding frequency after determining a first regulating gear, realizing the high-frequency sine and cosine wave by an LUT (look up table) method, discretizing a sine wave of one period to obtain points of one period, storing the points of one quarter of the periods into a table, and calculating to obtain the points of the remaining three quarters of the periods and a value corresponding to the whole period of the cosine wave according to triangular transformation;
the low-frequency sine and cosine wave generation module is used for acquiring the frequency of the high-frequency sine and cosine wave generated by the first regulating gear, determining a second regulating gear according to the difference value of the frequency of the high-frequency sine and cosine wave and a target frequency offset, and then generating a low-frequency sine and cosine wave with corresponding frequency;
and the sine-cosine wave fusion module is used for carrying out complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave.
Preferably, after the second adjustment gear is determined, a low-frequency sine and cosine wave with a corresponding frequency is generated, and the low-frequency sine and cosine wave is realized through coordinate rotation digital calculation.
Preferably, the low-frequency sine-cosine wave is calculated through coordinate rotation numbers, and the method includes determining a counting period according to the current working clock frequency and the second adjustment gear, obtaining a required camber value according to the counting period and the second adjustment gear, and sending the required camber value to a coordinate rotation number calculation module to calculate to obtain the low-frequency sine-cosine wave.
Compared with the prior art, the technical scheme of the embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method and a device for correcting fusion frequency offset of an ultra-wideband baseband, which are used for acquiring current ADC (analog to digital converter) sampling data and calculating a frequency offset value of the current ADC sampling data; comparing the frequency offset value of the current ADC sampling data with a frequency offset regulating gear of NCO, and generating high-frequency sine-cosine waves with corresponding frequencies after determining a first regulating gear; acquiring the frequency of a first adjusting gear, determining a second adjusting gear according to the difference value of the frequency of the first adjusting gear and a target frequency offset, and generating a low-frequency sine-cosine wave of corresponding frequency; the high-frequency sine-cosine wave and the low-frequency sine-cosine wave are subjected to complex multiplication to obtain a target sine-cosine wave, a first adjusting gear and a second adjusting gear are selected according to a current data frequency deviation value to respectively generate a high-frequency sine-cosine wave and a low-frequency sine-cosine wave with corresponding frequencies, and the high-frequency sine-cosine wave and the low-frequency sine-cosine wave are fused to obtain the target sine-cosine wave, so that the correction of larger frequency deviation is realized;
further, the implementation of the high-frequency sine-cosine wave through the LUT method comprises the steps of obtaining points of one period after discretizing sine waves of one period, storing the points of one quarter of the period into a table, obtaining the points of the remaining three quarters of the period and corresponding values of the whole period of the sine wave according to triangular transformation calculation, and implementing the low-frequency sine-cosine wave through coordinate rotation digital calculation, wherein the counting period is determined according to the current working clock frequency and the second adjusting gear, the required arc value is obtained according to the counting period and the second adjusting gear, and the required arc value is sent to a coordinate rotation digital calculation module to be calculated to obtain the low-frequency sine-cosine wave, so that the size of the table can be effectively reduced, and the requirement of a storage space is greatly reduced.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description will be given below of the drawings required for describing the embodiments or the prior art, and it is apparent that the drawings in the following description are some embodiments of the present invention, but not all embodiments. For a person skilled in the art, other figures can also be obtained from these figures without inventive exercise.
Fig. 1 is a flowchart illustrating a method for fused frequency offset correction of an ultra-wideband baseband according to an embodiment of the present invention;
fig. 2 is a block diagram of a fused frequency offset correction apparatus for ultra-wideband baseband according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, belong to the protection scope of the present invention.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Based on the problems in the prior art, embodiments of the present invention provide a method and an apparatus for correcting a fusion frequency offset for an ultra-wideband baseband, in which a first adjustment gear and a second adjustment gear are selected according to a current data frequency offset value, and then a high-frequency sine-cosine wave and a low-frequency sine-cosine wave with corresponding frequencies are generated, so that correction of a large frequency offset is achieved, and storage resources are saved.
Fig. 1 is a flowchart of a method for correcting a fused frequency offset of an ultra-wideband baseband according to an embodiment of the present invention, where the method specifically includes:
step S101: acquiring current ADC (Analog-to-Digital Converter) sampling data, and calculating a frequency offset value of the current ADC sampling data.
In a specific implementation, after the current ADC sampling data is obtained, the method further includes performing dc offset on the current ADC sampling data, and filtering.
Step S102: comparing the frequency offset value of the current ADC sampling data with a frequency offset adjustment gear of an NCO (digital oscillator), and generating a high-frequency sine-cosine wave of a corresponding frequency after determining the first adjustment gear.
For example, the frequency offset value of the current ADC sampling data is 385KHz, and the first adjustment gear is determined to be-4 gear after comparing with the frequency offset adjustment gear of NCO.
In a specific implementation, the high-frequency sine-cosine wave with the corresponding frequency is generated after the first adjustment gear is determined, and the high-frequency sine-cosine wave is realized by using an LUT (Look-Up Table). The high-frequency sine and cosine waves are realized by an LUT method, and the method comprises the steps of discretizing sine waves in one period to obtain points in one period, storing the points in one quarter of the period into a table (table), and calculating according to triangular transformation to obtain the points in the remaining three quarters of the period and a value corresponding to the whole period of the cosine waves. For example, for a waveform of a first adjustment gear of 100KHz level, firstly, a sine wave of one cycle is discretized into 1249 points and quantized according to the precision requirement, and then 313 points in total, which are one-quarter cycle (0, pi/4) points (including a starting point and an end point), are stored in a table, and a high-frequency sine-cosine wave waveform of the first adjustment gear is specifically generated by the following method:
to generate 100KHz, the gear is 1:
f =250M/1248 × 1 (gear) × 2 (data update period) =100K,
that is, assuming that the clock frequency is 250M, the output data is updated every two cycles, and it takes 2496 clock cycles to output the complete sine wave waveform, and the sine wave cycle is (4 ns × 2496) =9984ns ≈ 10us, then the frequency f =1/10us =100k.
To generate 200KHz, the gear is 2:
f =250M/1248 × 2 (gear) × 1 (data update period) =200K
That is, assuming that the clock frequency is 250M, the output data is updated once every period, and 1248 clock periods are required to output the complete sine wave waveform in total, and the sine wave period is (4 ns × 1248) ≈ 5us, then the frequency f =1/5us =200k.
And calculating to obtain the value circuits corresponding to the rest points (pi/4, 2pi) and the whole cycle (0, 2pi) of the cosine wave according to the triangular transformation. The circuit generates required sine waves or calculates required values according to the working frequency and the gear table index required values. Because the table only stores one fourth, the size of the table is effectively reduced, the requirement of storage space is greatly reduced, and a group of expected high-frequency sine waves and cosine waves can be created. The high frequency sine-cosine wave is calculated by the following formula:
Figure DEST_PATH_IMAGE005
wherein the content of the first and second substances,
Figure 120536DEST_PATH_IMAGE006
representing a high frequency sine-cosine wave,
Figure DEST_PATH_IMAGE007
representing a cosine wave of a high frequency sine-cosine wave,
Figure 379479DEST_PATH_IMAGE008
representing a sine wave of a high frequency sine-cosine wave.
Step S103: and acquiring the frequency of a first regulating gear, determining a second regulating gear according to the difference value of the frequency of the first regulating gear and the target frequency offset, and generating a low-frequency sine-cosine wave of the corresponding frequency.
For example, the frequency offset value of the current ADC sampling data is 385KHz, the first adjustment gear is determined to be-4, that is, the frequency of the high-frequency sine-cosine wave generated by the first adjustment gear is-400 KHz after the frequency offset adjustment gear of the NCO is compared with the frequency offset adjustment gear of the NCO, and the second adjustment gear is determined to be 2, that is, 20KHz according to the difference-15 KHz between the frequency of the high-frequency sine-cosine wave-400 KHz and the target frequency offset 385 KHz.
In a specific implementation, the determining of the second adjustment gear generates a low-frequency sine-cosine wave with a corresponding frequency, and the low-frequency sine-cosine wave is implemented by Coordinate Rotation Digital Computer (cordic). The low-frequency sine and cosine waves are calculated through coordinate rotation numbers, the counting period is determined according to the current working clock frequency and the second adjusting gear, the required camber value is obtained according to the counting period and the second adjusting gear, the required camber value is sent to a coordinate rotation number calculation module to be calculated to obtain the low-frequency sine and cosine waves, the coordinate rotation number calculation module calculates the trigonometric function values of the corresponding sine sin and cosine cos to be output, and then a set of expected low-frequency sine and cosine waves are generated. The current operating clock frequency is obtained by designing a counter. Assuming that the clock frequency is 250M, one clock period is 4ns, and the number of sampling points is set to 1608, that is, the sine wave or the cosine wave of one period is discretized into 1608 points, the coordinate rotation digital calculation module needs 16 periods to calculate the trigonometric function value, and the trigonometric function value is updated once every 16 periods. The low-frequency sine-cosine wave waveform of the second gear is generated by the following method:
to generate 10KHz, the gear is 1:
f = 250M/(1608 × 16 × 1 (gears)) =10K
To generate 20KHz, the gear is 2:
f = 250M/(1608 × 16 × 2 (gear)) =20K
……
To generate 50KHz, the gear is 5:
f = 250M/(1608 × 16 × 5 (gear)) =50K
Taking the generation of 20KHz as an example, that is, when the gear is 2, a counter is built in the circuit, every 16 circuit clock cycles, the value of the counter is increased by 1, and the upper counting limit of the counter is adjusted according to the gear:
discrete point number (1608)/gear = upper limit of count
The count period for gear 2 is 804.
Camber value = counter value shift
The radian value is a quantized radian value, the number of discrete points is determined according to quantization precision, specifically, the quantization precision is 2^8, which is 8bit wide in a circuit. Those skilled in the art can set the number of discrete points to different values according to different quantization precisions, and will not be described herein.
1608 =2pi*2^8=6.28*256
When the counter is full 804, it means that the last arc value is 804 × 2=1608, 1608 is the corresponding value of 2pi quantized to 8 bit. And the counter restarts after counting full and clear, which indicates that the radian value of a complete period is output, and restarts a new round of radian value output.
The low frequency sine and cosine wave is calculated by the following formula:
Figure DEST_PATH_IMAGE009
wherein, the first and the second end of the pipe are connected with each other,
Figure 540333DEST_PATH_IMAGE010
representing a low-frequency sine-cosine wave,
Figure DEST_PATH_IMAGE011
a cosine wave representing a low frequency sine-cosine wave,
Figure 854508DEST_PATH_IMAGE012
a sine wave representing a low frequency sine cosine wave.
The first adjustment gear is determined according to a hundred digit value of the frequency offset value of the current ADC sampling data, and the second adjustment gear is determined according to a ten digit value of the frequency offset value of the current ADC sampling data.
In a specific implementation, for example, if the frequency offset of the current ADC sampling data is +323KHz, the frequency offset of +323KHz needs to be corrected, and a carrier closest to-323K needs to be created for correction.
-323KHz: firstly, determining a high gear, wherein the closest high gear is-3 gear, and if-300 KHz is generated, then-323 KHz- (-300 KHz) and-23 KHz remain; and then determining a low gear, wherein the low gear closest to-23 KHz is a-2 gear, generating-20 KHz, and fusing to obtain-320 KHz.
For example, if the frequency offset value of the current ADC sampling data is-383 KHz, the frequency offset of-383 KHz needs to be corrected, and a carrier correction closest to +383KHz needs to be made.
+383KHz: firstly, determining a high gear, wherein the closest high gear is +4 gear, and if +400KHz is generated, then +383KHz- (+ 400 KHz) is left at-17 KHz; and then determining a low gear, wherein the low gear closest to-17 KHz is a-2 gear, generating-20 KHz, and fusing to obtain 380KHz.
Step S104: and carrying out complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave.
In a specific implementation, the complex multiplication is performed on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave, and the target sine-cosine wave is calculated by the following formula:
Figure DEST_PATH_IMAGE013
wherein the content of the first and second substances,
Figure 643473DEST_PATH_IMAGE014
representing the sine-cosine wave of the target,
Figure DEST_PATH_IMAGE015
representing a high frequency sine-cosine wave,
Figure 151945DEST_PATH_IMAGE016
representing a low frequency sine-cosine wave.
And carrying out complex multiplication on a quantized sine-cosine value obtained by table look-up and triangular transformation on the current discretized high-frequency sine-cosine wave, a low-frequency sine-cosine wave and a quantized sine-cosine value obtained by calculation of the current coordinate rotation digital calculation module, calculating a value of a corresponding discretized quantization point, and continuously outputting according to a required period to generate a carrier wave finally used for correcting the frequency offset.
Figure DEST_PATH_IMAGE017
According to the triangular product sum and difference formula, the final complex multiplication results in a group of sine wave frequencies
Figure 33052DEST_PATH_IMAGE018
Fig. 2 is a block diagram of a fused frequency offset correction apparatus for ultra-wideband baseband according to an embodiment of the present invention, the apparatus includes:
a current data frequency offset value obtaining module 21, configured to obtain current ADC sampling data, and calculate a frequency offset value of the current ADC sampling data;
a high-frequency sine and cosine wave generating module 22, configured to compare the frequency offset value of the current ADC sampling data with the frequency offset adjustment gear of the NCO, determine that a high-frequency sine and cosine wave of a corresponding frequency is generated after the first adjustment gear is determined, where the high-frequency sine and cosine wave is implemented by using an LUT method, obtain a period of points after discretizing a period of sine waves, store the one-quarter period of points in a table, and calculate, according to a triangular transformation, to obtain the remaining three-quarter period of points and a value corresponding to the whole period of cosine waves;
the low-frequency sine and cosine wave generation module 23 is configured to obtain a frequency of a first adjustment gear, determine a second adjustment gear according to a difference between the frequency of the first adjustment gear and a target frequency offset, and generate a low-frequency sine and cosine wave of a corresponding frequency;
and an sine-cosine wave fusion module 24, configured to perform complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave.
In a specific implementation, after the second adjustment gear is determined, a low-frequency sine and cosine wave of a corresponding frequency is generated, and the low-frequency sine and cosine wave is realized through coordinate rotation digital calculation.
In specific implementation, the implementation of the low-frequency sine and cosine wave through coordinate rotation digital calculation includes determining a counting period according to the current working clock frequency and the second adjustment gear, obtaining a required camber value according to the counting period and the second adjustment gear, and sending the required camber value to a coordinate rotation digital calculation module to calculate to obtain the low-frequency sine and cosine wave.
In summary, the method and apparatus for correcting the fusion frequency offset for the ultra-wideband baseband according to the embodiments of the present invention obtain current ADC sampling data, and calculate the frequency offset value of the current ADC sampling data; comparing the frequency offset value of the current ADC sampling data with a frequency offset regulating gear of NCO, and generating high-frequency sine-cosine waves with corresponding frequencies after determining a first regulating gear; acquiring the frequency of a first adjusting gear, determining a second adjusting gear according to the difference value of the frequency of the first adjusting gear and a target frequency offset, and generating a low-frequency sine-cosine wave of corresponding frequency; the high-frequency sine-cosine wave and the low-frequency sine-cosine wave are subjected to complex multiplication to obtain a target sine-cosine wave, a first regulating gear and a second regulating gear are selected according to a current data frequency deviation value to respectively generate a high-frequency sine-cosine wave and a low-frequency sine-cosine wave with corresponding frequencies, and the high-frequency sine-cosine wave and the low-frequency sine-cosine wave are fused to obtain the target sine-cosine wave, so that the correction of larger frequency deviation is realized;
further, the implementation of the high-frequency sine-cosine wave through the LUT method comprises the steps of obtaining points of one period after discretizing sine waves of one period, storing the points of one quarter of the period into a table, obtaining the points of the remaining three quarters of the period and corresponding values of the whole period of the sine wave according to triangular transformation calculation, and implementing the low-frequency sine-cosine wave through coordinate rotation digital calculation, wherein the counting period is determined according to the current working clock frequency and the second adjusting gear, the required arc value is obtained according to the counting period and the second adjusting gear, and the required arc value is sent to a coordinate rotation digital calculation module to be calculated to obtain the low-frequency sine-cosine wave, so that the size of the table can be effectively reduced, and the requirement of a storage space is greatly reduced.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the spirit of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for correcting fused frequency offset of an ultra-wideband baseband is characterized by comprising the following steps:
acquiring current ADC sampling data, and calculating a frequency offset value of the current ADC sampling data;
comparing the frequency offset value of the current ADC sampling data with a frequency offset regulating gear of NCO, and generating high-frequency sine-cosine waves with corresponding frequencies after determining a first regulating gear;
acquiring the frequency of a first adjusting gear, determining a second adjusting gear according to the difference value of the frequency of the first adjusting gear and a target frequency offset, and generating a low-frequency sine-cosine wave of corresponding frequency;
carrying out complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave;
the high-frequency sine and cosine waves are realized by an LUT method, points of one period are obtained after discretization of sine waves of one period, the points of one quarter of the period are stored in a table, and the points of the remaining three quarters of the period and a value corresponding to the whole period of the cosine waves are obtained through calculation according to triangular transformation.
2. The method of claim 1, wherein obtaining the current ADC sample data further comprises dc-biasing and filtering the current ADC sample data.
3. The method of claim 1, wherein the determining of the second adjustment step generates a low frequency sine-cosine wave of a corresponding frequency, and the low frequency sine-cosine wave is implemented by a coordinate rotation digital calculation.
4. The method of claim 3, wherein the implementing of the low-frequency sine-cosine wave through the coordinate rotation digital calculation includes determining a counting period according to a current working clock frequency and the second adjustment stage, obtaining a required camber value according to the counting period and the second adjustment stage, and sending the required camber value to a coordinate rotation digital calculation module to calculate to obtain the low-frequency sine-cosine wave.
5. The method of claim 4, wherein the current operating clock frequency is obtained by designing a counter.
6. The fused frequency offset correction method for ultra-wideband baseband according to claim 1, wherein said first adjustment step is determined according to a percentile value of the frequency offset value of said current ADC sample data, and said second adjustment step is determined according to a tens digit value of the frequency offset value of said current ADC sample data.
7. The method of claim 1, wherein the complex multiplication of the high frequency sine-cosine wave and the low frequency sine-cosine wave is performed to obtain a target sine-cosine wave, and the calculation is performed according to the following formula:
Figure 464092DEST_PATH_IMAGE001
wherein the content of the first and second substances,
Figure 177971DEST_PATH_IMAGE002
representing the sine and cosine waves of the object,
Figure 692128DEST_PATH_IMAGE003
representing a high frequency sine-cosine wave,
Figure 87338DEST_PATH_IMAGE004
representing a low frequency sine-cosine wave.
8. A fused frequency offset correction apparatus for ultra wideband baseband, comprising:
the current data frequency offset value acquisition module is used for acquiring current ADC sampling data and calculating the frequency offset value of the current ADC sampling data;
the high-frequency sine-cosine wave generating module is used for comparing the frequency offset value of the current ADC sampling data with the frequency offset regulating gear of the NCO, generating a high-frequency sine-cosine wave with corresponding frequency after determining a first regulating gear, realizing the high-frequency sine-cosine wave by an LUT (look-up table) method, discretizing a sine wave of one period to obtain points of one period, storing the points of one quarter of the period into a table, and calculating to obtain the points of the remaining three quarters of the period and a value corresponding to the whole period of the cosine wave according to triangular transformation;
the low-frequency sine and cosine wave generation module is used for acquiring the frequency of a first regulating gear, determining a second regulating gear according to the difference value of the frequency of the first regulating gear and a target frequency offset, and then generating a low-frequency sine and cosine wave with corresponding frequency;
and the sine-cosine wave fusion module is used for carrying out complex multiplication on the high-frequency sine-cosine wave and the low-frequency sine-cosine wave to obtain a target sine-cosine wave.
9. The fused frequency offset correction apparatus for ultra-wideband baseband according to claim 8, wherein said determining the second adjustment stage generates a low frequency sine-cosine wave of a corresponding frequency, said low frequency sine-cosine wave being implemented by a coordinate rotation digital calculation.
10. The fused frequency offset correction device for the ultra-wideband baseband according to claim 9, wherein the implementation of the low-frequency sine-cosine wave through the coordinate rotation digital calculation includes determining a counting period according to a current working clock frequency and the second adjustment stage, obtaining a required camber value according to the counting period and the second adjustment stage, and sending the required camber value to the coordinate rotation digital calculation module to calculate to obtain the low-frequency sine-cosine wave.
CN202211384212.5A 2022-11-07 2022-11-07 Fusion frequency offset correction method and device for ultra-wideband baseband Active CN115442883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211384212.5A CN115442883B (en) 2022-11-07 2022-11-07 Fusion frequency offset correction method and device for ultra-wideband baseband

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211384212.5A CN115442883B (en) 2022-11-07 2022-11-07 Fusion frequency offset correction method and device for ultra-wideband baseband

Publications (2)

Publication Number Publication Date
CN115442883A CN115442883A (en) 2022-12-06
CN115442883B true CN115442883B (en) 2023-02-03

Family

ID=84252023

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211384212.5A Active CN115442883B (en) 2022-11-07 2022-11-07 Fusion frequency offset correction method and device for ultra-wideband baseband

Country Status (1)

Country Link
CN (1) CN115442883B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204040A (en) * 2015-09-18 2015-12-30 广州北航新兴产业技术研究院 Satellite signal capturing system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3348196B2 (en) * 1998-03-06 2002-11-20 独立行政法人通信総合研究所 Wireless transmission system
CN101534287A (en) * 2008-03-13 2009-09-16 泰鼎多媒体技术(上海)有限公司 Method and device for correcting carrier frequency offset in mobile communication system
JP4764485B2 (en) * 2009-02-06 2011-09-07 本田技研工業株式会社 Frequency component analyzer
CN105245483A (en) * 2015-10-21 2016-01-13 深圳市信安城通科技有限公司 Single-symbol OFDM signal demodulation method and apparatus
JP6377663B2 (en) * 2016-03-28 2018-08-22 アンリツ株式会社 Signal generation apparatus, signal generation method, and signal generation program
CN106330362A (en) * 2016-08-25 2017-01-11 中国电子科技集团公司第十研究所 Data assisted signal to noise ratio estimation method
CN108965179B (en) * 2018-07-09 2021-01-12 西安电子科技大学 Two-step frequency offset estimation method for enhanced telemetry integrated network system under multipath channel
CN111865865B (en) * 2020-08-04 2021-06-15 北京空天智数科技有限公司 Frequency offset and phase offset estimation method suitable for high-sensitivity satellite-borne ADS-B receiver
CN114268902B (en) * 2021-12-27 2023-02-17 长沙驰芯半导体科技有限公司 Pulse ultra-wideband direction finding method based on PDOA

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105204040A (en) * 2015-09-18 2015-12-30 广州北航新兴产业技术研究院 Satellite signal capturing system

Also Published As

Publication number Publication date
CN115442883A (en) 2022-12-06

Similar Documents

Publication Publication Date Title
CN105742151B (en) The adjusting based on impedance of power and frequency
CN101262243B (en) Mixer with self-calibrating carrier leakage mechanism and carrier leakage calibrating method
CN105610431A (en) All-digital phase-locked loop (ADPLL) with reduced settling time
CN103107967B (en) A kind of update method of pre-distortion coefficients and system
CN1698263B (en) Method and apparatus of compensating imbalance of a modulator
CN109196375A (en) The generation method of FM-CW radar and FM-CW signal
EP1867076A2 (en) Internal calibration system for a radio frequency (rf) transmitter
CN102007689A (en) Device power detector
CN115442883B (en) Fusion frequency offset correction method and device for ultra-wideband baseband
US5382913A (en) Method and apparatus for generating two phase-coherent signals with arbitrary frequency ratio
US9354844B2 (en) Method and apparatus for iteratively calculating a value
CN108845191B (en) General Gaussian color noise generation device and method
US10491198B1 (en) Methods and apparatus for phase imbalance correction
KR20140105409A (en) Measurement of dc offsets in iq modulators
Song et al. Algorithm and realization of high dynamic satellite signal Doppler simulation based on FPGA
CN103297359A (en) Method and device for processing same-phase and quadrature digital baseband signal
CN109565482A (en) Transmitter and digital pre-distortion calibration method
CN103888091A (en) Harmonic distortion correction method for digital audio class D power amplifier
CN101582694B (en) Generating method, device and signal generating device of frequency control word
Michaels Quantitative comparisons of digital chaotic circuits for use in communications
US9759754B2 (en) Phase angle measurement using residue number system analogue-to-digital conversion
CN103873056A (en) Automatic oscillator calibration device and calibration method thereof
CN104753530A (en) Phase correction and nonuniform phase amplitude conversion method and device in DDS
CN101552753B (en) DC offset correction circuit of wireless communication device and correction method thereof
CN1707980B (en) Method and system for signal synchronization between receiver-transmitter and instrument

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