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

Online Help

All Products    Maple    MapleSim


Comparator

Comparator with Hysteresis

 

Description

Connections

Parameters

Description

The Comparator models an ideal comparator with hysteresis. The input impedance is infinite.

The output goes high when Vhys2<vpvn. It goes low when vpvn<Vhys2.

When the output is high, the output pin is connected to the high supply pin, hi, through a resistance Ron, and is connected to the low supply pin, lo, through a conductance Goff.

When the output is low, the output pin is connected to the high supply pin, hi, through a conductance Goff, and is connected to the low supply pin, lo, through a resistance Ron.

Connections

Name

Description

Modelica ID

out

Output pin

out

p

Positive input

p

n

Negative input

n

hi

High supply pin

hi

lo

Low supply pin

lo

Parameters

Name

Default

Units

Description

Modelica ID

Vhys

0.001

V

Hysteresis voltage

Vhys

Ron

0.001

Ω

On-state resistance

Ron

Goff

0.001

S

Off-state conductance

Goff

See Also

Analog Components

Electrical Library

Operational Amplifiers