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


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

Colpitts kick-start in LT Spice

Started byjlarkin@highlandsniptechnology.com
First post2019-11-11 07:16 -0800
Last post2019-11-12 19:26 +0000
Articles 20 on this page of 45 — 12 participants

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


Contents

  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

Page 1 of 3  [1] 2 3  Next page →


#566233 — Colpitts kick-start in LT Spice

Fromjlarkin@highlandsniptechnology.com
Date2019-11-11 07:16 -0800
SubjectColpitts kick-start in LT Spice
Message-ID<9kuisehu2pc3dkfur33tv8ldultt19c95k@4ax.com>

The 100-second interval, before the kick-start, does all sorts if fun
stuff, but doesn't seem to want to oscillate. It's super sensitive to
time step and Spice params.

https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0

https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0

https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0

https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=0



Version 4
SHEET 1 1348 680
WIRE 896 -144 672 -144
WIRE 672 -80 672 -144
WIRE 896 -32 896 -144
WIRE 240 0 112 0
WIRE 304 0 240 0
WIRE 464 0 304 0
WIRE 624 0 464 0
WIRE 464 80 464 0
WIRE 112 96 112 0
WIRE 304 112 304 0
WIRE 896 128 896 48
WIRE 896 128 816 128
WIRE 816 160 816 128
WIRE 464 192 464 144
WIRE 576 192 464 192
WIRE 672 192 672 16
WIRE 672 192 576 192
WIRE 464 240 464 192
WIRE 672 256 672 192
WIRE 896 256 896 128
WIRE 112 400 112 176
WIRE 304 400 304 192
WIRE 304 400 112 400
WIRE 464 400 464 304
WIRE 464 400 304 400
WIRE 672 400 672 336
WIRE 896 400 896 336
WIRE 896 400 672 400
WIRE 464 432 464 400
FLAG 240 0 OSC
FLAG 464 432 0
FLAG 816 160 0
FLAG 576 192 SRC
SYMBOL ind 288 96 R0
WINDOW 0 54 39 Left 2
WINDOW 3 60 70 Left 2
SYMATTR InstName L1
SYMATTR Value 1
SYMBOL cap 448 80 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL current 112 176 R180
WINDOW 0 63 41 Left 2
WINDOW 3 48 -4 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value PULSE(0 10 100 1m 1m 50m)
SYMBOL cap 448 240 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C2
SYMATTR Value 5
SYMBOL nmos 624 -80 R0
WINDOW 0 90 24 Left 2
WINDOW 3 70 58 Left 2
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMBOL res 656 240 R0
WINDOW 0 61 43 Left 2
WINDOW 3 60 78 Left 2
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 896 -48 R0
WINDOW 0 49 45 Left 2
WINDOW 3 48 80 Left 2
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL voltage 896 240 R0
WINDOW 0 53 37 Left 2
WINDOW 3 57 72 Left 2
SYMATTR InstName V2
SYMATTR Value 20
TEXT -192 376 Left 2 !.tran 0 1000 0 200u
TEXT -192 272 Left 2 ;Colpitts Kick-Start
TEXT -168 312 Left 2 ;JL  Nov 9  2019



-- 

John Larkin         Highland Technology, Inc

lunatic fringe electronics 

[toc] | [next] | [standalone]


#566242

FromTauno Voipio <tauno.voipio@notused.fi.invalid>
Date2019-11-11 18:57 +0200
Message-ID<qqc3uk$pd4$1@dont-email.me>
In reply to#566233
On 11.11.19 17:16, jlarkin@highlandsniptechnology.com wrote:
> 
> 
> The 100-second interval, before the kick-start, does all sorts if fun
> stuff, but doesn't seem to want to oscillate. It's super sensitive to
> time step and Spice params.
> 
> https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0
> 
> https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0
> 
> https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0
> 
> https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=0
> 
--- original clipped ---
> 
> 

Here is a simplified version with some scaling:

Version 4
SHEET 1 1348 680
WIRE 896 -144 672 -144
WIRE 672 -80 672 -144
WIRE 896 -32 896 -144
WIRE 304 0 240 0
WIRE 464 0 304 0
WIRE 624 0 464 0
WIRE 464 80 464 0
WIRE 304 112 304 0
WIRE 896 128 896 48
WIRE 896 128 816 128
WIRE 816 160 816 128
WIRE 464 192 464 144
WIRE 576 192 464 192
WIRE 672 192 672 16
WIRE 672 192 576 192
WIRE 464 240 464 192
WIRE 672 256 672 192
WIRE 896 256 896 128
WIRE 304 400 304 192
WIRE 464 400 464 304
WIRE 464 400 304 400
WIRE 672 400 672 336
WIRE 896 400 896 336
WIRE 896 400 672 400
WIRE 464 432 464 400
FLAG 240 0 OSC
FLAG 464 432 0
FLAG 816 160 0
FLAG 576 192 SRC
SYMBOL ind 288 96 R0
WINDOW 0 54 39 Left 2
WINDOW 3 60 70 Left 2
SYMATTR InstName L1
SYMATTR Value 1µ
SYMBOL cap 448 80 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C1
SYMATTR Value 1µ
SYMBOL cap 448 240 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C2
SYMATTR Value 2µ
SYMBOL nmos 624 -80 R0
WINDOW 0 90 24 Left 2
WINDOW 3 70 58 Left 2
SYMATTR InstName M1
SYMATTR Value 2N7002
SYMBOL res 656 240 R0
WINDOW 0 61 43 Left 2
WINDOW 3 60 78 Left 2
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 896 -48 R0
WINDOW 0 49 45 Left 2
WINDOW 3 48 80 Left 2
SYMATTR InstName V1
SYMATTR Value 10
SYMBOL voltage 896 240 R0
WINDOW 0 53 37 Left 2
WINDOW 3 57 72 Left 2
SYMATTR InstName V2
SYMATTR Value 10
TEXT 104 312 Left 2 !.tran 20m
TEXT -192 272 Left 2 ;Colpitts Kick-Start
TEXT -168 312 Left 2 ;JL  Nov 9  2019\nTV Nov 11 2019
TEXT 104 280 Left 2 !.ic V(SRC)=0

----

-TV

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


#566251

FromSteve Wilson <no@spam.com>
Date2019-11-11 19:30 +0000
Message-ID<XnsAB0493A9D90C1idtokenpost@144.76.35.198>
In reply to#566233
jlarkin@highlandsniptechnology.com wrote:


> The 100-second interval, before the kick-start, does all sorts if fun
> stuff, but doesn't seem to want to oscillate. It's super sensitive to
> time step and Spice params.
 
> https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0
 
> https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0
 
> https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0
 
> https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=0

Thanks very much for looking it up.

I am running LTspice IV Version 4.23, modified trap.

I get completely different results. Not even similar. I suspect there is a 
problem with the 2N7002 models. In both cases, the 2N7002 is carrying 
plenty of current and should be able to self-start. It should not need a 
start pulse.

I switched to the 2N7000, using the OrCAD model in the PWRMOS.LIB file in 
the swcadiii\lib\cmp folder. This is for PSPICE and their work is generally 
reliable.

The 2N7000 version self-starts. Here is the ASC file. Watch the wrap at the 
model statement.

Version 4
SHEET 1 1904 680
WIRE 976 -144 816 -144
WIRE 816 -80 816 -144
WIRE 976 -32 976 -144
WIRE 368 0 320 0
WIRE 640 0 480 0
WIRE 688 0 640 0
WIRE 768 0 688 0
WIRE 368 80 368 0
WIRE 640 80 640 0
WIRE 320 96 320 0
WIRE 480 112 480 0
WIRE 976 128 976 48
WIRE 976 128 896 128
WIRE 896 160 896 128
WIRE 640 192 640 144
WIRE 688 192 640 192
WIRE 816 192 816 16
WIRE 816 192 688 192
WIRE 640 240 640 192
WIRE 816 256 816 192
WIRE 976 256 976 128
WIRE 320 400 320 176
WIRE 480 400 480 192
WIRE 480 400 320 400
WIRE 640 400 640 304
WIRE 640 400 480 400
WIRE 816 400 816 336
WIRE 976 400 976 336
WIRE 976 400 816 400
WIRE 640 432 640 400
FLAG 688 0 OSC
FLAG 640 432 0
FLAG 896 160 0
FLAG 688 192 SRC
FLAG 368 80 0
SYMBOL ind 464 96 R0
WINDOW 0 54 39 Left 2
WINDOW 3 60 70 Left 2
SYMATTR InstName L1
SYMATTR Value 1
SYMATTR SpiceLine Rser=1m
SYMBOL cap 624 80 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL current 320 176 R180
WINDOW 0 63 41 Left 2
WINDOW 3 -214 220 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value PULSE(0 1 100 1m 1m 50m)
SYMBOL cap 624 240 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C2
SYMATTR Value 5
SYMBOL nmos 768 -80 R0
WINDOW 0 90 24 Left 2
WINDOW 3 70 58 Left 2
SYMATTR InstName M1
SYMATTR Value 2N7000
SYMBOL res 800 240 R0
WINDOW 0 61 43 Left 2
WINDOW 3 60 78 Left 2
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 976 -48 R0
WINDOW 0 49 45 Left 2
WINDOW 3 48 80 Left 2
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL voltage 976 240 R0
WINDOW 0 53 37 Left 2
WINDOW 3 57 72 Left 2
SYMATTR InstName V2
SYMATTR Value 20
TEXT 456 -136 Left 2 !.tran 0 2000 0 1m
TEXT 456 -168 Left 2 ;'2N7000 Colpitts Self-Start
TEXT 328 464 Left 2 !* PWRMOS.LIB \n* NOT SPICE 2G.6 Compatible.  FOR USE 
WITH MICROSIM PSPICE\n.model 2n7000  NMOS(Level=3 Gamma=0 Delta=0 Eta=0 
Theta=0 Kappa=0.2 Vmax=0 Xj=0\n+               Tox=2u Uo=600 Phi=.6 Kp=
1.073u W=.12 L=2u Rs=20m Vto=1.73\n+               Rd=.5489 Rds=48MEG Cgso=
73.61p Cgdo=6.487p Cbd=74.46p Mj=.5\n+               Pb=.8 Fc=.5 Rg=546.2 
Is=10f N=1 Rb=1m)

Here is the PLT file:

[Transient Analysis]
{
   Npanes: 3
   {
      traces: 1 {524292,0,"V(src)"}
      X: ('K',1,0,200,2000)
      Y[0]: (' ',6,-2.765508,6e-006,-2.765442)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Volts: (' ',0,0,6,-2.765508,6e-006,-2.765442)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {524291,0,"V(osc)"}
      X: ('K',1,0,200,2000)
      Y[0]: ('u',0,-1.8e-005,3e-006,1.8e-005)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Volts: ('u',0,0,0,-1.8e-005,3e-006,1.8e-005)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {34603010,0,"Is(M1)"}
      X: ('K',1,0,200,2000)
      Y[0]: ('m',4,-0.0344702,2e-007,-0.034468)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Amps: ('m',0,0,5,-0.0344702,2e-007,-0.034468)
      Log: 0 0 0
      GridStyle: 1
   }
}

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


#566255

FromSteve Wilson <no@spam.com>
Date2019-11-11 20:15 +0000
Message-ID<XnsAB049B2B13E51idtokenpost@144.76.35.198>
In reply to#566251
Steve Wilson <no@spam.com> wrote:

> jlarkin@highlandsniptechnology.com wrote:

>> The 100-second interval, before the kick-start, does all sorts if fun
>> stuff, but doesn't seem to want to oscillate. It's super sensitive to
>> time step and Spice params. 
  
>> https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0
  
>> https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0
  
>> https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0
  
>> https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=0
 
> Thanks very much for looking it up.
 
> I am running LTspice IV Version 4.23, modified trap.
 
> I get completely different results. Not even similar. I suspect there is
> a problem with the 2N7002 models. In both cases, the 2N7002 is carrying 
> plenty of current and should be able to self-start. It should not need a
> start pulse.
 
> I switched to the 2N7000, using the OrCAD model in the PWRMOS.LIB file
> in the swcadiii\lib\cmp folder. This is for PSPICE and their work is
> generally reliable.
 
> The 2N7000 version self-starts. Here is the ASC file. Watch the wrap at
> the model statement.

It's definitely a model problem.  The 2N7000 is a T0-92 thu-hole. The 
2N7002 is SOT-23 SMD. Electrically they are identical. Just different 
packages.

https://www.mouser.com/datasheet/2/149/2N7002-8405.pdf

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


#566283

FromSteve Wilson <9fe142ac@gmail.com>
Date2019-11-11 17:17 -0800
Message-ID<5e68f835-5a4b-46df-a03f-3e48145989ec@googlegroups.com>
In reply to#566251
On Monday, November 11, 2019 at 2:31:02 PM UTC-5, Steve Wilson wrote:
> jlarkin@highlandsniptechnology.com wrote:
> 
> 
> > The 100-second interval, before the kick-start, does all sorts if fun
> > stuff, but doesn't seem to want to oscillate. It's super sensitive to
> > time step and Spice params.
>  
> > https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0
>  
> > https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0
>  
> > https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0
>  
> > https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=0
> 
> Thanks very much for looking it up.
> 
> I am running LTspice IV Version 4.23, modified trap.
> 
> I get completely different results. Not even similar. I suspect there is a 
> problem with the 2N7002 models. In both cases, the 2N7002 is carrying 
> plenty of current and should be able to self-start. It should not need a 
> start pulse.
> 
> I switched to the 2N7000, using the OrCAD model in the PWRMOS.LIB file in 
> the swcadiii\lib\cmp folder. This is for PSPICE and their work is generally 
> reliable.
> 
> The 2N7000 version self-starts. Here is the ASC file. 

This is an attempt to get around the wrap problem in long lines.

Version 4
SHEET 1 2804 680
WIRE 976 -144 816 -144
WIRE 816 -80 816 -144
WIRE 976 -32 976 -144
WIRE 368 0 320 0
WIRE 640 0 480 0
WIRE 688 0 640 0
WIRE 768 0 688 0
WIRE 368 80 368 0
WIRE 640 80 640 0
WIRE 320 96 320 0
WIRE 480 112 480 0
WIRE 976 128 976 48
WIRE 976 128 896 128
WIRE 896 160 896 128
WIRE 640 192 640 144
WIRE 688 192 640 192
WIRE 816 192 816 16
WIRE 816 192 688 192
WIRE 640 240 640 192
WIRE 816 256 816 192
WIRE 976 256 976 128
WIRE 320 400 320 176
WIRE 480 400 480 192
WIRE 480 400 320 400
WIRE 640 400 640 304
WIRE 640 400 480 400
WIRE 816 400 816 336
WIRE 976 400 976 336
WIRE 976 400 816 400
WIRE 640 432 640 400
FLAG 688 0 OSC
FLAG 640 432 0
FLAG 896 160 0
FLAG 688 192 SRC
FLAG 368 80 0
SYMBOL ind 464 96 R0
WINDOW 0 54 39 Left 2
WINDOW 3 60 70 Left 2
SYMATTR InstName L1
SYMATTR Value 1
SYMATTR SpiceLine Rser=1m
SYMBOL cap 624 80 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL current 320 176 R180
WINDOW 0 63 41 Left 2
WINDOW 3 -214 220 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value PULSE(0 1 100 1m 1m 50m)
SYMBOL cap 624 240 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C2
SYMATTR Value 5
SYMBOL nmos 768 -80 R0
WINDOW 0 90 24 Left 2
WINDOW 3 70 58 Left 2
SYMATTR InstName M1
SYMATTR Value 2N7000
SYMBOL res 800 240 R0
WINDOW 0 61 43 Left 2
WINDOW 3 60 78 Left 2
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 976 -48 R0
WINDOW 0 49 45 Left 2
WINDOW 3 48 80 Left 2
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL voltage 976 240 R0
WINDOW 0 53 37 Left 2
WINDOW 3 57 72 Left 2
SYMATTR InstName V2
SYMATTR Value 20
TEXT 456 -136 Left 2 !.tran 0 2000 0 1m
TEXT 456 -168 Left 2 ;'2N7000 Colpitts Self-Start
TEXT 328 464 Left 2 !* PWRMOS.LIB \n* NOT SPICE 2G.6 Compatible.  FOR USE WITH MICROSIM PSPICE\n.model 2n7000  NMOS(Level=3 Gamma=0 Delta=0 Eta=0 Theta=0 Kappa=0.2 Vmax=0 Xj=0 Phi=.6 Kp=1.073u W=.12 L=2u Rs=20m Vto=1.73 Rd=.5489 Rds=48MEG Cgso=73.61p Cgdo=6.487p Cbd=74.46p Mj=.5 Pb=.8 Fc=.5 Rg=546.2 Is=10f N=1 Rb=1m)

> Here is the PLT file:
> 
> [Transient Analysis]
> {
>    Npanes: 3
>    {
>       traces: 1 {524292,0,"V(src)"}
>       X: ('K',1,0,200,2000)
>       Y[0]: (' ',6,-2.765508,6e-006,-2.765442)
>       Y[1]: ('_',0,1e+308,0,-1e+308)
>       Volts: (' ',0,0,6,-2.765508,6e-006,-2.765442)
>       Log: 0 0 0
>       GridStyle: 1
>    },
>    {
>       traces: 1 {524291,0,"V(osc)"}
>       X: ('K',1,0,200,2000)
>       Y[0]: ('u',0,-1.8e-005,3e-006,1.8e-005)
>       Y[1]: ('_',0,1e+308,0,-1e+308)
>       Volts: ('u',0,0,0,-1.8e-005,3e-006,1.8e-005)
>       Log: 0 0 0
>       GridStyle: 1
>    },
>    {
>       traces: 1 {34603010,0,"Is(M1)"}
>       X: ('K',1,0,200,2000)
>       Y[0]: ('m',4,-0.0344702,2e-007,-0.034468)
>       Y[1]: ('_',0,1e+308,0,-1e+308)
>       Amps: ('m',0,0,5,-0.0344702,2e-007,-0.034468)
>       Log: 0 0 0
>       GridStyle: 1
>    }
> }

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


#566362

FromJeroen Belleman <jeroen@nospam.please>
Date2019-11-12 12:51 +0100
Message-ID<qqe6bn$1b4g$1@gioia.aioe.org>
In reply to#566251
On 2019-11-11 20:30, Steve Wilson wrote:
> jlarkin@highlandsniptechnology.com wrote:
>
>
>> The 100-second interval, before the kick-start, does all sorts if fun
>> stuff, but doesn't seem to want to oscillate. It's super sensitive to
>> time step and Spice params.
>
>> https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0
>
>> https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0
>
>> https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0
>
>> https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=0
>
> Thanks very much for looking it up.
>
> I am running LTspice IV Version 4.23, modified trap.
>
> I get completely different results. Not even similar. I suspect there is a
> problem with the 2N7002 models. In both cases, the 2N7002 is carrying
> plenty of current and should be able to self-start. It should not need a
> start pulse.

A real oscillator will start up just fine, but a simulation may or
may not. Either way, it would be wrong to take this as a model of
reality. You *must* kick-start an oscillator simulation.

Jeroen Belleman

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


#566381

FromSteve Wilson <no@spam.com>
Date2019-11-12 16:00 +0000
Message-ID<XnsAB056FE7F2615idtokenpost@144.76.35.198>
In reply to#566362
Jeroen Belleman <jeroen@nospam.please> wrote:

> On 2019-11-11 20:30, Steve Wilson wrote:
>> jlarkin@highlandsniptechnology.com wrote:
>>
>>
>>> The 100-second interval, before the kick-start, does all sorts if fun
>>> stuff, but doesn't seem to want to oscillate. It's super sensitive to
>>> time step and Spice params. 
>>
>>> https://www.dropbox.com/s/03mhw5qrkg66v88/CPKS_1.jpg?dl=0
>>
>>> https://www.dropbox.com/s/h6nm3g6rro8ioj7/CPKS_2.jpg?dl=0
>>
>>> https://www.dropbox.com/s/wqnh5de42kpqv38/CPKS_3.jpg?dl=0
>>
>>> https://www.dropbox.com/s/xo6elrlhzvu6mh5/Colpitts_Kick_Start_1.asc?dl=
>>> 0 
>>
>> Thanks very much for looking it up.
>>
>> I am running LTspice IV Version 4.23, modified trap.
>>
>> I get completely different results. Not even similar. I suspect there
>> is a problem with the 2N7002 models. In both cases, the 2N7002 is
>> carrying plenty of current and should be able to self-start. It should
>> not need a start pulse. 
> 
> A real oscillator will start up just fine, but a simulation may or
> may not. Either way, it would be wrong to take this as a model of
> reality. You *must* kick-start an oscillator simulation.
 
> Jeroen Belleman
 
False.

Version 4
SHEET 1 2804 680
WIRE 1296 -144 1136 -144
WIRE 1136 -80 1136 -144
WIRE 1296 -32 1296 -144
WIRE 688 0 640 0
WIRE 960 0 800 0
WIRE 1008 0 960 0
WIRE 1088 0 1008 0
WIRE 688 80 688 0
WIRE 960 80 960 0
WIRE 640 96 640 0
WIRE 800 112 800 0
WIRE 1296 128 1296 48
WIRE 1296 128 1216 128
WIRE 1216 160 1216 128
WIRE 960 192 960 144
WIRE 1008 192 960 192
WIRE 1136 192 1136 16
WIRE 1136 192 1008 192
WIRE 960 240 960 192
WIRE 1136 256 1136 192
WIRE 1296 256 1296 128
WIRE 640 400 640 176
WIRE 800 400 800 192
WIRE 800 400 640 400
WIRE 960 400 960 304
WIRE 960 400 800 400
WIRE 1136 400 1136 336
WIRE 1296 400 1296 336
WIRE 1296 400 1136 400
WIRE 960 432 960 400
FLAG 1008 0 OSC
FLAG 960 432 0
FLAG 1216 160 0
FLAG 1008 192 SRC
FLAG 688 80 0
SYMBOL ind 784 96 R0
WINDOW 0 54 39 Left 2
WINDOW 3 60 70 Left 2
SYMATTR InstName L1
SYMATTR Value 1
SYMATTR SpiceLine Rser=1m
SYMBOL cap 944 80 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C1
SYMATTR Value 1
SYMBOL current 640 176 R180
WINDOW 0 63 41 Left 2
WINDOW 3 -214 220 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value PULSE(0 1 100 1m 1m 50m)
SYMBOL cap 944 240 R0
WINDOW 0 51 20 Left 2
WINDOW 3 59 54 Left 2
SYMATTR InstName C2
SYMATTR Value 5
SYMBOL nmos 1088 -80 R0
WINDOW 0 90 24 Left 2
WINDOW 3 70 58 Left 2
SYMATTR InstName M1
SYMATTR Value 2N7000
SYMBOL res 1120 240 R0
WINDOW 0 61 43 Left 2
WINDOW 3 60 78 Left 2
SYMATTR InstName R1
SYMATTR Value 500
SYMBOL voltage 1296 -48 R0
WINDOW 0 49 45 Left 2
WINDOW 3 48 80 Left 2
SYMATTR InstName V1
SYMATTR Value 20
SYMBOL voltage 1296 240 R0
WINDOW 0 53 37 Left 2
WINDOW 3 57 72 Left 2
SYMATTR InstName V2
SYMATTR Value 20
TEXT 776 -136 Left 2 !.tran 0 20 0 1m
TEXT 776 -168 Left 2 ;'2N7000 Colpitts Self-Start
TEXT 328 464 Left 1 !* PWRMOS.LIB \n* NOT SPICE 2G.6 Compatible.  FOR USE
WITH MICROSIM PSPICE\n.model 2n7000  NMOS(Level=3 Gamma=0 Delta=0 Eta=0
Theta=0 Kappa=0.2 Vmax=0 Xj=0 Phi=.6 Kp=1.073u W=.12 L=2u Rs=20m Vto=1.73
Rd=.5489 Rds=48MEG Cgso=73.61p Cgdo=6.487p Cbd=74.46p Mj=.5 Pb=.8 Fc=.5
Rg=546.2 Is=10f N=1 Rb=1m) 

[Transient Analysis]
{
   Npanes: 1
   {
      traces: 1 {524290,0,"V(osc)"}
      X: (' ',0,0,2,20)
      Y[0]: ('p',0,-1e-009,2e-010,1e-009)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Volts: ('p',0,0,1,-1e-009,2e-010,1e-009)
      Log: 0 0 0
      GridStyle: 1
   }
}
 

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


#566437

FromClifford Heath <no.spam@please.net>
Date2019-11-13 08:23 +1100
Message-ID<xpFyF.61612$QZ6.42823@fx37.iad>
In reply to#566362
On 12/11/19 10:51 pm, Jeroen Belleman wrote:
> A real oscillator will start up just fine, but a simulation may or
> may not. Either way, it would be wrong to take this as a model of
> reality. You *must* kick-start an oscillator simulation.

I have both simulated and built quite a few oscillators using LTSpice, 
allowing them to start by amplifying the noise in the models. Anything 
reasonable seems to start in LTSpice and in real life, once you get the 
gain and phase right. I've never used a kick-start in any case.

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


#566445

FromJohn Larkin <jlarkin@highland_atwork_technology.com>
Date2019-11-12 15:50 -0800
Message-ID<f1hmse982kcgglfnec5kkmv2va76emmk9m@4ax.com>
In reply to#566437
On Wed, 13 Nov 2019 08:23:41 +1100, Clifford Heath
<no.spam@please.net> wrote:

>On 12/11/19 10:51 pm, Jeroen Belleman wrote:
>> A real oscillator will start up just fine, but a simulation may or
>> may not. Either way, it would be wrong to take this as a model of
>> reality. You *must* kick-start an oscillator simulation.
>
>I have both simulated and built quite a few oscillators using LTSpice, 
>allowing them to start by amplifying the noise in the models. Anything 
>reasonable seems to start in LTSpice and in real life, once you get the 
>gain and phase right. I've never used a kick-start in any case.

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.

-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

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


#566459

FromSteve Wilson <no@spam.com>
Date2019-11-13 01:13 +0000
Message-ID<XnsAB05CDCDD9C00idtokenpost@144.76.35.198>
In reply to#566445
John Larkin <jlarkin@highland_atwork_technology.com> wrote:

> On Wed, 13 Nov 2019 08:23:41 +1100, Clifford Heath
> <no.spam@please.net> wrote:
 
>>On 12/11/19 10:51 pm, Jeroen Belleman wrote:
>>> A real oscillator will start up just fine, but a simulation may or
>>> may not. Either way, it would be wrong to take this as a model of
>>> reality. You *must* kick-start an oscillator simulation. 

I prove this wrong in a separate post. But you have to be sure to use the 
correct model.

>>I have both simulated and built quite a few oscillators using LTSpice, 
>>allowing them to start by amplifying the noise in the models. Anything 
>>reasonable seems to start in LTSpice and in real life, once you get the 
>>gain and phase right. I've never used a kick-start in any case. 
 
> 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.

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, 
then measure the peak voltage across the crystal ESR. Convert that to the 
voltage required to produce that current, and set the initial conditions to 
produce that voltage across the inductor and ESR resistor. This produces a 
current in the inductor that matches the value measured after many cycles.

The result is the oscillator starts and settles within a few cycles, at 
exactly the correct amplitude. 

Even complex stabilization methods, such as suggested by Bruce Griffiths, 
settle extremely quickly. I also show this in Oscillators.zip

It's a technique I have used for decades, and often posted to SED.

An extension of this technique is suggested by Kevin Aylward of Superspice:

http://www.kevinaylward.co.uk/

He starts by looking at the formula Q = XL / R

He reasons you can make a high Q oscillator run faster by lowering the Q. 
Then you have to increase C by the same amount to maintain the same 
frequency. He cautions to not try to go beyond a factor of 100.

His suggestion does indeed work. But it changes the frequency slightly, 
which may be important in some applications.

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


#566464

FromJohn Larkin <jlarkin@highland_atwork_technology.com>
Date2019-11-12 17:39 -0800
Message-ID<g1nmsedp9pqm94h093s6gdmlrcmq87cssp@4ax.com>
In reply to#566459
On Wed, 13 Nov 2019 01:13:53 -0000 (UTC), Steve Wilson <no@spam.com>
wrote:

>John Larkin <jlarkin@highland_atwork_technology.com> wrote:
>
>> On Wed, 13 Nov 2019 08:23:41 +1100, Clifford Heath
>> <no.spam@please.net> wrote:
> 
>>>On 12/11/19 10:51 pm, Jeroen Belleman wrote:
>>>> A real oscillator will start up just fine, but a simulation may or
>>>> may not. Either way, it would be wrong to take this as a model of
>>>> reality. You *must* kick-start an oscillator simulation. 
>
>I prove this wrong in a separate post. But you have to be sure to use the 
>correct model.
>
>>>I have both simulated and built quite a few oscillators using LTSpice, 
>>>allowing them to start by amplifying the noise in the models. Anything 
>>>reasonable seems to start in LTSpice and in real life, once you get the 
>>>gain and phase right. I've never used a kick-start in any case. 
> 
>> 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.

Got to be careful about bias, which can involve long time constants.

>
>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.

 
>then measure the peak voltage across the crystal ESR. Convert that to the 
>voltage required to produce that current, and set the initial conditions to 
>produce that voltage across the inductor and ESR resistor. This produces a 
>current in the inductor that matches the value measured after many cycles.

Why not just measure the voltage and current of all the crystal
elements? It has shunt and series paths, so the current through the
series resistance is only part of the story.

>
>The result is the oscillator starts and settles within a few cycles, at 
>exactly the correct amplitude.

It only settles at its normal rate, which might be a million cycles. 
 
>
>Even complex stabilization methods, such as suggested by Bruce Griffiths, 
>settle extremely quickly. I also show this in Oscillators.zip
>
>It's a technique I have used for decades, and often posted to SED.
>
>An extension of this technique is suggested by Kevin Aylward of Superspice:
>
>http://www.kevinaylward.co.uk/
>
>He starts by looking at the formula Q = XL / R
>
>He reasons you can make a high Q oscillator run faster by lowering the Q. 
>Then you have to increase C by the same amount to maintain the same 
>frequency. He cautions to not try to go beyond a factor of 100.
>
>His suggestion does indeed work. But it changes the frequency slightly, 
>which may be important in some applications.
>

An XO must be analyzed in time domain to estimate the voltages and
currents. It's basically impossible to do PPM or PPB frequency
analysis in time domain. Best switch to frequency domain for that.


-- 

John Larkin         Highland Technology, Inc
picosecond timing   precision measurement 

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

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


#566467

FromSteve Wilson <no@spam.com>
Date2019-11-13 02:29 +0000
Message-ID<XnsAB05DAB3AD816idtokenpost@144.76.35.198>
In reply to#566464
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:
>>
>>> On Wed, 13 Nov 2019 08:23:41 +1100, Clifford Heath
>>> <no.spam@please.net> wrote: 
>> 
>>>>On 12/11/19 10:51 pm, Jeroen Belleman wrote:
>>>>> A real oscillator will start up just fine, but a simulation may or
>>>>> may not. Either way, it would be wrong to take this as a model of
>>>>> reality. You *must* kick-start an oscillator simulation. 
>>
>>I prove this wrong in a separate post. But you have to be sure to use
>>the correct model.
>>
>>>>I have both simulated and built quite a few oscillators using LTSpice,
>>>>allowing them to start by amplifying the noise in the models. Anything
>>>>reasonable seems to start in LTSpice and in real life, once you get
>>>>the gain and phase right. I've never used a kick-start in any case. 
>> 
>>> 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.
  
>>then measure the peak voltage across the crystal ESR. Convert that to
>>the voltage required to produce that current, and set the initial
>>conditions to produce that voltage across the inductor and ESR resistor.
>>This produces a current in the inductor that matches the value measured
>>after many cycles. 
> 
> Why not just measure the voltage and current of all the crystal
> elements? It has shunt and series paths, so the current through the
> series resistance is only part of the story.

The ESR is the one you are interested in. It gives the exact value needed 
to start the oscillator and settle in a few cycles, maybe one or two.

>>The result is the oscillator starts and settles within a few cycles, at 
>>exactly the correct amplitude. 
 
> It only settles at its normal rate, which might be a million cycles. 
  
I don't think you are paying attention. I stated a few cycles. If your 
trial and error technique works, why do you reject mine?

>>Even complex stabilization methods, such as suggested by Bruce
>>Griffiths, settle extremely quickly. I also show this in Oscillators.zip
>>
>>It's a technique I have used for decades, and often posted to SED.
>>
>>An extension of this technique is suggested by Kevin Aylward of
>>Superspice: 
>>
>>http://www.kevinaylward.co.uk/
>>
>>He starts by looking at the formula Q = XL / R
>>
>>He reasons you can make a high Q oscillator run faster by lowering the
>>Q. Then you have to increase C by the same amount to maintain the same 
>>frequency. He cautions to not try to go beyond a factor of 100.
>>
>>His suggestion does indeed work. But it changes the frequency slightly, 
>>which may be important in some applications. 

> An XO must be analyzed in time domain to estimate the voltages and
> currents. It's basically impossible to do PPM or PPB frequency
> analysis in time domain. Best switch to frequency domain for that.
 
Nonsense. Let the oscillator run for 1,000 or 10,000 cycles, then measure 
the frequency and divide by the number of cycles.

You can use Keven's method to speed things up, although I have never run 
into an occasion that really needs it.

I don't think frequency domain can get down to ppb. You are dealing with a  
response curve at the peak, which is quite flat on these scales.

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


#566606

FromJoseph Gwinn <joegwinn@comcast.net>
Date2019-11-15 15:27 -0500
Message-ID<0001HW.237F41BA0CF28D8F70000504A2EF@news.giganews.com>
In reply to#566467
On Nov 13, 2019, Steve Wilson wrote
(in article<XnsAB06794AFB969idtokenpost@144.76.35.198>):

> klaus.kragelund@gmail.com wrote:
>
> > On Wednesday, 13 November 2019 13:52:07 UTC+1, Steve Wilson wrote:
> > > Steve Wilson <no@spam.com> wrote:
> > >
> > > > John Larkin<jlarkin@highland_atwork_technology.com> wrote:
>
> [...]
>
> > > > > > 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

It can be difficult to decode Vig´s slides without his talk. Look around 
and find Vig´s full slide deck in MS PowerPoint. On the Notes pages (not 
available in the pdf version it appears), you will find background 
information and literature references. This usually solves the Hih? problem.

Joe Gwinn

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


#567908

FromSteve Wilson <no@spam.com>
Date2019-11-13 12:52 +0000
Message-ID<XnsAB06500726591idtokenpost@144.76.35.198>
In reply to#566467
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

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


#567921

Fromklaus.kragelund@gmail.com
Date2019-11-13 08:34 -0800
Message-ID<3383831b-e2cd-4781-a612-03c5306fa164@googlegroups.com>
In reply to#567908
On Wednesday, 13 November 2019 13:52:07 UTC+1, Steve Wilson  wrote:
> 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.
> 
I get 90 seconds :-)

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


#567924

FromSteve Wilson <no@spam.com>
Date2019-11-13 16:55 +0000
Message-ID<XnsAB06794AFB969idtokenpost@144.76.35.198>
In reply to#567921
klaus.kragelund@gmail.com wrote:

> On Wednesday, 13 November 2019 13:52:07 UTC+1, Steve Wilson  wrote:
>> Steve Wilson <no@spam.com> wrote:
>> 
>> > John Larkin <jlarkin@highland_atwork_technology.com> wrote:

[...]

>> >>>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. 
 
> I get 90 seconds :-)
 
Thanks. I have an older computer for legacy and compatibility reasons, and 
I'm only running 1 CPU out of a possible 4 in Virtualbox. Your computer is 
about twice as fast. That's a good number, which means everybody should get 
better results than I do. That should make them glee with joy.


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


#567949

FromSteve Wilson <no@spam.com>
Date2019-11-13 21:13 +0000
Message-ID<XnsAB06A5037650Eidtokenpost@144.76.35.198>
In reply to#566467
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:
>>>
>>>> On Wed, 13 Nov 2019 08:23:41 +1100, Clifford Heath
>>>> <no.spam@please.net> wrote: 
>>> 
>>>>>On 12/11/19 10:51 pm, Jeroen Belleman wrote:
>>>>>> A real oscillator will start up just fine, but a simulation may or
>>>>>> may not. Either way, it would be wrong to take this as a model of
>>>>>> reality. You *must* kick-start an oscillator simulation. 
>>>
>>>I prove this wrong in a separate post. But you have to be sure to use
>>>the correct model.
>>>
>>>>>I have both simulated and built quite a few oscillators using
>>>>>LTSpice, allowing them to start by amplifying the noise in the
>>>>>models. Anything reasonable seems to start in LTSpice and in real
>>>>>life, once you get the gain and phase right. I've never used a
>>>>>kick-start in any case. 
>>> 
>>>> 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. 
>   
>>>then measure the peak voltage across the crystal ESR. Convert that to
>>>the voltage required to produce that current, and set the initial
>>>conditions to produce that voltage across the inductor and ESR
>>>resistor. This produces a current in the inductor that matches the
>>>value measured after many cycles. 
>> 
>> Why not just measure the voltage and current of all the crystal
>> elements? It has shunt and series paths, so the current through the
>> series resistance is only part of the story. 
> 
> The ESR is the one you are interested in. It gives the exact value
> needed to start the oscillator and settle in a few cycles, maybe one or
> two. 
> 
>>>The result is the oscillator starts and settles within a few cycles, at
>>>exactly the correct amplitude. 
>  
>> It only settles at its normal rate, which might be a million cycles. 
>   
> I don't think you are paying attention. I stated a few cycles. If your 
> trial and error technique works, why do you reject mine?
> 
>>>Even complex stabilization methods, such as suggested by Bruce
>>>Griffiths, settle extremely quickly. I also show this in
>>>Oscillators.zip 
>>>
>>>It's a technique I have used for decades, and often posted to SED.
>>>
>>>An extension of this technique is suggested by Kevin Aylward of
>>>Superspice: 
>>>
>>>http://www.kevinaylward.co.uk/
>>>
>>>He starts by looking at the formula Q = XL / R
>>>
>>>He reasons you can make a high Q oscillator run faster by lowering the
>>>Q. Then you have to increase C by the same amount to maintain the same 
>>>frequency. He cautions to not try to go beyond a factor of 100.
>>>
>>>His suggestion does indeed work. But it changes the frequency slightly,
>>>which may be important in some applications. 
> 
>> An XO must be analyzed in time domain to estimate the voltages and
>> currents. It's basically impossible to do PPM or PPB frequency
>> analysis in time domain. Best switch to frequency domain for that. 
>  
> Nonsense. Let the oscillator run for 1,000 or 10,000 cycles, then
> measure the frequency and divide by the number of cycles.

I have uploaded an illustration of how to measure 8 parts-per-billion in 
LTspice. You can download it at

https://drive.google.com/file/d/1jPoXyNQmRrb5r3hu_6LjNyFHajpsOjp8/view

This turned out to be one of the most difficult articles I have uploaded to 
google drive. Please let me know if you have trouble following it.

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


#567953

FromClifford Heath <no.spam@please.net>
Date2019-11-14 08:43 +1100
Message-ID<NN_yF.50904$Jw6.43035@fx35.iad>
In reply to#566445
On 13/11/19 10:50 am, John Larkin wrote:
> On Wed, 13 Nov 2019 08:23:41 +1100, Clifford Heath
> <no.spam@please.net> wrote:
> 
>> On 12/11/19 10:51 pm, Jeroen Belleman wrote:
>>> A real oscillator will start up just fine, but a simulation may or
>>> may not. Either way, it would be wrong to take this as a model of
>>> reality. You *must* kick-start an oscillator simulation.
>>
>> I have both simulated and built quite a few oscillators using LTSpice,
>> allowing them to start by amplifying the noise in the models. Anything
>> reasonable seems to start in LTSpice and in real life, once you get the
>> gain and phase right. I've never used a kick-start in any case.
> 
> 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.

True, but the way they start and settle tells you quite a lot about the 
loop conditions, especially amplitude stability.

> 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.
> 

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


#566256

FromKlaus Kragelund <klauskvik@hotmail.com>
Date2019-11-11 12:19 -0800
Message-ID<643ca5c0-70b9-4140-9505-86cd8673e7d2@googlegroups.com>
In reply to#566233
Wow, 1 Henry and multiply farad caps, why are you not using real values?

AFAIR you need to have conditions for oscillation covered, specifically the gain setting of C1 and C2

I am running a colpitts in Pspice, and have no startup problems

Cheers

Klaus

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


#566274

FromSteve Wilson <no@spam.com>
Date2019-11-11 23:26 +0000
Message-ID<XnsAB04BBAD48533idtokenpost@144.76.35.198>
In reply to#566256
Klaus Kragelund <klauskvik@hotmail.com> wrote:

> Wow, 1 Henry and multiply farad caps, why are you not using real values?
 
> AFAIR you need to have conditions for oscillation covered, specifically
> the gain setting of C1 and C2 
 
> I am running a colpitts in Pspice, and have no startup problems
 
> Cheers
 
> Klaus

It also works in LTspice if you use the PSPICE model.

1H and 1C are convenient values that also avoid any issues with 
intelectrode values in the transistor. Recall the 2N7000/2N7002 MOSFET have 
significant capacitances. 

I tried making C1=C2. It made little difference to the startup.

I often use different capacitor ratios in bipolar Colpitts to get a more 
sinusoidal output signal. I assume it would also affect the phase noise, 
but there is no way to measure that in Lspice, and I can't afford the seat 
cost of the super-expensive sims that do measure phase noise.

Anyway, I believe that is one measurement that is best done on the bench.

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


Page 1 of 3  [1] 2 3  Next page →

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


csiph-web