modelMultivibrator

Multivibrator with Schmitt trigger

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This is a Multivibrator with Schmitt trigger according to:

U. Tietze and C. Schenk, Halbleiter-Schaltungstechnik (German), 11th edition, Springer 1999, Chapter 6.5.3

As the initialization system has two solutions, one with the op amp output at the lower saturation limit, and the other one with the two voltage inputs very close to each other, the homotopyType parameter is set to get the solver to converge to the former one, which is the required solution.

Parameters

TypeNameDefaultDescription
SI.VoltageVps+15Positive supply
SI.VoltageVns-15Negative supply
SI.Frequencyf10Desired frequency
SI.ResistanceR11000Resistance 1 for adjusting the Schmitt trigger voltage level
SI.ResistanceR21000Resistance 2 for adjusting the Schmitt trigger voltage level
SI.ResistanceR1000Arbitrary resistance
SI.CapacitanceC1/f/(2*R*log(1 + 2*R1/R2))Calculated capacitance to reach the desired frequency f

Components

TypeNameDefaultDescription
Modelica.Electrical.Analog.Ideal.IdealizedOpAmpLimitedopAmp
Modelica.Electrical.Analog.Basic.Groundground
Modelica.Electrical.Analog.Sensors.VoltageSensorvOut
Modelica.Electrical.Analog.Basic.Resistorr1
Modelica.Electrical.Analog.Basic.Resistorr2
Modelica.Electrical.Analog.Basic.Resistorr
Modelica.Electrical.Analog.Basic.Capacitorc