WOLFRAM SYSTEM MODELER

SignalGenerator

Rectangle-Triangle generator

Diagram

Wolfram Language

In[1]:=
SystemModel["Modelica.Electrical.Analog.Examples.OpAmps.SignalGenerator"]
Out[1]:=

Information

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

This signal generator consists of a Schmitt trigger and an integrator. The output of the Schmitt trigger part opamp (opAmp1) is a rectangular signal with the amplitude VAmp and the frequency f. The output of the integrator part opamp (opAmp2) is a triangular signal of also the amplitude Vamp and the frequency f.

Source:

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

Parameters (8)

Vps

Value: +15

Type: Voltage (V)

Description: Positive supply

Vns

Value: -Vps

Type: Voltage (V)

Description: Negative supply

VAmp

Value: 10

Type: Voltage (V)

Description: Desired amplitude of output

R1

Value: 1000

Type: Resistance (Ω)

Description: Arbitrary resistance for Schmitt trigger part

R2

Value: R1 * Vps / VAmp

Type: Resistance (Ω)

Description: Calculated resistance for Schmitt trigger to reach VAmp

f

Value: 10

Type: Frequency (Hz)

Description: Desired frequency

R

Value: 1000

Type: Resistance (Ω)

Description: Arbitrary resistance of integrator part

C

Value: Vps / VAmp / (4 * f * R)

Type: Capacitance (F)

Description: Calculated capacitance of integrator part to reach f

Components (9)

opAmp1

Type: IdealizedOpAmpLimted

r2

Type: Resistor

r1

Type: Resistor

ground

Type: Ground

opAmp2

Type: IdealizedOpAmpLimted

c

Type: Capacitor

r

Type: Resistor

vOutRectangle

Type: VoltageSensor

vOutTriangle

Type: VoltageSensor