Because of repeated failures of purchased chargers, I have been developing my own charger that I will know how to repair.
I have breadboarded a constant current charger and a constant voltage charger using an LM317 adjustable voltage regulator, following the simple designs in the ST data sheet: Figures 6 and 9 of https://www.st.com/content/ccc/reso...df/jcr:content/translations/en.CD00000455.pdf
My constant current circuit works perfectly, charging up a discharged 2-cell, 600 mAhr, "9V' battery to 8.00V in 1.5 hours at 400 mA. Upon stopping the charger, the battery drops off to 7.75V and holds it. Input power is 12.5V, 1 Amp. R1 is 3 ohms, 0.5W. The LM371 has a TO-220 type heat sink screwed on; I used thermal compound for good heat transfer and the combination barely gets warm.
When I switch to my constant voltage circuit, which differs only in R2 and the resistor connections, I get no current at all.
I adjusted R2 in Figure 6 to achieve 8.00V output without the battery attached.
The voltage (Vref) between Adjust and Output is 1.25V as expected, but it does drop to 1.22V when the battery is attached. R1 is 240 ohms. R2 is 2200 ohms + 1 Kohm pot.
I don’t think it’s a faulty LM317 because I used the same one for the constant current breadboard. Also, I have tried another one. Otherwise it’s a very simple circuit (all the complexity is in the LM317).
Can anyone offer a suggestion as to why that circuit is not working? I’m at my wits end.
If I don’t get this solved I’m just going to use constant current charging and live with a little (~20%) less battery capacity. I will use an Arduino Nano or ATtiny microcontroller (uC) to read battery voltage to know when to stop charging. The uC will use a transistor switched relay to open the charge line. I’ve been thinking about getting away from the 9V style battery packaging and going back to packs with thermal signal if possible for safety reasons. The uC can implement that as well as other features like limiting charge time to one hour and sensing charge current.
I have breadboarded a constant current charger and a constant voltage charger using an LM317 adjustable voltage regulator, following the simple designs in the ST data sheet: Figures 6 and 9 of https://www.st.com/content/ccc/reso...df/jcr:content/translations/en.CD00000455.pdf
My constant current circuit works perfectly, charging up a discharged 2-cell, 600 mAhr, "9V' battery to 8.00V in 1.5 hours at 400 mA. Upon stopping the charger, the battery drops off to 7.75V and holds it. Input power is 12.5V, 1 Amp. R1 is 3 ohms, 0.5W. The LM371 has a TO-220 type heat sink screwed on; I used thermal compound for good heat transfer and the combination barely gets warm.
When I switch to my constant voltage circuit, which differs only in R2 and the resistor connections, I get no current at all.
I adjusted R2 in Figure 6 to achieve 8.00V output without the battery attached.
The voltage (Vref) between Adjust and Output is 1.25V as expected, but it does drop to 1.22V when the battery is attached. R1 is 240 ohms. R2 is 2200 ohms + 1 Kohm pot.
I don’t think it’s a faulty LM317 because I used the same one for the constant current breadboard. Also, I have tried another one. Otherwise it’s a very simple circuit (all the complexity is in the LM317).
Can anyone offer a suggestion as to why that circuit is not working? I’m at my wits end.
If I don’t get this solved I’m just going to use constant current charging and live with a little (~20%) less battery capacity. I will use an Arduino Nano or ATtiny microcontroller (uC) to read battery voltage to know when to stop charging. The uC will use a transistor switched relay to open the charge line. I’ve been thinking about getting away from the 9V style battery packaging and going back to packs with thermal signal if possible for safety reasons. The uC can implement that as well as other features like limiting charge time to one hour and sensing charge current.