* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1050.asc
* Generated by LTspice 26.0.1 for Windows.
* 6 Decade Log Amplifier
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LTC1050.asy)
* Library below included based on ModelFile attribute of instance XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LT1009.asy)
C1 OUT N001 220p
XU3 N006 0 NC_01 LT1009 ;pnba VCC)VEE)ADJ
V3 +V 0 5
R6 +V N006 25K
C2 N003 N005 22p
B1 Exact 0 V=-Log10(V(in)/10m)
Q1 N001 0 N002 0 MAT-02
Q2 N003 N004 N002 0 MAT-02
R1 N004 OUT 15.7K
R2 N001 IN 10K
R5 N006 N003 2.5Meg
R7 N002 N005 3K
XU1 0 N001 +V -V OUT LTC1050 ;pnba In+)In-)V+)V-)OUT
R4 N004 0 1K
R3 N007 N004 2Meg
V2 -V 0 -5
XU2 0 N003 +V -V N005 LTC1050 ;pnba In+)In-)V+)V-)OUT
D1 N007 N005 1N4148
V1 IN 0 0
.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
.dc dec V1 10u 10 10
.lib LTC.lib
.lib LTC3.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1616 680
WIRE 240 0 80 0
WIRE 624 0 336 0
WIRE 688 0 624 0
WIRE 848 0 784 0
WIRE 624 16 624 0
WIRE 288 80 288 64
WIRE 736 112 736 64
WIRE 736 112 416 112
WIRE 976 128 976 112
WIRE -16 144 -224 144
WIRE 80 144 80 0
WIRE 80 144 64 144
WIRE 176 144 80 144
WIRE 272 144 240 144
WIRE 624 144 624 96
WIRE 768 144 624 144
WIRE 848 144 848 0
WIRE 848 144 832 144
WIRE -224 160 -224 144
WIRE 128 208 128 192
WIRE 752 208 752 192
WIRE 80 224 80 144
WIRE 96 224 80 224
WIRE 848 224 848 144
WIRE 848 224 784 224
WIRE 864 224 848 224
WIRE 976 224 976 208
WIRE 976 224 944 224
WIRE 272 240 272 144
WIRE 272 240 160 240
WIRE 304 240 272 240
WIRE 416 240 416 112
WIRE 416 240 384 240
WIRE 448 240 416 240
WIRE 544 240 528 240
WIRE 624 240 624 144
WIRE 624 240 608 240
WIRE 720 240 624 240
WIRE 976 240 976 224
WIRE -224 256 -224 240
WIRE 96 256 80 256
WIRE 800 256 784 256
WIRE 416 272 416 240
WIRE 128 288 128 272
WIRE 752 288 752 272
WIRE 976 320 976 304
WIRE 32 352 0 352
WIRE -256 368 -256 352
WIRE -160 368 -160 352
WIRE 416 368 416 352
WIRE 0 384 0 352
WIRE 272 384 272 240
WIRE 304 384 272 384
WIRE -256 464 -256 448
WIRE -160 464 -160 448
WIRE 0 480 0 464
SYMBOL res 400 256 R0
SYMATTR InstName R4
SYMATTR Value 1K
SYMBOL cap 240 128 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 220p
SYMBOL cap 832 128 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 22p
SYMBOL res 80 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL voltage -224 144 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL bv 0 368 R0
SYMATTR InstName B1
SYMATTR Value V=-Log10(V(in)/10m)
SYMBOL res 544 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 2Meg
SYMBOL voltage -256 352 R0
SYMATTR InstName V2
SYMATTR Value -5
SYMBOL opamps\\LTC1050 128 176 R0
SYMATTR InstName U1
SYMBOL res 960 112 R0
SYMATTR InstName R6
SYMATTR Value 25K
SYMBOL opamps\\LTC1050 752 176 M0
SYMATTR InstName U2
SYMBOL res 608 0 R0
SYMATTR InstName R7
SYMATTR Value 3K
SYMBOL res 400 224 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R1
SYMATTR Value 15.7K
SYMBOL npn 784 64 M270
WINDOW 0 39 51 VTop 2
WINDOW 3 -4 38 VLeft 2
SYMATTR InstName Q2
SYMATTR Value MAT-02
SYMBOL npn 240 64 R270
WINDOW 0 39 51 VTop 2
WINDOW 3 -5 66 VRight 2
SYMATTR InstName Q1
SYMATTR Value MAT-02
SYMBOL diode 544 256 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL voltage -160 352 R0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL References\\LT1009 976 272 R0
SYMATTR InstName U3
SYMBOL res 960 208 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 2.5Meg
FLAG -160 464 0
FLAG 128 192 +V
FLAG -160 352 +V
FLAG 128 288 -V
FLAG -256 464 0
FLAG -256 352 -V
FLAG -224 256 0
FLAG 80 256 0
FLAG 288 80 0
FLAG 416 368 0
FLAG 752 192 +V
FLAG 752 288 -V
FLAG 800 256 0
FLAG 976 320 0
FLAG 976 112 +V
FLAG -224 144 IN
FLAG 304 384 OUT
FLAG 0 480 0
FLAG 32 352 Exact
TEXT 480 424 Left 2 !.dc dec V1 10u 10 10
TEXT 368 -16 Bottom 2 ;6 Decade Log Amplifier