Obstacle avoidance method of mobile robot based on control obstacle function and speed obstacle

By constructing a control obstacle function based on speed obstacles, the complexity and conservatism problems caused by the introduction of high-order control obstacle functions in the existing technology are solved, and rapid online obstacle avoidance control and safety assurance of mobile robots are achieved.

CN118567342APending Publication Date: 2024-08-30ZHEJIANG UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410220374.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-02-28
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

When the existing control obstacle function based on Euclidean distance design is applied to a robot controlled by acceleration, it is necessary to introduce a high-order control obstacle function, resulting in complex and conservative controller design, and it is difficult to guarantee real-time performance in multi-obstacle scenarios.

Method used

The control obstacle function is constructed based on speed obstacles to ensure that the relative degree is 1, avoiding the introduction of high-order control obstacle functions, and achieving obstacle avoidance control of the mobile robot by optimizing control problem solving.

Benefits of technology

It achieves fast online solution, ensures real-time performance, and can simultaneously control the acceleration of linear velocity and angular velocity, ensuring robot safety and simplifying controller design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118567342A
    Figure CN118567342A
Patent Text Reader

Abstract

The invention discloses a mobile robot obstacle avoidance method based on a control obstacle function and a speed obstacle. The object of the method is a mobile robot of a single vehicle model controlled by the acceleration of linear speed and the acceleration of angular speed, and the obstacle avoidance function is achieved by constructing a CBF based on VO. According to the method, the problem that at least one of two CBF constraints of the same obstacle is met is solved by introducing an integer optimization variable, and an optimization control problem is constructed based on MIQP for online solving, so that the robot moves according to a given control quantity under the condition of meeting obstacle avoidance control. The problem that an obstacle avoidance controller is designed for a mobile robot controlled by acceleration based on a high-order control obstacle function traditionally is solved, it is guaranteed that the relative degree of a CBF is 1, introduction of an HOCBF is avoided, the VOCBF-MIQP optimization control problem is constructed in combination with integer optimization variables, and online solving of the problem can be guaranteed under the condition that the number of obstacles is small.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a mobile robot obstacle avoidance control method belonging to the field of artificial intelligence and robotics, and specifically relates to an obstacle avoidance control method based on a control barrier function (CBF) and a velocity obstacle (VO). Background Art

[0002] Robot technology has been developing rapidly and has been widely used in logistics operations, autonomous driving, field detection and rescue, and other occasions. In the application of robots, it is crucial to achieve safety assurance in robot operations. If the safety of robots in operations cannot be guaranteed, it will bring immeasurable negative impacts. In practical applications, the safety assurance of robots is mainly reflected in the safe avoidance of robots and other obstacles. Commonly used methods include model predictive control (MPC), artificial potential field method, reachability analysis, and neural network methods. In recent years, methods based on control barrier function (CBF) have been widely used in robot obstacle avoidance control. This type of method designs CBF based on Euclidean distance function and adds it as a constraint to the optimization problem to achieve robot obstacle avoidance. However, when the above-mentioned method of designing CBF based on Euclidean distance is applied to a robot controlled by acceleration, since the relative degree of the CBF function is not 1 at this time, it is necessary to introduce a high-order control barrier function (HOCBF) to design the controller. However, the feasible controller set obtained by designing the controller based on HOCBF is only a subset of the actual feasible controller set, which makes the designed controller relatively conservative; in addition, designing the controller based on HOCBF requires determining many parameters, which also makes the design of the controller complicated. Some other methods combine CBF with MPC methods to overcome the defects in the continuous time domain and solve the control instructions of the mobile robot in the discrete time domain. However, when the number of obstacles increases, the real-time performance of this method is difficult to be well guaranteed. Therefore, achieving safe control of mobile robots controlled by acceleration is still a challenging problem.

[0003] Velocity Obstacle (VO) has also been widely used in robot obstacle avoidance in recent years. VO represents the set of all robot velocities that will cause the robot to collide with the obstacle (assuming that the speed of the obstacle remains unchanged). Therefore, as long as the robot's speed is outside the VO constructed by it and the obstacle, the robot can avoid collision with the obstacle. Therefore, the present invention proposes to construct CBF based on VO, ensure that the relative degree of CBF is 1, avoid the introduction of HOCBF, and implement an obstacle avoidance controller designed for a mobile robot controlled by acceleration. Summary of the invention

[0004] In view of this, in order to solve the problems existing in the background technology, the present invention proposes a method for designing CBF for a mobile robot based on VO to achieve obstacle avoidance control. By designing the CBF function based on VO and the rear axle axis of the mobile robot, the acceleration of the linear velocity and the acceleration of the angular velocity of the mobile robot can be controlled to achieve collision avoidance.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] 1. A mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle

[0007] Step 1: Collect obstacle information in the environment; and determine the current state information of the mobile robot;

[0008] Step 2: Construct a mobile robot model and convert the mobile robot model into a corresponding affine control form;

[0009] Step 3: According to the current state information and obstacle information of the robot, a first control obstacle function is constructed based on the speed obstacle, and then the obstacle avoidance constraint of the mobile robot is constructed using the first control obstacle function;

[0010] Step 4: construct a second control obstacle function, and then construct a state quantity physical constraint of the mobile robot based on the second control obstacle function;

[0011] Step 5: Based on the obstacle avoidance constraints of the mobile robot, the physical constraints of the state quantity, and the physical constraints of the control quantity, determine the objective function of the optimization control problem, thereby constructing the optimization control problem;

[0012] Step 6: After solving the optimization control problem, calculate the optimal control quantity and apply it to control the mobile robot to avoid obstacles.

[0013] In step 1, all obstacles are circular obstacles.

[0014] In step 1, the mobile robot is a circular robot, and the state information of the mobile robot includes the position, the angle θ between the mobile robot and the horizontal x-axis, the linear velocity v and the angular velocity w, wherein the position coordinates of the mobile robot are the axis coordinates of the rear axle of the mobile robot.

[0015] In step 2, the model controlled by the acceleration of the linear velocity and the acceleration of the angular velocity is used as the model of the mobile robot, and the formula is as follows:

[0016]

[0017] Among them, x p and p denote the horizontal and vertical coordinates of the rear axle center of the mobile robot, θ denotes the angle between the mobile robot and the horizontal x-axis, v and w denote the linear velocity and angular velocity of the mobile robot, respectively; a and α denote the acceleration of the linear velocity and the acceleration of the angular velocity;

[0018] Convert the mobile robot model into the following affine control form:

[0019]

[0020]

[0021]

[0022]

[0023] u=[a,α] T

[0024] in, are the horizontal and vertical coordinates x and y of the rear axle center of the mobile robot respectively p ,y p , the angle θ between the mobile robot and the horizontal x-axis, the differential of the linear velocity v and angular velocity w of the mobile robot, u is the control quantity, T represents the transposition operation, represents the differential of the state quantity, f(x) represents the control state function, and g(x) represents the control input function.

[0025] The step 3 is specifically as follows:

[0026] Step 3.1: According to the current state information and obstacle information of the robot, and based on the speed obstacle, a first control obstacle function is constructed. The formula of the first control obstacle function is as follows:

[0027]

[0028]

[0029]

[0030]

[0031] Among them, h i,j (x) represents the jth CBF function constructed by the mobile robot with respect to the i-th obstacle; v R Represents the current speed of the mobile robot, and Represents the orthogonal vectors on both sides of VO, and are two linear constraints, Represents the current speed of the obstacle;

[0032] Step 3.2: Construct the obstacle avoidance constraint of the mobile robot based on the first control obstacle function. The formula is as follows:

[0033]

[0034]

[0035]

[0036] Among them, when the i-th obstacle is a static obstacle, then L f h i,j (x) and L g h i,j (x) is about h i,j (x), u represents the control amount of the mobile robot, γ1 represents the first CBF attenuation coefficient, z i,j represents an integer optimization variable and G represents the constraint relaxation coefficient.

[0037] In step 4, firstly, a second control barrier function is constructed, and the specific formula is as follows:

[0038] h v_min (x) = vv min ,

[0039] h v_max (x) = v max -v,

[0040] h w_min (x) = ww min ,

[0041] h w_max (x) = w max -w,

[0042] Among them, h v_min (x), hv_max (x), h w_min (x) and h w_max (x) are the control obstacle function of minimum linear velocity, the control obstacle function of maximum linear velocity, the control obstacle function of minimum angular velocity and the control obstacle function of maximum angular velocity respectively;

[0043] Then, the physical constraints of the state quantity of the mobile robot are constructed based on the second control obstacle function. The specific formula is as follows:

[0044] L f h v_min (x)+L g h v_min (x)u≥-γ2h v_min (x),

[0045] L f h v_max (x)+L g h v_max (x)u≥-γ2h v_max (x),

[0046] L f h w_min (x)+L g h w_min (x)u≥-γ2h w_min (x),

[0047] L f h w_max (x)+L g h w_max (x)u≥-γ2h w_max (x),

[0048] Among them, h e (x) is a universal function, L f h v_min (x) and L g h v_min (x) is the control obstacle function h about the minimum linear velocity v_mmin The two Lie derivatives of (x); L f h v_max (x) and L g h v_max (x) is the control obstacle function h about the maximum linear velocity v_max The two Lie derivatives of (x); L f h w_min (x) and L g h w_min (x) is the control obstacle function h about the minimum angular velocity w_min The two Lie derivatives of (x); L f hw_max (x) and L g h w_max (x) is the control obstacle function h about the maximum angular velocity w_max (x) are the two Lie derivatives; γ2 represents the second CBF attenuation coefficient.

[0049] The optimization control problem is in the following form:

[0050]

[0051] L f h v_min (x)+L g h v_min (x)u≥-γ2h v_min (x),

[0052] L f h v_max (x)+L g h v_max (x)u≥-γ2h v_max (x),

[0053] L f h w_min (x)+L g h w_min (x)u≥-γ2h w_min (x),

[0054] L f h w_max (x)+L g h w_max (x)u≥-γ2h w_max (x),

[0055]

[0056]

[0057]

[0058] u∈U

[0059] Among them, u ref is a given reference control quantity, R 2 represents the dimension of the control volume, H represents the weight matrix of the control volume following the given reference control volume, N represents the number of obstacles, and u∈U represents the constraint on the control volume.

[0060] 2. A computer device

[0061] The computer device comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method when executing the computer program.

[0062] 3. A computer-readable storage medium

[0063] The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described are implemented.

[0064] IV. A COMPUTER PROGRAM PRODUCT

[0065] The computer program product comprises a computer program / instructions which, when executed by a processor, implement the steps of the method.

[0066] The beneficial effects of the present invention are:

[0067] The present invention is based on the optimization control problem form of VOCBF-MIQP, which can ensure the fast online solution of the optimization control problem and the real-time nature of the problem; at the same time, the present invention constructs the CBF function based on the rear axle center of the robot and VO, ensures that the relative degree is 1, avoids the introduction of HOCBF, and can simultaneously control the acceleration of the linear velocity and the acceleration of the angular velocity to achieve collision avoidance and ensure the safety of the mobile robot; in addition, the present optimization control problem also supports the design of a control Lyapunov function (Control Lyapunov Function, CLF) to realize the navigation function of the robot, but it does not belong to the scope of the present invention and is not elaborated in the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0068] Figure 1 Flow chart of the method of the present invention.

[0069] Figure 2 This is a schematic diagram of a mobile robot model used in the present invention.

[0070] Figure 3 This is a schematic diagram of constructing CBF based on VO in the present invention.

[0071] Figure 4 This is an obstacle avoidance control effect diagram of the present invention.

[0072] Figure 5 This is a diagram showing changes in the robot's state quantity and control quantity during the control process of the present invention. DETAILED DESCRIPTION

[0073] The present invention is further described below in conjunction with the accompanying drawings and specific examples, but the protection scope of the present invention is not limited thereto.

[0074] Figure 1A flow chart representing the method of the present invention is explained in detail below.

[0075] Step 1: Collect obstacle information in the environment (including the location, size and speed of obstacles, etc.) and save it in the map information of the mobile robot; determine the current state information of the mobile robot, and send the state information, obstacle information and map information of the mobile robot to the robot controller; in specific implementation, set the maximum simulation time and simulation step of the mobile robot in the entire simulation process; when the entire simulation process reaches the maximum operation time, the control process will also terminate; the simulation step size is used to control the time when the control amount acts on the robot, and is used to change the state of the mobile robot;

[0076] In step 1, all obstacles are circular obstacles, and it is necessary to determine information such as the center position, radius, and moving speed of the circular obstacles.

[0077] In step 1, the present invention assumes that the mobile robot is a circular robot, and the state information of the mobile robot includes the position, the angle θ between the mobile robot and the horizontal x-axis, the linear velocity v and the angular velocity w. The position coordinates of the mobile robot are the axis coordinates of the rear axle of the mobile robot, such as Figure 2 As shown; the center position coordinates of the mobile robot can be calculated through the rear axle axis coordinates, the formula is as follows:

[0078] x c =x p +lcosθ

[0079] y c =y p +lsinθ

[0080] Among them, x c and c Represents the horizontal and vertical coordinate values ​​of the center position of the mobile robot, x p ,y p are the horizontal and vertical coordinate values ​​of the rear axle center of the mobile robot, respectively; l represents the axial distance between the rear axle center of the robot and the center position; θ is the angle between the mobile robot and the horizontal x-axis.

[0081] Step 2: Construct a mobile robot model and convert the mobile robot model into a corresponding affine control form;

[0082] In step 2, the model controlled by the acceleration of the linear velocity and the acceleration of the angular velocity is used as the model of the mobile robot, and the formula is as follows:

[0083]

[0084] Among them, x pand p They represent the horizontal and vertical coordinates of the rear axle center of the mobile robot, θ represents the angle between the mobile robot and the horizontal x-axis, v and w represent the linear velocity and angular velocity of the mobile robot, respectively; a and α represent the acceleration of the linear velocity and the acceleration of the angular velocity; is the control quantity of the mobile robot, which is used to control the movement of the robot. The model of the mobile robot is converted into the following affine control form:

[0085]

[0086]

[0087]

[0088]

[0089] u=[a,α] T

[0090] in, are the horizontal and vertical coordinates x and y of the rear axle center of the mobile robot respectively p ,y p , the angle θ between the mobile robot and the horizontal x-axis, the differential of the linear velocity v and angular velocity w of the mobile robot, u is the control quantity, T represents the transposition operation, represents the differential of the state quantity, f(x) represents the control state function, and g(x) represents the control input function. x∈R 5 , u∈R 2 They represent the state and control variables of the system, and they need to be fixed within a reasonable range, such as the linear velocity and angular velocity. min ≤v≤v max and w min ≤w≤w max ; The control amount also needs to be fixed within a reasonable range: u min ≤u≤u max , where u min =[a min , α min ] T ,u max =[a max , α max ] T , v min 、v max 、w min 、w max 、u min 、u max 、a min , α min 、a max , αmax They represent the minimum and maximum values ​​of the linear velocity, the minimum and maximum values ​​of the angular velocity, the minimum and maximum values ​​of the control amount, the minimum and maximum values ​​of the acceleration of the linear velocity, and the minimum and maximum values ​​of the acceleration of the angular velocity, respectively. T represents the transposition operation;

[0091] Step 3: According to the current state information and obstacle information of the robot, a first control obstacle function is constructed based on the speed obstacle, and then the obstacle avoidance constraint of the mobile robot is constructed using the first control obstacle function to ensure that the mobile robot and the i-th obstacle can achieve obstacle avoidance;

[0092] Step 3 is as follows:

[0093] Step 3.1: According to the current state information and obstacle information of the robot, and based on the speed obstacle, a first control obstacle function is constructed. The formula of the first control obstacle function is as follows:

[0094]

[0095]

[0096]

[0097]

[0098] Among them, h i,j (x) represents the jth CBF function constructed by the mobile robot with respect to the i-th obstacle; v R Represents the current speed of the mobile robot, and Represents the orthogonal vectors on both sides of VO, and are two linear constraints, Represents the current speed of the obstacle;

[0099] Step 3.2: Since the actual situation only requires that at least one of the constraints corresponding to the above two CBFs is satisfied, the present invention introduces integer optimization variables to construct a guarantee that the mobile robot is in contact with the i-th obstacle O i Realize obstacle avoidance constraints. Based on the first control obstacle function, the obstacle avoidance constraints of the mobile robot are constructed, and the formula is as follows:

[0100]

[0101]

[0102]

[0103] in, Represents the impact of the change in the position of a dynamic obstacle on the control amount. When the i-th obstacle is a static obstacle, then L f h i,j (x) and L g h i,j (x) is about h i,j (x), u represents the control quantity of the mobile robot, γ1 represents the first CBF attenuation coefficient, which is required to be a positive real number, z i,j represents an integer optimization variable, G represents the constraint relaxation coefficient, which is a fairly large integer, such as 10^5. i,j =1, which means that this h i,j (x) constraint. When z i,j = 0, it means that the constraint is not satisfied. It can be ensured that at least one CBF constraint is satisfied. Therefore, as long as the control quantity can satisfy the above joint constraints, it can ensure that the mobile robot avoids collision with the i-th obstacle; and if multiple of the above constraints are satisfied at the same time, collision avoidance with multiple obstacles can be achieved.

[0104] The present invention assumes that all obstacles and robots are circular in shape. The following is an explanation of how to establish CBF based on VO:

[0105] Assume that robot R has a i The introduced VO is denoted as The schematic diagram is attached Figure 3 As shown, as long as the robot's speed is guaranteed It can ensure that the constraints of collision avoidance are met, because the position coordinates of the robot itself can be expressed as:

[0106]

[0107] So we can get the robot's velocity v R :

[0108]

[0109] In addition, the VO constructed by the robot is derived from the collision cone (CC) constructed by itself and the obstacle, that is, like Figure 3 As shown, VO and CC only differ in the vertex position, while the tangent vectors and orthogonal vectors on both sides of the cone are consistent.

[0110] Assume that the tangent vectors on both sides of the cone are expressed as and Then we can calculate the orthogonal vectors on both sides of the cone and like Figure 3 As shown:

[0111]

[0112]

[0113] in As mentioned above, as long as the robot's speed This can ensure collision avoidance, which is equivalent to in represent The complement of Figure 3 The present invention uses two linear constraints to represent the feasible region.

[0114]

[0115] in, is a constant related to the constraint, which can be expressed as Therefore, the present invention can be obtained about the obstacle O i The two CBFs constructed are:

[0116]

[0117]

[0118] Because the constraints corresponding to the above two CBFs are not required to be satisfied at the same time (at least one of them is satisfied), that is, as long as the robot's speed is within The collision can be avoided by moving the vehicle to either side of VO. In practice, the vehicle may choose to pass through one side of VO (in rare cases, the vehicle may choose to pass through both sides at the same time) according to the design of the objective function, thereby achieving optimal control. Therefore, for the above optimization control problem that does not force both constraints to be satisfied, the present invention introduces integer variables to process the problem and converts the overall optimization problem into a second-order mixed integer programming problem for solution. By ensuring that the vehicle has a certain speed for the i-th obstacle O i At least one of the two CBF functions satisfies h i,j (x)>0, collision avoidance can be achieved. Then, the present invention constructs constraints to ensure collision avoidance between the robot and obstacles based on the above two CBF functions and combined with integer variables:

[0119] -L f h i,j (x)-L g h i,j (x)u-γ1h i,j (x)≤G(1-z i,j ), j = 1, 2

[0120]

[0121] Among them, L f h i,j (x) and L g h i,j (x) is about h i,j The Lie derivative of (x), γ1 represents the first CBF attenuation coefficient, which is a positive real number, z i,j represents an integer variable, and G represents a relatively large integer. i,j =1, it means the robot chooses to pass through this side. It can be ensured that at least one constraint is satisfied. Therefore, by ensuring that the control quantity satisfies the above constraints, it can be ensured that the mobile robot avoids collision with obstacles. If dynamic obstacles are considered, the CBF function can be expressed as h i,j (x, t), then the present invention can construct constraints for collision avoidance with dynamic obstacles based on the time-varying CBF function:

[0122]

[0123]

[0124] in, Represents the effect of the dynamic obstacle position change on the control amount. If the obstacle is a static obstacle, then Therefore, as long as the control quantity meets the above constraints, collision avoidance with dynamic obstacles can be achieved. The present invention can achieve collision avoidance with obstacles by designing the above CBF based on VO, while also avoiding the introduction of HOCBF and simplifying the design of CBF.

[0125] Step 4: construct a second control obstacle function, and then construct a state quantity physical constraint condition of the mobile robot based on the second control obstacle function;

[0126] In step 4, the physical constraints of the robot state are constructed as CBF to constrain the state. The reason for not adding state constraints directly is that the optimization variable in the optimization control problem is the control variable, so the state cannot be constrained directly. First, the second control obstacle function is constructed. The specific formula is as follows:

[0127] h v_min (x) = vv min ,

[0128] h v_max (x) = v max -v,

[0129] h w_min (x) = wwmin ,

[0130] h w_max (x) = w max -w,

[0131] Among them, h v_mmin (x), h v_max (x), h w_min (x) and h w_max (x) are the control obstacle function of minimum linear velocity, the control obstacle function of maximum linear velocity, the control obstacle function of minimum angular velocity and the control obstacle function of maximum angular velocity respectively;

[0132] Then, the physical constraints of the state quantity of the mobile robot are constructed based on the second control obstacle function. The specific formula is as follows:

[0133] L f h v_mmin (x)+L g h v_min (x)u≥-γ2h v_min (x),

[0134] L f h v_max (x)+L g h v_max (x)u≥-γ2h v_max (x),

[0135] L f h w_mmin (x)+L g h w_min (x)u≥-γ2h w_min (x),

[0136] L f h w_max (x)+L g h w_max (x)u≥-γ2h w_max (x),

[0137] Among them, h e (x) is a universal function, L f h v_min (x) and L g h v_min (x) is the control obstacle function h about the minimum linear velocity v_mmin The two Lie derivatives of (x); L f h v_max (x) and L g h v_max (x) is the control obstacle function h about the maximum linear velocity v_max The two Lie derivatives of (x); Lf h w_mmin (x) and L g h w_mmin (x) is the control obstacle function h about the minimum angular velocity w_min The two Lie derivatives of (x); L f h w_max (x) and L g h w_max (x) is the control obstacle function h about the maximum angular velocity w_max (x); γ2 represents the second CBF attenuation coefficient, which is a positive real number. As long as the control quantity satisfies the first constraint mentioned above, the robot's speed will always be greater than the lower limit v_min of the speed state quantity; similarly, other state quantity constraints can be guaranteed;

[0138] Step 5: Based on the obstacle avoidance constraints, physical constraints of state quantities, and physical constraints of control quantities of the mobile robot, the objective function of the optimization control problem is determined, thereby constructing the optimization control problem (VOCBF-MIQP);

[0139] The optimization control problem has the following form:

[0140]

[0141] L f h v_min (x)+L g h v_min (x)u≥-γ2h v_min (x),

[0142] L f h v_max (x)+L g h v_max (x)u≥-γ2h v_max (x),

[0143] L f h w_min (x)+L g h w_min (x)u≥-γ2h w_min (x),

[0144] L f h w_max (x)+L g h w_max (x)u≥-γ2h w_max (x),

[0145]

[0146]

[0147]

[0148] u∈U

[0149] Among them, u ref is a given reference control quantity, R 2 represents the dimension of the control quantity, H represents the weight matrix of the control quantity following the given reference control quantity, which is required to be a positive definite matrix, N represents the number of obstacles, and u∈U represents the constraint on the control quantity. The objective function hopes that the optimal control quantity is as close as possible to the given reference control quantity to achieve the corresponding control goal; u∈U represents the constraint on the control quantity, that is, u min ≤u≤u max Here u ref =[-k(vv ref ), -kw] T , k is the weight coefficient, that is, the robot needs to be close to the reference speed v ref The robot moves at a speed of , while keeping the angular velocity as 0 as possible; the constraint form mainly includes the physical constraints on the state quantity and the obstacle avoidance constraints of the robot; in addition, the physical constraints on the control quantity u∈U are added, that is, u min ≤u≤u max , where u min =[a min , α min ] T ,u max =[a max , α max ] T , to ensure the rationality of the optimization control problem;

[0150] Step 6: After solving the optimization control problem, the optimal control amount is calculated and applied to control the mobile robot to avoid obstacles in combination with the simulation step length and the robot's kinematic model. In the specific implementation, the present invention actually splits the overall optimization control problem into multiple MIQP problems for online solution.

[0151] Step 7: Check whether the robot's termination condition is met, that is, the maximum simulation time is exceeded. If not, repeat the above steps 3-6 until the termination condition is met.

[0152] The present invention is verified by simulation experiments: the maximum simulation time is set to 20s, the simulation step is set to 0.1s, and the simulation results are as follows: Figure 4 , Figure 5 As shown. Among them, Figure 4 The black five-pointed star in the middle indicates the robot's starting position, the circle indicated by the black solid line is the robot's position, and its past motion trajectory is also indicated by the black solid line; obstacles are indicated by black dotted lines; Figure 4The simulation results show that the present invention can realize the obstacle avoidance control of the mobile robot of the bicycle model controlled by the linear velocity acceleration and the angular velocity acceleration; Figure 5 It means that the controller designed by the present invention can ensure that the robot always meets the physical constraints of state quantity and control quantity, where Figure 5 (a) is a simulation diagram of linear velocity. Figure 5 (b) is a simulation diagram of angular velocity. Figure 5 (c) is a simulation diagram of the acceleration of linear velocity. Figure 5 (d) is a simulation diagram of the acceleration of the angular velocity. The effectiveness of the present invention is demonstrated by showing the simulation results.

[0153] Finally, it should be noted that the above embodiments and explanations are only used to illustrate the technical solution of the present invention rather than to limit it. Those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope disclosed in the technical solution of the present invention, which should be included in the scope of protection of the claims of the present invention.

Claims

1. A mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle, characterized in that: The following steps are involved: Step 1: Collect obstacle information in the environment; and determine the current state information of the mobile robot; Step 2: Construct a mobile robot model and convert the mobile robot model into a corresponding affine control form; Step 3: According to the current state information and obstacle information of the robot, a first control obstacle function is constructed based on the speed obstacle, and then the obstacle avoidance constraint of the mobile robot is constructed using the first control obstacle function; Step 4: construct a second control obstacle function, and then construct a state quantity physical constraint of the mobile robot based on the second control obstacle function; Step 5: Based on the obstacle avoidance constraints of the mobile robot, the physical constraints of the state quantity, and the physical constraints of the control quantity, determine the objective function of the optimization control problem, thereby constructing the optimization control problem; Step 6: After solving the optimization control problem, calculate the optimal control quantity and apply it to control the mobile robot to avoid obstacles.

2. The mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle according to claim 1, characterized in that: In step 1, all obstacles are circular obstacles.

3. The mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle according to claim 1, characterized in that: In step 1, the mobile robot is a circular robot, and the state information of the mobile robot includes the position, the angle θ between the mobile robot and the horizontal x-axis, the linear velocity v and the angular velocity w, wherein the position coordinates of the mobile robot are the axis coordinates of the rear axle of the mobile robot.

4. The mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle according to claim 1, characterized in that: In step 2, the model controlled by the acceleration of the linear velocity and the acceleration of the angular velocity is used as the model of the mobile robot, and the formula is as follows: Among them, x p and p denote the horizontal and vertical coordinates of the rear axle center of the mobile robot, θ denotes the angle between the mobile robot and the horizontal x-axis, v and w denote the linear velocity and angular velocity of the mobile robot, respectively; a and α denote the acceleration of the linear velocity and the acceleration of the angular velocity; Convert the mobile robot model into the following affine control form: u=[a, α] T in, are the horizontal and vertical coordinates x and y of the rear axle center of the mobile robot respectively p ,y p , the angle θ between the mobile robot and the horizontal x-axis, the differential of the linear velocity v and angular velocity w of the mobile robot, u is the control quantity, T represents the transposition operation, represents the differential of the state quantity, f(x) represents the control state function, and g(x) represents the control input function.

5. The mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle according to claim 1, characterized in that: The step 3 is specifically as follows: Step 3.1: According to the current state information and obstacle information of the robot, and based on the speed obstacle, a first control obstacle function is constructed. The formula of the first control obstacle function is as follows: Among them, h i,j (x) represents the jth CBF function constructed by the mobile robot with respect to the i-th obstacle; v R Represents the current speed of the mobile robot, and represents the orthogonal vectors on both sides of VO, and are two linear constraints, Represents the current speed of the obstacle; Step 3.2: Construct the obstacle avoidance constraint of the mobile robot based on the first control obstacle function. The formula is as follows: Among them, when the i-th obstacle is a static obstacle, then L f h i,j (x) and L g h i,j (x) is about h i,j (x), u represents the control amount of the mobile robot, γ1 represents the first CBF attenuation coefficient, z i,j represents an integer optimization variable and G represents the constraint relaxation coefficient.

6. The mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle according to claim 1, characterized in that: In step 4, firstly, a second control barrier function is constructed, and the specific formula is as follows: h v_min (x)=v-v min , h v_max (x)=v max -v, h w_min (x)=w-w min , h w_max (x)=w max -w, Among them, h v_min (x), h v_max (x), h w_min (x) and h w_max (x) are the control obstacle function of minimum linear velocity, the control obstacle function of maximum linear velocity, the control obstacle function of minimum angular velocity and the control obstacle function of maximum angular velocity respectively; Then, the physical constraints of the state quantity of the mobile robot are constructed based on the second control obstacle function. The specific formula is as follows: L f h v_min (x)+L g h v_min (x)u≥-γ2h v_min (x), L f h v_max (x)+L g h v_max (x)u≥-γ2h v_max (x), L f h w_min (x)+L g h w_min (x)u≥-γ2h w_min (x), L f h w_max (x)+L g h w_max (x)u≥-γ2h w_max (x), Among them, h e (x) is a universal function, L f h v_min (x) and L g h v_min (x) is the control obstacle function h about the minimum linear velocity v_min The two Lie derivatives of (x); L f h v_max (x) and L g h v_max (x) is the control obstacle function h about the maximum linear velocity v_max The two Lie derivatives of (x); L f h w_min (x) and L g h w_min (x) is the control obstacle function h about the minimum angular velocity w_min The two Lie derivatives of (x); L f h w_max (x) and L g h w_max (x) is the control obstacle function h about the maximum angular velocity w_max (x) are the two Lie derivatives; γ2 represents the second CBF attenuation coefficient.

7. The mobile robot obstacle avoidance method based on controlling obstacle function and speed obstacle according to claim 1, characterized in that: The optimization control problem is in the following form: L f h v_min (x)+L g h v_min (x)u≥-γ2h v_min (x), L f h v_max (x)+L g h v_max (x)u≥-γ2h v_max (x), L f h w_min (x)+L g h w_min (x)u≥-γ2h w_min (x), L f h w_max (x)+L g h w_max (x)u≥-γ2h w_max (x), u∈U Among them, u ref is a given reference control quantity, R 2 represents the dimension of the control volume, H represents the weight matrix of the control volume following the given reference control volume, N represents the number of obstacles, and u∈U represents the constraint on the control volume.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Safety tracking control method of wheeled mobile robot based on force and torque constraints

    CN121232825A

  • Robot control method and system based on predefined time control obstacle function

    CN121893263A