A Carrier Frequency Offset Estimation Method Based on Signal Spatial Spectrum Estimation
Through the signal spatial spectrum estimation method, the signal subspace and the noise subspace are separated, and combined with the MUSIC algorithm fine-grained search, the performance degradation problem of Wi-Fi signal frequency deviation estimation in high-noise and multi-path channel environments is solved, and the CFO is realized. Fast and accurate estimation for a variety of channel conditions.
Patent Information
- Application Number
- CN202311368257.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-10-20
AI Technical Summary
Existing Wi-Fi signal frequency offset (CFO) estimation methods have degraded performance in high-noise and multipath channel environments, have high computational complexity, and have high requirements on pilot symbol positions and characteristics, making it difficult to achieve accurate Wi-Fi perception. .
The carrier frequency offset estimation method based on signal spatial spectrum estimation is used to construct the phase difference sequence of adjacent Wi-Fi frames, calculate the covariance matrix, decompose the eigenvalues and eigenvectors, separate the signal subspace and noise subspace, and conduct Fourier Leaf transform and MUSIC algorithm fine-grained search to achieve accurate estimation of CFO.
This method achieves fast and accurate estimation of CFO in wireless communication systems, reduces computational complexity, is suitable for various channel conditions, is suitable for commercial communication equipment integration, and improves the accuracy of Wi-Fi perception.
Smart Images

Figure CN117640315B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of channel measurement technology in wireless communication, specifically a carrier frequency offset estimation method based on signal spatial spectrum estimation. Background Technology
[0002] With the rapid popularization of smart devices and the Internet of Things (IoT), Wi-Fi signals have become a widely used wireless communication method. Over time, Wi-Fi sensing technology has developed rapidly and shown broad application prospects in various fields. Wi-Fi sensing typically requires the analysis of Wi-Fi signals; however, due to the presence of Clock Frequency Error (CFO), the signal phase cannot reflect the actual environmental conditions, which affects the accuracy of Wi-Fi sensing. CFO is a frequency deviation caused by clock inaccuracies during signal transmission. Wi-Fi sensing needs to accurately estimate CFO to achieve precise environmental perception and analysis. Therefore, accurate CFO estimation is crucial to the performance of Wi-Fi sensing.
[0003] Existing CFO estimation methods can be mainly classified into the following categories: pilot symbol-based methods, which use pilot symbols at known locations in the OFDM system to estimate CFO, and infer the signal's CFO by the frequency offset change of the pilot symbols; least squares-based methods, which estimate the signal's CFO by minimizing the mean square error between the received signal and the reference signal; and cyclic spectrum analysis-based methods, which use the cyclic spectrum characteristics of the received signal to estimate CFO, and extract the signal's frequency information through cyclic spectrum analysis to estimate the CFO.
[0004] The above methods all have certain drawbacks. For example, the pilot symbol-based method has high requirements for the position and characteristics of the pilot symbols, is sensitive to frequency offset changes in the signal, and may be affected by factors such as multipath channels. In high-noise and multipath channel environments, the performance of the least squares method may degrade, and this method requires high computational complexity and a long observation window. Cyclic spectrum analysis has high computational complexity and often faces performance degradation.
[0005] Spatial spectrum estimation algorithms are a class of algorithms used to estimate the spatial distribution and characteristics of signal sources. They have important applications in signal processing, wireless communication, radar, and acoustics. The goal of spatial spectrum estimation algorithms is to estimate the power distribution of a signal source in space, that is, the intensity of the signal source in different directions. This technique helps determine the angle, location, and number of signal sources, as well as analyze the spatial relationship between the signal source and the receiver.
[0006] Commonly used signal spatial spectrum estimation algorithms include: methods based on the covariance matrix, which estimate the power distribution of the signal source using the covariance matrix of the received signal, including maximum likelihood estimation, minimum mean square error estimation, and least squares estimation; methods based on subspace decomposition, which estimate the power distribution of the signal source by utilizing the characteristics of the signal subspace and noise subspace, including the MUSIC (Multiple Signal Classification), ESPRIT (Estimation of Signal Parameters via Rotational Invariance Techniques), and ROOT-MUSIC algorithms; and methods based on array processing, which estimate the power distribution of the signal source by utilizing the characteristics of the array receiver, including beamforming and spatial filtering algorithms. Signal spatial spectrum estimation algorithms can effectively extract the spatial information of signal sources and are of great significance for signal localization, beamforming, and multipath interference suppression in wireless communication systems.
[0007] The MUSIC algorithm is a high-resolution spectral estimation method that utilizes array signal processing to infer the direction and frequency information of multiple signals. This algorithm determines the incident direction of the signal based on the relationship between the received signal and the array's spatial spectral response, estimating the directions of multiple signals by decomposing the signal subspace and noise subspace. The MUSIC algorithm has high-resolution direction estimation capabilities, performing well even under low signal-to-noise ratio conditions. However, the MUSIC algorithm has some limitations. One limitation comes from calculating the eigenvalue decomposition of the covariance matrix, which requires significant computational resources, especially for large-scale arrays or high-dimensional signal spaces, where the computational complexity increases significantly. To address this, a high-performance, high-accuracy fast CFO estimation method is designed, starting from upper-level CSI measurements and improving upon classical signal spatial spectrum estimation methods. Summary of the Invention
[0008] The purpose of this invention is to overcome the shortcomings of existing technologies and provide a carrier frequency offset estimation method based on signal spatial spectrum estimation. This invention first constructs a phase difference sequence of adjacent Wi-Fi frames transmitted at a given time interval; the measurement covariance matrix R is obtained from the phase difference sequence of adjacent Wi-Fi frames. data and R data Eigenvalue decomposition is performed to obtain eigenvalues and eigenvector matrices; the eigenvector matrix is decomposed into noise subspace and signal subspace; Fourier transform is performed on the signal subspace to obtain a coarse estimate of the signal space spectrum; based on the coarse estimate, the accurate CFO estimate is obtained through the MUSIC algorithm.
[0009] The objective of this invention is achieved through the following technical solution: a carrier frequency offset estimation method based on signal spatial spectrum estimation, the method comprising the following steps:
[0010] S1 and Tx send Wi-Fi frames at a given time interval. The transmission interval between adjacent frames is determined by a user-defined function Ω(n), where n represents the Wi-Fi frame number. Rx knows the form of this function. After receiving the Wi-Fi frames sent by Tx, the hardware of Rx measures the CSI of each frame and obtains the phase data of the CSI in each frame.
[0011] S2. Calculate the phase difference sequence between adjacent frames.
[0012] S3. Calculate the covariance matrix R of the phase difference sequence. data , for R data Perform eigenvalue decomposition to obtain K eigenvalues V K The eigenvectors and their corresponding K eigenvectors are sorted in descending order according to the magnitude of their corresponding eigenvalues, forming an eigenvector matrix E = [e1, e2, ..., e...]. K ].
[0013] S4, V K AIC estimation is performed, and the eigenvalues are processed using the Akaike information content criterion to determine the number of effective signals N. S .
[0014] S5. Take the KN values of the eigenvector matrix E. S The eigenvectors constitute the noise subspace E. N The remaining eigenvectors constitute the signal subspace E. S As shown below:
[0015]
[0016] For E N Performing the conjugate transpose yields the covariance matrix R of the noise subspace. N .
[0017] S6, regarding the signal subspace E S Perform a Fourier transform on each column to obtain the spectrum H of each column. i (i = 1, 2, ..., N) S ), and the spectrum H of each column i (i = 1, 2, ..., N) S After taking the modulus, the values in each row are summed to obtain ε. The peak response is then searched on ε, and the frequency F corresponding to the point of maximum peak response is obtained. Peak This yields a rough estimate of the CFO, where the frequency corresponding to the peak value of the spectrum is the estimated CFO value.
[0018] S7. Using the coarse estimate of CFO as the center and a radius of 300Hz as the range for further fine-grained search, the MUSIC algorithm is used within the fine-grained search range to refine the covariance matrix R. N Super-resolution estimation is performed to obtain a fine-grained CFO estimate. A signal subspace is reserved and constructed for the MUSIC algorithm, representing the signal source portion of the received signal. The constructed signal subspace is used for CFO estimation, and the carrier frequency offset is estimated by analyzing the features and spectral information in the signal subspace. The relevant steps and techniques of the MUSIC algorithm are used to achieve an accurate estimation of the carrier frequency offset.
[0019] In step S1, the user-defined function Ω(n) = a + q n-1 This makes the Wi-Fi frame transmission interval a geometric sequence.
[0020] In step S2, the phase difference sequence between adjacent frames is calculated. The formula is shown below:
[0021]
[0022] In step S3, the covariance matrix R of the phase difference sequence is calculated. data =ΔΘ×ΔΘ H , where ΔΘ H Let be the conjugate transpose of ΔΘ.
[0023] The beneficial effects of this invention are:
[0024] 1. This invention overcomes the problem of phase ambiguity by using a non-uniform transmission interval at the Tx end, i.e., the Wi-Fi frame transmission interval is a geometric sequence.
[0025] 2. This invention uses the signal spatial spectrum for CFO estimation, employing efficient algorithms and optimized matrix calculations. This method optimizes computational complexity while achieving fast and accurate CFO estimation.
[0026] 3. The method of the present invention is adaptable to various channel conditions and signal scenarios, and can provide reliable carrier frequency offset estimation even in challenging wireless communication environments; it can be implemented in existing wireless communication systems with minimal modifications and is suitable for integration into commercial communication equipment. Attached Figure Description
[0027] Figure 1 This is a flowchart illustrating the present invention;
[0028] Figure 2 This is a schematic diagram of the coarse estimation results of the present invention;
[0029] Figure 3This is a schematic diagram of the final detailed estimation result of the present invention. Detailed Implementation
[0030] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.
[0031] The present invention will be further described below with reference to the accompanying drawings and specific embodiments.
[0032] The method disclosed in this invention can operate in all Wi-Fi standard-supported 2.4 / 5 / 6GHz frequency bands, bandwidths (bw) (20, 40, 80, 160, 320MHz), protocol formats (IEEE 802.11a / g / n / ac / ax / be), spatial stream counts (s) (1-n), and MCS rates. For example, the transmitter's fc is 6GHz, bw is 160MHz, and the transmission format is the IEEE 802.11ax protocol.
[0033] like Figures 1 to 3 As shown, a carrier frequency offset estimation method based on signal spatial spectrum estimation is proposed, which includes the following steps:
[0034] S1, Tx, sends Wi-Fi frames at given time intervals. The transmission interval between adjacent frames is determined by a user-defined function Ω(n), where n represents the Wi-Fi frame number. The receiving end Rx is aware of the function's form and selects the user-defined function Ω(n). a=200μs,q=2μs =a+q n-1 In a WiFi system, WiFi frame transmission begins at 201μs, and the frame interval for each WiFi frame is 2. n-1 μs, which means the interval between the first and second frames is 1 μs, the interval between the second and third frames is 2 μs, and the interval between the third and fourth frames is 2 μs. 2μs, and so on, achieves a progressively increasing frame interval, making the Wi-Fi frame transmission interval a geometric progression. To facilitate the estimation of CFO in CSI using this method, the Wi-Fi frames transmitted by the Tx end should contain necessary CFO measurement information, such as the CFO measurement frame number, transmission interval, and other necessary information. After receiving the Wi-Fi frames transmitted by the Tx end, the Rx end hardware measures and returns the CSI of each frame, obtaining the phase data of the CSI in each Wi-Fi frame. The Tx and Rx ends should be on the same Wi-Fi channel and operating bandwidth; for example, both the Tx and Rx ends should operate on Wi-Fi standard channel 36 (carrier frequency 5180MHz) with a bandwidth of 20MHz. Based on the basic principles of wireless communication, let the signal frequency transmitted by the Tx end be X. fre If the frequency of the signal received at the Rx end is Y, then the frequency response of the transmission channel can be expressed as H, and the mathematical relationship of this signal is Y = HX. fre +N, where the noise term N represents random interference in the environment. When the receiver Rx knows a reference signal X, the channel frequency response H, also known as CSI, can be calculated using the channel estimation algorithm. This is the solution to the mathematical relationship between the three components. Under OFDM-based Wi-Fi protocols (802.11 / a / g / n / ac / ax protocols), CSI can specifically be represented as a 3D matrix. Where N SC N represents the number of subcarriers. STS For a Tx space flow, N Rx Rx represents the number of antennas. According to the Wi-Fi protocol standard, subcarrier numbering is as follows: The DC subcarrier is not used; the bandwidth (bw) can be different bandwidths such as 20 / 40 / 80 / 160 / 320MHz, and the corresponding N... SC The values are 64, 128, 256, 512, and 1024, respectively. For example, under the 802.11n protocol with a bandwidth of 20MHz, the subcarrier numbering sequence can be represented as K = [-28, -27, ..., -1, 1, ..., 27, 28] (based on the patent application CN202210503502.0, "A carrier frequency offset estimation method based on linear programming and multi-signal classification algorithm").
[0035] S2. Calculate the phase sequence Θ = {θ1, θ2, ..., θ1} contained in the CSI frame by frame. n After the phase sequence is constructed, a phase difference sequence of adjacent frames is constructed based on the frame arrival time corresponding to each phase in the phase sequence. in This represents the phase difference between the nth Wi-Fi frame and the (n-1)th Wi-Fi frame.
[0036] S3. Calculate the covariance matrix R based on the phase difference sequence ΔΘ obtained above. data As shown in the following formula: R data =ΔΘ×ΔΘ H , where ΔΘ H Let be the conjugate transpose of ΔΘ; for R data Perform eigenvalue decomposition to obtain K eigenvalues V K The eigenvectors and their corresponding K eigenvectors are sorted in descending order according to the magnitude of their corresponding eigenvalues, forming an eigenvector matrix E = [e1, e2, ..., e...]. K ].
[0037] S4, obtain V K Afterwards, regarding V K Perform AIC estimation for each eigenvalue V K Perform the following calculations to obtain array A:
[0038]
[0039] In the formula, M is R data The number of eigenvalues after removing zero values; From V K [i+1] to V K The average value of [K]; j represents the counting parameter of the cumulative product; find the index i corresponding to the minimum value in A. min Determine the number of valid signals N S For i min -1.
[0040] S5. Take the KN values of the eigenvector matrix E. S The eigenvectors constitute the noise subspace E. N The remaining eigenvectors constitute the signal subspace E. S The specific build process is as follows:
[0041]
[0042] Process the signal subspace E separately S and noise subspace E N ; For E N Performing the conjugate transpose yields the covariance matrix R of the noise subspace. N .
[0043] S6, regarding the signal subspace E S Perform a Fourier transform on each column to obtain the spectrum H of each column. i (i = 1, 2, ..., N) S ), and the spectrum H of each column i(i = 1, 2, ..., N) S After taking the modulus, the values in each row are summed to obtain ε. The peak response is then searched on ε, and the frequency F corresponding to the point of maximum peak response is obtained. Peak This yields a rough estimate of the CFO.
[0044] S7, with [F] peak -0.3kHz, F peak [+0.3kHz] represents the range of the fine-grained search. Within this range, the MUSIC algorithm is used to refine the covariance matrix R. N Perform super-resolution estimation to obtain an accurate CFO estimate.
[0045] The above description is merely a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the forms disclosed herein and should not be construed as excluding other embodiments. It can be used in various other combinations, modifications, and environments, and can be altered within the scope of the concept described herein through the above teachings or related technologies or knowledge. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention should be within the protection scope of the appended claims.
Claims
1. A carrier frequency offset estimation method based on signal spatial spectrum estimation, characterized in that: The following steps are involved: S1. The Tx end sends Wi-Fi frames at a given time interval. The interval between adjacent frames is determined by the custom function Ω(n) = a+q n-1 Determine, n represents the Wi-Fi frame number, the Rx end knows the function form, after receiving the Wi-Fi frame, the Rx end measures the CSI of each frame and obtains the phase data of the CSI in each frame; S2. Calculate the phase difference sequence of adjacent frames S3. Calculate the covariance matrix R of the phase difference sequence data , for R data Perform eigenvalue decomposition to obtain K eigenvalues V K And its corresponding K eigenvectors, sort the eigenvectors in descending order according to the eigenvalue size, and form an eigenvector matrix E = [e1, e2, ..., e K ]; S4, V K Perform Akaike Information Criterion AIC estimation to determine the number of effective signals N S ; S5. Take the KN of the eigenvector matrix E S eigenvectors, forming the noise subspace E N , the remaining eigenvectors constitute the signal subspace E S , as shown below: For E N Perform conjugate transposition to obtain the covariance matrix R of the noise subspace N ; S6. Signal subspace E S Perform Fourier transform on each column to obtain the spectrum H of each column i (i=1,2,...,N S ), the spectrum H of each column i (i=1,2,...,N S ) modulo, and then accumulate each row to get ε, search for the peak response on ε, and obtain the frequency F corresponding to the maximum point of the peak response Peak , get a rough estimate of CFO; S7, with the CFO rough estimate as the center and 300Hz as the radius, as the range for further fine-grained search, use the MUSIC algorithm to search the covariance matrix R in the fine-grained search range. N Perform super-resolution estimation to obtain accurate CFO estimation value.
2. The method for estimating carrier frequency offset based on signal spatial spectrum estimation according to claim 1, characterized in that: In step S1, the user-defined function Ω(n)=a+q n-1 , making the Wi-Fi frame sending interval a geometric progression.
3. The method for estimating carrier frequency offset based on signal spatial spectrum estimation according to claim 1, characterized in that: In step S2, the phase difference sequence of adjacent frames is calculated The formula is as follows:
4. The method for estimating carrier frequency offset based on signal spatial spectrum estimation according to claim 1, characterized in that: In step S3, the covariance matrix R of the phase difference sequence is calculated data =ΔΘ×ΔΘ H , where ΔΘ H is the conjugate transposed matrix of ΔΘ.
Citation Information
Patent Citations
DOA array element spacing setting method with prior positioning angle range
CN112965026A
Carrier frequency offset estimation method based on spectrum analysis optimization
CN114760173A
Carrier frequency offset estimation method based on linear programming and multi-signal classification algorithm
CN114884781A
Transmission delay measurement method and device, equipment and storage medium
CN115118634A
Time deviation estimation method and device
CN115696547A
