CN113259033A - High-speed wave beam control method in dynamic millimeter wave communication scene based on FPGA - Google Patents
High-speed wave beam control method in dynamic millimeter wave communication scene based on FPGA Download PDFInfo
- Publication number
- CN113259033A CN113259033A CN202110522022.4A CN202110522022A CN113259033A CN 113259033 A CN113259033 A CN 113259033A CN 202110522022 A CN202110522022 A CN 202110522022A CN 113259033 A CN113259033 A CN 113259033A
- Authority
- CN
- China
- Prior art keywords
- training
- data
- antenna
- bits
- behavior
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 81
- 238000004891 communication Methods 0.000 title claims abstract description 62
- 238000012549 training Methods 0.000 claims abstract description 101
- 230000008569 process Effects 0.000 claims abstract description 62
- 230000005540 biological transmission Effects 0.000 claims abstract description 26
- 238000005259 measurement Methods 0.000 claims abstract description 13
- 238000011084 recovery Methods 0.000 claims abstract description 4
- 230000006399 behavior Effects 0.000 claims description 49
- 230000004044 response Effects 0.000 claims description 9
- 230000007704 transition Effects 0.000 claims description 8
- 238000005457 optimization Methods 0.000 claims description 6
- 238000012544 monitoring process Methods 0.000 claims description 5
- 238000001514 detection method Methods 0.000 claims description 4
- 238000003491 array Methods 0.000 claims description 3
- 238000004364 calculation method Methods 0.000 claims description 3
- 238000012545 processing Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 230000010363 phase shift Effects 0.000 description 5
- 238000011160 research Methods 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 230000006872 improvement Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 208000003028 Stuttering Diseases 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000011159 matrix material Substances 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000002787 reinforcement Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012795 verification Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B17/00—Monitoring; Testing
- H04B17/30—Monitoring; Testing of propagation channels
- H04B17/382—Monitoring; Testing of propagation channels for resource allocation, admission control or handover
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W16/00—Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
- H04W16/24—Cell structures
- H04W16/28—Cell structures using beam steering
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Radio Transmission System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开了一种基于FPGA的动态毫米波通信场景中高速波束控制方法,包括以下步骤:在通信系统的接收端通过全码本扫描进行波束的初始化,建立起初始通信波束;建立波束控制模块与基带处理FPGA间的数据通信,用于触发波束跟踪过程并进行波束测量;建立波束训练状态机实现波束跟踪算法模型;通过SPI高速串口传输天线控制信息实现波束控制模块对天线的控制;每次波束训练结束后进行波束质量的判断,如果判定为波束选择失败则需要进行波束恢复;波束训练结束后选定最佳传输波束进行数据传输,并等待下一个周期的训练触发信号。本发明通过定义SPI高速模式写入协议控制天线,实现了微秒级别的波束切换间隔。
The invention discloses a high-speed beam control method in a dynamic millimeter wave communication scenario based on FPGA, comprising the following steps: at the receiving end of the communication system, the beam is initialized by scanning a full codebook to establish an initial communication beam; establishing a beam control module The data communication between the FPGA and the baseband processing FPGA is used to trigger the beam tracking process and perform beam measurement; establish a beam training state machine to realize the beam tracking algorithm model; transmit the antenna control information through the SPI high-speed serial port to realize the control of the antenna by the beam control module; After the beam training is completed, the beam quality is judged. If it is determined that the beam selection fails, beam recovery is required; after the beam training is completed, the best transmission beam is selected for data transmission, and the training trigger signal of the next cycle is waited. The invention realizes the beam switching interval of microsecond level by defining the SPI high-speed mode writing protocol to control the antenna.
Description
技术领域technical field
本发明涉及一种大规模阵列天线波束成形及跟踪技术,属于无线通信领域。The invention relates to a large-scale array antenna beam forming and tracking technology, and belongs to the field of wireless communication.
背景技术Background technique
随着信息技术的不断发展,信息量呈爆炸性增长,新型业务场景陆续出现,对通信系统的带宽提出了更加严苛的要求,传统的通信频段逐渐难以满足这种需求,而毫米波频段因为其大带宽,低时延,频谱资源十分丰富的特点吸引了研究人员的关注。关于毫米波频段的通信研究开始广泛展开,在毫米波领域一项非常重要的研究是关于波束成形技术。因为毫米波频段在有着种种好处的同时,本身却存在着易衰减的缺点,而波束成形技术通过将天线波束增益集中在一个方向来抵抗衰减。With the continuous development of information technology, the amount of information has increased explosively, and new business scenarios have emerged one after another, which has put forward more stringent requirements for the bandwidth of the communication system. Traditional communication frequency bands are gradually difficult to meet this demand. The characteristics of large bandwidth, low latency, and abundant spectrum resources have attracted the attention of researchers. Communication research on the millimeter wave frequency band has begun to be widely carried out, and a very important research in the field of millimeter wave is about beamforming technology. Because the millimeter wave frequency band has various advantages, it has the disadvantage of easy attenuation, and the beamforming technology resists attenuation by concentrating the antenna beam gain in one direction.
虽然波束成形极大的提高了发射功率增益,但由于具有很强的方向性,当用户移动时会导致波束失准从而使得接收信号功率骤降,通信质量难以维持。所以当用户移动时波束方向的实时对准成为了一个不可避免的问题。目前关于波束跟踪的研究已经有了很多成果,比如对整个波束码本的扫描以及分层搜索的方法,对准率高但训练开销很大。为了降低开销利用辅助信息的方法,如到达角估计,信道状态信息估计等,但仅停留在理论阶段在实现起来却比较困难。为了降低开销而又易于实现,结合机器学习的波束跟踪方法开始获得更多的关注。Although beamforming greatly improves the transmit power gain, due to its strong directivity, when the user moves, the beam will be misaligned and the received signal power will drop sharply, making it difficult to maintain communication quality. So real-time alignment of beam directions when the user moves becomes an unavoidable problem. At present, there have been many achievements in the research on beam tracking, such as the scanning of the entire beam codebook and the hierarchical search method, which has a high alignment rate but a large training cost. In order to reduce the overhead, the method of using auxiliary information, such as the estimation of the angle of arrival, the estimation of the channel state information, etc., is only in the theoretical stage and it is difficult to realize. In order to reduce overhead while being easy to implement, beam tracking methods combined with machine learning are starting to gain more attention.
为保证用户的实时通信不断开,需要周期性的进行波束搜索始终将波束指向控制在一个较佳的方向,这就需要不断的进行波束训练的过程,每次搜索的范围必须控制在一个较小的范围内且波束切换速度要尽可能快,才能使得整个波束搜索的过程很快,从而不影响用户正常的通信使用。FPGA因其优越的处理性能,足以快速完成整个过程,而结合历史经验学习的bandit算法则可以快速减少波束搜索的范围,降低开销。故本发明结合bandit算法学习历史训练经验做出合理推荐,并通过FPGA进行硬件上的实现,结合高速处理的特性,极大降低训练消耗及训练周期,同时据此设计bandit算法的选项,进一步降低训练波束开销,从未而实现当用户不断移动时波束方向的始终对齐,通信链路始终稳定不会中断。In order to ensure that the user's real-time communication is not interrupted, it is necessary to periodically conduct beam search to always control the beam point in a better direction, which requires continuous beam training process, and the range of each search must be controlled within a small The beam switching speed must be as fast as possible, so that the entire beam search process is fast, so as not to affect the normal communication use of the user. Because of its superior processing performance, FPGA can quickly complete the whole process, and the bandit algorithm combined with historical experience learning can quickly reduce the range of beam search and reduce overhead. Therefore, the present invention makes a reasonable recommendation based on the historical training experience of the bandit algorithm, and implements it on the hardware through FPGA. Combined with the characteristics of high-speed processing, the training consumption and training cycle are greatly reduced. The overhead of training beams never achieves the alignment of beam directions when the user is constantly moving, and the communication link is always stable and uninterrupted.
发明内容SUMMARY OF THE INVENTION
在毫米波频段的通信中,由于应用了波束成形技术,需要进行波束的对准。而由于用户是实时移动的,这就需要进行快速且频繁的波束跟踪过程,使得用户的通信链路始终维持稳定可用。这需要设计可靠的波束控制模块,在毫米波硬件系统中达到高速训练波束的目的,且要具有较高的鲁棒性以及波束恢复机制。In the communication in the millimeter wave frequency band, beam alignment is required due to the application of beamforming technology. Since the user moves in real time, a fast and frequent beam tracking process is required, so that the user's communication link is always stable and available. This requires the design of a reliable beam steering module to achieve the purpose of high-speed training beams in the millimeter-wave hardware system, and to have high robustness and beam recovery mechanisms.
本发明的目的是提供一种基于FPGA的动态毫米波通信场景中高速波束控制方法,通过定义SPI高速模式写入协议控制天线,实现微秒级别的波束切换间隔。根据快速波束训练的特性,缩短波束训练的周期,使得每次波束训练的范围大幅度降低。同时利用随机选择优化模型方法,不断学习训练的经验,根据训练结果进一步缩小训练波束的范围。The purpose of the present invention is to provide a high-speed beam control method in a dynamic millimeter wave communication scenario based on FPGA, by defining the SPI high-speed mode writing protocol to control the antenna, and realizing the beam switching interval of microsecond level. According to the characteristics of fast beam training, the period of beam training is shortened, so that the scope of each beam training is greatly reduced. At the same time, the random selection optimization model method is used to continuously learn the training experience, and further reduce the scope of the training beam according to the training results.
为实现上述目的,本发明采用的技术方案为:To achieve the above object, the technical scheme adopted in the present invention is:
一种基于FPGA的动态毫米波通信场景中高速波束控制方法,包括以下步骤:An FPGA-based high-speed beam steering method in a dynamic millimeter wave communication scenario, comprising the following steps:
步骤1,在通信系统的接收端通过全码本扫描进行波束的初始化,建立起初始通信波束;Step 1, at the receiving end of the communication system, initialize the beam by scanning the full codebook, and establish an initial communication beam;
步骤2,通过FIFO数据结构以及PXI-trigger寄存器建立起波束控制模块与搭载FPGA的基带模块间的数据通信,用于触发波束跟踪过程并进行波束测量;Step 2, establishing data communication between the beam control module and the baseband module equipped with the FPGA through the FIFO data structure and the PXI-trigger register, for triggering the beam tracking process and performing beam measurement;
步骤3,建立波束训练状态机实现波束跟踪算法模型;Step 3, establishing a beam training state machine to implement a beam tracking algorithm model;
步骤4,通过图4中的SPI模块传输天线控制信息实现波束控制模块对天线的控制;In step 4, the control of the antenna by the beam control module is realized by transmitting the antenna control information through the SPI module in FIG. 4;
步骤5,每次波束训练结束后进行波束质量的判断,如果判定为波束选择失败则需要进行波束恢复;Step 5: Judge the beam quality after each beam training, and if it is judged that the beam selection fails, beam recovery needs to be performed;
步骤6,波束训练结束后选定最佳传输波束进行数据传输,并等待下一个周期的训练触发信号。Step 6: After the beam training ends, select the best transmission beam for data transmission, and wait for the training trigger signal of the next cycle.
所述步骤1具体如下:The step 1 is as follows:
将码本空间定义为其中M是码本的大小,fi表示天线响应向量;根据天线格式将每个码字对应的控制比特流提前以字节形式写入memory中;通信系统接收端的波束控制模块首先对全码本进行一次全扫描,全扫描的实现通过建立初始化状态机来实现,状态转移过程为:先初始化波数序号i=0,最佳波束序号imax=0,最佳波束对应的功率pmax=0,然后进入SPI写入过程,根据天线需求,需要分多个阶段将波束控制信息,收发控制信息,使能信号写入天线;多个阶段总共写入nb个字节的数据,其中每一阶段写入的数据均从memory内存模块中读取,起始地址为i×nb+of,of为偏移地址;每一阶段写入的字节数为nbt,比特数为nbit;通过SPI_START信号通知SPI模块开始往天线写入当前阶段的数据;然后等待SPI模块反馈的SPI_DONE信号,当检测到该信号为高电平则说明本阶段数据写入完成;此时进行一个判断,多个阶段是否全部写入完成,若未完成则写入下一阶段数据,若完成则判断码本是否扫描完成,若完成则结束该过程进入波束跟踪的触发信号监测状态,等待进行波束跟踪的过程,若未完成扫描则更新最佳波束及最佳波束对应的功率;更新最佳波束信息后进行一次判断,是否所有波束方向都已搜索完毕,若未搜索完毕将波束序号加1重新进行SPI模块写入,若已经搜索完毕,则将最佳波束作为执行波束序号再执行一次SPI模块写入。The codebook space is defined as Among them, M is the size of the codebook, and f i represents the antenna response vector; according to the antenna format, the control bit stream corresponding to each codeword is written into the memory in advance in the form of bytes; the beam control module at the receiving end of the communication system A full scan is performed, and the realization of the full scan is realized by establishing an initialization state machine. The state transition process is: first initialize the wave number sequence number i=0, the optimal beam sequence number i max =0, the power corresponding to the optimal beam p max =0, Then enter the SPI writing process. According to the antenna requirements, it is necessary to write beam control information, send and receive control information, and enable signals into the antenna in multiple stages; a total of n b bytes of data are written in multiple stages, and each stage The written data is read from the memory memory module, the starting address is i ×n b +of, and of is the offset address; the number of bytes written in each stage is n bt , and the number of bits is n bit ; Inform the SPI module to start writing the data of the current stage to the antenna through the SPI_START signal; then wait for the SPI_DONE signal fed back by the SPI module, when it is detected that the signal is high, it means that the data writing at this stage is completed; At this time, a judgment is made, Whether the writing of multiple stages is completed, if not, write the data of the next stage, if completed, judge whether the codebook is scanned or not, if completed, end the process and enter the trigger signal monitoring state of beam tracking, waiting for beam tracking. Process, if the scanning is not completed, update the optimal beam and the power corresponding to the optimal beam; after updating the optimal beam information, make a judgment to determine whether all beam directions have been searched, if not, add 1 to the beam serial number and perform SPI again Module write, if the search has been completed, then execute the SPI module write again with the optimal beam as the execution beam serial number.
所述步骤2具体如下:The step 2 is as follows:
波束初始化以及波束跟踪过程中,需要进行波束的性能测量,通过通信系统接收端的基带模块计算接收功率,以此作为指标判断当前天线所选择波束方向的性能好坏;波束测量要对每次扫描波束范围内所有的波束性能进行测量,并取出测量结果最佳的波束用于数据传输阶段的通信;同时波束跟踪过程是周期性进行的,每个周期是一个通信帧的时间,每个帧中有波束训练字段,在波束训练字段开始时,需要基带模块通知波束控制模块该回合波束跟踪的开始,使用PXI-trigger寄存器实现低时延信息传递,在传递使能信号时将寄存器置为高电平,且持续足够长的周期以保证可被波束控制模块读取;通过波束测量过程得到扫描波束的性能,通过性能比较得出最佳波束及对应的功率:In the process of beam initialization and beam tracking, beam performance measurement needs to be performed, and the received power is calculated by the baseband module at the receiving end of the communication system, which is used as an indicator to judge the performance of the beam direction selected by the current antenna. The performance of all beams within the range is measured, and the beam with the best measurement result is taken out for communication in the data transmission phase; at the same time, the beam tracking process is carried out periodically, each period is the time of a communication frame, and each frame contains Beam training field. When the beam training field starts, the baseband module needs to notify the beam control module of the start of the round of beam tracking. The PXI-trigger register is used to achieve low-latency information transmission, and the register is set to high level when the enable signal is transmitted. , and lasts a long enough period to ensure that it can be read by the beam control module; the performance of the scanning beam is obtained through the beam measurement process, and the optimal beam and corresponding power are obtained through performance comparison:
其中,imax表示最佳波束,pmax表示最佳波束对应的功率,pi表示波束i所对应的功率;Among them, i max represents the optimal beam, p max represents the power corresponding to the optimal beam, and p i represents the power corresponding to the beam i;
在对当前波束的功率获取上,为补偿功率计算及PXIe总线传输引起的时延,更新当前最佳波束前等待时间τμs。In the power acquisition of the current beam, in order to compensate for the delay caused by power calculation and PXIe bus transmission, the waiting time τμs before the current optimal beam is updated.
所述步骤3具体如下:The step 3 is as follows:
波束初始化执行后得到整个码本空间当前时刻的最佳波束:The entire codebook space is obtained after beam initialization is performed The best beam at the current moment:
初始过程完成后进入波束训练阶段,该阶段由训练触发信号使能,通过建立波束训练状态机完成,状态转移过程为:波束跟踪阶段采用随机选择优化模型,预先设置多个波束行为,每个行为的表示为(blast,o,c),blast表示上次波束训练得到的最佳波束,初始值为imax,o表示行为中首个波束相对于blast的偏移,c表示行为中波束的个数,且行为中的波束是连续的;(blast,o,c)所包含的波束为(blast-o,blast-o+1,blast-o+2,…,blast-o+c-1);开始训练后,首先进初始化训练过程所需参数,建立多个参数数组存储行为的偏移值,波束个数,平均回报值,被选中的回合数,以及UCB值,每个数组的索引与行为编号一一对应;初始化之后从UCB数组中选择UCB值最大的行为进行训练,并利用该行为作为索引获得其在偏移值数组和波束数目数组中对应的值,生成该行为的候选波束集合;UCB的初始值应设为一个极大值使得每个行为被至少训练到一次;通信系统接收端对行为中的波束集分别进行测量,波束的天线写入过程与波束初始化中的过程一致,基带模块在时域上通过下式计算当前波束接收信号的能量:After the initial process is completed, the beam training phase is entered. This phase is enabled by the training trigger signal and completed by establishing a beam training state machine. The state transition process is as follows: the beam tracking phase adopts a random selection optimization model, and presets multiple beam behaviors. Each behavior is represented as (b last , o, c), b last represents the best beam obtained from the last beam training, the initial value is i max , o represents the offset of the first beam in the behavior relative to b last , and c represents the behavior in the The number of beams, and the beams in the behavior are continuous; the beams included in (b last ,o,c) are (b last -o,b last -o+1,b last -o+2,…,b last -o+c-1); after starting training, first initialize the parameters required for the training process, create multiple parameter arrays to store the offset value of the behavior, the number of beams, the average return value, the number of rounds selected, and the UCB value, the index of each array corresponds to the behavior number one-to-one; after initialization, select the behavior with the largest UCB value from the UCB array for training, and use the behavior as an index to obtain its corresponding value in the offset value array and the beam number array , to generate the candidate beam set of the behavior; the initial value of UCB should be set to a maximum value so that each behavior is trained at least once; the receiving end of the communication system measures the beam sets in the behavior respectively, and the antenna writing process of the beam Consistent with the beam initialization process, the baseband module calculates the energy of the current beam received signal in the time domain by the following formula:
其中yi为接收端信道估计均衡后的时域信号,T表示计算的接收信号长度;where y i is the time domain signal after channel estimation and equalization at the receiving end, and T represents the calculated length of the received signal;
对行为中的波束全部测量之后选出最佳波束,过程同波束初始化;然后需要确定此次训练的奖励:After all the beams in the behavior are measured, the best beam is selected, and the process is the same as beam initialization; then the reward for this training needs to be determined:
其中,r1和r2为定值,pthr为接收端功率阈值;根据奖励值通过当前行为索引更新平均回报数组,行为选择回合数数组和UCB值数组对应的参数值,同时更新训练总回合计数:Among them, r 1 and r 2 are fixed values, and p thr is the power threshold of the receiver; according to the reward value, the average reward array is updated through the current behavior index, and the behavior selects the parameter values corresponding to the round number array and the UCB value array, and at the same time, the total training round is updated. count:
其中,μ代表平均回报值,nsel代表本次训练行为被选中的回合数,nto表示总回合数,u表示UCB值。Among them, μ represents the average reward value, n sel represents the number of rounds selected for this training behavior, n to represents the total number of rounds, and u represents the UCB value.
所述步骤4具体如下:The step 4 is as follows:
SPI模块根据波束初始化及波束训练状态机传入的波束索引和数据量参数从memory中获取相应的字节数据,然后通过自定义高速SPI写入协议将数据通过串口写入天线;自定义SPI写入协议流程为:获取需要写入的数据的起始地址i×nb+of,总字节数nbt,比特数为nbit,然后将nbt个数据全部写入FIFO存储结构中;建立一个控件表示剩余待写入的比特数,并初始化为总比特数nbit,同时向时钟接口写入时钟信号;设置控件v存储每轮向天线写入的数据,然后将该数据逐个比特写入天线,v是一个l比特大小的数据;设置v中初始比特索引,从该索引对应的比特数据开始逐个写入;由于总共需要写入的比特数nbit通常并非l的整数倍,所以写入的第一个数据的前几位通常是无效位,这时的初始比特索引设为有效位的起始,取值为l-(l×nbt-nbit)-1;从FIFO存储结构中读取数据存储在v中,判断总比特数与剩余比特数是否相等,相等则说明此时处于写入开始阶段,需要拉低片选信号以及天线使能信号,同时将v的初始比特索引按上述设置;如果不相等,说明此刻并非第一次从FIFO读数,只需要将v中初始比特索引设为l即可;在FPGA每个工作周期向天线写入时钟信号,并同时写入v中当前索引对应的比特数据,然后将索引减1,剩余待写入比特数减1;判断索引是否为0,不为0则重复写比特及时钟信号的过程。若为0则判断剩余待写入比特数是否为0,不为0则继续从FIFO中读取数据执行比特写入,若已为0则说明nbit个比特数据写入完成,此时重置片选信号和天线使能信号,由于天线需要响应时间,根据响应时间长短使能信号应晚于片选信号进行重置。The SPI module obtains the corresponding byte data from the memory according to the beam index and data volume parameters passed in by the beam initialization and beam training state machine, and then writes the data into the antenna through the serial port through the custom high-speed SPI write protocol; custom SPI write The process of entering the protocol is: obtain the starting address of the data to be written i ×n b +of , the total number of bytes is n bt , the number of bits is n bit , and then write all the n bt data into the FIFO storage structure; Set up a control to indicate the remaining bits to be written, and initialize it to the total number of bits n bits , and write the clock signal to the clock interface at the same time; set the control v to store the data written to the antenna in each round, and then write the data bit by bit Enter the antenna, v is a data of 1-bit size; set the initial bit index in v, and write one by one from the bit data corresponding to the index; since the total number of bits to be written, n bits , is usually not an integer multiple of 1, so write The first few bits of the first data entered are usually invalid bits. At this time, the initial bit index is set to the start of the valid bits, and the value is l-(l×n bt -n bit )-1; the storage structure from the FIFO The read data is stored in v, and it is judged whether the total number of bits is equal to the remaining number of bits. If they are equal, it means that it is at the beginning of writing. It is necessary to pull down the chip select signal and the antenna enable signal, and at the same time index the initial bit of v. Set as above; if they are not equal, it means that it is not the first time to read from the FIFO at this moment, just set the initial bit index in v to 1; write the clock signal to the antenna in each working cycle of the FPGA, and write v at the same time The bit data corresponding to the current index in the index is then decremented by 1, and the remaining number of bits to be written is decremented by 1; it is judged whether the index is 0, and if it is not 0, the process of writing bits and clock signals is repeated. If it is 0, judge whether the remaining number of bits to be written is 0. If it is not 0, continue to read data from the FIFO and perform bit writing. If it is 0, it means that n bit data writing is completed, and reset at this time. Chip select signal and antenna enable signal, since the antenna needs response time, the enable signal should be reset later than the chip select signal according to the length of the response time.
所述步骤5具体如下:The step 5 is as follows:
设置最低通信质量门槛plim,代表维持正常通信质量的最低性能阈值;设立连续失败次数控件nfail=0,根据波束训练得到的最佳波束对应功率值判断此时训练结果是否达标,若不满足最低通信标准则nfail=nfail+1,同时数据传输阶段所使用的波束仍然为上一次符合标准的训练结果,若满足标准则nfail=0;当nfail达到一定阈值nlim时重新执行初始波束建立的步骤以恢复最佳波束。Set the minimum communication quality threshold p lim , which represents the minimum performance threshold for maintaining normal communication quality; set up a control for the number of consecutive failures n fail = 0, and judge whether the training result at this time meets the standard according to the optimal beam corresponding power value obtained from beam training. The minimum communication standard is n fail =n fail +1, and the beam used in the data transmission phase is still the training result that met the standard last time. If the standard is met, n fail = 0; when n fail reaches a certain threshold n lim , execute again Steps of initial beam establishment to restore optimal beam.
所述步骤6具体如下:The step 6 is as follows:
在每帧的数据传输阶段使用训练得到的最佳波束进行通信,同时波束控制模块停留在使能检测阶段,持续检测PXI-trigger寄存器信号,若检测到高电平则进入波束训练过程。In the data transmission phase of each frame, the optimal beam obtained by training is used for communication. At the same time, the beam control module stays in the enable detection phase and continues to detect the PXI-trigger register signal. If it detects a high level, it enters the beam training process.
有益效果:本发明与现有技术相比,其有益效果是:Beneficial effect: Compared with the prior art, the present invention has the following beneficial effects:
(1)本发明基于FPGA实现智能学习波束跟踪算法,利用FPGA的高速处理特性将波束切换时间降低至微秒级,从而降低了训练时长以及训练周期。(1) The present invention implements an intelligent learning beam tracking algorithm based on an FPGA, and utilizes the high-speed processing characteristics of the FPGA to reduce the beam switching time to the microsecond level, thereby reducing the training duration and training period.
(2)本发明通过结合强化学习的方法,充分利用历史经验,进一步大幅降低了训练开销,从而实现快速波束跟踪,保证用户移动状态中的实时波束对准,通信质量始终稳定。(2) The present invention makes full use of historical experience by combining the reinforcement learning method, further greatly reduces the training overhead, thereby realizing fast beam tracking, ensuring real-time beam alignment in the user's moving state, and always stable communication quality.
(3)本发明通过设计完善的波束控制系统,实现了波束控制模块,基带模块,天线模块间的协调工作,且具有良好的鲁棒性。(3) The present invention realizes the coordinated work among the beam control module, the baseband module and the antenna module by designing a perfect beam control system, and has good robustness.
(4)本发明波束控制模块设计灵活,易于不同波束跟踪算法以及天线的替换,且可拓展至收发同时进行波束跟踪的模式。(4) The beam control module of the present invention has a flexible design, is easy to replace with different beam tracking algorithms and antennas, and can be extended to the mode of beam tracking at the same time of transmission and reception.
附图说明Description of drawings
图1为波束初始化状态转移图;Figure 1 is a beam initialization state transition diagram;
图2为波束跟踪状态转移图;Fig. 2 is a beam tracking state transition diagram;
图3为SPI模块流程图;Fig. 3 is the flow chart of SPI module;
图4为波束控制系统流程图;FIG. 4 is a flow chart of the beam control system;
图5为通信系统中帧结构示意图;5 is a schematic diagram of a frame structure in a communication system;
图6为实施案例的硬件平台图。Figure 6 is a hardware platform diagram of an implementation case.
具体实施方式Detailed ways
下面结合附图对本发明作更进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
本发明的一种基于FPGA的动态毫米波通信场景中高速波束控制方法,基于NI毫米波系统通过一块单独的FPGA来控制波束的切换以及数据的交互过程,从而实现完整的波束控制功能。FPGA接收基带的功率信息用于波束的性能指标判断,同时从基带读取触发信号周期性控制波束跟踪的过程。通过实现一种基于随机选择优化模型的智能波束跟踪方法,在定义好的多个行为中通过UCB策略选取最佳行为确定扫描波束范围进行波束的测量和跟踪。通过定义SPI串口高速可控传输模式,实现可控速率的天线相移信息比特流写入。具体包括以下步骤:The present invention provides a high-speed beam control method in an FPGA-based dynamic millimeter-wave communication scenario. Based on the NI millimeter-wave system, a single FPGA is used to control the beam switching and data interaction process, thereby realizing a complete beam control function. The FPGA receives the power information of the baseband for the performance index judgment of the beam, and reads the trigger signal from the baseband to periodically control the beam tracking process. By implementing an intelligent beam tracking method based on a random selection optimization model, among the defined multiple behaviors, the optimal behavior is selected through the UCB strategy to determine the scanning beam range for beam measurement and tracking. By defining the high-speed controllable transmission mode of the SPI serial port, the bit stream writing of the antenna phase shift information at a controllable rate is realized. Specifically include the following steps:
步骤1:将码本空间定义为其中M是码本的大小,fi表示天线响应向量;根据天线格式将每个码字对应的控制比特流提前以字节形式写入memory中;通信系统接收端的波束控制模块首先对全码本进行一次全扫描,全扫描的实现通过建立初始化状态机来实现,状态转移过程如图1所示:先初始化波数序号i=0,最佳波束序号imax=0,最佳波束对应的功率pmax=0,然后进入SPI写入过程,根据天线需求,需要分多个阶段将波束控制信息,收发控制信息,使能信号写入天线;多个阶段总共写入nb个字节的数据,其中每一阶段写入的数据均从memory内存模块中读取,起始地址为i×nb+of,of为偏移地址;每一阶段写入的字节数为nbt,比特数为nbit;通过SPI_START信号通知SPI模块开始往天线写入当前阶段的数据;然后等待SPI模块反馈的SPI_DONE信号,当检测到该信号为高电平则说明本阶段数据写入完成;此时进行一个判断,多个阶段是否全部写入完成,若未完成则写入下一阶段数据,若完成则判断码本是否扫描完成,若完成则结束该过程进入波束跟踪的触发信号监测状态,等待进行波束跟踪的过程,若未完成扫描则更新最佳波束及最佳波束对应的功率;更新最佳波束信息后进行一次判断,是否所有波束方向都已搜索完毕,若未搜索完毕将波束序号加1重新进行SPI模块写入,若已经搜索完毕,则将最佳波束作为执行波束序号再执行一次SPI模块写入。Step 1: Define the codebook space as Among them, M is the size of the codebook, and f i represents the antenna response vector; according to the antenna format, the control bit stream corresponding to each codeword is written into the memory in advance in the form of bytes; the beam control module at the receiving end of the communication system A full scan is performed, and the realization of the full scan is realized by establishing an initialization state machine. The state transition process is shown in Figure 1: first initialize the wave number number i=0, the optimal beam number i max = 0, and the power p corresponding to the optimal beam max = 0, and then enter the SPI writing process. According to the requirements of the antenna, the beam control information, the sending and receiving control information, and the enabling signal need to be written into the antenna in multiple stages; a total of n b bytes of data are written in multiple stages, The data written in each stage is read from the memory memory module, the starting address is i ×n b +of, and of is the offset address; the number of bytes written in each stage is n bt , bit The number is n bit ; inform the SPI module to start writing the data of the current stage to the antenna through the SPI_START signal; then wait for the SPI_DONE signal fed back by the SPI module, when it is detected that the signal is high, it means that the data writing at this stage is completed; at this time A judgment is made to determine whether all the writing of multiple stages is completed. If not, write the data of the next stage. If it is completed, judge whether the scanning of the codebook is completed. If it is completed, end the process and enter the trigger signal monitoring state of beam tracking, and wait. In the process of beam tracking, if the scanning is not completed, the optimal beam and the corresponding power of the optimal beam are updated; after updating the optimal beam information, a judgment is made to determine whether all beam directions have been searched. 1. Re-write the SPI module. If the search has been completed, use the optimal beam as the execution beam serial number and execute the SPI module write again.
步骤2:波束初始化以及波束跟踪过程中,需要进行波束的性能测量,通过通信系统接收端的基带模块计算接收功率,以此作为指标判断当前天线所选择波束方向的性能好坏;波束测量要对每次扫描波束范围内所有的波束性能进行测量,并取出测量结果最佳的波束用于数据传输阶段的通信;同时波束跟踪过程是周期性进行的,每个周期是一个通信帧的时间,每个帧中有波束训练字段,在波束训练字段开始时,需要基带模块通知波束控制模块该回合波束跟踪的开始,使用PXI-trigger寄存器实现低时延信息传递,在传递使能信号时将寄存器置为高电平,且持续足够长的周期以保证可被波束控制模块读取;通过波束测量过程得到扫描波束的性能,通过性能比较得出最佳波束及对应的功率:Step 2: In the process of beam initialization and beam tracking, it is necessary to measure the performance of the beam, and calculate the received power through the baseband module at the receiving end of the communication system, and use this as an indicator to judge the performance of the beam direction selected by the current antenna; The performance of all beams within the sub-scanning beam range is measured, and the beam with the best measurement result is taken out for communication in the data transmission phase; at the same time, the beam tracking process is performed periodically, each period is the time of a communication frame, and each There is a beam training field in the frame. When the beam training field starts, the baseband module needs to notify the beam control module of the start of the round of beam tracking. Use the PXI-trigger register to achieve low-latency information transmission. When transmitting the enable signal, set the register to High level, and lasts for a long enough period to ensure that it can be read by the beam control module; the performance of the scanning beam is obtained through the beam measurement process, and the optimal beam and corresponding power are obtained through performance comparison:
其中,imax表示最佳波束,pmax表示最佳波束对应的功率,pi表示波束i所对应的功率;Among them, i max represents the optimal beam, p max represents the power corresponding to the optimal beam, and p i represents the power corresponding to the beam i;
在对当前波束的功率获取上,为补偿功率计算及PXIe总线传输引起的时延,更新当前最佳波束前等待时间τμs。In the power acquisition of the current beam, in order to compensate for the delay caused by power calculation and PXIe bus transmission, the waiting time τμs before the current optimal beam is updated.
步骤3:波束初始化执行后得到整个码本空间当前时刻的最佳波束:Step 3: After the beam initialization is performed, the entire codebook space is obtained The best beam at the current moment:
初始过程完成后进入波束训练阶段,该阶段由训练触发信号使能,通过建立波束训练状态机完成,状态转移过程如图2所示,波束跟踪阶段采用随机选择优化模型,预先设置多个波束行为,每个行为的表示为(blast,o,c),blast表示上次波束训练得到的最佳波束,初始值为imax,o表示行为中首个波束相对于blast的偏移,c表示行为中波束的个数,且行为中的波束是连续的;(blast,o,c)所包含的波束为(blast-o,blast-o+1,blast-o+2,…,blast-o+c-1);开始训练后,首先进初始化训练过程所需参数,建立多个参数数组存储行为的偏移值,波束个数,平均回报值,被选中的回合数,以及UCB(Upper Confidence Bound)值,每个数组的索引与行为编号一一对应;初始化之后从UCB数组中选择UCB值最大的行为进行训练,并利用该行为作为索引获得其在偏移值数组和波束数目数组中对应的值,生成该行为的候选波束集合;UCB的初始值应设为一个极大值使得每个行为被至少训练到一次;通信系统接收端对行为中的波束集分别进行测量,波束的天线写入过程与波束初始化中的过程一致,基带模块在时域上通过下式计算当前波束接收信号的能量:After the initial process is completed, the beam training phase is entered. This phase is enabled by the training trigger signal and is completed by establishing a beam training state machine. The state transition process is shown in Figure 2. The beam tracking phase adopts a random selection optimization model and presets multiple beam behaviors , each behavior is represented as (b last , o, c), b last represents the best beam obtained from the last beam training, the initial value is i max , o represents the offset of the first beam in the behavior relative to b last , c represents the number of beams in the behavior, and the beams in the behavior are continuous; the beams included in (b last ,o,c) are (b last -o,b last -o+1,b last -o+2 ,...,b last -o+c-1); after starting the training, first initialize the parameters required for the training process, and establish multiple parameter arrays to store the offset value of the behavior, the number of beams, the average return value, and the selected round. number, and UCB (Upper Confidence Bound) value, the index of each array corresponds to the behavior number one-to-one; after initialization, select the behavior with the largest UCB value from the UCB array for training, and use the behavior as an index to obtain its offset value The corresponding value in the array and the number of beams array, generate the candidate beam set of the behavior; the initial value of UCB should be set to a maximum value so that each behavior is trained at least once; For measurement, the antenna writing process of the beam is consistent with the process of beam initialization. The baseband module calculates the energy of the current beam received signal in the time domain by the following formula:
其中yi为接收端信道估计均衡后的时域信号,T表示计算的接收信号长度;where y i is the time domain signal after channel estimation and equalization at the receiving end, and T represents the calculated length of the received signal;
对行为中的波束全部测量之后选出最佳波束,过程同波束初始化;然后需要确定此次训练的奖励:After all the beams in the behavior are measured, the best beam is selected, and the process is the same as beam initialization; then the reward for this training needs to be determined:
其中,r1和r2为定值,pthr为接收端功率阈值;根据奖励值通过当前行为索引更新平均回报数组,行为选择回合数数组和UCB值数组对应的参数值,同时更新训练总回合计数:Among them, r 1 and r 2 are fixed values, and p thr is the power threshold of the receiver; according to the reward value, the average reward array is updated through the current behavior index, and the behavior selects the parameter values corresponding to the round number array and the UCB value array, and at the same time, the total training round is updated. count:
其中,μ代表平均回报值,nsel代表本次训练行为被选中的回合数,nto表示总回合数,u表示UCB值。Among them, μ represents the average reward value, n sel represents the number of rounds selected for this training behavior, n to represents the total number of rounds, and u represents the UCB value.
步骤4:SPI模块根据波束初始化及波束训练状态机传入的波束索引和数据量参数从memory中获取相应的字节数据,然后通过自定义高速SPI写入协议将数据通过串口写入天线;自定义SPI写入协议流程如图3所示,获取需要写入的数据的起始地址i×nb+of,总字节数nbt,比特数为nbit,然后将nbt个数据全部写入FIFO存储结构中;建立一个控件表示剩余待写入的比特数,并初始化为总比特数nbit,同时向时钟接口写入时钟信号;设置控件v存储每轮向天线写入的数据,然后将该数据逐个比特写入天线,v是一个l比特大小的数据;设置v中初始比特索引,从该索引对应的比特数据开始逐个写入;由于总共需要写入的比特数nbit通常并非l的整数倍,所以写入的第一个数据的前几位通常是无效位,这时的初始比特索引设为有效位的起始,取值为l-(l×nbt-nbit)-1;从FIFO存储结构中读取数据存储在v中,判断总比特数与剩余比特数是否相等,相等则说明此时处于写入开始阶段,需要拉低片选信号以及天线使能信号,同时将v的初始比特索引按上述设置;如果不相等,说明此刻并非第一次从FIFO读数,只需要将v中初始比特索引设为l即可;在FPGA每个工作周期向天线写入时钟信号,并同时写入v中当前索引对应的比特数据,然后将索引减1,剩余待写入比特数减1;判断索引是否为0,不为0则重复写比特及时钟信号的过程。若为0则判断剩余待写入比特数是否为0,不为0则继续从FIFO中读取数据执行比特写入,若已为0则说明nbit个比特数据写入完成,此时重置片选信号和天线使能信号,由于天线需要响应时间,根据响应时间长短使能信号应晚于片选信号进行重置。Step 4: The SPI module obtains the corresponding byte data from the memory according to the beam index and data volume parameters passed in by the beam initialization and beam training state machine, and then writes the data into the antenna through the serial port through the custom high-speed SPI writing protocol; Define the SPI write protocol flow as shown in Figure 3, obtain the starting address of the data to be written i ×n b +of , the total number of bytes n bt , the number of bits is n bit , and then all n bt data Write into the FIFO storage structure; establish a control to indicate the remaining number of bits to be written, and initialize it to the total number of bits n bit , and write the clock signal to the clock interface at the same time; set the control v to store the data written to the antenna in each round, Then write the data into the antenna bit by bit, v is a data of 1 bit size; set the initial bit index in v, and start writing one by one from the bit data corresponding to the index; because the total number of bits to be written, n bits are usually not Integer multiples of l, so the first few bits of the first data written are usually invalid bits. At this time, the initial bit index is set to the beginning of the valid bits, and the value is l-(l×n bt -n bit ) -1; read data from the FIFO storage structure and store it in v, and judge whether the total number of bits is equal to the remaining number of bits. If they are equal, it means that the writing is in the beginning stage, and the chip select signal and antenna enable signal need to be pulled down. At the same time, set the initial bit index of v as above; if it is not equal, it means that it is not the first time to read from the FIFO at this moment, and you only need to set the initial bit index in v to 1; write the clock to the antenna in each working cycle of the FPGA signal, and write the bit data corresponding to the current index in v at the same time, then reduce the index by 1, and reduce the number of remaining bits to be written by 1; judge whether the index is 0, and repeat the process of writing bits and clock signals if it is not 0. If it is 0, judge whether the remaining number of bits to be written is 0. If it is not 0, continue to read data from the FIFO and perform bit writing. If it is 0, it means that n bit data writing is completed, and reset at this time. Chip select signal and antenna enable signal, since the antenna needs response time, the enable signal should be reset later than the chip select signal according to the length of the response time.
步骤5:设置最低通信质量门槛plim,代表维持正常通信质量的最低性能阈值;设立连续失败次数控件nfail=0,根据波束训练得到的最佳波束对应功率值判断此时训练结果是否达标,若不满足最低通信标准则nfail=nfail+1,同时数据传输阶段所使用的波束仍然为上一次符合标准的训练结果,若满足标准则nfail=0;当nfail达到一定阈值nlim时重新执行初始波束建立的步骤以恢复最佳波束。Step 5: Set the minimum communication quality threshold p lim , which represents the minimum performance threshold for maintaining normal communication quality; set up a control for the number of consecutive failures n fail =0, and judge whether the training result at this time meets the standard according to the optimal beam corresponding power value obtained by beam training, If the minimum communication standard is not met, n fail =n fail +1, and the beam used in the data transmission phase is still the last training result that met the standard. If the standard is met, n fail =0; when n fail reaches a certain threshold n lim When re-executing the initial beam-building steps to restore the optimal beam.
步骤6:在每帧的数据传输阶段使用训练得到的最佳波束进行通信,同时波束控制模块停留在使能检测阶段,持续检测PXI-trigger寄存器信号,若检测到高电平则进入波束训练过程。Step 6: In the data transmission phase of each frame, the optimal beam obtained by training is used for communication. At the same time, the beam control module stays in the enable detection phase and continues to detect the PXI-trigger register signal. If a high level is detected, the beam training process is entered. .
图5所示为训练周期示意图,每一个通信帧为一个训练周期,包括波束训练阶段和数据传输阶段。基于NI毫米波原型验证机平台作具体实施案例说明,其中FPGA 7902作为基带处理部分,7820作为波束控制部分,代码环境为LabVIEW 2015,训练周期为ts,每次训练时长为tr,设置好行为个数以及每个行为的波束偏移和波束数目。在7902中计算功率值:Figure 5 shows a schematic diagram of a training period, each communication frame is a training period, including a beam training phase and a data transmission phase. Based on the NI millimeter wave prototype verification machine platform, a specific implementation case is described, in which the FPGA 7902 is used as the baseband processing part, the 7820 is used as the beam control part, the code environment is LabVIEW 2015, the training period is t s , and each training time is tr . The number of actions and the beam offset and number of beams for each action. Calculate the power value in the 7902:
通过建立7902与7820的点对点通信FIFO传输功率值,建立trigger信号实时传递波束训练使能信号。阵列天线采用了相控阵天线ZMB28-64TRA,切换一次方向需分四个阶段共写入nbit个比特数据,支持SPI串口高速模式写入。波束方向由相控矩阵H控制,共包含64个天线单元。波束方向θ和相移之间的关系由下式给出:By establishing the point-to-point communication FIFO transmission power value of 7902 and 7820, the trigger signal is established to transmit the beam training enable signal in real time. The array antenna adopts the phased array antenna ZMB28-64TRA. It needs to write n bits of data in four stages when switching one direction, and supports SPI serial port high-speed mode writing. The beam direction is controlled by the phased matrix H, which contains a total of 64 antenna elements. The relationship between beam direction θ and phase shift is given by:
其中,代表水平或垂直相移,k0是自由空间中的波数,d是元素间距。通常,d取λ/2,取2π/λ。根据角度值计算出相移值,然后根据相移值生成控制帧数据存入7820的memory中。in, represents the horizontal or vertical phase shift, k0 is the wavenumber in free space, and d is the element spacing. Usually, d takes λ/2 and takes 2π/λ. Calculate the phase shift value according to the angle value, and then generate the control frame data according to the phase shift value and store it in the memory of the 7820.
FPGA工作之后即进行初始化过程,初始化所有选项的偏移为{o1,o2,…on},选项训练次数为{0,0,…,0},总训练次数nto=0,当前波束序号i=0,最佳波束序号imax=0,最佳波束对应功率pmax=0。码本设计为After the FPGA works, the initialization process is carried out. The offsets of all options are initialized as { o 1 , o 2 ,...on }, the number of options training is {0,0,...,0}, the total number of training nto =0, the current The beam sequence number i=0, the optimal beam sequence number i max =0, and the optimal beam corresponding power p max =0. The codebook is designed as
将码本所有波束依次切换,每次分四个阶段数据写入天线,四个阶段总共写入nb个字节的数据,其中每一阶段写入的数据均从memory内存模块中读取,起始地址为i×nb+of,of为偏移地址。每一阶段写入的字节数为nbt,比特数为nbit。通过SPI_START信号通知SPI模块开始往天线写入当前阶段的数据。然后等待SPI反馈的SPI_DONE信号,当检测到该信号为高电平则说明本阶段数据写入完成。此时进行一个判断,多个阶段是否全部写入完成,若未完成则写入下一阶段数据,若完成则判断码本是否扫描完成,若完成则结束该过程进入波束跟踪的触发信号监测状态,等待进行波束跟踪的过程,若未完成扫描则更新最佳波束及最佳波束对应的功率。更新最佳波束信息后进行一次判断,是否所有波束方向都已搜索完毕,若未搜索完毕将波束序号加1重新进行SPI模块写入,若已经搜索完毕,则根据获得的最佳波束imax,将最佳波束作为执行波束序号再执行一次SPI模块写入,并更新上次最佳波束blast=imax,进入波束跟踪阶段,等待波束训练触发信号。Switch all beams of the codebook in turn, write data into the antenna in four stages each time, and write n b bytes of data in total in the four stages. The data written in each stage is read from the memory memory module. The starting address is i×n b +of , and of f is the offset address. The number of bytes written in each stage is n bt , and the number of bits is n bit . Through the SPI_START signal, the SPI module is notified to start writing the data of the current stage to the antenna. Then wait for the SPI_DONE signal fed back by the SPI. When it is detected that the signal is high, it means that the data writing at this stage is completed. At this time, a judgment is made to determine whether all the writing of multiple stages is completed. If not, write the data of the next stage. If it is completed, it is judged whether the scanning of the codebook is completed. If it is completed, the process is ended and the trigger signal monitoring state of beam tracking is entered. , wait for the beam tracking process, and update the optimal beam and the power corresponding to the optimal beam if the scanning is not completed. After updating the optimal beam information, a judgment is made to determine whether all beam directions have been searched. If the search is not completed, add 1 to the beam serial number and rewrite the SPI module. If the search has been completed, according to the obtained optimal beam i max , The optimal beam is used as the execution beam serial number to execute the SPI module writing again, and the last optimal beam b last = i max is updated to enter the beam tracking stage and wait for the beam training trigger signal.
当trigger信号为高电平时,触发波束训练过程,每隔ts触发一次。初始化参数后,选择最佳UCB选项:When the trigger signal is high, the beam training process is triggered, and it is triggered every t s . After initializing the parameters, choose the best UCB option:
获得搜索波束范围的起始及结束序号:Get the start and end sequence numbers of the search beam range:
i=blast+oa,ifinal=i+ci=b last +o a ,i final =i+c
训练选项范围内的波束,对于每个波束方向的切换通过定义SPI协议来实现。选择波束及功率,根据训练结果更新参数。将此次训练的奖励设为:The beams within the training options are switched for each beam direction by defining the SPI protocol. Select the beam and power, and update the parameters according to the training results. Set the reward for this training to:
出最佳the best
x1和x2为固定值,优化目标为跟踪成功率,即平均奖励值:x 1 and x 2 are fixed values, and the optimization goal is to track the success rate, that is, the average reward value:
同时更新选项的训练计数和总训练计数:Update both the training count and the total training count for the option:
计算各选项的UCB值,如下:Calculate the UCB value of each option as follows:
对训练结果进行错误监测,判断选择的波束方向是否达标,通过对比最佳波束功率与最低标准功率,如果未达标则将连续失准次数加一,nfail=nfail+1,同时将最佳波束方向置为上次最佳波束,如果达标则nfail=0。如果连续失准次数达到一定阈值nfail>nlim则重新进入初始化过程扫描码本恢复最佳波束,否则等待下次训练触发信号。Perform error monitoring on the training results to determine whether the selected beam direction meets the standard. By comparing the optimal beam power with the minimum standard power, if it fails to meet the standard, the number of consecutive misalignments will be increased by one, n fail = n fail +1, and at the same time the optimal beam power will be increased by one. The beam direction is set to the last best beam, and if it reaches the standard, n fail =0. If the number of consecutive misalignments reaches a certain threshold nfail > nlim , then re-enter the initialization process to scan the codebook to restore the optimal beam, otherwise wait for the next training trigger signal.
在每帧的数据传输阶段使用训练得到的最佳波束进行通信,同时波束控制模块停留在使能检测阶段,持续检测PXI-trigger寄存器信号,若检测到高电平则进入波束训练过程。In the data transmission phase of each frame, the optimal beam obtained by training is used for communication. At the same time, the beam control module stays in the enable detection phase and continues to detect the PXI-trigger register signal. If it detects a high level, it enters the beam training process.
通过该平台传输直播视频数据时,如图6所示,接收端处于实时移动状态,通过设计波束控制模块,实现基于FPGA的智能波束跟踪算法,可实现收发端的持续对齐,接收端直播视频的播放始终保持流畅清晰,不会产生卡顿模糊的现象。When transmitting live video data through this platform, as shown in Figure 6, the receiving end is in a real-time moving state. By designing a beam control module to implement an FPGA-based intelligent beam tracking algorithm, the continuous alignment of the sending and receiving ends can be realized, and the live video playback of the receiving end can be realized. Always keep it smooth and clear, without the phenomenon of stuttering and blurring.
以上所述仅是本发明的优选实施方式,应当指出:对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以做出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only the preferred embodiment of the present invention, it should be pointed out that: for those skilled in the art, without departing from the principle of the present invention, several improvements and modifications can also be made, and these improvements and modifications are also It should be regarded as the protection scope of the present invention.
Claims (7)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110522022.4A CN113259033B (en) | 2021-05-13 | 2021-05-13 | An FPGA-based high-speed beam steering method in a dynamic mmWave communication scenario |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110522022.4A CN113259033B (en) | 2021-05-13 | 2021-05-13 | An FPGA-based high-speed beam steering method in a dynamic mmWave communication scenario |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113259033A true CN113259033A (en) | 2021-08-13 |
CN113259033B CN113259033B (en) | 2022-11-29 |
Family
ID=77181709
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110522022.4A Active CN113259033B (en) | 2021-05-13 | 2021-05-13 | An FPGA-based high-speed beam steering method in a dynamic mmWave communication scenario |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113259033B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI802411B (en) * | 2022-05-13 | 2023-05-11 | 台達電子工業股份有限公司 | Antenna device and beam control method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921422A (en) * | 2015-12-24 | 2017-07-04 | 上海贝尔股份有限公司 | For the method and system of the channel estimation of the mixed-beam shaping in MMW channels |
WO2017153588A2 (en) * | 2016-03-11 | 2017-09-14 | Sony Corporation | Beamforming device and method, communication device and communication system |
CN110365375A (en) * | 2019-06-26 | 2019-10-22 | 东南大学 | Beam alignment and tracking method and computer equipment in millimeter wave communication system |
WO2020005296A1 (en) * | 2018-06-29 | 2020-01-02 | Brent Elliott | Millimeter wave beam tracking and beam sweeping |
CN111555786A (en) * | 2020-04-24 | 2020-08-18 | 深圳清华大学研究院 | Optimal beam pair searching method and device, computer equipment and storage medium |
-
2021
- 2021-05-13 CN CN202110522022.4A patent/CN113259033B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921422A (en) * | 2015-12-24 | 2017-07-04 | 上海贝尔股份有限公司 | For the method and system of the channel estimation of the mixed-beam shaping in MMW channels |
WO2017153588A2 (en) * | 2016-03-11 | 2017-09-14 | Sony Corporation | Beamforming device and method, communication device and communication system |
WO2020005296A1 (en) * | 2018-06-29 | 2020-01-02 | Brent Elliott | Millimeter wave beam tracking and beam sweeping |
CN110365375A (en) * | 2019-06-26 | 2019-10-22 | 东南大学 | Beam alignment and tracking method and computer equipment in millimeter wave communication system |
CN111555786A (en) * | 2020-04-24 | 2020-08-18 | 深圳清华大学研究院 | Optimal beam pair searching method and device, computer equipment and storage medium |
Non-Patent Citations (1)
Title |
---|
任东明: "《中国优秀博硕士学位论文全文数据库(硕士)信息科技辑》", 15 June 2020 * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI802411B (en) * | 2022-05-13 | 2023-05-11 | 台達電子工業股份有限公司 | Antenna device and beam control method |
Also Published As
Publication number | Publication date |
---|---|
CN113259033B (en) | 2022-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110365375A (en) | Beam alignment and tracking method and computer equipment in millimeter wave communication system | |
CN110971279A (en) | Intelligent beam training method and precoding system in millimeter wave communication system | |
CN101453255A (en) | Beam forming method, system and apparatus | |
CN114172547A (en) | Hybrid precoding design method for wireless energy-carrying communication based on smart reflector | |
JPWO2007037418A1 (en) | Antenna selection method and wireless communication apparatus | |
CN116094553B (en) | Vehicle networking RIS auxiliary attention mechanism communication and perception method based on tensor decomposition | |
CN101488792A (en) | Wave beam shaping method and apparatus | |
CN101867401A (en) | A 60GHz multi-antenna system and its signal processing method for occlusion avoidance | |
CN113259033A (en) | High-speed wave beam control method in dynamic millimeter wave communication scene based on FPGA | |
CN105337618B (en) | Parallel backward compatible multimode IRA_LDPC decoder and its interpretation method | |
CN101119147A (en) | Method and device for estimating spatial direction of arrival | |
CN101013916A (en) | Method and apparatus for implementing reception of diversity with intelligent antenna | |
CN108494433B (en) | Single-wire communication method and circuit implementation thereof | |
CN113364505B (en) | A Self-Adaptive Beam Steering FPGA Implementation Method for Ultra-High-Speed Serial Interface Array Antennas | |
CN108199756A (en) | The selection method of the active antenna group of transmitting terminal in generalized space modulation communication system | |
CN118118882A (en) | Directional antenna neighbor discovery method, device, electronic equipment and storage medium | |
CN101316129A (en) | Antenna sharing system and method in open loop mode | |
CN104821840B (en) | A kind of anti-interference method of extensive multiple-input and multiple-output downlink system | |
CN114325606B (en) | Multi-system agile radar radio frequency echo signal simulation method | |
CN108541021B (en) | A dynamic channel allocation method suitable for underwater glider network | |
CN114025342B (en) | Wireless network neighbor discovery method and device | |
CN110996384B (en) | Ultraviolet light networking system and method based on synchronous communication | |
WO2023088376A1 (en) | Uplink transmission method and apparatus, terminal and bsc receiving device | |
CN116015390A (en) | A Fast and Low Complexity Beam Scanning Method | |
CN111898087B (en) | Array Antenna Subvector Cyclic Constrained Optimal Beamforming System and Method |
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 |