LTspice has a built in Triangle Wave

From LTwiki-Wiki for LTspice
Revision as of 02:37, 19 January 2013 by Lewispaul (talk | contribs) (Created page with "LTspice has a built in triangle wave function, although it may not seem that way. Select 'Voltage Source', then 'Advanced' and select 'Pulse'. By using a rise and fall time ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

LTspice has a built in triangle wave function, although it may not seem that way. Select 'Voltage Source', then 'Advanced' and select 'Pulse'. By using a rise and fall time equal to 1/2 of your period of your pulse function, you are creating a triangle wave. LTspice linearly ramps the low voltage to the high voltage during that time, then back. See the screenshot below.


Triangle wave.jpg