Introduction
In safety-critical robotics, such as human-robot collaboration, systems must often satisfy constraints within specific time windows. Traditional safety controllers typically aim to maintain safety indefinitely, assuming the system begins in a safe state. However, real-world scenarios frequently involve robots starting in unsafe configurations due to environmental changes. In these cases, the system must be "rescued" into a safe zone by a user-defined deadline ($T_{pre}$), a concept known as Prescribed-Time Safety (PTSf).
While PTSf is achievable for systems with perfectly known dynamics, it often fails when faced with model inaccuracies like friction or external disturbances. This paper introduces a novel Learning-based Prescribed-Time Safety (PTSGPC) controller designed to guarantee safety for systems with unknown dynamics with high probabilistic certainty.
Methodology
The PTSGPC framework integrates machine learning with control theory through three primary pillars:
- Gaussian Process Regression (GPR): The controller employs GPR to learn unknown system dynamics from data. Unlike deterministic models, GPR provides both a mean prediction and a variance, offering a rigorous measure of uncertainty.
- Time-Varying "Blow-up" Functions: To enforce the temporal deadline, the authors utilize a function $\phi(t)$ that approaches infinity as the clock nears the deadline. This effectively forces the system state into the safe region by making the cost of remaining unsafe prohibitively high.
- Backstepping Control Barrier Functions (CBFs): For high-order systems (e.g., controlling acceleration to affect position), a backstepping approach is used to design a series of barrier functions. These are integrated into a Quadratic Program (QP) optimization loop to calculate safe control inputs in real-time.
A key innovation is the Robust QP constraint, which subtracts the GP's uncertainty bound from the safety margin. This ensures that even with imperfect predictions, the system remains safe with a high probability (e.g., $1 - m\delta$).
Experimental Evaluation
The framework was evaluated using a simulated two-link robotic manipulator. The researchers collected a training dataset of 900 data pairs across the joint space ($q_1, q_2 \in [-2\pi, 2\pi]$). To test the GP's learning capability, complex unknown dynamics—including unmodeled sine and cosine effects—were injected into the simulation.
As shown in the state-space trajectories, the PTSGPC controller successfully drives the robot from an initial state into the safe region defined by the constraints, whereas nominal controllers fail to account for the required safety boundaries.
Key Results and Discussion
The simulation results demonstrate the superior reliability of the PTSGPC approach compared to standard baselines. While the standard PTSf controller (PTSC) can reach the safe region, it often violates safety constraints immediately afterward because it cannot compensate for unmodeled system "drift."
The evolution of the safety barrier functions (shown above) confirms that PTSGPC maintains the system within the safe region (green) throughout the task. The GP prediction error remained strictly within the calculated probabilistic bounds, validating the effectiveness of the learning component.
Conclusion and Future Work
This work highlights that accounting for uncertainty is a safety requirement, not just a performance metric. The PTSGPC framework successfully treats "staying safe" and "becoming safe" under a single mathematical umbrella, independent of the initial state.
Future research will address QP feasibility in highly crowded environments where safety constraints might become impossible to satisfy, as well as the computational challenges of scaling Gaussian Processes for real-time control on lower-power hardware using sparse or distributed GP methods.
Summary updated