I've this schematic, where I'm blinking output bulbs (21W @ 12VDC). Rate of blinking is 85 counts/min. The wave comes to be of 700ms. On time 350ms.
In this 350ms of On time, initially I skip 50~100ms for inrush, next 50msec for load sensing, next 50msec for short circuit detection and remaining time to check for other parameters. In Off time of 350msec controller does nothing. Again in next on cycle,all the stuff is checked. If the short circuit occurs before those 100msec, my 100mohm shunt burns out. The shunt is of 5W. is there any way in software or hardware to stop burning of shunt, and detect short circuit immediately?