* Z:\home\khalils\Downloads\files\data\raw_asc\LTC1050A.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\LTC1050A.asy)
* Library below included based on ModelFile attribute of instance XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LT1009.asy)
Q2 N003 N004 N002 0 MAT-02
B1 Exact 0 V=-Log10(V(in)/10m)
XU3 N006 0 NC_01 LT1009 ;pnba VCC)VEE)ADJ
V3 +V 0 5
R2 N001 IN 10K
R3 N007 N004 2Meg
D1 N007 N005 1N4148
R5 N006 N003 2.5Meg
R4 N004 0 1K
V1 IN 0 0
V2 -V 0 -5
C2 N003 N005 22p
R1 N004 OUT 15.7K
R6 +V N006 25K
Q1 N001 0 N002 0 MAT-02
R7 N002 N005 3K
XU1 0 N001 +V -V OUT LTC1050 ;pnba In+)In-)V+)V-)OUT
XU2 0 N003 +V -V N005 LTC1050 ;pnba In+)In-)V+)V-)OUT
C1 OUT N001 220p
.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 704 0 624 0
WIRE 864 0 800 0
WIRE 624 16 624 0
WIRE 288 80 288 64
WIRE 752 112 752 64
WIRE 752 112 416 112
WIRE 992 128 992 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 784 144 624 144
WIRE 864 144 864 0
WIRE 864 144 848 144
WIRE -224 160 -224 144
WIRE 128 208 128 192
WIRE 768 208 768 192
WIRE 80 224 80 144
WIRE 96 224 80 224
WIRE 864 224 864 144
WIRE 864 224 800 224
WIRE 880 224 864 224
WIRE 992 224 992 208
WIRE 992 224 960 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 736 240 624 240
WIRE 992 240 992 224
WIRE -224 256 -224 240
WIRE 96 256 80 256
WIRE 816 256 800 256
WIRE 416 272 416 240
WIRE 128 288 128 272
WIRE 768 288 768 272
WIRE 992 320 992 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 608 0 R0
SYMATTR InstName R7
SYMATTR Value 3K
SYMBOL References\\LT1009 992 272 R0
SYMATTR InstName U3
SYMBOL npn 800 64 M270
WINDOW 0 35 49 VTop 2
WINDOW 3 -4 38 VLeft 2
SYMATTR InstName Q2
SYMATTR Value MAT-02
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 voltage -256 352 R0
SYMATTR InstName V2
SYMATTR Value -5
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 opamps\\LTC1050A 768 176 M0
SYMATTR InstName U2
SYMBOL bv 0 368 R0
SYMATTR InstName B1
SYMATTR Value V=-Log10(V(in)/10m)
SYMBOL res 976 112 R0
SYMATTR InstName R6
SYMATTR Value 25K
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 848 128 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C2
SYMATTR Value 22p
SYMBOL voltage -160 352 R0
SYMATTR InstName V3
SYMATTR Value 5
SYMBOL res 400 256 R0
SYMATTR InstName R4
SYMATTR Value 1K
SYMBOL res 80 128 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value 10K
SYMBOL diode 544 256 R270
WINDOW 0 32 32 VTop 2
WINDOW 3 0 32 VBottom 2
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL opamps\\LTC1050A 128 176 R0
SYMATTR InstName U1
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 -224 144 R0
SYMATTR InstName V1
SYMATTR Value 0
SYMBOL res 976 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 768 192 +V
FLAG 768 288 -V
FLAG 816 256 0
FLAG 992 320 0
FLAG 992 112 +V
FLAG -224 144 IN
FLAG 304 384 OUT
FLAG 0 480 0
FLAG 32 352 Exact
TEXT 584 368 Left 2 !.dc dec V1 10u 10 10
TEXT 368 -16 Bottom 2 ;6 Decade Log Amplifier