LTspice has a built in Triangle Wave

From LTwiki-Wiki for LTspice

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

blog comments powered by Disqus