CN113726377B - A phase compensation, calibration method and AP - Google Patents
A phase compensation, calibration method and AP Download PDFInfo
- Publication number
- CN113726377B CN113726377B CN202010456980.1A CN202010456980A CN113726377B CN 113726377 B CN113726377 B CN 113726377B CN 202010456980 A CN202010456980 A CN 202010456980A CN 113726377 B CN113726377 B CN 113726377B
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- phase compensation
- link
- gain
- gear
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/0413—MIMO systems
- H04B7/0426—Power distribution
- H04B7/043—Power distribution using best eigenmode, e.g. beam forming or beam steering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/0413—MIMO systems
- H04B7/0456—Selection of precoding matrices or codebooks, e.g. using matrices antenna weighting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B7/00—Radio transmission systems, i.e. using radiation field
- H04B7/02—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas
- H04B7/04—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas
- H04B7/08—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station
- H04B7/0837—Diversity systems; Multi-antenna system, i.e. transmission or reception using multiple antennas using two or more spaced independent antennas at the receiving station using pre-detection combining
- H04B7/084—Equal gain combining, only phase adjustments
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Power Engineering (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种相位补偿、校准方法及接入点(accesspoint,AP)。The present application relates to the field of communication technologies, and in particular, to a phase compensation and calibration method and an access point (AP).
背景技术Background technique
波束赋形(beamforming,BF)通过预编码技术实现定向信号的传输或接收,BF可分为隐式BF(implicit beamforming,IBF)和显式BF(explicit beamforming,EBF)两大类。在无线局域网(wireless local area network,WLAN)中,IBF是闭环多输入多输出(multiple-input multiple-output,MIMO)系统提升空口性能的重要手段,可以规避EBF在站点(station,STA)侧信道测量的扩维损失,并降低空口交互开销。Beamforming (beamforming, BF) realizes the transmission or reception of directional signals through precoding technology, and BF can be divided into two categories: implicit BF (implicit beamforming, IBF) and explicit BF (explicit beamforming, EBF). In wireless local area network (WLAN), IBF is an important method for closed-loop multiple-input multiple-output (MIMO) system to improve air interface performance, which can avoid EBF in the station (station, STA) side channel Measure the dimensionality loss and reduce the air interface interaction overhead.
基于IBF的闭环MIMO系统中,AP接收来自STA的信号,根据接收到的信号进行信道估计,以获取STA至AP的上行等效信道矩阵。AP基于信道互易性,预测AP至STA的下行等效信道矩阵,根据下行等效信道矩阵生成预编码矩阵,然后根据预编码矩阵,确定各射频链路(chain)向STA的发射信号。In the closed-loop MIMO system based on IBF, the AP receives the signal from the STA, and performs channel estimation according to the received signal, so as to obtain the uplink equivalent channel matrix from the STA to the AP. Based on the channel reciprocity, the AP predicts the downlink equivalent channel matrix from the AP to the STA, generates a precoding matrix according to the downlink equivalent channel matrix, and then determines the transmission signal of each radio frequency chain (chain) to the STA according to the precoding matrix.
然而,AP和STA中均存在射频链路,射频链路处理信号时产生射频时延,射频时延导致信号发生相位跳变。AP基于发生相位跳变的信号进行信道估计,影响AP预测下行等效信道矩阵的精确度。However, RF links exist in both APs and STAs. When the RF links process signals, RF delays occur, and the RF delays cause signal phase jumps. The AP performs channel estimation based on the phase hopping signal, which affects the accuracy of the AP's prediction of the downlink equivalent channel matrix.
发明内容SUMMARY OF THE INVENTION
本申请提供一种相位补偿、校准方法及AP,用于提高AP预测下行等效信道矩阵的精确度。The present application provides a phase compensation and calibration method and an AP, which are used to improve the accuracy of the AP's prediction of a downlink equivalent channel matrix.
第一方面,本申请提供一种相位补偿方法,该方法包括:In a first aspect, the present application provides a phase compensation method, the method comprising:
AP通过多个射频链路接收来自STA的射频信号,所述多个射频链路中每个射频链路包括至少两个增益器件;The AP receives radio frequency signals from the STA through multiple radio frequency links, each of the multiple radio frequency links includes at least two gain devices;
所述AP测量所述射频信号并根据多个相位补偿值,得到所述AP到所述STA的信道的下行等效信道矩阵,其中,所述下行等效信道矩阵是所述STA到所述AP的信道的上行等效信道矩阵的转置,所述多个相位补偿值和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵包括多个行向量,所述多个行向量和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵的每一行向量受到对应的射频链路的相位补偿值的调整,所述多个相位补偿值中的每个相位补偿值是基于对应射频链路中至少两个增益器件各自的单器件相位补偿值之和确定的。The AP measures the radio frequency signal and obtains a downlink equivalent channel matrix of the channel from the AP to the STA according to a plurality of phase compensation values, where the downlink equivalent channel matrix is from the STA to the AP The transpose of the uplink equivalent channel matrix of the channel, the relationship between the multiple phase compensation values and the multiple radio frequency links is one-to-one correspondence, the uplink equivalent channel matrix includes multiple row vectors, the multiple The relationship between each row vector and the multiple radio frequency links is one-to-one correspondence, and each row vector of the uplink equivalent channel matrix is adjusted by the phase compensation value of the corresponding radio frequency link. Among the multiple phase compensation values Each phase compensation value of is determined based on the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency chain.
基于上述技术方案,AP通过各射频链路接收来自STA的射频信号,AP测量射频信号得到上行等效信道矩阵,根据各射频链路的相位补偿值调整上行等效信道矩阵,并将调整后的上行等效信道矩阵转置后得到下行等效信道矩阵,提高下行等效信道矩阵的精确度。Based on the above technical solutions, the AP receives the radio frequency signal from the STA through each radio frequency link, the AP measures the radio frequency signal to obtain the uplink equivalent channel matrix, adjusts the uplink equivalent channel matrix according to the phase compensation value of each radio frequency link, and calculates the adjusted uplink equivalent channel matrix. After the uplink equivalent channel matrix is transposed, the downlink equivalent channel matrix is obtained, and the accuracy of the downlink equivalent channel matrix is improved.
一种可选的实现方式中,所述单器件相位补偿值是变量的函数,所述变量包括工作信道的频点以及对应增益器件的接收档位。In an optional implementation manner, the phase compensation value of the single device is a function of a variable, and the variable includes the frequency point of the working channel and the receiving gear of the corresponding gain device.
基于上述技术方案,AP根据工作信道的频点、接收档位确定增益器件的单器件相位补偿值,提高增益器件的单器件相位补偿值的精确度,进而提高射频链路的相位补偿值的精确度,相当于提高AP确定下行等效信道矩阵的精确度。Based on the above technical solution, the AP determines the single-device phase compensation value of the gain device according to the frequency point of the working channel and the receiving gear, so as to improve the accuracy of the single-device phase compensation value of the gain device, thereby improving the accuracy of the phase compensation value of the radio frequency link. degree, which is equivalent to improving the accuracy of the AP's determination of the downlink equivalent channel matrix.
一种可选的实现方式中,所述变量还包括温度。In an optional implementation manner, the variable further includes temperature.
基于上述技术方案,考虑不同温度对增益器件的单器件相位补偿值的影响,也即,AP根据温度、工作信道的频点、接收档位确定增益器件的单器件相位补偿值,进一步提高增益器件的单器件相位补偿值的精确度。Based on the above technical solution, the influence of different temperatures on the phase compensation value of a single device of the gain device is considered, that is, the AP determines the phase compensation value of the single device of the gain device according to the temperature, the frequency point of the working channel, and the receiving gear to further improve the gain device. The accuracy of the single-device phase compensation value.
一种可选的实现方式中,所述增益器件包括外部低噪声放大器、内部低噪声放大器或可变增益放大器。In an optional implementation manner, the gain device includes an external low-noise amplifier, an internal low-noise amplifier or a variable gain amplifier.
一种可选的实现方式中,所述多个相位补偿值中的每个相位补偿值是基于对应射频链路中至少两个增益器件各自的单器件相位补偿值之和确定的,包括:In an optional implementation manner, each phase compensation value in the plurality of phase compensation values is determined based on the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency chain, including:
所述多个相位补偿值中的每个相位补偿值为对应射频链路中至少两个增益器件各自的单器件相位补偿值之和再加上根据所述上行等效信道矩阵所属的子载波得到的调整值。Each phase compensation value in the plurality of phase compensation values is obtained by adding the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency link and the sub-carriers to which the uplink equivalent channel matrix belongs. adjustment value.
基于上述技术方案,AP测量射频信号得到各子载波对应的上行等效信道矩阵;AP根据各上行等效信道矩阵所属的子载波,确定各子载波的相位调整值;然后将射频链路中至少两个增益器件各自的单器件相位补偿值之和再加上各子载波的相位调整值,得到各子载波的相位调整值。各子载波的相位调整值用于调整对应子载波的上行等效信道矩阵,进一步提高AP确定下行等效信道矩阵的精确度。Based on the above technical solutions, the AP measures the radio frequency signal to obtain the uplink equivalent channel matrix corresponding to each subcarrier; the AP determines the phase adjustment value of each subcarrier according to the subcarrier to which each uplink equivalent channel matrix belongs; The sum of the respective single-device phase compensation values of the two gain devices is added to the phase adjustment value of each subcarrier to obtain the phase adjustment value of each subcarrier. The phase adjustment value of each subcarrier is used to adjust the uplink equivalent channel matrix of the corresponding subcarrier, so as to further improve the accuracy of the AP's determination of the downlink equivalent channel matrix.
第二方面,本申请提供一种相位校准方法,该方法包括:In a second aspect, the present application provides a phase calibration method, the method comprising:
AP用处于第一状态的第一射频链路处理第二射频链路发射的第一射频信号,以得到第一基带信号,其中,所述第一射频链路中包括至少两个增益器件,所述至少两个增益器件包括第一增益器件,处于所述第一状态的所述第一射频链路中的所述第一增益器件的接收档位处于待测档位,且除所述第一增益器件以外的增益器件的接收档位处于各自的预设档位;The AP uses the first radio frequency link in the first state to process the first radio frequency signal transmitted by the second radio frequency link to obtain the first baseband signal, wherein the first radio frequency link includes at least two gain devices, so The at least two gain devices include a first gain device, the receiving gear of the first gain device in the first radio frequency link in the first state is in the gear to be measured, and the first gain device is in the gear to be measured, and the first gain device is in the first state. The receiving gears of the gain devices other than the gain devices are in their respective preset gears;
所述AP根据所述第一基带信号和第二基带信号,确定所述第一增益器件处于待测档位时的单器件相位补偿值;所述第二基带信号是所述AP用处于第二状态的所述第一射频链路处理所述第二射频链路发射的第二射频信号得到的,其中,处于所述第二状态的所述第一射频链路中的所有增益器件的接收档位处于各自的预设档位;所述第一射频信号和所述第二射频信号的初始相位相同。The AP determines, according to the first baseband signal and the second baseband signal, the single-device phase compensation value when the first gain device is in the gear to be measured; the second baseband signal is used by the AP in the second The first radio frequency link in the state is obtained by processing the second radio frequency signal transmitted by the second radio frequency link, wherein the receiving files of all gain devices in the first radio frequency link in the second state are The first radio frequency signal and the second radio frequency signal have the same initial phase.
基于上述技术方案,AP根据第一基带信号和第二基带信号,确定增益器件处于待测档位相比于该增益器件处于预设档位所产生的相位跳变,进而确定增益器件处于待测档位时的单器件相位补偿值。该单器件相位补偿值可用于调整上行等效信道矩阵,从而预测出精确度较高的下行等效信道矩阵。Based on the above technical solution, the AP determines, according to the first baseband signal and the second baseband signal, that the gain device is in the gear to be measured compared with the phase jump caused by the gain device being in the preset gear, and then determines that the gain device is in the gear to be measured. Single device phase compensation value in gear. The single-device phase compensation value can be used to adjust the uplink equivalent channel matrix, thereby predicting the downlink equivalent channel matrix with higher accuracy.
一种可选的实现方式中,所述第一增益器件处于所述待测档位时的单器件相位补偿值是根据所述第一基带信号的相位和所述第二基带信号的相位的相位差确定的。In an optional implementation manner, the single-device phase compensation value when the first gain device is in the gear to be measured is based on the phase of the first baseband signal and the phase of the second baseband signal. Poorly determined.
基于上述技术方案,AP根据第一基带信号的相位和第二基带信号的相位的相位差,确定第一增益器件处于待测档位时的单器件相位补偿值,即确定出第一增益器件处于预设档位和待测档位时产生的相位跳变,从而将单器件相位补偿值应用于调整上行等效信道矩阵中。Based on the above technical solution, the AP determines the single-device phase compensation value when the first gain device is in the gear to be measured according to the phase difference between the phase of the first baseband signal and the phase of the second baseband signal, that is, determines that the first gain device is in The phase jump generated when the preset gear and the gear to be tested are used, so that the single-device phase compensation value is applied to adjust the uplink equivalent channel matrix.
一种可选的实现方式中,所述第一射频信号或所述第二射频信号包括多个相同的长训练域(long train field,LTF)。In an optional implementation manner, the first radio frequency signal or the second radio frequency signal includes multiple identical long train fields (long train fields, LTF).
基于上述技术方案,AP基于多个相同的LTF进行多符号叠加,提高信噪比。Based on the above technical solutions, the AP performs multi-symbol superposition based on multiple identical LTFs to improve the signal-to-noise ratio.
第三方面,本申请提供一种AP,包括:In a third aspect, the present application provides an AP, including:
通信单元和处理单元;communication unit and processing unit;
所述通信单元,用于通过多个射频链路接收来自STA的射频信号,所述多个射频链路中每个射频链路包括至少两个增益器件;the communication unit, configured to receive radio frequency signals from the STA through multiple radio frequency links, each of the multiple radio frequency links includes at least two gain devices;
所述处理单元,用于测量所述射频信号并根据多个相位补偿值,得到所述AP到所述STA的信道的下行等效信道矩阵,其中,所述下行等效信道矩阵是所述STA到所述AP的信道的上行等效信道矩阵的转置,所述多个相位补偿值和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵包括多个行向量,所述多个行向量和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵的每一行向量受到对应的射频链路的相位补偿值的调整,所述多个相位补偿值中的每个相位补偿值是基于对应射频链路中至少两个增益器件各自的单器件相位补偿值之和确定的。The processing unit is configured to measure the radio frequency signal and obtain a downlink equivalent channel matrix of the channel from the AP to the STA according to multiple phase compensation values, where the downlink equivalent channel matrix is the STA Transpose of the uplink equivalent channel matrix of the channel to the AP, the relationship between the plurality of phase compensation values and the plurality of radio frequency links is one-to-one correspondence, and the uplink equivalent channel matrix includes a plurality of row vectors , the relationship between the plurality of row vectors and the plurality of radio frequency links is one-to-one correspondence, and each row vector of the uplink equivalent channel matrix is adjusted by the phase compensation value of the corresponding radio frequency link. Each of the phase compensation values is determined based on the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency chain.
一种可选实现方式中,所述单器件相位补偿值是变量的函数,所述变量包括工作信道的频点以及对应增益器件的接收档位。In an optional implementation manner, the phase compensation value of the single device is a function of a variable, and the variable includes the frequency point of the working channel and the receiving gear of the corresponding gain device.
一种可选实现方式中,所述变量还包括温度。In an optional implementation manner, the variable further includes temperature.
一种可选实现方式中,所述增益器件包括外部低噪声放大器、内部低噪声放大器或可变增益放大器。In an optional implementation manner, the gain device includes an external low-noise amplifier, an internal low-noise amplifier or a variable gain amplifier.
一种可选实现方式中,所述多个相位补偿值中的每个相位补偿值为对应射频链路中至少两个增益器件各自的单器件相位补偿值之和再加上根据所述上行等效信道矩阵所属的子载波得到的调整值。In an optional implementation manner, each phase compensation value in the plurality of phase compensation values is the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency The adjustment value obtained by the subcarrier to which the effective channel matrix belongs.
第四方面,本申请提供一种AP,包括:In a fourth aspect, the present application provides an AP, including:
通信单元和处理单元;communication unit and processing unit;
所述通信单元,用于用第二射频链路发射第一射频信号;以及用第一射频链路接收所述第一射频信号;the communication unit, configured to transmit a first radio frequency signal using a second radio frequency link; and receive the first radio frequency signal using the first radio frequency link;
所述处理单元,用于用处于第一状态的第一射频链路处理所述第一射频信号,以得到第一基带信号,其中,所述第一射频链路中包括至少两个增益器件,所述至少两个增益器件包括第一增益器件,处于所述第一状态的所述第一射频链路中的所述第一增益器件的接收档位处于待测档位,且除所述第一增益器件以外的增益器件的接收档位处于各自的预设档位;The processing unit is configured to process the first radio frequency signal by using the first radio frequency link in the first state to obtain a first baseband signal, wherein the first radio frequency link includes at least two gain devices, The at least two gain devices include a first gain device, and the receiving gear of the first gain device in the first radio frequency link in the first state is in the gear to be measured, and except for the first gain device. The receiving gears of gain devices other than a gain device are in their respective preset gears;
所述处理单元,还用于根据所述第一基带信号和第二基带信号,确定所述第一增益器件处于待测档位时的单器件相位补偿值;所述第二基带信号是所述处理单元用处于第二状态的所述第一射频链路处理所述第二射频链路发射的第二射频信号得到的,其中,处于所述第二状态的所述第一射频链路中的所有增益器件的接收档位处于各自的预设档位;所述第一射频信号和所述第二射频信号的初始相位相同。The processing unit is further configured to determine, according to the first baseband signal and the second baseband signal, a single device phase compensation value when the first gain device is in the gear to be measured; the second baseband signal is the The processing unit is obtained by processing the second radio frequency signal transmitted by the second radio frequency link with the first radio frequency link in the second state, wherein the first radio frequency link in the second state is in the second state. The receiving gears of all gain devices are in their respective preset gears; the initial phases of the first radio frequency signal and the second radio frequency signal are the same.
一种可选实现方式中,所述第一增益器件处于所述待测档位时的单器件相位补偿值是根据所述第一基带信号的相位和所述第二基带信号的相位的相位差确定的。In an optional implementation manner, the single-device phase compensation value when the first gain device is in the gear to be measured is based on the phase difference between the phase of the first baseband signal and the phase of the second baseband signal. definite.
一种可选实现方式中,所述第一射频信号或所述第二射频信号包括多个相同的LTF。In an optional implementation manner, the first radio frequency signal or the second radio frequency signal includes multiple identical LTFs.
第五方面,本申请提供一种AP,包括:In a fifth aspect, the present application provides an AP, including:
处理器、多个射频链路;processor, multiple RF links;
所述多个射频链路,用于接收来自STA的射频信号,所述多个射频链路中每个射频链路包括至少两个增益器件;The multiple radio frequency links are used to receive radio frequency signals from the STA, and each radio frequency link in the multiple radio frequency links includes at least two gain devices;
所述处理器,用于测量所述射频信号并根据多个相位补偿值,得到所述AP到所述STA的信道的下行等效信道矩阵,其中,所述下行等效信道矩阵是所述STA到所述AP的信道的上行等效信道矩阵的转置,所述多个相位补偿值和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵包括多个行向量,所述多个行向量和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵的每一行向量受到对应的射频链路的相位补偿值的调整,所述多个相位补偿值中的每个相位补偿值是基于对应射频链路中至少两个增益器件各自的单器件相位补偿值之和确定的。The processor is configured to measure the radio frequency signal and obtain a downlink equivalent channel matrix of the channel from the AP to the STA according to multiple phase compensation values, where the downlink equivalent channel matrix is the STA Transpose of the uplink equivalent channel matrix of the channel to the AP, the relationship between the plurality of phase compensation values and the plurality of radio frequency links is one-to-one correspondence, and the uplink equivalent channel matrix includes a plurality of row vectors , the relationship between the plurality of row vectors and the plurality of radio frequency links is one-to-one correspondence, and each row vector of the uplink equivalent channel matrix is adjusted by the phase compensation value of the corresponding radio frequency link. Each of the phase compensation values is determined based on the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency chain.
一种可选实现方式中,所述单器件相位补偿值是变量的函数,所述变量包括工作信道的频点以及对应增益器件的接收档位。In an optional implementation manner, the phase compensation value of the single device is a function of a variable, and the variable includes the frequency point of the working channel and the receiving gear of the corresponding gain device.
一种可选实现方式中,所述变量还包括温度。In an optional implementation manner, the variable further includes temperature.
一种可选实现方式中,所述增益器件包括外部低噪声放大器、内部低噪声放大器或可变增益放大器。In an optional implementation manner, the gain device includes an external low-noise amplifier, an internal low-noise amplifier or a variable gain amplifier.
一种可选实现方式中,所述多个相位补偿值中的每个相位补偿值为对应射频链路中至少两个增益器件各自的单器件相位补偿值之和再加上根据所述上行等效信道矩阵所属的子载波得到的调整值。In an optional implementation manner, each phase compensation value in the plurality of phase compensation values is the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency The adjustment value obtained by the subcarrier to which the effective channel matrix belongs.
第六方面,本申请提供一种AP,包括:In a sixth aspect, the present application provides an AP, including:
处理器、第一射频链路和第二射频链路;a processor, a first radio frequency link, and a second radio frequency link;
所述第二射频链路,用于发射第一射频信号;the second radio frequency link for transmitting the first radio frequency signal;
所述第一射频链路处于第一状态,所述处于第一状态的第一射频链路用于接收所述第一射频信号,并处理所述第一射频信号得到第一基带信号;所述第一射频链路中包括至少两个增益器件,所述至少两个增益器件包括第一增益器件,处于所述第一状态的所述第一射频链路中的所述第一增益器件的接收档位处于待测档位,且除所述第一增益器件以外的增益器件的接收档位处于各自的预设档位;the first radio frequency link is in a first state, and the first radio frequency link in the first state is configured to receive the first radio frequency signal and process the first radio frequency signal to obtain a first baseband signal; the The first radio frequency link includes at least two gain devices, the at least two gain devices include a first gain device, and the reception of the first gain device in the first radio frequency chain in the first state The gear is in the gear to be tested, and the receiving gears of the gain devices other than the first gain device are in their respective preset gears;
所述处理器,用于根据所述第一基带信号和第二基带信号,确定所述第一增益器件处于待测档位时的单器件相位补偿值;所述第二基带信号是处于第二状态的所述第一射频链路处理所述第二射频链路发射的第二射频信号得到的,其中,所述处于第二状态的所述第一射频链路中的所有增益器件的接收档位处于各自的预设档位;所述第一射频信号和所述第二射频信号的初始相位相同。The processor is configured to determine, according to the first baseband signal and the second baseband signal, a single device phase compensation value when the first gain device is in the gear to be measured; the second baseband signal is in the second The first radio frequency link in the state is obtained by processing the second radio frequency signal transmitted by the second radio frequency link, wherein the receiving files of all gain devices in the first radio frequency link in the second state are obtained The first radio frequency signal and the second radio frequency signal have the same initial phase.
一种可选实现方式中,所述第一增益器件处于所述待测档位时的单器件相位补偿值是根据所述第一基带信号的相位和所述第二基带信号的相位的相位差确定的。In an optional implementation manner, the single-device phase compensation value when the first gain device is in the gear to be measured is based on the phase difference between the phase of the first baseband signal and the phase of the second baseband signal. definite.
一种可选实现方式中,所述第一射频信号或所述第二射频信号包括多个相同的LTF。In an optional implementation manner, the first radio frequency signal or the second radio frequency signal includes multiple identical LTFs.
第七方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机程序或指令,当计算机程序或指令被执行时,使得第一方面或第二方面所述的方法被实现。In a seventh aspect, the present application provides a computer-readable storage medium, in which a computer program or instruction is stored, and when the computer program or instruction is executed, the method described in the first aspect or the second aspect is executed. accomplish.
第八方面,本申请提供一种计算机程序产品,该计算机程序产品包括计算机程序或指令,当该计算机程序或指令被执行时,使得第一方面或第二方面所述的方法被实现。In an eighth aspect, the present application provides a computer program product, the computer program product comprising a computer program or an instruction, when the computer program or the instruction is executed, the method described in the first aspect or the second aspect is implemented.
上述第三方面至第八方面中任一方面可以达到的技术效果可以参照上述第一方面或第二方面中有益效果的描述,此处不再重复赘述。For the technical effects that can be achieved in any one of the third aspect to the eighth aspect, reference may be made to the description of the beneficial effects in the first aspect or the second aspect, which will not be repeated here.
附图说明Description of drawings
图1为本申请实施例提供的一种WLAN部署场景的系统示意图;FIG. 1 is a system schematic diagram of a WLAN deployment scenario provided by an embodiment of the present application;
图2为本申请实施例提供的一种AP和STA的交互示意图;FIG. 2 is a schematic diagram of interaction between an AP and a STA according to an embodiment of the present application;
图3为本申请实施例提供的一种AP中射频链路的结构示意图;3 is a schematic structural diagram of a radio frequency link in an AP according to an embodiment of the present application;
图4为本申请实施例提供的一种AP进行互易性校准的示意图;4 is a schematic diagram of reciprocity calibration performed by an AP according to an embodiment of the present application;
图5为本申请实施例提供一种相位校准方法的流程的示意图;FIG. 5 is a schematic diagram of a process flow of a phase calibration method provided by an embodiment of the present application;
图6为本申请实施例提供一种相位补偿表的示意图;FIG. 6 provides a schematic diagram of a phase compensation table according to an embodiment of the present application;
图7为本申请实施例提供一种校准信号的格式的示意图;FIG. 7 provides a schematic diagram of a format of a calibration signal according to an embodiment of the present application;
图8为本申请实施例提供一种相位补偿表和频点的对应关系的示意图;8 provides a schematic diagram of a correspondence between a phase compensation table and a frequency point according to an embodiment of the present application;
图9为本申请实施例提供一种相位补偿表、频点和温度的对应关系的示意图;FIG. 9 provides a schematic diagram of the correspondence between a phase compensation table, a frequency point and a temperature according to an embodiment of the present application;
图10为本申请实施例提供一种相位补偿方法的流程的示意图;10 is a schematic diagram of a process flow of a phase compensation method provided by an embodiment of the present application;
图11为本申请实施例提供一种链路档位对应的各增益器件的器件档位的示意图;11 provides a schematic diagram of device gear positions of each gain device corresponding to a link gear position according to an embodiment of the present application;
图12为本申请实施例提供一种AP确定下行等效信道矩阵的流程的示意图;12 provides a schematic diagram of a process for an AP to determine a downlink equivalent channel matrix according to an embodiment of the present application;
图13为本申请实施例提供第一种AP的结构示意图;FIG. 13 provides a schematic structural diagram of a first AP according to an embodiment of the present application;
图14为本申请实施例提供第二种AP的结构示意图;FIG. 14 provides a schematic structural diagram of a second AP according to an embodiment of the present application;
图15为本申请实施例提供第三种AP的结构示意图。FIG. 15 is a schematic structural diagram of a third AP according to an embodiment of the present application.
具体实施方式Detailed ways
本申请实施例可以应用于WLAN中,WLAN采用的标准为IEEE 802.11系列。WLAN可以包括一个或多个基本服务集(basic service set,BSS),基本服务集中的网络节点包括AP和STA。每个基本服务集可以包含一个AP和多个关联于该AP的STA。AP可用于与STA通过无线局域网进行通信,并将STA的数据传输至网络侧,或将来自网络侧的数据传输至STA。The embodiments of the present application may be applied to a WLAN, and the standard adopted by the WLAN is the IEEE 802.11 series. A WLAN may include one or more basic service sets (BSSs), and network nodes in the basic service sets include APs and STAs. Each basic service set may contain one AP and multiple STAs associated with the AP. The AP can be used to communicate with the STA through the wireless local area network, and transmit the data of the STA to the network side, or transmit the data from the network side to the STA.
AP,也称之为热点。AP是移动用户进入有线网络的接入点,主要部署于家庭、大楼内部以及园区内部,典型覆盖半径为几十米至上百米,当然,也可以部署于户外。AP可以是带有WLAN芯片的终端设备或者网络设备。AP, also known as hotspot. APs are access points for mobile users to access wired networks. They are mainly deployed in homes, buildings, and campuses, with a typical coverage radius ranging from tens of meters to hundreds of meters. Of course, they can also be deployed outdoors. The AP can be a terminal device or a network device with a WLAN chip.
STA可以是无线通讯芯片、无线传感器或无线通信终端。例如:支持WLAN通讯功能的移动电话、支持WLAN通讯功能的平板电脑、支持WLAN通讯功能的机顶盒、支持WLAN通讯功能的智能电视、支持WLAN通讯功能的智能可穿戴设备、支持WLAN通讯功能的车载通信设备和支持WLAN通讯功能的计算机。The STA may be a wireless communication chip, a wireless sensor or a wireless communication terminal. For example: mobile phone supporting WLAN communication function, tablet computer supporting WLAN communication function, set-top box supporting WLAN communication function, smart TV supporting WLAN communication function, smart wearable device supporting WLAN communication function, in-vehicle communication supporting WLAN communication function devices and computers that support WLAN communication.
本申请所描述的系统架构以及应用场景是为了更加清楚的说明本申请的技术方案,并不构成对本申请提供的技术方案的限定,本领域普通技术人员可知,随着系统架构的演变和新业务场景的出现,本申请提供的技术方案对于类似的技术问题,同样适用。The system architecture and application scenarios described in this application are for the purpose of illustrating the technical solutions of this application more clearly, and do not constitute a limitation on the technical solutions provided in this application. When a scenario occurs, the technical solutions provided in this application are also applicable to similar technical problems.
图1为一种WLAN部署场景的系统示意图,图1中包括一个AP和3个STA,AP分别与STA1、STA2和STA3进行通信,构成一个BSS。处于同一BSS内的设备,共享空口信道,每次只能有一个设备在空口信道中发送数据。STA1、STA2和STA3发送数据之前,需要监听空口信道,并在信道空闲时竞争空口信道。FIG. 1 is a system schematic diagram of a WLAN deployment scenario. FIG. 1 includes one AP and three STAs. The AP communicates with STA1 , STA2 and STA3 respectively to form a BSS. Devices in the same BSS share the air interface channel, and only one device can send data in the air interface channel at a time. Before STA1, STA2 and STA3 send data, they need to monitor the air interface channel and compete for the air interface channel when the channel is idle.
结合图1示出的示意图,如下描述AP通过IBF向STA发送信号的过程。其中,STA可以为如图1中STA1、STA2和STA3任一个。With reference to the schematic diagram shown in FIG. 1 , the process of the AP sending a signal to the STA through the IBF is described as follows. The STA may be any one of STA1, STA2 and STA3 as shown in FIG. 1 .
如图2为一种AP通过IBF向STA发送信号的示意图,参照图2所示,AP通过多个射频链路接收来自STA的射频信号,AP根据射频信号对上行信道进行信道估计,以得到STA至AP的信道的信道状态信息(channel state information,CSI),理解为,AP根据射频信号对上行信道进行信道估计,以得到上行等效信道矩阵。AP将上行等效信道矩阵的转置矩阵确定为AP至STA的信道的下行等效信道矩阵。AP根据下行等效信道矩阵生成预编码矩阵,根据预编码矩阵对原始基带信号进行BF加权,确定各射频链路的基带信号,各射频链路对各自对应的基带信号进行处理后生成各自对应的射频信号,并发送至STA。此处,上行等效信道矩阵也可以称为上行信道矩阵、STA至AP的信道矩阵;下行等效信道矩阵也可以称为下行信道矩阵、AP至STA的信道矩阵。Figure 2 is a schematic diagram of an AP sending a signal to a STA through an IBF. Referring to Figure 2, the AP receives the radio frequency signal from the STA through multiple radio frequency links, and the AP performs channel estimation on the uplink channel according to the radio frequency signal to obtain the STA The channel state information (channel state information, CSI) of the channel to the AP is understood to mean that the AP performs channel estimation on the uplink channel according to the radio frequency signal, so as to obtain the uplink equivalent channel matrix. The AP determines the transposed matrix of the uplink equivalent channel matrix as the downlink equivalent channel matrix of the channel from the AP to the STA. The AP generates a precoding matrix according to the downlink equivalent channel matrix, performs BF weighting on the original baseband signal according to the precoding matrix, and determines the baseband signal of each radio frequency link. RF signal is sent to the STA. Here, the uplink equivalent channel matrix may also be referred to as an uplink channel matrix and a channel matrix from STA to AP; the downlink equivalent channel matrix may also be referred to as a downlink channel matrix and a channel matrix from AP to STA.
进一步的,射频信号中包括LTF字段,比如,传统长训练域(legacy-long trainfield,L-LTF)、极高吞吐量长训练域(extremely high throughput-long train field,EHT-LTF)、非常高吞吐量长训练域(very high throughput-long train field,VHT-LTF)、高效长训练域(highefficiency-long train field,HE-LTF)等。该LTF字段用于AP对上行信道进行信道估计。Further, the radio frequency signal includes an LTF field, for example, a traditional long training field (legacy-long trainfield, L-LTF), an extremely high throughput-long train field (EHT-LTF), a very high throughput Throughput long training field (very high throughput-long train field, VHT-LTF), high efficiency long training field (high efficiency-long train field, HE-LTF) and so on. The LTF field is used by the AP to perform channel estimation on the uplink channel.
需要说明的是,AP和STA中均存在射频链路,射频链路中增益器件在对信号进行增益放大时,导致信号产生相位跳变。It should be noted that there is a radio frequency link in both the AP and the STA. When the gain device in the radio frequency link amplifies the signal, the phase jump of the signal occurs.
以AP侧为例说明,如图3为本申请实施例提供的一种AP中射频链路的结构示意图,如图3中,AP包括4个射频链路,从上到下分别为射频链路0、射频链路1、射频链路2和射频链路3。各射频链路中结构均相同,各射频链路包括三级增益器件,分别为外部低噪声放大器(external low noise amplifier,eLNA)、内部低噪声放大器(internal lownoiseamplifier,iLNA)和可变增益放大器(variable gain amplifier,VGA)。Taking the AP side as an example, FIG. 3 is a schematic structural diagram of a radio frequency link in an AP provided by an embodiment of the application. As shown in FIG. 3 , the AP includes four radio frequency links, which are radio frequency links from top to bottom. 0. RF link 1, RF link 2, and RF link 3. The structure of each RF link is the same, and each RF link includes three-stage gain devices, which are an external low noise amplifier (external low noise amplifier, eLNA), an internal low noise amplifier (internal low noise amplifier, iLNA) and a variable gain amplifier ( variable gain amplifier, VGA).
该三级增益器件分别用于对信号进行增益放大,其中,eLNA为第一级低噪声放大器,具有增益步进大,噪声系数(noise factor,NF)好等特点,如eLNA打开时约有10dB至12dB的正增益,关闭时约为10dB的负增益。iLNA为第二级低噪声放大器,如iLNA可分为8个档位,每两两之间差异约6dB。VGA为第三级可变增益放大器,具有模拟信号下变频后放大、可调增益精度高等特点,通常其增益步进可做到1dB。The three-stage gain devices are respectively used to amplify the signal gain. Among them, the eLNA is the first-stage low noise amplifier, which has the characteristics of large gain step and good noise factor (NF). For example, when the eLNA is turned on, it is about 10dB. to 12dB of positive gain, about 10dB of negative gain when turned off. The iLNA is the second-level low noise amplifier. For example, the iLNA can be divided into 8 gears, and the difference between each pair is about 6dB. VGA is the third-stage variable gain amplifier, which has the characteristics of analog signal down-conversion and post-amplification, and high precision of adjustable gain. Usually, its gain step can reach 1dB.
上述三级增益器件中,各增益器件可以对信号产生不同程度的相位影响。具体的,模拟信号历经各增益器件时,射频时延对信号产生的初始相位跳变和在各子载波上的相位跳变。举例来说,在上变频之前,eLNA与iLNA的射频时延会导致信号的初始相位跳变和在各子载波上的相位跳变,而下变频后的VGA的中频时延会导致信号在各子载波上的相位跳变。In the above three-stage gain device, each gain device can have different degrees of phase influence on the signal. Specifically, when the analog signal passes through each gain device, the initial phase jump caused by the radio frequency delay to the signal and the phase jump on each sub-carrier are generated. For example, before up-conversion, the RF delay of the eLNA and iLNA will cause the initial phase hopping of the signal and the phase hopping on each sub-carrier, while the IF delay of the down-converted VGA will cause the signal to jump in each sub-carrier. Phase hopping on subcarriers.
以第k个子载波信号sk(t)为例,其中,sk(t)=a(k)ej2πkΔft。假设幅度响应为1,信号sk(t)在通过eLNA、iLNA和VGA之后,输出的sk(t)′如公式(1)所示。Take the k-th subcarrier signal sk (t) as an example, where sk (t)=a(k)e j2πkΔft . Assuming that the amplitude response is 1, after the signal sk (t) passes through the eLNA, iLNA and VGA, the output sk (t)' is shown in equation (1).
公式(1)中,τRF为射频时延,包含对应eLNA、iLNA所产生的时延;τIF为中频时延,包含对应的VGA所产生的时延。In formula (1), τ RF is the radio frequency delay, including the delay generated by the corresponding eLNA and iLNA; τ IF is the intermediate frequency delay, including the delay generated by the corresponding VGA.
为方便理解,下面以零中频电路为例,公式(1)中τIF为0,得到公式(2)。For ease of understanding, the following takes the zero-IF circuit as an example, where τ IF in formula (1) is 0, and formula (2) is obtained.
其中,指示射频时延导致信号的初始相位跳变;指示射频时延导致信号的子载波上的相位跳变。in, Indicates that the RF delay causes the initial phase jump of the signal; Indicates that the RF delay causes a phase jump on the sub-carriers of the signal.
进一步的,在零中频电路中,输入的射频信号y(t)如公式(3)所示。Further, in the zero-IF circuit, the input radio frequency signal y(t) is shown in formula (3).
其中,x(t)=xI(t)+jxQ(t)为基带信号,经傅里叶展开x(t)=∑kakej2πkΔft。Wherein, x(t)=x I (t)+jx Q (t) is the baseband signal, which is Fourier-expanded x(t)=∑ k a k e j2πkΔft .
输出的射频信号y(t)′如公式(4)所示。The output radio frequency signal y(t)' is shown in formula (4).
其中, in,
指示射频时延导致信号的初始相位跳变;指示射频时延导致信号在各子载波上的相位跳变。 Indicates that the RF delay causes the initial phase jump of the signal; Indicates that the RF delay causes the phase jump of the signal on each subcarrier.
综上,射频链路中各增益器件在对信号进行处理时,射频时延会对信号产生初始相位影响和在各子载波上的相位影响,从而影响信号的精确度。To sum up, when each gain device in the RF link processes the signal, the RF delay will affect the initial phase of the signal and the phase on each sub-carrier, thereby affecting the accuracy of the signal.
进一步的,由于AP发射信号时射频链路对信号产生的相位影响与AP接收信号时射频链路对信号产生的相位影响不同,所以,AP与STA之间上行信道与下行信道并不完全等效。Further, since the phase effect of the radio frequency link on the signal when the AP transmits the signal is different from the phase effect of the radio frequency link on the signal when the AP receives the signal, the uplink channel and the downlink channel between the AP and the STA are not completely equivalent. .
为实现AP与STA之间上行信道与下行信道等效,提出一种互易性校准方法。由于STA侧用于接收信号的射频链路对信号产生的相位影响可以由STA侧均衡抵消,因此,该互易性校准方法主要在AP侧实现。In order to realize the equivalence of uplink channel and downlink channel between AP and STA, a reciprocity calibration method is proposed. Since the phase effect of the radio frequency link used to receive the signal on the STA side can be canceled by the equalization on the STA side, the reciprocity calibration method is mainly implemented on the AP side.
互易性校准方法可以通过AP自发自收校准信号来实现,该校准信号理解为用于进行互易性校准的射频信号。如图4为本申请提供的一种AP进行互易性校准的示意图,AP中射频链路的结构示意图可参照如图3,不再赘述。The reciprocity calibration method can be implemented by the AP spontaneously sending and receiving a calibration signal, and the calibration signal is understood as a radio frequency signal used for reciprocity calibration. FIG. 4 is a schematic diagram of reciprocity calibration performed by an AP provided by the present application. For a schematic structural diagram of a radio frequency link in an AP, reference may be made to FIG. 3 , which will not be repeated.
以AP对射频链路0进行互易性校准为例,如图4中(a)为射频链路0分别向射频链路1、射频链路2、射频链路3发送射频信号,得到射频链路0作为发射射频链路的校准结果,如图4中(b)为射频链路0分别接收来自射频链路1、射频链路2、射频链路3的射频信号,得到射频链路0作为接收射频链路的校准结果,AP基于两次校准结果,确定射频链路0的互易性补偿值。Taking the reciprocity calibration performed by the AP on RF link 0 as an example, in Figure 4(a), RF link 0 sends RF signals to RF link 1, RF link 2, and RF link 3, respectively, to obtain the RF link Channel 0 is used as the calibration result of the transmitting RF link. In Figure 4(b), RF link 0 receives the RF signals from RF link 1, RF link 2, and RF link 3 respectively, and obtains RF link 0 as After receiving the calibration result of the radio link, the AP determines the reciprocity compensation value of radio link 0 based on the two calibration results.
如此,AP可以基于互易性校准确定出AP中各射频链路对应的互易性补偿值,进而AP基于各射频链路对应的互易性补偿值,对各射频链路中基带信号进行互易性补偿后发射至STA。In this way, the AP can determine the reciprocity compensation value corresponding to each radio frequency link in the AP based on the reciprocity calibration, and then the AP performs mutual reciprocity compensation for the baseband signals in each radio frequency link based on the reciprocity compensation value corresponding to each radio frequency link. Transmit to STA after changeability compensation.
但在上述互易性校准时,AP设置射频链路处于固定链路档位,以接收处理射频信号。而实际应用中,由于各STA需要竞争空口信道,AP接收的射频信号的信号功率可能会发生变化,AP根据信号功率自动调节射频链路的链路档位,并基于该链路档位对接收到的射频信号处理。AP在进行互易性校准时各射频链路所采用的固定链路档位和AP实际接收信号时各射频链路所采用的链路档位不同。However, during the above reciprocity calibration, the AP sets the radio link in the fixed link gear to receive and process radio signals. In practical applications, because each STA needs to compete for air interface channels, the signal power of the RF signal received by the AP may change. to the RF signal processing. When the AP performs reciprocity calibration, the fixed link range used by each radio link is different from the link range used by each radio link when the AP actually receives signals.
结合图1和图4说明,AP的各射频链路均有4个链路档位,分别为链路档位A、链路档位B、链路档位C、链路档位D。AP在对射频链路0进行互易性校准时,AP确定射频链路0处于固定链路档位A处理来自射频链路1、射频链路2、射频链路3的射频信号;而实际应用中,AP在接收来自STA1的射频信号1时,根据射频信号1的信号功率将射频链路0自动调节至链路档位B,或者,AP在接收来自STA2的射频信号2时,根据射频信号2的信号功率将射频链路0自动调节至链路档位C。Referring to FIG. 1 and FIG. 4 , each radio frequency link of the AP has 4 link positions, namely link position A, link position B, link position C, and link position D. When the AP performs reciprocity calibration on RF link 0, the AP determines that RF link 0 is in fixed link position A to process RF signals from RF link 1, RF link 2, and RF link 3; while the actual application , when the AP receives the RF signal 1 from STA1, it automatically adjusts the RF link 0 to link position B according to the signal power of the RF signal 1, or, when the AP receives the RF signal 2 from STA2, it automatically adjusts the RF link The signal power of 2 automatically adjusts the RF link 0 to link position C.
其它射频链路类似,AP在对射频链路1进行互易性校准时,AP确定射频链路1处于固定链路档位B处理来自射频链路0、射频链路2、射频链路3的射频信号;而实际应用中,AP在接收来自STA1的射频信号1时,根据射频信号1的信号功率将射频链路1自动调节至链路档位A,或者,AP在接收来自STA2的射频信号2时,根据射频信号2的信号功率将射频链路1自动调节至链路档位C。Similar to other RF links, when the AP performs reciprocity calibration on RF link 1, the AP determines that RF link 1 is in fixed link position B to process the signals from RF link 0, RF link 2, and RF link 3. In practical applications, when the AP receives the RF signal 1 from STA1, it automatically adjusts the RF link 1 to link position A according to the signal power of the RF signal 1, or the AP is receiving the RF signal from STA2. 2, the radio frequency link 1 is automatically adjusted to the link gear C according to the signal power of the radio frequency signal 2.
又由于各射频链路在处于不同链路档位时对信号产生的相位影响不同,AP在进行互易性校准时各射频链路所采用的固定链路档位和AP实际接收信号时各射频链路所采用的链路档位不同,会导致信号发生相位跳变。在此情况下,AP根据互易性补偿值进行互易性补偿时,则会出现补偿不精确的问题,进一步导致上行信道与下行信道不等效,影响AP各射频链路发射信号的精确度。In addition, because each RF link has different phase effects on the signal when it is in different link gears, the fixed link gear used by each RF link when the AP performs reciprocity calibration and each RF link when the AP actually receives the signal. Different link gears used by the link will cause the signal to jump in phase. In this case, when the AP performs reciprocity compensation based on the reciprocity compensation value, the problem of inaccurate compensation will occur, which further leads to the inequivalence of the uplink channel and the downlink channel, which affects the accuracy of the signals transmitted by the AP's radio frequency links. .
基于上述问题,本申请实施例提供的一种相位校准方法,该相位校准方法可以在AP执行,也可以在应用于AP中的模块(如芯片)执行。下面以AP和STA为例说明。Based on the above problem, a phase calibration method provided by the embodiments of the present application can be performed in the AP, or in a module (eg, a chip) applied to the AP. The AP and the STA are used as examples for description below.
参照如图5所示的流程图,对本申请实施例提供的相位校准方法说明如下。Referring to the flowchart shown in FIG. 5 , the phase calibration method provided by the embodiment of the present application is described as follows.
为方便描述,以AP确定第一射频链路中的第一增益器件处于待测档位时的单器件相位补偿值为例说明。其中,第一射频链路为AP的多个射频链路中任一个,第一射频链路中包括至少两个增益器件,第一增益器件为至少两个增益器件中任一个。For the convenience of description, the AP determines the phase compensation value of the single device when the first gain device in the first radio frequency link is in the gear to be tested as an example for description. The first radio frequency link is any one of multiple radio frequency links of the AP, the first radio frequency link includes at least two gain devices, and the first gain device is any one of the at least two gain devices.
步骤501,AP用处于第一状态的第一射频链路处理第二射频链路发射的第一射频信号,以得到第一基带信号。
AP可以采用自发自收方式进行相位校准,AP包括第一射频链路和第二射频链路,AP通过第二射频链路发射的第一射频信号,AP通过第一射频链路接收的第一射频信号,也即,第二射频链路为用于发射信号的射频链路,第一射频链路为用于接收信号的射频链路。The AP can perform phase calibration in a self-transmitting and self-receiving manner. The AP includes a first radio frequency link and a second radio frequency link. The AP transmits the first radio frequency signal through the second radio frequency link, and the AP receives the first radio frequency signal through the first radio frequency link. Radio frequency signals, that is, the second radio frequency link is a radio frequency link for transmitting signals, and the first radio frequency link is a radio frequency link for receiving signals.
进一步的,AP可以抢占第二射频链路至第一射频信号的空口信道,进而通过第二射频链路经空口信道将第一射频信号发送至第一射频链路;AP也可以通过第二射频链路经内部电路将第一射频信号发送至第一射频链路。Further, the AP can preempt the air interface channel of the second radio frequency link to the first radio frequency signal, and then send the first radio frequency signal to the first radio frequency link through the air interface channel through the second radio frequency link; the AP can also use the second radio frequency The link sends the first radio frequency signal to the first radio frequency link via internal circuitry.
AP可以设置第一射频链路处于第一状态,其中,处于第一状态的第一射频链路中的第一增益器件的接收档位处于待测档位,且除第一增益器件以外的增益器件的接收档位均处于各自的预设档位。举个例子,第一射频链路中增益器件依次为eLNA、iLNA和VGA,设定eLNA、iLNA和VGA对应的预设档位分别为eLNA档位0、iLNA档位1和VGA档位1。其中,iLNA为第一增益器件,iLNA的待测档位为iLNA档位2。将eLNA、iLNA和VGA的档位分别固定为eLNA档位0、iLNA档位2和VGA档位1。The AP may set the first radio frequency link to be in a first state, wherein the receiving gear of the first gain device in the first radio frequency link in the first state is in the gear to be tested, and the gain of the first gain device other than the first gain device The receiving gears of the devices are all in their respective preset gears. For example, the gain devices in the first RF link are eLNA, iLNA, and VGA in sequence, and the preset gears corresponding to eLNA, iLNA, and VGA are set to eLNA gear 0, iLNA gear 1, and VGA gear 1, respectively. Wherein, the iLNA is the first gain device, and the gear position of the iLNA to be tested is the iLNA gear position 2 . Fix the eLNA, iLNA, and VGA gears to eLNA gear 0, iLNA gear 2, and VGA gear 1, respectively.
实际应用中,由于AP通过第一射频链路接收第一射频信号时,需要根据第一射频信号的信号功率自动调节第一射频链路的链路档位,也即自动调节第一射频链路中各增益器件的器件档位。所以,AP在进行相位校准时,可以采用自动增益控制(automatic gaincontrol,AGC)控制第一射频链路中各增益器件处于固定器件档位处理第一射频信号。In practical applications, when the AP receives the first radio frequency signal through the first radio frequency link, it needs to automatically adjust the link level of the first radio frequency link according to the signal power of the first radio frequency signal, that is, automatically adjust the first radio frequency link. The device gear of each gain device in . Therefore, when the AP performs phase calibration, automatic gain control (automatic gain control, AGC) may be used to control each gain device in the first radio frequency chain to be in a fixed device position to process the first radio frequency signal.
步骤502,AP根据第一基带信号和第二基带信号,确定第一增益器件处于待测档位时的单器件相位补偿值。
其中,第二基带信号是AP通过处于第二状态的第一射频链路处理AP的第二射频链路发射的第二射频信号得到的,其中,处于第二状态的第一射频链路中的所有增益器件的接收档位均处于各自的预设档位;且第一射频信号和第二射频信号的初始相位相同。The second baseband signal is obtained by the AP processing the second radio frequency signal transmitted by the second radio frequency link of the AP through the first radio frequency link in the second state, wherein the first radio frequency link in the second state is in the second state. The receiving gears of all gain devices are in their respective preset gears; and the initial phases of the first radio frequency signal and the second radio frequency signal are the same.
理解为,AP生成两次相同的原始基带信号,第一次原始基带信号经第二射频链路输出为第一射频信号,第一射频信号通过处于第一状态的第一射频链路处理得到第一基带信号;第二次原始基带信号经第二射频链路输出为第二射频信号,第二射频信号通过处于第二状态的第一射频链路处理得到第二基带信号;其中,处于第一状态的第一射频链路和处于第二状态的第一射频链路之间的区别仅在于,前者的第一增益器件处于的待测档位,后者的第一增益器件处于的预设档位。AP根据第一基带信号和第二基带信号,确定第一增益器件处于待测档位时的单器件相位补偿值。It is understood that the AP generates the same original baseband signal twice, the first time the original baseband signal is output as the first radio frequency signal through the second radio frequency link, and the first radio frequency signal is processed through the first radio frequency link in the first state to obtain the first radio frequency signal. a baseband signal; the second original baseband signal is output as a second radio frequency signal through the second radio frequency link, and the second radio frequency signal is processed by the first radio frequency link in the second state to obtain the second baseband signal; wherein, in the first radio frequency link The only difference between the first radio frequency link in the state and the first radio frequency link in the second state is that the first gain device of the former is in the gear to be tested, and the first gain device of the latter is in the preset gear. bit. The AP determines, according to the first baseband signal and the second baseband signal, a single-device phase compensation value when the first gain device is in the gear to be measured.
AP根据第一基带信号和第二基带信号,确定第一增益器件处于待测档位时的单器件相位补偿值,至少有如下两种实现方式。The AP determines, according to the first baseband signal and the second baseband signal, the phase compensation value of the single device when the first gain device is in the gear to be measured. There are at least two implementations as follows.
实现方式一、AP根据第一基带信号的相位和第二基带信号的相位的相位差,确定第一增益器件处于待测档位时的单器件相位补偿值。Implementation mode 1: The AP determines the single-device phase compensation value when the first gain device is in the gear to be measured according to the phase difference between the phase of the first baseband signal and the phase of the second baseband signal.
实现方式二、AP根据第一基带信号的相位和原始基带信号的相位,确定第一增益器件在待测档位时第一射频链路处理射频信号导致的第一相位差;AP根据第一相位差和预设相位差之间的差值,确定第一增益器件处于待测档位时的单器件相位补偿值。其中,预设相位差是根据第二基带信号的相位和原始基带信号的相位,预先确定的第一增益器件在预设档位时第一射频链路处理射频信号导致的相位差。Implementation mode 2. The AP determines the first phase difference caused by the first radio frequency link processing the radio frequency signal when the first gain device is in the gear to be tested according to the phase of the first baseband signal and the phase of the original baseband signal; the AP determines the first phase difference according to the first phase The difference between the difference and the preset phase difference determines the single-device phase compensation value when the first gain device is in the gear to be measured. The preset phase difference is a phase difference caused by the first radio frequency link processing the radio frequency signal when the first gain device is in the preset gear according to the phase of the second baseband signal and the phase of the original baseband signal.
进一步的,第一增益器件可以包括多个器件档位,也即AP可以针对第一增益器件进行多次相位校准,比如,第一增益器件包括8个器件档位,其中,器件档位0为预设档位,则AP可以针对第一增益器件进行7次相位校准。为了提高相位校准效率,AP可以将第一增益器件处于器件档位0(第一射频链路处于第二状态)时得到的第二基带信号,分别用于第一增益器件处于器件档位1至器件档位7(第一射频链路处于第一状态)的任一次相位校准中。Further, the first gain device may include multiple device gears, that is, the AP may perform multiple phase calibrations on the first gain device. For example, the first gain device includes 8 device gears, where the device gear 0 is With the preset gear, the AP can perform 7 phase calibrations for the first gain device. In order to improve the phase calibration efficiency, the AP can use the second baseband signal obtained when the first gain device is in device gear 0 (the first radio frequency link is in the second state) to be used for the first gain device in device gears 1 to 1, respectively. During any phase calibration of device gear 7 (the first RF link is in the first state).
在上述实现方式一中,AP将第二基带信号的相位预先存储至AP的存储模块中,从而AP可以根据第一基带信号的相位和预先存储的第二基带信号的相位,确定第一增益器件处于各器件档位时的单器件相位补偿值。在上述实现方式二中,AP将预设相位差预先存储至AP的存储模块中,从而AP可以根据第一相位差和预先存储的预设相位差之间的差值,确定第一增益器件处于各器件档位时的单器件相位补偿值。In the above implementation mode 1, the AP stores the phase of the second baseband signal in the storage module of the AP in advance, so that the AP can determine the first gain device according to the phase of the first baseband signal and the pre-stored phase of the second baseband signal Single device phase compensation value when in each device gear. In the above-mentioned implementation mode 2, the AP pre-stores the preset phase difference in the storage module of the AP, so that the AP can determine that the first gain device is in the Single device phase compensation value for each device gear.
AP在确定出第一增益器件处于待测档位时的单器件相位补偿值之后,可以将该单器件相位补偿值记录在相位补偿表中。该相位补偿表中记录有射频链路中各增益器件处于各自器件档位时的单器件相位补偿值。After the AP determines the single-device phase compensation value when the first gain device is in the gear to be measured, the single-device phase compensation value may be recorded in the phase compensation table. The phase compensation table records the single-device phase compensation values when each gain device in the radio frequency chain is in its own device gear.
示例性的,射频链路中增益器件包括eLNA、iLNA、VGA,其中,eLNA有2个eLNA档位,iLNA有8个iLNA档位,VGA有32个VGA档位,设置eLNA、iLNA和VGA的预设档位分别为eLNA档位0、iLNA档位0和VGA档位0。Exemplarily, the gain devices in the radio frequency chain include eLNA, iLNA, and VGA, wherein the eLNA has 2 eLNA gears, the iLNA has 8 iLNA gears, and the VGA has 32 VGA gears. The preset gears are eLNA gear 0, iLNA gear 0 and VGA gear 0 respectively.
AP确定eLNA处于eLNA档位1时的单器件相位补偿值;iLNA分别处于iLNA档位1、……、iLNA档位6、iLNA档位7时的单器件相位补偿值;VGA分别处于VGA档位1、……、VGA档位30、VGA档位31时的单器件相位补偿值;最终得到如图6所示的相位补偿表。需要说明的是,AP确定增益器件的单器件相位补偿值时,具体是AP以增益器件的预设档位为基准,确定增益器件在各器件档位时产生的相位跳变相比于增益器件在预设档位时产生的相位跳变之间的相位差。应理解,AP无需确定增益器件处于预设档位时的单器件相位补偿值,但也可以理解,AP确定增益器件在预设档位上的单器件相位补偿值为0。The AP determines the single-device phase compensation value when the eLNA is in eLNA gear 1; the single-device phase compensation value when the iLNA is in iLNA gear 1, ..., iLNA gear 6, and iLNA gear 7 respectively; VGA is in VGA gear respectively 1. The phase compensation value of a single device when the VGA gear is 30 and the VGA gear is 31; the phase compensation table shown in Figure 6 is finally obtained. It should be noted that when the AP determines the single-device phase compensation value of the gain device, the AP uses the preset gear position of the gain device as the benchmark to determine the phase jump generated by the gain device in each device gear position. The phase difference between the phase jumps produced when the gear is preset. It should be understood that the AP does not need to determine the single-device phase compensation value when the gain device is in the preset gear, but it can also be understood that the AP determines the single-device phase compensation value of the gain device at the preset gear to be 0.
如图6中,AP确定eLNA处于eLNA档位0时的单器件相位补偿值为0;AP确定iLNA处于iLNA档位0时的单器件相位补偿值为0;AP确定VGA处于VGA档位0时的单器件相位补偿值为0。As shown in Figure 6, the AP determines that the single-device phase compensation value is 0 when the eLNA is in the eLNA gear 0; the AP determines that the single-device phase compensation value is 0 when the iLNA is in the iLNA gear 0; AP determines that the VGA is in the VGA gear 0. The single-device phase compensation value of 0 is 0.
结合图6说明,AP针对每个增益器件确定其处于各器件档位时的单器件相位补偿值(包括AP确定各增益器件处于各自预设档位时的单器件相位补偿值)时,AP针对eLNA进行2次相位校准,AP针对iLNA进行8次相位校准,AP针对VGA进行32次相位校准,则AP共进行42次相位校准,且生成42个单器件相位补偿值。而若AP针对每个射频链路确定其处于各链路档位时的链路相位补偿值时,由于射频链路共有512(2×8×32=512)个链路档位,则AP需要进行512次相位校准,且生成512个射频链路的相位补偿值。6 , when the AP determines the single-device phase compensation value for each gain device when it is in each device gear (including the AP's determination of the single-device phase compensation value when each gain device is in its respective preset gear), the AP determines The eLNA performs 2 phase calibrations, the AP performs 8 phase calibrations for the iLNA, and the AP performs 32 phase calibrations for the VGA, so the AP performs a total of 42 phase calibrations and generates 42 single-device phase compensation values. However, if the AP determines the link phase compensation value for each radio link when it is in each link gear, since the radio link has a total of 512 (2×8×32=512) link gears, the AP needs to 512 phase calibrations are performed and 512 phase compensation values for the radio frequency chain are generated.
由此可知,上述相位校准方法中,AP针对每个增益器件确定其处于各器件档位时的单器件相位补偿值,生成的相位补偿表也是针对每个增益器件的每个器件档位,通过该方式可以降低AP的计算复杂度和AP中相位补偿表的存储大小。It can be seen that in the above phase calibration method, the AP determines the single-device phase compensation value for each gain device when it is in each device gear, and the generated phase compensation table is also for each device gear of each gain device. This method can reduce the computational complexity of the AP and the storage size of the phase compensation table in the AP.
第一射频信号和第二射频信号可以理解成AP进行相位校准中的校准信号。如图7示例性的示出本申请提供的一种校准信号的格式,该校准信号中包括WLAN传统字段(Legacy字段)和多个相同的LTF,其中,WLAN传统字段为HE SU帧格式,各LTF采用峰值平均功率比(peak to average power ratio,PAPR)较好的LTF生成,且为时域上相同的正交频分复用(orthogonal frequency division multiplexing,OFDM)符号。通过该方式,AP基于多个相同的LTF进行多符号叠加,提高信噪比。The first radio frequency signal and the second radio frequency signal may be understood as calibration signals in the phase calibration performed by the AP. FIG. 7 exemplarily shows the format of a calibration signal provided by the present application. The calibration signal includes a WLAN legacy field (Legacy field) and multiple identical LTFs, wherein the WLAN legacy field is an HE SU frame format, and each The LTF is generated by using an LTF with a better peak to average power ratio (PAPR), and is the same orthogonal frequency division multiplexing (OFDM) symbol in the time domain. In this way, the AP performs multi-symbol superposition based on multiple identical LTFs to improve the signal-to-noise ratio.
需要说明的是,由于AP中多个射频链路为同批次产品,也即每个射频链路中相同类型的增益器件为同批次产品,不同射频链路中相同类型的增益器件处于各器件档位时对应的单器件相位补偿值几乎相同,所以,为了提高相位校准效率,可以是针对任一个射频链路,确定该射频链路中每个增益器件处于各器件档位时的单器件相位补偿值,并将其用于其他射频链路中。It should be noted that, since multiple RF links in the AP are products of the same batch, that is, the gain devices of the same type in each RF link are products of the same batch, the gain devices of the same type in different RF links are in different locations. The corresponding single-device phase compensation values in the device gears are almost the same. Therefore, in order to improve the phase calibration efficiency, it is possible to determine the single device of each gain device in the RF link when it is in each device gear for any RF link. phase compensation value and use it in other RF chains.
比如图3中,AP包括4个射频链路,每个射频链路包括eLNA、iLNA和VGA三个增益器件,AP确定射频链路0中eLNA处于各eLNA档位时的单器件相位补偿值、iLNA处于各iLNA档位时的单器件相位补偿值和VGA处于各VGA档位时的单器件相位补偿值,并将这些单器件相位补偿值应用于射频链路1、射频链路2和射频链路3中。For example, in Figure 3, the AP includes four radio frequency links, and each radio frequency link includes three gain devices: eLNA, iLNA, and VGA. The single-device phase compensation value of the iLNA in each iLNA gear and the single-device phase compensation value of the VGA when the VGA is in each VGA gear, and apply these single-device phase compensation values to RF link 1, RF link 2, and RF link Road 3.
结合如图3示出的AP中射频链路的结构示意图,下面提供一种确定单器件相位补偿值的实现方式。With reference to the schematic structural diagram of the radio frequency link in the AP shown in FIG. 3 , an implementation manner for determining the phase compensation value of a single device is provided below.
第一射频链路可以是4个射频链路中任一个,第二射频链路可以是4个射频链路中除第一射频链路以外的其它射频链路。第一射频链路中增益器件包括eLNA、iLNA和VGA,其中,eLNA有2个eLNA档位,iLNA有8个iLNA档位,VGA有32个VGA档位。The first radio frequency link may be any one of the four radio frequency links, and the second radio frequency link may be another radio frequency link except the first radio frequency link among the four radio frequency links. The gain devices in the first radio frequency chain include eLNA, iLNA, and VGA, wherein the eLNA has 2 eLNA gears, the iLNA has 8 iLNA gears, and the VGA has 32 VGA gears.
以第一增益器件为iLNA为例说明。It is illustrated by taking the first gain device as an iLNA as an example.
假设eLNA、iLNA和VGA的预设档位分别为eLNA档位0、iLNA档位0和VGA档位0。如下,确定iLNA处于各iLNA档位时的单器件相位补偿值。Assume that the default gears of eLNA, iLNA and VGA are eLNA gear 0, iLNA gear 0 and VGA gear 0 respectively. As follows, determine the single-device phase compensation value when the iLNA is in each iLNA gear.
AP广播控制信号(比如,CTS to SELF),该控制信号用于抢占空口信道,从而AP可以通过第二射频链路向第一射频链路发送第一射频信号或第二射频信号。The AP broadcasts a control signal (for example, CTS to SELF), and the control signal is used to preempt an air interface channel, so that the AP can send the first radio frequency signal or the second radio frequency signal to the first radio frequency link through the second radio frequency link.
AP设定第一射频链路处于第二状态,也即,设定eLNA、iLNA和VGA分别处于eLNA档位0、iLNA档位0和VGA档位0。AP生成原始基带信号,将原始基带信号经第二射频链路输出为第二射频信号,AP经空口信道将第二射频信号发射至第一射频链路,第一射频链路处理该第二射频信号得到第二基带信号。The AP sets the first radio frequency link to be in the second state, that is, sets the eLNA, iLNA, and VGA to be in eLNA gear 0, iLNA gear 0, and VGA gear 0, respectively. The AP generates the original baseband signal, outputs the original baseband signal as the second radio frequency signal through the second radio frequency link, the AP transmits the second radio frequency signal to the first radio frequency link through the air interface channel, and the first radio frequency link processes the second radio frequency The signal results in a second baseband signal.
AP确定iLNA处于iLNA档位1时的单器件相位补偿值。具体的,AP设定第一射频链路处于第一状态,也即,设定eLNA、iLNA和VGA分别处于eLNA档位0、iLNA档位1和VGA档位0。AP生成原始基带信号,将原始基带信号经第二射频链路输出为第一射频信号,AP经空口信道将第一射频信号发射至第一射频链路,第一射频链路处理该第一射频信号得到第一基带信号。AP根据第一基带信号的相位和第二基带信号的相位,确定iLNA处于iLNA档位1时的单器件相位补偿值(iLNA单器件相位补偿值1)。The AP determines the single-device phase compensation value when the iLNA is in iLNA gear 1. Specifically, the AP sets the first radio frequency link to be in the first state, that is, sets the eLNA, iLNA, and VGA to be in eLNA gear 0, iLNA gear 1, and VGA gear 0, respectively. The AP generates the original baseband signal, outputs the original baseband signal as the first radio frequency signal through the second radio frequency link, the AP transmits the first radio frequency signal to the first radio frequency link through the air interface channel, and the first radio frequency link processes the first radio frequency The signal obtains a first baseband signal. The AP determines a single-device phase compensation value (iLNA single-device phase compensation value 1) when the iLNA is in iLNA gear 1 according to the phase of the first baseband signal and the phase of the second baseband signal.
AP确定iLNA处于iLNA档位2时的单器件相位补偿值。具体的,AP设定第一射频链路处于第一状态,也即,设定eLNA、iLNA和VGA分别处于eLNA档位0、iLNA档位2和VGA档位0。AP生成原始基带信号,原始基带信号经第二射频链路输出为第一射频信号,AP经空口信道将第一射频信号发射至第一射频链路,第一射频链路处理该第一射频信号得到第一基带信号。AP根据第一基带信号的相位和第二基带信号的相位,确定iLNA处于iLNA档位2时的单器件相位补偿值(iLNA单器件相位补偿值2)。The AP determines the single-device phase compensation value when the iLNA is in iLNA gear 2. Specifically, the AP sets the first radio link to be in the first state, that is, sets the eLNA, iLNA, and VGA to be in eLNA gear 0, iLNA gear 2, and VGA gear 0, respectively. The AP generates the original baseband signal, the original baseband signal is output as the first radio frequency signal through the second radio frequency link, the AP transmits the first radio frequency signal to the first radio frequency link through the air interface channel, and the first radio frequency link processes the first radio frequency signal A first baseband signal is obtained. The AP determines a single-device phase compensation value (iLNA single-device phase compensation value 2) when the iLNA is in iLNA gear 2 according to the phase of the first baseband signal and the phase of the second baseband signal.
AP确定iLNA处于iLNA档位3至iLNA档位7时的单器件相位补偿值,与上述AP确定iLNA处于iLNA档位1或iLNA档位2时的单器件相位补偿值类似,不再赘述。The single-device phase compensation value determined by the AP when the iLNA is in iLNA gear 3 to iLNA gear 7 is similar to the single-device phase compensation value determined by the AP when the iLNA is in iLNA gear 1 or iLNA gear 2, and will not be repeated.
此外,第一增益器件为eLNA时,AP确定eLNA处于各eLNA档位时的单器件相位补偿值,与上述AP确定iLNA处于各iLNA档位时的单器件相位补偿值类似;第一增益器件为VGA时,AP确定VGA处于各VGA档位时的单器件相位补偿值,与上述AP确定iLNA处于各iLNA档位时的单器件相位补偿值类似;不再赘述。In addition, when the first gain device is an eLNA, the AP determines the single-device phase compensation value when the eLNA is in each eLNA gear, which is similar to the single-device phase compensation value determined by the AP when the iLNA is in each iLNA gear; the first gain device is In the case of VGA, the AP determines the single-device phase compensation value when the VGA is in each VGA gear, which is similar to the single-device phase compensation value determined by the AP when the iLNA is in each iLNA gear;
如上,即可以得到如图6所示的相位补偿表。As above, the phase compensation table shown in FIG. 6 can be obtained.
本申请实施例中,可以根据AP互易性校准时的固定链路档位,确定各增益器件的预设档位。比如图4中,AP互易性校准时的固定链路档位为链路档位A,则将链路档位A对应的eLNA档位0、iLNA档位1和VGA档位1分别确定为eLNA、iLNA和VGA的预设档位。In the embodiment of the present application, the preset gear of each gain device may be determined according to the fixed link gear during AP reciprocity calibration. For example, in Figure 4, the fixed link gear during AP reciprocity calibration is link gear A, then the eLNA gear 0, iLNA gear 1 and VGA gear 1 corresponding to link gear A are respectively determined as Default gears for eLNA, iLNA and VGA.
需要说明的是,AP在不同环境下进行互易性校准时,AP所采用的固定链路档位可能不同,比如,在环境1中AP采用链路档位A作为固定链路档位,而在环境2中AP采用链路档位C作为固定链路档位。因此,可暂不考虑AP互易性校准时的固定链路档位,而根据实际情况确定AP中各增益器件的预设档位,示例性的,直接将eLNA档位0、iLNA档位0和VGA档位0分别确定为eLNA、iLNA和VGA的预设档位。It should be noted that when the AP performs reciprocity calibration in different environments, the fixed link gear used by the AP may be different. For example, in environment 1, the AP uses link gear A as the fixed link gear, while In environment 2, the AP adopts link gear C as the fixed link gear. Therefore, the fixed link gear during AP reciprocity calibration can be temporarily ignored, and the preset gears of each gain device in the AP can be determined according to the actual situation. For example, eLNA gear 0 and iLNA gear 0 are directly and VGA gear 0 are determined as the preset gears of eLNA, iLNA and VGA respectively.
此处,应理解AP有两种设定方式,设定方式1为根据AP互易性校准时的固定链路档位确定各增益器件的预设档位,设定方式2为根据实际情况确定各增益器件的预设档位。由于二者设定的各增益器件的预设档位不同,则二者确定出的各增益器件的单器件相位补偿值也不同。所以,AP在进行相位补偿时的补偿方式存在差异,该差异可参照下述AP进行相位补偿的实施例。Here, it should be understood that the AP has two setting methods. Setting method 1 is to determine the preset gear of each gain device according to the fixed link gear during AP reciprocity calibration, and setting method 2 is to determine according to the actual situation. Preset gears of each gain device. Since the preset gears of the gain devices set by the two are different, the single-device phase compensation values of the gain devices determined by the two are also different. Therefore, there are differences in the compensation manners when the APs perform phase compensation, and for the differences, refer to the following embodiments of the APs performing phase compensation.
由上述实施例可知,增益器件在不同器件档位上的单器件相位补偿值不同,相当于,增益器件的单器件相位补偿值是该增益器件所在器件档位的函数。进一步的,本申请实施例为提高增益器件在不同器件档位上的单器件相位补偿值的精确度,考虑增益器件的工作信道频点对增益器件的单器件相位补偿值的影响,也即,在一种可选的实现方式中,将增益器件所在器件档位和工作信道频点作为变量,增益器件的单器件相位补偿值是该变量的函数。It can be seen from the above embodiments that the single-device phase compensation value of the gain device in different device gears is different, which is equivalent to that the single-device phase compensation value of the gain device is a function of the device gear of the gain device. Further, in order to improve the accuracy of the single-device phase compensation value of the gain device in different device gears, the embodiment of the present application considers the influence of the working channel frequency of the gain device on the single-device phase compensation value of the gain device, that is, In an optional implementation manner, the device gear position of the gain device and the frequency point of the working channel are used as variables, and the single-device phase compensation value of the gain device is a function of the variables.
AP针对每个频点设定对应的相位补偿表。也就是说,AP在进行相位校准时,针对工作信道的特定频点,确定射频链路中各增益器件在各器件档位上的单器件相位补偿值,并将得到的单器件相位补偿值记录在特定频点对应的相位补偿表中。AP可以将多个相位补偿表静态存储。The AP sets a corresponding phase compensation table for each frequency point. That is to say, when the AP performs phase calibration, for the specific frequency point of the working channel, it determines the phase compensation value of each gain device in each device gear in the RF link, and records the obtained phase compensation value of the single device. In the phase compensation table corresponding to a specific frequency point. The AP can statically store multiple phase compensation tables.
示例性的,AP中存储的相位补偿表和频点的对应关系可以如图8所示。频点用于指示一个频段,比如,频点fc1用于指示频段(fc1-Δf1,fc1+Δf1),其中,频点fc1为频段(fc1-Δf1,fc1+Δf1)的中心频点。各频点取值可以根据经验确定,此处不限定。Exemplarily, the correspondence between the phase compensation table and the frequency points stored in the AP may be as shown in FIG. 8 . The frequency point is used to indicate a frequency band, for example, the frequency point f c1 is used to indicate the frequency band (f c1 -Δf 1 , f c1 +Δf 1 ), wherein the frequency point f c1 is the frequency band (f c1 -Δf 1 , f c1 + Δf 1 ) center frequency. The value of each frequency point can be determined according to experience, which is not limited here.
进一步的,上述影响AP中单器件相位补偿值的变量还可以包括温度,也即AP所在环境的温度。在另一种可选的实现方式中,将增益器件所在器件档位、工作信道频点和温度作为变量,增益器件的单器件相位补偿值是该变量的函数。Further, the above-mentioned variable that affects the phase compensation value of the single device in the AP may also include temperature, that is, the temperature of the environment where the AP is located. In another optional implementation manner, the device gear position of the gain device, the frequency point of the working channel, and the temperature are used as variables, and the single-device phase compensation value of the gain device is a function of the variables.
AP针对每个频点、每个温度设定对应的相位补偿表。也就是说,AP在进行相位校准时,针对工作信道的特定频点、特定温度,确定射频链路中各增益器件在各器件档位上的单器件相位补偿值,并将得到的单器件相位补偿值记录在特定频点、特定温度对应的相位补偿表中。AP可以将多个相位补偿表静态存储。The AP sets the corresponding phase compensation table for each frequency point and each temperature. That is to say, when the AP performs phase calibration, according to the specific frequency point and specific temperature of the working channel, it determines the single-device phase compensation value of each gain device in the RF link in each device gear, and calculates the obtained single-device phase compensation value. The compensation value is recorded in the phase compensation table corresponding to a specific frequency point and a specific temperature. The AP can statically store multiple phase compensation tables.
温度用于指示一个温度区间,比如,温度T1用于指示温度区间(T1-ΔT1,T1+ΔT1)。频点用于指示一个频段,比如,频点fc1用于指示频段(fc1-Δf1,fc1+Δf1),其中,频点fc1为频段(fc1-Δf1,fc1+Δf1)的中心频点。各频点取值、各温度取值可以根据经验确定,此处不限定。The temperature is used to indicate a temperature interval, for example, the temperature T 1 is used to indicate a temperature interval (T 1 −ΔT 1 , T 1 +ΔT 1 ). The frequency point is used to indicate a frequency band, for example, the frequency point f c1 is used to indicate the frequency band (f c1 -Δf 1 , f c1 +Δf 1 ), wherein the frequency point f c1 is the frequency band (f c1 -Δf 1 , f c1 + Δf 1 ) center frequency. The value of each frequency point and the value of each temperature can be determined according to experience, which is not limited here.
此外,需要说明的是,在任一个频点对应的相位补偿表或任一个频点和温度对应的相位补偿表中,增益器件在器件档位上的单器件相位补偿值表征该增益器件在该器件档位上针对中心频点的相位补偿值。假设,相位补偿表fc1-T1如图6所示,则图6中eLNA单器件相位补偿值1是eLNA在eLNA档位1上,针对中心频点fc1的相位补偿值。进一步的,由上述公式(4)可知,指示射频时延导致信号的初始相位跳变,也即,对信号在中心频点fc的相位补偿值可以理解成信号的初始相位补偿值。In addition, it should be noted that in the phase compensation table corresponding to any frequency point or the phase compensation table corresponding to any frequency point and temperature, the single-device phase compensation value of the gain device in the device gear indicates that the gain device is in the device. The phase compensation value for the center frequency point on the gear. Assuming that the phase compensation table f c1 -T 1 is shown in FIG. 6 , the phase compensation value 1 of the eLNA single device in FIG. 6 is the phase compensation value of the eLNA at the eLNA gear 1 for the center frequency point f c1 . Further, it can be seen from the above formula (4) that, It indicates that the radio frequency delay causes the initial phase jump of the signal, that is, the phase compensation value of the signal at the center frequency point f c can be understood as the initial phase compensation value of the signal.
基于上述技术方案,AP根据第一基带信号和第二基带信号,确定增益器件处于待测档位相比于该增益器件处于预设档位所产生的相位跳变,进而确定增益器件处于待测档位时的单器件相位补偿值。该单器件相位补偿值可用于调整上行等效信道矩阵,从而预测出精确度较高的下行等效信道矩阵,解决由于互易性校准时采用的固定链路档位和接收射频信号时自动调节的链路档位之间的差异导致的相位跳变问题。Based on the above technical solution, the AP determines, according to the first baseband signal and the second baseband signal, that the gain device is in the gear to be measured compared with the phase jump caused by the gain device being in the preset gear, and then determines that the gain device is in the gear to be measured. Single device phase compensation value in gear. The single-device phase compensation value can be used to adjust the uplink equivalent channel matrix, so as to predict the downlink equivalent channel matrix with higher accuracy, and solve the problem of fixed link gear used in reciprocity calibration and automatic adjustment when receiving RF signals. The phase jump problem caused by the difference between the link gears.
上面,已详细描述AP进行相位校准的实现方式,AP可以基于上述相位校准中得到的各增益器件的单器件相位补偿值,对STA至AP的上行等效信道矩阵进行调整。The implementation of the phase calibration by the AP has been described in detail above. The AP can adjust the uplink equivalent channel matrix from the STA to the AP based on the single-device phase compensation value of each gain device obtained in the above phase calibration.
如图10为本申请实施例提供的一种相位补偿方法的流程的示意图,有如下流程。FIG. 10 is a schematic diagram of a flow of a phase compensation method provided by an embodiment of the present application, and the flow is as follows.
步骤1001,AP通过多个射频链路接收来自STA的射频信号。
AP包括多个射频链路,AP通过各射频链路接收来自STA的射频信号时,AP根据各射频链路接收的射频信号的信号功率,将各射频链路调节至对应的链路档位上。AP可以调节各射频链路处于相同的链路档位接收该射频信号,也可以调节各射频链路处于不同的链路档位接收该射频信号。The AP includes multiple radio frequency links. When the AP receives the radio frequency signal from the STA through each radio frequency link, the AP adjusts each radio frequency link to the corresponding link gear according to the signal power of the radio frequency signal received by each radio frequency link. . The AP can adjust each radio frequency link to be in the same link gear to receive the radio frequency signal, or can adjust each radio frequency link to be in a different link gear to receive the radio frequency signal.
每个射频链路中包括至少两个增益器件,每个射频链路的链路档位对应该射频链路中各增益器件的接收档位。图11示例性示出链路档位对应的各增益器件的器件档位,该射频链路中增益器件包括eLNA、iLNA和VGA,示例性的,链路档位A对应eLNA档位0、iLNA档位1和VGA档位1;链路档位B对应eLNA档位1、iLNA档位2、VGA档位4。Each radio frequency chain includes at least two gain devices, and the link gear of each radio frequency chain corresponds to the receive gear of each gain device in the radio frequency chain. FIG. 11 exemplarily shows the device gear positions of each gain device corresponding to the link gear position. The gain devices in the radio frequency link include eLNA, iLNA and VGA. Exemplarily, link gear position A corresponds to eLNA gear position 0 and iLNA Gear 1 and VGA gear 1; link gear B corresponds to eLNA gear 1, iLNA gear 2, and VGA gear 4.
步骤1002,AP测量射频信号并根据多个相位补偿值,得到AP到STA的信道的下行等效信道矩阵。
步骤1002具体可参照如图12示出的流程图,可以有如下步骤:
步骤1201,AP测量射频信号得到STA至AP的信道的上行等效信道矩阵。
其中,STA到AP的信道的上行等效信道矩阵包括多个行向量,多个行向量和多个射频链路的关系为一一对应,且多个射频链路中每个射频链路对应相位补偿值,每个射频链路对应的相位补偿值用于调整该射频链路对应的行向量。The uplink equivalent channel matrix of the channel from the STA to the AP includes multiple row vectors, the relationship between the multiple row vectors and the multiple radio frequency links is one-to-one correspondence, and each radio frequency link in the multiple radio frequency links corresponds to a phase Compensation value, the phase compensation value corresponding to each radio frequency chain is used to adjust the row vector corresponding to the radio frequency chain.
步骤1202,AP确定各射频链路的相位补偿值,并根据各射频链路的相位补偿值调整上行等效信道矩阵中各射频链路对应的行向量。
示例性的,AP通过N个射频链路接收射频信号,AP测量射频信号得到STA至AP的信道的上行等效信道矩阵为H,H可参照公式(5)。Exemplarily, the AP receives radio frequency signals through N radio frequency links, and the AP measures the radio frequency signals to obtain the uplink equivalent channel matrix of the channel from the STA to the AP is H, and formula (5) can be referred to for H.
AP确定N个射频链路的相位补偿值分别为相位补偿值1、……、相位补偿值N,则根据相位补偿值1、……、相位补偿值N调整上行等效信道矩阵H,得到调整后的H′,H′可参照公式(6)。The AP determines that the phase compensation values of the N radio links are the phase compensation values 1, . The following H', H' can refer to formula (6).
在步骤1202中,AP在确定各射频链路的相位补偿值时,可以是根据各射频链路中各增益器件的单器件相位补偿值确定。In
以其中任一个射频链路为例,AP确定该射频链路的中各增益器件的接收档位,并根据各增益器件的接收档位,从相位补偿表中确定各增益器件处于各自接收档位时的单器件相位补偿值;将各增益器件的单器件相位补偿值之和,确定为该射频链路的相位补偿值。Taking any one of the RF links as an example, the AP determines the receiving gear of each gain device in the RF link, and determines from the phase compensation table that each gain device is in its own receiving gear according to the receiving gear of each gain device. The single-device phase compensation value at the time; the sum of the single-device phase compensation values of each gain device is determined as the phase compensation value of the radio frequency link.
结合上述图6举例,假设图6为AP的相位补偿表,eLNA的单器件相位补偿值为eLNA单器件相位补偿值1,iLNA的单器件相位补偿值为iLNA单器件相位补偿值2,VGA的单器件相位补偿值为VGA单器件相位补偿值4,则确定射频链路的相位补偿值为eLNA单器件相位补偿值1、iLNA单器件相位补偿值2和VGA单器件相位补偿值4之和。Combining the above example in Figure 6, assuming Figure 6 is the phase compensation table of the AP, the single-device phase compensation value of the eLNA is the eLNA single-device phase compensation value of 1, the single-device phase compensation value of the iLNA is the iLNA single-device phase compensation value of 2, and the VGA The single-device phase compensation value is the VGA single-device phase compensation value of 4, and the phase compensation value of the RF link is determined to be the sum of the eLNA single-device phase compensation value of 1, the iLNA single-device phase compensation value of 2, and the VGA single-device phase compensation value of 4.
在实际应用中,单器件相位补偿值可以是在频域上表示为其中,为增益器件在预设档位上的相位,为增益器件在测试档位上的相位。上述例子中,比如,eLNA的单器件相位补偿值为iLNA的单器件相位补偿值为VGA的单器件相位补偿值为则确定射频链路的相位补偿值为和之和,如公式(7)所示。In practical applications, the single-device phase compensation value can be expressed in the frequency domain as in, is the phase of the gain device at the preset gear, is the phase of the gain device in the test gear. In the above example, for example, the single-device phase compensation value of the eLNA is The single-device phase compensation value of the iLNA is The single-device phase compensation value of VGA is Then determine the phase compensation value of the RF link for and Sum, As shown in formula (7).
需要说明的是,上述例子中增益器件的单器件相位补偿值可以是指该增益器件在预设档位上导致的相位差和在接收档位上导致的相位差之间的差值,也即,AP在确定单器件相位补偿值时,实质上是以AP进行相位校准时的预设档位作为基准。It should be noted that the single-device phase compensation value of the gain device in the above example may refer to the difference between the phase difference caused by the gain device in the preset gear and the phase difference caused by the receiving gear, that is, , when the AP determines the phase compensation value of a single device, it essentially uses the preset gear when the AP performs phase calibration as a reference.
AP进行相位校准时有两种预设档位的设定方式(参照上述设定方式1和设定方式2),AP根据不同设定方式得到的相位补偿表进行相位补偿时,存在差异如下:When AP performs phase calibration, there are two preset gear setting methods (refer to the above setting method 1 and setting method 2). When AP performs phase compensation according to the phase compensation table obtained by different setting methods, the differences are as follows:
在设定方式1中,预设档位为AP互易性校准时的固定链路档位对应的各增益器件的器件档位,AP可以从相位补偿表中确定射频链路中各增益器件的单器件相位补偿值,进而确定射频链路的相位补偿值。In setting mode 1, the preset gear is the device gear of each gain device corresponding to the fixed link gear during AP reciprocity calibration, and the AP can determine the gain device of each gain device in the RF link from the phase compensation table Single device phase compensation value, and then determine the phase compensation value of the RF link.
在设定方式2中,预设档位为根据实际经验确定的各增益器件的器件档位,此时,各增益器件的预设档位不一定与AP互易性校准时的器件档位完全一致,AP从相位补偿表中确定射频链路中各增益器件的单器件相位补偿值之后,需要根据各增益器件的预设档位和在AP互易性校准时的器件档位,调整各增益器件的单器件相位补偿值,进而确定射频链路的相位补偿值。In setting mode 2, the preset gear is the device gear of each gain device determined according to actual experience. At this time, the preset gear of each gain device is not necessarily the same as the device gear during AP reciprocity calibration. Consistent, after the AP determines the single-device phase compensation value of each gain device in the RF link from the phase compensation table, it needs to adjust each gain according to the preset gear position of each gain device and the device gear position during AP reciprocity calibration The single-device phase compensation value of the device, which in turn determines the phase compensation value of the RF link.
此外,由上述相位校准过程可知,增益器件的单器件相位补偿值受变量的影响。In addition, it can be known from the above phase calibration process that the single-device phase compensation value of the gain device is affected by variables.
一种实现方式中,变量包括增益器件的工作信道频点和接收档位;且AP中存储有多个相位补偿表,每个相位补偿表对应有特定频点。AP在确定各增益器件处于各自接收档位时的单器件相位补偿值之前,可以获取增益器件的工作信道频点对应的相位补偿表,并从该工作信道频点对应的相位补偿表中,确定各增益器件处于各自接收档位时的单器件相位补偿值。In an implementation manner, the variables include the working channel frequency and the receiving gear of the gain device; and multiple phase compensation tables are stored in the AP, and each phase compensation table corresponds to a specific frequency. Before the AP determines the single-device phase compensation value of each gain device in its respective receiving gear, it can obtain the phase compensation table corresponding to the working channel frequency of the gain device, and determine the phase compensation table corresponding to the working channel frequency from the phase compensation table. The single-device phase compensation value of each gain device in its respective receive gear.
结合如图8举例,当AP的工作信道频点位于频段(fc1-Δf1,fc1+Δf1)中,则AP获取相位补偿表fc1;当AP的工作信道频点位于频段(fc2-Δf2,fc2+Δf2)中,则AP获取相位补偿表fc2。8, when the working channel frequency of the AP is located in the frequency band (f c1 -Δf 1 , f c1 +Δf 1 ), the AP obtains the phase compensation table f c1 ; when the working channel frequency of the AP is located in the frequency band (f c1 +Δf 1 ) c2 −Δf 2 , f c2 +Δf 2 ), the AP obtains the phase compensation table f c2 .
另一种实现方式中,变量包括增益器件的工作信道频点、温度和接收档位;且AP中存储有多个相位补偿表,每个相位补偿表对应有特定频点和特定温度。AP在确定各增益器件处于各自接收档位时的单器件相位补偿值之前,可以获取增益器件所在温度和工作信道频点对应的相位补偿表,并从当前温度和工作信道频点对应的相位补偿表中确定各增益器件处于各自接收档位时的单器件相位补偿值。In another implementation, the variables include the working channel frequency, temperature, and receiving gear of the gain device; and multiple phase compensation tables are stored in the AP, and each phase compensation table corresponds to a specific frequency point and a specific temperature. Before determining the phase compensation value of each gain device when each gain device is in its respective receiving gear, the AP can obtain the phase compensation table corresponding to the temperature of the gain device and the frequency of the working channel, and obtain the phase compensation table corresponding to the current temperature and the frequency of the working channel. The table determines the single-device phase compensation value when each gain device is in its respective receive gear.
结合如图9举例,当AP所在环境的温度在温度区间(T1-ΔT1,T1+ΔT1)中,工作信道频点位于频段(fc1-Δf1,fc1+Δf1)中,则AP获取相位补偿表fc1-T1;当AP所在环境的温度在温度区间(T2-ΔT2,T2+ΔT2)中,工作信道频点位于频段(fc2-Δf2,fc2+Δf2)中,则AP获取相位补偿表fc2-T2。Referring to the example in Figure 9, when the temperature of the environment where the AP is located is in the temperature range (T 1 -ΔT 1 , T 1 +ΔT 1 ), the frequency of the working channel is in the frequency band (fc 1 -Δf 1 , fc 1 +Δf 1 ) , the AP obtains the phase compensation table fc 1 -T 1 ; when the temperature of the environment where the AP is located is in the temperature range (T 2 -ΔT 2 , T 2 +ΔT 2 ), the working channel frequency is located in the frequency band (fc 2 -Δf 2 , fc 2 +Δf 2 ), the AP obtains the phase compensation table fc 2 -T 2 .
该方法充分考虑增益器件的接收档位、温度、工作信道频点对单器件相位补偿值的影响,提高增益器件的单器件相位补偿值的精确度,进而提高射频链路的相位补偿值的精确度,相当于提高AP确定下行等效信道矩阵的精确度。The method fully considers the influence of the receiving gear, temperature and working channel frequency of the gain device on the phase compensation value of the single device, improves the accuracy of the single device phase compensation value of the gain device, and further improves the accuracy of the phase compensation value of the radio frequency link. degree, which is equivalent to improving the accuracy of the AP's determination of the downlink equivalent channel matrix.
进一步的,相位补偿表中增益器件在器件档位上的单器件相位补偿值,可以理解为增益器件在该器件档位上,针对信号在中心频点的相位补偿值。所以,AP根据相位补偿表确定出的射频链路的相位补偿值同样是针对信号在中心频点的相位补偿值,相当于针对信号在初始相位上的相位补偿。此处,可以将AP根据相位补偿表确定的射频链路的相位补偿值称为射频链路的初始相位补偿值。Further, the single-device phase compensation value of the gain device on the device gear in the phase compensation table can be understood as the phase compensation value of the gain device on the device gear for the signal at the center frequency. Therefore, the phase compensation value of the radio frequency link determined by the AP according to the phase compensation table is also the phase compensation value for the signal at the center frequency, which is equivalent to the phase compensation for the signal at the initial phase. Here, the phase compensation value of the radio frequency link determined by the AP according to the phase compensation table may be referred to as the initial phase compensation value of the radio frequency link.
本申请实施例中,AP还可以确定各子载波上的相位补偿值,根据各子载波上的相位补偿值调整对应子载波的上行等效信道矩阵,提高AP各射频链路发射信号的精确度。In the embodiment of the present application, the AP can also determine the phase compensation value on each subcarrier, and adjust the uplink equivalent channel matrix of the corresponding subcarrier according to the phase compensation value on each subcarrier, so as to improve the accuracy of the signals transmitted by each radio frequency link of the AP .
在一个示例中,AP根据各上行等效信道矩阵所属的子载波得到各子载波的相位调整值;AP将射频链路的初始相位补偿值和各子载波的相位调整值之和,确定为各子载波的相位补偿值。In an example, the AP obtains the phase adjustment value of each subcarrier according to the subcarrier to which each uplink equivalent channel matrix belongs; the AP determines the sum of the initial phase compensation value of the radio link and the phase adjustment value of each subcarrier as each subcarrier. The phase compensation value of the subcarrier.
在另一个示例中,AP可以根据射频链路的初始相位补偿值,确定射频链路处理射频信号导致的射频时延,进而根据射频时延确定各子载波上的相位补偿值。举例来说,如公式(4)中,假设初始相位补偿值为则确定出射频时延为根据射频时延τRF确定第k个子载波的相位补偿值为 In another example, the AP may determine the radio frequency delay caused by the radio frequency link processing the radio frequency signal according to the initial phase compensation value of the radio frequency link, and then determine the phase compensation value on each subcarrier according to the radio frequency delay. For example, as in Equation (4), assume that the initial phase compensation value is Then the radio frequency delay is determined as Determine the phase compensation value of the kth subcarrier according to the radio frequency delay τ RF as
步骤1203,AP将STA到AP的信道的上行等效信道矩阵的转置确定为AP到STA的信道的下行等效信道矩阵。
AP在确定出下行等效信道矩阵之后,可以根据下行等效信道矩阵生成预编码矩阵,然后根据预编码矩阵进行BF加权,确定各发射射频链路的基带信号。AP基于互易性补偿值对各发射射频链路的基带信号进行互易性补偿后发送至STA。After determining the downlink equivalent channel matrix, the AP can generate a precoding matrix according to the downlink equivalent channel matrix, and then perform BF weighting according to the precoding matrix to determine the baseband signals of each transmitting radio frequency link. Based on the reciprocity compensation value, the AP performs reciprocity compensation on the baseband signals of each transmitting radio frequency link, and sends them to the STA.
该技术方案中,AP通过各射频链路接收来自STA的射频信号,AP测量射频信号得到STA至AP的信道的上行等效信道矩阵,根据上行等效信道矩阵和各射频链路的相位补偿值,确定AP至STA的信道的下行等效信道矩阵,解决由于互易性校准时采用的固定链路档位和接收射频信号时自动调节的链路档位之间的差异导致的相位跳变问题,得到精确度较高的下行等效信道矩阵。进一步的,AP根据下行等效信道矩阵,确定预编码矩阵,AP根据预编码矩阵对原始基带信号进行BF加权,确定各射频链路的基带信号。AP基于互易性补偿值对各发射射频链路的基带信号进行互易性补偿后发送至STA,增加BF的电路增益,从而提高AP各射频链路发射信号的精确度。In this technical solution, the AP receives the radio frequency signal from the STA through each radio frequency link, and the AP measures the radio frequency signal to obtain the uplink equivalent channel matrix of the channel from the STA to the AP. According to the uplink equivalent channel matrix and the phase compensation value of each radio frequency link , determine the downlink equivalent channel matrix of the channel from AP to STA, and solve the phase jump problem caused by the difference between the fixed link gear used in reciprocity calibration and the automatically adjusted link gear when receiving RF signals , to obtain the downlink equivalent channel matrix with higher accuracy. Further, the AP determines the precoding matrix according to the downlink equivalent channel matrix, and the AP performs BF weighting on the original baseband signal according to the precoding matrix to determine the baseband signal of each radio frequency link. Based on the reciprocity compensation value, the AP performs reciprocity compensation on the baseband signals of each transmitting radio link and sends it to the STA to increase the circuit gain of the BF, thereby improving the accuracy of the signals transmitted by each radio link of the AP.
与上述构思相同,如图13所示,本申请实施例还提供一种AP。该AP可用于实现上述相位补偿方法或相位校准方法实施例中步骤或流程。Similar to the above concept, as shown in FIG. 13 , an embodiment of the present application further provides an AP. The AP can be used to implement the steps or processes in the above-mentioned embodiments of the phase compensation method or the phase calibration method.
该AP可以包括:通信单元1301和处理单元1302。The AP may include: a
本申请实施例中,通信单元1301也可以称为收发单元,可以包括发送单元和/或接收单元,分别用于执行上文方法实施例中AP发送和接收的步骤。In this embodiment of the present application, the
示例性地,当该AP实现图10所示的流程中AP的功能时:Exemplarily, when the AP implements the functions of the AP in the process shown in FIG. 10:
所述通信单元1301,用于通过多个射频链路接收来自STA的射频信号,所述多个射频链路中每个射频链路包括至少两个增益器件;The
所述处理单元1302,用于测量所述射频信号并根据多个相位补偿值,得到所述AP到所述STA的信道的下行等效信道矩阵,其中,所述下行等效信道矩阵是所述STA到所述AP的信道的上行等效信道矩阵的转置,所述多个相位补偿值和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵包括多个行向量,所述多个行向量和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵的每一行向量受到对应的射频链路的相位补偿值的调整,所述多个相位补偿值中的每个相位补偿值是基于对应射频链路中至少两个增益器件各自的单器件相位补偿值之和确定的。The
一种可选实现方式中,所述单器件相位补偿值是变量的函数,所述变量包括工作信道的频点以及对应增益器件的接收档位。In an optional implementation manner, the phase compensation value of the single device is a function of a variable, and the variable includes the frequency point of the working channel and the receiving gear of the corresponding gain device.
一种可选的实现方式中,所述变量还包括温度。In an optional implementation manner, the variable further includes temperature.
一种可选实现方式中,所述增益器件包括外部低噪声放大器、内部低噪声放大器或可变增益放大器。In an optional implementation manner, the gain device includes an external low-noise amplifier, an internal low-noise amplifier or a variable gain amplifier.
一种可选实现方式中,所述多个相位补偿值中的每个相位补偿值为对应射频链路中至少两个增益器件各自的单器件相位补偿值之和再加上根据所述上行等效信道矩阵所属的子载波得到的调整值。In an optional implementation manner, each phase compensation value in the plurality of phase compensation values is the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency The adjustment value obtained by the subcarrier to which the effective channel matrix belongs.
示例性地,当该AP实现图5所示的流程中AP的功能时:Exemplarily, when the AP implements the functions of the AP in the process shown in FIG. 5:
所述通信单元1301,用于用第二射频链路发射第一射频信号;以及用所述第一射频链路接收第一射频信号;the
所述处理单元1302,用于用处于第一状态的第一射频链路处理所述第一射频信号,以得到第一基带信号,其中,所述第一射频链路中包括至少两个增益器件,所述至少两个增益器件包括第一增益器件,处于所述第一状态的所述第一射频链路中的所述第一增益器件的接收档位处于待测档位,且除所述第一增益器件以外的增益器件的接收档位处于各自的预设档位;The
所述处理单元1302,还用于根据所述第一基带信号和第二基带信号,确定所述第一增益器件处于待测档位时的单器件相位补偿值;所述第二基带信号是所述处理单元1302用处于第二状态的所述第一射频链路处理所述第二射频链路发射的第二射频信号得到的,其中,处于所述第二状态的所述第一射频链路中的所有增益器件的接收档位处于各自的预设档位;所述第一射频信号和所述第二射频信号的初始相位相同。The
一种可选实现方式中,所述第一增益器件处于所述待测档位时的单器件相位补偿值是根据所述第一基带信号的相位和所述第二基带信号的相位的相位差确定的。In an optional implementation manner, the single-device phase compensation value when the first gain device is in the gear to be measured is based on the phase difference between the phase of the first baseband signal and the phase of the second baseband signal. definite.
一种可选实现方式中,所述第一射频信号或所述第二射频信号包括多个相同的LTF。In an optional implementation manner, the first radio frequency signal or the second radio frequency signal includes multiple identical LTFs.
与上述构思相同,如图14所示,本申请实施例还提供一种AP。Similar to the above concept, as shown in FIG. 14 , an embodiment of the present application further provides an AP.
该AP可以包括:调度模块1401、补偿模块1402、校准模块1403;The AP may include: a
调度模块1401用于调度补偿模块1402或校准模块1403;The
当补偿模块1402被调度时,AP实现如图10中AP的相位补偿功能;补偿模块1402用于通过多个射频链路接收来自STA的射频信号;以及测量所述射频信号并根据多个相位补偿值,得到所述AP到所述STA的信道的下行等效信道矩阵。When the
当调度校准模块1403被调度时,AP实现如图5中AP的相位校准功能;所述校准模块1403用于用处于第一状态的第一射频链路处理所述AP的第二射频链路发射的第一射频信号,以得到第一基带信号;以及根据所述第一基带信号和第二基带信号,确定所述第一增益器件处于待测档位时的单器件相位补偿值。When the
与上述构思相同,如图15所示为本申请实施例提供的一种AP,图15所示AP可以为图13或图14所示的AP的一种硬件电路的实现方式。该AP可适用于如图5或如图10所示出的流程图,执行上述方法实施例中AP的功能。为了便于说明,图15仅示出了AP的主要部件。Similar to the above concept, FIG. 15 shows an AP provided by an embodiment of the present application, and the AP shown in FIG. 15 may be a hardware circuit implementation of the AP shown in FIG. 13 or FIG. 14 . The AP may be applicable to the flowchart shown in FIG. 5 or FIG. 10 to perform the functions of the AP in the above method embodiments. For convenience of explanation, FIG. 15 only shows the main components of the AP.
AP包括处理器、存储器和多个射频链路;The AP includes a processor, memory, and multiple radio frequency links;
示例性的,多个射频链路中每个射频链路可以作为接收射频链路或者发射射频链路。Exemplarily, each of the multiple radio frequency chains can be used as a receiving radio frequency chain or a transmitting radio frequency chain.
射频链路作为接收射频链路时,射频链路中包括eLNA、混频器、模拟-数字转换器(analog to digital converter,ADC)、数字信号处理器;射频链路作为发射射频链路时,射频链路中包括PA、混频器、数字-模拟转换器(digital to analog converter,DAC)和数字信号处理器。其中,混频器中包括iLNA、VGA。When the RF link is used as a receiving RF link, the RF link includes an eLNA, a mixer, an analog to digital converter (ADC), and a digital signal processor; when the RF link is used as a transmitting RF link, The RF chain includes PAs, mixers, digital to analog converters (DACs) and digital signal processors. Among them, the mixer includes iLNA and VGA.
示例性的,接收射频链路可以通过以下方式处理接收到的信号:从天线处接收的射频信号依次采用eLNA、iLNA、VGA进行增益放大;放大后的信号经过ADC,最终经过数字信号处理器的处理。发射射频链路可以通过以下方式发送信号:基带信号经过数字信号处理器的处理后,可经过DAC变为模拟信号,该模拟信号经过混频器的上变频处理变为射频信号,该射频信号经过PA处理后从天线向外辐射。Exemplarily, the receiving radio frequency link may process the received signal in the following manner: the radio frequency signal received from the antenna is sequentially amplified by eLNA, iLNA, and VGA; the amplified signal passes through the ADC, and finally passes through the digital signal processor. deal with. The transmitting radio frequency link can send signals in the following ways: after the baseband signal is processed by the digital signal processor, it can be converted into an analog signal by a DAC, and the analog signal is converted into a radio frequency signal by the up-conversion process of the mixer, and the radio frequency signal is processed by After PA processing, it radiates outward from the antenna.
当AP执行如图10所示流程图时,多个射频链路可以为多个接收射频链路。When the AP executes the flowchart shown in FIG. 10 , the multiple radio frequency links may be multiple receiving radio frequency links.
示例性的,所述多个射频链路,用于接收来自STA的射频信号,所述多个射频链路中每个射频链路包括至少两个增益器件;Exemplarily, the multiple radio frequency chains are configured to receive radio frequency signals from the STA, and each radio frequency chain in the multiple radio frequency chains includes at least two gain devices;
所述处理器,用于测量所述射频信号并根据多个相位补偿值,得到所述AP到所述STA的信道的下行等效信道矩阵,其中,所述下行等效信道矩阵是所述STA到所述AP的信道的上行等效信道矩阵的转置,所述多个相位补偿值和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵包括多个行向量,所述多个行向量和所述多个射频链路的关系为一一对应,所述上行等效信道矩阵的每一行向量受到对应的射频链路的相位补偿值的调整,所述多个相位补偿值中的每个相位补偿值是基于对应射频链路中至少两个增益器件各自的单器件相位补偿值之和确定的。The processor is configured to measure the radio frequency signal and obtain a downlink equivalent channel matrix of the channel from the AP to the STA according to multiple phase compensation values, where the downlink equivalent channel matrix is the STA Transpose of the uplink equivalent channel matrix of the channel to the AP, the relationship between the plurality of phase compensation values and the plurality of radio frequency links is one-to-one correspondence, and the uplink equivalent channel matrix includes a plurality of row vectors , the relationship between the plurality of row vectors and the plurality of radio frequency links is one-to-one correspondence, and each row vector of the uplink equivalent channel matrix is adjusted by the phase compensation value of the corresponding radio frequency link. Each of the phase compensation values is determined based on the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency chain.
一种可选实现方式中,所述单器件相位补偿值是变量的函数,所述变量包括工作信道的频点以及对应增益器件的接收档位。In an optional implementation manner, the phase compensation value of the single device is a function of a variable, and the variable includes the frequency point of the working channel and the receiving gear of the corresponding gain device.
一种可选实现方式中,所述变量还包括温度。In an optional implementation manner, the variable further includes temperature.
一种可选实现方式中,所述增益器件包括外部低噪声放大器、内部低噪声放大器或可变增益放大器。In an optional implementation manner, the gain device includes an external low-noise amplifier, an internal low-noise amplifier or a variable gain amplifier.
一种可选实现方式中,所述多个相位补偿值中的每个相位补偿值为对应射频链路中至少两个增益器件各自的单器件相位补偿值之和再加上根据所述上行等效信道矩阵所属的子载波得到的调整值。In an optional implementation manner, each phase compensation value in the plurality of phase compensation values is the sum of the respective single-device phase compensation values of at least two gain devices in the corresponding radio frequency The adjustment value obtained by the subcarrier to which the effective channel matrix belongs.
当AP执行如图5所示流程图时,多个射频链路可以为发射射频链路和接收射频链路,其中,发射射频链路可以为第二射频链路,接收射频链路可以为第一射频链路。When the AP executes the flowchart shown in FIG. 5, the multiple radio frequency links may be transmit radio frequency links and receive radio frequency links, wherein the transmit radio frequency link may be the second radio frequency link, and the receive radio frequency link may be the first radio frequency link a radio frequency link.
示例性的,所述第二射频链路,用于发射第一射频信号;Exemplarily, the second radio frequency link is used to transmit the first radio frequency signal;
所述第一射频链路处于第一状态,所述处于第一状态的第一射频链路用于接收所述第一射频信号,并处理所述第一射频信号得到第一基带信号;所述第一射频链路中包括至少两个增益器件,所述至少两个增益器件包括第一增益器件,处于所述第一状态的所述第一射频链路中的所述第一增益器件的接收档位处于待测档位,且除所述第一增益器件以外的增益器件的接收档位处于各自的预设档位;the first radio frequency link is in a first state, and the first radio frequency link in the first state is configured to receive the first radio frequency signal and process the first radio frequency signal to obtain a first baseband signal; the The first radio frequency link includes at least two gain devices, the at least two gain devices include a first gain device, and the reception of the first gain device in the first radio frequency chain in the first state The gear is in the gear to be tested, and the receiving gears of the gain devices other than the first gain device are in their respective preset gears;
所述处理器,用于根据所述第一基带信号和第二基带信号,确定所述第一增益器件处于待测档位时的单器件相位补偿值;所述第二基带信号是处于第二状态的所述第一射频链路处理所述第二射频链路发射的第二射频信号得到的,其中,所述处于第二状态的所述第一射频链路中的所有增益器件的接收档位处于各自的预设档位;所述第一射频信号和所述第二射频信号的初始相位相同。The processor is configured to determine, according to the first baseband signal and the second baseband signal, a single device phase compensation value when the first gain device is in the gear to be measured; the second baseband signal is in the second The first radio frequency link in the state is obtained by processing the second radio frequency signal transmitted by the second radio frequency link, wherein the receiving files of all gain devices in the first radio frequency link in the second state are obtained The first radio frequency signal and the second radio frequency signal have the same initial phase.
一种可选实现方式中,所述第一增益器件处于所述待测档位时的单器件相位补偿值是根据所述第一基带信号的相位和所述第二基带信号的相位的相位差确定的。In an optional implementation manner, the single-device phase compensation value when the first gain device is in the gear to be measured is based on the phase difference between the phase of the first baseband signal and the phase of the second baseband signal. definite.
一种可选实现方式中,所述第一射频信号或所述第二射频信号包括多个相同的LTF。In an optional implementation manner, the first radio frequency signal or the second radio frequency signal includes multiple identical LTFs.
应理解,装置实施例的描述与方法实施例的描述相互对应,因此,未详细描述的内容可以参见上文方法实施例,为了简洁,这里不再赘述。It should be understood that the description of the apparatus embodiment corresponds to the description of the method embodiment. Therefore, for the content not described in detail, reference may be made to the above method embodiment, which is not repeated here for brevity.
与上述构思相同,本申请还提供一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,图5或图10所示实施例中任意一个实施例的方法被实现。Similar to the above concept, the present application also provides a computer program product, the computer program product includes: computer program code, when the computer program code is run on a computer, any one of the embodiments shown in FIG. 5 or FIG. 10 is executed. method is implemented.
与上述构思相同,本申请还提供一种计算机可读介质,该计算机可读介质存储有程序代码,当该程序代码在计算机上运行时,图5或图10所示实施例中任意一个实施例的方法被实现。Similar to the above concept, the present application also provides a computer-readable medium, the computer-readable medium stores a program code, when the program code is run on a computer, any one of the embodiments shown in FIG. 5 or FIG. 10 is implemented. method is implemented.
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by those skilled in the art, the embodiments of the present application may be provided as a method, a system, or a computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, etc.) having computer-usable program code embodied therein.
本申请是参照根据本申请的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to the present application. It will be understood that each process and/or block in the flowchart illustrations and/or block diagrams, and combinations of processes and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing device to produce a machine such that the instructions executed by the processor of the computer or other programmable data processing device produce Means for implementing the functions specified in a flow or flow of a flowchart and/or a block or blocks of a block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory result in an article of manufacture comprising instruction means, the instructions The apparatus implements the functions specified in the flow or flow of the flowcharts and/or the block or blocks of the block diagrams.
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010456980.1A CN113726377B (en) | 2020-05-26 | 2020-05-26 | A phase compensation, calibration method and AP |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010456980.1A CN113726377B (en) | 2020-05-26 | 2020-05-26 | A phase compensation, calibration method and AP |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113726377A CN113726377A (en) | 2021-11-30 |
| CN113726377B true CN113726377B (en) | 2022-10-18 |
Family
ID=78672156
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010456980.1A Active CN113726377B (en) | 2020-05-26 | 2020-05-26 | A phase compensation, calibration method and AP |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113726377B (en) |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101218749A (en) * | 2005-04-04 | 2008-07-09 | 飞思卡尔半导体公司 | Method and apparatus for dynamic gain and phase compensations |
| CN101771654A (en) * | 2008-12-31 | 2010-07-07 | 联发科技股份有限公司 | Receiver and method for estimating phase error in mimo OFDM communication system |
| CN105204004A (en) * | 2015-09-29 | 2015-12-30 | 河海大学 | Transmitting digital beam forming method based on digital delay and phase compensation |
| CN108418770A (en) * | 2018-01-22 | 2018-08-17 | 南京邮电大学 | Frequency Domain Channel Reciprocity Compensation Method Based on Channel Estimation Error in Massive MIMO |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| GB0814252D0 (en) * | 2008-08-04 | 2008-09-10 | Cambridge Silicon Radio Ltd | Receiving imperfectly phase compensated signals |
-
2020
- 2020-05-26 CN CN202010456980.1A patent/CN113726377B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101218749A (en) * | 2005-04-04 | 2008-07-09 | 飞思卡尔半导体公司 | Method and apparatus for dynamic gain and phase compensations |
| CN101771654A (en) * | 2008-12-31 | 2010-07-07 | 联发科技股份有限公司 | Receiver and method for estimating phase error in mimo OFDM communication system |
| CN105204004A (en) * | 2015-09-29 | 2015-12-30 | 河海大学 | Transmitting digital beam forming method based on digital delay and phase compensation |
| CN108418770A (en) * | 2018-01-22 | 2018-08-17 | 南京邮电大学 | Frequency Domain Channel Reciprocity Compensation Method Based on Channel Estimation Error in Massive MIMO |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113726377A (en) | 2021-11-30 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11812302B2 (en) | System and method for reduction in fronthaul interface bandwidth for cloud RAN | |
| US11805428B2 (en) | Joint transmissions to a station | |
| US8761834B2 (en) | Method and apparatus for antenna selection and power control in a multiple input multiple output wireless communication system | |
| US9793966B2 (en) | Link adaptation method and apparatus in wireless LAN system | |
| US20120170565A1 (en) | Method and apparatus for multiple frame transmission for supporting mu-mimo | |
| US20120224570A1 (en) | Method and apparatus for transmitting data in wlan system | |
| EP2988443B1 (en) | Wireless communication apparatus and wireless communication method | |
| US9369895B2 (en) | Method and device for channel measurement in a wireless LAN system | |
| WO2010134768A2 (en) | Method and apparatus for space division multiple access for wireless local area network system | |
| US11516748B2 (en) | Transmit power control | |
| US10790930B2 (en) | Techniques for distortion correction at a receiver device | |
| CN110838860A (en) | Signal transmission method, device, terminal and network side equipment | |
| WO2020192564A1 (en) | Channel correction method and apparatus | |
| WO2010143478A1 (en) | Transmission power control method and transmitter | |
| WO2023274134A1 (en) | Communication processing method and communication processing apparatus | |
| CN113726377B (en) | A phase compensation, calibration method and AP | |
| US12150066B2 (en) | Wireless transmission method for enhancing efficiency of transmit power control of multi-user transmission, and wireless communication device utilizing the same | |
| US20190116068A1 (en) | Transmitter schemes to facilitate side channel information estimation | |
| JP2025511292A (en) | Information transmission method and device | |
| CN111130609B (en) | Wireless communication method and related device | |
| US20240137981A1 (en) | Apparatus for channel access in wlan system and operating method of the apparatus | |
| US20240015541A1 (en) | Client station to client station sensing | |
| US20240267176A1 (en) | Apparatus and method for sounding in multiple access point network | |
| JP6163083B2 (en) | Communication apparatus and transmission method | |
| WO2024104213A1 (en) | Communication method and related device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |