Examples
Examples
Try the starting example
- First-order plant static gain
- 1
- First-order plant time constant (seconds)
- 2
- Proportional gain Kp
- 2
- Integral gain Ki (per second)
- 0.5
- Derivative gain Kd (seconds)
- 0.1
- Setpoint samples
- 1,1,1,1,1,1,1,1,1,1
- Sample interval (seconds)
- 0.1
- Actuator lower limit
- -2
- Actuator upper limit
- 2
- Sampled [output,control,integral contribution] trace (JSON)
- [[0.0975411509986,2,0.05],[0.180692950367,1.80249948945,0.0951229424501],[0.254378347185,1.69155059483,0.136088294932],[0.319562608133,1.59092728638,0.173369377572],[0.377283518769,1.50308176995,0.207391247166],[0.428441687263,1.42623912305,0.238527071227],[0.473828645904,1.35906344384,0.267104986864],[0.514139509479,1.30036930412,0.293413554569],[0.549984769872,1.24911669656,0.317706579095],[0.581900613455,1.20439254047,0.340207340601]]
- Final output
- 0.581901
Try another scenario
- First-order plant static gain
- 2
- First-order plant time constant (seconds)
- 2
- Proportional gain Kp
- 2
- Integral gain Ki (per second)
- 0.5
- Derivative gain Kd (seconds)
- 0.1
- Setpoint samples
- [1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
- Sample interval (seconds)
- 0.1
- Actuator lower limit
- -2
- Actuator upper limit
- 2
- Sampled [output,control,integral contribution] trace (JSON)
- [[0.195082301997,2,0.05],[0.332367358513,1.50499897891,0.0902458849001],[0.445068751624,1.32160774343,0.123627516974],[0.535391936186,1.14853518303,0.151374079393],[0.608138268773,1.01349742565,0.174604482584],[0.666770797418,0.905174699013,0.194197569145],[0.714107469918,0.818684905793,0.210859029274],[0.75239708375,0.749602043442,0.225153655778],[0.783439699259,0.694450020259,0.237533801591],[0.808675541258,0.650439802602,0.248361816628]]
- Final output
- 0.808676
Calculation method
Calculation method
Sampled [output,control,integral contribution] trace (JSON)
Sampled parallel PID with backward rectangular integration and derivative on measured output; exact zero-order-hold first-order plant update; output saturation, no anti-windup.
Final output
Sampled parallel PID with backward rectangular integration and derivative on measured output; exact zero-order-hold first-order plant update; output saturation, no anti-windup.
Symbols and units
- a
- First-order plant static gain
- b
- First-order plant time constant (seconds)
- c
- Proportional gain Kp
- d
- Integral gain Ki (per second)
- e
- Derivative gain Kd (seconds)
- f
- Setpoint samples
- g
- Sample interval (seconds)
- h
- Actuator lower limit
- i
- Actuator upper limit
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Assumptions & limits
Assumptions & limits
- User-supplied measurements and assumptions; Sampled parallel PID with backward rectangular integration and derivative on measured output; exact zero-order-hold first-order plant update; output saturation, no anti-windup. Supported limits: Finite numeric values bounded to 1e9 magnitude; lists and tables contain 1–100 records unless a stricter bound is stated. Inputs use the units shown. Lists explicitly paired by a method must have matching lengths; independent polynomial coefficient vectors may differ. Respect stated physical, interpolation, policy and computational domain limits.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.
Further reading
Background reading; this does not imply endorsement or independent review of SumFizz.