Description
Return one rectangular-rule integral increment and updated state.
Controller calculations combine state, gain, error and reset conventions. A one-step update or output-balance target describes one part of a controller and does not implement, tune or establish the stability of a complete plant-control loop.
Return one rectangular-rule integral increment and updated state.
When to use this tool
Use Discrete Pid One Integral Increment when checking one explicit controller-state or term update.
How to use the tool and how it works
- Enter integral, error, gain, step. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read increment, nextIntegral. Use the output convention below.
Return one rectangular-rule integral increment and updated state. Require step >= 0; increment = gain*error*step and nextIntegral = integral+increment.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| integral | Integral | Required. Finite number. |
| error | Error | Required. Finite number. |
| gain | Gain | Required. Finite number. |
| step | Step duration in the same time unit used by rates and time constants. | Required. Finite number; minimum 0. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| increment | Increment | Required. Finite number. |
| nextIntegral | Next Integral | Required. Finite number. |
{
"input": {
"integral": 2,
"error": 3,
"gain": 0.5,
"step": 2
},
"output": {
"increment": 3,
"nextIntegral": 5
}
} Limitations and assumptions
- Gain and error units must match the state; no limits, tuning or full PID update is included.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Use the full controller and plant model, numerical implementation and qualified verification for actual operation or transitions.
References
Similar or alternative tools
- Error Integral Leakage One Step
Update a leaking integral state with an error increment.
- Derivative On Measurement Setpoint Gap
Compare derivative-on-measurement and derivative-on-error terms.