, I am trying to make overcurrent protection circuit using opamps with shunt resistor. But when I increase my main voltage my current must directly increase and comparator opamp compare the input voltage and Vref voltage if Vin greater than Vref than my mosfet must be triggered and close the current entry. My purpose is Current protection with high side current sensing what am I doing wrong ? I am waiting your advices.