1
\$\begingroup\$

I’m curious about current flow through an oring diode configuration. I’m using oring diodes to “autoselect” between two power sources: a 4.2V (max) battery, and a 5V USB line. The battery has one diode on its branch, and the 5V line has two diodes in series (for a higher desired voltage drop). I have a few questions regarding this configuration:

  1. I’ve read that oring diodes will allow the circuit to choose the higher voltage power source (the USB line, I think, in my case). Is the “comparison” considered before the diode voltage drop or after?

  2. When both are connected (battery will always be connected), will current be drawn through exactly one branch only or a mix of both? In testing, I detected a small (~0.2V) forward voltage across the battery line’s diode, but I’m not positive if this means there’s any current flowing through that line.

  3. What effect does having unbalanced diodes have? That is, does the fact that one line has a higher forward voltage than the other effect the way the circuit “chooses” a power source?

Thanks for your input! Apologies for not showing a diagram — I’m on a mobile phone — but hopefully the circuit is simple/common enough to understand.

UPDATE 7/11/18

I had some time to sketch the circuit. Here it is with some more details.

schematic

This device is powering something that must run on about 3 to 3.6V and draws about 100-150mA. I don't want an LDO regulator because the device its powering has a low-battery indicator that I want to work properly (if I used a regulator, I'd get little warning before the battery dies). I want diodes because they provide the necessary voltage drop. My goal is to allow the battery charger to continue to charge the battery while the loading device is powered on. The USB input provides up to 500mA current, so there should be roughly 350-400mA left to charge the battery. I've verified that this all works empirically -- I'm just trying to understand exactly why.

Each diode has about a 0.55V voltage drop at my load current. Notating the node voltages while thinking about your answers really helped me understand what's going on. Please correct me if needed. The voltage after Du1 and Du2 is about 4V. This explains the approx 0.2V drop across Db (which allows very little current for my diode, based on its spec sheet).

At first, I was not sure why the 5V line dominated rather than the battery line -- then I decided to see what the alternative voltage at the junction (before Dc) would be if the USB were unplugged: it would be 4.2V - 0.55V = 3.65V. Because this voltage is definitely less than the 4V that it would be if the USB were connected, the 5V USB line wins and the node takes that voltage.

\$\endgroup\$
1
  • \$\begingroup\$ If you want us to make an effort to help you, then you need to provide a schematic. Get off your phone. \$\endgroup\$ Commented Jul 11, 2018 at 11:15

3 Answers 3

1
\$\begingroup\$

I'm going to have to disagree with Olin here on several points.

I’ve read that oring diodes will allow the circuit to choose the higher voltage power source (the USB line, I think, in my case). Is the “comparison” considered before the diode voltage drop or after?

The comparison IS the voltage drop. Assuming the load current is independent of the load voltage (roughly true for small voltage changes), then whichever source voltage, minus the diode drop, is greater will provide the current. That current will drive the load voltage higher, and the voltage across the diode of the other source will be lower, so little current will flow. It does, or can, get more complicated for voltages which are close to equal. In that case, the slightly-higher supply will provide most, but not all, of the current. As a general rule, the difference range will be less than 0.1 volt, but this will depend on the diodes, power supplies and currents involved.

When both are connected (battery will always be connected), will current be drawn through exactly one branch only or a mix of both? In testing, I detected a small (~0.1V) forward voltage acrossthe battery line’s diode, but I’m not positive if this means there’s any current flowing through that line.

You can look up the voltage/current curve for silicon or Schottky diodes, and you'll see that, above some level (about 0.6 or 0.3, depending on diode type) small changes in voltage correspond to very large changes in current. So if one diode has a Vf of 0.65 and the other has a Vf of 0.1, then yes the second diode will have some current flowing through it. Probably microamps.

What effect does having unbalanced diodes have? That is, does the fact that one line has a higher forward voltage than the other effect the way the circuit “chooses” a power source?

Using unbalanced diodes simply means that the voltage at which one supply becomes dominant changes by the amount of unbalance. If you have two supplies feeding a load through identical diodes, then whichever is greater will provide most of the current. If diode A has a Vf (for the same current) 1 volt higher than diode B, then supply A will have to be 1 volt higher than supply B to provide much current.

Depending on setup, diode ORing may not produce one branch or the other dominating. The classic example of this is using a diode OR setup with two nominally identical batteries to double the capacity of the setup. At first, whichever battery has the greater voltage will supply more current to the load. However, this will cause the first battery to discharge more quickly than the second, so its voltage will fall more quickly. At some point the two currents will be approximately equal, so the diode and battery voltages will be about equal, and the two batteries will discharge at an equal rate while the ratio of the two currents stays the same.

\$\endgroup\$
2
  • \$\begingroup\$ Thanks for the thorough answer. I'm marking this as the solution, because you actually addressed each question. I also added some more details to the OP after reading your response. Thanks again. \$\endgroup\$
    – Andrew M.
    Commented Jul 11, 2018 at 17:37
  • \$\begingroup\$ Also, I've corrected the battery line voltage drop. Should have read 0.2V, not 0.1V. \$\endgroup\$
    – Andrew M.
    Commented Jul 11, 2018 at 17:38
1
\$\begingroup\$

You are making this too complicated by not trying to understand the actual electronics. Diodes are just one-way valves for current. The circuit doesn't "choose" anything, as there is no high level control or logic.

Stop and actually think about what the diodes are doing. If the power supply for one diode is higher than the output, then that diode will conduct. Each diode does this independently. The net result is the maximum voltage of all the supplies.

There is another wrinkle, which is that real diodes have a voltage drop when on. The output is really the max of all the inputs, minus one diode voltage drop.

Since you are using a battery, you probably want to use the power from it efficiently. You should use Schottky diodes, since they have a lower forward voltage drop than ordinary silicon diodes. When the battery is at 4.2 V, for example, the output voltage might be 3.8 V.

Deliberately having a higher voltage drop in series with the 5 V supply doesn't make any sense. When the 5 V supply is present, it seems you want the circuit to run from that instead of the battery. Having that supply be a little higher than the max battery voltage is useful. That insures that the current will come from the 5 V supply when available.

This does mean the circuit being powered has to be able to handle up to 5 V, as apposed to only 4.2 V. However, that is a trivial requirement to design to. In most cases it would take extra work to prevent it.

\$\endgroup\$
1
  • \$\begingroup\$ Thanks for your comment. I completely understand that there’s no actual logic (other than an OR gate), since there’s no controller. The voltage drops are all actually intentional. This is a case where an Oring diode circuit fit the bill for more than one reason. \$\endgroup\$
    – Andrew M.
    Commented Jul 11, 2018 at 11:44
0
\$\begingroup\$

If you need to "autoselect" between two power sources, the simple "oring" diodes are not the right engineering solution. The solution is called "Power Path Controller". The controllers use MOSFETS as ideal diodes (no waste of power) and a priority controller based on input voltages. Please examine the following portfolio of Linear Technology (now Analog Devices) products, Power Path Controllers and Ideal Diodes, I am certain some ICs will fit your need.

It looks like this one might work for you, LTC4419.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.