PID versus LQR Full-State Feedback Control of a Cart–Inverted Pendulum System: Tuning and Robustness under Parameter Variation

The cart–inverted pendulum is a standard benchmark for unstable, underactuated dynamics, yet published comparisons of PID and LQR control often stop at a single nominal case. This study compares the two controllers on a linearised cart–pendulum model (cart 2 kg, pendulum 0.1 kg, rod 0.25 m) built in MATLAB/Simulink, and asks how each copes when the plant itself changes. The model was derived from Newton’s laws, confirmed to be controllable and observable, and written in state-space form. PID gains were obtained by auto-tuning and by trial and error over eleven combinations, and LQR weights were explored over ten Q and R settings. Every design had to keep cart velocity below 1 m/s, pendulum angle below 10° and angle settling time under 20 s. The best PID controller (Kp = 100, Ki = 90, Kd = 40) settled in 9.48 s with a 0.92° peak angle, whereas the best LQR controller (Q = diag[100, 1, 10, 1], R = 0.008) settled in 3.69 s with a 0.44° peak. Across nine variations in cart mass, pendulum mass and rod length, LQR settled in 3.8–5.4 s every time, while PID needed 9.2–10.7 s and failed to settle when the cart mass rose to 10 kg. All results come from simulation and should be confirmed on hardware.

Authors

Institutions

Publication Details

Journal
International Journal of Research and Innovation in Social Science
Published
2026-11-26
DOI
https://doi.org/10.47772/ijriss.2026.101100256
Primary Topic
Advanced Control Systems Design
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

PID versus LQR Full-State Feedback Control of a Cart–Inverted Pendulum System: Tuning and Robustness under Parameter Variation

Sazuan Nazrah Binti Mohd Azam, Arfah Syahida Mohd Nor, Nur Syahmina Mohd Shafik, Mohamad Haniff Bin Harun et al.
International Journal of Research and Innovation in Social Science
Advanced Control Systems Design
article

PID versus LQR Full-State Feedback Control of a Cart–Inverted Pendulum System: Tuning and Robustness under Parameter Variation

Sazuan Nazrah Binti Mohd Azam, Arfah Syahida Mohd Nor, Nur Syahmina Mohd Shafik, Mohamad Haniff Bin Harun, Nor Hidayah Binti Rahim
article en

Abstract

The cart–inverted pendulum is a standard benchmark for unstable, underactuated dynamics, yet published comparisons of PID and LQR control often stop at a single nominal case. This study compares the two controllers on a linearised cart–pendulum model (cart 2 kg, pendulum 0.1 kg, rod 0.25 m) built in MATLAB/Simulink, and asks how each copes when the plant itself changes. The model was derived from Newton’s laws, confirmed to be controllable and observable, and written in state-space form. PID gains were obtained by auto-tuning and by trial and error over eleven combinations, and LQR weights were explored over ten Q and R settings. Every design had to keep cart velocity below 1 m/s, pendulum angle below 10° and angle settling time under 20 s. The best PID controller (Kp = 100, Ki = 90, Kd = 40) settled in 9.48 s with a 0.92° peak angle, whereas the best LQR controller (Q = diag[100, 1, 10, 1], R = 0.008) settled in 3.69 s with a 0.44° peak. Across nine variations in cart mass, pendulum mass and rod length, LQR settled in 3.8–5.4 s every time, while PID needed 9.2–10.7 s and failed to settle when the cart mass rose to 10 kg. All results come from simulation and should be confirmed on hardware.

International Journal of Research and Innovation in Social ScienceVol. 10(11)
Technical University of Malaysia Malacca (MY)
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
PID versus LQR Full-State Feedback Control of a Cart–Inverted Pendulum System: Tuning and Robustness under Parameter Variation — Sazuan Nazrah Binti Mohd Azam, Arfah Syahida Mohd Nor, et al. · International Journal of Research and Innovation in Social Science (2026) | TGRS Research Map | TGRS