Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsElectronicsBasicsRepairDesignCADComponentsEquipmentElectrical Engineering
ElectronicsKB.com
Contact UsLink To UsSearch & Site Map

Electronics Forum / CAD / October 2003



Tip: Looking for answers? Try searching our database.

LTSpice Question Re Generating Square Pulses

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dr. John H. Bickel - 27 Oct 2003 22:37 GMT
I'm trying out LTSpice for the first time and was experiencing difficulty in generating a square pulse type input using the independent voltage source options.

What I wanted to do was have an input go from +15V after a few seconds to 0V with a very short fall time, then rise again to +15V after a few seconds.

The PULSE and PWL options - when plotted give me voltages ranging from +15 to -15. Obviously I don't fully understand the definitions. Perhaps someon from LT could set me straight.

Thanks in advance!
Mike Engelhardt - 27 Oct 2003 23:04 GMT
John,

> I'm trying out LTSpice for the first time and was experiencing
> difficulty in generating a square pulse type input using the
[quoted text clipped - 7 lines]
> ranging from +15 to -15. Obviously I don't fully understand
> the definitions. Perhaps someon from LT could set me straight.

This deck shows V1 starting at 15V and stays there for 10s.
then it goes to 0V(with a 1us fall time) and stays at 0V for
1ms.  There period repeats every 5 sec.  The trick here is
to invert the usual sense of on and off time.  When the
pulse is on, it's doing 0V.  When it's off, it's doing 15.

Hope this helps,

--Mike

*
V1 1 0 pulse(15 0 10 1u 1u 1m 5)
.tran 100
.end
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.