## Documentation Center |

This example shows an implementation of a triangle wave generator circuit using two op-amps. The first op-amp acts as an integrator. The second op-amp acts as a non-inverting amplifier, with its output voltage limited to approximately plus or minus ten volts by the two zener diodes. The Sine Wave block modulates the waveform amplitude via the Variable Resistor block, and the DC Voltage Source can be used to add a DC offset. See the Example - Modeling a Triangle Wave Generator section of the SimElectronics® User Guide for more information on how to construct this model using the Simscape™ and SimElectronics® block libraries.

The two Band-Limited Op-Amp blocks are parameterized based on an LM7301 device. The datasheet gives the gain as 97dB which is equivalent to a gain of 10^(97/20)=7.080e4. Input resistance is given as 39e6 ohms, and slew rate as 1.25V per microsecond. Bandwidth is given as 4MHz. No value is given for the output resistance, so this is set to zero. In practice the output resistance will be small compared to output series 1000 ohm resistor in this circuit.

Was this topic helpful?