Method and system for estimating and compensating sampling frequency deviation of comprehensive tester
By using Fourier transform and interpolation filtering technology in the comprehensive test instrument, we build a relationship model of the sampling offset and perform digital signal compensation, which solves the problem of inter-carrier interference when the traditional comprehensive test instrument handles the sampling frequency offset and improves the signal quality. Quality assessment accuracy and parsing performance.
Patent Information
- Application Number
- CN202410837759.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-09-03
AI Technical Summary
When dealing with sampling frequency offset, traditional comprehensive test instruments cannot effectively compensate for inter-carrier interference, resulting in poor signal analysis performance. Especially in OFDM technology, sampling frequency offset will cause inter-carrier interference and affect the accuracy of signal quality assessment.
Based on the leading sampling bias estimation step and the sampling bias compensation step, Fourier transform and interpolation filtering technology are used to construct the relationship model of the sampling bias, and perform interpolation filtering compensation of the digital signal to obtain the compensated digital signal to improve the signal analysis accuracy. .
Effectively compensates for the sampling frequency offset, improves the accuracy of signal quality assessment, reduces inter-carrier interference, and improves signal analysis performance. Especially in OFDM signal processing, it can more accurately evaluate the radio frequency performance of the DUT.
Smart Images

Figure CN118590367A
Abstract
Description
Technical Field
[0001] The invention relates to a technology for analyzing and testing signals by a comprehensive tester, and in particular to a method and system for estimating and compensating sampling frequency offset of a comprehensive tester. Background Art
[0002] The IEEE802.11 series (a / g / n / ac / ax / be) standards use Orthogonal Frequency Division Multiplexing (OFDM) as a modulation technology. Its advantage is that it can achieve parallel transmission of high-speed serial data through frequency division multiplexing to improve transmission capacity. Multiple orthogonal sub-channels can effectively combat frequency selective fading and interference, and support multi-user access. The OFDM system estimates the channel through training sequences and pilots, and then uses the time-invariant characteristics of the channel to equalize the received data and resolve it to the signal sent by the transmitter.
[0003] A comprehensive tester is a device used to analyze the RF performance of the vector signal of the device under test (DUT). It is a highly accurate test device that can analyze key indicators such as the power, spectrum, and signal quality of the DUT. These indicators often reflect some defects in the DUT design. When the DUT sends an RF signal, according to the Nyquist theorem, it will generate a baseband signal with a bandwidth sampling rate of 2 times, and then use a digital-to-analog converter (DAC) to convert the digital signal into an analog signal for transmission. The actual sampling interval T is required. s , when there is an error in the DAC component, the sampling becomes T s +ΔT, this error δ=ΔT / T s It is called sampling frequency offset (SFO). Sampling frequency offset is an inherent indicator for evaluating DUT. It is usually only calculated without compensation during testing.
[0004] The traditional calculation method is based on the phase difference of the pilot, while the mature phase tracking function can also compensate for the coarse sampling frequency offset.
[0005] OFDM technology includes multiple carriers. When there is a sampling frequency offset SFO at the transmitting end (DUT), there will be inter-carrier interference in the signal received by the receiving end (comprehensive tester). Since the signal carried by the carrier is randomized, the interference received by different carriers is different.
[0006] Then consider the sampling deviation. The sampling frequency deviation is actually caused by the deviation of the sampling rate, that is, the sampling interval is changed from T s Change to T s+ΔT. The traditional approach is to count the amplitude changes of the inserted pilot subcarriers. Since the pilot subcarriers and data subcarriers are in the same symbol, when performing amplitude tracking, the amplitude deviation of the pilot subcarriers is considered and then corresponding compensation is performed. However, this approach is flawed. First, amplitude tracking is a likelihood approximation of amplitude changes, and phase tracking is a likelihood approximation of phase changes. Then, amplitude tracking and phase tracking do not compensate for inter-carrier interference at all.
[0007] like Figure 1 and Figure 2 As shown in the figure, the 802.11be (WiFi7) signal is simulated and analyzed, and the signal with a 320M bandwidth sampling frequency offset of 50ppm is analyzed. The indicator EVM (vector amplitude error) is used to evaluate the signal error. The smaller the value, the smaller the error. Spectral Flatness is used to evaluate the signal channel state quantity. EVMvs Carrier is used to evaluate the EVM of each subcarrier. Symbol Constant is the constellation point representation after the signal is demodulated.
[0008] like Figure 1 As shown in the figure, the signal analysis is very bad when the phase tracking function is turned off, EVM = -19.02, the constellation diagram, flatness and each carrier EVM are abnormal, and the actual 50ppm sampling frequency offset has a slight error in the analysis, and the calculated value is 49.65ppm. Then turn on the phase tracking, the performance is improved, EVM = -29.83, the constellation diagram and each carrier EVM are slightly improved, as shown in the figure. Figure 2 However, due to a large sampling frequency offset, the signal analysis is still very poor, and new technology is needed to solve the problem of sampling frequency offset. Summary of the invention
[0009] In order to solve the problems in the prior art, the present invention provides a method and system for estimating and compensating sampling frequency offset of a comprehensive tester, thereby achieving more accurate evaluation of the signal quality of the DUT.
[0010] The method for estimating and compensating the sampling frequency offset of the comprehensive tester of the present invention comprises the following steps:
[0011] Based on the leading sampling bias estimation step: based on the acquired frequency domain information, the sampling bias is calculated;
[0012] Sampling bias compensation step: interpolate and filter the received signal, and based on the calculated sampling bias, compensate the sampling bias effect from the digital signal, and obtain the compensated digital signal as a new time domain signal for subsequent signal analysis, wherein:
[0013] The leading sampling bias estimation step includes the following sub-steps:
[0014] S1: Acquire frequency domain information of a training sequence, where the training sequence includes two adjacent long training sequences of the same length;
[0015] S2: Combine the Fourier transform between the time domain and frequency domain with the sampling bias model to build a relationship model between two long training sequences based on the sampling bias;
[0016] S3: Calculate the sampling bias according to the frequency domain information of the two long training sequences obtained in step S1 and the relationship model obtained in step S2.
[0017] The present invention is further improved, in the sampling bias compensation step, the received signal is interpolated and filtered, and the sampling bias effect is compensated from the digital signal, which includes the following sub-steps:
[0018] A1: Construct the relationship between the interpolation interval before and after interpolation filtering;
[0019] A2: construct an interpolation filtering relationship, and based on the interpolation filtering relationship, obtain an output model after resampling and interpolation;
[0020] A3: The resampled output model is expressed as a finite-order FIR filter to obtain a fully digital interpolation model;
[0021] A4: Based on the selected interpolation filter coefficient and the full digital interpolation model, interpolation compensation is performed to obtain a compensated digital signal.
[0022] The present invention is further improved. In step S1, two long training sequences y are searched in the Fourier transform message. 1 (n) and y 2 (n) The corresponding frequency domain information is represented by γ 1 (m) and γ 2 (m), n∈[1,N] is the time domain serial number, m∈[1,N] is the frequency domain subcarrier serial number. According to the Fourier transform characteristics, the time domain length N is also the total number of frequency domain subcarriers N.
[0023] The present invention is further improved. In step S2, the specific processing method for constructing the relationship model between two long training sequences based on sampling bias is:
[0024] (1) Let y 1 (n) and y 2 (n) The corresponding frequency domain in the ideal state is s(k), and the current signal sampling bias is δ. Combining the Fourier transform between the time and frequency domains and the sampling bias correlation model, we have:
[0025]
[0026] Among them, k is the frequency domain subcarrier sequence number of the transmitting signal, j is the imaginary unit,
[0027] (2) According to the Fourier transform characteristics, then:
[0028]
[0029] (3) When the receiving terminal carrier m is equal to the transmitting terminal carrier k, that is, m = k, we have
[0030]
[0031] Then γ 1 (m) and γ 2 (m) The relationship model is: γ 2 (m) = γ 1 (m)*e j2πmδ .
[0032] The present invention is further improved. In step S3, the sampling bias is calculated as follows:
[0033] On subcarrier m, find the complex signal γ 2 (m) and γ 1 (m) with an angle Δθ, then we have
[0034]
[0035] in, for The imaginary part of for The real part of For γ 1 The complex conjugate of (m), For γ 2 the complex conjugate of (m);
[0036] The subcarriers are divided into odd subcarriers 2p+1 and even subcarriers 2p+2. Then we have:
[0037]
[0038] and
[0039] Δθ p =2πδ(2p+2)-2πδ(2p+1)=2πδ
[0040] This Taking the average value of the subcarriers, we get the following formula:
[0041]
[0042] The calculation formula of sampling bias δ is:
[0043] The present invention is further improved. In step A1, the sampling rate of the received signal y(t), t∈[0,T] is recorded as Fs, T is the signal duration, and the sampling interval is recorded as Ts, then Ts=1 / Fs, then the sampling interval after compensating the sampling bias is set to Ti, then: Ti=1 / (Fs(1-δ)).
[0044] The present invention is further improved. In step A2, the original signal y(t) with an interpolation interval of Ts is converted into a new signal with an interpolation interval of Ti by interpolation filtering.
[0045] At time t = kT i Resample the output signal y(t) using an interpolation filter h I (t), then
[0046]
[0047] Interpolation time kT i It can be expressed as n k T s Add a positive decimal part to the sum:
[0048]
[0049] Among them, the parameters u k is the error interval, which determines the impulse response coefficient of the interpolation filter, and its range is u k ∈[0,1), m k for The integer part of , then the resampled output model is:
[0050]
[0051] The present invention is further improved, in step A3, the finite order FIR filter is in the form of:
[0052]
[0053] Because u k The value is between 0 and 1, so the weighting coefficient h I [(m+u k )T s ]According to the current u k Real-time calculation, using polynomials to approximate the ideal weighting coefficients, namely:
[0054]
[0055] in, L is the polynomial order, l is the serial number of L, is the interpolation filter coefficient of the lth order at the interpolation position m,
[0056] Use a quadratic, fourth-order filter, that is, take L = 2, I 1 =2,I 2 =1, the output of the interpolation filter is:
[0057]
[0058] in,
[0059] The present invention is further improved. In step A4, the interpolation filter coefficient selected in step A3 is substituted into the formula:
[0060]
[0061] Loop to condition kT i ≤T and (k+1)T i >T, the obtained value is the compensated digital signal.
[0062] The present invention also provides a system for estimating and compensating the sampling frequency offset of a comprehensive tester, which is used to implement the method for estimating and compensating the sampling frequency offset of the comprehensive tester, including a leading sampling offset estimation module and a sampling offset compensation module, wherein:
[0063] The leading sampling bias estimation module is used to calculate the sampling bias according to the frequency domain information of the leading training sequence;
[0064] Sampling bias compensation module: used to perform interpolation filtering on the received signal, and based on the calculated sampling bias, compensate the sampling bias effect from the digital signal, and obtain the compensated digital signal as a new time domain signal for subsequent signal analysis, where:
[0065] The leading sampling bias estimation module includes the following submodules:
[0066] A training sequence frequency domain information acquisition submodule: used to acquire frequency domain information of a training sequence, wherein the training sequence includes two adjacent long training sequences of the same length;
[0067] The submodule for building a relationship model between two long training sequences is used to combine the Fourier transform between the time domain and the frequency domain with the sampling bias model to build a relationship model between the two long training sequences based on the sampling bias;
[0068] Sampling bias calculation submodule: used to obtain the frequency domain information and relationship model of two long training sequences and calculate the sampling bias.
[0069] Compared with the prior art, the beneficial effects of the present invention are as follows: on the basis of the original analysis system, the present invention adds a leading sampling bias estimation step and a sampling bias compensation step, which can effectively compensate for the edge subcarrier performance deterioration caused by the sampling frequency offset and lead to inaccurate measurement of DUT performance, can assist chip development in evaluating the impact of the sampling frequency offset and adjusting the direction of the ADC clock offset, and provides a new idea for optimizing RF performance testing with unstable channel response. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1 The signal analysis effect diagram of the prior art with the phase tracking function turned off;
[0071] Figure 2 Signal analysis effect diagram for the existing technology with phase tracking function turned on;
[0072] Figure 3 This is a flow chart of the conventional method for comprehensive tester to analyze signals;
[0073] Figure 4 is a flow chart of the method of the present invention;
[0074] Figure 5 To construct a schematic diagram of interpolation filtering relationship;
[0075] Figure 6 This is a diagram of the signal analysis effect of the comprehensive test instrument after applying the present invention. DETAILED DESCRIPTION
[0076] Reference to "embodiments" in the present invention means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it mutually exclusive, independent, or alternative to other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in the present invention may be combined with other embodiments.
[0077] When using a comprehensive tester to analyze OFDM-based signals, the general process is as follows: Figure 3 As shown. In order to more accurately evaluate the signal quality of the DUT, the present invention designs a method and system for estimating the signal sampling frequency and then compensating for the sampling frequency offset. This system adds two steps to the conventional analysis process, namely, a leading sampling offset estimation step and a sampling offset compensation step. The new analysis process can effectively compensate for the sampling frequency offset that causes the edge subcarrier performance to deteriorate, resulting in inaccurate measurement of the DUT performance. The present invention provides a method and system for estimating and compensating for sampling frequency offset in the field of DUT RF performance testing, which can assist chip development in evaluating the size of the sampling frequency offset impact and adjusting the direction of the ADC clock offset, and provides a method and system for optimizing RF performance testing of unstable channel responses.
[0078] It should be pointed out that the present invention is applied to a comprehensive tester as a test device to perform performance testing on a DUT, the operation method of the present invention is easy to change, and the method and idea of estimating the sampling frequency offset and compensating the sampling frequency offset by interpolation filtering of the present invention all belong to the protection scope of the present invention. The present invention can be directly applied to other signals based on OFDM communication, all of which belong to the protection scope of the present invention.
[0079] Figure 4 The method and system for estimating the signal sampling frequency and then compensating the sampling frequency offset designed for the present invention are described below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the description made herein is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0080] After the present invention is applied, the complete process of the comprehensive tester analyzing the DUT signal is as follows: Figure 4 As shown, the preamble sequence estimation sampling frequency offset module (referred to as the preamble sequence estimation sampling offset module) and the sampling frequency offset compensation module (referred to as the sampling offset compensation module) are newly introduced in the conventional process. The present invention only takes the 11be 320M signal as an example, and can be easily extended to other WiFi standards, multiple input multiple output (MIMO) standards, and subsequent evolved protocol standards.
[0081] Detailed steps of the present invention:
[0082] The present invention is Figure 3 The conventional analysis process shown is not described in detail, only the data results are obtained for detailed description. The time domain representation of the 11be 320M signal to be analyzed is y(t), t∈[0,T], where T is the signal length. There are two identical long training sequences in the signal y(t). In the protocol definition structure, the two long training sequences are of the same length and adjacent. The length is assumed to be N, so the two long training sequences can be recorded as y 1 (n),n∈[T ltf +1,T ltf +N] and y 2 (n),n∈[T ltf +N+1,T ltf +2N], where T ltf ∈[0,T] is the starting position of the long training sequence on y(t).
[0083] The leading sampling bias estimation module is used to calculate the sampling bias based on the frequency domain information of the leading training sequence. The process is as follows:
[0084] Step S1: Obtain training sequence frequency domain information
[0085] In the Fast Fourier Transform FFT module message, find the long training sequence y1 (n) and y 2 (n) The corresponding frequency domain information is represented by γ 1 (m),m∈[1,M] and γ 2 (m), m∈[1,N], according to the characteristics of Fourier transform, the time domain length N is also the total number of subcarriers N in the frequency domain.
[0086] Step S2: Construct the relationship between the sampling bias and the two training sequences
[0087] Assume y 1 (n) and y 2 (n) The corresponding frequency domain in the ideal state is s(k), and the current signal sampling bias is δ. Combining the Fourier transform between the time and frequency domains and the sampling bias correlation model, we have:
[0088]
[0089] According to the Fourier transform characteristics,
[0090]
[0091] Without considering the interference between subcarriers, only the items where the receiving subcarrier m is the same as the transmitting subcarrier, that is, when m=k, then we have
[0092]
[0093] Then γ 1 (m) and γ 2 (m) The relationship is as follows:
[0094] γ 2 (m) = γ 1 (m)*e j2πmδ
[0095] Step S3: Calculate the signal sampling deviation
[0096] According to the γ obtained in step S1 1 (m) and γ 2 (n), and the relationship obtained in step S2, calculate the sampling bias δ. On subcarrier m, find the complex signal γ 2 (m) and γ 1 (m) with an angle Δθ, then we have
[0097]
[0098] The subcarriers are divided into odd subcarriers 2p+1 and even subcarriers 2p+2. Then there is
[0099]
[0100] and
[0101] Δθ p =2πδ(2p+2)-2πδ(2p+1)=2πδ
[0102] This Taking the average value of the subcarriers, we have
[0103]
[0104] That is, the calculation formula of sampling bias is:
[0105]
[0106] The sampling bias compensation module is used to perform interpolation filtering on the received signal, and based on the calculated sampling bias, the sampling bias effect is compensated from the digital signal, and the compensated digital signal is obtained as a new time domain signal for subsequent signal analysis. The workflow of the sampling bias compensation module is as follows:
[0107] In step S3, the sampling bias is calculated to be δ, then the received signal y(t), t∈[0,T] is interpolated and filtered to compensate the sampling bias effect from the digital signal.
[0108] Step A1: Construct the relationship between the interpolation interval before and after interpolation filtering
[0109] The sampling rate of the received signal y(t), t∈[0,T] is recorded as Fs, Fs is selected by the RF, this parameter is suppressed, and the sampling interval is recorded as Ts, then Ts=1 / Fs. Then the sampling interval after compensating the sampling bias is set to Ti, then we have
[0110] Ti=1 / (Fs(1-δ))
[0111] Step A2: Constructing interpolation filtering relationship
[0112] To compensate for the influence of sampling bias, it is only necessary to convert the original signal y(t) with an interpolation interval of Ts into a new signal with an interpolation interval of Ti through interpolation filtering. According to the mathematical principle of resampling, at time t = kT i
[0113] Resample the output signal y(t) using an interpolation filter h I (t), then
[0114]
[0115] Interpolation time kT i It can be expressed as n k T sAdd a positive decimal part to the sum:
[0116]
[0117] parameter u k is the error interval, which determines the impulse response coefficient of the interpolation filter, and its range is u k ∈[0,1). k and u k Indicates T s and T i The relationship between Figure 5 shown.
[0118] The resampled output can be expressed as:
[0119]
[0120] Step A3: Finite interpolation filter
[0121] The above equation can be expressed as a finite-order FIR filter:
[0122]
[0123] This gives us the required full digital interpolation formula. k The possible value is between 0 and 1, so the weighting coefficient h I [(m+u k )T s ] can only be based on the current u k Real-time calculation, since the Sinc function is not easy to implement in hardware, polynomials are generally used to approximate the ideal weighting coefficients, namely:
[0124]
[0125] in, L is the polynomial order. As long as L is large enough, it can be well approximated. For most applications, a quadratic or fourth-order filter is used, that is, L = 2, I 1 =2,I 2 =1, the requirement can be met. Therefore, the output of the interpolation filter can be obtained as:
[0126]
[0127] in, b l The value of can be obtained using the cubic interpolation group Or piecewise parabolic interpolation group C -2 =-0.5u+0.5u 2 ,C-1 =1.5u-0.5u 2 ,C 0 =-0.5u-0.5u 2 +1,C 1 =-0.5u+0.5u 2 .
[0128] Step A4: Interpolation compensation
[0129] The interpolation filter coefficients selected in step A3 are substituted into the following interpolation filter output formula:
[0130]
[0131] Loop to condition kT i ≤T and (k+1)T i >T (k is an integer), and the compensated digital signal is obtained.
[0132] Then, the compensated digital signal As the time domain signal, FFT processing is performed again to obtain the compensated frequency domain signal, and finally subsequent signal analysis is completed based on the compensated frequency domain signal.
[0133] Simulation experiment
[0134] The present invention calculates the sampling frequency offset and then makes reasonable compensation for the sampling frequency offset. The sampling offset compensation subsystem function can be turned off by a switch to evaluate the size of the sampling offset and the influence of the sampling offset on the receiving performance, or the sampling offset compensation subsystem function can be turned on to achieve the purpose of better evaluating product performance and help equipment manufacturers locate the error introduction position of the DUT product.
[0135] like Figure 6 As shown, the present invention is applied to the applicant's WT series comprehensive tester, and an SFO compensation option is set in the Meter analysis setting interface of its analysis software. The comprehensive tester is used to analyze models based on 802.11a / g / n / ac / ax / be. When SFO compensation is turned on, the relevant contents of the present invention are applied, and the results of analyzing the signal have the following changes: the Symbol Constant of the constellation diagram has perfect convergence, indicating that the influence of the sampling frequency offset is suppressed; the Spectral Flatness curve is smooth, and the difference between EVMvsCarrier is very small, indicating that the different effects of the sampling frequency offset on the subcarriers are controlled; the performance indicator EVM reaches -66.24dB, which is lower than the residual EVM of the instrument itself, indicating that the compensation effect of the compensation system is correct and reasonable.
[0136] The specific implementation modes described above are preferred implementation modes of the present invention, and are not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to the specific implementation modes, and all equivalent changes made according to the present invention are within the protection scope of the present invention.
Claims
1. A method for estimating and compensating sampling frequency offset of a comprehensive measuring instrument, characterized in that: The steps include: Based on the leading sampling bias estimation step: based on the acquired frequency domain information, the sampling bias is calculated; Sampling bias compensation step: interpolate and filter the received signal, and based on the calculated sampling bias, compensate the sampling bias effect from the digital signal, and obtain the compensated digital signal as a new time domain signal for subsequent signal analysis. in, The leading sampling bias estimation step includes the following sub-steps: S1: Acquire frequency domain information of a training sequence, where the training sequence includes two adjacent long training sequences of the same length; S2: Combine the Fourier transform between the time domain and frequency domain with the sampling bias model to build a relationship model between two long training sequences based on the sampling bias; S3: Calculate the sampling bias according to the frequency domain information of the two long training sequences obtained in step S1 and the relationship model obtained in step S2.
2. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 1, characterized in that: In the sampling bias compensation step, the received signal is interpolated and filtered, and the sampling bias effect is compensated from the digital signal, including the following sub-steps: A1: Construct the relationship between the interpolation interval before and after interpolation filtering; A2: construct an interpolation filtering relationship, and based on the interpolation filtering relationship, obtain an output model after resampling and interpolation; A3: The resampled output model is expressed as a finite-order FIR filter to obtain a fully digital interpolation model; A4: Based on the selected interpolation filter coefficient and the full digital interpolation model, interpolation compensation is performed to obtain a compensated digital signal.
3. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 2, characterized in that: In step S1, in the Fourier transform message, the frequency domain information corresponding to the two long training sequences y1(n) and y2(n) is searched, which are represented as Υ1(m) and Υ2(m) respectively, where n∈[1,N] is the time domain sequence number, and m∈[1,N] is the frequency domain subcarrier sequence number. According to the Fourier transform characteristics, the time domain length N is also the total number of frequency domain subcarriers N.
4. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 3, characterized in that: In step S2, the specific processing method for constructing the relationship model between two long training sequences based on sampling bias is: (1) Assume that the frequency domain corresponding to y1(n) and y2(n) in the ideal state is s(k), and the current signal sampling bias is δ. Combining the Fourier transform between the time and frequency domains and the sampling bias correlation model, we have: Among them, k is the frequency domain subcarrier number of the transmitting signal, j is the imaginary unit, (2) According to the Fourier transform characteristics, then: (3) When the receiving terminal carrier m is equal to the transmitting terminal carrier k, that is, m = k, we have Then the relationship model between Υ1(m) and Υ2(m) is: Υ2(m)=Υ1(m)*e j2πmδ .
5. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 4, characterized in that: In step S3, the sampling bias is calculated as follows: On subcarrier m, find the angle Δθ between the complex signals Υ2(m) and Υ1(m), then we have in, for The imaginary part of for The real part of is the complex conjugate of γ1(m), is the complex conjugate of Υ2(m); The subcarriers are divided into odd subcarriers 2p+1 and even subcarriers 2p+2. Then we have: and Dth p =2πδ(2p+2)-2πδ(2p+1)=2πδ This Taking the average value of the subcarriers, we get the following formula: The calculation formula of sampling bias δ is:
6. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 5, characterized in that: In step A1, the sampling rate of the received signal y(t), t∈[0,T] is recorded as Fs, T is the signal duration, and the sampling interval is recorded as Ts, then Ts=1 / Fs, and the sampling interval after compensating the sampling bias is set to Ti, then: Ti = 1 / (Fs(1-δ)).
7. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 6, characterized in that: In step A2, the original signal y(t) with a sampling interval of Ts is converted into a new signal with a sampling interval of Ti by interpolation filtering. At time t = kT i Resample the output signal y(t) using an interpolation filter h I (t), then Interpolation time kT i It can be expressed as n k T s Add a positive decimal part to the sum: Among them, the parameters u k is the error interval, which determines the impulse response coefficient of the interpolation filter, and its range is u k ∈[0,1), m k for The integer part of , then the resampled output model is:
8. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 7, characterized in that: In step A3, the finite order FIR filter is in the form of: Because u k The value is between 0 and 1, so the weighting coefficient h I [(m+u k )T s ]According to the current u k Real-time calculation, using polynomials to approximate the ideal weighting coefficients, namely: in, L is the polynomial order, l is the serial number of L, is the interpolation filter coefficient of the lth order at the interpolation position m, Using a quadratic, fourth-order filter, that is, taking L = 2, I1 = 2, I2 = 1, the output of the interpolation filter is: in, 9. The method for estimating and compensating sampling frequency offset of a comprehensive tester according to claim 8, characterized in that: In step A4, the interpolation filter coefficients selected in step A3 are substituted into the formula: Loop to condition kT i ≤T and (k+1)T i >T, the obtained value is the compensated digital signal.
10. A system for estimating and compensating sampling frequency offset of a comprehensive tester, used to implement the method for estimating and compensating sampling frequency offset of a comprehensive tester according to any one of claims 1 to 9, characterized in that: It includes a leading sampling bias estimation module and a sampling bias compensation module, wherein: The leading sampling bias estimation module is used to calculate the sampling bias according to the frequency domain information of the leading training sequence; Sampling bias compensation module: used to perform interpolation filtering on the received signal, and based on the calculated sampling bias, compensate the sampling bias effect from the digital signal, and obtain the compensated digital signal as a new time domain signal for subsequent signal analysis, where: The leading sampling bias estimation module includes the following submodules: A training sequence frequency domain information acquisition submodule: used to acquire frequency domain information of a training sequence, wherein the training sequence includes two adjacent long training sequences of the same length; The submodule for building a relationship model between two long training sequences is used to combine the Fourier transform between the time domain and the frequency domain with the sampling bias model to build a relationship model between the two long training sequences based on the sampling bias; Sampling bias calculation submodule: used to obtain the frequency domain information and relationship model of two long training sequences and calculate the sampling bias.
