[go: up one dir, main page]

CN104407616A - Dynamic path planning method for mobile robot based on immune network algorithm - Google Patents

Dynamic path planning method for mobile robot based on immune network algorithm Download PDF

Info

Publication number
CN104407616A
CN104407616A CN201410729927.9A CN201410729927A CN104407616A CN 104407616 A CN104407616 A CN 104407616A CN 201410729927 A CN201410729927 A CN 201410729927A CN 104407616 A CN104407616 A CN 104407616A
Authority
CN
China
Prior art keywords
antibody
path
robot
affinity
network algorithm
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
Application number
CN201410729927.9A
Other languages
Chinese (zh)
Other versions
CN104407616B (en
Inventor
段勇
许晓龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang University of Technology
Original Assignee
Shenyang University of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenyang University of Technology filed Critical Shenyang University of Technology
Priority to CN201410729927.9A priority Critical patent/CN104407616B/en
Publication of CN104407616A publication Critical patent/CN104407616A/en
Application granted granted Critical
Publication of CN104407616B publication Critical patent/CN104407616B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
  • Feedback Control In General (AREA)
  • Manipulator (AREA)

Abstract

基于免疫网络算法的移动机器人动态路径规划方法,该方法步骤为: 1. 获取移动机器人工作环境的信息并对其进行处理,将周围环境中的静态障碍物用矩形包围盒的方式表示。 2. 在已收集的静态环境信息基础上应用改进的免疫网络算法进行全局路径规划。 3. 机器人沿着规划出的路径行进,如发现未知运动障碍则预测其能否妨碍正常行驶,如果影响正常行驶则预测可能碰撞的危险区域。 4. 根据预测的结果形成新的局部环境可视图并应用免疫网络算法规划出新的局部路径。 5. 当机器人到达局部规划的临时目标点后回到之前规划的全局路径上继续行进。本发明能够在保障复杂环境下求解出全局最优路径的基础上也能保障局部动态区域路径规划的最优。

A dynamic path planning method for a mobile robot based on an immune network algorithm. The steps of the method are: 1. Obtain information about the working environment of the mobile robot and process it, and represent the static obstacles in the surrounding environment in the form of a rectangular bounding box. 2. Based on the collected static environment information, apply the improved immune network algorithm for global path planning. 3. The robot travels along the planned path. If an unknown motion obstacle is found, it will predict whether it will hinder normal driving. If it affects normal driving, it will predict the dangerous area that may collide. 4. Form a new visual view of the local environment based on the predicted results and apply the immune network algorithm to plan a new local path. 5. When the robot reaches the temporary goal point of the local plan, it returns to the previously planned global path and continues to move forward. The present invention can guarantee the optimality of the path planning in the local dynamic area on the basis of ensuring the solution of the global optimal path in the complex environment.

Description

基于免疫网络算法的移动机器人动态路径规划方法A Dynamic Path Planning Method for Mobile Robots Based on Immune Network Algorithm

技术领域:本发明涉及一种基于免疫网络算法的移动机器人动态路径规划方法。本发明可广泛用于解决相对复杂的动态环境下移动机器人路径规划问题。Technical field: The present invention relates to a dynamic path planning method for a mobile robot based on an immune network algorithm. The invention can be widely used to solve the path planning problem of the mobile robot in a relatively complex dynamic environment.

背景技术:路径规划是移动机器人学研究的核心内容之一,其目的是在具有障碍物的工作环境中,寻找一条从给定起点到目标点的适当的安全运动路径,使机器人在运动过程中能够无碰撞地绕过所有障碍物。在移动机器人的相关技术研究中,路径规划技术是一个重要的研究领域。Background technology: Path planning is one of the core contents of mobile robotics research. Its purpose is to find an appropriate safe motion path from a given starting point to a target point in a working environment with obstacles, so that the robot can Able to go around all obstacles without collision. Path planning technology is an important research field in the related technology research of mobile robot.

现实中大多情况下移动机器人处在动态不确定环境里,对这类环境中的动态障碍物,移动机器人很难具备先验知识而只具有部分环境信息。在这种情况下,移动机器人只能根据实时探测到的环境信息进行局部路径规划。为了解决这类路径规划问题,通常是将传统的全局路径规划算法与碰撞预测的方法相结合,如一种碰撞预测法与人工势场法相结合的算法,该算法根据预测与动态障碍物发生碰撞的位置来改变移动机器人的运行速度进行躲避,但其没有考虑到复杂环境下移动机器人的全局路径规划能力。为解决上述的不足,本发明使用一种改进的免疫网络算法应用于部分未知环境下的移动机器人路径规划。In reality, mobile robots are mostly in dynamic and uncertain environments. For dynamic obstacles in such environments, it is difficult for mobile robots to have prior knowledge and only have partial environmental information. In this case, mobile robots can only perform local path planning based on real-time detected environmental information. In order to solve this kind of path planning problem, the traditional global path planning algorithm is usually combined with the collision prediction method, such as an algorithm combining the collision prediction method and the artificial potential field method. position to change the running speed of the mobile robot to avoid, but it does not take into account the global path planning ability of the mobile robot in complex environments. In order to solve the above-mentioned deficiencies, the present invention uses an improved immune network algorithm for path planning of mobile robots in partially unknown environments.

免疫网络算法是人工免疫算法中的一个重要的方法。基于Jerne提出免疫系统内部调节的独特型网络理论,de Castro与Timmis于2002年提出了免疫网络算法(opt-aiNet),它具有收敛速度快,求解精度高,稳定性能好,并且可以有效地克服“早熟”的特点,使其在全局寻优和优化速度方面具有优势,因此适合于解决移动机器人路径规划中的复杂多障碍全局规划问题和快速动态避障规划问题。The immune network algorithm is an important method in the artificial immune algorithm. Based on the unique network theory of the internal regulation of the immune system proposed by Jerne, de Castro and Timmis proposed the immune network algorithm (opt-aiNet) in 2002, which has fast convergence speed, high solution accuracy, good stability, and can effectively overcome The "premature" feature makes it have advantages in global optimization and optimization speed, so it is suitable for solving complex multi-obstacle global planning problems and fast dynamic obstacle avoidance planning problems in mobile robot path planning.

发明内容:Invention content:

发明目的:为了提高移动机器人路径规划问题的求解质量和求解效率的问题,本发明提供一种基于免疫网络算法的移动机器人动态路径规划方法,此方法不仅可以解决环境复杂情况下移动机器人全局路径规划,也适用于部分环境未知情况下的局部路径规划。Purpose of the invention: In order to improve the solution quality and efficiency of mobile robot path planning problems, the present invention provides a mobile robot dynamic path planning method based on the immune network algorithm, which can not only solve the global path planning of mobile robots in complex environments , which is also suitable for local path planning when part of the environment is unknown.

技术方案:Technical solutions:

一种基于免疫网络算法的移动机器人动态路径规划方法,其特征在于:首先基于可视图法对全局静态环境空间进行预处理,之后应用免疫网络算法规划出全局路径,在行进的过程中实时检测周围环境信息,对进入感知范围的未知动态障碍进行危险预测,根据预测的结果形成新的局部环境可视图并应用免疫网络算法规划出新的局部路径,当机器人到达局部规划的临时目标点后回到之前规划的全局路径上继续行进。A dynamic path planning method for a mobile robot based on an immune network algorithm, which is characterized in that: firstly, the global static environment space is preprocessed based on the visualization method, and then the global path is planned by applying the immune network algorithm, and the surrounding area is detected in real time during the traveling process. Environmental information, predict the danger of unknown dynamic obstacles entering the perception range, form a new visual view of the local environment according to the predicted results, and use the immune network algorithm to plan a new local path. When the robot reaches the temporary target point of the local plan, it returns to the Continue on the previously planned global path.

(一)、免疫网络算法的实现过程:(1) The implementation process of the immune network algorithm:

经过对免疫网络算法的改进以及与可视图的结合,算法具体的实现步骤如下:After improving the immune network algorithm and combining with the visual graph, the specific implementation steps of the algorithm are as follows:

(1)对移动机器人运行的环境空间进行预处理,构建可视图;(1) Preprocess the environment space where the mobile robot operates, and build a visual map;

(2)根据可视图的建立与分析,总结先验知识并提取疫苗,包括生成的抗体或路径不穿越障碍物的包围盒和生成的抗体或路径不存在倒退现象;(2) According to the establishment and analysis of the visual map, summarize the prior knowledge and extract the vaccine, including the generated antibody or path does not pass through the bounding box of obstacles and the generated antibody or path does not have regression phenomenon;

(3)种群初始化:先接种疫苗,在搜索空间内通过植入疫苗产生m个抗体即m条路径,路径的生成方式是从起始点逐步延伸到目标点,由这m个抗体即m条路径构成初始父代种群其中上标i表示第i代,下标m表示抗体个数;(3) Population initialization: vaccinate first, and generate m antibodies or m paths by implanting vaccines in the search space. The path generation method is to gradually extend from the starting point to the target point, and the m antibodies are m paths Constitute the initial parent population The superscript i indicates the i-th generation, and the subscript m indicates the number of antibodies;

(4)停止条件:根据抗体和抗原之间的适应度以及抗体之间的浓度来最终确定抗体的亲和度,计算当前父代种群的遗传代数及中所有抗体的亲和度,若满足条件,则终止运算并输出结果,否则继续;(4) Stop condition: According to the fitness between the antibody and the antigen and the concentration between the antibodies, the affinity of the antibody is finally determined, and the genetic algebra and the number of the current parent population are calculated. The affinity of all antibodies in , if the conditions are met, the operation is terminated and the result is output, otherwise continue;

(5)克隆扩增:对上述抗体群中的每个抗体(路径)分别产生n个克隆体,此时扩增为m*n个克隆抗体(路径),此时抗体群变为每条路径都复制n倍,下一步的路径变异将更充分,增加了每代抗体的多样性;(5) Clonal expansion: n clones are generated for each antibody (path) in the above-mentioned antibody group, and at this time, m*n cloned antibodies (paths) are amplified, and the antibody group becomes Each path is replicated n times, and the path variation in the next step will be more sufficient, increasing the diversity of each generation of antibodies;

(6)高频变异:克隆抗体群中每个克隆的抗体均要经历高频变异得到这里指的是对抗体路径进行增加或者删除节点;(6) High-frequency variation: clonal antibody group The antibody of each clone must undergo high-frequency mutation to obtain This refers to adding or deleting nodes to the antibody path;

(7)重新计算适配值:对抗体群中的所有个体,包括每个父抗体及其变异克隆抗体,重新计算其亲和度;(7) Recalculate the fitness value: recalculate the affinity of all individuals in the antibody population, including each parent antibody and its variant clone antibody;

(8)记忆抗体群更新:从每个父抗体及其克隆抗体中,选择具有最高亲和度的变异克隆抗体,共同组成m个新的具有最高亲和力的精英变异抗体群并将其作为更新记忆抗体群的候选,再从中选出m个亲和力最高的组成新的精英变异抗体群之后再计算记忆抗体群中的平均亲和力;(8) Memory antibody group update: from each parent antibody and its clone antibody Among them, the mutated clone antibody with the highest affinity is selected to form m new elite mutated antibody groups with the highest affinity And use it as a candidate to update the memory antibody group, and then from and Select the m with the highest affinity to form a new elite mutant antibody group Then calculate the average affinity in the memory antibody population;

(9)免疫自调节与受体编辑:随机生成r(r<m)个全新的抗体替换此时抗体群中r个具有最低亲和力的抗体,以模拟生物免疫系统中的受体编辑过程,增加抗体群的多样性,如此一来,算法即产生了下一代的抗体群之后返回步骤4;(9) Immune self-regulation and receptor editing: randomly generate r (r<m) brand new antibodies Replace the antibody population at this time The r antibodies with the lowest affinity are used to simulate the receptor editing process in the biological immune system and increase the diversity of the antibody population. In this way, the algorithm generates the next generation of antibody populations Then return to step 4;

(二)、基于免疫网络算法的移动机器人动态路径规划步骤:(2) Steps of dynamic path planning for mobile robot based on immune network algorithm:

针对移动发机器人工作空间为环境信息部分未知的情况,具体的路径规划步骤如下:For the situation where the mobile robot’s workspace is partially unknown, the specific path planning steps are as follows:

(1)对已知的静态环境信息应用改进的免疫网络算法进行全局路径规划;(1) Apply the improved immune network algorithm to the known static environment information for global path planning;

(2)机器人沿着规划出的路径行进;(2) The robot moves along the planned path;

(3)判断是否到达目标点,到达则结束,没到达则继续沿着规划出的路径行进;(3) Judging whether to reach the target point, if it arrives, it will end, if it does not arrive, it will continue to travel along the planned path;

由于环境空间中的静态障碍物的信息事先已知,那么每当机器人行走一步就会判断机器人和已知的各个静态障碍物之间的距离是否小于滚动窗,即传感器的感知范围的半径,这样就能得出这些静态障碍物是否已出现在滚动窗的范围内;Since the information of the static obstacles in the environmental space is known in advance, every time the robot takes a step, it will be judged whether the distance between the robot and the known static obstacles is smaller than the rolling window, that is, the radius of the sensing range of the sensor. It can be concluded whether these static obstacles have appeared within the range of the rolling window;

(4)判断运动障碍是否妨碍机器人的正常行驶;(4) Determine whether the movement obstacle hinders the normal driving of the robot;

(5)预测出标记的未知动态障碍物会与沿着之前规划好的路径行进的机器人在接下来某T时刻发生碰撞,则把这个未知运动障碍物T时刻的位置记录下来,当作“静态障碍物”处理,考虑到预测的误差和实际环境中的不确定因素,把这个“静态障碍物”的区域扩大一些,记作危险区域;(5) It is predicted that the marked unknown dynamic obstacle will collide with the robot traveling along the previously planned path at the next T time, then record the position of the unknown moving obstacle at T time as a "static Obstacle" processing, taking into account the prediction error and the uncertain factors in the actual environment, expand the area of this "static obstacle" and record it as a dangerous area;

(6)当危险区域完全进入滚动窗之内后,机器人将当前时刻滚动窗与之前规划的路径交点作为临时局部目标点,当前机器人的位置作为起始点,感知窗内的静态障碍物和危险区域作为局部环境信息,应用免疫网络算法规划出新的路径,机器人沿着新规划的路径行驶,返回步骤3。(6) When the dangerous area completely enters the rolling window, the robot takes the intersection point of the rolling window at the current moment and the previously planned path as a temporary local target point, and the current robot position as the starting point to perceive static obstacles and dangerous areas in the window As the local environment information, a new path is planned by applying the immune network algorithm, and the robot drives along the newly planned path, and returns to step 3.

(二)步骤的第(4)步骤中机器人在行进的过程中先不用考虑滚动窗,直到传感器发现新的未知障碍物进入到滚动窗之内,即未知障碍物与机器人的距离小于滚动窗的半径时,标记该未知动态障碍物并且开始预测未知障碍物的运动轨迹;预测的结果分为以下两种情况:一是未知障碍物不会妨碍机器人的正常行驶,则机器人继续沿着之前规划好的路径行进即可,即重新返回步骤2;二是预测出运动障碍可能妨碍机器人的正常行驶,则转到(二)步骤的第(5)步骤。(2) In step (4) of step (4), the robot does not need to consider the rolling window until the sensor finds that a new unknown obstacle enters the rolling window, that is, the distance between the unknown obstacle and the robot is less than the rolling window radius, mark the unknown dynamic obstacle and start to predict the trajectory of the unknown obstacle; the prediction results are divided into the following two situations: one is that the unknown obstacle will not hinder the normal driving of the robot, then the robot continues to follow the previously planned The path can be followed, that is, return to step 2; the second is to predict that the movement obstacle may hinder the normal driving of the robot, then go to step (5) of step (2).

免疫网络算法中抗体的设计:Antibody design in the immune network algorithm:

经过可视图法对移动机器人工作环境空间处理之后,构成抗体路径只需要考虑各个障碍物顶点的集合V中的元素,不需要考虑环境空间中之外的任何点,这样搜索范围将显著减少,使得算法效率得到提高。各节点的结构如下所示:After processing the working environment space of the mobile robot by the visual graph method, the composition of the antibody path only needs to consider the elements in the set V of each obstacle vertex, and does not need to consider any points outside the environment space, so the search range will be significantly reduced, making Algorithm efficiency is improved. The structure of each node is as follows:

IDpointID points IDobjectIDobject xx ythe y

其中IDpoint表示节点编号,IDobject表示节点所属障碍物编号,x、y分别表示节点的横纵坐标;在移动机器人路径规划问题中,抗原表示所要解决的问题即最优路径,本申请设定为起始点s与目标点g的欧式距离,抗体表示所求问题的解,即搜索出的可行路径,它由移动机器人的起始点、目标点以及一系列中间节点连接成的折线构成,为清晰的描述路径走向,抗体中元素的顺序表示移动机器人运动时经过节点的次序,抗体采用字符串编码方式,其长度可随节点的数目而变化,抗体的数据结构入下所示:Among them, IDpoint represents the node number, IDobject represents the obstacle number to which the node belongs, and x and y represent the horizontal and vertical coordinates of the node respectively; in the path planning problem of the mobile robot, the antigen represents the problem to be solved, that is, the optimal path, and this application sets it as The Euclidean distance between the starting point s and the target point g, the antibody represents the solution of the problem to be sought, that is, the feasible path searched, which is composed of the starting point of the mobile robot, the target point and a series of broken lines connected by intermediate nodes, which is a clear description The direction of the path, the order of the elements in the antibody indicates the order of the nodes that the mobile robot passes through when moving, the antibody uses a string encoding method, and its length can vary with the number of nodes, the data structure of the antibody is as follows:

AffinityAffinity DensityDensity FitnessFitness LengthLength sthe s vv gg

其中Affinity表示抗体的亲和度,这里用亲和度评价抗体的好坏;Fitness表示抗体的适应度,具有较短路径的抗体具有较高的适应度;Density表示抗体的浓度,即相同抗体所占抗体群中的比例,Length表示抗体由s到g的长度,其余部分为构成路径的节点,这种存储结构在抗体发生变化时,可灵活改变抗体的长度;Among them, Affinity represents the affinity of the antibody, which is used to evaluate the quality of the antibody here; Fitness represents the fitness of the antibody, and antibodies with shorter paths have higher fitness; Density represents the concentration of the antibody, that is, the concentration of the same antibody. Accounting for the proportion of the antibody group, Length indicates the length of the antibody from s to g, and the rest is the node that constitutes the path. This storage structure can flexibly change the length of the antibody when the antibody changes;

免疫网络算法中亲和度的计算:Calculation of affinity in the immune network algorithm:

本申请为了抑制和避免早熟现象的出现,这里加入了抗体浓度的计算,具体亲和度的计算公式如下:In order to suppress and avoid the appearance of prematurity in this application, the calculation of antibody concentration is added here, and the calculation formula of specific affinity is as follows:

AffinityAffinity (( ii )) == FitnessFitness (( ii )) 11 ++ &alpha;&alpha; lnln (( 11 ++ DensityDensity (( ii )) ))

其中Affinity(i)表示抗体i的亲和度;Fitness(i)表示抗体i的适应度,和距离有关,抗体路径的距离越短,其抗体的适应度就越高;Density(i)表示抗体i的浓度,即相同的抗体路径越多,抗体的浓度就越大;α是一个正的常数,通过此式子可以看出适应度越大,亲和度越大;浓度越高,亲和度越小。Among them, Affinity(i) represents the affinity of antibody i; Fitness(i) represents the fitness of antibody i, which is related to distance. The shorter the distance of the antibody path, the higher the fitness of the antibody; Density(i) represents the antibody The concentration of i, that is, the more the same antibody path, the greater the antibody concentration; α is a positive constant, through this formula, it can be seen that the greater the fitness, the greater the affinity; the higher the concentration, the greater the affinity The smaller the degree.

优点及效果:本发明提供一种基于免疫网络算法的移动机器人动态路径规划方法,本申请将路径长短作为衡量路径优良与否的主要标准,在静态环境信息已知、未知动态障碍物信息未知环境下研究了独特型免疫网络理论中的opt-aiNet算法与可视图相结合的路径规划方法。首先基于可视图法对全局静态环境空间进行描述,之后应用免疫网络算法规划出全局路径。在机器人移动过程中实时检测周围环境信息,对进入感知范围的未知动态障碍进行危险预测,根据预测的结果形成新的局部环境可视图并应用免疫网络算法规划出新的局部路径,从而实现局部动态规划和全局静态规划的结合。此外,为了避免免疫网络进行机器人路径规划时易出现的进化早熟、抗体缺乏多样性等问题,引入了抗体浓度的计算方法。本发明在保障全局最优路径的基础上也能保障局部动态区域路径规划的最优。Advantages and effects: the present invention provides a dynamic path planning method for mobile robots based on the immune network algorithm. This application takes the length of the path as the main criterion for measuring whether the path is good or not. In the environment where the static environment information is known and the dynamic obstacle information is unknown The path planning method combining opt-aiNet algorithm and visual graph in idiotype immune network theory is studied. Firstly, the global static environment space is described based on the visualization method, and then the global path is planned by using the immune network algorithm. Detect the surrounding environment information in real time during the robot’s movement, predict the danger of unknown dynamic obstacles entering the perception range, form a new visual view of the local environment according to the predicted results, and use the immune network algorithm to plan a new local path, so as to achieve local dynamics Combination of planning and global static programming. In addition, in order to avoid problems such as premature evolution and lack of antibody diversity that are prone to occur when the immune network is used for robot path planning, a calculation method for antibody concentration is introduced. The present invention can also guarantee the optimization of local dynamic area path planning on the basis of ensuring the global optimal path.

附图说明:Description of drawings:

图1机器人工作环境示意图;Figure 1 Schematic diagram of the working environment of the robot;

图2局部路径规划流程图;Figure 2 is a flow chart of local path planning;

图3免疫网络算法流程图;Figure 3 Immune Network Algorithm Flowchart;

图4工作环境相对复杂的路径规划;Fig. 4 Path planning with relatively complicated working environment;

图5进化代数的统计;Figure 5 Statistics of evolutionary algebra;

图6种群抗体亲和度的分析;The analysis of the antibody affinity of Fig. 6 population;

图7存在未知动态障碍物的路径规划。Fig. 7 Path planning with unknown dynamic obstacles.

具体实施方式:下面结合附图对本发明做进一步的说明:The specific embodiment: the present invention will be further described below in conjunction with accompanying drawing:

图1表示移动机器人工作环境空间,沿着路径行进的小车代表移动机器人,其外围的虚线圆圈是移动机器人的局部感知范围,即传感器的有效感知范围(如激光传感器、超声传感器或全景视觉传感器等),s表示移动机器人的起始点,g表示移动机器人的最终目标点,黑色矩形代表环境空间内的静态障碍物(用Oj表示),环境空间中另一个小车代表动态障碍物,箭头代表其运动方向,每个障碍物的矩形包围盒的四个顶点都有固定的编号(用vi来表示),其顶点的编号i与障碍物的编号j的对应关系为i=1,2,…,j*4。Figure 1 shows the working environment space of the mobile robot. The car traveling along the path represents the mobile robot. The dotted circle around it is the local sensing range of the mobile robot, that is, the effective sensing range of the sensor (such as laser sensor, ultrasonic sensor or panoramic vision sensor, etc. ), s represents the starting point of the mobile robot, g represents the final goal point of the mobile robot, the black rectangle represents the static obstacle in the environment space (represented by O j ), another car in the environment space represents the dynamic obstacle, and the arrow represents its In the direction of movement, the four vertices of the rectangular bounding box of each obstacle have a fixed number (indicated by v i ), and the corresponding relationship between the number i of the vertex and the number j of the obstacle is i=1,2,... ,j*4.

本文考虑到移动机器人的实际尺寸,在构建障碍物包围盒时预留出一定的安全距离即障碍物包围盒外围的虚线框,将图1中满足条件的所有端点相连,即构成可视图,图中每条从起始点s到最终目标点g的连线即为一条路径(也代表一个抗体)。路径的表示方法为移动机器人运动时经过顶点的次序,如path1=s→v9→v2→g。In this paper, considering the actual size of the mobile robot, a certain safety distance is reserved when constructing the obstacle bounding box, that is, the dotted line frame around the obstacle bounding box, and all the endpoints that meet the conditions in Figure 1 are connected to form a visible view, as shown in Figure 1. Each line from the starting point s to the final goal point g in is a path (also representing an antibody). The representation method of the path is the sequence of vertices that the mobile robot passes through, such as path1=s→v 9 →v 2 →g.

经过可视图法对环境空间的预处理,算法搜索的范围从工作环境中所有的点缩减到各个障碍物的节点与目标点,使算法的搜索范围极大压缩,大幅提高了优化算法的收敛速度,使之能够适应实时的局部路径规划。After the preprocessing of the environment space by the visualization method, the search range of the algorithm is reduced from all points in the working environment to the nodes and target points of each obstacle, which greatly reduces the search range of the algorithm and greatly improves the convergence speed of the optimization algorithm , so that it can be adapted to real-time local path planning.

一种基于免疫网络算法的移动机器人路径规划步骤:A mobile robot path planning steps based on immune network algorithm:

针对移动发机器人工作空间为环境信息部分未知的情况,如图2所示,具体的路径规划步骤如下:For the situation where the mobile robot’s workspace is partly unknown to the environment information, as shown in Figure 2, the specific path planning steps are as follows:

步骤1:获取移动机器人工作环境的信息并对其进行处理,将周围环境中的静态障碍物用矩形包围盒的方式表示。Step 1: Obtain the information of the working environment of the mobile robot and process it, and represent the static obstacles in the surrounding environment with a rectangular bounding box.

考虑到移动机器人工作环境的多变性所引起算法搜索的复杂度与实时性的要求,本申请采用可视图法来描述移动机器人所在的工作环境。记可视图VG=(V,L),其中V是由各个障碍物包围盒的各个顶点与起始点s、目标点g以及各个障碍物矩形包围盒,本申请采用矩形包围盒的各个顶点构成的集合,L表示各个顶点之间“可视的”连线,即如果这些连线不与障碍物相交则认为线段是“可视的”,那么所有“可视的”连线的组合即为当前环境空间的可视图,每条连线也表示移动机器人的可运行路径。Considering the complexity and real-time requirements of the algorithm search caused by the variability of the working environment of the mobile robot, this application adopts the visual diagram method to describe the working environment of the mobile robot. Note the visible view VG=(V, L), wherein V is composed of each vertex of each obstacle bounding box, the starting point s, the target point g, and each obstacle rectangular bounding box. This application adopts each vertex of the rectangular bounding box to form Set, L represents the "visible" connection between each vertex, that is, if these connections do not intersect with obstacles, the line segment is considered "visible", then the combination of all "visible" connections is the current A visual map of the environment space, each line also represents the runnable path of the mobile robot.

利用可视图法对移动机器人的工作环境空间进行规划处理,核心的问题是构建成本矩阵,即各个节点之间距离的大小构成的矩阵。用节点编号,每个障碍物矩形包围盒的四个顶点和起始点、目标点来表示成本矩阵中的行和列,行和列中的内容用可直接连通的两个节点之间的欧氏距离表示,其中∞表示两节点之间的连线穿过障碍物,即成本无限大。利用成本矩阵,可快速计算出任一路径所需的成本;成本矩阵构造完成之后,将在一定程度上影响免疫网络算法求解移动机器人路径规划问题时疫苗的提取与抗体编码方式的确定。Using the visualization method to plan and process the working environment space of the mobile robot, the core problem is to construct the cost matrix, that is, the matrix formed by the distance between each node. Use the node number, the four vertices of the rectangular bounding box of each obstacle, the starting point, and the target point to represent the rows and columns in the cost matrix, and the contents in the rows and columns are represented by the Euclidean Distance representation, where ∞ means that the connection between two nodes passes through obstacles, that is, the cost is infinite. Using the cost matrix, the cost required for any path can be quickly calculated; after the cost matrix is constructed, it will to a certain extent affect the extraction of vaccines and the determination of antibody encoding methods when the immune network algorithm solves the problem of path planning for mobile robots.

步骤2:在已收集的静态环境信息基础上应用免疫网络算法进行全局路径规划。Step 2: Apply the immune network algorithm on the basis of the collected static environment information for global path planning.

将待求解问题即最优路径视为抗原,将问题的解(求出的最优路径)视为抗体,随机生成给定数量的初始路径(抗体),采用选择、复制、变换路径等算子对种群进行进化操作,产生优于父代路径的子代路径。这里加入了对网络中抗体之间相互作用或免疫自调节功能的模拟,通过计算抗体之间的相似程度,动态地平衡抗体群中抗体的个数。Treat the problem to be solved, that is, the optimal path, as an antigen, and the solution of the problem (the optimal path obtained) as an antibody, randomly generate a given number of initial paths (antibodies), and use operators such as selection, copying, and transformation paths Evolutionary operations are performed on the population to produce offspring paths that are superior to parent paths. Here, the simulation of the interaction between antibodies in the network or the immune self-regulation function is added, and the number of antibodies in the antibody population is dynamically balanced by calculating the similarity between antibodies.

此步骤对免疫网络算法中的亲和度的计算方式与抗体及其基因的编码方式进行了改进。This step improves the way affinity is calculated in the immune network algorithm and how antibodies and their genes are encoded.

应用免疫网络算法实现路径规划的流程图如图3所示,其算法步骤如下:The flow chart of implementing path planning by applying the immune network algorithm is shown in Figure 3, and the algorithm steps are as follows:

(1)根据可视图的建立与分析,总结先验知识并提取疫苗,包括生成的抗体(路径)不穿越障碍物的包围盒和生成的抗体(路径)不存在倒退现象。(1) Based on the establishment and analysis of the visual graph, summarize the prior knowledge and extract the vaccine, including the generated antibody (path) does not pass through the bounding box of obstacles and the generated antibody (path) does not have regression phenomenon.

经过可视图法对移动机器人工作环境空间处理之后,构成抗体路径只需要考虑各个障碍物顶点的集合V中的元素,不需要考虑环境空间中之外的任何点,这样搜索范围将显著减少,使得算法效率得到提高。各节点的结构如表1所示:After processing the working environment space of the mobile robot by the visual graph method, the composition of the antibody path only needs to consider the elements in the set V of each obstacle vertex, and does not need to consider any points outside the environment space, so the search range will be significantly reduced, making Algorithm efficiency is improved. The structure of each node is shown in Table 1:

IDpointID points IDobjectIDobject xx ythe y

表1 节点编码格式Table 1 Node encoding format

其中IDpoint表示节点编号,IDobject表示节点所属障碍物编号,x、y分别表示节点的横纵坐标。在移动机器人路径规划问题中,抗原表示所要解决的问题即最优路径,本申请设定为起始点s与目标点g的欧式距离。抗体表示所求问题的解,即搜索出的可行路径,它由移动机器人的起始点、目标点以及一系列中间节点连接成的折线构成。为清晰的描述路径走向,抗体中元素的顺序表示移动机器人运动时经过节点的次序。抗体采用字符串编码方式,其长度可随节点的数目而变化,抗体的数据结构表2所示:Among them, IDpoint represents the node number, IDobject represents the obstacle number to which the node belongs, and x and y represent the horizontal and vertical coordinates of the node respectively. In the path planning problem of mobile robots, the antigen represents the problem to be solved, that is, the optimal path, which is set as the Euclidean distance between the starting point s and the goal point g in this application. The antibody represents the solution to the problem, that is, the searched feasible path, which is composed of the starting point, the target point and a series of broken lines connected by the mobile robot. In order to clearly describe the path direction, the sequence of elements in the antibody represents the sequence of nodes that the mobile robot passes through. The antibody adopts a string encoding method, and its length can vary with the number of nodes. The data structure of the antibody is shown in Table 2:

AffinityAffinity DensityDensity FitnessFitness LengthLength sthe s vv gg

表2 抗体编码格式Table 2 Antibody coding format

其中Affinity表示抗体的亲和度,这里用亲和度评价抗体的好坏;Fitness表示抗体的适应度,具有较短路径的抗体具有较高的适应度;Density表示抗体的浓度,即相同抗体所占抗体群中的比例,Length表示抗体由s到g的长度,其余部分为构成路径的节点,这种存储结构在抗体发生变化时,可灵活改变抗体的长度。Among them, Affinity represents the affinity of the antibody, which is used to evaluate the quality of the antibody here; Fitness represents the fitness of the antibody, and antibodies with shorter paths have higher fitness; Density represents the concentration of the antibody, that is, the concentration of the same antibody. Accounting for the proportion of the antibody population, Length represents the length of the antibody from s to g, and the rest are the nodes that constitute the path. This storage structure can flexibly change the length of the antibody when the antibody changes.

在免疫网络算法中,抗体的亲和度起着重要作用,尤其是在记忆抗体群更新与免疫自调节步骤中用亲和度来衡量抗体的价值,从而对抗体进行筛选。In the immune network algorithm, the affinity of antibodies plays an important role, especially in the steps of updating memory antibody population and immune self-regulation, using affinity to measure the value of antibodies, so as to screen antibodies.

抗体的亲和度指抗体与抗原的结合强度,本申请用亲和度来评价抗体的好坏。为了抑制和避免早熟现象的出现,这里加入了抗体浓度的计算。具体亲和度的计算公式如下:The affinity of an antibody refers to the binding strength between an antibody and an antigen. This application uses affinity to evaluate the quality of an antibody. In order to suppress and avoid the appearance of premature maturation, the calculation of antibody concentration is added here. The calculation formula of specific affinity is as follows:

AffinityAffinity (( ii )) == FitnessFitness (( ii )) 11 ++ &alpha;&alpha; lnln (( 11 ++ DensityDensity (( ii )) ))

其中Affinity(i)表示抗体i的亲和度;Fitness(i)表示抗体i的适应度,和距离有关,抗体路径的距离越短,其抗体的适应度就越高;Density(i)表示抗体i的浓度,即相同的抗体路径越多,抗体的浓度就越大;α是一个正的常数。通过这个式子可以看出适应度越大,亲和度越大;浓度越高,亲和度越小。Among them, Affinity(i) represents the affinity of antibody i; Fitness(i) represents the fitness of antibody i, which is related to distance. The shorter the distance of the antibody path, the higher the fitness of the antibody; Density(i) represents the antibody The concentration of i, that is, the more the same antibody path, the greater the concentration of antibody; α is a positive constant. Through this formula, it can be seen that the greater the fitness, the greater the affinity; the higher the concentration, the smaller the affinity.

(2)种群初始化:先接种疫苗,在搜索空间内通过植入疫苗产生m个抗体(m条路径),路径的生成方式是从起始点逐步延伸到目标点,由这m个抗体(m条路径)构成初始父代种群其中上标i表示第i代,下标m表示抗体个数。(2) Population initialization: vaccinate first, and generate m antibodies (m paths) by implanting vaccines in the search space. The path generation method is to gradually extend from the starting point to the target point. path) to form the initial parent population The superscript i indicates the i-th generation, and the subscript m indicates the number of antibodies.

(3)停止条件:根据抗体和抗原之间的适应度以及抗体之间的浓度来最终确定抗体的亲和度,计算当前父代种群的遗传代数及中所有抗体的亲和度,若满足条件,则终止运算并输出结果,否则继续。(3) Stopping condition: According to the fitness between the antibody and the antigen and the concentration between the antibodies, the affinity of the antibody is finally determined, and the genetic algebra and the number of the current parent population are calculated. The affinity of all antibodies in , if the conditions are met, terminate the operation and output the result, otherwise continue.

(4)克隆扩增:对上述抗体群中的每个抗体(路径)分别产生n个克隆体,此时扩增为m*n个克隆抗体(路径),此时抗体群变为每条路径都复制n倍,下一步的路径变异将更充分,增加了每代抗体的多样性。(4) Clonal expansion: n clones are generated for each antibody (path) in the above-mentioned antibody group, and at this time, m*n cloned antibodies (paths) are amplified, and the antibody group becomes Each path is replicated n times, and the path variation in the next step will be more sufficient, increasing the diversity of each generation of antibodies.

(5)高频变异:克隆抗体群中每个克隆的抗体均要经历高频变异得到这里指的是对抗体路径进行增加或者删除节点。(5) High-frequency variation: clonal antibody group The antibody of each clone must undergo high-frequency mutation to obtain This refers to adding or deleting nodes to the antibody path.

(6)重新计算适配值:对抗体群中的所有个体,包括每个父抗体及其变异克隆抗体,重新计算其亲和度。(6) Recalculate the fitness value: recalculate the affinity of all individuals in the antibody population, including each parent antibody and its variant clone antibody.

(7)记忆抗体群更新:从每个父抗体及其克隆抗体中,选择具有最高亲和度的变异克隆抗体,共同组成m个新的具有最高亲和力的精英变异抗体群并将其作为更新记忆抗体群的候选,再从中选出m个亲和力最高的组成新的精英变异抗体群之后再计算记忆抗体群中的平均亲和力。(7) Memory antibody group update: from each parent antibody and its clone antibody Among them, the mutated clone antibody with the highest affinity is selected to form m new elite mutated antibody groups with the highest affinity And use it as a candidate to update the memory antibody group, and then from and Select the m with the highest affinity to form a new elite mutant antibody group The average affinity in the memory antibody population is then calculated.

(8)免疫自调节与受体编辑:随机生成r(r<m)个全新的抗体替换此时抗体群中r个具有最低亲和力的抗体,以模拟生物免疫系统中的受体编辑过程,增加抗体群的多样性。如此一来,算法即产生了下一代的抗体群 A m i + 1 = C r i + D m - r i , 之后返回(3)。(8) Immune self-regulation and receptor editing: Randomly generate r (r<m) brand new antibodies Replace the antibody population at this time The r antibodies with the lowest affinity are used to simulate the receptor editing process in the biological immune system and increase the diversity of the antibody population. In doing so, the algorithm generates the next generation of antibody populations A m i + 1 = C r i + D. m - r i , Then return to (3).

步骤3:机器人沿着规划出的路径行进。Step 3: The robot moves along the planned path.

步骤4:判断是否到达目标点,到达则结束,没到达则继续沿着规划出的路径行进。Step 4: Judging whether the target point is reached, if it is reached, it will end, and if it is not reached, it will continue to travel along the planned path.

由于环境空间中的静态障碍物的信息事先已知,那么每当机器人行走一步就会判断机器人和已知的各个静态障碍物之间的距离是否小于滚动窗(传感器的感知范围)的半径,这样就能得出这些静态障碍物是否已出现在滚动窗的范围内。Since the information of the static obstacles in the environmental space is known in advance, each time the robot takes a step, it will be judged whether the distance between the robot and the known static obstacles is smaller than the radius of the rolling window (the sensing range of the sensor), so It can be concluded whether these static obstacles have appeared within the range of the rolling window.

步骤5:判断运动障碍是否妨碍机器人的正常行驶。Step 5: Determine whether the movement obstacle hinders the normal driving of the robot.

机器人在行进的过程中先不用考虑滚动窗,直到传感器发现新的未知障碍物进入到滚动窗之内(即未知障碍物与机器人的距离小于滚动窗的半径)时,标记该未知动态障碍物并且开始预测未知障碍物的运动轨迹。预测的结果分为以下两种情况:一是未知障碍物不会妨碍机器人的正常行驶,则机器人继续沿着之前规划好的路径行进即可,即重新返回步骤3。二是预测出运动障碍可能妨碍机器人的正常行驶,则转到步骤6。The robot does not need to consider the rolling window when it is moving, until the sensor finds that a new unknown obstacle enters the rolling window (that is, the distance between the unknown obstacle and the robot is less than the radius of the rolling window), the unknown dynamic obstacle is marked and Start to predict the trajectory of unknown obstacles. The prediction results are divided into the following two cases: one is that the unknown obstacle will not hinder the normal driving of the robot, then the robot can continue to travel along the previously planned path, that is, return to step 3. The second is to predict that the movement obstacle may hinder the normal driving of the robot, then go to step 6.

步骤6:预测出标记的未知动态障碍物会与沿着之前规划好的路径行进的机器人在接下来某T时刻发生碰撞,则把这个未知运动障碍物T时刻的位置记录下来,当作“静态障碍物”处理,考虑到预测的误差和实际环境中的不确定因素,把这个“静态障碍物”的区域扩大一些,记作危险区域。Step 6: It is predicted that the marked unknown dynamic obstacle will collide with the robot traveling along the previously planned path at the next T time, then record the position of the unknown moving obstacle at T time as a "static Obstacle" processing, taking into account the prediction error and the uncertain factors in the actual environment, expand the area of this "static obstacle" and record it as a dangerous area.

步骤7:当危险区域完全进入滚动窗之内后,机器人将当前时刻滚动窗与之前规划的路径交点作为临时局部目标点,当前机器人的位置作为起始点,感知窗内的静态障碍物和危险区域作为局部环境信息,应用免疫网络算法规划出新的路径,机器人沿着新规划的路径行驶,返回步骤4。Step 7: When the dangerous area completely enters the rolling window, the robot takes the intersection of the rolling window and the previously planned path at the current moment as a temporary local target point, and the current position of the robot as the starting point to perceive static obstacles and dangerous areas in the window As the local environment information, a new path is planned by applying the immune network algorithm, and the robot drives along the newly planned path, and returns to step 4.

经过上述步骤描述,得出本发明不仅能够较高效的实现复杂环境下移动机器人全局路径规划,还可以完成存在局部未知动态障碍的局部路径规划。Through the description of the above steps, it can be concluded that the present invention can not only realize the global path planning of the mobile robot in a complex environment more efficiently, but also complete the local path planning with local unknown dynamic obstacles.

图4表示环境空间相对复杂的全局路径规划,在机器人的运动环境中设置了多个密集障碍。图中每个任意不穿越障碍的两点连线都代表机器人可行的路径线段,s到g任意一条路径都是这些可行路径线段的组合。随着障碍物的增多,从s到g的路径可谓成倍的增加。可以看出图4中可行的路径数目非常多,算法最终要从这数目繁多的路径中选出成本最小的那条路径,从s到g加粗线段的连线就表示算法求解出的最终路径,可从图4中看出求解出的路径是最优的。图5表示路径规划次数与进化代数的变化关系。在此工作环境进行了500次规划,由于每次规划初始抗体(路径)群均为随机产生,加上高频变异的随机性与每代都有新的抗体(路径)加入,使得每次规划求出最优路径所需要的进化代数具有不确定性。经过对500次规划的统计得出平均进化代数只有248代,明显低于因为搜索空间过大造成进化代数明显偏高的传统免疫网络算法。从这500次规划中选择了一次进化代数(245代)与平均进化代数(248代)较为接近的数据作为分析,图6所给出了这次规划中历代抗体种群亲和度随着进化代数不断增加的变化情况,横坐标代表进化代数,纵坐标表示亲和度。从图6中可以看出,种群的最优抗体亲和度随着进化代数的增加而呈现逐步递增趋势,虽然算法进化了500代,但在进化到245代时就已经达到了最高的亲和度;当最优亲和度达到最高值时,平均亲和度也一直存在一定的波动,这是由于为了保持种群中抗体的多样性,每代都有新的随机抗体生成替换种群中相同数量亲和度最低的抗体。Figure 4 shows the relatively complex global path planning in the environment space, and multiple dense obstacles are set in the robot's motion environment. Every line connecting any two points that does not pass through obstacles in the figure represents a feasible path segment of the robot, and any path from s to g is a combination of these feasible path segments. As the number of obstacles increases, the path from s to g can be said to increase exponentially. It can be seen that the number of feasible paths in Figure 4 is very large, and the algorithm finally needs to select the path with the lowest cost from the large number of paths. The line from s to g in bold represents the final path solved by the algorithm. , it can be seen from Fig. 4 that the solved path is optimal. Figure 5 shows the relationship between path planning times and evolutionary algebra. In this working environment, 500 times of planning were carried out. Since the initial antibody (path) population of each planning is randomly generated, coupled with the randomness of high-frequency variation and the addition of new antibodies (paths) in each generation, each planning The evolution algebra needed to find the optimal path is uncertain. After 500 planning statistics, the average evolutionary algebra is only 248 generations, which is significantly lower than the traditional immune network algorithm whose evolutionary algebra is obviously high due to the large search space. From these 500 plans, the data whose evolutionary algebra (245 generations) is close to the average evolutionary algebra (248 generations) was selected for analysis. The ever-increasing changes, the abscissa represents the evolutionary algebra, and the ordinate represents the affinity. It can be seen from Figure 6 that the optimal antibody affinity of the population shows a gradual increasing trend with the increase of evolutionary generations. Although the algorithm has evolved for 500 generations, it has reached the highest affinity when it has evolved to 245 generations. degree; when the optimal affinity reaches the highest value, the average affinity has always fluctuated to a certain extent. This is because in order to maintain the diversity of antibodies in the population, new random antibodies are generated in each generation to replace the same number of antibodies in the population. Antibody with the lowest affinity.

局部路径规划是建立在全局路径规划的基础上针对工作环境存在动态未知不确定障碍物的规划,图7显示了最终的规划效果,设定未知障碍物的运动方向未知,但其沿着直线做匀速单向运动。可以看出规划出的全局路径与局部路径是最优的。绝大部分情况下,局部环境所包含的障碍信息小于或者大幅小于全局的信息量,这样从计算量来讲局部路径规划就相当于环境简单时候的全局路径规划,其算法的收敛速度能够胜任实时性的要求。The local path planning is based on the global path planning to plan for the dynamic unknown and uncertain obstacles in the working environment. uniform one-way motion. It can be seen that the planned global path and local path are optimal. In most cases, the obstacle information contained in the local environment is smaller or significantly smaller than the global information, so in terms of calculation amount, the local path planning is equivalent to the global path planning when the environment is simple, and the convergence speed of the algorithm is capable of real-time sexual demands.

Claims (4)

1. the mobile robot's dynamic path planning method based on Immune network algorithm, it is characterized in that: first based on Visual Graph method, pre-service is carried out to overall static environment space, apply Immune network algorithm afterwards and cook up global path, ambient condition information is detected in real time in the process of advancing, risk prediction is carried out to the unknown dynamic disorder entering sensing range, form new local environment Visual Graph according to the result of prediction and apply Immune network algorithm and plan the local path made new advances, continue to advance in the global path of the preplanning got back to after robot arrives the transient target point of sector planning.
2. the mobile robot's dynamic path planning method based on Immune network algorithm according to claim 1, is characterized in that:
(1), the implementation procedure of Immune network algorithm:
Through to the improvement of Immune network algorithm and and the combination of Visual Graph, the concrete performing step of algorithm is as follows:
(1) pre-service is carried out to the environment space that mobile robot runs, build Visual Graph;
(2) according to the Establishment and analysis of Visual Graph, sum up priori and also extract vaccine, not there is not setback in the bounding box of penetrate thing and the antibody of generation or path to comprise the antibody of generation or path;
(3) initialization of population: first vaccine inoculation, in search volume, produce m antibody and m paths by implanting vaccine, the generating mode in path progressively extends to impact point from starting point, forms initial parent population by this m antibody and m paths , wherein subscript i represented for the i-th generation, and subscript m represents antibody number;
(4) stop condition: the affinity finally determining antibody according to the concentration between the fitness between antibody and antigen and antibody, calculate current parent for population genetic algebra and in the affinity of all antibody, if satisfy condition, then stop computing and Output rusults, otherwise continue;
(5) clonal expansion: produce n clone body respectively to each antibody (path) in above-mentioned antibody population, now amplification is m*n clonal antibody (path), and now antibody population becomes every paths all copies n doubly, and next step path variation will be more abundant, add often for the diversity of antibody;
(6) high frequency closedown: clonal antibody group in the antibody of each clone all to experience high frequency closedown and obtain here refer to antagonist path to carry out increasing or deletion of node;
(7) recalculate adaptation value: all individualities in antagonist group, comprise each father's antibody and variant clone antibody thereof, recalculate its affinity;
(8) memory antibody group upgrades: from each father's antibody and clonal antibody thereof in, select to have the variant clone antibody of the highest affinity, elite's antibody variants group of what common composition m was new have most high-affinity and it can be used as the candidate upgrading memory antibody group, then from with in select the new elite's antibody variants group of m the composition that affinity is the highest calculate the average affinity in memory antibody group afterwards again;
(9) immune self-regulation and receptor editing: the individual brand-new antibody of stochastic generation r (r<m) replace now antibody population the individual antibody with minimum affinity of middle r, to simulate the receptor editing process in Immune System, increase the diversity of antibody population, thus, namely algorithm creates follow-on antibody population return step 4 afterwards;
(2), based on mobile robot's active path planning step of Immune network algorithm:
Send out for mobile the situation that robot working space is the unknown of environmental information part, concrete path planning step is as follows:
(1) global path planning is carried out to the Immune network algorithm of known static context information application enhancements;
(2) robot advances along the path cooked up;
(3) judge whether to arrive impact point, arrive and then terminate, do not arrive the path of then continuing along cooking up and advance;
Because the information of the static-obstacle thing in environment space is known in advance, so whenever robot ambulation one step will judge whether the distance between robot and each known static-obstacle thing is less than scrolling windows, the i.e. radius of the sensing range of sensor, so just can show whether these static-obstacle things have appeared in the scope of scrolling windows;
(4) judge whether dyskinesia hinders the normal traveling of robot;
(5) dope mark unknown dynamic barrier can with along the preplanning good path robot of advancing next certain T moment collides, then the position in this Unknown Motion barrier T moment is recorded, be used as " static-obstacle thing " process, consider the uncertain factor in the error of prediction and actual environment, the region of this " static-obstacle thing " is expanded, is denoted as hazardous location;
(6) when hazardous location enters after within scrolling windows completely, robot using the path intersection point of current time scrolling windows preplanning with it as interim localized target point, the position of current robot is as starting point, static-obstacle thing in perceived window and hazardous location are as local environmental information, application Immune network algorithm plans the path made new advances, robot, along the route of new planning, returns step 3.
3. the mobile robot's local paths planning method based on Immune network algorithm according to claim 2, it is characterized in that: in (4) step of (two) step, robot first need not consider scrolling windows in the process of advancing, until sensor finds that new unknown barrier enters within scrolling windows, namely, when the distance of unknown barrier and robot is less than the radius of scrolling windows, marks this unknown dynamic barrier and start to predict the movement locus of unknown barrier; The result of prediction is divided into following two kinds of situations: one is the normal traveling that unknown barrier can not hinder robot, then robot continue along the good path of preplanning advance, namely return to step 2; Two is dope the normal traveling that dyskinesia may hinder robot, then forward (5) step of (two) step to.
4. the mobile robot's local paths planning method based on Immune network algorithm according to claim 2, is characterized in that:
The design of antibody in Immune network algorithm:
After Visual Graph method is to the process of mobile work robot environment space, form antibody path only to need to consider the element in the set V on each barrier summit, do not need to consider any point outside in environment space, such hunting zone will significantly be reduced, and efficiency of algorithm is improved.The structure of each node is as follows:
IDpoint IDobject x y
Wherein IDpoint represents node serial number, and IDobject represents barrier numbering belonging to node, and x, y represent the transverse and longitudinal coordinate of node respectively, in mobile robot path planning problem, antigen represents problem to be solved and optimal path, the application is set as the Euclidean distance of starting point s and impact point g, antibody represents the solution of required problem, namely the feasible path searched out, it is by the starting point of mobile robot, the broken line that impact point and a series of intermediate node connect into is formed, for describing path trend clearly, through the order of node when in antibody, the order of element represents moveable robot movement, antibody adopts string encoding mode, its length can change with the number of node, the data structure of antibody enter lower shown in:
Affinity Density Fitness Length s v g
Wherein Affinity represents the affinity of antibody, evaluates the quality of antibody here with affinity; Fitness represents the fitness of antibody, has and has higher fitness compared with the antibody of short path; Density represents the concentration of antibody, the ratio namely in antibody population shared by same antibody, and Length represents the length of antibody by s to g, and remainder is form the node in path, this storage organization when antibody changes, the length of flexibly changing antibody;
The calculating of affinity in Immune network algorithm:
The application, in order to suppress and avoid the appearance of precocious phenomenon, adds the calculating of antibody concentration here, and the computing formula of concrete affinity is as follows:
Affinity ( i ) = Fitness ( i ) 1 + &alpha; ln ( 1 + Density ( i ) )
Wherein Affinity (i) represents the affinity of antibody i; Fitness (i) represents the fitness of antibody i, and distance dependent, and the distance in antibody path is shorter, and the fitness of its antibody is higher; Density (i) represents the concentration of antibody i, and namely identical antibody path is more, and the concentration of antibody is larger; α is a positive constant, and can find out that fitness is larger by this formula, affinity is larger; Concentration is higher, and affinity is less.
CN201410729927.9A 2014-12-03 2014-12-03 Dynamic path planning method for mobile robot based on immune network algorithm Expired - Fee Related CN104407616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410729927.9A CN104407616B (en) 2014-12-03 2014-12-03 Dynamic path planning method for mobile robot based on immune network algorithm

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410729927.9A CN104407616B (en) 2014-12-03 2014-12-03 Dynamic path planning method for mobile robot based on immune network algorithm

Publications (2)

Publication Number Publication Date
CN104407616A true CN104407616A (en) 2015-03-11
CN104407616B CN104407616B (en) 2017-04-26

Family

ID=52645254

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410729927.9A Expired - Fee Related CN104407616B (en) 2014-12-03 2014-12-03 Dynamic path planning method for mobile robot based on immune network algorithm

Country Status (1)

Country Link
CN (1) CN104407616B (en)

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106292673A (en) * 2016-09-29 2017-01-04 深圳大学 A kind of method for optimizing route and system
CN106873600A (en) * 2017-03-31 2017-06-20 深圳市靖洲科技有限公司 It is a kind of towards the local obstacle-avoiding route planning method without person bicycle
CN107168054A (en) * 2017-05-10 2017-09-15 沈阳工业大学 Multi-robotic task is distributed and paths planning method
CN107309876A (en) * 2017-07-14 2017-11-03 广西师范大学 The control method of manipulator harvesting
CN107578427A (en) * 2017-07-31 2018-01-12 深圳市易成自动驾驶技术有限公司 Detection method, device and the computer-readable recording medium of dynamic barrier
CN107728613A (en) * 2017-09-19 2018-02-23 海南职业技术学院 A kind of intelligent robot kinetic control system based on immune algorithm
CN108177144A (en) * 2016-12-08 2018-06-19 发那科株式会社 Robot system
WO2018120739A1 (en) * 2016-12-30 2018-07-05 深圳光启合众科技有限公司 Path planning method, apparatus and robot
CN108268042A (en) * 2018-01-24 2018-07-10 天津大学 A kind of path planning algorithm based on improvement Visual Graph construction
CN108549383A (en) * 2018-05-17 2018-09-18 电子科技大学 A kind of community's robot navigation method of real-time multisensor
CN109062215A (en) * 2018-08-24 2018-12-21 北京京东尚科信息技术有限公司 Robot and barrier-avoiding method, system, equipment and medium are followed based on its target
CN109341698A (en) * 2018-11-29 2019-02-15 深圳市银星智能科技股份有限公司 A kind of routing resource and device of mobile robot
CN109791406A (en) * 2016-07-06 2019-05-21 劳伦斯利弗莫尔国家安全有限责任公司 The subject perceptions and avoidance system of autonomicing carrier
CN110196588A (en) * 2019-03-28 2019-09-03 陕西理工大学 Method for planning path for mobile robot based on networks decomposition
CN111026115A (en) * 2019-12-13 2020-04-17 华南智能机器人创新研究院 A robot obstacle avoidance control method and device based on deep learning
CN111052027A (en) * 2017-09-15 2020-04-21 索尼公司 Action plan generation when own location is unknown
CN111136651A (en) * 2018-11-01 2020-05-12 锥能机器人(上海)有限公司 Control system, driving device, driving device operation processing method and device
CN111142529A (en) * 2019-12-31 2020-05-12 深圳前海达闼云端智能科技有限公司 Virtual wall decision-making method, device and robot
CN111222577A (en) * 2019-12-11 2020-06-02 上海联影智能医疗科技有限公司 System and method for situational awareness
CN111283688A (en) * 2020-03-23 2020-06-16 深圳科瑞技术股份有限公司 Obstacle avoidance method of robot and robot equipment
CN111337042A (en) * 2020-03-13 2020-06-26 湖北大学 A vehicle path planning method and system
CN112601641A (en) * 2018-08-23 2021-04-02 实时机器人有限公司 Collision detection for robot motion planning
CN113009918A (en) * 2021-03-09 2021-06-22 京东鲲鹏(江苏)科技有限公司 Path planning method, device and system and readable storage medium
CN113721615A (en) * 2021-08-27 2021-11-30 广州大学 Sea navigation path planning method and system based on machine vision
CN114199266A (en) * 2021-11-25 2022-03-18 江苏集萃智能制造技术研究所有限公司 Path planning method for occupied target based on diagnosis guide service robot
CN114415665A (en) * 2021-12-17 2022-04-29 新疆钵施然智能农机股份有限公司 An algorithm for obstacle avoidance path planning
CN114460933A (en) * 2021-12-30 2022-05-10 南京理工大学 A Local Path Planning Algorithm for Mobile Robots Oriented to Dynamic Environments
WO2022124938A1 (en) * 2020-12-07 2022-06-16 Общество с ограниченной ответственностью "РобоСиВи" Robot motion planning method and mobile robot
CN115437364A (en) * 2021-11-16 2022-12-06 华东理工大学 Multi-robot path planning method
US11573575B2 (en) 2017-04-12 2023-02-07 Lawrence Livermore National Security, Llc Attract-repel path planner system for collision avoidance
US11927972B2 (en) 2020-11-24 2024-03-12 Lawrence Livermore National Security, Llc Collision avoidance based on traffic management data
US11964393B2 (en) 2018-03-21 2024-04-23 Realtime Robotics, Inc. Motion planning of a robot for various environments and tasks and improved operation of same
US11970161B2 (en) 2018-01-12 2024-04-30 Duke University Apparatus, method and article to facilitate motion planning of an autonomous vehicle in an environment having dynamic objects
US12017364B2 (en) 2019-04-17 2024-06-25 Realtime Robotics, Inc. Motion planning graph generation user interface, systems, methods and articles
US12090668B2 (en) 2018-02-06 2024-09-17 Realtime Robotics, Inc. Motion planning of a robot storing a discretized environment on one or more processors and improved operation of same
CN119126254A (en) * 2024-07-10 2024-12-13 中国船舶集团有限公司第七一六研究所 An underwater multi-autonomous robotic fish environment detection method and system
US12194639B2 (en) 2020-03-18 2025-01-14 Realtime Robotics, Inc. Digital representations of robot operational environment, useful in motion planning for robots
US12204336B2 (en) 2018-12-04 2025-01-21 Duke University Apparatus, method and article to facilitate motion planning in an environment having dynamic objects
US12358140B2 (en) 2019-06-24 2025-07-15 Realtime Robotics, Inc. Motion planning for multiple robots in shared workspace

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122800A (en) * 2007-08-24 2008-02-13 北京航空航天大学 A compound visual navigation method and device
CN101887271A (en) * 2010-07-19 2010-11-17 东莞职业技术学院 Path planning method of mobile robot
CN103412490A (en) * 2013-08-14 2013-11-27 山东大学 Polyclonal artificial immune network algorithm for multi-robot dynamic path planning
CN103529843A (en) * 2013-10-17 2014-01-22 电子科技大学中山学院 Lambda path planning algorithm

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101122800A (en) * 2007-08-24 2008-02-13 北京航空航天大学 A compound visual navigation method and device
CN101887271A (en) * 2010-07-19 2010-11-17 东莞职业技术学院 Path planning method of mobile robot
CN103412490A (en) * 2013-08-14 2013-11-27 山东大学 Polyclonal artificial immune network algorithm for multi-robot dynamic path planning
CN103529843A (en) * 2013-10-17 2014-01-22 电子科技大学中山学院 Lambda path planning algorithm

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王猛: "基于进化计算及可视图的机器人避障规划研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (56)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109791406A (en) * 2016-07-06 2019-05-21 劳伦斯利弗莫尔国家安全有限责任公司 The subject perceptions and avoidance system of autonomicing carrier
CN109791406B (en) * 2016-07-06 2022-06-07 劳伦斯利弗莫尔国家安全有限责任公司 Autonomous carrier object awareness and avoidance system
US11796673B2 (en) 2016-07-06 2023-10-24 Lawrence Livermore National Security, Llc Object sense and avoid system for autonomous vehicles
CN106292673A (en) * 2016-09-29 2017-01-04 深圳大学 A kind of method for optimizing route and system
CN106292673B (en) * 2016-09-29 2019-02-12 深圳大学 A path optimization method and system
CN108177144A (en) * 2016-12-08 2018-06-19 发那科株式会社 Robot system
US10421193B2 (en) 2016-12-08 2019-09-24 Fanuc Corporation Robot system
CN108177144B (en) * 2016-12-08 2020-03-13 发那科株式会社 Robot system
WO2018120739A1 (en) * 2016-12-30 2018-07-05 深圳光启合众科技有限公司 Path planning method, apparatus and robot
CN106873600A (en) * 2017-03-31 2017-06-20 深圳市靖洲科技有限公司 It is a kind of towards the local obstacle-avoiding route planning method without person bicycle
US11573575B2 (en) 2017-04-12 2023-02-07 Lawrence Livermore National Security, Llc Attract-repel path planner system for collision avoidance
CN107168054A (en) * 2017-05-10 2017-09-15 沈阳工业大学 Multi-robotic task is distributed and paths planning method
CN107168054B (en) * 2017-05-10 2020-11-10 沈阳工业大学 Multi-robot task allocation and path planning method
CN107309876B (en) * 2017-07-14 2021-04-13 广西师范大学 Control method of picking by manipulator
CN107309876A (en) * 2017-07-14 2017-11-03 广西师范大学 The control method of manipulator harvesting
CN107578427A (en) * 2017-07-31 2018-01-12 深圳市易成自动驾驶技术有限公司 Detection method, device and the computer-readable recording medium of dynamic barrier
CN111052027A (en) * 2017-09-15 2020-04-21 索尼公司 Action plan generation when own location is unknown
CN107728613A (en) * 2017-09-19 2018-02-23 海南职业技术学院 A kind of intelligent robot kinetic control system based on immune algorithm
US11970161B2 (en) 2018-01-12 2024-04-30 Duke University Apparatus, method and article to facilitate motion planning of an autonomous vehicle in an environment having dynamic objects
CN108268042A (en) * 2018-01-24 2018-07-10 天津大学 A kind of path planning algorithm based on improvement Visual Graph construction
US12090668B2 (en) 2018-02-06 2024-09-17 Realtime Robotics, Inc. Motion planning of a robot storing a discretized environment on one or more processors and improved operation of same
US11964393B2 (en) 2018-03-21 2024-04-23 Realtime Robotics, Inc. Motion planning of a robot for various environments and tasks and improved operation of same
US12083682B2 (en) 2018-03-21 2024-09-10 Realtime Robotics, Inc. Motion planning of a robot for various environments and tasks and improved operation of same
CN108549383A (en) * 2018-05-17 2018-09-18 电子科技大学 A kind of community's robot navigation method of real-time multisensor
CN108549383B (en) * 2018-05-17 2020-06-09 电子科技大学 A real-time multi-sensor community robot navigation method
CN112601641A (en) * 2018-08-23 2021-04-02 实时机器人有限公司 Collision detection for robot motion planning
CN112601641B (en) * 2018-08-23 2024-03-08 实时机器人有限公司 Collision detection for robotic motion planning
CN109062215A (en) * 2018-08-24 2018-12-21 北京京东尚科信息技术有限公司 Robot and barrier-avoiding method, system, equipment and medium are followed based on its target
CN111136651A (en) * 2018-11-01 2020-05-12 锥能机器人(上海)有限公司 Control system, driving device, driving device operation processing method and device
CN109341698A (en) * 2018-11-29 2019-02-15 深圳市银星智能科技股份有限公司 A kind of routing resource and device of mobile robot
US12204336B2 (en) 2018-12-04 2025-01-21 Duke University Apparatus, method and article to facilitate motion planning in an environment having dynamic objects
CN110196588A (en) * 2019-03-28 2019-09-03 陕西理工大学 Method for planning path for mobile robot based on networks decomposition
US12017364B2 (en) 2019-04-17 2024-06-25 Realtime Robotics, Inc. Motion planning graph generation user interface, systems, methods and articles
US12358140B2 (en) 2019-06-24 2025-07-15 Realtime Robotics, Inc. Motion planning for multiple robots in shared workspace
US11966852B2 (en) 2019-12-11 2024-04-23 Shanghai United Imaging Intelligence Co., Ltd. Systems and methods for situation awareness
CN111222577A (en) * 2019-12-11 2020-06-02 上海联影智能医疗科技有限公司 System and method for situational awareness
CN111222577B (en) * 2019-12-11 2024-01-26 上海联影智能医疗科技有限公司 Systems and methods for situational awareness
CN111026115A (en) * 2019-12-13 2020-04-17 华南智能机器人创新研究院 A robot obstacle avoidance control method and device based on deep learning
CN111142529A (en) * 2019-12-31 2020-05-12 深圳前海达闼云端智能科技有限公司 Virtual wall decision-making method, device and robot
CN111337042B (en) * 2020-03-13 2021-11-02 湖北大学 A vehicle path planning method and system
CN111337042A (en) * 2020-03-13 2020-06-26 湖北大学 A vehicle path planning method and system
US12194639B2 (en) 2020-03-18 2025-01-14 Realtime Robotics, Inc. Digital representations of robot operational environment, useful in motion planning for robots
CN111283688B (en) * 2020-03-23 2021-08-10 深圳市科瑞技术科技有限公司 Obstacle avoidance method of robot and robot equipment
CN111283688A (en) * 2020-03-23 2020-06-16 深圳科瑞技术股份有限公司 Obstacle avoidance method of robot and robot equipment
US11927972B2 (en) 2020-11-24 2024-03-12 Lawrence Livermore National Security, Llc Collision avoidance based on traffic management data
WO2022124938A1 (en) * 2020-12-07 2022-06-16 Общество с ограниченной ответственностью "РобоСиВи" Robot motion planning method and mobile robot
CN113009918B (en) * 2021-03-09 2023-12-05 京东鲲鹏(江苏)科技有限公司 Path planning method, device, system and readable storage medium
CN113009918A (en) * 2021-03-09 2021-06-22 京东鲲鹏(江苏)科技有限公司 Path planning method, device and system and readable storage medium
CN113721615A (en) * 2021-08-27 2021-11-30 广州大学 Sea navigation path planning method and system based on machine vision
CN113721615B (en) * 2021-08-27 2023-08-15 广州大学 A method and system for sea navigation path planning based on machine vision
CN115437364A (en) * 2021-11-16 2022-12-06 华东理工大学 Multi-robot path planning method
CN114199266A (en) * 2021-11-25 2022-03-18 江苏集萃智能制造技术研究所有限公司 Path planning method for occupied target based on diagnosis guide service robot
CN114415665A (en) * 2021-12-17 2022-04-29 新疆钵施然智能农机股份有限公司 An algorithm for obstacle avoidance path planning
CN114460933A (en) * 2021-12-30 2022-05-10 南京理工大学 A Local Path Planning Algorithm for Mobile Robots Oriented to Dynamic Environments
CN114460933B (en) * 2021-12-30 2023-11-03 南京理工大学 Dynamic environment-oriented mobile robot local path planning algorithm
CN119126254A (en) * 2024-07-10 2024-12-13 中国船舶集团有限公司第七一六研究所 An underwater multi-autonomous robotic fish environment detection method and system

Also Published As

Publication number Publication date
CN104407616B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN104407616B (en) Dynamic path planning method for mobile robot based on immune network algorithm
CN105955254B (en) A kind of improved A* algorithm suitable for robot path search
CN109945873B (en) A hybrid path planning method for motion control of indoor mobile robots
Gupta et al. Cognitive mapping and planning for visual navigation
CN105867381B (en) A kind of industrial robot route searching optimization algorithm based on probability map
CN107436604B (en) Controlling planning method is intelligently decomposed in carrying robot path under a kind of intelligent environment
CN102521205B (en) Multi-Agent based robot combined search system by reinforcement learning
CN115933637A (en) A path planning method, device and storage medium for a substation equipment inspection robot
JP5905481B2 (en) Determination method and determination apparatus
CN109213169A (en) The paths planning method of mobile robot
WO2016045615A1 (en) Robot static path planning method
CN108958238A (en) A kind of robot area Dian Dao paths planning method based on covariant cost function
CN112114584A (en) A global path planning method for spherical amphibious robot
CN109445440A (en) The dynamic obstacle avoidance method with improvement Q learning algorithm is merged based on sensor
Gao et al. Multi-mobile robot autonomous navigation system for intelligent logistics
CN105426992A (en) Mobile robot traveler optimization method
CN113110507A (en) Path planning method for autonomous obstacle avoidance
Zheng et al. A hierarchical approach for mobile robot exploration in pedestrian crowd
CN111596668A (en) An anthropomorphic path planning method for mobile robots based on inverse reinforcement learning
CN113741480A (en) Obstacle avoidance method based on combination of dynamic obstacle extraction and cost map
Zhang et al. Multi-floor zero-shot object navigation policy
AU2024204142A1 (en) Deep neural network-based system for detection and classification of construction elements in construction engineering drawings
CN116795101A (en) Motion planning method integrating improved A and improved DWA algorithm
CN109374005B (en) A ship interior path planning method based on ship VR model
CN118915741A (en) Obstacle avoidance method combining simulated annealing genetic algorithm and improved artificial potential field method

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20170426

Termination date: 20181203