English

PID Optimization Using Lagrangian Mechanics

Systems and Control 2024-08-14 v1 Robotics Systems and Control

Abstract

Creating a simulation of a system enables the tuning of control systems without the need for a physical system. In this paper, we employ Lagrangian Mechanics to derive a set of equations to simulate an inverted pendulum on a cart. The system consists of a freely-rotating rod attached to a cart, with the rod's balance achieved through applying the correct forces to the cart. We manually tune the proportional, integral, and derivative gain coefficients of a Proportional Integral Derivative controller (PID) to balance a rod. To further improve PID performance, we can optimize an objective function to find better gain coefficients.

Keywords

Cite

@article{arxiv.2310.00016,
  title  = {PID Optimization Using Lagrangian Mechanics},
  author = {Ethan Kou and Majid Moghadam},
  journal= {arXiv preprint arXiv:2310.00016},
  year   = {2024}
}
R2 v1 2026-06-28T12:36:33.002Z