Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
Thread Tools Display Modes
Old 8th October 2007, 07:44 AM   (permalink)
Default

[quote=hardcore misery]ok sir, that would be nice... so i can verify the status of our prototype
(mainly the status at NO LOAD condition, which the the charging voltage is 4.2V and the Vref is lower than 4.2V (2.1V or 2.05V)[/QUOTE]

hi,
Managed to get a LM339 for testing!
Will build today.

The charge voltage is 4.2v, when the charger is disconnected by the relay the battery voltage will be about 3.2v.

In your circuit you have chosen your resistor divider to give a Vbattery/2, that is,, 2.1V [when charging]
and 1.6V [when charged and relay just switched off].

From your original OP you wanted a circuit that stopped charging when the battery was fully charged?
Will the battery be removed from the charger when its fully charged?
If yes, why are you concerned about measuring and detecting with the comparator the lowest discharged voltage of a battery?

In my simulation for the battery on charge is:
from +5v to 0v I use a 2K, 20 turn variable resistor, the wiper of the variable is the simulated battery voltage.
I can adjust the variable to simulate the different battery voltage levels, this is much easier than trying to use an actual battery during testing.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 09:16 AM   (permalink)
Default

hi,
Added a 10K [P2] variable pot from the output of the comparator to 0V,
the wiper is connected back to the non inverting input of the comp via a 1K5 resistor.
Added a 1K [P1] variable pot to the junction of R1/R2,, Added a 0.1uF

Both pots should be multiturn to ensure setting accuracy.

Also moved the LED from the output of the comp to the relay drive collector.

As a temporary simulated battery voltage source connect a 2K [P3] variable pot from +5V to 0v
use the wiper voltage as the battery voltage.[ no actual battery connected at this time]

LOOP:
Set P3 , the test voltage to 1.4v
Set P1. junction of R1/2 to 2.10v
Set P2, the hysteresis pot to half its value.
[at this stage the relay should be energised,, charging]

Increase the test voltage [slowly] pot P3 output to 2.1v, close to this value the relay should be de-energised.
Slowly decrease the test voltage down to about 1.4v, the relay should be energised about this voltage.

If the difference between the On/Off voltages is not [ 1.4 and 2.1] adjust P2 the hysteresis pot.

Repeat this LOOP until the relay switches at 1.4v and 2.1v

It does set up OK and it works with the circuit I have posted.
Also a graph of measurements.

I would recommend that you use a Vref voltage source to drive the R1/2 P1 pots, this voltage MUST be stable.

Try it let me know.
Attached Images
File Type: gif ChrgSun1.gif (21.8 KB, 23 views)
File Type: gif ChrgComp1.gif (95.5 KB, 12 views)
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 7th July 2008 at 11:22 AM.
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 01:11 PM   (permalink)
Default

[quote=ericgibbs]
Quote:
Originally Posted by hardcore misery
ok sir, that would be nice... so i can verify the status of our prototype
(mainly the status at NO LOAD condition, which the the charging voltage is 4.2V and the Vref is lower than 4.2V (2.1V or 2.05V)[/QUOTE]

hi,
Managed to get a LM339 for testing!
Will build today.

The charge voltage is 4.2v, when the charger is disconnected by the relay the battery voltage will be about 3.2v.

In your circuit you have chosen your resistor divider to give a Vbattery/2, that is,, 2.1V [when charging]
and 1.6V [when charged and relay just switched off].

From your original OP you wanted a circuit that stopped charging when the battery was fully charged?
Will the battery be removed from the charger when its fully charged?
If yes, why are you concerned about measuring and detecting with the comparator the lowest discharged voltage of a battery?

In my simulation for the battery on charge is:
from +5v to 0v I use a 2K, 20 turn variable resistor, the wiper of the variable is the simulated battery voltage.
I can adjust the variable to simulate the different battery voltage levels, this is much easier than trying to use an actual battery during testing.

we did an experiment a while ago, and arrive with the expected outputs, but there is a problem on the ACTUAL battery voltage, again, the charging voltage is 4.2V while the battery voltage of a discharge battery is 3.4V, when the Relay is ON, the voltage measured by the comparator is at approx 3.8V to 3.9V then running (which i don't know the computation why is that the voltage is 3.9V where the battery voltage is 3.8V and the charging voltage is 4.2V) when the relay is OFF, we checked the battery voltage and its not fully charged (still at 3.9V) maybe we did a mistake? is it expected? we thought that as soon as the voltage measured by the comparator exceeds 4.2V(which makes the relay OFF) the actual battery voltage is also 4.2V, is this really expected? i will try again this method..
anyway thanks sir for the effort, i will make some revision on our prototype based on your given schematic

question: what formula is used to determine the current or voltage across the base of the transistor and the RL, when i tried to use a 100k as the RL, the transistor is not driven...

so sir, would you suggest a current regulated charger? or we will stick to our charger with a current limiter?(10ohms/5W)
hardcore misery is offline   Reply With Quote
Old 8th October 2007, 01:23 PM   (permalink)
Default

hi,
Quote:
we did an experiment a while ago, and arrive with the expected outputs, but there is a problem on the ACTUAL battery voltage, again, the charging voltage is 4.2V while the battery voltage of a discharge battery is 3.4V, when the Relay is ON, the voltage measured by the comparator is at approx 3.8V to 3.9V then running (which i don't know the computation why is that the voltage is 3.9V where the battery voltage is 3.8V and the charging voltage is 4.2V) when the relay is OFF, we checked the battery voltage and its not fully charged (still at 3.9V) maybe we did a mistake? is it expected? we thought that as soon as the voltage measured by the comparator exceeds 4.2V(which makes the relay OFF) the actual battery voltage is also 4.2V, is this really expected? i will try again this method..
anyway thanks sir for the effort, i will make some revision on our prototype based on your given schematic
Using the circuit I posted this morning, I have the project running on my bench, it works perfectly and is fairly easy to set up.

Quote:
question: what formula is used to determine the current or voltage across the base of the transistor and the RL, when i tried to use a 100k as the RL, the transistor is not driven...
Do you mean a transistor base drive resistor?
If it a general purpose low.medium power transistor you would expect a forward drop from the base of the transistor to the emitter of the transistor of about 0.7V.

If the transistor has a gain of say, 50 and you required a collector current of 50mA, the Rb resistor would have to be calculated to supply 1mA from the circuit voltage driving it.
Example: if the driving voltage was +10v then 10v - 0.7Vbe = 9.3v/0.001 = 9300hm: , I would choose nearest pref value of 8K2.

Quote:
so sir, would you suggest a current regulated charger? or we will stick to our charger with a current limiter?(10ohms/5W)
How many batteries do you plan to charge over what period?
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 01:29 PM   (permalink)
Default

i forgot to tell you sir that our prototype is designed to charge 3 cellphone batteries
hardcore misery is offline   Reply With Quote
Old 8th October 2007, 01:30 PM   (permalink)
Default

so sir is it expected that when the voltage measured by the + feedback of lm339 reaches 4.2V(which turns off the relay) the actual voltage of the battery is also 4.2V?
hardcore misery is offline   Reply With Quote
Old 8th October 2007, 01:41 PM   (permalink)
Default

Quote:
so sir is it expected that when the voltage measured by the + feedback of lm339 reaches 4.2V(which turns off the relay) the actual voltage of the battery is also 4.2V?
At the instant just before the charger turns off the battery will be 4.2V, the instant after the charger turns off, the battery voltage will fall to about 3.2V.

Quote:
i forgot to tell you sir that our prototype is designed to charge 3 cellphone batteries
Are you trying to charge 3 cells in parallel?????
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 01:41 PM   (permalink)
Default

Instead of just guessing, why don't you read a tutorial about charging Li-Ion cells?
Maxim-IC and Texas Instruments make charger ICs that have a full explanation about charging in their datasheets.

The battery cell is not fully charged when its voltage reaches 4.2V. It must remain charging at 4.2V for some time then when its current drops to a certain low amount it is fully charged.
__________________
Uncle $crooge
audioguru is offline   Reply With Quote
Old 8th October 2007, 01:52 PM   (permalink)
Default

hi hardcore,
As we have been trying to point out to you, this is not a 'smart charger', it simply detects when the battery under charge, reaches 4.2V, then it stops charging.

If you need a 'smart/intelligent' charger, I would suggest a low cost PIC, with an ADC input.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 01:57 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
At the instant just before the charger turns off the battery will be 4.2V, the instant after the charger turns off, the battery voltage will fall to about 3.2V.



Are you trying to charge 3 cells in parallel?????
so therefore, the battery is not fully charged when the comparator reads a voltage about 4.2V, do we need another circuit?

nope sir, we have separate charger circuit for each cellphone battery (composed of a voltage regulator)
hardcore misery is offline   Reply With Quote
Old 8th October 2007, 02:00 PM   (permalink)
Default

Quote:
Originally Posted by hardcore misery
so therefore, the battery is not fully charged when the comparator reads a voltage about 4.2V, do we need another circuit?

nope sir, we have separate charger circuit for each cellphone battery (composed of a voltage regulator)
hi,
Please read this web doucment.

C:\Documents and Settings\Administrator\Desktop\Charging lithium-ion batteries.htm
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 02:00 PM   (permalink)
Default

Quote:
Originally Posted by audioguru
Instead of just guessing, why don't you read a tutorial about charging Li-Ion cells?
Maxim-IC and Texas Instruments make charger ICs that have a full explanation about charging in their datasheets.

The battery cell is not fully charged when its voltage reaches 4.2V. It must remain charging at 4.2V for some time then when its current drops to a certain low amount it is fully charged.
therefore, a voltage comparator is not the solution? were running out of time, and our final defense is set on saturday... so how can we measure the current drops? or can we use this to compare on a certain reference voltage?
hardcore misery is offline   Reply With Quote
Old 8th October 2007, 02:02 PM   (permalink)
Default

Quote:
Originally Posted by ericgibbs
hi hardcore,
As we have been trying to point out to you, this is not a 'smart charger', it simply detects when the battery under charge, reaches 4.2V, then it stops charging.

If you need a 'smart/intelligent' charger, I would suggest a low cost PIC, with an ADC input.

so if we will use PIC's we will do another circuit, and unfortunately, we don't have any background on microcontrollers...
hardcore misery is offline   Reply With Quote
Old 8th October 2007, 02:04 PM   (permalink)
Default

Quote:
Originally Posted by hardcore misery
so if we will use PIC's we will do another circuit, and unfortunately, we don't have any background on microcontrollers...
hi,
Please read:
http://batteryuniversity.com/print-partone-12.htm

Also Google for 'charging LI ION batteries'
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/
ericgibbs is online now   Reply With Quote
Old 8th October 2007, 02:10 PM   (permalink)
Default

do we need a differential amplifier?

EDITED: on what area of our circuit can we measure the current drops until the battery is fully charged?

Last edited by hardcore misery; 8th October 2007 at 02:24 PM.
hardcore misery is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Latest
Lead Acid battery charger manojp01 Electronic Projects Design/Ideas/Reviews 5 29th January 2008 05:16 PM
Battery charger help... dieselmo34 Electronic Projects Design/Ideas/Reviews 14 18th December 2006 05:30 PM
Cheapo battery charger auto shutoff? Iceman_Chris General Electronics Chat 3 21st November 2006 06:01 PM
Battery charger for mobile phone Motorola 2PAC Mafia General Electronics Chat 0 4th October 2005 03:19 PM
constant voltage, constant current Lead Acid Battery Charger Erwin_Macaraig Micro Controllers 0 4th January 2005 09:35 PM



All times are GMT. The time now is 06:53 AM.


Electronic Circuits  |  Electronics Wiki
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.