InvertingSchmittTrigger

Inverting Schmitt trigger with hysteresis

Diagram

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This is a (inverting) Schmitt trigger. Resistance R1 can be chosen, resistance R2 is defined by the desired hysteresis. The output gets Vn for input voltage > 0 + vHys and Vp for input voltage < vHys*Vns/Vps.

The example is taken from: U. Tietze and C. Schenk, Halbleiter-Schaltungstechnik (German), 11th edition, Springer 1999, Chapter 6.5.2

Parameters (8)

Vps

Value: +15

Type: Voltage (V)

Description: Positive supply

Vns

Value: -15

Type: Voltage (V)

Description: Negative supply

Vin

Value: 5

Type: Voltage (V)

Description: Amplitude of input voltage

f

Value: 10

Type: Frequency (Hz)

Description: Frequency of input voltage

vHys

Value: 1

Type: Voltage (V)

Description: (positive) hysteresis voltage

k

Value: vHys / Vps

Type: Real

Description: Auxiliary calculated parameter to be used in R2 calculation

R1

Value: 1000

Type: Resistance (Ω)

Description: Arbitrary resistance

R2

Value: (1 - k) / k * R1

Type: Resistance (Ω)

Description: Calculated resistance to reach hysteresis voltage

Components (6)

opAmp

Type: IdealizedOpAmpLimted

ground

Type: Ground

vIn

Type: TrapezoidVoltage

vOut

Type: VoltageSensor

r1

Type: Resistor

r2

Type: Resistor