← Latest papers
⚡ electrical engineering

A Study on Dynamic Obstacle Avoidance Using the UR5 Robot Arm

This paper proposes a hierarchical online obstacle avoidance framework for the UR5 robotic arm that integrates offline RRT* planning with APF-based trajectory pre-bending and a two-layer soft-constrained linear MPC, achieving real-time performance, smooth motion, and 100% safety compliance in dynamic environments through independent capsule-based safety gating.

Original authors: 敬业 段, 谭飞

Published 2026-08-18
📖 7 min read🧠 Deep dive

Original authors: 敬业 段, 谭飞

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

In the bustling factories of tomorrow, robots are no longer confined to caged cages, working in isolation from human hands. They are moving into shared spaces, collaborating alongside people to assemble cars, pack boxes, and handle delicate materials. This shift demands a fundamental change in how these machines think. A robot arm in a static factory can follow a pre-programmed path with perfect precision, but in a dynamic world where humans and objects move unpredictably, that same rigid path becomes a hazard. The core challenge for engineers is to teach a robot to see a moving obstacle, predict where it will be a split second from now, and smoothly steer around it without stopping, jerking, or crashing. This requires a delicate balance: the robot must be fast enough to react in real-time, smart enough to plan a safe route, and gentle enough to keep its movements fluid so it doesn't damage itself or the items it carries.

Researchers at Sichuan University of Science and Engineering have tackled this problem by developing a new, three-layered strategy for a standard six-jointed robot arm known as the UR5. Their approach, detailed in a recent study, moves away from relying on a single, complex algorithm to solve every problem at once. Instead, they broke the task down into three distinct phases: a long-term plan, a mid-term adjustment, and a final safety check. The goal was to create a system that could navigate a workspace filled with moving spheres and boxes, ensuring the robot never collides while keeping its movements smooth and its reaction times fast enough to run on standard industrial controllers.

The first layer of their system happens before the robot even starts moving. The researchers used a method called a rapidly-exploring random tree to map out a safe, collision-free path through the static parts of the room, like fixed pillars or walls. But they didn't stop there. Recognizing that moving obstacles often follow predictable patterns, they added a second step to this offline planning phase. They simulated how a moving object would likely travel and gently bent the robot's planned path in advance to give it extra room. Imagine a driver who, seeing a car merging onto the highway ahead, slightly adjusts their lane position early on to create a comfortable buffer, rather than waiting until the last second to swerve. This "pre-bending" of the path meant the robot didn't have to make sudden, jerky corrections later on, saving its motors from strain and keeping the motion smooth.

Once the robot began its task, the second layer of the system took over. This was the real-time brain of the operation, using a technique called model predictive control. Think of this as a driver constantly looking ahead, checking the road for the next few seconds, and making tiny steering adjustments to stay in the lane. The researchers designed this controller to have two different "zones" of safety. The first zone was a preferred distance, a comfortable buffer where the robot would gently nudge its path to stay away from moving objects. The second zone was a hard safety line, a boundary that the robot could not cross under any circumstances. By treating these two zones differently, the system could be flexible when things were calm but become extremely cautious when an obstacle got too close. This dual-layer approach allowed the robot to maintain a smooth trajectory while still having a robust defense against sudden dangers.

However, the researchers knew that even the best predictions can be wrong. If a moving object suddenly changes direction or speed, the robot's plan might no longer be safe. To address this, they added a third, independent layer that acted as a final gatekeeper. Before the robot executed any command, this layer performed a rapid, geometric check to ensure the arm would not hit anything during the next fraction of a second. If the check failed, the system had a three-step emergency plan: first, it would try to brake; if that wasn't enough, it would push the arm away from the danger; and if all else failed, it would hold its position and sound an alarm. This safety gate ensured that even if the main planning system made a mistake, the robot would not cross the hard safety line.

The team tested this system extensively in computer simulations, pitting it against other common methods used in robotics. In one set of tests, they compared their new method to a standard technique called the artificial potential field, which is known for being simple but often results in jerky, stop-and-go movements. The results were striking. While both methods successfully avoided collisions, the new hierarchical system produced movements that were significantly smoother. The researchers measured the "jerk," or the suddenness of changes in acceleration, and found that their method reduced this value to less than half of what the standard method produced. This means the robot moved with a fluidity that is much gentler on its mechanical parts and better for the delicate objects it might be handling.

Safety was the most critical metric, and the system performed flawlessly in this regard. Across one hundred random scenarios involving moving obstacles, the robot never once breached the hard safety boundary. In contrast, other tested methods that lacked the final safety gate failed completely, crashing into obstacles in every single trial. The researchers also tested how the system handled errors in prediction. They created a scenario where a moving object changed direction sharply, a situation where the robot's prediction of its path would be wrong. Even in these difficult cases, the independent safety gate caught the potential errors and prevented a collision, proving that the system could remain safe even when its predictions were imperfect.

The study also looked at the speed of the system, a crucial factor for real-world use. The entire process of planning, checking, and verifying had to happen within a very tight time window of 24 milliseconds, which is the standard heartbeat of industrial robot controllers. The researchers found that their system met this requirement with ease. The median time to solve the problem was just 7.7 milliseconds, and even in the most complex situations, the system rarely exceeded 16 milliseconds. This left plenty of time for the robot to react to new changes in the environment. Furthermore, the researchers verified that the forces and speeds required to execute these movements were well within the physical limits of the UR5 robot, ensuring that the plan was not just mathematically sound but physically possible.

Through a series of detailed experiments, the researchers demonstrated that separating the tasks of planning, reacting, and verifying creates a more robust and efficient system than trying to do everything at once. By shifting some of the workload to the offline planning phase, they freed up the real-time controller to focus on smooth, precise adjustments. By adding a final safety gate, they ensured that the robot could handle the unexpected without failing. The result is a robot that can work safely alongside humans, moving with a grace and reliability that brings the vision of collaborative robotics closer to reality. The study concludes that while no system can predict the future perfectly, a layered approach that combines foresight with independent verification can create a safety net strong enough to handle the uncertainties of a dynamic world.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →