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


Groups > sci.electronics.design > #384193

Re: SPICE simulation -- how to bias a crystal oscillatoir

Path csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de>
Newsgroups sci.electronics.design
Subject Re: SPICE simulation -- how to bias a crystal oscillatoir
Date Sun, 8 Nov 2015 15:48:45 +0100
Lines 41
Message-ID <da95meF3fg7U1@mid.individual.net> (permalink)
References <4e44bcb3-a1e9-48dc-a358-cfb7dd171f42@googlegroups.com> <vu2s3btj6plhblb1o9luc3k3uikbn2fag9@4ax.com> <826s3b9bgoov8pc40eascnacfilibcic8t@4ax.com> <PL6dnR1noZb0hqPLnZ2dnUU7-WednZ2d@supernews.com> <2s7s3bpvvufcso8u37c0p4esttr4jrv5cn@4ax.com> <FdGdnbU2L7WktqPLnZ2dnUU7-KGdnZ2d@supernews.com> <liis3b9d3sa9slttcs3smkbn20m5n62b0o@4ax.com> <v82dnZHuy-PQyaPLnZ2dnUU7-b346u6z@supernews.com> <n1ms3b5gt4nq1ji3su3o2iq8hm2pq9tc7f@4ax.com> <c40b98f5-6378-4726-815a-d327c6fe7f2d@googlegroups.com>
Reply-To ghf@hoffmann-hochfrequenz.de
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace individual.net zFDaHRJOiq3cgz8NDn9TIAFhxWr+YKG1ftmmfQhhr50Z7IkcyI
Cancel-Lock sha1:u2bHPutWJOGKZ7i1Yu3fbN0DsYc=
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <c40b98f5-6378-4726-815a-d327c6fe7f2d@googlegroups.com>
Xref csiph.com sci.electronics.design:384193

Show key headers only | View raw


Am 07.11.2015 um 23:48 schrieb Phil Hobbs:
>
>> The dilemma is where to set the minimum time step. At 8 MHz, if you
>> want 1 PPM frequency accuracy, the time step might be 100 fs, and it
>> would run forever, and you might be pushing double-float accuracy
>> limits. And there's no way (that I know of) to measure the frequency
>> accurately from a time-domain sim.
>
> Numerical discretizing schemes generally don't preserve exact eigenfrequencies
> anyway. For instance, in FDTD electromagnetic simulations, you have to dork
 > the value of c to improve accuracy--the numerical c can differ from 
the real
 > one by as much as a percent or so.
>
> In an adaptive solver like SPICE, I'd expect the eigenfrequencies to depend
 > on all sorts of internal variables such as time step, solver 
algorithm, and
 > a bunch of control panel parameters.

Xtal oscillators are easier analyzed in the ac domain and not with
integration over time. Cut the loop open and calculate the loop gain.
It will oscillate where the phase of the loop gain crosses 0.
You will also see if it will compress ( amplitude of loop gain @ phase 0
 >> 1) or not oscillate at all (amplitude there < 1.0)
Source and load impedance at the cut point may be very different, and
also different from 50 Ohms if you use s-params, so Randall-Hock
correction may be needed to make up for the missing self-termination.

BTW you get weird results with LTspice for steps < 5 Hz or so in a
100 MHz xtal osc. The resolution of f seems to hit the limit.


regards, Gerhard


< 
http://www.keysight.com/upload/cmc_upload/All/OscillatorDesignWebinar_AgilentEEsof_MWJ_16_Sep_2010.pdf 
 >

The book they mention is good.

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


Thread

SPICE simulation -- how to bias a crystal oscillatoir dakupoto@gmail.com - 2015-11-06 19:31 -0800
  Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 07:38 -0700
    Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 08:34 -0700
      Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-07 10:40 -0500
        Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 08:59 -0700
          Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-07 11:47 -0500
            Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-07 12:28 -0500
              Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 11:38 -0700
                Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-07 11:21 -0800
            Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-07 12:30 -0500
            Re: SPICE simulation -- how to bias a crystal oscillatoir John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-07 11:09 -0800
              Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhSpamMeSenseless@electrooptical.net> - 2015-11-07 14:43 -0500
                Re: SPICE simulation -- how to bias a crystal oscillatoir John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-07 12:16 -0800
                Re: SPICE simulation -- how to bias a crystal oscillatoir Phil Hobbs <pcdhobbs@gmail.com> - 2015-11-07 14:48 -0800
                Re: SPICE simulation -- how to bias a crystal oscillatoir John Larkin <jjlarkin@highlandtechnology.com> - 2015-11-07 16:15 -0800
                Re: SPICE simulation -- how to bias a crystal oscillatoir Gerhard Hoffmann <ghf@hoffmann-hochfrequenz.de> - 2015-11-08 15:48 +0100
                Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-08 09:21 -0700
  Re: SPICE simulation -- how to bias a crystal oscillatoir upsidedown@downunder.com - 2015-11-07 17:09 +0200
    Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 08:36 -0700
    Re: SPICE simulation -- how to bias a crystal oscillatoir DecadentLinuxUserNumeroUno <DLU1@DecadentLinuxUser.org> - 2015-11-07 18:42 +0000
  Re: SPICE simulation -- how to bias a crystal oscillatoir Tim Wescott <tim@seemywebsite.com> - 2015-11-07 12:17 -0600
    Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 11:20 -0700
      Re: SPICE simulation -- how to bias a crystal oscillatoir Tim Wescott <tim@seemywebsite.com> - 2015-11-07 13:08 -0600
        Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 12:31 -0700
      Re: SPICE simulation -- how to bias a crystal oscillatoir dakupoto@gmail.com - 2015-11-07 22:09 -0800
        Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-08 09:33 -0700
  Re: SPICE simulation -- how to bias a crystal oscillatoir Jim Thompson <To-Email-Use-The-Envelope-Icon@On-My-Web-Site.com> - 2015-11-07 15:36 -0700

csiph-web