PID Controller & Plant Lab
Tune P, PI, PD, and PID loops across 4 plant models with anti-windup actuator saturation and load disturbances. Built for Control Systems, this workbench updates the dual output & effort scope and scalar readouts in real time as parameters change.
Technical Reference & Equations
- Closed-Loop Unity Feedback Transfer Function:
T(s) = \frac{G(s)}{1 + G(s)H(s)}(Closed-loop poles are the roots of the characteristic equation 1 + G(s)H(s) = 0.) - Canonical Second-Order Overshoot & Settling Time:
\%\mathrm{OS} = 100\,e^{-\frac{\pi\zeta}{\sqrt{1 - \zeta^2}}}, \quad T_s(2\%) \approx \frac{4}{\zeta \omega_n}(zeta: damping ratio, omega_n: natural frequency.) - PID Control Law:
u(t) = K_p e(t) + K_i \int_0^t e(\tau)\,d\tau + K_d \frac{de(t)}{dt}(P reduces rise time, I eliminates steady-state error, D adds damping.)
Related Control Systems Calculators
- PID Controller Step Response: Simulate PID gains (Kp, Ki, Kd) on a 2nd-order plant via RK4 with ±2% settling band, overshoot, rise time, and steady-state error.
- Bode Plot & Stability Margins: Semilog magnitude and phase curves with gain margin, phase margin, and frequency probe.
- Root Locus & s-Plane: Closed-loop pole trajectories in the complex s-plane as loop gain varies.
- Mass-Spring-Damper Oscillator: Inspect underdamped, critically damped, and overdamped 2nd-order vibration responses.
- 2nd-Order Linear ODE Solver: Solve constant-coefficient homogeneous ODEs ay″+by′+cy=0 with damping envelopes and complex s-plane roots.
- Beam Shear, Moment & Deflection: Reactions, V(x), M(x), bending stress, and elastic deflection across Simply Supported, Cantilever, Overhanging, and Fixed–Fixed beams.