Double obstacle avoidance method for mechanical arm in narrow space
Through sensor data and path planning algorithms, the robot arm's dynamic obstacle avoidance in a small space is realized, which solves the problem of poor obstacle avoidance in the existing technology and improves the obstacle avoidance efficiency and safety of the robot arm.
Patent Information
- Application Number
- CN202410954447.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-17
- Publication Date
- 2024-10-29
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing robot arm obstacle avoidance methods cannot perform dynamic capture in a small space, resulting in poor obstacle avoidance effects and prone to collisions.
Obtain location data of the surrounding environment and obstacles through sensors, use a global path planning algorithm to generate a path, and adjust the trajectory of the manipulator in combination with a local dynamic obstacle avoidance algorithm. Monitor and adjust the path and speed in real time to adapt to changes in obstacles. At the same time, through Effectiveness and reliability of simulation software evaluation methods.
The dynamic obstacle avoidance of the robotic arm is realized in a small space, which improves the obstacle avoidance efficiency, reduces the occurrence of collisions, and extends the service life of the robotic arm.
Smart Images

Figure CN118848969A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of robot arm obstacle avoidance, and in particular relates to a dual obstacle avoidance method for a robot arm in a narrow space. Background Art
[0002] A robotic arm is a mechanical device that can simulate the movement of a human arm. It is usually composed of rigid rods or chains connected by multiple joints. Each joint can control its position or angle, so that the entire robotic arm can perform precise movements and operations in three-dimensional space. Robotic arms are usually used in industrial production lines, assembly, welding, handling and other occasions that require precise and repetitive movements. They are also widely used in medical, scientific research, aerospace and other fields. Robotic arms will encounter various obstacles during operation and need to avoid them.
[0003] The existing robot arm obstacle avoidance method cannot perform dynamic capture in a small space, resulting in poor obstacle avoidance effect and easy collision. Summary of the invention
[0004] In view of the deficiencies in the prior art, the present invention provides a dual obstacle avoidance method for a robotic arm in a narrow space, which has the advantages of being able to perform dynamic capture, calculate the optimal route, and have a good obstacle avoidance effect.
[0005] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: a dual obstacle avoidance method for a robotic arm in a narrow space, the obstacle avoidance method comprising: obtaining the position data of the surrounding environment and obstacles through sensors, and measuring the distance of the surrounding environment and the position of obstacles in real time; generating a path through a global path planning algorithm according to a map of the target position and surrounding obstacles, and using a local dynamic obstacle avoidance algorithm to adjust the trajectory of the robotic arm in combination with real-time sensor data; simultaneously monitoring obstacles on both sides, integrating multiple sensor data, and calculating a safe moving path; as the robotic arm moves, adjusting the path and speed in real time to adapt to changes in the position of obstacles in the environment; and testing in actual scenarios through simulation software to evaluate the effectiveness and reliability of the dual obstacle avoidance method.
[0006] Preferably, the step of S1 is:
[0007] The surrounding environment and obstacle positions are detected by visual sensors, obstacle detection and tracking is achieved through image processing technology, and the distance of the surrounding environment and obstacle positions are measured in real time by ultrasonic sensors. The distance threshold and reflection intensity are used to determine whether there are obstacles, and their positions and sizes are calculated.
[0008] Perform data preprocessing and filtering;
[0009] As the robotic arm moves, the position information of the obstacle is continuously updated and this data is fed back to the control system of the robotic arm.
[0010] Preferably, the step of S2 is:
[0011] Based on the previously acquired environment map and obstacle location data, a static map is constructed using laser scanning data;
[0012] Input the starting point and target point of the robot arm, and use the global path planning algorithm to calculate the shortest path from the starting point to the target point that avoids obstacles;
[0013] The steps of the global path planning algorithm are:
[0014] d(v) is the shortest path length from the starting point to node v;
[0015] δ(u,v) is the weight of the edge from node u to node v;
[0016] Algorithm steps:
[0017] Initialization: Set d(s) of the starting node s to 0 and d(v) of other nodes to infinity;
[0018] For all nodes v, repeat the following steps until all nodes are marked as shortest paths;
[0019] Select the unmarked node u that is currently closest to the starting point;
[0020] For each adjacent node v of u, update (d(v) = min(d(v), d(u) + δ(u, v)));
[0021] The algorithm ends when the target node is marked as the shortest path and all reachable nodes have been processed.
[0022] Preferably, for complex environments, the generated paths are optimized;
[0023] Output the final global path to the control system of the robot arm;
[0024] While the robotic arm is performing its tasks, it continuously obtains real-time environmental data from sensors;
[0025] Process sensor data in real time to detect obstacles around the current robotic arm;
[0026] Use local obstacle avoidance algorithms to adjust the robot's motion trajectory based on real-time sensor data to avoid detected obstacles;
[0027] The global path is combined with the local obstacle avoidance path adjustment strategy to dynamically update the motion target point and trajectory of the robot arm.
[0028] Preferably, the step of S3 is:
[0029] The data from different sensors are fused through Kalman filtering method;
[0030] The fusion process is:
[0031] Status prediction:
[0032] Measuring prediction error:
[0033] Kalman gain:
[0034] Update the state estimate:
[0035]
[0036] in, is the state estimate after time update, P kk-1 is the state covariance estimate after time update, Fk: state transfer matrix, describing the state transfer process of the system, Bk control input matrix, indicating the influence of external control on the state, uk is the external control input vector, zk is the measured value at the current moment, H k is the measurement matrix, describing how measurements are related to states, is the measure prediction covariance, K k is the Kalman gain, which is used to adjust the state estimate after time update, To measure the updated state estimate, P kk-1 is the state covariance estimate after the measurement update.
[0037] Preferably, based on the selected path planning algorithm, the path is generated taking into account safety factors;
[0038] The generated path is optimized and the evaluation function is used to evaluate the quality of the path.
[0039] Preferably, the step of S4 is:
[0040] Analyze the current motion path and speed setting of the robot arm to understand its position in the environment and the expected motion trajectory;
[0041] Continuously monitor the location and status changes of obstacles in the environment;
[0042] Use real-time sensor data to update the environment model to ensure the accuracy and real-time location of obstacles;
[0043] When the obstacle position changes and new obstacles appear, the path planning update is triggered;
[0044] Use dynamic path planning algorithm to recalculate the safe path of the robot arm;
[0045] Adjust the speed setting of the robot arm according to the new path planning.
[0046] Preferably, the motion process of the robot arm and the environmental perception data are monitored in real time;
[0047] According to the real-time obstacle information and path planning results, feedback is given to the control system to adjust the movement trajectory and speed of the robot arm;
[0048] Continuously iterate the path planning and speed adjustment process to adapt to the continuous changes in the position of obstacles in the environment;
[0049] Through the feedback control system, the movement path of the robot arm is continuously optimized.
[0050] Preferably, the step of 5 is:
[0051] Determine specific indicators for evaluating the dual obstacle avoidance method, including obstacle avoidance success rate, obstacle avoidance time, path efficiency and system response time;
[0052] Set the test environment in the simulation software and the actual scene, including the type, number, size of obstacles, and the starting and target positions of the robot arm;
[0053] Establish a simulation model: Establish a virtual scene including the robot arm and environment model in the simulation software;
[0054] Set simulation parameters: Set simulation parameters, including the robot's controller, sensor performance, obstacle location and motion status;
[0055] Run simulation experiments: Perform multiple simulation experiments to evaluate the performance of the dual obstacle avoidance method in different situations and record key data, including obstacle avoidance success rate, number of path replanning times, and average response time.
[0056] Preferably, the designed dual obstacle avoidance system is deployed on an actual robotic arm platform;
[0057] Prepare test scenarios, including ensuring sensors work properly and that the environment model matches reality;
[0058] Conduct multiple actual tests to record and analyze the robot's obstacle avoidance performance in actual environments;
[0059] Collect all key data from simulation software and actual tests, and use statistical methods and chart analysis to compare the dual obstacle avoidance effects under different test conditions;
[0060] According to the evaluation indicators, the reliability and performance of the dual obstacle avoidance method are evaluated;
[0061] Based on the evaluation results, the advantages and disadvantages of the dual obstacle avoidance method are summarized;
[0062] Adjust path planning, obstacle avoidance strategy or hardware configuration based on the problems found and room for improvement.
[0063] Compared with the prior art, the present invention has the following beneficial effects:
[0064] Through the fusion and analysis of data, this application can quickly identify the optimal route in a small space, thereby making the obstacle avoidance efficiency of the robotic arm higher, avoiding collisions in large numbers, and extending the service life of the robotic arm. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 It is a flow chart of the steps of the present invention. DETAILED DESCRIPTION
[0066] Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making any creative work shall fall within the scope of protection of the present invention.
[0067] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0068] The present invention provides a technical solution: a dual obstacle avoidance method for a robotic arm in a narrow space, the obstacle avoidance method comprising: S1: acquiring position data of the surrounding environment and obstacles through a sensor, and measuring the distance of the surrounding environment and the position of the obstacles in real time;
[0069] S2: Based on the map of the target location and surrounding obstacles, a global path planning algorithm is used to generate a path, and a local dynamic obstacle avoidance algorithm is used to adjust the trajectory of the robot arm in combination with real-time sensor data;
[0070] S3: monitors obstacles on both sides simultaneously, integrates data from multiple sensors, and calculates a safe movement path;
[0071] S4: As the robot moves, the path and speed are adjusted in real time to adapt to the changes in the position of obstacles in the environment;
[0072] S5: Test in real scenarios using simulation software to evaluate the effectiveness and reliability of the dual obstacle avoidance method.
[0073] Among them, the steps of S1 are:
[0074] The surrounding environment and obstacle positions are detected by visual sensors, obstacle detection and tracking is achieved through image processing technology, and the distance of the surrounding environment and obstacle positions are measured in real time by ultrasonic sensors. The distance threshold and reflection intensity are used to determine whether there are obstacles, and their positions and sizes are calculated.
[0075] Perform data preprocessing and filtering;
[0076] As the robotic arm moves, the position information of the obstacle is continuously updated and this data is fed back to the control system of the robotic arm.
[0077] Furthermore, the steps of S2 are:
[0078] Based on the previously acquired environment map and obstacle location data, a static map is constructed using laser scanning data;
[0079] Input the starting point and target point of the robot arm, and use the global path planning algorithm to calculate the shortest path from the starting point to the target point that avoids obstacles;
[0080] The steps of the global path planning algorithm are:
[0081] d(v) is the shortest path length from the starting point to node v;
[0082] δ(u,v) is the weight of the edge from node u to node v;
[0083] Algorithm steps:
[0084] Initialization: Set d(s) of the starting node s to 0 and d(v) of other nodes to infinity;
[0085] For all nodes v, repeat the following steps until all nodes are marked as shortest paths;
[0086] Select the unmarked node u that is currently closest to the starting point;
[0087] For each adjacent node v of u, update (d(v) = min(d(v), d(u) + δ(u, v)));
[0088] The algorithm ends when the target node is marked as the shortest path and all reachable nodes have been processed.
[0089] Furthermore, for complex environments, the generated paths are optimized;
[0090] Output the final global path to the control system of the robot arm;
[0091] While the robotic arm is performing its tasks, it continuously obtains real-time environmental data from sensors;
[0092] Process sensor data in real time to detect obstacles around the current robotic arm;
[0093] Use local obstacle avoidance algorithms to adjust the robot's motion trajectory based on real-time sensor data to avoid detected obstacles;
[0094] The global path is combined with the local obstacle avoidance path adjustment strategy to dynamically update the motion target point and trajectory of the robot arm.
[0095] Furthermore, the steps of S3 are:
[0096] The data from different sensors are fused through Kalman filtering method;
[0097] The fusion process is:
[0098] Status prediction:
[0099] Measuring prediction error:
[0100] Kalman gain:
[0101] Update the state estimate:
[0102]
[0103] in, is the state estimate after time update, P kk-1 is the state covariance estimate after time update, Fk: state transfer matrix, describing the state transfer process of the system, Bk control input matrix, indicating the influence of external control on the state, uk is the external control input vector, zk is the measured value at the current moment, H k is the measurement matrix, describing how measurements are related to states, is the measure prediction covariance, K k is the Kalman gain, which is used to adjust the state estimate after time update, To measure the updated state estimate, P kk-1 is the state covariance estimate after the measurement update.
[0104] Further, based on the selected path planning algorithm, a path is generated taking into account safety factors;
[0105] The generated path is optimized and the evaluation function is used to evaluate the quality of the path.
[0106] Furthermore, the steps of S4 are:
[0107] Analyze the current motion path and speed setting of the robot arm to understand its position in the environment and the expected motion trajectory;
[0108] Continuously monitor the location and status changes of obstacles in the environment;
[0109] Use real-time sensor data to update the environment model to ensure the accuracy and real-time location of obstacles;
[0110] When the obstacle position changes and new obstacles appear, the path planning update is triggered;
[0111] Use dynamic path planning algorithm to recalculate the safe path of the robot arm;
[0112] Adjust the speed setting of the robot arm according to the new path planning.
[0113] Furthermore, the robot arm’s motion process and environmental perception data are monitored in real time;
[0114] According to the real-time obstacle information and path planning results, feedback is given to the control system to adjust the movement trajectory and speed of the robot arm;
[0115] Continuously iterate the path planning and speed adjustment process to adapt to the continuous changes in the position of obstacles in the environment;
[0116] Through the feedback control system, the movement path of the robot arm is continuously optimized.
[0117] Furthermore, the steps of S5 are:
[0118] Determine specific indicators for evaluating the dual obstacle avoidance method, including obstacle avoidance success rate, obstacle avoidance time, path efficiency and system response time;
[0119] Set the test environment in the simulation software and the actual scene, including the type, number, size of obstacles, and the starting and target positions of the robot arm;
[0120] Establish a simulation model: Establish a virtual scene including the robot arm and environment model in the simulation software;
[0121] Set simulation parameters: Set simulation parameters, including the robot's controller, sensor performance, obstacle location and motion status;
[0122] Run simulation experiments: Perform multiple simulation experiments to evaluate the performance of the dual obstacle avoidance method in different situations and record key data, including obstacle avoidance success rate, number of path replanning times, and average response time.
[0123] Furthermore, the designed dual obstacle avoidance system is deployed on the actual robotic arm platform;
[0124] Prepare test scenarios, including ensuring sensors work properly and that the environment model matches reality;
[0125] Conduct multiple actual tests to record and analyze the robot's obstacle avoidance performance in actual environments;
[0126] Collect all key data from simulation software and actual tests, and use statistical methods and chart analysis to compare the dual obstacle avoidance effects under different test conditions;
[0127] According to the evaluation indicators, the reliability and performance of the dual obstacle avoidance method are evaluated;
[0128] Based on the evaluation results, the advantages and disadvantages of the dual obstacle avoidance method are summarized;
[0129] Adjust path planning, obstacle avoidance strategy or hardware configuration based on the problems found and room for improvement.
[0130] Embodiment 1
[0131] S1: Obtain the location data of the surrounding environment and obstacles through sensors, and measure the distance of the surrounding environment and the location of obstacles in real time;
[0132] S2: Based on the map of the target location and surrounding obstacles, a global path planning algorithm is used to generate a path, and a local dynamic obstacle avoidance algorithm is used to adjust the trajectory of the robot arm in combination with real-time sensor data;
[0133] S3: monitors obstacles on both sides simultaneously, integrates data from multiple sensors, and calculates a safe movement path;
[0134] S4: As the robot moves, the path and speed are adjusted in real time to adapt to the changes in the position of obstacles in the environment;
[0135] S5: Test in real scenarios using simulation software to evaluate the effectiveness and reliability of the dual obstacle avoidance method.
[0136] Comparative Example 1
[0137] S1: Obtain the location data of the surrounding environment and obstacles through sensors, and measure the distance of the surrounding environment and the location of obstacles in real time;
[0138] S2: Based on the map of the target location and surrounding obstacles, a global path planning algorithm is used to generate a path, and a local dynamic obstacle avoidance algorithm is used to adjust the trajectory of the robot arm in combination with real-time sensor data;
[0139] S3: As the robot moves, the path and speed are adjusted in real time to adapt to changes in the position of obstacles in the environment.
[0140] The above description only describes the specific implementation mode of the present invention. Various examples do not limit the essential content of the present invention. After reading the description, ordinary technicians in the relevant technical field can modify or deform the specific implementation mode described above without departing from the essence and scope of the invention.
Claims
1. A dual obstacle avoidance method for a robotic arm in a narrow space. It is characterized in that Obstacle avoidance methods include: S1: Obtain the location data of the surrounding environment and obstacles through sensors, and measure the distance of the surrounding environment and the location of obstacles in real time; S2: Based on the map of the target location and surrounding obstacles, a global path planning algorithm is used to generate a path, and a local dynamic obstacle avoidance algorithm is used to adjust the trajectory of the robot arm in combination with real-time sensor data; S3: monitors obstacles on both sides simultaneously, integrates data from multiple sensors, and calculates a safe movement path; S4: As the robot moves, the path and speed are adjusted in real time to adapt to the changes in the position of obstacles in the environment; S5: Test in real scenarios using simulation software to evaluate the effectiveness and reliability of the dual obstacle avoidance method.
2. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 1, It is characterized in that The steps of S1 are: The surrounding environment and obstacle positions are detected by visual sensors, obstacle detection and tracking is achieved through image processing technology, and the distance of the surrounding environment and obstacle positions are measured in real time by ultrasonic sensors. The distance threshold and reflection intensity are used to determine whether there are obstacles, and their positions and sizes are calculated. Perform data preprocessing and filtering; As the robotic arm moves, the position information of the obstacle is continuously updated and this data is fed back to the control system of the robotic arm.
3. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 1, Features: The steps of S2 are: Based on the previously acquired environment map and obstacle location data, a static map is constructed using laser scanning data; Input the starting point and target point of the robot arm, and use the global path planning algorithm to calculate the shortest path from the starting point to the target point that avoids obstacles; The steps of the global path planning algorithm are: d(v) is the shortest path length from the starting point to node v; δ(u,v) is the weight of the edge from node u to node v; Algorithm steps: Initialization: Set d(s) of the starting node s to 0 and d(v) of other nodes to infinity; For all nodes v, repeat the following steps until all nodes are marked as shortest paths; Select the unmarked node u that is currently closest to the starting point; For each adjacent node v of u, update (d(v) = min(d(v), d(u) + δ(u, v))); The algorithm ends when the target node is marked as the shortest path and all reachable nodes have been processed.
4. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 3, Features: Output the final global path to the control system of the robot arm; While the robotic arm is performing its tasks, it continuously obtains real-time environmental data from sensors; Process sensor data in real time to detect obstacles around the current robotic arm; Use local obstacle avoidance algorithms to adjust the robot's motion trajectory based on real-time sensor data to avoid detected obstacles; The global path is combined with the local obstacle avoidance path adjustment strategy to dynamically update the motion target point and trajectory of the robot arm.
5. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 1, It is characterized in that The steps of S3 are: The data from different sensors are fused through Kalman filtering method; The fusion process is: Status prediction: Measuring prediction error: Kalman gain: Update the state estimate: in, is the state estimate after time update, P kk-1 is the state covariance estimate after time update, Fk: state transfer matrix, describing the state transfer process of the system, Bk control input matrix, indicating the influence of external control on the state, uk is the external control input vector, zk is the measured value at the current moment, H k is the measurement matrix, describing how measurements are related to states, is the measure prediction covariance, K k is the Kalman gain, which is used to adjust the state estimate after time update, To measure the updated state estimate, P kk-1 is the state covariance estimate after the measurement update.
6. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 5, Features: Based on the selected path planning algorithm, a path is generated taking into account safety factors; The generated path is optimized and the evaluation function is used to evaluate the quality of the path.
7. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 1, It is characterized in that The steps of S4 are: Analyze the current motion path and speed setting of the robot arm to understand its position in the environment and the expected motion trajectory; Continuously monitor the location and status changes of obstacles in the environment; Update environmental models using real-time sensor data; When the obstacle position changes and new obstacles appear, the path planning update is triggered; Use a dynamic path planning algorithm to recalculate the safe path of the robot arm.
8. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 7, Features: Real-time monitoring of the robot's motion process and environmental perception data; According to the real-time obstacle information and path planning results, feedback is given to the control system to adjust the movement trajectory and speed of the robot arm; Continuously iterate the path planning and speed adjustment process to adapt to the continuous changes in the position of obstacles in the environment; Through the feedback control system, the movement path of the robot arm is continuously optimized.
9. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 1, It is characterized in that The steps of S5 are: Set the test environment in the simulation software and the actual scene, including the type, number, size of obstacles, and the starting and target positions of the robot arm; Establish a simulation model: Establish a virtual scene including the robot arm and environment model in the simulation software; Set simulation parameters: Set simulation parameters, including the robot's controller, sensor performance, obstacle location and motion status; Run simulation experiments: Perform multiple simulation experiments to evaluate the performance of the dual obstacle avoidance method in different situations and record key data, including obstacle avoidance success rate, number of path replanning times, and average response time.
10. The dual obstacle avoidance method for a robotic arm in a narrow space according to claim 1, Features: Deploy the designed dual obstacle avoidance system onto the actual robotic arm platform; Prepare test scenarios, conduct actual tests, and record and analyze the robot's obstacle avoidance performance in actual environments; Collect data from simulation software and actual tests, and use statistical methods and chart analysis to compare the dual obstacle avoidance effects under different test conditions; According to the evaluation indicators, the reliability and performance of the dual obstacle avoidance method are evaluated; Based on the evaluation results, the advantages and disadvantages of the dual obstacle avoidance method are summarized; Adjust path planning, obstacle avoidance strategy and hardware configuration based on the problems found and room for improvement.
Citation Information
Cited By
Three-mechanical-arm cooperative path planning method and system based on space obstacle avoidance
CN120663310A
A Collaborative Path Planning Method and System for Three Robotic Arms Based on Spatial Obstacle Avoidance
CN120663310B
Cooperative operation method for multiple long-distance gantry cranes
CN120698347A
