Inertial-Based LQG Control: A New Look at Inverted Pendulum Stabilization

Daniel Engelsman, and Itzik Klein · 2025

Read Inertial-Based LQG Control: A New Look at Inverted Pendulum Stabilization by Daniel Engelsman, and Itzik Klein (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2503-18926.txt.

Introduction

Engelsman and Klein present a paper from twenty twenty-five on balancing an inverted pendulum with inertial sensors alone. The classic control method pairs optimal control with state estimation. Lab rigs measure position directly with rich sensor sets. Outdoor platforms like two-wheel boards lack those sensors, though. Tilt must then be inferred by fusing inertial readings. Past control frameworks did not feed accelerometer data into this method. The pair close that gap with a flatness trick that adds higher-order motion to the model.

The richer model sharpens state estimates for the controller. That yields a sturdier controller that predicts accelerations ahead. The design suits light, self-contained perception units on mobile platforms. The authors reframe a classic problem for real-world robots.

Catalog record

CREATORDaniel Engelsman, and Itzik Klein
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE46 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2503-18926

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Inertial-Based LQG Control: A New Look at Inverted Pendulum Stabilization Daniel Engelsman, and Itzik Klein Abstract Linear quadratic Gaussian (LQG) control is a well-established method for optimal control through state estimation, particularly in stabilizing an inverted pendulum on a cart. In standard laboratory setups, sensor redundancy enables direct measurement of configuration variables using displacement sensors and rotary encoders. However, in outdoor environments, dynamically stable mobile platforms—such as Segways, hoverboards, and bipedal robots—often have limited sensor availability, restricting state estimation primarily to attitude stabilization. Since the tilt angle cannot be directly measured, it is typically estimated through sensor fusion, increasing reliance on inertial sensors and necessitating a lightweight, self-contained perception module. Prior research has not incorporated accelerometer data into the LQG framework for stabilizing pendulum-like systems, as jerk states are not explicitly modeled in the Newton-Euler formalism. In this paper, we address this gap by leveraging local differential flatness to incorporate higher-order dynamics into the system model. This refinement enhances state estimation, enabling a more robust LQG controller that predicts accelerations for dynamically stable mobile platforms. I Introduction Soon after Rudolf E. Kálmán introduced the linear quadratic regulator (LQR) in 1960 [ 1 ] , the control community began exploring its application to dynamic systems. Of the many systems examined, the inverted pendulum on a cart (IPoC), commonly credited to Richard Bellman [ 2 ] , stood out as particularly compelling. In this fundamental problem, a rigid pendulum is hinged at its base, allowing it to rotate with one degree of freedom (DoF), while a mobile cart, capable of horizontal movement, provides the translational DoF. By applying appropriate forces to the cart, the resulting accelerations counteract the pendulum’s deviations from the upright position, effectively stabilizing it and restoring equilibrium. This challenge spans several key disciplines within dynamical systems theory: i) Dynamics, where the motion of the pendulum and cart is governed by coupled nonlinear relationships but offers equilibrium points with local linearity; ii) Kinematics, which describes the system’s motion over time, subject to positional setpoints and physical limitations; iii) Control, which requires a stabilizing strategy to counteract the pendulum’s instability and prevent large deviations; and iv) Estimation, which focuses on determining the system’s internal states, especially when full observability is lacking or when not all states can be directly measured [ 3 ] . As an unstable single-input, multiple-output (SIMO) system, its stabilization depends critically on the accuracy of the system model, the validity of the linearization around equilibrium points, the rapid minimization of both control and estimation errors, and, most importantly, robustness to noise, disturbances, and unmodeled uncertainties. Over the years, various control strategies have been proposed, ranging from traditional proportional–integral–derivative (PID) and cascaded controllers [ 4 ] , to more advanced techniques such as dynamic surface control [ 5 ] , neural networks [ 6 ] , information-aiding [ 7 ] , and, more recently, reinforcement learning [ 8 ] . Despite the importance of these approaches as control benchmarks, the LQG framework has remained dominant due to its analytical transparency, which ensures optimality when the system model is accurate and noise is assumed to follow a Gaussian distribution [ 9 ] . In practice, the true system states and their estimates are integrated within a state-space framework, facilitating the analysis of the closed-loop eigenvalues of the combined system, which includes both the Kalman filter (KF) and the controller’s gain [ 10 ] . Since dynamically stable platforms are central to our study, the perception module depends on inertial sensor measurements, a mobile and standalone solution. However, this reliance also introduces instrumental noise that may compromise performance. To mitigate this issue, several approaches have been proposed, including bandpass filtering [ 11 , 12 ] , learning-based frameworks [ 13 , 14 , 15 ] , multiple sensors [ 16 , 17 , 18 ] , and, more recently, hybrid approaches [ 19 , 20 ] . Although much attention has been devoted to this problem, the challenge of integrating inertial sensor data directly into the LQG framework has remained unresolved outside controlled laboratory settings. To address this gap, our work makes the following contributions: (i) Inertial-aided LQG : Extending the LQG framework with an acceleration-augmented process model to improve disturbance rejection and state estimation accuracy. (ii) Higher-order dynamics : Exploiting differential flatness to model linear and angular accelerations in terms of control inputs, improving system predictability. (iii) Open-source : Ensuring reproducibility by providing an interactive codebase implementation @ GitHub . As will be shown later, the improved estimability leads to 27%-39% larger stability regions and a 10%-15% reduction in crash rates. The remaining sections of the paper are structured as follows: Section II presents the theoretical background, Section III outlines our methodology, Section IV provides and analyzes the results, and Section V concludes the study. II Theoretical Background A dynamical system describes the evolution of a system’s state over time. In general, a continuous-time dynamical system can be represented by the following differential equation \displaystyle\dot{\bm{x}}(t)=\bm{f}(\bm{x}(t),\bm{u}(t))\ , (1) where \bm{x}(t)\in\mathbb{R}^{n} represents the state vector, \bm{u}(t)\in\mathbb{R}^{k} denotes the control input vector, and \bm{f}:\mathbb{R}^{n}\times\mathbb{R}^{k}\to\mathbb{R}^{n} is the state transition function, which defines the rate of change of the system’s state over time. The solution to this set of differential equations describes the trajectory of \bm{x}(t) over time, starting from initial conditions \bm{x}(0) and driven by occasional inputs \bm{u}(t) . The system is said to reach an equilibrium point, denoted by the subscript e , when its dynamics no longer change and the states remain constant, defined by \displaystyle\dot{\bm{x}}(t)=\bm{f}(\bm{x}_{e},\bm{u}_{e})=\bm{0}\ . (2) The nature of this equilibrium is analyzed through the concept of local linearity, which approximates the nonlinear dynamics \bm{f} by a linear model around of the equilibrium point (\bm{x}_{e},\bm{u}_{e}) . Based on the system’s response to small perturbations, the equilibrium can be classified as: i) stable—if trajectories converge back to equilibrium, ii) unstable—if they diverge, or iii) saddle-point—if some perturbations lead the system back to equilibrium, while others cause divergence. In the analysis of the IPoC setup, stability is achieved when the configuration variables—namely, the pendulum angle and the cart position—remain constant, either at the bottom (unstable equilibrium) or the upright (stable equilibrium) positions. These steady-state conditions facilitate the description of the nonlinear system ( 1 ) around the equilibrium point (\bm{x}_{e},\bm{u}_{e}) as a linear approximation, via a first-order Taylor expansion [ 21 ] , resulting in: \displaystyle\dot{\bm{x}}(t)\approx\mathbf{A}(\bm{x}_{e},\bm{u}_{e})(\bm{x}(t)-\bm{x}_{e})+\mathbf{B}(\bm{x}_{e},\bm{u}_{e})(\bm{u}(t)-\bm{u}_{e}), (3) where \bm{x}(t) represent the state vector and \bm{u}(t) the control inputs, and deviations from the equilibrium are given by \displaystyle\delta\bm{x}(t)=\bm{x}(t)-\bm{x}_{e}\ \ \text{and}\ \ \delta\bm{u}(t)=\bm{u}(t)-\bm{u}_{e}\ . (4) Assuming linear time-invariant (LTI) dynamics near the equilibrium points, the Jacobian matrices of the system with respect to the state and input are \displaystyle\mathbf{A}(\bm{x}_{e},\bm{u}_{e})=\frac{\partial\bm{f}}{\partial\bm{x}}\bigg|_{(\bm{x}_{e},\bm{u}_{e})}\,\text{and}\ \,\mathbf{B}(\bm{x}_{e},\bm{u}_{e})=\frac{\partial\bm{f}}{\partial\bm{u}}\bigg|_{(\bm{x}_{e},\bm{u}_{e})}. (5) Since \bm{x}_{e} and \bm{u}_{e} are constants that vanish upon differentiation, the following identities hold \displaystyle\bm{x}(t)=\delta\bm{x}(t)+\bm{x}_{e}\ \ \text{and}\ \ \bm{u}(t)=\delta\bm{u}(t)+\bm{u}_{e}\ , (6) simplifying the error dynamics to the standard LTI form \displaystyle\dot{\bm{x}}(t)=\mathbf{A}\,\bm{x}(t)+\mathbf{B}\,\bm{u}(t)\ . (7) To account for model discrepancies, the following zero-mean white Gaussian noise terms are sampled from their respective process ( \mathbf{W} ) and measurement ( \mathbf{V} ) noise covariance matrices \displaystyle\bm{w}(t) \displaystyle\sim\mathcal{N}(\mathbf{0},\mathbf{W})\ ,\quad\mathbb{E}[\bm{ww}^{T}]=\mathbf{W}\succ 0\ , (8) \displaystyle\bm{v}(t) \displaystyle\sim\mathcal{N}(\mathbf{0},\mathbf{V})\ \ ,\quad\mathbb{E}[\bm{vv}^{T}]=\mathbf{V}\succeq 0\ . (9) This leads to the following stochastic state-space form \displaystyle\dot{\bm{x}}(t) \displaystyle=\mathbf{A}\,\bm{x}(t)+\mathbf{B}\,\bm{u}(t)+\bm{w}(t)\ , (10) \displaystyle\bm{y}(t) \displaystyle=\mathbf{C}\,\bm{x}(t)+\bm{v}(t)\ , where the

Read the complete text