Stabilising an Inverted Pendulum on a Cart: LQR versus Angle-Only PD Control in Nonlinear Simulation

The inverted pendulum on a cart is the standard benchmark for unstable cyber-physical systems. This paper compares linear-quadratic-regulator (LQR) full-state feedback with three weight sets against an angle-only proportional-derivative (PD) controller in a nonlinear simulation with a force limit of 20 N. For an initial tilt of 0.2 rad, the angle-only PD controller stabilised the pendulum fastest (0.42 s to within 2 % of the initial angle) but left the cart drifting to 1.10 m, because the cart position is not controlled. The LQR controllers returned the cart to its origin, with settling times of 2.2 to 4.2 s depending on the weights. Heavier state weights shortened the settling time and reduced the cart travel (from 0.35 m to 0.19 m) at the cost of larger forces (peak 4.2 N to 7.7 N) and a smaller region of attraction (largest recovered initial tilt 1.10 to 0.85 rad). The model parameters are assumed and the study has no hardware validation. This is a simulation study; all results are outputs of the deposited Python code with assumed parameters. Source code is attached.

Authors

Institutions

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-05
DOI
https://doi.org/10.5281/zenodo.23983438
Primary Topic
Advanced Control Systems Design
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Stabilising an Inverted Pendulum on a Cart: LQR versus Angle-Only PD Control in Nonlinear Simulation

Gara Amanow, Yslam Orazov, Ayjemal Ussayeva
Zenodo (CERN European Organization for Nuclear Research)
Advanced Control Systems Design
preprint

Stabilising an Inverted Pendulum on a Cart: LQR versus Angle-Only PD Control in Nonlinear Simulation

Gara Amanow, Yslam Orazov, Ayjemal Ussayeva
preprint en

Abstract

The inverted pendulum on a cart is the standard benchmark for unstable cyber-physical systems. This paper compares linear-quadratic-regulator (LQR) full-state feedback with three weight sets against an angle-only proportional-derivative (PD) controller in a nonlinear simulation with a force limit of 20 N. For an initial tilt of 0.2 rad, the angle-only PD controller stabilised the pendulum fastest (0.42 s to within 2 % of the initial angle) but left the cart drifting to 1.10 m, because the cart position is not controlled. The LQR controllers returned the cart to its origin, with settling times of 2.2 to 4.2 s depending on the weights. Heavier state weights shortened the settling time and reduced the cart travel (from 0.35 m to 0.19 m) at the cost of larger forces (peak 4.2 N to 7.7 N) and a smaller region of attraction (largest recovered initial tilt 1.10 to 0.85 rad). The model parameters are assumed and the study has no hardware validation. This is a simulation study; all results are outputs of the deposited Python code with assumed parameters. Source code is attached.

Zenodo (CERN European Organization for Nuclear Research)
Oguz Han Engineering and Technology University of Turkmenistan (TM)
Advanced Control Systems Design
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon