Sioux12
Newbie level 4
Hello!
I hope this topic fits to this Forum (otherwise, any suggestion about the right place to post it would be welcome).
I am a newbie and I would like to design (and possibly realize) a battery charger with a programmable current: ideally, the desired current should be selected from a range of discrete values. I wonder if this can be accomplished (for example) through the GPIO output pin(s) of a development board, wired to control the transistor(s) actually providing the current to the battery.
Some constraints:
- I would like to use USB as power line;
- consequently, the range of currents I would like to cover is from 0 A to about 3 or 4 A; the voltage should be fixed at 5 V;
- for now, my target battery is the one of a mobile phone, but I would ideally like to build a device which is able to charge any battery which can be charged through USB.
My knowledge about batteries and chargers is very poor. After some research, I found out that there are specific chargers for specific types of batteries. There are also Integrated Circuits providing a range of different currents to the batteries, but I've never found a range so wide as I ideally would like to have. Is there something that would fit to this case?
Moreover, I have a "principle" question: can this programmable charger current be obtained by a single transistor, simply controlling the base voltage (in the case of a BJT) or gate voltage (in the case of a MOSFET)? Or some other strategies are recommended? And why?
For example, in the Integrated Circuits I found (like LTC4077) the variable current is set using a (variable?) resistor ("The charge current is set by connecting a resistor, RIUSB, to ground"). Also in this message a voltage divider is mentioned. But doesn't this imply a waste of power?
Bye,
Hugh
I hope this topic fits to this Forum (otherwise, any suggestion about the right place to post it would be welcome).
I am a newbie and I would like to design (and possibly realize) a battery charger with a programmable current: ideally, the desired current should be selected from a range of discrete values. I wonder if this can be accomplished (for example) through the GPIO output pin(s) of a development board, wired to control the transistor(s) actually providing the current to the battery.
Some constraints:
- I would like to use USB as power line;
- consequently, the range of currents I would like to cover is from 0 A to about 3 or 4 A; the voltage should be fixed at 5 V;
- for now, my target battery is the one of a mobile phone, but I would ideally like to build a device which is able to charge any battery which can be charged through USB.
My knowledge about batteries and chargers is very poor. After some research, I found out that there are specific chargers for specific types of batteries. There are also Integrated Circuits providing a range of different currents to the batteries, but I've never found a range so wide as I ideally would like to have. Is there something that would fit to this case?
Moreover, I have a "principle" question: can this programmable charger current be obtained by a single transistor, simply controlling the base voltage (in the case of a BJT) or gate voltage (in the case of a MOSFET)? Or some other strategies are recommended? And why?
For example, in the Integrated Circuits I found (like LTC4077) the variable current is set using a (variable?) resistor ("The charge current is set by connecting a resistor, RIUSB, to ground"). Also in this message a voltage divider is mentioned. But doesn't this imply a waste of power?
Bye,
Hugh