Abstract

Swarm robotics is a specific research field of multirobotics where a large number of mobile robots are controlled in a coordinated way. Formation control is one of the most challenging goals for the coordination control of swarm robots. In this paper, a behavior-based control design approach is proposed for two kinds of important formation control problems: efficient initial formation and formation control while avoiding obstacles. In this approach, a classification-based searching method for generating large-scale robot formation is presented to reduce the computational complexity and speed up the initial formation process for any desired formation. The behavior-based method is applied for the formation control of swarm robot systems while navigating in an unknown environment with obstacles. Several groups of experimental results demonstrate the success of the proposed approach. These methods have potential applications for various swarm robot systems in both the simulation and the practical environments.

1. Introduction

With the development of the robot technology, the swarm robot system has a wide application prospect in theoretical research and engineering applications because of its robustness, flexibility, and scalability [1]. Formation control is one of the most important research areas for swarm robot systems and has many applications (e.g., industrial production, aerospace, and military affairs) [25]. The control design of swarm robot systems is quite complex because a lot of issues should be considered, such as formation keeping, communication, and coordination between robots. In addition, when the number of the robots reaches a certain degree (hundreds or even more), the computation of the system will be staggering.

During recent years, research on the formation control of swarm robot systems has attracted wide attention. The swarm robots can form or keep various formations, for example, line, orthogon, and triangle [6]. In addition, the formation can transform in order to suit different tasks. There are three main methods to implement formation control, namely, behavior-based formation control [79], leader-follower [1012], and virtual structure methods [13, 14]. The behavior-based formation control method utilizes a set of predefined basic behaviors, such as moving-to-target, keeping-formation, and avoiding-obstacles [15, 16]. This method is more suitable to distributed multirobot system and every robot is strongly autonomous. But there is no clear definition to group behaviors for swarm robots, and it is difficult to guarantee the stability of a desired formation when the environment is complex. The leader-follower method designates one robot as the leader and the others as followers [17, 18]. The followers keep a certain distance and direction angle from the leader. This method is prone to deadlock of robot collisions. The third one is virtual structure method which regards the swarm robot system as an inflexible entity [19, 20]. The robots are regarded as some points in the system. This method defines the structure of the overall behavior of the robot formations, but the stringent requirements to maintain a virtual structure formation movement limit the application of this method.

On the other hand, most of the existing methods for the swarm robot formation problem are based on small-scale robot formation where the number of robots is around or less than 10 [2123]. There is little research on formation control of large-scale problems except some theoretical results regarding optimization; for example, Derenick and Spletzer use convex optimization to make one hundred robots form a certain formation [24]. In this paper, we extend the behavior-based navigation method to swarm robot systems and focus on two kinds of important formation control problems (i.e., initial formation and formation control while avoiding obstacles). In particular, for the initial formation problem, we present an improved algorithm named classification-based searching for initial formation. This algorithm is suitable for large-scale robot formation where the number of robots is more than one hundred. Based on the initial state of the robots, the algorithm will classify robots to different types and use different methods and processing sequences to handle these types, which can significantly reduce the time complexity. These studies have potential applications for practical swarm robot systems.

The rest of this paper is organized as follows. In next section, the problem formulation and behavior design for single-robot systems are presented. Section 3 describes an algorithm of classification-based searching for initial formation control to reduce time complexity. In Section 4, the formation control with obstacle-avoidance is presented and several groups of experimental results are analyzed. Conclusions are given in Section 5.

2. Problem Formulation and Behavior Design

2.1. Problem Formulation

The ability and efficiency of swarm robot systems depend on the functions of the single robots and the control structure. The control structure of the swarm robot system is categorized as centralized, distributed, and layered structures [25]. The centralized structure contains a control unit and several robots with the ability of perception and execution [26]. The control unit contains the information of the environment and every single robot. The centralized structure is simple and easy to implement, but has low flexibility, fault tolerance, and suitability and can only be applied in the simple and structured environments. Unlike the centralized one, the distributed structure [27] has no central control unit. Each robot is autonomous to make decision according to its own tasks. This method has high fault tolerance and reliability but is more difficult to coordinate between robots. The layered structure is the mixture of centralized and distributed structures, which has the control unit to supervise the whole system and is independent of each robot [28, 29]. The distributed and layered structures can be applied in high dynamic and complex environments.

The swarm robot system studied in this paper consists of dozens to hundreds of single mobile robots. In order to ensure the high flexibility, fault tolerance, and adaptability, the distributed control architecture is chosen and behavior-based control methods are presented for the swarm robot systems.

The model of a single mobile robot is shown as in Figure 1, which contains embedded computer systems, motion control systems, a perceptual system, and a communication system. The perceptual system is a multiultrasonic system to detect obstacles in the environment. The communication system is a wireless communication module. As shown in Figure 1(a), the working environment of the robot is two-dimensional and the robot’s coordinate is , where is the position coordinate and is the orientation angle. The speed of the robot is , where is the linear velocity and is the angular velocity. The model of the multiultrasonic system is shown in Figure 1(b). The detection space is divided into four areas, namely, left one (), left two (), right one (), and right two (), respectively. The central angle of each region is 60°, so in order to detect these four areas, at least 4 sonar sensors are needed and the detecting radius is .

2.2. Behavior Design

The overall behavior conducted by a robot is the combination of several subbehaviors, that is, moving to the goal, avoiding obstacles, wall-following, avoiding robot, and formation keeping. In practical applications, each behavior of a robot is stated as the form of vector that consists of the magnitude and direction. The weight of the vector (the intensity of behavior) can be changed by adjusting the parameters. Based on the information detected from the surrounding environment, the robot chooses the proper behaviors. Therefore, a movement command will be produced. The overall behavior vector which is the sum of all subbehavior vectors is defined as where are the controlling parameters regarding the weights of each behavior vectors.

2.2.1. Behavior of Moving to the Goal

As shown in Figure 2(a), if there are no obstacles in front of the robot, the robot will move to the target at maximum speed. In most occasions, the robot maintains the behavior of moving to the goal. Assuming the current coordinates of the robot are and the coordinates of the goal are , the behavior vector of moving to the goal is

The controlling parameter of this behavior is defined as where is the distance between the robot and target point and and are the adjustable parameters. is related to the robot’s movement step and the robot will slow down when the distance between the robot and target point is less than .

2.2.2. Behavior of Avoiding Obstacles

The robot will trigger the behavior of avoiding obstacles when any obstacle around the robot is detected. The traditional way is to make the robot move backward, which will cause moving deadlock. In order to solve this problem, we change the direction of movement with an angle of 90 degrees to the obstacle (as shown in Figure 2(b)). The virtual force of the obstacle-avoiding behavior will be enhanced when the robot is close to the obstacles.

Assume that the current coordinate of the robot is and the coordinate of the nearest obstacle is , then the vector of avoiding obstacles is where the sign ± is determined by the relationship between the moving direction of the robot and the obstacles. When the obstacle are on the left, set it +. On the contrary, when the obstacle is on the right, set it −. The control parameter is set as where is the distance between the robot and the obstacle. , , and are the adjustable parameters. As shown in Figure 3(a), is the distance between the robot and the obstacle when the behavior of avoiding obstacle is triggered. is the minimum distance between the robot and the obstacle, which is the precondition that triggers the behavior of wall-following. For simple environments where there are only one or several small obstacles, we can use only the behaviors of moving to the goal and avoiding obstacles for navigation control of a single robot. Equation (1) is then reduced as

Some simulated experiments are demonstrated in Figure 4 and the parameter settings are shown in Table 1. The results show that these two behaviors work well for navigation control in simple environments.

2.2.3. Behavior of Wall-Following

When the environment becomes more complex, the robot could not complete the task just relying on the above two behaviors. As shown in Figure 2(c), in order to avoid large obstacles, we design the behavior of wall-following. This behavior is activated when the distance between the robot and the obstacle reaches a certain value. If the target point and the obstacles are on the left side of the robot, choose the behavior of following the left wall. If the target point and the obstacles are on the right side of the robot, choose the behavior of following the right wall. Assuming the current coordinate of the robot is and the coordinate of the nearest obstacle is , the vector of wall-following is where ± is determined by the relationship between the moving direction of the robot and the coordinate of the obstacles. When the obstacle is on the left, set it + and trigger the behavior of following left wall. On the contrary, when the obstacle is on the right, set it − and trigger the behavior of following right wall. The control parameter is where is an adjustable parameter.

The robot will end the behavior of wall-following when the target point is within range in front of the robot and there is no obstacle within range in front of the robot. The behavior vector in the environments with large obstacles is

Some examples of wall-following to avoid large obstacles are shown in Figure 5 using the combination of the above designed behaviors.

2.2.4. Behavior of Avoiding Robot

In order to prevent collision between robots, the behavior of avoiding robot will be triggered when the robot is too close to the one in front of it (as shown in Figure 2(d)). The movement direction of this behavior is opposite to the robot in front of it. The virtual force of the avoiding behavior will be enhanced when the robot moves close to the other one. Assume the current coordinate of the robot is and the current coordinate of the robot is , then the vector of the behavior of avoiding robot is The control parameters of the behavior are where is the distance between the robot and the robot in front of it, and are adjustable parameters, is the critical distance between these two robots, and is the radius of the robot (as shown in Figure 3(b)).

2.2.5. Behavior of Keeping Formation

In order to keep a desired formation while moving, each robot should maintain a certain angle and distance to other robots. As shown in Figure 2(e), the robots and are moving forward side by side. maintains its relative position in the formation by referencing to . is the angle between formation’s direction and the line of and . is the distance between and . The ideal location of in the formation is determined by that of , the moving direction of the formation, and . Assume the current coordinate of is and is the moving direction of the formation. Then the ideal coordinate of is When the location of is not the same as the ideal coordinate, that is, , the behavior of keeping formation is activated and we have The control parameter of the formation keeping behavior is where is the distance to the ideal location and is an adjustable parameter.

3. Classification-Based Searching for Initial Formation Control

Initial formation is one of the most important tasks for various kinds of formation control. In this section, a classification-based target searching algorithm [30] is presented for effective initial formation control of the swarm robot systems.

3.1. Target Searching Method

Generally, there is a main control unit to implement the computing tasks of initial formation for the swarm robot system. Assume there are robots in the formation, denoted as , and their target positions are denoted as , respectively. is the set of robots that have not got its target position. is the set of target positions that have not been assigned to any robot. The priority of the robots is denoted as PRI. The main steps of the target searching method [31] are shown as in Algorithm 1.

(1) Initialize , ,
  set , which represents the priority and when ,
  the priority is highest.
(2) repeat (for each robot in the formation)
(3)   Search the target position nearest to and
  denote the distance as . If there are several with the
  same value, the target position will be chosen randomly.
(4)    Set , . Assume that is
  the distance between and . Then is
  the target position of with the priority of PRI.
(5)   Set .
(6) until   ,

The main idea of the target search algorithm is that each robot chooses its target position as near as possible. If two or more robots choose the same target position, the farthest robot will get the highest priority. When two or more robots have the same distance with the same target position, the robot will get the highest priority randomly. The algorithm can reduce the possibility of the collision between the robots. An example with 4 robots is shown in Figure 6.

However, when the number of the robots tends to be hundreds, it will expose some shortcomings by using the standard target search algorithm. If all the robots are far away from the target formation, most of the robots will always share the same target position in the searching process. It means that most of the robots have to keep searching for the new nearest target positions. In addition, the algorithm distributes only one robot each time and has to compare all the remaining robots to find out the referred one. These defects reduce the efficiency of the algorithm in large-scale systems. Therefore we provide an improved method (classification-based target searching algorithm), which is more effective for swarm robots.

3.2. Classification-Based Target Searching Algorithm

Assume that each robot moves in a two-dimensional workspace without static barriers. The position of each robot is denoted as . To avoid high computation complexity, we divide the workspace into square cells. Let denote the acreage of each cell. should be greater than or equal to 25 times of a single robot’s acreage so that the robots in a cell will not be too dense. has positive relationship with the acreage of the whole workspace and has negative relationship with the number of robots. Each cell is signed as denoting that the cell is in the th column and th row. Then we define the targets area as all the cells containing target positions. Figure 7(a) shows an example with 100 robots, where dots represent robots and the x represents a target position. The workspace is divided into cells. The shape of required formation is square in the center of the 2D space.

As shown in Figure 7(b), we have six typical types of cells, each of which represents different kinds of quantity relationships between the robots and the target positions in a cell. Our approach is to provide the robots in different cell types with different assignment priorities. The robots in type have no target position in their own cells. They are farther from the required formation than the robots in other types. So they have the highest assignment priority to move. The number of robots is more than that of target positions in type , so the excess robots in type will not be assigned to the target positions in their own cells. They get the second priority level. When types and have all been settled, only type cells contain robots. The remaining robots will go to the target positions in their own cells. According to the above rules, it is clear that if all the cells of types , , and are completely processed, the cells of types , , and will be resolved or will disappear. Therefore, we can classify the robots into only three categories (i.e., types , , and ), which can greatly decrease the computation complexity.

For the initial formation of robots, let denote the robots and let denote the target positions. The workspace is divided into square cells. denotes the cell in column and row . is the number of the robots assigned to and is the set of the robots assigned to . The distance between the robot and a cell is defined as the distance between the robot and the center of the cell. is the set of the robots in type . is the set of the robots which are excess in the cells in type . is the set of the robots in type . At first, all robots in have not got their target positions yet. The classification-based search algorithm is summarized as in Algorithm 2.

  Initialize the robots , the target positions
   , the cells , ( ).
   .
(1) repeat (for each robot in the formation)
   repeat (for each robot in the cells of type )
(2)    Search the robots in the cells of type and put them into .
   Use the target search algorithm to assign
  to the cells with . Assume that is assigned to
   . Put into . .
  Then continue to assign next .
(3)   until   .
   repeat (for each robot in the cells of type )
(4)    Search the cells in type , and put one of the robots
  in a cell of type into .
     Use the target search algorithm to assign
  to other cells with . Assume that is assigned to .
  Put into .
  Then continue to assign next .
(5)   until   .
  until   .
(6)    Put that has not be assigned in into .
  Use the target search algorithm to assign to the targets in .

If there is more than one cell or target position to a robot, this robot can choose any of them to be its cell or target position randomly.

3.3. Experimental Results

In order to verify the reliability of the classification-based target searching algorithm, which can effectively reduce the complexity of the algorithm, a number of simulation experiments are carried out. For the initial formation of a swarm robot system consisting of robots, the complexity of calculating the distance between the robot and the target position is and the complexity of comparison time of the distance between robots and the target positions is Therefore, the time complexity is . The time complexity reduces to if the robot has memory function, which is implemented in algorithm. As for classification-based target searching algorithm, the time complexity remains . However, the coefficient of the time complexity drops significantly according to the experimental results. Several groups of simulated experiments are demonstrated to show the performance of the proposed classification-based searching method regarding the computation complexity. The reliability of this algorithm is shown by whether the swarm robot system can quickly form a target formation without collision. All the movement of each robot is accomplished through the behavior-based control method and the control parameters of the robot behaviors are shown in Table 2.

3.3.1. Performance Comparison of Systems with Different Numbers of Robots

As shown in Figure 8, the robots and their target positions are distributed randomly. They are matched with target searching method and classification-based target searching algorithm, respectively, which is performed 10 times in each experiment. This map includes cells, the cell size is and each cell contains about 1.56 target positions averagely. For this group of experiments, the number of robots is set at 20, 100, and 200, respectively.

As shown in Table 3, is the number of robots, is the density of robots in the map, sd1 is the distance calculation time of the target search method, and sd2 is the distance calculation time of the classification-based target searching algorithm. sm1 is distance comparison time of the target search method and sm2 is the distance comparison time of the classification-based target searching algorithm. These results show that the classification-based target searching algorithm is superior to the standard target searching algorithm regarding the computation complexity, especially for large scale swarm robot systems.

3.3.2. Time Complexity Comparison in Different Formation Transformation Tasks

As shown in Figure 9, the robots are distributed on the map randomly and the target formation is a square. The map includes cells and the cell size is , each cell contains about 6.25 target point averagely. As for another case study shown in Figure 10, the number of the robots is 121, the initial formation shape is a square in the lower left of the map, while the target formation is a circle in top right. This map includes cells, the cell size is and each cell contains about 7.56 target point averagely. It is clear that both the target searching method and the classification-based target search method work well for the initial formation problem, but regarding the computation complexity the classification-based searching method performances much better. More comparison details are listed in Table 4.

4. Formation Control with Obstacle-Avoidance

In this section, we focus on the other important and challenging task of navigation in an unknown environment while keeping a desired formation. First, the proposed behavior-based method is applied for the navigation control without obstacle-avoidance, where the swarm robots (after initial formation) move to a desired target position in group while maintaining this formation. Then this method is applied to the navigation control problem with obstacle-avoidance. Several groups of simulated experiments are carried out to demonstrate the performance of the proposed method.

4.1. Navigation without Obstacle-Avoidance

As shown in Figure 11(a), a basic model of a square formation contains 16 robots and the angle is the orientation of the formation (as marked with an arrow).

The problem of navigation without obstacle-avoidance is described in Figure 11(b). The initial location of the swarm robot system is on the lower left corner with the orientation and the target position is on the right corner with the orientation . The objective is to move the swarm robot system to the target position with while maintaining the desired formation.

An example of formation control while navigating without obstacle-avoidance using the simple centralized approach is shown in Figure 12, where the whole task is divided into two subtasks named straight movement and rotation, and the sequence of these two subtasks is adjustable. For example, firstly, the formation rotates with an angle to make and then move straight (Figure 12(a)). Or the formation adjusts the angle to face the target point at first and then move straight, rotates with an angle to make (Figure 12(b)). This centralized control method is suitable to the task with strong centrality (e.g., the task of collective transportation). However, this method is not applicable to the complex environments or distributed tasks and its performance is not good regarding the cost of general movement. In order to complete the task of formation control in distributed and complex environments for swarm robots, the behavior-based control method of formation control is applied. The robot has the ability of formation-maintaining, obstacle-avoiding, and wall-following. The behavior vector for each robot is given by

With the parameter settings shown as in Table 5, the performance for the problem of formation control of 16 robots without obstacle-avoidance is shown in Figure 13. It is clear that the rotation task is accomplished while moving toward the target position. Thus, the formation will be slightly deformed in the process of rotation, but the whole system still maintains the basic shape in general.

To evaluate the performances regarding formation-keeping and movement smoothness, we define the ratio of deformation for robot as where is the distance between robot and its ideal location in the formation. is the fixed distance which should be maintained between robot and its reference robot . The maximum ratio of deformation is

In order to maintain the basic formation, must be less than 1, which is much related with the control parameter for the behavior of keeping formation. The larger is the greater the intensity of the formation-keeping behavior will be. But larger may decrease the smoothness of the movement trajectory. Figure 14 shows a group of simulated experiments with different and more details are listed in Table 6. It is clear that, to maintain a good performance of formation control while navigating without obstacle-avoidance, the value of is acceptable.

Another group of experimental results for the formation control of 100 robots in a square shape is shown as in Figure 15. The initial and target orientation are and . We set and the results show that this swarm robot system reaches the target location in the desired shape very successfully.

4.2. Navigation with Obstacle-Avoidance

For the simple environments with a few distributed obstacles as shown in Figure 16, the behavior-based formation control method does not need to adopt the behavior of wall-following. The behavior vector for every single robot is

When any obstacles are detected, the behavior of avoiding obstacles will be triggered. To ensure the success of avoiding obstacles, the behavior of formation-keeping will be weakened when there is any obstacle detected. Only after leaving the obstacle region, the desired shape of formation will be recovered. The control parameters of formation-keeping are modified as

Figures 17 and 18 show the performance of formation control while avoiding obstacles, where a single obstacle is considered in Figure 18. The control parameters of the behavior-based method in situation of obstacles are listed in Table 7. Both of these two groups of experiments show the success of the proposed method for formation control while navigating with simple obstacle-avoidance.

4.3. Navigation in Complex Environment with Obstacle-Avoidance

For more complex environments where there are large obstacles or even local minima (e.g., as shown in Figure 19), it is difficult to avoid the large obstacles by only using the behavior-based method and a communication mechanism will be necessary to help the swarm robot system avoid the large obstacles as an entity. The basic idea can be described as follows: according to the limited information about the obstacles detected by each robot, we design an appropriate information integration and decision-making mechanism to enable the unit to determine the existence of large obstacles and bypass the obstacles under the guidance of local sensing information.

The local range sensing information is modeled as shown in Figure 1(b) with . For example, if any obstacle is detected in the area, we denote , otherwise . Hence if more than robots in the front line of the formation detect obstacles in front of them (i.e., ), it is considered that the whole formation encounters a large obstacle or clustered multiobstacle. is an adjustable parameter related to the formation size and the number of robots. In this paper, when the number of robots is 16, the diameter of the robot is meter and the spacing between robots is 3 meters, we set . Then we have the method of avoiding large obstacles as follows. If there are more than robots in the front line that encounter obstacles (whose sensing information ), the overall obstacle-avoiding will be triggered and an integrated moving direction will be given; the whole formation takes this integrated movement until the sensor information is for all robots in the front line; the whole formation goes forward until no robot on both sides detects any obstacle (i.e., ). Then the behavior-based formation control mechanism will be recovered.

Two groups of experimental results are shown in Figures 20 and 21, respectively. In both of these two complex environments, the swarm robot system can avoid large obstacles successfully. In particular, as shown in Figure 21, after detecting the large obstacles, the whole system finds that the obstacle does not block in front of the formation completely, so it decides to move left to avoid the large obstacle. After bypassing the large obstacle, the swarm robot system turns to the basic behavior-based formation control mechanism and continues to navigate with obstacle-avoiding.

5. Conclusions

In this paper, a behavior-based formation control approach for swarm robots is proposed by extending the behavior-based navigation method for single robots. Several behaviors are defined and studied for two typical formation control problems, that is, initial formation and formation control while navigating with obstacle-avoidance. For the initial formation problem, a classification-based searching method for any arbitrary shape of formation generating is presented. For the navigation problem, different situations are comprehensively studied, which includes navigation without obstacle-avoidance, navigation with obstacle-avoidance, and navigation in complex environments. All the simulated experimental results demonstrate the success of the proposed behavior-based formation control approach for swarm robots. Our future work will focus on robust control of swarm robots with uncertainties [32] and more practical issues regarding real swarm robotic systems.

Conflict of Interests

The authors declare that there is no conflict of interests regarding the publication of this paper.

Acknowledgment

This work was supported by the Natural Science Foundation of China under Grant no. 61273327.