|Mar 18, 2013, 02:59 PM|
Could somene tell me the formula for calculating the R4 current resistor in this circuit. I can't see how the values given were figured out. I would like to build a 2s 240ma version, but would like the formula for other values.
|Mar 18, 2013, 03:24 PM|
Try a Google Search on 'LM317 Datasheet' you will likely find the voltage formula on the first page.
R4 then acts to limit the charge current which can be no more than the voltage output of the regulator - the battery voltage divided by the resistor.
So if Vregulator = 4.2v, Vbat is 3V, and R is 1.2R, the current would be (4.2-3)/1.2 = 1A.
|Mar 18, 2013, 06:40 PM|
I have the data sheet, and your example work fine for:
Vregulator = 4.2v, Vbat is 3V, and R is 1.2R, the current would be (4.2-3)/1.2 = 1A
If you try it on the other examples it does not or I have something wrong.
Vregulator = 4.2v, Vbat is 3V, and R is 1.8R, the current would be (4.2-3)/1.8 = .666666A ---should be 1.5A
Vregulator = 8.4v, Vbat is 3V, and R is 4.7R, the current would be (8.4-3)/4.7 = 1.1489A ---should be .550A
If I work it backward (.550A x 4.7R)-8.4V = 5.815V Vbat
Obviously Vbat must change. BTW: Vbat does mean Voltage Battery right?
Did you arrive at Vbat is 3V by working it backward?
Thanks for the help, hope there is a formula for this. Will keep trying.
|Mar 18, 2013, 07:09 PM|
Joined Nov 2003
The reason you're having trouble understanding the values in that link you posted is because they're wrong. In particular 1S 1.8R is wrong as you can see if you look at the other values. If 1.2R = 1A and 2.2R = 0.55A then there's no way 1.8R is going to be 1.5A.
OTOH 0.8R would be about right.
BTW VBat = 3V is based on what it says in the text "...battery voltage is lowest. (that is 3V min for a lipo)". I wouldn't let my lipos get below about 3.6V but then I wouldn't use such a crude circuit to charge lipos either, not when there are plenty of better ones about.
|Mar 18, 2013, 07:19 PM|
The 'simple circuit' has no low voltage protection, it can be hazardous to attempt to charge a Lipo that has fallen below 2.5v or so, which is why most proper chargers will prevent you doing this.
|Mar 18, 2013, 07:20 PM|
Here is a thread with lots of questions answered
Here is Scott Henion's chargers. I especially like #3
|Mar 18, 2013, 10:10 PM|
I guess I didn't think that through to clearly of course your right. I usually stop discharging at 3.7v, 3.8v.
srnet (Stuart) Yes it has no low voltage protection, kind of like the earlier lipo chargers.
rick.benjamin (Rick I hope)
The charger I actually built was electron_head's from your first link.
Scott Henion's chargers are nice too.
How this started out, I have a young guy coming over to look at my plane and stuff. His mom says he's really into planes.
So I thought I'd fix him up with something to start out.
A long time ago I bought a few wally world flying wings for gifts and occasions like this.
Thought I better check it out make sure it works the battery was a nimh 4.8v 110mah If I had those cells
I would have soldered up a couple more packs, but I didn't.
I built a 2s 240mah lipo pack with 5v regulator, same weight as old pack and fits. Now he'll need a small lipo charger
I was going to build the one I asked about in the thread.
(good thing I was having trouble with the charge rate) and didn't build it.
electron_heads does work fine for this job
Thanks to all; knowing you will make a young guy happy
|Category||Thread||Thread Starter||Forum||Replies||Last Post|
|Sold||proboat formula fastech||miclacom||Boats (FS/W)||10||Feb 11, 2013 06:20 PM|
|Discussion||LM317 not regulating properly||offroadheli||DIY Electronics||6||Oct 16, 2006 08:41 PM|
|LM317 constant current charger.||thermite||Batteries and Chargers||4||Jun 21, 2003 10:16 AM|
|Please help me with LM317 charger||j8m8l||Batteries and Chargers||8||Nov 18, 2002 12:11 PM|
|adding LED to LM317 charger?||art4242||Parkflyers||10||Dec 21, 2001 01:26 PM|