Add wall-wart in parallel with batteries?

In summary, the conversation discusses the use of Roombas in the house and the cost of using batteries for the "invisible walls" that control the robots. The idea of converting the Roombas to run on wall-warts is brought up, but concerns about overcharging and power outages arise. Suggestions for using diodes and capacitors to regulate the power are also mentioned. The conversation ends with a suggestion to use a microprocessor and batteries for backup power.
  • #1
mv10
11
0
We have several Roombas in the house and we use a lot (12) of those little "invisible walls" to control where they can and can't go. They're all programmed to daily schedules, but even so, the invisible walls eat up a pair of C-cells every 60 days or so. 24 C-cells every couple of months gets expensive fast. I mean, it isn't going to leave me homeless, but it's pretty annoying to have a device sitting directly under a power outlet, chewing through $20 in batteries each year (and as luck would have it, every one of them is within a foot or so of an outlet).

Awhile back we opened all of them up and converted them to run off 3V wall-warts. I had planned to just leave them turned on all the time -- a constant IR beam isn't going to bother anybody. Unfortunately, I didn't realize the invisible walls automatically turn themselves off after about 90 minutes if they're manually activated (instead of being programmed). Worse yet, it isn't feasible to simply program all of them using main power, since the programs would be frequently lost anyway: JEA, our electric provider, is extremely flaky. It isn't unusual to get a brief flicker once a day.

I've been wondering -- would it be safe and feasible to wire the battery tray in parallel with the wall-wart jack? (Obviously the two batteries would be wired together in series, and that would then be wired in parallel with the AC adapter to the circuit board.) Would the wall-wart feed the circuit and more or less indefinitely extend the battery life, which would only see a large drain when the main power went off?

Or would the lower amperage of the two-battery "cell" be the limiting factor, and the AC adapater would simply act as a second cell and match that amperage, and all I'd do is double the battery life? (Which is still nice, but not really the goal.)

When the power fails, is it reasonable to expect that the batteries could pick up the load of supply the memory with power after losing the wall-wart "cell"?

Thanks!
 
Engineering news on Phys.org
  • #2
Roombas are robotic vacuum cleaners?

If you are using alkaline C cells, the makers usually say you shouldn't try to recharge them and that is what would happen if you put a wall wart across them.
You could put a diode in series with them so they can only discharge, but that would use up some of the battery voltage. Schottky diodes use less voltage than normal silicon ones, so maybe that could be worth a try.

Or, you could convert them to use NiMH cells and recharge them with the wall wart. These are fussy about overcharging though, so you would have to limit the charging to a trickle charge if they are to be left on all the time.
 
  • #3
Thanks. Yes, Roombas are the robotic vacs. Sorry, with several bumping around every day, I forget that not everyone may recognize the name. (And the situation is slightly worse, I had forgotten, but these are actually chewing up a pair of D cells per unit, not C cells...)

It looks like Schottky diodes tend to drop by 0.3v to 0.5v which I would worry might be too much -- but it's easy enough to try. The programming only turns on the virtual wall LEDs for about 90 minutes per day, so that's only a 6% chance that we'd lose power during the maximum power drain...

I also wondered about ways to keep the batteries "out of the loop" during normal powered operation, but switch to the batteries when main power was lost. (And in this case the batteries wouldn't necessarily have to be giant D-cells, but just something that could supply 3V for just a few minutes or hours, instead of months.) I'm familiar with relays at a large scale (I wired up a 12VDC-120VAC relay so our 25kW whole-house generator will automatically open exhaust vents and a giant exhaust fan when the generator auto-starts), but at this much smaller scale I'm not really familiar with how the same relay-like switching is accomplished. I would think a big old hardware relay would be too slow to keep power flowing to the memory. Is that a reasonably valid assumption or do physical relays switch much faster than I'm thinking?
 
  • #4
mv10 said:
It looks like Schottky diodes tend to drop by 0.3v to 0.5v which I would worry might be too much -- but it's easy enough to try.

I wouldn't worry about it. Most electronics can handle that much of a voltage loss. Switching from alkalines to NiCds or NiMH will lose approximately .3 V per cell, since NiCD is 1.2 and NiMH is 1.25 V per cell, nominally, while alkaline is 1.5 V. Since most stuff that runs on alkalines can also run on rechargeables, they should also work fine with alkalines through a low-drop diode like a Schottky as the final voltage is about the same.
 
  • #5
How long a period are your electrical flickers? If only a few cycles, I'd simply put a little capacitance across the wall wart outputs. Try 100 uF 10V electrolytics, and see how it goes.
 
  • #6
Phrak said:
How long a period are your electrical flickers? If only a few cycles, I'd simply put a little capacitance across the wall wart outputs. Try 100 uF 10V electrolytics, and see how it goes.

Pfff. If you're going to go for capacitance backup, go with one of these babies.
 
  • #7
More complicated method:
microproccesor controlling a mosfet with the batteries.
 
  • #8
Depending on the current, maybe you could just run them all off one small lead acid battery or bank of NiMHs (or even a very large capacitor) which were on permanent trickle charge.

You could have a series of small regulators all giving 3 volts and if the mains did vanish for a few minutes it wouldn't matter because the battery could supply charge for several hours, probably.

It would be good for the batteries if the power was deliberately turned off for a while to let the batteries discharge a little.
 
  • #9
With a little bit of work on perfboard and some electrical tape (or small enclosure) you could wire in a battery backup switcher IC (some also fall under the aegis of battery supervisor, or voltage supervisor), which switches to your battery backup whenever your main power source fails. Unfortunately, you now have to check your batteries every so often (however, you can probably drop down from Cs or Ds to coin cells or AAs, depending on how often you expect these to have to kick into action).

For instance, this chip from Intersil came up when I Googled for battery backup switcher (I've never used it before and haven't looked at the datasheet):
http://www.intersil.com/data/fn/fn3183.pdf

Maxim has another, the MAX 690 series, but they only have something like 20 or 50 mA of supply current:
http://www.maxim-ic.com/quick_view2.cfm/qv_pk/1334
 
  • #10
Thanks for all the suggestions! We have 12 of these, so I'm looking for the simplest possible angle, which makes the diode a great idea if it works. Not looking forward to building 12 copies of anything that involves soldering IC, or making breadboards, etc... They're distributed all over the house, so a centralized power source wouldn't work.

The leakage through a Schottky diode wouldn't be too much juice flowing into the battery?

Would I actually want two diodes? One to keep the power from flowing back through the transformer when the AC power goes down? Does my little Visio schematic look right?

roombavirtualwall.jpg


It looks like low-voltage low-amperage Schottky diodes no more than a buck from Digikey -- although I need to do some reading to figure out exactly what some of the terms mean so I can choose the right one. (I'm not 100% sure which is the forward voltage and which is the reverse... although I guess I'd want them to be the same, right?)
 
  • #11
That looks correct except for the reversed polarity on the Roomba unit. You shouldn't need the diode on the wall-wart supply, however, since it already incorporates one of more diodes, either in series or as a bridge; these convert the AC from the transformer into DC.
 
  • #12
Oh yeah -- sorry about that, I hit the wrong button in Visio (looking for h-flip to put the text on the right and accidentally hit v-flip then forgot to flip it back).

Am I right in thinking that as long as the forward and reverse voltages are somewhere above my 3V requirement (there are quite a few out there in the 4V, 7V, 8V ranges), practically any Schottky diode should work?

I'm not really sure how to estimate the amperage they need to handle -- it was cheap and easy to find transformers that put out 1.5A and I knew the unit drew less than that, so I didn't worry about guessing what it actually needs. But now I suppose I have to know. I've seen "RF" diodes that seem to have very, very tiny ratings (like 50mA) and I would assume I don't want that, but those are mostly what I'm seeing in the lower voltage ranges.

Any suggestions?
 
  • #13
Do you have any sort of multimeter, particularly one with a low-range current measurement?
 
  • #14
Actually I did just buy a meter recently which measures mA. (Previously I just had one of those cheapo Radio Shack pocket deals which only did resistance and voltage.) I guess I have to put it inline if I remember correctly, yes? (Sorry for the basic questions...)
 
  • #15
You would also need to make sure the wall supply delivered more voltage than the batteries.
This is necessary to reverse bias the diode in series with the batteries when power is available.
Otherwise, the batteries would be delivering power all the time.

One way to do this would be to use NiCd or NiMH batteries and put a suitable resistor (maybe 470 ohms) across the diode to trickle charge the batteries when the power is available.

If you don't have a multimeter, they are available cheaply. I found this one:
http://www.harborfreight.com/cpi/ctaf/Displayitem.taf?itemnumber=92020
but there must be lots of them around.

Just put the meter on the 10 A range initially and measure the current into your LED device. (You put it in series with one power lead to the device). If you are sure the current is a lot less than this, move to a lower range to get better accuracy.
 
Last edited:
  • #16
Right. Break the circuit at any convenient point in series with the battery and insert the meter. Remember that the reading you'll get only represents the load at the time (obviously) and that the demand can go up or down depending on what the device is doing. You'll probably want to monitor the current over a time period to get an idea of the peak draw.
 
  • #17
vk6kro, please define "put a resistor across the diode"... are you saying basically "loop around" the diode with a connection through the resistor? The diode blocks the full current, but the resistor circuit allows a small amount to bypass it? How does one determine what size resistor is appropriate for this (out of curiosity)?

I suppose I need to see peak amperage, and I assume that would be with the virtual wall "on" -- spewing it's IR signals through its two LEDs. I can just power it up and watch it for awhile, the meter I have can hold a peak value.
 
  • #18
mv10 said:
vk6kro, please define "put a resistor across the diode"... are you saying basically "loop around" the diode with a connection through the resistor? The diode blocks the full current, but the resistor circuit allows a small amount to bypass it? How does one determine what size resistor is appropriate for this (out of curiosity)?

That's it. The diode allows full current to flow from the battery to the circuit under power, but the resistor allows a small charging current to flow through the battery when the AC power is available. Obviously, for this to work the AC supply voltage needs to be a few volts above the battery voltage. The resistor value will be chosen to limit the current through the batteries to a safe charging level, typically C (the battery capacity in mAH) / 20 for a trickle charge.
 
  • #19
Awesome. I think I have everything I need then.

Hmm -- any tips on how to spec out the correct diode? Digikey had a rather vast number of search parameters for diodes...
 
  • #20
Also -- why mAH/20? Where does the 20 come from? (Again, just curious.)
 
  • #21
C/20 is the standard trickle-charge rate for NiCds, although almost all cells can take a C/10 charge indefinitely without significant voltage depression problems. I assume the industry arrived at that rate through experimentation, but I'm not sure.

The diode should have the lowest forward voltage drop and a forward current greater than your expected peak load (add, say, 10-20% to any measured figure for safety) and a peak inverse voltage rating greater than the supply voltage. No other characteristics matter for this application.
 
  • #22
Cool, I really appreciate all the help and detailed explanations!
 
  • #23
I had a look at Digikey.
This part:
MBR0520LDKR-ND
Has a rating of 20 volts inverse and 500 mA max current so it probably has adequate ratings. The price was about 28 cents and you can get them in small quantities.

It has a forward voltage drop of 0.385 volts at 500 mA, though, so I wonder if normal Si diodes might be adequate. You'd probably need 3 rechargable NiMHs anyway and you would then get about 3 volts after the diode. ( (3 * 1.2) - 0.6)

You can reduce the trickle current if you know the batteries are only going to be used rarely.
470 ohms would give about 4 mA if the supply was 5 volts or 2 mA if it was 4 volts. Maybe as low as 100 ohms.
Basically, they should never go flat, so the trickle current only gives them a boost to compensate for their normal loss of capacity with time.

You would need to measure the wall wart supply voltage and current drain with a multimeter to get it right.
 
  • #24
Yeah, 12 new wall-warts is the only real downer here. I already converted the Virtual Walls to AC power and so had bought a pile of 3VDC transformers. But I wouldn't be too surprised if they actually output slightly more (Made In China), so I'll check them as long as I have them here... and another set isn't all that expensive really. Still beats vacuuming the floors myself. :)

Thanks again to both of you.
 
  • #25
Yes, I've seen wall warts that give double their full load voltage on no load. Some of them run pretty hot, too.
Good quality ones give a steady regulated voltage, but these might be pulsing DC with no filtering.
 
  • #26
Hmm... and these are the cheapest of the cheap, frankly. I think I paid about $5 each for them, or something like that, and I'm sure even that was a ripoff (but roughly the same as 2 month's worth of D-cells...)

I suppose I should try testing them under load, then? Maybe power up the Roomba virtual wall's LEDs then put the meter on it to see what voltage is flowing? Should I expect the other stuff I'll be adding (diodes, resistors, batteries) to further contribute to significant voltage drop over whatever I can measure off the current transformer/unit-only setup?
 
  • #27
Measure the voltage across the output or the wall-wart with no load first.

Then if you have an electrolytic capacitor put this across the output and measure again.
If the voltage goes up, the supply isn't filtered.

Then judge whether it is safe to put the supply across the LED units or bring the readings back here.
Read what it says about voltage, if there is a label on the LED units.

The only voltage drops should be in series with the batteries, so the full voltage of the power supply should get to the LEDs.
 

1. Can I use a wall-wart in parallel with batteries to increase power output?

Yes, using a wall-wart in parallel with batteries can increase the overall power output. This is because the wall-wart can provide a constant source of power while the batteries act as a backup source, allowing for a more stable and sustained power supply.

2. How do I connect a wall-wart in parallel with batteries?

To connect a wall-wart in parallel with batteries, you will need to connect the positive terminal of the wall-wart to the positive terminal of the battery and the negative terminal of the wall-wart to the negative terminal of the battery. This will create a parallel circuit where both the wall-wart and batteries are providing power simultaneously.

3. What are the benefits of using a wall-wart in parallel with batteries?

The main benefit of using a wall-wart in parallel with batteries is the increased power output. This can be useful in situations where a device requires more power than what the batteries alone can provide. Additionally, using a wall-wart can help preserve the lifespan of the batteries by reducing the amount of discharge cycles they undergo.

4. Are there any risks or drawbacks to using a wall-wart in parallel with batteries?

One potential risk of using a wall-wart in parallel with batteries is overcharging the batteries. It is important to ensure that the voltage and current output of the wall-wart is compatible with the batteries to avoid damaging them. Additionally, using a wall-wart in parallel with batteries may increase the overall cost and complexity of the device.

5. Can I use any type of wall-wart and batteries in parallel?

No, it is important to select a wall-wart and batteries that are compatible and have matching voltage and current outputs. Using mismatched components can lead to damage or malfunction of the device. It is recommended to consult the manufacturer's specifications or seek professional advice when choosing components for a parallel circuit.

Similar threads

  • Electrical Engineering
Replies
11
Views
199
  • Electrical Engineering
Replies
3
Views
216
  • Electrical Engineering
Replies
12
Views
711
Replies
7
Views
2K
  • Electrical Engineering
Replies
13
Views
7K
  • Electrical Engineering
Replies
7
Views
1K
  • Electrical Engineering
Replies
15
Views
2K
  • Electrical Engineering
Replies
10
Views
864
Replies
6
Views
1K
  • Electrical Engineering
Replies
2
Views
1K
Back
Top