* Z:\home\khalils\Downloads\files\data\raw_asc\34e240143266_XtalTest1_11xxMHz.asc
* Generated by LTspice 26.0.1 for Windows.
* .ac dec 100000 11e6 12e6
* Unbuffered HCmos Gate
* http://pstca.com/spice/xtal/clapp.htm#ctcp\nBelow is an excerpt from this page:\n \n; Variables:\n; C0 = Crystal Shunt Capacitance\n; C1 = Crystal Motional Capacitance\n; CL = Crystal Load Capacitance\n; FP = Parallel Resonant Frequency\n; FS = Series Resonant Frequency\n; L1 = Crystal Motional Inductance\n; Q = Crystal Q factor\n; R1 = Crystal Series Resistance\n \nSeries resonant frequency\nW0 = 2 * pi * FS \n \nMotional capacitance\nC1 = 1 / (Q * W0 * R1)\n \nParallel resonant frequency FP is specified in the datasheet\nfor a specified CL.\nSolve this equation for FS\nFP = FS * (1 + C1/(2 * (C0 + CL)))\n \nMotional inductance\nL1 = (Q * R1) / W0 = (Q * R1) / (2*pi*FS) = 1/(w0^2*C)\n \nhttp://www.actcrystals.com/PDF%20Files/HC49US.pdf\nFp=11.289570MHz\nR1 = 60 Ohm, C0=5pF, CL=20pF, Q=20000(guess)\n \nI start with an approximation.\nFs' = Fp = 11.289570e6Hz\nW0' = 11.289570e6*2*pi = 70.93446e6/s\n \nC1' = 1 / (Q * W0' * R1)\nC1' = 1/(20000*70.93446e6*60) pF = 11.747934fF\n \nThen I finally calculate Fs with C1'\nFs = Fp/(1 + C1'/(2 * (C0 + CL))) = 11.289570e6Hz/(1+2.35e-4)\nFs = 11.286918MHz\nW0 = 2*pi*Fs = 70.917795e6/s\nRecalculate C1 with the new Fs\nC1 = 1 / (Q * W0' * R1) \nC1 = 1/(20000*70.917795e6*60) pF = 11.750694fF\nL1 = 1/(w0^2*C1) = 16.921mH
* Crystal Oscillator\nF = Fp = 11.289570MHz, CL=20p
* kickstart
* Place a "xtal" on your schematic. (It's in the Misc-folder.\nRight-mouse-click on it.\n \nCapacitance: 11.750694f\nSer. inductance: 16.921m\nSer. resistance: 60\nPar. capacitance: 5p\n \nCtrl-right-mouse-click on the xtal to control the \nvisibility of the parameters.
R3 1 N001 100
R1 2 1 330
CX1 3 2 11.750694f Lser=16.921m Rser=60 Cpar=5p
CL2 3 0 40p
I2 2 3 PWL 0 0 1n 1m 10n 1m 11n 0
R2 1 3 10e6
CL1 2 0 40p
B1 N001 0 V=-1*tanh(10*V(3))
.tran 0 2000u 1n
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2768 1604
WIRE 1408 16 864 16
WIRE 864 64 864 16
WIRE 1248 80 1120 80
WIRE 1408 80 1408 16
WIRE 1408 80 1328 80
WIRE 1296 208 1248 208
WIRE 1408 208 1408 80
WIRE 1408 208 1376 208
WIRE 864 224 864 144
WIRE 928 224 864 224
WIRE 960 224 928 224
WIRE 1072 224 1024 224
WIRE 1120 224 1120 80
WIRE 1120 224 1072 224
WIRE 1248 240 1248 208
WIRE 864 256 864 224
WIRE 1120 256 1120 224
WIRE 864 336 864 320
WIRE 1120 336 1120 320
WIRE 1248 336 1248 320
WIRE 960 448 928 448
WIRE 1072 448 1040 448
RECTANGLE Normal 1200 368 1424 144
SYMBOL cap 880 256 M0
WINDOW 0 32 16 Left 0
WINDOW 3 32 48 Left 0
SYMATTR InstName CL1
SYMATTR Value 40p
SYMBOL res 880 160 R180
WINDOW 0 36 76 Left 0
WINDOW 3 36 40 Left 0
SYMATTR InstName R1
SYMATTR Value 330
SYMBOL current 960 448 M90
WINDOW 0 -32 32 VBottom 0
WINDOW 3 57 49 VBottom 0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I2
SYMATTR Value PWL 0 0 1n 1m 10n 1m 11n 0
SYMBOL res 1392 192 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL cap 1104 256 R0
WINDOW 0 32 16 Left 0
WINDOW 3 32 48 Left 0
SYMATTR InstName CL2
SYMATTR Value 40p
SYMBOL Misc\\xtal 1024 208 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
WINDOW 39 80 32 VTop 0
WINDOW 123 56 32 VTop 0
WINDOW 40 104 32 VTop 0
SYMATTR InstName X1
SYMATTR Value 11.750694f
SYMATTR SpiceLine Rser=60
SYMATTR Value2 Lser=16.921m
SYMATTR SpiceLine2 Cpar=5p
SYMBOL res 1344 64 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 10e6
SYMBOL bv 1248 224 R0
WINDOW 3 -40 171 Left 0
SYMATTR InstName B1
SYMATTR Value V=-1*tanh(10*V(3))
FLAG 864 336 0
FLAG 1120 336 0
FLAG 864 16 1
FLAG 928 224 2
FLAG 1072 224 3
FLAG 1248 336 0
FLAG 928 448 2
FLAG 1072 448 3
TEXT 816 -144 Left 0 !.tran 0 2000u 1n
TEXT 816 -112 Left 0 ;.ac dec 100000 11e6 12e6
TEXT 1184 432 Left 0 ;Unbuffered HCmos Gate
TEXT 1560 -232 Left 0 ;http://pstca.com/spice/xtal/clapp.htm#ctcp\nBelow is an excerpt from this page:\n \n; Variables:\n; C0 = Crystal Shunt Capacitance\n; C1 = Crystal Motional Capacitance\n; CL = Crystal Load Capacitance\n; FP = Parallel Resonant Frequency\n; FS = Series Resonant Frequency\n; L1 = Crystal Motional Inductance\n;  Q = Crystal Q factor\n; R1 = Crystal Series Resistance\n \nSeries resonant frequency\nW0 = 2 * pi * FS                                                \n \nMotional capacitance\nC1 = 1 / (Q * W0 * R1)\n \nParallel resonant frequency FP is specified in the datasheet\nfor a specified CL.\nSolve this equation for FS\nFP = FS * (1 + C1/(2 * (C0 + CL)))\n  \nMotional inductance\nL1 = (Q * R1) / W0 = (Q * R1) / (2*pi*FS) = 1/(w0^2*C)\n  \nhttp://www.actcrystals.com/PDF%20Files/HC49US.pdf\nFp=11.289570MHz\nR1 = 60 Ohm, C0=5pF, CL=20pF, Q=20000(guess)\n \nI start with an approximation.\nFs' = Fp = 11.289570e6Hz\nW0' = 11.289570e6*2*pi = 70.93446e6/s\n \nC1' = 1 / (Q * W0' * R1)\nC1' = 1/(20000*70.93446e6*60) pF = 11.747934fF\n \nThen I finally calculate Fs with C1'\nFs = Fp/(1 + C1'/(2 * (C0 + CL))) = 11.289570e6Hz/(1+2.35e-4)\nFs = 11.286918MHz\nW0 = 2*pi*Fs = 70.917795e6/s\nRecalculate C1 with the new Fs\nC1 = 1 / (Q * W0' * R1) \nC1 = 1/(20000*70.917795e6*60) pF = 11.750694fF\nL1 = 1/(w0^2*C1) = 16.921mH
TEXT 1120 -136 Left 0 ;Crystal Oscillator\nF = Fp = 11.289570MHz, CL=20p
TEXT 928 520 Left 0 ;kickstart
TEXT 816 600 Left 0 ;Place a "xtal" on your schematic. (It's in the Misc-folder.\nRight-mouse-click on it.\n \nCapacitance: 11.750694f\nSer. inductance: 16.921m\nSer. resistance: 60\nPar. capacitance: 5p\n \nCtrl-right-mouse-click on the xtal to control the \nvisibility of the parameters.