MinMax Block
Outputs the minimum or maximum of all input signals
Open MinMax in BlockWerk →# MinMax Block
Description
Outputs the minimum or maximum of all connected input signals. Useful for signal selection, protection logic, and envelope detection.
Mathematical Model
Min: y = min(u₁, u₂, ..., uₙ)
Max: y = max(u₁, u₂, ..., uₙ)
where u₁...uₙ are all connected input signals.
Parameters
operation
Select "min" or "max".
Remarks
- Scalar only: All inputs must be scalar values; vector inputs are not supported
- Unconnected: Unconnected input ports are ignored in the min/max calculation
- Single input: With only one connected input, output equals that input for both modes
- Performance: Negligible computational overhead; safe for high-speed simulation
See Also
- Comparator: Threshold-based comparison
- Switch: Select between signals based on condition