I'm trying to design a circuit which uses an INA138 current sensor to shut off a load during overcurrent conditions (max current = 1A).
However, when the current is over 1A I'm creating a feedback loop between the sensor and the comparators I'm using for the logic. I'm trying to use the discharge on an RC filter to hold the logic on the second comparator to LOW to delay readings but I don't know how to turn the first comparator off while this happens so that it can fully discharge.
Is there a simpler way to do what I'm trying to do here?
This is my schematic:
This is a .zip file with my LTSpice circuit and the INA138 spice model if needed: