How to Make a Constant Current Lithium Ion Charger
I have a bunch of 18650 lithium ion batteries that can handle a charge rate of 5C. Each one is 3,000 milli-amp hours, and I would like to build a charger for them as my project. I understand the mechanics of charging lithium ion batteries, and that they need to be charged at a constant current up until that current reaches 4.2 volts, than switch over to constant voltage. The constant voltage charging makes up about 20% of the battery capacity, and I am willing to forgo that amount. What I am trying to build is a constant current charger for it that would charge at a current of 1C, and shut off when it reaches 4.2 volts, and I would like some help as to how I would do this.
I was thinking that I would have some sort of current source that supplied 3 amps and then have a relay that would shut off the current as soon as a voltage detector reached 4.2. I do not know much about current sources, so I am asking here for some help.
Thank You for Your Help!