Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > sci.electronics.design > #373385 > unrolled thread

Somewhat over-engineered for a lipo charger?

Started byCursitor Doom <curd@notformail.com>
First post2015-08-17 21:48 +0000
Last post2015-08-18 01:11 -0500
Articles 14 — 7 participants

Back to article view | Back to sci.electronics.design


Contents

  Somewhat over-engineered for a lipo charger? Cursitor Doom <curd@notformail.com> - 2015-08-17 21:48 +0000
    Re: Somewhat over-engineered for a lipo charger? "Tim Williams" <tmoranwms@charter.net> - 2015-08-17 23:00 -0500
      Re: Somewhat over-engineered for a lipo charger? "David Eather" <eather@tpg.com.au> - 2015-08-18 15:03 +1000
        Re: Somewhat over-engineered for a lipo charger? Kluge <nothing@none.com> - 2015-08-18 14:04 +0800
        Re: Somewhat over-engineered for a lipo charger? Julian Barnes <jb9889@notformail.com> - 2015-08-18 07:53 +0000
          Re: Somewhat over-engineered for a lipo charger? "Tim Williams" <tiwill@seventransistorlabs.com> - 2015-08-18 07:19 -0500
            Re: Somewhat over-engineered for a lipo charger? Cursitor Doom <curd@notformail.com> - 2015-08-18 18:18 +0000
              Re: Somewhat over-engineered for a lipo charger? "Tim Williams" <tiwill@seventransistorlabs.com> - 2015-08-18 13:29 -0500
                Re: Somewhat over-engineered for a lipo charger? John S <Sophi.2@invalid.org> - 2015-08-18 14:16 -0500
      Re: Somewhat over-engineered for a lipo charger? Cursitor Doom <curd@notformail.com> - 2015-08-18 08:18 +0000
        Re: Somewhat over-engineered for a lipo charger? "Tim Williams" <tiwill@seventransistorlabs.com> - 2015-08-18 07:32 -0500
          Re: Somewhat over-engineered for a lipo charger? Cursitor Doom <curd@notformail.com> - 2015-08-18 18:25 +0000
            Re: Somewhat over-engineered for a lipo charger? "Tim Williams" <tiwill@seventransistorlabs.com> - 2015-08-19 01:03 -0500
    Re: Somewhat over-engineered for a lipo charger? John S <Sophi.2@invalid.org> - 2015-08-18 01:11 -0500

#373385 — Somewhat over-engineered for a lipo charger?

FromCursitor Doom <curd@notformail.com>
Date2015-08-17 21:48 +0000
SubjectSomewhat over-engineered for a lipo charger?
Message-ID<mqtkqm$ivd$1@dont-email.me>
I think the guy who designed this single cell charger for LiPo batteries 
must have been paid by number of components used. I've no idea what half 
of this stuff is supposed to do. This model was produced in 2002 for a 
couple of years. 
What d'yall make of it?

Only the first 3 pictures in this folder, guys. The rest of the pictures 
are of something else entirely out of a scope, so just ignore them:

https://www.flickr.com/photos/128859641@N02/with/16913890862/

[toc] | [next] | [standalone]


#373432

From"Tim Williams" <tmoranwms@charter.net>
Date2015-08-17 23:00 -0500
Message-ID<mquaes$ncf$1@dont-email.me>
In reply to#373385
"Cursitor Doom" <curd@notformail.com> wrote in message 
news:mqtkqm$ivd$1@dont-email.me...
>I think the guy who designed this single cell charger for LiPo batteries
> must have been paid by number of components used. I've no idea what half
> of this stuff is supposed to do. This model was produced in 2002 for a
> couple of years.
> What d'yall make of it?
>
> Only the first 3 pictures in this folder, guys. The rest of the pictures
> are of something else entirely out of a scope, so just ignore them:
>
> https://www.flickr.com/photos/128859641@N02/with/16913890862/
>

How so?  I see, hmm,
http://www.datasheetarchive.com/dl/Datasheet-055/DSA0031803.pdf
DH0165 switching controller (and associated components: diode+TVS clamp, 
capacitors, rectifiers, filter)

TSM104A = quad op-amp plus ref, roughly a low current LM324 + TL431 in one 
(I wouldn't even be surprised if an x-ray shows two dies).  Probably for 
voltage/current regulation/monitoring?

ST52TO1C6 / MPACE0320D = ???  Can't find anything on this.  Can you confirm 
my reading?

I would guess it's a battery management device.  Or some MCU.  Not sure what 
all the transistors are for, but it would seem like they happened to need a 
lot of level shifting or logic and it wasn't worth putting in gates to do 
it.

Tim

-- 
Seven Transistor Labs
Electrical Engineering Consultation
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#373439

From"David Eather" <eather@tpg.com.au>
Date2015-08-18 15:03 +1000
Message-ID<op.x3jsb6r7wei6gd@phenom-pc.asus>
In reply to#373432
On Tue, 18 Aug 2015 14:00:27 +1000, Tim Williams <tmoranwms@charter.net>  
wrote:

>
> "Cursitor Doom" <curd@notformail.com> wrote in message  
> news:mqtkqm$ivd$1@dont-email.me...
>> I think the guy who designed this single cell charger for LiPo batteries
>> must have been paid by number of components used. I've no idea what half
>> of this stuff is supposed to do. This model was produced in 2002 for a
>> couple of years.
>> What d'yall make of it?
>>
>> Only the first 3 pictures in this folder, guys. The rest of the pictures
>> are of something else entirely out of a scope, so just ignore them:
>>
>> https://www.flickr.com/photos/128859641@N02/with/16913890862/
>>
>
> How so?  I see, hmm,
> http://www.datasheetarchive.com/dl/Datasheet-055/DSA0031803.pdf
> DH0165 switching controller (and associated components: diode+TVS clamp,  
> capacitors, rectifiers, filter)
>
> TSM104A = quad op-amp plus ref, roughly a low current LM324 + TL431 in  
> one (I wouldn't even be surprised if an x-ray shows two dies).  Probably  
> for voltage/current regulation/monitoring?
>
> ST52TO1C6 / MPACE0320D = ???  Can't find anything on this.  Can you  
> confirm my reading?
>
> I would guess it's a battery management device.  Or some MCU.  Not sure  
> what all the transistors are for, but it would seem like they happened  
> to need a lot of level shifting or logic and it wasn't worth putting in  
> gates to do it.
>
> Tim
>

ST52 perhaps some kind of 8051 clone/copy/derivative ?

[toc] | [prev] | [next] | [standalone]


#373458

FromKluge <nothing@none.com>
Date2015-08-18 14:04 +0800
Message-ID<Ucidndt2yLOZVk_InZ2dnUU7-a2dnZ2d@westnet.com.au>
In reply to#373439
On 18-Aug-15 1:03 PM, David Eather wrote:
> On Tue, 18 Aug 2015 14:00:27 +1000, Tim Williams <tmoranwms@charter.net>
> wrote:
>
>>
>> "Cursitor Doom" <curd@notformail.com> wrote in message
>> news:mqtkqm$ivd$1@dont-email.me...
>>> I think the guy who designed this single cell charger for LiPo batteries
>>> must have been paid by number of components used. I've no idea what half
>>> of this stuff is supposed to do. This model was produced in 2002 for a
>>> couple of years.
>>> What d'yall make of it?
>>>
>>> Only the first 3 pictures in this folder, guys. The rest of the pictures
>>> are of something else entirely out of a scope, so just ignore them:
>>>
>>> https://www.flickr.com/photos/128859641@N02/with/16913890862/
>>>
>>
>> How so?  I see, hmm,
>> http://www.datasheetarchive.com/dl/Datasheet-055/DSA0031803.pdf
>> DH0165 switching controller (and associated components: diode+TVS
>> clamp, capacitors, rectifiers, filter)
>>
>> TSM104A = quad op-amp plus ref, roughly a low current LM324 + TL431 in
>> one (I wouldn't even be surprised if an x-ray shows two dies).
>> Probably for voltage/current regulation/monitoring?
>>
>> ST52TO1C6 / MPACE0320D = ???  Can't find anything on this.  Can you
>> confirm my reading?
>>
>> I would guess it's a battery management device.  Or some MCU.  Not
>> sure what all the transistors are for, but it would seem like they
>> happened to need a lot of level shifting or logic and it wasn't worth
>> putting in gates to do it.
>>
>> Tim
>>
>
> ST52 perhaps some kind of 8051 clone/copy/derivative ?


I think it may be ST62, which is an 8bit uC

<http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00018961.pdf?s_searchtype=keyword>

[toc] | [prev] | [next] | [standalone]


#373470

FromJulian Barnes <jb9889@notformail.com>
Date2015-08-18 07:53 +0000
Message-ID<mquo94$uum$1@dont-email.me>
In reply to#373439
On Tue, 18 Aug 2015 15:03:32 +1000, David Eather wrote:

> ST52 perhaps some kind of 8051 clone/copy/derivative ?

There's a thumping great fat power diode immediately to the right of the 
transformer. What's that doing there??

[toc] | [prev] | [next] | [standalone]


#373488

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2015-08-18 07:19 -0500
Message-ID<mqv7pf$o3b$1@dont-email.me>
In reply to#373470
"Julian Barnes"  wrote in message news:mquo94$uum$1@dont-email.me...
>
>On Tue, 18 Aug 2015 15:03:32 +1000, David Eather wrote:
>
>> ST52 perhaps some kind of 8051 clone/copy/derivative ?
>
>There's a thumping great fat power diode immediately to the right of the
>transformer. What's that doing there??


Output side rectifier -- it's a flyback topology SMPS.  Guessing B340 or 
somewhere around there?

Likewise, the capacitor just above the opto (C11?) is the main filter cap. 
(If you have some of these that are wheezing, that would be a prime 
suspect, as well as C01 and, can't make it out, but it's right beside the 
"U01" label.)  D07 is the primary side aux supply rectifier.  Oh, and D51 
seems to be supplying a second voltage rail on the secondary, just 
noticing that.  Which goes right over to  U41 (the opamp/ref), which might 
be for high-side current sensing?  (It doesn't have a common mode range 
that includes the positive supply, so that would be helpful.)

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#373549

FromCursitor Doom <curd@notformail.com>
Date2015-08-18 18:18 +0000
Message-ID<mqvstd$8dn$1@dont-email.me>
In reply to#373488
On Tue, 18 Aug 2015 07:19:30 -0500, Tim Williams wrote:

> Output side rectifier -- it's a flyback topology SMPS.  Guessing B340 or
> somewhere around there?

I'm somewhat bemused about the need for this size of diode, too. Having 
hooked it out, it turns out to be an SR306 which according to the 
datasheet is a Schottky good for 3A forward current. Given the stated 
output current max is about 750mA, this does seem very generously 
specified. :-/

[toc] | [prev] | [next] | [standalone]


#373555

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2015-08-18 13:29 -0500
Message-ID<mqvtg4$gcu$1@dont-email.me>
In reply to#373549
"Cursitor Doom"  wrote in message news:mqvstd$8dn$1@dont-email.me...
>I'm somewhat bemused about the need for this size of diode, too. Having
>hooked it out, it turns out to be an SR306 which according to the
>datasheet is a Schottky good for 3A forward current. Given the stated
>output current max is about 750mA, this does seem very generously
>specified. :-/


The peak current for a BCM flyback is four times DC, so it's up there. 
Not that peak is what matters in the rating, a 1 or 2A part would be fine. 
It could even be an SOD-123F or SMA on the underside, who needs THT.

Maybe they wanted to go towards the efficiency.  Though using a 60V part 
seems counterproductive when 20V would do.  Noteworthy that schottky 
diodes have quite a bit of capacitance, and can actually perform worse 
than PN diodes in some cases; using an oversized one would probably be 
such a case.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#373573

FromJohn S <Sophi.2@invalid.org>
Date2015-08-18 14:16 -0500
Message-ID<mr007f$lu0$5@dont-email.me>
In reply to#373555
On 8/18/2015 1:29 PM, Tim Williams wrote:
> "Cursitor Doom"  wrote in message news:mqvstd$8dn$1@dont-email.me...
>> I'm somewhat bemused about the need for this size of diode, too. Having
>> hooked it out, it turns out to be an SR306 which according to the
>> datasheet is a Schottky good for 3A forward current. Given the stated
>> output current max is about 750mA, this does seem very generously
>> specified. :-/
>
>
> The peak current for a BCM flyback is four times DC, so it's up there.
> Not that peak is what matters in the rating, a 1 or 2A part would be fine.
> It could even be an SOD-123F or SMA on the underside, who needs THT.
>
> Maybe they wanted to go towards the efficiency.  Though using a 60V part
> seems counterproductive when 20V would do.  Noteworthy that schottky
> diodes have quite a bit of capacitance, and can actually perform worse
> than PN diodes in some cases; using an oversized one would probably be
> such a case.
>
> Tim


Maybe also possible that it was a device they were already buying and in 
stock? Sometimes you use overkill parts from other products if you get a 
purchasing advantage.

[toc] | [prev] | [next] | [standalone]


#373476

FromCursitor Doom <curd@notformail.com>
Date2015-08-18 08:18 +0000
Message-ID<mqupns$uum$2@dont-email.me>
In reply to#373432
On Mon, 17 Aug 2015 23:00:27 -0500, Tim Williams wrote:

> How so?  I see, hmm,
> http://www.datasheetarchive.com/dl/Datasheet-055/DSA0031803.pdf DH0165
> switching controller (and associated components: diode+TVS clamp,
> capacitors, rectifiers, filter)
> 
> TSM104A = quad op-amp plus ref, roughly a low current LM324 + TL431 in
> one (I wouldn't even be surprised if an x-ray shows two dies).  Probably
> for voltage/current regulation/monitoring?
> 
> ST52TO1C6 / MPACE0320D = ???  Can't find anything on this.  Can you
> confirm my reading?

Close! It's actually ST*6*2TO1C6 / MPACE0320D

The chip below left of that is marked: M104AI / 9N3316

The quartic shaped device immediately above the white socket is an 
STA353YT1


> I would guess it's a battery management device.  Or some MCU.  Not sure
> what all the transistors are for, but it would seem like they happened
> to need a lot of level shifting or logic and it wasn't worth putting in
> gates to do it.

[toc] | [prev] | [next] | [standalone]


#373491

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2015-08-18 07:32 -0500
Message-ID<mqv8ht$r1p$1@dont-email.me>
In reply to#373476
"Cursitor Doom"  wrote in message news:mqupns$uum$2@dont-email.me...
>Close! It's actually ST*6*2TO1C6 / MPACE0320D
>
>The chip below left of that is marked: M104AI / 9N3316
>
>The quartic shaped device immediately above the white socket is an
>STA353YT1


Ahh, that explains it.  8 bit MCU, 2k OTP prog, might as well be your 
bargain basement 8051!  Euch, stack levels, maybe PIC would be more apt.

Looks like the STA part (2A 40V PNP, roughly equivalent to, oh, halfway 
between 2N4403 and TIP31?) might be high side control or sense.  Maybe 
it's got a discrete LDO post-regulator, or they're just turning it off 
when complete (since after all, the charger can't keep its brains running 
if it actually shut down the main supply..).  R47 would be current sense 
(0.1 ohm).

Thinking the quad op-amp is for voltage and current sense, the MCU 
orchestrates everything (possibly including current programming), and the 
dusting of transistors and resistors is for level shifting and feedback 
gain ratios.

Current could also be controlled by feedback to the TL431 (or whatever it 
is exactly), in which case the STA353 would only be needed to disconnect 
the battery when charging is complete.  A current sense resistor would be 
needed in either case, but being positioned near the transistor, and 
having enough op-amps to go around, it's probably a current source.

That should be a pretty complete "rough" description of everything; if you 
want to learn more, I'd suggest picking up some appnotes on the devices 
(or related, e.g. TOPSwitch SMPS controllers; battery management chips; 
etc.), and if you want the schematic for further study, knock the 
components off and trace the connections.  For MCU code, you might be able 
to hack a config pin to read it out (how this might be done, is not 
obvious, and very device specific), but it's quite possible you'd need to 
decap it and read bits with a microscope.  A behavioral model is probably 
much cheaper to derive (run it through its paces and see what the 
controller does; synthesize your own replacement and compare results) than 
any of these methods.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#373554

FromCursitor Doom <curd@notformail.com>
Date2015-08-18 18:25 +0000
Message-ID<mqvt9t$8dn$2@dont-email.me>
In reply to#373491
On Tue, 18 Aug 2015 07:32:32 -0500, Tim Williams wrote:

> "Cursitor Doom"  wrote in message news:mqupns$uum$2@dont-email.me...
>>Close! It's actually ST*6*2TO1C6 / MPACE0320D
>>
>>The chip below left of that is marked: M104AI / 9N3316
>>
>>The quartic shaped device immediately above the white socket is an
>>STA353YT1
> 
> 
> Ahh, that explains it.  8 bit MCU, 2k OTP prog, might as well be your
> bargain basement 8051!  Euch, stack levels, maybe PIC would be more apt.
> 
> Looks like the STA part (2A 40V PNP, roughly equivalent to, oh, halfway
> between 2N4403 and TIP31?) might be high side control or sense.  Maybe
> it's got a discrete LDO post-regulator, or they're just turning it off
> when complete (since after all, the charger can't keep its brains
> running if it actually shut down the main supply..).  R47 would be
> current sense (0.1 ohm).
> 
> Thinking the quad op-amp is for voltage and current sense, the MCU
> orchestrates everything (possibly including current programming), and
> the dusting of transistors and resistors is for level shifting and
> feedback gain ratios.
> 
> Current could also be controlled by feedback to the TL431 (or whatever
> it is exactly), in which case the STA353 would only be needed to
> disconnect the battery when charging is complete.  A current sense
> resistor would be needed in either case, but being positioned near the
> transistor, and having enough op-amps to go around, it's probably a
> current source.
> 
> That should be a pretty complete "rough" description of everything; if
> you want to learn more, I'd suggest picking up some appnotes on the
> devices (or related, e.g. TOPSwitch SMPS controllers; battery management
> chips; etc.), and if you want the schematic for further study, knock the
> components off and trace the connections.  For MCU code, you might be
> able to hack a config pin to read it out (how this might be done, is not
> obvious, and very device specific), but it's quite possible you'd need
> to decap it and read bits with a microscope.  A behavioral model is
> probably much cheaper to derive (run it through its paces and see what
> the controller does; synthesize your own replacement and compare
> results) than any of these methods.
> 
> Tim

Well I've no intention of trying to reverse engineer this thing. It seems 
*absurdly* complex for what it does. It developed a fault which I haven't 
the time to trace, so I've binned the guts of it now and replaced it with 
a charge controller chip, a MCP73831 which Artie here recommended. It 
only needs two caps and a resistor to make a fully functioning charger 
and away it goes. Tried, tested, works - at tiny, tiny fraction of the 
component count and cost of the original. 
Was this VASTLY simpler solution not available in 2002 when the original 
charger was produced??

[toc] | [prev] | [next] | [standalone]


#373656

From"Tim Williams" <tiwill@seventransistorlabs.com>
Date2015-08-19 01:03 -0500
Message-ID<mr163s$nd4$1@dont-email.me>
In reply to#373554
"Cursitor Doom"  wrote in message news:mqvt9t$8dn$2@dont-email.me...
>...
>a charge controller chip, a MCP73831 which Artie here recommended. It
>only needs two caps and a resistor to make a fully functioning charger
>and away it goes. Tried, tested, works - at tiny, tiny fraction of the
>component count and cost of the original.
>Was this VASTLY simpler solution not available in 2002 when the original
>charger was produced??


Possibly!  Or it was more expensive than the pennies of parts seen here. 
Remember, China production, phenolic board (in the >100k production qtys), 
wave soldered.  They didn't even get a chance to orient the parts 
correctly for wave soldering, and there's a number of suspicious joints on 
there (like resistors that are right next to each other, with a big solder 
blob spanning them -- not good for strain on the metallized terminals). 
Which could be a thing, cold or microscopically cracked solder joints.

Tim

-- 
Seven Transistor Labs, LLC
Electrical Engineering Consultation and Contract Design
Website: http://seventransistorlabs.com 

[toc] | [prev] | [next] | [standalone]


#373461

FromJohn S <Sophi.2@invalid.org>
Date2015-08-18 01:11 -0500
Message-ID<mqui5l$jja$3@dont-email.me>
In reply to#373385
On 8/17/2015 4:48 PM, Cursitor Doom wrote:
> I think the guy who designed this single cell charger for LiPo batteries
> must have been paid by number of components used. I've no idea what half
> of this stuff is supposed to do. This model was produced in 2002 for a
> couple of years.
> What d'yall make of it?
>
> Only the first 3 pictures in this folder, guys. The rest of the pictures
> are of something else entirely out of a scope, so just ignore them:
>
> https://www.flickr.com/photos/128859641@N02/with/16913890862/
>

I'm thinking lipo suction may be in order here.

[toc] | [prev] | [standalone]


Back to top | Article view | sci.electronics.design


csiph-web