Real To Logic
Real to Logic converter
Description
Equations
Connections
Parameters
Modelica Standard Library
The Real To Logic component converts a real input signal to a three-valued digital output.
The parameter n sets the width of the input and output.
yk={Upper Valuexk>Upper LimitLower Valuexk<Lower LimitMiddle Valueotherwise
Name
Modelica ID
x
Real input
y
Digital output
Default
Units
n
1
Signal width
Upper Limit
Upper limit
upper_limit
Lower Limit
0
Lower limit
lower_limit
Upper Value
U
Output if input > upper_limit
upper_value
Lower Value
Output if input < lower_limit
lower_value
Middle Value
Output else
middle_value
The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.
See Also
Digital Components
Digital Converters
Electrical Library
Download Help Document