Humanoid robots for safety-critical electrical switching: A perception-informed runtime constraint filter
Authors: Songyang Liu, Yu Hou, Yuqing Hu, Shuai Li
Organizations: Department of Civil and Coastal Engineering, University of Florida, United States · Albert School of Construction, William States Lee College of Engineering, University of North Carolina at Charlotte, United States · Department of Architectural Engineering, The Pennsylvania State University, United States
Humanoid robots can reduce personnel exposure in electrical switching, but safe control is challenging because the tool must reach a target switch next to similar devices, where an imprecise operator command can contact a non-target switch. This study proposes a runtime safety filter that checks each operator command during virtual-reality teleoperation of a humanoid robot. The filter integrates a scene model estimated from the robot head camera and a target-conditioned control barrier function quadratic program that keeps the tool away from the non-target switch while passing safe commands unchanged. In real-world experiments on a Unitree G1 humanoid robot, with six rounds at each of two standing positions, target operations succeed in all ten rounds with an unchanged target and no non-target actuation. A simulation study achieves 9/9 safe completions, compared with 5/9 for raw teleoperation, demonstrating the feasibility of the method for humanoid switching operations.
Figures & tables
Figure 1: Switch operation by a person and by a humanoid robot. Left: a worker in arc-flash protective clothing operates switchgear ( Moeder, 2022 ) . Right: Unitree G1 humanoid robot operates switches in our lab.
Figure 2: A typical electrical switching workflow, based on utility switching procedures ( Snohomish County Public Utility District No. 1, 2026 ; Platte River Power Authority, 2021 ) . This work addresses the highlighted step, physical switch operation.
Method
Robot
Live teleop.
Online geometry
Onboard sensing
Contact permission
Phase directions
ARMOR ( Kim et al., 2024 )
GR1
NR
✓
✓
NR
NR
p-SSA ( Chen et al., 2025 )
G1
✓
✓
×
NR
NR
Brunke et al. (2025)
Franka FR3
✓
Prebuilt
NR
NR
NR
ConstrainedMimic ( Morton et al., 2026 )
G1
Sim. only
Assumed
×
NR
NR
RECAL ( Gadde et al., 2026 )
Digit V3
Loco. only
✓
✓
NR
NR
VLPSA ( Wilkinson et al., 2026 )
Franka FR3
Demos only
✓
NR
Object
NR
Table 1: Comparison with existing work. NR: not reported.
Figure 3: Methodology overview.
Figure 4: Human operator panel in the PICO headset during filtering, showing the live head-camera image, filter state, selected target, nearest model gap and correction counts.
Quantity
Engage and actuate
Retreat (until separated)
Axial speed vx
−25≤vx≤25 mm/s; ≤0 beyond 25 mm travel or outside the 15 mm gate
−60≤vx≤0 mm/s
Lateral speed vy,vz
Centering corridor, Eq. ( 11 )
∣vi∣≤30 mm/s and outward cone ∣vi∣≤−0.25vx
Angular speed ω
∣ωi∣≤0.12 rad/s
∣ωi∣≤0.12 rad/s and ∣ωi∣≤−2vx (rad/s, vx in m/s)
Depth
Virtual stop at 1 mm (engage only)
–
Table 2: Phase-direction rows of the simulation filter, in the button frame ( vx>0 inward).
Figure 5: Experimental setups. (a) Simulation: G1 pressing a pushbutton in MuJoCo. (b) Real-world: G1 with a right-wrist tool at two wall-mounted safety switches.
Method
Pressed and withdrawn
Safe completion
Non-permitted contact
Incomplete
Held
M0 Raw
9/9
5/9
4/9
0/9
0/9
M1 Whole target
9/9
6/9
3/9
0/9
0/9
M2 No direction
6/9
6/9
1/9
3/9
2/9
M3 Complete
9/9
9/9
0/9
0/9
0/9
Table 3: Simulation results over nine paired runs per method (three layouts × three inputs).
Figure 6: Effect of part-region permission under input I1 in layout S1 in our simulation study. Top: robot state at t=24 s with whole-target (M1) and part-region (M3) permission. Middle: button travel, with the 10 mm trigger dashed. Bottom: summed non-permitted contact force.
Figure 7: Effect of phase-direction constraints under input I2 in the three layouts. Top: lateral offset of the index tip from the button axis during engage and actuate, with the 15 mm gate dashed. Bottom: axial velocity during retreat, positive inward.
Figure 8: Effect of an outdated map after the layout changes, with the complete method (M3). The cabinet panel has moved from its nominal pose S1, either shifted by 30 mm (left, S2) or rotated by 5 ∘ (right, S3). The filter receives either the old S1 map, which no longer matches the scene, or updated geometry of the moved panel. Top: top-down view of the panel and target, showing their true pose (grey), the updated geometry (blue, coinciding with the truth) and the old map (red dashed); the robot is at the bottom. Bottom: button travel in each run, with the 10 mm trigger dashed, and the phases each run accepts.
Figure 9: Operator’s headset view in three filter states: paused (left), following unchanged while the tool approaches the target, the left switch (middle), and filtered while it approaches the non-target, the right switch (right).
Config.
Round
Target
Task done
Auto return
Longest hold (s)
C1
1
B
Yes
Yes
0.02
C1
2
B
Yes
Yes
0.03
C1
3
B
Yes
Yes
0.50
C1
4
B
Yes
Yes
8.74
C1
5
B
Yes
Yes
0.24
C1
6
A
No
Yes
0.07
Table 4: Real-world results over 12 attempts for two configurations C1 and C2.
Figure 10: External view of an attempt with the right switch B as target. Left: the tool operates the target switch. Middle: the tool approaches the non-target, the left switch A, and is stopped short of it. Right: the arm after the automatic return to its initial pose.
Figure 11: Reference and encoder model gaps to the non-target at automatic returns. (a) The last 3 s before the return in C1 round 3, the return with the smallest encoder gap. (b) Both gaps at the trigger cycle of each of the 17 automatic returns.
Simulation
Real world
Task
Press a button
Operate a handle
End effector
Three-finger hand
Rigid wrist tool
Geometry
Simulator truth
Head RGB-D estimate
Trials
3 layouts × 3 inputs
2 positions × 6 rounds
Outcome
9/9 safe (M3), 5/9 (M0)
No non-target actuation
Holds
0 (M3)
158 (148 ≤ 2 cycles)
Table 5: Comparison of our simulation and real-world studies.
As humanoid robots move from research laboratories toward deployment in human-centered environments such as homes, hospitals, and warehouses, safe operation around nearby people and objects becomes a fundamental requirement. Safety filters have emerged as a promising technique to address this challenge by providing mathematical guarantees that generated control actions do not result in collisions. This paper shows that these guarantees hold only when the safety parameters are configured correctly. However, correct parameter configurations are task- and environment-specific, and no general method exists to determine them across diverse deployments. As a result, safety filters shipped with humanoid robots can fail after deployment in specific scenarios. We show that attackers can exploit these failures through only normal user interactions without any additional privileges or capabilities. To demonstrate this risk, we present goal insertion attacks and develop SIREN, an automated tool that identifies vulnerable inserting goals for a given task and environment. Experimental results show that SIREN identifies attacks in all vulnerable scenarios in the SPARK dataset. Compared with a baseline approach, SIREN discovers three times as many attacks. We also show that SIREN is able to generate attacks against a real humanoid and cause it to collide while executing tasks. These results demonstrate that current safety filters introduce exploitable vulnerabilities that can cause safety violations, which reveals that existing safety mechanisms can themselves become a source of safety risk for humanoid robots.
Tiffany Bao, Shangtao Li, Yifan Sun +6
Arizona State University · Carnegie Mellon University
Runtime safety filters for learned manipulation policies typically define unsafe states as unions of object-wise keep-out regions. This representation can be unnecessarily restrictive for hazards that depend on a joint spatial relation, such as battery recycling, where a conductive payload can short a charged cell only when it approaches both terminals simultaneously. We study runtime filtering for this two-terminal hazard in LIBERO using frozen OpenVLA policies. We factor a runtime filter into three design choices: the predicate structure, its geometric margin, and the fallback action applied when a commanded action is rejected. We compare a conjunctive predicate, a conventional two-site keep-out, and a composite of the two. For each predicate, we vary its margin to obtain a frontier between task success and residual hazard. We then compare four fallback strategies at matched operating points: holding, retreat, sampled search, and a continuous-action barrier projection. Across three workcells, the three predicate families trace nearly identical safety--utility frontiers once each is evaluated over its own margin. In contrast, the fallback strategy has a substantially larger effect: holding reduces task success by up to 0.302 relative to retreat without reducing hazard, while both minimally invasive fallbacks leave substantially more residual hazard. This ordering transfers to a second policy and task suite, while retreat-based filtering remains effective under standing errors in the clearances available to the filter, although correlated error in the estimated payload size is more damaging than larger independent errors in terminal position. These results show that, for proximity-defined manipulation hazards, margin selection and fallback strategy can matter more than predicate structure in determining the safety--utility trade-off of a runtime filter.
Yuxin Cao, Wei Song, Xianglin Yang +4
National University of Singapore, Singapore · Griffith University, Australia · UNSW Canberra, Australia +2
Safety-critical control is essential for humanoid robots operating in complex human-centered environments, where physical safety constraints such as joint limits, self-collision avoidance, obstacle avoidance, and workspace boundaries must be satisfied during real-robot operation. However, existing approaches remain limited because kinematic safety guarantees can be degraded in the presence of unknown disturbances, such as model uncertainties, trajectory-tracking errors, and external perturbations. This paper presents a hierarchical safety-critical whole-body control framework for humanoid robots based on input-to-state safe control barrier functions (ISSf-CBFs). The proposed architecture integrates a kinematic-level whole-body controller (KinWBC), an ISSf-CBF safety filter, and a dynamic-level whole-body controller (DynWBC). KinWBC generates nominal joint-motion references from prioritized tasks; the ISSf-CBF filter minimally modifies these references to satisfy kinematic safety constraints under bounded disturbances; and DynWBC tracks the filtered references while enforcing full-body dynamic feasibility and contact stability. Safety constraints are imposed on a whole-body kinematic model, and the ISSf-CBF parameters are conservatively tuned so that the resulting kinematic safety guarantees can be transferred to full-order humanoid dynamics under unknown disturbances. Simulation and real-robot experiments demonstrate that the proposed framework improves safety margins under model mismatch and reliably enforces multiple safety constraints in real time during locomotion, teleoperation, and single-leg balancing with hand control. Project website: https://kwlee365.github.io/SafeWBC-Website/
Kwanwoo Lee, Sanghyuk Park, Gyeongjae Park +2
Department of Intelligence and Information, Seoul National University, Republic of Korea · Robotics Lab, Hyundai Motor Group, Republic of Korea · Advanced Institute of Convergence Technology, Republic of Korea +1