CN104811974B - Data processing method based on IEEE802.11n standards in WiFi comprehensive test instruments - Google Patents
Data processing method based on IEEE802.11n standards in WiFi comprehensive test instruments Download PDFInfo
- Publication number
- CN104811974B CN104811974B CN201510129102.8A CN201510129102A CN104811974B CN 104811974 B CN104811974 B CN 104811974B CN 201510129102 A CN201510129102 A CN 201510129102A CN 104811974 B CN104811974 B CN 104811974B
- Authority
- CN
- China
- Prior art keywords
- mrow
- msub
- data
- munderover
- training sequence
- 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.)
- Expired - Fee Related
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Digital Transmission Methods That Use Modulated Carrier Waves (AREA)
Abstract
本发明公开了WiFi综测仪中基于IEEE802.11n标准的数据处理方法,旨在解决WiFi综测仪中当接收数据符合IEEE802.11n标准时,实现数据处理的实时性和准确性,真实的反映待测件的性能。所述方法是:采用基于能量分组检测和本地训练序列互相关联合定时同步,可实现精确同步;采用基于时域数据辅助最大似然估算载波频偏的方法能准确估算频偏值;采用LS信道估计和拟合实现能准确的估计信道特性。接收到的数据经过截取一帧有效数据,首先经过定时同步和频偏估计,对数据进行频率补偿,经过去循环前缀后对数据进行解调,然后进行信道估计,并解析信号域,最后对数据进行相位补偿,求得EVM,可以真实的反映待测件的性能。
The invention discloses a data processing method based on the IEEE802.11n standard in a WiFi comprehensive tester, and aims to solve the problem of realizing the real-time and accuracy of data processing when the received data in the WiFi comprehensive tester conforms to the IEEE802.11n standard, and truly reflect the waiting time. performance of the test piece. The method is as follows: the joint timing synchronization based on energy packet detection and local training sequence cross-correlation can realize precise synchronization; the method of estimating carrier frequency offset based on time-domain data-assisted maximum likelihood can accurately estimate the frequency offset value; using LS channel Estimation and fitting achieve accurate estimation of channel characteristics. After the received data intercepts a frame of valid data, it first goes through timing synchronization and frequency offset estimation, then performs frequency compensation on the data, demodulates the data after removing the cyclic prefix, then performs channel estimation, and analyzes the signal domain, and finally the data Perform phase compensation to obtain EVM, which can truly reflect the performance of the DUT.
Description
技术领域technical field
本发明属于信号处理领域,数据处理以及仪器仪表测量行业,具体涉及一种WiFi综测仪中基于IEEE802.11n标准的数据处理方法。The invention belongs to the field of signal processing, data processing and instrument measurement industry, in particular to a data processing method based on the IEEE802.11n standard in a WiFi comprehensive tester.
背景技术Background technique
近十多年来,无线局域网技术具有高速率的特点,灵活、低成本的布局,在众多场所中得到广泛的应用,拥有巨大的市场规模和广泛的用户群。随着无线局域网的发展,对无线网芯片的需求量将不断增加。一台可靠、高效的WiFi综测仪对芯片进行准确的检测显得尤为重要。目前,全球市场上的WiFi综测仪基本上是被国外厂商垄断,但我国在研发WiFi综测仪领域还处于落后位置,因此研发WiFi综测仪是势在必行的,对保证我国WiFi产业链的完整性和安全性具有重大意义。In the past ten years, wireless LAN technology has the characteristics of high speed, flexible and low-cost layout, and has been widely used in many places, with a huge market scale and a wide range of user groups. With the development of wireless LAN, the demand for wireless network chips will continue to increase. It is particularly important for a reliable and efficient WiFi comprehensive tester to accurately detect the chip. At present, WiFi comprehensive testers in the global market are basically monopolized by foreign manufacturers, but my country is still in a backward position in the field of research and development of WiFi comprehensive testers. The integrity and security of the chain are of great significance.
在WiFi综测仪对数据处理主要包括了定时同步、频率同步和信道估计。同步对于任何一台WiFi综测仪都是重要的任务,没有精确的同步,接收端就无法对接收到的数据进行可靠的恢复,导致后续工作无法正常进行。在对子载波进行解调之前必须进行定时同步和频率同步,其中定时同步包括帧同步和符号同步。帧同步是检测帧的到来并估计出数据帧符号的起始位置,为下一步的同步做准备。符号同步是估计出进行FFT数据解调开始的位置,如果符号同步的误差较大,将会引入符号间干扰,甚至会破坏子载波间的正交性,造成严重的ICI。频率同步的目的是估计并校正信号中存在的频率偏移。The data processing of the WiFi comprehensive tester mainly includes timing synchronization, frequency synchronization and channel estimation. Synchronization is an important task for any WiFi comprehensive tester. Without accurate synchronization, the receiving end cannot recover the received data reliably, resulting in the failure of subsequent work. Timing synchronization and frequency synchronization must be performed before demodulating subcarriers, where timing synchronization includes frame synchronization and symbol synchronization. Frame synchronization is to detect the arrival of the frame and estimate the starting position of the data frame symbol, and prepare for the next step of synchronization. Symbol synchronization is to estimate the starting position of FFT data demodulation. If the symbol synchronization error is large, it will introduce inter-symbol interference, and even destroy the orthogonality between subcarriers, resulting in serious ICI. The purpose of frequency synchronization is to estimate and correct the frequency offset present in the signal.
信号在无线信道传输过程中将会受到信道的严重影响,从而导致接收端的性能急剧下降。但是信道编码技术和数据交织技术也不能彻底解决这类问题,需要将接收到的信号经过信道估计后获得信道参数,再对信号进行均衡,从而提高综测仪测试的准确度。信道估计的精度直接影响整个综测仪的性能,能够获得详细的信道信息,从而在接收端正确地解调出发射信号,这对综测仪准确的反映出待测件的性能非常重要。During the wireless channel transmission, the signal will be seriously affected by the channel, which will lead to a sharp decline in the performance of the receiving end. However, channel coding technology and data interleaving technology cannot completely solve this kind of problem. It is necessary to obtain channel parameters after channel estimation of the received signal, and then equalize the signal, so as to improve the accuracy of the comprehensive tester test. The accuracy of channel estimation directly affects the performance of the entire comprehensive tester, and it is very important for the comprehensive tester to accurately reflect the performance of the DUT to obtain detailed channel information and correctly demodulate the transmitted signal at the receiving end.
发明内容Contents of the invention
发明目的:针对现有技术的不足,本发明目的在于提供一种WiFi综测仪中基于IEEE802.11n标准的数据处理方法,解决WiFi综测仪中当接收数据符合IEEE802.11n标准时,实现数据处理的实时性和准确性,真实的反映待测件的性能。Purpose of the invention: In view of the deficiencies in the prior art, the purpose of the present invention is to provide a data processing method based on the IEEE802.11n standard in a WiFi comprehensive tester, to solve the problem of realizing data processing when the received data conforms to the IEEE802.11n standard in the WiFi comprehensive tester Real-time and accuracy, truly reflect the performance of the DUT.
技术方案:为实现上述发明目的,本发明采用如下技术方案:Technical solution: In order to achieve the above-mentioned purpose of the invention, the present invention adopts the following technical solutions:
一种WiFi综测仪中基于IEEE802.11n标准的数据处理方法,用于测试支持IEEE802.11n标准的待测件的EVM(Error Vector Magnitude,误差矢量幅度)值,其特征在于,包括如下步骤:A data processing method based on the IEEE802.11n standard in a WiFi comprehensive tester, for testing the EVM (Error Vector Magnitude, error vector magnitude) value of the DUT supporting the IEEE802.11n standard, it is characterized in that, comprising the steps:
(1)接收待测件发送的数据,根据信号能量分布截取一帧有效数据;(1) Receive the data sent by the DUT, and intercept a frame of valid data according to the signal energy distribution;
(2)采用基于能量分组检测和本地训练序列互相关联合定时同步算法,对截取的有效数据进行精确同步;(2) Using a joint timing synchronization algorithm based on energy group detection and local training sequence cross-correlation to accurately synchronize the intercepted effective data;
(3)采用基于时域数据辅助最大似然估算载波频偏的方法计算求得频偏值,并对截取的有效数据进行频偏补偿;(3) Using the method of estimating carrier frequency offset based on time-domain data-assisted maximum likelihood to calculate and obtain the frequency offset value, and perform frequency offset compensation on the intercepted effective data;
(4)对频率补偿后的数据依次进行降采样、去除循环前缀以及FFT解调;(4) Down-sampling, cyclic prefix removal and FFT demodulation are performed sequentially on the frequency-compensated data;
(5)利用数据帧中的长训练序列采用最小平方信道估计算法计算出信道冲激响应函数并对冲激响应函数进行拟合的方法进行信道估计;(5) Utilize the long training sequence in the data frame to use the least squares channel estimation algorithm to calculate the channel impulse response function and perform channel estimation by a method of fitting the impulse response function;
(6)对经过频偏补偿和信道均衡后的信号域依次进行解交织、解码和解扰后,提取出调制模式和有效数据长度;(6) After performing deinterleaving, decoding and descrambling in sequence on the signal domain after frequency offset compensation and channel equalization, the modulation mode and effective data length are extracted;
(7)解析数据字段,对数据字段的信号进行相位补偿;(7) Analyze the data field, and perform phase compensation to the signal of the data field;
(8)计算得到EVM值。(8) Calculate the EVM value.
所述步骤(1)中根据信号能量分布截取一帧有效数据时,依据的判别公式如下:When intercepting a frame of valid data according to the signal energy distribution in the described step (1), the discriminant formula according to is as follows:
其中,r(n)表示接收信号,r(n)2表示接收信号的能量,N表示所接收到数据总长度,I(i)用来记录信号能量小于平均能量;当I(i)出现两次不相邻连续的“1”时,则表示有效信号在这连续的“1”之间。Among them, r(n) represents the received signal, r(n) 2 represents the energy of the received signal, N represents the total length of the received data, and I(i) is used to record that the signal energy is less than the average energy; when I(i) appears two When there are two non-adjacent consecutive "1", it means that the valid signal is between the consecutive "1".
所述步骤(2)中,包括:In described step (2), comprise:
(21)在截取的一帧数据中,当I(i)出现连续的“0”时,将首次出现的“0”的位置当成粗同步的位置;(21) In a frame of data intercepted, when continuous "0" occurs in I(i), the position of "0" that occurs for the first time is regarded as the position of coarse synchronization;
(22)接着接收到的信号r(n)与本地长训练序列Sm进行互相关,即(22) Then the received signal r(n) is cross-correlated with the local long training sequence S m , namely
其中,L为两个重复的符号长度,取64;求取互相关值的能量,即:Among them, L is the length of two repeated symbols, which is 64; the energy of the cross-correlation value is calculated, namely:
其中,N表示截取的一帧有效数据的长度。Wherein, N represents the length of one frame of valid data intercepted.
(23)求取Pn中第一个最大值所对应的位置为第一个长训练序列起始位置的粗略估计;(23) obtaining the position corresponding to the first maximum value in P n is a rough estimate of the first long training sequence starting position;
(24)将前后两个长训练序列互相关值进行对应相加,其中最大值所对应的位置为第一个长训练序列起始位置的精确估计。(24) Correspondingly add the cross-correlation values of the two long training sequences before and after, and the position corresponding to the maximum value is an accurate estimation of the starting position of the first long training sequence.
所述步骤(3)中采用基于时域数据辅助最大似然估算载波频偏的方法计算求得频偏值中,频偏估计值的计算公式为:其中,z是将接收到的两个重复符号进行时域相关运算的中间变量,具体为In the step (3), the method for calculating and obtaining the frequency offset value based on time-domain data-assisted maximum likelihood estimation of carrier frequency offset is adopted, and the calculation formula of the frequency offset estimated value is: Among them, z is an intermediate variable that performs time-domain correlation operations on the two received repeated symbols, specifically
其中,fΔ是发送端与接收端载波的频差,Ts为采样时间,L为两个重复的符号长度,D为两个重复符号的相同样值的延时;Among them, f Δ is the carrier frequency difference between the sending end and the receiving end, T s is the sampling time, L is the length of two repeated symbols, and D is the delay of the same value of the two repeated symbols;
所述步骤(3)中包括如下步骤:In described step (3), comprise the following steps:
(31)利用短训练序列实现粗频偏估计,将短训练序列的3~6子序列与短训练序列的4~7子序列进行互相关运算,得到64个频偏值,对64个频偏值求平均之后,得到粗频偏估计值;(31) Utilize the short training sequence to realize coarse frequency offset estimation, perform cross-correlation operation on the 3-6 subsequences of the short training sequence and the 4-7 subsequences of the short training sequence, and obtain 64 frequency offset values. After averaging the values, a rough frequency offset estimate is obtained;
(32)利用粗频偏估计值对信号进行频偏补偿,再接着利用长训练序列实现细频偏估计,取循环前缀的中点为细频偏估计的起始点,将此点之后连续64点序列与此序列接下来的64点进行互相关,最终得到的频偏值为这64个频偏值的平均值。(32) Use the coarse frequency offset estimation value to perform frequency offset compensation on the signal, and then use the long training sequence to realize the fine frequency offset estimation, take the midpoint of the cyclic prefix as the starting point of the fine frequency offset estimation, and add 64 consecutive points after this point The sequence is cross-correlated with the next 64 points of the sequence, and the final frequency offset value is the average value of these 64 frequency offset values.
所述步骤(8)中,计算EVM值的公式为:In described step (8), the formula of calculating EVM value is:
计算帧中所有有效值(RMS)误差的平均值,计算公式如下:Calculate the average value of all effective value (RMS) errors in the frame, the calculation formula is as follows:
其中Nf为测量的帧数,I0(if,is,iss,isc),Q0(if,is,iss,isc)表示子载波isc,空间数据流iss和帧if中OFDM符号is对应的理想星座图符号点。I(if,is,iss,isc),Q(if,is,iss,isc)表示子载波isc,空间数据流iss和帧if中OFDM符号is对应的实际星座图符号点,P0为星座图的平均功率,NSYM为OFDM符号中的数据字段的数量,NSS为空中数据流数量,NST为子载波总数。where N f is the number of measured frames, I 0 (if , i s , i ss , i sc ), Q 0 (if , i s , i ss , i sc ) means the subcarrier i sc , the spatial data stream i ss and the ideal constellation symbol point corresponding to OFDM symbol i s in frame if. I(if , i s ,i ss ,i sc ), Q(if , i s ,i ss ,i sc ) means the subcarrier i sc , the spatial data stream i ss corresponds to the OFDM symbol i s in the frame if , P 0 is the average power of the constellation, N SYM is the number of data fields in OFDM symbols, N SS is the number of air data streams, and N ST is the total number of subcarriers.
有益效果:与现有技术相比,本发明专利提出了WiFi综测仪中基于IEEE802.11n标准的数据处理方法,采用了新的定时同步、频率同步和信道估计算法。能够保证接收信号在WiFi综测仪中完成数据的准确处理,能够真实的反映待测件的性能,并且测试结果具有高稳定性和精确度高的特定。定时同步提出了一种基于信号能量和本地训练序列互相关联合算法,首先利用能量分组检测实现信号的粗同步,而后利用本地长训练序列互相关算法实现精同步。频偏估计通过改变频偏估计的起始位置,并增加计算频偏值的点数来获得更加精确的频偏估计值。信道估计则是结合综测仪中信道为高信噪比的特点,在LS算法的基础上,提出了对冲激响应函数进行拟合的方法,能够准确的估算出信道冲激响应函数。再经过数据字段的相位补偿,计算出EVM值,并与业界的WiFi综测仪厂商Aeroflex的PXI3000系列解决方案的测试结果相比较,具有高稳定性和精确度高的特点。Beneficial effects: Compared with the prior art, the patent of the present invention proposes a data processing method based on the IEEE802.11n standard in the WiFi comprehensive tester, and adopts new timing synchronization, frequency synchronization and channel estimation algorithms. It can ensure that the received signal is processed accurately in the WiFi comprehensive tester, can truly reflect the performance of the device under test, and the test results have high stability and high accuracy. Timing synchronization proposes a joint algorithm based on signal energy and local training sequence cross-correlation. Firstly, the energy packet detection is used to achieve coarse synchronization of signals, and then the local long training sequence cross-correlation algorithm is used to achieve fine synchronization. Frequency offset estimation obtains more accurate frequency offset estimation by changing the starting position of frequency offset estimation and increasing the number of points for calculating frequency offset values. Channel estimation combines the characteristics of the high signal-to-noise ratio of the channel in the comprehensive tester. On the basis of the LS algorithm, a method for fitting the impulse response function is proposed, which can accurately estimate the channel impulse response function. After the phase compensation of the data field, the EVM value is calculated, and compared with the test results of Aeroflex's PXI3000 series solution, which is the industry's leading WiFi comprehensive tester manufacturer, it has the characteristics of high stability and high accuracy.
附图说明Description of drawings
图1为本发明WiFi综测仪中基于IEEE802.11n标准测试流程图;Fig. 1 is based on IEEE802.11n standard test flowchart in the WiFi comprehensive measuring instrument of the present invention;
图2为基于IEEE802.11n协议的接收机框图;Figure 2 is a block diagram of a receiver based on the IEEE802.11n protocol;
图3为本发明实施例采用的HT-mixed模式的帧结构示意图;Fig. 3 is a schematic diagram of the frame structure of the HT-mixed mode adopted by the embodiment of the present invention;
图4为本发明方法中利用短训练序列实现粗频偏估计示意图;FIG. 4 is a schematic diagram of realizing coarse frequency offset estimation by using short training sequences in the method of the present invention;
图5为本发明方法中利用长训练序列实现细频偏估计示意图;Fig. 5 is a schematic diagram of realizing fine frequency offset estimation by using a long training sequence in the method of the present invention;
图6为本发明方法中解扰器示意图。Fig. 6 is a schematic diagram of a descrambler in the method of the present invention.
具体实施方式Detailed ways
下面结合附图对具体实施方案做进一步阐述。The specific implementation will be further elaborated below in conjunction with the accompanying drawings.
在WiFi综测仪中数据处理过程与一般的接收机处理过程一样,图2为基于IEEE802.11n协议的接收机框图。首先接收到的信号通过一个下变频转换为基带信号,并经过AGC(自动增益控制)和模数转换,然后进行帧检测和时域同步,这样系统能够得到信号到达时刻,再对接收信号进行载波频偏补偿。之后对信号进行去循环前缀,通过FFT(FastFourier Transformation)变换将信号从时域转换成频域。FFT变换后,用接收到的长训练序列进行信道估计,最后通过星座逆映射、解交织得到原始信号。The data processing process in the WiFi comprehensive tester is the same as the general receiver processing process. Figure 2 is a block diagram of a receiver based on the IEEE802.11n protocol. First, the received signal is converted into a baseband signal through a down-conversion, and then undergoes AGC (automatic gain control) and analog-to-digital conversion, and then performs frame detection and time domain synchronization, so that the system can obtain the arrival time of the signal, and then perform carrier wave on the received signal Frequency offset compensation. After that, the cyclic prefix is removed from the signal, and the signal is converted from the time domain to the frequency domain through FFT (FastFourier Transformation) transformation. After FFT transformation, the received long training sequence is used for channel estimation, and finally the original signal is obtained through constellation inverse mapping and deinterleaving.
根据IEEE802.11n标准规定,有三种工作模式:Non-HT(Non-high-throughput)模式,HT-mixed(High-throughput-mixed)模式和HT-greenfield(High-throughput-greenfield)模式,本发明以HT-mixed模式带宽20M为例进行详述,图3为HT-mixed模式的帧结构。L-STF(Non-HT Short Training field)训练序列用于定时同步、粗频偏估计和AGC;L-LTF(Non-HT Long Training field)用于精频偏估计和信道估计。信道被划分为64个子载波,标号从-32到31,标号为0的子载波为中心直流,其中标号从-28到-1和1到28的子载波用于传输信号,导频子载波的标号为±7和±21。According to the IEEE802.11n standard, there are three working modes: Non-HT (Non-high-throughput) mode, HT-mixed (High-throughput-mixed) mode and HT-greenfield (High-throughput-greenfield) mode, the present invention Taking the HT-mixed mode with a bandwidth of 20M as an example to describe in detail, Figure 3 shows the frame structure of the HT-mixed mode. The L-STF (Non-HT Short Training field) training sequence is used for timing synchronization, coarse frequency offset estimation and AGC; the L-LTF (Non-HT Long Training field) is used for fine frequency offset estimation and channel estimation. The channel is divided into 64 subcarriers, numbered from -32 to 31, and the subcarrier numbered 0 is the center DC, where the subcarriers numbered from -28 to -1 and 1 to 28 are used to transmit signals, and the pilot subcarriers are The labels are ±7 and ±21.
如图1所示,本发明实施例提供的一种WiFi综测仪中基于IEEE802.11n标准的数据处理方法,主要包括如下步骤:As shown in Figure 1, a data processing method based on the IEEE802.11n standard in a WiFi comprehensive tester provided by the embodiment of the present invention mainly includes the following steps:
(1)接收待测件发送的数据,根据信号能量分布,截取一帧有效数据。(1) Receive the data sent by the DUT, and intercept a frame of valid data according to the signal energy distribution.
完整一帧数据的前后均有一段功率值远低于平均功率数据,根据功率进行判别如下:Before and after a complete frame of data, there is a period of power value that is much lower than the average power data. The power value is judged as follows:
其中r(n)表示接收信号,r(n)2表示接收信号的能量,N表示所接收到数据总长度,I(i)用来记录信号能量小于平均能量。当I(i)出现两次不相邻连续的“1”时,则表示有效信号在这连续的“1”之间。Where r(n) represents the received signal, r(n) 2 represents the energy of the received signal, N represents the total length of the received data, and I(i) is used to record that the signal energy is less than the average energy. When two non-adjacent consecutive "1"s appear in I(i), it means that the valid signal is between the consecutive "1".
(2)采用基于信号能量和本地训练序列互相关联合定时同步算法,对截取的有效数据进行精确同步。(2) Using a joint timing synchronization algorithm based on signal energy and local training sequence cross-correlation to accurately synchronize the intercepted effective data.
在截取的一帧数据中,当I(i)出现连续的“0”时,则可将首次出现的“0”的位置当成粗同步的位置。接着接收到的信号r(n)与本地长训练序列Sm进行互相关,即In one frame of intercepted data, when consecutive "0"s appear in I(i), the position of the first occurrence of "0" can be regarded as the position of coarse synchronization. Then the received signal r(n) is cross-correlated with the local long training sequence S m , namely
其中L为两个重复的符号长度,取64。求取互相关值的能量,即:Where L is the length of two repeated symbols, which is 64. Find the energy of the cross-correlation value, that is:
其中N表示截取的一帧有效数据的长度。Where N represents the length of one frame of valid data intercepted.
上式计算出来的能量值最大两个点对应的位置分别为第一个长训练序列起始点和第二个长训练序列的起始点,求取Pn中第一个最大值所对应的位置,即:The positions corresponding to the two points with the largest energy value calculated by the above formula are respectively the starting point of the first long training sequence and the starting point of the second long training sequence, and the position corresponding to the first maximum value in P n is calculated, which is:
上式的位置为第一个长训练序列起始位置的粗略估计,为了精确估计第一个长训练序列的起始位置,将前后两个长训练序列互相关值进行对应相加,其中最大值所对应的位置为第一个长训练序列起始点所对应的位置即:above formula The position of is a rough estimate of the starting position of the first long training sequence. In order to accurately estimate the starting position of the first long training sequence, the cross-correlation values of the two long training sequences before and after are added correspondingly, and the maximum value corresponds to The position of is the position corresponding to the starting point of the first long training sequence which is:
(3)采用基于时域数据辅助最大似然估算载波频偏的方法计算求得频偏值,并进行频偏补偿。(3) The method of estimating carrier frequency offset based on time-domain data-assisted maximum likelihood is used to calculate and obtain the frequency offset value, and perform frequency offset compensation.
其中s(n)为发送端的复基带信号,fΔ是发送端与接收端载波的频差,Ts为采样时间。将接收到的两个重复符号进行时域相关运算,假设一个中间变量z:Where s(n) is the complex baseband signal at the transmitter, f Δ is the carrier frequency difference between the transmitter and the receiver, and T s is the sampling time. Perform time-domain correlation operations on the received two repeated symbols, assuming an intermediate variable z:
其中L为两个重复的符号长度,D为两个重复符号的相同样值的延时,最后频偏估计值为: Where L is the length of two repeated symbols, D is the delay of the same value of the two repeated symbols, and the final estimated frequency offset is:
IEEE802.11n标准规定了短训练序列用于粗频偏估计,长训练序列用于细频偏估计。利用短训练序列实现粗频偏估计,具体实现步骤如图4所示,将短训练序列的3~6与短训练序列的4~7进行互相关运算,可以得到64个频偏值,对这64个频偏值求平均之后,就可以得到粗频偏估计值。利用粗频偏估计值对信号进行频偏补偿。再接着利用长训练序列实现细频偏估计,具体实现步骤如图5所示,取循环前缀的中点为细频偏估计的起始点,将此点之后连续64点序列与此序列接下来的64点进行互相关,最终得到的频偏值为这64个频偏值的平均值。The IEEE802.11n standard stipulates that the short training sequence is used for coarse frequency offset estimation, and the long training sequence is used for fine frequency offset estimation. The short training sequence is used to realize coarse frequency offset estimation. The specific implementation steps are shown in Figure 4. The cross-correlation operation between 3-6 of the short training sequence and 4-7 of the short training sequence can obtain 64 frequency offset values. After the 64 frequency offset values are averaged, a rough frequency offset estimation value can be obtained. The frequency offset compensation is performed on the signal by using the coarse frequency offset estimation value. Then use the long training sequence to realize fine frequency offset estimation. The specific implementation steps are shown in Figure 5. Take the midpoint of the cyclic prefix as the starting point of fine frequency offset estimation, and combine the continuous 64 point sequence after this point with the next sequence of this sequence 64 points are cross-correlated, and the final frequency offset value is the average value of these 64 frequency offset values.
(4)对频率补偿后的数据进行降采样并去除循环前缀,对数据进行FFT解调。(4) Perform down-sampling on the frequency-compensated data and remove the cyclic prefix, and perform FFT demodulation on the data.
(5)利用长训练序列进行信道估计。(5) Use long training sequences for channel estimation.
在802.11n帧结构中,前导中L-LTF是用于计算信道估计,将接收到信号中的L-LTF字段中与数据字段的数据子载波位置相对应的导频信息提取出来,再利用最小平方信道估计算法计算出信道冲激响应函数,即:In the 802.11n frame structure, the L-LTF in the preamble is used to calculate the channel estimation, extract the pilot information corresponding to the data subcarrier position of the data field in the L-LTF field in the received signal, and then use the minimum The square channel estimation algorithm calculates the channel impulse response function, namely:
HLS=X-1YH LS =X - 1Y
其中X为发送信号中L-LTF字段,Y为接收信号的L-LTF字段中与发送数据字段的数据子载波位置相对应的导频信息,并对求得的HLS进行线性拟合。最后将信号字段和数据字段的数据用拟合后的信道冲激函数进行信道均衡。Where X is the L-LTF field in the transmitted signal, Y is the pilot information corresponding to the position of the data subcarrier in the transmitted data field in the L-LTF field of the received signal, and linear fitting is performed on the obtained HLS . Finally, the data in the signal field and the data field are used for channel equalization with the fitted channel impulse function.
(6)解析HT-SIG(High-throughput-signal)字段,提取调制模式和有效数据长度。(6) Analyzing the HT-SIG (High-throughput-signal) field to extract the modulation mode and effective data length.
对经过频偏补偿和信道均衡后的HT-SIG字段进行解析,首先将HT-SIG字段进行解交织,用j表示第一次置换前的原始接收比特的序号,i表示第一次置换后、第二次置换前的序号,k表示第二次置换后,s表示接收信号比特,NCBPS表示每个OFDM符号的编码位数。Analyze the HT-SIG field after frequency offset compensation and channel equalization, first deinterleave the HT-SIG field, use j to represent the sequence number of the original received bit before the first permutation, and i represent the first permutation, The sequence number before the second permutation, k represents after the second permutation, s represents the received signal bits, and N CBPS represents the number of coded bits per OFDM symbol.
第一次置换按下式进行:The first replacement is carried out as follows:
i=s×floor(j/s)+(j+floor(16×j/NCBPS))mods j=0,1,...,NCBPS-1i=s×floor(j/s)+(j+floor(16×j/N CBPS )) mods j=0,1,...,N CBPS -1
第二次置换按下式进行:The second replacement is carried out as follows:
k=16×i-(NCBPS-1)floor(16×j/NCBPS)i=0,1,...,NCBPS-1k=16×i-(N CBPS -1) floor(16×j/N CBPS )i=0,1,...,N CBPS -1
接着对解交织后的HT-SIG字段使用Viterbi解码器进行解码,最后对HT-SIG字段进行解扰,解扰器如图6所示,解扰多项式为:Then use the Viterbi decoder to decode the deinterleaved HT-SIG field, and finally descramble the HT-SIG field. The descrambler is shown in Figure 6, and the descrambling polynomial is:
S(x)=x7+x4+1S(x)=x 7 +x 4 +1
经过解交织、解码和解扰后的HT-SIG字段,就可提取出调制模式和有效数据长度。The modulation mode and effective data length can be extracted from the HT-SIG field after deinterleaving, decoding and descrambling.
(7)对数据字段的信号进行相位补偿。(7) Phase compensation is performed on the signal of the data field.
由于数据字段中每个OFDM符号中含有4个导频点,计算这4个点的传递函数Hm(k)。Since each OFDM symbol in the data field contains 4 pilot points, the transfer function H m (k) of these 4 points is calculated.
其中Ym(k)表示第m个符号频点k的接收频域数据,X(k)表示该频点已知的频域数据。并通过数据插值的方式(如:线性插值、二次插值等),得到所有点的传递函数Hm(k),k∈[-32..31]。Where Y m (k) represents the received frequency domain data of the mth symbol frequency point k, and X(k) represents the known frequency domain data of the frequency point. And through data interpolation (such as: linear interpolation, quadratic interpolation, etc.), the transfer function H m (k), k∈[-32..31] of all points is obtained.
(8)计算EVM(误差矢量幅度)值。(8) Calculate the EVM (Error Vector Magnitude) value.
计算帧中所有有效值(RMS)误差的平均值,计算公式如下:Calculate the average value of all effective value (RMS) errors in the frame, the calculation formula is as follows:
其中Nf为测量的帧数。I0(if,is,iss,isc),Q0(if,is,iss,isc)表示子载波isc,空间数据流iss和帧if中OFDM符号is对应的理想星座图符号点。I(if,is,iss,isc),Q(if,is,iss,isc)表示子载波isc,空间数据流iss和帧if中OFDM符号is对应的实际星座图符号点。P0为星座图的平均功率,NSYM为OFDM符号中的数据字段的数量,NSS为空中数据流数量,NST为子载波总数。where N f is the number of frames measured. I 0 (if , i s ,i ss ,i sc ), Q 0 (if , i s ,i ss ,i sc ) represents subcarrier i sc , spatial data stream i ss and OFDM symbol i in frame i f The ideal constellation symbol point corresponding to s . I(if , i s ,i ss ,i sc ), Q(if , i s ,i ss ,i sc ) means the subcarrier i sc , the spatial data stream i ss corresponds to the OFDM symbol i s in the frame if The actual constellation diagram symbol points for . P 0 is the average power of the constellation diagram, N SYM is the number of data fields in the OFDM symbol, N SS is the number of air data streams, and N ST is the total number of subcarriers.
采用本发明的数据处理方法,其测试结果与业界先进的WiFi综测仪厂商Aeroflex的PXI3000系列解决方案的测试结果接近,测试的稳定性和精确度比PXI3000系列解决方案好。With the data processing method of the present invention, the test results are close to the test results of the PXI3000 series solutions of the industry's advanced WiFi comprehensive tester manufacturer Aeroflex, and the test stability and accuracy are better than the PXI3000 series solutions.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129102.8A CN104811974B (en) | 2015-03-23 | 2015-03-23 | Data processing method based on IEEE802.11n standards in WiFi comprehensive test instruments |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510129102.8A CN104811974B (en) | 2015-03-23 | 2015-03-23 | Data processing method based on IEEE802.11n standards in WiFi comprehensive test instruments |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104811974A CN104811974A (en) | 2015-07-29 |
CN104811974B true CN104811974B (en) | 2018-04-24 |
Family
ID=53696355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510129102.8A Expired - Fee Related CN104811974B (en) | 2015-03-23 | 2015-03-23 | Data processing method based on IEEE802.11n standards in WiFi comprehensive test instruments |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104811974B (en) |
Families Citing this family (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105847211B (en) * | 2016-03-15 | 2019-02-05 | 东南大学 | A Carrier Frequency Offset Estimation Method for MIMO-OFDM Systems |
CN107294654B (en) * | 2016-04-13 | 2020-10-27 | 大唐联仪科技有限公司 | Frame header detection method based on LTE comprehensive tester and LTE comprehensive tester |
CN106330806B (en) * | 2016-09-13 | 2020-03-24 | 广东顺德中山大学卡内基梅隆大学国际联合研究院 | Fine frequency offset estimation method based on cyclic prefix and long training sequence field |
CN107911329B (en) * | 2017-11-15 | 2020-06-09 | 中国电子科技集团公司第四十一研究所 | OFDM signal demodulation method of signal analyzer |
CN108183841B (en) * | 2017-12-29 | 2020-07-28 | 深圳市极致汇仪科技有限公司 | Base band data processing method and system based on IEEE802.11ah in comprehensive tester |
CN109039981B (en) * | 2018-07-19 | 2021-07-09 | 深圳市极致汇仪科技有限公司 | Frequency offset estimation method and system for narrow-band physical uplink shared channel of wireless comprehensive measurement instrument |
CN109862545B (en) * | 2019-01-15 | 2022-03-18 | 珠海市杰理科技股份有限公司 | Frequency offset compensation method and device of Bluetooth signal, computer equipment and storage medium |
CN112866160B (en) * | 2020-12-30 | 2023-09-01 | 中电科思仪科技(安徽)有限公司 | Method and device for analyzing high-order modulation OFDMA-WLAN signal under large bandwidth |
CN112583459B (en) * | 2020-12-30 | 2022-02-11 | 深圳市极致汇仪科技有限公司 | Method and system for sequencing streams of MIMO (multiple input multiple output) signals |
CN112600779B (en) * | 2021-01-06 | 2022-06-24 | 深圳市极致汇仪科技有限公司 | WiFi signal automatic identification method and system for tester |
CN112714091B (en) * | 2021-03-26 | 2021-06-25 | 高拓讯达(北京)科技有限公司 | Method and device for determining symbol synchronization position in digital signal |
CN113794535B (en) * | 2021-09-14 | 2024-04-05 | 深圳市极致汇仪科技有限公司 | Signal synchronization method compatible with punching mode, wireless signal analysis method and system |
CN114584438B (en) * | 2022-01-05 | 2023-08-15 | 华信咨询设计研究院有限公司 | 5G CFO estimation method based on reference carrier frequency offset |
CN114598584B (en) * | 2022-04-28 | 2022-08-26 | 为准(北京)电子科技有限公司 | Fine frequency offset estimation method and device in wireless communication system |
CN115102646B (en) * | 2022-07-26 | 2022-11-11 | 中国电力科学研究院有限公司 | Non-ideal receiver EVM test compensation device and method based on OFDM system |
CN115208734B (en) * | 2022-09-15 | 2023-01-03 | 为准(北京)电子科技有限公司 | Method and device for fine signal synchronization |
CN116846725B (en) * | 2023-08-31 | 2023-11-10 | 为准(北京)电子科技有限公司 | Sampling clock deviation compensation method and device for wireless signals |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102695264A (en) * | 2011-03-25 | 2012-09-26 | 北京新岸线无线技术有限公司 | Method for realizing time synchronization and wireless communication system |
CN103873416A (en) * | 2014-03-12 | 2014-06-18 | 南京软仪测试技术有限公司 | EVM (Error Vector Magnitude) phase estimating and compensating method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8254865B2 (en) * | 2006-04-07 | 2012-08-28 | Belair Networks | System and method for frequency offsetting of information communicated in MIMO-based wireless networks |
-
2015
- 2015-03-23 CN CN201510129102.8A patent/CN104811974B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102695264A (en) * | 2011-03-25 | 2012-09-26 | 北京新岸线无线技术有限公司 | Method for realizing time synchronization and wireless communication system |
CN103873416A (en) * | 2014-03-12 | 2014-06-18 | 南京软仪测试技术有限公司 | EVM (Error Vector Magnitude) phase estimating and compensating method |
Non-Patent Citations (3)
Title |
---|
G3-PLC系统定时同步-信道估计联合设计与实现;王荣军等;《电测与仪表》;20140525;全文 * |
Joint Time-Frequency Synchronization and Channel Estimation for FBMC;Yonghong Zeng,etc;《2014 IEEE 25th international symposium on personal,indoor and mobile radio communication》;20141231;全文 * |
基于前导序列的OFDM定时同步与信道估计算法;张阳等;《电路与系统学报》;20091231;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104811974A (en) | 2015-07-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104811974B (en) | Data processing method based on IEEE802.11n standards in WiFi comprehensive test instruments | |
CN107911329B (en) | OFDM signal demodulation method of signal analyzer | |
CN108199994B (en) | OFDM signal frequency offset estimation method and system for wireless comprehensive measurement instrument | |
CN101815048B (en) | Frequency domain joint estimation method for OFDM integer frequency offset and symbol fine synchronization | |
CN102025671B (en) | Time domain joint estimation method for time coarse synchronization and frequency fine synchronization | |
CN107231176A (en) | A kind of OFDM MFSK underwater sound communications broadband Doppler shift method based on subcarrier energy | |
CN105847211A (en) | Carrier frequency offset estimation method suitable for MIMO-OFDM (Multiple Input Multiple Output-Orthogonal Frequency Division Multiplexing) system | |
CN107508780B (en) | A Timing Synchronization Method for OFDM System Based on IEEE 802.11ac | |
CN107171988B (en) | OMP sparse channel estimation method based on compressed sensing in visible light communication | |
CN102065048A (en) | Joint Time Domain Estimation Method for OFDM Frame Synchronization, Frequency Synchronization and Symbol Fine Synchronization | |
CN106169984A (en) | A kind of match tracing channel estimation methods being applicable to the reconstruct of DTMB external illuminators-based radar reference signal | |
CN112866160B (en) | Method and device for analyzing high-order modulation OFDMA-WLAN signal under large bandwidth | |
CN107257324A (en) | Time frequency combined synchronizing method and device in a kind of ofdm system | |
CN101778066B (en) | Physical layer preamble optimization-based synchronization method and system | |
CN101764643A (en) | Channel equalization method and system based on physical layer Mesh to combining precursor and pilot frequency | |
CN107454032A (en) | OFDM frequency offset estimation method based on amplitude product between subcarriers | |
CN102377726B (en) | Timing synchronization method of OFDM (Orthogonal Frequency Division Multiplexing) system | |
CN104618299B (en) | A kind of channel estimation methods tested towards IEEE 802.11ac RF consistencies | |
CN101404633A (en) | Carrier wave tracing method for single carrier system based on block transmission | |
CN101621493B (en) | OFDM frequency offset estimation judgment method | |
CN105072071A (en) | Sampling frequency offset compensation method based on NG-DSL system | |
CN101494634A (en) | Improved method based on Schmidl & Cox synchronization | |
CN113078966B (en) | High-precision 5G large-bandwidth signal testing method | |
CN101667990B (en) | OFDM frequency offset joint estimation method | |
CN106911607B (en) | A method and module for estimating in-phase/quadrature imbalance in OFDM system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180424 |