PID Control
Please refer to the following site for information on PID controllers:¶
https://pidexplained.com/pid-controller-explained/
With MATLAB, our lives have been made significantly easier, as we have PID tuning applications that can help us get a range of values that can better stabilize our system (otherwise you basically have to cycle through a very large quantity of numbers… doable, but taking advantage of MATLAB is more feasible
With that being said, take a look at the documentation for MATLAB’s PID Tuner package:
https://www.mathworks.com/help/control/ref/pidtuner-app.html