* Z:\tmp\asc_dec_bjh7r6w2\07d5c7778427_MultiCellBatteryMeterSim_dec1.asc
* Generated by LTspice 26.0.1 for Windows.
R34 N007 N008 48.48K
R24 N020 0 20k
R28 N015 0 20k
R27 Mux3 N016 20k
V5 Cell2_v Cell1_v 4V
R18 N005 Vshunt 20K
XU10 N015 N016 Vs+ 0 Mux3 LM324/NS ;pnba In+)In-)V+)V-)OUT
V6 Cell1_v 0 4V
R20 N005 0 20k
R35 N009 Vs+ 20k
R22 N020 N017 20K
V1 Vs- 0 -12V
V4 Cell3_v Cell2_v 4V
R29 N013 N014 20K
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 3916 1784
WIRE 2032 -432 2000 -432
WIRE 1744 -384 1600 -384
WIRE 1872 -384 1824 -384
WIRE 1920 -384 1920 -432
WIRE 1920 -384 1872 -384
WIRE 2768 -384 2640 -384
WIRE 1872 -336 1872 -384
WIRE 1920 -336 1872 -336
WIRE 2032 -320 2032 -432
WIRE 2032 -320 1984 -320
WIRE 2512 -320 2032 -320
WIRE 2640 -320 2640 -384
WIRE 2640 -320 2592 -320
WIRE 2672 -320 2640 -320
WIRE 1920 -304 1872 -304
WIRE 2880 -304 2736 -304
WIRE 1744 -288 1712 -288
WIRE 1872 -288 1872 -304
WIRE 1872 -288 1824 -288
WIRE 2672 -288 2640 -288
WIRE 1648 -272 1600 -272
WIRE 1712 -272 1712 -288
WIRE 1712 -272 1648 -272
WIRE 1952 -256 1952 -288
WIRE 2000 -256 1952 -256
WIRE 2544 -256 2512 -256
WIRE 2640 -256 2640 -288
WIRE 2640 -256 2624 -256
WIRE 2672 -256 2640 -256
WIRE 1872 -208 1872 -288
WIRE 2000 -176 2000 -256
WIRE 1872 -80 1872 -128
WIRE 2512 -80 2512 -256
WIRE 2512 -80 2432 -80
WIRE 2672 -80 2672 -256
WIRE 2512 -32 2512 -80
WIRE 3376 32 3376 16
WIRE 3488 32 3376 32
WIRE 3552 32 3488 32
WIRE 3376 48 3376 32
WIRE 2432 80 2432 -80
WIRE 2496 80 2496 32
WIRE 2496 80 2432 80
WIRE 3488 80 3488 32
WIRE 2528 96 2528 32
WIRE 2560 96 2528 96
WIRE 2672 96 2672 0
WIRE 2672 96 2640 96
WIRE 2528 144 2528 96
WIRE 3376 192 3376 128
WIRE 3472 192 3376 192
WIRE 2672 208 2672 96
WIRE 2528 256 2528 224
WIRE 3440 256 3376 256
WIRE 3376 304 3376 256
WIRE 1952 560 1920 560
WIRE 2048 560 2032 560
WIRE 2080 560 2048 560
WIRE 2048 608 2048 560
WIRE 2048 608 2000 608
WIRE 1168 624 1168 528
WIRE 1216 624 1168 624
WIRE 1408 624 1216 624
WIRE 1792 640 1600 640
WIRE 1920 640 1920 560
WIRE 1920 640 1872 640
WIRE 2000 640 2000 608
WIRE 1920 656 1920 640
WIRE 1968 656 1920 656
WIRE 2080 672 2032 672
WIRE 2192 672 2080 672
WIRE 1968 688 1920 688
WIRE 1792 736 1744 736
WIRE 1920 736 1920 688
WIRE 1920 736 1872 736
WIRE 1968 736 1920 736
WIRE 1168 768 1168 624
WIRE 1968 784 1968 736
WIRE 2080 784 2080 672
WIRE 2080 784 2048 784
WIRE 1744 864 1744 736
WIRE 1744 864 1600 864
WIRE 1952 912 1920 912
WIRE 2048 912 2032 912
WIRE 2080 912 2048 912
WIRE 2048 960 2048 912
WIRE 2048 960 2000 960
WIRE 2192 960 2192 672
WIRE 2480 960 2192 960
WIRE 1744 992 1744 864
WIRE 1792 992 1744 992
WIRE 1920 992 1920 912
WIRE 1920 992 1872 992
WIRE 2000 992 2000 960
WIRE 1168 1008 1168 832
WIRE 1216 1008 1168 1008
WIRE 1408 1008 1216 1008
WIRE 1920 1008 1920 992
WIRE 1968 1008 1920 1008
WIRE 2080 1024 2032 1024
WIRE 2144 1024 2080 1024
WIRE 2480 1024 2144 1024
WIRE 1968 1040 1920 1040
WIRE 1792 1088 1744 1088
WIRE 1920 1088 1920 1040
WIRE 1920 1088 1872 1088
WIRE 1968 1088 1920 1088
WIRE 2480 1088 2192 1088
WIRE 1168 1104 1168 1008
WIRE 1968 1136 1968 1088
WIRE 2080 1136 2080 1024
WIRE 2080 1136 2048 1136
WIRE 2480 1152 2208 1152
WIRE 1744 1248 1744 1088
WIRE 1744 1248 1600 1248
WIRE 1952 1264 1920 1264
WIRE 2048 1264 2032 1264
WIRE 2080 1264 2048 1264
WIRE 2048 1312 2048 1264
WIRE 2048 1312 2000 1312
WIRE 1168 1344 1168 1168
WIRE 1216 1344 1168 1344
WIRE 1408 1344 1216 1344
WIRE 1744 1344 1744 1248
WIRE 1792 1344 1744 1344
WIRE 1920 1344 1920 1264
WIRE 1920 1344 1872 1344
WIRE 2000 1344 2000 1312
WIRE 1920 1360 1920 1344
WIRE 1968 1360 1920 1360
WIRE 2080 1376 2032 1376
WIRE 2144 1376 2080 1376
WIRE 2192 1376 2192 1088
WIRE 1968 1392 1920 1392
WIRE 1168 1440 1168 1344
WIRE 1792 1440 1744 1440
WIRE 1920 1440 1920 1392
WIRE 1920 1440 1872 1440
WIRE 1968 1440 1920 1440
WIRE 1968 1488 1968 1440
WIRE 2080 1488 2080 1376
WIRE 2080 1488 2048 1488
WIRE 1168 1584 1168 1504
WIRE 1248 1584 1168 1584
WIRE 1744 1584 1744 1440
WIRE 2208 1584 2208 1152
WIRE 1168 1632 1168 1584
SYMBOL res 2640 -272 R90
WINDOW 0 60 95 VBottom 2
WINDOW 3 33 14 VTop 2
SYMATTR InstName R34
SYMATTR Value 48.48K
SYMBOL res 1936 1248 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R24
SYMATTR Value 20k
SYMBOL res 1936 896 M90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R28
SYMATTR Value 20k
SYMBOL res 2064 1152 M270
WINDOW 0 -27 86 VTop 2
WINDOW 3 2 16 VBottom 2
SYMATTR InstName R27
SYMATTR Value 20k
SYMBOL Misc\\cell 1168 1104 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V5
SYMATTR Value 4V
SYMBOL res 1840 -304 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName R18
SYMATTR Value 20K
SYMBOL Opamps\\opamp2 2000 1088 M180
SYMATTR InstName U10
SYMATTR Value LM324/NS
SYMBOL Misc\\cell 1168 1440 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V6
SYMATTR Value 4V
SYMBOL res 1856 -224 R0
SYMATTR InstName R20
SYMATTR Value 20k
SYMBOL res 2512 128 R0
SYMATTR InstName R35
SYMATTR Value 20k
SYMBOL res 1888 1360 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R22
SYMATTR Value 20K
SYMBOL voltage 3376 144 M180
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
WINDOW 0 -50 16 Left 2
WINDOW 3 -76 89 Left 2
SYMATTR InstName V1
SYMATTR Value -12V
SYMBOL Misc\\cell 1168 768 R0
WINDOW 123 0 0 Left 0
WINDOW 39 0 0 Left 0
SYMATTR InstName V4
SYMATTR Value 4V
SYMBOL res 1888 752 M270
WINDOW 0 32 56 VTop 2
WINDOW 3 0 56 VBottom 2
SYMATTR InstName R29
SYMATTR Value 20K
FLAG 3488 80 0
FLAG 1168 1632 0
FLAG 1216 1344 Cell1_v
FLAG 1216 1008 Cell2_v
FLAG 1216 624 Cell3_v
FLAG 3440 256 BATT_POS
FLAG 1248 1584 Cell1_Neg
FLAG 3472 192 Vs-
FLAG 1952 -352 Vs+
FLAG 2000 1408 Vs+
FLAG 2000 1056 Vs+
FLAG 2000 704 Vs+
FLAG 2144 1024 Mux3
FLAG 1648 -272 Vshunt
FLAG 2000 -176 Vs-
FLAG 2080 560 GND
FLAG 2080 912 GND
FLAG 2080 1264 GND
FLAG 2672 208 GND
FLAG 2528 256 Vs+
FLAG 2704 -272 Vs-
FLAG 2544 0 Vs-
FLAG 2704 -336 Vs+
FLAG 2480 0 Vs+
FLAG 3552 32 GND
FLAG 1872 -80 0
FLAG 1168 1584 BATT_NEG