I'm measuring current for a project using a shunt monitor. I'm switching an N channel MOSFET and the load is resistance wire. Load can draw up to 80a normally. I'm wondering about what the best way would be to handle an over current situation. There's potential of a direct short and I'm not sure how fast the MCU/other components would fry.
I know one way is to use a comparator and compare the voltage drop across the shunt resistor to a reference. When the drop is above the reference, we can trigger a hardware interrupt. I'm not sure if this is fast enough. Project is using an Atmega328p and the internal comparator says 1-2 clock cycles at 16mhz. I found a dedicated comparator that has a propagation delay of 7ns. Do you think that's fast enough?
I would really like a way to stop the short before it occurs with hardware. Any idea about this?