A robot dynamic obstacle avoidance method and system based on model predictive control

By constructing a robot kinematic tracking error model and obstacle avoidance cost function based on model predictive control, and combining it with an event triggering mechanism, the problems of latency and high computational requirements of mobile robot obstacle avoidance system in high dynamic environment are solved, and the real-time performance and safety are improved.

CN117707161BActive Publication Date: 2026-11-27HUAZHONG UNIV OF SCI & TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311710859.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-13
Publication Date
2026-11-27
Estimated Expiration
2043-12-13

AI Technical Summary

Technical Problem

Existing hierarchical framework methods lead to high latency and computational requirements in mobile robot obstacle avoidance systems under highly dynamic and complex environments, failing to guarantee real-time performance and safety.

Method used

A model-based predictive control approach is adopted. By constructing a robot kinematic tracking error model and an obstacle avoidance cost function, and combining them with an event-triggered mechanism, the number of optimization problems can be reduced, the computational burden can be lowered, and the real-time performance and safety of the obstacle avoidance system can be improved.

Benefits of technology

It improves the reliability and autonomy of mobile robots in obstacle avoidance in dynamic scenarios, reduces the consumption of computing resources, and ensures stable operation and obstacle avoidance safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117707161B_ABST
    Figure CN117707161B_ABST
Patent Text Reader

Abstract

The application belongs to the technical field of robot obstacle avoidance, and discloses a robot dynamic obstacle avoidance method and system based on model predictive control.S1, a kinematic tracking error model of the robot is established;S2, an obstacle avoidance cost function is constructed;S3, a prediction model of the robot speed is constructed, the input of the prediction model is the actual speed, pose, global path and position of the obstacle of the robot, and the output is the predicted speed of the robot;S4, the pose of the robot under the predicted speed is calculated by using the predicted speed, the error between the predicted speed and the measured robot pose is calculated to obtain the robot pose error, and the position error of the obstacle is calculated, when the robot pose error and the obstacle error are less than a preset threshold, the predicted speed of the robot is taken as the speed input at the next moment, otherwise, the step S3 is returned.Through the application, the real-time performance and success rate of obstacle avoidance are improved, so that the autonomy of the mobile robot is improved, and the safe operation of the mobile robot is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of robot obstacle avoidance technology, and more specifically, relates to a robot dynamic obstacle avoidance method and system based on model predictive control. Background Technology

[0002] Safe operation in dynamic scenarios is one of the key issues in obstacle avoidance for mobile robots and a research hotspot in the robotics industry. In recent years, an increasing number of mobile robots have been deployed in highly complex environments. With the increasing complexity of these environments, the number and dynamics of obstacles have significantly increased, along with environmental uncertainties. This necessitates that mobile robot obstacle avoidance systems possess higher autonomy and real-time performance to ensure safe operation. Typically, obstacle avoidance systems employ a hierarchical framework of local path planning and trajectory tracking control. This involves first planning a collision-free local path, then the controller calculates appropriate control parameters based on the error between the reference and actual states and inputs them into the robot's actuators, thereby enabling obstacle avoidance in dynamic environments. However, in highly dynamic and complex scenarios, the traditional hierarchical framework for obstacle avoidance still presents some problems and areas requiring improvement.

[0003] 1) This hierarchical framework is essentially a reactive method, requiring repeated trajectory replanning within each sampling period. The increased environmental complexity significantly increases the difficulty of local path planning, necessitating high computational power from the mobile robot; otherwise, real-time obstacle avoidance cannot be guaranteed.

[0004] 2) The hierarchical framework of local path planning and trajectory tracking control introduces system delay between the two layers, resulting in a lag in the actual control input. Due to the high dynamics of obstacles, when calculating control signals, obstacles may block the planned local path, rendering it unsuitable and leading to unexpected collisions.

[0005] Therefore, there is an urgent need for an obstacle avoidance method for mobile robots in complex environments that can avoid the system latency introduced by hierarchical methods and reduce the demand on processor computing power. This is of profound significance for ensuring the safe operation of mobile robots. Summary of the Invention

[0006] In view of the above-mentioned defects or improvement needs of the existing technology, the present invention provides a robot dynamic obstacle avoidance method and system based on model predictive control, which solves the problem of obstacle avoidance failure caused by large computational load.

[0007] To achieve the above objectives, according to one aspect of the present invention, a method for dynamic obstacle avoidance of a robot based on model predictive control is provided, the method comprising the following steps:

[0008] S1 acquires the robot's state information and global path, and uses this information to establish the robot's kinematic tracking error model;

[0009] S2 monitors the current position, velocity, and acceleration of obstacles in real time to predict the position of the obstacles in the next moment, and uses the position of the obstacles in the next moment to construct an obstacle avoidance cost function;

[0010] S3 uses the robot's tracking error model and obstacle avoidance cost function to construct a model prediction controller for the robot's speed. The inputs of the model prediction controller are the robot's actual speed, pose, global path, and obstacle positions, and the output is the robot's predicted speed.

[0011] S4 uses the predicted speed to calculate the robot's pose at the predicted speed, calculates the error between the predicted speed and the measured robot pose to obtain the robot pose error, and calculates the position error of the obstacle. When both the robot pose error and the obstacle error are less than a preset threshold, the robot's predicted speed is used as the speed input for the next moment; otherwise, return to step S3.

[0012] More preferably, in step S1, the kinematic tracking error model of the robot is determined according to the following relationship:

[0013]

[0014] Where, x e =xx r =[x e y e θ e ] T For the robot's tracking error on the reference path, Let x be the derivative of the error, and let x be the system state of the mobile robot, i.e., the state of the mobile robot in the global coordinate system [x]. c y c θ c ] T Including position coordinates p c =[x c y c ] T and attitude θ c x r =[x r y r θ r ] T This represents the system's reference state. The robot's linear velocity, angular velocity, reference linear velocity, and reference angular velocity are denoted as v, w, and v, respectively. r and w r .

[0015] More preferably, in step S2, the obstacle avoidance cost function is calculated according to the following formula:

[0016]

[0017] Where m is the total number of obstacles detected. At the k-th sampling time, the total obstacle avoidance cost function C(k+i|k) at time k+i is calculated from the obstacle avoidance cost functions Ck corresponding to each of the m obstacles. j The summation of (k+i|k) constitutes the structure.

[0018] More preferably, the C j (k+i|k) is calculated according to the following formula:

[0019]

[0020] Among them, C j (k+i|k) is the relative distance d between the j-th obstacle and the mobile robot at time k+i. j The cost function is determined by (k+i|k). α, β, and μ are adjustable parameters that determine the peak value and decay rate of the cost function. d is the distance threshold; when the relative distance between the obstacle and the robot is greater than d, the obstacle avoidance cost function is 0.

[0021] More preferably, in step S3, the model prediction controller performs the following:

[0022]

[0023] stx(k+1)=f((x(k),u(k)),x(0)=x0

[0024] u min ≤u≤u max

[0025] Δu min ≤Δu≤Δu max

[0026]

[0027]

[0028] Where N is the prediction time domain, x e (k+i|k)=x(k+i|k)-x r (k+i|k) is the state error penalty term, x r (k+i|k) is the reference state. To control the input error penalty term, u r(k+i|k) is the reference control input, and Δu(k+i|k)=u(k+i+1|k)-u(k+i|k) is the acceleration error penalty term. The terminal cost is C(k+i|k), and the obstacle avoidance penalty term is C(k+i|k). x(k+1)=f((x(k),u(k)) is the system's state equation, x0 is the initial state of the system, and u... min u max , Δu min and Δu max These are the minimum and maximum values ​​of the control quantity and control increment, respectively. and b j (k+i|k) are the normal vector and intercept of the i-th dividing line corresponding to the j-th obstacle, respectively, and p(k+i|k) and p Ο,j (k+i|k) represent the position coordinates of the robot and the obstacle at the corresponding time.

[0029] More preferably, in step S4, the triggering condition for the robot's predicted pose error event is as follows:

[0030]

[0031] Where, n′ k The minimum number of control input signals required to satisfy the event triggering condition, where P is the weight matrix, e(σ) is the threshold of the allowable error, and x(k+n) and Let these represent the robot's actual state and predicted state at time k+n, respectively, with the pose error being...

[0032] More preferably, in step S4, the position error of the obstacle is obtained by predicting the position of the obstacle at the next moment through real-time monitoring of the obstacle's position, velocity, and acceleration, and by calculating the difference between the monitored position of the obstacle at the next moment and the predicted position at the next moment.

[0033] More preferably, in step S4, the position error event triggering condition of the obstacle is determined according to the following:

[0034] n″ k =inf{n|||p Ο,j (k+n)-p Ο,j (k+n|k)|| 2 ≥Δ j (k+n)}

[0035] Where, n′ k To meet the minimum number of control inputs required to trigger this event, Δ j (k+n) is the threshold corresponding to this event, p Ο,j (k+n) and pΟ,j (k+n|k) represent the actual state and predicted state of the obstacle at time k+n, respectively, with the position error being ||p Ο,j (k+n)-p Ο,j (k+n|k)|| 2 .

[0036] According to another aspect of the invention, a system for the above-described dynamic obstacle avoidance method is provided, comprising a processor that executes the above-described model predictive control-based robot dynamic obstacle avoidance method.

[0037] According to another aspect of the present invention, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the above-described model predictive control-based robot dynamic obstacle avoidance method.

[0038] In summary, the technical solutions conceived by this invention have the following beneficial effects compared with the prior art:

[0039] 1. This invention establishes a kinematic tracking error model for a mobile robot. Based on this model, an integrated framework for local path planning and trajectory tracking control is constructed. By designing the cost function and constraints of model predictive control, the smoothness and safety of the local path are ensured. Simultaneously, the event-triggered approach reduces the number of optimization problems solved, thereby reducing the computational burden on the controller and preventing accidental collisions. This invention improves the reliability and real-time performance of the obstacle avoidance system for mobile robots, ensuring the safe and stable operation of mobile robots in dynamic scenarios.

[0040] 2. This invention considers the prediction of obstacle positions in the time domain and integrates it into the cost function of model predictive control. By considering the relative positions of obstacles and the robot within the next N steps, the prediction of the system's future state becomes more reasonable, thereby improving the autonomy of the mobile robot. The construction of a hyperplane transforms non-convex constraints into convex constraints, reducing the complexity of solving the optimization problem.

[0041] 3. This invention adopts the idea of ​​event triggering to reduce the number of times the optimal control problem is solved, and the demand on network transmission load is less. It determines whether the control sequence needs to be updated by judging whether the error exceeds the threshold. Compared with periodically replanning local paths, it significantly reduces the consumption of computing resources.

[0042] 4. This invention addresses both the difficulty and the number of optimization problems to be solved, enabling the designed integrated framework for local path planning and trajectory tracking control to be deployed in mobile robots and ensuring real-time dynamic obstacle avoidance in complex environments. On one hand, by setting an obstacle avoidance cost function and transforming non-convex constraints into convex constraints, the difficulty of solving the optimization problem is reduced while ensuring obstacle avoidance safety. On the other hand, the designed event-triggered mechanism reduces the frequency of optimization problem solving and the demand on network transmission load, thereby reducing the number of optimization problems to be solved. Attached Figure Description

[0043] Figure 1 This is a flowchart of a robot dynamic obstacle avoidance method based on model predictive control constructed according to a preferred embodiment of the present invention;

[0044] Figure 2 This is a schematic diagram of a kinematic model of a mobile robot constructed according to a preferred embodiment of the present invention;

[0045] Figure 3 This is a schematic diagram of a robot dynamic obstacle avoidance method and system based on model predictive control constructed according to a preferred embodiment of the present invention.

[0046] Figure 4 This is a schematic diagram of the obstacle avoidance cost function constructed according to a preferred embodiment of the present invention. Detailed Implementation

[0047] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention. Furthermore, the technical features involved in the various embodiments of this invention described below can be combined with each other as long as they do not conflict with each other.

[0048] like Figure 1 As shown, a robot obstacle avoidance method and system based on model predictive control is disclosed, the method comprising:

[0049] S1: Based on the robot state information (pose and velocity) detected by the sensors and the global path reference information, establish a kinematic tracking error model for the mobile robot;

[0050] S2: Based on the location information of obstacles, estimate the velocity and acceleration of obstacles, thereby predicting the position of obstacles within a finite time period, and use it as a penalty term to construct the obstacle avoidance cost function;

[0051] S3: Based on the requirements of tracking accuracy, motion smoothness and obstacle avoidance safety during operation, a model predictive controller is constructed, which includes the total cost function and constraints. By solving the optimal control problem, the output is the robot's motion speed, and the local reference path and the corresponding optimal control sequence can be obtained.

[0052] S4: Based on the robot state error and obstacle prediction error, establish event triggering conditions, and determine whether to resolve the optimal control problem to obtain a new control sequence by judging whether the error exceeds the corresponding threshold.

[0053] Preferably, the kinematic error model of the mobile robot constructed in step S1 specifically includes:

[0054] like Figure 2 As shown, the kinematic model of the mobile robot can be represented as:

[0055]

[0056] Where x represents the system state of the mobile robot, that is, the state of the mobile robot in the global coordinate system [x c y c θ c ] T Including position coordinates p c =[x c y c ] T and attitude θ c . Let be the derivative of the system state, u be the control input signal of the system, including the robot's axial linear velocity v and the body's angular velocity ω, with counterclockwise rotation defined as positive and clockwise rotation as negative. f is the nonlinear equation of the system.

[0057] For a four-wheeled mobile robot, its main body angular velocity can be expressed as:

[0058]

[0059] Where, θ f This refers to the front wheel steering angle, whose sign is defined in the same way as the angular velocity. L is the robot's chassis wheelbase, the distance L from the center of mass to the center of the front wheel. f and the distance L from the center of gravity to the center of the rear wheel r composition.

[0060] The global reference path of a mobile robot can be considered as generated by a virtual robot moving along a certain route. Therefore, the state x of the virtual robot... r =[x r y r θ r ] TThis can be considered a reference state, and the corresponding control quantity can be considered as the reference control quantity u. r =[v r ,ω r ] T Based on this, the reference motion state equation can be expressed as:

[0061]

[0062] Based on the motion state equations of the actual and virtual systems, the kinematic tracking error of the mobile robot can be expressed as:

[0063]

[0064] Further derivation reveals that the kinematic tracking error model is as follows:

[0065]

[0066] Preferably, in step S2, at the k-th sampling time, for the j-th obstacle (j = 1, 2, ..., m, where m is the total number of detected obstacles) detected by the mobile robot, its current position can be represented as: in and The coordinates are in the global coordinate system, and the velocity and acceleration are v. Ο,j (k) and a Ο,j (k), then the robot's position coordinates and velocity over the next N sampling times can be expressed as:

[0067] p Ο,j (k+i|k)=p Ο,j (k+i-1|k)+Tv Ο,j (k+i-1|k), i=1,2,...,N

[0068] v Ο,j (k+i|k)=v Ο,j (k+i-1|k)+Ta Ο,j (k+i-1|k), i=1,2,...,N

[0069] Furthermore, at the k-th sampling time, based on the prediction of the j-th obstacle's position coordinates, the relative distance d between the obstacle and the mobile robot at the (k+i)-th sampling time can be calculated. j (k+i|k) is:

[0070] d j (k+i|k)=||p Ο,j (k+ik)-p(k+i|k)||,i=1,2,…N…N

[0071] Where p(k+i|k) is the predicted position of the mobile robot at time k+i, obtained by solving the optimal control problem established in step S3.

[0072] Furthermore, the cost function related to obstacle avoidance in step S2, such as Figure 4 As shown, the obstacle avoidance cost function can be viewed as a thrust field formed by all obstacles; the closer the robot is to an obstacle, the greater the thrust it experiences. Specifically:

[0073]

[0074] Where m is the total number of obstacles detected. Specifically, the cost function is the relative distance d between the j-th (j = 1, 2, ..., m) obstacle and the mobile robot at time k+i (i = 1, 2, ..., N). j Determined by (k+i|k):

[0075]

[0076] Here, α, β, and μ are adjustable parameters that determine the peak value and decay rate of the cost function. d is the distance threshold; when the relative distance between the obstacle and the robot is greater than d, the obstacle avoidance cost function is zero.

[0077] Preferably, in step S3, the total cost function J of the model predictive controller is:

[0078]

[0079] Where N is the prediction time domain, x e (k+i|k)=x(k+i|k)-x r (k+i|k) is the state error penalty term, x r (k+i|k) is the reference state. To control the input error penalty term, u r (k+i|k) represents the reference control input. These two penalty terms primarily consider the system's ability to track the reference trajectory. Δu(k+i|k)=u(k+i+1|k)-u(k+i|k) is the acceleration error penalty term, which primarily considers the system's operational stability. The terminal cost is used to ensure the stability of the closed-loop system. C(k+i|k) is the obstacle avoidance penalty term in step S2, which mainly considers the safety of obstacle avoidance in the system.

[0080] Furthermore, the constraints that the model predicts control include the following aspects:

[0081] 1.x(k+1)=f((x(k),u(k)),x(0)=x0

[0082] This constraint is a model constraint of the system, that is, the system state should satisfy the kinematic model of the mobile robot, and the initial state of the system is x0.

[0083] 2.u min ≤u≤u max

[0084] This constraint is a constraint on the mobile robot chassis actuator, meaning that the actual control input should be limited to the range allowed by the actuator.

[0085] 3.Δu min ≤Δu≤Δu max

[0086] This constraint is the acceleration constraint of the mobile robot, which means that the change in the actual control input should be limited to a certain range, mainly considering the requirements of smooth operation.

[0087] 4.

[0088]

[0089] This constraint divides the obstacle space into a safe space, preventing collisions between the robot and obstacles and ensuring that the state variables obtained from solving the optimization problem reside within the safe space, thus further guaranteeing safety. and b j (k+i|k) are the normal vector and intercept of the i-th dividing line corresponding to the j-th obstacle, respectively, and are considered as optimization variables in the optimal control problem.

[0090] Furthermore, the designed model predictive controller can be expressed as:

[0091]

[0092] stx(k+1)=f((x(k),u(k)),x(0)=x0

[0093] u min ≤u≤u max

[0094] Δu min ≤Δu≤Δu max

[0095]

[0096]

[0097] By solving the above optimal control problem, the reference pose of the robot in its local reference state can be obtained. and the corresponding control input sequence of the robot's movement speed

[0098] Preferably, in step S4, to avoid repeatedly calculating the optimal control problem, an event triggering condition is designed to determine the number n of control variables actually input into the system in the control input sequence. For example... Figure 3 As shown, firstly, when designing the optimal control problem, this invention uses a nominal model to predict the future state of the mobile robot. This means that this invention does not consider external or internal disturbances experienced by the mobile robot. Disturbances can cause the actual state to deviate from the predicted state after the input control signal. Continuous input of control signals can lead to error accumulation, which may result in accidental collisions. Therefore, after executing the control command, it should be determined whether the error exceeds the trigger threshold to decide whether to re-solve the optimal control problem.

[0099]

[0100] Where, n′ k The minimum number of control input signals required to satisfy the event triggering condition is given by P, where P is the weight matrix and e(σ) is the threshold of the allowable error. Assuming the nonlinear system equation f(x,u) locally satisfies the Lipschitz condition with respect to the system state x, then the Lipschitz constant... Where 'a' is the maximum value of the linear velocity 'v' of the mobile robot. Based on this, the error between the predicted state and the actual state is... satisfy:

[0101]

[0102] Where w(k+i) represents the disturbance experienced by the system, and the upper bound of the disturbance is η. Combining the Gronwall-Bellman inequality, the maximum value of the system state error is:

[0103]

[0104] Therefore, the threshold for triggering this event can be set as follows:

[0105]

[0106] Where σ is an adjustable parameter representing the minimum number of control inputs between two triggering times, and satisfies By adjusting the value of σ, the performance of model predictive control can be controlled: when σ is large, the time interval between two triggering moments is longer, reducing the computational load; when σ is small, the frequency of solving the optimal control problem increases, improving the system's tracking accuracy. Therefore, the choice of σ value should consider the different performance requirements of the system.

[0107] Furthermore, since the movement intention of obstacles is uncertain, there is an inherent error in obstacle prediction. Similar to robot state errors, when obstacle prediction errors exceed a threshold, collisions may occur, requiring a re-evaluation of the optimal control problem.

[0108] n″ k =inf{n|||p Ο,j (k+n)-p Ο,j (k+n|k)|| 2 ≥Δ j (k+n)}

[0109] Where, n′ k The minimum number of control inputs required to satisfy the event triggering conditions. Δ j (k+n) is the threshold corresponding to this event, which satisfies the following adaptive adjustment law:

[0110] Δ j (k+1)=Δ j (k)+T*δ(k)*Δ j (k)

[0111] Where δ(k) is the threshold change adjustment coefficient, satisfying:

[0112]

[0113] Where μ1, μ2, δ1 and δ2 are positive adjustable parameters. It is the actual relative distance ||p(k)-p Ο (k)|| ratio to the allowable relative distance λ:

[0114]

[0115] and The defined boundary of change.

[0116] When the mobile robot is in a relatively safe position, that is, when the mobile robot is far away from surrounding obstacles (actual relative distance ||p(k)-p) Ο (k)|| is greater than the allowable relative distance λ, that is ), δ(k) will be set to In this case, the trigger threshold Δ jAs |p(k)| increases, the allowable prediction error for obstacles increases, and the triggering frequency decreases accordingly. Conversely, when the mobile robot is in a relatively dangerous position, i.e., ||p(k)-p||, the error decreases. Ο (k)||<λ, δ(k) will be set to In this case, the trigger threshold Δ j As (k) decreases, the allowable prediction error for obstacles continuously decreases, while the triggering frequency continuously increases. Through this flexible adaptive adjustment law, the relationship between safety and computational burden can be balanced, thereby improving the autonomy of obstacle avoidance in mobile robots.

[0117] In each control cycle, it is determined whether the two errors exceed their corresponding thresholds. If not, the next control input is input into the control sequence; otherwise, the control input sequence is recalculated. Furthermore, once all control inputs have been received (n=N), it is clear that the optimal control problem needs to be solved again to obtain a new control sequence. Therefore, the actual number of input control inputs is:

[0118] n=min{n′ k ,n″ k ,N}

[0119] The time interval between two adjacent events is:

[0120] t k+1 =t k +T*min{n′ k ,n″ k ,N}

[0121] Among them, t k t is the current trigger time. k+1 This is the next trigger moment.

[0122] Those skilled in the art will readily understand that the above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.

Claims

1. A method for dynamic obstacle avoidance of a robot based on model predictive control, characterized in that, The method includes the following steps: S1 acquires the robot's state information and global path, and uses this information to establish the robot's kinematic tracking error model; S2 monitors the current position, velocity, and acceleration of obstacles in real time to predict the position of the obstacles in the next moment, and uses the position of the obstacles in the next moment to construct an obstacle avoidance cost function; S3 uses the robot's tracking error model and obstacle avoidance cost function to construct a model prediction controller for the robot's speed. The inputs of the model prediction controller are the robot's actual speed, pose, global path, and obstacle positions, and the output is the robot's predicted speed. S4 Calculate the robot's pose at the predicted speed using the predicted speed, calculate the error between the predicted speed and the measured robot pose to obtain the robot pose error, and calculate the position error of the obstacle at the same time. When both the robot pose error and the obstacle error are less than a preset threshold, use the robot's predicted speed as the speed input for the next moment; otherwise, return to step S3. In step S3, the model prediction controller performs the following: in, N To predict the time domain, This is a penalty term for state error. For reference only. To control the input error penalty term, For reference control input, This is a penalty term for acceleration error. For the cost of the terminal, As an obstacle avoidance penalty item, Here are the state equations of the system. This represents the initial state of the system. , , and These are the minimum and maximum values ​​of the control quantity and control increment, respectively. and The first j The first obstacle corresponds to the first i The normal vector and intercept of the dividing line, and These are the position coordinates of the robot and the obstacle at the corresponding time.

2. The robot dynamic obstacle avoidance method based on model predictive control as described in claim 1, characterized in that, In step S1, the kinematic tracking error model of the robot is determined according to the following relationship: in, For the robot's tracking error on the reference path, The derivative of the error. This refers to the system state of the mobile robot, that is, the state of the mobile robot in the global coordinate system. Including position coordinates and posture , As the system's reference state, the robot's linear velocity, angular velocity, reference linear velocity, and reference angular velocity are respectively expressed as: , , and .

3. A robot dynamic obstacle avoidance method based on model predictive control as described in claim 1 or 2, characterized in that, In step S2, the obstacle avoidance cost function is calculated according to the following formula: in, m It is the total number of obstacles detected, in the [number]th [number]. k The calculated number of sampling times is... k + i Total obstacle avoidance cost function at time step Depend on m The obstacle avoidance cost function corresponding to each obstacle Summation constitutes the result.

4. The robot dynamic obstacle avoidance method based on model predictive control as described in claim 3, characterized in that, The Perform the following formula: in, It is the first j The obstacle is in the first... k + i Relative distance between the mobile robot at a given time and the robot at the corresponding time. The decision, , and These are adjustable parameters that determine the peak value and decay rate of the cost function. d The distance threshold is defined as the distance between the obstacle and the robot when the relative distance is greater than a certain value. d When the obstacle avoidance cost function is zero, the value of the obstacle avoidance cost function is zero.

5. A robot dynamic obstacle avoidance method based on model predictive control as described in claim 1 or 2, characterized in that, In step S4, the robot's predicted pose error event triggering conditions are as follows: in, The minimum number of control input signals required to satisfy the event triggering conditions. P This is the weight matrix. The threshold for allowable error, and They represent the first time. k + n At time t, the robot's actual state and predicted state have a pose error of t = t. .

6. The robot dynamic obstacle avoidance method based on model predictive control as described in claim 4, characterized in that, In step S4, the position error of the obstacle is obtained by predicting the position of the obstacle at the next moment through real-time monitoring of the obstacle's position, velocity, and acceleration, and by calculating the difference between the monitored position of the obstacle at the next moment and the predicted position at the next moment.

7. The robot dynamic obstacle avoidance method based on model predictive control as described in claim 6, characterized in that, In step S4, the position error event triggering condition of the obstacle is as follows: in, The minimum number of control inputs required to satisfy the event triggering conditions. The threshold corresponding to this event. and They represent the first time. k + n At any given time, the actual state and predicted state of the obstacle have a position error of: .

8. A system employing model predictive control for dynamic obstacle avoidance in a robot, characterized in that, Includes a processor that executes the robot dynamic obstacle avoidance method based on model predictive control as described in any one of claims 1-7.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the robot dynamic obstacle avoidance method based on model predictive control as described in any one of claims 1-5.

Citation Information

Patent Citations

  • Robust model prediction control method for omni-directional mobile robot

    CN116165895A

  • Robot trajectory tracking control method, system and equipment

    CN117032224A