Difference between revisions of "LTspice has a built in Triangle Wave"

From LTwiki-Wiki for LTspice
(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 ...")
 
 
Line 3: Line 3:
  
 
[[File:triangle_wave.jpg]]
 
[[File:triangle_wave.jpg]]
 +
 +
{{#widget:DISQUS
 +
|id=ltwiki
 +
|uniqid={{PAGENAME}}
 +
|url=http://ltwiki.org/index.php5?title=LTspice_has_a_built_in_Triangle_Wave
 +
}}

Latest revision as of 22:48, 17 April 2015

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