* Z:\tmp\asc_dec_bjh7r6w2\0397b0eff4d7_bat_logo_v3_dec0.asc
* Generated by LTspice 26.0.1 for Windows.
V10 -10 0 -10
XU15 N017 N015 +range -range bottom level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
R5 shifted N005 1k
V6 +5 0 5
M11 en_neg-half N014 +5 +5 PMOS
V14 -5 0 -5
A1 pos 0 0 0 0 pos_inv 0 0 BUF
XU2 -lim vin +range -range neg level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
XU1 +range -range en vin N019 0 ADG1201 ;pnba Vdd)Vss)IN)S)D)GND
R13 N012 N011 6.8k
V11 4.75 0 4.75
XU10 -10 vin +range -range less_than_-10 level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
V5 -range 0 -15
XU20 +5 +range 0 -range bottom vout_lower shifted en_wng ADG1219 ;pnba EN)Vdd)GND)Vss)SB)D)SA)IN
M9 en_inv N004 +5 +5 PMOS
R17 N002 N006 3.4k
C1 N008 vin 100n
R7 N002 N001 6.8k
V23 bottom_source 0 SINE(0 6 0.05 0 0 90)
XU3 vin +lim +range -range pos level2 Avol=1Meg GBW=10Meg Slew=10Meg Ilimit=25m Rail=0 Vos=0 En=0 Enk=0 In=0 Ink=0 Rin=500Meg ;pnba In+)In-)V+)V-)OUT
M1 N021 pos 0 0 NMOS
R4 N010 -1.25 1k
R18 N006 N009 6.8k
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
* Library below included based on ModelFile attribute of instance XU1 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Switches\ADG1201.asy)
.lib ADG1201.sub
* Library below included based on ModelFile attribute of instance XU20 (C:\users\khalils\AppData\Local\LTspice\lib\sym\Switches\ADG1219.asy)
.lib ADG1219.sub
* Library below included based on ModelFile attribute of instance XU15, XU2, XU10, XU3 (C:\users\khalils\AppData\Local\LTspice\lib\sym\OpAmps\UniversalOpAmp2.asy)
.lib UniversalOpAmp2.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4.1
SHEET 1 2628 1212
WIRE -1040 -352 -1120 -352
WIRE -848 -352 -960 -352
WIRE -1120 -288 -1120 -352
WIRE -1088 -288 -1120 -288
WIRE -976 -288 -1024 -288
WIRE 1824 -160 1664 -160
WIRE -1120 -144 -1120 -288
WIRE -256 -144 -336 -144
WIRE -976 -128 -976 -288
WIRE -976 -128 -1024 -128
WIRE -928 -128 -976 -128
WIRE -848 -128 -848 -352
WIRE -848 -128 -864 -128
WIRE -736 -128 -768 -128
WIRE -672 -128 -704 -128
WIRE -560 -128 -592 -128
WIRE -336 -96 -336 -144
WIRE 1824 -80 1824 -160
WIRE 704 -32 640 -32
WIRE 1664 -16 1664 -160
WIRE 1664 -16 1600 -16
WIRE -336 0 -336 -96
WIRE -304 0 -336 0
WIRE -816 16 -1280 16
WIRE -736 16 -736 -128
WIRE -704 16 -704 -128
WIRE -704 16 -736 16
WIRE -672 16 -704 16
WIRE -176 16 -176 -144
WIRE -176 16 -240 16
WIRE -128 16 -176 16
WIRE 1776 16 1776 0
WIRE 1872 16 1776 16
WIRE -560 32 -560 -128
WIRE -560 32 -608 32
WIRE -480 32 -560 32
WIRE -368 32 -400 32
WIRE -304 32 -368 32
WIRE 640 32 640 -32
WIRE 1776 48 1776 16
WIRE -1024 80 -1104 80
WIRE -832 80 -944 80
WIRE -368 80 -368 32
WIRE -368 80 -432 80
WIRE 640 112 640 32
WIRE 672 112 640 112
WIRE 784 128 784 -32
WIRE 784 128 736 128
WIRE 848 128 784 128
WIRE 1664 128 1664 -16
WIRE 1728 128 1664 128
WIRE -1104 144 -1104 80
WIRE -1072 144 -1104 144
WIRE -960 144 -1008 144
WIRE 912 160 752 160
WIRE 528 176 496 176
WIRE 912 240 912 160
WIRE -1104 288 -1104 144
WIRE -240 288 -320 288
WIRE -960 304 -960 144
WIRE -832 304 -832 80
WIRE 752 304 752 160
WIRE 752 304 688 304
WIRE -320 336 -320 288
WIRE 864 336 864 320
WIRE 960 336 864 336
WIRE 864 368 864 336
WIRE -320 432 -320 336
WIRE -288 432 -320 432
WIRE -160 448 -160 288
WIRE -160 448 -224 448
WIRE -112 448 -160 448
WIRE 752 448 752 304
WIRE 816 448 752 448
WIRE 1152 448 1072 448
WIRE -320 464 -384 464
WIRE -288 464 -320 464
WIRE -320 512 -320 464
WIRE -320 512 -384 512
WIRE 704 576 672 576
WIRE 1072 576 1072 544
WIRE 1152 576 1072 576
WIRE 1232 576 1232 544
WIRE 1232 576 1152 576
WIRE 848 608 816 608
WIRE 944 608 912 608
WIRE 1152 608 1152 576
WIRE 1280 640 1248 640
WIRE 1616 656 1616 624
WIRE 720 672 672 672
WIRE 1248 672 1248 640
WIRE 1280 672 1248 672
WIRE -448 704 -480 704
WIRE -192 736 -256 736
WIRE 1056 736 992 736
WIRE 1520 736 1440 736
WIRE 1760 736 1712 736
WIRE 1824 736 1760 736
WIRE 1168 752 1120 752
WIRE -448 768 -480 768
WIRE 1056 768 1008 768
WIRE 1280 768 1280 720
WIRE 1760 784 1760 736
WIRE 1824 784 1760 784
WIRE 1520 800 1488 800
WIRE 1248 816 1248 672
WIRE 1280 816 1248 816
WIRE 1280 864 1232 864
WIRE 1392 864 1280 864
WIRE 752 896 720 896
WIRE 1232 912 1232 864
WIRE 1008 928 976 928
WIRE 1120 944 1072 944
WIRE 1552 944 1552 912
WIRE 1008 960 976 960
WIRE 1680 960 1680 912
WIRE 1232 1040 1232 1008
WIRE 1312 1040 1232 1040
WIRE 1392 1040 1312 1040
WIRE 1312 1072 1312 1040
SYMBOL voltage 2272 0 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V10
SYMATTR Value -10
SYMBOL OpAmps\\UniversalOpAmp2 -256 448 R0
SYMATTR InstName U15
SYMBOL res -160 -160 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R5
SYMATTR Value 1k
SYMBOL voltage 2176 0 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 5
SYMBOL pmos 912 320 R180
SYMATTR InstName M11
SYMBOL voltage 2432 736 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V14
SYMATTR Value -5
SYMBOL Digital\\inv 848 544 R0
SYMATTR InstName A1
SYMBOL OpAmps\\UniversalOpAmp2 1088 752 R0
SYMATTR InstName U2
SYMBOL Switches\\ADG1201 1616 784 R0
SYMATTR InstName U1
SYMBOL res -928 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R13
SYMATTR Value 6.8k
SYMBOL voltage 2304 208 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V11
SYMATTR Value 4.75
SYMBOL OpAmps\\UniversalOpAmp2 784 880 R0
SYMATTR InstName U10
SYMBOL voltage 2432 224 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value -15
SYMBOL Switches\\ADG1219 -352 784 R0
SYMATTR InstName U20
SYMBOL pmos 1824 0 R180
SYMATTR InstName M9
SYMBOL res -864 -144 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R17
SYMATTR Value 3.4k
SYMBOL cap 640 16 R90
WINDOW 0 0 32 VBottom 2
WINDOW 3 32 32 VTop 2
SYMATTR InstName C1
SYMATTR Value 100n
SYMBOL res -944 -368 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R7
SYMATTR Value 6.8k
SYMBOL voltage 2080 832 R0
WINDOW 123 0 0 Left 0
WINDOW 39 24 124 Left 2
SYMATTR InstName V23
SYMATTR Value SINE(0 6 0.05 0 0 90)
SYMBOL OpAmps\\UniversalOpAmp2 1040 944 R0
SYMATTR InstName U3
SYMBOL nmos 1184 912 R0
SYMATTR InstName M1
SYMBOL res -416 64 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R4
SYMATTR Value 1k
SYMBOL res -720 0 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R18
SYMATTR Value 6.8k
FLAG 2096 96 0
FLAG 2096 16 vin
FLAG 1440 736 vin
FLAG 992 736 vin
FLAG 976 960 vin
FLAG 2528 832 0
FLAG 2528 752 +lim
FLAG 2448 416 -lim
FLAG 976 928 +lim
FLAG 1008 768 -lim
FLAG 1120 944 pos
FLAG 1168 752 neg
FLAG 2384 128 0
FLAG 2384 48 +range
FLAG 2432 320 0
FLAG 2432 240 -range
FLAG 1616 624 +range
FLAG 1552 944 -range
FLAG 1040 912 +range
FLAG 1040 976 -range
FLAG 1088 720 +range
FLAG 1088 784 -range
FLAG 1312 1072 0
FLAG 2176 96 0
FLAG 2176 16 +5
FLAG 1280 624 +5
FLAG 1184 992 pos
FLAG 1328 784 neg
FLAG 1344 992 neg
FLAG 1680 960 0
FLAG 816 608 pos
FLAG 944 608 pos_inv
FLAG 1152 608 0
FLAG 1024 528 pos_inv
FLAG 1776 -96 +5
FLAG 1776 144 0
FLAG 1872 16 en_inv
FLAG 864 224 +5
FLAG 864 464 0
FLAG 960 336 en_neg-half
FLAG 704 96 +range
FLAG 704 160 -range
FLAG 672 144 0
FLAG 576 32 vin
FLAG 848 128 v_diff
FLAG 1488 800 en
FLAG 640 784 0
FLAG 720 672 en_neg-half
FLAG 784 848 +range
FLAG 784 912 -range
FLAG 752 864 vin
FLAG 720 896 -10
FLAG 2272 16 -10
FLAG 816 880 less_than_-10
FLAG 2304 304 0
FLAG 2304 224 4.75
FLAG 528 176 pos_val
FLAG 704 576 neg_val
FLAG 2272 96 0
FLAG -272 -16 +range
FLAG -272 48 -range
FLAG -128 16 shifted
FLAG -416 -96 0
FLAG -256 416 +range
FLAG -256 480 -range
FLAG -112 448 bottom
FLAG -400 336 0
FLAG 2080 928 0
FLAG -1056 -160 +range
FLAG -1056 -96 -range
FLAG 2192 896 0
FLAG -1088 -112 0
FLAG -672 48 0
FLAG -640 0 +range
FLAG -640 64 -range
FLAG -352 640 +range
FLAG -416 944 -range
FLAG -288 944 0
FLAG -256 832 +5
FLAG -480 704 shifted
FLAG -480 768 bottom
FLAG -448 832 en_wng
FLAG -192 736 vout_lower
FLAG 2192 816 shifted_source
FLAG 2080 848 bottom_source
FLAG 2304 832 0
FLAG 2304 752 -1.25
FLAG -512 80 -1.25
FLAG 2432 832 0
FLAG 2432 752 -5
FLAG 2144 304 0
FLAG 2144 224 3