* Z:\home\khalils\Downloads\files\data\raw_asc\1b0360b7fb99_4046.asc
* Generated by LTspice 26.0.1 for Windows.
S1 6 N004 7 0 SW
S2 0 7 7 0 SW
S3 7 N004 6 0 SW
S4 0 6 6 0 SW
C1 7 6 10p
B1 0 N004 I=I(R1)*36
B2 4 0 V=ddt(V(6,7))>0 ? 5 : 0 Tripdt=0.007u Tripdv=0.007m
R3 4 0 1G
R_by-pass-1 N003 0 2.7k
G1 0 N003 9 N003 TABLE(0.05, 0.001m) (0.31, 0.005m) (0.5, 0.011m) (2.29V, 0.091m) (3V, 0.12m)
R_by-pass-2 N005 0 2.7k
G2 0 N005 16 N005 TABLE(0.05, 0.001m) (0.31, 0.005m) (0.5, 0.011m) (2.29V, 0.091m) (3V, 0.12m)
B3 0 N004 I=I(R2)*90
A1 14 3 0 0 0 0 13 0 PHASEDET Vhigh={Vhigh1} Td={td1} ref={ref1}
R_by-pass-3 10 0 2.7k
G3 0 10 9 10 1
A2 0 14 0 3 0 0 2 0 XOR Vhigh={Vhigh1}
A3 N001 N002 0 0 0 15 0 0 SRFLOP Vhigh={Vhigh2} ref={ref2}
A4 14 0 0 0 0 N001 0 0 BUF Vhigh={Vhigh2} ref={ref2} Trise={Trise2} Tfall={Tfall2}
A5 3 0 0 0 0 N002 0 0 BUF Vhigh={Vhigh2} ref={ref2} Td={Td2}
R1 N003 11 1n
R2 N005 12 1n
.ic V(6)=0.5 V(Q)=0 V(_Q)=5
.params: Vhigh1=5 ref1=2.5 Td1=50n Vhigh2=5 ref2=0.5 Td2=50n Trise2=5n Tfall2=5n
.model SW SW(Ron=5 Roff=1Meg Vt=500m Vh=600m)
* 9 --- VCO_in
* 4 --VCO_out
* 13 --Phase_COMP II OUT
* 3 --COMP_in
* VCC
* 14 --(VCO)SIG_in
* DEM_OUT
* Paksutov Konstantin, Ulyanovsk State University, aka Pogankin@yahoo.com
* Hello, Helmut. I wrote CD54/74HC/HCT4046A behavioral model.\nApproximation for F(VCO_in) is made by:\nhttp://www.fairchildsemi.com/ds/74/74VHC4046.pdf (p.6)\nand is not enough correct. Please, send me your note\nif possible to complete this work.Other circuit ideas are taken from:\nhttp://www.ee.nmt.edu/~thomas/data_sheets/phase-ll-scha003b.pdf\n(Application Report SCHA003B - September 2002 by W. M. Austin)\nand from LTSPice group.
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 4564 1120
WIRE 496 -544 480 -544
WIRE 576 -528 560 -528
WIRE 576 -512 576 -528
WIRE 592 -512 576 -512
WIRE 496 -480 480 -480
WIRE 592 -464 560 -464
WIRE 768 -464 704 -464
WIRE -272 -416 -304 -416
WIRE -352 -400 -496 -400
WIRE -464 -352 -496 -352
WIRE -352 -352 -384 -352
WIRE 576 -352 560 -352
WIRE 768 -352 640 -352
WIRE -320 -320 -352 -352
WIRE -272 -320 -272 -416
WIRE -272 -320 -320 -320
WIRE 576 -320 544 -320
WIRE 0 -256 -16 -256
WIRE 96 -256 80 -256
WIRE 112 -256 96 -256
WIRE 208 -256 192 -256
WIRE 416 -240 416 -640
WIRE 608 -240 416 -240
WIRE 784 -224 736 -224
WIRE 384 -208 384 -640
WIRE 608 -208 384 -208
WIRE -272 -176 -304 -176
WIRE 96 -176 96 -256
WIRE 96 -176 -48 -176
WIRE 240 -176 96 -176
WIRE -352 -160 -496 -160
WIRE -48 -160 -48 -176
WIRE 240 -160 240 -176
WIRE -464 -112 -496 -112
WIRE -352 -112 -384 -112
WIRE -320 -80 -352 -112
WIRE -272 -80 -272 -176
WIRE -272 -80 -320 -80
WIRE -48 -64 -48 -80
WIRE 64 -64 -48 -64
WIRE 240 -64 240 -80
WIRE 240 -64 128 -64
WIRE 32 -48 -48 -64
WIRE 160 -48 240 -64
WIRE -48 -32 -48 -64
WIRE 240 -32 240 -64
WIRE 640 0 592 0
WIRE 768 0 640 0
WIRE 592 16 592 0
WIRE -272 48 -304 48
WIRE -96 48 -96 32
WIRE -48 48 -96 48
WIRE 96 48 -48 48
WIRE 240 48 96 48
WIRE 288 48 288 32
WIRE 288 48 240 48
WIRE -352 64 -416 64
WIRE 96 64 96 48
WIRE 640 96 640 80
WIRE -352 112 -496 112
WIRE -320 144 -352 112
WIRE -272 144 -272 48
WIRE -272 144 -320 144
WIRE 32 272 32 -48
WIRE 160 272 160 -48
FLAG 96 64 0
FLAG 32 272 6
IOPIN 32 272 BiDir
FLAG 160 272 7
IOPIN 160 272 BiDir
FLAG 288 -96 0
FLAG -96 -96 0
FLAG -96 -144 7
FLAG 288 -16 7
FLAG -96 -16 6
FLAG 288 -144 6
FLAG -16 -256 0
FLAG 768 0 4
IOPIN 768 0 Out
FLAG 592 96 0
FLAG 640 96 0
FLAG -272 -240 0
FLAG -304 -336 0
FLAG -496 -352 11
IOPIN -496 -352 Out
FLAG -272 0 0
FLAG -304 -96 0
FLAG -496 -160 16
IOPIN -496 -160 In
FLAG -496 -112 12
IOPIN -496 -112 Out
FLAG 208 -256 0
FLAG 416 -640 14
IOPIN 416 -640 In
FLAG 384 -640 3
IOPIN 384 -640 In
FLAG -496 -400 9
IOPIN -496 -400 In
FLAG -272 224 0
FLAG -304 128 0
FLAG -416 64 9
FLAG -496 112 10
IOPIN -496 112 Out
FLAG 560 -352 14
FLAG 544 -320 3
FLAG 768 -352 2
IOPIN 768 -352 Out
FLAG 480 -544 14
FLAG 480 -480 3
FLAG 768 -464 15
IOPIN 768 -464 Out
FLAG 784 -224 13
IOPIN 784 -224 Out
SYMBOL sw -48 -64 M180
SYMATTR InstName S1
SYMBOL sw 240 64 R180
SYMATTR InstName S2
SYMBOL sw 240 -64 R180
SYMATTR InstName S3
SYMBOL sw -48 64 M180
SYMATTR InstName S4
SYMBOL cap 128 -80 R90
WINDOW 0 0 32 VBottom 0
WINDOW 3 32 32 VTop 0
SYMATTR InstName C1
SYMATTR Value 10p
SYMBOL bi2 80 -256 M270
WINDOW 3 -32 40 VBottom 0
WINDOW 0 32 40 VTop 0
SYMATTR Value I=I(R1)*36
SYMATTR InstName B1
SYMBOL bv 592 0 M0
WINDOW 3 24 104 Invisible 0
SYMATTR Value V=ddt(V(6,7))>0 ? 5 : 0
SYMATTR InstName B2
SYMATTR Value2 Tripdt=0.007u Tripdv=0.007m
SYMBOL res 624 -16 R0
SYMATTR InstName R3
SYMATTR Value 1G
SYMBOL res -288 -336 R0
SYMATTR InstName R_by-pass-1
SYMATTR Value 2.7k
SYMBOL g -304 -432 R0
WINDOW 3 -475 544 Invisible 0
WINDOW 0 -37 9 Left 0
SYMATTR Value TABLE(0.05, 0.001m) (0.31, 0.005m) (0.5, 0.011m) (2.29V, 0.091m) (3V, 0.12m)
SYMATTR InstName G1
SYMBOL res -288 -96 R0
SYMATTR InstName R_by-pass-2
SYMATTR Value 2.7k
SYMBOL g -304 -192 R0
WINDOW 3 -475 544 Invisible 0
WINDOW 0 -41 9 Left 0
SYMATTR Value TABLE(0.05, 0.001m) (0.31, 0.005m) (0.5, 0.011m) (2.29V, 0.091m) (3V, 0.12m)
SYMATTR InstName G2
SYMBOL bi2 112 -256 M90
WINDOW 3 32 40 VTop 0
WINDOW 0 -32 40 VBottom 0
SYMATTR Value I=I(R2)*90
SYMATTR InstName B3
SYMBOL Digital\\phidet 640 -224 R0
WINDOW 3 0 64 Invisible 0
SYMATTR Value Vhigh={Vhigh1}
SYMATTR InstName A1
SYMATTR Value2 Td={td1} ref={ref1}
SYMBOL res -288 128 R0
SYMATTR InstName R_by-pass-3
SYMATTR Value 2.7k
SYMBOL g -304 32 R0
WINDOW 3 -475 544 Invisible 0
WINDOW 0 -25 14 Left 0
SYMATTR Value 1
SYMATTR InstName G3
SYMBOL Digital\\xor 624 -400 R0
WINDOW 3 0 0 Invisible 0
SYMATTR Value Vhigh={Vhigh1}
SYMATTR InstName A2
SYMBOL Digital\\srflop 640 -560 R0
WINDOW 3 -40 28 Invisible 0
SYMATTR Value Vhigh={Vhigh2} ref={ref2}
SYMATTR InstName A3
SYMBOL Digital\\buf 496 -608 R0
WINDOW 3 8 120 Invisible 0
SYMATTR Value Vhigh={Vhigh2} ref={ref2}
SYMATTR InstName A4
SYMATTR Value2 Trise={Trise2} Tfall={Tfall2}
SYMBOL Digital\\buf 496 -544 R0
WINDOW 3 8 120 Invisible 0
SYMATTR Value Vhigh={Vhigh2} ref={ref2}
SYMATTR InstName A5
SYMATTR SpiceLine Td={Td2}
SYMBOL res -368 -368 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R1
SYMATTR Value 1n
SYMBOL res -368 -128 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 1n
TEXT -472 -536 Left 0 !.ic V(6)=0.5 V(Q)=0 V(_Q)=5\n.params: Vhigh1=5 ref1=2.5 Td1=50n Vhigh2=5 ref2=0.5 Td2=50n Trise2=5n Tfall2=5n\n.model SW SW(Ron=5 Roff=1Meg Vt=500m Vh=600m)
TEXT -632 -432 Left 0 ;9 --- VCO_in
TEXT 760 -32 Left 0 ;4 --VCO_out
TEXT 616 -144 Left 0 ;13 --Phase_COMP II OUT
TEXT 440 -176 Left 0 ;3 --COMP_in
TEXT -552 -200 Left 0 ;VCC
TEXT 432 -280 Left 0 ;14 --(VCO)SIG_in
TEXT -600 80 Left 0 ;DEM_OUT
TEXT -480 -632 Left 0 ;Paksutov Konstantin, Ulyanovsk State University, aka Pogankin@yahoo.com
TEXT -480 -856 Left 0 ;Hello, Helmut. I wrote CD54/74HC/HCT4046A behavioral model.\nApproximation for F(VCO_in) is made by:\nhttp://www.fairchildsemi.com/ds/74/74VHC4046.pdf (p.6)\nand is not enough correct.  Please, send me your note\nif possible to complete this work.Other circuit ideas are taken from:\nhttp://www.ee.nmt.edu/~thomas/data_sheets/phase-ll-scha003b.pdf\n(Application Report SCHA003B - September 2002 by W. M. Austin)\nand from LTSPice group.
RECTANGLE Normal 752 256 -480 -608