14 ms·
My example of this: I have yet to meet a junior EE candidate who understands the need for decoupling capacitors in digital circuits That says a lot about the s
by userbinator 7y ago
My example of this: I have yet to meet a junior EE candidate who understands the need for decoupling capacitors in digital circuits
That says a lot about the state of education. I'm not even officially an EE, and only did some embedded hardware stuff and some electronics as a hobby, yet I know what that's about.
- rightbyte 7y agoIt seems strange that the author has not met a single one that understands that concept since it is quite basic. I am guessing he just is bad at interviewing and asks trick questions till he meet someone who know the interviewing game inside out. Examples he gives: "Current limiting resistors missing (BJTs, diodes, etc.) Shorting a potentiometer node to a rail Voltage regulators missing capacitors at input/output Missing pull-up/pull-down resistors on digital buses Missing decoupling capacitors" I mean ... looking at a schematic how should you know that the voltage regulator doesn't have internal caps without seeing the specs? Missing pullups? How do you know those are not internal? It is stupid.
- barbegal 7y agoIt's not that stupid. If a candidate asks the questions you are asking then you know they are on the right track. It isn't about getting the right answers but about having the knowledge to ask the right questions.
- userbinator 7y agohow should you know that the voltage regulator doesn't have internal caps without seeing the specs? Can you name one voltage regulator that has them? Maybe you've worked with a few, but just off the top of my head, the 78xx, 317, and 1117 don't, and neither do all the other miscellaneous ones that I've seen in consumer electronics.
- rightbyte 7y agoTraco Power has some. I don't know which one we used on the top of my head but kinda like this with fewer pins: https://www.tracopower.com/products/browse-by-category/find/tri-3/3/ https://www.tracopower.com/products/browse-by-category/find/... It's not my field and I had little clue what was happening at the EE level. Maybe you could argue they are not what is normally meant by saying voltage regulators.
- ohazi 7y agoThat's a module, not a chip. If it's one of those 1mm x 2mm sot packages, it almost certainly doesn't have embedded switching capacitors.
- deleted 7y ago[deleted]
- dogma1138 7y agoIntegrated Switched-Capacitor Voltage Regulators will definitely be a thing in a few years they have already been produced in research labs and quite likely reached even limited production for low power <10W applications. In general I agree with the GP look at how many unpopulated areas exist on modern boards. How should you know if the lack of input filtering is because of poor design vs the fact that the spec of the power supply changed and you no longer need it? If it’s not universally true and obvious it’s not a good test. Modern boards are super complex I’m not an EE but I would more likely flag lacking probe points, probe points which are too far or too close apart or too far from common ground as bad design choices than try to figure out if there are enough caps for the voltage regulator without knowing the full specs of the damn thing. For all i know that voltage regulator isn’t even being used anymore because the IC or PSU specs have changed mid production but because it was wave soldered with a different soldering method than the other SMTs they already had them on a bunch of boards... If you can’t reverse engineer the board or the relevant within a few min it shouldn’t be in an interview. Not an EE but I do a lot of HW RE if anyone puts a modern multi layer doubled sided board on my lap and tells me to point out what’s wrong with it in an interview I would ask them what’s wrong with them.
- kragen 7y ago78xx/79xx don't need caps for stability either, according to their datasheets. Still seems a bit janky to leave them out.
- spatular 7y agoI've yet to see a voltage regulator IC with built-in caps. DC-DC modules sure, but author argues that this kind of info (module / ic) should be present in schematics. BTW, some linear regulators can't handle ceramic and low-ESR capacitors at output, and may be better with none if that's the choise.
- rightbyte 7y agoI hate to maybe be proving his point by showing that I'm not into the EE field and thinking of a board mounted DCDC-converter as a voltage regulator (which it is but not what you usually call it in english?) I would still argue that logic IC have alot of internal pull ups. Or that eg. "Reset sequence of digital component is wrong" is a bad whiteboard question.
- spatular 7y agoI believe that without qualification "linear regulator" could be just anything that regulate voltage. Usually you can easily tell from schematics around it if it's some switching IC, an LDO or a module. And if you have layout or 3d render of the board it'd be almost certain. Otherwise the person may just ask: "where are caps, or is this thing a module or what?"
- mkeeter 7y agoIn my experience, "linear regulator" refers specifically to voltage regulators which drop from a high voltage to a lower voltage by burning all of the power in between (e.g. the venerable 7805). They're useful if the voltage drop isn't too large and/or if you need a particularly stable output voltage; contrast them with switching regulators, which are more efficient but have some amount of output ripple. One design that I worked on used a switching regulator to generate 5V, then linear regulators to generate something like 3.7V and 2.9V for various sensitive analog circuits.
- msds 7y agoNo, a linear voltage regulator is well understood as something with a transistor pass element in linear mode and a (probably dumb) control loop. Definitely not a switcher or module, could be an LDO.
- deleted 7y ago[deleted]
- wiredfool 7y agoI'm looking at that list and checking the mistakes I've made in electronics classes. I think my best one was shorting a (slow) clock to power, which made the whole thing blink on and off.
- crtlaltdel 7y agoI think it makes sense depending on the nature of the role in question. If the role's primary function is to do validation prior to manufacture this seems like reasonable. it assumes that new circuits will have some number of fairly common mistakes. in my experience this is very true, despite the skill of the engineer who designed the circuit. missing termination, pullup/downs missing, etc. if the role is applications engineering...well...its far less likely you would be troubleshooting common circuit design issues so much as you would be troubleshooting common system design issues. im sure you can extend this to other functional roles an EE may take on. if the job is to design a MCC and size breakers to minimize arc flash hazards i doubt the applicant will be up on a correctly build half-bridge rectifier. in that list quoted i've encountered all of it in new designs, including missing stuff plainly stated in the part's application notes (like those regulator caps).
- SilasX 7y ago>It seems strange that the author has not met a single one that understands that concept since it is quite basic. That's exactly what everyone says when candidates fail FizzBuzz. The best explanation I know is that good candidates get hired quickly, so at any given moment, the candidate pool is dominated by people who keep failing questions like this.
- rightbyte 7y agoHe is saying that all juniors fail EE-FizzBuzz, which makes me question his interviewing skills.
- SilasX 7y agoAnd a lot of interviewers report that all juniors fail FizzBuzz.
- xvector 7y agoI just refuse to believe this. It can’t be.
- SilasX 7y agoJoin the club! Or rather, search for Fizzbuzz on HN and read the accounts and theories of similarly-baffled interviewers and posters.
- klyrs 7y agoLately, my company has been looking for folks who can, essentially, compute the sum of items in an array in JavaScript. Seniors continue to fail this. It would be great if they'd stumble over conundrums like "what if there are non-numeric entries in the array." Most often, they just stare and don't even start on the problem.
- xvector 7y agoCould you elaborate on the problem? No offense, I find it very hard to believe that no one knows how to sum the items in an array. Are you expecting some map-reduce-like parallel sum, or something else?
- jdsully 7y agoDecoupling capacitors need to be within a few mm of the integrated circuit consuming the power. It really doesn't matter if the voltage regulator has them or not. This is different than for bulk capacitors, but even those should still be on the same PCB assembly because connectors have higher resistance and this will limit their ability to handle transient surges.
- mbell 7y ago> It really doesn't matter if the voltage regulator has them or not. Not all LDOs are stable without external output capacitance in a particular range / ESR.
- jdsully 7y agoThe point is the LDO's capacitance or lack there of has no bearing on whether decoupling capacitors are required. Understanding that the capacitor and the trace form an RC circuit and that distance matters is what separates a professional from a beginner.
- quasse 7y agoSeems like it says more about the writer's hiring pool. I can't think of one junior EE I've interacted with who couldn't have told you what decoupling caps were for. Sizing them correctly (instead of just sprinkling the 0.1uF magic fairy dust on your board) might be another matter but I've yet to see someone fail to grasp the purpose.
- bsder 7y ago> Sizing them correctly Explain please? Yes, there are some considerations when you're dealing with RF, but a modern 0402 0.1uF cap works pretty much everywhere because it has such a great frequency response due to its small size. Now, explaining to people that their 10uF 6VDC 0402 across the power rails probably doesn't have as much capacitance as a 2.2uF 15VDC 0402 is a little subtle. It is also an issue that decoupling caps can hold too much energy and keep a power domain operating when you wanted it shut down. That makes for some interesting debugging. Power domains now require discharge circuits because IC's use so little power.
- detaro 7y agoThere's also a difference between "can tell you what decoupling caps are for" and "when given a circuit will call them out as missing", especially in an interview situation. (Parallels probably apply to software interviews: under stress it's easier for many to answer "define X" than to identify how/if to apply X when not prompted for it)
- rasz 7y agoI know few who never touched soldering iron.
- Sanzig 7y agoI'm an EE. My first job out of university had a pretty good whiteboard interview (I know - we're not supposed to say good things about whiteboard interviews on HN). I thought the process was pretty straightforward. The first exchange went something like this: Interviewer: "Can you draw me the schematic symbol for an LED?" Me: Draws LED schematic symbol. Interviewer: "What would you say the forward voltage is on that LED?" Me: "That depends - maybe between 1 and 4 volts depending on the color?" Interviewer: "Good, let's call it two volts. What would you say would be a reasonable current if we're just using it as a power indicator?" Me: "I usually set it to around one milliamp on my boards." Interviewer: "That sounds good. Can you show me how you would connect that to a 5 V supply?" Me: Calculates ballast resistor size for 1 mA current from a 5 V supply with a 2 V LED drop, then draws a circuit with an LED, resistor, and 5 V source. --- And on it went. We ramped up through complexity: next we did simple BJT and FET switches, then basic op-amp circuits including single-pole filters. I stumbled on a differential BJT amplifier question, but the interviewer helped me through it. And so on. I didn't nail everything, but I got most things right. I ended up getting the job. When I asked the interviewer later about his experiences using test for hiring, he told me a sizeable chunk of new graduates flunked out on the first question, which I found pretty shocking. A lot of students with excellent resumes didn't even know how to hook up an LED! As to the cause - it's just a guess, but I think many "good students" these days are very good at regurgitating information and memorizing procedures to complete formulaic exam problems, but aren't very good at actually developing the physical understanding of what's really going on. When I was in my senior year, I designed a buck converter as a small part of my capstone project. One of my team members remarked that he didn't realize a buck converter was a power supply, and that he had seen it in his power electronics class but had no idea what it was used for. He could do the duty cycle calculations for one all day long, but he didn't even realize it was a DC/DC power supply! Universities these days do not seem to successfully evaluate deep understanding. Rather, they seem to optimize for the superficial appearance of understanding. Even "lab courses" when I was a student were formulaic: plug this wire in here, put your probe here, read this value here, do this calculation here for your report. There were very few courses that were actually designed to encourage real experimentation and practical learning. A good EE needs to develop a mental model of the underlying physics and be able to relate it to practice, and that is a tricky thing to teach in the classroom. Anyway, all that said - I really like the idea of the "bad schematics" approach for an interview question. If I ever find myself in a hiring role, I am 100% using it.
- PascLeRasc 7y agoMy EE education didn’t cover decoupling caps, and from talking to others from different schools they didn’t learn it either. It's something that only comes out in DIY projects, and unfortunately most schools don't care about projects or fostering independent/continuous learning.
- kragen 7y agoIt's in Horowitz & Hill. What was your introductory textbook?
- PascLeRasc 7y agoThomas/Rosa/Toussaint. Horowitz's book is way better though.
- esmi 7y agoAre you an analog EE? If so that’s surprising. Did you have any microelectronics classes where you essentially build up your own opamp, one stage at a time? Bypassing is usually covered in this class, or in its lab, especially when discussing PSRR of the system. Digital systems classes can cover it too, when going over power distribution, but that’s usually a graduate level class. The digital VLSI or signal processing tracks of EE might not require this stuff anymore.
- TheOtherHobbes 7y agoThis astounds me. Trained as an EE in the early 80s. Can't imagine teaching digital design without mentioning decoupling.
- cushychicken 7y agoI didn't expect when I wrote this post that the decoupling caps comment would be the one that starts the HN flame thread. XD
- kragen 7y agoIt's pretty bizarre, you have to admit, for junior EEs not to know this — isn't it?
- esmi 7y agoI don’t know. If junior = lack of experience implementing circuits in practice then I don’t think they should. After all, in theory you don’t need to bypass. In practice, you might. :)
- cushychicken 7y agoThe more I think about it, no - it's not. For one thing, many of my professors (in fact, probably all of them) were very theory focused, and had very little experience implementing electronics. I think they figured that practical topics like this were too specific to lecture about, and we'd pick it up on the job anyway. I'd have to assume that mindset is not wholly exclusive to my undergraduate degree. For another thing, I find that commonly, large employers are frequently not doing much to train their new grad EEs, or even let them near much design work. As a result, they miss out on practical experience that would teach them about concepts like decoupling.
- kragen 7y agoWell, I've definitely taken a pre-EE class where we breadboarded a bunch of logic circuits without decoupling caps. But #electronics on Freenode, Horowitz & Hill, and EEVblog are all pretty emphatic about them, so I figured everybody would know by the time they considered themselves a junior EE.
- cushychicken 7y ago>I've definitely taken a pre-EE class where we breadboarded a bunch of logic circuits without decoupling caps Same! I didn't realize you needed them until I entered industry. I think that's a little disappointing - it's a very simple explanation, just one that most professors don't choose to spend time on. I'm trying to put together a good demonstration of why you need decoupling capacitors in a lab setting. Best one I can think of is paralleling a bunch of inverters with no decoupling caps, and then measuring the current draw on the rail using a shunt resistor.
- esmi 7y agoIt’s not obvious that you need them. In modern hw especially, often you don’t. Most people add them because it is (usually) not harmful and it can be helpful and they don’t care if it’s wasteful. https://youtu.be/P8MpZGjwgR0 https://youtu.be/P8MpZGjwgR0