Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #394862

Re: LTSPICE square wave

From Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com>
Newsgroups sci.electronics.design
Subject Re: LTSPICE square wave
Date 2016-01-21 10:00 -0700
Message-ID <uf32ab9jcfa0ds6g3ntmdjp32buga5hoil@4ax.com> (permalink)
References <dW9ny.159410$_r1.42359@fx24.iad> <3hbq9b57tkfk4daa9ae39ic2khr30r9p46@4ax.com>

Show all headers | View raw


On Mon, 18 Jan 2016 11:37:13 -0700, Jim Thompson
<To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> wrote:

>On Mon, 18 Jan 2016 13:12:02 -0500 (EST), bitrex
><bitrex@de.lete.earthlink.net> wrote:
>
>>
>>Is there a way to make a square wave using the LTSPICE ac voltage
>> source which doesnt have a DC offset, i.e. alternates between -5
>> and +5, say? I can't seem to figure it out. Thanks.
>
>You don't use an _AC_ source to make a square wave, you use a Vpulse
>source.
>
>The notation is:
>
>Vx  PosNode NegNode PULSE -5V 5V {TD} {TR} {TF} {PW} {PER}
>
>The timings should be obvious.  However there is a trickiness...
>
>Pulse-width {PW} is set to be true desired pulse width minus {TR}
>
>I have created a true pulse source which has smooth TANH rise and fall
>(natch ;-), and {PW} is the real-deal, no scratching of head required.
>I haven't ported it to LTspice yet.
>		
>                                        ...Jim Thompson

See RealPulse.pdf on the Simulation Tools & Macros Page of my website.
		
                                        ...Jim Thompson
-- 
| James E.Thompson                                 |    mens     |
| Analog Innovations                               |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| San Tan Valley, AZ 85142     Skype: skypeanalog  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.

Back to sci.electronics.design | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

LTSPICE square wave bitrex <bitrex@de.lete.earthlink.net> - 2016-01-18 13:12 -0500
  Re: LTSPICE square wave Przemek Klosowski <przemek@tux.dot.org> - 2016-01-18 18:20 +0000
    Re: LTSPICE square wave Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-01-18 14:05 -0500
      Re: LTSPICE square wave bitrex <bitrex@de.lete.earthlink.net> - 2016-01-18 15:38 -0500
        Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-18 12:42 -0800
        Re: LTSPICE square wave Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2016-01-18 16:55 -0500
  Re: LTSPICE square wave Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-18 11:37 -0700
    Re: LTSPICE square wave Tim Wescott  <Tim@seemywebsite.com> - 2016-01-18 11:01 -0800
      Re: LTSPICE square wave "Tim Williams" <tiwill@seventransistorlabs.com> - 2016-01-18 13:20 -0600
    Re: LTSPICE square wave Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2016-01-21 10:00 -0700
  Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-18 11:15 -0800
    Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-18 12:49 -0800
      Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-18 13:00 -0800
        Re: LTSPICE square wave Jeroen Belleman <jeroen@nospam.please> - 2016-01-18 22:29 +0100
        Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-18 13:30 -0800
          Re: LTSPICE square wave Jeroen Belleman <jeroen@nospam.please> - 2016-01-18 22:34 +0100
          Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-18 15:46 -0800
            Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-18 16:10 -0800
              Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-18 17:20 -0800
                Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-19 07:30 -0800
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-19 08:43 -0800
                Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-19 09:01 -0800
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-19 09:31 -0800
                Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-19 14:07 -0600
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-19 12:46 -0800
                Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-19 13:22 -0800
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-19 14:51 -0800
                Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-20 14:18 -0600
                Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-19 15:23 -0600
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-19 15:07 -0800
                Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-20 14:30 -0600
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-20 13:22 -0800
                Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-21 12:02 -0600
                Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-21 10:20 -0800
                Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-21 19:40 -0600
  Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-18 14:11 -0600
    Re: LTSPICE square wave bitrex <bitrex@de.lete.earthlink.net> - 2016-01-18 15:44 -0500
      Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-18 12:52 -0800
        Re: LTSPICE square wave bitrex <bitrex@de.lete.earthlink.net> - 2016-01-18 16:20 -0500
          Re: LTSPICE square wave bitrex <bitrex@de.lete.earthlink.net> - 2016-01-18 16:24 -0500
            Re: LTSPICE square wave Joerg <news@analogconsultants.com> - 2016-01-18 13:32 -0800
              Re: LTSPICE square wave bitrex <bitrex@de.lete.earthlink.net> - 2016-01-18 17:11 -0500
    Re: LTSPICE square wave John Larkin <jjlarkin@highlandtechnology.com> - 2016-01-18 13:02 -0800
      Re: LTSPICE square wave John Fields <jfields@austininstruments.com> - 2016-01-21 10:39 -0600
  Re: LTSPICE square wave legg <legg@nospam.magma.ca> - 2016-01-18 19:19 -0500

csiph-web