* Z:\home\khalils\Downloads\files\data\raw_asc\2399f33ca3a6_Draft44.asc
* Generated by LTspice 26.0.1 for Windows.
* minus
* the problem with this is that the bjts are not temp matched.
* Note the current through R16. has high range. eg. 0mA to 1.6mA.\nvery good.\nexcept not. when use idealized current source.
* For integrator output have two choices.\n1. tie inverting input to gnd. and drive non-inverting input with op-amp.\n2. have the whole section respond as non-inverting gain follower\n with local feedback.\n3. configure it like compound integrator. where both inverting inputs are tied.
Q8 N005 N006 P003 0 NPN
D1 N001 P004 D
R11 P001 VOUT 100R
I2 VCC2 N001 1mA
Q5 VCC2 N001 P001 0 NPN
R16 P003 VEE2 10R
D2 P004 N005 D
VIN1 N003 0 PULSE(-5 5 0 100n 100n 0.2ms 0.4ms 7)
R9 N006 VEE2 2k
Q6 VEE2 N005 P002 0 PNP
R12 VOUT P002 100R
R15 0 N004 8k
Q4 N006 N003 N002 0 PNP
R14 VOUT N004 100k
Q7 VEE2 N004 N002 0 PNP
V4 0 VEE2 100
V1 VCC2 0 100
I1 VCC2 N002 1mA
.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 3ms
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1508 952
WIRE -256 -288 -336 -288
WIRE -336 -272 -336 -288
WIRE -256 -272 -256 -288
WIRE 1120 -192 704 -192
WIRE 1120 48 1120 -192
WIRE 704 96 704 -112
WIRE 1056 96 704 96
WIRE 1296 224 1120 224
WIRE 1120 288 1120 224
WIRE 256 304 256 -96
WIRE 256 304 96 304
WIRE 32 352 -144 352
WIRE 432 352 320 352
WIRE 704 416 704 224
WIRE 1056 416 704 416
WIRE 704 592 704 416
WIRE 96 640 96 400
WIRE 640 640 96 640
WIRE 96 768 96 720
WIRE 256 768 256 400
WIRE 256 768 96 768
WIRE 704 768 256 768
WIRE 1008 768 704 768
WIRE 1120 768 1120 464
WIRE 1120 768 1008 768
SYMBOL voltage -144 336 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -461 138 Left 2
SYMATTR Value PULSE(-5 5 0 100n 100n 0.2ms 0.4ms 7)
SYMATTR InstName VIN1
SYMBOL current 704 -192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I2
SYMATTR Value 1mA
SYMBOL res 688 672 R0
SYMATTR InstName R16
SYMATTR Value 10R
SYMBOL pnp 1056 464 M180
SYMATTR InstName Q6
SYMBOL npn 640 592 R0
SYMATTR InstName Q8
SYMBOL npn 1056 48 R0
SYMATTR InstName Q5
SYMBOL pnp 320 400 R180
SYMATTR InstName Q7
SYMBOL res 448 448 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R15
SYMATTR Value 8k
SYMBOL voltage -336 -384 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 42 41 Left 2
SYMATTR Value 100
SYMATTR InstName V1
SYMBOL res 1104 128 R0
SYMATTR InstName R11
SYMATTR Value 100R
SYMBOL res 80 624 R0
SYMATTR InstName R9
SYMATTR Value 2k
SYMBOL res 1104 272 R0
SYMATTR InstName R12
SYMATTR Value 100R
SYMBOL diode 688 96 R0
SYMATTR InstName D1
SYMBOL current 256 -176 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value 1mA
SYMBOL res 528 336 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R14
SYMATTR Value 100k
SYMBOL pnp 32 400 M180
SYMATTR InstName Q4
SYMBOL diode 688 160 R0
SYMATTR InstName D2
SYMBOL voltage -336 -288 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 36 39 Left 2
SYMATTR InstName V4
SYMATTR Value 100
FLAG -256 -272 0
FLAG -336 -368 VCC2
FLAG -336 -192 VEE2
FLAG 704 -192 VCC2
FLAG 1008 768 VEE2
FLAG 1296 224 VOUT
FLAG -144 432 0
FLAG 432 432 0
FLAG 256 -176 VCC2
FLAG 512 352 VOUT
TEXT -112 -392 Left 2 !.tran 3ms
TEXT 336 320 Left 2 ;minus
TEXT -680 592 Left 2 ;the problem with this is that the bjts are not temp matched.
TEXT 576 832 Left 2 ;Note the current through R16. has high range. eg. 0mA to 1.6mA.\nvery good.\nexcept not. when use idealized current source.
TEXT -824 704 Left 2 ;For integrator output have two choices.\n1. tie inverting input to gnd. and drive non-inverting input with op-amp.\n2. have the whole section respond as non-inverting gain follower\n    with local feedback.\n3. configure it like compound integrator. where both inverting inputs are tied.