175 points · by weinzierl · 4y ago · 72 comments
The article began well, I hadn't previously heard the gas wave/pressure analogy. It helped me see current/voltage in a presumably useful way.
However, after introducing this analogy, the remainder of the article seemed to abandon it and instead load on more and more new terms without referencing them back to the analogy. This lost me, and toward the end I gave up.
I wish folks who expend the effort to create things like this would spend just a bit more identifying the target audience and ensuring they're speaking to it. I've lost count of the things I've begun reading which lose the thread in this manner.
This doesn't explain anything new beyond a standard textbook. Same stuff - differently regurgitated. (If you want a swing on this topic MIT 6.004/nand2tetris does a better job & even talks about trade-offs such as doping, channel contaminations, propagation delays due to FET designs, which electrical engineers routinely deal with in production. There are few videos by Carver Mead as well who intuitively explains why transistor work the way they do.)
And for delving into F/R bias, junction effects, leakage current - there are no illustrations showing polarity or flow of charges. Sorry but this is just another low SNR article for today.
That is not to say an accessible transistor deep dive would be interesting. I enjoyed my fair share of band gap calculations at university and not to forget Shockley's Garage. That's what an in depth transistor coverage would be for me.
You raised very different points and I would love to read that transistor article anytime.
* Read something we know from a different perspective (a.k.a the hacker way)
* Read something deeper which explains the (usually simpler) stuff in due course (i.e. deepdive)
I get it, you love the article and you want it on HN. But it does nothing more than regurgitating what we learned in university already. And the treatment of the topic is pedestrian (Please see why I critiqued it in terms of absence F/R bias & charge flow etc. Just having a sketch of the BJTs & FETs is extremely low bar)
I completely agree with the OP. This is a _pure_ regurgitation of introductory material one could find anywhere. The internet is overflowing with this exact description of how a transistor works.
I'm not an EE, but from time-to-time I dabble with electronics. When curiosity gets the best of me I go looking for articles about how transistors work. They all look like this one. What makes this disappointing is that the author sets up the article like they are about to wow you with their particularly special insight into the topic, but proceeds to copy paste the explanation from a textbook.
Yeah, particularly compared to everything else mentioned so far in this thread (with the possible exception of the YouTube videos I have not investigated).
> This is a pure regurgitation of introductory material one could find anywhere.
Can you share a better presentation of this material? The current suggestions include a full MIT course, a pair of 2 hour long lectures, "the book from the class we all took in college," and the Wikipedia page for transistors, all of which feel like they're targeting very different audiences than a short illustrated article such as this. Ben Eater's vids are great and a lot closer in scope, but YouTube is very different format and many (such as myself) prefer reading.
I find this to be the best concise explanation of the PN junction, which is enough to figure out how a transistor works on one’s own.
[1] https://worldradiohistory.com/BOOKSHELF-ARH/GE-Books/GE-Tran...
https://en.m.wikipedia.org/wiki/Bob_Widlar
Edit - some nice reads:
https://hackaday.com/2014/04/08/heroes-of-hardware-revolutio...
https://web.archive.org/web/20190527014243/https://www.autod...
This quote in the section about his retirement in the Wikipedia article made me chuckle:
His proud statement: "I don't work" caused him frequent troubles when crossing the Mexican border and eventually, Widlar created a set of fake business cards presenting him as a "road agent" for "Morgan Associates".
If you've worked with them at all, you know that bipolar junction transistors are not symmetric -- if you put them in your circuit with the collector and the emitter reversed, then they don't behave the same as if you put them in the right way. Hobbyists know that the schematic-diagram symbol always has the arrow on the base-emitter leg, and the arrow points from P to N.
But the BJT diagram in this article and in elementary textbooks is symmetric -- there's no physical structural difference between the collector and the emitter in the picture.
This isn't necessarily bad, simplifying the problem to illustrate the fundamentals is a legitimate pedagogical technique.
The "obvious" question is, what else is going on in real devices?
I think the answer is that actual commercially-available discrete BJTs are fabricated on a planar substrate, the same way they're done for integrated circuits, and then cut out of the wafer and packaged for individual use. In this process, the collector (I think?) is generally the lowest layer on the wafer, and is much larger than the emitter, which is on top, and is generally much smaller. In the planar case, there's an obvious geometric asymmetry that explains the device's asymmetric behavior.
I'm not 100% solid on that explanation, and I don't recall where I saw it, but this is the kind of next-level detail that I would have liked to see from the article.
(Minor edits for clarity.)
Update: The lack of symmetry [with respect to electrical rather than structural properties] is primarily due to the doping ratios of the emitter and the collector. The emitter is heavily doped, while the collector is lightly doped, allowing a large reverse bias voltage to be applied before the collector–base junction breaks down. The collector–base junction is reverse biased in normal operation. The reason the emitter is heavily doped is to increase the emitter injection efficiency: the ratio of carriers injected by the emitter to those injected by the base. For high current gain, most of the carriers injected into the emitter–base junction must come from the emitter.
https://en.wikipedia.org/wiki/Bipolar_junction_transistor#St...
> The idealized drawing of a BJT might imply that it should be a bidirectional device, working equally well if you reverse the polarity of the collector and the emitter. In practice, the emitter region is usually doped more heavily to facilitate the transport of electrons in one direction, so reversing the component leads to compromised performance.
1. http://www.circuitstoday.com/monolithic-ic#monolithic-fabric...
How semiconductors work: https://www.youtube.com/watch?v=33vbFFFn04k
How a transistor works: https://www.youtube.com/watch?v=DXvAlwMAxiA
So how does a transistor do this?
Simple, by placing a semiconductor in for the gap. Now if you add electricity to that semiconductor (and change it's conductance), it's like you're filling in that gap using electricity itself. If you don't, then it's like the gap remains filled with air...
Ergo, it's like connecting a gap between two pieces of wire, by using electricity itself to bridge the gap (or not depending on which state it is you want).
https://math.ucr.edu/home/baez/torsors.html
Here's the post I pulled it from!
It's a very complex linear-algebra-heavy theory, but anyone interested in this field will eventually end up having to grasp it. One could philosophize as to whether the resulting theoretical picture is closer to reality than the previous approach, but ultimately these are just models, and comparison of predictions with experimental results is the real test. For an introduction:
(2014) "Density Functional Theory in the Solid State", Hasnip et al.
https://sci-hub.se/10.1098/rsta.2013.0270
See section 4, "Semiconductor physics/device technologies":
> "DFT simulations are increasingly important in the field of device technologies, and used to study everything from conventional CMOS devices to future devices based on half-metals, thermoelectrics or multiferroics. Obtaining the correct band-gap for the constituent (doped/defect) materials is essential to describe the functionality of these devices."
Since transistor sizes have now reached the so-called quantum limit, the electron tunneling phenomenon is now a limiting issue, requiring new materials and DFT-based electronic structure prediction.
P.S. Wikipedia has a good article on field-effect transistors:
Yes, how do they work? This article totally reads like decades old pre-academic level textbook explanations found in schools.
> Hey, there's voltage and current. Oh, and there's this P/N magic you all heard about already? Anyway, that's how they work.
Besides, the rule of headlines applies.
Apparently the pneumatic model is preferred over the hydraulic one.
Personally I think the problem with the ‘hydraulic model’ is that people visualize it with wires as fluid filling pipes, with pressure as the driving force. I think you get a lot further if you imagine your circuits as water running in open channels with a free surface. The water needs to be able to slosh.
https://www.youtube.com/watch?v=OEzuZ6BpC-g
p.s. just that comment in passing starting at 12:10 is absolute gold: he casually drops the equivalence to state and function in basic electrical components. HN, this is one of the most wonderful - you will learn a lot - lectures delivered in exceptionally modest, accessible, and friendly manner.
Works well enough to make a curious kid stop asking questions, but won't take you much further than that.
The analogy is just to try to convey the concept of a field and the associated vector calculus. An analogy isn't necessary for Newtonian mechanics and scalar calculus because humans intuitively understand thrown balls etc.
https://www.youtube.com/watch?v=hrpPKCDLRN0
as well as others by the same author.
See https://www.youtube.com/watch?v=IcrBqCFLHIY for example.
It takes a lot of effort to track down the essential contradiction. In short the problem is "holes" and "electrons" stuff. In particular the "holes". In the beginning because of doping and band gaps and such the doping atom releases and electron into the conduction band which leaves behind a positively charged "hole". Ie the atom now has one more proton than electrons. So far so good. But a few weeks later we move on to the Hall Effect and now these "holes" are moving and this allows the hall effect to distinguish the N-type from the P-type (qv X h, and all that). But that can't be right because the positive charge is fixed with the doping atom and not moveable so the v should be forever zero.
Well of course the actual technology does work but the theory it's based on is far too difficult for mortal EE's (and their profs) to understand so instead they (the physicists) cooked up a bogus theory with a fatal flaw (conservation of charge - where does this new moving proton come from?) and everyone is happy cuz they never thought it through.
My recommendation is to save yourself a lot of time and worthless effort and work on the water flowing through a pipe analogy. This can take younquite a long way with DC circuits and extends with a few tweaks to ac circuits as well.
And with respect to transistors. I read through all the comments here and as far as I can tell no one distinguishes between bipolar and FET transistors. These are very different beasts with very different operating characteristics but, cutting to the chase, both behave very much like a water tap type.
With bipolar transistors the "gate" current allows a proportionally much large current to flow through the other two leads so it's and amplifier of current. Simple as that. Rotate the tap a bit and get a much bigger resonse in the water flowing.
With FET transistors the "gate" is controlled by voltage rather than current (there is a little leakage current but it's tiny) but the result of a larger current though the other two leads is pretty much the same.
Capacitors and inductors are readily added to your repertoire. When you hit phase locked loops though you're gonna have to crack some books.
In theory, practice and theory are the same. In practice they're not.