CN111970673A - Bluetooth timing synchronization method and device, computer equipment and storage medium - Google Patents

Bluetooth timing synchronization method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN111970673A
CN111970673A CN202011135734.2A CN202011135734A CN111970673A CN 111970673 A CN111970673 A CN 111970673A CN 202011135734 A CN202011135734 A CN 202011135734A CN 111970673 A CN111970673 A CN 111970673A
Authority
CN
China
Prior art keywords
sequence
determining
differential
correlation value
value
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.)
Granted
Application number
CN202011135734.2A
Other languages
Chinese (zh)
Other versions
CN111970673B (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 CN202011135734.2A priority Critical patent/CN111970673B/en
Publication of CN111970673A publication Critical patent/CN111970673A/en
Application granted granted Critical
Publication of CN111970673B publication Critical patent/CN111970673B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details

Landscapes

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

Abstract

The embodiment of the invention discloses a Bluetooth timing synchronization method, a Bluetooth timing synchronization device, computer equipment and a storage medium. The method comprises the following steps: determining a differential angle between symbols of a sampling interval in a bluetooth access code; determining a first quantity of first continuous code elements from the selected first sampling point, and determining a first differential angle sequence of the first continuous code elements; determining whether a first correlation value between the first differential angle sequence and the first continuous symbol is greater than a preset threshold value; if so, determining a preset number of second sampling points behind the first sampling point; determining a second number of second consecutive symbols and a second sequence of differential angles thereof starting from each second sample point; determining a second correlation value between a second differential angle sequence corresponding to each second sampling point and a second continuous code element, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point; and performing Bluetooth timing synchronization based on the optimal synchronization point. The accuracy of the digital synchronization of the Bluetooth receiver is improved, and meanwhile, the calculation complexity is also reduced.

Description

Bluetooth timing synchronization method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of wireless communication, in particular to a Bluetooth timing synchronization method, a Bluetooth timing synchronization device, computer equipment and a storage medium.
Background
The bluetooth technology establishes a general short-distance wireless interface for the communication environment between fixed equipment or mobile equipment, and further combines the communication technology with the computer technology, so that various equipment can realize mutual communication or operation in a short-distance range under the condition of no mutual connection of wires or cables.
The modulation mode adopted by the bluetooth communication is Gaussian binary Frequency shift keying (GFSK), namely, a binary data stream waveform is smoothed by a Gaussian filter and then subjected to Frequency modulation, but the modulation index of the bluetooth GFSK modulation mode is not fixed, the modulation index is 0.28-0.35 in a Basic Rate mode and 0.45-0.55 in a BLE mode, and the GFSK coherent demodulation algorithm needs to estimate the modulation index in advance to construct a local waveform. The existing Bluetooth digital baseband synchronization scheme has higher probability of false detection and packet loss; and coherent demodulation has the problems of unknown modulation index and inaccurate frequency offset estimation, so that the performance cannot reach the optimum.
Disclosure of Invention
The embodiment of the invention provides a Bluetooth timing synchronization method, a Bluetooth timing synchronization device, computer equipment and a storage medium, which are used for improving the accuracy of digital synchronization of a Bluetooth receiver.
In a first aspect, an embodiment of the present invention provides a bluetooth timing synchronization method, where the method includes:
A. determining a differential angle between symbols of a sampling interval in a bluetooth access code;
B. selecting a first sampling point from the Bluetooth access code;
C. determining a first number of first continuous symbols starting from the first sampling point, and determining a first differential angle sequence of the first continuous symbols, wherein the first differential angle sequence is a sequence of differential angles in which a differential angle of each symbol in the first continuous symbols is sequentially arranged corresponding to the first continuous symbols;
D. determining whether a first correlation value between the first differential angle sequence and the first consecutive symbol is greater than a preset threshold value; if not, updating the first sampling point to be the next adjacent sampling point and then returning to execute the step C; if so, determining a preset number of second sampling points behind the first sampling point;
E. determining a second number of second consecutive symbols starting from each of the second sampling points, and determining a second sequence of difference angles for the second consecutive symbols, the second sequence of difference angles being a sequence of difference angles for each of the second consecutive symbols arranged sequentially corresponding to the second consecutive symbols;
F. determining a second correlation value between the second differential angle sequence and the second continuous code element corresponding to each second sampling point, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point;
G. and performing Bluetooth timing synchronization based on the optimal synchronization point.
In a second aspect, an embodiment of the present invention further provides a bluetooth timing synchronization apparatus, where the apparatus includes:
the differential angle determining module is used for determining the differential angle between the code elements of the sampling interval in the Bluetooth access code;
the first sampling point selecting module is used for selecting a first sampling point from the Bluetooth access code;
a first differential angle sequence determining module, configured to determine a first number of first consecutive symbols from the first sampling point, and determine a first differential angle sequence of the first consecutive symbols, where the first differential angle sequence is a sequence of differential angles in which differential angles of each symbol in the first consecutive symbols are sequentially arranged corresponding to the first consecutive symbols;
a first correlation value determining module, configured to determine whether a first correlation value between the first difference angle sequence and the first continuous symbol is greater than a preset threshold value; if not, the first sampling point is updated to be the next adjacent sampling point, and then the first differential angle sequence determining module is returned to continue to execute; if so, determining a preset number of second sampling points behind the first sampling point;
a second differential angle sequence determining module, configured to determine a second number of second consecutive symbols from each second sampling point, and determine a second differential angle sequence of the second consecutive symbols, where the second differential angle sequence is a sequence of differential angles in which a differential angle of each symbol in the second consecutive symbols is sequentially arranged corresponding to the second consecutive symbols;
an optimal synchronization point determining module, configured to determine a second correlation value between the second differential angle sequence and the second consecutive symbol corresponding to each second sampling point, and use a second sampling point with a largest second correlation value as an optimal synchronization point;
and the timing synchronization module is used for carrying out Bluetooth timing synchronization based on the optimal synchronization point.
In a third aspect, an embodiment of the present invention further provides a computer device, where the computer device includes:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a bluetooth timing synchronization method as provided by any of the embodiments of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the bluetooth timing synchronization method provided in any embodiment of the present invention.
The embodiment of the invention provides a Bluetooth timing synchronization method, firstly determining a differential angle between code elements at a distance sampling interval in a Bluetooth access code, then a first sampling point is selected in the Bluetooth access code, a first number of first continuous symbols and a first differential angle sequence of the first continuous symbols are determined, then if a first correlation value between the first sequence of differential angles and the first consecutive symbol is greater than a predetermined threshold value, determining a preset number of second sample points after the first sample point, also determining a second number of second consecutive symbols after each second sample point and a second differential angular sequence of the second consecutive symbols, and determining a second correlation value between the second sequence of differential angles and a second consecutive symbol corresponding to each second sampling point, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point and carrying out Bluetooth timing synchronization based on the synchronization point. The technical scheme provided by the embodiment of the invention can effectively improve the accuracy of the digital synchronization of the Bluetooth receiver and greatly reduce the complexity of the calculation process.
Drawings
Fig. 1 is a flowchart of a bluetooth timing synchronization method according to an embodiment of the present invention;
fig. 2 is a flowchart of a bluetooth timing synchronization method according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a bluetooth timing synchronization 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.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a bluetooth timing synchronization method according to an embodiment of the present invention. The embodiment is applicable to the timing synchronization of various bluetooth receiver digital basebands, and the method can be executed by the bluetooth timing synchronization device provided by the embodiment of the invention, and the device can be realized by hardware and/or software, and can be generally integrated in computer equipment. As shown in fig. 1, the method specifically comprises the following steps:
and S11, determining the differential angle between the symbols of the sampling interval in the Bluetooth access code.
Wherein the bluetooth receiving device may pre-write each BB-PDU prior to transmitting it over the bluetooth air interface by using the bluetooth access code to identify the received packet. A symbol may be regarded as an independent unit containing a certain amount of information, and in digital communication, a number is often represented by a symbol with the same time interval, and a signal in such a time interval is a symbol, and optionally, the symbol in this embodiment is a binary symbol. The differential angles, i.e. phase differences, in this embodiment, each differential angle may be determined according to the phase difference between every two symbols away from the sampling interval, and the determined phase difference may be used as the differential angle corresponding to the next symbol, where the sampling interval may be an interval determined according to the sampling rate, for example, if the sampling rate is 12 mhz, all the differential angles in the bluetooth access code may be determined according to the phase difference between every two symbols away from 12 (e.g. 13 th and 1 st, 14 th and 2 nd, and so on to the end of the bluetooth access code). Optionally, after the differential angle is determined, it may be smoothed by passing it through a corresponding matched filter.
And S12, selecting a first sampling point in the Bluetooth access code.
Specifically, the first sampling point corresponds to a position of a code element, and may be randomly selected from the bluetooth access code, specifically, may be a position closer to the front end, so as to search for the optimal synchronization point backwards.
S13, a first number of first consecutive symbols is determined from the first sampling point, and a first sequence of difference angles of the first consecutive symbols is determined, the first sequence of difference angles being a sequence of difference angles in which the difference angle of each symbol in the first consecutive symbol is arranged in order corresponding to the first consecutive symbol.
Specifically, after the first sampling point is determined, a first number of consecutive symbols may be determined backward as a first consecutive symbol from the first sampling point. Then, the differential angle corresponding to each symbol in the first continuous symbol can be found from the determination result of the differential angles, and the required first differential angle sequence can be obtained by arranging the differential angles according to the sequence of the first continuous symbol.
S14, determining whether a first correlation value between the first differential angle sequence and the first consecutive symbol is greater than a preset threshold value. If not, go to S15; if so, S16 is executed.
Wherein, optionally, the first correlation value comprises a soft correlation value and a hard correlation value; correspondingly, determining whether a first correlation value between the first differential angle sequence and the first continuous symbol is greater than a preset threshold value includes: determining a first frequency offset value based on the first sample point from the first sequence of differential angles and the first continuous symbol; determining a soft correlation value between the first differential angular sequence and the first continuous symbol according to the first frequency offset value; hard judgment is carried out on the first difference angle sequence according to the first frequency offset value, and a hard correlation value is determined according to the first difference angle sequence after the hard judgment; it is determined whether the soft correlation value is greater than a first threshold value and the hard correlation value is greater than a second threshold value.
Specifically, a first frequency offset value may be determined based on the first sampling point and the selected first continuous symbol, and then after the soft correlation value and the hard correlation value between the first differential angle sequence and the first continuous symbol are obtained through calculation, the influence of the frequency offset on the correlation value result may be removed according to the first frequency offset value. And judging whether the soft correlation value and the hard correlation value are respectively larger than a first threshold value and a second threshold value, if so, determining that the first correlation value between the first differential angle sequence and the first continuous code element is larger than a preset threshold value, otherwise, determining that the first correlation value between the first differential angle sequence and the first continuous code element is smaller than or equal to the preset threshold value. The first threshold may be determined according to a fixed-point process, and the second threshold may be a number of bits allowed to make an error, and may specifically be 5 or 10. In addition, the first correlation value may also only include a soft correlation value, and whether the first correlation value is greater than a preset threshold value is determined only by determining whether the soft correlation value is greater than a first threshold value, which is not specifically limited in this embodiment.
Optionally, determining a first frequency offset value based on the first sampling point according to the first differential angle sequence and the first continuous symbol includes:
Figure 742955DEST_PATH_IMAGE001
wherein,
Figure 796492DEST_PATH_IMAGE002
a first frequency offset value is indicated and,
Figure 543869DEST_PATH_IMAGE003
indicating the position of the first sample point in the bluetooth access code,
Figure 957532DEST_PATH_IMAGE004
representing the respective differential angles in the first sequence of differential angles,
Figure 44437DEST_PATH_IMAGE005
the first number is represented by a first number,
Figure 252565DEST_PATH_IMAGE006
representing the difference in the number of occurrences of a 1 and a 0 in the first consecutive symbol,
Figure 465066DEST_PATH_IMAGE007
representing a preset frequency compensation value, wherein the size of the preset frequency compensation value can also be determined according to a fixed-point process; determining soft correlation values between the first sequence of differential angles and the first continuous symbol based on the first frequency offset value, comprising:
Figure 948000DEST_PATH_IMAGE008
wherein,
Figure 686149DEST_PATH_IMAGE009
a value indicative of a soft correlation value is determined,
Figure 534019DEST_PATH_IMAGE010
a first sequence of differential angles is represented,
Figure 255987DEST_PATH_IMAGE011
a bi-polar code representing a first continuous symbol,
Figure 762186DEST_PATH_IMAGE006
representing the difference in the number of occurrences of a 1 and a 0 in the first consecutive symbol,
Figure 823683DEST_PATH_IMAGE002
representing a first frequency offset value; the hard judgment of the first difference angle sequence is carried out according to the first frequency offset value, and a hard correlation value is determined according to the first difference angle sequence after the hard judgment, and the method comprises the following steps:
Figure 904771DEST_PATH_IMAGE012
Figure 582877DEST_PATH_IMAGE013
wherein,
Figure 345297DEST_PATH_IMAGE014
a hard-related value is represented that is,
Figure 58038DEST_PATH_IMAGE004
representing the respective differential angles in the first sequence of differential angles,
Figure 559296DEST_PATH_IMAGE015
hard decision values representing respective differential angles in the first sequence of differential angles,
Figure 990277DEST_PATH_IMAGE016
representing the hard decided first differential angle sequence,
Figure 290808DEST_PATH_IMAGE011
a bi-polar code representing a first continuous symbol,
Figure 123635DEST_PATH_IMAGE017
a first frequency offset value is indicated.
And S15, updating the first sampling point to the next adjacent sampling point, and then returning to execute S13.
If the first correlation value is less than or equal to the preset threshold value, moving a sampling point backwards to re-determine the first sampling point, re-obtaining the first continuous code element and the first differential angle sequence, and re-judging whether the first correlation value between the first differential angle sequence and the first continuous code element is greater than the preset threshold value or not, until the obtained first correlation value is greater than the preset threshold value, and triggering the subsequent steps.
And S16, determining a preset number of second sampling points after the first sampling point.
After the appropriate first sampling point is determined, a preset number of symbols consecutive after the first sampling point may be used as second sampling points, so as to obtain a corresponding second correlation value for each second sampling point by using the steps similar to the above steps.
S17, determining a second number of second consecutive symbols from each second sampling point, and determining a second sequence of difference angles for the second consecutive symbols, the second sequence of difference angles being a sequence of difference angles in which the difference angle for each symbol in the second consecutive symbols is arranged in order corresponding to the second consecutive symbols.
Specifically, for each second sampling point, a second number of consecutive symbols may be determined backward as a second consecutive symbol from the second sampling point. Then, the differential angle corresponding to each symbol in the second continuous symbols can be found out from the determination result of the differential angles, and the required second differential angle sequence can be obtained by arranging the differential angles according to the sequence of the second continuous symbols. Wherein the second number may be the same as the first number.
And S18, determining a second correlation value between the second differential angle sequence corresponding to each second sampling point and the second continuous code element, and taking the second sampling point with the maximum second correlation value as the optimal synchronization point.
Specifically, the determining process of the second correlation value may refer to the determining process of the soft correlation value, and after the second correlation values corresponding to all the second sampling points are determined, the second sampling point with the largest second correlation value may be used as the optimal synchronization point. Optionally, after determining a second correlation value between the second differential angle sequence and the second consecutive symbol corresponding to each second sampling point, and taking the second sampling point with the largest second correlation value as the optimal synchronization point, the method further includes: and estimating the frequency offset of the Bluetooth access code according to the second differential angle sequence and the second continuous code element corresponding to the optimal synchronization point.
Optionally, determining a second correlation value between the second differential angle sequence corresponding to each second sampling point and the second consecutive symbol includes: determining a second frequency offset value based on a second sample point from the second sequence of differential angles and the second consecutive symbol; determining a second correlation value between the second sequence of difference angles and the second consecutive symbol according to the second frequency offset value; correspondingly, estimating the frequency offset of the bluetooth access code according to the second differential angle sequence and the second continuous code element corresponding to the optimal synchronization point, includes: and taking the second frequency offset value corresponding to the optimal synchronization point as the estimated frequency offset.
Specifically, the second frequency offset value may be calculated by using the following formula:
Figure 280947DEST_PATH_IMAGE001
wherein,
Figure 136907DEST_PATH_IMAGE002
a second frequency offset value is indicated and,
Figure 788600DEST_PATH_IMAGE003
indicating the location of the second sample point in the bluetooth access code,
Figure 741512DEST_PATH_IMAGE004
representing the respective differential angles in the second sequence of differential angles,
Figure 272988DEST_PATH_IMAGE005
the second number is represented by a second number,
Figure 412982DEST_PATH_IMAGE006
representing the difference in the number of occurrences of a 1 and a 0 in a second consecutive symbol,
Figure 117633DEST_PATH_IMAGE007
representing a preset frequency compensation value. The second correlation value may then be calculated according to the following equation:
Figure 862735DEST_PATH_IMAGE018
wherein,
Figure 611117DEST_PATH_IMAGE019
a second correlation value is represented that is representative of,
Figure 238407DEST_PATH_IMAGE010
a second sequence of differential angles is represented,
Figure 746749DEST_PATH_IMAGE011
a bi-polar code representing a second consecutive symbol,
Figure 611937DEST_PATH_IMAGE006
representing the difference in the number of occurrences of a 1 and a 0 in a second consecutive symbol,
Figure 281953DEST_PATH_IMAGE002
indicating a second frequency offset value. According to the above formula, the influence of the frequency offset on the correlation value result can be removed, that is, after the optimal synchronization point is determined according to the magnitude of the second correlation value, the second frequency offset value corresponding to the optimal synchronization point can be used as the estimated value, which is equivalent to that the second frequency offset value is obtained before the second correlation value is calculatedAnd estimating the frequency offset of the Bluetooth access code according to the second differential angle sequence and the second continuous code element corresponding to the optimal synchronization point. Of course, the optimal synchronization point may also be determined by other methods, and then the frequency offset corresponding to the optimal synchronization point is calculated by using the calculation formula of the second frequency offset value, so that the frequency offset can be estimated while the timing synchronization is performed, and the calculation complexity is low.
And S19, performing Bluetooth timing synchronization based on the optimal synchronization point.
The best synchronization point is a code element which has the same frequency as the code element timing pulse frequency of the Bluetooth sending end and the same phase with the best sampling time, namely, the best synchronization point is used as the reference to determine the initial position of synchronization to carry out timing synchronization on the Bluetooth. Correspondingly, timing synchronization can be carried out on the Bluetooth together according to the estimated frequency offset so as to compensate the frequency offset.
The technical proposal provided by the embodiment of the invention firstly determines the differential angle between the code elements which are separated from the sampling interval in the Bluetooth access code, then a first sampling point is selected in the Bluetooth access code, a first number of first continuous symbols and a first differential angle sequence of the first continuous symbols are determined, then if a first correlation value between the first sequence of differential angles and the first consecutive symbol is greater than a predetermined threshold value, determining a preset number of second sample points after the first sample point, also determining a second number of second consecutive symbols after each second sample point and a second differential angular sequence of the second consecutive symbols, and determining a second correlation value between the second sequence of differential angles and a second consecutive symbol corresponding to each second sampling point, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point and carrying out Bluetooth timing synchronization based on the synchronization point. The technical scheme provided by the embodiment of the invention can effectively improve the accuracy of the digital synchronization of the Bluetooth receiver and greatly reduce the complexity of the calculation process.
Example two
Fig. 2 is a flowchart of a bluetooth timing synchronization method according to a second embodiment of the present invention. The technical solution of this embodiment is further refined on the basis of the above technical solution, and optionally, after determining a second correlation value between a second differential angle sequence and a second continuous symbol corresponding to each second sampling point, and taking a second sampling point with a maximum second correlation value as an optimal synchronization point, the method further includes: deducing the approximate relation between the difference angle between adjacent code elements in the Bluetooth access code and the code elements according to a Gaussian frequency shift keying modulation formula; and determining an estimated value of the modulation index according to the second correlation value corresponding to the optimal synchronization point and the approximate relation, thereby realizing the estimation of the modulation index while timing synchronization. Correspondingly, as shown in fig. 2, the method specifically includes the following steps:
s201, determining a differential angle between the code elements of the sampling interval in the Bluetooth access code.
S202, selecting a first sampling point from the Bluetooth access code.
S203, determining a first number of first continuous symbols from the first sampling point, and determining a first differential angle sequence of the first continuous symbols, wherein the first differential angle sequence is a sequence of differential angles in which the differential angle of each symbol in the first continuous symbols is sequentially arranged corresponding to the first continuous symbols.
S204, whether a first correlation value between the first difference angle sequence and the first continuous code element is larger than a preset threshold value or not is determined. If not, executing S205; if so, S206 is performed.
And S205, the first sampling point is updated to the next adjacent sampling point, and then the step of S203 is executed.
And S206, determining a preset number of second sampling points after the first sampling point.
S207, a second number of second consecutive symbols is determined from each second sampling point, and a second differential angle sequence of the second consecutive symbols is determined, where the second differential angle sequence is a sequence of differential angles in which the differential angle of each symbol in the second consecutive symbols is sequentially arranged corresponding to the second consecutive symbols.
And S208, determining a second correlation value between the second differential angle sequence corresponding to each second sampling point and the second continuous code element, and taking the second sampling point with the maximum second correlation value as the optimal synchronization point.
And S209, deducing the approximate relation between the differential angle between the adjacent code elements in the Bluetooth access code and the code elements according to a Gaussian frequency shift keying modulation formula.
The Gaussian frequency shift keying modulation formula is as follows:
Figure 147272DEST_PATH_IMAGE020
wherein,
Figure 193725DEST_PATH_IMAGE021
which represents the baseband signal, is a digital signal,
Figure 913419DEST_PATH_IMAGE022
which is indicative of the modulation index,
Figure 754336DEST_PATH_IMAGE003
indicating the location of the sample point,
Figure 356219DEST_PATH_IMAGE023
it is shown that the bi-polar code,
Figure 144047DEST_PATH_IMAGE024
represents a time domain representation of a gaussian filter,
Figure 764253DEST_PATH_IMAGE025
indicating the symbol interval. The approximate relation between the difference angle between the adjacent code elements and the code elements can be deduced according to the formula. Specifically, the approximate relationship includes:
Figure 41650DEST_PATH_IMAGE026
wherein,
Figure 334091DEST_PATH_IMAGE027
representing the differential angle between adjacent symbols,
Figure 456768DEST_PATH_IMAGE022
which is indicative of the modulation index,
Figure 213371DEST_PATH_IMAGE028
and
Figure 146824DEST_PATH_IMAGE029
represents a constant associated with the gaussian filter and,
Figure 660981DEST_PATH_IMAGE030
a bipolar code representing adjacent three symbols. In particular, from this approximate relationship, the absolute value of the differential angle between adjacent symbols can be derived
Figure 852928DEST_PATH_IMAGE031
By using
Figure 198459DEST_PATH_IMAGE028
And
Figure 755342DEST_PATH_IMAGE029
the possible values of the representation are three in total, namely
Figure 819113DEST_PATH_IMAGE032
Figure 804299DEST_PATH_IMAGE033
And
Figure 207598DEST_PATH_IMAGE034
can be respectively recorded as
Figure 732121DEST_PATH_IMAGE035
Figure 283188DEST_PATH_IMAGE036
And
Figure 20200DEST_PATH_IMAGE037
s210, determining an estimated value of the modulation index according to a second correlation value corresponding to the optimal synchronization point and the approximate relation.
Optionally, determining an estimated value of the modulation index according to the second correlation value and the approximate relationship corresponding to the optimal synchronization point includes:
Figure 74743DEST_PATH_IMAGE038
wherein,
Figure 786478DEST_PATH_IMAGE039
an estimate value representing the modulation index is shown,
Figure 762525DEST_PATH_IMAGE040
a second correlation value representing the correspondence of the best synchronization point,
Figure 834386DEST_PATH_IMAGE041
which represents a scaling factor, is the ratio of the scaling factor,
Figure 9015DEST_PATH_IMAGE035
Figure 140919DEST_PATH_IMAGE036
and
Figure 338682DEST_PATH_IMAGE037
the absolute value representing the difference angle between adjacent symbols derived from the approximate relationship is based on
Figure 463502DEST_PATH_IMAGE028
And
Figure 492638DEST_PATH_IMAGE029
three values of (a) are selected,
Figure 998706DEST_PATH_IMAGE042
Figure 480503DEST_PATH_IMAGE043
and
Figure 159746DEST_PATH_IMAGE044
indicating that a new sequence is formed by adding 0 to the head and tail of the Bluetooth access code respectivelyAfter that, the numbers of AAA (000/111), AAB (001/110/011/100) and ABA (010/101) appearing in each adjacent 3 bits are counted in the new sequence.
Specifically, after the optimal synchronization point is determined, the modulation index can be estimated according to a second correlation value corresponding to the optimal synchronization point, first, 0 is added to the head and the tail of the bluetooth access code to form a new sequence, and then, the times of occurrence of AAA (000/111), AAB (001/110/011/100) and ABA (010/101) of every adjacent 3 bits in the new sequence are counted to obtain the times of occurrence of AAA (000/111), AAB (001/110/011/100) and ABA (010/101) of each adjacent 3 bits in the new sequence
Figure 794120DEST_PATH_IMAGE042
Figure 471089DEST_PATH_IMAGE043
And
Figure 705762DEST_PATH_IMAGE044
then, the second correlation value corresponding to the optimal synchronization point is calculated,
Figure 923116DEST_PATH_IMAGE042
Figure 864528DEST_PATH_IMAGE043
Figure 509136DEST_PATH_IMAGE044
And determined as above
Figure 214792DEST_PATH_IMAGE035
Figure 235838DEST_PATH_IMAGE036
And
Figure 297335DEST_PATH_IMAGE037
and substituting the modulation index into a formula to calculate and obtain an estimated value of the modulation index.
The technical scheme provided by the embodiment of the invention realizes the estimation of the modulation index while timing synchronization, the calculation complexity is far lower than that of the existing MMSE modulation index estimation scheme, and the accuracy of the modulation index estimation value is higher.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a bluetooth timing synchronization apparatus according to a third embodiment of the present invention, where the apparatus may be implemented by hardware and/or software, and may be generally integrated in a computer device. As shown in fig. 3, the apparatus includes:
a differential angle determining module 31, configured to determine a differential angle between symbols of a sampling interval in the bluetooth access code;
a first sampling point selecting module 32, configured to select a first sampling point from the bluetooth access code;
a first differential angle sequence determining module 33, configured to determine a first number of first consecutive symbols from the first sampling point, and determine a first differential angle sequence of the first consecutive symbols, where the first differential angle sequence is a sequence of differential angles in which a differential angle of each symbol in the first consecutive symbols is sequentially arranged corresponding to the first consecutive symbols;
a first correlation value determining module 34, configured to determine whether a first correlation value between the first difference angle sequence and the first continuous symbol is greater than a preset threshold value; if not, the first sampling point is updated to be the next adjacent sampling point, and then the first differential angle sequence determining module is returned to continue to execute; if so, determining a preset number of second sampling points behind the first sampling point;
a second difference angle sequence determining module 35, configured to determine a second number of second consecutive symbols from each second sampling point, and determine a second difference angle sequence of the second consecutive symbols, where the second difference angle sequence is a sequence of difference angles in which a difference angle of each symbol in the second consecutive symbols corresponds to a difference angle in which the second consecutive symbols are sequentially arranged;
an optimal synchronization point determining module 36, configured to determine a second correlation value between the second differential angle sequence and the second continuous symbol corresponding to each second sampling point, and use the second sampling point with the largest second correlation value as the optimal synchronization point;
and a timing synchronization module 37, configured to perform bluetooth timing synchronization based on the optimal synchronization point.
The technical proposal provided by the embodiment of the invention firstly determines the differential angle between the code elements which are separated from the sampling interval in the Bluetooth access code, then a first sampling point is selected in the Bluetooth access code, a first number of first continuous symbols and a first differential angle sequence of the first continuous symbols are determined, then if a first correlation value between the first sequence of differential angles and the first consecutive symbol is greater than a predetermined threshold value, determining a preset number of second sample points after the first sample point, also determining a second number of second consecutive symbols after each second sample point and a second differential angular sequence of the second consecutive symbols, and determining a second correlation value between the second sequence of differential angles and a second consecutive symbol corresponding to each second sampling point, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point and carrying out Bluetooth timing synchronization based on the synchronization point. The technical scheme provided by the embodiment of the invention can effectively improve the accuracy of the digital synchronization of the Bluetooth receiver and greatly reduce the complexity of the calculation process.
On the basis of the above technical solution, optionally, the bluetooth timing synchronization apparatus further includes:
and the frequency offset estimation module is used for estimating the frequency offset of the Bluetooth access code according to the second differential angle sequence and the second continuous code element corresponding to the optimal synchronization point after determining a second correlation value between the second differential angle sequence and the second continuous code element corresponding to each second sampling point and taking the second sampling point with the maximum second correlation value as the optimal synchronization point.
On the basis of the above technical solution, optionally, the first correlation value includes a soft correlation value and a hard correlation value;
accordingly, the first correlation value determining module 34 includes:
a first frequency offset value determination unit for determining a first frequency offset value based on the first sampling point from the first differential angle sequence and the first continuous symbol;
a soft correlation value determining unit for determining a soft correlation value between the first differential angle sequence and the first consecutive symbol according to the first frequency offset value;
a hard correlation value determining unit, configured to perform hard judgment on the first difference angle sequence according to the first frequency offset value, and determine a hard correlation value according to the first difference angle sequence after the hard judgment;
and the correlation value judging unit is used for determining whether the soft correlation value is larger than a first threshold value and whether the hard correlation value is larger than a second threshold value.
On the basis of the foregoing technical solution, optionally, the first frequency offset value determining unit is specifically configured to:
Figure 847265DEST_PATH_IMAGE001
wherein,
Figure 56529DEST_PATH_IMAGE002
a first frequency offset value is indicated and,
Figure 366419DEST_PATH_IMAGE003
indicating the position of the first sample point in the bluetooth access code,
Figure 282422DEST_PATH_IMAGE004
representing the respective differential angles in the first sequence of differential angles,
Figure 534412DEST_PATH_IMAGE005
the first number is represented by a first number,
Figure 699814DEST_PATH_IMAGE006
representing the difference in the number of occurrences of a 1 and a 0 in the first consecutive symbol,
Figure 346DEST_PATH_IMAGE007
representing a preset frequency compensation value;
the soft correlation value determination unit is specifically configured to:
Figure 833173DEST_PATH_IMAGE008
wherein,
Figure 505331DEST_PATH_IMAGE009
a value indicative of a soft correlation value is determined,
Figure 361292DEST_PATH_IMAGE010
a first sequence of differential angles is represented,
Figure 262252DEST_PATH_IMAGE011
a bi-polar code representing a first continuous symbol,
Figure 215164DEST_PATH_IMAGE006
representing the difference in the number of occurrences of a 1 and a 0 in the first consecutive symbol,
Figure 543377DEST_PATH_IMAGE002
representing a first frequency offset value;
the hard correlation value determination unit is specifically configured to:
Figure 886634DEST_PATH_IMAGE012
Figure 342017DEST_PATH_IMAGE013
wherein,
Figure 883857DEST_PATH_IMAGE014
a hard-related value is represented that is,
Figure 586234DEST_PATH_IMAGE004
representing the respective differential angles in the first sequence of differential angles,
Figure 213524DEST_PATH_IMAGE015
hard decision values representing respective differential angles in the first sequence of differential angles,
Figure 721866DEST_PATH_IMAGE016
representing the hard decided first differential angle sequence,
Figure 321474DEST_PATH_IMAGE011
a bi-polar code representing a first continuous symbol,
Figure 258336DEST_PATH_IMAGE045
a first frequency offset value is indicated.
Based on the above technical solution, optionally, the optimal synchronization point determining module 36 includes:
a second frequency offset value determination unit for determining a second frequency offset value based on the second sampling point from the second differential angle sequence and the second consecutive symbol;
a second correlation value determining unit for determining a second correlation value between the second differential angle sequence and the second consecutive symbol according to the second frequency offset value;
correspondingly, the frequency offset estimation module is specifically configured to:
and taking the second frequency offset value corresponding to the optimal synchronization point as the estimated frequency offset.
On the basis of the above technical solution, optionally, the bluetooth timing synchronization apparatus further includes:
the approximate relation derivation module is used for deriving the approximate relation between the difference angle between the adjacent code elements in the Bluetooth access code and the code elements according to a Gaussian frequency shift keying modulation formula after determining a second correlation value between a second difference angle sequence corresponding to each second sampling point and a second continuous code element and taking the second sampling point with the maximum second correlation value as an optimal synchronization point;
and the modulation index estimation module is used for determining an estimation value of the modulation index according to the second correlation value corresponding to the optimal synchronization point and the approximate relation.
On the basis of the above technical solution, optionally, the approximate relationship derivation module is specifically configured to:
Figure 372922DEST_PATH_IMAGE026
wherein,
Figure 684955DEST_PATH_IMAGE027
representing the differential angle between adjacent symbols,
Figure 139070DEST_PATH_IMAGE022
which is indicative of the modulation index,
Figure 979987DEST_PATH_IMAGE028
and
Figure 598182DEST_PATH_IMAGE029
represents a constant associated with the gaussian filter and,
Figure 386009DEST_PATH_IMAGE030
a bipolar code representing adjacent three symbols;
the modulation index estimation module is specifically configured to:
Figure 756947DEST_PATH_IMAGE038
wherein,
Figure 34345DEST_PATH_IMAGE039
an estimate value representing the modulation index is shown,
Figure 123524DEST_PATH_IMAGE040
a second correlation value representing the correspondence of the best synchronization point,
Figure 449463DEST_PATH_IMAGE041
which represents a scaling factor, is the ratio of the scaling factor,
Figure 189755DEST_PATH_IMAGE035
Figure 638054DEST_PATH_IMAGE036
and
Figure 152211DEST_PATH_IMAGE037
the absolute value representing the difference angle between adjacent symbols derived from the approximate relationship is based on
Figure 344158DEST_PATH_IMAGE028
And
Figure 689689DEST_PATH_IMAGE029
three values of (a) are selected,
Figure 246572DEST_PATH_IMAGE042
Figure 61076DEST_PATH_IMAGE043
and
Figure 791134DEST_PATH_IMAGE044
the times of AAA (000/111), AAB (001/110/011/100) and ABA (010/101) appearing in each adjacent 3 bits counted in the new sequence are shown after a new sequence is formed by adding 0 to the head part and the tail part of the Bluetooth access code respectively.
The Bluetooth timing synchronization device provided by the embodiment of the invention can execute the Bluetooth timing synchronization method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
It should be noted that, in the embodiment of the bluetooth timing synchronization 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.
Example four
Fig. 4 is a schematic structural diagram of a computer device provided in the fourth embodiment of the present invention, and shows a block diagram of an exemplary computer device suitable for implementing the embodiment of the present invention. The computer device shown in fig. 4 is only an example, and should not bring any limitation to the function and the scope of use of the embodiments of the present invention. As shown in fig. 4, the computer apparatus includes a processor 41, a memory 42, an input device 43, and an output device 44; the number of the processors 41 in the computer device may be one or more, one processor 41 is taken as an example in fig. 4, the processor 41, the memory 42, the input device 43 and the output device 44 in the computer device may be connected by a bus or in other ways, and the connection by the bus is taken as an example in fig. 4.
The memory 42 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the bluetooth timing synchronization method in the embodiment of the present invention (for example, the differential angle determining module 31, the first sampling point selecting module 32, the first differential angle sequence determining module 33, the first correlation value judging module 34, the second differential angle sequence determining module 35, the optimal synchronization point determining module 36, and the timing synchronization module 37 in the bluetooth timing synchronization apparatus). The processor 41 executes various functional applications and data processing of the computer device by running software programs, instructions and modules stored in the memory 42, that is, implements the bluetooth timing synchronization method described above.
The memory 42 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 use of the computer device, and the like. Further, the memory 42 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, memory 42 may further include memory located remotely from processor 41, 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.
The input means 43 may be used to receive bluetooth signals transmitted from the bluetooth transmitting end and to generate key signal inputs and the like related to user settings and function control of the computer apparatus. The output device 44 may include a display device such as a display screen, which may be used to display the timing synchronization results to a user, etc.
EXAMPLE five
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a bluetooth timing synchronization method, the method including:
A. determining a differential angle between symbols of a sampling interval in a bluetooth access code;
B. selecting a first sampling point from the Bluetooth access code;
C. determining a first number of first continuous symbols from the first sampling point, and determining a first differential angle sequence of the first continuous symbols, the first differential angle sequence being a sequence of differential angles in which the differential angle of each symbol in the first continuous symbols is sequentially arranged corresponding to the first continuous symbols;
D. determining whether a first correlation value between the first differential angle sequence and the first continuous symbol is greater than a preset threshold value; if not, updating the first sampling point to be the next adjacent sampling point and then returning to execute the step C; if so, determining a preset number of second sampling points behind the first sampling point;
E. determining a second number of second continuous code elements from each second sampling point, and determining a second differential angle sequence of the second continuous code elements, wherein the second differential angle sequence is a sequence of differential angles which are arranged in sequence, corresponding to the second continuous code elements, of the differential angle of each code element in the second continuous code elements;
F. determining a second correlation value between a second differential angle sequence corresponding to each second sampling point and a second continuous code element, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point;
G. and performing Bluetooth timing synchronization based on the optimal synchronization point.
The storage medium may be any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
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 bluetooth timing synchronization method provided by any embodiment of the present invention.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
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 is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A Bluetooth timing synchronization method, comprising:
A. determining a differential angle between symbols of a sampling interval in a bluetooth access code;
B. selecting a first sampling point from the Bluetooth access code;
C. determining a first number of first continuous symbols starting from the first sampling point, and determining a first differential angle sequence of the first continuous symbols, wherein the first differential angle sequence is a sequence of differential angles in which a differential angle of each symbol in the first continuous symbols is sequentially arranged corresponding to the first continuous symbols;
D. determining whether a first correlation value between the first differential angle sequence and the first consecutive symbol is greater than a preset threshold value; if not, updating the first sampling point to be the next adjacent sampling point and then returning to execute the step C; if so, determining a preset number of second sampling points behind the first sampling point;
E. determining a second number of second consecutive symbols starting from each of the second sampling points, and determining a second sequence of difference angles for the second consecutive symbols, the second sequence of difference angles being a sequence of difference angles for each of the second consecutive symbols arranged sequentially corresponding to the second consecutive symbols;
F. determining a second correlation value between the second differential angle sequence and the second continuous code element corresponding to each second sampling point, and taking the second sampling point with the maximum second correlation value as an optimal synchronization point;
G. and performing Bluetooth timing synchronization based on the optimal synchronization point.
2. The bluetooth timing synchronization method according to claim 1, further comprising, after said determining a second correlation value between the second differential angular sequence and the second consecutive symbol corresponding to each of the second sampling points, and taking a second sampling point with a maximum second correlation value as an optimal synchronization point:
and estimating the frequency offset of the Bluetooth access code according to the second differential angle sequence and the second continuous code element corresponding to the optimal synchronization point.
3. The bluetooth timing synchronization method according to claim 1, wherein the first correlation value comprises a soft correlation value and a hard correlation value;
correspondingly, the determining whether a first correlation value between the first differential angle sequence and the first continuous symbol is greater than a preset threshold value includes:
determining a first frequency offset value based on the first sample point from the first sequence of differential angles and the first continuous symbol;
determining the soft correlation value between the first differential angular sequence and the first continuous symbol according to the first frequency offset value;
hard judging the first difference angle sequence according to the first frequency offset value, and determining the hard correlation value according to the first difference angle sequence after hard judgment;
it is determined whether the soft correlation value is greater than a first threshold value and the hard correlation value is greater than a second threshold value.
4. The bluetooth timing synchronization method of claim 3, wherein said determining a first frequency offset value based on the first sample point from the first differential angle sequence and the first continuous symbol comprises:
Figure 179312DEST_PATH_IMAGE001
wherein,
Figure 953102DEST_PATH_IMAGE002
represents the value of the first frequency offset,
Figure 238590DEST_PATH_IMAGE003
indicating the position of the first sample point in the bluetooth access code,
Figure 710023DEST_PATH_IMAGE004
representing respective differential angles in the first sequence of differential angles,
Figure 764566DEST_PATH_IMAGE005
the first number is represented by a first number,
Figure 725569DEST_PATH_IMAGE006
representing a difference in the number of occurrences of a 1 and a 0 in the first consecutive symbol,
Figure 249085DEST_PATH_IMAGE007
representing a preset frequency compensation value;
said determining said soft correlation value between said first differential angular sequence and said first continuous symbol according to said first frequency offset value comprises:
Figure 320947DEST_PATH_IMAGE008
wherein,
Figure 495576DEST_PATH_IMAGE009
the value of the soft correlation is represented,
Figure 565163DEST_PATH_IMAGE010
representing said first sequence of differential angles,
Figure 825243DEST_PATH_IMAGE011
a bi-polar code representing the first continuous symbol,
Figure 950063DEST_PATH_IMAGE006
representing a difference in the number of occurrences of a 1 and a 0 in the first consecutive symbol,
Figure 979199DEST_PATH_IMAGE002
representing the first frequency offset value;
the hard judging the first difference angle sequence according to the first frequency offset value, and determining the hard correlation value according to the hard judged first difference angle sequence, includes:
Figure 282004DEST_PATH_IMAGE012
Figure 967063DEST_PATH_IMAGE013
wherein,
Figure 380727DEST_PATH_IMAGE014
the hard-related value is represented by a value,
Figure 280681DEST_PATH_IMAGE004
representing respective differential angles in the first sequence of differential angles,
Figure 754388DEST_PATH_IMAGE015
hard decision values representing respective differential angles in the first sequence of differential angles,
Figure 723481DEST_PATH_IMAGE016
representing said first sequence of difference angles after a hard decision,
Figure 878519DEST_PATH_IMAGE011
a bi-polar code representing the first continuous symbol,
Figure 882247DEST_PATH_IMAGE017
representing the first frequency offset value.
5. The method of claim 2, wherein said determining a second correlation value between said second differential angular sequence and said second consecutive symbol corresponding to each of said second sampling points comprises:
determining a second frequency offset value based on the second sample point from the second sequence of differential angles and the second consecutive symbol;
determining a second correlation value between the second sequence of differential angles and the second consecutive symbol according to the second frequency offset value;
correspondingly, the estimating the frequency offset of the bluetooth access code according to the second differential angle sequence and the second consecutive symbol corresponding to the optimal synchronization point includes:
and taking the second frequency offset value corresponding to the optimal synchronization point as the estimated frequency offset.
6. The bluetooth timing synchronization method according to claim 1, further comprising, after said determining a second correlation value between the second differential angular sequence and the second consecutive symbol corresponding to each of the second sampling points, and taking a second sampling point with a maximum second correlation value as an optimal synchronization point:
deducing the approximate relation between the difference angle between the adjacent code elements in the Bluetooth access code and the code elements according to a Gaussian frequency shift keying modulation formula;
and determining an estimated value of the modulation index according to the second correlation value corresponding to the optimal synchronization point and the approximate relation.
7. The bluetooth timing synchronization method of claim 6, wherein the approximate relationship comprises:
Figure 41702DEST_PATH_IMAGE018
wherein,
Figure 498091DEST_PATH_IMAGE019
representing the differential angle between adjacent symbols,
Figure 456820DEST_PATH_IMAGE020
which is indicative of the modulation index,
Figure 49475DEST_PATH_IMAGE021
and
Figure 864984DEST_PATH_IMAGE022
represents a constant associated with the gaussian filter and,
Figure 824981DEST_PATH_IMAGE023
a bipolar code representing adjacent three symbols;
the determining an estimated value of a modulation index according to the second correlation value corresponding to the optimal synchronization point and the approximate relationship includes:
Figure 587401DEST_PATH_IMAGE024
wherein,
Figure 300142DEST_PATH_IMAGE025
an estimate value representing the modulation index is determined,
Figure 286552DEST_PATH_IMAGE026
representing the second correlation value corresponding to the best synchronization point,
Figure 717534DEST_PATH_IMAGE027
which represents a scaling factor, is the ratio of the scaling factor,
Figure 18065DEST_PATH_IMAGE028
Figure 106019DEST_PATH_IMAGE029
and
Figure 263331DEST_PATH_IMAGE030
the absolute value representing the difference angle between adjacent symbols derived from said approximate relationship is based on
Figure 384870DEST_PATH_IMAGE021
And
Figure 285830DEST_PATH_IMAGE022
three values of (a) are selected,
Figure 973164DEST_PATH_IMAGE031
Figure 504639DEST_PATH_IMAGE032
and
Figure 395366DEST_PATH_IMAGE033
indicating that after a new sequence is formed by adding 0 to the head and the tail of the Bluetooth access code respectively, the new sequence is addedThe times of appearance of AAA (000/111), AAB (001/110/011/100) and ABA (010/101) in each adjacent 3 bits are counted respectively.
8. A bluetooth timing synchronization apparatus, comprising:
the differential angle determining module is used for determining the differential angle between the code elements of the sampling interval in the Bluetooth access code;
the first sampling point selecting module is used for selecting a first sampling point from the Bluetooth access code;
a first differential angle sequence determining module, configured to determine a first number of first consecutive symbols from the first sampling point, and determine a first differential angle sequence of the first consecutive symbols, where the first differential angle sequence is a sequence of differential angles in which differential angles of each symbol in the first consecutive symbols are sequentially arranged corresponding to the first consecutive symbols;
a first correlation value determining module, configured to determine whether a first correlation value between the first difference angle sequence and the first continuous symbol is greater than a preset threshold value; if not, the first sampling point is updated to be the next adjacent sampling point, and then the first differential angle sequence determining module is returned to continue to execute; if so, determining a preset number of second sampling points behind the first sampling point;
a second differential angle sequence determining module, configured to determine a second number of second consecutive symbols from each second sampling point, and determine a second differential angle sequence of the second consecutive symbols, where the second differential angle sequence is a sequence of differential angles in which a differential angle of each symbol in the second consecutive symbols is sequentially arranged corresponding to the second consecutive symbols;
an optimal synchronization point determining module, configured to determine a second correlation value between the second differential angle sequence and the second consecutive symbol corresponding to each second sampling point, and use a second sampling point with a largest second correlation value as an optimal synchronization point;
and the timing synchronization module is used for carrying out Bluetooth timing synchronization based on the optimal synchronization point.
9. A computer device, comprising:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the bluetooth timing synchronization method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the bluetooth timing synchronization method according to any one of claims 1 to 7.
CN202011135734.2A 2020-10-22 2020-10-22 Bluetooth timing synchronization method and device, computer equipment and storage medium Active CN111970673B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011135734.2A CN111970673B (en) 2020-10-22 2020-10-22 Bluetooth timing synchronization method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011135734.2A CN111970673B (en) 2020-10-22 2020-10-22 Bluetooth timing synchronization method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111970673A true CN111970673A (en) 2020-11-20
CN111970673B CN111970673B (en) 2021-02-09

Family

ID=73387639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011135734.2A Active CN111970673B (en) 2020-10-22 2020-10-22 Bluetooth timing synchronization method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111970673B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769723A (en) * 2021-04-07 2021-05-07 易兆微电子(杭州)股份有限公司 Signal synchronization position determining method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274405A1 (en) * 2006-05-29 2007-11-29 Fujitsu Limited Digital broadcast receiver, mobile terminal and channel search method
US20080152042A1 (en) * 2006-12-22 2008-06-26 Fujitsu Limited Ofdm receiver apparatus
CN108683625A (en) * 2018-07-27 2018-10-19 上海华虹集成电路有限责任公司 A kind of data packet detection method of low-power consumption bluetooth LE Coded PHY
CN110831147A (en) * 2019-11-08 2020-02-21 北京邮电大学 Carrier frequency synchronization method suitable for millimeter wave intersatellite link
US10749991B2 (en) * 2017-05-31 2020-08-18 Regents Of The University Of Minnesota Emulation-based cross-technology communication

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070274405A1 (en) * 2006-05-29 2007-11-29 Fujitsu Limited Digital broadcast receiver, mobile terminal and channel search method
US20080152042A1 (en) * 2006-12-22 2008-06-26 Fujitsu Limited Ofdm receiver apparatus
US10749991B2 (en) * 2017-05-31 2020-08-18 Regents Of The University Of Minnesota Emulation-based cross-technology communication
CN108683625A (en) * 2018-07-27 2018-10-19 上海华虹集成电路有限责任公司 A kind of data packet detection method of low-power consumption bluetooth LE Coded PHY
CN110831147A (en) * 2019-11-08 2020-02-21 北京邮电大学 Carrier frequency synchronization method suitable for millimeter wave intersatellite link

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YOUNG-HWAN YOU,ET AL.: "ADAPTIVE TIMING SYNCHRONIZATION SCHEMES FOR A SHORT-RANGED BLUETOOTH SYSTEM", 《IEEE TRANSACTIONS ON CONSUMER ELECTRONICS》 *
张波,等: "一种快速的PN码同步捕获方法", 《电子设计工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112769723A (en) * 2021-04-07 2021-05-07 易兆微电子(杭州)股份有限公司 Signal synchronization position determining method, device, equipment and storage medium
CN112769723B (en) * 2021-04-07 2021-07-16 易兆微电子(杭州)股份有限公司 Signal synchronization position determining method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN111970673B (en) 2021-02-09

Similar Documents

Publication Publication Date Title
JP2001506072A (en) Method and apparatus for bidirectional demodulation of digitally modulated signals
WO2010021946A1 (en) Semi-coherent timing propagation for geran multislot configurations
JP2001522197A (en) Composite equalization and detection method for multi-user signals
JP4430136B2 (en) Sequential maximum likelihood estimation apparatus and method for communication signal using whitening path metric
CN111970673B (en) Bluetooth timing synchronization method and device, computer equipment and storage medium
EP3476162A1 (en) Skip-correlation based symmetric carrier sensing with multiple power levels
CN111343118A (en) Synchronous circuit and synchronous detection method
RU2165676C2 (en) Method and device for determining delay in sampling signal received by cellular communication system
CN108900281B (en) Method for estimating time delay outside symbol
JPH0654003A (en) Signal series detection method
CN113938368A (en) LTE-V receiving end synchronization method and system based on FPGA
CN106534010B (en) A kind of phase equivocation of OQPSK signal demodulation and compensation method
JP4202259B2 (en) Method and apparatus for establishing synchronization using a synchronization signal
CN103595682A (en) Frame synchronization method, device and receiver for OFDM
CN113014362B (en) Preamble sequence detection method, device, equipment and storage medium
CN108923886B (en) Unique code type detection method
CN113556202B (en) Time domain synchronization point acquisition method, device, equipment and storage medium
WO2016000344A1 (en) Multipath selection method and device, and storage medium
CN113765838B (en) DPSK signal demodulation method, device, equipment and storage medium
CN110011744A (en) Port detecting method, system and terminal
CN112769723B (en) Signal synchronization position determining method, device, equipment and storage medium
CN114401077B (en) Signal synchronization method and device, electronic equipment and storage medium
CN115086126B (en) GMSK signal-based synchronization method, device and computer-readable storage medium
CN114363134B (en) Signal demodulation method and device, electronic equipment and storage medium
JPH06261030A (en) Frame synchronization detecting circuit

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