* Z:\home\khalils\Downloads\files\data\raw_asc\10d4e2b90174_Micro_power_crystal_osc1.asc
* Generated by LTspice 26.0.1 for Windows.
* FS=1/(2*pi*sqrt(L1*C1)) = 20MHz\n \nFP-FS=C1/C0/2\n \nRS=2*pi*FS*L1/Q\n \ndf = Fs*C1/(CL+C0)/2 \n \nY1 is the quartz crystal\nmoeled with the capacitor \nmodel of LTspice.\nC0 is Cpar of Y1\nC1 is C of Y1\nL1 is Lser of Y1\nRS is Rser of Y1
* http://www.engin.umich.edu/labs/EAST/@home/Project/Time%20Keeping/Crystal.pdf
* http://www.discovercircuits.com/DJ-Circuits/ultralowpwrxtlosc1.htm
* CL1
* CL1
* CL=CL1*CL2/(CL1+CL2)
* 1n
* http://members.spsdialup.com/mts@spsdialup.com/spice/xtal/clapp.htm
* Y
C1 c 0 10p
C2 b 0 10p
V1 vcc 0 3
CY1 c b {C1} Rser={Rs} Lser={L1} Cpar={C0}
R2 c b 22e6
R3 e 0 470K
C3 e 0 1f
Q1 c b e 0 2N3904
R1 vcc c 2.2Meg
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.param L1=4448
.param C1=.0053p
.param RS=11200
.param C0=1.84p
.tran 0 2.5 0 2u
.ic V(b)=0 V(c)=0
.options plotwinsize=0
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1092 680
WIRE 240 -144 192 -144
WIRE 336 -144 240 -144
WIRE 192 -112 192 -144
WIRE 336 -112 336 -144
WIRE -48 0 -128 0
WIRE 48 0 -48 0
WIRE 96 0 48 0
WIRE 192 0 192 -32
WIRE 192 0 96 0
WIRE 224 0 192 0
WIRE 336 0 336 -32
WIRE -128 16 -128 0
WIRE 48 32 48 0
WIRE -48 48 -48 0
WIRE 192 96 192 0
WIRE -128 112 -128 80
WIRE -48 144 -48 112
WIRE 48 144 48 112
WIRE 48 144 -48 144
WIRE 96 144 48 144
WIRE 128 144 96 144
WIRE -48 176 -48 144
WIRE 192 208 192 192
WIRE 224 208 192 208
WIRE 304 208 224 208
WIRE 192 224 192 208
WIRE 304 240 304 208
WIRE -48 256 -48 240
WIRE 192 336 192 304
WIRE 304 336 304 304
IOPIN 224 0 Out
LINE Normal 496 -112 496 -144
LINE Normal 560 -144 560 -144
LINE Normal 560 -112 560 -144
LINE Normal 464 -128 496 -128
LINE Normal 464 -96 464 -128
LINE Normal 448 -96 464 -96
LINE Normal 480 -96 448 -96
LINE Normal 592 -128 560 -128
LINE Normal 592 -96 592 -128
LINE Normal 608 -96 592 -96
LINE Normal 576 -96 608 -96
LINE Normal 448 -80 480 -80
LINE Normal 592 -80 592 -48
LINE Normal 608 -80 592 -80
LINE Normal 576 -80 608 -80
LINE Normal 464 -80 464 -48
LINE Normal 448 -128 464 -128
LINE Normal 592 -128 608 -128
LINE Normal 480 -48 448 -48
LINE Normal 608 -48 576 -48
RECTANGLE Normal 544 -112 512 -144
SYMBOL res 176 208 R0
SYMATTR InstName R3
SYMATTR Value 470K
SYMBOL res 176 -128 R0
SYMATTR InstName R1
SYMATTR Value 2.2MEG
SYMBOL npn 128 96 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res 32 16 R0
SYMATTR InstName R2
SYMATTR Value 22e6
SYMBOL voltage 336 -128 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 3
SYMBOL cap 288 240 R0
SYMATTR InstName C3
SYMATTR Value 1f
SYMBOL cap -64 176 R0
SYMATTR InstName C2
SYMATTR Value 10p
SYMBOL cap -144 16 R0
SYMATTR InstName C1
SYMATTR Value 10p
SYMBOL Misc\\xtal -64 48 R0
SYMATTR InstName Y1
SYMATTR Value {C1}
SYMATTR SpiceLine Rser={Rs} Lser={L1} Cpar={C0}
FLAG -48 256 0
FLAG 192 336 0
FLAG 336 0 0
FLAG 96 144 b
FLAG -128 112 0
FLAG 96 0 c
FLAG 304 336 0
FLAG 224 0 c
FLAG 224 208 e
FLAG 240 -144 vcc
TEXT 400 56 Left 0 !.param L1=4448\n.param C1=.0053p\n.param RS=11200\n.param C0=1.84p
TEXT -128 -136 Left 0 !.tran 0 2.5 0 2u
TEXT 688 -64 Left 0 ;FS=1/(2*pi*sqrt(L1*C1)) = 20MHz\n \nFP-FS=C1/C0/2\n \nRS=2*pi*FS*L1/Q\n \ndf = Fs*C1/(CL+C0)/2 \n  \nY1 is the quartz crystal\nmoeled with the capacitor \nmodel of LTspice.\nC0 is Cpar of Y1\nC1 is C of Y1\nL1 is Lser of Y1\nRS is Rser of Y1
TEXT -128 -72 Left 0 !.ic V(b)=0 V(c)=0
TEXT -104 -192 Left 0 ;http://www.engin.umich.edu/labs/EAST/@home/Project/Time%20Keeping/Crystal.pdf
TEXT -104 -224 Left 0 ;http://www.discovercircuits.com/DJ-Circuits/ultralowpwrxtlosc1.htm
TEXT 496 -80 Left 0 ;CL1
TEXT 624 -80 Left 0 ;CL1
TEXT 688 -104 Left 0 ;CL=CL1*CL2/(CL1+CL2)
TEXT 360 304 Left 0 ;1n
TEXT -104 -256 Left 0 ;http://members.spsdialup.com/mts@spsdialup.com/spice/xtal/clapp.htm
TEXT -128 -112 Left 0 !.options plotwinsize=0
TEXT 520 -160 Left 0 ;Y