FWIW, from the photos, it looks like the charger is not very bad from safety perspective -- there is a wide, healthy space between high and low side. (unless there is a diagonal trace in the "The back of the PCB" photo, between high and low voltage sides.. but it is so absurd if true, I think it is just a camera artifact)
Ha ha, thanks! I agree with you that it looks okay from a safety perspective. It looks like they built the charger with reasonable quality, not cutting corners, but it's not at the Apple level of (over-)engineering. The one sketchy thing is the charger panel that just pops off (instead of being glued/welded), potentially exposing the user to high voltage.
One interesting thing is the amount of complexity that USB-C adds. The charger has a separate daughter board for the Cypress USB-C controller chip. This chip contains a 32-bit Arm Cortex-M0 CPU running at 48 MHz. I believe that works out to about 8 Cray 1 supercomputers using the Dhrystone benchmark.
The switching power supply is a quasi-resonant flyback topology. To oversimplify, the incoming AC is rectified to DC, chopped up into pulses that are fed through the flyback transformer. The output from the transformer is rectified, yielding the low-voltage, high-current DC output.
One somewhat advanced feature is that the output is not rectified by a diode, but by a MOSFET controlled by the controller chip. This is called synchronous rectification. This improves efficiency because you don't have the voltage drop you get across a diode.
The SMPS controller chip is interesting. Most switching power supplies have an optoisolator to provide feedback between the output and the control chip. But this control chip connects to both the input side and output side; it contains an inductive isolator internally. The control chip also contains the MOSFET that chops up the input voltage. So the big controller chip replaces multiple components in a typical charger.
The LED indicator is a bit puzzling. There's a TL431 voltage reference chip next to it. The TL431 is extremely common in chargers to provide the feedback for voltage regulation, but apparently it's being used here to drive the LED.
Exponential growth is a crazy thing.
On the other hand, would be fun if you could run complicated calculations on just your charger.
That sounds pretty sketchy indeed. Isn't that terribly dangerous? Could a child pop it off? Does that meet legal safety requirements for this kind of product?
There's a lot of clunky grammar in this post. Maybe it's a submarine advertisement?
Which proves absolutely nothing, of course. But it is consistent with how this sort of thing might happen. Companies often hire someone from their own country to do stuff for them.
EDIT: I think people have not understood what I'm saying here. I'm not trying to imply anything bad about Anker. I'm trying to explain what the comment two levels above mine may have been implying. The fact that this site is Chinese isn't a refutation of the scenario they're suggesting, it's part of it. (On a side note, I charged my phone on an Anker charger last night.)
After its launch, the emphasis seemed to be a decent level of quality, i.e. it will actually be what it says on the tin. The specs we provide, it will conform to.
Which has led me to turn to Anker products in order to get a "known quality."
Has this changed?
I'm just playing devil's advocate here. Someone advanced a theory that it could be "submarine advertisement", another person said the explanation is just that the site is Chinese, and I said that doesn't refute the notion. I'm not trying to defend that position; I'm just trying to keep the reasoning sound once that the exploration of that hypothetical has started.
There's a lot of clunky grammar in your post. Maybe it's a submarine advertisement?
See how ridiculous it is to assume grammar errors imply nefarious ends? You're not playing devil's advocate, you're backing up a crackpot statement.
Logic and rational discourse are not a game where there are only two sides, and a statement against one is automatically a statement in support of the other.