Dynamic optimization formation transformation method for multi-robot formation
Through the virtual leader-leader-follower mode and multi-line lidar sensing technology, the formation of multi-robot formations is dynamically adjusted, which solves the difficulty of formation transformation caused by channel changes and obstacles, and improves mission efficiency and safety. , which provides performance evaluation indicators suitable for multi-agent systems.
Patent Information
- Application Number
- CN202210723944.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-24
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2042-06-24
AI Technical Summary
When a multi-robot formation performs a task, the width of the channel becomes smaller due to channel changes and obstacles, making it difficult to achieve reasonable and rapid formation changes, which increases energy loss and formation adjustment time.
Using the virtual leader-leader-follower mode, the pilot robot tracks the position of the virtual pilot robot in real time, detects environmental information, calculates the formation expansion and contraction factors, outputs formation transformation instructions, and dynamically adjusts the formation to adapt to changes in channel width, and Sense road boundaries and obstacles through multi-line lidar, and set up expansion layers to maintain a safe distance.
It enables multi-robot formations to quickly change formations under environmental constraints, reduces energy loss and formation adjustment time, improves the efficiency of collaborative tasks, and provides comprehensive performance evaluation indicators suitable for multi-agent systems.
Smart Images

Figure CN115032999B
Abstract
Description
Technical Field
[0001] The invention belongs to the field of multi-robot time-varying formation control, and in particular relates to a dynamic optimization formation transformation method for multi-robot formations. Background Art
[0002] Multi-robot formations are increasingly being used in various industries. For example, in the field of consumer robots, in order to make up for the lack of capabilities of traditional firefighting robots and improve the ability to perform firefighting tasks and rescue efficiency, multiple firefighting robots with different functions developed in cooperation are used to work together to improve the automatic and coordinated rescue capabilities of accidents in the chemical industry.
[0003] Since group intelligent firefighting robots will inevitably encounter channel changes when performing formation tasks, large static or dynamic obstacles will appear on the channel, resulting in a narrow channel width. In order to achieve the formation of the formation reasonably and quickly according to environmental constraints, and to minimize energy loss and formation adjustment time. Therefore, a dynamic optimization formation transformation method for multi-firefighting robot formations is urgently needed to improve the efficiency of collaborative task completion. Summary of the invention
[0004] In view of the above analysis, the present invention aims to disclose a dynamic optimization formation transformation method for multi-robot formations, which is used to enable the formation to reasonably and quickly realize formation transformation according to environmental constraints and reduce energy loss and formation adjustment time.
[0005] The present invention discloses a dynamic optimization formation transformation method for a multi-robot formation, comprising:
[0006] Establish the geometry of multi-robot formations in a virtual leader-leader-follower mode;
[0007] Designate one robot in the formation as the leading robot and the others as following robots, and set a virtual leading robot to follow the formation on the reference trajectory point;
[0008] Perform path planning to obtain a collision-free global path from the current position of the pilot robot to the target position;
[0009] Taking the global path as a reference trajectory, the robot formation performs a formation following task under the guidance of the pilot robot;
[0010] In the formation following task, the pilot robot tracks the position of the virtual pilot robot in real time, detects and extracts environmental information including road boundaries and obstacles, calculates the formation expansion factor, outputs formation change instructions, and performs formation change control;
[0011] According to the formation change instruction, the multi-robot formation performs dynamic formation adjustment; or performs path planning update to perform the formation following task with a new global path; or ends the current formation following task.
[0012] Furthermore, the queue configuration of the formation is determined by setting the distance and azimuth between each robot and the virtual pilot robot.
[0013] Furthermore, the pilot robot tracks the position of the virtual pilot robot in real time, and perceives environmental information in real time through the multi-line laser radar it carries, extracts the boundaries of the road and calculates the width of the roads on both sides, detects and identifies obstacle information; and uses some of the detected obstacle boundary points as candidate boundary points for further judgment, and repairs the missing road boundary points to obtain boundary point information.
[0014] Furthermore, by dilating the contours of the road boundary and the obstacle, an expansion layer is set so that the distance between the robots in the formation and the road boundary and the obstacle is greater than the width of the expansion layer.
[0015] Furthermore, the pilot robot uses the ratio between the measured minimum passage width and the expected formation width of the formation in the initial state as the expansion and contraction factor of the formation.
[0016] Furthermore, the pilot robot outputs a formation change instruction according to the calculated expansion and contraction factor, and dynamically adjusts the formation to adapt to the changes in the width of different channels;
[0017] Among them, the formation change instructions include:
[0018] The formation zero change command enables the formation to maintain the original formation and continue to move forward;
[0019] The formation isomorphism transformation instruction makes the formation shrink and pass through the channel in front;
[0020] The heterogeneous formation transformation command enables the formation to transform into a new formation and pass through the front channel;
[0021] Abnormal formation status command, the formation cannot pass through the front channel, waiting for the next command.
[0022] Further, when the scaling factor is greater than 1, a formation zero transformation instruction is output;
[0023] When the scaling factor is within the value range of the first threshold and 1; outputting a formation isomorphism transformation instruction;
[0024] When the scaling factor is within the value range of the second threshold and the first threshold; outputting a formation heterogeneous transformation instruction;
[0025] When the scaling factor is not greater than the second threshold, outputting a formation abnormal state instruction;
[0026] Among them, the first threshold Second threshold D 0 is the desired formation width; b is the width of the robot.
[0027] Furthermore, in the control of formation change, a formation change performance evaluation function including energy loss rate, formation adjustment time ratio and formation distortion was established.
[0028] Furthermore, the energy loss rate is the ratio of the difference between the actual energy consumption and the theoretical energy consumption to the theoretical energy consumption;
[0029] The formation adjustment time ratio is the ratio of the total formation adjustment time to the total driving time;
[0030] The formation distortion is the ratio of the distortion between the current formation and the expected formation to the current formation;
[0031] The total formation adjustment time is the sum of the formation adjustment times required for multiple changes when the formation passes through channels of different widths.
[0032] Furthermore, an environmental fitness function f(t) is established as a comprehensive performance evaluation index to measure the quality of formation change strategy;
[0033] f(t)=λ e f e (t)+λ r f r (t)+λ s f s (t); where f e (t) is the energy loss rate; f r (t) is the formation adjustment time ratio; f s (t) is the formation distortion; λ e >0,λ r >0,λ s >0 are the weight factors of energy loss rate, formation adjustment time ratio and formation distortion, and satisfy λ e +λ r +λ s =1.
[0034] The present invention can achieve at least one of the following beneficial effects:
[0035] The dynamic optimization formation transformation method for multi-robot formations of the present invention establishes a formation expansion factor, and also considers abnormal state conditions on the basis of conventional formation transformation conditions, that is, when the width of the current channel does not meet the situation when the formation individuals pass through, it is necessary to wait for the next instruction; a comprehensive performance evaluation index function for measuring the advantages and disadvantages of the formation transformation strategy is proposed, and the index is independent of the system's dynamic model, and its expression form is simple and clear, which is not only applicable to the time-varying formation transformation of multiple firefighting robots but also applicable to other multi-agent systems.
[0036] The present invention takes into account the possibility that the road boundary and obstacles parked on the roadside may collide with the robot based on practical applications. By adding expansion processing to the contours of the road boundary and obstacles, the robot can maintain a safe distance from the road boundary and obstacles as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The drawings are only for the purpose of illustrating particular embodiments and are not to be considered limiting of the present invention. Like reference symbols denote like components throughout the drawings.
[0038] Figure 1 It is a flow chart of a dynamic optimization formation transformation method for multi-robot formation in an embodiment of the present invention;
[0039] Figure 2 is a schematic diagram of a geometric structure of a virtual leader-leader-follower formation in an embodiment of the present invention;
[0040] Figure 3 is a schematic diagram of a process of executing a formation following task in an embodiment of the present invention;
[0041] Figure 4 A schematic diagram of a passage that a multi-robot formation may encounter during walking in an embodiment of the present invention;
[0042] Figure 5 It is a flow chart of a dynamic optimization formation transformation method for multi-robot formation in an embodiment of the present invention;
[0043] FIG6( a ) is a formation motion trajectory in an embodiment of the present invention;
[0044] FIG6( b ) shows the range and azimuth tracking errors in an embodiment of the present invention;
[0045] FIG6( c ) is a diagram showing the linear velocity and angular velocity output by the controller in an embodiment of the present invention;
[0046] FIG7 is a simulation experiment result of the multi-robot dynamic optimization formation transformation strategy proposed by the present invention in an embodiment of the present invention, wherein FIG7(a) is the formation motion trajectory in an embodiment of the present invention; FIG7(b) is the distance and azimuth tracking errors in an embodiment of the present invention; FIG7(c) is the linear velocity and angular velocity output by the controller in an embodiment of the present invention;
[0047] FIG8 is a result obtained by applying the multi-robot dynamic optimization formation transformation strategy proposed by the present invention to a physical experiment of formation zero transformation in an embodiment of the present invention; wherein FIG8(a) is a motion picture of the multi-firefighting robot formation zero transformation in an embodiment of the present invention; FIG8(b) is a motion trajectory of the multi-firefighting robot formation zero transformation in an embodiment of the present invention; FIG8(c) is a distance and azimuth tracking error of the multi-firefighting robot formation zero transformation in an embodiment of the present invention; FIG8(d) is a controller output linear velocity and angular velocity of the multi-firefighting robot formation zero transformation in an embodiment of the present invention;
[0048] FIG9 is a result obtained by applying the multi-robot dynamic optimization formation transformation strategy proposed by the present invention to a physical experiment of formation isomorphic transformation in an embodiment of the present invention; wherein FIG9(a) is a motion picture of the formation isomorphic transformation of multiple firefighting robots in an embodiment of the present invention; FIG9(b) is a motion trajectory of the formation isomorphic transformation of multiple firefighting robots in an embodiment of the present invention; FIG9(c) is a distance and azimuth tracking error of the formation isomorphic transformation of multiple firefighting robots in an embodiment of the present invention; FIG9(d) is a controller output linear velocity and angular velocity of the formation isomorphic transformation of multiple firefighting robots in an embodiment of the present invention;
[0049] Figure 10 is the result of the actual experiment of applying the multi-robot dynamic optimization formation transformation strategy proposed in the present invention to the formation heterogeneous transformation in the embodiment of the present invention; wherein, Figure 10(a) is the motion picture of the multi-firefighting robot formation heterogeneous transformation in the embodiment of the present invention; Figure 10(b) is the motion trajectory of the multi-firefighting robot formation heterogeneous transformation in the embodiment of the present invention; Figure 10(c) is the distance and azimuth tracking error of the multi-firefighting robot formation heterogeneous transformation in the embodiment of the present invention; Figure 10(d) is the controller output linear velocity and angular velocity of the multi-firefighting robot formation heterogeneous transformation in the embodiment of the present invention. DETAILED DESCRIPTION
[0050] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used to illustrate the principles of the present invention together with the embodiments of the present invention.
[0051] One embodiment of the present invention discloses a dynamic optimization formation transformation method for a multi-robot formation. Figure 1 As shown, including:
[0052] Step S101, establishing a multi-robot formation geometry structure of a virtual navigator-navigator-follower mode; designating one robot in the formation as a navigator robot and the rest as follower robots, and setting a virtual navigator robot to follow the formation on a reference trajectory point;
[0053] Step S102: performing path planning to obtain a collision-free global path from the current position of the pilot robot to the target position;
[0054] Step S103: using the global path as a reference trajectory, the robot formation performs a formation following task under the guidance of the pilot robot;
[0055] In the formation following task, the leading robot detects and extracts environmental information including road boundaries and obstacles, calculates the formation expansion factor, and outputs formation change instructions;
[0056] According to the formation change instruction, the multi-robot formation performs dynamic formation adjustment; or performs path planning update to perform the formation following task with a new global path; or ends the current formation following task.
[0057] Specifically, in this embodiment, the multi-robots may be multiple firefighting robots or other unmanned systems.
[0058] In step S101, a multi-robot formation geometry structure of a virtual navigator-navigator-follower mode is established.
[0059] like Figure 2 As shown, a virtual pilot robot R is set 0 , the virtual pilot robot moves with the team on the formation reference trajectory point, and one of the n (n≥2) firefighting robots is designated as the pilot robot R 1 , the other robots are follower robots R 2 , ..., R n .
[0060] Due to the excessive dependence of followers on the leader in the traditional leader-follower model, this chain structure is prone to problems such as accumulation of tracking errors and failure of the leader, which may lead to the collapse of the entire system.
[0061] In the embodiment of the present invention, a virtual leader-leader-follower formation structure is adopted, and the leader robot R 1 Real-time tracking of the virtual pilot robot R 0 The position of the pilot robot and the virtual pilot robot is satisfied, that is, the expected distance and azimuth between the pilot robot and the virtual pilot robot converge to zero, that is, In addition, the traditional pilot-follower mode maintains the desired distance between each follower robot and the pilot robot. and azimuth Switch to the virtual pilot robot R 0 The advantage of this formation structure design is that the pilot robot R 1 It is responsible for the planning and coordination of the entire system without affecting the motion status of other robots.
[0062] definition θ i ∈-π,π) and They are respectively the position of robot i in the navigation coordinate system ∑{O n , X n ,Y n , Z n} position, yaw angle and velocity. θ 0 ∈-π,π) and is the position, yaw angle and velocity of the virtual pilot robot in the navigation coordinate system.
[0063] Define the distance between robot i and the virtual navigator as l i ≥0, the azimuth is The calculation formula is:
[0064]
[0065] in,
[0066]
[0067] According to Robot R i With the virtual pilot robot R 0 The relative position of , use the smooth inverse tangent function atan2(y, x) to get a unique value in the range [-π, π), and then use the g(atan2(y, x)) function to convert atan2(y, x) to the range [0, 2π).
[0068] In step S102, path planning is performed to obtain a collision-free global path from the current position of the pilot robot to the target position;
[0069] According to the global map established by the fire-fighting robot or other unmanned systems, a path planner is used to plan a collision-free global path from the current position of the pilot robot to the target position near the fire source. This planned path is used as a reference path for the formation to perform the following task, and then it is processed into a reference trajectory with time domain information.
[0070] In step S103, the following sub-steps are included:
[0071] S301, determining an initial configuration of the formation;
[0072] The queue configuration of the formation is determined by setting the distance and azimuth angle between each robot and the virtual leader robot.
[0073] According to the actual application, the initial formation of the formation can be set to triangle, column, straight line, etc., according to the formation, by setting each robot R i (i≥1) and the virtual pilot robot R 0 The initial expected distance between and the desired azimuth To determine the initial configuration of the formation.
[0074] S302, according to the planned formation reference trajectory, the firefighting robot formation starts to perform the following task;
[0075] The group of firefighting robots quickly form the desired initial configuration through the formation controller, and follow the reference trajectory together to perform the formation following task. The design method of the formation controller can be referred to the reference "Cooperative Target Enclosing and Tracking Control with Obstacles Avoidance for Multiple Nonholonomic Mobile Robots".
[0076] S303, the pilot robot uses its own environmental perception sensors (multi-line laser radar, visual sensors, etc.) to detect and extract road boundary information and obstacle information, etc.;
[0077] Taking three firefighting robots as an example, we analyze the channel diagrams that a multi-robot formation may encounter during its walking process, such as Figure 4 shown.
[0078] The pilot robot tracks the position of the virtual pilot robot in real time, and uses its own multi-line laser radar to perceive the environment in real time, extract the road boundary, calculate the road width on both sides, and detect and identify obstacle information. Considering the actual road scene, due to other large obstacles such as vehicles parked at the road boundary, part of the rays emitted by the laser radar are blocked and the complete road boundary points cannot be obtained. Based on this, the detected obstacle boundary points can be used as candidate boundary points, and further judgment is made to "patch" the missing road boundary points, such as Figure 4 shown.
[0079] Figure 4It is considered that the road boundary and obstacles parked on the roadside may collide with the robot. By expanding the contours of the road boundary and obstacles and setting an expansion layer, the distance between the robots in the formation and the road boundary and obstacles is greater than the width of the expansion layer, so that the robots can maintain a safe distance from the road boundary and obstacles as much as possible.
[0080] Specifically, the width of the expansion layer is half the width of the robot body.
[0081] according to Figure 4 , the pilot robot uses the laser radar to detect the positions of the boundary points on both sides of the road:
[0082]
[0083] in, and Respectively The position, distance and angle obtained by using an effective laser beam to detect the road boundary.
[0084] Considering that the laser radar may be limited by the installation position, and that during the formation, only the width of the road ahead and the boundary points need to be extracted without processing the rear data, it is only necessary to take the laser radar within a specific angle range of α∈[α min ,α max ] valid data, which can not only eliminate some abnormal data and reduce the amount of calculation, but also leave enough time for formation adjustment.
[0085] Define the pilot robot and the nearest boundary point The distance is Define the laser radar scanning angle corresponding to ρ as α, then β=α-π2+θ 1 , and then get To the leading robot forward speed v 1 The vertical distance is:
[0086] L = ρ|sinβ|;
[0087] Definition D min =2L is the minimum passage width of the robot.
[0088] S304: The pilot robot measures the minimum passage width D min and the expected formation width D of the formation in the initial state 0 The ratio between them gives the expansion factor ξ of the formation;
[0089]
[0090] in,
[0091]
[0092] In the formula, and The initial time t 0 The expected distance and expected azimuth between the follower robot 1 and the virtual pilot robot.
[0093] S305, the pilot robot outputs a formation change instruction according to the calculated expansion and contraction factor, and dynamically adjusts the formation to adapt to the changes in different channel widths;
[0094] Specifically, four formation transformation mode instructions σ∈{0, 1, 2, -1} are defined, and the pilot robot dynamically adjusts the formation according to the calculated ξ to adapt to the changes in different channel widths.
[0095] Among them, σ=0 is the formation zero change instruction, and the formation only needs to maintain the original formation and continue to move forward;
[0096] σ=1 is the formation isomorphism transformation instruction. The formation can pass through the channel ahead by appropriately shrinking the formation without changing to a new formation.
[0097] σ = 2 is the formation heterogeneous transformation instruction, the formation must be transformed into a new formation to pass through the front channel;
[0098] σ=-1 is an abnormal formation status instruction. The formation cannot pass through the front channel and waits for the next instruction.
[0099] Specifically, the scaling factor ξ and the formation transformation instruction σ satisfy the following relationship:
[0100] When the scaling factor is greater than 1, the formation zero transformation instruction is output;
[0101] When the scaling factor is within the value range of the first threshold and 1; outputting a formation isomorphism transformation instruction;
[0102] When the scaling factor is within the value range of the second threshold and the first threshold; outputting a formation heterogeneous transformation instruction;
[0103] When the scaling factor is not greater than the second threshold, outputting a formation abnormal state instruction;
[0104] Among them, the first threshold Second threshold D 0 is the desired formation width; b is the width of the robot.
[0105] The formula is as follows:
[0106]
[0107] in,
[0108] The pilot robot issues the following four instructions based on the calculated ξ to dynamically adjust the formation to adapt to the changes in channel width:
[0109] σ=0 (zero formation change): indicates that the channel ahead is wide enough, and the multi-robot formation only needs to maintain the original formation and continue to move forward. At this time, the formation width is set to D=D 0 .
[0110] σ=1 (formation isomorphism transformation): indicates that if the multi-robot formation continues to move forward in the original formation, it may collide with the road boundary. It only needs to shrink the formation appropriately without changing the new formation to pass through the front channel. At this time, the formation width is set to D=D 0 ξ-b.
[0111] σ=2 (heterogeneous formation transformation): indicates that the width of the road ahead only allows a single robot to pass through, and the formation must be transformed into a columnar formation to pass through. At this time, the formation width is set to D=b.
[0112] σ=-1 (the formation cannot pass): Wait for the master control platform to issue instructions on whether to end the current formation following mission or execute a new formation path planning instruction.
[0113] It can be concluded that the expected distance and expected azimuth between the pilot robot and the virtual pilot robot are as follows:
[0114]
[0115] in, Indicates an abnormal value. The leading robot exits the current formation following task and waits for the next instruction.
[0116] The expected distance and azimuth between each follower robot and the virtual pilot robot are as follows:
[0117]
[0118] in,
[0119]
[0120] Where, i∈{2,3}; Indicates an abnormal value. The following robot exits the current formation following task and waits for the next instruction.
[0121] In order to further evaluate the performance of the time-varying formation transformation method, in this embodiment, in the control of the formation transformation, a formation transformation performance evaluation function including energy loss rate, formation adjustment time ratio, and formation distortion is established.
[0122] Specifically, the evaluation index function is designed as follows:
[0123] (1) Energy loss rate
[0124] The energy loss rate is the ratio of the difference between actual energy consumption and theoretical energy consumption to the theoretical energy consumption;
[0125] At present, most robots are powered by onboard batteries, and the power consumption will play a decisive role in the duration of the robot's mission. However, during the formation change process, the lower energy consumption can provide a certain guarantee for the robot to achieve longer continuous work, which has important practical significance for the execution of actual multi-robot formation tasks. The energy function of robot i can be modeled as:
[0126]
[0127] In the formula, E i (t) is the energy of robot i at time t; z i : is a nonlinear mapping. i For robot R i control input.
[0128] Since energy loss can be essentially reflected by the length of the driving path, assuming that the robot consumes zero energy when it is stationary, the robot R i The energy at the initial moment is δ i is the standard energy consumption rate per unit length traveled. The energy function can be described as:
[0129]
[0130] In the formula, v i For robot R i speed.
[0131] Then, robot R i At time [t 0 ,t] the total energy consumption is:
[0132]
[0133] Then, the formation at time [t 0 ,t] The total energy loss rate function of the formation transformation within is set as:
[0134]
[0135] In the formula, ΔE r (t) and ΔE t (t) are the formations at time [t 0 ,t] within the actual energy consumption and theoretical energy consumption.
[0136] It can be seen from this that f e The smaller the (t) value is, the less energy consumption is and the longer the robot can work continuously.
[0137] (2) Formation adjustment time ratio
[0138] The formation adjustment time ratio is the ratio of the total formation adjustment time to the total driving time;
[0139] The total formation adjustment time is the sum of the formation adjustment times required for multiple changes when the formation passes through channels of different widths.
[0140] When a formation receives a formation change command, it takes a certain amount of adjustment time to change from the current formation to the target formation. In order to make the adjustment time as short as possible, the formation change adjustment time efficiency is also one of the factors affecting the overall efficiency of the formation in executing tasks. The formation adjustment time ratio is used as an important indicator to evaluate formation change. On the one hand, it can be used to describe the degree of dispersion of the formation structure; on the other hand, it reflects the response speed of the formation change. When the formation passes through channels of different widths, it needs to change the formation multiple times. The ratio of the total formation adjustment time to the total driving time reflects the convergence speed of the formation from the current formation to the target formation. Then, the formation is in time [t 0 , t] The formation adjustment time ratio function is set to:
[0141]
[0142] In the formula, is the number of transformations; For robot R i At time [t 0 , t] the total number of transformations; t j,s and t j,e are the starting time and ending time when the robot transforms from the current formation to the target formation during the jth transformation.
[0143] It can be seen from this that f r The smaller the (t) value is, the shorter the time it takes to change the formation, and the higher the change efficiency is.
[0144] (3) Formation distortion
[0145] The formation distortion is the ratio of the distortion between the current formation and the expected formation to the current formation.
[0146] During the process of moving, the multi-robot system needs to change its formation to adapt to the change of environment due to the change of channel width. For the maximum optimization formation, the deformation of the formation should be as small as possible. The formation distortion is used as one of the functions to evaluate the performance of formation transformation to describe the degree of distortion between the current formation and the expected formation. The function is set as:
[0147]
[0148] It can be seen from this that f s The smaller the (t) value is, the smaller the formation distortion is and the closer it is to the expected formation.
[0149] Since different multi-robot systems have different requirements for each performance function, for example, for a multi-firefighting robot system, the weights of energy loss and formation adjustment time are higher than formation distortion. Therefore, we set a weight factor for each performance function to distinguish the importance of each performance indicator.
[0150] Then, the environmental fitness function f(t) is established as a comprehensive performance evaluation index to measure the advantages and disadvantages of the formation change strategy;
[0151] f(t)=λ e f e (t)+λ r f r (t)+λ s f s (t)
[0152] Among them, f e (t) is the energy loss rate; f r (t) is the formation adjustment time ratio; f s (t) is the formation distortion; λ e >0,λ r >0,λ s >0 are the weight factors of energy loss rate, formation adjustment time ratio and formation distortion, and satisfy λ e +λ r +λ s =1.
[0153] The environmental fitness function f(t) can be used as a comprehensive performance evaluation index to measure the advantages and disadvantages of the formation change strategy. The smaller its value, the better the formation change strategy.
[0154] S306. According to the formation change instruction, the multi-robot formation performs dynamic formation adjustment; or performs path planning update to perform the formation following task with a new global path; or ends the current formation following task;
[0155] When the formation executes the command σ=0 or σ=1 or σ=2, when the last robot passes through the channel, the leading robot recalculates ξ and issues a new formation change command until the formation following task is completed; when the formation executes the command σ=-1, the control platform issues a decision on whether to continue the formation following task. If so, a new formation path is replanned and then executed according to the above process; if not, the formation following task is terminated.
[0156] More specific dynamic optimization formation transformation methods are as follows: Figure 5 shown.
[0157] This embodiment performs the following simulation experiments and analyses:
[0158] In order to verify the performance of the dynamic optimization formation transformation strategy proposed in this invention and the effectiveness of the formation transformation environment fitness function, a simulation experiment was conducted to compare the dynamic formation optimization transformation obstacle avoidance strategy of multiple mobile robots proposed in the reference "Dynamic optimization formation transformation of multiple mobile robots in an obstacle environment" (referred to as reference [1]). The experimental results are as follows: Figure 5 As shown in Figure 6. The initial expected formation of the robots is a triangle, and the initial position of each robot can be set arbitrarily. 0 The initial pose is q 0 (0) = [0,0,0] T , whose reference trajectory is set to: x r (t) = 0.3t, y r (t) = 0, t ≤ 150s. Robot R i The velocity constraint is set to: v i ∈[-0.6,0.6],ω i∈[-1,1], i∈{1,2,...,n}. As shown in Figures 6 and 7, both methods can realize dynamic formation transformation of multi-robot formations according to different channel widths, and the linear velocity and angular velocity output by the controller meet the maximum velocity constraint. Compared with the dynamic formation transformation strategy proposed in reference [1], the strategy proposed in this invention has the following advantages: 1) The strategy proposed in reference [1] is based on the establishment of a formation knowledge base, that is, the parameters of each formation are fixed. The dynamic optimization formation change strategy proposed in the present invention does not rely on the formation knowledge base. The expected distance and expected azimuth angle maintained between each robot and the virtual pilot robot are not fixed values. Instead, the mathematical relationship between the formation contraction factor and the expected width of the formation is established to obtain the dynamic values of the expected distance and expected azimuth angle. This dynamic adjustment method is more suitable for practical applications. 2) The strategy proposed in the literature [1] is to trigger the formation change command only when the pilot robot begins to enter the obstacle area. This may easily cause the follower robot to fail to leave enough space to change to the expected formation and easily collide with obstacles. As shown in Figure 6 (a), when the follower robot 2 performs a formation heterogeneous change in the 10m to 15m obstacle area, it collides with the obstacle boundary. As shown in Figure 6 (a), the strategy proposed in the present invention is that the pilot robot perceives the obstacle channel area ahead in advance and issues a formation change command, so that the formation can be changed in advance to adapt to environmental constraints.
[0159] Table 1 shows the performance comparison results of the above two methods, where λ e =0.4,λ r =0.4,λ s =0.2. According to the comparison results, the performance of the dynamic optimization formation change strategy proposed in the present invention is better than that of the strategy in the literature [1]. Its comprehensive performance is improved by 8.65%, including an improvement of 4.24% in energy loss rate, 11.78% in formation adjustment time ratio, and 2.27% in formation distortion performance.
[0160] Table 1 Performance comparison between the method of the present invention and that of reference [1]
[0161]
[0162] This embodiment also carried out the following physical experiments and analyses:
[0163] In order to further verify the effectiveness and practicality of the dynamic optimization formation transformation strategy proposed in this invention, three obstacle passage areas of different widths were set up on the outdoor lane, and three intelligent firefighting robots (one reconnaissance robot and two firefighting robots) developed in cooperation were used to conduct formation zero transformation, isomorphic transformation and heterogeneous transformation experiments, and the experimental results are shown in Figures 8 to 10. In order to prevent the three firefighting robots from taking too long to adjust the formation due to excessive initial posture errors, the initial posture of the robots needs to be kept consistent with the expected initial posture as much as possible. In the experiment, the virtual pilot robot R 0 The initial pose is set to q 0 (0) = [0, 0, -π2] T , the motion trajectory is set to: x r (t) = -0.3t, y r (t) = 0. Since the actual fire-fighting robot is limited by the output capacity and performance parameters of the driver, its speed constraint is set as: v i ∈[-0.6,0.6],ω i ∈[-0.6,0.6], i∈{1,2,3}. According to the results of the three sets of physical experiments, the three firefighting robots set out in a triangle formation and tracked the desired formation formed by the virtual pilot robot in real time. The pilot robot used its own laser radar to detect the width of the obstacle channel and the position information of the boundary points in front. When the obstacle entered the distance threshold for the pilot robot to issue a formation change command, the desired formation width was obtained by calculating the formation contraction factor, and then the formation was dynamically adjusted to pass the obstacle area with optimal performance.
[0164] In summary, the solutions in the embodiments of the present invention have the following technical effects:
[0165] The dynamic optimization formation transformation strategy of the multi-robot formation proposed in the embodiment of the present invention mainly includes two parts: first, a formation expansion factor is established, and on the basis of the three conventional formation transformation states (zero transformation, isomorphic transformation and heterogeneous transformation), abnormal state conditions are also considered, that is, when the width of the current channel does not meet the situation where the formation individuals pass through, it is necessary to wait for the next step of instructions; second, a performance comprehensive evaluation index function for measuring the advantages and disadvantages of the formation transformation strategy is proposed. The index is independent of the system's dynamic model, and its expression form is simple and clear. It is not only applicable to the time-varying formation transformation of multiple firefighting robots, but also applicable to other multi-agent systems.
[0166] The embodiment of the present invention takes into account the possibility that the road boundary and obstacles parked on the roadside may collide with the robot from a practical application perspective. By adding expansion processing to the contours of the road boundary and obstacles, the robot is able to maintain a safe distance from the road boundary and obstacles as much as possible.
[0167] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.
Claims
1. A dynamic optimization formation transformation method for multi-robot formation, characterized in that: include: Establish the geometry of multi-robot formations in a virtual leader-leader-follower mode; Designate one robot in the formation as the leading robot and the others as following robots, and set a virtual leading robot to follow the formation on the reference trajectory point; A virtual pilot robot R0 is set up. The virtual pilot robot moves with the team on the formation reference trajectory point. One of the n firefighting robots is designated as the pilot robot R1, and the other robots are follower robots R2, ..., R n , n is greater than or equal to 2; Perform path planning to obtain a collision-free global path from the current position of the pilot robot to the target position; Taking the global path as a reference trajectory, the robot formation performs a formation following task under the guidance of the pilot robot; In the formation following task, the pilot robot tracks the position of the virtual pilot robot in real time, detects and extracts environmental information including road boundaries and obstacles, calculates the formation expansion factor ξ, outputs formation change instructions, and performs formation change control; The pilot robot measures the minimum passage width D min The ratio of the expected formation width D0 of the formation in the initial state is used to obtain the formation expansion factor ξ; In the formula, and are the expected distance and expected azimuth between the following robot R2 and the virtual pilot robot at the initial time t0, respectively; According to the formation change instruction, the multi-robot formation performs dynamic formation adjustment; or performs path planning update to perform the formation following task with a new global path; or ends the current formation following task; Among them, when the expansion factor ξ is greater than 1, the output formation zero transformation instruction σ=0, the formation only needs to maintain the original formation and continue to move forward, and the formation width is set to D=D0; When the expansion factor ξ is within the value range of the first threshold and 1, the formation isomorphism transformation instruction σ=1 is output, and the formation can pass through the channel ahead by appropriately shrinking the formation without changing the new formation; the formation width is set to D=D0ξ-b; b is the width of the robot; When the telescopic factor ξ is within the value range of the second threshold and the first threshold, the formation heterogeneous transformation instruction σ=2 is output, and the formation must be transformed into a new formation to pass through the front channel; the formation width is set to D=b; When the expansion factor ξ is not greater than the second threshold, the abnormal formation state instruction σ=-1 is output, and the formation cannot pass through the front channel and waits for the next instruction; Among them, the first threshold Second threshold b is the width of the robot; Under the formation change command, the expected distance and expected azimuth between the pilot robot and the virtual pilot robot are as follows: in, Indicates an abnormal value. The leading robot exits the current formation following task and waits for the next instruction. Under the formation change command, the expected distance and azimuth between each follower robot and the virtual pilot robot are as follows: in, Where, i∈{2,3}; Indicates an abnormal value. The following robot exits the current formation following task and waits for the next instruction; x i (t), y i (t) is the position coordinate of the following robot i at time t, x0(t) and x0(t) are the position coordinates of the virtual pilot robot at time t; In the control of formation change, a formation change performance evaluation function including energy loss rate, formation adjustment time ratio and formation distortion degree is established; The energy loss rate is the ratio of the difference between actual energy consumption and theoretical energy consumption to the theoretical energy consumption; The total energy loss rate function f of the formation transformation within time [t0, t] e (t) is set to: In the formula, ΔE r (t) and ΔE t (t) are the actual energy consumption and theoretical energy consumption of the formation in the time [t0, t]; v i For robot R i speed; The formation adjustment time ratio is the ratio of the total formation adjustment time to the total driving time; The formation adjustment time ratio function f within the time [t0, t] r (t) is set to: In the formula, is the number of transformations; For robot R i The total number of transformations in time [t0, t]; t j,s and t j,e are the starting time and ending time of the robot’s transformation from the current formation to the target formation at the jth transformation; The formation distortion is the ratio of the distortion between the current formation and the expected formation to the current formation; Formation distortion function f s (t) is set to: Establish the environmental fitness function f(t) as a comprehensive performance evaluation index to measure the advantages and disadvantages of the formation change strategy; f(t) = λ e f e (t)+λ r f r (t)+λ s f s (t); where f e (t) is the energy loss rate; f r (t) is the formation adjustment time ratio; f s (t) is the formation distortion; λ e >0,λ r >0,λ s >0 are the weight factors of energy loss rate, formation adjustment time ratio and formation distortion, and satisfy λ e +λ r +λ s =1.
2. The method for dynamically optimizing formation transformation according to claim 1, characterized in that: The queue configuration of the formation is determined by setting the distance and azimuth angle between each robot and the virtual leader robot.
3. The method for dynamically optimizing formation transformation according to claim 1, characterized in that: The pilot robot tracks the position of the virtual pilot robot in real time, and perceives the environmental information in real time through the multi-line laser radar it carries, extracts the boundaries of the road and calculates the width of the roads on both sides, detects and identifies obstacle information; and uses some of the detected obstacle boundary points as candidate boundary points for further judgment, and repairs the missing road boundary points to obtain boundary point information.
4. The method for dynamically optimizing formation transformation according to claim 3, characterized in that: By dilating the contours of the road boundary and obstacles, an expansion layer is set so that the distance between the robots in the formation and the road boundary and obstacles is greater than the width of the expansion layer.
Citation Information
Patent Citations
Robot preset formation control method
CN111665855A
Real-time distributed multi-robot formation control method and system
CN111813108A
Formation control method for mobile robots under consideration of external interference
CN113110495A
Road boundary detection method
CN113379776A
