Subtraction Block
Subtracts multiple input signals (first input minus all others)
Open Subtraction in BlockWerk →Description
The Subtraction block performs algebraic subtraction of two input signals: output = in1 - in2. This provides an explicit and intuitive alternative to using the Sum block with a negative Gain factor. Essential for generating error signals in feedback control systems.
Mathematical Model
y(t) = u₁(t) - u₂(t)
where:
u₁ = minuend (in1 input)
u₂ = subtrahend (in2 input)
Parameters
(No parameters - fixed two-input subtraction)
Examples
Reference signal (5) minus measured signal (3) produces error (2).
Remarks
- Two explicit inputs: in1 (minuend) and in2 (subtrahend)
- Zero computational overhead
- Essential in feedback control: error = setpoint - measured
- More intuitive than Sum block with negative Gain
- Commonly used in PID controller error computation
See Also
- Sum: Signal addition with configurable inputs
- Gain: Signal scaling (use for negative Gain)
- Saturation: Output limiting for error bounds