Next Article in Journal
Analysis of Minimal Channel Electroencephalography for Wearable Brain–Computer Interface
Next Article in Special Issue
Dynamic Affect-Based Motion Planning of a Humanoid Robot for Human-Robot Collaborative Assembly in Manufacturing
Previous Article in Journal
YOLO-Rlepose: Improved YOLO Based on Swin Transformer and Rle-Oks Loss for Multi-Person Pose Estimation
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Novel Online Path Planning Algorithm for Multi-Robots Based on the Secondary Immune Response in Dynamic Environments

1
School of Mechatronics and Power Engineering, Jiangsu University of Science and Technology, Zhangjiagang 215600, China
2
School of Mechanical Engineering, Jiangsu University of Science and Technology, Zhenjiang 212000, China
*
Author to whom correspondence should be addressed.
Electronics 2024, 13(3), 562; https://doi.org/10.3390/electronics13030562
Submission received: 19 December 2023 / Revised: 13 January 2024 / Accepted: 25 January 2024 / Published: 30 January 2024
(This article belongs to the Special Issue Autonomous and Intelligent Robotics)

Abstract

:
To solve the online path planning of multi-robots in dynamic environments, a novel secondary immune responses-based immune path planning algorithm (SIRIPPA) is presented. The algorithm comprises two immune stages. In the primary immune stage, the antibodies are mainly designed for obstacle avoidance and a primary immune kinetic model is designed in terms of the different impacts of obstacles on robot behaviors. The primary immune antibodies and their concentration values are mainly taken as the prior knowledge to accelerate the secondary immune response. In the secondary immune stage, aiming at the same obstacle antigens, which invade once more, the immune system quickly produces many behavior antibodies. Combining the primary immune results and secondary immune response results, the path planning performance of multi-robots is improved. The simulation experiment indicates that, in static environment tests, compared to corresponding immune planning algorithms, the SIRIPPA exhibits an average reduction of 6.22% in the global path length, a decrease of 23.00% in the average smoothness, and an average energy consumption reduction of 27.55%; the algorithm exhibits a better performance for path planning. The simulation test in a dynamic environment shows the good flexibility and stability of the SIRIPPA. Additionally, the experimental results in a real environment further support the validity of the SIRIPPA.

1. Introduction

As one of the most important tasks for autonomous mobile robot navigation, path planning refers to searching for the optimal and collision-free path from the starting point to the goal based on the optimization criteria (e.g., minimal working cost or shortest route) [1]. According to the environmental acquisition mode and the size of the acquired environment, path planning can be divided into global path planning and local path planning. Global path planning methods include the genetic algorithm (GA) [2] and ant colony algorithm (ACA) [3]. The genetic algorithm (GA) is an optimization search algorithm that simulates the evolutionary process of natural organisms. Witch has a wide range of applications in combinatorial optimization, function optimization, automatic control, production scheduling, and path planning processes [4]. The GA possesses excellent global and distributed search capabilities. However, when addressing path planning problems, the algorithm tends to have a high computational load, impacting its real-time performance. The ACA is characterized by its global optimization capability, positive feedback, and high robustness. However, its search efficiency is low, and the search capability is limited to the division of grids. The commonly used algorithms for local path planning include the artificial potential field (APF) method [5], fuzzy algorithm [6], neural network algorithm [7], and rapidly exploring random tree (RRT) algorithm [8]. The APF method solves path planning by constructing the attractive and repulsive potential fields and is characterized by a simple model and its low calculation requirements. However, it can also easily become trapped in local minima. The fuzzy planning algorithm overcomes the issue of becoming trapped in local minima. However, the acquisition of fuzzy rules and the selection of the fuzzy set universe are influenced by human factors. As for the neural network algorithm, it is difficult to acquire complete learning samples, especially the samples in dynamic environments. The significant characteristic of the RRT (rapidly exploring random tree) algorithm and its variants lies in the random exploration of space, particularly in path planning for high-dimensional spaces. However, due to the inherent randomness of the RRT algorithm, the computational efficiency of the algorithm is relatively low, impacting its real-time applicability in complex environments.
In recent years, in order to continuously enhance the performance of path planning algorithms, particularly in terms of their search capabilities and convergence speeds in complex dynamic environments, many researchers have undertaken a series of design improvements. Kairong Li et al. [9] improved the method for establishing the initial population, crossover operators, etc., and proposed an improved multi-objective genetic algorithm (IMGA), which improved the feasibility of the initial path and the shortcomings of traditional genetic algorithms, such as slow convergence speed and susceptibility to local traps, effectively shortening the path length. However, there is still significant randomness in individual selections and the stability of the algorithm is low. Kangjing Shi et al. [10] conducted genetic operations, including crossovers and mutations, on the initial path obtained by the ant colony algorithm (ACA) to achieve an enhanced path planning solution. They introduced a path planning algorithm that integrated the GA and ACA (GA-ACO), resulting in the improved efficiency and accuracy of path planning. Nevertheless, since the turning angles of robots are still constrained by the number of distance-detection sensors, further enhancements are required for the planning performance in terms of the length and smoothness. AD Sabiha et al. [11] integrated and optimized the GA and PSO, applied the TLBO to determine the optimal online path, and minimized the path smoothness. They proposed a new GA-PSO path planning algorithm, which improved the planning efficiency; however, there is still a need for the improvement of local planning performances in dynamic, unpredictable environments. Path planning in complex environments is a hotspot and difficulty research area in robotics studies. Although considerable planning methods are provided for online dynamic planning, they still remain in the simulation phase.
Inspired by the biological immune system (BIS), the artificial immune system (AIS) has been an active area of research in robotics for its strong adaptability, diversity, learning, recognition, and memory capabilities. [12]. The secondary immune response is a crucial feature of the biological immune system. Its advantage lies in its rapid and robust immune reaction against pathogens previously encountered, leading to more effective resistance against invasions. If the mechanism of the secondary immune response is incorporated into artificial immune-based path planning algorithms, this advantage translates into a faster search ability and the enhanced adaptability of the algorithm to complex, dynamic environments. Therefore, in order to solve online path planning in dynamic environments, a new secondary immune response-based immune path planning algorithm (SIRIPPA) is proposed in this paper. Its planning performance is initially tested through simulations in both static and dynamic environments. Subsequently, an experiment is conducted to further validate its efficacy.

2. Path Planning Model Based on the Immune Network Theory

2.1. Idiotypic Immune Network Hypothesis

The biological immune system is a highly evolved, complex, and adaptable system capable of identifying and resisting antigenic foreign bodies, such as bacteria and viruses, while maintaining stability in an in vivo environment. The idiotypic network hypothesis [13] developed by Jerne in 1972 is one of the important immune theories. The idea of the hypothesis is schematically shown in Figure 1. The biological immune network involves a series of processes related to self-recognition and the elimination of differences [14]. When an antigen invades, the B cell whose paratope can identify the antigen is activated. Most of the activated B cells differentiate and produce antibodies to clear the antigen, while the others differentiate into memory cells. Through the identification of paratopes and idiotopes among multi-antibodies, a complex immune network is constructed to effectively cope with the invasion of foreign antigens.

2.2. Descriptions of Immune Planning Model

To solve the path planning problem in dynamic environments, inspired by Jerne’s idiotopic network hypothesis, an immune path planning model was designed, as shown in Figure 2 in this paper. The environmental information was chosen as the antigen and the robot behaviors were selected as the antibodies. In the artificial immune system, an omni-directional mobile robot (see Figure 2a) was selected as an immune agent. It was equipped symmetrically, but unevenly, with eight distance-detection sensors around it. Eight detection directions, D1 (i.e., L90°, L60°, L30°, front, R30°, R60°, R90°, and back) corresponded to eight movement directions, M1, of the robot, namely M1 = D1. Figure 2b shows the construction principle of the immune planning network. Because of the complexity and uncertainty of the environment surrounding the robots, it was difficult for the multi-robots to cope with the environmental information effectively using a single immune network. To address the balance between the influence of obstacles and the goal, a mutual-coupled immune network was employed, consisting of an obstacle-oriented network and a goal-oriented network. In the obstacle-oriented network, the obstacle information (i.e., the distance between an obstacle and a robot) was defined as the obstacle antigen. In the goal-oriented network, the goal information (i.e., the direction of an obstacle relative to a robot) was defined as the goal antigen. Once a mobile robot detected an obstacle antigen and a goal antigen, the obstacle-oriented and goal-oriented networks were produced. During the immune path planning phase, a series of optimal antibodies (i.e., optimal robot behaviors) were selected for the multi-robots to complete their navigations through the stimulation and suppression among antigens and antibodies in the planning network.
Based on the genetic algorithm, the IMGA [9], GA-ACO [10], and GA-PSO [11] could complete their path planning activities by selecting optimal antibodies. However, because the number of antibodies presented in the three algorithms above was limited to the number of robot distance sensors and the included angle between the two adjacent sensors was relatively large, the turning angle for obstacle avoidance was usually larger, especially in the environments with many obstacles. A large turning angle easily resulted in the longer length and reduced smoothness of the planned path. In addition, some antibodies with the same concentrations were easily produced based on a single immune concentration calculation and the robot approached its goal by zigzagging because of the random selection of antibodies. The stronger adaptive and self-adjusting functions of the BIS had a great relationship with the action of the secondary immune response. To solve the path planning in dynamic environments and further improve the planning performance, based on the biological secondary immune response, a secondary immune planning model was designed in this paper to subdivide the turning angles of the robots, which was helpful in shortening the length and improving the smoothness of the planned path.

3. Secondary Immune Path Planning

3.1. Secondary Immune Response

In a biological immune system, memory cells generated by the primary immune response can exist for long time. When the same antigen invades the body again, the memory cells are quickly activated, proliferated, and differentiated to produce effector B cells. Then, the effector B cells produce antibodies to clear the antigen in time. This phenomenon in the BIS is called the second immune response. Figure 3 shows the principle of the biological secondary immune response [15]. The secondary immune response plays a crucial role in maintaining the dynamic immune balance of the BIS owing to the vast number of antibodies and the faster response speed. In view of this, the introduction of the secondary immune response was implemented in the path planning process to enhance the planning performance.
Due to the paramount importance of obstacle avoidance in the path planning process for mobile robots, we exclusively addressed the influences of obstacles on robots during the primary immune stage. In this stage, we specifically regarded the obstacle information in the direction of M1 as the memory B cells. In the secondary immune stage, when the same antigen invaded the body again, the memory B cells underwent rapid proliferation and differentiation, and more movement directions M2 (i.e., L90°, L80°, L70°, L60°, L50°, L40°, L30°, L20°, L10°, front, R10°, R20°, R30°, R40°, R50°, R60°, R70°, R80°, R90°, and back) were produced for the mobile robot, as shown in Figure 4.

3.2. Definitions of Antigen and Antibody

Definition 1.
Let the obstacle information detected by a robot be the primary immune antigen, e′.
e = l = 1 8 d o ( l )
where e′ is coded by a binary value.  d o ( l )  is the detection result regarding obstacles in direction l. ∀ l ∈ {1, 2, …, 8},  d o ( l ) { 0 , 1 } , where the elements “0” and “1” represent “no obstacle” and “obstacle” in direction l, respectively. The string length, 8, of e′ depends on the number of distance-detection sensors.
Definition 2.
Let the information for the obstacle and goal be the secondary immune antigen, e″.
e = ( e o , e g ) = ( l = 1 20 d o ( l ) , l = 1 20 d g ( l ) )
where  e o  is the obstacle antigen coded by the binary value, which has a string length of 20. It is related to the moving directions of a mobile robot in the secondary immune stage. ∀ l ∈ {1, 2, …, 20},  d o ( l ) { 0 , 1 } . e g  is the goal antigen and is also coded by the binary value. ∀ l ∈ {1, 2, …, 20},  d g ( l ) { 0 , 1 } , where the elements “0” and “1” denote “no goal” and “goal” in direction l, respectively.
Definition 3.
The primary immune antibody is designed according to the primary immune antigen, e′, and consists of the paratope and idiotope. The preconditions of the obstacle and robot behavior are taken as the paratope, and the interaction antibody, stimulation value, and suppression value are taken as the idiotope.
Figure 5 shows the model of primary immune antibody i ( a i ).
Antibody a i can be formulated as:
a i = ( P i , I i )
P i = ( l = 1 8 d i ( l ) , b i )
I i = ( IA j , m j i , m i j )
where P i is the paratope of primary immune antibody i. The term l = 1 8 d i ( l ) denotes the precondition of the obstacle, and its string length corresponds to the number of distance-detection sensors. ∀ l ∈ {1, 2, …, 8}, d i ( l ) { 0 , 1 , # } , where the elements “0” and “1” still denote “no obstacle” and “obstacle”, respectively. The element “#” denotes that the condition can be taken as either “0” or “1”. b i denotes the robot’s behavior (i.e., movement direction) and b i M 1 . The detailed definitions of the paratope, P i , are shown in Table 1. I i is the idiotope of a i ; IAj denotes the interaction with antibody a i . m j i represents the stimulation value of a j on a i and mij represents the suppression value of a i on a j .
Definition 4.
The secondary immune antibody is designed according to the secondary immune antigen e″ and still consists of the paratope and idiotope.
In the secondary immune stage, because the turning angles of the robots were subdivided based on the proliferation and differentiation of the memory cells, more moving directions were produced. Thus, the number of secondary immune antibodies was expanded. The secondary immune antibody, i ( a i ), can be formulated as:
a i = ( P i , I i )
P i = ( l = 1 20 d i ( l ) , b i )
I i = ( m i o , m i g )
The detailed definitions of the paratope, P i , are shown in Table 2. ∀ l ∈ {1, 2, …, 20}, d i ( l ) { 0 , 1 , # } , where the elements “0”, “1”, and “#” are defined as the same definitions in P i . b i M 2 is the robot’s behavior (i.e., movement direction). m i o and m i g are the stimulation values of e o and e g on a i , respectively.
Thus, the primary immune antibody set, A = [ a 1 , a 2 , , a 8 ] , and the secondary immune antibody set, A = [ a 1 , a 2 , , a 20 ] , were obtained.

3.3. Antibody Selection of Robots Based on the Immune Concentration

Although two types of antibody sets, A′ and A″, were designed and presented in Section 3.2, only activated antibodies were likely to be selected to execute the path planning stage. In the primary immune stage, aiming at the obstacle antigen, the activated primary antibody group, Ap, was obtained through operator Tp.
A p T p ( e   , A ) = a 1 p , a 2 p , , a N p   |     i ( 1 , N ) ,   e ¯ P i ¯ = l = 1 8 d o ( l ) ¯ d i ( l ) ¯ = = 1
where the symbols “¯” and “∨” denote the “NOT” and “AND” operators, respectively. N is the number of activated primary antibodies and N ≤ 8. ∀ d o ( l ) { 0 , 1 } ; if d i ( l ) = # , then d o ( l ) ¯ d i ( l ) ¯ = 0 .
On the basis of Farmer’s immune kinetic model, the concentration, C p ( t ) , of the activated primary antibody group, Ap, at time, t, is obtained through operator Ψp.
C p ( t ) Ψ p ( A , A p , α 1 , α 2 ) = c 1 p ( t ) , c 2 p ( t ) , , c N p ( t ) : i [ 1 , N ] ,   c i p ( t ) = α 1 j i , j = 1 N ( m j i c j p ( t 1 ) ) N α 2 j i , j = 1 N ( m i j c j p ( t 1 ) ) N
where α1 and α2 are the stimulation and suppression coefficients among the primary immune antibodies, respectively. In the braces, the last equational term was the primary immune kinetic model for the calculation of concentration Cp.
The stimulation value, mji, of a j on a i is described as:
m j i = l = 1 8 d j ( l ) d i ( l ) ¯ / 8
where the symbol “⊕” denotes the “exclusive-or” operator.
d j ( l ) { 0 , 1 } ; if d i ( l ) = # , then d j ( l ) d i ( l ) ¯ = 1 .∀ d i ( l ) { 0 , 1 } , and if d j ( l ) = # , then d j ( l ) d i ( l ) ¯ = 0 .
The suppression value, mij, of a i on a j is described as:
m i j = l = 1 8 d i ( l ) d j ( l ) / 8
If d i ( l ) = # or d j ( l ) = # , then d i ( l ) d j ( l ) = 0 .
In the secondary immune stage, when the same obstacle antigen invaded again, some of the secondary immune antibodies in A were activated through operator Ts to form an activated secondary immune antibody group, As.
A s T s ( e o ¯ , A ¯ ) = a 1 s , a 2 s , , a D s       i ( 1 , D ) ,   e o ¯ d i ¯ = l = 1 20 e o ¯ d i ( l ) ¯ = = 1
where D is the number of activated secondary immune antibodies and D ≤ 20. e o ( l ) { 0 , 1 } ; if d i ( l ) = # , then e o ¯ d i ( l ) ¯ = 0 .
To improve the quality of the activated secondary immune antibodies and accelerate the planning speed, the concentration, C p , of the activated primary immune antibodies was taken as a priori knowledge to initialize the concentration, C s 0 , of A s .
The initial concentration, C s 0 , of D activated secondary immune antibodies is described as:
C s 0 = c 1 s 0 , c 2 s 0 , , c D s 0
  i [ 1 , D ] ,   c i s 0 = c 1 p , 1 i 2   c k p : k = f i x ( i / 3 ) + 1 , 3 i 17 c 7 p , 18 i 19 c 8 p ,   i = 20  
where fix(·) is the round function and returns the integer part of a number.
The selection of the activated secondary immune antibodies for path planning depended on the final concentration, Cs, of the activated secondary immune antibodies, As. ∀ i { 1 , D } ; the concentration c i s C s of antibody i at time t is calculated according to the secondary immune kinetic model (i.e., Equations (16)–(18)):
S i ( t ) = c i s ( t 1 ) + d c i s ( t ) d t
d c i s ( t ) d t = c i s 0 + β 1 m i o + β 2 m i g k × c i s ( t 1 )
c i s ( t ) = 1 1 + exp ( 0.5 S i ( t ) )
In Equation (16), Si(t) is the stimulation level at time t. c i s ( t 1 ) is the normalized concentration of antibody a i s at time t − 1. In Equation (17), β1 is the stimulation coefficient of e o on a i . β2 is the stimulation coefficient of e g on a i . The consumption factor, k, denotes the natural death of the antibody, a i .
The stimulation value, m i o , of e o on a i is described as:
m i o = e o P i ¯       / H = l = 1 20 e o ( l ) d i ( l ) ¯ / 20
d i ( l ) { 0 , 1 } ; if e o ( l ) = # , then e o ( l ) d i ( l ) ¯ = 0 .
The stimulation value, m i g , of e g on a i is described as:
m i g = e g ( t ) P i ¯ = l = 1 20 e g ( l ) d i ( l ) ¯
e g ( l ) { 0 , 1 } ; if d i ( l ) = # , then e g ( l ) d i ( l ) ¯ = 0 .
The whole acquisition process regarding concentration c i s of the activated secondary immune antibodies As can be described through operator Ψs as:
C s Ψ s ( C s 0 , β 1 , β 2 , k , e , A ) = c 1 s , c 2 s , , c D s  
Finally, the optimal antibody, a*, was selected through operator Γ in As.
a * Γ ( A s , C s ) = a i A s : c i = max ( C s ) , i [ 1 , D ]

3.4. Flow of the Secondary Immune Planning Algorithm

To further improve the immune planning performance, inspired by the secondary immune response, a secondary immune planning model was designed and a new secondary immune responses-based immune path planning algorithm was put forward. The algorithmic steps presented in Algorithm 1 illustrate the key stages of the SIRIPPA path planning algorithm.
Algorithm 1. SIRIPPA Algorithm
Begin:
          Initialization: stimulation coefficient α1, suppression coefficient α2, stimulation coefficient β1, suppression coefficient β2, consumption factor k, etc.
          Set the primary immune antibody set, A′, and secondary immune antibody set, A″.
          While (robots that have not achieved their goals)
                    Code the primary immune antigen, e′, and secondary immune antigen, e″, according to the environmental information.
                    Primary immune stage: A p T p ( e , A )
                                                               C p ( t ) Ψ p ( A , A p , α 1 , α 2 )
                    Secondary immune stage: A s T s ( e o ¯ , A ¯ )
                                                               C s 0 = c 1 s 0 , c 2 s 0 , , c D s 0
                                                               C s Ψ s ( C s 0 , β 1 , β 2 , k , e 2 , A 2 )
                    Select the optimal antibody: a * Γ ( A s , C s )
          end while
end

4. Simulation Tests of the SIRIPPA

To test and verify the validity and stability of the proposed SIRIPPA, selected simulations were performed using MATLAB 8.2 on an Intel Core 11th 2.4 GHz computer (Intel Co., Santa Clara, CA, USA) with 8 GB of RAM. In the SIRIPPA, α1 = 0.2, α2 = 0.04, β1 = 0.5, β2 = 0.5, and k = 0.5.

4.1. Simulation Tests in Static Environments

To verify the path planning performance of the SIRIPPA and considering the four different static environments, shown in Figure 6, selected simulation tests were performed firstly, and the planning results of the SIRIPPA were compared with those of the IMGA, GA-ACO, and GA-PSO. All the parameter values of the IMGA, GA-ACO, and GA-PSO were from the relevant literature. Figure 6 shows the planning results for the four immune algorithms.
In environment I, the obstacles were distributed sparsely around the line between S and G. From Figure 6a, it can be observed that the paths planned by the IMGA, GA-ACO, and GA-PSO appear to be the same. In the SIRIPPA, the turning angles of the robots were effectively subdivided based on the secondary immune response, and the secondary immune planning model enhanced the rationality of the antibody selection. As a result, the robot could navigate around the obstacles with smaller turning angles and approach the goal more rapidly. Comparing the path of the SIRIPPA with the paths of other immune algorithms, it can be observed that the path length of the SIRIPPA is shorter than the other paths. The reduced number of zigzags in the path of the SIRIPPA indicates greater path smoothness. In environment II (Figure 6b), the obstacles are densely distributed around the line between S and G. Due to the limitation of the number of antibodies, both the IMGA and GA-ACO reached the goal, G, after several turns, revealing their limited planning capabilities. In the GA-PSO, the addition of antibodies and the provision of more robot behaviors contributed to greater smoothness compared to the IMGA and GA-ACO. However, because the functions of the added antibodies in the GA-PSO were similar, the competition among these similar antibodies restricted further improvements in the planning performance. In the SIRIPPA, a large number of antibodies were not only provided, but also consistently matched the secondary immune planning model. Additionally, there was no function conflict among the different antibodies, effectively enhancing the planning performance of the SIRIPPA. The path planned by the SIRIPPA was obviously better than that of the GA-PSO. The planning results of the SIRIPPA in environments III and IV (Figure 6c,d) also show its better planning performance.
Table 3 provides detailed performance comparisons in terms of the path length, smoothness, and energy consumption, e, among the four immune planning algorithms. e relates to the length, l, and the smoothness, ϑ, of the planned path:
e = l ϑ L θ
where L is the linear distance between the starting point, S, and goal, G. θ is the angle between the x-axis and the direction from S to G. The parameter l indeed represents the current displacement or movement distance of the mobile robot, and ϑ denotes the angle between the robot’s direction and the x-axis.
From the table, it can be observed that, for the IMGA and GA-ACO, the paths of the GA-ACO are smoother than the paths of the MIGA, and the energy consumption of the GA-ACO decrease by about 17.43% because the redefinitions of the immune antibodies in the GA-ACO improve its planning performance. However, due to the similarity between the immune planning model of the GA-ACO and the IMGA model, the advantage of the GA-ACO is not evident, and the path lengths of the IMGA and GA-ACO in the four environments are similar. In the GA-PSO, the provision of a large number of antibodies enabled the robot to effectively and swiftly avoid obstacles by selecting more appropriate behaviors. Consequently, the planning performance in terms of the path length, smoothness, and energy consumption was superior to the performance of the IMGA and GA-ACO. In the SIRIPPA, to enhance the flexibility of the antibody selection, a considerable number of primary and secondary immune antibodies were provided. Drawing inspiration from the secondary immune response, a secondary immune kinetic model was designed for the calculation of the antibody concentration. All the aforementioned enhancements effectively improved the planning performance of the SIRIPPA. From Table 3, it can be seen that the path lengths of the SIRIPPA in four environments are the shortest, the smoothness of the SIRIPPA is highest, and the energy consumption is the lowest, which shows the validity and advantage of the SIRIPPA in complicated environments. Compared to the corresponding immune planning algorithms, the SIRIPPA demonstrates an average reduction of 6.22% for the global path length, a decrease of 23.00% for average smoothness, and an average reduction of 27.55% for energy consumption. The proposed SIRIPPA algorithm exhibited a superior performance for path planning.

4.2. Simulation Test in a Dynamic Environment

Path planning in static environments can effectively validate the variations in planning capabilities among different immune algorithms. However, in practical applications, dynamic obstacles inevitably exist in the working environments of robots. To validate the effectiveness of the proposed SIRIPPA in dynamic environments, a simulation test for multi-robots was conducted. The dynamic environment is illustrated in Figure 7, featuring two mobile robots, several static obstacles, and three dynamic obstacles approaching from various directions at different velocities. The partial parameters of the dynamic environment are shown in Table 4. It should be noted that, although the paper provides the motion parameters of the dynamic obstacles, the information about the dynamic obstacles in the actual environment was obtained through the robot’s autonomous detection.
The entire dynamic planning process is depicted in Figure 7. Figure 7a illustrates that robots R2 and R1 initiate their movements from the starting points S2 and S1, respectively. As initially no obstacles were detected by R1, it moved straight to the goal, G1, demonstrating the uniqueness and stability of antibody selection. R2 encountered the dynamic obstacle D_obs1 quickly and activated the primary immune antibodies. Under the continuous stimulation of the same antigen regarding D_obs1, a large number of antibodies were produced through proliferation and differentiation in a short time relying on the secondary immune response. R2 attempted to avoid D_obs1 by selecting the optimal antibody based on the concentration. Figure 7b shows that R2 successfully avoids D_obs1, and R1 attempts to avoid D_obs2 through the antibody selection. Afterward, R1 and R2 enter the influence range of static obstacles. At this moment, although there are no external dynamic obstacles, the two robots act as dynamic obstacles for each other. They should not only avoid the static obstacles, but also avoid each other at the same time. Figure 7c shows that the two robots avoid static obstacles and each other, and R1 encounters dynamic obstacle D_obs3 again. Unlike the avoidance manner of D_obs2, R1 actively detours D_obs3 from its front. From Figure 7d, it can be observed that the two robots can avoid the static and dynamic obstacles and reach their goals safely, which shows the strong planning capability of the SIRIPPA in dynamic environments.

5. Experiment

5.1. Experimental Environment

To further verify the validity of the proposed SIRIPPA in a real environment, an online dynamic planning experiment was performed. Figure 8 provides an experimental environment for the path planning of multi-robots, where there are three mobile robots (i.e., R1, R2, and Rd), seven static obstacles (i.e., O1, O2, …, O7), two overhead cameras, a wireless module, and a host computer. Two cameras were used as the global vision system to capture the environment of multi-robots, and the final global environment map was produced based on the image mosaic technique [16]. Figure 9 shows the designed mobile robot, which was driven in the differential mode by connecting two direct motors to two wheels. The mobile robot was equipped symmetrically, but unevenly, with five ultrasonic distance sensors and three infrared distance sensors around it. The ultrasonic sensor model was HC-SR04 and the infrared sensor model was GP2Y0A41SK0F. These sensors were primarily used for rapidly determining whether obstacles were present around the mobile robot. When both the ultrasonic and infrared sensors detected the absence of obstacles in the robot’s surroundings, the distributed vision system did not need to check for obstacle information in that direction. The distributed vision system was activated only when obstacles were detected within the sensor’s coverage area, allowing it to further confirm the specific direction and distance information of the obstacles. To obtain the accurate position and pose information, a color-label plate [17] was installed on the top of the robot, which consisted of one baseplate (black) and four color labels. Label 2 (blue) was the main color label. Label 3 was the auxiliary color label and its color could be red or yellow. The center coordinate of the main color label was defined as the robot coordinate. The direction of the vector between the middle auxiliary color label (i.e., label 3) and main color label (i.e., label 2) was defined as the forward direction of the mobile robot. Different robots could be distinguished according to the different color sequences of three auxiliary color labels. The localizations of three robots were realized based on two overhead cameras, shown in Figure 8.
Figure 10a,b show the left and right images captured by the two cameras. Figure 10c shows the whole working environment of the multi-robots after the image mosaic. The experimental requirements can be described as follows: robots R1 and R2 executed the online path planning from S1 and S2 to G1 and G2, respectively, using the proposed SIRIPPA. Robot Rd was considered a dynamic obstacle moving in the environment. All robots could wirelessly communicate with the host computer and receive control commands through the NRF905 wireless module.

5.2. Experimental Results

Figure 11 displays the planning outcomes acquired from the experiment. Figure 11a illustrates the initial state of the path planning, where the two robots, R1 and R2, initially detect obstacles O7 and O6, respectively. Taking into account the detected environmental information, R1 endeavors to evade O7 by selecting primary and secondary immune antibodies via the SIRIPPA and proceed towards the goal, G1. Similarly, R2 attempts to avoid O6 and make its way towards the goal, G2. Figure 11b–d show the avoidance process regarding O7 and O6. Figure 11e demonstrates that both R1 and R2 entered the environment of O4. Figure 11f illustrates that the two robots successfully avoided O4. Meanwhile, since the distance between R1 and R2 is less than the detection range of the robot sensors, both R1 and R2 are considered as dynamic obstacles to each other. This implies that R1 or R2 not only have to avoid O4, but also must steer clear of R2 or R1. Figure 11g illustrates that the dynamic obstacle, Rd, initiated its movement and swiftly entered the detection range of R1, as depicted in Figure 11h. Figure 11i–n depict the avoidance process concerning the dynamic obstacle, Rd. At t = 50 s, there are no obstacles in front of R1 and R2, and both robots proceed directly towards their respective goals, as depicted in Figure 11m,n. Figure 11o shows that R1 successfully reached G1, while R2 attained the goal, G2, at t = 60 s, as illustrated in Figure 11p.

6. Conclusions

Indeed, path planning is a crucial task in the autonomous navigation of mobile robots. Effective path planning algorithms and techniques enable robots to navigate safely and efficiently in complex and dynamic environments. To enhance the path planning performance of multi-robots in dynamic environments, we proposed a new algorithm called the secondary immune response-based immune path planning algorithm. This algorithm builds upon the basic immune path planning framework and introduces secondary immune responses to better handle complex and changing environments. By incorporating this approach, we aimed to improve the adaptability, robustness, and efficiency of path planning for multiple robots operating in dynamic scenarios. The following conclusions can be drawn from the results of the simulations and experiment:
  • During the primary immune stage, the antibodies were designed solely based on the obstacle antigen. This approach effectively avoided the constraint of the goal antigen in the antibody selection stage, increasing the probability that the primary immune antibodies were activated.
  • Inspired by the secondary immune response, a large number of immune antibodies were proliferated and differentiated. As a result, the corresponding turning angles of a mobile robot were subdivided, which helped to reduce the turning magnitude of the robots for obstacle avoidance and improved the flexibility of the immune planning algorithm. This approach enabled the robots to adapt more effectively to dynamic environments and achieve a better path planning performance.
  • Based on the Farmer’s immune kinetic model, the proposed secondary immune kinetic model further enhanced the rationality of antibody selection. This improvement was achieved by integrating the influence of both the obstacle antigen and goal antigen on the secondary immune antibodies. By considering both factors, the algorithm could make more informed decisions during the antibody selection process, leading to an improved path planning performance in dynamic environments.
  • Compared to the IMGA, GA-ACO, and GA-PSO algorithms, the simulation results in four static environments demonstrated that the proposed SIRIPPA algorithm exhibited shorter path lengths and greater smoothness in the planned paths. Moreover, the simulation test involving two robots in a dynamic environment showcased the flexibility and stability of the SIRIPPA in uncertain environments. Finally, the online experiment conducted in a real environment served as further verification of the effectiveness of the proposed SIRIPPA algorithm.

Author Contributions

Methodology, Y.J. and M.Y.; validation, Y.J., L.Z. and Y.S.; original draft preparation, Y.J. and M.Y.; writing, Y.J. and L.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the High-tech Ship Scientific Research Project from the Ministry of Industry and Information Technology ([2019]360) and the 2023 Zhangjiagang City Industry University Research Pre-Research Fund Project (ZKYY2328).

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Kumar, S.; Sikander, A. Optimum mobile robot path planning using improved artificial bee colony algorithm and evolutionary programming. Arab. J. Sci. Eng. 2022, 47, 3519–3539. [Google Scholar] [CrossRef]
  2. Zhai, L.; Feng, S. A novel evacuation path planning method based on improved genetic algorithm. J. Intell. Fuzzy Syst. 2022, 42, 1813–1823. [Google Scholar] [CrossRef]
  3. Sadiq, A.T.; Raheem, F.A.; Abbas, N. Ant colony algorithm improvement for robot arm path planning optimization based on D* strategy. Int. J. Mech. Mechatron. Eng. 2021, 21, 96–111. [Google Scholar]
  4. Sarkar, R.; Barman, D.; Chowdhury, N. Domain knowledge based genetic algorithms for mobile robot path planning having single and multiple targets. J. King Saud Univ.-Comput. Inf. Sci. 2022, 34, 4269–4283. [Google Scholar] [CrossRef]
  5. Szczepanski, R.; Bereit, A.; Tarczewski, T. Efficient local path planning algorithm using artificial potential field supported by augmented reality. Energies 2021, 14, 6642. [Google Scholar] [CrossRef]
  6. Lin, Z.; Yue, M.; Chen, G.; Sun, J. Path planning of mobile robot with PSO-based APF and fuzzy-based DWA subject to moving obstacles. Trans. Inst. Meas. Control 2022, 44, 121–132. [Google Scholar] [CrossRef]
  7. Li, Q.; Gama, F.; Ribeiro, A.; Prorok, A. Graph neural networks for decentralized multi-robot path planning. In Proceedings of the 2020 IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS), Las Vegas, NV, USA, 24 October 2020. [Google Scholar]
  8. Ma, G.; Duan, Y.; Li, M.; Xie, Z.; Zhu, J. A probability smoothing Bi-RRT path planning algorithm for indoor robot. Future Gener. Comput. Syst. 2023, 143, 349–360. [Google Scholar] [CrossRef]
  9. Li, K.; Hu, Q.; Liu, J. Path planning of mobile robot based on improved multiobjective genetic algorithm. Wirel. Commun. Mob. Comput. 2021, 2021, 8836615. [Google Scholar] [CrossRef]
  10. Shi, K.; Huang, L.; Jiang, D.; Sun, Y.; Tong, X.; Xie, Y.; Fang, Z. Path planning optimization of intelligent vehicle based on improved genetic and ant colony hybrid algorithm. Front. Bioeng. Biotechnol. 2022, 10, 905983. [Google Scholar] [CrossRef] [PubMed]
  11. Sabiha, A.D.; Kamel, M.A.; Said, E.; Hussein, W.M. Real-time path planning for autonomous vehicle based on teaching–learning-based optimization. Intell. Serv. Robot. 2022, 15, 381–398. [Google Scholar] [CrossRef]
  12. Lin, S.; Liu, A.; Wang, J.; Kong, X. A review of path-planning approaches for multiple mobile robots. Machines 2022, 10, 773. [Google Scholar] [CrossRef]
  13. Mohanty, P.K.; Kodapurath, A.A.; Singh, R.K. A hybrid artificial immune system for mobile robot navigation in unknown environments. Iran. J. Sci. Technol. Trans. Electr. Eng. 2020, 44, 1619–1631. [Google Scholar] [CrossRef]
  14. Cho, S.; Shrestha, B.; Jang, W.; Seo, C. Trajectory tracking optimization of mobile robot using artificial immune system. Multimed. Tools Appl. 2019, 78, 3203–3220. [Google Scholar] [CrossRef]
  15. Kim, T.O.; Despotovic, J.M. Primary and secondary immune cytopenias: Evaluation and treatment approach in children. Hematol./Oncol. Clin. 2019, 33, 489–506. [Google Scholar] [CrossRef] [PubMed]
  16. Tang, Z.; Xu, L.; Xie, H. Picking trajectory planning of citrus based on improved immune algorithm and binocular vision. In Proceedings of the 2020 IEEE International Conference on Artificial Intelligence and Computer Applications (ICAICA), Dalian, China, 27–29 June 2020. [Google Scholar]
  17. Zhao, R.; Yuan, M.; Hua, X.; Shen, Y. Visual segmentation and localization of mobile robots based on the feedback regulation. IOSR J. VLSI Signal Process. 2014, 4, 1–6. [Google Scholar] [CrossRef]
Figure 1. Biological immune network.
Figure 1. Biological immune network.
Electronics 13 00562 g001
Figure 2. Immune path planning model. (a) Immune agent; (b) principle of the immune path planning network.
Figure 2. Immune path planning model. (a) Immune agent; (b) principle of the immune path planning network.
Electronics 13 00562 g002
Figure 3. Biological secondary immune response.
Figure 3. Biological secondary immune response.
Electronics 13 00562 g003
Figure 4. The proliferation and differentiation of memory B cells.
Figure 4. The proliferation and differentiation of memory B cells.
Electronics 13 00562 g004
Figure 5. Definition of antibody i.
Figure 5. Definition of antibody i.
Electronics 13 00562 g005
Figure 6. Path planning results for four immune algorithms in static environments. (a) Environment I; (b) environment II; (c) environment III; (d) environment IV.
Figure 6. Path planning results for four immune algorithms in static environments. (a) Environment I; (b) environment II; (c) environment III; (d) environment IV.
Electronics 13 00562 g006aElectronics 13 00562 g006b
Figure 7. Path planning results of the SIRIPPA in a dynamic environment. (a) Avoid D_obs1; (b) avoid D_obs2; (c) avoid D_obs3; (d) achieve the goals.
Figure 7. Path planning results of the SIRIPPA in a dynamic environment. (a) Avoid D_obs1; (b) avoid D_obs2; (c) avoid D_obs3; (d) achieve the goals.
Electronics 13 00562 g007
Figure 8. Experimental environment for path planning.
Figure 8. Experimental environment for path planning.
Electronics 13 00562 g008
Figure 9. Mobile robot.
Figure 9. Mobile robot.
Electronics 13 00562 g009
Figure 10. Acquisition of the robot working environment. (a) Left image; (b) right image; (c) whole working environment.
Figure 10. Acquisition of the robot working environment. (a) Left image; (b) right image; (c) whole working environment.
Electronics 13 00562 g010
Figure 11. Experimental results of path planning based on the SIRIPPA. (a) t = 0 s; (b) t = 6 s; (c) t = 10 s; (d) t = 20 s; (e) t = 32 s; (f) t = 36 s; (g) t = 38 s; (h) t = 40 s; (i) t = 41 s; (j) t = 42 s; (k) t = 43 s; (l) t = 45 s; (m) t = 50 s; (n) t = 51 s; (o) t = 53 s; (p) t = 60 s.
Figure 11. Experimental results of path planning based on the SIRIPPA. (a) t = 0 s; (b) t = 6 s; (c) t = 10 s; (d) t = 20 s; (e) t = 32 s; (f) t = 36 s; (g) t = 38 s; (h) t = 40 s; (i) t = 41 s; (j) t = 42 s; (k) t = 43 s; (l) t = 45 s; (m) t = 50 s; (n) t = 51 s; (o) t = 53 s; (p) t = 60 s.
Electronics 13 00562 g011aElectronics 13 00562 g011b
Table 1. Definitions regarding the paratopes of primary immune antibodies.
Table 1. Definitions regarding the paratopes of primary immune antibodies.
ID of AntibodyPrecondition of ObstacleRobot Behavior
(Movement Direction)
1###0####Front
211111110Back
3###10###R30°
4##1110##R60°
5#111110#R90°
6##01####L30°
7#0111###L60°
8011111##L90°
Table 2. Definitions regarding the paratopes of secondary immune antibodies.
Table 2. Definitions regarding the paratopes of secondary immune antibodies.
ID of
Antibody
ParatopeRobot Behavior
(Movement Direction)
1#########0##########Front
211111111111111111110Back
3#########10#########R10°
4########1110########R20°
5#######111110#######R30°
6######11111110######R40°
7#####1111111110#####R50°
8####111111111110####R60°
9###11111111111110###R70°
10##1111111111111110##R80°
11#111111111111111110#R90°
12########01##########L10°
13#######0111#########L20°
14######011111########L30°
15#####01111111#######L40°
16####0111111111######L50°
17###011111111111#####L60°
18##01111111111111####L70°
19#0111111111111111###L80°
20011111111111111111##L90°
Table 3. Comparisons among four immune planning algorithms in four environments.
Table 3. Comparisons among four immune planning algorithms in four environments.
EnvironmentAlgorithmPerformance
CSmoothness of Planned PathEnergy Consumption (%)
IIMGA11.888.61°44.73
GA-ACO11.886.39°33.20
GA-PSO11.665.38°27.43
SIRIPPA11.445.10°25.51
IIIMGA12.988.39°40.06
GA-ACO12.986.86°32.75
GA-PSO12.105.73°25.50
SIRIPPA11.225.20°21.46
IIIIMGA12.766.72°24.63
GA-ACO12.546.32°22.51
GA-PSO12.324.82°17.06
SIRIPPA11.884.44°15.15
IVIMGA13.27.95°30.71
GA-ACO13.27.05°27.24
GA-PSO12.86.09°22.82
SIRIPPA12.45.40°19.60
Table 4. Partial parameters of the dynamic environment.
Table 4. Partial parameters of the dynamic environment.
ParametersRobot 1
(R1)
Goal 1
(G1)
Robot 2
(R2)
Goal 2
(G2)
Dynamic Obstacles
D_obs1D_obs2D_obs3
Initial position (m)[0, 2]T[20, 7]T[0, 6]T[20, 1]T[1.8, 6.8]T[4, 0.8]T[17.5, 7.2]T
Velocity (m∙s−1)[0.25, 0]T[0, 0]T[0.25, 0]T[0, 0]T[0.03, −0.18]T[0.02, 0.13]T[−0.10, −0.15]T
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Jiang, Y.; Zhang, L.; Yuan, M.; Shen, Y. A Novel Online Path Planning Algorithm for Multi-Robots Based on the Secondary Immune Response in Dynamic Environments. Electronics 2024, 13, 562. https://doi.org/10.3390/electronics13030562

AMA Style

Jiang Y, Zhang L, Yuan M, Shen Y. A Novel Online Path Planning Algorithm for Multi-Robots Based on the Secondary Immune Response in Dynamic Environments. Electronics. 2024; 13(3):562. https://doi.org/10.3390/electronics13030562

Chicago/Turabian Style

Jiang, Yafeng, Liang Zhang, Mingxin Yuan, and Yi Shen. 2024. "A Novel Online Path Planning Algorithm for Multi-Robots Based on the Secondary Immune Response in Dynamic Environments" Electronics 13, no. 3: 562. https://doi.org/10.3390/electronics13030562

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop