Author Topic: Reverse engineering of a chinese Li-Ion charger  (Read 2987 times)

0 Members and 1 Guest are viewing this topic.

Offline thexenoTopic starter

  • Regular Contributor
  • *
  • Posts: 85
  • Country: it
  • Just another EE
    • Personal website
Reverse engineering of a chinese Li-Ion charger
« on: December 26, 2019, 05:02:15 pm »
Hi,

Already the title should raise a red flag.
Nevertheless, I've had a chinese power torch:

896876-0

which seems the same described by DiodeGoneWild here.

He has a PROTECTED Li-Ion cell and a super dodgy power supply, in which when does not kill, probably will work (for some times) in charging the cell.
Conversely, mine did have this cell:

896872-1

For which the P/N corresponds to the italian website stating does NOT have protection. So I knew it was dangerous and the charger most probably is the same quality of the one in the video, but I wanted to still check it out - but I am not sure if I reverse engineer it correctly, since the feedback circuit seems a bit cryptic. Also, I did not have clue on the winding polarity of the transformer.

To begin, this is the PCB, in which already the isolation clearance is broken:

896884-2

And the front is this:

896888-3

Now, the reverse engineered schematic looks like this one:

896896-4

Getting to the first question, is this correct? If so, how does work the feedback? Does it use an 1N4148 with the 6.2V zener for the BJT feedback?

Second question: how is that possible that such dangerous crap is freely sold here in Europe? Because it was in a perfectly legal shop, was not bought from a shady eBay distributor.

EDIT: fixed the pics :)
« Last Edit: December 26, 2019, 05:23:03 pm by thexeno »
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #1 on: December 26, 2019, 05:49:39 pm »
Looks like the ubiquitous "ringing choke converter". There is obviously no secondary voltage feedback. The zener may be involved in regulation using auxiliary winding voltage sensing.

Second question: how is that possible that such dangerous crap is freely sold here in Europe? Because it was in a perfectly legal shop, was not bought from a shady eBay distributor.
Because nobody controls it.
Does the charger have the CE mark on it? If not, the shop sells it illegally. If yes, the original manufacturer applied it fraudulently or meant "China Export" by it ;)

edit
https://www.electroschematics.com/diy-rcc-smps-circuits/

Without reading, my guess is that during secondary conduction time the 1N4148 discharges the electrolytic to negative voltage proportional to the secondary voltage and if this is too low, the zener later steals base current from the transistor.
« Last Edit: December 26, 2019, 06:01:10 pm by magic »
 

Online MarkF

  • Super Contributor
  • ***
  • Posts: 2763
  • Country: us
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #2 on: December 26, 2019, 06:05:54 pm »
896922-0

896926-1

896930-2

896934-3
« Last Edit: December 26, 2019, 06:47:23 pm by MarkF »
 
The following users thanked this post: Prehistoricman

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15797
  • Country: fr
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #3 on: December 26, 2019, 06:28:16 pm »
Nice. No constant current phase. A voltage output of 4.2V +/-0.5V (!!!  :-DD) (and I even doubt this figure). What could go wrong really? :-DD

Dear lord.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #4 on: December 26, 2019, 06:59:52 pm »
Those circuits can be current limited, but on the primary. I suppose that secondary current is roughly proportional to input voltage ;)
 

Offline thexenoTopic starter

  • Regular Contributor
  • *
  • Posts: 85
  • Country: it
  • Just another EE
    • Personal website
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #5 on: December 26, 2019, 08:40:18 pm »

Dear lord.


Despite there is way worse stuff in that circuit, as final touch please note the + and - reversed on the bottom PCB silk as well.  ;D

Second question: how is that possible that such dangerous crap is freely sold here in Europe? Because it was in a perfectly legal shop, was not bought from a shady eBay distributor.
Because nobody controls it.
Does the charger have the CE mark on it? If not, the shop sells it illegally. If yes, the original manufacturer applied it fraudulently or meant "China Export" by it ;)


It has the CE on the black plastic. Also, the box of the torch does not, but there is an italian importer (with a chinese name on it) which put a label including the CE mark. The CE mark looks also legit (as some of the chinese marks has the CE obviously bad drawn).

I don't think I can do anything, legally speaking. If I go to the police with 20kg of dynamite saying is not normal I can buy that at the supermarket they will not ask for illegal proofs; but telling that the isolation transformer is not compliant and the design is wrong, I doubt they would care.

Offline ConKbot

  • Super Contributor
  • ***
  • Posts: 1400
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #6 on: December 26, 2019, 09:14:16 pm »
Yeah I've seen some sketchy charger designs though that crap isolation takes the cake.  I've seen USB powered chargers that are a current limiting resistor and a battery overvoltage protection IC, and that's it.  Sketchy but serviceable, until a battery that's overdischarged is put in and gets way more than a recovery trickle.
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #7 on: December 27, 2019, 07:41:26 am »
It has the CE on the black plastic. Also, the box of the torch does not, but there is an italian importer (with a chinese name on it) which put a label including the CE mark. The CE mark looks also legit (as some of the chinese marks has the CE obviously bad drawn).

I don't think I can do anything, legally speaking. If I go to the police with 20kg of dynamite saying is not normal I can buy that at the supermarket they will not ask for illegal proofs; but telling that the isolation transformer is not compliant and the design is wrong, I doubt they would care.
Well, AFAIK along the CE mark the importer should receive (or produce themselves) some paperwork demonstrating compliance with safety standards so it could be interesting to ask them for said papers. Problem is, I'm not sure if regular police deals with those things (like they would with dynamite sales) and if not the police then who else does.

You can certainly warn the importer that this charger is potentially dangerous garbage and doesn't meet legal requirements.
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #8 on: December 27, 2019, 08:03:40 am »
who cares? i have like 4 or 5 of this crap charger from few flashlights that i bought, one i dismantled to become generic battery charger discharger. one is the one i currently use to charge my lion 18650 crap and vape for years, the rest are still in the drawer NIB waiting for the active duty one to be exploded, they will continue to pile up as i buy new china flashlight. i dont recall i ever experienced blown charger due to end of life service (except one original Canon camera battery charger). now my lab is so dangerous can explode anytime. seriously i dont think blast power will be any where near 10g of dynamite, not even enough to crack the enclosure, just dont touch the terminals while its connected to the mains if you value your life. i did few times, nothing happened maybe i just got lucky. few things to note, transformer is very small type you can usually find in samsung/smartphone charger. and few hot lines are very close to secondary circuit (although masked). so if you value your life as well, dont touch your smartphone charger while its ON. the world is going to explode because of this china 5V chargers everywhere. if you care enough, there are plenty of branded chargers out there, i dont care, they priced more than i'm willing to let go my china crap charger. it always astound me the design (hotline smps and self oscillating transformer) i wish i can build and understand such design.
« Last Edit: December 27, 2019, 08:12:02 am by Mechatrommer »
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6586
  • Country: nl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #9 on: December 27, 2019, 09:33:13 am »
Where is the fuse  :scared:
It looks like they use the 1n4148 with a max constant Ifw of 500mA as the secondary "fuse"  :-DD
Have to test this someday at which current that diode will fail and if it will fail open circuit hopefully  :)
 

Offline Mechatrommer

  • Super Contributor
  • ***
  • Posts: 11714
  • Country: my
  • reassessing directives...
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #10 on: December 27, 2019, 09:43:31 am »
thats the stereotype ;D transformer is inherently an inductor (inrush limiter?) and i dont think primary will draw much more than 100mA. consider the whole thing as a fuse cheaper than brand name one. osc bjt can fail first, or the small transformer etc one way or the other. but the fuse with me here is resilient.
Nature: Evolution and the Illusion of Randomness (Stephen L. Talbott): Its now indisputable that... organisms “expertise” contextualizes its genome, and its nonsense to say that these powers are under the control of the genome being contextualized - Barbara McClintock
 

Offline thexenoTopic starter

  • Regular Contributor
  • *
  • Posts: 85
  • Country: it
  • Just another EE
    • Personal website
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #11 on: December 27, 2019, 01:05:25 pm »
Where is the fuse  :scared:

There is a small wavy PCB trace on the back, used as a PCB fuse I guess. I think it will blow with 500A, but still..

few things to note, transformer is very small type you can usually find in samsung/smartphone charger. and few hot lines are very close to secondary circuit (although masked).

I am pretty sure in the proper ones the insulation does rely on the paper between the coils, differently from this one (check the video I linked).

Offline Kjelt

  • Super Contributor
  • ***
  • Posts: 6586
  • Country: nl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #12 on: December 27, 2019, 01:20:10 pm »
Where is the fuse  :scared:

There is a small wavy PCB trace on the back, used as a PCB fuse I guess. I think it will blow with 500A, but still..
Ah now I feel assured  ::)
I wonder what an insurance company will do when such a chinaquality device is the origin of a fire.
 

Offline JacobPilsen

  • Regular Contributor
  • *
  • Posts: 149
  • Country: cz
 
The following users thanked this post: thexeno

Offline thexenoTopic starter

  • Regular Contributor
  • *
  • Posts: 85
  • Country: it
  • Just another EE
    • Personal website
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #14 on: December 27, 2019, 07:56:44 pm »
I don't think I can do anything, legally speaking.
Verein für Konsumenteninformation
Europäisches Verbraucherzentrum Österreich

Hi, thanks! The problem is that I am italian and that happened in Italy.... despite I live most of my time in Austria.
But yes, I have to look if is worth reporting stuff or not.
« Last Edit: December 27, 2019, 08:33:54 pm by thexeno »
 

Offline magic

  • Super Contributor
  • ***
  • Posts: 7453
  • Country: pl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #15 on: December 27, 2019, 09:06:14 pm »
Don't be an ass, start with contacting the seller.
 

Offline thexenoTopic starter

  • Regular Contributor
  • *
  • Posts: 85
  • Country: it
  • Just another EE
    • Personal website
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #16 on: December 27, 2019, 09:50:42 pm »
Don't be an ass, start with contacting the seller.

Sure. In fact, the seller does not have any culprit, hundred of shops are selling this. Now the product is imported, only way to get rid of it would be confiscating it (that happens once every now and then, when police makes checks).
But I would be interested to just rectify for the next time who is responsible, i.e. the importer (which is one), which states its CE credential on the product. Because it has proper CE marking, hence is the DoC are false - if such design is not CE compatible. Maybe it is, I am not a legal expert.

You mentioned earlier to warn the importer, but isn't it already aware is doing things in a shady way? Btw, here the importer is not the seller.

I mean, I have nothing wrong by using this product, the problem is when someone not aware uses that. One thing are bad products which I am looking for (looking for cheap stuff to experiment or whatever), another is when someone get that and is sold as a safe device (CE labels etc). This should be limited, in my opinion. Going to the seller will make him/her give the money back, but not stop selling the entire batch because a random guy says its not safe in its totally personal opinion. You know what I mean? I know, I don't want to be an ass, I just trying to understand what would be, at least theoretically, the right thing to do.
« Last Edit: December 27, 2019, 09:56:12 pm by thexeno »
 

Offline SiliconWizard

  • Super Contributor
  • ***
  • Posts: 15797
  • Country: fr
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #17 on: December 27, 2019, 09:57:19 pm »
I do think the importer is legally responsible here.
 
The following users thanked this post: Siwastaja

Offline JacobPilsen

  • Regular Contributor
  • *
  • Posts: 149
  • Country: cz
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #18 on: December 28, 2019, 07:53:43 pm »
Centro Europeo Consumatori Italia

My totally personal opinion is, that this is not safe product.
 
The following users thanked this post: thexeno

Offline kjr18

  • Regular Contributor
  • *
  • Posts: 205
  • Country: pl
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #19 on: December 29, 2019, 08:53:01 am »
You don't need to reverse engineer this piece of total garbage. Just looking at distance between one of mains tracks and "positive" output that looks like negative terminal makes it very obvious that this "charger" is dangerous.  CE mark means nothing, or as some may say it means China Export.

If you want a cheap torch, don't buy ones with charging port, rather buy one where you need to take out cell to charge it. Buy on AliExpress/Ebay single cell battery charger (something like Liitokala li-100 or similar, there are cheaper ones, but dodgy as heck) and use it with proper usb Charger.

If you are in travel and need flashlight you could get ones that run on three AAA's at least it's safer.
 

Offline beduino

  • Regular Contributor
  • *
  • Posts: 137
  • Country: 00
Re: Reverse engineering of a chinese Li-Ion charger
« Reply #20 on: December 30, 2019, 06:39:04 pm »
I've similar LED lamp and simply DO NOT charge using builtin charger, but replace Li-ion battery to another one and use another charger to charge 18650 Li-ion's outside this thing  ::)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf