All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 10-15-2013, 04:05 PM
rolw rolw is offline
New Member
 
Join Date: Jul 2013
Location: Italy
Posts: 7
Default SgtWookie's Ltspice Lead-acid Battery model usage ?

Hi all,

I have 2 problems,

1) how to set up the simulation correctly

2) why the prototype (and the simulation) of the charger does not go into trickle mode.

I used this SgtWookie's batt_SLA model, modified for my battery:

http://forum.allaboutcircuits.com/at...5&d=1288998265

I took this circuit of a a battery charger from an old EDN article about February 4, 198X.
It was advertised as:

"Battery charger snaps from full to trickle" by Kennan C. Herrick ESI Electronics Corp San Francisco, CA

I first built it and I was not satisfied that it did not go into trickle mode at the end.

I then decided to simulate it as a ltspice model to try to understand what was the problem.

1) Problem:
I am not sure how to set the .pulse or tran or anything else that could:

-charge the battery from 6V to 7.25V to see why the Q2 transistor does not switch off and stay off until some lower voltage.
Q2 should give hysteresis to the whole process.

Q1 is there to limit the charging current to 130mA for the fist part of the charge and that works fine on the prototype.

On the prototype the charge reaches 6.85V at the battery with I=15mA and Q2 Vbe of 0.6V min. then it stays there forever.

As I understood Q2 should switch off and a little trickle current go mainly through R7.

The lead acid battery is a Gel 6V 1.2A.

ILOAD is there with the idea of discharging the battery first before observing how the charge would go.

On the model the max V battery is 6.28V with max I charge of 90mA.

Q2 Vbe is min 0.9V, max 1.06V.

There are some differences with the prototype but the main thing is Q2 does not go off as in the prototype.

2) Problem:
Why Q2 does not switch off ?

Thanks for all help.
Attached Files
File Type: asc BattCgPulse.asc (3.1 KB, 24 views)
File Type: sub batt_SLA.sub (5.5 KB, 21 views)
Reply With Quote
  #2  
Old 10-15-2013, 04:31 PM
Alec_t's Avatar
Alec_t Alec_t is offline
Senior Member
 
Join Date: Sep 2013
Location: Cardiff, Wales
Posts: 894
Default

Post deleted.
__________________
My circuit designs are experimental. They are tested by simulation; not built. Component modifications/additions may be needed in a practical circuit. Due precautions must be taken for any circuit involving mains voltage or static-sensitive components.
Alec's First Law:- Every problem has a solution (given the right information and resources).

Last edited by Alec_t; 10-15-2013 at 04:37 PM.
Reply With Quote
  #3  
Old 10-15-2013, 08:03 PM
ronv's Avatar
ronv ronv is offline
Senior Member
 
Join Date: Nov 2008
Location: Tucson AZ.
Posts: 679
Default

The model clamps the battery voltage at 2.133 volts times the number of cells. You can change this in the sub by modifying VCELL to a higher voltage.
Reply With Quote
  #4  
Old 10-15-2013, 10:56 PM
Alec_t's Avatar
Alec_t Alec_t is offline
Senior Member
 
Join Date: Sep 2013
Location: Cardiff, Wales
Posts: 894
Default

Of the 130mA, only ~30mA goes through R7 but ~100mA is flowing through the Q2 base-emitter junction! That can't be right?
Replace the battery model with a 100mF (that's 'm', not 'u') cap and run the sim for 10 sec (not 80000) and you'll see that Q2 does switch off, with hysteresis.
__________________
My circuit designs are experimental. They are tested by simulation; not built. Component modifications/additions may be needed in a practical circuit. Due precautions must be taken for any circuit involving mains voltage or static-sensitive components.
Alec's First Law:- Every problem has a solution (given the right information and resources).
Reply With Quote
  #5  
Old 10-16-2013, 09:26 AM
rolw rolw is offline
New Member
 
Join Date: Jul 2013
Location: Italy
Posts: 7
Default

Well, I thought that VCELL was V Float = 90% of Vbattery which is 2.4V per Cell,

Is that what is supposed to be set to ?
Reply With Quote
  #6  
Old 10-16-2013, 10:07 AM
rolw rolw is offline
New Member
 
Join Date: Jul 2013
Location: Italy
Posts: 7
Default

Quote:
Of the 130mA, only ~30mA goes through R7 but ~100mA is flowing through the Q2 base-emitter junction! That can't be right?
Replace the battery model with a 100mF (that's 'm', not 'u') cap and run the sim for 10 sec (not 80000) and you'll see that Q2 does switch off, with hysteresis.
According to the original article, 100mA on the base is right with TIP32 .

I tried your suggestion and went bigger with C2 Cap value and timing.
I added a further Pulse step to see the hysteresis.

Can you confirm it is the delay from 20k to 24k on the Ib(Q2) line after the 20 mA load step ?

V(out)-V(vreg) is Vbe(Q2) light blue trace.


Last edited by rolw; 10-16-2013 at 10:08 AM. Reason: Wrong link to picture
Reply With Quote
  #7  
Old 10-16-2013, 10:51 AM
Alec_t's Avatar
Alec_t Alec_t is offline
Senior Member
 
Join Date: Sep 2013
Location: Cardiff, Wales
Posts: 894
Default

Yes, the 20-24k section is where Q2 turns off.
Reply With Quote
  #8  
Old 10-16-2013, 01:59 PM
ronv's Avatar
ronv ronv is offline
Senior Member
 
Join Date: Nov 2008
Location: Tucson AZ.
Posts: 679
Default

Looking at your Vbatt I would try 2.66 volts.
Reply With Quote
  #9  
Old 10-16-2013, 02:27 PM
rolw rolw is offline
New Member
 
Join Date: Jul 2013
Location: Italy
Posts: 7
Default

Quote:
Originally Posted by Alec_t View Post
Yes, the 20-24k section is where Q2 turns off.
I assume you mean it was off from 11k and turns on at 24k after a delay from 20K ?

I now would like to test it with the battery model.

Any suggestions ?

Here I tried with some differences:
Vin = 10.5V
Vout = 8.6V
R7 33 ohm
R4 2k
R5 4k7

VCELL = 2.4V

I can't get Q2 to go off nor any hysteresis.

Is the batt_SLA.sub a linear model ?

I don't understand the model at all.

Would anyone give an explanation of the syntax of the section called:

* The charge model

inside batt_SLA.sub ?

Or at least a link to a manual that describe that kind of working ?

http://www.4shared.com/download/j3cd...42620-745d81f1
http://www.4shared.com/download/VoF-...42646-8d5fadbd
Reply With Quote
  #10  
Old 10-16-2013, 02:39 PM
rolw rolw is offline
New Member
 
Join Date: Jul 2013
Location: Italy
Posts: 7
Default

Quote:
Originally Posted by ronv View Post
Looking at your Vbatt I would try 2.66 volts.
Ok, with:

VCELL = 2.66V

it's a bit better, what is your reasoning ?

http://www.4shared.com/download/j3cd...42620-745d81f1

Reply With Quote
Reply   Post New Thread

Tags
, , , , ,


Similar Threads
Thread Thread Starter Forum Replies Last Post
Lead acid battery charging circuit donaldm444 General Electronics Chat 5 11-23-2011 01:00 PM
How to improve standby time of 12V Lead Acid Battery tvibakar General Electronics Chat 5 07-23-2011 12:35 PM
48V Lead acid battery charger circuit nhh The Projects Forum 26 12-22-2009 07:17 PM
lead acid battery charger 016chris The Projects Forum 6 11-21-2007 12:25 AM
12v lead acid battery charger circuit ruleworld General Electronics Chat 2 09-07-2007 09:40 AM

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:11 AM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.