How to use this calculator
Compare measured controller runs using error magnitude, energy and persistence penalties.
- Enter Observation times (s), Tracking errors. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Sampled control error performance indices explained
Integrate absolute error, squared error and time-weighted absolute error under piecewise-linear interpolation between samples.
How the calculation works
IAE=∫|e|dt; ISE=∫e²dt; ITAE=∫t|e|dt. Each is integrated exactly for piecewise-linear error between the supplied samples.
Zero crossings are split before integrating absolute error, avoiding the common overestimate from trapezoids drawn across a sign change.
Set up the calculation
t— Observation times (s)- Strictly increasing timestamps starting at zero. Use comma-separated values in the stated order.
e— Tracking errors- Signed reference-minus-output errors at matching timestamps. Use comma-separated values in the stated order.
Limits of this model
Assumes linear interpolation between samples; unobserved fast oscillations are not reconstructed.
Check this example
Observation times (s) = [0, 1, 2, 3, 4]; Tracking errors = [1, 0.6, -0.2, 0.1, 0].
- Integral absolute error: 1.183333 error·s
- Integral squared error: 0.76 error²·s
- Time-weighted absolute error: 1.058796 error·s²
Errors [1,0.6,−0.2,0.1,0] observed at one-second intervals include overshoot, making exact zero-crossing treatment relevant.
Exact piecewise-linear integration gives IAE=1.183333 error·s, ISE=0.76 error²·s and ITAE≈1.058796 error·s².
Reading the outputs
Indices depend on error units and observation duration; compare runs using the same reference, units and time horizon.
Frequently asked questions
Why does ITAE penalize late error more?
Its time factor grows after the command begins.
Can I compare runs of different duration?
Only with care; a longer record changes the integration horizon.
Must error be positive?
No. Signed error is needed to integrate crossings correctly.
How do I use the Sampled control error performance indices calculator?
Enter Observation times (s), Tracking errors. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Sampled control error performance indices?
Observation times (s) = [0, 1, 2, 3, 4]; Tracking errors = [1, 0.6, -0.2, 0.1, 0]. Integral absolute error: 1.183333 error·s Integral squared error: 0.76 error²·s Time-weighted absolute error: 1.058796 error·s² Errors [1,0.6,−0.2,0.1,0] observed at one-second intervals include overshoot, making exact zero-crossing treatment relevant. Exact piecewise-linear integration gives IAE=1.183333 error·s, ISE=0.76 error²·s and ITAE≈1.058796 error·s².
Read our calculation methodology.