A method and device for estimating sampling frequency offset based on channel state information
Through the collaborative work of multiple units at the Wi-Fi signal sending and receiving ends, combined with the least squares method and particle filtering method, high-precision SFO estimation is achieved, solving the problem of SFO error impact in Wi-Fi sensing technology, and improving perception robustness and stability.
Patent Information
- Application Number
- CN202311506822.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-11-13
AI Technical Summary
In existing Wi-Fi sensing technology, the sampling frequency offset (SFO) error of channel state information affects the accuracy of channel state information, leading to a decrease in sensing performance, and existing methods such as hardware modification or high computational complexity software algorithms are difficult to Balance between cost and accuracy.
By sending and receiving custom Wi-Fi frames at the Wi-Fi signal transmitter and receiver respectively, the CSI extraction unit, phase slope extraction unit, time series extraction unit, linear fitting unit, pseudo spectrum analysis unit and SFO tracking unit are used , combined with the least squares method and particle filtering method, to achieve high-precision SFO estimation and tracking, avoiding hardware modifications and frame structure changes.
Without modifying the hardware device and frame structure, it achieves high-precision SFO estimation, improves the robustness and stability of Wi-Fi perception, and reduces computational complexity and cost.
Smart Images

Figure CN117499194B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of Wi-Fi sensing technology, and in particular to a method and device for estimating a sampling frequency offset based on channel state information. Background Art
[0002] In the past decade, CSI-based Wi-Fi sensing technology has flourished, evolving from initial theoretical exploration to applications in real-world scenarios, such as indoor positioning, gesture recognition, human activity recognition, health detection, and target imaging. These applications not only add convenience to our daily lives, but also bring unprecedented innovation and development opportunities in the fields of medical care, security, and entertainment. However, although these applications have great potential in improving our daily lives and advancing the forefront of science and technology, their reliability, stability, and accuracy depend largely on the accuracy of channel state information.
[0003] Channel state information is affected by a variety of error factors, among which SFO is one of the errors that seriously affect channel state information. SFO causes serious interference to channel state information, resulting in a decrease in the performance of perception, thus affecting its robustness in practical applications. Therefore, researchers at home and abroad have widely explored various innovative methods to eliminate the impact of SFO on perception.
[0004] At present, researchers at home and abroad have explored a variety of methods to solve SFO errors, which can be divided into two categories. The first is a method implemented through wired connection or special hardware. For example, using shared antenna technology, the SFO error is eliminated through the channel state information entropy of adjacent antennas; or an external precise clock is connected to the Wi-Fi chip to eliminate the SFO error. However, these methods require hardware modification or rely on specific equipment, which brings problems such as high cost and poor scalability, limiting their application scope in actual perception. Another method uses software algorithms to eliminate SFO errors, such as multi-scale sparse recovery algorithms. This method requires the transmitter to send data frames at equal intervals so that the phase slope can be extracted from the channel state information, and then the remaining SFO estimation problem is converted into a spectrum estimation problem, and then estimated using a scanning algorithm. Although this method has made some progress in eliminating SFO errors, its computational complexity is high, and it has not yet completely eliminated the influence of other errors. In addition, some researchers have also explored the use of the minimum mean square error estimation method at the receiving end to estimate and eliminate SFO. However, this method has a large computational complexity and has certain limitations in accuracy.
[0005] Although a variety of SFO error elimination methods have been proposed, there are still some challenges in practical applications. The cost of eliminating SFO errors in hardware is high and difficult to commercialize; the software algorithm method has problems such as high computational complexity and low estimation accuracy. Therefore, the current SFO error elimination method still faces many key problems that need to be solved and improved. In order to further promote the development of Wi-Fi sensing technology, it is necessary to continuously explore innovative methods to overcome these obstacles and improve the reliability and stability of sensing technology. Based on this, a method and device for estimating sampling frequency offset based on channel state information are designed, which can achieve high-precision SFO estimation without modifying the hardware equipment and frame structure, thereby improving the robustness of Wi-Fi sensing. Summary of the invention
[0006] The purpose of the present invention is to overcome the shortcomings of the prior art and provide a method and device for estimating sampling frequency offset based on channel state information, which can achieve high-precision SFO estimation without modifying hardware devices and frame structures, thereby improving the robustness of Wi-Fi perception.
[0007] The object of the present invention is achieved through the following technical solution: A method for estimating a sampling frequency offset based on channel state information comprises the following steps:
[0008] S1. The Wi-Fi signal transmitter (i.e., the Tx end, which is used to continuously send Wi-Fi frames) sends a custom Wi-Fi frame, and the Wi-Fi signal receiver receives the Wi-Fi frame from the Wi-Fi signal transmitter (i.e., the Rx end, which is used to continuously receive the Wi-Fi frame from the Tx end and estimate the CFO of the received Wi-Fi frame) and parses it to construct a Wi-Fi frame sequence F, and divides F into training segment Wi-Fi frames F according to the custom bits in the Wi-Fi frame. training And track the Wi-Fi frame F tracking , where F = {f1,f2,...,f n}, F training ={f1,f2,...,f k}, F tracking ={f k+1 ,f k+2 ,...,f n}, n is the number of Wi-Fi frames received by the Wi-Fi signal receiving end.
[0009] S2. The CSI extraction unit processes the Wi-Fi frame sequence F received by the Wi-Fi signal receiving end to obtain the CSI of each Wi-Fi frame. Specifically, the CSI extraction unit uses a known long training segment (ie, LTF) data X in the received Wi-Fi frame. i, the Wi-Fi frame received by the Wi-Fi signal receiving end corresponds to X i The long training segment data is Y i , calculate the CSI of each Wi-Fi frame, the calculation formula is:
[0010]
[0011] Where H i represents the CSI matrix of the i-th Wi-Fi frame, forming a CSI sequence H, where H = {H1, H2, ..., H n}, where H i is k complex values (i.e. a m +b m i), and k represents the number of subcarriers in the Wi-Fi frame.
[0012] S3, the phase slope extraction unit calculates the CSI phase slope P according to the extracted CSI matrix through the phase slope calculation formula i The phase slope sequence P = {P1, P2, ..., P n}, where the phase slope calculation formula is P i =angle(H i ), where angle() represents the i Take the slope and use the least squares method to fit H i The sequence of the middle imaginary part and the upper real part, that is
[0013] S4, the time series extraction unit corrects the precise arrival time of each Wi-Fi frame arriving at the Wi-Fi signal receiving end according to the extracted CSI and forms a precise arrival time sequence; the time series extraction unit first obtains the arrival time sequence of the Wi-Fi frame, and uses the CSI matrix H obtained in step S2 i Compensate the time series to obtain the precise arrival time t of the Wi-Fi frame i , the precise arrival time t of each Wi-Fi frame i Construct an accurate reception time sequence T = {t1, t2, ..., t n}, n represents the number of Wi-Fi frames received by the Wi-Fi signal receiving end.
[0014] S5. The linear fitting unit fits the phase slope sequence of two adjacent Wi-Fi frames and the precise reception time sequence, calculates the rough SFO average value between two adjacent Wi-Fi frames, and forms a rough SFO sequence. in The calculation method is as follows:
[0015]
[0016] Where P i represents the phase slope of the i-th Wi-Fi frame, t i represents the exact arrival time of the i-th Wi-Fi frame, f s Indicates the bandwidth of the Wi-Fi frame subcarrier.
[0017] S6, pseudo-spectrum analysis unit uses MUSIC algorithm to The surrounding data is subjected to non-uniform spectrum analysis, and the time corresponding to the spectrum peak is taken as the accurate SFO estimation value of the training segment. Since the number of Wi-Fi frames in the training segment is small and the SFO accumulation effect is not obvious, the accurate SFO estimation value of the training segment is taken as the SFO initial value s of the first Wi-Fi frame in the tracking segment.
[0018] S7. The SFO tracking unit uses the particle filtering method and takes s as the initial value of the tracking segment Wi-Fi frame to obtain the sequence of the tracking segment SFO changing over time and complete the tracking of SFO.
[0019] The CSI extraction unit determines the training segment Wi-Fi frame according to the custom bit of the Wi-Fi frame and obtains the CSI of each frame. The phase slope extraction unit calculates the phase slope of each training segment Wi-Fi frame according to the extracted CSI and forms a phase slope sequence P. The time series extraction unit corrects the precise arrival time of each training segment Wi-Fi frame at the Wi-Fi signal receiving end according to the extracted CSI and forms a precise arrival time sequence T. The linear fitting unit fits the phase slope sequence P and the precise reception time sequence T according to the SFO definition formula to obtain a rough SFO average value of the training segment. The pseudo-spectrum analysis unit searches for possible SFO values in the corresponding interval according to the rough SFO average value for spectrum analysis, and takes the peak value of the spectrum analysis as the precise SFO value of the starting Wi-Fi frame of the tracking segment. The SFO tracking unit filters the precise SFO value of the starting Wi-Fi frame of the tracking segment according to the particle filtering method to obtain a sequence of SFO changes over time, thereby achieving precise tracking of SFO.
[0020] A device for estimating a sampling frequency offset based on channel state information comprises a Wi-Fi signal transmitting end and a Wi-Fi signal receiving end, wherein the Wi-Fi signal transmitting end comprises a CSI transmitting unit, and the Wi-Fi signal receiving end comprises a CSI extracting unit, a phase slope extracting unit, a time series extracting unit, a linear fitting unit, a pseudo spectrum analyzing unit, and an SFO tracking unit. The Wi-Fi signal transmitting end is used to send continuous Wi-Fi frames, and the Wi-Fi signal receiving end is used to receive signals, obtain CSI, and estimate SFO in combination with an algorithm. The CSI extracting unit is used to extract CSI information, and the CSI extracting unit is respectively connected to a phase slope extracting unit and a time series extracting unit. The phase slope extracting unit is used to extract a phase slope of a Wi-Fi frame and form a phase slope sequence. The time series extracting unit is used to extract a phase slope of a Wi-Fi frame and form a phase slope sequence. The extraction unit is used to obtain the sampling level timestamp of the Wi-Fi frame, and use the CSI to compensate the time to obtain a more accurate arrival time, and construct an accurate arrival time series. The phase slope extraction unit and the time series extraction unit are respectively connected to the linear fitting unit. The linear fitting unit calculates a rough training segment SFO estimation value by the least square method according to the phase slope sequence and the accurate arrival time series. The linear fitting unit is connected to the pseudo-spectrum analysis unit. The pseudo-spectrum analysis unit is used to perform spectrum analysis on the rough training segment SFO estimation value, and calculate the peak response of the pseudo-spectrum as the accurate training segment SFO value. The pseudo-spectrum analysis unit is connected to the SFO tracking unit. The SFO tracking unit tracks the accurate training segment SFO value as the initial state through the particle filtering method to obtain a sequence of the tracking segment SFO changing over time.
[0021] The present invention can achieve high-precision SFO estimation without modifying hardware equipment and frame structure, thereby improving the robustness of Wi-Fi perception. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a structural diagram of a frequency offset estimation device of the present invention;
[0023] Figure 2 The physical layer frame structure of the Wi-Fi frame sent by the present invention;
[0024] Figure 3 The precise arrival time compensation process of the present invention;
[0025] Figure 4 This is the SFO super-resolution search result of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. The components of the embodiments of the present invention generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0027] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0028] Embodiment 1:
[0029] like Figures 1 to 4 As shown, a method for estimating a sampling frequency offset based on channel state information comprises the following steps:
[0030] S1. The Wi-Fi signal transmitter (i.e., the Tx end) sends out a Wi-Fi frame, and the Wi-Fi signal receiver (i.e., the Rx end) receives the Wi-Fi frame from the Wi-Fi signal transmitter. The Tx end enables the frame injection mode and specifies the frequency to be 5955 MHz, the bandwidth to be 20 MHz, and the inter-frame transmission delay to be 500 microseconds for continuous Wi-Fi frame transmission. The specific frame structure is as follows: Figure 2 As shown, the Rx end turns on the monitoring mode and sets the same frequency and bandwidth as the Tx end. The received Wi-Fi frames are analyzed in real time to form a receiving frame sequence F. According to the custom division bits in the WiFi frame, F is divided into training segments F. training and tracking segment F tracking It can be expressed as follows:
[0031] F={f1,f2,...,f n}
[0032] F training ={f1,f2,...,f k}
[0033] F tracking ={f k+1 ,f k+2 ,...f n}
[0034] Where n represents the number of frames received by the receiving end, and k represents the length of the training segment data frame.
[0035] S2. The CSI extraction unit obtains the CSI of each Wi-Fi frame received by the Wi-Fi signal receiving end. The physical layer frame structure of F is as follows: Figure 2 As shown in FIG. 1 , CSI is mainly calculated and obtained by using the long training segment (ie, LTF) in the frame header. CSI can be specifically expressed as:
[0036]
[0037] Among them, X i is the frequency domain representation of the LTF segment of the transmitted Wi-Fi frame, Y i is the frequency domain representation of the LTF segment of the received frame. The channel state information H can be obtained by dividing the two. i (i.e., the CSI matrix H i ), forming a CSI sequence H, which can be expressed as follows:
[0038] H={H1,H2,...H n},
[0039] n represents the number of frames received by the receiving end.
[0040] S3, the phase slope extraction unit obtains the channel state information H of each data frame (i.e., Wi-Fi frame) according to the previous step i , calculate the phase slope of the training segment data frame. Since the channel state information is a complex sequence related to the number of subcarriers (a m +b m i), where m represents the subcarrier number. The phase slope of the training segment frame is obtained by linearly fitting the imaginary part of the subcarrier to the real part, forming a phase slope sequence P:
[0041] P={P1,P2,...P n},
[0042] P training = {P1,P2,...P k}.
[0043] S4, the time series extraction unit first obtains the sampling level timestamp of each frame arrival, and then corrects T1 to obtain a more accurate arrival time T2 in combination with the CSI phase information of each frame. The specific process is as follows: Figure 3 shown.
[0044] T2=T1-Δt,
[0045] Where Δt represents the delay calculated by CSI. According to this method, the precise arrival time of each frame is calculated to construct the precise arrival time series T, where T can be expressed as follows:
[0046] T={t1,t2,...t n},
[0047] T training ={t1,t2,...t k}.
[0048] S5, linear fitting unit fits P by least squares method training and T training , get the rough SFO average value of the training segment
[0049]
[0050] S6, the pseudo-spectrum analysis unit calculates the rough SFO average value in the previous step Perform spectrum analysis to To establish a search scope based on The calculation method is as follows:
[0051]
[0052]
[0053] In the formula, and There are two search ranges, respectively. and As the center frequency, is the frequency search range. Use the MUSIC algorithm to and Perform local super-resolution spectrum analysis to obtain the power pseudo-spectrum. Calculate the peak response result based on the pseudo-spectrum as the accurate SFO of the training segment. Since the training segment data frames are small and the SFO accumulation effect is not obvious, the obtained accurate SFO is used as the SFO value s of the first frame of the tracking segment. According to the peak response result of the super-resolution spectrum analysis, the frequency corresponding to the peak response is the estimated SFO. The SFO estimation result is shown as follows: Figure 4 shown.
[0054] S7, SFO tracking unit inputs the SFO value s of the first frame of the tracking segment into the particle filter as the initial state of the particle filter, calculates the sequence of SFO changes over time, and completes the tracking of SFO. Construct the initial state vector matrix X of the particle filter and assign it an initial value:
[0055]
[0056] Among them, ω sfo is the rate of change of SFO, with an initial value of 0, τ sfo Indicates the SFO value of the tracking segment frame, the initial value is s, θ wrapIt represents the phase accumulation of the tracking segment frame without unwrapping, with an initial value of 0, θ unwrap represents the phase accumulation of the unwrapped state, with an initial value of 0, and N represents the length of the tracking segment. Q represents the process noise variance of each state variable of the particle filter i =[50,500,0,0], construct the process noise coefficient w i : Where i represents the subscript corresponding to the different dimensions of the state variable, and RANDOM represents the generation of a random number that obeys a normal distribution. Construct the observation noise function v for the particle filter: R is the observed variance.
[0057] Construct the state transfer equation F:
[0058]
[0059] Among them, X i - represents the a priori prediction value designed for the i-th dimension of the state vector, and dt represents the difference in arrival time between two adjacent received frames (t k+1 -t k ), w i (i=1,2,3,4) represents the process noise of the i-th dimension of the state vector, k represents the state of the k-th frame of the corresponding state information, wrapToPi() represents the phase unwrapping, and the unwrapped phase accumulation θ in the state vector wrap Can be observed through actual measurement.
[0060] Construct the particle set of each state variable, and initialize each particle set as follows:
[0061]
[0062] Where PN represents the number of particles, ( represents the initial value of the corresponding state variable).
[0063] According to the state transfer equation F and the particle set of the previous state Calculate the prior particle set of the current state
[0064]
[0065] Among them, k represents the corresponding state variable, i represents the particle number in the prior particle set, and F k represents the state transition function of the state variable, w k represents the process noise of the state transfer equation;
[0066] Construct the observation sequence Z = [z1, z2, ... zn ], where z i It is the phase information calculated by the CSI extraction unit according to the CSI.
[0067] The particle filter calculates the weight of each particle and constructs a weight set W(t)={w1,w2,...w n}, and according to the system resampling method, the particle set corresponding to the phase accumulation of the state variable that is not unwound is resampled to form the posterior particle set The set of a posteriori particles corresponding to the remaining state variables Equivalent to a priori particle set The particle weight is calculated as follows:
[0068]
[0069] Calculate the state variable τ sfo Corresponding particle set The expectation is used as the tracking value of SFO in the current state, and the SFO tracking sequence is constructed to achieve long-term tracking of SFO.
[0070] A device for estimating a sampling frequency offset based on channel state information includes a Wi-Fi signal transmitting end and a Wi-Fi signal receiving end, wherein the Wi-Fi signal transmitting end includes a CSI transmitting unit, and the Wi-Fi signal receiving end includes a CSI extracting unit, a phase slope extracting unit, a time series extracting unit, a linear fitting unit, a pseudo spectrum analyzing unit, and an SFO tracking unit. The Wi-Fi signal transmitting end is used to send continuous Wi-Fi frames, and the Wi-Fi signal receiving end is used to receive signals, obtain CSI, and estimate SFO in combination with an algorithm. The CSI extracting unit is used to extract CSI information, and the CSI extracting unit is respectively connected to the phase slope extracting unit and the time series extracting unit. The phase slope extracting unit is used to extract the phase slope of the Wi-Fi frame and form a phase slope sequence. The time series extracting unit The unit is used to obtain the sampling level timestamp of the Wi-Fi frame, and use CSI to compensate the time to obtain a more accurate arrival time, and construct an accurate arrival time series. The phase slope extraction unit and the time series extraction unit are respectively connected to the linear fitting unit. The linear fitting unit calculates a rough training segment SFO estimate value by the least squares method according to the phase slope sequence and the accurate arrival time series. The linear fitting unit is connected to the pseudo-spectrum analysis unit. The pseudo-spectrum analysis unit is used to perform spectrum analysis on the rough training segment SFO estimate value, and the peak response of the calculated pseudo-spectrum is used as the accurate training segment SFO value. The pseudo-spectrum analysis unit is connected to the SFO tracking unit. The SFO tracking unit uses the particle filtering method to track the accurate training segment SFO value as the initial state to obtain a sequence of tracking segment SFO changes over time.
[0071] The above is only a preferred embodiment of the present invention. It should be understood that the present invention is not limited to the form disclosed herein, and should not be regarded as excluding other embodiments, but can be used in various other combinations, modifications and environments, and can be modified within the scope of the concept described herein through the above teachings or the technology or knowledge of the relevant field. The changes and modifications made by those skilled in the art shall not deviate from the spirit and scope of the present invention, and shall be within the scope of protection of the claims attached to the present invention.
Claims
1. A method for estimating sampling frequency offset based on channel state information, Features: The following steps are involved: S1. The Wi-Fi signal transmitter sends a Wi-Fi frame. The Wi-Fi signal transmitter includes a CSI transmitter. The CSI transmitter sends an arbitrary series of custom Wi-Fi frames. Each Wi-Fi frame includes a custom bit. The custom bit divides the series of Wi-Fi frames into two parts: a training segment Wi-Fi frame and a tracking segment Wi-Fi frame. The Wi-Fi signal receiver receives the Wi-Fi frame from the Wi-Fi signal transmitter. S2. The CSI extraction unit obtains the CSI of each Wi-Fi frame received by the Wi-Fi signal receiving end; S3, the phase slope extraction unit calculates the phase slope according to the extracted CSI and forms a phase slope sequence; S4. The time series extraction unit corrects the precise arrival time of each Wi-Fi frame arriving at the Wi-Fi signal receiving end according to the extracted CSI and forms a precise arrival time sequence; S5, the linear fitting unit fits the phase slope sequence and the precise reception time series to calculate the rough SFO average value of the training segment; S6, the pseudo spectrum analysis unit scans possible values near the rough SFO average value, takes the peak value of the spectrum analysis as the accurate SFO estimation value of the training segment, and regards it as the SFO initial value of the first frame of the tracking segment; S7. The SFO tracking unit uses the accurate SFO estimation value as the initial value of the tracking segment and uses the particle filtering method to obtain the sequence of SFO changes over time.
2. A method for estimating sampling frequency offset based on channel state information according to claim 1, Features: The CSI extraction unit determines the training segment Wi-Fi frame according to the custom bit of the Wi-Fi frame and obtains the CSI of each frame. The phase slope extraction unit calculates the phase slope of each training segment Wi-Fi frame according to the extracted CSI and forms a phase slope sequence P. The time series extraction unit corrects the precise arrival time of each training segment Wi-Fi frame at the Wi-Fi signal receiving end according to the extracted CSI and forms a precise arrival time sequence T. The linear fitting unit fits the phase slope sequence P and the precise reception time sequence T according to the SFO definition formula to obtain a rough SFO average value of the training segment. The pseudo-spectrum analysis unit searches for possible SFO values in the corresponding interval according to the rough SFO average value for spectrum analysis, and takes the peak value of the spectrum analysis as the precise SFO value of the starting Wi-Fi frame of the tracking segment. The SFO tracking unit filters the precise SFO value of the starting Wi-Fi frame of the tracking segment according to the particle filtering method to obtain a sequence of SFO changes over time, thereby achieving precise tracking of SFO.
3. A method for estimating sampling frequency offset based on channel state information according to claim 2, Features: In step S2, the CSI extraction unit obtains the Wi-Fi frame sequence F received by the Wi-Fi signal receiving end, and uses a known long training segment data X in the received Wi-Fi frame to extract the Wi-Fi frame sequence F. i , the Wi-Fi frame received by the Wi-Fi signal receiving end corresponds to X i The long training segment data is Y i , calculate the CSI of each Wi-Fi frame, the calculation formula is: Where H i represents the CSI matrix of the i-th Wi-Fi frame, where H i is a sequence of k complex values, where k represents the number of subcarriers in the Wi-Fi frame.
4. The method for estimating sampling frequency offset based on channel state information according to claim 3, Features: In step S3, the CSI phase slope P is calculated by the phase slope calculation formula. i The phase slope sequence P = {P 1 ,P 2 ,...,P n }, where the phase slope calculation formula is P i =angle(H i ), where angle() represents the i Take the slope and use the least squares method to fit H i The sequence of the middle imaginary part and the upper real part, that is 5. A method for estimating sampling frequency offset based on channel state information according to claim 4, Features: In step S4, the time series extraction unit first obtains the arrival time series of the Wi-Fi frame, and uses the CSI matrix H obtained in step S2 i Compensate the time series to obtain the precise arrival time t of the Wi-Fi frame i , the precise arrival time t of each Wi-Fi frame i Construct the accurate receiving time series T = {t 1 ,t 2 ,...,t n }, n represents the number of Wi-Fi frames received by the Wi-Fi signal receiving end.
6. A method for estimating sampling frequency offset based on channel state information according to claim 5, Features: In step S5, the rough SFO average value is calculated as follows: Where P i represents the phase slope of the i-th Wi-Fi frame, t i represents the exact arrival time of the i-th Wi-Fi frame, f s Indicates the subcarrier bandwidth.
7. A device for estimating a sampling frequency offset based on channel state information, Features: The system comprises a Wi-Fi signal transmitting end and a Wi-Fi signal receiving end, wherein the Wi-Fi signal transmitting end comprises a CSI transmitting unit, and the Wi-Fi signal receiving end comprises a CSI extracting unit, a phase slope extracting unit, a time series extracting unit, a linear fitting unit, a pseudo spectrum analyzing unit, and an SFO tracking unit. The Wi-Fi signal transmitting end is used to transmit continuous Wi-Fi frames and to define the Wi-Fi frames into training segments and tracking segments by user. The Wi-Fi signal receiving end is used to receive signals, obtain CSI, and estimate SFO in combination with an algorithm. The CSI extracting unit is used to extract CSI information. The CSI extracting unit is respectively connected to the phase slope extracting unit and the time series extracting unit. The phase slope extracting unit is used to extract the phase slope of the Wi-Fi frame and form a phase slope sequence. The time series extracting unit is used to extract the phase slope of the Wi-Fi frame and form a phase slope sequence. The extraction unit is used to obtain the sampling level timestamp of the Wi-Fi frame, and use the CSI to compensate the time to obtain a more accurate arrival time, and construct an accurate arrival time series. The phase slope extraction unit and the time series extraction unit are respectively connected to the linear fitting unit. The linear fitting unit calculates a rough training segment SFO estimation value by the least square method according to the phase slope sequence and the accurate arrival time series. The linear fitting unit is connected to the pseudo-spectrum analysis unit. The pseudo-spectrum analysis unit is used to perform spectrum analysis on the rough training segment SFO estimation value, and calculate the peak response of the pseudo-spectrum as the accurate training segment SFO value. The pseudo-spectrum analysis unit is connected to the SFO tracking unit. The SFO tracking unit uses the particle filtering method to track the accurate training segment SFO value as the initial state to obtain a sequence of tracking segment SFO changes over time.
