I am trying to build an undervoltage protector for a 6S LIPO battery. My idea was to use a comparator to switch off an NMOSFET when the battery fell below a preset voltage, 20V:
R20, R21 and C20 create a crude voltage supply for the LTC1440, VCC varies between 6.6V and 8V in the simulation. R10 and R11 bring the 20V down to 5V. R1, R2, R3, R4 and R5 are calculated according to the datasheet.
When I run this through LTSpice, Vin drops linearly from 1.24V to 1.06V (thus crossing the VRef 1.182 at about 20V input):
but VOut falls slowly from about 6.5V to 0V after the 20V threshold is reached:
as a result, the load is switched off slowly:
I expected it to switch off completely at exactly the threshold; why is this not happening?
.TRAN
for that, and instead of an input source, an input capacitor of large value with initial conditions for the voltage? Or even a PWL, or an EXP source. The dynamics are much better seen then. Otherwise, what Spehro said. \$\endgroup\$