Mass-Spring-Damper Plant with Parallel PID Controller
Controller: u = Kp·e + Ki·∫e dt − Kd·dy/dt (the derivative acts on the output, not on the error). F is a step force that starts at tF. Rise time, overshoot and settling time describe the reference step alone; steady-state error includes F. Created for Embedded Systems Laboratory course; University of Twente. Use with caution: step response may not be accurate. Validate with a proper simulation program such as 20-sim or Matlab.