CN111836273B - Method for improving coverage uniformity of received power of indoor wireless communication system - Google Patents
Method for improving coverage uniformity of received power of indoor wireless communication system Download PDFInfo
- Publication number
- CN111836273B CN111836273B CN202010441693.3A CN202010441693A CN111836273B CN 111836273 B CN111836273 B CN 111836273B CN 202010441693 A CN202010441693 A CN 202010441693A CN 111836273 B CN111836273 B CN 111836273B
- Authority
- CN
- China
- Prior art keywords
- better
- pos
- access point
- sequence
- var
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 177
- 238000000034 method Methods 0.000 title claims abstract description 31
- 239000011159 matrix material Substances 0.000 claims abstract description 91
- 238000004364 calculation method Methods 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 claims description 13
- 238000012804 iterative process Methods 0.000 claims description 2
- 238000010606 normalization Methods 0.000 abstract 1
- 238000010586 diagram Methods 0.000 description 5
- 238000003491 array Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000002238 attenuated effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- 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/18—Network planning tools
- H04W16/20—Network planning tools for indoor coverage or short range network deployment
-
- 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)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明提出了一种提高室内无线通信系统接收功率覆盖均匀性的方法,预定义通信接入点布局位置序列PosAP,布局参数Symis等相关参数;计算总接收功率矩阵Pr;计算Pr的归一化方差,并设置状态参数;执行外层迭代循环;更新状态参数;根据布局参数Symis更新PosAP;执行内层循环,比较最佳归一化方差Varbetterin与更优归一化方差Varbetter的大小,若Varbetterin<Varbetter,则更新更优归一化方差,记录更优功率因子序列、更优通信接入点布局位置序列;否则,依据Metropolis准则计算逃脱概率P,并根据逃脱概率P决定是否随机生成全新的PosAP;判断外层循环是否结束,若结束输出最佳Posbetter和其匹配的最佳Kbetter。本发明可以提高室内无线通信系统接收功率覆盖均匀性,提升系统有效性和可靠性。
The present invention proposes a method for improving the coverage uniformity of the received power of an indoor wireless communication system. The pre-defined communication access point layout position sequence Pos AP , the layout parameter Symis and other related parameters; the total received power matrix Pr is calculated; the normalization of Pr is calculated. Normalize the variance and set the state parameters; execute the outer iteration loop; update the state parameters; update the Pos AP according to the layout parameter Sym is ; execute the inner loop, compare the best normalized variance Var betterin and the better normalized variance Var The size of better , if Var betterin <Var better , update the better normalized variance, record the better power factor sequence and the better communication access point layout position sequence; otherwise, calculate the escape probability P according to the Metropolis criterion, and according to the escape probability The probability P determines whether to randomly generate a new Pos AP ; it determines whether the outer loop is over, and if it ends, the best Pos better and its matching best K better are output. The invention can improve the coverage uniformity of the received power of the indoor wireless communication system, and improve the effectiveness and reliability of the system.
Description
技术领域technical field
本发明涉及无线通信技术领域,具体涉及一种优化通信接入点AP布局和发射功率因子以提高室内无线通信系统接收功率覆盖均匀性的实现方法。The invention relates to the technical field of wireless communication, in particular to an implementation method for optimizing the AP layout and transmit power factor of a communication access point to improve the coverage uniformity of received power in an indoor wireless communication system.
背景技术Background technique
在室内无线通信系统中,通信终端MS可以通过室内的通信接入点AP(AccessPoints)进行通信,采用合理的通信接入点布局和匹配的发射功率因子取值使得室内无线通信系统能够实现通信终端MS与通信接入点AP双方的高速率数据传输。In the indoor wireless communication system, the communication terminal MS can communicate through the indoor communication access points AP (AccessPoints). The use of a reasonable communication access point layout and matching transmission power factor value enables the indoor wireless communication system to realize the communication terminal. High-speed data transmission between MS and communication access point AP.
目前,室内无线通信系统的通信接入点布局和发射功率因子取值一般采用主观的实现方案,这可能导致系统下行链路在同一水平面的接收功率覆盖不均匀,进而难以保证通信服务的公平性。尤其在室内可见光通信系统中,通信接入点LED需要在保证照明需求的同时完成通信,不合理的实现方案将使得其通信质量急剧下降,因此需要一种合理的通信接入点LED布局和匹配的发射功率因子取值的实现方案以使得该系统的接收功率覆盖更加均匀。At present, the layout of communication access points and the value of transmission power factor of indoor wireless communication systems generally adopt subjective implementation schemes, which may lead to uneven coverage of the received power of the system downlink at the same level, which makes it difficult to ensure the fairness of communication services. . Especially in the indoor visible light communication system, the communication access point LED needs to complete the communication while ensuring the lighting demand. An unreasonable implementation scheme will make the communication quality drop sharply. Therefore, a reasonable communication access point LED layout and matching are required. The implementation scheme of the value of the transmit power factor to make the receive power coverage of the system more uniform.
因此,需要一种能够提高室内无线通信系统接收功率覆盖均匀性的方法,以保证通信服务的公平性并提供室内无线通信系统的有效性和可靠性。Therefore, there is a need for a method that can improve the coverage uniformity of the received power of an indoor wireless communication system, so as to ensure the fairness of communication services and provide the effectiveness and reliability of the indoor wireless communication system.
发明内容SUMMARY OF THE INVENTION
发明目的:本发明提出一种提高室内无线通信系统接收功率覆盖均匀性的方法,可以提升室内无线通信系统接收功率覆盖均匀性的,增强系统有效性和可靠性。Purpose of the invention: The present invention proposes a method for improving the coverage uniformity of the received power of the indoor wireless communication system, which can improve the uniformity of the received power coverage of the indoor wireless communication system and enhance the effectiveness and reliability of the system.
发明内容:本发明提出一种提高室内无线通信系统接收功率覆盖均匀性的方法,包括以下步骤:SUMMARY OF THE INVENTION The present invention proposes a method for improving the coverage uniformity of received power in an indoor wireless communication system, including the following steps:
(1)预先定义室内空间的长宽r1,高度hr,移动终端的高度h,通信接入点AP的个数NumAP,初始通信接入点布局位置序列PosAP,初始发射功率因子序列KAP(取值范围为[0,1]),通信接入点发射功率Pt,系统的信道矩阵Η,布局参数Symis,外层循环迭代过程中所需的逃脱概率P(P≤1),衰减参数α(α<1),起始参数T0,终止参数Tf(Tf<T0),状态参数Tnow,内层循环迭代过程中所需的迭代次数Nummax,群体规模Nump,群体更新参数c,惯性参数w(0<w<1),最大速度参数vm;(1) Predefine the length and width r 1 of the indoor space, the height hr , the height h of the mobile terminal, the number of communication access points AP Num AP , the initial communication access point layout position sequence Pos AP , and the initial transmission power factor sequence K AP (value range is [0,1]), the transmission power P t of the communication access point, the channel matrix H of the system, the layout parameter Symis , the escape probability P (P≤1) required in the outer loop iteration process ), decay parameter α (α<1), start parameter T 0 , end parameter T f (T f <T 0 ), state parameter T now , the number of iterations Num max required in the inner loop iteration process, the population size Num p , the group update parameter c, the inertia parameter w (0<w<1), the maximum speed parameter v m ;
(2)计算高度为h的水平面总接收功率矩阵Pr,对于坐标为(x,y)处的接收功率计算公式如下: (2) Calculate the total received power matrix Pr of the horizontal plane with a height of h. For the received power at the coordinates (x, y), the calculation formula is as follows:
(3)计算总接收功率矩阵Pr的归一化方差,记录更优归一化方差Varbetter=Varnow、更优功率因子序列Kbetter=KAP、更优通信接入点布局位置序列Posbetter=PosAP,设置状态参数为Tnow=T0;(3) Calculate the normalized variance of the total received power matrix Pr, and record the better normalized variance Var better =Var now , the better power factor sequence K better =K AP , and the better communication access point layout position sequence Pos better =Pos AP , set the state parameter as T now =T 0 ;
(4)执行外层迭代循环,终止条件为Tnow<Tf;(4) Execute the outer iteration loop, and the termination condition is T now <T f ;
(5)更新状态参数:Tnow=α·Tnow;(5) Update state parameters: T now =α·T now ;
(6)根据布局参数Symis更新通信接入点布局位置矩阵PosAP;(6) update communication access point layout position matrix Pos AP according to layout parameter Sym is ;
(7)执行内层循环,该循环迭代过程中将逐步搜索出与当前通信接入点布局位置序列PosAP相匹配的最佳功率因子序列Kbetterin;(7) perform inner layer loop, in this loop iteration process, will gradually search out the best power factor sequence K betterin that matches with the current communication access point layout position sequence Pos AP ;
(8)比较内层循环获得的最佳归一化方差Varbetterin与更优归一化方差Varbetter的大小,若Varbetterin<Varbetter,则更新更优归一化方差,记录更优功率因子序列、更优通信接入点布局位置序列;否则,依据Metropolis准则计算逃脱概率P,并根据逃脱概率P决定是否随机生成全新的通信接入点布局位置序列PosAP;(8) Compare the best normalized variance Var betterin obtained by the inner loop and the better normalized variance Var better , if Var betterin <Var better , update the better normalized variance and record the better power factor sequence, a better communication access point layout position sequence; otherwise, calculate the escape probability P according to the Metropolis criterion, and decide whether to randomly generate a new communication access point layout position sequence Pos AP according to the escape probability P;
(9)判断外层迭代循环是否结束,若Tnow≥Tf,则跳至步骤S4继续完成外层迭代循环;若Tnow<Tf,则完成外层迭代循环,执行步骤(10);(9) Judging whether the outer iteration loop is over, if T now ≥ T f , skip to step S4 to continue to complete the outer iteration loop; if T now <T f , complete the outer iteration loop, and execute step (10);
(10)通过完成上述循环迭代计算,室内无线通信系统已获得最佳通信接入点布局序列和其匹配的最佳发射功率因子序列,输出当前室内无线通信系统的最佳通信接入点布局序列Posbetter和其匹配的最佳发射功率因子序列Kbetter。(10) By completing the above loop iterative calculation, the indoor wireless communication system has obtained the optimal communication access point layout sequence and its matching optimal transmission power factor sequence, and outputs the optimal communication access point layout sequence of the current indoor wireless communication system. Pos better and its matched optimal transmit power factor sequence K better .
进一步地,步骤(1)所述的通信接入点AP有多个。Further, there are multiple communication access points APs described in step (1).
进一步地,所述步骤(6)包括以下步骤:Further, described step (6) comprises the following steps:
(61)若Symis=1,则按照中心对称布局结构更新通信接入点布局位置序列PosAP,对第一个通信接入点的位置产生随机扰动,修订后获得新的第一个通信接入点的位置PosAP(1);生成角度序列Rot(i)=2π·(i-1)/(NumAP-1),i=1,2,…,NumAP;生成新的通信接入点位置矩阵PosAP=PosAP(1)·Rot,PosAP(NumAP)=0+j0;(61) If Sym is = 1, update the communication access point layout position sequence Pos AP according to the center-symmetric layout structure, generate random disturbance to the position of the first communication access point, and obtain a new first communication access point after revision. The position of the entry point Pos AP (1); generate the angle sequence Rot(i)=2π·(i-1)/(Num AP -1), i=1,2,...,Num AP ; generate a new communication access Point position matrix Pos AP =Pos AP (1)·Rot, Pos AP (Num AP )=0+j0;
(62)若Symis=2,则按照圆形对称布局结构更新通信接入点布局位置序列PosAP,对第一个通信接入点的位置产生随机扰动,修订后获得新的第一个通信接入点的位置PosAP(1);生成角度序列Rot(i)=2π·(i-1)/NumAP,i=1,2,…,NumAP;生成新的通信接入点位置矩阵PosAP=PosAP(1)·Rot;(62) If Sym is = 2, update the communication access point layout position sequence Pos AP according to the circular symmetric layout structure, generate random disturbance to the position of the first communication access point, and obtain a new first communication after the revision The position of the access point Pos AP (1); generate the angle sequence Rot(i)=2π·(i-1)/Num AP , i=1,2,...,Num AP ; generate a new communication access point position matrix Pos AP = Pos AP (1) Rot;
(63)否则,按照随机布局结构更新通信接入点布局位置序列PosAP,对原通信接入点对称布局位置序列产生随机扰动,修订后获得新的通信接入点布局位置矩阵PosAP。(63) Otherwise, update the communication access point layout position sequence Pos AP according to the random layout structure, generate random disturbance to the original communication access point symmetrical layout position sequence, and obtain a new communication access point layout position matrix Pos AP after revision.
进一步地,所述步骤(7)包括以下步骤:Further, described step (7) comprises the following steps:
(71)随机生成大小为Nump×NumAP的速度矩阵V,矩阵元素的取值范围为[0,vm];随机生成大小为Nump×NumAP的发射功率因子矩阵K,矩阵元素的取值范围为[0,1];记录内层更优归一化方差Varbetterin=Varbetter,记录内层更优功率因子序列Kbetterin=Kbetter;(71) Randomly generate a velocity matrix V with a size of Num p ×Num AP , and the value range of the matrix elements is [0, v m ]; randomly generate a transmit power factor matrix K with a size of Num p ×Num AP , and the The value range is [0,1]; record the inner layer better normalized variance Var betterin =Var better , and record the inner layer better power factor sequence K betterin =K better ;
(72)执行内层循环,直到迭代次数Nummax;(72) Execute the inner loop until the number of iterations Num max ;
(73)生成属于[0,1]的随机数n,更新速度矩阵V:V=w·V+c·n·(K2-K),其中K2矩阵大小为Nump×NumAP,且矩阵的每一行均等于Kbetterin;若速度矩阵中某些元素的绝对值超过最大速度参数vm,则对速度矩阵进行修正:V(V<-vm)=-vm,V(V>vm)=vm;(73) Generate a random number n belonging to [0,1], update the speed matrix V: V=w·V+c·n·(K2-K), where the size of the K2 matrix is Num p ×Num AP , and the matrix of Each row is equal to K betterin ; if the absolute value of some elements in the velocity matrix exceeds the maximum velocity parameter v m , the velocity matrix is corrected: V(V<-v m )=-v m , V(V>v m )= vm ;
(74)K=K+V,更新发射功率因子矩阵;若发射功率因子矩阵中某些元素超过范围[0,1],则对发射功率因子矩阵进行修正:K(K<0)=0,K(K>1)=1,并将发射功率因子矩阵每一行发射功率因子序列归一化;(74) K=K+V, update the transmit power factor matrix; if some elements in the transmit power factor matrix exceed the range [0,1], modify the transmit power factor matrix: K(K<0)=0, K(K>1)=1, and normalize the transmit power factor sequence of each row of the transmit power factor matrix;
(75)根据坐标矩阵Pos计算大小为Nump×X0×Y0的总接收功率三维矩阵Pr1,对于坐标为(x,y)处的接收功率计算公式如下:其中,Hi(0,x,y)指坐标为(x,y)处的信道直流增益,同时,Hi(0,x,y)的大小受到坐标为(x,y)处与通信接入点布局位置序列PosAP之间的距离大小控制;(75) Calculate the total received power three-dimensional matrix Pr1 with the size of Num p ×X 0 ×Y 0 according to the coordinate matrix Pos, and the calculation formula for the received power at the coordinate (x, y) is as follows: Among them, H i (0,x,y) refers to the DC gain of the channel at the coordinate (x,y), and at the same time, the size of H i (0,x,y) is affected by the coordinate at (x,y). The distance size control between the Pos APs of the in-point layout position sequence;
(76)计算总接收功率三维矩阵Pr1的归一化方差序列 获取归一化方差序列的最小归一化方差:其中m为Varnow对应的行数序号;(76) Calculate the normalized variance sequence of the total received power three-dimensional matrix Pr1 get normalized variance series The minimum normalized variance of : where m corresponds to Var now The line number sequence number;
(77)比较Varnow与内层更优归一化方差Varbetterin的大小,若Varnow<Varbetterin,说明获得了匹配当前通信接入点布局位置序列PosAP的更优发射功率因子序列,记录内层更优归一化方差Varbetterin=Varnow,记录内层更优功率因子序列Kbetterin=K(m,:);否则,不作处理;(77) Compare the magnitudes of Var now and the inner-layer better normalized variance Var betterin , if Var now <Var betterin , it means that a better transmit power factor sequence matching the current communication access point layout position sequence Pos AP has been obtained, and record Inner layer better normalized variance Var betterin =Var now , record inner layer better power factor sequence K betterin =K(m,:); otherwise, do not process;
(78)判断内层循环是否结束:若循环次数未超过迭代次数Nummax,则跳至步骤(72)继续完成内层循环;否则,内层循环已结束,即获得与当前通信接入点布局位置矩阵PosAP相匹配的最佳功率因子序列Kbetterin和匹配的最佳归一化方差Varbetterin。(78) Judging whether the inner loop is over: if the number of loops does not exceed the number of iterations Num max , then jump to step (72) to continue to complete the inner loop; otherwise, the inner loop has ended, that is, the layout with the current communication access point is obtained The position matrix Pos AP matches the optimal power factor sequence K betterin and the matched optimal normalized variance Var betterin .
进一步地,所述步骤(8)包括以下步骤:Further, described step (8) comprises the following steps:
(81)比较内层循环获得的最佳归一化方差Varbetterin与更优归一化方差Varbetter的大小,若Varbetterin<Varbetter,说明获得覆盖均匀性更佳的通信接入点布局位置序列和匹配的最佳功率因子序列,则执行(82);否则,说明获得覆盖均匀性更差的通信接入点布局位置序列和其匹配的功率因子序列,则执行(83);(81) Compare the optimal normalized variance Var betterin obtained by the inner loop and the better normalized variance Var better , if Var betterin <Var better , it means that the communication access point layout position with better coverage uniformity is obtained sequence and the matched optimal power factor sequence, then execute (82); otherwise, it indicates that the communication access point layout position sequence with worse coverage uniformity and its matched power factor sequence are obtained, execute (83);
(82)更新更优归一化方差Varbetter=Varbetterin,更新更优功率因子序列Kbetter=Kbetterin,记录更优通信接入点布局位置序列Posbetter=PosAP;(82) Update the better normalized variance Var better =Var betterin , update the better power factor sequence K better =K betterin , record the better communication access point layout position sequence Pos better =Pos AP ;
(83)按照Metropolis准则计算逃脱概率P,计算公式如下:P=exp{-(Varbetterin-Varbetter)/Tnow},并且生成一个属于[0,1]的随机数Num,该随机数满足平均分布;若Num≤P,则随机生成全新的通信接入点布局位置序列PosAP;否则,不作处理。(83) Calculate the escape probability P according to the Metropolis criterion. The calculation formula is as follows: P=exp{-(Var betterin -Var better )/T now }, and generate a random number Num belonging to [0,1], the random number satisfies Evenly distributed; if Num≤P, a new communication access point layout position sequence Pos AP is randomly generated; otherwise, no processing is performed.
有益效果:与现有技术相比,本发明的有益效果:本发明提出一种提高室内无线通信系统接收功率覆盖均匀性的实现方法,应用于室内无线通信系统,包含多个通信接入点AP,可以高效地搜索室内无线通信系统的最佳通信接入点布局和匹配的最佳发射功率因子序列,从而实现室内无线通信系统接收功率覆盖均匀性的显著提升以及系统有效性和可靠性的显著增强。Beneficial effects: Compared with the prior art, the beneficial effects of the present invention: The present invention proposes an implementation method for improving the coverage uniformity of the received power of an indoor wireless communication system, which is applied to an indoor wireless communication system and includes multiple communication access points AP , which can efficiently search for the best communication access point layout and the best matching transmit power factor sequence of the indoor wireless communication system, so as to achieve a significant improvement in the uniformity of the received power coverage of the indoor wireless communication system and the significant improvement in the effectiveness and reliability of the system. enhanced.
附图说明Description of drawings
图1为本发明的流程图;Fig. 1 is the flow chart of the present invention;
图2为本发明所述的LEDs阵列中心对称布局结构接收功率覆盖图,此处的室内无线通信系统为实施例的室内可见光通信系统,通信接入点AP为LEDs阵列;2 is a received power coverage diagram of the centrally symmetrical layout structure of the LEDs array according to the present invention, where the indoor wireless communication system is the indoor visible light communication system of the embodiment, and the communication access point AP is the LEDs array;
图3为本发明所述的LEDs阵列圆形对称布局结构接收功率覆盖图,此处的室内无线通信系统为实施例的室内可见光通信系统,通信接入点AP为LEDs阵列;3 is a received power coverage diagram of the circularly symmetrical layout structure of the LEDs array according to the present invention, where the indoor wireless communication system is the indoor visible light communication system of the embodiment, and the communication access point AP is the LEDs array;
图4为本发明所述的LEDs阵列随机布局结构接收功率覆盖图,此处的室内无线通信系统为实施例的室内可见光通信系统,通信接入点AP为LEDs阵列。4 is a received power coverage diagram of the random layout structure of the LEDs array according to the present invention, where the indoor wireless communication system is the indoor visible light communication system of the embodiment, and the communication access point AP is the LEDs array.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art fall within the protection scope of the present invention.
本发明提供了一种提高室内可见光通信系统接收功率覆盖均匀性的实现方法,在本实施例的室内可见光通信系统中通信接入点AP为LEDs阵列。如图1所示,本发明具体包括以下步骤:The present invention provides an implementation method for improving the coverage uniformity of the received power of an indoor visible light communication system. In the indoor visible light communication system of this embodiment, the communication access point AP is an array of LEDs. As shown in Figure 1, the present invention specifically comprises the following steps:
步骤1:预先定义室内空间的长宽r1,高度hr,移动终端的高度h,通信接入点LEDs阵列的个数NumLED,初始通信接入点布局位置序列PosLED,初始发射功率因子序列KLED(取值范围为[0,1]),通信接入点发射功率Pt,室内可见光通信系统的信道矩阵Η,布局参数Symis,外层循环迭代过程中所需的逃脱概率P(P≤1),衰减参数α(α<1),起始参数T0,终止参数Tf(Tf<T0),状态参数Tnow,内层循环迭代过程中所需的迭代次数Nummax,群体规模Nump,群体更新参数c,惯性参数w(0<w<1),最大速度参数vm。Step 1: Predefine the length and width r 1 of the indoor space, the height h r , the height h of the mobile terminal, the number Num LED of the communication access point LEDs array, the initial communication access point layout position sequence Pos LED , and the initial transmit power factor The sequence K LED (value range is [0,1]), the transmission power P t of the communication access point, the channel matrix H of the indoor visible light communication system, the layout parameter Sym is , the escape probability P required in the outer loop iteration process (P≤1), decay parameter α (α<1), initial parameter T 0 , termination parameter T f (T f <T 0 ), state parameter T now , the number of iterations Num required in the inner loop iteration process max , population size Num p , population update parameter c, inertia parameter w (0<w<1), maximum velocity parameter vm .
信道矩阵Η由室内可见光通信系统信道模型确定,本实施例中采用朗伯模型;布局参数Symis决定通信接入点LEDs阵列采用中心对称布局结构、圆形对称结构还是随机布局结构;逃脱概率P的引入可以帮助本算法在循环迭代的过程中避免陷入局部收敛的情况;衰减参数α指每完成一次迭代过程,状态参数Tnow将衰减为原来的α倍。The channel matrix H is determined by the channel model of the indoor visible light communication system, and the Lambertian model is used in this embodiment; the layout parameter Symis determines whether the LEDs array of the communication access point adopts a centrally symmetric layout structure, a circular symmetric structure or a random layout structure; the escape probability P The introduction of can help the algorithm to avoid falling into local convergence in the process of loop iteration; the decay parameter α means that each time the iterative process is completed, the state parameter T now will be attenuated to the original α times.
步骤2:生成水平面高度为h、大小为X0×Y0的二维坐标矩阵Pos,其中:Pos=x+j·y,x,y=0,0.1,0.2,…,r1,X0=Y0=10·r1+1;根据坐标矩阵Pos计算总接收功率矩阵Pr,对于坐标为(x,y)处的接收功率计算公式如下:其中,Hi(0,x,y)指坐标为(x,y)处的信道直流增益,同时,Hi(0,x,y)的大小受到坐标为(x,y)处与通信接入点布局位置序列PosLED之间的距离大小控制。Step 2: Generate a two-dimensional coordinate matrix Pos with a horizontal plane height of h and a size of X 0 ×Y 0 , where: Pos=x+j y, x, y=0, 0.1, 0.2,...,r 1 , X 0 =Y 0 =10·r 1 +1; calculate the total received power matrix Pr according to the coordinate matrix Pos, and the calculation formula for the received power at the coordinates (x, y) is as follows: Among them, H i (0,x,y) refers to the DC gain of the channel at the coordinate (x,y), and at the same time, the size of H i (0,x,y) is affected by the coordinate at (x,y). In point layout position sequence Pos LED distance size control.
步骤3:Varnow=E{(Pr-E(Pr))2}/E2(Pr),计算总接收功率矩阵Pr的归一化方差;记录更优归一化方差Varbetter=Varnow,记录更优功率因子序列Kbetter=KLED,记录更优通信接入点布局位置序列Posbetter=PosLED;设置状态参数为Tnow=T0。Step 3: Var now =E{(Pr-E(Pr)) 2 }/E2(Pr), calculate the normalized variance of the total received power matrix Pr; record the better normalized variance Var better =Var now , record The better power factor sequence K better =K LED , record the better communication access point layout position sequence Pos better =Pos LED ; set the state parameter as T now =T 0 .
步骤4:开始执行外层迭代循环,若Tnow≥Tf,则持续进行外层迭代循环;否则,结束外层迭代循环。Step 4: Start to execute the outer iteration loop, if T now ≥ T f , continue to perform the outer iteration loop; otherwise, end the outer iteration loop.
步骤5:利用衰减参数α(α<1)更新状态参数Tnow,计算公式如下:Tnow=α·Tnow。Step 5: Update the state parameter T now using the attenuation parameter α (α<1), and the calculation formula is as follows: T now =α·T now .
步骤6:根据布局参数Symis更新通信接入点布局位置矩阵PosLED。具体实现过程如下:Step 6: Update the communication access point layout position matrix Pos LED according to the layout parameter Sym is . The specific implementation process is as follows:
(1)判断Symis大小。若Symis=1,则按照中心对称布局结构更新通信接入点布局位置序列PosLED,即执行(2);若Symis=2,则按照圆形对称布局结构更新通信接入点布局位置序列PosLED,即执行(3);否则,按照随机布局结构更新通信接入点布局位置序列PosLED,即执行(4)。(1) Determine the size of Sym is . If Sym is =1, update the communication access point layout position sequence Pos LED according to the center-symmetric layout structure, that is, execute (2); if Sym is =2, update the communication access point layout position sequence according to the circular symmetric layout structure Pos LED , that is, execute (3); otherwise, update the communication access point layout position sequence Pos LED according to the random layout structure, that is, execute (4).
(2)对第一个通信接入点的位置产生随机扰动,修订后获得新的第一个通信接入点的位置PosLED(1);生成角度序列Rot(i)=2π·(i-1)/(NumLED-1),i=1,2,…,NumLED;生成新的通信接入点位置矩阵PosLED=PosLED(1)·Rot,PosLED(NumLED)=0+j0,该方案满足中心对称布局结构。此后执行步骤7。(2) Generate random disturbance to the position of the first communication access point, and obtain the new position Pos LED of the first communication access point after revision (1); generate an angle sequence Rot(i)=2π·(i- 1)/(Num LED -1), i=1,2,...,Num LED ; generate a new communication access point position matrix Pos LED = Pos LED (1) Rot, Pos LED (Num LED )=0+ j0, the scheme satisfies the centrosymmetric layout structure. Step 7 is then performed.
(3)对第一个通信接入点的位置产生随机扰动,修订后获得新的第一个通信接入点的位置PosLED(1);生成角度序列Rot(i)=2π·(i-1)/NumLED,i=1,2,…,NumLED;生成新的通信接入点位置矩阵PosLED=PosLED(1)·Rot,该方案满足圆形对称布局结构。此后执行步骤7。(3) Generate random disturbance to the position of the first communication access point, and obtain the new position Pos LED of the first communication access point after revision (1); generate an angle sequence Rot(i)=2π·(i- 1)/Num LED , i=1,2,...,Num LED ; generate a new communication access point position matrix Pos LED =Pos LED (1)·Rot, this scheme satisfies the circular symmetrical layout structure. Step 7 is then performed.
(4)对原通信接入点对称布局位置序列产生随机扰动,修订后获得新的通信接入点布局位置矩阵PosLED,该方案满足随机布局结构。(4) Generate random disturbance to the original communication access point symmetric layout position sequence, and obtain a new communication access point layout position matrix Pos LED after revision. This scheme satisfies the random layout structure.
室内可见光通信系统包含多个通信接入点LEDs阵列。The indoor visible light communication system consists of multiple communication access point LEDs arrays.
步骤7:执行内层循环,该循环迭代过程中将逐步搜索出与当前通信接入点布局位置序列PosLED相匹配的最佳功率因子序列Kbetterin。Step 7: Execute the inner loop, in the loop iteration process, the optimal power factor sequence K betterin that matches the current communication access point layout position sequence Pos LED will be gradually searched.
具体包括以下步骤:Specifically include the following steps:
(1)随机生成大小为Nump×NumLED的速度矩阵V,矩阵元素的取值范围为[0,vm];随机生成大小为Nump×NumLED的发射功率因子矩阵K,矩阵元素的取值范围为[0,1];记录内层更优归一化方差Varbetterin=Varbetter,记录内层更优功率因子序列Kbetterin=Kbetter。(1) Randomly generate a velocity matrix V with a size of Num p ×Num LED , and the value range of the matrix elements is [0, v m ]; randomly generate a transmission power factor matrix K with a size of Num p ×Num LED , and the matrix elements The value range is [0,1]; record the inner layer better normalized variance Var betterin =Var better , and record the inner layer better power factor sequence K betterin =K better .
(2)执行内层循环,直到迭代次数Nummax。(2) Execute the inner loop until the number of iterations Num max .
(3)生成属于[0,1]的随机数n;更新速度矩阵V:V=w·V+c·n·(K2-K),其中K2矩阵大小为Nump×NumLED,且矩阵的每一行均等于Kbetterin;若速度矩阵中某些元素的绝对值超过最大速度参数vm,则对速度矩阵进行修正:V(V<-vm)=-vm,V(V>vm)=vm。(3) Generate a random number n belonging to [0,1]; update the speed matrix V: V=w·V+c·n·(K2-K), where the size of the K2 matrix is Num p ×Num LED , and the matrix of Each row is equal to K betterin ; if the absolute value of some elements in the velocity matrix exceeds the maximum velocity parameter v m , the velocity matrix is corrected: V(V<-v m )=-v m , V(V>v m )= vm .
矩阵K2与矩阵K相减指出速度矩阵V的更新受到矩阵K2影响,其中K2矩阵的每一行均等于内层更优功率因子序列Kbetterin。因此,速度矩阵的更新不是随意的,而是逐渐向内层更优功率因子序列Kbetterin靠近的更新。The subtraction of matrix K2 and matrix K indicates that the update of the velocity matrix V is affected by the matrix K2, wherein each row of the K2 matrix is equal to the inner layer better power factor sequence K betterin . Therefore, the update of the velocity matrix is not random, but is gradually updated towards the inner-layer better power factor sequence K betterin .
(4)K=K+V,更新发射功率因子矩阵;若发射功率因子矩阵中某些元素超过范围[0,1],则对发射功率因子矩阵进行修正:K(K<0)=0,K(K>1)=1,并将发射功率因子矩阵每一行发射功率因子序列归一化。(4) K=K+V, update the transmit power factor matrix; if some elements in the transmit power factor matrix exceed the range [0,1], modify the transmit power factor matrix: K(K<0)=0, K(K>1)=1, and normalize the transmit power factor sequence of each row of the transmit power factor matrix.
(5)根据坐标矩阵Pos计算大小为Nump×X0×Y0的总接收功率三维矩阵Pr1,对于坐标为(x,y)处的接收功率计算公式如下:其中,Hi(0,x,y)指坐标为(x,y)处的信道直流增益,同时,Hi(0,x,y)的大小受到坐标为(x,y)处与通信接入点布局位置序列PosLED之间的距离大小控制。(5) Calculate the total received power three-dimensional matrix Pr1 with the size of Num p ×X 0 ×Y 0 according to the coordinate matrix Pos, and the calculation formula for the received power at the coordinates (x, y) is as follows: Among them, H i (0,x,y) refers to the DC gain of the channel at the coordinate (x,y), and at the same time, the size of H i (0,x,y) is affected by the coordinate at (x,y). In point layout position sequence Pos LED distance size control.
(6)计算总接收功率三维矩阵Pr1的归一化方差序列 获取归一化方差序列的最小归一化方差:其中m为Varnow对应的行数序号。(6) Calculate the normalized variance sequence of the total received power three-dimensional matrix Pr1 get normalized variance series The minimum normalized variance of : where m corresponds to Var now The row number sequence number.
(7)比较Varnow与内层更优归一化方差Varbetterin的大小。若Varnow<Varbetterin,说明获得了匹配当前通信接入点布局位置序列PosLED的更优发射功率因子序列,记录内层更优归一化方差Varbetterin=Varnow,记录内层更优功率因子序列Kbetterin=K(m,:);否则,不作处理。(7) Compare the magnitude of Var now and the inner better normalized variance Var betterin . If Var now <Var betterin , it means that a better transmit power factor sequence matching the current communication access point layout position sequence Pos LED is obtained, record the better normalized variance of the inner layer Var betterin = Var now , and record the better power of the inner layer The factor sequence K betterin =K(m,:); otherwise, no processing is performed.
(8)判断内层循环是否结束。若循环次数未超过迭代次数Nummax,则跳至步骤(2)继续完成内层循环;否则,内层循环已结束,即获得与当前通信接入点布局位置矩阵PosLED相匹配的最佳功率因子序列Kbetterin和匹配的最佳归一化方差Varbetterin,此后执行步骤8。(8) Determine whether the inner loop is over. If the number of loops does not exceed the number of iterations Num max , skip to step (2) to continue to complete the inner loop; otherwise, the inner loop has ended, that is, the optimal power matching the current communication access point layout position matrix Pos LED is obtained The factor sequence K betterin and the matched best normalized variance Var betterin , after which step 8 is performed.
步骤8:比较内层循环获得的最佳归一化方差Varbetterin与更优归一化方差Varbetter的大小,若Varbetterin<Varbetter,则更新更优归一化方差Varbetter=Varbetterin,记录更优功率因子序列Kbetter=Kbetterin,记录更优通信接入点布局位置序列Posbetter=PosLED;否则,依据Metropolis准则计算逃脱概率P,并根据逃脱概率P决定是否随机生成全新的通信接入点布局位置序列PosLED,逃脱概率P可以帮助本发明在循环迭代的过程中避免陷入局部收敛的情况。Step 8: Compare the size of the best normalized variance Var betterin obtained by the inner loop and the better normalized variance Var better , if Var betterin <Var better , update the better normalized variance Var better =Var betterin , Record the better power factor sequence K better =K betterin , and record the better communication access point layout position sequence Pos better =Pos LED ; otherwise, calculate the escape probability P according to the Metropolis criterion, and decide whether to randomly generate a new communication according to the escape probability P The access point layout position sequence Pos LED and escape probability P can help the present invention to avoid falling into local convergence in the process of loop iteration.
具体包括以下步骤:Specifically include the following steps:
(1)比较内层循环获得的最佳归一化方差Varbetterin与更优归一化方差Varbetter的大小。若Varbetterin<Varbetter,说明获得覆盖均匀性更佳的通信接入点布局位置序列和匹配的最佳功率因子序列,则执行(2);否则,说明获得覆盖均匀性更差的通信接入点布局位置序列和其匹配的功率因子序列,则执行(3)。(1) Compare the size of the best normalized variance Var betterin obtained by the inner loop and the better normalized variance Var better . If Var betterin <Var better , it means that the communication access point layout position sequence with better coverage uniformity and the matched optimal power factor sequence are obtained, then execute (2); otherwise, it means that the communication access point with worse coverage uniformity is obtained point layout position sequence and its matching power factor sequence, then perform (3).
(2)更新更优归一化方差Varbetter=Varbetterin,更新更优功率因子序列Kbetter=Kbetterin,记录更优通信接入点布局位置序列Posbetter=PosLED。此后执行步骤9。(2) Update the better normalized variance Var better =Var betterin , update the better power factor sequence K better =K betterin , record the better communication access point layout position sequence Pos better =Pos LED . Step 9 is then performed.
(3)按照Metropolis准则计算逃脱概率P,计算公式如下:P=exp{-(Varbetterin-Varbetter)/Tnow},并且生成一个属于[0,1]的随机数Num,该随机数满足平均分布。若Num≤P,则随机生成全新的通信接入点布局位置序列PosAP;否则,不作处理。(3) Calculate the escape probability P according to the Metropolis criterion. The calculation formula is as follows: P=exp{-(Var betterin -Var better )/T now }, and generate a random number Num belonging to [0,1], the random number satisfies Evenly distributed. If Num≤P, a new communication access point layout position sequence Pos AP is randomly generated; otherwise, no processing is performed.
若Varbetter和Varbetterin十分接近,说明本发明的改进算法正处于接近全局最优或局部最优的状态。若当前处于接近全局最优的状态,则说明当前PosLED和Kbetter已十分接近最佳通信接入点布局位置序列及最佳发射功率因子序列;若当前处于接近局部最优的状态,则急需帮助算法逃脱出当前状态以继续搜索全局最优解。If Var better and Var betterin are very close, it means that the improved algorithm of the present invention is in a state close to the global optimum or the local optimum. If the current state is close to the global optimum, it means that the current Pos LED and K better are very close to the optimal communication access point layout position sequence and the optimal transmit power factor sequence; if the current state is close to the local optimum, it is urgent to Helps the algorithm escape the current state to continue searching for the global optimal solution.
由Metropolis准则和逃脱概率P计算公式指出:若Varbetter和Varbetterin越接近,则逃脱概率P越高,因而随机生成全新的通信接入点布局位置序列的可能性越大,因为全新序列与上一序列无相关性,因此新序列可以帮助算法逃脱局部最优状态,进而避免本发明的改进算法陷入局部最优的情况;若Varbetter和Varbetterin相差较大,说明本算法还未处于最优状态,即逃脱概率P较低,因此随机生成全新的通信接入点布局位置序列的可能性也较低。It is pointed out by the Metropolis criterion and the calculation formula of escape probability P: if Var better and Var betterin are closer, the escape probability P is higher, so the possibility of randomly generating a new communication access point layout position sequence is greater, because the new sequence is the same as the above. A sequence has no correlation, so the new sequence can help the algorithm escape the local optimal state, thereby avoiding the situation that the improved algorithm of the present invention falls into the local optimal situation; if the difference between Var better and Var betterin is large, it means that the algorithm is not yet optimal. state, that is, the escape probability P is low, so the probability of randomly generating a completely new communication access point layout position sequence is also low.
步骤9:判断外层迭代循环是否结束。若Tnow≥Tf,则跳至步骤4继续完成外层迭代循环;若Tnow<Tf,则完成外层迭代循环,执行步骤10。Step 9: Determine whether the outer iteration loop is over. If T now ≥ T f , skip to step 4 to continue to complete the outer iteration loop; if T now <T f , complete the outer iteration loop, and execute
步骤10:通过完成上述循环迭代计算,系统已获得最佳通信接入点布局序列和其匹配的最佳发射功率因子序列,因此,输出当前室内无线通信系统的最佳通信接入点布局序列Posbetter和匹配的最佳发射功率因子序列Kbetter。Step 10: By completing the above loop iterative calculation, the system has obtained the optimal communication access point layout sequence and its matched optimal transmission power factor sequence, therefore, the optimal communication access point layout sequence Pos of the current indoor wireless communication system is output. better and the matched optimal transmit power factor sequence K better .
借助于上述技术方案,应用于本实施例的室内可见光通信系统,包含多个通信接入点LEDs阵列,通过本发明的实现方法,可以高效地搜索室内可见光通信系统的最佳通信接入点布局和匹配的最佳发射功率因子序列,从而实现室内可见光通信系统接收功率覆盖均匀性的显著提升以及系统有效性和可靠性的显著增强。With the help of the above technical solutions, the indoor visible light communication system applied to this embodiment includes a plurality of communication access point LEDs arrays. Through the implementation method of the present invention, the optimal communication access point layout of the indoor visible light communication system can be efficiently searched and matching the optimal transmit power factor sequence, so as to achieve a significant improvement in the uniformity of the received power coverage of the indoor visible light communication system and a significant enhancement in the effectiveness and reliability of the system.
此外,在具体实施例中,以室内可见光通信系统为实施例具体说明本发明的计算方法,详细如下:In addition, in the specific embodiment, the calculation method of the present invention is specifically described by taking the indoor visible light communication system as an example, and the details are as follows:
室内可见光通信系统以LEDs阵列作为AP,设置环境参数为:室内空间的长宽r1,高度hr,移动终端的高度h,通信接入点LEDs阵列的个数NumLED,初始通信接入点布局位置序列PosLED,初始发射功率因子序列KLED(取值范围为[0,1]),通信接入点发射功率Pt,室内可见光通信系统的信道矩阵Η,布局参数Symis,外层循环迭代过程中所需的逃脱概率P(P≤1),衰减参数α(α<1),起始参数T0,终止参数Tf(Tf<T0),状态参数Tnow,内层循环迭代过程中所需的迭代次数Nummax,群体规模Nump,群体更新参数c,惯性参数w(0<w<1),最大速度参数vm。如下为算法伪代码设计:The indoor visible light communication system uses the LEDs array as the AP, and the environment parameters are set as: the length and width of the indoor space r 1 , the height hr , the height h of the mobile terminal, the number of communication access points LEDs array Num LED , the initial communication access point Layout position sequence Pos LED , initial transmit power factor sequence K LED (value range is [0,1]), communication access point transmit power P t , channel matrix H of indoor visible light communication system, layout parameter Symis , outer layer The escape probability P (P≤1) required in the loop iteration process, the decay parameter α (α<1), the starting parameter T 0 , the ending parameter T f (T f <T 0 ), the state parameter T now , the inner layer The number of iterations Num max required in the loop iteration process, the population size Num p , the population update parameter c, the inertia parameter w (0<w<1), and the maximum speed parameter vm . The algorithm pseudocode is designed as follows:
Step1:x=0:0.1:r1,y=0:0.1:r1,Pos=xT+j·y。生成坐标矩阵Pos。Step1: x=0:0.1:r 1 , y=0:0.1:r 1 , Pos=x T +j·y. Generate the coordinate matrix Pos.
Step2:Pr=Prcal(Pt,H,Pos,PosLED,KLED),计算得到总接收功率矩阵Pr。Step2: Pr=Pr cal (P t , H, Pos, Pos LED , K LED ), calculate the total received power matrix Pr.
Step3:Varnow=E{(Pr-E(Pr))2}/E2(Pr),计算总接收功率矩阵Pr的归一化方差。Varbetter=Varnow,Kbetter=KLED,Posbetter=PosLED,记录当前的更优归一化方差、更优功率因子序列、更优通信接入点布局位置序列。Step3: Var now =E{(Pr-E(Pr)) 2 }/E 2 (Pr), calculate the normalized variance of the total received power matrix Pr. Var better =Var now , K better =K LED , Pos better =Pos LED , record the current better normalized variance, better power factor sequence, and better communication access point layout position sequence.
Step4:Tnow=T0。设置状态参数为Tnow=T0。Step4: T now = T 0 . Set the state parameter as T now =T 0 .
Step5:while Tnow≥Tf。开始外层迭代循环,若Tnow≥Tf,则持续进行外层迭代循环;否则,结束外层迭代循环。Step5:while T now ≥T f . Start the outer iteration loop, if T now ≥ T f , continue the outer iteration loop; otherwise, end the outer iteration loop.
Step6:Tnow=α·Tnow。利用衰减系数α(α<1)更新状态参数Tnow。Step6: T now =α·T now . The state parameter T now is updated with the attenuation coefficient α (α<1).
Step7:PosLED=UpdatePosLED(PosLED,Symis),根据布局参数Symis更新通信接入点布局位置矩阵PosLED。其中,若Symis=1,按照中心对称布局结构更新通信接入点布局位置序列PosLED;若Symis=2,则按照圆形对称布局结构更新通信接入点布局位置序列PosLED;否则,按照随机布局结构更新通信接入点布局位置序列PosLED。Step7: Pos LED = UpdatePosLED(Pos LED , Sym is ), update the communication access point layout position matrix Pos LED according to the layout parameter Sym is . Wherein, if Sym is =1, update the communication access point layout position sequence Pos LED according to the center symmetrical layout structure; if Sym is =2, then update the communication access point layout position sequence Pos LED according to the circular symmetrical layout structure; otherwise, Update the communication access point layout position sequence Pos LED according to the random layout structure.
Step8:V=vm·rand(Nump,NumLED),K=rand(Nump,NumLED),随机生成速度矩阵V和发射功率因子矩阵K。Varbetterin=Varbetter,Kbetterin=Kbetter,记录内层更优归一化方差和内层更优功率因子序列。Step8: V= vm ·rand(Num p , Num LED ), K=rand(Num p , Num LED ), the velocity matrix V and the transmit power factor matrix K are randomly generated. Var betterin =Var better , K betterin =K better , record the inner-layer better normalized variance and inner-layer better power factor sequence.
Step9:for i=1:Nummax,执行内层循环,直至循环次数超过迭代次数Nummax。Step9: for i=1: Num max , execute the inner loop until the number of loops exceeds the number of iterations Num max .
Step10:n=rand,生成随机数。V=w·V+c·n·(K2-K),V=revise(V),更新并修订速度矩阵。K=K+V,K=revise(K),更新并修订发射功率因子矩阵。Step10: n=rand, generate random numbers. V=w·V+c·n·(K2-K), V=revise(V), update and revise the velocity matrix. K=K+V, K=revise(K), update and revise the transmit power factor matrix.
Step11:Pr1=Prcal3(Pt,H,Pos,PosLED,K),计算得到总接收功率三维矩阵Pr1。Var=E{(Pr1-E(Pr1))2}/E2(Pr1),计算总接收功率三维矩阵的归一化方差序列。[Varnow,m]=min(Var),获取归一化方差序列的最小值Varnow,m为Varnow对应的行数序号。Step11: Pr1=Pr cal3 (P t ,H,Pos,Pos LED ,K), calculate the total received power three-dimensional matrix Pr1. Var=E{(Pr1-E(Pr1)) 2 }/E 2 (Pr1), calculate the normalized variance sequence of the total received power three-dimensional matrix. [Var now ,m]=min(Var), obtains the minimum value Var now of the normalized variance sequence, where m is the row number sequence number corresponding to Var now .
Step13:if1 Varnow<Varbetterin,若成立,说明获得了匹配当前通信接入点布局位置序列PosLED的更优发射功率因子序列。Step13: If 1 Var now <Var betterin , if it is established, it means that a better transmit power factor sequence matching the current communication access point layout position sequence Pos LED is obtained.
Step14:Varbetterin=Varnow,Kbetterin=K(m,:),记录内层更优归一化方差和内层更优功率因子序列。Step14: Var betterin =Var now , K betterin =K(m,:), record the better normalized variance of the inner layer and the better power factor sequence of the inner layer.
Step15:endif1。Step15: endif 1 .
Step16:endfor。判断内层循环是否结束。若循环次数未超过迭代次数Nummax,则跳至Step9继续完成内层循环;否则,执行Step17。Step16: endfor. Determines whether the inner loop has ended. If the number of loops does not exceed the number of iterations Num max , skip to Step9 to continue to complete the inner loop; otherwise, execute Step17.
Step17:if2 Varbetterin<Varbetter,若成立,说明获得覆盖均匀性更佳的通信接入点布局位置序列和匹配的最佳功率因子序列。Step17: if 2 Var betterin <Var better , if it is established, it means that a communication access point layout position sequence with better coverage uniformity and a matching optimal power factor sequence are obtained.
Step18:Varbetter=Varbetterin,Kbetter=Kbetterin,Posbetter=PosLED,更新更优归一化方差、更优功率因子序列和更优通信接入点布局位置序列。 Step18 : Var better =Var betterin , K better =K betterin , Pos better =Pos LED , update the better normalized variance, the better power factor sequence and the better communication access point layout position sequence.
Step19:else2 Step19: Else 2
Step20:P=exp{-(Varbetterin-Varbetter)/Tnow},Num=rand。计算逃脱概率P,按照平均分布随机生成一个属于[0,1]的随机数Num。Step20: P=exp{-(Var betterin -Var better )/T now }, Num=rand. Calculate the escape probability P, and randomly generate a random number Num belonging to [0,1] according to the average distribution.
Step21:if3 Num<P,PosLED=rand(1,NumLED)。若Num≤P,则随机生成全新的通信接入点布局位置序列,逃脱概率P可以帮助本算法在循环迭代的过程中避免陷入局部收敛的情况。Step21: if 3 Num<P, Pos LED = rand(1, Num LED ). If Num≤P, a new communication access point layout position sequence is randomly generated, and the escape probability P can help the algorithm avoid falling into local convergence in the process of loop iteration.
Step22:endif3。Step22: endif 3 .
Step23:endif2。Step23: endif 2 .
Step24:endwhile。判断外层迭代循环是否结束。若Tnow≥Tf,则跳至Step5继续完成外层迭代循环;若Tnow<Tf,则完成外层迭代循环,执行Step25。Step24: endwhile. Determines whether the outer iteration loop has ended. If T now ≥ T f , skip to Step 5 to continue to complete the outer iteration loop; if T now <T f , complete the outer iteration loop, and execute Step 25 .
Step25:通过完成上述循环迭代计算,系统已获得最佳通信接入点布局序列和其匹配的最佳发射功率因子序列,因此,输出当前室内无线通信系统的最佳通信接入点布局序列Posbetter和匹配的最佳发射功率因子序列Kbetter。Step25: By completing the above loop iterative calculation, the system has obtained the optimal communication access point layout sequence and its matched optimal transmit power factor sequence, therefore, output the best communication access point layout sequence Pos better of the current indoor wireless communication system and the matched optimal transmit power factor sequence K better .
通过以上参数设定及算法流程,在MATLAB中建模计算了本实施例室内可见光通信系统的接收功率覆盖图,图2为采用LEDs阵列中心对称布局结构接收功率覆盖图;图3为采用LEDs阵列圆形对称布局结构接收功率覆盖图;图4为采用LEDs阵列随机布局结构接收功率覆盖图。从结果可以得出,本发明的实现方法,可以高效地搜索室内可见光通信系统的最佳通信接入点布局和匹配的最佳发射功率因子序列。Through the above parameter setting and algorithm flow, the received power coverage of the indoor visible light communication system in this embodiment is modeled and calculated in MATLAB. Figure 2 shows the received power coverage using the LEDs array center-symmetrical layout structure; The received power coverage diagram of the circular symmetrical layout structure; Figure 4 is the received power coverage diagram of the random layout structure of the LEDs array. It can be concluded from the results that the implementation method of the present invention can efficiently search for the optimal communication access point layout and the matched optimal transmit power factor sequence of the indoor visible light communication system.
综上所述,借助于本发明的上述技术方案,应用于本实施例的室内可见光通信系统,包含多个通信接入点LEDs阵列,通过本发明的实现方法,可以高效地搜索室内可见光通信系统的最佳通信接入点布局和匹配的最佳发射功率因子序列,从而实现室内可见光通信系统接收功率覆盖均匀性的显著提升以及系统有效性和可靠性的显著增强,并验证了本发明的可行性。To sum up, with the help of the above technical solutions of the present invention, the indoor visible light communication system applied to this embodiment includes a plurality of communication access point LEDs arrays. Through the implementation method of the present invention, the indoor visible light communication system can be efficiently searched The optimal communication access point layout and the matched optimal transmission power factor sequence can achieve a significant improvement in the uniformity of the received power coverage of the indoor visible light communication system and a significant enhancement in the effectiveness and reliability of the system, and the feasibility of the present invention is verified. sex.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the scope of the present invention. within the scope of protection.
Claims (3)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010441693.3A CN111836273B (en) | 2020-05-22 | 2020-05-22 | Method for improving coverage uniformity of received power of indoor wireless communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010441693.3A CN111836273B (en) | 2020-05-22 | 2020-05-22 | Method for improving coverage uniformity of received power of indoor wireless communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111836273A CN111836273A (en) | 2020-10-27 |
CN111836273B true CN111836273B (en) | 2022-08-26 |
Family
ID=72913410
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010441693.3A Active CN111836273B (en) | 2020-05-22 | 2020-05-22 | Method for improving coverage uniformity of received power of indoor wireless communication system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111836273B (en) |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105634593B (en) * | 2015-12-18 | 2018-05-04 | 重庆邮电大学 | A kind of indoor visible light communication LED array layout optimization method based on genetic algorithm |
CN107819531A (en) * | 2017-10-26 | 2018-03-20 | 中冶华天南京电气工程技术有限公司 | A kind of computational methods for being used to determine wireless router installation site inside house |
CN108365891B (en) * | 2018-02-09 | 2020-09-01 | 重庆邮电大学 | Method for optimizing downlink coverage uniformity of indoor visible light communication system |
-
2020
- 2020-05-22 CN CN202010441693.3A patent/CN111836273B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN111836273A (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108880662B (en) | Wireless information and energy transmission optimization method based on unmanned aerial vehicle | |
US10887372B2 (en) | Method and apparatus for controlling upload size of device | |
CN110909947B (en) | Rectangular part layout method and equipment based on wolf algorithm | |
CN102833839A (en) | Pricing-based power control method aiming at macrocell-femtocell double network | |
TWI756438B (en) | Electronic apparatus and method for wireless communications | |
CN111836273B (en) | Method for improving coverage uniformity of received power of indoor wireless communication system | |
CN110931107A (en) | Radiotherapy plan generation system, radiotherapy plan generation device and storage medium | |
CN115987375B (en) | Power equipment association and resource optimization method, system and medium for converged network | |
CN104539362B (en) | Visible light communication system received power optimizing method based on genetic algorithm | |
CN113286314A (en) | Unmanned aerial vehicle base station deployment and user association method based on Q learning algorithm | |
Liu et al. | Distributed relay selection for heterogeneous UAV communication networks using a many-to-many matching game without substitutability | |
CN116112076A (en) | Signal Uniformity Optimization Method for Random LED Distribution in Indoor Visible Light Communication System | |
CN115866565A (en) | A method, device and medium for minimizing the age of synchronization information in the Internet of Vehicles | |
CN110572209A (en) | Indoor visible light communication LED optimization layout method and system | |
CN101043234A (en) | Method for realizing up-down link power control in intellect antenna simulation system | |
CN104754614B (en) | A kind of antenna-feed parameter optimization method and device of shared antenna antenna-feeder system | |
CN118857304A (en) | A path planning method for unmanned aerial vehicle assisted wireless communication system | |
CN112947583A (en) | Unmanned aerial vehicle communication network topology optimization method and system | |
Li et al. | Constrained multiobjective optimization for UAV-assisted mobile edge computing in smart agriculture: minimizing delay and energy consumption | |
CN111478730B (en) | A Method for Dynamically Adjusting Power Factor of Indoor Wireless Communication System | |
CN117156556A (en) | Unmanned aerial vehicle track communication coverage method and equipment considering user fairness | |
EP3550898A1 (en) | Communication method and device used for joint optimisation of transmission power and transmission rate | |
CN117082466A (en) | Wireless sensor network deployment method and system based on improved suburban wolf optimization algorithm | |
CN110753310B (en) | Unmanned aerial vehicle position optimization method and device for multi-user emergency communication network | |
CN111711930A (en) | Cluster head election method, system, terminal device and computer-readable storage medium |
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 |