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


Groups > sci.electronics.design > #566439

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-12 22:38 +0000
Organization A noiseless patient Spider
Message-ID <XnsAB05B366FC88Aidtokenpost@144.76.35.198> (permalink)
References (6 earlier) <2silset1ciagg6hhu38rk8oiedj2dt7krg@4ax.com> <qqej3p$atc$2@dont-email.me> <tcolse1tniqsdrr3vt6051q7maq62c7vit@4ax.com> <qqf385$atc$3@dont-email.me> <l17mselvqf1537lipka9qu6sc4f8s7m912@4ax.com>

Show all headers | View raw


John Larkin <jlarkin@highland_atwork_technology.com> wrote:

> On Tue, 12 Nov 2019 14:04:56 -0600, John S <Sophi.2@invalid.org>
> wrote:
> 
>>On 11/12/2019 10:48 AM, jlarkin@highlandsniptechnology.com wrote:
>>
>>> You removed my time step. Set it to 1 ms and wait, very patiently, to
>>> see a beautiful bizarre startup that doesn't oscillate. 
>>
>>Why?
>>
>>> With an unspecified time step, LT Spice LC tank frequencies are not
>>> very accurate. 
>>
>>What kind of not accurate? Frequency, voltage, etc? Please specify.
> 
> Frequency.
> 
>>And how do you know about very accurate? Have you built them to verify?
> 
> Built? I compare the LT spice frequency to the calculated value. Even
> bare LCs are a bit wrong at the default settings.

If you are referring to the test you did on July, 2015, you compared the 
amplitudes of a shocked LC circuit and a generated sine wave.

you ignored the fact that the inductor ESR defaults to 1 milliohm unless 
you specify otherwise. 

As you ran the sym, the LC amplitude decayed.

You took the difference in amplitudes between the LC and generated sine 
waves and found a difference. How you translated that into a percentage 
frequency error I'll never know.

Also, you have to set an appropriate timestep. If you don't specify any 
timestep, the sym produces garbage.

Here is your statement from July, 2015:

> LT Spice goes for sim speed, so it tends to use coarse time steps. If
> you shock a simple LC and let it ring, at default settings the
> resonant frequency will be off by percentages. Similarly, oscillator
> sims will be unrealistic.

This is in "SPICE tarnsient analysis of oscillators - sampling time"

https://groups.google.com/forum/?hl=en#!
searchin/sci.electronics.design/steve$20wilson$20larkin$20lc$20accuracy%
7Csort:date/sci.electronics.design/4cScUlUOldk/3zQjf2pFAwAJ

I posted a LTspice file with an appropriate inductor ESR and timestep that 
showed the frequency error is in the parts per billion. It is difficult to 
measure. And you still go around spouting false information.

LTspice can give very accurate answers if you give it correct data. GIGO.

Here is the sym:

Version 4
SHEET 1 880 680
WIRE 224 -192 64 -192
WIRE 416 -192 224 -192
WIRE 480 -192 416 -192
WIRE 64 -112 64 -192
WIRE 416 -32 336 -32
WIRE 480 -32 416 -32
WIRE 336 -16 336 -32
WIRE 224 0 224 -192
WIRE 288 0 224 0
WIRE 64 16 64 -32
WIRE 288 48 224 48
WIRE 224 112 224 48
WIRE 224 112 64 112
WIRE 320 112 224 112
WIRE 416 112 320 112
WIRE 480 112 416 112
WIRE 64 160 64 112
WIRE 320 160 320 112
WIRE 224 176 224 112
WIRE 64 288 64 240
WIRE 224 288 224 240
WIRE 320 288 320 240
FLAG 224 288 0
FLAG 320 288 0
FLAG 64 288 0
FLAG 64 16 0
FLAG 336 64 0
FLAG 416 -32 DIFF
FLAG 416 -192 IDEAL
FLAG 416 112 LC
SYMBOL ind 304 144 R0
WINDOW 0 46 29 Left 2
WINDOW 3 50 62 Left 2
SYMATTR InstName L1
SYMATTR Value 0.1591549430918953357688837634
SYMATTR SpiceLine Rser=1u Cpar=1p
SYMBOL cap 208 176 R0
WINDOW 0 24 -3 Left 2
WINDOW 3 -84 189 Left 2
SYMATTR InstName C1
SYMATTR Value 0.1591549430918953357688837634
SYMATTR SpiceLine Rser=1n Lser=1p
SYMBOL current 64 160 R0
WINDOW 0 -70 50 Left 2
WINDOW 3 -165 99 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName I1
SYMATTR Value PULSE(1 0 0.5)
SYMBOL voltage 64 -128 R0
WINDOW 0 -109 61 Left 2
WINDOW 3 -188 104 Left 2
WINDOW 123 0 0 Left 2
WINDOW 39 0 0 Left 2
SYMATTR InstName V1
SYMATTR Value SINE(0 1 1 0.5)
SYMBOL e 336 -32 R0
WINDOW 0 60 40 Left 2
WINDOW 3 53 74 Left 2
SYMATTR InstName E1
SYMATTR Value -1
TEXT 16 -232 Left 2 !.tran 0 1000 0 100u
TEXT 16 -264 Left 2 ;'LTSpice Compare LC Frequencies Larkin July  2015
TEXT 592 -232 Left 2 !.options numdgt=15
TEXT 264 -168 Left 2 ;Can't tell if frequency is changing or\ntank 
amplitude is dropping. A frequency\ndifference will case a linear ramp. 
Exponential\ndecay due to Q will cause an exponential rise.

Here is the PLT file:

[Transient Analysis]
{
   Npanes: 3
   Active Pane: 1
   {
      traces: 1 {524292,0,"V(ideal)"}
      X: ('K',3,2304,3,2334)
      Y[0]: (' ',1,-1,0.2,1)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Volts: (' ',0,0,1,-1,0.2,1)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {268959746,0,"V(lc)"}
      X: ('K',3,2304,3,2334)
      Y[0]: ('ľ',0,-0.0008,0.0001,0.0008)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Volts: ('ľ',0,0,0,-0.0008,0.0001,0.0008)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {268959747,0,"V(diff)"}
      X: ('K',3,2304,3,2334)
      Y[0]: (' ',0,-100,20,100)
      Y[1]: ('_',0,1e+308,0,-1e+308)
      Volts: (' ',0,0,0,-100,20,100)
      Log: 0 0 0
      GridStyle: 1
   }
}

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