Hey all--
I'm looking to build a power supply for a mobile robot. I want to build a battery-based supply that can recharge the battery when plugged into the wall while supplying power for the robot at the same time. The long range goal is for the robot to find a base station when its batteries are low and recharge itself, then continue doing whatever it was doing.
Problem is, most of my electronics knowledge is in logic. I'm pretty clueless about other areas, particularly power electronics. Are there any good tutorials (online or book form) for learning about this stuff?
I'm planning on using two 6V batteries: one for logic and one for actuators. The robot is small enough that I could probably get away with one, if that makes the power supply circuit any simpler, but I chose two to eliminate problems with motor-related brownouts.
I understand the basics of rectifying AC. It looks like I need to use a step-down transformer, a bridge rectifier, and a large electrolytic to smooth? My understanding is that the peak AC voltage into the rectifier is roughly the value of smoothed DC voltage I will get out of the capacitor. So if I need 7.5V to recharge the battery and supply my circuits, I want a 7.5V peak to peak AC?
Another question: I need 5V regulated for my logic circuits. I was thinking of using a star power distribution scheme. A single 5V LDO (rated at .5-1A) should be adequate: I'm only powering a few AVRs, photointerrupters, etc. Total current consumption I expect to be 100-200 ma, but I want headroom to grow. Also, a switched mode regulator is probably overkill, right?
And ripple current is okay for motors, right? If not, how do I regulate enough current to power a motor with a 1A stall?
I'm also interested in learning about safety guidelines when working with AC. I'm familiar with safety rules regarding home repairs, e.g. installing a switch or outlet, but not for building AC-powered devices. I would probably build the power supply in two parts: the "base station" would have a grounded, metal chassis, and were perform the step-down, rectification and smoothing. Then it would provide unregulated 6V DC to the robot, which would have a regulator and star distribution. As an AC appliance, does my base station need a fuse? I'm not looking for a good housekeeping seal of approval here, just something that's very safe in a controlled environment.
Finally, if the power supply needs to power the robot and recharge the batteries at the same time, do I need to do anything special? I mean, I don't need to switch off the batteries connection to the circuit? This is probably a really stupid question, but in my head I feel like it might not be as simple as I think it is.
Anybody with the patience to respond to any or all of this: much thanks in advance!