* Z:\home\khalils\Downloads\files\data\raw_asc\LTZ1000.asc
* Generated by LTspice 26.0.1 for Windows.
* A lengthy .tran often gives more accurate DC information than a .op.\nTo see drift vs temp, type Ctrl-L, right click=>Plot .step'ed .meas data\nDrift is minimal for R=400K
* Library below included based on ModelFile attribute of instance XU2, XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\LT1013.asy)
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\LTZ1000.asy)
R4 N006 N010 1Meg
V1 +V 0 15
D1 N011 0 1N4148
C1 N010 N005 .1
D2 N008 OUT 1N4148
R1 OUT N002 70K
R8 N007 0 1K
R3 N004 N003 1K
R9 N009 N005 {R}
R2 N009 0 120
C3 N001 0 .1
C2 N002 0 .002
R7 OUT N007 13K
XU1 N005 N011 OUT N009 N002 N007 0 N001 LTZ1000 ;pnba 1)2)3)4)5)6)7)8
R5 OUT N001 70K
R6 N007 N006 10K
Q1 +V N003 N005 0 2N3904
XU3 N002 N009 +V 0 N008 LT1013 ;pnba In+)In-)V+)V-)OUT
XU2 N001 N006 +V 0 N004 LT1013 ;pnba In+)In-)V+)V-)OUT
.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 1000 startup
.meas out param V(out) ; final value of V(out)
.options numdgt=15 measdgt=10 plotwinsize=0
.temp -30 -20 -10 0 10 20 30 40
.step param R list 300K 400K 500K
.lib LT1013.sub
.lib LTZ1000.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1644 680
WIRE 0 -64 -208 -64
WIRE 64 -64 0 -64
WIRE 128 -64 64 -64
WIRE 416 -64 128 -64
WIRE -208 -48 -208 -64
WIRE 0 -48 0 -64
WIRE 128 -48 128 -64
WIRE 416 -16 416 -64
WIRE -768 16 -768 0
WIRE -560 32 -560 16
WIRE -320 48 -528 48
WIRE 0 48 0 32
WIRE 0 48 -320 48
WIRE 128 48 128 32
WIRE 256 48 128 48
WIRE -688 64 -704 64
WIRE -592 64 -608 64
WIRE -64 64 -144 64
WIRE -448 80 -528 80
WIRE -352 80 -448 80
WIRE -64 80 -64 64
WIRE 0 80 0 48
WIRE 64 80 64 -64
WIRE 128 80 128 48
WIRE -560 112 -560 96
WIRE -448 112 -448 80
WIRE 352 128 352 112
WIRE 256 144 256 48
WIRE 288 144 256 144
WIRE 320 144 288 144
WIRE -352 160 -352 80
WIRE -304 160 -352 160
WIRE -208 160 -208 32
WIRE -208 160 -224 160
WIRE -112 160 -208 160
WIRE 416 160 416 48
WIRE 416 160 384 160
WIRE 320 176 256 176
WIRE -320 208 -320 48
WIRE -208 208 -208 160
WIRE 352 208 352 192
WIRE -448 224 -448 192
WIRE 288 224 288 144
WIRE -112 288 -112 160
WIRE 0 288 0 272
WIRE 0 288 -112 288
WIRE -768 320 -768 112
WIRE -448 320 -448 288
WIRE -448 320 -768 320
WIRE -416 320 -448 320
WIRE 64 320 64 272
WIRE 64 320 -336 320
WIRE 256 320 256 176
WIRE 256 320 64 320
WIRE -64 336 -64 272
WIRE 64 336 64 320
WIRE 400 336 400 320
WIRE -768 384 -768 320
WIRE -144 384 -144 64
WIRE -144 384 -768 384
WIRE -320 432 -320 272
WIRE -208 432 -208 288
WIRE -208 432 -320 432
WIRE -64 432 -64 400
WIRE -64 432 -208 432
WIRE 64 432 64 416
WIRE 64 432 -64 432
WIRE 128 432 128 272
WIRE 128 432 64 432
WIRE 288 432 288 288
WIRE 288 432 128 432
WIRE 400 432 400 416
WIRE 288 448 288 432
SYMBOL res -208 144 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R6
SYMATTR Value 10K
SYMBOL opamps\\LT1013 -560 128 R180
WINDOW 0 -23 111 Right 2
WINDOW 3 -17 17 Right 2
SYMATTR InstName U2
SYMBOL opamps\\LT1013 352 224 M180
WINDOW 0 21 92 Left 2
WINDOW 3 25 41 Left 2
SYMATTR InstName U3
SYMBOL res -224 -64 R0
SYMATTR InstName R7
SYMATTR Value 13K
SYMBOL res -224 192 R0
SYMATTR InstName R8
SYMATTR Value 1K
SYMBOL diode -80 336 R0
SYMATTR InstName D1
SYMATTR Value 1N4148
SYMBOL res 48 320 R0
WINDOW 3 25 81 Left 2
SYMATTR Value 120
SYMATTR InstName R2
SYMBOL npn -704 16 M0
WINDOW 0 44 -8 Right 2
WINDOW 3 49 105 Right 2
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL res -464 96 R0
SYMATTR InstName R4
SYMATTR Value 1Meg
SYMBOL cap 272 224 R0
SYMATTR InstName C2
SYMATTR Value .002
SYMBOL References\\LTZ1000 32 176 R0
SYMATTR InstName U1
SYMBOL res 112 -64 R0
SYMATTR InstName R1
SYMATTR Value 70K
SYMBOL diode 400 48 M180
WINDOW 0 24 64 Left 2
WINDOW 3 24 0 Left 2
SYMATTR InstName D2
SYMATTR Value 1N4148
SYMBOL res -320 304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R9
SYMATTR Value {R}
SYMBOL cap -336 208 R0
SYMATTR InstName C3
SYMATTR Value .1
SYMBOL res -16 -64 R0
WINDOW 3 29 82 Left 2
SYMATTR Value 70K
SYMATTR InstName R5
SYMBOL cap -464 224 R0
SYMATTR InstName C1
SYMATTR Value .1
SYMBOL voltage 400 320 R0
SYMATTR InstName V1
SYMATTR Value 15
SYMBOL res -592 48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 1K
FLAG -560 112 +V
FLAG 400 320 +V
FLAG 400 432 0
FLAG -768 0 +V
FLAG -560 16 0
FLAG 352 112 0
FLAG 352 208 +V
FLAG 64 -64 OUT
FLAG 288 448 0
TEXT -776 432 Left 2 !.tran 1000 startup\n.meas out param V(out) ; final value of V(out)\n.options numdgt=15 measdgt=10 plotwinsize=0\n.temp -30 -20 -10 0 10 20 30 40\n.step param R list 300K 400K 500K
TEXT -112 -112 Bottom 2 ;A lengthy .tran often gives more accurate DC information than a .op.\nTo see drift vs temp, type Ctrl-L, right click=>Plot .step'ed .meas data\nDrift is minimal for R=400K