* Z:\home\khalils\Downloads\files\data\raw_asc\LT1166.asc
* Generated by LTspice 26.0.1 for Windows.
Q1 Vbot N014 N016 0 2N2222
Q2 N014 N015 N017 0 2N2222
Q3 Vtop N004 N003 0 2N2907
Q4 N004 N002 N001 0 2N2907
R1 N003 N002 100
R2 N016 N015 100
R3 N004 N014 5.6K
R4 N009 vIN 4.3k
V1 vIN 0 SINE(0 1 1K) AC 1
R5 N001 N003 47
R6 N017 N016 47
R7 N005 Vtop 100
V2 N001 0 15
C1 0 Vtop 500p
R10 N013 Vbot 100
C2 0 Vbot 500p
V3 N017 0 -15
Rload vOUT 0 10
R8 vOUT N010 1
R9 N008 vOUT 1
Q5 N001 N005 N006 0 2N2222
D1 N006 N007 1N4007
Q6 N001 N007 N008 0 TIP29
R11 N007 vOUT 150
R12 vOUT N011 150
Q7 N017 N013 N012 0 2N2907
D2 N011 N012 1N4007
QTIP30 N017 N011 N010 0 PNP
XU1 Vtop N009 vOUT Vbot N010 N010 N008 N008 LT1166 ;pnba Vtop)Vin)Vout)Vbottom)Sense-)Ilim-)Ilim+)Sense+
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 10m startup
* .ac oct 1000 10 100meg
.MODEL TIP30 PNP(Is=51.23f Xti=3 Eg=1.11 Vaf=100 Bf=434.1 Ise=51.23f Ne=1.22
+ Ikf=.3883 Nk=.5544 Xtb=2.2 Br=55.47 Isc=51.23f Nc=1.205
+ Ikr=10.87 Rc=.3443 Cjc=136.9p Mjc=.3155 Vjc=.75 Fc=.5
+ Cje=179.9p Mje=.4294 Vje=.75 Tr=20.25n Tf=13.05n Itf=6.85
+ Xtf=1.573 Vtf=10 Rb=.1)
.MODEL TIP29 NPN(Is=2.447p Xti=3 Eg=1.11 Vaf=100 Bf=208.2 Ise=70.69p
+ Ne=1.565 Ikf=.9743 Nk=.6134 Xtb=1.5 Br=12.59 Isc=11.68n
+ Nc=1.835 Ikr=3.86 Rc=.4685 Cjc=142p Mjc=.4353 Vjc=.75 Fc=.5
+ Cje=188.5p Mje=.4878 Vje=.75 Tr=194.2n Tf=19.85n Itf=164.1
+ Xtf=5.945 Vtf=10 Rb=.1)
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\SpecialFunctions\LT1166.asy)
.lib LT1166.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2036 2440
WIRE 320 -480 -80 -480
WIRE 400 -480 320 -480
WIRE 528 -480 400 -480
WIRE 704 -480 528 -480
WIRE -80 -464 -80 -480
WIRE 400 -464 400 -480
WIRE 32 -416 -16 -416
WIRE 144 -416 112 -416
WIRE 208 -416 144 -416
WIRE 320 -416 320 -480
WIRE 320 -416 288 -416
WIRE 144 -368 144 -416
WIRE 400 -368 400 -384
WIRE 288 -336 288 -352
WIRE -80 -320 -80 -368
WIRE 80 -320 -80 -320
WIRE 528 -288 528 -480
WIRE 144 -240 144 -272
WIRE 224 -240 144 -240
WIRE 288 -240 288 -272
WIRE 288 -240 224 -240
WIRE 352 -240 288 -240
WIRE 464 -240 432 -240
WIRE 528 -144 528 -192
WIRE 704 -80 704 -480
WIRE 528 -32 528 -80
WIRE 640 -32 528 -32
WIRE 144 64 144 -240
WIRE 368 112 272 112
WIRE 704 112 704 16
WIRE 704 112 368 112
WIRE 528 144 528 -32
WIRE 704 144 704 112
WIRE 368 192 368 112
WIRE 368 192 272 192
WIRE -192 272 -272 272
WIRE 16 272 -112 272
WIRE 528 272 528 224
WIRE 528 272 272 272
WIRE 704 272 704 224
WIRE 704 272 528 272
WIRE 816 272 704 272
WIRE 816 288 816 272
WIRE -272 304 -272 272
WIRE 528 304 528 272
WIRE 704 304 704 272
WIRE 368 352 272 352
WIRE 816 384 816 368
WIRE -272 416 -272 384
WIRE -80 432 -80 -320
WIRE 368 432 368 352
WIRE 368 432 272 432
WIRE 704 432 704 384
WIRE 704 432 368 432
WIRE 704 512 704 432
WIRE 528 560 528 384
WIRE 640 560 528 560
WIRE 528 624 528 560
WIRE 528 752 528 688
WIRE 144 800 144 480
WIRE 224 800 144 800
WIRE 304 800 224 800
WIRE 352 800 304 800
WIRE 464 800 432 800
WIRE 144 816 144 800
WIRE 304 816 304 800
WIRE -80 864 -80 512
WIRE 80 864 -80 864
WIRE -80 880 -80 864
WIRE 304 896 304 880
WIRE 400 896 400 880
WIRE 32 928 -16 928
WIRE 144 928 144 912
WIRE 144 928 112 928
WIRE 192 928 144 928
WIRE 288 928 272 928
WIRE -80 992 -80 976
WIRE 288 992 288 928
WIRE 288 992 -80 992
WIRE 400 992 400 976
WIRE 400 992 288 992
WIRE 528 992 528 848
WIRE 528 992 400 992
WIRE 704 992 704 608
WIRE 704 992 528 992
FLAG -272 416 0
FLAG 400 -368 0
FLAG 288 -352 0
FLAG 304 896 0
FLAG 400 880 0
FLAG 816 384 0
FLAG 816 272 vOUT
FLAG -272 272 vIN
FLAG 224 -240 Vtop
FLAG 224 800 Vbot
SYMBOL npn 80 816 R0
WINDOW 0 48 30 Left 2
WINDOW 3 47 62 Left 2
SYMATTR InstName Q1
SYMATTR Value 2N2222
SYMBOL npn -16 880 M0
WINDOW 0 48 29 Left 2
WINDOW 3 49 60 Left 2
SYMATTR InstName Q2
SYMATTR Value 2N2222
SYMBOL pnp 80 -272 M180
WINDOW 0 50 65 Left 2
WINDOW 3 48 29 Left 2
SYMATTR InstName Q3
SYMATTR Value 2N2907
SYMBOL pnp -16 -368 R180
WINDOW 0 10 86 Right 2
WINDOW 3 42 -8 Right 2
SYMATTR InstName Q4
SYMATTR Value 2N2907
SYMBOL res 128 -432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 100
SYMBOL res 128 912 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 100
SYMBOL res -96 416 R0
SYMATTR InstName R3
SYMATTR Value 5.6K
SYMBOL res -96 256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 4.3k
SYMBOL voltage -272 288 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 2
SYMATTR Value2 AC 1
SYMATTR InstName V1
SYMATTR Value SINE(0 1 1K)
SYMBOL res 304 -432 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 47
SYMBOL res 288 912 R90
WINDOW 0 3 57 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 47
SYMBOL res 448 -256 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 100
SYMBOL voltage 400 -480 R0
SYMATTR InstName V2
SYMATTR Value 15
SYMBOL cap 272 -336 R0
WINDOW 3 24 53 Left 2
SYMATTR Value 500p
SYMATTR InstName C1
SYMBOL res 448 784 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 100
SYMBOL cap 288 880 M180
WINDOW 0 23 50 Left 2
WINDOW 3 25 12 Left 2
SYMATTR InstName C2
SYMATTR Value 500p
SYMBOL voltage 400 992 M180
WINDOW 0 28 93 Left 2
WINDOW 3 24 16 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value -15
SYMBOL res 800 272 R0
SYMATTR InstName Rload
SYMATTR Value 10
SYMBOL res 688 288 R0
SYMATTR InstName R8
SYMATTR Value 1
SYMBOL res 688 128 R0
SYMATTR InstName R9
SYMATTR Value 1
SYMBOL npn 464 -288 R0
SYMATTR InstName Q5
SYMATTR Value 2N2222
SYMBOL diode 512 -144 R0
SYMATTR InstName D1
SYMATTR Value 1N4007
SYMBOL npn 640 -80 R0
SYMATTR InstName Q6
SYMATTR Value TIP29
SYMBOL res 512 128 R0
SYMATTR InstName R11
SYMATTR Value 150
SYMBOL res 512 288 R0
SYMATTR InstName R12
SYMATTR Value 150
SYMBOL pnp 464 848 M180
SYMATTR InstName Q7
SYMATTR Value 2N2907
SYMBOL diode 512 624 R0
SYMATTR InstName D2
SYMATTR Value 1N4007
SYMBOL pnp 640 608 M180
SYMATTR InstName TIP30
SYMBOL LT1166 144 272 R0
SYMATTR InstName U1
TEXT -408 520 Left 2 !.tran 10m startup
TEXT -416 552 Left 2 ;.ac oct 1000 10 100meg
TEXT -176 1088 Left 2 !.MODEL TIP30        PNP(Is=51.23f Xti=3 Eg=1.11 Vaf=100 Bf=434.1 Ise=51.23f Ne=1.22\n+   Ikf=.3883 Nk=.5544 Xtb=2.2 Br=55.47 Isc=51.23f Nc=1.205\n+   Ikr=10.87 Rc=.3443 Cjc=136.9p Mjc=.3155 Vjc=.75 Fc=.5\n+   Cje=179.9p Mje=.4294 Vje=.75 Tr=20.25n Tf=13.05n Itf=6.85\n+   Xtf=1.573 Vtf=10 Rb=.1)
TEXT -192 1272 Left 2 !.MODEL TIP29       NPN(Is=2.447p Xti=3 Eg=1.11 Vaf=100 Bf=208.2 Ise=70.69p\n+   Ne=1.565 Ikf=.9743 Nk=.6134 Xtb=1.5 Br=12.59 Isc=11.68n\n+   Nc=1.835 Ikr=3.86 Rc=.4685 Cjc=142p Mjc=.4353 Vjc=.75 Fc=.5\n+   Cje=188.5p Mje=.4878 Vje=.75 Tr=194.2n Tf=19.85n Itf=164.1\n+   Xtf=5.945 Vtf=10 Rb=.1)