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


Groups > sci.electronics.design > #567908

Re: Colpitts kick-start in LT Spice

From Steve Wilson <no@spam.com>
Newsgroups sci.electronics.design
Subject Re: Colpitts kick-start in LT Spice
Date 2019-11-13 12:52 +0000
Organization A noiseless patient Spider
Message-ID <XnsAB06500726591idtokenpost@144.76.35.198> (permalink)
References (3 earlier) <xpFyF.61612$QZ6.42823@fx37.iad> <f1hmse982kcgglfnec5kkmv2va76emmk9m@4ax.com> <XnsAB05CDCDD9C00idtokenpost@144.76.35.198> <g1nmsedp9pqm94h093s6gdmlrcmq87cssp@4ax.com> <XnsAB05DAB3AD816idtokenpost@144.76.35.198>

Show all headers | View raw


Steve Wilson <no@spam.com> wrote:

> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
 
>> On Wed, 13 Nov 2019 01:13:53 -0000 (UTC), Steve Wilson <no@spam.com>
>> wrote: 
 
>>>John Larkin <jlarkin@highland_atwork_technology.com> wrote:

>>>> High-Q oscillators, especially crystal oscillators, can take
>>>> thousands or millions of cycles to settle. And need a small time step
>>>> to model accurately. That can make a run take hours. 
 
>>>> I like to force initial conditions close to what the steady-state
>>>> values will be. It starts instantly. Then I can zoom up on what it's
>>>> doing and see if the amplitude is increasing or decreasing. 

>>>I take that to mean letting it run for many cycles then looking at the 
>>>envelope to see if it is constant. Then adjust the initial conditions
>>>as appropriate. 
  
>> Each setting of initial conditions can be run for just a few cycles to
>> see if the amplitude is increasing or decreasing. Zoom the heck up on
>> the peaks. Then tweak the conditions and try again. It converges fast. 
 
> That's trial and error and guesswork. You can spend a lot of time trying
> to get close.
  
>> Got to be careful about bias, which can involve long time constants.
 
> LTspice settles the bias conditions for you.
 
>>>You don't have to do that. There's a better way.

>>>I show how to do this in oscillators.zip 

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

>>>You start the oscillator and let it run for an appropriate length of
>>>time, 
  
>> That's the problem. The appropriate screen time may be hours. Maybe
>> days with a good time step. 
  
> I have never seen more than a few minutes. Your time step is way too
> small. 

Vig, April 2012, Page 81, shows the maximum Q of a crystal:

  The maximum Q of a resonator can be expressed as:

  Qmax = 1/(2*pi*F*t)

  For 10 MHz,
  Qmax = 1/(2*pi*1e7*1e-14) = 1,591,549
  
  where F  is the frequency in Hz, and t is an  empirically determined
  "motional time constant" in seconds, which varies with the angles of
  cut and the mode of vibration. For example, t = 1 x 10 -14 s for the
  AT-cut's c-mode (Qmax= 3.2 million at 5 MHz), t = 9.9 x 10 -15 s for
  the SC-cut's c-mode, and t = 4.9 x 10 -15 s for the BT-cut's b-mode.

  https://www.vcamerica.com/pub/media/documents/vig3.pdf

The ASC file below shows a 10MHz crystal oscillator.

The Q of the crystal is Q = XL/R = 2 * pi * 1e7 * 25e-3 / 1 = 1,570,796, 
which is close to the maximum of 1,591,549.

The total elapsed time is 161.732 seconds, or about 2.68 minutes. 

If you are getting a run time of hours or days, you are doing something 
wrong.

Here is the crystal oscillator:

Version 4
SHEET 1 880 680
WIRE 208 48 16 48
WIRE 304 48 208 48
WIRE 336 48 304 48
WIRE -480 64 -496 64
WIRE -352 64 -400 64
WIRE 336 64 336 48
WIRE 16 80 16 48
WIRE -496 128 -496 64
WIRE -432 128 -496 128
WIRE -352 128 -352 64
WIRE -352 128 -368 128
WIRE -160 128 -352 128
WIRE -144 128 -160 128
WIRE 208 160 208 48
WIRE 336 160 336 144
WIRE -544 208 -592 208
WIRE -496 208 -496 128
WIRE -496 208 -544 208
WIRE -480 208 -496 208
WIRE -368 208 -400 208
WIRE -256 208 -288 208
WIRE -240 208 -256 208
WIRE -144 208 -144 128
WIRE -144 208 -176 208
WIRE -128 208 -144 208
WIRE -48 208 -64 208
WIRE 16 208 16 160
WIRE 16 208 -48 208
WIRE 96 208 16 208
WIRE 144 208 96 208
WIRE -592 240 -592 208
WIRE 16 240 16 208
WIRE -496 256 -496 208
WIRE -48 256 -48 208
WIRE 16 320 16 304
WIRE 112 320 16 320
WIRE 208 320 208 256
WIRE 208 320 112 320
WIRE -592 336 -592 320
WIRE -496 336 -496 320
WIRE 16 336 16 320
WIRE 208 336 208 320
WIRE -48 352 -48 336
WIRE 16 416 16 400
WIRE 208 432 208 416
FLAG 16 416 0
FLAG 96 208 Q1B
FLAG 112 320 Q1E
FLAG -160 128 R7C7
FLAG 304 48 Vcc
FLAG -592 336 0
FLAG -496 336 0
FLAG 208 432 0
FLAG 336 160 0
FLAG -544 208 Vout
FLAG -256 208 L1C1
FLAG -48 352 0
SYMBOL npn 144 160 R0
WINDOW 3 57 69 Left 2
SYMATTR Value 2N3904
SYMATTR InstName Q1
SYMBOL res 0 64 R0
SYMATTR InstName R2
SYMATTR Value 10k
SYMBOL res 192 320 R0
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL voltage 336 48 R0
WINDOW 123 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value 5
SYMATTR SpiceLine Rser=0.1
SYMBOL cap 0 336 R0
SYMATTR InstName C2
SYMATTR Value 390p
SYMBOL cap 0 240 R0
WINDOW 3 25 49 Left 2
SYMATTR Value 100p
SYMATTR InstName C4
SYMBOL cap -512 256 R0
SYMATTR InstName C5
SYMATTR Value 33p
SYMBOL res -608 224 R0
SYMATTR InstName R5
SYMATTR Value 100k
SYMBOL cap -64 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C7
SYMATTR Value 1n
SYMBOL res -384 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 1E7
SYMBOL cap -176 192 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 0.01p
SYMBOL ind -384 224 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 25m
SYMATTR SpiceLine Rser=0
SYMBOL res -384 192 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R8
SYMATTR Value 1
SYMBOL cap -368 112 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C8
SYMATTR Value 5p
SYMBOL res -32 240 M0
SYMATTR InstName R1
SYMATTR Value 10k
TEXT -264 -56 Left 2 !.tran 0 50m 0 10n
TEXT -264 -88 Left 2 ;'10MHz  Xtal Osc

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


Thread

Colpitts kick-start in LT Spice jlarkin@highlandsniptechnology.com - 2019-11-11 07:16 -0800
  Re: Colpitts kick-start in LT Spice Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-11-11 18:57 +0200
  Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-11 19:30 +0000
    Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-11 20:15 +0000
    Re: Colpitts kick-start in LT Spice Steve Wilson <9fe142ac@gmail.com> - 2019-11-11 17:17 -0800
    Re: Colpitts kick-start in LT Spice Jeroen Belleman <jeroen@nospam.please> - 2019-11-12 12:51 +0100
      Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 16:00 +0000
      Re: Colpitts kick-start in LT Spice Clifford Heath <no.spam@please.net> - 2019-11-13 08:23 +1100
        Re: Colpitts kick-start in LT Spice John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-12 15:50 -0800
          Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-13 01:13 +0000
            Re: Colpitts kick-start in LT Spice John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-12 17:39 -0800
              Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-13 02:29 +0000
                Re: Colpitts kick-start in LT Spice Joseph Gwinn <joegwinn@comcast.net> - 2019-11-15 15:27 -0500
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-13 12:52 +0000
                Re: Colpitts kick-start in LT Spice klaus.kragelund@gmail.com - 2019-11-13 08:34 -0800
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-13 16:55 +0000
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-13 21:13 +0000
          Re: Colpitts kick-start in LT Spice Clifford Heath <no.spam@please.net> - 2019-11-14 08:43 +1100
  Colpitts kick-start in LT Spice Klaus Kragelund <klauskvik@hotmail.com> - 2019-11-11 12:19 -0800
    Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-11 23:26 +0000
    Re: Colpitts kick-start in LT Spice John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-11 17:15 -0800
      Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 01:36 +0000
        Re: Colpitts kick-start in LT Spice jlarkin@highlandsniptechnology.com - 2019-11-11 19:28 -0800
          Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 03:54 +0000
            Re: Colpitts kick-start in LT Spice jlarkin@highlandsniptechnology.com - 2019-11-11 20:57 -0800
              Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 09:46 +0000
                Re: Colpitts kick-start in LT Spice jlarkin@highlandsniptechnology.com - 2019-11-12 07:10 -0800
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 16:12 +0000
          Re: Colpitts kick-start in LT Spice John S <Sophi.2@invalid.org> - 2019-11-12 07:43 -0600
            Re: Colpitts kick-start in LT Spice jlarkin@highlandsniptechnology.com - 2019-11-12 07:11 -0800
              Re: Colpitts kick-start in LT Spice John S <Sophi.2@invalid.org> - 2019-11-12 09:29 -0600
                Re: Colpitts kick-start in LT Spice jlarkin@highlandsniptechnology.com - 2019-11-12 08:48 -0800
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 17:27 +0000
                Re: Colpitts kick-start in LT Spice John S <Sophi.2@invalid.org> - 2019-11-12 14:04 -0600
                Re: Colpitts kick-start in LT Spice John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-12 12:58 -0800
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 22:38 +0000
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 22:45 +0000
                Re: Colpitts kick-start in LT Spice John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-12 15:57 -0800
                Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-13 02:05 +0000
                Re: Colpitts kick-start in LT Spice John S <Sophi.2@invalid.org> - 2019-11-14 15:46 -0600
                Re: Colpitts kick-start in LT Spice John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-14 15:28 -0800
                Re: Colpitts kick-start in LT Spice John S <Sophi.2@invalid.org> - 2019-11-16 09:31 -0600
              Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 16:15 +0000
      Re: Colpitts kick-start in LT Spice whit3rd <whit3rd@gmail.com> - 2019-11-12 11:09 -0800
        Re: Colpitts kick-start in LT Spice Steve Wilson <no@spam.com> - 2019-11-12 19:26 +0000

csiph-web