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


Groups > sci.electronics.design > #534478

Re: SPICE tarnsient analysis of oscillators - sampling time

Newsgroups sci.electronics.design
Subject Re: SPICE tarnsient analysis of oscillators - sampling time
From Steve Wilson <no@spam.com>
References (5 earlier) <nu7u7etriqsc78ppv47im5kfb6dj4cdaff@4ax.com> <XnsAA09D967F22DCidtokenpost@69.16.179.22> <anqu7e5bsfh7dp7is3orl2df04bj0r0cph@4ax.com> <XnsAA0A2EB3625A6idtokenpost@69.16.179.22> <d5pv7els26llvphm9h23bt9vla0nn0tjal@4ax.com>
Message-ID <XnsAA0A972A26F0Fidtokenpost@69.16.179.22> (permalink)
Organization http://www.NewsDemon.com
Date 2019-03-06 19:51 +0000

Show all headers | View raw


John Larkin <jjlarkin@highlandtechnology.com> wrote:

> After 10 cycles, I see about 500 PPM in my LC. Not so different. It
> means that you might not want to design crystal oscillators in time
> domain.

You need time domain to adjust the crystal drive. Too little and the 
oscillator may not start. Too much and you may fracture the crystal.

You cannot get this information any other way.

Crystal oscillators have a long startup time due to the high Q. You cannot 
make meaningful measurements after hundreds of milliseconds of cycles. I 
show how to bypass the long startup in my oscillator.zip article which you 
ignored

https://drive.google.com/open?id=1ZsbpkV0aaKS5LURIb1dfu_ndshsSaYtf

>>Always specify the maximum time step.
 
> The thing I remember about my previous much-maligned dual sine wave
> experiment is that setting a small dt fixed the frequency error. So it
> wasn't a simple ESR problem. I'll try to find that one.

Your problem was ESR. You took the difference between the LC and the sine 
signals but you didn't know the default ESR for an inductor is 1 milliohm. 
So the LC signal decayed. Your measurement cannot tell the difference 
between phase and amplitude changes and you came to the wrong conclusion. 
 
> LT Spice is mathematically chaotic, especially when it uses its
> default time step algorithm. There are probably cases that are
> especialy bad, and maybe I get lucky finding them. I am usually lucky.

LTspice repeats exactly given the same data. There is nothing chaotic about 
it.

Always specify the maximum time step.
 
> I'm not doing anything wrong. I design electronics and most of it
> works first time, and we sell it.

That has nothing to do with the topic.
 
> You just have to be careful when you drive things. And not believe
> everything just because a computer was involved.
 
Nonsense. You use the computer for everything. When was the last time you 
picked up a slide rule. You just have to be careful about the data you 
enter.

LTspice is as accurate as the models you give it. 

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


Thread

SPICE tarnsient analysis of oscillators - sampling time dakupoto@gmail.com - 2019-03-05 02:54 -0800
  Re: SPICE tarnsient analysis of oscillators - sampling time Martin Brown <'''newspam'''@nezumi.demon.co.uk> - 2019-03-05 11:08 +0000
  Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-05 08:51 -0800
    Re: SPICE tarnsient analysis of oscillators - sampling time Winfield Hill <hill@rowland.harvard.edu> - 2019-03-05 12:30 -0800
    Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-05 22:45 +0000
      Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-05 15:11 -0800
        Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-06 00:34 +0000
          Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-05 17:19 -0800
            Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-06 02:22 +0000
              Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-05 22:47 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-06 09:35 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-06 07:27 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-06 19:51 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-06 12:50 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-06 22:56 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-06 20:25 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-03-07 18:56 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-07 12:05 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-03-08 16:12 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-08 08:37 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-03-08 19:25 +0000
          Re: SPICE tarnsient analysis of oscillators - sampling time "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-03-07 18:55 +0000
        Re: SPICE tarnsient analysis of oscillators - sampling time "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-03-08 16:13 +0000
          Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-08 08:40 -0800
            Re: SPICE tarnsient analysis of oscillators - sampling time "Kevin Aylward" <kevinRemovAT@kevinaylward.co.uk> - 2019-03-08 19:25 +0000
              Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-08 11:48 -0800
                Re: SPICE tarnsient analysis of oscillators - sampling time Jasen Betts <jasen@xnet.co.nz> - 2019-03-09 02:41 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-10 14:33 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-10 14:40 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time Jasen Betts <jasen@xnet.co.nz> - 2019-03-11 07:06 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-11 07:02 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time Jasen Betts <jasen@xnet.co.nz> - 2019-03-12 06:44 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-12 06:47 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time Jasen Betts <jasen@xnet.co.nz> - 2019-03-12 21:34 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highland_snip_technology.com> - 2019-03-12 15:51 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time Jasen Betts <jasen@xnet.co.nz> - 2019-03-13 10:05 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-13 07:22 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time Jasen Betts <jasen@xnet.co.nz> - 2019-03-14 05:09 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time John Larkin <jjlarkin@highlandtechnology.com> - 2019-03-14 08:13 -0700
                Re: SPICE tarnsient analysis of oscillators - sampling time Allan Herriman <allanherriman@hotmail.com> - 2019-03-14 05:04 -0500
                RE: Re: SPICE tarnsient analysis of oscillators - sampling time A_george <jcustom@heliost.org> - 2019-03-16 13:13 +0000
                Re: SPICE tarnsient analysis of oscillators - sampling time Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-03-16 09:32 -0400
                Re: SPICE tarnsient analysis of oscillators - sampling time Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2019-03-16 09:30 -0400
      Re: SPICE tarnsient analysis of oscillators - sampling time Steve Wilson <no@spam.com> - 2019-03-05 23:14 +0000
  Re: SPICE tarnsient analysis of oscillators - sampling time bloggs.fredbloggs.fred@gmail.com - 2019-03-05 09:56 -0800

csiph-web