Modelica.Electrical.Analog.Examples.OpAmps

Information

Extends from Modelica.Icons.ExamplesPackage (Icon for packages containing runnable examples).

Package Content

Name Description
Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp InvertingAmp Inverting amplifier
Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp NonInvertingAmp Non-inverting amplifier
Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower VoltageFollower Reproduce input voltage
Modelica.Electrical.Analog.Examples.OpAmps.Differentiator Differentiator Differentiating amplifier
Modelica.Electrical.Analog.Examples.OpAmps.Integrator Integrator Integrating amplifier
Modelica.Electrical.Analog.Examples.OpAmps.LowPass LowPass Low-pass filter
Modelica.Electrical.Analog.Examples.OpAmps.HighPass HighPass High-pass filter
Modelica.Electrical.Analog.Examples.OpAmps.Comparator Comparator Comparator
Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger InvertingSchmittTrigger Schmitt trigger with hysteresis
Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger SchmittTrigger Schmitt trigger with hysteresis
Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator Multivibrator Multivibrator with Schmidt Trigger
Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator SignalGenerator Rectangle-Triangle generatorSchmitt trigger with hysteresis
Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator LCOscillator  

Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp Modelica.Electrical.Analog.Examples.OpAmps.InvertingAmp

Inverting amplifier

Information

This is an inverting amplifier. Resistance R1 can be chosen, R2 is defined by the desired amplification k.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
kDesired amplification
R1[Ohm]
R2[Ohm]

Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp

Non-inverting amplifier

Information

This is a non inverting amplifier. Resistance R1 can be chosen, R2 is defined by the desired amplification k.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
kDesired amplification
R1[Ohm]
R2[Ohm]

Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower

Reproduce input voltage

Information

This is a voltage follower. It reproduces the input voltage at the output without loading the input voltage source with a stiff output.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
RiInner resistance of input voltage source [Ohm]
RlLoad resistance [Ohm]

Modelica.Electrical.Analog.Examples.OpAmps.Differentiator Modelica.Electrical.Analog.Examples.OpAmps.Differentiator

Differentiating amplifier

Information

This is a (inverting) differentiating amplifier. Resistance R can be chosen, capacitance C is defined by the desired time constant resp. frequency.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
kDesired amplification
R[Ohm]
C[F]

Modelica.Electrical.Analog.Examples.OpAmps.Integrator Modelica.Electrical.Analog.Examples.OpAmps.Integrator

Integrating amplifier

Information

This is an (inverting) integrating amplifier. Resistance R can be chosen, capacitance C is defined by the desired time constant resp. frequency.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
kDesired amplification
R[Ohm]
C[F]

Modelica.Electrical.Analog.Examples.OpAmps.LowPass Modelica.Electrical.Analog.Examples.OpAmps.LowPass

Low-pass filter

Information

This is a (inverting) low pass filter. Resistance R1 can be chosen, resistance R2 is defined by the desired amplification k, capacitance C is defined by the desired cut-off frequency.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
kDesired amplification
R1[Ohm]
R2[Ohm]
fG[Hz]
C[F]

Modelica.Electrical.Analog.Examples.OpAmps.HighPass Modelica.Electrical.Analog.Examples.OpAmps.HighPass

High-pass filter

Information

This is a (inverting) high pass filter. Resistance R1 can be chosen, resistance R2 is defined by the desired amplification k, capacitance C is defined by the desired cut-off frequency.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
kDesired amplification
R1[Ohm]
R2[Ohm]
fG[Hz]
C[F]

Modelica.Electrical.Analog.Examples.OpAmps.Comparator Modelica.Electrical.Analog.Examples.OpAmps.Comparator

Comparator

Information

This is a comparator. Resistance R1 can be chosen, resistance R2 is defined by the desired reference voltage Vref (between Vn and Vp). The output switches between Vn for input voltage < Vref and Vp for input voltage > Vref.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
VrefReference voltage [V]
k 
R[Ohm]

Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger

Schmitt trigger with hysteresis

Information

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.

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
vHys(positive) hysteresis voltage [V]
k 
R1[Ohm]
R2[Ohm]

Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger

Schmitt trigger with hysteresis

Information

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

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VinAmplitude of input voltage [V]
fFrequency of input voltage [Hz]
vHys(positive) hysteresis voltage [V]
k 
R1[Ohm]
R2[Ohm]

Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator

Multivibrator with Schmidt Trigger

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

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
fDesired frequency [Hz]
R1[Ohm]
R2[Ohm]
R[Ohm]
C[F]

Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator

Rectangle-Triangle generatorSchmitt trigger with hysteresis

Information

This signal generator consists of a Schmitt Trigger and an integrator. The output of the first OpAmp (Schmidt Trigger) s a rectangular signal, the output of the second OpAmp (integrator) is a triangular signal.

The switching level of the comparator defines the amplitude of the triangle, the frequency is defined by: f = Vps/VAmp/(4*R*C) according to:

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

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

Parameters

NameDescription
VpsPositive supply [V]
VnsNegative supply [V]
VAmpAmplitude of output [V]
R1[Ohm]
R2[Ohm]
fDesired frequency [Hz]
R[Ohm]
C[F]

Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator Modelica.Electrical.Analog.Examples.OpAmps.LCOscillator

Information

This is an LC oscillator according to:

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

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

Parameters

NameDescription
VAmpAmplitude of output [V]
fDesired frequency [Hz]
A 
L[H]
C[F]
R[Ohm]
R1[Ohm]
R2[Ohm]
gamma 
Automatically generated Tue Apr 05 09:36:15 2016.