Skip to content

Main content

Discrete Pid One Integral Increment Tool

Forward rectangular integration of an explicitly supplied current PID error.

Loading tool…

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

  1. Enter integral, error, gain, step. Use the units and conventions below.
  2. Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
  3. 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 fieldMeaning and unitsAccepted input
integralIntegralRequired. Finite number.
errorErrorRequired. Finite number.
gainGainRequired. Finite number.
stepStep duration in the same time unit used by rates and time constants.Required. Finite number; minimum 0.
Output fieldInterpretationReturned shape
incrementIncrementRequired. Finite number.
nextIntegralNext IntegralRequired. Finite number.
json
{
  "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

  1. Calculation and input contract: cybernetics/discrete-pid-one-integral-increment — tool.io

Similar or alternative tools