CN104376363B - A kind of multiphase orthogonal code generating method based on improved immune genetic algorithm - Google Patents
A kind of multiphase orthogonal code generating method based on improved immune genetic algorithm Download PDFInfo
- Publication number
- CN104376363B CN104376363B CN201410654711.0A CN201410654711A CN104376363B CN 104376363 B CN104376363 B CN 104376363B CN 201410654711 A CN201410654711 A CN 201410654711A CN 104376363 B CN104376363 B CN 104376363B
- Authority
- CN
- China
- Prior art keywords
- individual
- sequence
- fitness
- genetic algorithm
- population
- 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
- 230000002068 genetic effect Effects 0.000 title claims abstract description 38
- 238000000034 method Methods 0.000 title claims abstract description 35
- 230000035772 mutation Effects 0.000 claims abstract description 15
- 230000003044 adaptive effect Effects 0.000 claims abstract description 6
- 238000005314 correlation function Methods 0.000 claims description 5
- 108090000623 proteins and genes Proteins 0.000 claims description 5
- 238000006116 polymerization reaction Methods 0.000 claims 4
- 230000006978 adaptation Effects 0.000 claims 2
- 230000010429 evolutionary process Effects 0.000 claims 1
- 230000006386 memory function Effects 0.000 abstract description 2
- 238000005457 optimization Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 6
- 230000002776 aggregation Effects 0.000 description 5
- 238000004220 aggregation Methods 0.000 description 5
- 230000004044 response Effects 0.000 description 5
- 238000005311 autocorrelation function Methods 0.000 description 4
- 238000010187 selection method Methods 0.000 description 4
- 230000027311 M phase Effects 0.000 description 3
- 230000002028 premature Effects 0.000 description 3
- 108091026890 Coding region Proteins 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000012937 correction Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000015572 biosynthetic process Effects 0.000 description 1
- 239000013256 coordination polymer Substances 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 210000000987 immune system Anatomy 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000002245 particle Substances 0.000 description 1
- 238000010845 search algorithm Methods 0.000 description 1
- 238000002922 simulated annealing Methods 0.000 description 1
Landscapes
- Feedback Control In General (AREA)
- Complex Calculations (AREA)
Abstract
Description
技术领域technical field
本发明属于雷达发射波形产生领域,涉及一种基于改进的免疫遗传算法的多相正交序列生成方法。The invention belongs to the field of radar emission waveform generation, and relates to a multiphase orthogonal sequence generation method based on an improved immune genetic algorithm.
背景技术Background technique
正交序列广泛应用于雷达与通信的各个领域。多输入多输出(multiple-inputmultiple-output,MIMO)雷达作为一种新的体制,自提出以来就因其优越的性能而受到研究者的广泛关注。其中,相控阵雷达、合成孔径雷达等都是MIMO雷达的特例。在MIMO雷达中,为避免部通信号通道之间的相互干扰,通常要求MIMO雷达发射端的信号相互正交,所以发射波形的好坏对于整个雷达的探测性能影响很大。所以发射波形的优化也是MIMO雷达的重要研究方向。对于MIMO雷达,能够从各个目标回波中接收独立的信息,并且避免干扰,发射信号需要相互正交,要求信号间具有较差的互相关性,即彼此正交。而对于每一个发射信号而言,需要信号有低的自相关旁瓣电平(ASP)。所以寻找并生成具有良好自相关和较差的互相关特性的正交码集就成为了MIMO雷达极为重要的研究方向。Orthogonal sequences are widely used in various fields of radar and communication. Multiple-input multiple-output (MIMO) radar, as a new system, has been widely concerned by researchers because of its superior performance since it was proposed. Among them, phased array radar and synthetic aperture radar are special cases of MIMO radar. In MIMO radar, in order to avoid mutual interference between communication signal channels, the signals at the transmitting end of MIMO radar are usually required to be orthogonal to each other, so the quality of the transmitting waveform has a great influence on the detection performance of the entire radar. Therefore, the optimization of transmitting waveform is also an important research direction of MIMO radar. For MIMO radar, independent information can be received from each target echo, and interference can be avoided. The transmitted signals need to be orthogonal to each other, and the signals are required to have poor cross-correlation, that is, they are orthogonal to each other. And for each transmitted signal, it is required that the signal has a low autocorrelation sidelobe level (ASP). Therefore, finding and generating orthogonal code sets with good autocorrelation and poor cross-correlation characteristics has become an extremely important research direction for MIMO radars.
正交信号可以通过相位编码、频率编码两种方式来设计,其中相位编码又分为多相编码和二项编码,多相编码相对于二项编码,一般情况下具有更大的主副瓣比,并且具有更复杂的信号结构,难于被地方检测,所以多相编码越来越成为雷达信号的选择。正交多相码的寻找和生成问题是一个组合优化问题,目前为止采用的正交多相码的生成方法主要有模拟退火算法,遗传算法,TABU搜索算法,离散粒子群算法等。其中,遗传算法作为高并行度、自适应、随机的全局搜索优化算法,非常适合用来生成正交多相码。现有的算法中存在着收敛速度过慢,优化过程中容易出现早熟从而停留于局部最优解的情况。Orthogonal signals can be designed by phase encoding and frequency encoding. Phase encoding is divided into polyphase encoding and binomial encoding. Compared with binomial encoding, polyphase encoding generally has a larger main-sidelobe ratio. , and has a more complex signal structure, which is difficult to be detected locally, so polyphase encoding is increasingly becoming the choice of radar signals. The problem of finding and generating orthogonal polyphase codes is a combinatorial optimization problem. So far, the generation methods of orthogonal polyphase codes mainly include simulated annealing algorithm, genetic algorithm, TABU search algorithm, discrete particle swarm optimization algorithm and so on. Among them, the genetic algorithm is a high-parallel, self-adaptive, random global search optimization algorithm, which is very suitable for generating orthogonal polyphase codes. In the existing algorithm, the convergence speed is too slow, and the optimization process tends to be premature and stay in the local optimal solution.
发明内容Contents of the invention
本发明主要解决的是:针对已有的生成多相正交码的方法所存在的收敛速度过慢,优化过程中容易出现早熟从而停留于局部最优解等问题,提出了一种基于改进的免疫遗传算法生成正交多相码序列的方法。该方法引入了免疫算法的记忆功能,并且针对序列个数的增长对多相正交码集性能的影响采用了后续的选择方法,使得算法拥有了良好的收敛性,种群的多样性得以保持,并且得到了优于以往算法的性能。The main solution of the present invention is: in view of the existing methods for generating polyphase orthogonal codes, the convergence speed is too slow, and the optimization process tends to be precocious and stay in the local optimal solution, etc., and proposes an improved A method for generating orthogonal polyphase code sequences by immune genetic algorithm. This method introduces the memory function of the immune algorithm, and adopts a subsequent selection method for the impact of the increase in the number of sequences on the performance of polyphase orthogonal code sets, so that the algorithm has good convergence and the diversity of the population is maintained. And get better performance than previous algorithms.
本发明解决技术问题所采用的技术方案是:一种基于改进免疫遗传算法的多相正交序列生成方法,实现步骤如下:首先对正交多相码集进行建模;建立初始种群;计算自适应加权系数;进行遗传算法的选择,交叉,变异操作;计算个体的信息熵H及其相似度A;群体的更新;记忆单元的更新。具体包括以下步骤:The technical scheme adopted by the present invention to solve the technical problem is: a polyphase orthogonal sequence generation method based on the improved immune genetic algorithm, and the realization steps are as follows: first, the orthogonal polyphase code set is modeled; the initial population is established; Adapt to the weighting coefficient; perform genetic algorithm selection, crossover, and mutation operations; calculate the individual information entropy H and its similarity A; update the population; update the memory unit. Specifically include the following steps:
步骤1:对于一个码长为N,信号个数为L的多相码集S进行建模:Step 1: Model a polyphase code set S with code length N and number of signals L:
其中M表示可选相位; Where M represents an optional phase;
步骤2:建立个体总数为S的初始种群,对步骤1建立的模型经过一次编码得到一个个体,利用相同的方法得到若干其它个体,每个个体为L×N的M进制序列;Step 2: Establish an initial population with a total number of individuals of S, encode the model established in step 1 once to obtain an individual, and use the same method to obtain several other individuals, each individual is an M-ary sequence of L×N;
步骤3:计算种群中各个体的适应度;Step 3: Calculate the fitness of each individual in the population;
步骤4:根据步骤3得到的各个体适应度,进行遗传算法的选择,交叉,变异操作,得到新种群;Step 4: According to the fitness of each individual obtained in step 3, perform genetic algorithm selection, crossover, and mutation operations to obtain a new population;
步骤5:计算新种群中各个体的信息熵H,利用信息熵计算出相似度A,若相似度大于相似度临界值A0则进入步骤6,否则返回步骤3;Step 5: Calculate the information entropy H of each individual in the new population, use the information entropy to calculate the similarity A, if the similarity is greater than the similarity critical value A0, go to step 6, otherwise return to step 3;
步骤6:根据相似度将种群中的个体聚类,每一类个体总数所占种群个体总数的比重为该类中个体的浓度,采用个体的浓度和适应度综合计算该个体的聚合适应度;然后采用步骤1中的模型编码产生P个新个体,步骤4新种群的个体总数为NP个,从新产生的P个新个体和新种群的NP个体中根据聚合适应度选出NP个个体,组成新的种群;Step 6: Cluster the individuals in the population according to the similarity, the proportion of the total number of individuals in each category to the total number of individuals in the population is the concentration of individuals in this category, and use the concentration and fitness of individuals to comprehensively calculate the aggregation fitness of the individual; Then use the model coding in step 1 to generate P new individuals, the total number of individuals in the new population in step 4 is NP, select NP individuals from the newly generated P new individuals and the NP individuals of the new population according to the aggregation fitness, and form new species;
步骤7:设置能存储Y个个体的记忆单元,从步骤6得到的新种群中根据聚合适应度选取Y个个体来更新记忆单元,更新后判断是否达到设定的进化代数,若达到则进入步骤8,若未达到,则返回步骤3;Step 7: Set up a memory unit that can store Y individuals, select Y individuals from the new population obtained in step 6 according to the aggregation fitness to update the memory unit, and judge whether the set evolutionary algebra has been reached after updating, and if so, enter the step 8. If not reached, return to step 3;
步骤8:判断是否达到进化循环次数,若未达到进化循环次数,则新产生NP—Y个新个体,与记忆单元中的Y个个体一起组成新种群,再返回步骤3;若达到进化循环次数则输出最优的个体;Step 8: Determine whether the number of evolutionary cycles has been reached. If the number of evolutionary cycles has not been reached, NP—Y new individuals will be newly generated to form a new population with Y individuals in the memory unit, and then return to step 3; if the number of evolutionary cycles is reached Then output the best individual;
步骤9:步骤8输出的最优个体是码长为N,码数为L的M相正交序列,使用图论中的最小路径法,从码数L中选取出最优的n个码组成码长为N,码数为n的M相正交序列。Step 9: The optimal individual output in step 8 is an M-phase orthogonal sequence with a code length of N and a code number of L. Using the minimum path method in graph theory, select the optimal n codes from the code number L An M-phase orthogonal sequence with a code length of N and a number of codes of n.
所述步骤2中个体总数为S为100。The total number of individuals in step 2 is S is 100.
所述步骤3自适应加权系数计算如下:The step 3 adaptive weighting coefficient is calculated as follows:
计算个体的适应度,适应度函数为:Calculate the fitness of the individual, and the fitness function is:
其中:in:
式中A(φl,k)及C(φp,φq,k)分别为多相码序列Sl的非周期自相关和Sp与Sq的互相关函数,采用的优化准则为最小化自相关峰值旁瓣和互相关峰值以及最小化自相关旁瓣能量和互相关能量;where A(φ l , k) and C(φ p ,φ q ,k) are the aperiodic autocorrelation function of polyphase code sequence S l and the cross-correlation function of S p and S q respectively, and the optimization criterion adopted is the minimum Maximize autocorrelation peak sidelobe and cross-correlation peak and minimize autocorrelation sidelobe energy and cross-correlation energy;
加权系数[w1,w2,w3,w4]的设定为,将种群按照适应值的大小进行排序,适应值最小的个体为标准,设定加权系数[w1,w2,w3,w4]的数量级,使适应度函数中的四项数量级相当。The weighting coefficient [w 1 ,w 2 ,w 3 ,w 4 ] is set to sort the population according to the size of the fitness value, the individual with the smallest fitness value is the standard, and the weighting coefficient [w 1 ,w 2 ,w 3 , w 4 ], so that the four items in the fitness function have the same magnitude.
所述步骤4遗传算法的选择,交叉编译操作如下:The selection of the genetic algorithm in step 4, the cross-compilation operation is as follows:
遗传算法的选择操作中采用顺序选择的方法;遗传算法的交叉操作中采用单点交叉来重组个体,并且交叉概率取为0.9;遗传算法的变异操作中采用单点变异。The method of sequential selection is adopted in the selection operation of the genetic algorithm; the single-point crossover is used in the crossover operation of the genetic algorithm to recombine individuals, and the crossover probability is taken as 0.9; the single-point mutation is used in the mutation operation of the genetic algorithm.
所述步骤5计算个体信息熵H及相似度A如下:The step 5 calculates the individual information entropy H and similarity A as follows:
进化过程中的个体组成的种群是一个不确定的系统,由香农的平均信息熵H(N)来描述其不规则程度,pij为第i个编码序列出现在个体编码序列的第j位的概率,即:The population composed of individuals in the evolution process is an uncertain system, and its irregularity is described by Shannon's average information entropy H(N), p ij is the i-th coding sequence that appears in the j-th position of the individual coding sequence probability, that is:
Hj(N)为第j个基因的信息熵,定义为: H j (N) is the information entropy of the jth gene, defined as:
群体平均信息熵为: The average information entropy of the group is:
群体相似度 group similarity
其中,A(N)表征了整个群体的相似程度,A(N)越大,群体相似程度越高,多样程度越低;Among them, A(N) represents the degree of similarity of the entire group, the larger the A(N), the higher the degree of group similarity and the lower the degree of diversity;
相似度临界值A0=0.1。Similarity critical value A 0 =0.1.
所述步骤6中将相似度为0.9以上的的个体聚为一类,求出每个个体的浓度Ci,根据个体的适应度fitness和浓度计算出联合适应度,计算公式为:In the step 6, individuals with a similarity of 0.9 or more are grouped into one group, the concentration C i of each individual is obtained, and the joint fitness is calculated according to the fitness and concentration of the individual, and the calculation formula is:
fitness'=fitness×exp(k×Ci)fitness'=fitness×exp(k×C i )
聚合适应度是对个体适应值的修正,k为常数,本文中取0.8;Aggregate fitness is the correction of individual fitness value, k is a constant, 0.8 is taken in this paper;
然后产生P个新个体,产生的新个体的数量为种群个体总数的40%。Then P new individuals are generated, and the number of new individuals generated is 40% of the total number of individuals in the population.
所述步骤7中记忆单元存储的个体数目Y为种群个体总数NP的一半。The number of individuals Y stored in the memory unit in step 7 is half of the total number of individuals in the population NP.
所述步骤9的具体方法为:The concrete method of described step 9 is:
设序列i,j的归一化自相关旁瓣峰值分别为ai,aj,序列i与j的归一化互相关峰值为cij,则序列i与j之间的距离为ai+aj+cij,设由L个序列构成的码集为S,从L个序列中任意选择n个序列,构成码集S'i(1≤i≤m),其中m表示从L个序列中任意选择n个序列总共能够有m种选择方法,即,计算每个S'i中n个序列两两之间的距离之和fi,从中选择出最优的,即fi最小的n个序列作为新的正交多相码集。Let the normalized autocorrelation side lobe peaks of sequence i and j be a i , a j respectively, and the normalized cross-correlation peak value of sequence i and j be c ij , then the distance between sequence i and j is a i + a j +c ij , let the code set composed of L sequences be S, randomly select n sequences from the L sequences to form a code set S' i (1≤i≤m), where m means from the L sequences There can be a total of m selection methods for arbitrarily selecting n sequences in , that is, , calculate the sum of the distances f i between each pair of n sequences in each S' i , and select the optimal n sequences with the smallest f i as a new orthogonal polyphase code set.
本发明与现有技术相比较优点在于:Compared with the prior art, the present invention has the advantages that:
1.本发明将改进的免疫遗传算法应用于正交多相码的产生,解决了传统遗传算法收敛速度慢和容易早熟的问题。1. The present invention applies the improved immune genetic algorithm to the generation of orthogonal polyphase codes, which solves the problems of slow convergence and premature maturity of the traditional genetic algorithm.
2.本发明通过对正交多相码集的码长和码的个数对于自相关特性和互相关特性的影响的总结,设计了二次选择的方案,使得所得到的码集的性能得到进一步的优化。2. The present invention designs the scheme of secondary selection by summarizing the influence of the code length and the number of codes of orthogonal polyphase code sets on autocorrelation characteristics and cross-correlation characteristics, so that the performance of the obtained code sets can be obtained further optimization.
3.本发明对比于大部分近期的对于生成正交多相码集的文献,性能都要更为优越。3. Compared with most recent literatures for generating orthogonal polyphase code sets, the performance of the present invention is superior.
附图说明Description of drawings
图1为本发明基于改进的免疫遗传算法的流程图;Fig. 1 is the flow chart based on the improved immune genetic algorithm of the present invention;
图2为生成的码长L=40,序列数N=4,可选相位数M=4的序列的自相关性。图2(a)为序列1,图2(b)为序列2,图2(c)为序列3,图2(d)为序列4;Fig. 2 shows the autocorrelation of the generated sequence with code length L=40, sequence number N=4, and optional phase number M=4. Figure 2(a) is sequence 1, Figure 2(b) is sequence 2, Figure 2(c) is sequence 3, and Figure 2(d) is sequence 4;
图3为生成的码长L=40,序列数N=4,可选相位数M=4的序列的互相关性。图3(a)为序列1与序列2的互相关性,图3(b)为序列1与序列3的互相关性,图3(c)为序列1与序列4的互相关性,图3(d)为序列2与序列3的互相关性,图3(e)为序列2与序列4的互相关性,图3(f)为序列3与序列4的互相关性,Fig. 3 shows the cross-correlation of the generated sequence with code length L=40, sequence number N=4, and optional phase number M=4. Figure 3(a) is the cross-correlation between sequence 1 and sequence 2, figure 3(b) is the cross-correlation between sequence 1 and sequence 3, figure 3(c) is the cross-correlation between sequence 1 and sequence 4, figure 3 (d) is the cross-correlation between sequence 2 and sequence 3, Fig. 3(e) is the cross-correlation between sequence 2 and sequence 4, Fig. 3(f) is the cross-correlation between sequence 3 and sequence 4,
图4为算法适应函数的收敛曲线。图4(a)为传统遗传算法的收敛曲线,图4(b)为本发明的算法的收敛曲线,可以看出对于收敛速度有极高的提升。Figure 4 is the convergence curve of the algorithm fitness function. Fig. 4(a) is the convergence curve of the traditional genetic algorithm, and Fig. 4(b) is the convergence curve of the algorithm of the present invention, it can be seen that the convergence speed is greatly improved.
具体实施例specific embodiment
下面结合附图及具体实施方式详细介绍本发明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.
本次介绍采用的例子是通过本发明的方法产生一个序列个数为4,码长为40,可选相位数为4的正交序列。其实施的流程图如图1所示。The example used in this introduction is to use the method of the present invention to generate an orthogonal sequence with 4 sequences, 40 code lengths and 4 optional phases. The flow chart of its implementation is shown in Figure 1.
对正交多相码集进行建模:Model an orthogonal polyphase codeset:
假设正交多相码集有L个序列,每个有N个子脉冲,那么信号集可以表示为:Assuming that the orthogonal polyphase code set has L sequences, each with N sub-pulses, then the signal set can be expressed as:
如果多相编码中可用相位数为M,那么子脉冲的相位只能从下面的相位集中选择:If the number of phases available in polyphase encoding is M, then the phase of the sub-pulse can only be selected from the following phase sets:
对于一个码长为N,信号个数为L的多相码集S,能用L×N的相位矩阵来表示:For a polyphase code set S whose code length is N and the number of signals is L, it can be represented by an L×N phase matrix:
式中的矩阵为优化的对象,包含了多相码集S的所有信息。The matrix in the formula is the optimized object, which contains all the information of the polyphase code set S.
其自相关和互相关属性可以表示为:Its autocorrelation and cross-correlation properties can be expressed as:
式中A(φl,k)及C(φp,φq,k)分别为多相码序列Sl的非周期自相关和Sp与Sq的互相关函数,对于雷达正交多相码设计问题,可采用的优化准则为最小化自相关峰值旁瓣和互相关峰值以及最小化自相关旁瓣能量和互相关能量。where A(φ l ,k) and C(φ p ,φ q ,k) are the aperiodic autocorrelation function of the polyphase code sequence S l and the cross-correlation function of S p and S q respectively. For radar quadrature polyphase For the code design problem, the optimization criterion that can be adopted is to minimize the autocorrelation peak sidelobe and cross-correlation peak and minimize the autocorrelation sidelobe energy and cross-correlation energy.
对于组合优化算法来讲,适应度函数是极为重要的。优化的选择过程都是通过适应度函数来实现的。所以对于正交多相码集的优化生成,适应度函数可以构建为:For combinatorial optimization algorithms, the fitness function is extremely important. The optimal selection process is realized through the fitness function. So for the optimal generation of orthogonal polyphase code sets, the fitness function can be constructed as:
式中的四项优化值有不同的数量级,所以需要代价函数的加权系数[w1,w2,w3,w4]来进行调节,使得在优化过程中四项优化值都能够得到优化。The four optimal values in the formula have different orders of magnitude, so the weighting coefficients [w 1 , w 2 , w 3 , w 4 ] of the cost function are needed to adjust, so that the four optimal values can be optimized during the optimization process.
建立初始种群:Create an initial population:
对于初次应答,初始个体随机产生(与标准遗传算法相同);而对于再次应答,则借助免疫系统的记忆机制,一半初始个体由及一单元获取,其余个体随机产生。本次试验进行三次响应,其中初次响应的时候随机产生初始个体。For the first response, the initial individuals are randomly generated (same as the standard genetic algorithm); for the second response, with the help of the memory mechanism of the immune system, half of the initial individuals are obtained by the first unit, and the rest are randomly generated. In this experiment, three responses were performed, and the initial individuals were randomly generated during the first response.
对自适应加权系数计算:Calculation of adaptive weighting coefficients:
计算个体的适应度,适应度函数由上式给出。对于式中的加权系数[w1,w2,w3,w4]的设定,在每次应答时,将种群按照适应值的大小进行排序,适应值最小(即最优)的个体为标准,设定加权系数[w1,w2,w3,w4]的数量级,其中w4=1,之后通过与第四项分别相除得到加权系数。Calculate the fitness of the individual, and the fitness function is given by the above formula. For the setting of the weighting coefficient [w 1 , w 2 , w 3 , w 4 ] in the formula, the population is sorted according to the size of the fitness value at each response, and the individual with the smallest fitness value (that is, the best) is Standard, set the magnitude of the weighting coefficient [w 1 , w 2 , w 3 , w 4 ], where w 4 =1, and then obtain the weighting coefficient by dividing it with the fourth term respectively.
遗传算法的选择,交叉变异的具体操作:The selection of genetic algorithm, the specific operation of cross mutation:
遗传算法的选择操作:根据适应度函数,采用相应的选择算子,本发明在轮盘赌选择算子和顺序选择算子中进行了测试,顺序选择算子性能略优于轮盘赌选择算子,所以选择了顺序选择的方法。在顺序选择算法中,优秀个体的选择概率为q=0.6,排序后第j个个体的选择概率为:The selection operation of the genetic algorithm: according to the fitness function, the corresponding selection operator is adopted. The present invention is tested in the roulette selection operator and the sequence selection operator, and the performance of the sequence selection operator is slightly better than that of the roulette selection operator. child, so the method of sequential selection was chosen. In the sequential selection algorithm, the selection probability of an excellent individual is q=0.6, and the selection probability of the jth individual after sorting is:
遗传算法的交叉操作:这是遗传算法中的重要操作,对于交叉概率的选择尤为重要,本发明采取单点交叉来重组个体,并且交叉概率取为0.9。Crossover operation of genetic algorithm: this is an important operation in genetic algorithm, especially important for the selection of crossover probability. The present invention adopts single-point crossover to recombine individuals, and the crossover probability is taken as 0.9.
遗传算法的变异操作:通过变异操作,种群中的个体的基因进行变异。本发明采取的变异操作是单点变异,并且因为针对M进制编码,所以对选中的基因点,若其值为m,则在M-1个可选相位,即M个可选相位除去m当中随机选择一点作为其新的值。遗传算法的变异操作本来是用于保持种群的搜索活力,但是如果变异概率过大,则容易造成收敛速度变慢,而变异概率过低对于解空间极大的问题,比如正交多相码集的生成问题,则容易造成早熟。Mutation operation of genetic algorithm: Through mutation operation, the genes of individuals in the population are mutated. The mutation operation adopted by the present invention is a single-point mutation, and because it is coded for M-ary, so for the selected gene point, if its value is m, then in the M-1 optional phases, that is, the M optional phases remove m A point is randomly selected as its new value. The mutation operation of the genetic algorithm is originally used to maintain the search vitality of the population, but if the mutation probability is too large, it is easy to cause the convergence speed to slow down, and the mutation probability is too low for problems with a large solution space, such as orthogonal polyphase code sets The formation problem of the child is likely to cause premature maturity.
计算个体信息熵H及相似度A:Calculate individual information entropy H and similarity A:
进化过程中的个体组成的系统是一个不确定系统,不规则度可由香农的平均信息上H(N)来描述。pij为第i个符号(在本问题中是i的取值为M个可选相位)出现在基因座j上的概率,即:The system composed of individuals in the evolution process is an uncertain system, and the degree of irregularity can be described by Shannon's average information H(N). p ij is the probability that the i-th symbol (in this question, the value of i is M optional phases) appears on the locus j, namely:
Hj(N)为第j个基因的信息熵,定义为: H j (N) is the information entropy of the jth gene, defined as:
整个群体的平均信息熵为: The average information entropy of the whole group is:
群体相似度 group similarity
其中,A(N)表征了整个群体总的相似程度,A(N)越大,群体相似程度越高,多样程度越低。若群体相似度A(N)>A0,其中A0为相似度临界值,则多样性不满足要求,进入步骤(6),否则本代的优化结束,进入步骤(4)。Among them, A(N) represents the overall similarity degree of the entire group, and the larger A(N) is, the higher the similarity degree of the group is, and the lower the degree of diversity is. If the group similarity A(N)>A 0 , where A 0 is the critical value of similarity, then the diversity does not meet the requirements and go to step (6); otherwise, the optimization of this generation ends and go to step (4).
群体的更新如下:The groups are updated as follows:
随机产生P个新的个体,本文中取P的个数为个体个数NP的40%,个体总数为NP+P,计算个体浓度与聚合适应度,基于聚合适应度进行群体的更新。个体浓度是指个体在群体中与其相似个体所占有的比重,即:Randomly generate P new individuals. In this paper, the number of P is 40% of the number of individuals NP, and the total number of individuals is NP+P. The individual concentration and aggregation fitness are calculated, and the group is updated based on the aggregation fitness. Individual concentration refers to the proportion of an individual in the group and its similar individuals, that is:
其中λ为相似度常数,一般取0.9≤λ≤1。Where λ is a similarity constant, generally 0.9≤λ≤1.
聚合适应度是个体的适应度与浓度均衡评价的结果:Aggregate fitness is the result of individual fitness and concentration equilibrium evaluation:
fitness'=fitness×exp(k×Ci)fitness'=fitness×exp(k×C i )
聚合适应度是对个体适应值的修正,k为常数,本文中取0.8。Aggregate fitness is the correction of individual fitness value, k is a constant, 0.8 is taken in this paper.
更新记忆单元如下:Update the memory unit as follows:
将新生成的个体与记忆单元中的个体的适应值进行比较,如果有优于记忆单元中的新个体,则将记忆单元进行更新。这种更新方式不但能够大大增加收敛速度,而且具有较好的解群分布。更新完后判定是否达到进化截止代数,达到则判定是否达到进化次数,达到进化次数则输出优化解,未达到进化次数则返回步骤2,如未达到截止代数则返回步骤4。Compare the fitness value of the newly generated individual with the individual in the memory unit, if there is better than the new individual in the memory unit, the memory unit will be updated. This update method can not only greatly increase the convergence speed, but also has a better solution group distribution. After updating, determine whether the cut-off algebra of evolution has been reached. If reached, determine whether the number of evolution has been reached. If the number of evolution is reached, the optimal solution will be output. If the number of evolution has not been reached, return to step 2. If the cut-off algebra has not been reached, return to step 4.
对产生的正交码集进行二次选择如下:The secondary selection of the generated orthogonal code set is as follows:
通过之前步骤,并且进行多次的记忆单元更新,产生的码长为N,码数为L0的M相正交序列,使用图论中的最小路径法,可以从序列数L0中选取出最优的L个码,从而组成新的正交多相码集,相比于直接生成n个码,拥有更优异的性能。使用的具体选择方法如下:Through the previous steps and multiple memory unit updates, the generated M-phase orthogonal sequence with a code length of N and a code number of L 0 can be selected from the sequence number L 0 by using the minimum path method in graph theory The optimal L codes are used to form a new orthogonal polyphase code set, which has better performance than directly generating n codes. The specific selection method used is as follows:
设序列i,j的归一化自相关旁瓣峰值分别为ai,aj,序列i与j的归一化互相关峰值为cij,则序列i与j之间的距离为ai+aj+cij,设由L个序列构成的码集为S,从L个序列中任意选择n个序列,构成码集S'i(1≤i≤m),其中m表示从L个序列中任意选择n个序列总共能够有m种选择方法,即,计算每个S'i中n个序列两两之间的距离之和fi,从中选择出最优的,即fi最小的n个序列作为新的正交多相码集。Let the normalized autocorrelation side lobe peaks of sequence i and j be a i , a j respectively, and the normalized cross-correlation peak value of sequence i and j be c ij , then the distance between sequence i and j is a i + a j +c ij , let the code set composed of L sequences be S, randomly select n sequences from the L sequences to form a code set S' i (1≤i≤m), where m means from the L sequences There can be a total of m selection methods for arbitrarily selecting n sequences in , that is , calculate the sum of the distances f i between each pair of n sequences in each S' i , and select the optimal n sequences with the smallest f i as a new orthogonal polyphase code set.
实现中通过以上算法优化了码长N=40,序列个数L=4,可选相位数M=4的正交多相码集,参数选择中,取L0=16,进化代数为100代,进化的次数为3,得出的正交序列的自相关函数和互相关函数如图2和图3所示。传统遗传算法的收敛曲线和本发明算法的收敛曲线如图4所示。得到的正交序列的性能如表1所示,性能通过归一化自相关函数的最大值和归一化互相关函数的最大值表示。本发明所得到的序列与近期相关文献所产生的参数相同的序列的性能对比如表2,其中ASP表示自相关旁瓣峰值,CP表示互相关峰值。In the implementation, the code length N=40, the number of sequences L=4, and the number of optional phases M=4 are optimized through the above algorithm. In the parameter selection, L 0 =16, and the evolution algebra is 100 generations , the number of evolutions is 3, and the autocorrelation function and cross-correlation function of the obtained orthogonal sequence are shown in Figure 2 and Figure 3. The convergence curve of the traditional genetic algorithm and the convergence curve of the algorithm of the present invention are shown in FIG. 4 . The performance of the obtained orthogonal sequence is shown in Table 1, and the performance is represented by the maximum value of the normalized autocorrelation function and the maximum value of the normalized cross-correlation function. The performance comparison of the sequence obtained by the present invention and the sequence with the same parameters as those produced by recent related literature is shown in Table 2, where ASP represents the peak value of the autocorrelation sidelobe, and CP represents the peak value of the cross-correlation.
表1 本发明算法生成的N=40,L=4,M=4的正交多相码序列性能Table 1 The performance of N=40, L=4, M=4 orthogonal polyphase code sequence generated by the algorithm of the present invention
表2 各种算法的性能比较Table 2 Performance comparison of various algorithms
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410654711.0A CN104376363B (en) | 2014-11-17 | 2014-11-17 | A kind of multiphase orthogonal code generating method based on improved immune genetic algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410654711.0A CN104376363B (en) | 2014-11-17 | 2014-11-17 | A kind of multiphase orthogonal code generating method based on improved immune genetic algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104376363A CN104376363A (en) | 2015-02-25 |
CN104376363B true CN104376363B (en) | 2017-04-05 |
Family
ID=52555259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410654711.0A Active CN104376363B (en) | 2014-11-17 | 2014-11-17 | A kind of multiphase orthogonal code generating method based on improved immune genetic algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104376363B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106372726B (en) * | 2016-08-30 | 2019-07-09 | 西安电子科技大学 | A kind of MIMO radar orthogonal intersection code signal optimization method based on GASA |
CN109856603B (en) * | 2019-03-26 | 2021-12-28 | 森思泰克河北科技有限公司 | Radar anti-interference method, terminal device and storage medium |
CN111273235B (en) * | 2019-12-25 | 2022-01-28 | 北京无线电测量研究所 | Orthogonal multiphase coding waveform acquisition method and device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106273A (en) * | 2007-06-04 | 2008-01-16 | 天津大学 | Unified power quality adjustment control method and device |
CN104090260A (en) * | 2014-07-15 | 2014-10-08 | 哈尔滨工程大学 | Method for searching for DOA estimation optimum antenna laying |
-
2014
- 2014-11-17 CN CN201410654711.0A patent/CN104376363B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101106273A (en) * | 2007-06-04 | 2008-01-16 | 天津大学 | Unified power quality adjustment control method and device |
CN104090260A (en) * | 2014-07-15 | 2014-10-08 | 哈尔滨工程大学 | Method for searching for DOA estimation optimum antenna laying |
Non-Patent Citations (1)
Title |
---|
《基于改进免疫遗传算法的机械零件的结构优化》;张干清等;《中南大学学报》;20111130;第42卷(第11期);第3359-3369页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104376363A (en) | 2015-02-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10931027B2 (en) | Method for array elements arrangement of l-shaped array antenna based on inheritance of acquired character | |
Tang et al. | Differential evolution with an individual-dependent mechanism | |
CN106528433B (en) | A kind of priorities of test cases sort method for white-box testing | |
CN106099393A (en) | Submatrix bare cloth based on genetic algorithm and array element sparse antenna array are comprehensively structured the formation method | |
CN107657098B (en) | Circular antenna array sparse method based on quantum chicken swarm evolution mechanism | |
CN102999783A (en) | Method for generating MIMO (multiple-input and multiple-output) radar orthogonal polyphase code signals on the basis of genetic-tabu hybrid algorithm | |
CN103188695B (en) | A kind of domestic aerial lay method and system | |
CN104376363B (en) | A kind of multiphase orthogonal code generating method based on improved immune genetic algorithm | |
CN113176540B (en) | Method and system for synthesizing joint beam patterns of sparse array MIMO radar | |
CN105572658A (en) | Three-dimensional imaging sonar reception plane array element sparse optimization method based on modified Genetic algorithm | |
CN104268077A (en) | Chaos genetic algorithm based test case intensive simple algorithm | |
CN107944133A (en) | Perimeter antenna array Sparse methods based on multi-target quantum spider group's mechanism of Evolution | |
Das et al. | Solution of short-term hydrothermal scheduling problem using quasi-reflected symbiotic organisms search algorithm considering multi-fuel cost characteristics of thermal generator | |
CN105512755A (en) | Decomposition-based multi-objective distribution estimation optimization method | |
Bayraktar et al. | A real-valued parallel clonal selection algorithm and its application to the design optimization of multi-layered frequency selective surfaces | |
CN107133560A (en) | A kind of shock response spectrum time domain waveform matching process based on genetic algorithm | |
CN110210623A (en) | Adaptive multiple target hybrid differential evolution algorithm based on simulated annealing and comentropy | |
Chen et al. | Sparse antenna array design for MIMO radar using multiobjective differential evolution | |
CN106372726B (en) | A kind of MIMO radar orthogonal intersection code signal optimization method based on GASA | |
CN103310275A (en) | Novel codebook design method based on ant colony clustering and genetic algorithm | |
CN107171712B (en) | Method for selecting transmitting terminal transmitting antenna in large-scale multi-input multi-output system | |
CN110322072A (en) | A kind of economic forecasting method neural network based | |
CN103942601A (en) | High-dimensional multi-target oriented multi-population mixing evolution method | |
Patcharabumrung et al. | Effects of Genetic Operators on Neural Architecture Search Using Multi-Objective Genetic Algorithm | |
CN106611217A (en) | Weighted genetic local search algorithm for multi-objective flow shop scheduling |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |