Simultaneous State Estimation and Contact Detection for Legged Robots by Multiple-Model Kalman Filtering
Marcel Menner, Karl Berntorp
TL;DR
The paper addresses the challenge of simultaneous state estimation and contact detection for legged robots by modeling robot motion as a switched system whose modes correspond to different feet in contact. It introduces an interacting multiple-model Kalman filter (IMM-KF) that jointly infers the active contact mode and estimates the trunk state, using IMU data and motor measurements with mode-conditioned inputs and pseudo measurements. Validation in Gazebo and on a Unitree A1 demonstrates significant improvements in state accuracy (about 2.5x reduction in full-state RMSE) and reliable, fast contact detection (within ~20 ms) at 200 Hz, highlighting real-time feasibility and robustness to varying contact conditions. The approach reduces dependence on external sensors, providing a software-only, physics-based solution that leverages physical limits and contact probabilities to enhance estimation and control in unstructured environments.
Abstract
This paper proposes an algorithm for combined contact detection and state estimation for legged robots. The proposed algorithm models the robot's movement as a switched system, in which different modes relate to different feet being in contact with the ground. The key element in the proposed algorithm is an interacting multiple-model Kalman filter, which identifies the currently-active mode defining contacts, while estimating the state. The rationale for the proposed estimation framework is that contacts (and contact forces) impact the robot's state and vice versa. This paper presents validation studies with a quadruped using (i) the high-fidelity simulator Gazebo for a comparison with ground truth values and a baseline estimator, and (ii) hardware experiments with the Unitree A1 robot. The simulation study shows that the proposed algorithm outperforms the baseline estimator, which does not simultaneous detect contacts. The hardware experiments showcase the applicability of the proposed algorithm and highlights the ability to detect contacts.
