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


Groups > sci.electronics.design > #394383 > unrolled thread

LTSPICE square wave

Started bybitrex <bitrex@de.lete.earthlink.net>
First post2016-01-18 13:12 -0500
Last post2016-01-18 19:19 -0500
Articles 5 on this page of 45 — 11 participants

Back to article view | Back to sci.electronics.design


Contents

  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

Page 3 of 3 — ← Prev page 1 2 [3]


#394428

FromJoerg <news@analogconsultants.com>
Date2016-01-18 13:32 -0800
Message-ID<dg53vgFjur3U3@mid.individual.net>
In reply to#394424
On 2016-01-18 13:24, bitrex wrote:
> bitrex <bitrex@de.lete.earthlink.net> Wrote in message:
>> Joerg <news@analogconsultants.com> Wrote in message:
>>> On 2016-01-18 12:44, bitrex wrote:
>>>> John Fields <jfields@austininstruments.com> Wrote in message:
>>>>> 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.
>>>>>
>>>>> ---
>>>>> There is, but why would you want to when you could use a pulse source
>>>>> with a V initial of -5 volts and a Von 0f 5 volts?
>>>>>
>>>>> John Fields
>>>>>
>>>>>
>>>>
>>>> Setting V_initial at -5 doesnt seem to do anything.
>>>>
>>>
>>> It does in all my schematics where I needed that. Can you post yours
>>> here as an ASCII list?
>>>
>>> --
>>> Regards, Joerg
>>>
>>> http://www.analogconsultants.com/
>>>
>>
>> I found the problem! The voltage source was feeding a voltage
>>   doubler and I had only put the ground on the other side of the
>>   rectifiers. I forgot to add another ground symbol at the voltage
>>   source. It worked but it didn't know where ground
>>   was...
>>
>> --
>>
>>
>> ----Android NewsGroup Reader----
>> http://usenet.sinaapp.com/
>>
>
> Only problem is, now it doesn't double correctly as the diodes are
>   connected to ground and not AC. Hmmm...
>

Not sure what you are trying to do but if you need a part of a circuit 
to float where SPICE does not like it you can connect it via 100MEG or 
some other high value that doesn't matter much. Just not too high so the 
solver doesn't hit a ceiling.

-- 
Regards, Joerg

http://www.analogconsultants.com/

[toc] | [prev] | [next] | [standalone]


#394440

Frombitrex <bitrex@de.lete.earthlink.net>
Date2016-01-18 17:11 -0500
Message-ID<wqdny.166815$by4.92804@fx14.iad>
In reply to#394428
Joerg <news@analogconsultants.com> Wrote in message:
> On 2016-01-18 13:24, bitrex wrote:
>> bitrex <bitrex@de.lete.earthlink.net> Wrote in message:
>>> Joerg <news@analogconsultants.com> Wrote in message:
>>>> On 2016-01-18 12:44, bitrex wrote:
>>>>> John Fields <jfields@austininstruments.com> Wrote in message:
>>>>>> 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.
>>>>>>
>>>>>> ---
>>>>>> There is, but why would you want to when you could use a pulse source
>>>>>> with a V initial of -5 volts and a Von 0f 5 volts?
>>>>>>
>>>>>> John Fields
>>>>>>
>>>>>>
>>>>>
>>>>> Setting V_initial at -5 doesnt seem to do anything.
>>>>>
>>>>
>>>> It does in all my schematics where I needed that. Can you post yours
>>>> here as an ASCII list?
>>>>
>>>> --
>>>> Regards, Joerg
>>>>
>>>> http://www.analogconsultants.com/
>>>>
>>>
>>> I found the problem! The voltage source was feeding a voltage
>>>   doubler and I had only put the ground on the other side of the
>>>   rectifiers. I forgot to add another ground symbol at the voltage
>>>   source. It worked but it didn't know where ground
>>>   was...
>>>
>>> --
>>>
>>>
>>> ----Android NewsGroup Reader----
>>> http://usenet.sinaapp.com/
>>>
>>
>> Only problem is, now it doesn't double correctly as the diodes are
>>   connected to ground and not AC. Hmmm...
>>
> 
> Not sure what you are trying to do but if you need a part of a circuit 
> to float where SPICE does not like it you can connect it via 100MEG or 
> some other high value that doesn't matter much. Just not too high so the 
> solver doesn't hit a ceiling.
> 
> -- 
> Regards, Joerg
> 
> http://www.analogconsultants.com/
> 

Ok will try
-- 


----Android NewsGroup Reader----
http://usenet.sinaapp.com/

[toc] | [prev] | [next] | [standalone]


#394416

FromJohn Larkin <jjlarkin@highlandtechnology.com>
Date2016-01-18 13:02 -0800
Message-ID<9lkq9bd3rnc4taor6belsijtr9ma8j13a8@4ax.com>
In reply to#394405
On Mon, 18 Jan 2016 14:11:29 -0600, John Fields
<jfields@austininstruments.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.
>
>---
>There is, but why would you want to when you could use a pulse source
>with a V initial of -5 volts and a Von 0f 5 volts?
>
>John Fields

Pulse sources are a minor nuisance to program, if what you care about
is frequency.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

jlarkin att highlandtechnology dott com
http://www.highlandtechnology.com

[toc] | [prev] | [next] | [standalone]


#394858

FromJohn Fields <jfields@austininstruments.com>
Date2016-01-21 10:39 -0600
Message-ID<3222ab5kqqhfpu5dnetq33pmvda6ab3gre@4ax.com>
In reply to#394416
On Mon, 18 Jan 2016 13:02:42 -0800, John Larkin
<jjlarkin@highlandtechnology.com> wrote:

>On Mon, 18 Jan 2016 14:11:29 -0600, John Fields
><jfields@austininstruments.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.
>>
>>---
>>There is, but why would you want to when you could use a pulse source
>>with a V initial of -5 volts and a Von 0f 5 volts?
>>
>>John Fields
>
>Pulse sources are a minor nuisance to program, if what you care about
>is frequency.

---
Since the OP didn't specify a bandwidth, that minor nuisance fades
into insignificance. 

John Fields.

[toc] | [prev] | [next] | [standalone]


#394448

Fromlegg <legg@nospam.magma.ca>
Date2016-01-18 19:19 -0500
Message-ID<7qvq9bhfqleqlrp2hvbid657obhumn9tta@4ax.com>
In reply to#394383
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.

add component  - voltage

right click - advanced

functions - pulse

describe one full cycle and leave Ncycles blank.


All repetative AC waveforms in simulation will have an effective DC
offset that is determined by the polarity of the first 180 degrees.
The longer the simulation, the less this has influence.
Settling time can be halved, strangely, by starting a waveform at
~90degrees, despite the non-intuitive start at a non-zero value.

RL

[toc] | [prev] | [standalone]


Page 3 of 3 — ← Prev page 1 2 [3]

Back to top | Article view | sci.electronics.design


csiph-web