Hexapod robot path planning method based on improved northern eagle optimization

By improving the Northern Goshawk optimization algorithm, the efficiency and safety of path planning of the hexapod robot are improved, the problem of insufficient efficiency and safety of path planning in complex environments is solved, and a more efficient and safer path planning effect is achieved.

CN118584985APending Publication Date: 2024-09-03WUHAN UNIV OF SCI & TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410617536.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-17
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing hexapod path planning algorithm has problems of low efficiency and insufficient safety in complex and dynamic environments. Especially when obstacles increase and uncertainties change, it is easy to fall into the local optimal solution, resulting in work efficiency and safety. Sexually restricted.

Method used

A path planning method based on improved northern goshawk optimization is used to improve the search speed and convergence performance of the algorithm by defining an objective function and a specific path update strategy to ensure that the hexapod robot can plan its path efficiently and safely in complex environments.

Benefits of technology

It improves the real-time responsiveness and work efficiency of the hexapod robot, enhances the safety and reliability in complex environments, effectively alleviates the shortcomings of path planning methods in the existing technology, and improves the performance of the hexapod robot in practical applications. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118584985A
    Figure CN118584985A
Patent Text Reader

Abstract

The invention belongs to the technical field of hexapod robot path planning, and provides a hexapod robot path planning method based on improved northern eagle optimization, and the method comprises the following steps: S1, obtaining environment information (the number of obstacles, the departure position, the arrival position and the positions of the obstacles), and defining a target function out (A, B); s2, executing improved northern eagle optimization to perform hexapod robot path planning; s3, acquiring optimal path information with the lowest objective function value from the last generation of group; according to the invention, the safety, the reliability and the working efficiency of the hexapod robot in a complex and dynamic working environment can be effectively improved. The six-foot robot is of great significance to popularization of the six-foot robot in the application field.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of hexapod robot path planning, in particular to a hexapod robot path planning method based on improved northern goshawk optimization. Background Art

[0002] In the field of mobile hexapod robots, the basic problem is to design an optimal path that avoids collisions with obstacles. As an important part of the navigation and motion control of hexapod robots, path planning for mobile hexapod robots can help hexapod robots plan safe and efficient movement paths in complex and dynamic environments. However, as the application scope of mobile hexapod robots continues to expand, including smart homes, logistics warehousing, industrial automation and other fields, this requires hexapod robots to be able to move autonomously in complex environments such as indoors and outdoors. The environment in the real world is often uncertain and dynamic, and hexapod robots need to be able to adapt to and handle these changes to achieve efficient and safe movement. This is of great significance to improving the work efficiency, safety and cost-effectiveness of hexapod robots, and helps promote the development and application of hexapod robot technology.

[0003] At present, the common methods used for hexapod robot path planning are Dijkstra algorithm and swarm intelligence algorithm. Among them, Dijkstra algorithm finds the shortest path by starting from the starting point and gradually expanding the path until it reaches the target point or expands all nodes. It is suitable for finding the shortest path without a heuristic function. However, as the search graph structure becomes more complex, the running time and space complexity of Dijkstra algorithm will increase sharply. At present, swarm intelligence algorithm has the advantage of being able to handle complex, uncertain and dynamic problems, and has strong robustness and is widely used in hexapod robot path planning. For example, the ant colony algorithm simulates the behavior of ants when looking for food, and finds the optimal path through the propagation and update of pheromones. At present, the ant colony algorithm has been used to solve the path planning problems of single hexapod robots and multi-hexapod robots. At the same time, the genetic algorithm simulates the biological evolution process, searches for the optimal solution through genetic operations (crossover, mutation) and fitness evaluation, and has been used to optimize the path selection and obstacle avoidance strategy of the hexapod robot. Although the existing swarm intelligence algorithm has great advantages in solving the path planning problem of hexapod robots, the performance of the existing swarm intelligence algorithm faces challenges as the complexity of the environment increases dramatically. When obstacles increase, uncertainties and dynamic change factors are uncertain, the traditional path planning method based on the swarm intelligence algorithm will be limited by the local optimal solution, which leads to defects in the work efficiency and safety of the hexapod robot. In order to alleviate the defects of the existing path planning method based on the swarm intelligence algorithm, the present invention combines the improvement strategy to propose a novel and efficient hexapod robot path planning method, so as to achieve efficient solution of the hexapod robot path in a complex environment, improve real-time responsiveness, and ensure the work efficiency and safety of the hexapod robot in actual operation. Summary of the invention

[0004] The purpose of the present invention is to solve the technical problems existing in the field of hexapod robot path planning, and in particular to introduce a hexapod robot path planning method based on improved northern goshawk optimization.

[0005] In order to achieve the above-mentioned object of the present invention, a hexapod robot path planning method based on improved northern goshawk optimization comprises the following steps:

[0006] S1. Obtain environmental information (number of obstacles, departure position, arrival position, obstacle position) and define the objective function fut(A,B):

[0007] min fut(A,B)=Leng+Leng·α·Dis(1)

[0008] Where A represents the horizontal coordinate value of the interpolation point;

[0009] B represents the ordinate value of the interpolation point;

[0010] Leng represents the path length from the starting point to the end point;

[0011] α represents a scaling factor;

[0012] Dis represents the average distance from all obstacles to all interpolation points;

[0013] S2, perform improved northern goshawk optimization for hexapod robot path planning;

[0014] S3. Obtain the optimal path information with the lowest objective function value in the last generation of the population.

[0015] Preferably, in step S1, α=100.

[0016] Preferably, the step S2 is specifically described as follows:

[0017] S2-1, generate an initial population Pln of size G:

[0018]

[0019] Among them, Route i Represents the location information of the i-th path in the group;

[0020] rou i,j Represents the location information of the j-th interpolation point in the i-th path information;

[0021] G represents the amount of path information in the group;

[0022] C represents the number of interpolation points;

[0023] After the group is initialized, let ci = 1, where ci represents the number of times the current function is executed;

[0024] S2-2, use formula (1) to calculate the objective function value;

[0025] S2-3, if ci≤maxci, maxci represents the maximum number of function executions, then execute S2-4, otherwise jump to step S3;

[0026] S2-4, update the information of the i-th path using the following formula:

[0027]

[0028] in, Represents the new information state of the i-th path;

[0029] K r Represents any path information in the group;

[0030] e represents a random number in the range [0,1];

[0031] I represents any number in the set {1, 2};

[0032] Indicates K r The objective function value corresponding to each path;

[0033] fut i Represents the objective function value corresponding to the i-th path before updating;

[0034] S2-5, use the following formula to retain the i-th path:

[0035]

[0036] Among them, Route i Represents the location information of the i-th path;

[0037] Represents the new information state of the i-th path;

[0038] Represents the objective function value corresponding to the new information state of the i-th path; let ci = ci + 1;

[0039] S2-6, update the information of the i-th path using the following formula:

[0040]

[0041] in, Represents the new information state of the i-th path;

[0042] K1 represents the linear reduction factor and is expressed using the following equation:

[0043]

[0044] S2-7, use the following formula to retain the i-th path:

[0045]

[0046] Among them, Route i Represents the location information of the i-th path;

[0047] Represents the new information state of the i-th path;

[0048] Represents the objective function value corresponding to the new information state of the i-th path;

[0049] Let ci = ci + 1;

[0050] S2-8, if P < 1-ci / maxci, execute S2-8-1, otherwise execute S2-8-2;

[0051] S2-9, use the following formula to retain the i-th path:

[0052]

[0053] Among them, Route i Represents the location information of the i-th path;

[0054] Represents the new information state of the i-th path;

[0055] Represents the objective function value corresponding to the new information state of the i-th path;

[0056] Let ci=ci+1; continue to execute S2-3.

[0057] Preferably, in step S2-8, a novel method is introduced to update the path to help improve the algorithm exploration performance. In S2-8-1, the information of the i-th path is updated using the following formula:

[0058]

[0059] Among them, Route i Represents the location information of the i-th path;

[0060] Represents the new information state of the i-th path;

[0061] Route r1 and Route r2 represents two distinct paths in a population;

[0062] Lower and Upper represent the lower and upper bounds of the path planning problem, respectively;

[0063] rand, rand1 and rand2 represent random numbers in the interval [0,1];

[0064] m1 is expressed using the following formula:

[0065] m1=abs(rn1)·rand

[0066] Among them, abs means taking the absolute value operation;

[0067] rn1 represents a random number that follows a normal distribution;

[0068] rand represents a random number in the interval [0,1];

[0069] m2 is expressed using the following formula:

[0070] m2=1 / (1+exp(l))*cos(l·2·π)

[0071] Wherein, l=(-2-(ci / maxci))·rand+1.

[0072] Preferably, in step S2-8, a novel method is introduced to update the path to help reduce the algorithm search time. In S2-8-2, the information of the i-th path is updated using the following formula:

[0073]

[0074] Where, E = (2-2·(ci / maxci))·(2·rand-1);

[0075] Route r3 represents any path in the group;

[0076] unifrand(-k,k,1,C) means generating C random numbers that obey uniform distribution in the interval [-k,k];

[0077] Where C represents the number of interpolation points;

[0078] k = 1-ci / maxci.

[0079] Compared with the prior art, the present invention has the following beneficial effects:

[0080] 1. The present invention improves the search speed of the algorithm by adopting a novel path updating strategy, thereby improving the real-time responsiveness of the hexapod robot, and further enhancing the safety and reliability of the hexapod robot when working in a complex environment.

[0081] 2. The present invention can effectively improve the convergence performance of the algorithm, including convergence accuracy and convergence speed; thereby improving the safety, reliability and work efficiency of the hexapod robot in a complex and dynamic working environment; this is of great significance for the promotion of the hexapod robot in application fields. BRIEF DESCRIPTION OF THE DRAWINGS

[0082] Figure 1 It is a path diagram of the hexapod robot path planning method DNGO based on improved northern goshawk optimization of the present invention when solving an actual hexapod robot path planning problem;

[0083] Figure 2This is a comparison diagram of the convergence process of the hexapod robot path planning method DNGO based on improved northern goshawk optimization of the present invention and the original NGO when solving an actual hexapod robot path planning problem. DETAILED DESCRIPTION

[0084] Embodiments of the present invention are described in detail below, and these embodiments are demonstrated in the accompanying drawings. Wherein, the same or similar reference numerals represent elements with the same or similar functions. It should be emphasized that the following embodiments are only examples, intended to explain the present invention, and do not limit the scope of the present invention.

[0085] As the complexity of the environment increases dramatically, the performance of existing swarm intelligence algorithms faces challenges. When obstacles increase, uncertainties and dynamic change factors are uncertain, traditional path planning methods based on swarm intelligence algorithms will be limited by local optimal solutions, which leads to defects in the working efficiency and safety of the hexapod robot.

[0086] In order to alleviate the defects of the existing path planning methods based on swarm intelligence algorithms, this paper proposes a hexapod robot path planning method DNGO based on improved northern goshawk optimization, which specifically includes the following steps:

[0087] Step 1: Obtain environmental information (number of obstacles, departure position, arrival position, obstacle position) and define the objective function fut(A,B):

[0088] min fut(A,B)=Leng+Leng·α·Dis(1)

[0089] Where A represents the horizontal coordinate value of the interpolation point;

[0090] B represents the ordinate value of the interpolation point;

[0091] Leng represents the path length from the starting point to the end point;

[0092] α represents a scaling factor;

[0093] Dis represents the average distance from all obstacles to all interpolation points;

[0094] Step 2: Generate an initial population Pln of size G:

[0095]

[0096] Among them, Route i Represents the location information of the i-th path in the group;

[0097] rou i,j Represents the location information of the j-th interpolation point in the i-th path information;

[0098] G represents the amount of path information in the group;

[0099] C represents the number of interpolation points;

[0100] After the group is initialized, let ci = 1, where ci represents the number of times the current function is executed;

[0101] Step 3: Use formula (1) to calculate the objective function value;

[0102] Step 4: If ci≤maxci, execute step 5, otherwise jump to step 13;

[0103] Step 5: Use the following formula to update the information of the i-th path;

[0104]

[0105] in, Represents the new information state of the i-th path;

[0106] K r Represents any path information in the group;

[0107] e represents a random number in the range [0,1];

[0108] I represents any number in the set {1, 2};

[0109] Indicates K r The objective function value corresponding to each path;

[0110] fut i Represents the objective function value corresponding to the i-th path before updating;

[0111] Step 6: Use the following formula to retain the i-th path;

[0112]

[0113] Among them, Route i Represents the location information of the i-th path;

[0114] Represents the new information state of the i-th path;

[0115] Represents the objective function value corresponding to the new information state of the i-th path; let ci = ci + 1;

[0116] Step 7: Use the following formula to update the information of the i-th path;

[0117]

[0118] in, Represents the new information state of the i-th path;

[0119] K1 represents the linear reduction factor and is expressed using the following equation:

[0120]

[0121] Step 8: Use the following formula to retain the i-th path;

[0122]

[0123] Among them, Route i Represents the location information of the i-th path;

[0124] Represents the new information state of the i-th path;

[0125] Represents the objective function value corresponding to the new information state of the i-th path;

[0126] Let ci = ci + 1;

[0127] Step 9: If P < 1-ci / maxci, then execute step 10, otherwise execute step 11;

[0128] Step 10: Use the following formula to update the information of the i-th path, and then jump to step 12;

[0129]

[0130] Among them, Route i Represents the location information of the i-th path;

[0131] Represents the new information state of the i-th path;

[0132] Route r1 and Route r2 represents two distinct paths in a population;

[0133] Lower and Upper represent the lower and upper bounds of the path planning problem, respectively;

[0134] rand, rand1 and rand2 represent random numbers in the interval [0,1];

[0135] m1 is expressed using the following formula:

[0136] m1=abs(rn1)·rand

[0137] Among them, abs means taking the absolute value operation;

[0138] rn1 represents a random number that follows a normal distribution;

[0139] rand represents a random number in the interval [0,1];

[0140] m2 is expressed using the following formula:

[0141] m2=1 / (1+exp(l))*cos(l·2·π)

[0142] Where, l = (-2-(ci / maxci)) rand + 1;

[0143] Step 11: Use the following formula to update the information of the i-th path, and then jump to step 12;

[0144]

[0145] Where, E = (2-2·(ci / maxci))·(2·rand-1);

[0146] Route r3 represents any path in the group;

[0147] unifrand(-k,k,1,C) means generating C random numbers that obey uniform distribution in the interval [-k,k];

[0148] Where C represents the number of interpolation points;

[0149] k = 1-ci / maxci;

[0150] Step 12: Use the following formula to retain the i-th path;

[0151]

[0152] Among them, Route i Represents the location information of the i-th path;

[0153] Represents the new information state of the i-th path;

[0154] Represents the objective function value corresponding to the new information state of the i-th path;

[0155] Let ci=ci+1; jump to step 4;

[0156] Step 13: Obtain the optimal path information with the lowest objective function value in the last generation of the population;

[0157] In order to further verify the technical effect of DNGO on the path planning problem of hexapod robots, a simulation experiment was conducted, and an environment containing three obstacles was used for performance testing. By analyzing the experimental results, it was confirmed that DNGO has great advantages in the path planning problem of hexapod robots.

[0158] In this experiment, the maximum number of function iterations is set to 100, the population size is set to 150, and all codes are run on MATLAB 2022a.

[0159] Experimental analysis

[0160] Figure 1 The figure shows the planning result of the path using the DNGO proposed in the present invention in an environment with three obstacles. As can be seen from the figure, the path successfully bypasses all obstacles, and the safety and work efficiency are guaranteed. Figure 2 The convergence comparison diagram is shown, from which it can be seen that DNGO has a faster convergence speed and convergence accuracy. This proves that DNGO makes the hexapod robot path planning have higher real-time responsiveness and reliability.

[0161] The embodiments of the present invention are provided for the purpose of illustration and description. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations of the present invention. Ordinary technicians in this field can change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A hexapod robot path planning method based on improved northern goshawk optimization, characterized in that: The following steps are involved: S1. Obtain environmental information (number of obstacles, departure position, arrival position, obstacle position) and define the objective function fut(A,B): min fut(A,B)=Leng+Leng·α·Dis Where A represents the horizontal coordinate value of the interpolation point; B represents the ordinate value of the interpolation point; Leng represents the path length from the starting point to the end point; α represents a scaling factor; Dis represents the average distance from all obstacles to all interpolation points; S2, perform improved northern goshawk optimization for hexapod robot path planning; S3. Obtain the optimal path information with the lowest objective function value in the last generation of the population.

2. A hexapod robot path planning method based on improved northern goshawk optimization as claimed in claim 1, characterized in that: In step S1, α=100.

3. A hexapod robot path planning method based on improved northern goshawk optimization as claimed in claim 1, characterized in that: The specific description of step S2 is as follows: S2-1, generate an initial population Pln of size G: Among them, Route i Represents the location information of the i-th path in the group; rou i,j Represents the location information of the j-th interpolation point in the i-th path information; G represents the amount of path information in the group; C represents the number of interpolation points; After the group is initialized, let ci = 1, where ci represents the number of times the current function is executed; S2-2, use formula (1) to calculate the objective function value; S2-3, if ci≤maxci, maxci represents the maximum number of function executions, then execute S2-4, otherwise jump to step S3; S2-4, update the information of the i-th path using the following formula: in, Represents the new information state of the i-th path; K r Represents any path information in the group; e represents a random number in the range [0,1]; I represents any number in the set {1, 2}; Indicates K r The objective function value corresponding to each path; fut i Represents the objective function value corresponding to the i-th path before updating; S2-5, use the following formula to retain the i-th path: Among them, Route i Represents the location information of the i-th path; Represents the new information state of the i-th path; Represents the objective function value corresponding to the new information state of the i-th path; Let ci = ci + 1; S2-6, update the information of the i-th path using the following formula: in, Represents the new information state of the i-th path; K1 represents the linear reduction factor and is expressed using the following equation: S2-7, use the following formula to retain the i-th path: Among them, Route i Represents the location information of the i-th path; Represents the new information state of the i-th path; Represents the objective function value corresponding to the new information state of the i-th path; Let ci = ci + 1; S2-8, if P < 1-ci / maxci, execute S2-8-1, otherwise execute S2-8-2; S2-9, use the following formula to retain the i-th path: Among them, Route i Represents the location information of the i-th path; Represents the new information state of the i-th path; Represents the objective function value corresponding to the new information state of the i-th path; Let ci=ci+1; continue to execute S2-3.

4. A hexapod robot path planning method based on improved northern goshawk optimization as claimed in claim 3, characterized in that: In step S2-8-1 of step S2-8, the information of the i-th path is updated using the following formula: Among them, Route i Represents the location information of the i-th path; Represents the new information state of the i-th path; Route r1 and Route r2 represents two distinct paths in a population; Lower and Upper represent the lower and upper bounds of the path planning problem, respectively; rand, rand1 and rand2 represent random numbers in the interval [0,1]; m1 is expressed using the following formula: m1=abs(rn1)·rand Among them, abs means taking the absolute value operation; rn1 represents a random number that follows a normal distribution; rand represents a random number in the interval [0,1]; m2 is expressed using the following formula: m2=1 / (1+exp(l))*cos(l·2·π) Wherein, l=(-2-(ci / maxci))·rand+1.

5. A hexapod robot path planning method based on improved northern goshawk optimization as claimed in claim 3, characterized in that: In step S2-8-2 of step S2-8, the information of the i-th path is updated using the following formula: Where, E = (2-2·(ci / maxci))·(2·rand-1); Route r3 represents any path in the group; unifrand(-k,k,1,C) means generating C random numbers that obey uniform distribution in the interval [-k,k]; Where C represents the number of interpolation points; k = 1-ci / maxci.

Citation Information

Cited By

  • Parking path planning method and system

    CN121106199A