CN109862545B - Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium - Google Patents

Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium Download PDF

Info

Publication number
CN109862545B
CN109862545B CN201910035533.6A CN201910035533A CN109862545B CN 109862545 B CN109862545 B CN 109862545B CN 201910035533 A CN201910035533 A CN 201910035533A CN 109862545 B CN109862545 B CN 109862545B
Authority
CN
China
Prior art keywords
frequency offset
signal
phase information
bluetooth
phase
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910035533.6A
Other languages
Chinese (zh)
Other versions
CN109862545A (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.)
Zhuhai Jieli Technology Co Ltd
Original Assignee
Zhuhai Jieli Technology 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 Zhuhai Jieli Technology Co Ltd filed Critical Zhuhai Jieli Technology Co Ltd
Priority to CN201910035533.6A priority Critical patent/CN109862545B/en
Publication of CN109862545A publication Critical patent/CN109862545A/en
Application granted granted Critical
Publication of CN109862545B publication Critical patent/CN109862545B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a frequency offset compensation method and device of a Bluetooth signal, computer equipment and a storage medium, belonging to the technical field of wireless communication. The method comprises the following steps: performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; acquiring phase information of the Bluetooth signal, and determining a frequency offset estimation value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; performing frequency offset compensation on the phase information through the frequency offset estimation value; and determining a Bluetooth output signal according to the phase information after the frequency offset compensation. By the technical scheme, the problem that the normal Bluetooth signal is damaged when a large frequency offset occurs is solved, and the Bluetooth performance is reduced. The integrality of bluetooth signal can be effectively guaranteed for the bluetooth output signal accuracy that confirms is high, guarantees the performance of bluetooth.

Description

Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method and an apparatus for frequency offset compensation of bluetooth signals, a computer device, and a storage medium.
Background
Bluetooth is a wireless short-range communication standard operating in the 2.4G ISM band. The method is mainly used for low-speed close-range data transmission and voice communication, and has the characteristics of low cost, low power consumption and the like. The bluetooth signal may have problems of frequency offset, phase offset, and the like during data transmission, so it is necessary to perform corresponding processing on the bluetooth signal at the receiver end to eliminate the influence of frequency offset, phase offset, and the like.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: in a conventional bluetooth signal processing method, frequency offset is often estimated by using demodulated data, and then data is compensated according to the estimated frequency offset. However, this method is prone to the problem that normal bluetooth signals are destroyed in case of large frequency offset, which results in the bluetooth performance degradation.
Disclosure of Invention
Based on this, the embodiments of the present invention provide a method and an apparatus for compensating frequency offset of a bluetooth signal, a computer device, and a storage medium, which can effectively improve the integrity of the bluetooth signal and ensure the performance of bluetooth.
The content of the embodiment of the invention is as follows:
a frequency offset compensation method of Bluetooth signals comprises the following steps: performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; acquiring phase information of the Bluetooth signal, and determining a frequency offset estimation value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; performing frequency offset compensation on the phase information through the frequency offset estimation value; and determining a Bluetooth output signal according to the phase information after the frequency offset compensation.
In one embodiment, the step of obtaining the phase information of the bluetooth signal includes: performing matched filtering on the compensated signal; and carrying out phase demodulation on the compensated signal subjected to matched filtering to obtain phase information of the Bluetooth signal.
In one embodiment, the step of determining the frequency offset estimation value according to the phase information includes: acquiring an access code of the Bluetooth signal according to the phase information, and performing synchronous processing on the phase information according to the access code; and determining the direct current quantity of the phase information subjected to the synchronous processing, and determining the frequency offset estimation value according to the direct current quantity.
In one embodiment, the step of determining a dc amount of the synchronized phase information and determining the frequency offset estimation value according to the dc amount includes: acquiring a preamble code in the access code; averaging the preamble codes, and determining the direct current quantity according to the averaged preamble codes; and carrying out specific operation on the direct current quantity to obtain the frequency offset estimation value.
In one embodiment, the step of performing coarse frequency offset compensation on the acquired bluetooth signal to obtain a compensated signal includes: acquiring a predetermined rough frequency offset compensation value, and performing frequency offset compensation on the acquired Bluetooth signal through the rough frequency offset compensation value to obtain a compensated signal; after the step of determining the frequency offset estimation value according to the phase information, the method further includes: and updating the frequency offset rough compensation value through the frequency offset estimation value.
In one embodiment, the step of performing frequency offset compensation on the phase information by using the frequency offset estimation value includes: carrying out differential operation on the phase information to obtain a corresponding differential phase; and performing frequency offset compensation on the differential phase through the frequency offset estimation value.
In one embodiment, after the step of determining the bluetooth output signal according to the phase information after the frequency offset compensation, the method further includes: obtaining a bit value corresponding to the differential phase after the frequency offset compensation; the bit value is determined according to the position of a constellation point corresponding to the differential phase after the frequency offset compensation; and determining the Bluetooth output signal according to the bit value.
Correspondingly, an embodiment of the present invention provides a frequency offset compensation apparatus for bluetooth signals, including: the first compensation module is used for performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; the estimated value determining module is used for acquiring phase information of the Bluetooth signal and determining a frequency offset estimated value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; the second compensation module is used for carrying out frequency offset compensation on the phase information through the frequency offset estimation value; and the output signal determining module is used for determining the Bluetooth output signal according to the phase information after the frequency offset compensation.
According to the frequency offset compensation method and device for the Bluetooth signals, the frequency offset compensation is carried out on the Bluetooth signals before phase demodulation, and the integrity of the Bluetooth signals can be effectively guaranteed; and then, frequency offset compensation is carried out on the phase information obtained by demodulation, so that a Bluetooth output signal is obtained, the accuracy of the determined Bluetooth output signal is high, and the Bluetooth performance is ensured.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; acquiring phase information of the Bluetooth signal, and determining a frequency offset estimation value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; performing frequency offset compensation on the phase information through the frequency offset estimation value; and determining a Bluetooth output signal according to the phase information after the frequency offset compensation.
The computer equipment can effectively ensure the integrity of the Bluetooth signal, so that the determined Bluetooth output signal has high accuracy and the Bluetooth performance is ensured.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of: performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; acquiring phase information of the Bluetooth signal, and determining a frequency offset estimation value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; performing frequency offset compensation on the phase information through the frequency offset estimation value; and determining a Bluetooth output signal according to the phase information after the frequency offset compensation.
The computer readable storage medium can effectively ensure the integrity of the Bluetooth signal, so that the determined Bluetooth output signal has high accuracy and the Bluetooth performance is ensured.
Drawings
FIG. 1 is a diagram illustrating an exemplary embodiment of a method for frequency offset compensation of a Bluetooth signal;
FIG. 2 is a flowchart illustrating a method for frequency offset compensation of a Bluetooth signal according to an embodiment;
FIG. 3 is a diagram of a frame structure of Bluetooth in one embodiment;
FIG. 4 is a block diagram showing a frequency offset compensation apparatus for a Bluetooth signal according to an embodiment;
fig. 5 is a block diagram showing a frequency offset compensation apparatus for bluetooth signals in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The frequency offset compensation method of the Bluetooth signal can be applied to the computer device shown in FIG. 1. The computer device may be a server, a bluetooth receiver, etc., and its internal structure diagram may be as shown in fig. 1. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing the acquired data such as the Bluetooth signal, the phase information, the frequency deviation estimation value and the like. The network interface of the computer device is used for communicating with an external terminal through a network connection, such as: and the Bluetooth transmitter is connected with the Bluetooth receiver and is used for receiving the Bluetooth signals sent by the Bluetooth transmitter. The computer program, when executed by a processor, implements a method of frequency offset compensation for bluetooth signals.
Those skilled in the art will appreciate that the architecture shown in fig. 1 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The embodiment of the invention provides a frequency offset compensation method and device of a Bluetooth signal, computer equipment and a storage medium. The following are detailed below.
In one embodiment, as shown in fig. 2, a method for frequency offset compensation of bluetooth signals is provided. Taking the method applied to the bluetooth receiver as an example for explanation, the method comprises the following steps:
s201, performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal.
The bluetooth signal may be a bluetooth signal directly transmitted from a transmitter, or may be acquired by ADC sampling and the like. The obtained Bluetooth signals can be various types and various frequencies. For example, the intermediate frequency signal (also called intermediate frequency digital IQ signal, intermediate frequency modulation signal) may be used
Figure BDA0001945761370000051
Where Δ f is the frequency offset, φ (t: I) is the modulation information,
Figure BDA0001945761370000052
is the initial phase value.
The bluetooth signal may generate frequency offset due to the influence of the external environment and the like during the transmission process. After the intermediate frequency signal with frequency deviation passes through the phase demodulator, the phase is obtained
Figure BDA0001945761370000053
Further differencing to obtain phi's(t) ═ 2 π Δ f + φ' (t: I). For GFSK (gaussian frequency shift keying) signals, the frequency offset is such that the demodulated signal introduces a direct current quantity 2 pi Δ f; the frequency offset deltaf can be estimated using the access code of the demodulated signal after synchronization. For DPSK (differential phase shift keying) signals, this results in a constellation phase rotation of the demodulated signal phi' (t: I) by 2 pi deltaf. If the frequency offset is not compensated, a judgment process (a process of determining a bluetooth output signal) is more prone to make a mistake, so that the error rate is increased, and further, the communication quality is poor. On the other hand, the intermediate frequency signal sometimes needs to be subjected to a matched filtering process before being demodulated, and when the intermediate frequency signal passes through the matched filter, if a frequency offset exists, the intermediate frequency signal deviates from the center of the filter, so that not only is the interference of noise not completely reduced, but also the information of the intermediate frequency signal is possibly lost. In summary, it is necessary to perform preliminary compensation of the frequency offset before the matched filter.
The coarse frequency offset compensation for the acquired bluetooth signal may be implemented in various ways, for example, acquiring a coarse frequency offset compensation value, and performing coarse frequency offset compensation (e.g., performing complex mixing) on the intermediate frequency signal s (t) by using the coarse frequency offset compensation value to obtain a corresponding compensated signal sc (t). If the frequency offset compensation is carried out on the intermediate frequency signal for the first time, the initial value of the frequency offset rough compensation value can be obtained, and the coarse frequency offset compensation is carried out on the intermediate frequency signal through the initial value. The initial value of the coarse frequency offset compensation value may be determined according to actual conditions, for example, may be determined to be 0 or other values.
Further, assume a coarse offset value fd' coarse frequency offset compensation by complex mixing may be as follows:
Figure BDA0001945761370000061
when the rough frequency offset compensation value is equal to the actual frequency offset value, the obtained compensated signal can be simplified to be
Figure BDA0001945761370000062
I.e. the intermediate frequency signal is influenced only by the initial phase and the modulation information, while the initial phase is
Figure BDA0001945761370000063
Can be completely eliminated by the difference, so that the compensated signal can be basically positioned at zero intermediate frequency.
S202, obtaining phase information of the Bluetooth signal, and determining a frequency deviation estimated value f according to the phase informationd(ii) a And the phase information is obtained by phase demodulation of the compensated signal.
Further, the step of obtaining the phase information of the bluetooth signal includes: performing matched filtering on the compensated signal; and carrying out phase demodulation on the compensated signal subjected to matched filtering to obtain phase information of the Bluetooth signal.
Can be represented by formula
Figure BDA0001945761370000064
Matched filtering is performed on compensated signal sc (t), where c (i) is the coefficient of the matched filter. When the compensated signal passes through the matched filter, the frequency deviation is eliminated as much as possible, so that the completeness of the Bluetooth signal can be ensured, the noise and the interference can be reduced to the maximum extent, and the interference of a channel to the Bluetooth signal can be effectively weakened.
In addition, the phase information contains the relevant information of frequency deviation, and the phase information is used for the frequency deviationA corresponding frequency offset estimate can be determined. Phase demodulation can be performed on the matched filtering output y (t), so as to obtain phase information phi (t) ═ arctan (y (t)), and further determine the frequency offset estimation value f according to the phase information phi (t)d. The implementation manner of arctan may be: look-up tables, polynomial approximations, CORDIC algorithms, and the like.
S203, performing frequency offset compensation on the phase information through the frequency offset estimation value.
The phase information may be directly subjected to frequency offset compensation, or a differential phase and the like corresponding to the phase information may be subjected to frequency offset compensation.
And S204, determining a Bluetooth output signal according to the phase information after the frequency offset compensation.
After the frequency offset compensation is performed on the phase information, the phase information needs to be converted into a form of information, such as a digital signal, which can be better processed. Therefore, certain processing can be carried out on the phase information after frequency offset compensation, and then the Bluetooth output signal is determined.
In the physical layer specification of bluetooth, EDR (Enhanced Data Rate) Data is transmitted using GFSK and DPSK modulation. Both GFSK and DPSK belong to angle modulation, which can effectively resist the nonlinear influence of the channel or receiver on the signal amplitude. GFSK is a signal bandwidth limited using a gaussian filter prior to modulation, representing binary 1 and 0 using positive and negative frequency offsets, respectively. DPSK uses the change in phase to represent information, which is effective against the effects of channel and phase ambiguity, while allowing the use of simple non-coherent receivers to achieve the reception of bluetooth signals. According to the requirement of the Bluetooth physical layer specification, the allowable frequency offset range is-150 k under the condition of ensuring the error rate.
The traditional frequency offset compensation method estimates frequency offset by using demodulated data, and then compensates the data according to the estimated frequency offset. When the bluetooth signal has large frequency offset, the filtered signal is likely to be damaged (DPSK is particularly obvious), which may result in performance degradation of the bluetooth signal. The frequency offset compensation method for the bluetooth signal provided by this embodiment performs coarse frequency offset compensation before matched filtering, and can effectively ensure the integrity of the bluetooth signal, so that the determined bluetooth output signal has high accuracy, and the performance of the bluetooth is ensured.
In one embodiment, the step of determining a frequency offset estimate based on the phase information comprises: acquiring an access code of the Bluetooth signal according to the phase information, and performing synchronous processing on the phase information according to the access code; and determining the direct current quantity of the phase information subjected to the synchronous processing, and determining the frequency offset estimation value according to the direct current quantity.
The frame structure of bluetooth may be as shown in fig. 3. The frame structure provided by the bluetooth specification mainly comprises a GFSK modulated part and a DPSK modulated part, and a time interval (GUARD). The GFSK modulation part comprises an access code and a frame header and is used for parameter estimation such as frame synchronization, frequency offset and the like; the DPSK comprises synchronization information, load information and tail information; GUARD is used to separate GFSK and DPSK modulated signals while leaving sufficient time for the receiver to switch, etc.
Further, the access code in the GFSK may be used to synchronize and estimate the dc amount due to the frequency offset, from which an estimate of the frequency offset may be determined. The specific implementation process of synchronizing and determining the dc quantity may be: the ACCESS CODE (ACCESS CODE) is a special and known piece of signal that includes preamble and sync words. The preamble includes 0101 (or 1010) four known symbols, 1 corresponds to positive frequency, 0 corresponds to negative frequency, the positive frequency and the negative frequency are completely cancelled after the preamble is subjected to averaging (summation), and a direct current quantity remains, so that the direct current quantity generated by frequency offset can be estimated. The Sync word is a known 64-bits synchronization code, and the 64-bits is used to perform correlation operation with the demodulated phase information, for example: and operation, if the synchronous code is consistent with the phase information, the result of the operation is the maximum relative to other inconsistent conditions, and when the maximum value of the correlation output exceeds a set threshold value, the synchronization process of the phase information can be realized.
Therefore, the step of determining the dc amount of the synchronized phase information and determining the frequency offset estimation value according to the dc amount includes: acquiring a preamble code in the access code; averaging the preamble codes, and determining the direct current quantity according to the averaged preamble codes; performing a specific operation on the dc amount, for example: and obtaining the frequency offset estimation value by direct current quantity/(2 pi).
In this embodiment, the phase information is synchronized and frequency offset estimated, and a corresponding frequency offset estimated value is output. The implementation process is simple, and the accuracy of the determined frequency offset estimation value can be ensured.
In an embodiment, the step of performing coarse frequency offset compensation on the acquired bluetooth signal to obtain a compensated signal includes: acquiring a predetermined rough frequency offset compensation value, and performing frequency offset compensation on the acquired Bluetooth signal through the rough frequency offset compensation value to obtain a compensated signal; after the step of determining the frequency offset estimation value according to the phase information, the method further includes: and updating the frequency offset rough compensation value through the frequency offset estimation value.
In this embodiment, the frequency offset compensation is performed on the acquired bluetooth signal by using the rough frequency offset compensation value, and after determining the frequency offset estimation value, the rough frequency offset compensation value is updated according to the determined frequency offset estimation value. The determined frequency offset estimation value is determined according to the compensated signal, and the frequency offset rough compensation value in the rough frequency offset estimation is updated through the frequency offset estimation value to obtain a more accurate compensated signal, which is a process of gradual feedback optimization and can enable the performance of the finally determined Bluetooth output signal to be more and more stable.
In one embodiment, the step of performing frequency offset compensation on the phase information by using the frequency offset estimation value includes: carrying out differential operation on the phase information phi (t) to obtain a corresponding differential phase phi' (t); and performing frequency offset compensation on the differential phase through the frequency offset estimation value.
Specifically, frequency offset estimation value f is utilizeddAnd carrying out frequency offset compensation on the differential phase phi' (t):
Figure BDA0001945761370000091
in this embodiment, the frequency offset compensation is performed on the differential phase corresponding to the phase information, so that the initial differential phase can be effectively eliminated, and the performance of the bluetooth signal is ensured.
In one embodiment, after the step of determining the bluetooth output signal according to the phase information after the frequency offset compensation, the method further includes: obtaining a bit value corresponding to the differential phase after the frequency offset compensation; the bit value is determined according to the position of a constellation point corresponding to the differential phase after the frequency offset compensation; and determining the Bluetooth output signal according to the bit value.
The differential phase after frequency offset compensation can be corresponding to the constellation point, and the differential phase after frequency offset compensation is converted into a bit value according to the position of the constellation point. Specifically, assuming that constellation points are distributed in a coordinate system of four quadrants, the constellation points located in the first/second/third/fourth quadrants are respectively corresponding to 00/01/10/11 bit values; which quadrant the differential phase after frequency offset compensation is in the coordinate system is determined, and then the corresponding differential phase can be converted into 00, 01, 10 or 11.
When the differential phase is multiple, a plurality of corresponding bit values can be determined, and the bit values are arranged to a certain extent, so that a corresponding Bluetooth output signal is obtained. After determining the bluetooth output signals, the corresponding bluetooth output signals may be output bit by bit in order.
According to the frequency offset compensation method for the bluetooth signal, the corresponding bit value is determined according to the constellation point position of the differential phase after frequency offset compensation, so that the bluetooth output signal is obtained, the obtained bluetooth output signal is convenient for information processing, and the expansibility of the frequency offset of the bluetooth signal is improved.
In order to better understand the above method, an application example of the frequency offset compensation method of the bluetooth signal of the present invention is described in detail below.
S1, acquiring the intermediate frequency signal after ADC down-sampling, wherein the intermediate frequency signal is assumed to be
Figure BDA0001945761370000101
S2, obtaining a frequency offset rough compensation value, performing rough frequency offset compensation on the intermediate frequency signal S (t) through the frequency offset rough compensation value, and outputting a compensated signal sc (t).
S3, matching and filtering the compensated signal sc (t),
Figure BDA0001945761370000102
S4, phase-demodulates the matched filter output y (t), and obtains phase information Φ (t) arctan (y (t)).
S5, after phase information phi (t) is obtained, a frequency offset estimation value f is output through synchronization and frequency offset estimationd
S6, the phase information Φ (t) is subjected to a difference operation to obtain a difference phase Φ' (t).
S7, estimating value f through frequency deviationdFrequency offset compensation for differential phase phi' (t)
Figure BDA0001945761370000111
S8, differential phase after frequency offset compensation
Figure BDA0001945761370000112
And (6) judging to obtain bit output.
This embodiment can effectively guarantee the integrality of bluetooth signal for the bluetooth output signal accuracy that confirms is high, guarantees the performance of bluetooth.
It should be noted that, for the sake of simplicity, the foregoing method embodiments are described as a series of acts or combinations, but those skilled in the art should understand that the present invention is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present invention.
Based on the same idea as the frequency offset compensation method of the bluetooth signal in the above embodiment, the present invention further provides a frequency offset compensation apparatus of the bluetooth signal, which can be used to execute the frequency offset compensation method of the bluetooth signal. For convenience of illustration, the schematic structural diagram of the embodiment of the apparatus for frequency offset compensation of bluetooth signals only shows the parts related to the embodiment of the present invention, and those skilled in the art will understand that the illustrated structure does not constitute a limitation of the apparatus, and may include more or less components than those illustrated, or combine some components, or arrange different components.
As shown in fig. 4, the apparatus for compensating frequency offset of bluetooth signal comprises a first compensation module 401, an estimated value determining module 402, a second compensation module 403 and an output signal determining module 404, which are described in detail as follows:
the first compensation module 401 is configured to perform coarse frequency offset compensation on the acquired bluetooth signal to obtain a compensated signal.
An estimated value determining module 402, configured to obtain phase information of the bluetooth signal, and determine a frequency offset estimated value according to the phase information; and the phase information is obtained by phase demodulation of the compensated signal.
A second compensation module 403, configured to perform frequency offset compensation on the phase information according to the frequency offset estimation value.
And an output signal determining module 404, configured to determine a bluetooth output signal according to the phase information after the frequency offset compensation.
This embodiment can effectively guarantee the integrality of bluetooth signal for the bluetooth output signal accuracy that confirms is high, guarantees the performance of bluetooth.
In one embodiment, the step of obtaining phase information of the bluetooth signal includes: performing matched filtering on the compensated signal; and carrying out phase demodulation on the compensated signal subjected to matched filtering to obtain phase information of the Bluetooth signal.
In one embodiment, the step of determining a frequency offset estimate based on the phase information comprises: acquiring an access code of the Bluetooth signal according to the phase information, and performing synchronous processing on the phase information according to the access code; and determining the direct current quantity of the phase information subjected to the synchronous processing, and determining the frequency offset estimation value according to the direct current quantity.
In one embodiment, the step of determining a dc amount of the synchronized phase information and determining the frequency offset estimation value according to the dc amount includes: acquiring a preamble code in the access code; averaging the preamble codes, and determining the direct current quantity according to the averaged preamble codes; and carrying out specific operation on the direct current quantity to obtain the frequency offset estimation value.
In an embodiment, the step of performing coarse frequency offset compensation on the acquired bluetooth signal to obtain a compensated signal includes: acquiring a predetermined rough frequency offset compensation value, and performing frequency offset compensation on the acquired Bluetooth signal through the rough frequency offset compensation value to obtain a compensated signal; after the step of determining the frequency offset estimation value according to the phase information, the method further includes: and updating the frequency offset rough compensation value through the frequency offset estimation value.
In one embodiment, the step of performing frequency offset compensation on the phase information by using the frequency offset estimation value includes: carrying out differential operation on the phase information to obtain a corresponding differential phase; and performing frequency offset compensation on the differential phase through the frequency offset estimation value.
In one embodiment, after the step of determining the bluetooth output signal according to the phase information after the frequency offset compensation, the method further includes: obtaining a bit value corresponding to the differential phase after the frequency offset compensation; the bit value is determined according to the position of a constellation point corresponding to the differential phase after the frequency offset compensation; and determining the Bluetooth output signal according to the bit value.
It should be noted that, the frequency offset compensation apparatus for bluetooth signals of the present invention corresponds to the frequency offset compensation method for bluetooth signals of the present invention one to one, and the technical features and the beneficial effects described in the embodiments of the frequency offset compensation method for bluetooth signals are all applicable to the embodiments of the frequency offset compensation apparatus for bluetooth signals, and specific contents may refer to the description in the embodiments of the method of the present invention, which is not described herein again, and thus is stated herein.
In addition, in the above-mentioned embodiment of the frequency offset compensation apparatus for bluetooth signals, the logical division of each program module is only an example, and in practical applications, the above-mentioned function allocation may be performed by different program modules according to needs, for example, due to configuration requirements of corresponding hardware or due to convenience of implementation of software, that is, the internal structure of the frequency offset compensation apparatus for bluetooth signals is divided into different program modules to perform all or part of the above-mentioned functions.
For example, the division of the program modules of the frequency offset compensation apparatus for bluetooth signals may also be as shown in fig. 5. The frequency deviation compensation device of the Bluetooth signal comprises: and the intermediate frequency signal module is used for outputting the received intermediate frequency modulation signal. And the coarse frequency offset compensation module is connected with the intermediate frequency signal module and is used for compensating the influence of frequency offset so that the intermediate frequency signal is basically positioned in zero intermediate frequency. And the matched filtering module is positioned at the output of the coarse frequency offset compensation module and is used for filtering the compensated zero intermediate frequency signal and reducing the influence of a channel and interference on the signal. The phase demodulation module is connected with the output of the matched filtering module and used for calculating phase information after the matched filtering is output; and the phase information is respectively output to the GFSK frequency offset estimation module and the DPSK phase difference module. And the GFSK frequency offset estimation module is connected with the phase demodulation module and used for synchronizing the phase information, further estimating frequency offset by using the phase information to obtain a frequency offset estimation value and outputting the frequency offset estimation value to the coarse frequency offset compensation module and the DPSK phase compensation module. And the DPSK phase differential module is connected with the phase demodulation module and used for differential processing. And the input of the frequency offset compensation module is respectively connected with the DPSK phase difference module and the GFSK frequency offset estimation module, and the DPSK phase difference signal is compensated by using the frequency offset estimation value, so that the influence of frequency offset on the phase is reduced. And the judgment output module is connected with the frequency deviation compensation module and is used for judging the compensated differential phase to obtain bit information. And the control module is connected with all the modules and is used for controlling the step flow.
This frequency deviation compensation arrangement of bluetooth signal can reduce the influence of frequency deviation, effectively guarantees bluetooth signal's integrality, can make the bluetooth output signal accuracy of confirming high, guarantees bluetooth signal's performance.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; acquiring phase information of the Bluetooth signal, and determining a frequency offset estimation value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; performing frequency offset compensation on the phase information through the frequency offset estimation value; and determining a Bluetooth output signal according to the phase information after the frequency offset compensation.
In one embodiment, the processor, when executing the computer program, further performs the steps of: performing matched filtering on the compensated signal; and carrying out phase demodulation on the compensated signal subjected to matched filtering to obtain phase information of the Bluetooth signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring an access code of the Bluetooth signal according to the phase information, and performing synchronous processing on the phase information according to the access code; and determining the direct current quantity of the phase information subjected to the synchronous processing, and determining the frequency offset estimation value according to the direct current quantity.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a preamble code in the access code; averaging the preamble codes, and determining the direct current quantity according to the averaged preamble codes; and carrying out specific operation on the direct current quantity to obtain the frequency offset estimation value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring a predetermined rough frequency offset compensation value, and performing frequency offset compensation on the acquired Bluetooth signal through the rough frequency offset compensation value to obtain a compensated signal; and updating the frequency offset rough compensation value through the frequency offset estimation value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: carrying out differential operation on the phase information to obtain a corresponding differential phase; and performing frequency offset compensation on the differential phase through the frequency offset estimation value.
In one embodiment, the processor, when executing the computer program, further performs the steps of: obtaining a bit value corresponding to the differential phase after the frequency offset compensation; the bit value is determined according to the position of a constellation point corresponding to the differential phase after the frequency offset compensation; and determining the Bluetooth output signal according to the bit value.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; acquiring phase information of the Bluetooth signal, and determining a frequency offset estimation value according to the phase information; the phase information is obtained by phase demodulation of the compensated signal; performing frequency offset compensation on the phase information through the frequency offset estimation value; and determining a Bluetooth output signal according to the phase information after the frequency offset compensation.
In one embodiment, the computer program when executed by the processor further performs the steps of: performing matched filtering on the compensated signal; and carrying out phase demodulation on the compensated signal subjected to matched filtering to obtain phase information of the Bluetooth signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring an access code of the Bluetooth signal according to the phase information, and performing synchronous processing on the phase information according to the access code; and determining the direct current quantity of the phase information subjected to the synchronous processing, and determining the frequency offset estimation value according to the direct current quantity.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a preamble code in the access code; averaging the preamble codes, and determining the direct current quantity according to the averaged preamble codes; and carrying out specific operation on the direct current quantity to obtain the frequency offset estimation value.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring a predetermined rough frequency offset compensation value, and performing frequency offset compensation on the acquired Bluetooth signal through the rough frequency offset compensation value to obtain a compensated signal; and updating the frequency offset rough compensation value through the frequency offset estimation value.
In one embodiment, the computer program when executed by the processor further performs the steps of: carrying out differential operation on the phase information to obtain a corresponding differential phase; and performing frequency offset compensation on the differential phase through the frequency offset estimation value.
In one embodiment, the computer program when executed by the processor further performs the steps of: obtaining a bit value corresponding to the differential phase after the frequency offset compensation; the bit value is determined according to the position of a constellation point corresponding to the differential phase after the frequency offset compensation; and determining the Bluetooth output signal according to the bit value.
It will be understood by those skilled in the art that all or part of the processes of the methods of the above embodiments may be implemented by a computer program, which is stored in a computer readable storage medium and sold or used as a stand-alone product. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
The terms "comprises" and "comprising," and any variations thereof, of embodiments of the present invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or (module) elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-described examples merely represent several embodiments of the present invention and should not be construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (9)

1. A frequency offset compensation method of Bluetooth signals is characterized by comprising the following steps:
performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; the Bluetooth signal comprises an intermediate frequency modulation signal; the compensated signal is a zero intermediate frequency signal;
acquiring phase information of the Bluetooth signal, and carrying out differential processing on the phase information through a DPSK phase differential module to obtain a differential phase corresponding to the phase information; determining a GFSK frequency deviation estimation value according to the phase information through a GFSK frequency deviation estimation module; the phase information is obtained by phase demodulation of the compensated signal;
performing DPSK frequency offset compensation on a differential phase corresponding to the phase information through the GFSK frequency offset estimation value;
determining a Bluetooth output signal according to the phase information after the frequency offset compensation;
determining quadrant information of the differential phase after frequency offset compensation in a coordinate system, and converting the differential phase after frequency offset compensation into a bit value based on the quadrant information;
and sequencing the bit values, and sequentially outputting signals corresponding to the bit values according to the sequencing so as to output the Bluetooth output signals.
2. The method of claim 1, wherein the step of obtaining the phase information of the bluetooth signal comprises:
performing matched filtering on the compensated signal;
and carrying out phase demodulation on the compensated signal subjected to matched filtering to obtain phase information of the Bluetooth signal.
3. The method of claim 1, wherein the step of determining the estimated GFSK frequency offset from the phase information comprises:
acquiring an access code of the Bluetooth signal according to the phase information, and performing synchronous processing on the phase information according to the access code;
and determining the direct current quantity of the phase information subjected to synchronous processing, and determining the estimated GFSK frequency offset value according to the direct current quantity.
4. The method of claim 3, wherein the step of determining a dc amount of the synchronized phase information and determining the estimated GFSK frequency offset value according to the dc amount comprises:
acquiring a preamble code in the access code;
averaging the preamble codes, and determining the direct current quantity according to the averaged preamble codes;
and carrying out specific operation on the direct current quantity to obtain the estimated GFSK frequency offset value.
5. The method of claim 1, wherein the step of performing coarse frequency offset compensation on the acquired bluetooth signal to obtain a compensated signal comprises:
acquiring a predetermined rough frequency offset compensation value, and performing frequency offset compensation on the acquired Bluetooth signal through the rough frequency offset compensation value to obtain a compensated signal;
after the step of determining the estimated GFSK frequency offset value according to the phase information, the method further comprises:
and updating the frequency deviation rough compensation value through the GFSK frequency deviation estimation value.
6. The method of claim 1, wherein the step of performing DPSK frequency offset compensation on the differential phase corresponding to the phase information by using the GFSK frequency offset estimation value comprises:
carrying out differential operation on the phase information to obtain a corresponding differential phase;
and carrying out DPSK frequency offset compensation on the differential phase through the GFSK frequency offset estimation value.
7. An apparatus for compensating frequency offset of bluetooth signal, comprising:
the first compensation module is used for performing coarse frequency offset compensation on the acquired Bluetooth signal to obtain a compensated signal; the Bluetooth signal comprises an intermediate frequency modulation signal; the compensated signal is a zero intermediate frequency signal;
the estimated value determining module is used for acquiring phase information of the Bluetooth signal, and carrying out differential processing on the phase information through the DPSK phase difference module to obtain a differential phase corresponding to the phase information; determining a GFSK frequency deviation estimation value according to the phase information through a GFSK frequency deviation estimation module; the phase information is obtained by phase demodulation of the compensated signal;
the second compensation module is used for carrying out DPSK frequency offset compensation on the differential phase corresponding to the phase information through the GFSK frequency offset estimation value;
the output signal determining module is used for determining a Bluetooth output signal according to the phase information after the frequency offset compensation;
determining quadrant information of the differential phase after frequency offset compensation in a coordinate system, and converting the differential phase after frequency offset compensation into a bit value based on the quadrant information;
and sequencing the bit values, and sequentially outputting signals corresponding to the bit values according to the sequencing so as to output the Bluetooth output signals.
8. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 6 are implemented by the processor when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910035533.6A 2019-01-15 2019-01-15 Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium Active CN109862545B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910035533.6A CN109862545B (en) 2019-01-15 2019-01-15 Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910035533.6A CN109862545B (en) 2019-01-15 2019-01-15 Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109862545A CN109862545A (en) 2019-06-07
CN109862545B true CN109862545B (en) 2022-03-18

Family

ID=66894721

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910035533.6A Active CN109862545B (en) 2019-01-15 2019-01-15 Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109862545B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110336711A (en) * 2019-06-13 2019-10-15 苏州中科集成电路设计中心有限公司 A kind of the check and evaluation method and its realization device of carrier communication signal quality
CN110289874B (en) * 2019-07-03 2021-08-24 江苏卓胜微电子股份有限公司 Method and system for removing influence of frequency offset on receiving performance in wireless communication
CN114244674B (en) * 2021-12-25 2023-03-21 长沙驰芯半导体科技有限公司 Frequency offset estimation method and device for ultra-wideband baseband receiver
CN114071442B (en) * 2022-01-18 2022-04-15 高拓讯达(北京)科技有限公司 Bluetooth signal frequency offset selection method, device and storage medium
CN115038162B (en) * 2022-08-12 2022-11-18 广州安凯微电子股份有限公司 Method and device for rapid same-frequency and same-phase adjustment of Bluetooth clock
CN116505978B (en) * 2023-06-29 2023-08-29 高拓讯达(北京)微电子股份有限公司 Bluetooth signal processing method and device, electronic equipment and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845542A (en) * 2005-04-08 2006-10-11 美国博通公司 Signal processing method and system
CN101552624A (en) * 2008-03-31 2009-10-07 联发科技股份有限公司 Method and apparatus for processing communication signal
CN101588338A (en) * 2009-04-15 2009-11-25 山东大学 OFDM carrier frequency offset estimation method suitable for packet transmission
CN101873283A (en) * 2009-04-23 2010-10-27 雷凌科技股份有限公司 Carrier recovery device and related method thereof
EP2670102A1 (en) * 2012-05-31 2013-12-04 Mitsubishi Electric R&D Centre Europe B.V. Method and device for synchronizing a receiver on received preamble symbol
CN103929394A (en) * 2014-04-11 2014-07-16 西安易晓通讯科技有限公司 High-precision frequency offset estimation method based on iteration algorithm
CN104811974A (en) * 2015-03-23 2015-07-29 东南大学 Data processing method of WiFi integrated tester based on IEEE802.11n standard
CN107454555A (en) * 2017-06-30 2017-12-08 建荣半导体(深圳)有限公司 Pll parameter method of adjustment, bluetooth module, Bluetooth slave devices and Bluetooth system
CN107769841A (en) * 2017-10-19 2018-03-06 中国人民解放军陆军工程大学 Satellite communication Turbo code iterative demodulation method under high dynamic Arctic ice area
CN108964783A (en) * 2018-07-30 2018-12-07 中国电子科技集团公司第五十四研究所 Coherent optical heterodyne communicatio carrier synchronization method under big Frequency Offset

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101556123B1 (en) * 2007-07-25 2015-09-30 엘지전자 주식회사 Digital broadcasting system and method of processing data in digital broadcasting system
CN113497775B (en) * 2021-09-07 2021-12-03 南京沁恒微电子股份有限公司 High-sensitivity receiving method in coded mode of Bluetooth receiver

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1845542A (en) * 2005-04-08 2006-10-11 美国博通公司 Signal processing method and system
CN101552624A (en) * 2008-03-31 2009-10-07 联发科技股份有限公司 Method and apparatus for processing communication signal
CN101588338A (en) * 2009-04-15 2009-11-25 山东大学 OFDM carrier frequency offset estimation method suitable for packet transmission
CN101873283A (en) * 2009-04-23 2010-10-27 雷凌科技股份有限公司 Carrier recovery device and related method thereof
EP2670102A1 (en) * 2012-05-31 2013-12-04 Mitsubishi Electric R&D Centre Europe B.V. Method and device for synchronizing a receiver on received preamble symbol
CN103929394A (en) * 2014-04-11 2014-07-16 西安易晓通讯科技有限公司 High-precision frequency offset estimation method based on iteration algorithm
CN104811974A (en) * 2015-03-23 2015-07-29 东南大学 Data processing method of WiFi integrated tester based on IEEE802.11n standard
CN107454555A (en) * 2017-06-30 2017-12-08 建荣半导体(深圳)有限公司 Pll parameter method of adjustment, bluetooth module, Bluetooth slave devices and Bluetooth system
CN107769841A (en) * 2017-10-19 2018-03-06 中国人民解放军陆军工程大学 Satellite communication Turbo code iterative demodulation method under high dynamic Arctic ice area
CN108964783A (en) * 2018-07-30 2018-12-07 中国电子科技集团公司第五十四研究所 Coherent optical heterodyne communicatio carrier synchronization method under big Frequency Offset

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
A Novel Structure Digital Receiver;Zijian Zhang 等;《Machine Learning and Intelligent Communications》;20180121;全文 *

Also Published As

Publication number Publication date
CN109862545A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109862545B (en) Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium
US7200188B2 (en) Method and apparatus for frequency offset compensation
EP1484880B1 (en) Demodulation device and demodulation method for wireless data communication
US6707860B1 (en) DC offset correction for direct-conversion receiver
US20170324595A1 (en) Circuits and methods for frequency offset estimation in fsk communications
US7110477B2 (en) Gaussian frequency shift keying digital demodulator
JP5214990B2 (en) Differential phase shift keying (Differential Phase Shift Keying) signal demodulating circuit and radio equipment using the same
US5504453A (en) Method and device for estimating phase error
JP2003060607A (en) Ofdm reception apparatus embodied by polar coordinate system and ofdm reception method
US5848104A (en) Demodulator of receiver used for communications
JP3120136B2 (en) TDMA data receiver
JP3350290B2 (en) Receiver
JP2000151734A (en) Radio communication device, radio communication system and control of communication
EP1128620A1 (en) Apparatus for detecting frequency offset
JP3783853B2 (en) Center level detection correction circuit for FSK demodulated signal
CN116505978B (en) Bluetooth signal processing method and device, electronic equipment and storage medium
JPH09246917A (en) Frequency error estimation device
CN111212006A (en) Signal demodulation system and demodulation method
US7366233B1 (en) Assembly for measurement demodulation and modulation error detection of a digitally modulated receive signal
US7697637B2 (en) Demodulation circuit and demodulating method
KR100438519B1 (en) Receiving system for estimating a symbol timing forward structure and timing estimating method therefor
US10256889B2 (en) Method and device for conditioning a radio data signal for a broadcast receiver
CN112398768B (en) Receiver and method for calibrating frequency offset
JP3086144B2 (en) Burst demodulator
JPH0771053B2 (en) Burst position detector

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 519000 No. 333, Kexing Road, Xiangzhou District, Zhuhai City, Guangdong Province

Applicant after: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

Address before: Floor 1-107, building 904, ShiJiHua Road, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI JIELI TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant