Hi guys.
I've had great success with my simple NiMH charging circuits, so I thought I would take it a step further and make something that I've been in need of: a general purpose UPS / Powerbank for my Raspberry Pi (which, as a bonus, can double as NiMH charger.)
Requirements are:
1. When plugged into AC, power the Pi and charge batteries simultaneously.
2. When no longer receiving AC power, power is supplied via the batteries.
3. Reverse current protection for the "AC" power supply (as this may be a solar panel and not AC sometimes).
Attached is a circuit that I think meets these criteria, but I wanted to post it here and get feedback just in case I'm doing something obviously wrong.
The two unlabeled diodes should prevent reverse current into the power source, and the lower one also serves to drop the voltage down to a more appropriate range for charging the NiMH cells.
R1 and R2 limit the current into the NiMH cells to a safe range, around C/20 or lower. I might make the resistance select-able for when I want to charge quicker or larger capacity batteries.
D2 and D3 prevent current from taking an alternative path into the NiMH cells and frying them when a powersupply is connected, but allow the NiMH cells to provide power to the output when the powersupply is not active.
D2 and D3 should not short the supply to the NiMH cells because the voltage on the main power rail would be higher due to the forward voltage drop (I think).
Have I got all of that correct?
I've had great success with my simple NiMH charging circuits, so I thought I would take it a step further and make something that I've been in need of: a general purpose UPS / Powerbank for my Raspberry Pi (which, as a bonus, can double as NiMH charger.)
Requirements are:
1. When plugged into AC, power the Pi and charge batteries simultaneously.
2. When no longer receiving AC power, power is supplied via the batteries.
3. Reverse current protection for the "AC" power supply (as this may be a solar panel and not AC sometimes).
Attached is a circuit that I think meets these criteria, but I wanted to post it here and get feedback just in case I'm doing something obviously wrong.
The two unlabeled diodes should prevent reverse current into the power source, and the lower one also serves to drop the voltage down to a more appropriate range for charging the NiMH cells.
R1 and R2 limit the current into the NiMH cells to a safe range, around C/20 or lower. I might make the resistance select-able for when I want to charge quicker or larger capacity batteries.
D2 and D3 prevent current from taking an alternative path into the NiMH cells and frying them when a powersupply is connected, but allow the NiMH cells to provide power to the output when the powersupply is not active.
D2 and D3 should not short the supply to the NiMH cells because the voltage on the main power rail would be higher due to the forward voltage drop (I think).
Have I got all of that correct?
Attachments
Last edited: