Maker Pro
Simulating sawtooth and triangular waveforms

Simulating sawtooth and triangular waveforms

Harald Kapp

Moderator
Moderator
Nov 17, 2011
13,724
Joined
Nov 17, 2011
Messages
13,724
Harald Kapp submitted a new resource:

Simulating sawtooth and triangular waveforms - simulate sawtooth and triangular waveforms in LTSPICE using a PULSE source

It is not obvious but LTSPICE supports triangular or sawtooth periodic waveforms, too.
Of course, one could always resort to a PWL statement, but this gets tedious as the number of cycles increases.
Instead, use a pulsed source (voltage or current) with rise times and fall times set to create the desired triangular or sawtooth waveforms.

• Triangular waveform example:
PULSE(0 1 0 0.5 0.5 0 1) -> triangle from 0 V to 1 V, rise time = 1 s, fall time = 1 s

• Sawtooth waveform:
PULSE(0 1 0 1 0...

Read more about this resource...
 
Top