* Z:\home\khalils\Downloads\files\data\raw_asc\4dc69b656345_LTSpiceModelling.asc
* Generated by LTspice 26.0.1 for Windows.
V1 N011 0 5
V2 N002 N001 SINE(0 100 1)
R1 N001 N007 500K
R2 N002 N008 500K
R3 N008 N007 22K
I1 N004 0 -.02
R4 N006 0 520
R5 N004 0 330
R6 N004 N006 22K
M1 N004 N005 N006 N006 IRFZ44N
Q1 N005 N010 0 0 2N3904
V3 N003 0 12
V4 N009 0 0
R7 N010 N009 22k
R8 N003 N005 22k
XU1 N007 0 ADR5041 ;pnba 1)2
R9 N011 N007 5K
D1 N008 N011 1N5817
D2 0 N008 1N5817
XU2 N004 0 ADR5045 ;pnba 1)2
R10 0 N008 20Meg
R11 0 N007 20Meg
R12 0 N006 20Meg
.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
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.tran 1
* <To ADC
* < Resistor Being \nMeasured
* This simulates one ADC Input
* These Diodes protect the ADC from overvoltage
* This simulates the second ADC Input
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\ADR5041.asy)
.lib ADR5041.sub
* Library below included based on ModelFile attribute of instance XU2 (C:\users\khalils\AppData\Local\LTspice\lib\sym\References\ADR5045.asy)
.lib ADR5045.sub
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 1240 680
WIRE -400 -224 -448 -224
WIRE -320 -224 -352 -224
WIRE -272 -224 -320 -224
WIRE -448 -144 -448 -224
WIRE -272 -144 -272 -224
WIRE 672 -144 608 -144
WIRE 672 -128 672 -144
WIRE 848 -112 784 -112
WIRE 672 -32 672 -48
WIRE 736 -32 672 -32
WIRE 928 -16 784 -16
WIRE -624 0 -672 0
WIRE -448 0 -448 -64
WIRE -448 0 -560 0
WIRE -416 0 -448 0
WIRE -272 0 -272 -64
WIRE -272 0 -336 0
WIRE -224 0 -272 0
WIRE -160 0 -224 0
WIRE -32 0 -80 0
WIRE 672 0 672 -32
WIRE 480 48 464 48
WIRE 608 48 560 48
WIRE -640 96 -688 96
WIRE -560 96 -560 0
WIRE 672 128 672 96
WIRE -560 176 -560 96
WIRE 448 224 432 224
WIRE 576 224 512 224
WIRE 672 224 576 224
WIRE 848 224 848 -112
WIRE 848 224 672 224
WIRE 576 240 576 224
WIRE 848 240 848 224
WIRE 672 256 672 224
WIRE -224 272 -224 0
WIRE -560 288 -560 256
WIRE -224 288 -224 272
WIRE -224 288 -496 288
WIRE 848 336 848 320
WIRE 928 336 928 -16
WIRE 928 336 848 336
WIRE 1088 336 928 336
WIRE 1216 336 1168 336
WIRE 848 352 848 336
WIRE 576 368 576 320
WIRE 672 368 672 336
WIRE -560 448 -560 288
WIRE 848 448 848 432
WIRE -560 560 -560 528
FLAG -560 560 0
FLAG 576 368 0
FLAG 672 368 0
FLAG 848 448 0
FLAG 432 224 0
FLAG 528 -144 0
FLAG 384 48 0
FLAG 672 128 0
FLAG -672 0 0
FLAG -160 272 0
FLAG -32 0 0
FLAG -688 96 0
FLAG 1216 336 0
SYMBOL voltage -560 432 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value 5
SYMBOL voltage -304 -224 R90
WINDOW 0 -32 56 VBottom 2
WINDOW 3 32 56 VTop 2
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V2
SYMATTR Value SINE(0 100 1)
SYMBOL res -464 -160 R0
SYMATTR InstName R1
SYMATTR Value 500K
SYMBOL res -288 -160 R0
SYMATTR InstName R2
SYMATTR Value 500K
SYMBOL res -320 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R3
SYMATTR Value 22K
SYMBOL current 576 240 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName I1
SYMATTR Value -.02
SYMBOL res 832 336 R0
SYMATTR InstName R4
SYMATTR Value 520
SYMBOL res 656 240 R0
SYMATTR InstName R5
SYMATTR Value 330
SYMBOL res 832 224 R0
SYMATTR InstName R6
SYMATTR Value 22K
SYMBOL nmos 736 -112 R0
SYMATTR InstName M1
SYMATTR Value IRFZ44N
SYMBOL npn 608 0 R0
SYMATTR InstName Q1
SYMATTR Value 2N3904
SYMBOL voltage 624 -144 R90
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 3 -49 40 VRight 2
WINDOW 0 51 42 VRight 2
SYMATTR Value 12
SYMATTR InstName V3
SYMBOL voltage 480 48 R90
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 50 42 VRight 2
WINDOW 3 -52 80 VRight 2
SYMATTR InstName V4
SYMATTR Value 0
SYMBOL res 576 32 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 22k
SYMBOL res 656 -144 R0
SYMATTR InstName R8
SYMATTR Value 22k
SYMBOL References\\ADR5041 -592 0 R90
WINDOW 3 27 0 VTop 2
WINDOW 0 -27 0 VBottom 2
SYMATTR InstName U1
SYMBOL res -544 272 R180
WINDOW 0 36 76 Left 2
WINDOW 3 36 40 Left 2
SYMATTR InstName R9
SYMATTR Value 5K
SYMBOL schottky -496 272 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D1
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL schottky -160 256 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName D2
SYMATTR Value 1N5817
SYMATTR Description Diode
SYMATTR Type diode
SYMBOL References\\ADR5045 480 224 R90
WINDOW 3 27 0 VTop 2
WINDOW 0 -27 0 VBottom 2
SYMATTR InstName U2
SYMBOL res -64 -16 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R10
SYMATTR Value 20Meg
SYMBOL res -656 112 R270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R11
SYMATTR Value 20Meg
SYMBOL res 1184 320 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R12
SYMATTR Value 20Meg
TEXT 368 352 Left 2 !.tran 1
TEXT 1136 168 VRight 2 ;<To ADC
TEXT 1016 416 Center 2 ;< Resistor Being \nMeasured
TEXT -184 56 Left 2 ;This simulates one ADC Input
TEXT -480 360 Left 2 ;These Diodes protect the ADC from overvoltage
TEXT -1064 136 Left 2 ;This simulates the second ADC Input