I am trying to power an Arduino circuit from multiple possible power supplies : 12V, 24V or 48V. Any one or more of these supplies could be connected at the same time. I could wire the three supplies through diodes, as shown below, but that would mean that the highest of the available supply voltages will power the circuit. Which in turn means that my DC-DC step down voltage converter (which I have just shown as “LOAD”) would have to work harder and end up getting much hotter.

Alternatively, I could use three DC-DC converters in front of the diodes with their set points such that the lowest voltage would appear as the highest voltage to the diodes (e.g set the 12V step down to 9V; the 24V step down to 8.5V and the 48V step down to 8V). Now the 48V supply would only draw an appreciable current when neither the 24V nor 12V supplies were available. But that would then take three step down converters and more importantly, take up three times the space.
Does anyone know of a simpler way to achieve this?
Thanks,
Aaron.
Voltage comparators controlling P-channel FETs?
--
You received this message because you are subscribed to the Google Groups "Robots & Dinosaurs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sydney-hackspa...@googlegroups.com.
To post to this group, send email to sydney-h...@googlegroups.com.
Visit this group at http://groups.google.com/group/sydney-hackspace?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Voltage comparators controlling P-channel FETs?
From: sydney-h...@googlegroups.com [mailto:sydney-h...@googlegroups.com] On Behalf Of Aaron Power
Sent: Friday, 19 April 2013 11:40 PM
To: sydney-h...@googlegroups.com
Subject: [RnD] Circuit to use the lowest available supply voltage
I am trying to power an Arduino circuit from multiple possible power supplies : 12V, 24V or 48V. Any one or more of these supplies could be connected at the same time. I could wire the three supplies through diodes, as shown below, but that would mean that the highest of the available supply voltages will power the circuit. Which in turn means that my DC-DC step down voltage converter (which I have just shown as “LOAD”) would have to work harder and end up getting much hotter.
<image001.png>
Alternatively, I could use three DC-DC converters in front of the diodes with their set points such that the lowest voltage would appear as the highest voltage to the diodes (e.g set the 12V step down to 9V; the 24V step down to 8.5V and the 48V step down to 8V). Now the 48V supply would only draw an appreciable current when neither the 24V nor 12V supplies were available. But that would then take three step down converters and more importantly, take up three times the space.
Does anyone know of a simpler way to achieve this?
Thanks,
Aaron.
--
You received this message because you are subscribed to the Google Groups "Robots & Dinosaurs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sydney-hackspa...@googlegroups.com.
To post to this group, send email to sydney-h...@googlegroups.com.
Visit this group at http://groups.google.com/group/sydney-hackspace?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
Ada,
I was suggssting using them in precisely that say, reversed, for the voltage drop. It's something that I've seen exploited in a number of circuits over time. It's not common because often current requirements make it impractical.
Terry
Yes, goid point, you're right, they'll still need conventional diodes in series.
Terry
Thanks to everyone that replied to this question. I know I have been very quiet with your responses, but I have been reading each one and looking at how I could make it work in my application.
Relays are a possibility, and it does solve the problem in only three components, but the power draw for the three coils is a reasonable amount of wasted energy in a battery only circuit. And finding small PCB mount relays in 12V, 24V and 48V would not be so easy. And even the relatively small ones still take up fair bit of circuit board space. What I do like about this solution is that the devices would be very forgiving of voltage variations
Using voltage comparators does leave the problem of how do you power the comparators when you don’t know which voltage supplies will be available. The final “load” on the circuit will be a micro-controller, and one of its jobs will be to monitor the various supplies. I see this as “boot strap” type problem, and really didn’t get very far with it. It might be possible to use a simple diode OR to initially power the micro-controller, and then have it turn off the higher voltages, if a lower one is also available. Maybe.
I have spent most of my time looking at the option of using discrete PMOS devices, and have come up with the following circuit (for the purpose of the simulation I just randomly chose a PMOS FET that LT Spice had in its library, and looked roughly suitable):-

If, for example, both the 12V and 24V supplies are available, then a current will flow from the 24V bus, through R5 and D1 to the 12V bus. This sets up a voltage drop across Vgs of PMOS4, turning it on. This in turn will short-out R3, turning off PMOS2. Thus the load only sees the lower voltage supply. In a similar way the 48V supply will be switched off through D2 if the 24V supply is also available, or through D3 if the 12V supply is available.
I have run the simulation with the following combinations of supplies, and found that the load is correctly supplied from the lowest voltage each time.
12V | 24V | 48V | V(vload): | PMOS1 Vgs | PMOS2 Vgs | PMOS3 Vgs | PMOS4 Vgs | PMOS5 Vgs |
ü | û | û | 12.0 | -10.9 | -8.0 | -8.0 | 0.0 | 0.0 |
ü | ü | û | 12.0 | -10.9 | 0.0 | -8.0 | -11.4 | 0.0 |
ü | û | ü | 12.0 | -10.9 | -8.0 | 0.0 | 0.0 | -35.4 |
ü | ü | ü | 12.0 | -10.9 | 0.0 | 0.0 | -11.4 | -35.4 |
û | ü | û | 22.6 | -20.5 | -1.0 | -15.0 | -0.9 | 0.0 |
û | ü | ü | 24.0 | -21.8 | -16.0 | 0.0 | 0.0 | -23.4 |
û | û | ü | 46.6 | -42.3 | -31.1 | -1.0 | 0.0 | -0.9 |
In most instances, the circuit is very efficient. However, as you can see from the table above, when the circuit is only supplied from the 24V or only supplied from the 48V power source, the efficiency drops, but it is still not too bad. Some tweaking of the resistor values might be able to improve this performance.
But I am more concerned with the voltage drop across the Source / Gate. The small FETs I have won’t handle -40V or -30V. If I can solve this problem, then the next step will be to build up a prototype and see if reality agrees with the simulation.
Any thoughts or comments on what I have so far?
Aaron.
This has been an interesting (and frustrating) problem. Just thought I would give an update on what I have found.
Ada's comment the last time I brought this up proved spot on. The problem with the circuits always came down to the fact that the power supplies did not also act as current sinks. The circuit relied on the lower voltage supplies to clamp the voltage at their terminals to that value. This only required a few uA of current, but if the power supply could not sink *any* current, and its output terminal was allowed to float above (but never below) its rated voltage then the circuit would fail under some scenarios. I could get it to work under most circumstances, but there was always at least one combination of supplies that failed.
I tried various different circuits to try and create the necessary logic, but every time I eventually came up against the same problem – I was trying to switch the high side of a higher voltage supply “off” or “on” based on the presence or absence of a lower voltage. Sooner or later this always ended up with the same problem.
Then one night I was looking at the circuits and realised that what was needed was some way to isolate the lower voltage from the higher voltage. I thought about using optocouplers, and came up with the following circuit:-

I simulated the fact that the power supplies were not current sinks by adding a series diode (and increasing the nominal voltage to compensate for the forward voltage drop). This circuit seemed to work under every scenario I tried in the simulation, so I ordered some optocouplers and waited for them to arrive. The package arrived earlier this week and tonight I built up a test circuit – and it works exactly as expected.
The only real problem with the circuit is the amount of wasted power in R2, R4 and R5. In order to saturate the optocoupler, I need around 5 to 10mA of current through the LED side. With a forward voltage drop of only around 1 to 2V, this leaves quite a large voltage to drop across the series resistors.
A better solution I did come across was an interesting circuit based around a depletion mode MOSFET that could effectively give you a normally closed “switch” which would turn off with any positive voltage applied. (see http://www.aldinc.com/pdf/ZeroPowerNormallyONSwitch.pdf - figure 2) However, the voltage ratings, and maximum current draw of these devices means that the circuit as shown would not be suitable for my application. I might see if I can get some of these devices and play around with them, but it is not a priority.
The reality is that setting up this circuit to automatically chose the lowest available voltage is probably more trouble than it is worth. I will probably just end up putting three pairs of jumper terminals on the board and use them to select one out of the three possible supply voltages.
Regards,
Aaron.
--