Sign Function
According to the positive and negative output symbol value of the input signal, it is used for flow direction judgment, segmentation operation and logic switching.
Component Appearance and Location
Expand Controller in component library on the left and find "Symbolic Functions".
Ports and Connections
| Port Key | Type | Direction | Interface Name | Display Conditions |
|---|---|---|---|---|
0 | CONTROL | input | Input signal port | always show |
1 | CONTROL | output | Output signal port | always show |
The input terminal receives the signal to be judged, and the output terminal gives its positive, negative or zero direction.
Parameter List
Sign Function has no parameters to display.
Parameter Guidance
Connect the signed signal to port 0. For flow direction, confirm the target and measurement port convention. Measurement Direction
Modeling Steps
- Connect signed flow, error, or another signal.
- Connect output to logic or an oscilloscope.
- Run transient simulation and compare simultaneous input and output.
View Results
Output is dimensionless: 1 for positive, 0 for zero, −1 for negative input. Magnitude changes without sign changes leave output unchanged.
Professional Theory
For input at the current control instant, output is
NexusFlow tests directly against zero. Every finite nonzero input is classified by sign once ready at the current control instant. Signal Updates
Applicability and Limits
- Direction. Encodes direction or error sign. Branch the original and use Absolute Value for magnitude.
- Near zero. Define thresholds and switching logic for deadband or hysteresis.
- Commands. Map −1, 0, and 1 into the receiver allowed range when needed.
Common Inspections
- Frequent switching. Check repeated zero crossings and need for deadband.
- Unexpected direction. Check measurement, port, and positive-flow definitions.