TL;DR
This paper introduces a novel state estimation framework for legged robots called the Contact-Aided Invariant Extended Kalman Filter (RI-EKF). By leveraging the mathematical framework of Lie groups and exploiting symmetries in robot dynamics, the RI-EKF achieves faster and more reliable convergence compared to traditional methods, even with challenging initial conditions. This improved robustness is crucial for enabling more dependable perception and control in legged robots.
What Problem Does This Paper Address?
Legged robots, like bipeds, rely heavily on accurate state estimation (knowing their position, orientation, and velocity) to navigate and interact with their environment. This estimation typically fuses data from Inertial Measurement Units (IMUs) and joint encoders. However, designing observers that are both accurate and globally convergent (meaning they reliably converge to the correct state regardless of the initial guess) is a significant challenge. Traditional methods like the Extended Kalman Filter (EKF) often rely on local linearizations of complex robot dynamics, which can lead to slow convergence or divergence if the initial state estimate is far from the true state. Furthermore, the intermittent nature of foot contact in legged robots introduces further complexity. This paper aims to develop a state estimator that overcomes these limitations by incorporating contact information and leveraging advanced mathematical tools to achieve better convergence properties.
Methods
The core of this paper is the development of a Contact-Aided Invariant Extended Kalman Filter (RI-EKF). This approach is built upon the theory of invariant observer design, which utilizes the mathematical framework of matrix Lie groups and Lie algebras.
Here's a breakdown of the key methodological aspects:
- Invariant Observer Design: Instead of linearizing the robot's dynamics around the current state estimate (as in a standard EKF), the RI-EKF designs the observer such that the error dynamics are invariant under certain group actions. This means the error dynamics behave predictably and can be described by a "log-linear" differential equation, independent of the robot's actual trajectory.
- Lie Groups and Algebras: The robot's state (orientation, position, contact points) is represented as elements of a matrix Lie group. The dynamics and error propagation are then formulated within the corresponding Lie algebra. This allows for a more principled way to handle rotations and other geometric transformations.
- Right-Invariant Error: The paper focuses on the "right-invariant" error, which is defined as $ \eta = X_t X_t^{-1} $, where $X_t$ is the true state and $X_t$ is the estimated state. This choice simplifies the error dynamics.
- Contact Modeling: The filter explicitly incorporates measurements from contact sensors. The forward kinematics of the contact points are used to derive a measurement model.
- IMU Bias Estimation: The authors extend the basic RI-EKF to include the estimation of IMU biases (gyroscope and accelerometer biases). While this technically breaks some of the strict invariant properties, the resulting "Imperfect InEKF" still offers significant advantages.
- State Augmentation: To handle IMU biases, the state vector is augmented to include these bias parameters. The covariance matrix is then updated accordingly.
- Discretization: The continuous-time dynamics are discretized using a zero-order hold and Euler integration for the state and a first-order approximation for the covariance propagation.
The novelty lies in the application of invariant observer theory to the specific problem of legged robot state estimation with contact, leading to a filter with provably better convergence properties than standard EKFs.
Datasets
The paper uses data from two sources for evaluation:
- Simulated Data: A dynamic simulation of a Cassie-series biped robot was used. This simulation allowed for controlled experiments with known ground truth and the ability to run multiple trials with varying initial conditions.
- Experimental Data: Real-world experimental data was collected from a Cassie-series biped robot. This data included measurements from the robot's on-board IMU and joint encoders.
No new datasets were introduced; rather, existing robot platforms and simulation environments were utilized for evaluation.
Key Insights and Ideas
- Symmetries are Powerful: The core insight is that exploiting the inherent symmetries in the robot's dynamics (specifically, the "group affine" property) leads to error dynamics that are independent of the trajectory. This is a significant departure from traditional EKF approaches that linearize around the current state.
- Log-Linear Error Dynamics: The invariant error dynamics satisfy a "log-linear" differential equation. This property is key to designing observers with strong convergence guarantees, as the error can be recovered from the solution of a linear system.
- RI-EKF Outperforms Q-EKF with Initialization Errors: The RI-EKF demonstrates significantly faster convergence than a standard quaternion-based EKF (Q-EKF) when the initial state estimate is far from the true value. This is because the Q-EKF's linearization can be inaccurate, while the RI-EKF's error dynamics are less dependent on the initial guess.
- Contact Information is Crucial: Explicitly incorporating contact information, even simple binary contact sensors, significantly improves the state estimation accuracy and robustness for legged robots.
- Observability is Inherently Handled: The invariant framework naturally handles unobservable states (like absolute position and yaw) without requiring explicit nonlinear observability analysis, simplifying the design process.
Key Results
- Faster Convergence: In both simulations and real-world experiments, the proposed RI-EKF converged considerably faster than a standard quaternion-based EKF, especially when initialized with poor estimates. This is visually demonstrated in Figures 2 and 3, showing quicker settling times for observable states.
- Improved Reliability: The RI-EKF showed more reliable convergence across 100 Monte Carlo simulations compared to the Q-EKF.
- Handling of IMU Biases: The extension to include IMU bias estimation, while sacrificing some theoretical guarantees, still resulted in a practical and effective observer that outperformed the standard EKF in experiments.
- Unobservable States Identified: The linear observability analysis confirmed that absolute position and yaw are unobservable, aligning with theoretical expectations and the behavior of the proposed filter.
Limitations and Future Work
- "Imperfect" InEKF with Biases: When IMU biases are included, the strict invariant properties of the error dynamics are technically lost, leading to an "Imperfect InEKF." While still superior in practice, it doesn't fully retain the theoretical guarantees of the bias-free version.
- Unobservable States: Absolute position and yaw remain unobservable, which is an inherent limitation of using IMU and contact sensors alone.
- Future Work: The authors suggest integrating the developed observer with camera-based perception systems for outdoor terrain mapping and navigation. This would involve extending the system to handle visual information and potentially more complex environments.
Summary updated