The pot has a shorting link across it.!R2 one end goes to GND. what are the other problems ?
SV1 is a harting connector. This pcb would be stacked one on top of the other so these connectors would be connected in parallel along the edge of the pcb.Not knowing what SV1 is all about it looks like the output will be switched off when the battery voltage exceeds a threshold that would be set by R2.
There may be issues with startup time of the reference and the common mode range of the opamps.
IC3B appears to be at the mercy of its input offset voltage. It would make things more certain if the inverting input were connected to a small positive voltage.
Thank you Eric. The comaparator explanation helped.hi anish,
Hysteresis in the comparator is required so that as the Vthreshold is reached, the Comparator output does not rapidly switch Hi/Lo at that point.
Consider when you are discharging the battery and then remove the load at the Vth point, the battery voltage will rise and the comparator output will change state.
The hysteresis applies a voltage to the comparator input so the threshold Set point is raised and the MOSFET remains Off.
E
not sure what you meant by a load resistor. The only load here would be an LED with a current limiting resistor R3 and the gate of the MOSFET.Where and what value is the Load discharge resistor connected on your circuit.?
It would be no higher than 3v3 which is the fixed reference voltage.What is the intend Load disconnect Vlow-threshold voltage.?
The IC3A and IC3B configuration was correct earlier i guess. Then reading further in the thread i thought it would require a hysteresis. The value are just guess. I just wanted to get the schematic correct and then figure out the values using LTSpice.Both IC3A and IC3B are configured as gain of 2 linear inverting amplifiers, not comparators with hysteresis. Also, the IC3A output is connected directly to the battery. This will cause the part to fail.
ak

How should they be connected and why would connecting directly fail ? Is a resistor divider required ?Also, the IC3A output is connected directly to the battery. This will cause the part to fail.
hi,The only load here would be an LED with a current limiting resistor R3 and the gate of the MOSFET.

No more than 15ASo what value of battery discharge current are you expecting thru that 'load'.?
Bat 1-5 are 18650 cells in parallel connected two pads in the layout to which a XT90 connector will soldered.Please mark your circuit diagram showing the discharge path.
I am assuming that BT1 thru BT5 are the batteries being discharged.Where is the MOSFET BAT- connected too.??
The voltage powering the opamp will 4v2 initially which is the max voltage the 18650 will be charged up to and will be discharged to the votlage set by R2.What are the voltages powering the OPA's.?
What are the initial/starting voltages of BT1..5.?
initially yes i thought of doing it so but then i would need another pad to charge them as well. So droped the idea, i would be using a BMS also so a MOSFET wouldn't be necessary.Are you wanting to use the MOSFET to disconnect the BT1>5 batteries from the 'working load' when the battery voltage falls to <= 3.3V .?
Most battery monitor circuit require at least a little hysteresis because one of the inputs (the battery voltage) changes very slowly. The problem is that hysteresis is a form of positive feedback, so it always is applied to the non-inverting (+) input. You added feedback to the inverting (-) input, which configures the amp for linear gain, not non-linear switching.The IC3A and IC3B configuration was correct earlier i guess. Then reading further in the thread i thought it would require a hysteresis.
Since it is a comparator, it must be the case that at some point its output will go low. If it does, the output stage will attempt to dead-short the battery output to GND. poof. flame. death. not the end of civilization as it know it, but ... bad.why would connecting directly fail ?