To whom it may concern,
This is for automated test equipement.
I want to use INA200 to monitor current of DUT(device under test), and disconnect(by relay) the DUT from circuit if current draw exceeds 20mA, and also turn on a red LED as a visual indicator that an overcurrent event has occured and the DUT should be replaced. A switch is used to reset the latch on the INA200 to turn the relay on so testing can resume after a new DUT is connected.
The circuit does not work as intended. CMPOUT does not go low when CMPIN > 600mV. I've seen CMPIN go as high as 1V without CMPOUT going low. Conversely, CMPOUT does trip when COMPIN is 0V. The polarity of COMPOUT seems to be opposite of what I expect it to be. Am I missing something? How do I accomplish what I want with this circuit?