CN116505978A - Bluetooth signal processing method and device, electronic equipment and storage medium - Google Patents

Bluetooth signal processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116505978A
CN116505978A CN202310779570.4A CN202310779570A CN116505978A CN 116505978 A CN116505978 A CN 116505978A CN 202310779570 A CN202310779570 A CN 202310779570A CN 116505978 A CN116505978 A CN 116505978A
Authority
CN
China
Prior art keywords
frequency offset
differential phase
value
determining
current frame
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
CN202310779570.4A
Other languages
Chinese (zh)
Other versions
CN116505978B (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.)
Gaotuoxunda Beijing Microelectronics Co ltd
Original Assignee
Gaotuoxunda Beijing Microelectronics 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 Gaotuoxunda Beijing Microelectronics Co ltd filed Critical Gaotuoxunda Beijing Microelectronics Co ltd
Priority to CN202310779570.4A priority Critical patent/CN116505978B/en
Publication of CN116505978A publication Critical patent/CN116505978A/en
Application granted granted Critical
Publication of CN116505978B publication Critical patent/CN116505978B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • H04B5/72
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems
    • H04L27/0014Carrier regulation
    • H04L2027/0024Carrier regulation at the receiver end
    • H04L2027/0026Correction of carrier offset
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The application provides a Bluetooth signal processing method, a Bluetooth signal processing device, electronic equipment and a storage medium, and relates to the technical field of communication, wherein the method comprises the steps of acquiring corresponding IQ data based on a received Bluetooth signal sent by a Bluetooth sending end in an increased rate mode; determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data so as to perform coarse frequency offset compensation on the differential phase; after the synchronization of the current frame is successful, determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase; and determining a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value, so as to perform frequency offset compensation on the received Bluetooth signal, and improve the reliability and stability of communication in the Bluetooth EDR mode.

Description

Bluetooth signal processing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for processing a bluetooth signal, an electronic device, and a storage medium.
Background
In bluetooth communications, the magnitude of the frequency offset error directly affects the communication distance and the data transmission rate. If the frequency offset error is too large, the receiving end cannot correctly demodulate and restore the information of the transmitting end, so that communication interruption or data transmission error is caused. Therefore, accurate estimation and compensation of the frequency offset error of the bluetooth signal is a problem to be solved in the bluetooth communication technology.
In the past studies, many methods of frequency offset error estimation and compensation have been proposed, such as a frequency domain synchronization algorithm, a time domain synchronization algorithm, a doppler frequency offset estimation algorithm, and the like. However, these methods have some drawbacks in practical application, such as high complexity and large error. In addition, in the bluetooth EDR (Enhanced Data Rate, enhanced rate) mode, the frequency offset estimation compensation method applicable to the BR (Basic Rate) mode has poor effect due to the change of the modulation mode in one data frame, so that a more accurate, stable and efficient bluetooth frequency offset estimation compensation technology is needed to improve the communication reliability and stability in the bluetooth EDR mode.
Disclosure of Invention
In view of the foregoing, an object of the present application is to provide a method, an apparatus, an electronic device and a storage medium for processing bluetooth signals, so as to improve reliability and stability of communication in bluetooth EDR mode.
In a first aspect, the present application provides a method for processing a bluetooth signal, where the method includes acquiring corresponding IQ data based on a bluetooth signal sent by a received bluetooth transmitting end in an increased rate mode; determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data so as to perform coarse frequency offset compensation on the differential phase; after the synchronization of the current frame is successful, determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase; and determining a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value so as to perform frequency offset compensation on the received Bluetooth signals.
Preferably, the coarse frequency offset estimate is determined by: determining a differential phase maximum value and a differential phase minimum value in a Preamble field and an Access Code field of a current frame; determining a target differential phase maximum value according to the magnitude between the differential phase maximum value and the historical differential phase maximum value; determining a target differential phase minimum value according to the magnitude between the differential phase minimum value and the historical differential phase minimum value; and determining a corresponding filtering average value as a coarse frequency offset estimation value according to the target differential phase maximum value and the target differential phase minimum value.
Preferably, the fine frequency offset estimate is determined by: determining a difference value between a difference phase after demodulation of a Header field after coarse frequency offset compensation in a current frame and a corresponding standard difference phase, wherein the standard difference phase is a standard difference phase corresponding to a modulation index of GFSK modulation; and taking the result after the difference value filtering as an estimated value of the fine frequency offset.
Preferably, the total frequency offset value is calculated by: determining a fixed point width value corresponding to the differential phase of the Guard field in the current frame; and calculating the sum between the coarse frequency offset estimation value and the fine frequency offset estimation value to be used as a total frequency offset value.
Preferably, the received bluetooth signal is subjected to frequency offset compensation by: and converting the total frequency offset value into the offset of the frequency to be carried by the frequency carrying module.
Preferably, the corresponding IQ data is acquired by: the received Bluetooth signals are input into a sampling module to be sampled and output to a first filtering module to be filtered for the first time, the first filtering module outputs the Bluetooth signals after the first filtering to a frequency shifting module to shift the Bluetooth signals with low intermediate frequency to zero intermediate frequency, the frequency shifting module outputs the Bluetooth signals after the frequency shifting to a second filtering module to be filtered for the second time, and the second filtering module outputs corresponding IQ data.
Preferably, the method further comprises the step of determining group delay corresponding to all filters between the differential phase domain and the time domain; and calculating the starting time of the time domain compensation frequency offset according to the group delay, the starting time of the Guard field in the current frame and the ending time of the Guard field so as to carry out frequency offset compensation on the received Bluetooth signal.
In a second aspect, the present application provides a processing apparatus for a bluetooth signal, the apparatus including:
the receiving module is used for acquiring corresponding IQ data based on a Bluetooth signal sent by the received Bluetooth sending end in an increased rate mode;
the coarse frequency offset estimation module is used for determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data so as to perform coarse frequency offset compensation on the differential phase;
the fine frequency offset estimation module is used for determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase after the synchronization of the current frame is successful;
and the total frequency offset calculation module is used for determining the total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value so as to perform frequency offset compensation on the received Bluetooth signals.
In a third aspect, the present application further provides an electronic device, including: the system comprises a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory are communicated through the bus, and the machine-readable instructions are executed by the processor to perform the steps of a Bluetooth signal processing method.
In a fourth aspect, the present application also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a method for processing bluetooth signals as described above.
The method, the device, the electronic equipment and the storage medium for processing the Bluetooth signals comprise the steps of acquiring corresponding IQ data based on the received Bluetooth signals sent by a Bluetooth sending end in an increased rate mode; determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data so as to perform coarse frequency offset compensation on the differential phase; after the synchronization of the current frame is successful, determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase; and determining a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value so as to perform frequency offset compensation on the received Bluetooth signals, so that the Bluetooth communication effect in the EDR mode is more reliable and stable.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered limiting the scope, and that other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a processing method of a bluetooth signal according to an embodiment of the present application;
fig. 2 is a schematic frame structure diagram of a bluetooth EDR mode according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a bluetooth EDR mode receiver according to an embodiment of the present application;
fig. 4 is a schematic diagram of a specific structure of a frequency offset estimation module provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a processing device for bluetooth signals according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. Based on the embodiments of the present application, every other embodiment that a person skilled in the art would obtain without making any inventive effort is within the scope of protection of the present application.
First, application scenarios applicable to the present application will be described. The method and the device can be applied to frequency offset estimation compensation of the Bluetooth EDR mode.
Many methods for estimating and compensating frequency offset errors, such as a frequency domain synchronization algorithm, a time domain synchronization algorithm, a Doppler frequency offset estimation algorithm and the like, have been proposed through research. However, these methods have some drawbacks in practical application, such as high complexity and large error. In addition, in the bluetooth EDR mode, since there is a change of the modulation mode in one data frame, the frequency offset estimation compensation method suitable for the BR (Basic Rate) mode has poor effect, so a more accurate, stable and efficient bluetooth frequency offset estimation compensation technology is needed to improve the communication reliability and stability in the bluetooth EDR mode.
Based on this, the embodiment of the application provides a processing method, a processing device, an electronic device and a storage medium of a bluetooth signal, so as to improve the reliability and stability of communication in a bluetooth EDR mode.
Referring to fig. 1 and fig. 2, fig. 1 is a flowchart of a processing method of a bluetooth signal provided in an embodiment of the present application, and fig. 2 is a schematic frame structure diagram of a bluetooth EDR mode provided in an embodiment of the present application. As shown in fig. 1, a processing method of a bluetooth signal provided in an embodiment of the present application includes:
s101, acquiring corresponding IQ data based on a Bluetooth signal sent by a received Bluetooth sending end in an increased rate mode.
The input in step S101 is IQ data in bluetooth EDR mode obtained by ADC sampling and digital filtering.
S102, determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data, so as to perform coarse frequency offset compensation on the differential phase.
In step S102, in the Preamble and Access Code fields, the maximum value and the minimum value of the differential phase are found, the filtered average output of the two is used as the estimated value of the coarse frequency offset, and the estimated value is fed back and compensated to the subsequent differential phase, so as to improve the frame synchronization precision.
S103, after the synchronization of the current frame is successful, determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase.
And after the current frame is successfully synchronized, the differential phase demodulation result of the Header field is differed from the judgment result of the Header field, and the estimated value of the fine frequency offset is obtained after IIR filtering.
S104, determining a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value so as to perform frequency offset compensation on the received Bluetooth signals.
After the Header is solved, the coarse frequency offset estimation value and the fine frequency offset estimation value are added in a Guard field, the total frequency offset value is converted, the estimated frequency offset compensation value is subtracted from the SYNC field modulated by the DPSK after delay calculation, and the frequency offset compensation is carried out on the received signal.
The processing method of the Bluetooth signal is suitable for communication in a Bluetooth EDR mode, and the communication effect after frequency offset compensation is more reliable and stable.
In one embodiment of the present application, the coarse frequency offset estimate is determined by:
and determining a differential phase maximum value and a differential phase minimum value in a Preamble field and an Access Code field of the current frame. And determining a target differential phase maximum value according to the magnitude between the differential phase maximum value and the historical differential phase maximum value. And determining a target differential phase minimum value according to the magnitude between the differential phase minimum value and the historical differential phase minimum value. And determining a corresponding filtering average value as a coarse frequency offset estimation value according to the target differential phase maximum value and the target differential phase minimum value.
The maximum value and the minimum value of the historical differential phase are the maximum value and the minimum value of the differential phase between the Preamble field and the Access Code field in all historical frames received in the past, namely the maximum value and the minimum value which are searched for are not local maximum values but global maximum values, and meanwhile, the updated value is ensured not to be caused by noise interference when the current maximum value is updated. To ensure that the updating of the maximum is not disturbed by noise, the difference between the updated maximum and the current maximum needs to be greater than the set threshold 1.
Obtaining a target differential phase maximum value and a target differentialAfter the phase minimum value, it is necessary to passFiltering and smoothing to obtain the final product.
In one embodiment of the present application, the refined frequency offset estimate is determined by:
and determining a difference value between a difference phase after demodulation of a Header field after coarse frequency offset compensation in the current frame and a corresponding standard difference phase, wherein the standard difference phase is a standard difference phase corresponding to a modulation index of the GFSK modulation. And taking the result after the difference value filtering as an estimated value of the fine frequency offset.
Here, different differential phase LUTs (Look Up tables) may be constructed in advance according to different modulation indexes, the differential phase obtained by demodulation is different from the standard differential phase under the corresponding modulation index, and IIR filtering is performed on the difference to obtain a fine frequency offset estimation value after averaging.
The IIR (infinite impulse response ) filtering described in the above steps is a coefficient-adjustableThe filter is adjustable according to the accuracy and the speed of the filtering.
In one embodiment of the present application, the total frequency offset value is calculated by:
and determining a fixed point width value corresponding to the differential phase of the Guard field in the current frame. And calculating the sum between the coarse frequency offset estimation value and the fine frequency offset estimation value to be used as a total frequency offset value.
The received bluetooth signal may be frequency offset compensated by:
and converting the total frequency offset value into the offset of the frequency to be carried by the frequency carrying module.
The calculated frequency offset can be converted into the offset of the frequency carrying module according to the fixed-point bit width of the frequency carrying module.
In one embodiment of the present application, further comprising:
and determining group delay corresponding to all filters between the differential phase domain and the time domain. And calculating the starting time of the time domain compensation frequency offset according to the group delay, the starting time of the Guard field in the current frame and the ending time of the Guard field so as to carry out frequency offset compensation on the received Bluetooth signal.
There are several sample rate conversion filters between the differential phase domain and the time domain carrier signal, and demodulation is performed in the differential phase domain, so that the group delay of these filters needs to be considered for the specific position fed back to the time domain compensation module. According to the order and sampling rate of each stage of filter, the sampling rates of all filters are converted to the same size, the group delay point number of each stage of filter under the sampling rate is calculated, and all group delay values are added to obtain the total delay point number. After the number of delay points fed back to the time domain frequency moving module by the differential phase domain is calculated, the starting time point of the time domain compensation frequency offset is Guard field starting time+guard field time-total group delay.
As shown in fig. 3 and fig. 4, fig. 3 is a schematic structural diagram of a bluetooth EDR mode receiver provided in an embodiment of the present application, and fig. 4 is a schematic structural diagram of a frequency offset estimation module provided in an embodiment of the present application. In one particular embodiment of the present application, a bluetooth EDR mode receiver is provided.
The receiver may acquire corresponding IQ data by:
the received Bluetooth signals are input into a sampling module (ADC) for sampling and are output to a first filtering module for first filtering, the first filtering module outputs the Bluetooth signals after the first filtering to a frequency moving module so as to move the Bluetooth signals with low intermediate frequency to zero intermediate frequency, the frequency moving module outputs the Bluetooth signals after the frequency moving to a second filtering module for second filtering, and the second filtering module outputs corresponding IQ data.
Wherein the bluetooth module is received through an RF (radio frequency) system. In order to eliminate the influence of direct current on the receiving performance, the Bluetooth signal received by the digital terminal is a low intermediate frequency signal, the Bluetooth signal needs to be carried to zero intermediate frequency before the differential phase is calculated, and the carrying process is to multiply IQ signals of the time domain by sine and cosine values of different angles respectively and to carry out addition and subtraction operation.
As shown in fig. 4, the frequency offset estimation compensation module here includes a coarse frequency offset estimation unit, a fine frequency offset estimation unit, a frequency offset conversion unit, an NCO (Numerically Controlled Oscillator, digital oscillator) unit, and a delay calculation unit.
The input of the coarse frequency offset estimation unit is the differential phase of the uncorrected frequency offset given by the differential phase calculation module, the unit comprises a maximum value detector and a minimum value detector, two filter averagers, the maximum value detector and the minimum value detector are used for detecting the global maximum value and the global minimum value of the differential phase, the filter averagers are used for smoothing the detected maximum value and minimum value, and the finally obtained maximum value and minimum value are averaged, namely the coarse frequency offset estimation value is taken as the output of the unit.
The input of the fine frequency offset estimation unit is the differential phase after the coarse frequency offset is corrected and the standard differential phase LUT under the modulation index, and the differential phase after the coarse frequency offset is corrected obtains a judgment value thereof through a demodulation module, namely, the judgment value is a certain standard phase value in the standard differential phase LUT. The unit includes an adder for differencing the input differential phase with its decided standard differential phase and an IIR filter. The IIR filter is configured to filter and average the difference, where the filtered average is used as an output of the unit.
The input of the delay calculation module is the order of each stage of filter and the sampling rate thereof, and the output is the group delay size.
The input of the frequency offset conversion unit is a coarse frequency offset estimation value and a fine frequency offset estimation value, the unit comprises an adder and a multiplier, the adder is used for calculating the sum of the coarse frequency offset estimation value and the fine frequency offset estimation value under the differential phase domain, the multiplier is used for converting the total frequency offset estimation value under the differential phase domain into the size of the required frequency of the NCO unit, and the converted value is used as the output of the unit.
IQ data of filtering output as input of frequency moving module、/>) And an NCO unit, the module comprising two adders for calculating the input IQ component (, and four multipliers>、/>) The sum or difference between the two is used for calculating the product of IQ data and sine and cosine, wherein ++>Determined by the offset.
Based on the same inventive concept, the embodiment of the present application further provides a processing device for bluetooth signals corresponding to the processing method for bluetooth signals, and since the principle of the device in the embodiment of the present application for solving the problem is similar to that of the processing method for bluetooth signals in the embodiment of the present application, the implementation of the device may refer to the implementation of the method, and the repetition is omitted.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a bluetooth signal processing apparatus according to an embodiment of the present application. As shown in fig. 5, the processing device 500 for bluetooth signals includes:
the receiving module 510 is configured to obtain corresponding IQ data based on a bluetooth signal sent by the received bluetooth transmitting end in an increased rate mode;
the coarse frequency offset estimation module 520 is configured to determine a coarse frequency offset estimation value based on a differential phase of a Preamble field and an Access Code field of a current frame in IQ data, so as to perform coarse frequency offset compensation on the differential phase;
the fine frequency offset estimation module 530 is configured to determine a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase after the synchronization of the current frame is successful;
the total frequency offset calculation module 540 is configured to determine a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value, so as to perform frequency offset compensation on the received bluetooth signal.
In a preferred embodiment, coarse frequency offset estimation module 520 determines a coarse frequency offset estimate by: determining a differential phase maximum value and a differential phase minimum value in a Preamble field and an Access Code field of a current frame; determining a target differential phase maximum value according to the magnitude between the differential phase maximum value and the historical differential phase maximum value; determining a target differential phase minimum value according to the magnitude between the differential phase minimum value and the historical differential phase minimum value; and determining a corresponding filtering average value as a coarse frequency offset estimation value according to the target differential phase maximum value and the target differential phase minimum value.
In a preferred embodiment, the fine frequency offset estimation module 530 determines the fine frequency offset estimate by: determining a difference value between a difference phase after demodulation of a Header field after coarse frequency offset compensation in a current frame and a corresponding standard difference phase, wherein the standard difference phase is a standard difference phase corresponding to a modulation index of GFSK modulation; and taking the result after the difference value filtering as an estimated value of the fine frequency offset.
In a preferred embodiment, the total frequency offset calculation module 540 calculates the total frequency offset value by: determining a fixed point width value corresponding to the differential phase of the Guard field in the current frame; and calculating the sum between the coarse frequency offset estimation value and the fine frequency offset estimation value to be used as a total frequency offset value.
In a preferred embodiment, the total frequency offset calculation module 540 performs frequency offset compensation on the received bluetooth signals by: and converting the total frequency offset value into the offset of the frequency to be carried by the frequency carrying module.
In a preferred embodiment, the receiving module 510 acquires corresponding IQ data by: the received Bluetooth signals are input into a sampling module to be sampled and output to a first filtering module to be filtered for the first time, the first filtering module outputs the Bluetooth signals after the first filtering to a frequency shifting module to shift the Bluetooth signals with low intermediate frequency to zero intermediate frequency, the frequency shifting module outputs the Bluetooth signals after the frequency shifting to a second filtering module to be filtered for the second time, and the second filtering module outputs corresponding IQ data.
In a preferred embodiment, the device further comprises a delay calculation module (not shown in the figure) for determining group delays corresponding to all filters between the differential phase domain and the time domain; and calculating the starting time of the time domain compensation frequency offset according to the group delay, the starting time of the Guard field in the current frame and the ending time of the Guard field so as to carry out frequency offset compensation on the received Bluetooth signal.
Referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 600 includes a processor 610, a memory 620, and a bus 630.
The memory 620 stores machine-readable instructions executable by the processor 610, when the electronic device 600 is running, the processor 610 communicates with the memory 620 through the bus 630, and when the machine-readable instructions are executed by the processor 610, the steps of the method for processing bluetooth signals in the method embodiment shown in fig. 1 can be executed, and detailed implementation is referred to in the method embodiment and will not be repeated herein.
The embodiment of the present application further provides a computer readable storage medium, where a computer program is stored on the computer readable storage medium, and when the computer program is executed by a processor, the steps of the method for processing bluetooth signals in the method embodiment shown in fig. 1 may be executed, and a specific implementation manner may refer to the method embodiment and will not be described herein.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, and are not repeated herein.
In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing a bluetooth signal, the method comprising:
acquiring corresponding IQ data based on a Bluetooth signal sent by a received Bluetooth sending end in an increased rate mode;
determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data so as to perform coarse frequency offset compensation on the differential phase;
after the synchronization of the current frame is successful, determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase;
and determining a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value so as to perform frequency offset compensation on the received Bluetooth signals.
2. The method of claim 1, wherein the coarse frequency offset estimate is determined by:
determining a differential phase maximum value and a differential phase minimum value in a Preamble field and an Access Code field of a current frame;
determining a target differential phase maximum value according to the magnitude between the differential phase maximum value and the historical differential phase maximum value;
determining a target differential phase minimum value according to the magnitude between the differential phase minimum value and the historical differential phase minimum value;
and determining a corresponding filtering average value as the coarse frequency offset estimation value according to the maximum value of the target differential phase and the minimum value of the target differential phase.
3. The method of claim 2, wherein the fine frequency offset estimate is determined by:
determining a difference value between a difference phase after demodulation of a Header field after coarse frequency offset compensation in a current frame and a corresponding standard difference phase, wherein the standard difference phase is a standard difference phase corresponding to a modulation index of GFSK modulation;
and taking the result after the difference value is filtered as an estimated value of the fine frequency offset.
4. The method of claim 1, wherein the total frequency offset value is calculated by:
determining a fixed point width value corresponding to the differential phase of the Guard field in the current frame;
and calculating the sum between the coarse frequency offset estimation value and the fine frequency offset estimation value to be used as the total frequency offset value.
5. The method of claim 1, wherein the received bluetooth signal is frequency offset compensated by:
and converting the total frequency offset value into the offset of the frequency to be carried by the frequency carrying module.
6. The method of claim 1, wherein the corresponding IQ data is obtained by:
the received Bluetooth signals are input into a sampling module to be sampled and output to a first filtering module to be filtered for the first time, the first filtering module outputs the Bluetooth signals after the first filtering to a frequency shifting module to shift the Bluetooth signals with low intermediate frequency to zero intermediate frequency, the frequency shifting module outputs the Bluetooth signals after the frequency shifting to a second filtering module to be filtered for the second time, and the second filtering module outputs corresponding IQ data.
7. The method as recited in claim 1, further comprising:
determining group delay corresponding to all filters between a differential phase domain and a time domain;
and calculating the starting time of the time domain compensation frequency offset according to the group delay, the starting time of the Guard field in the current frame and the ending time of the Guard field so as to carry out frequency offset compensation on the received Bluetooth signal.
8. A processing apparatus for bluetooth signals, said apparatus comprising:
the receiving module is used for acquiring corresponding IQ data based on a Bluetooth signal sent by the received Bluetooth sending end in an increased rate mode;
the coarse frequency offset estimation module is used for determining a coarse frequency offset estimation value based on the differential phase of the Preamble field and the Access Code field of the current frame in the IQ data so as to perform coarse frequency offset compensation on the differential phase;
the fine frequency offset estimation module is used for determining a fine frequency offset estimation value according to the differential phase of the Header field after coarse frequency offset compensation in the current frame and the corresponding standard differential phase after the synchronization of the current frame is successful;
and the total frequency offset calculation module is used for determining a total frequency offset value according to the coarse frequency offset estimation value and the fine frequency offset estimation value so as to perform frequency offset compensation on the received Bluetooth signals.
9. An electronic device, comprising: a processor, a memory and a bus, said memory storing machine readable instructions executable by said processor, said processor and said memory communicating over the bus when the electronic device is running, said processor executing said machine readable instructions to perform the steps of the method of processing bluetooth signals according to any of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the bluetooth signal processing method according to any of claims 1 to 7.
CN202310779570.4A 2023-06-29 2023-06-29 Bluetooth signal processing method and device, electronic equipment and storage medium Active CN116505978B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310779570.4A CN116505978B (en) 2023-06-29 2023-06-29 Bluetooth signal processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310779570.4A CN116505978B (en) 2023-06-29 2023-06-29 Bluetooth signal processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116505978A true CN116505978A (en) 2023-07-28
CN116505978B CN116505978B (en) 2023-08-29

Family

ID=87325348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310779570.4A Active CN116505978B (en) 2023-06-29 2023-06-29 Bluetooth signal processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116505978B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862545A (en) * 2019-01-15 2019-06-07 珠海市杰理科技股份有限公司 Frequency bias compensation method, device, computer equipment and the storage medium of Bluetooth signal
CN113079495A (en) * 2021-04-01 2021-07-06 上海兆煊微电子有限公司 Low-power-consumption Bluetooth real-time frequency offset estimation compensation method and system
CN114050845A (en) * 2021-11-25 2022-02-15 思澈科技(上海)有限公司 Coherent demodulation method of Bluetooth EDR receiver
CN115695122A (en) * 2022-10-11 2023-02-03 苏州博联科技有限公司 BLE-oriented high-sensitivity GFSK digital receiver demodulation method and system
US20230097689A1 (en) * 2021-09-24 2023-03-30 Cypress Semiconductor Corporation Coarse and fine compensation for frequency error

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109862545A (en) * 2019-01-15 2019-06-07 珠海市杰理科技股份有限公司 Frequency bias compensation method, device, computer equipment and the storage medium of Bluetooth signal
CN113079495A (en) * 2021-04-01 2021-07-06 上海兆煊微电子有限公司 Low-power-consumption Bluetooth real-time frequency offset estimation compensation method and system
US20230097689A1 (en) * 2021-09-24 2023-03-30 Cypress Semiconductor Corporation Coarse and fine compensation for frequency error
CN114050845A (en) * 2021-11-25 2022-02-15 思澈科技(上海)有限公司 Coherent demodulation method of Bluetooth EDR receiver
CN115695122A (en) * 2022-10-11 2023-02-03 苏州博联科技有限公司 BLE-oriented high-sensitivity GFSK digital receiver demodulation method and system

Also Published As

Publication number Publication date
CN116505978B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN109862545B (en) Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium
KR101048304B1 (en) Frequency shift estimating apparatus, signal processing apparatus including the estimating apparatus, and frequency shift estimating method using the estimating apparatus
EP2930867A1 (en) Light-receiving device and phase cycle slip reduction method
KR100581059B1 (en) Appratus and its Method for I/Q Imbalance Compensation by using Variable Loop Gain in Demodulator
CN109361634B (en) Compensation method and system for carrier frequency offset of receiver
JP2002519935A (en) Method, apparatus and system for determining the position of a frequency synchronization signal
US9853844B2 (en) Circuits and methods for frequency offset estimation in FSK communications
KR100355502B1 (en) Ofdm communication apparatus and method thereof
US20050013389A1 (en) Wireless data communication demodulation device and demodulation method
EP2615770B1 (en) Fast acquisition of frame timing and frequency
EP0838111A1 (en) Carrier recovery for digitally phase modulated signals, using a known sequence
CN116505978B (en) Bluetooth signal processing method and device, electronic equipment and storage medium
US6748030B2 (en) Differential phase demodulator incorporating 4th order coherent phase tracking
CN111212006B (en) Signal demodulation system and demodulation method
RU2307474C1 (en) Method for receipt of noise-like signals with minimal frequency manipulation
CN114363133B (en) Frequency offset detection method, system, storage medium and electronic equipment
CN108353066B (en) Apparatus and method for carrier frequency offset correction and storage medium thereof
JP3237628B2 (en) Channel characteristics estimator
CN114465691A (en) Low-complexity constant envelope phase modulation signal sampling deviation estimation and compensation method and system
CN109450837B (en) Sampling frequency offset estimation and compensation method and system
CN105591732A (en) Frequency compensation processing method and device
JPH09246917A (en) Frequency error estimation device
JP4548158B2 (en) Receiving method and receiving apparatus
CN113726706B (en) Method, device and storage medium for improving demodulation precision of D8PSK signal
CN111131106A (en) Frequency offset estimation method, system, storage medium and receiving device of communication signal

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