Level 4 — Numerical analysis
PID Controller Step Response (Closed-Loop Simulation)
Simulate a PID loop on a first-order-plus-dead-time or second-order plant: step response, overshoot, rise and settling time, steady-state error, actuator limits and SIMC tuning.
How it works — PID Controller Step Response (Closed-Loop Simulation)
Inputs
- r
- Set-point step
- G(s)
- Plant gain K
Formula
- u(t) = K_p·e(t) + K_i∫e(t)dt + K_d·de(t)/dt
- G(s) = K·e^(−θs)/(τs + 1) or Kωₙ²/(s² + 2ζωₙs + ωₙ²)
Results
- u
- Controller output
- y
- Overshoot
Inputs
Results
Enter your values and press Calculate. The defaults are a worked example.
Formula
u(t) = K_p·e(t) + K_i∫e(t)dt + K_d·de(t)/dt · G(s) = K·e^(−θs)/(τs + 1) or Kωₙ²/(s² + 2ζωₙs + ωₙ²)
Formulas are evaluated in SI units; inputs and results are converted.
Show the math
Worked solution
Press Calculate to see every step with your values substituted.
Calculation level & design standard
Level 4 — Numerical analysis
A numerical solver: matrix analysis, iteration or time integration.
Preliminary engineering calculation — no jurisdiction-specific code compliance claimed. Verify the applicable requirements with a qualified professional.
Assumptions
- Linear plant; unity feedback; filtered derivative on the error; integrator clamped at the actuator limits.
- Fixed-step RK4 integration (3000 steps).
References
- K. J. Åström, T. Hägglund, PID Controllers: Theory, Design and Tuning
- S. Skogestad (2003), Simple analytic rules for model reduction and PID controller tuning, J. Process Control
Results are for preliminary design and education. Verify against the governing code and have critical work checked by a licensed professional engineer.
More Electrical Engineering tools
- Electrical Engineering Transfer Function Analysis: Poles, Bode, Nyquist, Root Locus Poles, zeros, stability, DC gain, gain and phase margins, Bode, Nyquist and root-locus plots and the step response of a transfer function, open or closed loop. Open tool
- Electrical Engineering Sensor Signal Scaling: 4–20 mA, RTD & Strain Gauge Convert 4–20 mA loop current to process value (with NAMUR fault bands), Pt100/Pt1000 resistance to temperature, and strain to bridge output voltage. Open tool
- Electrical Engineering ADC / DAC Resolution, Sampling & Aliasing LSB size, output code, ideal SQNR, Nyquist frequency, aliasing and data rate of an analog-to-digital converter, with a sampling chart. Open tool
- Electrical Engineering PWM Timer: Frequency, Duty Cycle & Resolution Timer TOP and compare values, actual frequency, resolution, duty step and average output of a microcontroller PWM, with the waveform. Open tool