# The PID controller algorithm

A senior thesis by Ryan Amidan, Fall 2021

*Abstract*: The PID algorithm is a closed loop correction mechanism which stands for Proportional, Integral, Derivative. The Purpose of the PID algorithm is to make adjustments to a variable $Y$ that is not meeting itâ€™s target value $Y_t$. The PID algorithm will adjust an input variable $x$ in order to move $Y$ towards $Y_t$ without any user input, within a certain error tolerance. Depending on the values of the constants $P$, $I$ and $D$ the adjustments made to reach $Y_t$ can become quicker and more accurate.