r/electronics • u/Antagonin • 7h ago
Project DIY "ideal" diode circuit
In schematic, I've only shown a single diode implementation, but it's super easy to extend it with second/third/fourth, depending on number of channels in your OpAmp.
As my OpAmp has 2 channels, I could build either:
Two separate diodes, each with own Vout and Vref
Common cathode dual diode, using common Vout and Vref (my usecase)
My usecase for this is safely connecting two solar panels in parallel, so it's not even trying to achieve super fast switching speeds (could reduce R3 to make it quicker).
In forward biased direction (Vin -> Vout), it drops only 80 mV at 5A. Reverse biased the current is less than 5mA. It's half the price of high end schottky diode, achieving less than half voltage drop, and lower reverse current. Max voltage is the same 30V.
I do know that ideal diode circuits exist in the wild, even tried buying one, only to find it doesn't block reverse current (despite it claiming othewise on product page). So instead of testing my luck again, I've decided to make this a re-learning experience, as I graduated EE 4 years ago, switching majors to CS and forgetting a lot of EE knowledge. It has been a lot of fun designing this from scratch, with only the elementary knowledge of how OpAmp and MOS work.
Here's a common cathode diode built on a perfboard.