Systems and methods for robot safety control with poisson's equation

Poisson's equation is used to generate smooth safety functions for robotic systems, addressing erratic control issues and enabling flexible, collision-free navigation in complex environments.

WO2026241451A1PCT designated stage Publication Date: 2026-11-19CALIFORNIA INST OF TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/US2026/028077
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-13
Filing Date
2026-05-13
Publication Date
2026-11-19

AI Technical Summary

Technical Problem

Existing robotic navigation systems face challenges in safely navigating dynamic and complex environments due to gradient discontinuities in safety representations, leading to erratic control behavior and hardware degradation, and lack flexibility in tuning safety and goal-seeking behavior independently.

Method used

Utilizing Poisson's equation to synthesize smooth safety functions directly from perception data, constructing guidance fields via Laplace's equation, and applying safety filters to adjust nominal control commands, ensuring the robotic system operates within safe regions.

Benefits of technology

Enables smooth and reliable collision-free navigation in dynamically changing environments by reducing gradient discontinuities and providing flexible control design, enhancing hardware performance and safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure US2026028077_19112026_PF_FP_ABST
    Figure US2026028077_19112026_PF_FP_ABST
Patent Text Reader

Abstract

One embodiment includes a robotic system including sensor configured to acquire sensor data of an environment, at least one processor, a memory storing instructions that cause the robotic system to generate an occupancy map based on the sensor data, the occupancy map identifying a free space region and obstacle boundaries within the environment, determine a forcing function based on a set of safety properties, determine a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries, determine safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function. The robotic system further includes actuators configured to execute the safe control commands.
Need to check novelty before this filing date? Find Prior Art

Description

SYSTEMS AND METHODS FOR ROBOT SAFETY CONTROL WITH POISSON'SEQUATIONCROSS-REFERENCE TO RELATED APPLICATIONS

[0001] The present application claims benefit under 35 U. S. C. §119(e) to U. S. Provisional Patent Application No. 63 / 804,853, titled " Poisson Safety Functions", filed May 13, 2025, and U. S. Provisional Patent Application No. 64 / 064,761, titled " Multistage Safety Filters", filed May 13, 2026, the disclosures of which are incorporated herein by reference in their entireties.FIELD OF INVENTION

[0002] The present disclosure relates to control systems, and more particularly to controlling robotic systems using safety filters synthesized using Poisson's equation.BACKGROUND

[0003] Robotic systems have become increasingly prevalent across a wide range of industries, including manufacturing, healthcare, logistics, and consumer applications. These systems typically comprise mechanical components, sensors, actuators, and control units that work together to perform automated tasks with varying degrees of autonomy. As robotic systems have evolved, they have become capable of operating in closer proximity to humans and in more complex environments that include both static obstacles such as walls and furniture, and dynamic obstacles such as pedestrians and other moving objects.

[0004] Safe navigation is an important consideration in the design and operation of robotic systems. A robotic system operating in a real-world environment may encounter obstacles and hazards that the system should avoid to prevent injury to humans, damage to property, and harm to the robotic system itself. Safety controls may include physical barriers, emergency stop functions, force and torque limiting, speed monitoring, and sensor-based detection systems that enable robots to perceive and respond to their surroundings. Robotic systems may use functional representations of the environment to characterize which regions are safe for navigation and which regions are occupied by obstacles.

[0005] Various approaches have been developed for representing safe and unsafe regions within an environment for robotic navigation purposes. These approaches may involve computing distance-based metrics, constructing potential fields, or using geometric representations to guide robot motion away from obstacles. The selection of a particular representation can affect the smoothness of robot motion, the computational resources consumed during navigation, and the ability of the robotic system to respond to changes in the environment as obstacles move or environmental conditions evolve.SUMMARY

[0006] This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

[0007] One embodiment includes a robotic system. The robotic system includes at least one sensor configured to acquire sensor data of an environment. The robotic system includes at least one processor. The robotic system includes a memory storing instructions that, when executed by the at least one processor, cause the robotic system to generate an occupancy map based on the sensor data, the occupancy map identifying a free space region and obstacle boundaries within the environment. The instructions cause the robotic system to generate a guidance field by solving Laplace's equation on the free space region with boundary flux values prescribed on the obstacle boundaries, the guidance field being a vector field encoding gradient information throughout the free space region. The instructions cause the robotic system to determine a forcing function based on the guidance field. The instructions cause the robotic system to determine a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries. The instructions cause the robotic system to determine safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function. The robotic system includes actuators configured to execute the safe control commands.

[0008] In another embodiment, the forcing function is derived from a divergence of the guidance field, and the instructions further cause the robotic system to apply a transformation tothe divergence to produce the forcing function that maintains negative values throughout the free space region, the transformation being expressed as:wherein / represents a positive parameter, V • / represents the divergence of the guidance field, and represents the forcing function.

[0009] In yet another embodiment, the safety filter uses the guidance field directly in a safety filter constraint, the safety filter constraint being expressed as:v(y) • w > -y (y)wherein / (y)represents the guidance field evaluated at a current position, wrepresents a control input, y > Orepresents a positive parameter, and h(y) represents the safety function value at the current position.

[0010] In a further embodiment, the boundary flux values comprise non-uniform boundary flux values, wherein different obstacles within the environment receive different boundary flux values, and wherein obstacles assigned larger magnitude boundary flux values produce steeper gradients in the safety function compared to obstacles assigned smaller magnitude boundary flux values.

[0011] In still another embodiment, the at least one sensor includes an RGB camera configured to capture image data of the environment. The instructions further cause the robotic system to process the image data using a vision-based segmentation network to generate semantic labels classifying detected obstacles into categories. The instructions cause the robotic system to assign a priority to each detected obstacle based on the semantic label associated with the detected obstacle. The instructions cause the robotic system to convert the priority to a risk value. The instructions cause the robotic system to determine the boundary flux values based on the risk values, wherein higher risk values map to larger magnitude boundary flux values.

[0012] In yet a further embodiment, the safety function is parameterized by an orientation of the robotic system, and the instructions further cause the robotic system to define a robot occupancy set representing spatial regions occupied by the robotic system at each orientation. The instructions further cause the robotic system to construct a reduced safe set for each orientation via a Minkowski difference between the free space region and the robot occupancy set at each orientation. The instructions further cause the robotic system to solve Poisson's equation on a non-cylindrical domain formed by collecting the reduced safe sets across orientations, wherein a Laplacian operator is computed with respect to spatial variables and the orientation serves as a parameter determining a shape of the domain.

[0013] In another embodiment, the safety filter comprises a predictive layer implementing model predictive control that solves a finite-time optimal control problem subject to discrete-time control barrier function constraints over a planning horizon, wherein the discrete-time control barrier function constraints provide that the safety function value at each subsequent time step remains at least a fraction of the safety function value at a current time step. The safety filter further comprises a real-time layer implementing a control barrier function quadratic program that receives an output from the predictive layer and minimizes deviation between a control input and the output from the predictive layer while satisfying a continuous-time safety constraint.

[0014] In still a further embodiment, the safety function is a three-dimensional safety function computed on a buffered domain in three-dimensional space, wherein the buffered domain is generated by shrinking the free space region via a Pontryagin difference operation according to a sampling resolution e > 0, and wherein the safety filter enforces control barrier function constraints at a plurality of sample points distributed across a surface of the robotic system, the plurality of sample points satisfying a coverage condition where every point on the surface lies within distance eof at least one sample point.

[0015] In an additional embodiment, the instructions further cause the robotic system to estimate a temporal derivative of the safety function based on consecutive solutions to Poisson's equation. The instructions further cause the robotic system to incorporate the temporal derivative into a safety filter constraint to account for changes in the safe region as obstacles move through the environment.

[0016] In yet another embodiment, the safety filter accounts for bounded state estimation errors between a true state and an estimated state of the robotic system using a robust control barrier function formulation, the robust control barrier function formulation comprising statedependent robustness parameters yxand y2that compensate for a worst-case effect of the bounded state estimation error on the safety filter constraint.

[0017] One embodiment includes a method for generating safe control commands for a robotic system. The method includes acquiring, by the robotic system, sensor data of an environment. The method includes generating an occupancy map based on the sensor data, theoccupancy map identifying a free space region and obstacle boundaries within the environment. The method includes generating a guidance field by solving Laplace's equation on the free space region with boundary flux values prescribed on the obstacle boundaries, the guidance field being a vector field encoding gradient information throughout the free space region. The method includes determining a forcing function based on the guidance field. The method includes determining a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries. The method includes determining safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function. The method includes applying the safe control commands to actuators of the robotic system.

[0018] In another embodiment, determining the forcing function includes computing a divergence of the guidance field. Determining the forcing function further includes applying a transformation to the divergence to produce the forcing function that maintains negative values throughout the free space region, the transformation being expressed as:wherein / represents a positive parameter, V • / represents the divergence of the guidance field, and represents the forcing function.

[0019] In yet another embodiment, applying the safety filter includes using the guidance field directly in a safety filter constraint, the safety filter constraint being expressed as:v(y) • w > -y / i(y)wherein / (y)represents the guidance field evaluated at a current position, wrepresents a control input, y > Orepresents a positive parameter, and h(y) represents the safety function value at the current position.

[0020] In a further embodiment, the boundary flux values comprise non-uniform boundary flux values, wherein different obstacles within the environment receive different boundary flux values, and wherein obstacles assigned larger magnitude boundary flux values produce steeper gradients in the safety function compared to obstacles assigned smaller magnitude boundary flux values.

[0021] In still another embodiment, the method further includes capturing image data of the environment using an RGB camera. The method further includes processing the image data using a vision-based segmentation network to generate semantic labels classifying detected obstacles into categories. The method further includes assigning a priority to each detected obstacle based on the semantic label associated with the detected obstacle. The method further includes converting the priority to a risk value. The method further includes determining the boundary flux values based on the risk values, wherein higher risk values map to larger magnitude boundary flux values.

[0022] In yet a further embodiment, the safety function is parameterized by an orientation of the robotic system, and the method further includes defining a robot occupancy set representing spatial regions occupied by the robotic system at each orientation. The method further includes constructing a reduced safe set for each orientation via a Minkowski difference between the free space region and the robot occupancy set at each orientation. The method further includes solving Poisson's equation on a non-cylindrical domain formed by collecting the reduced safe sets across orientations, wherein a Laplacian operator is computed with respect to spatial variables and the orientation serves as a parameter determining a shape of the domain.

[0023] In an additional embodiment, applying the safety filter includes solving, by a predictive layer implementing model predictive control, a finite-time optimal control problem subject to discrete-time control barrier function constraints over a planning horizon, wherein the discrete-time control barrier function constraints provide that the safety function value at each subsequent time step remains at least a fraction of the safety function value at a current time step. Applying the safety filter further includes solving, by a real-time layer implementing a control barrier function quadratic program, an optimization problem that receives an output from the predictive layer and minimizes deviation between a control input and the output from the predictive layer while satisfying a continuous-time safety constraint.

[0024] In another embodiment, the safety function is a three-dimensional safety function computed on a buffered domain in three-dimensional space, and the method further includes generating the buffered domain by shrinking the free space region via a Pontryagin difference operation according to a sampling resolution 6 > 0. The method further includes enforcing control barrier function constraints at a plurality of sample points distributed across a surface of the roboticsystem, the plurality of sample points satisfying a coverage condition where every point on the surface lies within distance eof at least one sample point.

[0025] In yet another embodiment, the method further includes estimating a temporal derivative of the safety function based on consecutive solutions to Poisson's equation. The method further includes incorporating the temporal derivative into a safety filter constraint to account for changes in the safe region as obstacles move through the environment.

[0026] One embodiment includes a robotic system. The robotic system includes at least one sensor configured to acquire sensor data of an environment. The robotic system includes at least one processor. The robotic system includes a memory storing instructions that, when executed by the at least one processor, cause the robotic system to generate an occupancy map based on the sensor data, the occupancy map identifying a free space region and obstacle boundaries within the environment. The instructions cause the robotic system to determine a forcing function based on a set of safety properties. The instructions cause the robotic system to determine a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries. The instructions cause the robotic system to determine safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function. The robotic system includes actuators configured to execute the safe control commands.BRIEF DESCRIPTION OF FIGURES

[0027] Non-limiting and non-exhaustive examples are described with reference to the following figures.

[0028] FIG. 1 illustrates a robot navigation scenario in accordance with an embodiment of the invention.

[0029] FIG. 2 illustrates a system diagram showing a process for generating safe control commands for a robotic system using Poisson safety functions in accordance with an embodiment of the invention.

[0030] FIGs. 3A-3E illustrate flowcharts for various processes for generating safe control commands in accordance with an embodiment of the invention.

[0031] FIG. 4 illustrates a block diagram of a robotic system in accordance with an embodiment of the invention.

[0032] FIG. 5 illustrates a block diagram of a controller in accordance with an embodiment of the invention.

[0033] FIG. 6 illustrates a transformation of a guidance field through the application of Laplace's equation in accordance with an embodiment of the invention.

[0034] FIG. 7A illustrates a three-dimensional surface plot of a Poisson safety function computed using a Hölder continuous forcing function in accordance with an embodiment of the invention.

[0035] FIG. 7B illustrates a density map based on a Hölder continuous function in accordance with an embodiment of the invention.

[0036] FIG. 8 A illustrates a Poisson safety function computed using an average flux forcing function in accordance with an embodiment of the invention.

[0037] FIG. 8B illustrates a density map based on an average flux method in accordance with an embodiment of the invention.

[0038] FIG. 9A illustrates a Poisson safety function computed using a guidance field divergence method with uniform boundary flux in accordance with an embodiment of the invention.

[0039] FIG. 9B illustrates a density map based on a guidance field divergence method using uniform boundary flux in accordance with an embodiment of the invention.

[0040] FIG. 10A illustrates a Poisson safety function computed using a guidance field divergence method with non-uniform boundary flux in accordance with an embodiment of the invention.

[0041] FIG. 10B illustrates a density map based on a guidance field divergence method with non-uniform boundary flux in accordance with an embodiment of the invention.

[0042] FIG. 11 illustrates a signed distance function for comparison purposes in accordance with an embodiment of the invention.

[0043] FIG. 12 illustrates robot trajectories generated using a signed distance function in accordance with an embodiment of the invention.

[0044] FIG. 13 illustrates a Poisson safety function with uniform boundary flux in accordance with an embodiment of the invention.

[0045] FIG. 14 illustrates robot trajectories and guidance field navigation in accordance with an embodiment of the invention.

[0046] FIG. 15 illustrates a Poisson safety function with non-uniform boundary flux in accordance with an embodiment of the invention.

[0047] FIG. 16 illustrates robot trajectories and guidance field navigation with non-uniform boundary flux in accordance with an embodiment of the invention.

[0048] FIG. 17 illustrates a safety function density map in accordance with an embodiment of the invention.

[0049] FIG. 18 illustrates robot trajectories corresponding to a first flux assignment in accordance with an embodiment of the invention.

[0050] FIG. 19 illustrates a safety function density map corresponding to a second flux assignment in accordance with an embodiment of the invention.

[0051] FIG. 20 illustrates robot trajectories corresponding to a second flux assignment in accordance with an embodiment of the invention.

[0052] FIG. 21 illustrates a block diagram of a risk-aware safety filter system in accordance with an embodiment of the invention.

[0053] FIG. 22A illustrates a relationship between boundary flux and activation zones in accordance with an embodiment of the invention.

[0054] FIG. 22B illustrates a comparison of activation zones and robot trajectories for varying boundary flux assignments across multiple obstacles in accordance with an embodiment of the invention.

[0055] FIG. 23 illustrates a block diagram of a social -semantic field synthesis system in accordance with an embodiment of the invention.

[0056] FIG. 24 illustrates a flowchart of a process for generating context-aware safe control commands in accordance with an embodiment of the invention.

[0057] FIG. 25 A illustrates an RGB camera image with object detection annotations in accordance with an embodiment of the invention.

[0058] FIG. 25B illustrates a Laplace guidance field with boundary flux encoding variable risk levels for detected objects in accordance with an embodiment of the invention.

[0059] FIG. 25C illustrates an occupancy map with safety filter activation zones based on assigned obstacle risk in accordance with an embodiment of the invention.

[0060] FIG. 26 illustrates a block diagram of a predictive geometry-aware safety function synthesis system in accordance with an embodiment of the invention.

[0061] FIG. 27 illustrates a temporal evolution of a safe set boundary in accordance with an embodiment of the invention.

[0062] FIG. 28 illustrates a three-dimensional visualization of a temporally extended non-cylindrical domain in accordance with an embodiment of the invention.

[0063] FIG. 29 illustrates a geometric diagram of a relationship between a safe set, an obstacle region, and a robot configuration in accordance with an embodiment of the invention.

[0064] FIG. 30 illustrates a three-dimensional visualization of an orientation-parameterized domain in accordance with an embodiment of the invention.

[0065] FIG. 31 illustrates a block diagram of a layered control system for a robotic system implementing safety-critical control in accordance with an embodiment of the invention.

[0066] FIG. 32 illustrates a block diagram of a full-body dynamic safety process for robot manipulators in accordance with an embodiment of the invention.

[0067] FIG. 33 illustrates a relationship between continuous surface representation, sampling with buffering, and different sampling densities in accordance with an embodiment of the invention.

[0068] FIG. 34 illustrates a multistage safety filter system for autonomous collision avoidance in accordance with an embodiment of the invention.DETAILED DESCRIPTION

[0069] The description and claims will be more fully understood with reference to the following figures and data graphs, which are presented as exemplary embodiments of the invention and should not be construed as a complete recitation of the scope of the invention.

[0070] Robotic systems operating in real-world environments navigate among obstacles while accomplishing assigned tasks. Safe navigation involves a robotic system having a smooth mathematical representation of the environment that characterizes which regions are safe and which regions are not. Such a representation can provide, at every point in space, an indication of how safe the robot is at that location, and can provide smooth spatial information that control processes can use to adjust control commands to keep the robot away from obstacles.

[0071] The challenge of safe robot navigation becomes apparent when considering environments that contain both static and dynamic obstacles. Static obstacles such as walls, furniture, and equipment occupy fixed positions in the environment. Dynamic obstacles such as pedestrians move through the environment along trajectories that may be difficult to predict. A robot navigating such an environment needs to continuously update its understanding of which regions are safe as obstacles move and the environment changes. This in turn demands the ability to compute such a smooth representation rapidly and reliably from perception data, which presents a significant computational and mathematical challenge. A robot navigation scenario in accordance with an embodiment of the invention is illustrated in FIG. 1. FIG. 1 depicts a quadruped robot in a hallway environment where humans are walking. The robot needs to contend with both static obstacles such as walls and equipment visible along the corridor, and dynamic obstacles represented by the moving humans. The environment presents challenges because obstacles move along trajectories that may be difficult to predict, safety zones change over time, and the robot needs to continuously determine which regions are safe for navigation. Computing such a smooth representation rapidly and reliably from perception data in dynamically changing environments is a significant challenge for real-time collision avoidance.

[0072] Safe and unsafe regions in a given space can be represented by a safety function, which is a mathematical function defined over the spatial domain of the environment. A safety function can be positive in regions where the robot can safely operate, zero on obstacle surfaces, and negative within obstacle interiors. The gradient of a safety function can indicate the direction in which safety increases, and a safety filter can use the gradient to evaluate proposed control inputs and adjust them to keep the robot within safe regions. Smooth gradients are important because discontinuous gradients can cause erratic control behavior.

[0073] Existing approaches to safe robot navigation have limitations that affect their suitability for real-time control. Signed distance functions (SDFs) exhibit gradient discontinuities at medial axis locations, which are points equidistant from multiple obstacles. These gradient discontinuities cause chattering control behavior where the robot oscillates rapidly between different control actions. The chattering behavior degrades hardware performance and reduces robot lifespan. In some cases, gradient discontinuities cause deadlock conditions where the robot becomes trapped and cannot make progress toward its goal. Achieving smooth behavior with SDFs would involve a secondary smoothing process applied after the SDF computation. However, such secondary smoothing processes are typically ad-hoc and heuristic, and applying them can compromise the properties that a safety function should satisfy, including positivity in free space, zero values on obstacle surfaces, and negative values within obstacle interiors.

[0074] Artificial potential fields (APFs) couple safety and stability objectives together in a single function. The coupling makes it difficult to tune safety margins independently from goalseeking behavior. When safety and goal -reaching are tied together, adjusting one objective affects the other, limiting flexibility in control design. Heuristic methods using hand-designed geometric shapes work for environments with simple geometries but do not generalize to complex or arbitrary obstacle configurations. The non-smooth nature of safety representations produced by these existing approaches causes rapid, chattering control actions that degrade hardware performance.

[0075] Safety control systems in accordance with several embodiments of the invention can address these limitations by using elliptic partial differential equations, specifically Poisson's equation, to synthesize smooth safety functions directly from perception data in a single unified process. In various embodiments, safety control systems construct guidance fields via Laplace's equation to enable tunable repulsive gradient behavior at obstacle boundaries. The guidance fieldis a smooth vector field throughout the free space of the environment that encodes the desired gradient behavior. The guidance field can serve a dual role: the guidance field is used both to construct the forcing function for Poisson's equation and directly in the safety filter constraint, providing additional control design flexibility. The resulting safety function can be inherently smooth, and can greatly reduce the gradient discontinuities present in SDFs without requiring secondary smoothing.

[0076] Safety control systems in accordance with various embodiments of the invention are not specific to any particular robot type. In several embodiments, safety control systems are applicable to quadruped robots, humanoid robots, robotic manipulators, tracked mobile robots, autonomous vehicles, aircraft, and any robotic system equipped with sensors for perceiving the environment relative to the robot.Safety Control using Poisson's Equation

[0077] Safety control processes in accordance with various embodiments of the invention transform perception data into safe control commands through a multi-stage process. Safety control processes can process sensor data to construct a mathematical representation of the environment, compute a smooth safety function using Poisson's equation, and apply a safety filter that adjusts nominal control commands to maintain collision-free operation.

[0078] A safety control process in accordance with an embodiment of the invention is illustrated in FIG. 2. FIG. 2 depicts a system diagram showing a process for generating safe control commands for a robotic system using Poisson safety functions. The process includes three main processing stages arranged in sequence, with data flowing from perception through computation to control. The resulting safety function can be positive in safe regions, zero on obstacle surfaces, and can possess smooth spatial derivatives that can be used by control processes to steer a robot away from danger.

[0079] In many embodiments, safety control processes include a perception stage that acquires sensor data and generates an occupancy map. Image data captured from the environment, which may include scenes with obstacles such as objects and structures, can be processed to generate an occupancy map. The occupancy map represents the spatial layout of the environment,identifying a free space region Q and obstacle boundaries <3Q. The free space region 1 corresponds to areas where the robot can navigate, while the obstacle boundaries cQ correspond to surfaces of obstacles within the environment. The occupancy map may be depicted as a two-dimensional grid where filled regions indicate obstacle locations and unfilled regions indicate free space.

[0080] In several embodiments, safety control processes include a computation stage that constructs a guidance field and solves for a safety function. Boundary conditions derived from the occupancy map serve as inputs to the computation stage. A guidance field can be constructed as a vector field with arrows indicating directional information throughout the free space of the environment. In many embodiments, processes encode gradient information in guidance fields for safety, with vectors pointing away from obstacle surfaces. In a number of embodiments, the guidance field can be constructed by solving Laplace's equation with boundary conditions that specify desired repulsive gradients on the obstacle surfaces. The boundary conditions may include flux values that determine the magnitude of the repulsive gradient at each obstacle boundary.

[0081] Safety control processes in accordance with several embodiments of the invention derive a forcing function from the guidance field. The forcing function may be computed from the divergence of the guidance field. In some cases, the forcing function may include a transformation such that the forcing function maintains negative values throughout the domain. The forcing function can be represented as the right-hand side of Poisson's equation.

[0082] In many embodiments, safety control processes solve Poisson's equation to obtain a safety function h. Poisson's equation with Dirichlet boundary conditions can be expressed as:V2h = f inHh = 0 on dwhere V2h represents the Laplacian of the safety function h, f represents the forcing function, Q represents the free space domain, and 5Q represents the obstacle boundaries. The Dirichlet boundary condition specifies that the safety function equals zero on obstacle surfaces. The solution to Poisson's equation with a negative forcing function can produce a safety function that is positive in free space regions and approaches zero near obstacle boundaries.

[0083] In a number of embodiments, safety control processes include a control stage that applies a safety filter to generate safe control commands. The safety function h and derivatives ofthe safety function, including the gradient Dh and higher-order derivatives up to the k-th order, can be provided to a safety filter. A nominal controller can generate desired control commands based on task objectives such as reaching a goal location. The safety filter minimally adjusts the nominal commands so that the robotic system remains within the safe set defined by the safety function.

[0084] Safety control processes in accordance with several embodiments of the invention implement a safety filter constraint. The safety filter can solve an optimization problem that minimizes the deviation between the control input u and the nominal control input unom while satisfying a safety constraint. The safety filter constraint may be expressed as:where k(x) represents the safe control output, knom(x) represents the nominal control input,Lf hs represents the Lie derivative of the safety function along the drift dynamics,Lg hs represents the Lie derivative of the safety function along the actuation matrix, and y represents an extended class-K function. The constraint can provide that the time derivative of the safety function remains above a threshold determined by the current safety function value. In some cases, the guidance field may be used directly in the safety filter constraint in place of or in addition to the gradient of the safety function.

[0085] In many embodiments, the output of the safety filter includes safe control commands that can be applied to the robotic system. The robotic system may navigate among obstacles while avoiding collisions, with the robot shown at multiple positions to illustrate a trajectory through the environment. The safe control commands cause the robotic system to execute movements that maintain safety while accomplishing assigned tasks.

[0086] Although specific processes are described with reference to FIG. 2, alternative implementations are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0087] Tn many embodiments, processes for generating safe control commands enable robotic systems to navigate environments while avoiding collisions with obstacles. Processes in accordance with various embodiments of the invention transform perception data into smooth safety functions using elliptic partial differential equations, and apply safety filters that adjust nominal control commands to maintain collision-free operation. Processes may operate in real time, enabling robotic systems to respond to dynamically changing environments where obstacles move and environmental conditions evolve.

[0088] A process for generating safe control commands in accordance with an embodiment of the invention is illustrated in FIG. 3A. Process 300 acquires (310) sensor data of the environment. In many embodiments, processes acquire sensor data from various perception devices associated with a robotic system. Sensor data may include data from cameras, LiDAR sensors, depth sensors, radar sensors, or other perception devices capable of detecting obstacles and environmental features. Processes in accordance with several embodiments of the invention may acquire sensor data continuously or at discrete time intervals as the robotic system operates within the environment. The sensor data may capture information about static obstacles such as walls, furniture, and equipment, as well as dynamic obstacles such as pedestrians and other moving objects.

[0089] Process 300 generates (320) an occupancy map based on the acquired sensor data. In several embodiments, processes generate an occupancy map that provides a spatial representation identifying a free space region Q and obstacle boundaries cQ within the environment. The free space region corresponds to areas where the robotic system can navigate without collision, while the obstacle boundaries dQ. correspond to surfaces of obstacles within the environment. Processes in accordance with many embodiments of the invention can represent the occupancy map as a two-dimensional or three-dimensional grid where cells are classified as occupied or unoccupied based on the sensor data. In a number of embodiments, processes may update the occupancy map as new sensor data becomes available, enabling the robotic system to respond to changes in the environment.

[0090] Process 300 determines (330) a forcing function based on specified safety properties. In various embodiments, the forcing function can satisfy specified safety properties. The forcing function can be negative throughout the free space, which can provide that the resulting safetyfunction is positive in the interior of the domain. The forcing function can also satisfy Holder continuity conditions, which can provide smoothness guarantees for the resulting safety function solution. In a number of embodiments, the forcing function can be constructed using a distance metric method based on the distance to obstacles, or using an average flux method based on a ratio of boundary area to domain volume.

[0091] In several embodiments, processes determine a forcing function f from the divergence of the guidance field v. The forcing function may be computed according to:f = 7 • vwhere V ■ ifrepresents the divergence of the guidance field. Processes in accordance with many embodiments of the invention may apply a transformation to the forcing function so that the forcing function maintains negative values throughout the domain. In a number of embodiments, the forcing function may be modified to satisfy Holder continuity conditions, which may provide regularity of the resulting safety function solution.

[0092] Process 300 determines (340) a safety function by solving a Poisson's equation on the forcing function. In many embodiments, processes determine a safety function h by solving a Dirichlet boundary value problem for Poisson's equation on the free space region Q using the forcing function f and a zero-value boundary condition on the obstacle boundaries 5Q. The Dirichlet boundary condition specifies that the safety function equals zero on obstacle surfaces. Processes in accordance with several embodiments of the invention may solve Poisson's equation using finite element methods, finite difference methods, or other numerical techniques. The solution to Poisson's equation produces a safety function that is positive in free space regions and approaches zero near obstacle boundaries. In a number of embodiments, the safety function may possess smooth spatial derivatives that can be used by control processes to steer the robotic system away from obstacles.

[0093] Process 300 determines (350) safe control commands by applying a safety filter based on the safety function. In several embodiments, processes determine safe control commands by applying a safety filter that minimally adjusts nominal control commands so that the robotic system remains within a safe region defined by the safety function. A nominal controller may generate desired control commands based on task objectives such as reaching a goal location. Processes in accordance with many embodiments of the invention may implement the safety filter as anoptimization problem that minimizes the deviation between the control input u and the nominal control input knOm while satisfying a safety constraint. The safety constraint may provide that the time derivative of the safety function remains above a threshold determined by the current safety function value. In a number of embodiments, the guidance field may be used directly in the safety filter constraint in place of or in addition to the gradient of the safety function.

[0094] Process 300 applies (360) safe control commands to a robot. In many embodiments, processes apply the safe control commands to actuators of the robotic system, causing the robotic system to execute movements that maintain safety while accomplishing assigned tasks. Processes in accordance with several embodiments of the invention may apply safe control commands to various types of robotic systems including quadruped robots, humanoid robots, robotic manipulators, tracked mobile robots, autonomous vehicles, and aircraft. The safe control commands may cause the robotic system to navigate among obstacles while avoiding collisions, with the robotic system adjusting its trajectory as the environment changes and new sensor data becomes available.

[0095] A process for generating safe control commands using guidance fields in accordance with an embodiment of the invention is illustrated in FIG. 3B. In FIG. 3B, process 300 generates (325) a smooth guidance field based on the occupancy map. In many embodiments, processes generate a smooth guidance field v by solving Laplace's equation on the free space region Q with prescribed boundary flux values on the obstacle boundaries 3. The guidance field may be a vector field that encodes gradient information throughout the free space of the environment, with vectors pointing away from obstacle surfaces. Processes in accordance with several embodiments of the invention may specify different flux values for different obstacles, enabling the robotic system to exhibit different levels of caution around different obstacle types. In a number of embodiments, the guidance field may be constructed by solving Laplace's equation with Dirichlet boundary conditions along each vector component of the guidance field that specify the desired repulsive gradient magnitude at each obstacle boundary. The guidance field provides a smooth interpolation of boundary gradient information into the interior of the free space region. Processes in accordance with a number of embodiments can determine the forcing function based on the guidance field.

[0096] A process for generating safe control commands using guidance fields and safety functions in accordance with an embodiment of the invention is illustrated in FIG. 3C. In theversion of process 300 illustrated by FIG. 3C, process 300 determines (350) safe control commands by applying a safety filter that uses both the safety function and the guidance field in the safety filter constraint. In several embodiments, the guidance field can shape both the forcing function and the safety filter.

[0097] A process for generating safe control commands using guidance fields directly in safety filters in accordance with an embodiment of the invention is illustrated in FIG. 3D. In this version of process 300, process 300 determines (350) safe control commands by applying a safety filter based on the safety function and the guidance field, where the guidance field is used to shape the safety filter only. In several embodiments, the guidance field can replace the gradient of the safety function in the safety filter constraint. The guidance field can encode tunable boundary flux values that produce obstacle-specific gradient behavior, enabling the safety filter to enforce different levels of caution around different obstacles based on the boundary flux assignments in the guidance field.

[0098] A process for semantic parameterization of the guidance field in accordance with an embodiment of the invention is illustrated in FIG. 3E. Process 380 obtains (381) semantic labels associated with one or more obstacles in the environment. In several embodiments, processes obtain semantic labels by processing image data from an RGB camera using a vision-based segmentation network that classifies detected obstacles into categories. The set of obstacle labels may include categories such as person, chair, wall, or other obstacle classes appropriate to the operating environment. Processes in accordance with many embodiments of the invention may associate each obstacle boundary point with a label drawn from a discrete set of obstacle labels via a feature function.

[0099] Process 380 assigns (382) a risk level to each of the one or more obstacles based on the semantic label associated with the obstacle. In several embodiments, processes order the set of labels according to a user-defined priority ranking that specifies which obstacles demand more caution than others. Safety control systems in accordance with many embodiments of the invention may assign priorities such that obstacles classified as persons receive higher priority values than obstacles classified as chairs, and obstacles classified as chairs receive higher priority values than obstacles classified as walls. In a number of embodiments, processes convert the priority values to risk values via a smooth, bounded, monotonic risk-assignment map, as described above withreference to FIG. 25A. For semantic features where the priority values are discrete, the riskassignment map may use an exponential function of the form w(r) = 1 — e~ar, where a > 0 represents a positive parameter and r represents the priority value, mapping priority values to risk values in the interval [0, 1],

[0100] Process 380 determines (383) a flux boundary condition at a surface of each of the one or more obstacles based on the risk level assigned to the obstacle. In many embodiments, processes map the bounded risk values to flux values via a function that linearly interpolates between minimum and maximum flux values bminand bmax, associating low risk with low flux magnitude and high risk with high flux magnitude. On each obstacle surface, the boundary condition can be set to v(y) = (y)n(y), where n(y) represents the outward unit normal vector at point y on the boundary. Processes in accordance with several embodiments of the invention may assign larger magnitude flux values to obstacles classified as higher-priority categories, such as persons, and smaller magnitude flux values to obstacles classified as lower-priority categories, such as walls or chairs.

[0101] Process 380 solves (384) Laplace's equation subject to the flux boundary conditions to generate the guidance field. In many embodiments, processes obtain the guidance field by solving Laplace's equation for each spatial component of the vector field. For each component i G {x, y, z], Laplace's equation with Dirichlet boundary conditions is solved on the free space region with boundary values equal to the product of the flux value and the corresponding component of the outward unit normal vector. Guidance fields in accordance with several embodiments of the invention can be smooth throughout the domain because solutions to Laplace's equation produce the smoothest interpolation of boundary values throughout the interior. The resulting guidance field encodes class-dependent repulsive gradient information that can be used to construct a forcing function for Poisson's equation and to inform the safety filter constraint.

[0102] Various processes for generating safe control commands are discussed above with reference to FIGs. 3 A-3E. Alternative processes may be utilized as appropriate to the requirements of specific applications in accordance with various embodiments of the invention. Alternative processes may also be used for generating safe control commands, including processes that use different numerical methods for solving Poisson's equation, different guidance field construction techniques, or different safety filter formulations. The specific implementation of the perceptionprocess, the particular solver used for the partial differential equations, and the configuration of the safety filter may vary depending on the specific robotic system and the characteristics of the operating environment.

[0103] In many embodiments, robotic systems implement safety-critical control operations using Poisson safety functions to enable collision-free navigation in complex environments. Robotic systems in accordance with various embodiments of the invention may include hardware components for sensing, computation, communication, and actuation that work together to acquire environmental data, compute safety functions, and execute safe control commands.

[0104] A robotic system in accordance with an embodiment of the invention is illustrated in FIG. 4. Referring to FIG. 4, a robotic system 400 includes a wireless transceiver 410, a controller 420, an actuator 430, sensors 440, a power source 450, a GPS 460, and an ethemet switch 470. The controller 420 serves as a processing component of the robotic system 400 and connects to the other components. The wireless transceiver 410 couples to the controller 420 and provides wireless communication capabilities for the robotic system 400, enabling data transmission and reception with external systems or networks. The sensors 440 connect to the controller 420 and acquire environmental data, which may include perception data used for generating occupancy maps of the surrounding environment. The actuator 430 couples to the controller 420 and receives control commands to effect physical movement or operation of the robotic system 400. The power source 450 connects to the controller 420 and provides electrical power to operate the various components of the robotic system 400. The GPS 460 couples to the controller 420 and provides positioning and location data for the robotic system 400, which may be used in conjunction with environmental sensing for navigation and safety control purposes. The ethernet switch 470 provides wired network connectivity for the robotic system 400, enabling communication with external computing resources or other networked devices.

[0105] In various embodiments, controllers may include one or more processors configured to execute instructions for safety function computation and control command generation. In a number of embodiments, sensors may include cameras, LiDAR sensors, depth sensors, radar sensors, or other perception devices capable of detecting obstacles and environmental features. Sensors in accordance with many embodiments of the invention may acquire data continuously or at discrete time intervals as the robotic system operates within the environment. In severalembodiments, sensors may capture information about static obstacles such as walls, furniture, and equipment, as well as dynamic obstacles such as pedestrians and other moving objects. Sensor data may be processed by the controller to generate occupancy maps that identify free space regions and obstacle boundaries within the environment.

[0106] In several embodiments, actuators may include motors, servos, hydraulic systems, or other mechanisms that convert control commands into physical motion. Actuators in accordance with a number of embodiments of the invention may receive safe control commands from the controller that have been fdtered to maintain collision-free operation. In many embodiments, actuators may control locomotion systems for mobile robots, joint movements for robotic manipulators, or propulsion systems for aerial or ground vehicles.

[0107] Wireless transceivers in accordance with various embodiments of the invention may support communication protocols including WiFi, Bluetooth, cellular, or other wireless standards. In many embodiments, wireless transceivers may enable robotic systems to receive commands from remote operators, transmit telemetry data to monitoring systems, or communicate with other robotic systems in multi-robot environments. In a number of embodiments, wireless transceivers may facilitate cloud connectivity for data processing, storage, and analysis.

[0108] In many embodiments, power sources may include batteries, fuel cells, or connections to external power supplies. Power sources in accordance with several embodiments of the invention may provide electrical power to all components of the robotic system including the controller, sensors, actuators, and communication interfaces. In a number of embodiments, power sources may include battery management systems that monitor charge levels and regulate power distribution to the various components.

[0109] GPS in accordance with several embodiments of the invention may provide global positioning data that supplements local perception for navigation purposes. In many embodiments, GPS data may be fused with sensor data to improve localization accuracy. In a number of embodiments, GPS may provide positioning information used to define goal locations or waypoints for navigation tasks.

[0110] Ethernet switches in accordance with many embodiments of the invention may provide high-bandwidth wired connections between components of the robotic system. In several embodiments, ethemet switches may connect sensors to the controller for high-speed data transfer.In a number of embodiments, ethernet switches may enable communication with external computing resources for offloading computationally intensive tasks such as solving partial differential equations for safety function synthesis.

[0111] Robotic systems in accordance with various embodiments of the invention may take different physical forms depending on the application. In many embodiments, robotic systems may include quadruped robots, humanoid robots, robotic manipulators, tracked mobile robots, autonomous vehicles, or aircraft. In several embodiments, the arrangement of components within the robotic system may vary based on the physical form factor and the requirements of the operating environment. The controller may receive sensor data, process safety functions using techniques such as solving Poisson's equation to generate safety constraints, and output safe control commands to the actuator for collision-free operation of the robotic system.

[0112] Although specific robotic systems are described above with reference to FIG. 4, any of a variety of robotic systems may be utilized as appropriate to the requirements of specific applications in accordance with various embodiments of the invention. The number and arrangement of processors, sensors, actuators, and communication interfaces may vary depending on the specific implementation. Additionally, the types of sensors included and the specific computational resources available for safety function computation may vary based on the requirements of particular installations.

[0113] A controller in accordance with an embodiment of the invention is illustrated in FIG.5. Referring to FIG. 5, the controller 420 includes a processor 422 and a memory 424, where the memory 424 contains a controller application 425, control data 426, and environment data 427. The processor 422 may execute instructions and perform computational operations for the controller 420. The memory 424 may store software and data used by the processor 422. The controller application 425 may include instructions that configure the processor 422 to perform safety-critical control operations, including generating occupancy maps from sensor data, constructing guidance fields, solving Poisson's equation to compute safety functions, and applying safety filters to generate safe control commands. The control data 426 may store parameters related to control operations, which may include safety function values, gradient values, nominal control commands, and safe control commands generated by the safety filter. The environment data 427 may store information related to the environment in which the robotic system operates, which mayinclude occupancy map data, obstacle boundary information, guidance field data, and safety function values derived from solving Poisson's equation on the environmental domain.

[0114] In many embodiments, processors may execute instructions stored in memory to perform safety function computations and control command generation. Processors in accordance with several embodiments of the invention may include CPUs for general computation and GPUs for parallel computation tasks. In a number of embodiments, processors may utilize GPUs to accelerate the numerical solution of partial differential equations including Poisson's equation and Laplace's equation.

[0115] In several embodiments, memory may store controller applications that implement safety filter computations. Controller applications in accordance with many embodiments of the invention may include instructions for acquiring sensor data, generating occupancy maps, constructing guidance fields via Laplace's equation, determining forcing functions from the divergence of guidance fields, solving Poisson's equation with Dirichlet boundary conditions, and applying safety filters that minimally adjust nominal control commands. In a number of embodiments, controller applications may implement optimization-based safety filters that minimize the deviation between control inputs and nominal control inputs while satisfying safety constraints derived from the safety function.

[0116] In many embodiments, control data may include safety function values evaluated at the current state of the robotic system, gradient values of the safety function, and higher-order derivatives used by the safety filter. Control data in accordance with several embodiments of the invention may include nominal control commands generated by a nominal controller based on task objectives such as reaching a goal location. In a number of embodiments, control data may include safe control commands that have been filtered to maintain collision-free operation, as well as parameters for the safety filter optimization including class-K function parameters that determine the rate at which the safety function value may decrease.

[0117] In several embodiments, environment data may include occupancy map data that identifies free space regions and obstacle boundaries within the environment. Environment data in accordance with many embodiments of the invention may include guidance field data representing vector fields that encode gradient information throughout the free space, with vectors pointing away from obstacle surfaces. In a number of embodiments, environment data may includeboundary flux values that determine the magnitude of repulsive gradients at obstacle boundaries, enabling the robotic system to exhibit different levels of caution around different obstacle types. Environment data may include safety function values computed by solving Poisson's equation, where the safety function is positive in free space regions and approaches zero near obstacle boundaries.

[0118] In a number of embodiments, processors may access memory to retrieve controller applications, control data, and environment data as the robotic system operates within the environment. Processors in accordance with several embodiments of the invention may update environment data as new sensor data becomes available, enabling the robotic system to respond to changes in the environment including movement of dynamic obstacles. Tn many embodiments, processors may execute controller applications to compute updated safety functions and generate safe control commands that maintain collision-free operation as the environment evolves.

[0119] Although specific controllers are described above with reference to FIG. 5, any of a variety of controllers may be utilized as appropriate to the requirements of specific applications in accordance with various embodiments of the invention. The number and arrangement of processors and memory components may vary depending on the specific implementation. Additionally, the types of data stored in memory and the specific processes implemented by controller applications may vary based on the requirements of particular installations.Guidance Fields and Poisson Safety Functions

[0120] In many embodiments, guidance fields provide a mechanism for encoding desired gradient behavior at obstacle boundaries and extending that behavior smoothly throughout the free space of an environment. Guidance fields in accordance with various embodiments of the invention transform sparse boundary information into continuous vector fields that can be used for safety function construction and safety filter implementation. The construction of guidance fields involves solving Laplace's equation, which produces a smooth interpolation of boundary values throughout the interior of the domain.

[0121] A guidance field in accordance with an embodiment of the invention is illustrated in FIG. 6. FIG. 6 depicts a transformation of a guidance field through the application of Laplace'sequation, where boundary conditions on obstacle surfaces can be transformed into a smooth guidance field by solving Laplace's equation. The boundary conditions include arrows positioned along the boundaries of the domain and around internal obstacle regions, with the arrows pointing in directions that indicate boundary conditions on obstacle surfaces. The smooth guidance field displays a dense array of vectors throughout the entire domain, with the vectors smoothly interpolating between the boundary values to fill the interior space.

[0122] In several embodiments, guidance fields can be constructed by assigning negative boundary flux values b(y) < 0 to each point on the obstacle boundaries 3, where the magnitude of b encodes the desired repulsive strength at that surface. Different obstacles may receive different flux values, enabling obstacle-specific gradient control. On each obstacle surface, the boundary condition can be set to v(y) = b(y)n(y), where (y) represents the outward unit normal vector at point y on the boundary. The boundary condition specifies a vector pointing inward into the free space with a magnitude determined by the flux value b.

[0123] In many embodiments, guidance fields can be obtained by solving Laplace's equation for each spatial component of the vector field. For each component t G {%, y, z}, Laplace's equation with Dirichlet boundary conditions can be expressed as:dV((y) = 0 in / 2y) = M y) on5 / 2where Avtrepresents the Laplacian of the i-th component of the guidance field, Q represents the free space domain, 5Q represents the obstacle boundaries, and n,- represents the i-th component of the outward unit normal vector. A function whose Laplacian equals zero is called harmonic. Harmonic functions have the property that the value at any interior point equals the average of the values around that point. Guidance fields in accordance with several embodiments of the invention can be smooth throughout the domain because solutions to Laplace's equation produce the smoothest interpolation of boundary values throughout the interior.

[0124] In a number of embodiments, guidance fields serve a dual role in safety control systems. The divergence of the guidance field can be used to derive the forcing function for Poisson's equation. The forcing function serves as the right-hand side of Poisson's equation and drives the safety function to be positive inside the free space. Guidance fields in accordance withmany embodiments of the invention can also be used directly in the safety filter constraint alongside the safety function h, providing additional control design flexibility. These two uses pair naturally because the guidance field encodes gradient information that is consistent with the safety function the guidance field helps construct.

[0125] In several embodiments, the guidance field method provides additional degrees of freedom for defining safety behavior. Different flux values on different obstacles can produce different gradient behavior in the resulting safety function. Guidance fields in accordance with a number of embodiments of the invention enable robotic systems to exhibit different levels of caution around different obstacle types by assigning larger magnitude flux values to obstacles that warrant greater avoidance margins.

[0126] In many embodiments, Poisson safety functions can be constructed using different forcing function methods, each with different regularity properties. A three-dimensional surface plot of a Poisson safety function h computed using a Holder continuous forcing function based on a distance metric in accordance with an embodiment of the invention as illustrated in FIG. 7A. The surface plot displays the safety function value over a two-dimensional spatial domain, with horizontal axes representing spatial coordinates x and y measured in meters, and the vertical axis representing the safety function value h. The surface exhibits a smooth, continuous topology with peaks representing regions of higher safety values in the interior of the free space, while the surface descends to values near zero along obstacle boundaries, consistent with Dirichlet boundary conditions where the safety function equals zero on obstacle surfaces.

[0127] In several embodiments, the forcing function f for the distance metric method can be constructed based on the distance from each point to the nearest obstacle boundary. The distance to obstacles can be computed as:dist(y, d ) - minyobsEdn\\y - y0 / JS||.The forcing function can then be defined as:dist(y, d l)where a E (0,1) represents a Holder exponent. The forcing function f takes negative values throughout the domain Q, which drives the safety function to be positive in the interior of the free space when Poisson's equation is solved with zero boundary conditions.

[0128] In a number of embodiments, the distance metric method produces a forcing function that is Holder continuous on the domain. Holder continuity represents a regularity condition between mere continuity and Lipschitz continuity, indicating that the function does not change too abruptly. From elliptic regularity theory, the solution h inherits regularity from the forcing function f. When the forcing function f belongs to the Holder spacethe resulting safety function h belongs to the space C2,a(f2; 1R>O).

[0129] Safety control systems in accordance with several embodiments of the invention may use the distance metric method for robotic systems where the safety filter requires derivatives of the safety function up to second order. However, the limited differentiability of the distance metric approach may make the distance metric approach unsuitable for control design for systems with outputs of relative degree greater than 1. Robotic systems that control acceleration rather than velocity, for example, may use higher derivatives of the safety function for the safety filter to function properly. For such higher-order systems, alternative forcing function construction methods that produce smoother safety functions may be employed.

[0130] In several embodiments, the Poisson safety function computed using the distance metric method can be visualized as a two-dimensional density map that illustrates the spatial distribution of safety values across the environment. A density map based on Holder continuity function in accordance with an embodiment of the invention is illustrated in FIG. 7B. FIG. 7B depicts a two-dimensional spatial representation of an environment with multiple obstacles, corresponding to the three-dimensional surface plot of FIG. 7A. The density map displays the computed Poisson safety function values across the free space region Q, with the horizontal axis representing the x-coordinate in meters and the vertical axis representing the y-coordinate in meters.

[0131] In many embodiments, the density map can display varying intensity levels across the spatial domain, where high-density regions indicate higher safety function values corresponding to safer areas within the free space. Regions exhibiting higher density values, which may appear in warmer colors such as yellow, can correspond to locations farther from obstacle boundarieswhere the safety function attains larger positive values. Density maps in accordance with several embodiments of the invention can display lower density values in regions corresponding to obstacle interiors and obstacle boundaries, where the safety function approaches zero consistent with the Dirichlet boundary conditions. The smooth gradation of density values throughout the free space demonstrates the continuous nature of the Poisson safety function, with the safety function value transitioning gradually from positive values in the interior of the free space to zero at the obstacle boundaries.

[0132] In a number of embodiments, the density map can include outlined regions representing obstacles within the environment, where the obstacle regions exhibit low density values indicating areas where the safety function approaches zero or negative values. The surrounding free space regions can display varying density levels, with higher positive values indicating safer regions for robot navigation. The spatial distribution of density values demonstrates how the safety function varies across the domain, with the gradient behavior varying based on proximity to different obstacles throughout the environment.

[0133] In several embodiments, the density map visualization provides a functional representation of the environment that characterizes safe and unsafe regions for robotic navigation and collision avoidance applications. The smooth color transitions between regions illustrate the continuous gradient properties of the Poisson safety function produced by the distance metric method. However, as described above with reference to FIG. 7A, the safety function h produced by the distance metric method belongs to the space C2-“(I2; 1R>O) and lacks orders of differentiability higher than 2. The limited differentiability of the distance metric approach makes the distance metric approach unsuitable for control design for systems with outputs of relative degree greater than 1, where higher derivatives of the safety function may be used by the safety filter

[0134] In many embodiments, Poisson safety functions can be constructed using an average flux forcing function method that produces a smooth safety function with high orders of differentiability. The average flux method uses a constant negative value for the forcing function f, which can be computed based on geometric properties of the domain rather than on distance to obstacles or guidance field divergence.

[0135] A Poisson safety function computed using an average flux forcing function in accordance with an embodiment of the invention is illustrated in FIG. 8A. FIG. 8A depicts a three-dimensional surface plot of a safety function h over a two-dimensional spatial domain. The horizontal axes represent spatial coordinates x and y measured in meters, and the vertical axis represents the safety function value h. The surface exhibits a smooth, undulating topology with multiple peaks and valleys across the domain. Elevated regions in the surface correspond to areas of higher safety function values located in the interior of the free space, while depressed regions correspond to locations near obstacle boundaries where the safety function approaches zero.

[0136] In several embodiments, the average flux method can compute the forcing function f as a constant negative value based on the ratio of the boundary area to the domain volume. The forcing function can be expressed as:where b represents an average boundary flux value, Area(df2) represents the area of the obstacle boundaries (perimeter in 2 dimensions), and Vol (12) represents the volume of the free space domain (area in 2 dimensions). The constant negative value of f drives the safety function to be positive throughout the interior of the free space when Poisson's equation is solved with zero boundary conditions.

[0137] In a number of embodiments, the average flux method can produce a safety function h that belongs to the space C°°(f2; 1R>O), indicating that the safety function possesses derivatives of all orders. The smooth curvature throughout the surface reflects the regularity properties that result from solving Poisson's equation with a constant forcing function. Safety control systems in accordance with many embodiments of the invention may use the average flux method for robotic systems where the safety filter requires higher-order derivatives of the safety function, such as systems with outputs of relative degree greater than 1.

[0138] In several embodiments, the average flux method can relate the forcing function to geometric properties of the domain without requiring computation of distance fields or guidance field divergence. However, the average flux method indirectly assigns flux values on the obstacle boundaries without precise control over the resulting gradient magnitude at individual obstacle surfaces. Safety control systems in accordance with a number of embodiments of the inventionmay use the average flux method when uniform gradient behavior across all obstacles is acceptable, while alternative methods such as the guidance field divergence method may be employed when different gradient behavior is desired around different obstacles.

[0139] A density map based on the average flux method in accordance with an embodiment of the invention is illustrated in FIG. 8B. In a number of embodiments, the smooth gradation of colors throughout the domain illustrates the continuous and differentiable nature of the Poisson safety function produced by the average flux method. The safety function value can transition gradually from positive values in the interior of the free space to zero at the obstacle boundaries, with gradients pointing away from obstacle boundaries toward regions of higher safety values. The continuous gradient behavior enables smooth control actions when the safety function is used in a safety filter, avoiding the chattering behavior associated with non-smooth safety representations.

[0140] In several embodiments, the average flux method can compute the forcing function f as a constant negative value based on the ratio of the boundary area to the domain volume, as described above with reference to FIG. 8A. The constant negative value of f drives the safety function to be positive throughout the interior of the free space when Poisson's equation is solved with zero boundary conditions. Density maps in accordance with many embodiments of the invention can illustrate that the average flux method produces a safety function belonging to the space C°°(f2; H&>0), indicating that the safety function possesses derivatives of all orders.

[0141] In a number of embodiments, the density map visualization demonstrates that while the average flux method produces a smooth safety function, the average flux method provides no control over gradient behavior at individual obstacle surfaces. The gradient magnitude near each obstacle boundary can be determined implicitly by the geometric properties of the domain rather than by explicit specification. Safety control systems in accordance with several embodiments of the invention may use the average flux method when uniform gradient behavior across all obstacles is acceptable. When different gradient behavior is desired around different obstacles, alternative methods such as the guidance field divergence method may be employed, as described below with reference to FIG. 9A and FIG. 9B.

[0142] In many embodiments, Poisson safety functions can be constructed using a guidance field divergence method that derives the forcing function from a guidance field constructed via Laplace's equation. The guidance field divergence method provides control over gradient behaviorat obstacle boundaries by specifying boundary flux values that determine the repulsive strength at each obstacle surface. When uniform boundary flux values are assigned across all obstacles, the resulting safety function exhibits consistent gradient behavior throughout the domain.

[0143] A Poisson safety function computed using the guidance field divergence method with uniform boundary flux in accordance with an embodiment of the invention is illustrated in FIG.9A. FIG. 9A depicts a three-dimensional surface plot of a safety function h over a two-dimensional spatial domain. In several embodiments, the guidance field divergence method can derive the forcing function f from the divergence of the guidance field v. The guidance field can be constructed by solving Laplace's equation with boundary conditions that specify a uniform boundary flux value b across all obstacle surfaces. The boundary condition on each obstacle surface can be expressed as v(y) = bn(y), where b represents the uniform flux value and n(y) represents the outward unit normal vector at point y on the boundary. Laplace's equation smoothly interpolates the boundary vectors throughout the interior of the free space region Q.

[0144] In a number of embodiments, the forcing function f can be computed from the divergence of the guidance field. The divergence ∇ · v⃗ may not be negative at all points within the domain. Safety control systems in accordance with many embodiments of the invention may apply a transformation to the divergence to produce a forcing function that maintains negative values throughout the domain. The transformation can be expressed as:where β represents a positive parameter. The transformation maps the divergence values to negative values while preserving smoothness of the forcing function.

[0145] In several embodiments, the guidance field divergence method can be understood through a variational formulation. The safety function h can be characterized as the minimizer of a cost functional that measures the squared difference between the gradient of h and the guidance field v, subject to zero boundary conditions on obstacle surfaces. The optimality condition for the minimization, given by the Euler-Lagrange equation, corresponds to Poisson's equation with the divergence of the guidance field as the forcing function.

[0146] In many embodiments, the uniform boundary flux configuration assigns the same flux value b to all obstacle surfaces within the environment. The uniform flux produces consistentgradient behavior around all obstacles, with the safety function gradient magnitude near each obstacle boundary determined by the common flux value. Safety control systems in accordance with a number of embodiments of the invention may use uniform boundary flux when consistent avoidance behavior around all obstacles is acceptable for the application.

[0147] In a number of embodiments, the guidance field divergence method can produce a safety function h that possesses high orders of differentiability. The smoothness of the guidance field, which results from solving Laplace's equation, contributes to the smoothness of the forcing function and consequently the smoothness of the resulting safety function. Safety control systems in accordance with several embodiments of the invention may use the guidance field divergence method for robotic systems where the safety filter requires higher-order derivatives of the safety function.

[0148] A density map based on guidance field divergence method using uniform boundary flux in accordance with an embodiment of the invention is illustrated in FIG. 9B. FIG. 9B depicts a two-dimensional spatial representation of an environment with multiple obstacles, corresponding to the three-dimensional surface plot of FIG. 9A. The density map displays the computed Poisson safety function values across the free space region, with the horizontal axis representing the x-coordinate in meters and the vertical axis representing the y-coordinate in meters.

[0149] In a number of embodiments, the safety function can transition smoothly from zero at obstacle surfaces to positive values in unoccupied regions of the domain. The smooth transition demonstrates the continuous nature of the Poisson safety function produced by the guidance field divergence method. The gradient behavior throughout the domain can be determined by the guidance field, which encodes repulsive gradient information that points away from obstacle boundaries toward regions of higher safety values. Safety control systems in accordance with many embodiments of the invention may use the uniform boundary flux configuration to produce consistent gradient behavior around all obstacles within the environment.

[0150] In several embodiments, the guidance field divergence method with uniform boundary flux can assign the same flux value b to all obstacle surfaces within the environment. The uniform flux value can determine the magnitude of the repulsive gradient at each obstacle boundary, producing consistent avoidance behavior around all obstacles. The guidance field can be constructed by solving Laplace's equation with boundary conditions that specify the uniform fluxvalue, and the divergence of the guidance field can be used to derive the forcing function for Poisson's equation, as described above with reference to FIG. 9A.

[0151] In many embodiments, the density map visualization demonstrates that a single partial differential equation solve can produce one smooth function encoding all obstacles simultaneously. The constraint consolidation provided by the Poisson safety function approach can reduce computational complexity compared to methods that construct separate barrier functions for each obstacle. Safety control systems in accordance with a number of embodiments of the invention may use the consolidated safety function in a safety filter, where the single smooth function provides gradient information for collision avoidance with respect to all obstacles in the environment.

[0152] In a number of embodiments, the smooth color transitions between regions in the density map illustrate the continuous gradient properties of the Poisson safety function. The continuous gradient behavior can enable smooth control actions when the safety function is used in a safety filter, avoiding chattering behavior associated with non-smooth safety representations. The guidance field can be used directly in the safety filter constraint alongside the safety function h, because the guidance field encodes gradient information that is consistent with the safety function the guidance field helps construct.

[0153] In many embodiments, Poisson safety functions can be constructed using the guidance field divergence method with non-uniform boundary flux values that assign different flux magnitudes to different obstacles within the environment. The non-uniform boundary flux configuration enables robotic systems to exhibit different levels of caution around different obstacle types by specifying larger magnitude flux values for obstacles that warrant greater avoidance margins and smaller magnitude flux values for obstacles that warrant less conservative behavior.

[0154] A Poisson safety function computed using the guidance field divergence method with non-uniform boundary flux in accordance with an embodiment of the invention is illustrated in FIG. 10 A. FIG. 10A depicts a three-dimensional surface plot of a safety function h over a two-dimensional spatial domain. The horizontal axes represent spatial coordinates x and y measured in meters, and the vertical axis represents the safety function value h. The surface exhibits a complex topography with elevated regions indicating positive safety function values corresponding to saferegions within the free space, while depressed regions indicate locations near obstacle boundaries where the safety function approaches zero. The asymmetric shape of the surface reflects the non-uniform boundary flux conditions applied to different obstacle surfaces, where different regions exhibit varying gradient magnitudes based on the prescribed flux values at obstacle boundaries.

[0155] In several embodiments, the non-uniform boundary flux configuration can assign different flux values btto different obstacle surfaces within the environment. The boundary condition on each obstacle surface can be expressed as v(y) = bin(y'), where bt represents the flux value assigned to the i-th obstacle and n(y) represents the outward unit normal vector at point y on the boundary. Obstacles assigned larger magnitude flux values can produce steeper gradients in the resulting safety function, causing the safety filter to activate at greater distances from those obstacles. Safety control systems in accordance with many embodiments of the invention may assign larger magnitude flux values to obstacles that warrant greater avoidance margins, such as humans or fragile equipment, while assigning smaller magnitude flux values to obstacles that warrant less conservative behavior, such as walls or robust furniture.

[0156] In a number of embodiments, the non-uniform boundary flux configuration can produce different gradient behavior around specific obstacles compared to the uniform boundary flux configuration described above with reference to FIG. 9A and FIG. 9B. The uniform boundary flux configuration assigns the same flux value b to all obstacle surfaces, producing consistent gradient behavior throughout the domain. The non-uniform boundary flux configuration enables obstacle-specific gradient control, where the safety function gradient magnitude near each obstacle boundary can be determined by the flux value assigned to that obstacle. The curvature and gradient variations across the surface of FIG. 10A illustrate how the guidance field method enables tunable boundary gradients, allowing different levels of repulsive behavior to be encoded around different obstacles within the environment.

[0157] In several embodiments, the guidance field divergence method with non-uniform boundary flux can derive the forcing function f from the divergence of the guidance field v. The guidance field can be constructed by solving Laplace's equation with boundary conditions that specify the non-uniform flux values on obstacle surfaces. The divergence of the guidance field V ■ v may not be negative at all points within the domain. Safety control systems in accordance with many embodiments of the invention may apply a transformation to the divergence to produce aforcing function that maintains negative values throughout the domain, as described above with reference to FIG. 9A. The transformation maps the divergence values to negative values while preserving smoothness of the forcing function.

[0158] In many embodiments, the guidance field divergence method can be understood through a variational formulation. The safety function h can be characterized as the minimizer of a cost functional that measures the squared difference between the gradient of h and the guidance field v, subject to zero boundary conditions on obstacle surfaces. The safety function h can be the function whose gradient approximates the guidance field in a least-squares sense, subject to being zero on obstacle surfaces. The optimality condition for the minimization, given by the Euler-Lagrange equation, corresponds to Poisson's equation with the divergence of the guidance field as the forcing function.

[0159] In a number of embodiments, the guidance field divergence method with non-uniform boundary flux can produce a safety function that encodes all obstacles within the environment simultaneously through a single partial differential equation solve. The constraint consolidation provided by the Poisson safety function approach can reduce computational complexity compared to methods that construct separate barrier functions for each obstacle. Safety control systems in accordance with several embodiments of the invention may use the consolidated safety function in a safety filter, where the single smooth function provides gradient information for collision avoidance with respect to all obstacles in the environment while maintaining obstacle-specific gradient behavior determined by the non-uniform flux values.

[0160] A density map based on the guidance field divergence method with non-uniform boundary flux in accordance with an embodiment of the invention is illustrated in FIG. 10B. In a number of embodiments, the density gradient can transition smoothly between obstacle boundaries and free space, demonstrating the continuous nature of the Poisson safety function produced by the guidance field divergence method with non-uniform boundary flux. The smooth color transitions between regions illustrate the continuous gradient properties of the Poisson safety function, which can enable smooth control actions when the safety function is used in a safety filter for robotic collision avoidance applications. The continuous gradient behavior can avoid chattering behavior associated with non-smooth safety representations such as SDFs.

[0161] The density map of FIG. 10B can illustrate different gradient behavior around specific obstacles compared to the uniform boundary flux configuration depicted in FIG. 9B. The non-uniform boundary flux configuration can assign different flux values btto different obstacle surfaces, producing varying gradient magnitudes near different obstacles. Obstacles assigned larger magnitude flux values can exhibit steeper density gradients in the surrounding regions, while obstacles assigned smaller magnitude flux values can exhibit more gradual density transitions. Safety control systems in accordance with many embodiments of the invention may use the non-uniform boundary flux configuration to encode context-dependent safety behavior, where different obstacles receive different levels of avoidance based on semantic information, risk levels, or other application-specific factors.

[0162] In many embodiments, the guidance field divergence method can derive the forcing function f from the divergence of the guidance field v. The divergence of the guidance field may not be negative at all points within the domain. Safety control systems in accordance with a number of embodiments of the invention may apply a softplus-inspired transformation to the divergence to produce a forcing function that maintains negative values throughout the domain while preserving smoothness. The transformation maps the divergence values to negative values, which drives the safety function to be positive in the interior of the free space when Poisson's equation is solved with zero boundary conditions.

[0163] In several embodiments, the density map visualization demonstrates that a single partial differential equation solve can produce one smooth function encoding all obstacles simultaneously while maintaining obstacle-specific gradient behavior determined by the non-uniform flux values. The constraint consolidation provided by the Poisson safety function approach can reduce computational complexity compared to methods that construct separate barrier functions for each obstacle. Safety control systems in accordance with many embodiments of the invention may use the consolidated safety function in a safety filter, where the single smooth function provides gradient information for collision avoidance with respect to all obstacles in the environment.

[0164] SDFs represent an existing approach to safety function construction. An SDF assigns to each point in space the distance to the nearest obstacle, with positive values outside obstaclesand negative values inside obstacles. SDFs can serve as safety representations, but SDFs possess gradient discontinuities that affect suitability for safety-critical control applications.

[0165] For comparison purposes, an SDF is illustrated in FIG. 11. FIG. 11 depicts a three-dimensional surface plot of an SDF evaluated over a two-dimensional spatial domain. The surface exhibits regions of positive values in free space away from obstacles, with the surface descending toward zero at obstacle boundaries and extending to negative values within obstacle interiors. The SDF surface contains ridge-like features at locations equidistant from multiple obstacles, where the nearest obstacle switches from one to another and the gradient direction flips abruptly. The gradient magnitude of an SDF can be fixed by geometry alone, with the gradient magnitude equal to unity at all points where the SDF is differentiable. SDFs provide no mechanism for specifying different gradient behavior around different obstacles, and achieving smooth behavior with SDFs would involve a secondary smoothing process applied after the SDF computation.

[0166] Robot trajectories generated using an SDF are illustrated in FIG. 12. FIG. 12 depicts a two-dimensional environment containing multiple rectangular obstacles. A goal location indicated by a star symbol can be positioned within the environment. Multiple trajectory paths extend from various starting positions toward the goal location. Deadlock positions indicated by circular markers represent locations where trajectories become trapped by gradient discontinuities in the SDF. A background vector field represented by arrows throughout the free space indicates the gradient field derived from the SDF, which exhibits ridge-like features where the gradient direction changes abruptly.

[0167] The trajectories depicted in FIG. 12 can illustrate how the fixed gradient magnitudes and discontinuous gradient directions present in SDFs can cause deadlock conditions where a robotic system becomes trapped and cannot make progress toward a goal location. Trajectories can become stuck at ridge locations where the gradient points in conflicting directions, and the discontinuous gradients can result in chattering behavior where the robotic system oscillates rapidly between different control actions. Safety control systems in accordance with several embodiments of the invention can address these limitations by using Poisson safety functions, which produce smooth gradients throughout the domain without ridge-like discontinuities. The flexibility to manipulate gradients around obstacles provided by Poisson safety functions can aid in yielding trajectories that avoid such deadlock conditions.

[0168] In many embodiments, Poisson safety functions constructed using the guidance field divergence method with uniform boundary flux produce smooth, continuous behavior throughout the domain, avoiding the gradient discontinuities present in SDFs. A Poisson safety function with uniform boundary flux in accordance with an embodiment of the invention is illustrated in FIG.13. FIG. 13 depicts a three-dimensional surface plot of a safety function h over a two-dimensional spatial domain. The surface exhibits a smooth, undulating topology with peaks corresponding to regions of higher positive safety function values in the interior of the free space, while valleys correspond to regions where the safety function approaches zero near obstacle boundaries. The smooth curvature throughout the surface reflects the regularity properties of Poisson's equation, where smoothness of the forcing function implies smoothness of the resulting safety function solution. The Poisson safety function can exhibit non-vanishing gradients on obstacle boundaries, where the gradient of the safety function points inward into the free space with a magnitude determined by the uniform boundary flux value assigned during guidance field construction.

[0169] In several embodiments, the uniform boundary flux configuration can assign the same flux value b to all obstacle surfaces within the environment, producing consistent gradient behavior around all obstacles. Safety control systems in accordance with a number of embodiments of the invention may use uniform boundary flux when consistent avoidance behavior around all obstacles is acceptable for the application.

[0170] Robot trajectories and guidance field navigation in accordance with an embodiment of the invention are illustrated in FIG. 14. The trajectories depicted in FIG. 14 can illustrate the behavior of a robotic system navigating using a safety filter constructed from a Poisson safety function with uniform boundary flux. The smooth gradient behavior can enable trajectories to navigate around obstacles without becoming trapped at locations where gradient directions would otherwise conflict. The trajectories can contrast with the SDF trajectories depicted in FIG. 12, where deadlock conditions and chattering behavior arise from gradient discontinuities. The background vector field can exhibit smooth, continuous behavior throughout the domain, with arrows pointing generally toward the goal position while curving smoothly around obstacle boundaries.

[0171] In many embodiments, Poisson safety functions constructed using the guidance field divergence method with non-uniform boundary flux can be visualized as three-dimensional surfaceplots that illustrate how different flux values produce different gradient magnitudes around different obstacles within the environment. The non-uniform boundary flux configuration enables robotic systems to exhibit different levels of caution around different obstacle types, providing flexibility to manipulate gradients around obstacles that SDFs cannot provide.

[0172] A Poisson safety function with non-uniform boundary flux in accordance with an embodiment of the invention is illustrated in FIG. 15. FIG. 15 depicts a three-dimensional surface plot of a safety function h over a two-dimensional spatial domain. The horizontal axes represent spatial coordinates x and y measured in meters, and the vertical axis represents the safety function value h. The surface exhibits a smooth, continuous topology with elevated regions indicating positive safety function values corresponding to safe regions within the free space, while depressions in the surface represent the influence of obstacles where the safety function approaches zero.

[0173] In several embodiments, the surface depicted in FIG. 15 can exhibit an asymmetric shape that reflects the non-uniform boundary flux conditions applied to different obstacle surfaces. The asymmetric shape can result from assigning different flux values to different obstacles, where obstacles assigned larger magnitude flux values produce steeper gradients in the surrounding regions of the safety function surface. The curvature and gradient variations across the surface can illustrate how the guidance field method enables tunable boundary gradients, allowing different levels of repulsive behavior to be encoded around different obstacles within the environment.

[0174] In a number of embodiments, the non-uniform boundary flux configuration can contrast with the uniform boundary flux configuration depicted in FIG. 13. The uniform boundary flux configuration can assign the same flux value to all obstacle surfaces, producing consistent gradient behavior throughout the domain. The non-uniform boundary flux configuration depicted in FIG. 15 can enable obstacle-specific gradient control, where the safety function gradient magnitude near each obstacle boundary can be determined by the flux value assigned to that obstacle. Safety control systems in accordance with many embodiments of the invention may assign larger magnitude flux values to obstacles that warrant greater avoidance margins, such as humans or fragile equipment, while assigning smaller magnitude flux values to obstacles that warrant less conservative behavior, such as walls or robust furniture.

[0175] Tn many embodiments, the smooth, continuous nature of the surface depicted in FIG.15 can demonstrate the regularity properties that result from solving Poisson's equation with a forcing function derived from the guidance field divergence. The smooth curvature throughout the surface can reflect the classical elliptic regularity properties of Poisson's equation, where smoothness of the forcing function implies smoothness of the resulting safety function solution. The surface can transition gradually between regions of different safety values rather than exhibiting abrupt discontinuities, which can enable smooth control actions when the safety function is used in a safety filter.

[0176] In several embodiments, the depressions visible in the surface of FIG. 15 can correspond to locations near obstacle boundaries where the safety function approaches zero consistent with the Dirichlet boundary conditions. Different obstacles can produce depressions of different shapes and depths depending on the flux values assigned to those obstacles. Obstacles assigned larger magnitude flux values can produce steeper descent toward the depression, causing the safety filter to activate at greater distances from those obstacles. Safety control systems in accordance with a number of embodiments of the invention may use the non-uniform boundary flux configuration to encode semantic information about obstacles, risk levels associated with different obstacle types, or other context-dependent factors that influence desired avoidance behavior.

[0177] Robot trajectories and guidance field navigation with non-uniform boundary flux in accordance with an embodiment of the invention are illustrated in FIG. 16. In several embodiments, the trajectories depicted in FIG. 16 can illustrate the behavior of a robotic system navigating using a safety filter constructed from a Poisson safety function with non-uniform boundary flux. The non-uniform boundary flux configuration can assign different flux values to different obstacles, where obstacles assigned larger magnitude flux values produce steeper gradients in the surrounding regions of the safety function. The steeper gradients can cause the safety filter to activate at greater distances from those obstacles, resulting in trajectories that maintain greater clearance around obstacles with larger flux values.

[0178] In a number of embodiments, the trajectories depicted in FIG. 16 can contrast with the uniform boundary flux trajectories depicted in FIG. 14. The uniform boundary flux configuration can assign the same flux value to all obstacle surfaces, producing consistent clearance around allobstacles. The non-uniform boundary flux configuration depicted in FIG. 16 can enable obstaclespecific clearance behavior, where the trajectory clearance near each obstacle can be determined by the flux value assigned to that obstacle. Safety control systems in accordance with many embodiments of the invention may assign larger magnitude flux values to obstacles that warrant greater avoidance margins, such as humans or fragile equipment, while assigning smaller magnitude flux values to obstacles that warrant less conservative behavior, such as walls or robust furniture.Tunable Boundary Gradients

[0179] In many embodiments, safety control systems can assign different boundary flux values to different obstacles within an environment to produce safety functions with obstaclespecific gradient behavior. As described above, the guidance field divergence method derives the forcing function from a guidance field constructed via Laplace's equation, where the boundary flux value b on each obstacle surface determines the repulsive gradient magnitude at that surface. By varying the boundary flux across obstacles, safety control systems can encode different levels of caution around different obstacles within a single safety function. The following figures illustrate how different boundary flux assignments affect the resulting safety function and the trajectories produced by safety filters operating on those safety functions.

[0180] A safety function color map in accordance with an embodiment of the invention is illustrated in FIG. 17. In several embodiments, the smooth gradation of colors throughout the domain can illustrate the continuous and differentiable nature of the Poisson safety function. The safety function value can transition gradually from positive values in the interior of the free space to zero at obstacle boundaries and negative values within obstacle interiors. The smooth color transitions demonstrate that the safety function belongs to the space C°°(f2; IK), indicating that the safety function possesses derivatives of all orders when the forcing function is smooth.

[0181] In a number of embodiments, the boundary flux of the guidance field, dictated by a function b in the boundary conditions of Laplace's equation, can prescribe the desired magnitude of repulsive gradients along the boundary S.. Large values of b can yield steeper boundary gradients, while small values of b can lead to shallow gradients. The ability to tune boundary gradients can lead to varying magnitudes of repulsive gradients around obstacle surfaces, enablingthe encoding of obstacle-specific gradients. The color map of FIG. 17 can illustrate a first flux assignment where steeper gradients are assigned to a target obstacle, producing more rapid color transitions near that obstacle boundary compared to other obstacles in the domain.

[0182] In many embodiments, the obstacle-specific gradient behavior can be achieved by assigning different boundary flux values to different obstacle surfaces. For a target obstacle with interior region robs, a first boundary flux assignment can be expressed as:,f f-2 if y e drobs[OI83| In several embodiments, the first flux assignment can increase the magnitude of the gradients at the boundary of the target obstacle, making the gradients steeper compared to other obstacles in the environment. The steeper gradients can cause the safety filter to activate at greater distances from the target obstacle, resulting in trajectories that maintain greater clearance around obstacles with larger flux values. Safety control systems in accordance with many embodiments of the invention may assign larger magnitude flux values to obstacles that warrant greater avoidance margins, such as humans or fragile equipment.

[0184] In many embodiments, the smooth nature of the Poisson safety function depicted in FIG. 17 can enable smooth control actions when the safety function is used in a safety filter. The continuous gradient behavior can avoid chattering behavior associated with non-smooth safety representations. The safety filter can solve an optimization problem that minimizes the deviation between the control input and a nominal control input while satisfying a safety constraint of the form:7 / i(y)Tw > — yl'i y),where y > 0 represents a positive parameter. The smooth gradients of the Poisson safety function can enable the safety filter to produce smooth control adjustments that maintain collision-free operation.

[0185] In several embodiments, the color map representation can provide a mechanism for visualizing how different flux assignments affect the spatial distribution of safety values across the domain. The yellow regions can indicate areas of higher safety where the robotic system can navigate with greater margin from obstacles, while the transition zones between yellow and bluecan indicate regions where the safety filter may activate to adjust nominal control commands. Safety control systems in accordance with a number of embodiments of the invention may use the color map visualization to analyze and tune the boundary flux assignments for specific applications.

[0186] In many embodiments, robot trajectories generated using Poisson safety functions with tunable boundary flux can demonstrate how different flux assignments affect navigation behavior around specific obstacles within an environment. The trajectories corresponding to a first flux assignment can illustrate how steeper gradients around a target obstacle influence the paths taken by a robotic system navigating toward a goal location.

[0187] Robot trajectories corresponding to the first flux assignment in accordance with an embodiment of the invention are illustrated in FIG. 18. FIG. 18 depicts a two-dimensional environment containing multiple rectangular obstacles distributed throughout the domain. A background vector field represented by arrows throughout the free space indicates the guidance field constructed via Laplace's equation with the first flux assignment. Multiple initial condition positions can be distributed at various locations within the environment, and a goal position can be located in a region of the environment. Multiple distinct trajectories extend from the respective initial condition positions and navigate through the environment toward the goal position while avoiding obstacles.

[0188] In several embodiments, the trajectories depicted in FIG. 18 can correspond to the safety function color map depicted in FIG. 17, where the first flux assignment assigns a larger flux value to a target obstacle compared to other obstacles in the environment. The first flux assignment can increase the magnitude of the gradients at the boundary of the target obstacle, making the gradients steeper compared to other obstacles. The steeper gradients can cause the safety filter to activate at greater distances from the target obstacle, resulting in trajectories that maintain greater clearance around obstacles with larger flux values.

[0189] In a number of embodiments, the trajectories depicted in FIG. 18 can demonstrate smooth, curved paths that follow the guidance field while maintaining safe distances from obstacle boundaries. The smooth trajectory behavior can result from the regularity properties of Poisson safety functions, where the smoothness of the forcing function derived from the guidance field divergence implies smoothness of the resulting safety function solution from classical ellipticregularity. The smooth safety function can enable smooth control actions when used in a safety filter, avoiding chattering behavior associated with non-smooth safety representations.

[0190] In many embodiments, the background vector field depicted in FIG. 18 can illustrate the guidance field that encodes gradient information throughout the free space of the environment. The guidance field can exhibit smooth, continuous behavior throughout the domain, with vectors pointing generally toward the goal position while curving around obstacle boundaries. The guidance field can encode different gradient magnitudes near different obstacles based on the assigned flux values, with steeper gradients near the target obstacle that received the larger flux value in the first flux assignment.

[0191] In a number of embodiments, the ability to assign obstacle-specific gradients can help yield trajectories that avoid deadlock conditions resulting from synthesized safety filters. The flexibility to manipulate gradients around obstacles provided by Poisson safety functions can aid in producing gradient behavior that guides trajectories smoothly around obstacles without becoming trapped at locations where gradient directions would otherwise conflict. Safety control systems in accordance with many embodiments of the invention may use the tunable boundary flux configuration to encode semantic information about obstacles, risk levels associated with different obstacle types, or other context-dependent factors that influence desired avoidance behavior.

[0192] In many embodiments, the guidance field used to construct the Poisson safety function can serve a dual role in safety control systems. The guidance field can provide both the forcing function for Poisson's equation through the divergence operation and gradient information for use directly in the safety filter constraint. The dual role of the guidance field can enable safety control systems to leverage the same computed field for multiple purposes, because the guidance field encodes gradient information that is consistent with the safety function the guidance field helps construct.

[0193] A safety function color map corresponding to a second flux assignment in accordance with an embodiment of the invention is illustrated in FIG. 19. FIG. 19 depicts a two-dimensional color map representation of a safety function h evaluated over a spatial domain. The horizontal axis represents the x coordinate and the vertical axis represents the y coordinate. Yellow and orange regions in the color map correspond to higher positive safety function values, indicatingsafe regions within the free space where a robotic system can navigate with greater margin from obstacles. Dark blue regions correspond to lower or negative values within obstacle interiors, indicating occupied regions where the safety function takes negative values consistent with the Dirichlet boundary conditions.

[0194] In several embodiments, the second flux assignment can assign a smaller flux value to a target obstacle compared to other obstacles in the environment. For a target obstacle with interior region Fobs, a second boundary flux assignment can be expressed as:,,,-0.2 ify e drobs^W = (-l else •[0195| In a number of embodiments, the second flux assignment can reduce the magnitude of the gradients at the boundary of the target obstacle, making the gradients shallower compared to other obstacles in the environment. The shallower gradients can cause the safety filter to activate closer to the target obstacle boundary, resulting in more conservative behavior where trajectories approach the target obstacle more cautiously before the safety filter intervenes. Safety control systems in accordance with many embodiments of the invention may assign smaller magnitude flux values to obstacles that warrant more conservative approach behavior, such as humans or fragile equipment.

[0196] In many embodiments, the spatial distribution of function values depicted in FIG. 19 can demonstrate the smooth variation characteristic of solutions to elliptic partial differential equations. The safety function value can transition gradually between regions of different values rather than exhibiting abrupt discontinuities. The smooth gradation of colors throughout the domain can illustrate the continuous and differentiable nature of the Poisson safety function, where the safety function belongs to the space C°°(I2; IK) when the forcing function is smooth.

[0197] In several embodiments, the color map of FIG. 19 can contrast with the color map of FIG. 17, where the first flux assignment assigns a larger flux value to the target obstacle. The first flux assignment can increase the magnitude of the gradients at the boundary of the target obstacle, making the gradients steeper compared to other obstacles. The second flux assignment depicted in FIG. 19 can produce the opposite effect, where the shallower gradients around the target obstacle result in more conservative navigation behavior. Safety control systems in accordance with anumber of embodiments of the invention may select between different flux assignments based on the desired navigation behavior around specific obstacles.

[0198] In several embodiments, the color map representation can provide a mechanism for visualizing how the second flux assignment affects the spatial distribution of safety values across the domain compared to the first flux assignment. The transition zones between yellow and blue regions can indicate regions where the safety filter may activate to adjust nominal control commands. The shallower gradients around the target obstacle in FIG. 19 can produce a different activation pattern compared to the steeper gradients in FIG. 17, enabling robotic systems to exhibit different levels of caution around different obstacles based on the assigned flux values.

[0199] In many embodiments, robot trajectories generated using Poisson safety functions with the second flux assignment can demonstrate more conservative navigation behavior where robotic systems maintain wider clearance around obstacles assigned smaller magnitude flux values. The trajectories corresponding to the second flux assignment can illustrate how shallower gradients around a target obstacle influence the paths taken by a robotic system navigating toward a goal location, producing more cautious approach behavior compared to the first flux assignment.

[0200] Robot trajectories corresponding to the second flux assignment in accordance with an embodiment of the invention are illustrated in FIG. 20. FIG. 20 depicts a two-dimensional environment containing multiple rectangular obstacles distributed throughout the domain. A background vector field represented by arrows throughout the free space indicates the guidance field constructed via Laplace's equation with the second flux assignment. Multiple initial condition positions can be distributed at various locations within the environment, and a goal position can be located in a region of the environment. Multiple distinct trajectories extend from the respective initial condition positions and navigate through the environment toward the goal position while avoiding obstacles.

[0201] In several embodiments, the trajectories depicted in FIG. 20 can correspond to the safety function color map depicted in FIG. 19, where the second flux assignment assigns a smaller flux value to a target obstacle compared to other obstacles in the environment. The second flux assignment can reduce the magnitude of the gradients at the boundary of the target obstacle, making the gradients shallower compared to other obstacles. The shallower gradients can cause the safety filter to activate closer to the target obstacle boundary, resulting in trajectories thatmaintain wider clearance around obstacles with smaller flux values as the robotic system approaches more cautiously before the safety filter intervenes.

[0202] In a number of embodiments, the trajectories depicted in FIG. 20 can contrast with the trajectories depicted in FIG. 18, where the first flux assignment assigns a larger flux value to the target obstacle. The first flux assignment can produce steeper gradients around the target obstacle, causing the safety filter to activate at greater distances from the obstacle boundary. The second flux assignment depicted in FIG. 20 can produce the opposite effect, where the shallower gradients around the target obstacle result in more conservative navigation behavior with wider clearance. Safety control systems in accordance with many embodiments of the invention may select between different flux assignments based on the desired navigation behavior around specific obstacles.

[0203] In several embodiments, Poisson's equation can be solved numerically on a discrete spatial grid using a finite difference scheme. Safety control systems in accordance with many embodiments of the invention may employ a successive overrelaxation (SOR) method with checkerboard iterations for GPU parallelization. Parallel SOR iterations can scale with the square root of the grid dimension N, and computations per iteration can scale with the total number of grid points. Safety control systems in accordance with a number of embodiments of the invention may achieve sub-millisecond solve times for two-dimensional domains and approximately 10 milliseconds for three-dimensional domains in large-scale environments. The computational performance can be one to two orders of magnitude faster than SDF computation for dense environments. The approach can scale with the size of the region rather than the number of obstacle samples, making the approach more efficient for dense point cloud environments.

[0204] In a number of embodiments, safety control systems operating in dynamic environments can use warm-starting techniques to accelerate convergence of the numerical solver. The previous solution to Poisson's equation can be used to initialize the solver for the current time step, reducing the number of iterations required to reach convergence when the environment changes incrementally between time steps. Safety control systems in accordance with many embodiments of the invention may update the safety function online as obstacles move and the environment evolves.

[0205] In many embodiments, safety control systems can estimate the temporal derivative of the safety function for use in safety filter constraints that account for moving obstacles. Thetemporal derivative dh / dt can be approximated via finite differences between consecutive solutions to Poisson's equation. The temporal derivative estimate can capture how the safety function value at a given spatial location changes as obstacles move, enabling the safety filter to anticipate changes in the safe set and adjust control commands accordingly.Context-Aware Safety Filters

[0206] In many embodiments, safety control systems can incorporate semantic understanding of an environment to produce context-dependent safety behavior where different obstacles receive different levels of caution based on assigned risk values. SDFs represent distance to obstacles with no mechanism for encoding different levels of caution around different obstacles, because the gradient magnitude of an SDF can be fixed by geometry alone. Safety control systems in accordance with various embodiments of the invention can enable semantic information to be instantiated directly in the safety function through boundary flux values assigned to the guidance field. By mapping obstacle classifications to boundary flux magnitudes, safety control systems can produce safety filters that respond to higher-risk obstacles at greater distances while permitting closer approach to lower-risk obstacles.

[0207] A risk-aware safety filter system in accordance with an embodiment of the invention is illustrated in FIG. 21. FIG. 21 depicts a system that receives environment perception inputs and generates safe control commands that reflect user-assigned risk values associated with different obstacle types within the environment. The system receives an occupancy map from environment perception data and solves risk-aware Poisson problems based on the occupancy map and user-assigned risk values. The system produces a safety function and a guidance field, which can be provided to a risk-aware safety filter along with a nominal controller input. The risk-aware safety filter can generate safe control commands that define activation zones around obstacles, where the activation zones reflect the assigned risk values. The system can produce closed-loop behavior where a robotic system navigates from various starting positions to goal positions while avoiding obstacles with varying levels of conservatism based on the assigned risk values.

[0208] In several embodiments, user-assigned risk values can establish a hierarchy of safety priorities for different obstacle types within the environment. The hierarchy may assign higher priority to obstacles associated with people compared to walls, and higher priority to wallscompared to chairs. The risk values can be mapped to boundary flux magnitudes through a process that associates each obstacle boundary point with a feature label, assigns a priority based on the label, converts the priority to a normalized risk value, and maps the risk value to a boundary flux magnitude. Higher risk can map to larger boundary flux magnitude, producing steeper gradients in the guidance field around higher-risk obstacles. The steeper gradients can cause the safety filter to activate at greater distances from higher-risk obstacles, resulting in trajectories that maintain greater clearance around obstacles with larger assigned risk values.

[0209] In a number of embodiments, the system can solve a Dirichlet boundary value problem for Poisson's equation to generate the safety function. The Laplacian of the safety function can equal a forcing function within the domain, and the safety function can equal zero on the boundary. The safety function can be positive in free space regions and approach zero near obstacle boundaries, with the zero level set of the safety function defining the obstacle surfaces.

[0210] In many embodiments, the system can construct a Laplace guidance field by solving Laplace's equation for each spatial component of the vector field. Each component of the guidance field can satisfy Laplace's equation within the domain, with boundary values determined by the product of the boundary flux value and the corresponding component of the outward unit normal vector on the obstacle boundary. The boundary flux value can vary across different obstacle surfaces based on the assigned risk values, with larger magnitude flux values assigned to obstacles that warrant greater avoidance margins. The Laplace guidance field can produce a smooth vector field throughout the free space that encodes the risk-dependent gradient information.

[0211] In several embodiments, the risk-aware safety filter can solve an optimization problem that minimizes the deviation between the control input and the nominal controller while satisfying a safety constraint. The safety constraint can be expressed as:v(y) • w > -y / i(y),where fi(y) represents the guidance field evaluated at the current position, w represents the control input, y > 0 represents a positive parameter, and / i(y) represents the safety function value at the current position. The constraint can decouple the vector field used in the gradient term from the safety function, enabling the guidance field to prescribe desired gradient magnitudes along obstacle boundaries independently of the safety function gradient. The decoupling can provide amechanism for encoding spatially variable conservatism that the standard control barrier function formulation does not provide.

[0212] In a number of embodiments, the safety filter can produce a closed-form expression that modifies the nominal control input in the direction of the guidance field whenever the nominal input violates the safety constraint. The modification can be activated by an activation function that determines whether the safety constraint would be violated by the nominal control input. The activation function can be expressed as:a(y): = tf(y) • knom(y) + y / i(y),where knomrepresents the nominal controller. When the activation function value can be positive, the nominal controller can satisfy the constraint and the filter can remain inactive. When the activation function value can be non-positive, the filter can be active and the nominal controller can be modified along the guidance field direction. The zero level set of the activation function can define activation zones around obstacles, where the size and shape of the activation zones can be determined by the guidance field, the safety function, and the positive parameter.

[0213] Tn many embodiments, the boundary flux values assigned to different obstacles can control how activation zones expand or contract around those obstacles. Larger boundary flux magnitudes can create wider activation zones around higher-risk obstacles, causing the safety filter to respond to those obstacles at greater distances. Smaller boundary flux magnitudes can produce thinner activation zones around lower-risk obstacles, allowing trajectories to approach those obstacles more closely before the safety filter intervenes. Safety control systems in accordance with several embodiments of the invention may assign boundary flux values based on semantic object classification, where obstacles classified as persons may receive larger magnitude flux values than obstacles classified as walls, and obstacles classified as walls may receive larger magnitude flux values than obstacles classified as chairs.

[0214] In several embodiments, the risk-aware safety filter can be extended to dynamic environments with moving obstacles that produce a time-varying safety function. The temporal derivative of the safety function can be incorporated into the safety constraint to account for changes in the safe set as obstacles move. Safety control systems in accordance with a number of embodiments of the invention may update the safety function and guidance field online asobstacles move and the environment evolves, enabling the activation zones to expand in the direction of motion for moving obstacles and contract as obstacles decelerate.

[0215] In a number of embodiments, the risk-aware safety filter can be extended to higher-order systems where the control input appears at a higher level of differentiation. Safety control systems in accordance with many embodiments of the invention may use control barrier function backstepping techniques to extend the guidance-field-based safety constraint to systems with relative degree greater than one. The smoothness of the Poisson safety function can provide the higher-order derivatives that the backstepping construction may use.

[0216] Although specific risk-aware safety filter systems are described with reference to FIG.21, alternative systems are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0217] In many embodiments, safety control systems can adapt activation zones around dynamic obstacles based on obstacle motion characteristics, where the boundary flux values assigned to moving obstacles can vary with obstacle velocity to produce time-varying activation zones that reflect the rate of change of the safe set. The relationship between boundary flux and activation zones can be visualized through sequential diagrams that illustrate how activation zone boundaries change as obstacle velocity varies over time.

[0218] A relationship between boundary flux and activation zones in accordance with an embodiment of the invention is illustrated in FIG. 22A. FIG. 22A depicts a series of four sequential diagrams showing how activation zones evolve as a dynamic obstacle moves through an environment. Each diagram shows a domain containing a static region with zero velocity magnitude and a dynamic region with varying velocity magnitude. The activation zone boundary surrounds both regions, with the size and shape of the activation zone changing in response to variations in the velocity magnitude of the dynamic region.

[0219] In several embodiments, the feature associated with a boundary point on a dynamic obstacle can be defined as the magnitude of the velocity at that point. The velocity magnitude can serve as a feature that determines the priority assigned to the obstacle, where faster moving obstacles can receive higher priority values. Safety control systems in accordance with many embodiments of the invention may assign higher priority to high-velocity obstacles because robotic systems may benefit from increased caution around obstacles that move rapidly.

[0220] Tn a number of embodiments, the velocity magnitude can be unbounded, and safety control systems may normalize the priority value to determine an assigned risk value. The normalization can use a risk-assignment function of the form:where T(y) = ||y|| represents the velocity magnitude at boundary point y, P is the identity function such that faster objects receive higher priority, and vrefG IR>0represents a reference speed such that the risk value equals 0.5 when the obstacle speed at y equals vref. The normalization function can map priority values to risk values in the interval [0, 1], Safety control systems in accordance with several embodiments of the invention may use the normalized risk value to interpolate between minimum and maximum boundary flux values.

[0221] In several embodiments, the sequential diagrams of FIG. 22A can illustrate how the activation zone boundary changes as the velocity magnitude of the dynamic region varies. The dynamic region can exhibit a velocity magnitude that increases to a maximum value before decreasing to a minimum value. Larger velocity magnitudes can yield higher boundary flux values, which can produce larger activation zones around the dynamic obstacle. The activation zones can extend in the direction of motion and can be affected by the obstacle acceleration, expanding during acceleration and contracting during deceleration.

[0222] In a number of embodiments, the static region can maintain zero velocity throughout the sequence, and the activation zone around the static region can remain consistent while the activation zone around the dynamic region expands and contracts. The inverse relationship between obstacle velocity and activation zone size can enable safety control systems to respond to dynamic obstacles at greater distances when those obstacles move rapidly, while permitting closer approach to slow-moving or stationary obstacles.

[0223] In many embodiments, the time-varying nature of the activation zones can reflect the rate of change of the safe set as obstacles move through the environment. Safety control systems in accordance with several embodiments of the invention may update the boundary flux values and recompute the guidance field and safety function as obstacle velocities change, enabling the activation zones to adapt in real time to the current motion state of dynamic obstacles. Theactivation zones can be aligned with the direction of motion, expanding in the direction that the obstacle moves.

[0224] In several embodiments, the relationship between boundary flux and activation zones can enable safety control systems to produce context-dependent safety behavior where dynamic obstacles receive different levels of caution based on motion characteristics. Safety control systems in accordance with a number of embodiments of the invention may combine velocity-based flux assignment with other features such as semantic labels or uncertainty estimates, provided that the combined mapping preserves the intended priority order before flux assignment.

[0225] In many embodiments, safety control systems can integrate semantic understanding of an environment with safety-critical control to produce context-dependent navigation behavior where robotic systems distinguish between different obstacle types and adhere to social norms when navigating in human-centered environments. Traditional safety-critical control methods such as control barrier functions can exhibit the same behavior around obstacles regardless of contextual significance, leading to uniform treatment of all obstacles despite differing semantic meanings. Safety control systems in accordance with various embodiments of the invention may bridge the gap between high-level semantic understanding and low-level safety-critical control through a Poisson safety function modulated using a Laplace guidance field, enabling robotic systems to maintain appropriate safety margins around different obstacle types while following socially-compliant navigation behaviors.

[0226] A comparison of activation zones and robot trajectories for varying boundary flux assignments across multiple obstacles in accordance with an embodiment of the invention is illustrated in FIG. 22B. Activation zones for a first boundary flux configuration, a second boundary flux configuration, and a third boundary flux configuration are depicted, where the boundary flux magnitude for selected obstacles can be progressively reduced across the configurations. Reducing the boundary flux magnitude for a given obstacle produces shallower boundary gradients and smaller activation zones around that obstacle, allowing trajectories to pass closer to the obstacle surface. Larger boundary flux magnitudes produce steeper gradients, larger activation zones, and more conservative behavior around the corresponding obstacle. Robot trajectories corresponding to each boundary flux configuration illustrate how the safety filter generates different closed-loop behaviors depending on the assigned flux values, with trajectories maintaining greater clearancefrom obstacles assigned larger boundary flux magnitudes and passing closer to obstacles assigned smaller boundary flux magnitudes.

[0227] A social-semantic field synthesis system in accordance with an embodiment of the invention is illustrated in FIG. 23. FIG. 23 depicts a system including a Perception and Tracking section, a Social-semantic Field Synthesis section, and a Dual-layer Safety Filter section. The Perception and Tracking section receives input from a point cloud sensor and an RGB image sensor. The point cloud data can be processed through a point cloud fusion and occupancy grid generation module to produce an occupancy grid that identifies obstacles such as walls and humans within the environment. The RGB image can be processed through a vision-based instance segmentation module, which may use a segmentation network such as YOLO, to generate semantic labels that classify detected objects into categories such as persons, chairs, and walls. An objectlevel tracker receives the semantic labels and produces a semantic tracking occupancy grid that maintains persistent identification of objects in the environment.

[0228] In several embodiments, the Perception and Tracking section can fuse multi-sensor point clouds into a robot-centric occupancy grid and use a vision-based segmentation network to identify object instances. Safety control systems in accordance with many embodiments of the invention may deploy an object-level tracker that associates point cloud clusters with semantic labels over time. The object-level tracker can use connected component analysis to extract spatial clusters from the occupancy grid and match the spatial clusters to existing detections via nearest-neighbor association within a gating radius. Labeled clusters can update position and velocity estimates using exponential smoothing and decay according to new detections and tracked clusters. The downstream safety filters can maintain up-to-date semantics even without fresh visual confirmation, enabling persistent human tracking when individuals move outside the camera's field of view.

[0229] In a number of embodiments, the Social-semantic Field Synthesis section can receive the processed data from the Perception and Tracking section and establish class-aware boundary conditions based on the semantic information. The class-aware boundary conditions can assign different boundary flux values to different obstacle classes, where obstacles classified as persons may receive larger magnitude flux values than obstacles classified as walls, and obstacles classified as walls may receive larger magnitude flux values than obstacles classified as chairs.The class-aware boundary conditions can encode both outward-normal repulsion on obstacle boundaries with class-dependent magnitude and a tangential bias on an internal Dirichlet interface that encourages socially-compliant avoidance behaviors such as passing on a particular side of a human.

[0230] In many embodiments, the Social-semantic Field Synthesis section can include a Laplace equation solver that processes the class-aware boundary conditions to generate a social-semantic guidance field. The social-semantic guidance field can encode class-dependent social navigation norms by prescribing outward-normal repulsion on obstacle boundaries with classdependent magnitude and tangential boundary conditions on a buffered internal interface that encode a desired social flow direction. The tangential boundary conditions can be defined on a buffered boundary obtained via a Pontryagin difference operation, where the sign convention on the unit tangent vector determines the passing direction. The Laplace equation solver can solve a vector Laplace equation over the free space domain, where each component of the social-semantic guidance field satisfies Laplace's equation within the domain with boundary values determined by the class-aware flux on obstacle surfaces and the tangential bias on the buffered internal interface.

[0231] In several embodiments, the Social -semantic Field Synthesis section can include a Poisson solver that receives a forcing function derived from the social-semantic guidance field and produces a Poisson safety function. The forcing function can be computed from the divergence of the social-semantic guidance field. The Poisson solver can solve a Dirichlet boundary value problem for Poisson's equation on a domain parameterized by robot orientation, producing a safety function that is smooth, positive in free space according to the strong maximum principle, and zero on obstacle boundaries. The class-aware boundary conditions of the guidance field can propagate into the forcing function, causing the safety function to change more rapidly near boundaries associated with higher-priority obstacle classes compared to lower-priority obstacles. Safety control systems in accordance with many embodiments of the invention may also include a dynamic environment module that tracks temporal changes between consecutive safety function computations to determine a temporal derivative of the safety function via motion-compensated finite differences.

[0232] In a number of embodiments, the Dual-layer Safety Filter section can include a predictive layer that plans safe trajectories over a finite planning horizon. The predictive layer canimplement a model predictive control (MPC) fdter that solves a finite-time optimal control problem subject to safety constraints at each time step along the horizon. The safety constraint at each time step can provide that the Poisson safety function value does not decrease too rapidly between consecutive time steps. The discrete-time safety constraint can be expressed as:where / i&n represents the Poisson safety function, 4^ represents the full state including position and heading at time step fc, y > 0 represents a positive parameter, At represents the time step, and N represents the planning horizon length. Safety control systems in accordance with several embodiments of the invention may linearize the safety constraint around the current trajectory using the guidance field for the position components and numerical differentiation for the heading component.

[0233] In many embodiments, the real-time analytical safety filter can perform control barrier function activation and closed-form quadratic programming projection to produce a safe control input. The real-time analytical safety filter can receive the MPC solution and the current robot state, evaluate the safety function and guidance field via interpolation across a discretized grid, and project the MPC solution onto the safe control set. The real-time analytical safety filter can solve an optimization problem that minimizes the deviation between the control input and the MPC solution while satisfying a safety constraint. The safety constraint in the real-time analytical safety filter can be expressed as:where vsem(q, represents the social-semantic guidance field evaluated at the current position and heading, u represents the control input including translational and angular velocities,represents the partial derivative of the safety function with respect to heading,represents thetemporal derivative of the safety function, and a represents a scaling function that modulates the temporal derivative contribution based on proximity to obstacle boundaries. The scaling function can diminish the effect of the temporal derivative in open space while maintaining the full effect near obstacle boundaries where the safety function approaches zero.

[0234] Tn several embodiments, the layered system of the Dual-layer Safety Filter section can combine the predictive planning capabilities of the MPC filter with the reactive responsiveness of the real-time analytical safety filter. The predictive MPC filter can plan trajectories over a finite horizon subject to linearized safety constraints, enabling anticipatory trajectory shaping for smooth navigation. The real-time analytical safety filter can provide immediate reactive corrections at a higher frequency, safeguarding the robotic system against dynamic disturbances and rapid environmental changes. Safety control systems in accordance with a number of embodiments of the invention may use the social-semantic guidance field in both the predictive and real-time safety filters to introduce varying levels of conservatism for different obstacles in the environment, where obstacles classified as persons receive larger activation zones than obstacles classified as furniture.

[0235] In many embodiments, the social-semantic field synthesis system can enable robotic systems to navigate semantically rich, dynamic environments with context-dependent safety margins. The system can combine the social-semantic guidance field and the Poisson safety function to modulate safety constraints based on semantic context, where the boundary flux values assigned to different obstacle classes control how activation zones expand or contract around those obstacles. Larger boundary flux magnitudes assigned to higher-priority obstacles such as persons can create wider activation zones, causing the safety filter to respond to those obstacles at greater distances. Smaller boundary flux magnitudes assigned to lower-priority obstacles such as furniture can produce thinner activation zones, allowing trajectories to approach those obstacles more closely before the safety filter intervenes.

[0236] In several embodiments, the tangential bias component of the social-semantic guidance field can enable social navigation behaviors where the robotic system passes on a particular side of a human. The tangential boundary conditions on the buffered internal interface can encode a desired social flow direction, where the sign convention on the unit tangent vector determines whether the robotic system passes on the left or right side of a human. The nonconservative nature of the Laplace guidance field can enable the encoding of rotational social flow patterns on the buffered boundary, producing guidance fields that direct the robotic system along socially-compliant trajectories around human obstacles.

[0237] In a number of embodiments, the social-semantic field synthesis system can be deployed on various robotic platforms including quadruped robots and humanoid robots. Safetycontrol systems in accordance with many embodiments of the invention may operate on a reduced-order model including position and heading, enabling deployment on different robotic platforms with modifications concerning sensor inputs and control interfaces.

[0238] Although specific social-semantic field synthesis systems are described with reference to FIG. 23, alternative social-semantic field synthesis systems are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0239] In many embodiments, safety control systems can implement a process for generating safe control commands that integrates semantic perception, social-semantic field synthesis, and dual-layer safety filtering into a unified process. The process can receive an occupancy grid, a class map containing semantic labels for detected objects, a robot state including position and heading coordinates, and a nominal command as inputs, and can produce a safe command as an output. The process can combine the perception, field synthesis, and safety filtering stages described above with reference to FIG. 23 into a sequential procedure that can be executed at each control cycle of the robotic system.

[0240] Pseudocode for a process for generating context-aware safe control commands in accordance with an embodiment of the invention is illustrated in FIG. 24. FIG. 24 depicts a flowchart of a process, hereinafter referred to as Safe-SAGE, that receives an occupancy grid, a class map, a robot state including position and orientation coordinates, and a nominal command as inputs, and produces a safe command as an output. The process includes a Poisson safety function construction section including multiple sequential steps, followed by steps for determining an MPC solution and applying a real-time semantics-aware safety filter.

[0241] In several embodiments, the process can begin by extracting LiDAR clusters from the occupancy grid via connected component analysis. Connected component analysis can identify spatially contiguous groups of occupied cells within the occupancy grid and extract the spatially contiguous groups as distinct clusters. Each cluster can correspond to a detected obstacle or object within the environment. Processes in accordance with many embodiments of the invention may use connected component analysis to segment the occupancy grid into individual obstacle regions that can be associated with semantic labels.

[0242] In a number of embodiments, the process can update a human tracker with the extracted clusters and semantic labels obtained from a vision-based segmentation network. Thehuman tracker can associate LiDAR clusters with semantic labels overtime using nearest-neighbor association within a gating radius. Labeled clusters can update position and velocity estimates using exponential smoothing and can decay according to new detections and tracked clusters. Labeled clusters that lose association for more than a timeout threshold can be pruned. The human tracker can maintain persistent identification of human obstacles even when individuals move outside the field of view of the camera, enabling the downstream safety filters to maintain up-to-date semantics without fresh visual confirmation.

[0243] In many embodiments, the process can label occupied cells in the occupancy grid using tracked human positions from the human tracker. Cells corresponding to tracked human positions can receive a human label, while remaining occupied cells can retain labels corresponding to other obstacle classes such as walls or furniture. The labeled occupancy grid can provide the semantic information used to establish class-aware boundary conditions for the guidance field construction.

[0244] In several embodiments, the process can compute boundary normals and a class-aware flux based on the labeled occupancy grid. Boundary normals can be computed at each point on the obstacle boundaries within the occupancy grid. The class-aware flux can assign different boundary flux values to different obstacle classes, where obstacles classified as persons can receive larger magnitude flux values than obstacles classified as walls, and obstacles classified as walls can receive larger magnitude flux values than obstacles classified as chairs. The process can also construct a semantic guidance field with tangent biasing, where tangential boundary conditions on a buffered internal interface encode a desired social flow direction. The tangential boundary conditions can be defined on a buffered boundary, where the sign convention on the unit tangent vector determines the passing direction for social navigation behaviors such as passing on a particular side of a human.

[0245] In a number of embodiments, the process can solve a Laplace equation to construct the social-semantic guidance field. The Laplace equation can be solved for each spatial component of the guidance field over the free space domain, with boundary values determined by the class-aware flux on obstacle surfaces and the tangential bias on the buffered internal interface. The Laplace equation with the social-semantic boundary conditions can be expressed as:where Avi represents the Laplacian of the i-th component of the guidance field,represents the free space domain parameterized by robot orientation i, dr(ip) represents a buffered internal interface obtained via a Pontryagin difference operation,< 0 controls the social flow magnitude, Ttrepresents the i-th component of the unit tangent vector on the buffered boundary, b q,ip) < 0 represents the repulsion magnitude on obstacle surfaces, and ntrepresents the i-th component of the outward unit normal vector. The first condition specifies that each component of the guidance field satisfies Laplace's equation within the free space excluding the buffered interface. The second condition encodes tangential social flow on the buffered boundary surrounding obstacles. The third condition encodes outward-normal repulsion on obstacle surfaces with class-dependent magnitude.

[0246] In many embodiments, the process can compute a forcing function based on the divergence of the social-semantic guidance field. The forcing function can be derived from the divergence of the guidance field and may include a transformation to produce negative values throughout the domain, as described above with reference to FIG. 9A.

[0247] In several embodiments, the process can solve a Poisson equation for a safety function using the forcing function. The Poisson equation can be solved as a Dirichlet boundary value problem on a domain parameterized by robot orientation, producing a safety function that is smooth, positive in free space, and zero on obstacle boundaries. The class-aware boundary conditions of the guidance field can propagate into the forcing function, causing the safety function to change more rapidly near boundaries associated with higher-priority obstacle classes compared to lower-priority obstacles.

[0248] In a number of embodiments, the process can update a temporal derivative of the safety function via motion-compensated finite differences. The temporal derivative can be approximated by comparing consecutive safety function solutions while compensating for robot egomotion between frames. The temporal derivative can be expressed as:and Zi^1-)represent consecutive safety function solutions at time steps k and k — 1, (i,j, Z) represent grid indices corresponding to spatial position and orientation,representegomotion compensation offsets that account for robot translation between frames, and dtgridrepresents the time interval between consecutive safety function computations. The egomotion compensation can align the previous safety function solution with the current robot-centric frame before computing the finite difference. Processes in accordance with many embodiments of the invention may smooth the temporal derivative estimate over time using a first-order low-pass filter.

[0249] In many embodiments, the process can determine an MPC solution based on the safety function and the guidance field. The MPC solution can plan safe trajectories over a finite horizon subject to linearized safety constraints, as described above with reference to FIG. 23. The MPC solution can serve as the nominal input to the real-time safety filter.

[0250] In several embodiments, the process can apply a real-time semantics-aware safety filter to generate the safe command. The real-time safety filter can receive the MPC solution and the current robot state, evaluate the safety function and guidance field via interpolation across a discretized grid, and project the MPC solution onto the safe control set. The real-time safety filter can produce a safe control input that satisfies the safety constraint described above with reference to FIG. 23, where the social-semantic guidance field and the partial derivative of the safety function with respect to heading are used in the constraint formulation. The process can then return the safe command as the output.

[0251] In a number of embodiments, the process can be executed at each control cycle of the robotic system, enabling the robotic system to respond to changes in the environment as obstacles move and semantic information is updated. The process can combine the reflexive responsiveness of the real-time safety filter with the anticipatory trajectory shaping of the MPC filter, enabling the robotic system to navigate semantically rich, dynamic environments with context-dependent safety margins. The process can be deployed on various robotic platforms including quadruped robots and humanoid robots, with modifications concerning sensor inputs and control interfaces.

[0252] Although specific processes for generating context-aware safe control commands are described with reference to FIG. 24, alternative processes are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0253] In many embodiments, safety control systems can integrate vision-based semantic segmentation with boundary flux assignment to produce context-dependent safety behavior directly from perception data. A vision-based segmentation network can process RGB image datato identify and classify objects within an environment, and the resulting semantic labels can be mapped to boundary flux values that determine the level of caution a robotic system exhibits around each detected obstacle. The mapping from semantic labels to boundary flux values can instantiate semantic information directly in the Poisson safety function framework through the guidance field boundary conditions, enabling robotic systems to navigate according to social norms where different obstacle types receive different levels of avoidance.

[0254] An RGB camera image with object detection annotations in accordance with an embodiment of the invention is illustrated in FIG. 25A, and a corresponding Laplace guidance field with boundary flux encoding variable risk levels for detected objects in accordance with an embodiment of the invention is illustrated in FIG. 25B. A vision-based instance segmentation network can process the RGB image and generate bounding box annotations around each detected object along with associated semantic labels, confidence scores, and boundary flux parameter values. In the example illustrated by FIG. 25A, the person detection can exhibit a confidence score of 0.94 and a boundary flux parameter value of b = 6.0. A first chair detection can exhibit a confidence score of 0.90 and a boundary flux parameter value of b = 3.0, and a second chair detection can exhibit a confidence score of 0.95 and a boundary flux parameter value of b = 3.0. The boundary flux parameter values can reflect the assigned priority of each obstacle class, where the person receives a larger magnitude flux value than the chairs.

[0255] In several embodiments, the boundary flux parameter values displayed in FIG. 25A can be determined by a process that associates each detected object with a semantic label, assigns a priority based on the label, converts the priority to a normalized risk value, and maps the risk value to a boundary flux magnitude. The process can be expressed as: State — Feature — Priority — ► Assigned Risk — > Flux.

[0256] In a number of embodiments, safety control systems can use a feature function to associate each obstacle boundary point with a label from a discrete set of obstacle labels. For the environment depicted in FIG. 25A, the set of obstacle labels can include wall, chair, and person categories. A priority function can order the set of labels according to a user-defined priority ranking that specifies which obstacles demand more caution than others. The priorities can then be converted to risk values using a risk-assignment map, and the bounded risk values can be mapped to flux values via a flux function. Safety control systems in accordance with manyembodiments of the invention may assign priorities such that obstacles classified as persons receive higher priority values than obstacles classified as chairs, and obstacles classified as chairs receive higher priority values than obstacles classified as walls.

[0257] In many embodiments, the risk-assignment map can use a smooth, bounded, monotonic function to normalize priority values to a consistent scale. For semantic features where the priority values are discrete, the risk-assignment map can use an exponential function of the form:w(r) = 1 — e~ar,where a > 0 represents a positive parameter and r represents the priority value. The exponential function can map priority values to risk values in the interval [0, 1], applying higher risk to obstacles with higher assigned priority. The bounded risk values can then be mapped to flux values via a function that linearly interpolates between minimum and maximum flux values bminand bmax, associating low risk with low flux magnitude and high risk with high flux magnitude.

[0258] In several embodiments, the guidance field visualization can depict a processed representation of the same scene captured in FIG. 25 A, rendered as a dense vector field on a spatial domain. The field pattern can reveal the flow of the guidance field around obstacles, with the person appearing as a prominent feature in the center and the chairs visible as distinct shapes on either side. The guidance field visualization can demonstrate the transformation from visual perception data to a vector field obtained by solving Laplace's equation with class-aware boundary flux conditions that can be used for safety function synthesis. The underlying occupancy map — derived from fused point cloud data and semantic labels — can serve as the basis that identifies free space regions and obstacle boundaries within the environment.

[0259] In a number of embodiments, the boundary flux parameter values assigned to each detected object can control how the guidance field and resulting safety function behave around each obstacle. As illustrated by the example in FIG. 25B, the person, having received a boundary flux parameter value of b = -6.0, can produce steeper gradients in the guidance field around the person boundary compared to the chairs, which received boundary flux parameter values of b = -3.0. The steeper gradients around the person can cause the safety filter to activate at greater distances from the person, resulting in trajectories that maintain wider clearance around the person compared to the chairs. Safety control systems in accordance with many embodiments of theinvention may use the class-dependent boundary flux values to produce activation zones around obstacles, where the activation zones around the person can be larger than the activation zones around the chairs.

[0260] In many embodiments, the semantic flux modulation depicted in FIG. 25A and FIG.25B can enable robotic systems to navigate according to social norms where persons receive greater avoidance margins than furniture. The boundary flux values can encode the semantic understanding of the environment directly in the guidance field boundary conditions, which propagate through Laplace's equation into the guidance field, through the divergence operation into the forcing function, and through Poisson's equation into the safety function. The classdependent boundary flux values can produce a safety function that changes more rapidly near boundaries associated with higher-priority obstacle classes compared to lower-priority obstacles.

[0261] In several embodiments, the vision-based instance segmentation network can use a pretrained segmentation model to detect and classify objects within the RGB image. The segmentation network can output bounding boxes, semantic labels, and confidence scores for each detected object. The confidence scores can indicate the reliability of each detection, and safety control systems in accordance with a number of embodiments of the invention may use the confidence scores in conjunction with the semantic labels to determine boundary flux values. The semantic labels can be projected into a robot body frame to produce a class map that associates spatial locations with obstacle categories.

[0262] In a number of embodiments, the transformation from RGB image data to a spatial representation underlying FIG. 25B can involve fusing point cloud data from one or more sensors in a robot-centric frame. The point cloud data can be processed to generate an occupancy grid that identifies occupied and unoccupied cells within the environment. The semantic labels obtained from the vision-based segmentation network can be associated with the occupied cells to produce a labeled occupancy grid that provides the semantic information used to establish class-aware boundary conditions for the guidance field construction.

[0263] The comparison between FIG. 25A and FIG. 25B can illustrate how safety control systems transform raw perception data into a class-aware guidance field suitable for Poisson safety function synthesis. The RGB image of FIG. 25A can provide semantic understanding of the environment through object detection and classification, while the guidance field visualization ofFIG. 25B can illustrate the resulting vector field obtained by solving Laplace's equation with class-aware boundary flux values. The combination of semantic labels from the RGB image and spatial data from the point cloud can enable safety control systems to construct guidance fields with class-aware boundary conditions that encode context-dependent safety behavior.

[0264] Although specific examples are described with reference to FIG. 25A and FIG. 25B, alternative implementations are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0265] In many embodiments, safety control systems can generate occupancy maps from perception data that identify free space regions and obstacle boundaries within an environment. The occupancy map can provide a spatial representation that serves as the domain for Poisson's equation, where the free space region Q corresponds to areas where a robotic system can navigate and the obstacle boundaries cQ correspond to surfaces of obstacles within the environment. The occupancy map can be derived from point cloud data and semantic labels obtained from visionbased segmentation networks, enabling the construction of guidance fields with class-aware boundary conditions.

[0266] An occupancy map with safety filter activation zones based on assigned obstacle risk in accordance with an embodiment of the invention is illustrated in FIG. 25C. FIG. 25C depicts a two-dimensional occupancy map showing silhouettes of objects within a bounded rectangular region. The bounded region can be outlined with a border that traces around the perimeter and conforms to the shapes of the objects within the environment.

[0267] The silhouettes depicted in FIG. 25C can correspond to the interior regions Z] of occupied obstacles within the environment, where each Zj can be an open, bounded, and connected set corresponding to the interior of an occupied region. The edges of each silhouette can correspond to the obstacle boundaries dQ, which can be expressed as the union of the boundaries of the individual occupied regions:where n0represents the total number of occupied regions within the environment. The obstacle boundaries dQ can define the surfaces on which the Dirichlet boundary conditions are applied when solving Poisson's equation to generate the safety function. The red outlines surrounding eachsilhouette can correspond to activation zones of the safety filter — regions in which the safety filter modifies nominal control commands to enforce safe behavior. The extent of each activation zone can depend on the boundary flux value assigned to the corresponding obstacle class, with larger-magnitude flux values producing larger activation zones for higher risk obstacles.

[0268] In a number of embodiments, the free space region Q depicted as the background in FIG. 25C can represent the domain on which Poisson's equation is solved. The free space region can be a smooth, open, bounded, and connected set representing unoccupied regions where a robotic system can navigate. Safety control systems in accordance with many embodiments of the invention may solve a Dirichlet boundary value problem for Poisson's equation on the free space region Q, with the safety function equal to zero on the obstacle boundaries BQ.. The solution to Poisson's equation can produce a safety function that is positive in the free space region and approaches zero near the obstacle boundaries.

[0269] In many embodiments, the edges of each silhouette can represent the locations where boundary conditions are specified for the guidance field construction. The boundary conditions can assign different boundary flux values to different obstacle classes based on semantic labels obtained from the vision-based segmentation network. The human figure silhouette can receive a larger magnitude boundary flux value compared to the chair silhouettes, producing steeper gradients in the guidance field around the human boundary and, consequently, a larger activation zone as depicted by the red outline surrounding the human silhouette in FIG. 25C. The class-aware boundary flux values can propagate through Laplace's equation into the guidance field, through the divergence operation into the forcing function, and through Poisson's equation into the safety function.

[0270] In several embodiments, the occupancy maps can be generated by fusing point cloud data from one or more sensors in a robot-centric frame and associating semantic labels with occupied cells. The semantic labels obtained from the vision-based segmentation network can classify each occupied region as a person, chair, wall, or other obstacle category. The labeled occupancy map can provide the semantic information used to establish class-aware boundary conditions for the guidance field construction, enabling robotic systems to exhibit different levels of caution around different obstacle types based on the assigned boundary flux values.

[0271] Tn a number of embodiments, the occupancy map representations can serve as the input to the Poisson safety function construction process described above with reference to FIG. 24. The silhouettes can define the occupied regions that a robotic system avoids during navigation, while the edges of the silhouettes can define the obstacle surfaces on which the safety function equals zero. The red outlines surrounding each silhouette can depict the activation zones induced by the class-aware boundary flux values, indicating where the safety filter begins to modify nominal control commands. The free space region surrounding the silhouettes can define the domain on which the safety function takes positive values, enabling the safety filter to maintain collision-free operation by adjusting nominal control commands based on the safety function gradient.

[0272] Although specific examples are described with reference to FIG. 25C, alternative implementations are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.Geometry-Aware Predictive Safety Filters

[0273] In many embodiments, safety control systems can extend the Poisson safety function framework to incorporate both temporal and configurational dependencies, enabling predictive safety filtering that accounts for moving obstacles and robot geometry. Robotic systems with asymmetric geometries, such as humanoid robots and quadruped robots, may occupy different spatial regions depending on orientation. Safety control systems in accordance with various embodiments of the invention may reformulate the static Dirichlet problem for Poisson's equation as a parameterized moving boundary value problem and employ Minkowski set operations to lift the domain into a configuration space that accounts for robot geometry, producing a Poisson safety function that depends on position, orientation, and time.

[0274] A predictive geometry-aware safety function synthesis system in accordance with an embodiment of the invention is illustrated in FIG. 26. FIG. 26 depicts a system that receives environmental perception data and generates safe control commands for a robotic system operating in an environment with obstacles. The system includes a Poisson safety function module that processes an occupancy map along with boundary prediction information and robot geometry information. The Poisson safety function module generates a temporal parameterization and a geometric parameterization. The temporal parameterization can represent a subset of three-dimensional space crossed with a time interval from zero to T, where T represents a finite future time horizon over which the evolution of the safe set can be extrapolated. The geometric parameterization can represent a subset of three-dimensional space crossed with a three-sphere representing robot orientation. The Poisson safety function module includes a Poisson's equation Dirichlet problem solver that computes a safety function by solving the Laplacian of the safety function equal to a forcing function within the domain, subject to zero boundary conditions on the domain boundary. The output of the Poisson safety function module connects to a safety-critical controller that receives nominal input commands. The safety-critical controller includes a predictive safety filter that minimizes a cost function over state and control variables subject to discrete-time dynamics constraints and safety function constraints. The predictive safety filter connects to a locomotion controller, which outputs safe control commands to the robotic system. The robotic system can be a humanoid robot or other legged robot operating in an environment with obstacles, where the safety function values can be visualized as a gradient field on the ground plane.

[0275] In several embodiments, the Poisson safety function module can process the occupancy map to identify a safe set that characterizes free space within the environment. The safe set can change over time as obstacles move through the environment. Safety control systems in accordance with many embodiments of the invention may predict the time evolution of the safe set boundary using a velocity field associated with moving obstacles. The boundary of the safe set at a future time can be determined by propagating the current boundary along characteristic curves defined by the velocity field. The propagation can produce a predicted safe set boundary at each time within the finite future time horizon, enabling the safety function to account for anticipated changes in the environment.

[0276] In a number of embodiments, the temporal parameterization can construct a non-cylindrical space-time domain by collecting the time-varying safe sets over the finite future time horizon. The non-cylindrical space-time domain can be expressed as:where C’ (t) represents the safe set at time t, and T represents the finite future time horizon. The non-cylindrical shape of the domain can reflect that the safe set boundary changes over time asobstacles move. Safety control systems in accordance with several embodiments of the invention may solve a Dirichlet problem for Poisson's equation on the non-cylindrical space-time domain, where the Laplacian can be computed with respect to the spatial output variables and the safety function can be parameterized by time. The resulting safety function can characterize the safe set at each time within the prediction horizon, enabling predictive trajectory planning that anticipates changes in the environment.

[0277] In many embodiments, the geometric parameterization can modify the safe set to account for the physical geometry of the robotic system at different orientations. Safety control systems in accordance with a number of embodiments of the invention may define a set of all points occupied by the robot relative to a centroid of the robot, where the set depends on a quaternion representing the attitude of the robotic system. A reduced safe set can be constructed via a Minkowski difference operation between the original safe set and the robot occupancy set at a given orientation. The Minkowski difference can produce the minimal pointwise reduction of the safe set that keeps the entire robotic platform collision-free at that orientation. The reduced safe set can be lifted into a higher-dimensional configuration space to create a non-cylindrical domain:represents the reduced safe set at orientation <7, and §3represents the three-sphere of unit quaternions. The non-cylindrical domain can vary in shape along the orientation dimension because the Minkowski difference produces different reduced safe sets at different orientations. Safety control systems in accordance with many embodiments of the invention may solve a Dirichlet problem for Poisson's equation on the orientation-parameterized domain, where the Laplacian can be computed with respect to the spatial output variables and the safety function can be parameterized by orientation.

[0278] In several embodiments, the temporal parameterization and the geometric parameterization can be combined to produce a domain that depends on both orientation and time. The combined non-cylindrical domain can be expressed as:where CQT(Q, t) represents a safe set parameterized in both orientation and time. The parameterized Dirichlet problem for Poisson's equation on the combined domain can be expressed as:hQT(y, q,t) = 0 ∀(y, q, t) ∈ ∂ΩQT,represents the Laplacian operator computed with respect to the spatial output y, hQTrepresents the Poisson safety function parameterized by orientation and time, and f represents the forcing function. The Laplacian can be computed with respect to the spatial variables because the original safe set defines safety with respect to the translational output, and the rotational output and time serve as parameters that determine the shape of the domain rather than appearing in the differential operator. The resulting safety function can depend on position, orientation, and time, enabling robotic systems to use both translation and rotation as strategies for maintaining collision- free operation.

[0279] In a number of embodiments, the predictive safety filter can use the parameterized Poisson safety function to enforce safety constraints over a finite planning horizon. The predictive safety filter can solve a finite-time optimal control problem that minimizes a cost function encoding deviation from a desired state while enforcing discrete-time control barrier function constraints along the planning horizon. The predictive safety filter can operate on a reduced-order model including translational and rotational degrees of freedom. The reduced-order state can include position coordinates and a heading angle, and the control input can include translational velocities and an angular velocity. The finite-time optimal control problem can be expressed as:Vo=represent the planned state and control input at time step i along the planning horizon, represents the desired state, Q and R represent cost weighting matrices, 8trepresentsthe time step, p E (0,1) represents a decay parameter, N represents the planning horizon length, and χkrepresents the current state of the robotic system. The first constraint can provide that the planned trajectory is dynamically feasible under the reduced-order model. The second constraint can provide the discrete-time control barrier function condition, where the safety function value at each subsequent time step can remain at least a fraction p of the safety function value at the current time step. The third constraint can provide that the planned trajectory begins at the current state of the robotic system.

[0280] In many embodiments, the predictive safety filter can solve the finite-time optimal control problem using sequential quadratic programming. The first control output in the solution can be applied as the current control action, which can be relayed to a locomotion controller. Safety control systems in accordance with several embodiments of the invention may implement a layered control system where the predictive safety filter operates as a mid-level controller that generates safe velocity commands, and a low-level locomotion controller tracks the safe velocity commands to produce actuator-level commands for the robotic system. The low-level locomotion controller may include a reinforcement learning policy trained to track velocity commands while maintaining balance and locomotion stability.

[0281] In several embodiments, the predictive safety filter can leverage the finite planning horizon to anticipate future safety constraint violations and plan trajectories that avoid obstacles while maintaining progress toward goal locations. The planning horizon can be determined by the product of the time step 6tand the horizon length N. Safety control systems in accordance with a number of embodiments of the invention may select the planning horizon to match the temporal parameterization interval T, enabling the predictive safety filter to use the time-varying safety function over the full prediction horizon.

[0282] In a number of embodiments, the geometry-aware safety function can enable robotic systems to use rotation as a strategy for maintaining collision -free operation. Robotic systems with asymmetric geometries may navigate through narrow passages by reorienting to align a narrow axis with the passage direction. The orientation-dependent safety function can indicate that a particular position is safe at one orientation but unsafe at a different orientation, enabling the predictive safety filter to plan trajectories that include rotational maneuvers. Safety control systems in accordance with many embodiments of the invention may deploy the predictive safety filter onvarious robotic platforms including quadruped robots and humanoid robots, where the robot geometry can be modeled as a rigid body and the Minkowski difference operation can produce orientation-dependent safe sets.

[0283] In many embodiments, the Poisson safety function module can solve the parameterized Dirichlet problem using a SOR method with an alternating checkerboard update scheme for parallel computation. Safety control systems in accordance with several embodiments of the invention may use GPU acceleration to solve the parameterized Dirichlet problem in real time, enabling the safety function to be updated as the environment changes and new perception data becomes available.

[0284] Although specific geometry-aware safety function synthesis systems are described with reference to FIG. 26, alternative geometry-aware safety function synthesis systems are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0285] In many embodiments, safety control systems operating in dynamic environments can predict the temporal evolution of a safe set boundary to enable predictive trajectory planning that accounts for moving obstacles. In environments where obstacles move through the space, the safe set can change over time, and the corresponding safety function can have an explicit time dependence. Safety control systems in accordance with various embodiments of the invention may reformulate the static Dirichlet problem for Poisson's equation as a parameterized moving boundary value problem, enabling the safety function to extrapolate the evolution of the safe set over a finite future time horizon.

[0286] The temporal evolution of a safe set boundary in accordance with an embodiment of the invention is illustrated in FIG. 27. FIG. 27 depicts a two-dimensional coordinate system showing an initial safe set boundary at time zero and a predicted safe set boundary at a future time T. A velocity vector field associated with moving obstacles indicates the direction and magnitude of boundary movement at points along the initial safe set boundary. The velocity vectors originate from points on the initial boundary and extend outward, representing the rate at which the boundary moves as obstacles change position. The predicted safe set boundary at time T can be displaced from the initial boundary based on the velocity field, illustrating how the safe set changes as obstacles or environmental conditions evolve over the time interval from zero to T.

[0287] In several embodiments, the time dependence of the safe set can be determined by predicting the evolution of the safe set boundary using level set methods. Level set methods can propagate boundaries by representing the boundaries implicitly and modeling the evolution of the boundaries using partial differential equations. The boundary of the safe set at time t can be represented as the zero level set of an implicit function:where φ(y, t) represents an implicit function whose zero level set defines the safe set boundary at time t, and y ∈ ℝ3represents the spatial output. Safety control systems in accordance with a number of embodiments of the invention may use the implicit function representation to track how the safe set boundary evolves as obstacles move through the environment.

[0288] In a number of embodiments, the evolution of the implicit function can be governed by a transport equation derived from the chain rule applied to the condition that the implicit function equals zero on the evolving boundary. The transport equation can be expressed as:where v⃗(t) represents a velocity field that describes the motion of the boundary, and ∇φ represents the spatial gradient of the implicit function. The transport equation can be solved with an initial condition φ(y, 0) = φ0(y), where φ0represents the implicit function at the initial time. The velocity field v⃗(t) can satisfy ẏ(t) = v⃗(t) for each point y(t) on the evolving boundary.

[0289] In many embodiments, the values of the solution to the transport equation can remain constant along characteristic curves defined as solutions to the ordinary differential equation y(t) = v(t) with initial conditions y(0) G dCT(0). The characteristic curve formulation can track the evolution of the boundary over time, enabling the determination of the safe set boundary at each time within the finite future time horizon. The implicit function can be rewritten as:r tφ(y(t), t) = φ0(y(t) − ∫0tv⃗(τ) dτ),Jowhere the velocity field v can be assumed to be Lipschitz continuous in the arguments of the velocity field. Safety control systems in accordance with several embodiments of the inventionmay use the characteristic curve formulation to propagate the safe set boundary forward in time based on observed or estimated obstacle velocities.

[0290] In several embodiments, the characteristic curve formulation can produce a prediction model for the safe set boundary at future times. The prediction model can be expressed as:where the variation of the safe set boundary ∂CT(·) can be continuous in time, following from the regularity of the implicit function <p. The prediction model can determine the safe set boundary at each time t E [0, T] based on the initial boundary and the integrated velocity field. Safety control systems in accordance with many embodiments of the invention may assume a constant velocity field over the prediction horizon, which can simplify the prediction model to a linear boundary prediction where the boundary at time t can be obtained by translating the initial boundary by the product of the velocity field and time.

[0291] In a number of embodiments, the predicted safe set boundaries over the finite future time horizon can be collected to construct a non-cylindrical space-time domain on which Poisson's equation can be solved, as described above with reference to FIG. 26. The non-cylindrical shape of the space-time domain can reflect that the safe set boundary changes over time as obstacles move. The Laplacian in the resulting Dirichlet problem can be computed with respect to the spatial variables, while time can serve as a parameter that determines the shape of the domain rather than appearing in the differential operator. The resulting safety function can characterize the safe set at each time within the prediction horizon, enabling predictive trajectory planning that anticipates changes in the environment.

[0292] In many embodiments, the velocity field used for boundary prediction can be obtained from perception data. Safety control systems in accordance with several embodiments of the invention may use optical flow processes applied to camera images to estimate the velocity of each pixel, producing a two-dimensional velocity field that describes the motion of obstacles within the environment. The estimated velocity field can be used to propagate the safe set boundary forward in time according to the prediction model. In a number of embodiments, the velocity field may be obtained from object tracking processes that estimate the position and velocity of detected obstacles over time.

[0293] In several embodiments, the temporal parameterization can enable safety control systems to anticipate future changes in the safe set and plan trajectories that avoid obstacles while maintaining progress toward goal locations. The predictive safety filter can use the time-varying safety function to enforce safety constraints over a finite planning horizon, where the safety function value at each future time step can reflect the predicted state of the environment at that time. Safety control systems in accordance with a number of embodiments of the invention may combine the temporal parameterization with the geometric parameterization described above with reference to FIG. 26 to produce a safety function that depends on position, orientation, and time.

[0294] In many embodiments, the non-cylindrical space-time domain constructed from predicted safe set boundaries can be visualized as a three-dimensional representation that illustrates how the safe set evolves over a finite time interval. The visualization can depict the temporal lifting of the safe set into a higher-dimensional space, where the vertical axis represents time and the horizontal dimensions represent spatial coordinates. Safety control systems in accordance with various embodiments of the invention may use such visualizations to analyze how the domain for Poisson's equation changes as obstacles move through the environment.

[0295] A three-dimensional visualization of a temporally extended non-cylindrical domain in accordance with an embodiment of the invention is illustrated in FIG. 28. In several embodiments, the elliptical cross-sections can represent the safe set boundary at each discrete time value within the finite time interval. Each ellipse can correspond to the boundary dCT(t) at a particular time t, where the safe set boundary can change shape or position as obstacles move through the environment. The collection of elliptical cross-sections over the time interval can form the non-cylindrical space-time domain flTon which the parameterized Dirichlet problem for Poisson's equation can be solved.

[0296] In a number of embodiments, the non-cylindrical shape of the domain depicted in FIG.28 can reflect that the safe set boundary changes over time as obstacles move. When the safe set boundary remains stationary, the resulting space-time domain can be cylindrical, with identical cross-sections at each time value. When obstacles move through the environment, the safe set boundary can translate, rotate, or deform over time, producing a non-cylindrical domain where the cross-sections vary along the time axis. The visualization of FIG. 28 can illustrate a case wherethe elliptical cross-sections maintain a consistent size and orientation throughout the temporal progression, which can correspond to a static or uniformly translating boundary condition.

[0297] In many embodiments, the semi-transparent surface connecting the elliptical crosssections can represent the continuous evolution of the safe set boundary between discrete time samples. The surface can illustrate that the boundary evolves smoothly over time, following from the regularity of the implicit function used in the level set formulation. Safety control systems in accordance with several embodiments of the invention may assume that the variation of the safe set boundary is continuous in time, which can follow from appropriate regularity conditions on the implicit function representing the boundary.

[0298] In a number of embodiments, the Poisson safety function can be regarded as a collection of functions of space parameterized by time. The Laplacian operator in the Dirichlet problem can be computed with respect to the spatial output variables, while time can serve as a parameter that determines the shape of the domain rather than appearing in the differential operator. The regularity of solutions to the parameterized Dirichlet problem can be addressed under the condition that the boundary evolves continuously in time. Safety control systems in accordance with many embodiments of the invention may solve the parameterized Dirichlet problem at each time step within the prediction horizon to obtain a time-varying safety function that characterizes the safe set as obstacles move.

[0299] In many embodiments, safety control systems can account for the physical geometry of a robotic system when constructing safe sets for collision avoidance. Robotic systems with asymmetric geometries, such as humanoid robots carrying oblong payloads or quadruped robots with elongated bodies, may occupy different spatial regions depending on orientation. A robotic system controlled as a point mass via centroidal motion may not account for the full spatial extent of the robotic platform, and a naive approach of reducing the safe set by a single fixed radius in all spatial dimensions may result in conservatism when the robotic system has a geometry that differs from a circle or sphere. Safety control systems in accordance with various embodiments of the invention may use Minkowski set operations to modify the safe set to account for the geometric shape of the robotic system at each orientation, producing an orientation-dependent safe set boundary that reflects the true spatial footprint of the robotic platform.

[0300] A geometric diagram illustrating the relationship between a safe set, an obstacle region, and a robot configuration in accordance with an embodiment of the invention is illustrated in FIG. 29. FIG. 29 depicts a coordinate system containing an extended safe set parameterized by a configuration variable q, denoted ext, an extended safe set denoted ext(C), and a robot occupancy setrepresenting the spatial footprint of the robotic system at configuration q. The extended safe set ext(C) can represent the exterior of the original safe set C, corresponding to the complement of the free space region. The extended safe set parameterized by configuration ext ) can represent the exterior of the reduced safe setobtained via the Minkowski difference operation described above with reference to FIG. 26. The robot occupancy set 7?(q) can represent the set of all points occupied by the robotic system relative to a centroid of the robotic system at a given orientation q. The geometric relationship between the three sets illustrates how the reduced safe set boundary expands outward from the original safe set boundary by an amount determined by the robot occupancy set at the given orientation.

[0301] In several embodiments, the Minkowski difference operation described above with reference to FIG. 26 can be equivalently expressed as a Minkowski sum on the exteriors of the respective sets. The Minkowski sum formulation can be expressed as:ext(ext(where ext ) represents the exterior of the configuration-dependent safe set, ext(C) represents the exterior of the original safe set, © represents the Minkowski sum operator, and represents the robot occupancy set at orientation q. The Minkowski sum can expand the exterior of the original safe set by the robot occupancy set, producing a larger exterior region and correspondingly a smaller interior free space region. The reduced safe setcan represent the region where the centroid of the robotic system can be placed such that the entire robotic platform remains within the original safe set C at orientation q.

[0302] In a number of embodiments, the Minkowski difference can be computed as a convolution of an occupancy map with a kernel representing the robot occupancy set at a given orientation. The convolution-based computation can produce the reduced safe set for each orientation by sweeping the robot footprint across the occupancy map and identifying locations where the entire footprint falls within the free space region. Safety control systems in accordancewith many embodiments of the invention may perform the Minkowski difference for a discrete sampling of robot orientations to produce a set of reduced safe sets that span the range of possible orientations.

[0303] The geometric relationship depicted in FIG. 29 can illustrate how the safe set boundary changes depending on the orientation of the robotic system. A robotic system with an elongated geometry, such as a humanoid robot carrying an oblong payload, can occupy a wider spatial region when oriented with the long axis perpendicular to a corridor compared to when oriented with the long axis aligned with the corridor. The Minkowski difference operation can produce a reduced safe set that is smaller when the robotic system occupies a wider spatial region at a given orientation, and larger when the robotic system occupies a narrower spatial region at a different orientation. The orientation dependence of the reduced safe set can enable the predictive safety filter to plan trajectories that include rotational maneuvers, where the robotic system reorients to align a narrow axis with a passage direction to navigate through tight spaces that would be inaccessible at other orientations.

[0304] In several embodiments, the configuration variable q can represent a quaternion on the three-sphere §3for robotic systems with full three-dimensional rotational degrees of freedom. Safety control systems in accordance with a number of embodiments of the invention may model the robotic system as a rigid body, where the robot occupancy setcan be determined by the physical dimensions and shape of the robotic platform at each orientation. In some cases, the robot geometry may be further manipulable via additional degrees of freedom in a higher-order configuration space beyond rigid-body rotation.

[0305] In a number of embodiments, the reduced safe set C2(q) can be lifted into a higherdimensional configuration space to create a non-cylindrical domain on which Poisson's equation can be solved, as described above with reference to FIG. 26. The non-cylindrical domain can vary in shape along the orientation dimension because the Minkowski difference produces different reduced safe sets at different orientations. The resulting Poisson safety function can depend on both position and orientation, enabling the safety filter to evaluate whether a given position is safe at a particular orientation. A position that is safe at one orientation may be unsafe at a different orientation, depending on the spatial footprint of the robotic system at each orientation.

[0306] In many embodiments, the safe set buffering approach depicted in FIG. 29 can provide a geometry-aware collision avoidance strategy that accounts for the true shape of the robotic system rather than relying on a conservative circular or spherical approximation. The Minkowski difference operation can produce the minimal pointwise reduction of the safe set that keeps the entire robotic platform collision-free at a given orientation. Safety control systems in accordance with several embodiments of the invention may use the geometry-aware safe set buffering to enable robotic systems to navigate through narrow passages by reorienting to align a narrow axis with the passage direction, leveraging rotation as a strategy for maintaining collision-free operation.

[0307] Although specific examples are described with reference to FIG. 29, alternative implementations are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0308] In many embodiments, the orientation-parameterized domain constructed from reduced safe sets at different robot orientations can be visualized as a three-dimensional representation that illustrates how the safe set varies continuously with robot heading angle. The reduced safe sets obtained via the Minkowski difference operation described above with reference to FIG. 29 can be collected across a range of orientations to form a non-cylindrical domain on which Poisson's equation can be solved. The resulting Poisson safety function can depend on both position and orientation, enabling robotic systems to use rotation as a strategy for maintaining collision-free operation.

[0309] A three-dimensional visualization of an orientation-parameterized domain in accordance with an embodiment of the invention is illustrated in FIG. 30. In several embodiments, the dimensionality of the orientation-parameterized domain can be reduced for robotic systems operating in two-dimensional environments with a single rotational degree of freedom. For a two-dimensional robotic system with a single heading angle 6 E S1, the non-cylindrical domain can be expressed as f2g G DU2x S1. The visualization of FIG. 30 can depict the domain in the reduceddimensional setting, where the two horizontal dimensions represent spatial coordinates and the vertical dimension represents the heading angle. The non-cylindrical shape of the domain can reflect that the Minkowski difference produces different reduced safe sets at different heading angles, because the robot occupancy set?(0) changes shape as the heading angle varies.

[0310] In a number of embodiments, the variation of the elliptical cross- sections along the orientation axis can illustrate how the safe set boundary depends on the geometric footprint of the robotic system at each heading angle. A robotic system with an elongated geometry, such as a humanoid robot carrying an oblong payload, can produce elliptical cross-sections that vary in width depending on the heading angle. At orientations where the long axis of the robotic system aligns with a narrow passage, the reduced safe set can be larger, indicating that the centroid of the robotic system can be placed at more locations while maintaining collision-free operation. At orientations where the long axis of the robotic system is perpendicular to the passage, the reduced safe set can be smaller, indicating fewer safe centroid locations. Safety control systems in accordance with many embodiments of the invention may solve the parameterized Dirichlet problem for Poisson's equation on the non-cylindrical domain depicted in FIG. 30 to obtain a safety function h(x,y, 6) that depends on position and heading angle.

[0311] In many embodiments, the orientation-dependent safety function h(x,y, 0) can indicate that a given position is safe at one heading angle but unsafe at a different heading angle, depending on the spatial footprint of the robotic system at each orientation. The Laplacian operator in the Dirichlet problem can be computed with respect to the spatial output variables, while the heading angle can serve as a parameter that determines the shape of the domain rather than appearing in the differential operator. The orientation dependence of the safety function can enable the predictive safety filter to plan trajectories that include rotational maneuvers, where the robotic system reorients to align a narrow axis with a passage direction to navigate through tight spaces that would be inaccessible at other orientations.

[0312] In several embodiments, the non-cylindrical domain depicted in FIG. 30 can be combined with the temporal parameterization described above with reference to FIG. 28 to produce a domain that depends on both orientation and time. The combined domain can enable the predictive safety filter to plan trajectories that account for both robot geometry and moving obstacles simultaneously. Safety control systems in accordance with a number of embodiments of the invention may solve the parameterized Dirichlet problem on the combined domain to obtain a safety function that depends on position, heading angle, and time, as described above with reference to FIG. 26.

[0313] In a number of embodiments, the surfaces connecting the elliptical cross-sections can represent the continuous variation of the safe set boundary across orientations. The continuous variation can follow from the continuity of the Minkowski difference operation with respect to the orientation parameter. The smooth variation of the domain boundary across orientations can contribute to the regularity of the resulting Poisson safety function with respect to the orientation parameter, enabling smooth control actions when the safety function is used in a predictive safety filter that plans trajectories involving both translational and rotational degrees of freedom.

[0314] Safety control systems in accordance with a variety of embodiments can implement a layered control system that separates safety-critical trajectory planning from low-level locomotion control. The layered system can decouple safety constraint synthesis from full-order robot dynamics modeling, enabling tractable computation of safe trajectories on a simplified model while relying on a locomotion controller to track the safe trajectories on the full-order dynamics of the robotic system.

[0315] A layered control system for a robotic system implementing safety-critical control in accordance with an embodiment of the invention is illustrated in FIG. 31. FIG. 31 depicts a layered control system including a mid-level controller and a low-level controller. The mid-level controller implements an MPC+CBF predictive safety filter that receives a desired state input and a current state input. The mid-level controller operates on a reduced-order integrator model and generates safe velocity commands that are passed to the low-level controller. The low-level controller implements a reinforcement learning (RL) locomotion controller that operates on the full-order hybrid dynamics of the robotic system. The low-level controller receives the velocity commands from the mid-level controller and the current full state of the robotic system, and generates actuator-level control outputs that are sent to the robotic system.

[0316] In several embodiments, the mid-level controller can operate on a reduced-order model (ROM) that represents the robotic system as a fully-actuated single-integrator with translational and rotational degrees of freedom. The reduced-order model can comprise a continuous-time system model expressed as:Z =H>where the reduced-order state χ = [x, y, θ]T∈ ℝ2× S1includes position coordinates and a heading angle, and the control input μ = [vx, vy, ω]T∈ ℝ3includes translational velocities and anangular velocity. The reduced-order model can capture the dominant task-level dynamics of the robotic system while enabling tractable synthesis of safety constraints through the MPC+CBF formulation described above with reference to FIG. 26.

[0317] In a number of embodiments, the mid-level controller can solve the finite-time optimal control problem described above with reference to FIG. 26 using the reduced-order integrator model. The discrete-time dynamics constraint in the finite-time optimal control problem can provide that the planned trajectory is dynamically feasible under the reduced-order model. The discrete-time control barrier function constraint can provide that the Poisson safety function value at each subsequent time step remains at least a fraction of the safety function value at the current time step. The Poisson safety function can provide both the constraint values evaluated along the MPC planning horizon and the smooth gradients used to enforce the safety constraints at each time step. The smoothness of the Poisson safety function can enable the MPC solver to compute well-conditioned gradient information for the safety constraints, facilitating convergence of the optimization.

[0318] In many embodiments, the low-level controller can operate on the full-order hybrid dynamics of the robotic system. Legged robotic systems can exhibit hybrid dynamics where continuous-phase motion governed by equations of motion alternates with discrete impact events that occur when a foot contacts the ground. The full-order dynamics can be represented by equations describing the relationship between generalized coordinates and their derivatives, along with a reset map that captures the hybrid nature of legged locomotion. The generalized coordinates can include joint angles, body orientation, and body position of the robotic system. The low-level controller can receive the safe velocity commands from the mid-level controller and generate desired reference trajectories based on the velocity commands. Safety control systems in accordance with several embodiments of the invention can apply an RL policy to produce actuatorlevel control outputs that track the safe velocity commands while maintaining balance and locomotion stability.

[0319] In several embodiments, the reinforcement learning locomotion controller can be trained in simulation using domain randomization to produce robust tracking behavior across a range of operating conditions. The reinforcement learning policy can receive the current full state of the robotic system and the desired velocity commands from the mid-level controller, and canoutput joint-level torque commands or position targets for the actuators of the robotic system. Safety control systems in accordance with a number of embodiments of the invention can train the reinforcement learning policy with domain-randomized forces on the robot body to emulate forces from upper body movements and carried loads, enabling robust locomotion under varying conditions.

[0320] In a number of embodiments, the layered system can interpret safety-critical control as certifying the ability of the full-order robotic system to track the velocity commands generated by the reduced-order model. Safety for the full-order dynamics can follow provided the low-level controller produces tracking performance within a bounded error margin relative to the reduced-order model commands. The decoupling of safety synthesis from full-order modeling can enable the same mid-level safety filter to be deployed across different robotic platforms, including quadruped robots and humanoid robots, with modifications limited to the low-level locomotion controller and sensor interfaces.

[0321] In many embodiments, the Poisson safety function can provide smooth gradient information that facilitates the operation of both the predictive planning layer and the reactive safety layer within the layered system. The smoothness of the Poisson safety function, which results from solving Poisson's equation with a smooth forcing function, can enable the MPC solver to compute gradient-based updates without encountering the discontinuities that arise when SDFs are used as safety constraints. The smooth gradients can enable the predictive safety filter to plan trajectories that smoothly navigate around obstacles while maintaining progress toward goal locations. Safety control systems in accordance with several embodiments of the invention can leverage the Poisson safety function in the discrete-time control barrier function constraints along the planning horizon, where the safety function value at each future time step can reflect the predicted state of the environment at that time when temporal parameterization is employed.

[0322] In several embodiments, the mid-level controller can solve the finite-time optimal control problem using sequential quadratic programming. The first control output in the solution can be applied as the current control action, which can be relayed to the low-level locomotion controller. The receding horizon approach can recompute the optimal plan at each control cycle, enabling the mid-level controller to respond to changes in the environment and updated safety function values as new perception data becomes available.

[0323] In a number of embodiments, the layered control system can be deployed on various legged robotic platforms. Safety control systems in accordance with many embodiments of the invention can deploy the layered system on quadruped robots and humanoid robots, where the mid-level MPC+CBF predictive safety filter generates safe velocity commands and the low-level RL locomotion controller tracks the safe velocity commands to produce actuator-level commands. For humanoid robots, the low-level controller can include a separate optimization-based controller applied to the waist joint to track rotational velocity commands without compromising balance. The layered system can enable robotic systems to navigate through environments with both static and dynamic obstacles while maintaining collision-free operation through the Poisson safety function constraints.

[0324] Although specific examples are described with reference to FIG. 31, alternative implementations are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0325] In many embodiments, safety control systems can extend the Poisson safety function framework to three-dimensional workspaces for robotic manipulators, enabling full-body collision avoidance where safety constraints are enforced across the entire geometric structure of an articulated robotic system rather than at a single point such as an end-effector. Robotic manipulators operating in unstructured and dynamic environments may collide with obstacles at any location along the manipulator body, and safety control systems in accordance with various embodiments of the invention may address full-body collision avoidance by combining three-dimensional Poisson safety functions with a sampling-and-buffering method that provides coverage of the continuous manipulator surface through a finite set of sample points.

[0326] A full-body dynamic safety process for robot manipulators in accordance with an embodiment of the invention is illustrated in FIG. 32. FIG. 32 depicts a process that transforms three-dimensional environmental perception data into safe control commands for a robotic manipulator. The process includes a three-stage processing sequence including three-dimensional occupancy data, buffered occupancy data, and a three-dimensional Poisson safety function. The three-dimensional occupancy data can represent a collection of geometric shapes including obstacles and environmental boundaries rendered in a spatial representation of the workspace. The buffered occupancy data can represent the original occupancy data expanded by a buffer parameter£ to account for the physical dimensions of the robotic manipulator at sampled locations, with buffered regions indicated around the original obstacle boundaries. The three-dimensional Poisson safety function can be visualized as a continuous field with varying values across the spatial domain, where the coloration indicates the magnitude of the safety function throughout the workspace environment. The robotic manipulator can comprise a multi -jointed arm configuration with a surface sampled at multiple points, where the sample points are used to evaluate the safety function. A safety filter can receive the safety function values evaluated at the sample points along with the buffer parameter from the buffered occupancy stage, and can output a safe velocity command that is transmitted to the robotic manipulator for execution.

[0327] In several embodiments, the three-dimensional occupancy data can represent the workspace of the robotic manipulator as a volumetric grid where voxels are classified as occupied or unoccupied based on sensor data. Safety control systems in accordance with many embodiments of the invention may discretize the workspace into a uniform three-dimensional voxel grid and populate the grid based on perception data obtained from depth sensors, point cloud sensors, or other three-dimensional sensing modalities. The occupancy data can encode obstacles of arbitrary geometry without requiring geometric primitives such as spheres, rectangles, or ellipses to approximate obstacle shapes.

[0328] In a number of embodiments, the buffered occupancy data can be generated by shrinking the free space region via a Pontryagin difference operation according to a sampling resolution £ > 0. The Pontryagin difference can produce a reduced safe set C£from the original safe set C by removing all points within distance £ of the safe set boundary. The reduced safe set can be expressed as:C£= C Q Bs,where B£represents an open ball of radius £ centered at the origin. The buffering operation can inflate obstacle boundaries by the sampling resolution, producing a domain on which the Poisson safety function is solved. Safety control systems in accordance with several embodiments of the invention may parallelize the buffering computation across the voxel grid, and the buffering operation may have linear computational complexity with respect to the number of voxels.

[0329] In many embodiments, the three-dimensional Poisson safety function can be computed by solving a Dirichlet boundary value problem for Poisson's equation on the buffered free spacedomain C£in three-dimensional Euclidean space W3. A single three-dimensional partial differential equation solve can produce one smooth safety function for the entire workspace, with the safety function positive in the buffered free space and zero on the buffered obstacle boundaries. The three-dimensional Poisson safety function can extend to dynamic environments where the occupancy data changes over time, resulting in a time-varying safety function h£(y, t) that is recomputed as obstacles move through the workspace.

[0330] Tn several embodiments, the manipulator surface can be sampled at a finite set of N points distributed across the links of the robotic manipulator. Each sample point y^ =can be defined in a local link frame and transformed to the workspace frame via forward kinematics from the manipulator joint configuration q E UR”, where < >, represents the forward kinematic map for the i-th sample point and n represents the number of degrees of freedom of the manipulator. The sample set can satisfy a coverage condition where every point on the manipulator surface lies within distance E of at least one sample point. Safety control systems in accordance with a number of embodiments of the invention may construct the sample set by down-sampling a dense point cloud representation of the manipulator geometry using a Poisson disk sampling process that enforces a minimum distance E between each accepted sample.

[0331] In a number of embodiments, the safety filter can implement a multi-constraint optimization problem that generates safe joint velocity commands for the robotic manipulator. The safety filter can operate at the kinematic level, where the manipulator dynamics are modeled as a single-integrator system q = v with direct control over joint velocities v E H. Safety guarantees established at the kinematic level can extend to the full-order manipulator dynamics provided the commanded velocity is accurately tracked by a low-level controller. The multi-constraint safety filter can minimize the squared difference between the commanded velocity and a nominal velocity while satisfying a control barrier function constraint at each sample point. The multi-constraint safety filter can be expressed as:Vsafest.where vsaferepresents the safe joint velocity command, vnomrepresents the nominal joint velocity command, h£represents the three-dimensional Poisson safety function computed on the buffereddomain, (pt(c{) represents the task-space position of the i-th sample point at configuration q,> 0 represents a positive gain parameter for the i-th sample point, and N represents the total number of sample points on the manipulator surface.

[0332] In many embodiments, the time derivative of the safety function at each sample point can be computed using the chain rule applied to the composition of the safety function with the forward kinematics. The time derivative can be expressed as:whereg represents the spatial gradient of the safety function evaluated at the sample point, J(i)∈ ℝ3×nrepresents the Jacobian matrix mapping joint velocities to task-space velocities at the sample point, and represents the temporal derivative of the safety function that captures changes in the safety function as obstacles move. The control barrier function constraint at each sample point can provide that the time derivative of the safety function remains above a threshold determined by the safety function value and the gain parameter, maintaining forward invariance of the buffered safe set at each sample location.

[0333] In several embodiments, the multi-constraint safety filter can produce safe joint velocity commands by solving a quadratic program with N safety constraints corresponding to the N sample points on the manipulator surface. Because the safety constraints derive from a single smooth Poisson safety function evaluated at different locations, the constraints can be mutually consistent and the quadratic program can avoid infeasibility issues that arise when separate barrier functions are constructed for each obstacle. Safety control systems in accordance with many embodiments of the invention may solve the multi-constraint quadratic program in real time at rates suitable for reactive collision avoidance.

[0334] In a number of embodiments, the sampling resolution £ can provide a tradeoff between computational efficiency and geometric fidelity. A larger sampling resolution can result in fewer control barrier function constraints and correspondingly faster quadratic program solve times, but can produce a coarser geometric approximation of the manipulator surface and a larger safety buffer around obstacles. A smaller sampling resolution can result in more control barrier function constraints and a finer geometric approximation with a smaller safety buffer, but can increase thecomputational cost of the quadratic program. Safety control systems in accordance with several embodiments of the invention may select the sampling resolution based on the workspace geometry and the real-time computational budget of the robotic manipulator.

[0335] In many embodiments, the Poisson safety function can be computed using a SOR method with an alternating checkerboard update scheme for parallel computation on a GPU. Safety control systems in accordance with a number of embodiments of the invention may use warmstarting techniques where the previous solution to Poisson's equation initializes the solver for the current time step, reducing the number of iterations when the environment changes incrementally between time steps. The three-dimensional Poisson safety function can be recomputed online as obstacles move through the workspace, enabling the safety filter to respond to dynamic changes in the environment.

[0336] In several embodiments, the full-body dynamic safety framework can be deployed on robotic manipulators with various numbers of degrees of freedom. Safety control systems in accordance with many embodiments of the invention may deploy the framework on manipulators operating in both static and dynamic environments, where static environments contain fixed obstacles and dynamic environments contain moving obstacles such as other robotic systems or human operators entering the workspace. The framework can combine the smoothness properties of Poisson safety functions with the sampling-and-buffering method to provide full-body collision avoidance for articulated robotic systems operating in three-dimensional workspaces.

[0337] Although specific full-body dynamic safety processes for robot manipulators are described with reference to FIG. 32, alternative full-body dynamic safety processes for robot manipulators are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.

[0338] In many embodiments, safety control systems for robotic manipulators can relate the continuous geometric surface of a robotic system to a finite set of sample points through a sampling-and-buffering methodology that provides full-body collision avoidance guarantees. Robotic manipulators present continuous surfaces that extend across multiple links and joints, and directly enforcing safety at every point on the continuous surface can be computationally intractable. Safety control systems in accordance with various embodiments of the invention may discretize the manipulator surface into a finite set of sample points and buffer obstacles by acorresponding resolution, where the combination of sampling and buffering can provide collision avoidance for the entire continuous manipulator surface rather than at the sample points alone.

[0339] The relationship between continuous surface representation, sampling with buffering, and different sampling densities in accordance with an embodiment of the invention is illustrated in FIG. 33. FIG. 33 depicts a robotic manipulator arm interacting with a spherical object, where the continuous surface of the manipulator arm can be represented in three stages. A first stage depicts the continuous surface of the manipulator alongside the spherical object, representing the physical environment where the manipulator geometry and obstacle geometry are continuous. A second stage depicts the manipulator surface represented as a collection of sample points distributed across the manipulator links, with the spherical object shown with a buffer zone surrounding the spherical object. The buffer zone can represent the expansion of the obstacle boundary by a buffer distance corresponding to the sampling resolution. A third stage depicts two configurations: a dense sampling configuration where sample points are closely spaced across the manipulator surface with a smaller buffer distance E1around the manipulator segments and the spherical object, and a sparse sampling configuration where sample points are more widely distributed across the manipulator surface with a larger buffer distance E2around the manipulator segments and the spherical object.

[0340] In several embodiments, safety control systems may obtain a dense point cloud approximation of the manipulator surface from a geometric model of the robotic manipulator. The dense point cloud can provide a fine-resolution representation of the continuous manipulator surface, where the spacing between adjacent points in the dense point cloud can be small relative to the dimensions of the manipulator links. Safety control systems in accordance with many embodiments of the invention may use the dense point cloud as an intermediate representation from which a sparser sample set can be constructed. The dense point cloud can serve directly as sample points that satisfy the coverage condition at a fine resolution, but using the dense point cloud directly can yield a large number of control barrier function constraints that can become computationally prohibitive for real-time operation.

[0341] In a number of embodiments, safety control systems may down-sample the dense point cloud to produce a sparser sample set that satisfies the coverage condition at a prescribed sampling resolution ε > 0. Safety control systems in accordance with several embodiments of the inventionmay employ a Poisson disk sampling process to down-sample the dense point cloud by enforcing a minimum distance s between each accepted sample. The Poisson disk sampling process can retain a point from the dense point cloud if no previously accepted point lies within distance s of the candidate point, producing a sample set with approximately uniform surface coverage. The resulting sample set y = {yx,...,yw} can satisfy the coverage condition by construction, where every point p on the manipulator surface S q~) lies within distance £ of at least one sample point:

[0342] In many embodiments, the coverage condition can imply that the entire manipulator surface is contained in the union of E-balls centered at each sample point. The containment relationship can be expressed as:where B£(yj) = {y 6 IR3: ||y — y;-|| < E} represents the open E-ball centered at the i-th sample point. The union of the E-balls can form an over-approximation of the true manipulator surface. Safety control systems in accordance with a number of embodiments of the invention may leverage the containment relationship to transfer safety guarantees from the finite sample set to the continuous manipulator surface by buffering obstacles by the sampling resolution s, as described above with reference to FIG. 32.

[0343] In several embodiments, the dense sampling configurations and the sparse sampling configurations can illustrate an inverse relationship between sampling density and buffer size for maintaining collision avoidance guarantees. The dense sampling configuration can use a smaller sampling resolution E15producing a larger number of sample points distributed closely across the manipulator surface and a correspondingly smaller buffer distance around obstacles. The sparse sampling configuration can use a larger sampling resolution E2>producing a smaller number of sample points distributed more widely across the manipulator surface and a correspondingly larger buffer distance around obstacles. Safety control systems in accordance with many embodiments of the invention may select between dense and sparse sampling configurations based on the tradeoff between computational efficiency and geometric fidelity described above with reference to FIG. 32.

[0344] Tn a number of embodiments, the dense sampling configuration can result in more control barrier function constraints in the multi-constraint safety filter and correspondingly longer quadratic program solve times, but can produce a finer geometric approximation of the manipulator surface with a smaller safety buffer around obstacles. The smaller safety buffer can allow the manipulator to operate closer to obstacles, reducing conservatism in the collision avoidance behavior. Safety control systems in accordance with several embodiments of the invention may use the dense sampling configuration in applications where the manipulator operates in confined workspaces where reduced conservatism can be beneficial.

[0345] In many embodiments, the sparse sampling configuration can result in fewer control barrier function constraints and correspondingly faster quadratic program solve times, but can produce a coarser geometric approximation of the manipulator surface with a larger safety buffer around obstacles. The larger safety buffer can cause the manipulator to maintain greater clearance from obstacles, increasing conservatism in the collision avoidance behavior. Safety control systems in accordance with a number of embodiments of the invention may use the sparse sampling configuration in applications where computational speed can be prioritized over geometric precision.

[0346] In several embodiments, the sampling-and-buffering methodology can provide a formal guarantee that keeping the sample points safe in the buffered domain provides collision avoidance for the entire continuous manipulator surface. The formal guarantee can be stated as follows: let S represent the manipulator surface at configuration q,lefi / = { q,...,yw} <= S(q) represent sample points satisfying the coverage condition for some 8 > 0, and let C(t) c W3represent a time-varying safe set defined by an occupancy map. If all sample points remain in the reduced safe set Ce(t) = C(t) Q BEfor all time, then the entire manipulator surface satisfies 5 (q) c C(t) for all time. The formal guarantee can follow from the observation that for any point p G <f(q), the coverage condition provides a sample point yt E with ||p — j|| < 8. Because ytE Cs(t), the definition of the Pontryagin difference provides that Bs(yi) c C(t), and therefore p E C(t The safe set C(t) can be rendered forward invariant with respect to the full manipulator body.

[0347] In a number of embodiments, the formal guarantee can enable safety control systems to provide full-body collision avoidance by enforcing safety constraints at a finite number ofsample points rather than at every point on the continuous manipulator surface. The multiconstraint safety filter described above with reference to FIG. 32 can enforce control barrier function constraints at each sample point using the Poisson safety function computed on the buffered domain. Because the safety constraints derive from a single smooth Poisson safety function evaluated at different locations, the constraints can be mutually consistent and the quadratic program can avoid infeasibility issues that arise when separate barrier functions are constructed for each obstacle. Safety control systems in accordance with many embodiments of the invention may combine the sampling-and-buffering methodology with the three-dimensional Poisson safety function to provide full-body collision avoidance for articulated robotic systems operating in three-dimensional workspaces.

[0348] Although specific examples are described with reference to FIG. 33, alternative implementations are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.Multistage Safety Filter

[0349] In many embodiments, safety control systems can implement a multistage safety filter system that combines predictive trajectory planning with real-time reactive safety enforcement to produce collision avoidance behavior that balances task performance with safety robustness. Single-stage safety filters that operate in an instantaneous manner without predictive planning can result in conservative behavior or failure to satisfy task objectives when immediate safe actions conflict with longer-term goals. Predictive MPC approaches can plan ahead but may exhibit fragility due to uncertainties about future environments and the challenges in solving nonconvex optimization problems. Safety control systems in accordance with various embodiments of the invention may address these limitations by cascading a predictive safety layer in series with a realtime safety layer, where the predictive layer contributes long-horizon intent and the real-time layer enforces instantaneous safety by minimally modifying the predictive layer's output.

[0350] A multistage safety filter system for autonomous collision avoidance in accordance with an embodiment of the invention is illustrated in FIG. 34. FIG. 34 depicts a perception stack, a multistage safety filter, and a low-level tracker arranged in a signal flow from perception through safety filtering to robot actuation. The perception stack receives input from an occupancy maprepresenting the spatial environment with occupied and unoccupied regions. The perception stack includes a Poisson safety function module that solves a boundary value problem for Poisson's equation subject to Dirichlet boundary conditions, producing a smooth safety function that characterizes the safe set. The multistage safety filter receives the Poisson safety function from the perception stack and includes two layers operating in series. A first layer implements a predictive MPC filter that solves a finite-time optimal control problem with discrete-time control barrier function constraints along a planning horizon. A second layer implements a real-time control barrier function quadratic program that enforces instantaneous safety by minimally adjusting the output of the first layer. The output of the second layer can be provided to the low-level tracker, which generates commands for the robotic system. A nominal reduced-order model (ROM) tracker provides reference commands that are processed through the multistage safety filter system to produce safe control actions.

[0351] In several embodiments, the perception stack can generate an occupancy map from successive robot-centric point clouds through a multi-stage occupancy mapping process. Safety control systems in accordance with many embodiments of the invention may process each point cloud by removing the ground plane, masking self-detections, and cropping unmapped regions, and then project each point detection onto an instantaneous two-dimensional occupancy map. The instantaneous occupancy map can contain gaps and isolated cells that arise from noise, occlusion, and limited angular resolution of perception-sensor scans.

[0352] In a number of embodiments, the occupancy mapping process can apply spatial smoothing to the instantaneous occupancy map by convolving the instantaneous occupancy map with a compactly supported kernel. The convolution operation can smooth the instantaneous occupancy map and amplify regions of spatial consistency, producing a spatially convolved map. Safety control systems in accordance with several embodiments of the invention may use the spatially convolved map to update a dynamic confidence map that enforces temporal continuity. The dynamic confidence map can assign a confidence value in the interval [0, 1] to each grid cell, where the confidence value represents the likelihood that the cell is occupied. The confidence dynamics can be governed by a cell-wise continuous-time update law where confidence grows when spatial evidence accumulates above a switching threshold and decays exponentially when spatial evidence falls below the switching threshold. The growth rate can be scaled by the spatiallyconvolved map value, accelerating confidence accumulation in regions with stronger local evidence.

[0353] In many embodiments, the occupancy mapping process can transform the dynamic confidence map into a binary occupancy estimate using hysteresis thresholding. Hysteresis thresholding can account for the previous occupancy state to prevent boundary noise from confidence fluctuations near a single threshold. Safety control systems in accordance with a number of embodiments of the invention may define an upper threshold and a lower threshold, where a cell becomes occupied when the confidence value exceeds the upper threshold, becomes free when the confidence value falls below the lower threshold, and retains the previous occupancy state when the confidence value lies between the two thresholds. The resulting binary occupancy map can provide a spatially and temporally consistent estimate of the true occupancy that serves as the domain for Poisson's equation.

[0354] In several embodiments, the Poisson safety function module can solve a Dirichlet boundary value problem for Poisson's equation on the free space region identified by the occupancy map. The Poisson safety function module can produce a smooth safety function that is positive in free space regions and zero on obstacle boundaries. Safety control systems in accordance with many embodiments of the invention may parameterize the domain by robot orientation using a Pontryagin difference operation, as described above with reference to FIG. 26, producing a safety function that depends on position and heading angle. The Poisson safety function can be visualized as a three-dimensional surface representing safety values across the spatial domain.

[0355] In a number of embodiments, the predictive layer can implement a MPC filter that plans safe velocity commands for a centroid configuration governed by a single-integrator reduced-order model. The reduced-order state can comprise position coordinates and a heading angle, and the control input can comprise translational velocities and an angular velocity. Given a nominal command, the predictive layer can solve a finite-time optimal control problem that minimizes the cumulative deviation from the nominal command over a planning horizon while enforcing discrete-time control barrier function constraints at each time step. The finite-time optimal control problem can be expressed as:where Vj represents the planned control input at time step i along the planning horizon,drepresents the nominal command, R represents a cost weighting matrix that balances the value of various control actions, 7 represents the planned state at time step i, 7 represents the current state of the reduced-order model, 8trepresents the time step, h represents the Poisson safety function, p G (0,1) represents a decay parameter, and N represents the planning horizon length. The first constraint can provide that the planned trajectory begins at the current state. The second constraint can provide that the planned trajectory is dynamically feasible under the reduced-order model. The third constraint can provide the discrete-time control barrier function condition, where the safety function value at each subsequent time step remains at least a fraction p of the safety function value at the current time step.

[0356] In many embodiments, the predictive layer can account for the dynamic nature of the environment along the planning horizon using a time-dependent safety function. Safety control systems in accordance with several embodiments of the invention may model the time-dependent safety function using a first-order extrapolation based on consecutive Poisson safety function solutions. The time-dependent safety function can be expressed as:to)where h0represents the Poisson safety function computed at the current time t0, and h_±represents the Poisson safety function computed at a previous time t_±. The first-order extrapolation can approximate how the safety function evolves as obstacles move through the environment, enabling the predictive layer to anticipate changes in the safe set over the planning horizon.

[0357] In several embodiments, the finite-time optimal control problem can be a nonlinear nonconvex optimization problem that can be solved with sequential quadratic programming. Thefirst output in the solution can be taken as the planned safe control action that is passed to the realtime layer. Safety control systems in accordance with a number of embodiments of the invention may recompute the finite-time optimal control problem at each control cycle using a receding horizon approach, enabling the predictive layer to respond to changes in the environment and updated safety function values as new perception data becomes available.

[0358] In a number of embodiments, the real-time layer can receive the planned safe control action from the predictive layer and further filter the planned safe control action at a higher frequency to enforce instantaneous safety. The real-time layer can solve a control barrier function quadratic program that minimizes the deviation between the control input and the planned safe control action while satisfying a safety constraint. The real-time control barrier function quadratic program can be expressed as:where represents the safe control output, u represents the planned safe control action from thepredictive layer, Vh represents the gradient of the safety function, represents the temporalderivative of the safety function, a > 0 represents a positive parameter, and - ||7 / i|| represents a robustness term that compensates for tracking error between the reduced-order model and the fullorder robotic system. The constraint can provide that the time derivative of the safety function remains above a threshold determined by the current safety function value and the robustness term, maintaining forward invariance of the safe set.

[0359] In many embodiments, the multistage safety filter system can operate at multiple timescales. The predictive layer can operate at a slower rate, planning safe trajectories over a finite horizon using discrete-time control barrier function constraints. The real-time layer can operate at a faster rate, enforcing instantaneous safety by minimally modifying the predictive layer's output. Safety control systems in accordance with several embodiments of the invention may run the predictive layer at a rate determined by the computational cost of solving the finite-time optimal control problem, while running the real-time layer at a higher rate determined by the computational cost of solving the control barrier function quadratic program. The multi-timescale operation canenable the predictive layer to contribute long-horizon intent while the real-time layer provides immediate reactive corrections against dynamic disturbances and rapid environmental changes.

[0360] In several embodiments, the Poisson safety function can pair with the multistage system because the Poisson safety function provides both smooth constraint values for the predictive layer's planning horizon and smooth, quickly-computable derivatives for the real-time reactive layer. The predictive layer can evaluate the safety function at multiple future positions along a planned trajectory by looking up safety function values in a single smooth field, without separate computation per obstacle. Safety control systems in accordance with a number of embodiments of the invention may compute the gradient of the safety function for the real-time layer via interpolation across a discretized grid, where the smoothness of the Poisson safety function can produce well-conditioned gradient information that facilitates convergence of the quadratic program. Warm-starting techniques, where the previous solution to Poisson's equation initializes the solver for the current time step, can enable rapid re-solving as the environment changes, reducing the number of iterations when the environment changes incrementally between time steps.

[0361] In a number of embodiments, the multistage safety filter system can produce safe control actions that balance task performance with safety robustness. The predictive layer operating independently can achieve high task performance by optimizing a finite-horizon cost that creates incentives to choose actions that reduce future effort, but the predictive layer can sacrifice immediate safety margins. The real-time layer operating independently can achieve high safety robustness by enforcing instantaneous safety, but the real-time layer can produce conservative reactive behaviors with low task performance. Safety control systems in accordance with many embodiments of the invention may combine the two layers in series to produce a Pareto-favorable tradeoff between task performance and safety robustness, where the predictive layer's efficient strategies are preserved while the real-time layer improves instantaneous safety margins.

[0362] In many embodiments, the safe control output from the real-time layer can be provided to a low-level tracker that generates actuator-level commands for the robotic system. The low-level tracker can operate on the full-order dynamics of the robotic system, tracking the safe velocity commands generated by the reduced-order model. Safety control systems in accordance with several embodiments of the invention may implement the low-level tracker as a reinforcementlearning locomotion controller trained to track velocity commands while maintaining balance and locomotion stability. Safety for the full-order dynamics can follow provided the low-level tracker produces tracking performance within a bounded error margin relative to the reduced-order model commands, and the robustness term in the real-time layer's safety constraint can compensate for the tracking error between the reduced-order model and the full-order system.

[0363] In several embodiments, the multistage safety filter system can be deployed on various robotic platforms including quadruped robots and humanoid robots. Safety control systems in accordance with a number of embodiments of the invention may deploy the system with modifications limited to the low-level tracker and sensor interfaces, because the predictive layer and the real-time layer both operate on the reduced-order model without assumptions about the underlying full-order dynamics. The system can enable robotic systems to navigate through environments with both static and dynamic obstacles while maintaining collision-free operation through the Poisson safety function constraints.

[0364] Although specific multistage safety filter systems are described with reference to FIG.34, alternative multistage safety filter systems are possible that are appropriate to the requirements of specific applications in accordance with various embodiments of the invention.Safety-Critical Control Under State Uncertainty

[0365] In many embodiments, safety control systems can use the Poisson safety function directly as a control barrier function (CBF) for robotic systems modeled as first-order systems where the control input appears directly in the first derivative of the safety function. For a singleintegrator system where the time derivative of the output position equals the control input, the Poisson safety function h can serve as a CBF because the safety function satisfies the conditions for forward invariance of the safe set. The safe set can be defined as the zero-superlevel set of the safety function h, and a locally Lipschitz continuous controller can be constructed such that the time derivative of the safety function satisfies the CBF condition. Safety control systems in accordance with several embodiments of the invention may implement a CBF-based quadratic program (CBF-QP) safety filter that minimizes the deviation between the control input and a nominal control input while satisfying the CBF constraint. The CBF-QP can be expressed as:where k(x) represents the safe control output, kn0ltl(x) represents the nominal control input, Lfhsrepresents the Lie derivative of the safety function along the drift dynamics, Lghsrepresents the Lie derivative of the safety function along the actuation matrix, and y represents an extended class- function. The constraint can enforce that the time derivative of the safety function remains above a threshold determined by the current safety function value, maintaining forward invariance of the safe set. In a number of embodiments, the CBF-QP can be solved at each control cycle to produce safe control commands that minimally adjust the nominal control input.

[0366] Tn several embodiments, for robotic systems with higher-order dynamics where the control input does not appear directly in the first derivative of the safety function, safety control systems can construct a modified control barrier function through a backstepping procedure. For systems of relative degree r = 2, the backstepping function can be expressed as:> 0 represents a tuning parameter, krrepresents an auxiliary controller satisfying the CBF condition Dh(y) ■ k > —yh^y') for all y in the safe set, and y = (y, y) represents the extended state including position and velocity. The zero-superlevel set of the backstepping function hBcan define a shrunken safe set CBc C that is contained within the original safe set. Safety control systems in accordance with many embodiments of the invention may render the shrunken safe set forward invariant, which in turn can maintain the trajectory within the original safe set. The backstepping construction can be extended to systems of arbitrary relative degree r G N through recursive application.

[0367] In a number of embodiments, the smoothness of the Poisson safety function can enable the CBF backstepping construction by providing the higher-order derivatives that the backstepping procedure uses. The auxiliary controller k±can depend on the safety function h and the gradient Dh, and computing the time derivative of the backstepping function can involve the Hessian D2h and higher-order derivatives of h. For the backstepping construction to produce a locally Lipschitz continuous controller, the r-th order partial derivatives Drh can be Lipschitz continuous. ThePoisson safety function can satisfy this regularity condition when the forcing function f belongs to the Holder space Ck,“(L) for some a G (0,1) and k G Nowith r < k + 1. Under this condition, the solution h E C2+k,a) can satisfy Drh E C0,1(f2; IR3), where C0,1denotes the space of Lipschitz continuous functions. Safety control systems in accordance with several embodiments of the invention may select the regularity of the forcing function based on the relative degree of the robotic system to provide the derivatives that the backstepping construction uses. SDFs lack the smoothness for the backstepping construction because SDFs possess gradient discontinuities at medial axis locations and do not provide the higher-order derivatives that the backstepping procedure uses.

[0368] In many embodiments, the guidance field v constructed via Laplace's equation can be used directly in the safety filter constraint in place of or alongside the gradient of the safety function h. The guidance field can encode tunable boundary behavior that can differ from the gradient of h, because the boundary flux values assigned to different obstacles can produce different gradient magnitudes in the guidance field compared to the gradient of the safety function. The safety filter constraint using the guidance field can be expressed as:(y) • w > -y (y)where v(y) represents the guidance field evaluated at the current position, w represents the control input, y > 0 represents a positive parameter, and h(y) represents the safety function value at the current position. The constraint can decouple the vector field used in the gradient term from the safety function, enabling the guidance field to prescribe desired gradient magnitudes along obstacle boundaries independently of the safety function gradient. Safety control systems in accordance with a number of embodiments of the invention may use the guidance field in the safety filter constraint to encode spatially variable conservatism, where different obstacles receive different levels of avoidance based on the boundary flux values assigned during guidance field construction. The guidance field can also be used in the backstepping construction for higher-order systems, where the auxiliary controller can be defined using the guidance field rather than the gradient of the safety function.

[0369] In several embodiments, the smoothness of the Poisson safety function can enable robust safety filter formulations that account for bounded state estimation errors. In practice, robotic systems can rely on state estimates obtained through observers or filters such as visual-inertial odometry, and the state estimates can be subject to bounded estimation uncertainties. When the true state x and the estimated state x satisfy || x — x|| < 8 for some bound 8 > 0, the safety filter constraint evaluated at the estimated state can differ from the constraint evaluated at the true state. Safety control systems in accordance with many embodiments of the invention may use a robust control barrier function (R-CBF) formulation that accounts for the state estimation error by introducing robustness terms into the safety filter constraint. The R-CBF constraint can be expressed as:where x represents the estimated state,> 0 and y2(x) > 0 represent state-dependent robustness parameters, and the remaining terms are as defined above. The robustness parameters yxand y2cancompensate for the worst-case effect of the state estimation error on the safety constraint. The Lipschitz continuous derivatives of the Poisson safety function can enable bounding the worst-case safety function behavior under state estimation errors, because the Lipschitz continuity of the derivatives can provide bounds on how the safety function and the safety function gradient change within the estimation error ball around the estimated state.

[0370] In a number of embodiments, the robustness parameters y1and y2can be adapted online to reduce conservatism in the robust safety filter. Safety control systems in accordance with several embodiments of the invention may use an optimization-based online parameter adaptation scheme that selects the robustness parameters by minimizing a measure of safe set inflation at each control cycle. The adaptation scheme can sample perturbed states within the estimation error ball around the current state estimate, evaluate the safety filter at each sampled state, and select the robustness parameters that minimize the deviation between the robust safe set and the nominal safe set. The online adaptation can reduce the conservatism of the robust safety filter compared to fixed robustness parameters, because the adaptation can increase the robustness parameters near obstacle boundaries where the estimation error has a larger effect on safety and decrease the robustness parameters in regions far from obstacles where the estimation error has a smaller effect.

[0371] In many embodiments, the Poisson safety function can consolidate multiple obstacle constraints into a single smooth CBF, reducing the number of constraints in the safety filter optimization problem. When a robotic system operates in an environment with multiple obstacles,separate barrier functions for each obstacle can produce multiple constraints in the quadratic program. Multiple constraints can increase the dimensionality of the optimization problem and can introduce infeasibility when the constraints conflict with each other. Safety control systems in accordance with a number of embodiments of the invention may use the Poisson safety function to merge multiple safety specifications into a single unified CBF by solving a single Dirichlet boundary value problem for Poisson's equation on a domain defined by the intersection of the individual safe sets. The domain for Poisson's equation can be defined as the intersection of the zero-superlevel sets of the individual safety functions:represents the zero-superlevel set of the i-th individual safety function hj, and Nhrepresents the total number of individual safety specifications. The Poisson safety function computed on the domaincan produce a single smooth function that is positive in the interior of the domain, zero on the boundary, and possesses smooth gradients throughout the domain. The single smooth function can replace the multiple individual constraints in the safety filter quadratic program with a single constraint, reducing the computational complexity of the optimization.

[0372] In several embodiments, the constraint consolidation provided by the Poisson safety function can avoid infeasibility issues that arise when separate barrier functions produce conflicting constraints. When multiple individual barrier functions are used in the same quadratic program, the constraints can conflict when the gradients of different barrier functions point in opposing directions, producing a feasibility region that is empty. Safety control systems in accordance with many embodiments of the invention may use the consolidated Poisson safety function to avoid such infeasibility because the single smooth function can encode all obstacles simultaneously with mutually consistent gradient information. The consolidated safety function can simplify the control problem while maintaining safety with respect to all obstacles in the environment.

[0373] In a number of embodiments, the constraint consolidation can also simplify the robust safety filter formulation under state uncertainty. When multiple individual barrier functions are used in the robust safety filter, separate robustness parameters can be required for each barrier function, increasing the dimensionality of the parameter optimization problem. Safety controlsystems in accordance with several embodiments of the invention may use the consolidated Poisson safety function to reduce the number of robustness parameters to a single set, because the single unified CBF constraint in the robust safety filter can be more robust with a single pair of robustness parameters rather than separate parameters for each obstacle. The reduction in parameter dimensionality can simplify the online adaptation procedure and reduce the computational cost of the robust safety filter.

[0374] Although specific safety-critical control formulations are described, alternative implementations using different CBF constructions, robustness margins, or constraint formulations are possible in accordance with various embodiments of the invention.Machine Learning Implementations

[0375] In many embodiments, safety control systems can obtain safety functions through alternative computational approaches that do not require explicit solution of partial differential equations at inference time. Safety functions can be obtained by solving Poisson's equation directly using numerical methods such as finite difference methods or finite element methods. Alternatively, safety functions can be obtained using a learned solver, such as a neural network or neural operator trained to approximate solutions to Poisson's equation given occupancy map inputs and boundary conditions.

[0376] In several embodiments, training data for a learned safety function model can be generated by solving Poisson's equation on a variety of occupancy maps with different obstacle configurations, geometries, and boundary flux assignments. Safety control systems in accordance with many embodiments of the invention may solve Poisson's equation using numerical methods on occupancy maps containing obstacles of varying shapes, sizes, positions, and quantities. The boundary flux values assigned to obstacle surfaces can vary across the training dataset, producing safety functions with different gradient magnitudes around different obstacles. The resulting safety functions and spatial derivatives of the safety functions can serve as ground truth labels for supervised training of the learned model.

[0377] In a number of embodiments, a neural network can be trained on safety functions previously generated by solving Poisson's equation, such that the neural network learns to producesafety functions with equivalent properties without explicitly solving the partial differential equation at inference time. The neural network can receive an occupancy map and boundary flux values as inputs and can output the safety function h and spatial derivatives of the safety function. Safety control systems in accordance with several embodiments of the invention may train the neural network to produce safety functions that exhibit positivity in free space regions, zero values on obstacle boundaries, and smooth gradients throughout the domain. The neural network can learn to approximate the mapping from occupancy map inputs and boundary conditions to safety function outputs by observing examples of safety functions computed via explicit partial differential equation solving.

[0378] Tn many embodiments, the trained neural network can be deployed on an onboard processor of a robotic system to generate safety functions in real time. Safety control systems in accordance with a number of embodiments of the invention may use the learned model to enable faster inference in scenarios where warm-starting techniques are not available or where the environment changes too rapidly for iterative partial differential equation solving. The learned model can produce safety function values and gradient values at query locations without requiring iterative numerical solution of Poisson's equation, which can reduce computational latency in certain operating conditions.

[0379] In several embodiments, the safety function obtained from a learned model can maintain the same properties as a safety function obtained by explicitly solving Poisson's equation. The safety function can be positive in free space regions, zero on obstacle boundaries, and can possess smooth spatial derivatives that can be used by control processes to steer a robotic system away from obstacles. Safety control systems in accordance with many embodiments of the invention may use the safety function and derivatives of the safety function in a safety filter regardless of whether the safety function is computed by explicitly solving Poisson's equation or by using a learned model trained on Poisson equation solutions. The downstream safety filter can operate identically in both cases, using the safety function h and derivatives of the safety function to generate safe control commands that maintain collision-free operation.

[0380] In a number of embodiments, the learned model can receive the same inputs that would be provided to a numerical partial differential equation solver. The occupancy map can identify free space regions and obstacle boundaries within the environment. The boundary flux values canspecify the desired repulsive gradient magnitude at each obstacle boundary. Safety control systems in accordance with several embodiments of the invention may encode the occupancy map and boundary flux values as input tensors to the neural network, and the neural network can output safety function values at grid locations or at query points within the domain. The spatial derivatives of the safety function can be computed from the neural network output via automatic differentiation or via separate output channels of the neural network.

[0381] In many embodiments, the learned model can be trained using supervised learning techniques where the loss function measures the difference between the neural network output and the ground truth safety function computed via explicit partial differential equation solving. Safety control systems in accordance with a number of embodiments of the invention may use mean squared error or other regression loss functions to train the neural network to minimize the discrepancy between predicted safety function values and ground truth safety function values. The training dataset can include occupancy maps with varying numbers of obstacles, varying obstacle geometries, and varying boundary flux assignments to produce a learned model that generalizes across different environmental configurations.

[0382] Although specific examples of learned safety function synthesis are described, alternative implementations using different neural network architectures, training procedures, or learned solvers are possible in accordance with various embodiments of the invention.

[0383] Although specific methods of robot safety control with Poisson's equation are discussed above, many different methods can be implemented in accordance with many different embodiments of the invention. It is therefore to be understood that the present invention may be practiced in ways other than specifically described, without departing from the scope and spirit of the present invention. Thus, embodiments of the present invention should be considered in all respects as illustrative and not restrictive. Accordingly, the scope of the invention should be determined not by the embodiments illustrated, but by the appended claims and their equivalents.

Claims

1. CLAIMS1. A robotic system comprising:at least one sensor configured to acquire sensor data of an environment;at least one processor;a memory storing instructions that, when executed by the at least one processor, cause the robotic system to:generate an occupancy map based on the sensor data, the occupancy map identifying a free space region and obstacle boundaries within the environment;generate a guidance field by solving Laplace's equation on the free space region with boundary flux values prescribed on the obstacle boundaries, the guidance field being a vector field encoding gradient information throughout the free space region;determine a forcing function based on the guidance field;determine a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries; and determine safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function; andactuators configured to execute the safe control commands.

2. The robotic system of claim 1, wherein the forcing function is derived from a divergence of the guidance field, and wherein the instructions further cause the robotic system to apply a transformation to the divergence to produce the forcing function that maintains negative values throughout the free space region, the transformation being expressed as:where f> represents a positive parameter, V ■ v represents the divergence of the guidance field, and f represents the forcing function.

3. The robotic system of claim 1 or 2, wherein the safety filter uses the guidance field directly in a safety filter constraint, the safety filter constraint being expressed as:v(y) ■ w > -y / i(y)where v (y) represents the guidance field evaluated at a current position, w represents a control input, y > 0 represents a positive parameter, and / t(y) represents the safety function value at the current position.

4. The robotic system of any one of claims 1 to 3, wherein the boundary flux values comprise non-uniform boundary flux values, wherein different obstacles within the environment receive different boundary flux values, and wherein obstacles assigned larger magnitude boundary flux values produce steeper gradients in the safety function compared to obstacles assigned smaller magnitude boundary flux values.

5. The robotic system of claim 4, wherein the at least one sensor includes an RGB camera configured to capture image data of the environment;wherein the instructions further cause the robotic system to:process the image data using a vision-based segmentation network to generate semantic labels classifying detected obstacles into categories;assign a priority to each detected obstacle based on the semantic label associated with the detected obstacle;convert the priority to a risk value; anddetermine the boundary flux values based on the risk values, wherein higher risk values map to larger magnitude boundary flux values.

6. The robotic system of any one of claims 1 to 5, wherein the safety function is parameterized by an orientation of the robotic system, and wherein the instructions further cause the robotic system to:define a robot occupancy set representing spatial regions occupied by the robotic system at each orientation;construct a reduced safe set for each orientation via a Minkowski difference between the free space region and the robot occupancy set at each orientation; andsolve Poisson's equation on a non-cylindrical domain formed by collecting the reduced safe sets across orientations, wherein a Laplacian operator is computed with respect to spatial variables and the orientation serves as a parameter determining a shape of the domain.

7. The robotic system of any one of claims 1, 6, or 7, wherein the safety filter comprises:a predictive layer implementing model predictive control that solves a finite-time optimal control problem subject to discrete-time control barrier function constraints over a planning horizon, wherein the discrete-time control barrier function constraints provide that the safety function value at each subsequent time step remains at least a fraction of the safety function value at a current time step; anda real-time layer implementing a control barrier function quadratic program that receives an output from the predictive layer and minimizes deviation between a control input and the output from the predictive layer while satisfying a continuous-time safety constraint.

8. The robotic system of any one of claims 1 to 8, wherein the safety function is a three-dimensional safety function computed on a buffered domain in three-dimensional space, wherein the buffered domain is generated by shrinking the free space region via a Pontryagin difference operation according to a sampling resolution £ > 0, and wherein the safety filter enforces control barrier function constraints at a plurality of sample points distributed across a surface of the robotic system, the plurality of sample points satisfying a coverage condition where every point on the surface lies within distance £ of at least one sample point.

9. The robotic system of any one of claims 1 to 9, wherein the instructions further cause the robotic system to:estimate a temporal derivative of the safety function based on consecutive solutions to Poisson's equation; andincorporate the temporal derivative into a safety filter constraint to account for changes in the safe region as obstacles move through the environment.

10. The robotic system of claim 1, wherein the safety filter accounts for bounded state estimation errors between a true state and an estimated state of the robotic system using a robust control barrier function formulation, the robust control barrier function formulation comprisingstate-dependent robustness parameters yxand y2that compensate for a worst-case effect of the bounded state estimation error on the safety filter constraint.

11. A method for generating safe control commands for a robotic system, comprising: acquiring, by the robotic system, sensor data of an environment;generating an occupancy map based on the sensor data, the occupancy map identifying a free space region and obstacle boundaries within the environment;generating a guidance field by solving Laplace's equation on the free space region with boundary flux values prescribed on the obstacle boundaries, the guidance field being a vector field encoding gradient information throughout the free space region;determining a forcing function based on the guidance field;determining a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries;determining safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function; andapplying the safe control commands to actuators of the robotic system.

12. The method of claim 11, wherein determining the forcing function comprises: computing a divergence of the guidance field; andapplying a transformation to the divergence to produce the forcing function that maintains negative values throughout the free space region, the transformation being expressed as:where [ represents a positive parameter, 7 • v represents the divergence of the guidance field, and f represents the forcing function.

13. The method of claim 11 or 12, wherein applying the safety filter comprises using the guidance field directly in a safety filter constraint, the safety filter constraint being expressed as:v(y) • w > —yh(y)where v⃗(y) represents the guidance field evaluated at a current position, w represents a control input, γ > 0 represents a positive parameter, and h(y) represents the safety function value at the current position.

14. The method of any one of claims 11 to 13, wherein the boundary flux values comprise non-uniform boundary flux values, wherein different obstacles within the environment receive different boundary flux values, and wherein obstacles assigned larger magnitude boundary flux values produce steeper gradients in the safety function compared to obstacles assigned smaller magnitude boundary flux values.

15. The method of claim 14, further comprising:capturing image data of the environment using an RGB camera;processing the image data using a vision-based segmentation network to generate semantic labels classifying detected obstacles into categories;assigning a priority to each detected obstacle based on the semantic label associated with the detected obstacle;converting the priority to a risk value; anddetermining the boundary flux values based on the risk values, wherein higher risk values map to larger magnitude boundary flux values.

16. The method of any one of claims 11 to 15, wherein the safety function is parameterized by an orientation of the robotic system, and wherein the method further comprises:defining a robot occupancy set representing spatial regions occupied by the robotic system at each orientation;constructing a reduced safe set for each orientation via a Minkowski difference between the free space region and the robot occupancy set at each orientation; andsolving Poisson's equation on a non-cylindrical domain formed by collecting the reduced safe sets across orientations, wherein a Laplacian operator is computed with respect to spatial variables and the orientation serves as a parameter determining a shape of the domain.

17. The method of any one of claims 11 to 16, wherein applying the safety filter comprises:solving, by a predictive layer implementing model predictive control, a finite-time optimal control problem subject to discrete-time control barrier function constraints over a planning horizon, wherein the discrete-time control barrier function constraints provide that the safety function value at each subsequent time step remains at least a fraction of the safety function value at a current time step; andsolving, by a real-time layer implementing a control barrier function quadratic program, an optimization problem that receives an output from the predictive layer and minimizes deviation between a control input and the output from the predictive layer while satisfying a continuous-time safety constraint.

18. The method of any one of claims 11, 16, or 17, wherein the safety function is a three-dimensional safety function computed on a buffered domain in three-dimensional space, wherein the method further comprises:generating the buffered domain by shrinking the free space region via a Pontryagin difference operation according to a sampling resolution ε > 0; andenforcing control barrier function constraints at a plurality of sample points distributed across a surface of the robotic system, the plurality of sample points satisfying a coverage condition where every point on the surface lies within distance E of at least one sample point.

19. The method of any one of claims 11 to 18, further comprising:estimating a temporal derivative of the safety function based on consecutive solutions to Poisson's equation; andincorporating the temporal derivative into a safety filter constraint to account for changes in the safe region as obstacles move through the environment.

20. A robotic system comprising:at least one sensor configured to acquire sensor data of an environment;at least one processor;a memory storing instructions that, when executed by the at least one processor, cause the robotic system to:generate an occupancy map based on the sensor data, the occupancy map identifying a free space region and obstacle boundaries within the environment;determine a forcing function based on a set of safety properties;determine a safety function by solving Poisson's equation with Dirichlet boundary conditions on the free space region using the forcing function, wherein the safety function is positive in the free space region and zero on the obstacle boundaries; and determine safe control commands by applying a safety filter based on the safety function, the safety filter adjusting nominal control commands to maintain the robotic system within a safe region defined by the safety function; andactuators configured to execute the safe control commands.