A method for estimating instantaneous frequency deviation of Bluetooth signals

By processing the Bluetooth time domain signal and extracting the phase signal envelope, the baseline differential is calculated to obtain the instantaneous frequency deviation, which solves the problem of insufficient frequency offset estimation accuracy of the Bluetooth signal in the existing technology and achieves higher frequency offset estimation accuracy and Communication stability.

CN118509087BActive Publication Date: 2024-10-15SUZHOU SAIMAI MEASUREMENT & CONTROL TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202410958643.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-10-15
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

Existing Bluetooth signal frequency offset estimation methods have shortcomings in accuracy, especially the inability to accurately estimate instantaneous frequency offset in real time, resulting in frequency drift and hardware stability problems.

Method used

By receiving the Bluetooth time domain signal for processing, the coarse frequency offset is obtained simultaneously and preliminary compensation is performed. Then the upper and lower envelopes of the phase signal are extracted, the baseline is calculated and the differential is obtained to obtain the instantaneous frequency deviation. Combined with the coarse frequency offset, the instantaneous frequency offset estimate is obtained value.

Benefits of technology

It significantly improves the frequency offset estimation accuracy of Bluetooth signals, can effectively deal with frequency drift and hardware stability issues, and improves communication performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118509087B_ABST
    Figure CN118509087B_ABST
Patent Text Reader

Abstract

The present invention provides a method for estimating the instantaneous frequency deviation of a Bluetooth signal, which belongs to the technical field of Bluetooth signals, and includes a Bluetooth signal receiving end receiving a Bluetooth time domain signal and processing the signal; using an algorithm to synchronously obtain a rough frequency deviation of the processed Bluetooth time domain signal and search for a Bluetooth signal data field; using a rough frequency deviation f1 to roughly compensate the Bluetooth signal data field; performing phase extraction on the roughly compensated Bluetooth signal data field, and then obtaining the upper and lower envelopes; extracting the baseline of the phase signal, and then obtaining the differential of the baseline; obtaining the instantaneous frequency deviation of the Bluetooth signal data field by the differential; and summing the rough frequency deviation f1 and the instantaneous frequency deviation to obtain an estimated value of the instantaneous frequency deviation. The method can deal with the problems of frequency drift in Bluetooth signals and the corresponding hardware performance instability, and can significantly improve the frequency deviation estimation accuracy of Bluetooth signals.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of Bluetooth signals, and in particular relates to a method for estimating instantaneous frequency deviation of Bluetooth signals. Background Art

[0002] Bluetooth is a wireless short-range communication standard that operates in the 2.4GHz frequency band. It is mainly used for low-speed and short-distance data transmission. In the Bluetooth communication process, frequency deviation estimation is an important technical link. Frequency deviation may be caused by many factors, such as the local crystal frequency deviation of the transmitter and the receiver, multipath effect, Doppler shift, etc. In the Bluetooth system, the existence of frequency deviation will cause the phase of the received signal to deviate, which will affect the demodulation performance and may even cause communication failure. In order to solve this problem, the Bluetooth system needs to use frequency deviation estimation technology to estimate and compensate for the frequency deviation. Most of the existing solutions realize the frequency deviation estimation of Bluetooth signals by analyzing the characteristics of the received signal. Most of the current solutions use the signal autocorrelation or cross-correlation algorithm to estimate the frequency deviation.

[0003] The current scheme mainly uses a correlation algorithm to calculate the frequency deviation by performing a correlation algorithm on the isocode field received by the receiving end. The isocode field of the Bluetooth signal is very limited compared to the data length of the entire Bluetooth signal. In the process of calculating the frequency deviation, the frequency deviation is estimated by taking the mean of the isocode and the local isocode after conjugation. The data used here is relatively small compared to the number of data points of the Bluetooth signal, and the instantaneous frequency deviation estimate of the Bluetooth signal cannot be obtained during the frequency deviation estimation process. Therefore, the frequency deviation of the isocode part as the frequency deviation of the entire Bluetooth signal has a certain degree of accuracy error. In the Bluetooth system, there are also problems with frequency drift and hardware stability, which leads to insufficient accuracy of frequency deviation estimation in the prior art. Summary of the invention

[0004] In view of the problems existing in the above-mentioned prior art, the present invention provides a method for estimating the instantaneous frequency deviation of a Bluetooth signal. The technical problem to be solved by the present invention is to provide a method for improving the frequency deviation estimation accuracy of a Bluetooth signal.

[0005] In order to solve the above technical problems, the present invention provides a method for estimating instantaneous frequency deviation of a Bluetooth signal, comprising the following steps:

[0006] Step S1: The Bluetooth signal receiving end receives the Bluetooth time domain signal and processes it;

[0007] Step S2: using an algorithm to synchronously obtain the coarse frequency offset f1 and search the data field of the Bluetooth signal for the processed Bluetooth time domain signal;

[0008] Step S3: using the coarse frequency offset f1 to roughly compensate the data field of the Bluetooth signal;

[0009] Step S4: performing phase extraction on the data field of the Bluetooth signal after the rough compensation, and then obtaining the upper and lower envelopes of the phase signal;

[0010] Step S5: extracting the baseline of the Bluetooth signal phase based on the upper and lower envelopes, and then differentiating the baseline;

[0011] Step S6: using differentiation to obtain the instantaneous frequency deviation of the data field of the Bluetooth signal;

[0012] Step S7: sum the coarse frequency deviation f1 and the instantaneous frequency deviation to obtain an estimated value of the instantaneous frequency deviation.

[0013] Furthermore, in step S1, the processed Bluetooth time domain signal is expressed as:

[0014] ;

[0015] Where y is the processed Bluetooth time domain signal; t is the sampling time; pi is the natural number π; f is the Bluetooth signal frequency; is the frequency deviation, where , is the coarse frequency deviation, freq_off is the instantaneous frequency deviation, here Is an unknown quantity.

[0016] Furthermore, in step S2, the algorithm is used to obtain the processed Bluetooth time domain signal synchronization coarse frequency offset f1 and find the Bluetooth signal data field, specifically including:

[0017] The Bluetooth signal consists of a preamble, a parity code, and a data field. The preamble and the parity code have a total of 40 bits of data, and the content of the data is known, from which the local code phase signal local_dphsae(t) can be generated.

[0018] Then, the phase of the Bluetooth signal processed in step S1 is calculated for every 40 bits of data to obtain the actual received symbol phase signal. :

[0019] =arctan( );

[0020] Next, the local code phase signal is correlated with the actually received symbol phase signal to obtain the correlation function Corr(n):

[0021] Corr(n)=local_dphsae(t) conj( );

[0022] Then find the peak position Index of the correlation function Corr(n);

[0023] The peak position Index at this time indicates the first bit of the Bluetooth signal preamble. Then the start bit of the data field of the Bluetooth signal can be located by the Bluetooth frame structure. The coarse frequency deviation f1 can be obtained from the Index at this time using the relationship between frequency deviation and phase:

[0024] f1=( )-local_dphsae(t)) / 40.

[0025] Further, in step S3, when performing coarse frequency offset compensation, Multiply , get the signal after coarse frequency offset compensation, filter out f1, and the frequency offset in the signal after coarse frequency offset compensation is Only freq_off remains;

[0026] Furthermore, in step S4, the following formula is used for phase extraction:

[0027] =arctan( );

[0028] Among them, phase is the phase of the Bluetooth signal data field after coarse compensation.

[0029] Furthermore, in step S4, the upper and lower envelopes extracted are:

[0030] ;

[0031] Among them, high is the upper envelope; low is the lower envelope; velocity is the function for obtaining the upper and lower envelopes; when velocity is used to obtain the upper envelope, the signal is windowed to obtain the local maximum point and then interpolated; when velocity is used to obtain the lower envelope, the signal is windowed to obtain the local minimum point and then interpolated.

[0032] Furthermore, in step S5, the baseline is:

[0033] ;

[0034] Among them, base is the baseline of the Bluetooth signal phase, that is, the baseline is obtained by taking the average of the upper and lower envelopes.

[0035] Furthermore, in step S6, the instantaneous frequency deviation is obtained as:

[0036] ;

[0037] Wherein, freq_off is the instantaneous frequency deviation; diff is a function for differentiating the baseline of the Bluetooth signal phase.

[0038] A method for estimating the instantaneous frequency deviation of a Bluetooth signal of the present invention obtains the instantaneous frequency deviation by differentiating the phase baseline of the Bluetooth data field. Combined with the characteristics of the Bluetooth signal, the instantaneous frequency deviation and the coarse frequency deviation estimation are combined as the instantaneous frequency deviation estimation of the entire signal. This method can cope with the frequency drift in the Bluetooth signal and the corresponding hardware performance instability problems, and can significantly improve the frequency deviation estimation accuracy of the Bluetooth signal. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 The present invention is a flowchart of a method for estimating instantaneous frequency deviation of a Bluetooth signal. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0041] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0043] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0044] In order to better understand the purpose, structure and function of the present invention, a method for estimating instantaneous frequency deviation of a Bluetooth signal of the present invention is further described in detail below with reference to the accompanying drawings.

[0045] Example 1

[0046] like Figure 1 As shown, a method for estimating instantaneous frequency deviation of a Bluetooth signal of the present invention comprises the following steps:

[0047] Step S1: The Bluetooth signal receiving end receives the Bluetooth time domain signal and processes it;

[0048] Step S2: using an existing correlation algorithm to synchronously obtain a coarse frequency offset f1 of the processed Bluetooth time domain signal and search for a Bluetooth signal data field;

[0049] Step S3: using the coarse frequency offset f1 to roughly compensate the data field of the Bluetooth signal;

[0050] Step S4: performing phase extraction on the data field of the Bluetooth signal after the rough compensation, and then obtaining the upper and lower envelopes of the phase signal;

[0051] Step S5: extracting the baseline of the Bluetooth signal phase based on the upper and lower envelopes, and then differentiating the baseline;

[0052] Step S6: using differentiation to obtain the instantaneous frequency deviation of the data field of the Bluetooth signal;

[0053] Step S7: sum the coarse frequency deviation f1 and the instantaneous frequency deviation to obtain an estimated value of the instantaneous frequency deviation.

[0054] In step S1, the processed Bluetooth time domain signal is expressed as:

[0055] ;

[0056] Where y is the processed Bluetooth time domain signal; t is the sampling time; pi is the natural number π; f is the Bluetooth signal frequency; is the frequency deviation, where , is the coarse frequency deviation, freq_off is the instantaneous frequency deviation, here Unknown quantity.

[0057] In step S2, the algorithm is used to obtain the processed Bluetooth time domain signal synchronization coarse frequency offset f1 and find the Bluetooth signal data field, specifically including:

[0058] The Bluetooth signal consists of a preamble, a parity code, and a data field. The preamble and the parity code have a total of 40 bits of data, and the content of the data is known, from which the local code phase signal local_dphsae(t) can be generated.

[0059] Then, the phase of the Bluetooth signal processed in step S1 is calculated for every 40 bits of data to obtain the actual received symbol phase signal. :

[0060] =arctan( );

[0061] Next, the local code phase signal is correlated with the actually received symbol phase signal to obtain the correlation function Corr(n):

[0062] Corr(n)=local_dphsae(t) conj( );

[0063] Then find the peak position Index of the correlation function Corr(n);

[0064] The peak position Index at this time indicates the first bit of the Bluetooth signal preamble. Then the start bit of the data field of the Bluetooth signal can be located by the Bluetooth frame structure. The coarse frequency deviation f1 can be obtained from the Index at this time using the relationship between frequency deviation and phase:

[0065] f1=( )-local_dphsae(t)) / 40.

[0066] Step S3, when performing coarse frequency offset compensation, Multiply , and get the signal after coarse frequency offset compensation , filter out f1, and the frequency deviation in the signal after coarse frequency deviation compensation is Only freq_off remains.

[0067] In step S4, the following formula is used for phase extraction: =arctan( );

[0068] Among them, phase is the phase of the Bluetooth signal data field after coarse compensation.

[0069] In step S4, the upper and lower envelopes extracted are: ;

[0070] Among them, high is the upper envelope; low is the lower envelope; velocity is the function for obtaining the upper and lower envelopes; when velocity is used to obtain the upper envelope, the signal is windowed to obtain the local maximum point and then interpolated; when velocity is used to obtain the lower envelope, the signal is windowed to obtain the local minimum point and then interpolated.

[0071] In step S5, the baseline is: ;

[0072] Among them, base is the baseline of the Bluetooth signal phase, that is, the baseline is obtained by taking the average of the upper and lower envelopes.

[0073] In step S6, the instantaneous frequency deviation is obtained as: ;

[0074] Wherein, req_off is the instantaneous frequency deviation; diff is a function for differentiating the baseline of the Bluetooth signal phase.

[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for estimating instantaneous frequency deviation of a Bluetooth signal, characterized in that: The following steps are involved: Step S1: The Bluetooth signal receiving end receives the Bluetooth time domain signal and processes it; Step S2: using an algorithm to synchronously obtain the coarse frequency offset f1 and search the data field of the Bluetooth signal for the processed Bluetooth time domain signal; Step S3: Use the coarse frequency offset f1 to roughly compensate the Bluetooth signal data field. When performing the coarse frequency offset compensation, Multiply , and get the signal after coarse frequency offset compensation ; Step S4: performing phase extraction on the data field of the Bluetooth signal after the rough compensation, and then obtaining the upper and lower envelopes of the phase signal; Step S5: extracting the baseline of the Bluetooth signal phase based on the upper and lower envelopes, and then differentiating the baseline; Step S6: using differentiation to obtain the instantaneous frequency deviation of the data field of the Bluetooth signal; Step S7: sum the coarse frequency deviation f1 and the instantaneous frequency deviation to obtain an estimated value of the instantaneous frequency deviation.

2. The method for estimating instantaneous frequency deviation of a Bluetooth signal according to claim 1, characterized in that: In step S1, the processed Bluetooth time domain signal is expressed as: ; Where y is the processed Bluetooth time domain signal; t is the sampling time; pi is the natural number π; f is the Bluetooth signal frequency; is the frequency deviation, , is the coarse frequency deviation, and freq_off is the instantaneous frequency deviation.

3. The method for estimating instantaneous frequency deviation of a Bluetooth signal according to claim 2, characterized in that: In step S4, the following formula is used for phase extraction: =arctan( ) Among them, phase is the phase of the Bluetooth signal data field after coarse compensation.

4. The method for estimating instantaneous frequency deviation of a Bluetooth signal according to claim 3, characterized in that: In step S4, the upper and lower envelopes extracted are: ; Among them, high is the upper envelope; low is the lower envelope; velocity is the function for obtaining the upper and lower envelopes.

5. The method for estimating instantaneous frequency deviation of a Bluetooth signal according to claim 4, characterized in that: In step S5, the baseline is: ; Among them, base is the baseline of the Bluetooth signal phase.

6. The method for estimating instantaneous frequency deviation of a Bluetooth signal according to claim 5, characterized in that: In step S6, the instantaneous frequency deviation is obtained as: ; Wherein, freq_off is the instantaneous frequency deviation; diff is a function for differentiating the baseline of the Bluetooth signal phase.

Citation Information

Patent Citations

  • Optical OFDM system adopting non data aided frequency offset estimation algorithm

    CN106788734A

  • Satellite communication Turbo code iterative demodulation method with high dynamic and extremely low signal-to-noise ratio

    CN107769841A

  • Low-power-consumption Bluetooth real-time frequency offset estimation compensation method and system

    CN113079495A

  • Communication method and device

    WO2024041504A1