Overview

A PID Controller is a common closed feedback loop using integration and differentiation, PID standing for Proportional integral derivative controller.

Usage

Goal

Our overall goal is for our error value/function, to be 0.

Calculation

First, we need to figure out how a PID controller works, it works by interpolating values, using the three main parts, proportional, integral, derivative.

Proportional:

Multiply by some .

Integral:

Multiply by some then integrate.

Derivative:

Multiply by some then differentiate.

Sum all PID

Derivation