Description
Calculate one supplied proportional-control command with bias.
Control terms depend on error sign, units, sample timing, saturation direction and state conventions. Hysteresis retains state between thresholds, while deadband mapping and output clamping describe different operations. A negative loop-sign product or small scalar derivative does not establish closed-loop stability or safe operation.
Calculate one supplied proportional-control command with bias.
When to use this tool
Use Proportional Control Step when you already have error, proportionalGain, bias and need to calculate one supplied proportional-control command with bias.
How to use the tool and how it works
- Enter error, proportionalGain, bias. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read output. Use the output convention below.
Return bias+proportionalGain*error with signs preserved.1
| Input field | Meaning and units | Accepted input |
|---|---|---|
| error | Error | Required. Finite number. |
| proportionalGain | Proportional Gain | Required. Finite number. |
| bias | Bias | Required. Finite number. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| output | Output | Required. Finite number. |
{
"input": {
"error": 2,
"proportionalGain": 3,
"bias": 1
},
"output": {
"output": 7
}
} Limitations and assumptions
- Gain/error units must yield the command unit. No plant, gain tuning, sampling, saturation, closed-loop stability or safe command is determined.
- 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 a complete plant, controller, actuator and timing model with verified operating constraints for control decisions. Check interactions among saturation, integrator state, gains and delays; individual algebraic terms do not tune a controller or validate system stability or safety.
References
Similar or alternative tools
- Feedback Feedforward Scalar Sum
Add supplied feedback and feedforward commands.
- Integrator Backcalculation Single Term
Calculate one supplied back-calculation integrator-correction term.