Figure 3
Figure 3
Calculating the D and I terms: Use a straight line approximation for the derivative and a trapezoidal approximation for the integral.

back