* SPICE netlist
Vlm35 N013 N015 0
Vbias N015 0 0.175
V3 N002 N003 12
Q1 N012 N013 N014 0 BC547B
R2 N007 N012 5k
R3 N014 0 100
R1 N012 0 10k
XU1 N001 N004 N002 N008 N005 LT1001 ;pnba In+)In-)V+)V-)OUT
XU2 N001 N011 N010 N016 N003 LT1001 ;pnba In+)In-)V+)V-)OUT
V1 N003 N008 12
Vthreshold2 N004 0 9
Vthreshold1 N011 0 6
D1 N005 N006 D
D2 N009 N005 D
R4 N009 0 10k
R5 0 N006 10k
V2 N010 0 12
V4 0 N016 12
V5 N007 0 12
Q2 N007 N012 N001 0 NPN
R6 N007 N012 1k
R7 N001 0 1k
.dc lm35 0 1.2 1m

* LTspice schematic (.asc)
Version 4
SHEET 1 3200 1184
WIRE 112 -592 -592 -592
WIRE 688 -416 -240 -416
WIRE -240 -384 -240 -416
WIRE -1184 -288 -1184 -368
WIRE -240 -256 -240 -304
WIRE -240 -256 -400 -256
WIRE 688 -256 688 -416
WIRE 656 -240 336 -240
WIRE 1200 -224 720 -224
WIRE 1296 -224 1200 -224
WIRE 1440 -224 1360 -224
WIRE 1600 -224 1520 -224
WIRE -240 -208 -240 -256
WIRE 112 -208 112 -592
WIRE 656 -208 112 -208
WIRE -1184 -144 -1184 -208
WIRE -1184 -144 -1424 -144
WIRE -960 -144 -1184 -144
WIRE 1200 -144 1200 -224
WIRE -240 -96 -240 -128
WIRE 688 -96 688 -192
WIRE 688 -96 -240 -96
WIRE -960 -48 -960 -144
WIRE -960 -48 -1104 -48
WIRE -400 -48 -400 -256
WIRE 832 -48 -400 -48
WIRE 1200 -32 1200 -80
WIRE -1424 0 -1424 -144
WIRE 688 0 -240 0
WIRE -1104 16 -1104 -48
WIRE -240 80 -240 0
WIRE -960 112 -960 -48
WIRE 688 128 688 0
WIRE 1200 128 1200 48
WIRE 656 144 512 144
WIRE -1424 160 -1424 80
WIRE -1264 160 -1424 160
WIRE -1104 160 -1104 96
WIRE -1104 160 -1264 160
WIRE -1024 160 -1104 160
WIRE 832 160 832 -48
WIRE 832 160 720 160
WIRE -1424 176 -1424 160
WIRE 112 176 112 -208
WIRE 656 176 112 176
WIRE -1264 192 -1264 160
WIRE -240 208 -240 160
WIRE -240 208 -336 208
WIRE -1488 224 -1600 224
WIRE -960 240 -960 208
WIRE -592 240 -592 -592
WIRE -592 240 -960 240
WIRE -960 256 -960 240
WIRE -1600 272 -1600 224
WIRE -240 272 -240 208
WIRE -1424 304 -1424 272
WIRE -1264 320 -1264 272
WIRE -960 384 -960 336
WIRE -1600 400 -1600 352
WIRE -240 400 -240 352
WIRE 688 400 688 192
WIRE 688 400 -240 400
WIRE -1424 416 -1424 384
WIRE 336 448 336 -240
WIRE 512 448 512 144
WIRE -1600 528 -1600 480
WIRE 336 592 336 528
WIRE 512 592 512 528
FLAG -1264 320 0
FLAG -1600 528 0
FLAG -1424 416 0
FLAG -336 208 0
FLAG 336 592 0
FLAG 512 592 0
FLAG 1600 -224 0
FLAG 1200 128 0
FLAG -1184 -368 0
FLAG -960 384 0
SYMBOL voltage -1600 256 R0
SYMATTR InstName lm35
SYMATTR Value 0
SYMBOL voltage -1600 384 R0
SYMATTR InstName bias
SYMATTR Value 0.175
SYMBOL voltage -240 -400 R0
SYMATTR InstName V3
SYMATTR Value 12
SYMBOL npn -1488 176 R0
SYMATTR InstName Q1
SYMATTR Value BC547B
SYMBOL res -1440 -16 R0
SYMATTR InstName R2
SYMATTR Value 5k
SYMBOL res -1440 288 R0
SYMATTR InstName R3
SYMATTR Value 100
SYMBOL res -1280 176 R0
SYMATTR InstName R1
SYMATTR Value 10k
SYMBOL OpAmps\\LT1001 688 -288 R0
SYMATTR InstName U1
SYMBOL OpAmps\\LT1001 688 96 R0
SYMATTR InstName U2
SYMBOL voltage -240 -224 R0
SYMATTR InstName V1
SYMATTR Value 12
SYMBOL voltage 336 432 R0
SYMATTR InstName threshold2
SYMATTR Value 9
SYMBOL voltage 512 432 R0
SYMATTR InstName threshold1
SYMATTR Value 6
SYMBOL diode 1296 -208 R270
SYMATTR InstName D1
SYMBOL diode 1216 -80 R180
SYMATTR InstName D2
SYMBOL res 1184 -48 R0
SYMATTR InstName R4
SYMATTR Value 10k
SYMBOL res 1536 -240 R90
SYMATTR InstName R5
SYMATTR Value 10k
SYMBOL voltage -240 64 R0
SYMATTR InstName V2
SYMATTR Value 12
SYMBOL voltage -240 256 R0
SYMATTR InstName V4
SYMATTR Value 12
SYMBOL voltage -1184 -192 R180
SYMATTR InstName V5
SYMATTR Value 12
SYMBOL npn -1024 112 R0
SYMATTR InstName Q2
SYMBOL res -1120 0 R0
SYMATTR InstName R6
SYMATTR Value 1k
SYMBOL res -976 240 R0
SYMATTR InstName R7
SYMATTR Value 1k