* Z:\home\khalils\Downloads\files\data\raw_asc\05637da46766_Temperature_measurement_circuit.asc
* Generated by LTspice 26.0.1 for Windows.
*Rg1 = 1900 ---> Ganho aprox. 4
* Library below included based on ModelFile attribute of instance XU1, XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\AD8421.asy)
;tran 0 1 0
;op 0 1 0
XU2 ref N007 N008 V_AI1 -18V 0 Vout +18V AD8421 ;pnba IN-)RG1)RG2)IN+)VEE)REF)OUT)VCC
V2 0 -5V 5
R6 ref 0 3k
RG1 N003 N004 1800
V4 0 -18V 18
R4 0 N005 {Rf2}
V3 +18V 0 18
RG2 N007 N008 4.2k
XU1 V- N003 N004 V+ -18V 0 V_AI1 +18V AD8421 ;pnba IN-)RG1)RG2)IN+)VEE)REF)OUT)VCC
R_Pt100 N002 0 {Rpt}
R2 N002 V+ {Rf4}
Rf1 N002 N001 {Rf1}
R3 N006 ref 2k
I1 N005 N001 {Is}
V1 +5V 0 5
R5 0 V- {Rf3}
V5V N006 0 5
.step temp -10 50 10
.param Ro 100
.param A 3.9083*10**-3
.param B -5.775*10**-7
.param Rpt=Ro*(1+A*temp+B*temp**2)
.param Rf1 Rfio
.param Rf2 Rfio
.param Rf3 Rfio
.param Rf4 Rfio
.param Is 5m
.param Rfio 10
.ac dec 10 1 1meg
.lib AD8421.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 2764 944
WIRE 480 80 384 80
WIRE 656 80 560 80
WIRE 432 176 432 160
WIRE 480 176 432 176
WIRE 656 176 656 80
WIRE 656 176 560 176
WIRE 1136 192 1088 192
WIRE 1776 192 1776 176
WIRE 1776 192 1760 192
WIRE 1888 192 1888 176
WIRE 1888 192 1872 192
WIRE 384 208 384 80
WIRE 656 208 656 176
WIRE 1776 208 1776 192
WIRE 1888 208 1888 192
WIRE 1136 224 1104 224
WIRE 1344 272 1312 272
WIRE 480 320 432 320
WIRE 656 320 656 288
WIRE 656 320 560 320
WIRE 1104 320 1104 304
WIRE 1136 320 1104 320
WIRE 432 336 432 320
WIRE 1136 352 1088 352
WIRE 384 416 384 288
WIRE 480 416 384 416
WIRE 656 416 656 320
WIRE 656 416 560 416
WIRE 656 448 656 416
WIRE 1152 624 1024 624
WIRE 1152 640 1152 624
WIRE 1392 656 1344 656
WIRE 1392 688 1360 688
WIRE 1024 704 1024 624
WIRE 1152 736 1152 720
WIRE 1184 736 1152 736
WIRE 1600 736 1568 736
WIRE 1152 752 1152 736
WIRE 1360 784 1360 768
WIRE 1392 784 1360 784
WIRE 1392 816 1344 816
WIRE 1024 848 1024 784
WIRE 1088 848 1024 848
WIRE 1152 848 1152 832
WIRE 1152 848 1088 848
WIRE 1088 864 1088 848
SYMBOL OpAmps\\AD8421 1424 736 R0
SYMATTR InstName U2
SYMBOL res 1136 736 R0
WINDOW 0 36 40 Invisible 2
WINDOW 3 -30 65 Left 2
SYMATTR InstName R6
SYMATTR Value 3k
SYMBOL res 1136 624 R0
WINDOW 0 36 40 Invisible 2
WINDOW 3 -28 39 Left 2
SYMATTR InstName R3
SYMATTR Value 2k
SYMBOL voltage 1888 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V3
SYMATTR Value 18
SYMBOL res 576 400 R90
WINDOW 0 62 115 Invisible 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value {Rf2}
SYMBOL res 576 160 R90
WINDOW 0 62 112 Invisible 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R2
SYMATTR Value {Rf4}
SYMBOL OpAmps\\AD8421 1168 272 R0
SYMATTR InstName U1
SYMBOL voltage 1776 80 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage 1776 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value 5
SYMBOL res 1088 208 R0
WINDOW 0 -61 41 Left 2
WINDOW 3 -56 73 Left 2
SYMATTR InstName RG1
SYMATTR Value 1800
SYMBOL res 640 192 R0
SYMATTR InstName R_Pt100
SYMATTR Value {Rpt}
SYMBOL voltage 1888 192 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 18
SYMBOL voltage 1024 688 R0
WINDOW 0 36 55 Left 2
WINDOW 3 24 96 Invisible 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName 5V
SYMATTR Value 5
SYMBOL res 576 304 R90
WINDOW 0 -6 114 Invisible 2
WINDOW 3 -36 60 VTop 2
SYMATTR InstName R5
SYMATTR Value {Rf3}
SYMBOL res 576 64 R90
WINDOW 0 60 114 Invisible 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rf1
SYMATTR Value {Rf1}
SYMBOL current 384 288 R180
WINDOW 0 24 80 Left 2
WINDOW 3 24 0 Left 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value {Is}
SYMBOL res 1344 672 R0
WINDOW 0 -63 39 Left 2
WINDOW 3 -54 73 Left 2
SYMATTR InstName RG2
SYMATTR Value 4.2k
FLAG 432 160 V+
FLAG 1760 192 0
FLAG 1776 96 +5V
FLAG 1776 288 -5V
FLAG 432 336 V-
FLAG 1872 192 0
FLAG 1888 96 +18V
FLAG 1888 288 -18V
FLAG 1088 192 V+
FLAG 1088 352 V-
FLAG 1248 336 0
FLAG 656 448 0
FLAG 1184 736 ref
FLAG 1088 864 0
FLAG 1344 272 V_AI1
FLAG 1168 176 +18V
FLAG 1168 368 -18V
FLAG 1504 800 0
FLAG 1600 736 Vout
FLAG 1424 640 +18V
FLAG 1424 832 -18V
FLAG 1344 816 ref
FLAG 1344 656 V_AI1
TEXT 1048 -112 Left 2 !.step temp -10 50 10
TEXT 0 456 Left 2 !;tran 0 1 0
TEXT 392 -120 Left 2 !.param Ro 100
TEXT 392 -80 Left 2 !.param A 3.9083*10**-3
TEXT 392 -40 Left 2 !.param B -5.775*10**-7
TEXT 392 24 Left 2 !.param Rpt=Ro*(1+A*temp+B*temp**2)
TEXT 392 520 Left 2 !.param Rf1 Rfio
TEXT 392 560 Left 2 !.param Rf2 Rfio
TEXT 392 600 Left 2 !.param Rf3 Rfio
TEXT 392 640 Left 2 !.param Rf4 Rfio
TEXT 0 784 Left 2 !.param Is 5m
TEXT 392 728 Left 2 !.param Rfio 10
TEXT 1056 -80 Left 2 !*Rg1 = 1900 ---> Ganho aprox. 4
TEXT 1568 -72 Left 2 !;op 0 1 0
TEXT 2008 656 Left 2 !.ac dec 10 1 1meg