Reverse-engineering a vintage power supply chip from die photos
kens 2021-08-18 17:47:12 +0000 UTC [ - ]
jaytaylor 2021-08-18 18:33:40 +0000 UTC [ - ]
At the beginning you say "this very small chip", and it would be cool to include the actual dimensions. This will make it possible to get a sense for the size of the features from the magnified die picture.
p.s. You write some of the best articles, I love the way you break things down and present them in an approachable way. Thank you, Ken!
kens 2021-08-18 18:43:24 +0000 UTC [ - ]
kop316 2021-08-18 18:20:13 +0000 UTC [ - ]
rkagerer 2021-08-18 18:16:29 +0000 UTC [ - ]
kens 2021-08-18 18:21:19 +0000 UTC [ - ]
wuschel 2021-08-18 22:38:41 +0000 UTC [ - ]
PS awesome blog!
kens 2021-08-18 23:05:51 +0000 UTC [ - ]
monocasa 2021-08-18 18:37:03 +0000 UTC [ - ]
I'd imagine that their better response latency is eaten up by downstream capacitors anyway. Maybe they'd have better dynamic range to allow them to converge on a clean signal better than a stream of digitized samples that are always probably little off converged one way or the other by some quantum?
I'll be the first to admin that power control isn't my forte though, and most arguments I can come up absolutely sound like the specious stuff you hear out of 'audiophiles'.
megous 2021-08-18 19:45:05 +0000 UTC [ - ]
Which is perhaps for the good, if you look for example on the boost topology, where saturation of the inductor leads to the shorting of the input through a switching transistor to the ground... :)
pwr-electronics 2021-08-18 21:08:10 +0000 UTC [ - ]
Here, Microchip markets this particular line of PIC MCUs as a "field-programmable switch-mode power controller". But weirdly I haven't seen that language on their main site.
https://mu.microchip.com/getting-started-with-cip-hybrid-pow...
barbegal 2021-08-18 18:53:52 +0000 UTC [ - ]
colejohnson66 2021-08-19 01:18:40 +0000 UTC [ - ]
* How do you know if the base silicon is N-doped or P-doped? (does it matter?)
* Why are the layouts of NPN and PNP so different? I’ve seen many die photos and you can (usually) easily tell which transistor is which.
* Lastly, are there any guides on learning how to decipher a die shot into a “schematic”? How do I know which colors mean what? (they vary between IC)
(if it’s not obvious, I’m still learning about this stuff)
kens 2021-08-19 02:23:52 +0000 UTC [ - ]
I'm kind of guessing that the substrate silicon is P-type since that seems to be more common. As for the colors, each IC is different. There are charts relating colors to thickness, but that doesn't really help me.
msandford 2021-08-19 02:01:23 +0000 UTC [ - ]
userbinator 2021-08-19 02:15:19 +0000 UTC [ - ]
l-albertovich 2021-08-18 19:40:19 +0000 UTC [ - ]
Thanks!!!
ForOldHack 2021-08-18 19:52:05 +0000 UTC [ - ]
Your posts are fantastic, not only do we get a peek inside, but we learn about how electronics work, and why designers make choices.
Thanks!!!
agumonkey 2021-08-18 18:45:00 +0000 UTC [ - ]
do you think recent GaN power adapters have very different power ICs ?
kens 2021-08-18 18:51:28 +0000 UTC [ - ]
pwr-electronics 2021-08-18 21:55:59 +0000 UTC [ - ]
But because of differences between GaN and Si, the selection of reasonably compatible controllers and gate drivers is smaller. For example, many ICs made for Si are underperformers for GaN, or they might need some "translation" circuitry because of different gate voltage requirements.
There are certainly many gains to be made with GaN-specific supporting ICs, but that hasn't really happened yet. My personal threshold for acknowledging a fundamentally different technology would be replacing all the Si in the gate drive loop with GaN. The idea is to not hold back the GaN switch from realizing its full potential with slower and less efficient Si.
The GaN switch itself is, of course, quite different from a Si power switch.
baybal2 2021-08-19 06:26:53 +0000 UTC [ - ]
Ones designed with power electronics use in mind are made intentionally close to silicon FETs on specs.
mikebco 2021-08-18 18:29:59 +0000 UTC [ - ]
kens 2021-08-18 18:36:43 +0000 UTC [ - ]
As far as the chips themselves, I haven't looked at a modern power supply controller chip, but I've looked at other power chips [2]. The biggest difference is they are CMOS instead of bipolar. They are also much more complex and dense, so I can't reverse engineer them with my microscope.
[1] https://www.righto.com/2015/11/macbook-charger-teardown-surp...
[2] https://www.righto.com/2020/05/tiny-transformer-inside-decap...
bigiain 2021-08-19 01:34:19 +0000 UTC [ - ]
What would be the path forward if you chose to try an do that? A different light frequency microscope? Or something way more complex and expensive?
(Or would having the imaging capability not matter because the complexity is too high even if you could see it properly?)
nielsbot 2021-08-19 00:55:02 +0000 UTC [ - ]
londons_explore 2021-08-18 20:43:40 +0000 UTC [ - ]
It surprises me that this role hasn't been replaced with a tiny ARM core running some firmware to do the same. The benefit is the core can be self-tuning. It can detect components going out of spec and warn and/or compensate. It can have digital comms with the rest of the system to set all kinds of parameters, allowing a more flexible design and allowing bug fixes in the field. It can have lookup tables to tune efficiency for input/output voltage, load, etc, in a way an analogue design never could.
Considering a tiny microcontroller has a BOM cost of just 4 cents, in the same region as dedicated power supply chips, I don't see why software-controller-switched-mode-supplies aren't common.
milankragujevic 2021-08-18 20:49:57 +0000 UTC [ - ]
Electronics is mostly KISS, not only motivated by the financial factor but also reliability, manufacturing, etc.
So far micro controllers are too expensive, too sensitive to unstable power supply, too complex in general (requiring some support components in some cases, have an additional prefabrication step for flashing firmware by the chip vendor, and cost a lot more.
There is no clear advantage to the approach you mentioned.
userbinator 2021-08-19 02:45:44 +0000 UTC [ - ]
londons_explore 2021-08-19 07:15:07 +0000 UTC [ - ]
londons_explore 2021-08-19 09:50:27 +0000 UTC [ - ]
AussieWog93 2021-08-18 22:38:37 +0000 UTC [ - ]
I ended up repairing it by hard-resetting the NVRAM and forcing the power control computer back to its initial "reset" state.
This was a common enough problem that the manufacturer had a step-by-step guide showing how to fix it on their website.
The moral of the story is that adding complexity, even when that complexity is designed to increase robustness, usually just means that there are more systems that can fail.
kens 2021-08-18 21:42:30 +0000 UTC [ - ]
pjc50 2021-08-19 05:55:03 +0000 UTC [ - ]
Not self-tuning, though, they have to be tuned and all that software written.
Dedicated PMIC chips will be mixed signal, with digital control and analog failsafes.
pwr-electronics 2021-08-18 23:27:12 +0000 UTC [ - ]
The problem is that you can't make every controller with an MCU, and you can't always make a competitive controller with an MCU.
There are already controller ICs that are configurable. In fact, modern controllers are a mix of analog and digital hardware. They do everything an MCU would do in that situation, but faster, less invasively, and with less power. Often, they do more than an MCU because they're not slowed down by an instruction cycle.
See my comment before last for an example of a software-configurable hardware controller.
Condition monitoring is a thing, and it's done with MCUs, DSPs, and FPGAs. But controllers sit on the non-isolated side of the gate driver, where they have basically no physical access to any useful signals. That's why condition monitoring is separate.
The lookup table idea is used for motor control. It's called a firing angle table. But that's a slower application.
labcomputer 2021-08-19 03:15:13 +0000 UTC [ - ]
Supposedly it can also detect shoot-through and modify timing to compensate.
kevin_thibedeau 2021-08-18 20:54:27 +0000 UTC [ - ]
markrages 2021-08-18 22:23:37 +0000 UTC [ - ]
userbinator 2021-08-19 02:40:29 +0000 UTC [ - ]
For schematics of power supplies using this UC3842 chip, see this site, near the bottom of the page.
Before looking at the URL I guessed it would be that site. The author is also on YouTube under the name DiodeGoneWild, and not surprisingly posts videos about SMPS electronics too.