CN112769723B - Signal synchronization position determining method, device, equipment and storage medium - Google Patents

Signal synchronization position determining method, device, equipment and storage medium Download PDF

Info

Publication number
CN112769723B
CN112769723B CN202110369784.5A CN202110369784A CN112769723B CN 112769723 B CN112769723 B CN 112769723B CN 202110369784 A CN202110369784 A CN 202110369784A CN 112769723 B CN112769723 B CN 112769723B
Authority
CN
China
Prior art keywords
sequence
value
determining
frequency offset
correlation
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
CN202110369784.5A
Other languages
Chinese (zh)
Other versions
CN112769723A (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.)
Yizhao Micro Electronics Hangzhou Co Ltd
Original Assignee
Yizhao Micro Electronics Hangzhou 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 Yizhao Micro Electronics Hangzhou Co Ltd filed Critical Yizhao Micro Electronics Hangzhou Co Ltd
Priority to CN202110369784.5A priority Critical patent/CN112769723B/en
Publication of CN112769723A publication Critical patent/CN112769723A/en
Application granted granted Critical
Publication of CN112769723B publication Critical patent/CN112769723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • H04W56/0035Synchronisation arrangements detecting errors in frequency or phase
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • H04L2027/0024Carrier regulation at the receiver end
    • H04L2027/0026Correction of carrier offset

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The embodiment of the invention discloses a method, a device, equipment and a storage medium for determining a signal synchronization position. Wherein, the method comprises the following steps: determining a corresponding differential angle between adjacent symbols of the received signal; determining whether the received signal contains a preamble sequence according to the differential angle, and determining a corresponding frequency offset value when the received signal contains the preamble sequence; and processing the differential angle according to the frequency offset value, calculating the correlation value of the processed sequence and the local sequence with the same length, and determining the synchronous position of the received signal according to the calculated result. The technical scheme provided by the embodiment of the invention considers the influence caused by frequency offset, solves the problems of packet loss and higher false detection of the data packet received by the Bluetooth receiver when the frequency offset is larger, and improves the accuracy of the determined signal synchronization position.

Description

Signal synchronization position determining method, device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the field of Bluetooth signal transmission, in particular to a method, a device, equipment and a storage medium for determining a signal synchronization position.
Background
The bluetooth receiver needs to detect the received data packet and determine the synchronous position of the received signal in the working process, thereby realizing the accurate transmission of the received signal.
In the existing scheme, one scheme is to calculate a correlation value between a sequence obtained by performing hard decision after a received signal of a bluetooth receiver is subjected to a differential angle and a local sequence, and then determine a synchronization position of the received signal according to the correlation value. The other method is to calculate the correlation value of the modulated local sequence and the received signal of the bluetooth receiver and then determine the synchronization position of the received signal according to the correlation value, but the phase value calculation method needs to buffer more data and has larger calculation amount in the implementation process, thereby increasing the power consumption and the cost of the chip.
At present, no better signal synchronization position determination method exists.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining a signal synchronization position, which take the influence caused by frequency offset into consideration, solve the problems of packet loss and high false detection of a data packet received by a Bluetooth receiver when the frequency offset is large, and improve the accuracy of the determined signal synchronization position.
In a first aspect, an embodiment of the present invention provides a method for determining a signal synchronization position, where the method includes:
determining a corresponding differential angle between adjacent symbols of the received signal;
determining whether the received signal contains a preamble sequence according to the differential angle, and determining a corresponding frequency offset value when the received signal contains the preamble sequence;
and processing the differential angle according to the frequency offset value, calculating a correlation value of the processed sequence and a local sequence with the same length, and determining the synchronous position of the received signal according to the calculated result.
In a second aspect, an embodiment of the present invention provides a signal synchronization position determining apparatus, including:
the differential angle determining module is used for determining corresponding differential angles between adjacent symbols of the received signals;
an offset value determining module, configured to determine whether the received signal includes a preamble sequence according to the differential angle, and determine a corresponding frequency offset value when the received signal includes the preamble sequence;
and the synchronous position determining module is used for processing the differential angle according to the frequency offset value, calculating a correlation value of the processed sequence and a local sequence with the same length, and determining the synchronous position of the received signal according to the calculated result.
In a third aspect, an embodiment of the present invention provides a computer device, where the computer device includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the signal synchronization position determination method according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the signal synchronization position determination method according to any embodiment of the present invention.
The embodiment of the invention provides a method, a device, equipment and a storage medium for determining a signal synchronization position, which are used for determining a corresponding difference angle between adjacent symbols of a received signal, determining whether the received signal contains a preamble sequence according to the difference angle, determining a corresponding frequency offset value when the preamble sequence is contained, processing the difference angle according to the frequency offset value, calculating a correlation value of a sequence obtained after processing and a local sequence with the same length, and determining the synchronization position of the received signal according to a result obtained by calculation. The technical scheme provided by the embodiment of the invention considers the influence caused by frequency offset, solves the problems of packet loss and higher false detection of the data packet received by the Bluetooth receiver when the frequency offset is larger, and improves the accuracy of the determined signal synchronization position.
Drawings
Fig. 1A is a flowchart of a method for determining a signal synchronization position according to an embodiment of the present invention;
fig. 1B is a flowchart illustrating a method for determining whether a received signal includes a preamble sequence according to a difference angle according to an embodiment of the present invention;
fig. 2A is a flowchart of a signal synchronization position determining method according to a second embodiment of the present invention;
fig. 2B is a block diagram of determining a corresponding frequency offset value in the method according to the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a signal synchronization position determining apparatus according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1A is a flowchart of a signal synchronization position determining method according to an embodiment of the present invention, which is applicable to a case including but not limited to synchronizing signals received by a digital baseband receiver in a Bluetooth Low Energy Long Range (BLE Long Range) mode under Bluetooth 5.1. The signal synchronization position determining method provided by this embodiment may be executed by the signal synchronization position determining apparatus provided by this embodiment of the present invention, which may be implemented by software and/or hardware and integrated in a computer device executing this method.
Referring to fig. 1A, the method of the present embodiment includes, but is not limited to, the following steps:
s110, determining a corresponding difference angle between adjacent symbols of the received signal.
After receiving signals sent by other devices in the working process, the bluetooth receiver needs to determine the accurate position where the received signals start, namely the signal synchronization position, so as to avoid the situation that the bluetooth receiver loses packets or fails to detect, which results in transmission failure or incomplete received signals. Normally, bluetooth signals are transmitted in the form of data packets, the data packets include signals to be transmitted, signals received by a bluetooth receiver are complex signals in a sequence form, the complex signals include a plurality of symbols, and by calculating phases respectively corresponding to adjacent symbols, a difference value of corresponding phases between the adjacent symbols, that is, a corresponding differential angle between the adjacent symbols of the received signals, can be determined, so as to determine whether a preamble sequence is included in the received signals according to the differential angle.
And S120, determining whether the received signal contains the preamble sequence according to the difference angle, and determining a corresponding frequency offset value when the received signal contains the preamble sequence.
Here, a preamble sequence is understood to be a part of a received signal, which is a fixed sequence, e.g., 00111100, and may be repeated for multiple occurrences.
According to the periodicity of the preamble sequence, after obtaining the corresponding difference angle between each adjacent symbol, whether the received signal contains the preamble sequence can be determined according to whether the difference angle exceeds a preset threshold value. When the fact that the received signal contains the preamble sequence is determined, the corresponding frequency deviation value can be determined according to the corresponding frequency deviation value calculation method, so that the difference angle can be processed according to the frequency deviation value in the following process, correlation value calculation is carried out on the sequence obtained after the process and the local sequence with the same length, and the synchronous position of the received signal is determined according to the result obtained through the calculation.
And S130, processing the differential angle according to the frequency offset value, calculating the correlation value of the processed sequence and the local sequence with the same length, and determining the synchronous position of the received signal according to the calculated result.
The correlation value can be understood as the degree of correlation between the processed sequence and the local sequences with the same length. The local sequence may be preset, and this embodiment is not limited in particular.
After the frequency offset value is obtained, the differential angle is processed according to the frequency offset value, and the correlation value of the processed sequence and the local sequence with the same length is calculated.
According to the technical scheme provided by the embodiment, the corresponding differential angle between each adjacent symbol of the received signal is determined, whether the received signal contains the preamble sequence is determined according to the differential angle, when the preamble sequence is contained, the corresponding frequency offset value is determined, the differential angle is processed according to the frequency offset value, the correlation value calculation is performed on the processed sequence and the local sequence with the same length, the synchronization position of the received signal is determined according to the calculated result, the influence caused by the frequency offset is considered, the problems of packet loss and high false detection of a data packet received by a Bluetooth receiver when the frequency offset is large are solved, and the accuracy of the determined signal synchronization position is improved.
In some embodiments, after determining the corresponding differential angle between each adjacent symbol of the received signal, the method may further specifically include: and smoothing the differential angle through a filter.
In the embodiment of the invention, the difference angle is smoothed by the filter, so that noise can be filtered, and the difference angle is prevented from being interfered by the noise, thereby influencing the subsequent steps to determine whether the received signal contains the preamble sequence.
It should be noted that: the type of the filter is not particularly limited in the implementation of the present invention, as long as the smoothing process can be performed.
In some embodiments, the determining whether the received signal includes a preamble sequence according to the differential angle may specifically include: combining all the differential angles to obtain a differential angle sequence, selecting a first differential angle sequence from the differential angle sequence, and calculating a correlation value of the first differential angle sequence to obtain a first correlation value corresponding to the first differential angle sequence; when the first correlation value is smaller than or equal to a first preset threshold value, updating a first correlation length corresponding to the first correlation value; and if the updated first correlation length is larger than a second preset threshold value, determining that the received signal contains a preamble sequence.
The first preset threshold and the second preset threshold may be pre-designed, or may be determined according to specific situations, and the embodiment is not particularly limited.
Specifically, after obtaining the corresponding difference angles between each adjacent symbol of the received signal, all the difference angles are combined, that is, the difference angles are combined according to the sequence between the corresponding adjacent symbols, so that a difference angle sequence can be obtained. Because the difference angle sequence may include a plurality of difference angles, in order to reduce workload and buffer pressure, the difference angles of the first number adjacent to each other are selected from the difference angle sequence as the first difference angle sequence, where the specific value of the first number is not specifically limited in the embodiment of the present invention. After the first difference angle series are obtained, a correlation value calculation is carried out on the first difference angle series through a correlation value calculation formula, a first correlation value corresponding to the first difference angle series can be obtained, the first correlation value is compared with a first preset threshold value, when the first correlation value is smaller than or equal to the first preset threshold value, a first correlation length corresponding to the first correlation value is updated, the updated first correlation length is compared with a second preset threshold value, if the updated first correlation length is larger than the second preset threshold value, a preamble sequence is detected at a symbol of a received signal corresponding to the first difference angle series, and the received signal is determined to contain the preamble sequence.
In the embodiment of the invention, the correlation value calculation is carried out on the first differential angle sequence, when the first correlation value is smaller than or equal to the first preset threshold value, the first correlation length corresponding to the first correlation value is updated, and if the updated first correlation length is larger than the second preset threshold value, the fact that the received signal contains the preamble sequence is determined, so that the algorithm complexity is reduced, and whether the received signal contains the preamble sequence can be quickly detected.
For example, the correlation calculation formula may be expressed as:
Figure DEST_PATH_IMAGE001
(1)
wherein the content of the first and second substances,kindicating the location of the sample point,None sample period of the preamble sequence is represented,
Figure DEST_PATH_IMAGE002
is shown asnThe differential angle corresponding to each sampling point,
Figure DEST_PATH_IMAGE003
is shown asn+NThe differential angle corresponding to each sampling point,corrValindicating the correlation value.
Preferably, the optimized differential angle sequence may be obtained after smoothing the differential angle by a filter, a first differential angle sequence is selected from the optimized differential angle sequence, and correlation value calculation is performed on the first differential angle sequence, so as to avoid noise interference.
In some embodiments, when the first correlation value is greater than the first preset threshold, if the first correlation length exceeds a third preset threshold, updating the first correlation length and a second correlation length corresponding to the first correlation value, where the second correlation length is smaller than the first correlation length; and if the updated second correlation length exceeds a fourth preset threshold, carrying out zero clearing operation on the updated first correlation length and the updated second correlation length, and moving the first differential angle sequence to the right by a first preset number of sampling points to obtain a new first differential angle sequence with the same length as the first differential angle sequence, wherein each sampling point corresponds to one differential angle.
The third preset threshold and the fourth preset threshold may be pre-designed, or may be determined according to specific situations, the embodiment is not particularly limited, and preferably, the third preset threshold may be 0. The first preset number may be preset, for example, 1, or may be determined according to specific situations, and this embodiment is not particularly limited.
Specifically, when the first correlation value is greater than the first preset threshold, it is determined whether the first correlation length exceeds a third preset threshold, and if the first correlation length exceeds the third preset threshold, the first correlation length and the second correlation length corresponding to the first correlation value are updated, where the updating process may be that 1 is added to the first correlation length and the second correlation length corresponding to the first correlation value, respectively, so as to obtain an updated first correlation length and an updated second correlation length. And then judging whether the updated second correlation length exceeds a fourth preset threshold, if so, carrying out zero clearing operation on the updated first correlation length and the updated second correlation length, and moving the first differential angle sequence to the right by a first preset number of sampling points to obtain a new first differential angle sequence with the length equal to that of the first differential angle sequence. And if the updated first correlation length is smaller than or equal to a second preset threshold, or if the first correlation length does not exceed a third preset threshold, or if the updated second correlation length does not exceed a fourth preset threshold, moving the first differential angle sequence to the right by a first preset number of sampling points to obtain a new first differential angle sequence with the same length as the first differential angle sequence.
In the embodiment of the present invention, when the first correlation value is greater than the first preset threshold, if the first correlation length exceeds the third preset threshold, it is determined whether the updated second correlation length exceeds the fourth preset threshold, and it is determined whether a preamble sequence is detected at a symbol of the received signal corresponding to the first difference angle sequence, and if not, a new first difference angle sequence is formed, and the determination is continued, so that a result of determining whether the received signal finally contains the preamble sequence is more accurate.
In some embodiments, when performing the zero clearing operation on the updated first correlation length and the updated second correlation length, the method may further include: and carrying out zero clearing operation on the frequency deviation value corresponding to the first difference angle sequence.
In the embodiment of the invention, the frequency deviation value corresponding to the first difference angle sequence is cleared, so that the corresponding frequency deviation value can be conveniently determined when the received signal contains the preamble sequence, and the frequency deviation value is prevented from being mixed up and errors are avoided.
Specifically, fig. 1B is a flowchart for determining whether a received signal includes a preamble sequence according to a difference angle in a method provided by an embodiment of the present invention, and referring to fig. 1B, the determining whether the received signal includes the preamble sequence includes, but is not limited to, the following steps:
and S1001, calculating a correlation value of the first difference angle sequence to obtain a first correlation value.
And S1002, whether the first correlation value is smaller than or equal to a first preset threshold value or not.
If yes, executing S1003; if not, go to S1006.
S1003, updating the first correlation length.
S1004, whether the updated first correlation length is greater than a second preset threshold.
If yes, go to S1005; if not, go to S1010.
S1005 determines that the received signal includes a preamble sequence.
And S1006, whether the first correlation length exceeds a third preset threshold value.
If yes, executing S1007; if not, go to S1010.
S1007, the first correlation length and the second correlation length are updated.
And S1008, judging whether the updated second correlation length exceeds a fourth preset threshold value.
If yes, go to S1009; if not, go to S1010.
S1009 performs a clear operation on the updated first correlation length and the updated second correlation length.
And S1010, moving the first differential angle sequence to the right by a first preset number of sampling points to obtain a new first differential angle sequence.
It should be noted that: in the execution of S1010, if the last sampling point is moved, the rightward movement is stopped.
Example two
Fig. 2A is a flowchart of a signal synchronization position determining method according to a second embodiment of the present invention. The embodiment of the invention is optimized on the basis of the embodiment. Optionally, this embodiment explains in detail the process of determining the corresponding frequency offset value and processing the difference angle according to the frequency offset value.
Referring to fig. 2A, the method of the present embodiment includes, but is not limited to, the following steps:
s210, determining corresponding difference angles between adjacent symbols of the received signal.
And S220, determining whether the received signal contains the preamble sequence according to the difference angle, and when the received signal contains the preamble sequence, obtaining the average value of the difference angle corresponding to the current first difference angle sequence and taking the average value as the current frequency offset initial value.
When it is determined that the received signal includes the preamble sequence, an average value of the difference angles corresponding to the current first difference angle sequence is obtained, and the average value is used as an initial value of the current frequency offset, specifically, a calculation formula of the initial value of the current frequency offset may be represented by the following formula:
Figure DEST_PATH_IMAGE004
(2)
wherein the content of the first and second substances,kindicating the location of the sample point,Nrepresenting one sampling period of the preamble sequence, or the total number of sampling points,
Figure DEST_PATH_IMAGE005
is shown asnThe differential angle corresponding to each sampling point,
Figure DEST_PATH_IMAGE006
indicating the correlation value.
S230, determining a frequency offset value corresponding to the current first difference angle sequence according to the current frequency offset initial value and a first frequency offset initial value corresponding to the first difference angle sequence before the current first difference angle sequence.
After obtaining the current frequency offset initial value, a frequency offset value corresponding to the current first difference angle sequence can be determined according to the current frequency offset initial value and a first frequency offset initial value corresponding to a first difference angle sequence located before the current first difference angle sequence, and a specific calculation process can be represented by the following formula:
Figure DEST_PATH_IMAGE007
(3)
wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE008
for the current initial value of the frequency offset,
Figure DEST_PATH_IMAGE009
is a first frequency offset initial value corresponding to a first differential angle sequence located before the current first differential angle sequence,
Figure DEST_PATH_IMAGE010
is a constant number of times, and is,
Figure 873242DEST_PATH_IMAGE010
the specific value of (b) can be set according to actual conditions,
Figure DEST_PATH_IMAGE011
for the frequency offset value corresponding to the current first differential angle sequence,TandT+1 is a subscript for distinguishing whether it is the current frequency offset initial value or the frequency offset value corresponding to the current first differential angular sequence,
Figure 259224DEST_PATH_IMAGE008
the calculation can be performed by the above equation (2).
For example, fig. 2B is a block diagram for determining a corresponding frequency offset value in the method provided by the second embodiment of the present invention, that is, a block diagram corresponding to formula (3), where Z is-1The delay unit corresponds to a first initial value of frequency offset corresponding to a first differential angle sequence located before the current first differential angle sequence.
S240, selecting a second preset number of differential angles from the differential angle sequence to form a second differential angle sequence.
The second preset number may be pre-designed, and may also be determined according to specific situations, and this embodiment is not particularly limited.
And selecting a second preset number of differential angles from the differential angle sequence, and combining the selected second preset number of differential angles to form a second differential angle sequence.
And S250, carrying out hard decision on each differential angle in the second differential angle sequence based on the frequency offset value to obtain a processed sequence.
Here, the hard decision may be understood as a decision on the value of the output by setting a threshold, for example, in a binary system, a decision greater than 0 may be made as 1, and a decision less than or equal to 0 may be made as 0.
Based on the frequency offset value corresponding to the current first difference angle sequence obtained in S230, taking the frequency offset value as a threshold in hard decision can perform hard decision on each difference angle in the second difference angle sequence to obtain a processed sequence, which facilitates subsequent correlation value calculation of the processed sequence and a local sequence with the same length, and determines the synchronization position of the received signal according to the calculated result.
Optionally, the hard decision on each difference angle in the second difference angle sequence based on the frequency offset value to determine the processed sequence may specifically include: determining a magnitude relationship between each differential angle in the second sequence of differential angles and the frequency offset value; setting values corresponding to all the difference angles larger than or equal to the frequency deviation value in the second difference angle sequence as first values, setting values corresponding to all the difference angles smaller than the frequency deviation value in the second difference angle sequence as second values, and determining the sequence obtained after processing based on the first values and the second values.
The first value and the second value may be pre-designed values. For example, the first value is set to 1 and the second value is set to-1.
Specifically, a frequency offset value corresponding to the current first difference angle sequence is used as a threshold value in hard decision, the magnitude relation between each difference angle in the second difference angle sequence and the frequency offset value is determined through the following formula, the numerical values corresponding to all difference angles which are greater than or equal to the frequency offset value in the second difference angle sequence are set as a first numerical value, namely 1, the numerical values corresponding to all difference angles which are smaller than the frequency offset value in the second difference angle sequence are set as-1, and the sequence obtained after processing is determined based on the first numerical value and the second numerical value.
Figure DEST_PATH_IMAGE012
(4)
Wherein the content of the first and second substances,
Figure DEST_PATH_IMAGE013
is as followskThe difference angles are different from each other, and the difference angles are different from each other,kis greater than 0 and less than or equal to a second predetermined number,
Figure DEST_PATH_IMAGE014
in order to be a threshold value in the hard decision,
Figure DEST_PATH_IMAGE015
is as followskThe values after the hard decision process corresponding to the respective differential angles.
In the embodiment of the invention, the sequence obtained after processing is determined according to the magnitude relation between each differential angle in the second differential angle sequence and the frequency deviation value, so that the pressure of a memory can be relieved, the hardware overhead is reduced, and the power consumption and the cost of a chip are prevented from being increased when the method in the embodiment of the invention is implemented and more data needs to be cached and the calculated amount is larger.
And S260, calculating a correlation value of the processed sequence and the local sequence with the same length, and determining the synchronous position of the received signal according to the calculated result.
Optionally, the calculating a correlation value between the processed sequence and the local sequence with the same length, and determining the synchronization position of the received signal according to a result obtained by the calculation may specifically include: determining a second correlation value between the processed sequence and a local sequence with the same length, and moving the second differential angle sequence to the right for preset times respectively to form a preset number of third differential angle sequences equal to the preset times when the second correlation value exceeds a fifth preset threshold value, wherein different numbers of sampling points are moved to the right each time; and determining third correlation values corresponding to the third differential angle sequences respectively, taking the initial sampling point of the third differential angle sequence corresponding to the maximum third correlation value as the synchronous position of the received signal, and taking the frequency offset value corresponding to the third differential angle sequence corresponding to the maximum third correlation value as the final frequency offset value.
The fifth preset threshold may be pre-designed, or may be determined according to a specific situation, and the embodiment is not particularly limited. The preset times may be pre-designed, or may be determined according to specific situations, and the embodiment is not particularly limited.
Specifically, the numerical values of the corresponding positions of the processed sequence and the local sequence are subtracted by a correlation value calculation formula, namely formula (1), and then all the difference values obtained after subtraction are accumulated to determine a second correlation value between the processed sequence and the local sequence with the same length; or multiplying the sequence obtained after processing by the numerical value of the corresponding position of the local sequence to obtain the product of the second preset number, and then summing all the products to obtain the second correlation numerical value. And after the second correlation value is obtained, judging whether the second correlation value exceeds a fifth preset threshold value, and when the second correlation value exceeds the fifth preset threshold value, respectively moving the second differential angle sequence to the right for preset times to form a preset number of third differential angle sequences equal to the preset times, wherein the third differential angle sequences move to the right for different numbers of sampling points each time, for example, move to the right for 1 sampling point for the first time, move to the right for 2 sampling points for the second time, and so on. After obtaining the preset number of third correlation angle sequences, determining a third correlation value corresponding to each third correlation angle sequence, where the calculation method of the third correlation value may be formula (1), or may be other calculation methods, and using the initial sampling point of the third correlation angle sequence corresponding to the largest third correlation value as the synchronization position of the received signal, and determining the frequency offset value corresponding to the third correlation angle sequence corresponding to the largest third correlation value by the method in S230, and using the frequency offset value as the final frequency offset value.
In the embodiment of the invention, when the second correlation value exceeds the fifth preset threshold value, the preset number of third differential angle sequences are formed, the initial sampling point of the third differential angle sequence corresponding to the maximum third correlation value is used as the synchronous position of the received signal, and the frequency deviation value corresponding to the third differential angle sequence corresponding to the maximum third correlation value is used as the final frequency deviation value, so that the signal synchronization precision is improved, an accurate frequency deviation value can be provided for the bluetooth receiver, the sensitivity of the bluetooth receiver is favorably improved, and meanwhile, the final frequency deviation value can be used by a subsequent bluetooth receiver demodulation module.
The technical solution provided in this embodiment is to determine a difference angle corresponding to each adjacent symbol of a received signal, determine whether the received signal includes a preamble sequence according to the difference angle, when determining that the received signal includes the preamble sequence, obtain an average value of the difference angle corresponding to a current first difference angle sequence, use the average value as a current frequency offset initial value, determine a frequency offset value corresponding to the current first difference angle sequence according to the current frequency offset initial value and a first frequency offset initial value corresponding to a first difference angle sequence located before the current first difference angle sequence, select a second preset number of difference angles from the difference angle sequences to form a second difference angle sequence, perform hard decision on each difference angle in the second difference angle sequence based on the frequency offset value, determine a processed sequence, and perform correlation value calculation on the processed sequence and a local sequence having the same length, and the synchronization position of the received signal is determined according to the result obtained by calculation, which is beneficial to improving the precision of signal synchronization and relieving the pressure of memory, and simultaneously reduces the hardware overhead, avoids increasing the power consumption and cost of a chip when more data needs to be cached and the calculation amount is larger, considers the influence caused by frequency offset, solves the problems of packet loss and higher false detection of the data packet received by the Bluetooth receiver when the frequency offset is larger, and improves the accuracy of the determined signal synchronization position.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a signal synchronization position determining apparatus according to a third embodiment of the present invention, and as shown in fig. 3, the apparatus may include:
a difference angle determining module 310, configured to determine a corresponding difference angle between adjacent symbols of the received signal;
an offset value determining module 320, configured to determine whether the received signal includes a preamble sequence according to the differential angle, and determine a corresponding frequency offset value when the received signal includes the preamble sequence;
a synchronization position determining module 330, configured to process the difference angle according to the frequency offset value, perform correlation value calculation on the processed sequence and a local sequence with the same length, and determine a synchronization position of the received signal according to a result obtained by the calculation.
According to the technical scheme provided by the embodiment, the corresponding differential angle between each adjacent symbol of the received signal is determined, whether the received signal contains the preamble sequence is determined according to the differential angle, when the preamble sequence is contained, the corresponding frequency offset value is determined, the differential angle is processed according to the frequency offset value, the correlation value calculation is performed on the processed sequence and the local sequence with the same length, the synchronization position of the received signal is determined according to the calculated result, the influence caused by the frequency offset is considered, the problems of packet loss and high false detection of a data packet received by a Bluetooth receiver when the frequency offset is large are solved, and the accuracy of the determined signal synchronization position is improved.
Further, the offset value determining module 320 may include: the first correlation value determining unit is used for combining all the differential angles to obtain a differential angle sequence, selecting a first differential angle sequence from the differential angle sequence, and performing correlation value calculation on the first differential angle sequence to obtain a first correlation value corresponding to the first differential angle sequence; a first updating unit, configured to update a first correlation length corresponding to the first correlation value when the first correlation value is smaller than or equal to a first preset threshold; a preamble sequence determining unit, configured to determine that the received signal includes a preamble sequence if the updated first correlation length is greater than a second preset threshold.
Further, the offset value determining module 320 may further include: an updating unit, configured to update the first correlation length and a second correlation length corresponding to the first correlation value if the first correlation length exceeds a third preset threshold when the first correlation value is greater than the first preset threshold, where the second correlation length is smaller than the first correlation length; and the determining unit is used for performing zero clearing operation on the updated first correlation length and the updated second correlation length if the updated second correlation length exceeds a fourth preset threshold, and moving the first differential angle sequence to the right by a first preset number of sampling points to obtain a new first differential angle sequence with the same length as the first differential angle sequence, wherein each sampling point corresponds to one differential angle.
Further, the offset value determining module 320 may be specifically configured to: when the received signal is determined to contain the preamble sequence, calculating a difference angle average value corresponding to a current first difference angle sequence, and taking the average value as a current frequency offset initial value; and determining a frequency offset value corresponding to the current first difference angle sequence according to the current frequency offset initial value and a first frequency offset initial value corresponding to a first difference angle sequence positioned in front of the current first difference angle sequence.
Further, the synchronization position determining module 330 may include: the second differential angle sequence determining unit is used for selecting a second preset number of differential angles from the differential angle sequence to form a second differential angle sequence; and the processed sequence determining unit is used for carrying out hard decision on each differential angle in the second differential angle sequence based on the frequency offset value and determining the processed sequence.
Further, the processed sequence determining unit may be specifically configured to: determining a magnitude relationship between each differential angle in the second sequence of differential angles and the frequency offset value; setting values corresponding to all the difference angles larger than or equal to the frequency deviation value in the second difference angle sequence as first values, setting values corresponding to all the difference angles smaller than the frequency deviation value in the second difference angle sequence as second values, and determining the sequence obtained after processing based on the first values and the second values.
Further, the synchronization position determining module 330 may be specifically configured to: determining a second correlation value between the processed sequence and a local sequence with the same length, and moving the second differential angle sequence to the right for preset times respectively to form a preset number of third differential angle sequences equal to the preset times when the second correlation value exceeds a fifth preset threshold value, wherein different numbers of sampling points are moved to the right each time; and determining third correlation values corresponding to the third differential angle sequences respectively, taking the initial sampling point of the third differential angle sequence corresponding to the maximum third correlation value as the synchronous position of the received signal, and taking the frequency offset value corresponding to the third differential angle sequence corresponding to the maximum third correlation value as the final frequency offset value.
The signal synchronization position determining apparatus provided in this embodiment is applicable to the signal synchronization position determining method provided in any of the above embodiments, and has corresponding functions and advantageous effects.
Example four
Fig. 4 is a schematic structural diagram of a computer device according to a fourth embodiment of the present invention, as shown in fig. 4, the computer device includes a processor 410, a storage device 420, and a communication device 430; the number of the processors 410 in the computer device may be one or more, and one processor 410 is taken as an example in fig. 4; the processor 410, the storage 420 and the communication means 430 in the computer device may be connected by a bus or other means, and fig. 4 illustrates the connection by a bus as an example.
The storage device 420, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the signal synchronization position determination method in the embodiment of the present invention (e.g., the differential angle determination module 310, the offset value determination module 320, and the synchronization position determination module 330 used in the signal synchronization position determination device). The processor 410 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the storage 420, that is, implements the signal synchronization position determination method described above.
The storage device 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the storage 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 420 may further include memory located remotely from the processor 410, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
And a communication device 430 for implementing a network connection or a mobile data connection between the servers.
The computer device provided by the embodiment can be used for executing the signal synchronization position determination method provided by any embodiment, and has corresponding functions and beneficial effects.
EXAMPLE five
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method for determining a signal synchronization position in any embodiment of the present invention is implemented, where the method specifically includes:
determining a corresponding differential angle between adjacent symbols of the received signal;
determining whether the received signal contains a preamble sequence according to the differential angle, and determining a corresponding frequency offset value when the received signal contains the preamble sequence;
and processing the differential angle according to the frequency offset value, calculating a correlation value of the processed sequence and a local sequence with the same length, and determining the synchronous position of the received signal according to the calculated result.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the signal synchronization position determination method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the signal synchronization position determining apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. A signal synchronization position determining method, comprising:
determining a corresponding differential angle between adjacent symbols of the received signal;
determining whether the received signal contains a preamble sequence according to the differential angle, and determining a corresponding frequency offset value when the received signal contains the preamble sequence;
processing the differential angle according to the frequency offset value, calculating a correlation value of a sequence obtained after processing and a local sequence with the same length, and determining the synchronous position of the received signal according to a result obtained by calculation;
determining a corresponding frequency offset value when the preamble sequence is included, comprising:
when the received signal is determined to contain the preamble sequence, solving a difference angle average value corresponding to a current first difference angle sequence, and taking the average value as a current frequency offset initial value, wherein the first difference angle sequence is obtained by combining all difference angles to obtain a difference angle sequence and selecting the difference angle sequence from the difference angle sequence;
and determining a frequency offset value corresponding to the current first difference angle sequence according to the current frequency offset initial value and a first frequency offset initial value corresponding to a first difference angle sequence positioned in front of the current first difference angle sequence.
2. The method of claim 1, wherein the determining whether the received signal includes a preamble sequence according to the differential angle comprises:
combining all the differential angles to obtain a differential angle sequence, selecting a first differential angle sequence from the differential angle sequence, and calculating a correlation value of the first differential angle sequence to obtain a first correlation value corresponding to the first differential angle sequence;
when the first correlation value is smaller than or equal to a first preset threshold value, updating a first correlation length corresponding to the first correlation value;
and if the updated first correlation length is larger than a second preset threshold value, determining that the received signal contains a preamble sequence.
3. The method of claim 2, further comprising:
when the first correlation value is greater than the first preset threshold, if the first correlation length exceeds a third preset threshold, updating the first correlation length and a second correlation length corresponding to the first correlation value, wherein the second correlation length is less than the first correlation length;
and if the updated second correlation length exceeds a fourth preset threshold, carrying out zero clearing operation on the updated first correlation length and the updated second correlation length, and moving the first differential angle sequence to the right by a first preset number of sampling points to obtain a new first differential angle sequence with the same length as the first differential angle sequence, wherein each sampling point corresponds to one differential angle.
4. The method of claim 3, wherein the processing the differential angle according to the frequency offset value comprises:
selecting a second preset number of differential angles from the differential angle sequence to form a second differential angle sequence;
and carrying out hard decision on each differential angle in the second differential angle sequence based on the frequency offset value, and determining the sequence obtained after the processing.
5. The method of claim 4, wherein the hard-deciding each difference angle in the second sequence of difference angles based on the frequency offset value, and determining the processed sequence comprises:
determining a magnitude relationship between each differential angle in the second sequence of differential angles and the frequency offset value;
setting values corresponding to all the difference angles larger than or equal to the frequency deviation value in the second difference angle sequence as first values, setting values corresponding to all the difference angles smaller than the frequency deviation value in the second difference angle sequence as second values, and determining the sequence obtained after processing based on the first values and the second values.
6. The method of claim 5, wherein the calculating the correlation value between the processed sequence and the local sequence with the same length, and determining the synchronization position of the received signal according to the calculated result comprises:
determining a second correlation value between the processed sequence and a local sequence with the same length, and moving the second differential angle sequence to the right for preset times respectively to form a preset number of third differential angle sequences equal to the preset times when the second correlation value exceeds a fifth preset threshold value, wherein different numbers of sampling points are moved to the right each time;
and determining third correlation values corresponding to the third differential angle sequences respectively, taking the initial sampling point of the third differential angle sequence corresponding to the maximum third correlation value as the synchronous position of the received signal, and taking the frequency offset value corresponding to the third differential angle sequence corresponding to the maximum third correlation value as the final frequency offset value.
7. A signal synchronization position determining apparatus, comprising:
the differential angle determining module is used for determining corresponding differential angles between adjacent symbols of the received signals;
an offset value determining module, configured to determine whether the received signal includes a preamble sequence according to the differential angle, and determine a corresponding frequency offset value when the received signal includes the preamble sequence;
a synchronous position determining module, configured to process the differential angle according to the frequency offset value, perform correlation value calculation on the processed sequence and a local sequence with the same length, and determine a synchronous position of the received signal according to a result obtained by the calculation;
the offset value determining module is configured to: when the received signal is determined to contain the preamble sequence, solving a difference angle average value corresponding to a current first difference angle sequence, and taking the average value as a current frequency offset initial value, wherein the first difference angle sequence is obtained by combining all difference angles to obtain a difference angle sequence and selecting the difference angle sequence from the difference angle sequence; and determining a frequency offset value corresponding to the current first difference angle sequence according to the current frequency offset initial value and a first frequency offset initial value corresponding to a first difference angle sequence positioned in front of the current first difference angle sequence.
8. A computer device, characterized in that the computer device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202110369784.5A 2021-04-07 2021-04-07 Signal synchronization position determining method, device, equipment and storage medium Active CN112769723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110369784.5A CN112769723B (en) 2021-04-07 2021-04-07 Signal synchronization position determining method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110369784.5A CN112769723B (en) 2021-04-07 2021-04-07 Signal synchronization position determining method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112769723A CN112769723A (en) 2021-05-07
CN112769723B true CN112769723B (en) 2021-07-16

Family

ID=75691360

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110369784.5A Active CN112769723B (en) 2021-04-07 2021-04-07 Signal synchronization position determining method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112769723B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7224666B2 (en) * 2002-05-13 2007-05-29 Texas Instruments Incorporated Estimating frequency offsets using pilot tones in an OFDM system
CN101309250A (en) * 2008-06-10 2008-11-19 广州杰赛科技股份有限公司 Timing synchronizing method and apparatus for communication system and receiver
US8755462B2 (en) * 2010-09-17 2014-06-17 Vecima Networks Inc. Frequency offset estimator for upstream cable signals
CN108683625A (en) * 2018-07-27 2018-10-19 上海华虹集成电路有限责任公司 A kind of data packet detection method of low-power consumption bluetooth LE Coded PHY
CN110278168A (en) * 2018-03-13 2019-09-24 意法半导体国际有限公司 For the carrier frequency offset compensation circuit of communication sink and processing
CN111970673A (en) * 2020-10-22 2020-11-20 易兆微电子(杭州)股份有限公司 Bluetooth timing synchronization method and device, computer equipment and storage medium
CN112134825A (en) * 2020-09-21 2020-12-25 易兆微电子(杭州)股份有限公司 Low-complexity high-performance GFSK baseband timing synchronization method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2945857C (en) * 2014-04-16 2023-10-24 Shanghai National Engineering Research Center Of Digital Television Co., Ltd. Preamble symbol receiving method and device
CN110868237B (en) * 2019-11-21 2021-08-24 Oppo广东移动通信有限公司 Signal synchronization method and device and computer storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7224666B2 (en) * 2002-05-13 2007-05-29 Texas Instruments Incorporated Estimating frequency offsets using pilot tones in an OFDM system
CN101309250A (en) * 2008-06-10 2008-11-19 广州杰赛科技股份有限公司 Timing synchronizing method and apparatus for communication system and receiver
US8755462B2 (en) * 2010-09-17 2014-06-17 Vecima Networks Inc. Frequency offset estimator for upstream cable signals
CN110278168A (en) * 2018-03-13 2019-09-24 意法半导体国际有限公司 For the carrier frequency offset compensation circuit of communication sink and processing
CN108683625A (en) * 2018-07-27 2018-10-19 上海华虹集成电路有限责任公司 A kind of data packet detection method of low-power consumption bluetooth LE Coded PHY
CN112134825A (en) * 2020-09-21 2020-12-25 易兆微电子(杭州)股份有限公司 Low-complexity high-performance GFSK baseband timing synchronization method
CN111970673A (en) * 2020-10-22 2020-11-20 易兆微电子(杭州)股份有限公司 Bluetooth timing synchronization method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN112769723A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US7756225B2 (en) Device and method for preamble detection and frame synchronization in data packet transmission
CN107306242B (en) Carrier phase recovery method and device
CN110493820B (en) Transmission delay evaluation method, device, communication node and storage medium
CN1061186C (en) Demodulator for manchester-coded FM signals
WO2018161505A1 (en) Method and device for determining symbol position of primary synchronization signal, and storage medium
CN112769723B (en) Signal synchronization position determining method, device, equipment and storage medium
CN114244668B (en) Multichannel signal demodulation method and device, computer equipment and storage medium
KR19980079997A (en) Error rate estimator
CN110601718A (en) Spread spectrum communication capturing method, device and system
CN110677364A (en) Method and device for detecting main synchronization signal
CN106878213B (en) LTE uplink frequency offset estimation method
CN111970673B (en) Bluetooth timing synchronization method and device, computer equipment and storage medium
CN111092849A (en) Traffic-based detection method and device for distributed denial of service
JP4202259B2 (en) Method and apparatus for establishing synchronization using a synchronization signal
CN113014362B (en) Preamble sequence detection method, device, equipment and storage medium
CN113765838B (en) DPSK signal demodulation method, device, equipment and storage medium
US9942061B2 (en) Multipath selection method and device, and storage medium
CN114071442B (en) Bluetooth signal frequency offset selection method, device and storage medium
CN115796300A (en) Security state game method, system, terminal and medium for CPSs under DoS attack
CN113497774A (en) Frequency offset estimation method and device, electronic equipment and computer readable medium
CN115086126B (en) GMSK signal-based synchronization method, device and computer-readable storage medium
CN111103602A (en) Doppler frequency offset processing method and device and terminal
CN1783752B (en) Method for obtaining broadcast information position in time-division duplex mobile communication system
CN107004117B (en) Method for detecting transmission sequence, receiver and receiving equipment
JP6649486B2 (en) TDMA communication device and TDMA communication method

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