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


Groups > sci.electronics.design > #565782

Re: A bit of help with a crystal oscillator

From Steve Wilson <no@spam.com>
Newsgroups sci.electronics.design
Subject Re: A bit of help with a crystal oscillator
Date 2019-11-09 03:04 +0000
Organization A noiseless patient Spider
Message-ID <XnsAB01E08673458idtokenpost@144.76.35.198> (permalink)
References (8 earlier) <XnsAB0172586EAFAidtokenpost@144.76.35.198> <dccbsed39vqp8bu5tek0gd77hmhoi3apu1@4ax.com> <XnsAB0189CEB4D45idtokenpost@144.76.35.198> <bgebsedfeatmsk5hsvhetqt90s5mag2lmp@4ax.com> <XnsAB019440B49CAidtokenpost@144.76.35.198>

Show all headers | View raw


Steve Wilson <no@spam.com> wrote:

> John Larkin <jlarkin@highland_atwork_technology.com> wrote:
>>>>>> I thought it would be cool to make an XO from a schmitt trigger
>>>>>> inverter, a crystal to ground at the input, and a feedback
>>>>>> resistor. This must oscillate, and always does, just nowhere close
>>>>>> to the expected frequency. The crystal is just an expensive
>>>>>> capacitor. 
 
>>>>>You are doing it wrong.
 
>>>> I'm not doing it. It's just something I tried once.
 
>>>> What's wrong with trying things? 

>>>I was referring to your schmitt inverter. If you knew anything about
>>>Barkhausen Criteria, you wouldn't even waste your time and come to the
>>>wrong conclusion. I fixed it for you. 

>> Classical concepts like Barkhausen are useless in strongly nonlinear
>> circuits, like Schmitt oscillators. 
 
> False. You determine the power input to the crystal through the drive 
> resistor, The input is a square wave, the signal at the crystal is a
> sine wave. The other end of the crystal is also a sine wave of
> approximately the same amplitude but opposite phase. The difference in
> amplitude is due to the input capacitance of the inverter.
 
> If the voltage swing to the input of the inverter is sufficient to drive
> the output, you meet Barkhausen and the circuit will oscillate.
 
>> I tried the Schmitt XO before Spice was available. It might actually
>> work, with a fast Schmitt and the right crystal. 
 
> Without phase inversion through the pi network, it cannot work.
 
> All you will get is a RC oscillator.
 
Here is a Schmitt XO along with the PLT file. The oscillation is chaotic at 
first until you apply enough drive power to get to oscillate through the 
crystal.

The drive power may be excessive for most crystals, so you probably would 
revert back to a standard inverter. But the sym shows it can be done, it's 
just not practical.

Version 4
SHEET 1 1008 716
WIRE -32 144 -64 144
WIRE 224 144 -32 144
WIRE 640 144 336 144
WIRE 704 144 640 144
WIRE 752 144 704 144
WIRE -64 368 -64 144
WIRE 224 368 -64 368
WIRE 640 368 640 144
WIRE 640 368 304 368
WIRE -64 464 -64 368
WIRE 96 464 -64 464
WIRE 352 464 160 464
WIRE -64 544 -64 464
WIRE -32 544 -64 544
WIRE 80 544 48 544
WIRE 112 544 80 544
WIRE 240 544 192 544
WIRE 256 544 240 544
WIRE 352 544 352 464
WIRE 352 544 320 544
WIRE 400 544 352 544
WIRE 448 544 400 544
WIRE 512 544 448 544
WIRE 640 544 640 368
WIRE 640 544 592 544
WIRE -64 560 -64 544
WIRE 448 560 448 544
WIRE -64 656 -64 624
WIRE 448 656 448 624
FLAG -64 656 0
FLAG 448 656 0
FLAG 80 544 R5L1
FLAG 240 544 L1C1
FLAG -32 144 OscIn
FLAG 704 144 Out
FLAG 400 544 C1C2
SYMBOL cap 256 560 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
WINDOW 39 -28 32 VBottom 2
SYMATTR InstName C1
SYMATTR Value 0.1p
SYMBOL cap 432 560 R0
SYMATTR InstName C2
SYMATTR Value 45p
SYMBOL cap -80 560 R0
SYMATTR InstName C3
SYMATTR Value 45p
SYMBOL res 608 528 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 750
SYMBOL res 208 384 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R3
SYMATTR Value 100k
SYMBOL ind 96 560 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 5 56 VBottom 2
SYMATTR InstName L1
SYMATTR Value 10m
SYMBOL res 64 528 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 25
SYMBOL cap 160 448 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C5
SYMATTR Value 4p
SYMBOL 74hc14 272 96 R0
SYMATTR InstName U1
TEXT 40 -16 Left 2 !.tran 0 2m 0 1n
TEXT 40 -48 Left 2 ;'Pierce Schmitt Crystal Oscillator
TEXT 544 -16 Left 2 !.options plotwinsize=0
TEXT 752 -16 Left 2 !.ic V(OscIn) = 0
TEXT 544 8 Left 2 !.inc 74hc.lib
TEXT 160 256 Left 2 ;May be overdriving the crystal
RECTANGLE Normal 32 112 32 112 2

[Transient Analysis]
{
   Npanes: 4
   Active Pane: 2
   {
      traces: 1 {524290,0,"V(oscin)"}
      X: ('m',1,0,0.0001,0.001)
      Y[0]: (' ',1,0.9,0.3,4.2)
      Y[1]: ('m',1,1e+308,0.0002,-1e+308)
      Volts: (' ',0,0,1,0.9,0.3,4.2)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {34603012,0,"I(R5)"}
      X: ('m',1,0,0.0001,0.001)
      Y[0]: ('m',1,-0.003,0.0005,0.003)
      Y[1]: ('ľ',0,1e+308,0.0001,-1e+308)
      Amps: ('m',0,0,1,-0.003,0.0005,0.003)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {524293,0,"V(c1c2)"}
      X: ('m',1,0,0.0001,0.001)
      Y[0]: (' ',1,0.6,0.3,4.2)
      Y[1]: ('ľ',0,1e+308,0.0001,-1e+308)
      Volts: (' ',0,0,1,0.6,0.3,4.2)
      Log: 0 0 0
      GridStyle: 1
   },
   {
      traces: 1 {524291,0,"V(out)"}
      X: ('m',1,0,0.0001,0.001)
      Y[0]: (' ',1,-0.5,0.5,5.5)
      Y[1]: ('ľ',0,1e+308,0.0001,-1e+308)
      Volts: (' ',0,0,1,-0.5,0.5,5.5)
      Log: 0 0 0
      GridStyle: 1
   }
}
 

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


Thread

A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 12:18 +0000
  Re: A bit of help with a crystal oscillator "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-11-06 08:27 -0600
    Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 16:13 +0000
      Re: A bit of help with a crystal oscillator "Tim Williams" <tiwill@seventransistorlabs.com> - 2019-11-06 19:54 -0600
  Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 08:02 -0800
    Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 16:14 +0000
      Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 09:28 -0800
    Re: A bit of help with a crystal oscillator mpm <mpmillard@aol.com> - 2019-11-06 08:17 -0800
      Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 09:18 -0800
        Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 17:27 +0000
          Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-06 10:54 -0800
            Re: A bit of help with a crystal oscillator mpm <mpmillard@aol.com> - 2019-11-06 18:05 -0800
              Re: A bit of help with a crystal oscillator Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-11-07 08:16 +0000
                Re: A bit of help with a crystal oscillator "Don Kuenz, KB7RPU" <g@crcomp.net> - 2019-11-07 15:28 +0000
                Re: A bit of help with a crystal oscillator Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-11-08 08:14 +0000
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-08 17:56 +0000
                Re: A bit of help with a crystal oscillator Jan Panteltje <pNaOnStPeAlMtje@yahoo.com> - 2019-11-09 07:28 +0000
          Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 01:52 +0000
            Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 02:56 +0000
            Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-06 19:41 -0800
              Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 10:52 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-07 09:48 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 18:36 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-07 10:47 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-07 21:10 +0000
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-07 18:57 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-07 11:41 -0800
                Re: A bit of help with a crystal oscillator Jeroen Belleman <jeroen@nospam.please> - 2019-11-08 09:47 +0100
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 12:00 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-08 07:21 -0800
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 07:39 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 16:14 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-08 10:20 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 18:32 +0000
                Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-08 10:58 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 19:34 +0000
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 03:04 +0000
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 07:08 +0200
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-08 22:05 -0800
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 10:08 +0200
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 14:07 +0200
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 08:59 -0800
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-09 10:01 +0000
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 13:51 +0000
                Re: A bit of help with a crystal oscillator upsidedown@downunder.com - 2019-11-09 13:45 +0200
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 09:03 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 17:27 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 09:59 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 19:53 +0000
                Re: A bit of help with a crystal oscillator jlarkin@highlandsniptechnology.com - 2019-11-09 12:08 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 23:45 +0000
                Re: A bit of help with a crystal oscillator Jeroen Belleman <jeroen@nospam.please> - 2019-11-08 20:27 +0100
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 21:16 +0000
                Re: A bit of help with a crystal oscillator Jeroen Belleman <jeroen@nospam.please> - 2019-11-08 22:43 +0100
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 22:21 +0000
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 15:10 -0800
                Re: A bit of help with a crystal oscillator Tauno Voipio <tauno.voipio@notused.fi.invalid> - 2019-11-09 18:35 +0200
                Re: A bit of help with a crystal oscillator keith wright <keith@kjwdesigns.com> - 2019-11-08 20:30 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 05:07 +0000
                Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-09 10:04 +0000
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-09 13:41 +0000
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 14:46 -0800
                Re: A bit of help with a crystal oscillator Steve Wilson <no@spam.com> - 2019-11-08 23:31 +0000
                Re: A bit of help with a crystal oscillator Rick C <gnuarm.deletethisbit@gmail.com> - 2019-11-08 17:35 -0800
    Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-06 16:54 +0000
  Re: A bit of help with a crystal oscillator Peter <nospam@nospam9876.com> - 2019-11-14 21:48 +0000
  Re: A bit of help with a crystal oscillator John Larkin <jlarkin@highland_atwork_technology.com> - 2019-11-14 14:57 -0800
  Re: A bit of help with a crystal oscillator LM <sala.nimi@mail.com> - 2019-11-13 17:30 +0200

csiph-web