# active current protection with diode instead of shunt resistor

Is this current protection technique going to work? I came up with this because I want to make a current protection circuit and I do not have a shunt resistor at hand. I think the circuit should work in the following way: Initially, at power up, the voltage across the diode D1 is almost zero, so the output of the op amp OA1 is less than the non-inverting input of OA2 (formed with a voltage divider from a 9v power source), hence the output of OA2 will close the N mosfet Q1. This in consequence will close the P channel mosfet Q2. The 10 V zener diode Z1 will have a voltage drop of 10 v and the rest of 30 v will create a current of I_z =30/500 = 0.06A which is assumed to be lower than the maximum rated current of Z1. Therefore the mosfet Q2 is conducting.

However, if the current through R_load is increasing too much, say to create a voltage drop greater than 1v over the diode D1, (this means less than 50 A through diode, according to this), then the output of OA1 will be greater than that of the voltage divider, and the output of OA2 then will be low, opening Q1, which in turn will open Q2.

Is this how it will work? Feel free to comment on this design ... Which are the possible problems?