Search

CN-119986628-B - Fine timing method, device, electronic equipment, storage medium and chip

CN119986628BCN 119986628 BCN119986628 BCN 119986628BCN-119986628-B

Abstract

The method for fine timing comprises the steps of obtaining a target signal point and a mark signal point in a detection sequence to determine residual frequency offset of the detection sequence, correcting the residual frequency offset according to the target signal and the mark signal to obtain a corrected detection sequence, determining phase values of a first target frequency point and a second target frequency point in the corrected detection sequence, determining the first target frequency point and the second target frequency point when the detection sequence is converted into a frequency spectrum, and determining fine timing adjustment according to the phase values of the first target frequency point and the second target frequency point. And the residual frequency offset is corrected in the detection sequence by determining the residual frequency offset, and then a phase value is obtained by calculation according to the corrected detection sequence, so that the accuracy of the fine timing adjustment quantity obtained based on the phase value is higher, and the accuracy of the estimated value of the TOA is further improved.

Inventors

  • WANG XINZHENG

Assignees

  • 北京玄戒技术有限公司

Dates

Publication Date
20260508
Application Date
20250228

Claims (12)

  1. 1. A method of fine timing, the method comprising: Determining residual frequency offset of a detection sequence according to target signal points and mark signal points in the detection sequence comprises the steps of determining conjugate multiplication of two target signal points with preset number of sampling periods in the detection sequence; recording the position information of the mark signal points in a set, wherein the detection sequence comprises at least one group of mark signal points; if the position information of the two target signal points of the conjugate multiplication is inconsistent with the position information recorded in the set, accumulating all the conjugate multiplications in the detection sequence to obtain a first summation result; determining the residual frequency offset of the detection sequence according to the first addition result, wherein the target signal is a signal except the marking signal in the detection sequence; Correcting the residual frequency offset according to the target signal and the marking signal to obtain a corrected detection sequence; Determining phase values of a first target frequency point and a second target frequency point in the corrected detection sequence, wherein the first target frequency point and the second target frequency point are determined when the detection sequence is converted into a frequency spectrum; And determining a fine timing adjustment amount according to the phase values of the first target frequency point and the second target frequency point.
  2. 2. The method of claim 1, wherein correcting the residual frequency offset based on the target signal and the marker signal to obtain a corrected detection sequence comprises: Carrying out frequency offset correction on the residual frequency offset of the detection sequence to obtain a detection sequence after correction; acquiring first position information of the marked signal point in the detection sequence after deviation correction; and performing compensation processing on the marked signal points based on the target signal points in the adjacent sampling period of the first position information to obtain a first corrected detection sequence.
  3. 3. The method of claim 2, wherein the compensating the marker signal points based on the target signal points in the adjacent sampling period of the first position information to obtain the first corrected detection sequence includes: determining whether a target signal point in a left adjacent sampling period of the first position information exceeds a first target signal point of the detection sequence and whether the target signal point in the left adjacent sampling period belongs to a mark signal point; And if the target signal point in the left adjacent sampling period does not exceed the first target signal point of the detection sequence and does not belong to the mark signal point, performing compensation processing on the mark signal point by using the target signal point in the left adjacent sampling period to obtain the first corrected detection sequence.
  4. 4. A method according to claim 3, characterized in that the method further comprises: if the target signal point in the left adjacent sampling period exceeds the first target signal point of the detection sequence and/or belongs to the marking signal point, determining whether the target signal point in the right adjacent sampling period of the first position information exceeds the last target signal point of the detection sequence and whether the target signal point in the right adjacent sampling period belongs to the marking signal point; And if the target signal point in the right adjacent sampling period does not exceed the last target signal point of the detection sequence and does not belong to the mark signal point, performing compensation processing on the mark signal point by using the target signal point in the right adjacent sampling period to obtain a first corrected detection sequence.
  5. 5. The method of claim 4, wherein determining the phase values of the first target frequency point and the second target frequency point in the corrected probe sequence comprises: and determining phase values corresponding to the first target frequency point and the second target frequency point respectively according to the first corrected detection sequence, wherein the first target frequency point and the second target frequency point are determined according to the duration of one symbol.
  6. 6. The method of claim 1, wherein correcting the residual frequency offset based on the target signal and the marker signal to obtain a corrected detection sequence comprises: Acquiring second position information of the marked signal point in the detection sequence; performing first compensation processing on the marked signal points based on target signal points adjacent to the second position information and with a preset sampling period to obtain a compensated detection sequence; and determining a phase coefficient caused by the residual frequency offset, and compensating the compensated detection sequence according to the phase coefficient to obtain a second corrected detection sequence.
  7. 7. The method of claim 6, wherein determining the phase values of the first target frequency bin and the second target frequency bin in the corrected probe sequence comprises: and determining phase values corresponding to the first target frequency point and the second target frequency point respectively according to the second corrected detection sequence, wherein the first target frequency point and the second target frequency point are determined according to the duration of one symbol.
  8. 8. The method of claim 7, wherein determining the phase values of the first target frequency bin and the second target frequency bin in the corrected probe sequence comprises: Segmenting the second corrected detection sequence to obtain a segmented second corrected detection sequence; and determining phase values corresponding to the first target frequency point and the second target frequency point respectively according to the segmented second corrected detection sequence, the first target signal point of the detection sequence, the number of sampling points in a sampling period and the residual frequency offset.
  9. 9. A fine timing apparatus, the apparatus comprising: The first determining unit is used for determining residual frequency offset of the detection sequence according to target signal points and marked signal points in the detection sequence, and comprises the steps of determining conjugate multiplication of two target signal points spaced by a preset number of sampling periods in the detection sequence; recording the position information of the mark signal points in a set, wherein the detection sequence comprises at least one group of mark signal points; if the position information of the two target signal points of the conjugate multiplication is inconsistent with the position information recorded in the set, accumulating all the conjugate multiplications in the detection sequence to obtain a first summation result; determining the residual frequency offset of the detection sequence according to the first addition result, wherein the target signal is a sampling point except the marking signal in the detection sequence; The correction unit is used for correcting the residual frequency offset according to the target signal and the marking signal to obtain a corrected detection sequence; The second determining unit is used for determining phase values of a first target frequency point and a second target frequency point in the corrected detection sequence, wherein the first target frequency point and the second target frequency point are determined when the detection sequence is converted into a frequency spectrum; and the third determining unit is used for determining the fine timing adjustment amount according to the phase values of the first target frequency point and the second target frequency point.
  10. 10. An electronic device, comprising: At least one processor, and A memory communicatively coupled to the at least one processor, wherein, The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-8.
  11. 11. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-8.
  12. 12. A chip comprising one or more interface circuits and one or more processors, the interface circuits to receive signals and to send the signals to the processors, the signals comprising computer instructions which, when executed by the processors, cause the chip to perform the method of any one of claims 1 to 8.

Description

Fine timing method, device, electronic equipment, storage medium and chip Technical Field The present disclosure relates to the field of signal processing, and in particular, to a fine timing method and apparatus, an electronic device, a storage medium, and a chip. Background As the bluetooth technology standard is evolving continuously, different bluetooth technology versions may introduce different characteristics, and the latest bluetooth low energy (Bluetooth Low Energy, BLE) technology standard introduces Channel Sounding (CS) technology, and CS provides Round-Trip Time (RTT) ranging and phase ranging (phase based ranging, PBR) based ranging methods. In order to support RTT ranging, coarse timing through a CS access address (ACCESSADDRESS) and fine timing through a Random Sequence (Random Sequence) or a sounding Sequence (SoundingSequence) are required, and then ranging is performed by determining a Time of Arrival (ToA) according to the coarse timing and the fine timing. However, the existing fine timing scheme does not consider the influence of residual frequency offset, which can result in lower precision of fine timing and influence on accuracy of TOA estimation. Disclosure of Invention The disclosure provides a fine timing method and device, an electronic device, a storage medium and a chip, so as to solve the problems in the related art, and can accurately perform fine timing under the condition of residual frequency offset. Embodiments of a first aspect of the present disclosure provide a fine timing method comprising: determining residual frequency offset of a detection sequence according to a target signal point and a mark signal point in the detection sequence, wherein the target signal is a sampling point except the mark signal in the detection sequence; Correcting the residual frequency offset according to the target signal and the marking signal to obtain a corrected detection sequence; Determining phase values of a first target frequency point and a second target frequency point in the corrected detection sequence, wherein the first target frequency point and the second target frequency point are determined when the detection sequence is converted into a frequency spectrum; And determining a fine timing adjustment amount according to the phase values of the first target frequency point and the second target frequency point. In some embodiments of the present disclosure, the determining the residual frequency offset of the probe sequence according to the target signal point and the mark signal point in the probe sequence includes: in the detection sequence, determining conjugate multiplication of two target signal points with preset number of sampling periods; accumulating conjugate multiplication in the detection sequence to obtain a first summation result; and determining the residual frequency offset of the detection sequence according to the first addition result. In some embodiments of the disclosure, the accumulating the conjugate multiplications in the detection sequence to obtain a first summation result includes: recording the position information of the mark signal points in a set, wherein the detection sequence comprises at least one group of mark signal points; Determining whether the position information of the two target signal points of the conjugate multiplication is consistent with the position information recorded in the set; And if the detection sequences are inconsistent, accumulating all conjugate multiplications in the detection sequences to obtain the first summation result. In some embodiments of the present disclosure, the correcting the residual frequency offset according to the target signal and the marker signal, to obtain a corrected detection sequence includes: carrying out frequency offset correction on the residual frequency offset of the detection sequence to obtain a detection sequence after correction; acquiring first position information of the marked signal point in the detection sequence after deviation correction; and performing compensation processing on the marked signal points based on the target signal points in the adjacent sampling period of the first position information to obtain a first corrected detection sequence. In some embodiments of the present disclosure, the performing compensation processing on the marked signal point based on the target signal point in the adjacent sampling period of the first position information, to obtain the first corrected detection sequence includes: determining whether a target signal point in a left adjacent sampling period of the first position information exceeds a first target signal point of the detection sequence and whether the target signal point in the left adjacent sampling period belongs to a mark signal point; And if the target signal point in the left adjacent sampling period does not exceed the first target signal point of the detection sequence and does not belong to the mark signal point, perf