PID Controller Tuner
PID Controller Tuner
Interactive PID Parameter Optimization
PID Controller Tuner
Tune closed-loop proportional, integral, and derivative gains, then compare them with the physical mass-spring-damper response that underpins sensor dynamics.
Mass-Spring-Damper Sensor Response
Move from a physical acceleration step to proof-mass displacement, poles, overshoot, rise, and settling. Change damping alone to separate transient behavior from final sensitivity.
Physical model
Response evidence Stage 1 of 4
m*x'' + c*x' + k*x = m*a0*u(t)omegaN = sqrt(k/m); zeta = c/(2*sqrt(k*m))accelerationSensitivity = m/kxInfinity = (m/k)*a0; envelope estimate 4/(zeta*omegaN)Deterministic fixture assertions (relative tolerance 1e-6)
| Fixture | Computed | Expected | Result |
|---|
Technical boundaries. This is a linear time-invariant, one-degree-of-freedom lumped model with constant positive mass/spring values, viscous damping, zero initial conditions, and an ideal acceleration step. It does not model nonlinear springs, Coulomb friction, stops, cross-axis motion, mode shapes, temperature, electronics, sampling, feedback saturation, or structural failure. The 2% settling readout is a deterministic teaching metric, not a component qualification.
Guided Investigation
- Use Motor Balanced and inspect how the response approaches the setpoint.
- Switch to Slow Temperature and notice why a large Kp can still settle slowly.
- Try Aggressive Motor and use the diagnosis to decide which gain to reduce.
Scenario Focus
Motor Balanced is a moderate loop where proportional action gives speed, integral removes final error, and derivative adds damping.
Process and Gains
Tuning Snapshot
Step Response
Tuning Diagnosis
Run a response to see the tuning diagnosis.
Preset Comparison
| Preset | Metrics | Signal |
|---|
Gain Effect Check
| Gain | Current Signal | What To Try |
|---|
Process Notes
Motor speed has medium dynamics and is a good starting point for PID learning.
| Question | Current Signal | Why It Matters |
|---|