Real To Logic - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Real To Logic

Real to Logic converter

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

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.

Equations

yk&equals;{Upper Valuexk&gt;Upper LimitLower Valuexk<Lower LimitMiddle Valueotherwise

Connections

Name

Description

Modelica ID

x

Real input

x

y

Digital output

y

Parameters

Name

Default

Units

Description

Modelica ID

n

1

 

Signal width

n

Upper Limit

1

 

Upper limit

upper_limit

Lower Limit

0

 

Lower limit

lower_limit

Upper Value

U

 

Output if input > upper_limit

upper_value

Lower Value

U

 

Output if input < lower_limit

lower_value

Middle Value

U

 

Output else

middle_value

Modelica Standard Library

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