MYSIMULATOR / 2D Lab

PID Control: Tune the Feedback Loop

Tune a proportional–integral–derivative controller to keep a moving system near its target.

LIVE SIMULATION
Interactive experimental environment 2D CANVAS ENGINE
LIVE MODEL ● 0.0 s
Space: toggle · R: reset
✦

Behind the science

The PID command is u=Kₚe+Kᵢ∫e dt+K𝒹 de/dt. A damped, spring-like plant accelerates in response to the control input. Increasing proportional gain can speed response, integral action removes offsets, and derivative feedback damps motion. Saturation and integral anti-windup are included.