- #1
Jdo300
- 554
- 5
Yeah I know the title sounds strange. But here is my situation:
I have a circuit that is powered by the USB port (Max 500mA Draw @ 5V). On my circuit board is divided into two sections, one that contains the digital logic and other stuff which i estimate can draw up to 200mA worse case scenario. The second section consists of a battery charging circuit which is meant to charge up the boards two NiMH AA battery cells.
The trick here is that I want to see if it is possible to balance the current between the two circuits so that whatever current is not being used by the main circuit can be used by the battery charger circuit to speed up the charging time. So for example, if the main circuit is only drawing 50mA then the battery charger should be current-limited to 450mA. But if the circuit load rises to 100mA, then the battery charger current limit drops to 400mA. So the sum-total is always 500mA (assuming that the battery is in need of charging of course).
To make things even more tricky, I wanted to see if I could pull this off with some kind of switched-mode current regulator scheme. So far though, I have been looking around for example circuits to show a simple switched-mode current limit circuit (I don't want to use linear regulators to keep the heat to a minimum).
Assuming that I can find the current limit circuit, my rationale is to use op-amps or something to measure the current draw from each section and somehow throttle the current limit value on the battery charger up or down depending on what that main circuit current is doing. However, finding the least ridiculous way to implement this is what has me hung up at the moment. What do you all think?
Worse case scenario, I can just lock the battery charge current in at 300mA and be done with it but I'm expecting that the rest of the circuit would draw much less than 200mA in normal operation...
Thanks,
Jason O
I have a circuit that is powered by the USB port (Max 500mA Draw @ 5V). On my circuit board is divided into two sections, one that contains the digital logic and other stuff which i estimate can draw up to 200mA worse case scenario. The second section consists of a battery charging circuit which is meant to charge up the boards two NiMH AA battery cells.
The trick here is that I want to see if it is possible to balance the current between the two circuits so that whatever current is not being used by the main circuit can be used by the battery charger circuit to speed up the charging time. So for example, if the main circuit is only drawing 50mA then the battery charger should be current-limited to 450mA. But if the circuit load rises to 100mA, then the battery charger current limit drops to 400mA. So the sum-total is always 500mA (assuming that the battery is in need of charging of course).
To make things even more tricky, I wanted to see if I could pull this off with some kind of switched-mode current regulator scheme. So far though, I have been looking around for example circuits to show a simple switched-mode current limit circuit (I don't want to use linear regulators to keep the heat to a minimum).
Assuming that I can find the current limit circuit, my rationale is to use op-amps or something to measure the current draw from each section and somehow throttle the current limit value on the battery charger up or down depending on what that main circuit current is doing. However, finding the least ridiculous way to implement this is what has me hung up at the moment. What do you all think?
Worse case scenario, I can just lock the battery charge current in at 300mA and be done with it but I'm expecting that the rest of the circuit would draw much less than 200mA in normal operation...
Thanks,
Jason O