Proportional, Integral, and Derivative Terms Together

Using all the terms together, as a PID controller usually gives the best performance. The figure below compares the P, PI, and PID controllers. PI improves the P by removing the stationary error, and the PID improves the PI by faster response and no overshoot.

Figure 1. Step Response P, PI, and PID Controller