Back to posts
The Ultimate List of Hardware Engineering Internship Interview Questions
Wednesday, December 22, 2021
13415 words
51 min read
- IntroDisclaimers and NotesHow Should You Use this List?The Basics/FundamentalsBasic CircuitsPassive ComponentsResistorsCapacitorsInductorsPhysics/ChemistrySemiconductor DevicesDevice PhysicsDiodesBJTsMOSFETsAnalog Circuits/ElectronicsCMOSAmplifiersOpampsFiltersPLLPower ElectronicsGeneral Power SupplyPower Supply TopologiesEfficiencyPower ArchitectureBuck ConvertersDuty Cycle/Output VoltageCircuit AnalysisPower BridgeEfficiency, Ripple, and Switching FrequencyVoltage/Current SensingPFM OperationMultiphase Buck ConvertersControls/StabilityDesigning Buck ConvertersDebugging, Validating, and Characterizing Buck ConvertersBoost ConvertersLow-Dropout Regulators (LDOs)Charge PumpsBatteriesLithium Polymer (LiPo)MonitoringCharging/DischargingSafetyInductive LoadsCharacterization/BehaviorBrushed DC MotorsBrushesBrushless DC (BLDC) MotorsElectronic Speed Controllers (ESCs)Stepper MotorsServo MotorsSafety and MonitoringSpeed/PositionSingle-Phase Inductive DrivesHalf/H-BridgeControl from Embedded DeviceCurrent SensingSense ResistorCurrent Sense Amplifiers (CSA)Current/Voltage ProtectionPrinted Circuit Boards (PCBs)Layers and MaterialsStackupDesign/Layout/RoutingGroundingDecoupling/Bypass CapacitorsHigh-Speed SignalsDifferential PairsTransmission Line EffectsBoard-Level TerminationHigh-Current Layout/RoutingPower Supply Layout/RoutingPower Supply-Level Layout and PlacementComponent-Level Layout/RoutingSense Resistor Layout/RoutingNoise, Interference, and CouplingEMI ShieldsViasTesting PCBs and Design for Excellence (DFX)Testing PCBsPCB FabricationManufacturing and AssemblyAutomated TestingDesign for Manufacturing (DFM)Design for Testing (DFT)Test PointsDebugging and Making Measurements on PCBsReworking PCBsElectrical Computer-Aided Design (ECAD) SoftwarePackagingIC FabricationSignalsSquare WavesDifferential SignalingSignal Integrity/Power Integrity (SI/PI)Signal Integrity (SI)Differential Pairs (SI Perspective)Power Integrity (PI)Transmission LinesTL TheoryIdeal vs Real TLsEmbedded SystemsMicrocontrollersCommunication BusesI2CProtocol LayerPhysical LayerSPIUARTGPIOsDesign/ImplementationTimersInterruptsPeripheralsADCDACData Storage and MemoryDebugging Embedded SystemsOperating SystemsSensorsGyroscope/AccelerometerLightCameraLiDARCalibration, Validation, and TestingDigital BasicsDigital ElectronicsLogic Gates (Digital Perspective)Digital LogicVLSI/Computer ArchitectureComputer ArchitectureGPUSystem on Chip (SoC)MemoryPower/Performance/ThermalsRTLAssemblyCodingVariablesProgramming QuestionsSystem ArchitectureMeasurementDMMsScopesScope ProbesGeneral Debug, Testing, and ValidationNon-TechnicalIntroBehavioralTechnical/BehavioralAppendix
Now that I should hopefully be done with internship interviews for the rest of my life, here's a mega list of almost every interview question I was asked from 150+ interviews at Facebook, Apple, Amazon, Nvidia, Google, Microsoft, Qualcomm, Analog Devices, Texas Instruments, Northrop Grumman, SpaceX, Tesla, etc. This is going to be a massive step up from "part 1" that I posted a while back now that I have more coursework, internships, and interviews under my belt.
This was originally going to be part of the Interviews chapter of my internship search guide, but that post just got WAY too long so I decided to create a separate post just for this repository of questions. That post is still chock-full of interview advice and experiences, so check it out when it's ready! And before you get started, take a guess at how many questions this list has! (bonus points if you comment your guess because I'm also curious about your guesses!)
Disclaimers and Notes
- These questions were for internships, but there's a lot of overlap with full-time (FT) interviews. In fact, I'm doing FT interviews at the time of writing this and they basically ask the same stuff, there are usually just more FT interviews so they have an opportunity to dive deeper and ask more questions I'd even say some of my internship interviews were harder/more in depth than my FT interviews. If the questions end up being super similar, I may just rename this post instead of making a new one lol.
- These questions are reflective of my skillset, strengths, and experiences. I'm doing my undergrad at Cal Poly SLO and did internships at Apple and Microsoft, so these questions are mostly focused on that experience in power electronics, embedded systems hardware, and board layout/design. I'm pretty trash at digital stuff, so those sections will be lacking in comparison.
- I take notes of almost every interview and every question they ask (which I'd recommend you do too!), so this post will just be a reflection of that content.
- I try to include every applicable question, no matter how dumb it may seem. What you might think is a dumb question may actually be a very good question for someone else to study. I'm just not going to include questions specific to me, like project- or experience-specific questions.
- I tried my best to organize questions by topic, but there's tons of overlap between each topic. For example, GPIO/output driver design and implementation can be asked in the context of analog electronics, embedded systems, transmission lines, and power electronics. Some of these questions have just been repeated with or without additional context to solidify the topic while others will just be refer to another section.
- I use a few acronyms in this, so aside from the obvious ones (I, V, R, L, C, Z, KVL/KCL, MOSFET, BJT,), there's an appendix that lists the acronyms.
- Some questions I get more than others, so the more common questions will be bolded.
- In case you're curious, I can only answer ~95% of these questions on the spot. I can answer ~4% of these questions with a bit of thinking, ~1% would need some refreshing online/my notes, and maybe like 2-3 I honestly have no idea how to answer.
How Should You Use this List?
I understand that this is a GINORMOUS list and it's very difficult to get everything down. It can be super intimidating, but just focus on the basics and what you're good at and you'll be fine! For example, if you have no clue about PCB design and don't intend on going into PCB design, that section may as well be useless to you (for the sake of interview preparation). No interviewer is going to expect you to know all of this stuff.
I didn't make this list for you to memorize literally everything on it, it's more so a study guide. You remember in English/literature/history class where the teacher would give you a packet of questions to answer while you read the book? That's one way to use this list. As you're working on a project/internship, you can refer to this list on stuff you should learn while doing the project/internship.
Another way to use this list is as a last-minute study guide for interviews. If you have a power electronics interview coming up, it would be super helpful to brush over the power electronics section and make sure you have everything down. If not, this list will point you in the direction on stuff to study up on. I'd also recommend cross-listing this list with the job description. You can get a good idea of what to expect during an interview based on the job description and asking your recruiter/hiring manager. If the job description mentions embedded systems/microcontrollers, buck converters, and PCB design, you might want to brush up on those on this list!
Ok that's enough random stuff here's the mega list!
The Basics/Fundamentals
Basic Circuits
- What is ohm law? (do people even get this wrong?? Next time I get asked this I'm going to get it wrong on purpose lmao)
- Conceptually explain ohm's law.
- What are some basic circuit analysis laws?
- What are KCL/KVL?
- Basic KCL/KVL circuit problems.
- What is the equation to find power?
- Why is power loss often due to current, not voltage?
- Draw a voltage divider circuit. What is the voltage divider equation? Derive it.
- Basic RLC circuit analysis.
- Basic LPF/BPF/HPF filter analysis.
- Passive components' parasitics.
- Basic opamp circuit analysis.
Passive Components
Resistors
- Draw the symbol for a resistor.
- What is resistance?
- What does resistance depend on?
- Draw a realistic circuit model for a resistor. What are the parasitics and where do they come from?
- What are some common resistor values?
- What are some common resistor packages and sizes?
- What are some common failure modes of a resistor?
- What are pullup/pulldown resistors? How do you spec them?
Capacitors
- Draw the symbol for a capacitor.
- What is capacitance?
- What is a dielectric?
- What is the equation for impedance of a capacitor?
- What is the differential equation for a capacitor?
- Does a capacitor have positive of negative reactance?
- What is the continuity condition? What do inductors resist change to?
- How does a capacitor behave when initially excited and at DC steady-state?
- What is an inductors impedance at DC vs infinitely high frequency? Plot this behavior.
- Draw a realistic circuit model for a capacitor. What are the parasitics and where do they come from?
- What is a capacitor's self resonant frequency?
- What is a bypass/decoupling capacitor? What about a bulk capacitor? What is the difference?
- What is an AC coupling capacitor?
- What sort of signals can capacitors pass through and block? What sort of filter behavior is this?
- Build a LPF/HPF using a single capacitor.
- What are some common failure modes of a capacitor?
- What is the continuity condition? What do capacitors resist change to?
Inductors
- Draw the symbol for an inductor.
- What is inductance?
- What is the equation for impedance of an inductor?
- What is the differential equation for an inductor?
- Does an inductor have positive of negative reactance?
- What is the continuity condition? What do inductors resist change to?
- How does an inductor behave when initially excited and at DC steady-state?
- What is an inductors impedance at DC vs infinitely high frequency? Plot this behavior.
- What happens when an inductor saturates?
- Draw a realistic circuit model for an inductor. What are the parasitics and where do they come from?
- What do cores do on inductors?
- What are typical core materials?
- What are the main loss mechanisms of an inductor? Where do they arise from?
- What is ACR? Where does it arise from and how is it impacted by frequency?
- What sort of signals can inductors pass through and block? What sort of filter behavior is this?
- Build a LPF/HPF using a single inductor.
- What are some common failure modes of an inductor?
Physics/Chemistry
Basic physics/chemistry questions, not including device physics or basic circuit physics which have their own sections.
- What is a conductor/insulator/semiconductor?
- What is the skin effect?
- What is the photoelectric effect?
- Explain any dielectric losses and how they occur.
- How does electricity work?
- How does lightning work?
- Which atom bands do electrons move in?
Semiconductor Devices
Device Physics
- What is the difference between P-type semiconductors vs N-type semiconductors?
- What is a depletion region and how does it form?
- What materials are typically used for semiconductors?
- What is doping?
- How does doping improve performance?
- What elements are typically used for doping?
- What is charge mobility?
- What charge carriers are dominant in P-type semiconductors vs N-type semiconductors?
- Which charge carriers are more mobile: holes or electrons?
- Why do N-type semiconductors typically have lower resistance?
Diodes
- How does a diode work?
- What are some use cases of a diode?
- Draw IV curve.
- What are the different operation regions?
- Given a forward/reverse voltage and threshold voltage, determine what operation region it's in.
- What are the different kinds of diodes?
- What is the typical forward voltage drop across a diode? Why is it this value? How does it differ for different diodes?
- How can you build an ideal diode?
BJTs
- Draw a NPN/BJT symbol.
- What are the terminals?
- What are some use cases of a BJT?
- What is the difference between a BJT and MOSFET?
- Draw IV curve.
- How does it work?
- What is the difference between an NPN and PNP?
- What are the different modes of operation?
- What is current gain/beta?
MOSFETs
- Draw a PFET/NFET symbol.
- What are the terminals?
- Which two terminals are often connected together and why?
- What are some use cases of a MOSFET?
- Why are MOSFETs used so often?
- What is the difference between a BJT and MOSFET?
- Draw IV curve for MOSFET
- How does it work?
- What is the difference between an N-channel and P-channel?
- What is the difference between enhancement-mode and depletion mode?
- What are the different modes of operation?
- Given Vgs and Vt, how will the FET behave? What operating region will it be in? Load-line analysis.
- What is the internal body diode? Where does it come from?
- Why are MOSFETs sensitive to overvoltage conditions applied at the gate?
- What is W/L ratio? How does it impact FET performance/behavior?
Analog Circuits/Electronics
- Often times, I'm given an unnamed circuit and asked to explain how it works and what type of circuit it is. Here are a few of them I've gotten (and know what they're called):
- Charge pump
- Level shifter
- LDO
- RLC filters
- Current mirror
CMOS
- What is CMOS? Draw a CMOS buffer.
- Why are these so often used?
- What type of MOSFETs are typically used on the high-side? What about the low-side? Why?
- TTL vs CMOS?
- What is shoot-through on a CMOS logic gate? How can it be prevented?
- CMOS efficiency analysis. How does operational frequency impact efficiency? What about logic/swing levels? Rise/fall times?
- How can you achieve faster slew rates?
- Design CMOS input protection circuits against ESD/overvoltage events.
- Draw voltage/current output waveforms for a CMOS buffer connected to a series RC load. Which FETs are conducting during a positive/negative step?
- What happens if you swap the high-side PFET and the low-side NFET?
Amplifiers
- What is common-mode and differential gain? What are their ideal values?
- What is the gain-bandwidth product?
- What determines slew rate and rise/fall time?
- Pros/cons of fast/slow slew rates?
- How to bias an amplifier?
- Why are BJTs more often used for amplifiers than MOSFETs?
Opamps
- What is an opamp? How does it work?
- Draw an opamp. What are the two input terminals?
- What connections are required to wire up an opamp?
- What are the three rules of an ideal opamp?
- Draw an inverting/non-inverting opamp circuit.
- What is the DC gain of an ompamp?
- How does an open-loop opamp behave? What type of circuit is it?
- Why are non-inverting configurations often preferred?
Filters
- Draw mag/phase response of a first-order filter.
- Draw a circuit for a first-order LPF/HPF.
- What is the dropoff rate of a first-order low-pass filter?
- What does the bandwidth characterize?
- What is the 3dB rolloff point? What happens after that? How much of the signal gets through?
PLL
- What can you use increase clock frequency?
- How does a PLL work?
- What blocks does a PLL have?
- Draw a block diagram.
- What happens if your PLL locks too fast or too slow?
- Why is crushing the clock window bad? How can this impact other circuits that may be connected to the clock?
Power Electronics
- What type of load (resistive, inductive, capacitive) can a SoC/CPU typically be characterized as?
- What is the condition for maximum power transfer?
- Often times on a power rail, there are many capacitors connected to ground. What are these capacitors and why are there so many? Why can you just put one massive capacitor?
- What is bulk capacitance?
- What is inductive flyback? When can this be unwanted? When can it be wanted? How can you protect against it?
- What is PWM? What are its characteristics?
- What novel semiconductors are being explored for power electronics? What are their tradeoffs?
General Power Supply
Assume DC-DC for nearly every question unless specified or implied. AC power supplies are rarely brought up during my interviews given their use cases and relevance to my experience.
- What are some ways to step up/down voltage? What about for a power rail?
- Why shouldn't you use a voltage divider to step down voltage for a power rail?
- When is a voltage divider applicable to step down voltage?
- Design a power supply.
- Why is supply voltage overshoot/undershoot often undesired? When can it be tolerated? What type of loads are more sensitive to overshoot/undershoot?
- What parameters would you want to track in a power supply?
- When buying/designing a power supply, what specs do you look out for?
- Why is energy conservation important? How is it applicable?
- Given three of the following: input voltage, input current, output voltage, and output current, calculate the fourth value that isn't given.
Power Supply Topologies
- Name some voltage regulators.
- What is the difference between a buck converter vs LDO? What are the tradeoffs?
- When can an LDO be more efficient than a buck converter?
- What type of circuits can convert AC-AC/AC-DC/DC-DC/DC-AC?
- What is a bridge rectifier? How does it work?
- In many embedded systems, why are step-down regulators more common than step-up regulators?
Efficiency
- What is efficiency in a power supply? How can it be measured? Why is it important?
- Given two of the following: input power, output power, and efficiency, calculate the third value that isn't given.
- What happens to any lost power? Why is this bad?
- What is quiescent current?
Power Architecture
- Given a supply spec (input supply voltage, output supply voltage(s), output current(s)), design power architecture.
- If you need multiple output supplies of different voltages from a single input supply, what are some solutions?
- If you need multiple output supplies of the same voltage but different noise performance, what are some solutions?
- If I have a high dropout voltage but require high efficiency and a very clean output supply rail, what are some solutions?
- What is an intermediate bus converter and when is it needed?
- What is power sequencing? When/why is it needed? How is the sequence determined? How much time between each rail turning on/off is needed?
- How can you implement power sequencing?
Buck Converters
Buck converter board routing is in PCB Design/Layout section. I often refer to the "on state" where the high-side FET is on and the diode/low-side FET is off and the "off state" where the high-side FET is off and the diode/low-side FET is on.
- What is a buck converter?
- How does a buck converter work?
- Draw a circuit for a buck converter.
- What are some applications?
- What is a single-input multiple-output (SIMO) buck converter?
Duty Cycle/Output Voltage
- What determines the output voltage and why?
- What is duty cycle?
- How to calculate duty cycle?
- What happens at 100% and 0% duty cycle?
- Given a Vout/Vin ratio, how can the duty cycle be calculated?
- Given duty cycle and Vin, can you find Vout?
- What is a DC load-line? What are its tradeoffs?
Circuit Analysis
- Draw the waveforms for:
- Inductor voltage/current
- Switch node voltage under asynchronous and synchronous rectification
- Capacitor voltage/current
- FET gate voltage
- Diode current/voltage
- Input supply voltage/current
- Output load voltage/current
- Low-side NFET voltage/current if using synchronous rectification
- What is the purpose of the output inductor/capacitor?
- What direction does current flow in the inductor/capacitor in the on and off states?
- Why is the inductor current a linear ramp? What determines this behavior?
- Why is the output capacitor voltage a linear ramp?
- When does the output capacitor charge/discharge?
- What is the inductor polarity?
- When does the inductor sink/supply current?
- What is the input capacitor needed? What happens if it's removed?
- What is voltage/current ripple? (from circuit analysis perspective)
- What determines inductor current slope?
- What determines capacitor voltage slope?
- Why is the diode needed? What if it's removed?
- If the diode is replaced with an ideal diode, how does it impact performance?
- What is the switch node voltage potential in the off state?
- Where is inductor current sourced from in the off state?
Power Bridge
Many of these questions assume that synchronous rectification is implemented, but some also compare the behavior/performance between a low-side NFET and diode.
- What type of power bridge is often implemented? Why?
- Why is the diode needed? What if it's removed?
- Explain synchronous rectification. What are its pros/cons?
- NFET vs PFET for high-side FET? What are pros and cons?
- What are the pros and cons of a symmetrical power bridge?
- Design a circuit to properly drive a high-side NFET. What considerations must be taken into account?
- What happens if both the NFET and PFET are on at the same time? How do you avoid this?
- What happens to the internal body diode in the off state? Draw the switch node voltage waveform.
- What considerations must be taken given the internal body diode behavior?
- What can you do to decrease the effect of the internal body diode?
Efficiency, Ripple, and Switching Frequency
- Why are buck converters more efficient than LDOs?
- How to size inductors/capacitors to meet ripple spec?
- Component-by-component analysis on efficiency and ripple impact.
- What are some ways to increase efficiency?
- What are some ways to decrease ripple?
- How does switching frequency impact efficiency/ripple?
- What components are most responsible for efficiency losses?
- Why should ripple be decreased?
- When does ripple not as matter as much?
- What limits the switching frequency on the upper and lower ends? Why can't the switching frequency be 1THz or 1Hz?
- How does switching frequency impact performance?
- How does dropout voltage impact efficiency, ripple, etc? What about output current an input/output voltage?
Voltage/Current Sensing
- How is the output voltage typically sensed? What network is typically used and why is it needed?
- What happens if the voltage-sensing resistor divider has too high resistance? What if too low?
- How can the output current be sensed?
- When should output current be sensed? Before or after the output inductor? Or somewhere else?
- Which voltages/currents are important to be considered in the control loop and for what purpose?
PFM Operation
- What are the different operation modes?
- What is the difference between discontinuous and continuous operation?
- What can you do to increase efficiency at light loads?
- Explain PFM operation.
- What is the difference between PFM and PWM?
- How does the ripple compare between PFM and PWM?
- What happens to the inductor current?
- Describe the charge/discharge cycle of inductor and capacitor.
Multiphase Buck Converters
- What is a multiphase buck converter?
- What are the pros/cons/tradeoffs vs single-phase buck converters?
- How do they work and what challenges are presented?
- When should they be used?
- How do they increase output current?
- How do they impact efficiency?
- How do they impact heat density?
- How do they impact transient response?
Controls/Stability
- What does stability refer to in a buck?
- What happens when a buck is stable/unstable/marginally stable? What about during load transients or noisy events?
- What type of system is the output LC filter?
- How do inductor/capacitor values impact stability?
- Explain what happens during a load transient event.
- How is transient response characterized?
- What is a feedforward capacitor? When is it needed?
- Explain different control topologies.
- What is the difference between voltage-mode and current-mode control? Why are they often both implemented simultaneously?
- Explain subharmonic oscillation.
- When using peak current mode control, what happens when the duty cycle is less than 50% during noise events/load perturbations? What about when the duty cycle is greater than 50%?
- What is slope compensation and when is it needed? (what kinda person asks undergrads this?)
Designing Buck Converters
- What components are typically integrated in the IC and which are typically external?
- How do you select a buck converter IC?
- How should you spec the output inductor/capacitor? What about input capacitor? What are some considerations?
- Why is the inductor's saturation current important to consider? What about ACR vs DCR?
- What determines minumum/maximum L/C?
- How does the output L/C impact stability?
- How is the output voltage/current sensed? (more in Voltage/Current Sensing section)
- Design a buck converter.
- What is a simple circuit to implement the switching? How can you make it switch with a higher/lower duty cycle based on the feedback voltage?
Debugging, Validating, and Characterizing Buck Converters
- What are some failure modes of buck converters? How can they be detected and prevented?
- What can you do to debug a buck converter that isn't regulating? What could be going wrong?
- How do you validate/characterize a buck converter? What properties/behaviors do you look out for?
- How does a buck converter age? What happens to its performance?
- How does buck performance vary with process, voltage, and temperature (PVT)?
Boost Converters
Many of the boost converter questions can be similar to bucks, but I barely have any experience with boosts so they aren't covered as much in my interviews.
- What is a boost converter? How does it boost voltage?
- How does a boost converter work?
- Draw a boost converter circuit.
- What are some applications?
- Why are they less efficient than buck converters?
- What is the purpose of the diode? The inductor? The capacitor?
- What happens to the inductor flyback voltage? Why is this important?
Low-Dropout Regulators (LDOs)
- What does LDO stand for? What does "low-dropout" refer to? How can this be an advantage?
- How does an LDO work?
- An LDO can often be modeled as a single passive component, what is this passive component?
- What are some tradeoffs of LDOs compared to other stepdown regulators?
- If I implement an LDO IC, what additional components are typically needed?
- What happens to any power losses?
- LDO efficiency analysis. How does output current and dropout voltage impact efficiency?
Charge Pumps
- How does a charge pump work?
- How does a charge pump boost voltage?
- Draw a circuit for a charge pump.
- What are they used for?
- Charge pump efficiency analysis.
- How do you spec a capacitor for a charge pump.
Batteries
- What are some common battery chemistries? Which are rechargeable and which are single use? How do you determine which to use?
- How do you characterize a battery?
- What are some desirable characteristics in a battery?
- When buying a battery, what specs do you look out for?
- How do you measure battery voltage/current?
- What do you have to monitor in a battery to ensure it's operating safely?
- How do you charge/discharge a battery safely?
Lithium Polymer (LiPo)
- What is the common battery chemistry used in rechargeable consumer electronics? Why?
- What does LiPo stand for? What does this mean?
- What are some tradeoffs of a LiPo compared to other batteries?
- What are some other common Lithium-based battery chemistries? What are their tradeoffs?
- Can LiPos be used forever? What happens as they age?
- What materials are LiPos made out of?
- What is the internal resistance? Why is it important? How does it vary with temperature, aging, frequency, etc?
- What is a battery management system? What features does it offer?
Monitoring
- What is the typical cell voltage of a LiPo? What are its ranges and why?
- How does temperature impact LiPo performance?
- What important characteristics do you want to monitor in a LiPo circuit?
- How can you determine the state of charge (SoC)? Why is this often so difficult?
- Why is SoC measurement accuracy so important?
- When it SoC measurement accuracy more desired? When does it not matter as much?
- How is capacity measured?
- How can you determine the health of a LiPo?
- Why are charging/monitoring ICs important? What can they do?
- What is cell balancing? Why is it important and when is it needed? What happens if it's not implemented?
Charging/Discharging
- What is a LiPo's C rating?
- Explain the LiPo discharge and charge curve.
- When do LiPos charge fastest?
- How fast can you safely charge a LiPo?
- What happens when you overcharge the battery?
- How do you charge a LiPo? What steps and precautions are needed?
- What are the constant-current and constant-voltage procedures in the charge curve?
- What should you monitor when charging a LiPo?
- Design a circuit to charge/discharge a LiPo.
- What is storage charging?
- Why are charging/monitoring ICs important? What can they do?
- What is balance charging? When is it needed?
Safety
- What are the dangers of Lithium-based battery chemistries? How can these be prevented?
- Why is it important to properly handle and dispose LiPos?
- Why is it so dangerous to puncture LiPos?
- What happens if you overdischarge/overcharge a LiPo?
- What happens when you short circuit a LiPo?
- Why is heat such a big concern?
Inductive Loads
Mostly on DC inductive loads like brushed DC motors and solenoids. I've only been asked a tiny bit of AC inductive loads in the context of brushless motors. Most of these questions arise because of my personal projects with motors and solenoids, only a few roles I've interviewed for actually use motors/solenoids. I was also asked most of these questions during my freshman year before I started taking interview notes and before I had any internship or school experience, so these questions are mostly from memory. Most of these questions will be for motors (since I've been asked mostly about them), but there's a good amount of overlap with solenoids.
- What is a motor/solenoid? What can they be used for?
- Describe how a motor/solenoid works.
- Why are coils often used? What is so special about that configuration?
Characterization/Behavior
- When does a motor/solenoid draw the most current?
- When does a motor/solenoid draw the least amount of current?
- Describe what happens to a motor/solenoid at steady-state under minimum and maximum current draw?.
- What type of loads are motors/solenoids?
- What is flyback voltage?
- What is back EMF?
- If I hook up a 12V supply (with infinite current output) to a motor/solenoid with a coil resistance of 1 ohm, will I see 12A of curent being draw? Why? When would I see 12A? When wouldn't I?
- What is inrush current?
- When do motors/solenoids draw the most amount of current?
- Inductors oppose instantaneous changes in current, but motors/solenoid still experience very fast and large inrush currents. Why is this?
Brushed DC Motors
- What is the difference between a motor and generator?
- What is the difference between a motor and solenoid?
- What are the parts of a motor? Which parts rotate and which parts remain static?
- Name a few types of motors. What are they each used for?
- What are linear motors?
- What sort of motors are typically used for phone's vibration motor?
- Draw a torque vs RPM curve. What are its implications? Repeat for current and voltage vs torque and RPM.
- What electrical parameter corresponds to high torque? Why? What about high RPM?
- How do you spec a motor?
- Why are motors so noisy? How can you reduce this noise?
- What is arcing?
Brushes
- What are brushes?
- What are brushes made out of?
- What are some concerns about brushes?
- Why do brushes wear out?
- When should you replace brushes vs replace the whole motor?
- How do brushes maintain contact with the commutator?
Brushless DC (BLDC) Motors
- How do BLDC motors work?
- How do you control BLDC motors?
- How do you control a BLDC motor from a microcontroller? What other components do you need?
- What are some advantages of brushless vs brushed motors?
- What are the poles of the motor? How can they impact performance?
- How do you spec a BLDC motor?
Electronic Speed Controllers (ESCs)
- What is an electronic speed controller (ESC)?
- Why are ESCs often required for brushless motors?
- What is the difference between an ESC and a single-phase motor driver? What additional functionality may an ESC offer?
- What components/subsystems does an ESC have?
- How do you interface with ESCs? What other components/controllers are needed? How do they communicate?
- Design an ESC.
- How do you spec an ESC?
Stepper Motors
- What is a stepper motor?
- How does it work?
- What are its applications?
- What are its advantages compared to other types of motors?
- How do you control a stepper motor from a microcontroller? What other components do you need?
- How do you spec a stepper motor?
- How do stepper motors hold a certain position?
Servo Motors
- What is a servo motor?
- How does it work?
- What are its applications?
- What are its advantages compared to other types of motors?
- How do you control a servo motor from a microcontroller? What other components do you need?
- How do you spec a servo motor?
- How are servo motors so precise in their movement?
Safety and Monitoring
- What are some failure modes of motors/solenoids? How can they be avoided?
- What are some dangers when using motors/solenoid?
- What properties do you want to measure when using a motor/solenoid?
- How can these properties be monitored? What sensors/components can you use?
- How would you alter the behavior of the motor/solenoid based on the observed data?
- How do you determine how much current a motor/solenoid is drawing?
- How can you detect the temperature of a motor/solenoid?
- Which temperatures do you want to/can you measure?
- Since the motor/solenoid may be moving, you might not always want physical contact between the sensor and motor/solenoid. What are some contactless ways to measure temperature?
- How do motors perform as they age?
- What kind of stress may a motor experience in its lifetime?
- Motor/solenoids often require many loops in the coils, so the coil wires will be very thin. Motors/solenoids also draw lots of current, possibly more than the coils can support. How do you reconcile this? Do coils on the motors always burn out?
Speed/Position
- When/why would knowing the speed and/or position of a motor/solenoid be useful?
- How can you measure the RPM of a motor?
- How can you determine the position of a motor?
- What is a rotary encoder? How can it be used to measure motor speed?
- How can you measure the speed of a solenoid?
- How can you measure the position of a solenoid?
- How can you use BEMF to measure motor/solenoid speed?
Single-Phase Inductive Drives
PCB design/layout on inductive drives is in the PCBs section.
- How do you drive an inductive load?
- What if you need motor braking?
- What if you need to drive the motor in both directions?
- What are the different kinds of motor braking?
- What sort of protection circuitry do you need?
- Tradeoffs between different drive circuits: electromechanical relay (EMR), solid-state relay (SSR), MOSFET, BJT, insulated-gate bipolar transistor (IGBT), etc.
- What optimizations can you do for solenoid drives to increase plunger velocity and cycle rate?
- If you're using a driver IC, how do you spec it? What properties should you look for?
- If you're designing a motor/solenoid drive with discrete components, how do you spec your transistors?
- What limits the switching frequency?
- How do you increase the switching frequency?
Half/H-Bridge
There's a good amount of overlap with the Power Bridge subsection of Buck Converters as well, since the power bridge of a buck is often just a half bridge.
- Draw an H-bidge circuit.
- Draw a half-bidge circuit.
- How does a half/H-Bridge work?
- What is the difference between an H-bridge and half-bridge? What are the tradeoffs?
- How can you brake a motor using a half-bridge? What about an H-bridge? Which can brake the motor faster? How does this stress the motor?
- When can you use an asymmetrical half-bridge? When do you need a symmetrical H-bridge?
- What are the advantages of using a high-side NFET? What additional challenges are presented?
- Design a circuit to properly drive a high-side NFET. Why is it needed?
- What happens if you turn both the PFET and NFET on the same side at the same time? How do you prevent this?1
Control from Embedded Device
Often times you want to control a big motor/solenoid from a small embedded device. This section focuses on some of the more power electronics side of things while the Embedded Systems section will focus a bit more on the embedded side of things.
- Design a circuit to drive an inductive load from a microcontroller GPIO.
- Why would a pulldown resistor be necessary?
- Why would you want a series resistor between the GPIO and MOSFET gate? What is parasitic oscillation in the context and where can it arise from? What does the series resistor do?
- Why is isolation important? What are the tradeoffs?
- What sort of isolations would you want?
- What is opto-isolation? What are its tradeoffs?
- Describe/draw/design an opto-isolation circuit.
- What is galvanic isolation?
- What are some challenges when using a high-side PFET and a much higher supply voltage to power the motor?
- Design a circuit to properly drive a high-side PFET. Why is this needed?
Current Sensing
- How can you to measure current?
- Why do you want to measure current?
- How does inductive/magnetic current sensing work? What are its pros and cons?
- Describe tradeoffs between different current sensing mechanisms.
Sense Resistor
Sense resistor PCB layout/routing is in PCB Design/Layout section
- How does a sense resistor work to sense current?
- What are its pros and cons?
- How do you spec a current sense resistor? What happens if it's too big/small?
- Given a range of input currents and ADC input voltage range, find an appropriate sense resistor value.
- What is the difference between high-side and low-side current sensing? What are the advantages/disadvantages of each? When do you need to use one vs the other?
- How can you use drain-source measurements of a MOSFET to determine current? What are the pros and cons of this setup?
Current Sense Amplifiers (CSA)
- What is a current sense amplifier (CSA)?
- When do you need a CSA?
- What is the difference between a CSA and a regular opamp?
- How do you spec a CSA?
- Given a range of input currents, a sense resistor value, and ADC input voltage range, find an appropriate CSA gain.
Current/Voltage Protection
- How/why do you want to protect against overcurrent and/or over/undervoltage conditions?
- Design a circuit to detect overcurrent and/or over/undervoltage conditions.
- If an overcurrent and/or over/undervoltage condition is detected, what can you do?
- How/why do you need to protect a power supply from overcurrent/overvoltage?
- What happens if you get an over/undervoltage on an embedded system?
- How can you protect a load from pulling too much current?
Printed Circuit Boards (PCBs)
- What is a PCB? Name some applications.
- What are the tradeoffs of PCBs vs solderless breadboards vs soldered breadboards vs just soldering everything together with wires vs ICs?
- What is the difference between a PCB and IC?
- What are the parasitic elements present on a PCB?
- What are the different types of PCBs? What are their tradeoffs and applications?
- What is a flex PCB? What are its tradeoffs and applications?
Layers and Materials
- What are the layers of a PCB? What are they made of?
- What material would I want for conduction layers?
- What are the tradeoffs of using gold vs copper on the conduction layers?
- What materials are often used for the insulation materials? What are their tradeoffs?
- What does "FR4" mean?
- Why are PCBs often green? What other colors could they be?
- What is the layer with text called?
- What is soldermask?
Stackup
- What are the layers of a PCB? what are they made of?
- How to choose how many layers for PCB?
- How to choose board stackup?
- What should be routed on each layer? What should be routed on inner layers vs top/bottom layer?
- Which layer(s) should be the ground layer(s)?
- Which layers should high-speed signals be routed?
- Which layers should power planes be on?
- What components would require a higher layer count?
Design/Layout/Routing
- What are some general rule of thumbs for board routing?
- How do you decide which subsystems go where on a PCB?
Grounding
- What is grounding on a PCB? Why is it so important?
- Describe some basic grounding layout techniques.
- What is a ground plane? Pros/cons?
- What is ground stitching?
- What are the tradeoffs between using a ground plane vs ground traces to connect all ground potentials?
- In addition to providing a common reference potential, what are some other functionalities of ground planes?
- Why can you use your ground plane to shield your signals?
- Which layers typically have ground planes and why?
- Why are ground probe points important?
- When/why should you separate your ground reference potentials?
- What are some ground layout schemes?
- What is star grounding?
- What are the tradeoffs between combining analog, digital, and power grounds vs separating them?
- What happens if your ground plane potential differs throughout your board?
- What can be the source of ground plan potential variation?
- How do you avoid too much variation?
- How can you design your system to be more resilient against ground disturbances?
Decoupling/Bypass Capacitors
- What are decoupling capacitors? When are they needed?
- What are some common values for decoupling capacitors?
- What are some rules of thumb when placing and routing decoupling capacitors?
- Why do decoupling capacitors need to be placed as close to the source package as possible?
- What signals do you often want to decouple? Why?
- Often times you may see many decoupling capacitors on a signal. Why are there so many? If they're in parallel, why not just place one massive capacitor?
- If you have multiple decoupling capacitors, how do you lay them out and route them?
- What happens if the decoupling capacitors are placed too far from the package?
- How does parasitic inductance impact decoupling capacitor performance?
- What are some sources of parasitic inductance that may decrease the effectiveness of a decoupling capacitor?
- How can the packaging impact the effectiveness?
- What is a capacitor's self resonant frequency? Why is this important?
- When should you not use decoupling capacitors?
High-Speed Signals
Diff pairs and high-speed design from board layout/design perspective, as opposed to signals or SI perspective. Diff pairs are often used for high-speed signals, so there will be a good amount of overlap with the Transmission Lines (TL) section, especially microstrip TLs.
- What are some rules of thumb when routing high-speed signals?
- Should you put vias through high-speed traces?
- What shape should these high-speed traces be? Why?
- What is serpentining? Why is it important for synchronization?
Differential Pairs
- What is a differential pair? What are some tradeoffs?
- How should it be routed? What are some layout guidelines that may differ from single-ended high-speed signals?
- Why is it important that signals for both lines of the diff pair arrive to the source at the same time? What happens if they don't arrive at the same time? How can you ensure that they do arrive at the same time?
- What is serpentining? Why is it important for diff pairs?
Transmission Line Effects
Transmission line (TL) effects on a PCB/microstrip transmission line, also lots of overlap with TL section.
- Describe transmission line components on a PCB.
- What are some common characteristic impedance values?
- How can you change the characteristic impedance of a trace?
- How does a trace's impedance change with respect to frequency?
- Describe some sources of reflection on a PCB (any any interfaces). How can these reflections be minimized?
- How do any interfaces in the transmission path impact signal quality and reflections? What are some interfaces that may introduce distortion?
- I have a two-layer PCB built but when I get it, the manufacturer made a mistake and the substrate layer is twice as thick as it should be. How does this impact the characteristic impedance? What could I do to fix it?
Board-Level Termination
- If external termination components are used, where should they be placed? On the source, sink, or somewhere in between?
- How do you route external termination components?
- When would you need external termination components?
- Describe some termination networks.
- What is the difference between series and parallel termination?
High-Current Layout/Routing
- What are some rules of thumb when laying out and routing high-current connections?
- What is a power plane/shapes? Why are they preferred over traces?
- Are long shapes/traces preferred over short ones? Why?
- Are skinny shapes/traces preferred over thick ones? Why?
- What is a thermal relief pad?
- What is via stitching? When can it it be used?
- What can you do at the board-level to reduce heating of a component/IC?
- When should heat sinks be used?
Power Supply Layout/Routing
Mostly dealing with switching power supplies as they present additional layout and routing challenges. Tons of overlap with the previous High-Current Layout/Routing as power supplies often need to supply lots of current.
Power Supply-Level Layout and Placement
- What are some considerations when deciding where to place the power supply?
- Why do you want to place your power supply close to the load?
- What happens if your load tries to draw too much current but there's lots of trace distance between your load and power supply?
Component-Level Layout/Routing
- What are some considerations when laying out power supply components?
- What are some important nodes of consideration of switch mode power supplies? Why?
- What are the noisy nodes of a power supply? How should to route these noisy nodes and why? What are other board-level considerations of noisy nodes?
- How should you route the input capacitor?
- What if the input capacitor is placed too far?
- How should you route the switch node of a buck converter?
- How should you route the inductor of a buck converter?
- How should you route the sense/feedback network of a buck converter?
- How do you route decoupling and bulk capacitors?
Sense Resistor Layout/Routing
- How do you route a current sense resistors?
- Why is it important that the traces be short?
- What if your sense resistor is far from your
- What is a kelvin connection for a sense resistor? What are the tradeoffs?
Noise, Interference, and Coupling
- Why is noise a consideration at the board-level?
- What is electromagnetic interference (EMI)?
- What are some sources of EMI on a PCB?
- Why do I want to avoid radiated EMI?
- What are some board-level techniques to minimize radiated EMI?
- What about external sources of EMI? How can they impact a circuit?
- What are some board-level techniques to protect against EMI?
- How can signals couple together? How can this be prevented?
- What are some board-level techniques to minimize coupling?
- If I have two traces on adjacent layers, one a clock and another a sensitive analog signal. How should I route these signals?
- What is desense? Why should it be avoided? What are some board-level techniques to avoid it?
EMI Shields
- What are EMI shields? Why/when are they needed?
- How do EMI shields work?
- What are EMI shields typically connected to? Why?
- Where should I place EMI shields?
- What is a faraday cage?
Vias
- What is a via? Why are they needed?
- If I have a signal on two separate layers, how can I connect them together?
- What are the different types of vias? What are their tradeoffs?
- If I need to via between inner layers, what type of vias would I use?
- When would I want filled vias?
- When would I want plugged vias?
- What are some common failure modes of vias?
- When do I not want to use vias?
- Can you put a via on a surface-mount pad?
- What happens if you have too many vias?
- What happens if you have too many vias through a power plane?
- What is "swiss cheesing" a plane?
Testing PCBs and Design for Excellence (DFX)
Testing PCBs
- What are some tests you can do on a PCB?
- When testing a PCB, what are you looking for?
- What are some challenges when testing PCBs?
- What are some common failure modes of a PCB?
- How do you test ICs at the board-level?
- How do you test components at the board level?
- Given a PCB with x, how would you test it?
PCB Fabrication
- Describe the PCB fabrication process. How are PCBs made?
- What is panelization?
- What are mousebites?
- What are fiducials?
Manufacturing and Assembly
- Describe the PCB manufacturing and assembly process.
- What is the difference between surface-mount and through-hole components? Any tradeoffs?
- How are components soldered on a PCB?
- How are double-sided components soldered on a PCB? What are some techniques?
- What about mixed assembly boards?
- What is pick-and-place?
- Pick-and-place machines must often traverse repetitive paths for assembly. What are some optimizations?
- What is reflow?
- What is wave soldering?
Automated Testing
- How are PCBs tested? When does this happen?
- How are PCBs testing at a large scale?
- What sort of tests do PCBs undergo on the assembly line? What are the steps?
- What are a few test stations you would see on an electronics manufacturing/assembly line?
- What is automated optical inspection (AOI)? What can it capture?
- What is in-circuit testing (ICT)? What can it capture?
- What is functional testing (FCT)? What can it capture?
- What is flying probe testing? What can it capture?
- What are bed-of-nails test fixtures? What can they capture?
Design for Manufacturing (DFM)
- How can you design a PCB for manufacturing?
- How can you ensure testability of your design at high volumes in automated testing environments?
- What is component tombstoning? When can it happen? How can it be prevented?
Design for Testing (DFT)
- How can you design a PCB for testing?
- What special board design choices would you do for PCB prototyping?
- What are ground probes on a PCB? Why are they needed? When should they be used?
Test Points
- What are test points? What are their use cases?
- What are different types of test points?
- What are layout guidelines for test points?
- When should/shouldn't you use them?
- Should you use test points on high-speed or sensitive signals? Why?
- Who/what uses test points?
- If you're short on board space, how do you prioritize which signals should have test points?
Debugging and Making Measurements on PCBs
- If there's a short on the PCB, how can it be detected, found, and root caused?
- How do you measure signals on a PCB? What are some considerations?
- How can test points be used to measure signals?
- When measuring a signal, what is the ground loop?
- Why should your ground loop be as small as possible?
- How can you reduce your ground loop?
Reworking PCBs
- What is PCB rework?
- Describe any rework experience you have.
- What sort of rework can be done on a PCB?
- Why may rework be needed?
- What can you do in your design to improve reworkability?
- Often times many power components or ground components have thermal relief pads. How does this impact reworkability?
Electrical Computer-Aided Design (ECAD) Software
- Do you have experience with Eagle/Altium/KiKad/Cadence Allegro?
- What experience do you have with ECAD software?
- Do you have any scripting experience in ECAD?
- What are design rule checks (DRC)?
Packaging
- What are some common IC packages? What are their tradeoffs?
- What are the tradeoffs between surface-mount and through-hole packaging?
- What are ball grid array (BGA) packages? What are their tradeoffs?
- What is the difference between the die, wafer, and package?
- What are node sizes? What does "3nm process" refer to? Are transistors really that small?
- What are package on package (PoP) chips? What are their tradeoffs?
- How do PoP chips impact thermals?
- Which chips are often PoP? Why?
- Describe any yield considerations when fabricating chips.
- Why can't ginormous chips, single die be made? What are some challenges and workarounds?
- What are chiplets?
- What are 3D chips?
- What are bond wires?
- Bond wires are often very thin but sometimes may need to carry lots of current. How do you reconcile this?
- What are flip chips?
- Why would the ground potential of a chip vary?
IC Fabrication
- How are ICs made?
- What is a wafer?
- What is the process from wafer to chip?
- What is photolithography?
- What is etching?
- What is atomic layer deposition?
- Some feature sizes may be in the nm range, but the wavelengths of light used may not be in that same range. How are these small feature sizes created?
Signals
- What is the difference between an analog signal and a digital signal?
- What is the Fourier Transform?
- What is the difference between the Fourier Transform and Fourier Series?
- If I want to measure a sine wave, what should be the sample rate?
- What is the nyquist rate of a signal? Why is it important?
- What is aliasing?
Square Waves
- What is a square wave? What are its properties?
- What is PWM? What are its characteristics?
- Draw spectral content of square wave/pulse train.
- Why are square waves so noisy? What can you do to decrease noise? What about decreasing noise at a particular frequnecy content?
- What is the highest frequency component of a real vs ideal square wave?
- What is the rule of thumb for the highest frequency content of a real square wave?
- What are the tradeoffs of sharper edges on a square wave?
- How does the frequency content of sharp vs not sharp square waves?
Differential Signaling
Diff pairs from signals perspective, as opposed to board layout/design or SI perspective.
- What is a differential pair? How does it work?
- What is the difference between a single-ended and differential signal?
- When are they often used?
- How do they improve noise immunity?
- What does the common-mode voltage refer to?
- What does the differential voltage refer to?
Signal Integrity/Power Integrity (SI/PI)
- What is SI/PI? Why is it important?
- Do you have any SI/PI simulation experience?
Signal Integrity (SI)
- How to characterize quality of a signal?
- What is ground bounce?
- What happens if signal rising edge is too slow? Too fast?
- What is signal monotonicity?
- Why is monotonicity during a signal transition important?
- What is hysteresis and why is it used?
- What are setup and hold times? What happens if they're violated?
- What is crosstalk?
- What is jitter?
- What is ringing?
Differential Pairs (SI Perspective)
Diff pairs from SI perspective, as opposed to board layout/design or signals perspective.
- How do you characterize SI of a differential pair?
- What is an eye digram? What does it represent?
- What happens of the eye diagram is too small? What is often used to represent this?
- What is the mask of an eye diagram? What happens if some of the signal enters the mask?
- What can you do expand the eye?
- What can you do to ensure the eye stays out of the mask?
- How is timing jitter and amplitude noise illustrated on an eye diagram?
Power Integrity (PI)
Lots of crossover with Power Electronics section.
- How do characterize quality of power supply?
- What is power supply ripple? Where does it come from?
- What is power sequencing? Why is it important?
- What are power supply spikes? Would could be their cause and how can they be captured?
Transmission Lines
More on generic transmission line (TL) and high-speed design theory, as opposed to its implementation/analysis in the context of PCB design which is in its own section: Printed Circuit Boards (PCBs) > Design/Layout/Routing > High-Speed Signals
TL Theory
- What is TL theory? Why is it needed?
- When is TL analysis valid?
- What is characteristic impedance?
- What are reflections? Why do I care about them?
- Draw some signals with/without reflections.
- What causes reflections?
- What is impedance matching? Why do I care about it and when should it be used?
- How does R, L, and C impact characteristic impedance? How does that differ on a microstrip vs coax TL?
- What is the difference and tradeoffs of series vs parallel termination?
- What is the difference and tradeoffs of source vs sink termination/matching?
Ideal vs Real TLs
- Draw real TL distributed model. What are its components on a real TL? How do they differ between ideal vs real?
- How can I control the characteristic impedance of a TL?
- What are some standard termination/characteristic impedances?
- Describe the parasitic R, L, and C components that impact characteristic impedance.
- What are sources of loss and distortion in a TL? How can they be minimized or actively compensated for?
- What are dielectric losses? Where do they come from and how does it vary with frequency?
- How does a TL's insertion impedance vary with respect to frequency?
- What is the skin effect? Where does it come up in TLs?
- What is preemphasis? Why is it used? How can it be implemented?
- Draw the time-domain and frequency-domain spectrum of a signal with/without preemphasis.
Embedded Systems
- What are some components/subsystems you'd find in an embedded system?
- What are some examples of embedded systems?
Microcontrollers
- What are some common microcontrollers/microprocessors?
- What is the difference between a microcontroller and a microprocessor?
- What are the blocks of a microcontroller and microprocessor?
- How does a microcontroller interact with external peripherals?
- When do use MCU vs ASIC vs FPGA?
- How do you spec an MCU? What specs do you look for?
- What is a reset signal? What does it do? Why is it useful?
Communication Buses
- What are the three common communication protocols? How do they (I2C, SPI, UART) work?
- What is the difference between I2C and SPI?
- Which is faster? Why?
- How do different chips talk to each other?
- What is the difference between asynchronous vs synchronous communication? What are the tradeoffs?
- What are logic levels?
- What are some common logic levels?
I2C
- What is I2C? What does it stand for?
- How does it work? Explain its operation.
Protocol Layer
- How interface with slaves?
- How many slaves can there be?
- When would you need more masters?
- Explain address/data frames.
- How can you change a slave's address?
- Explain NACK/ACK.
- Explain clock stretching.
Physical Layer
- How many pins/wires are needed? What if I have more slaves?
- How do I make the connections? Draw it out.
- Why are pullups needed? How do you spec them?
- What is bus capacitance?
- How would bus capacitance change? What impacts it?
- How do you increase rise time on I2C?
- Why would rise time be too slow on I2C?
- If the logic low state of signal doesn't reach logic-low threshold of device, what could be happening?
- What are advantages of the open-drain output drivers?
- What are typical logic levels?
- What are typical clock speeds?
SPI
- What is SPI? What does it stand for?
- How many slaves can there be?
- How to interface with slaves?
- How do I make the connections?
- How does daisy-chaining work?
- What are typical logic levels?
- What are typical clock speeds?
UART
- What is UART? What does it stand for?
- How does it work?
- How many wires does it have?
- How do I make the connections?
- What are some standard communication rates?
- How many devices can talk to each other? What is the direction of communication?
- Is it synchronous or asynchronous?
- Since there's no clock, how is data read?
- What is oversampling? How is it implemented? Why is it needed? What are some common oversample rates for UART?
GPIOs
- What is a GPIO? What does it stand for and what are its use cases?
- What does "GP" refer to?
- What can I do if I don't have enough GPIOs?
Design/Implementation
A lot on GPIO design is very applicable, more in-depth questions are covered in the CMOS and Amplifiers subsections of Analog Electronics. These questions will just be surface-level that are more applicable in embedded applications.
- Draw a GPIO circuit. How does it work?
- What are the two most common types of GPIO implementations? What are their tradeoffs?
- What does open-drain/push-pull mean?
- When are pullup/pulldown resistors necessary? How do you size them?
- What are some typical configurable GPIO settings?
- What is bus contention?
Timers
- What are timers in a microcontroller?
- What can you do with timers?
- How do keep track of time accurately in a microcontroller?
- How do they work? How are they implemented?
- What are some applications?
Interrupts
- If you want to do something right when an external event occurs, what can you do?
- What are interrupts in a microcontroller?
- How do they work? How are they implemented?
- Describe how ISRs work at the hardware and software levels.
- What are some applications?
- What can trigger ISRs?
- What are some limitations of interrupts?
- What is an interrupt service routine (ISR)?
- What are some rules of thumb when implementing ISRs?
- What happens if an ISR gets called while in an ISR? How can this be avoided?
Peripherals
A lot of the inductive drive questions have good overlap with the Single-Phase Inductive Drives section (Power Electronics > Inductive Loads > Single-Phase Inductive Drives).
- Draw a circuit to connect a sensor to a microcontroller.
- Draw a circuit to connect a button to a microcontroller.
- Draw a circuit to drive a LED from a microcontroller. What about a high-power LED? What if I want to change the brightness?
- Draw a circuit to drive a motor from a microcontroller. What if isolation is required? What if I want to change the speed?
ADC
Most of my ADC/DAC questions have been in the context of embedded systems, not too much on analog design or anything.
- How does an ADC work?
- How does a flash ADC work?
- How does a SAR ADC work?
- Design an ADC.
- Reading the ADC from your microcontroller returns some value. Given the value and the ADC supply voltages, convert this reading into a voltage.
- What is sampling?
- What is sample and hold?
- How the the sample voltage maintained throughout the entire sample duration?
- Design a sample and hold circuit.
- What are the tradeoffs between super fast/slow sample and hold durations?
- What are some ADC frontends?
- What is the precision of an ADC? Calculate it given all the required info.
DAC
Most of my ADC/DAC questions have been in the context of embedded systems, not too much on analog design or anything. 820. How does a DAC work? 821. Design a DAC. 822. What is the precision of a DAC? Calculate it given all the required info.
Data Storage and Memory
- How does a microcontroller store memory and data?
- If I need to store more memory than what the microcontroller has space for, what can I do?
- What if I want memory to persist after the microcontroller powers off?
- What does non-volatile (NV) memory mean?
- What is ROM?
- What is an EEPROM?
- What are registers?
- Given a register map and the register value in hex, find the value of each register field.
Debugging Embedded Systems
- How do you debug a microcontroller? What are some challenges at hardware vs software levels?
- What is a debugger?
- What if your IDE/microcontroller doesn't have a hardware debugger?
- If a microcontroller isn't booting up, what should you check for?
Operating Systems
Very brief questions on operating systems, usually in the context of embedded systems.
- What is an operating system?
- Name some operating systems.
- When is it needed?
- What is bare-metal programming?
- What advantages does it have over bare-metal?
- What is a real-time operating system (RTOS)?
Sensors
- What is a sensor?
- What are some applications of sensors?
- Name some types of sensors. What are they used for?
- What is a transducer?
- What is sensor fusion?
Gyroscope/Accelerometer
- What is a gyroscope/accelerometer?
- What are its applications?
- What is the difference between a gyroscope and accelerometer? Why are they often used together?
- How can you determine position/velocity from the accelerometer data?
- What is an inertial measurement unit (IMU)? What are its tradeoffs?
Light
- What can you use to measure light? What does that even mean?
- What properties of light do you look for? How can those properties be detected.
- What are the tradeoffs of photoresistors vs photodiodes?
- What are some applications of light measurement?
- How can light measurement be used in conjunction with other sensors to determine stuff?
Camera
- How does a camera work?
- What is optical image stabilization (OIS)? What is electronic image stabilization? What is the difference (EIS)? What are each of their applications?
- How does night mode on smartphone cameras work?
- What are some techniques to reduce image noise?
- How does ambient lighting impact camera performance?
- How do you characterize camera quality?
- Describe the camera processing pipeline.
- How does a smartphone take pictures? Describe what happens when you press the button? (and also before you press the button!)
LiDAR
- What is LiDAR?
- How does it work?
- What are some applications?
- What is the difference between LiDAR and just a regular camera?
- How do you map the world 360 degrees all around you?
- How would you describe the product of a lidar sensor?
- What are some factors that may impact accuracy?
Calibration, Validation, and Testing
- How do you calibrate/validate/test a sensor? Describe what you would want to test and design an experiment.
- What are some things you want to validate in a sensor?
- How do you characterize measurement error? What can you do with that information?
Digital Basics
- What is the difference between analog and digital?
- What is the difference between big and small endian?
- What does the MSB and LSB refer to?
Digital Electronics
- How can you interface two devices with different logic levels?
- Design a level shifter.
- Design a single-FET level shifter (passives are allowed).
- What are setup and hold times? What happens if they're violated?
- What is the difference between a flip-flop and latch?
- How does a flip flop/latch work?
- Design a memory cell.
- Why are clocks needed?
- What happens if a clock is too fast?
- What is a register?
- What is metastability?
- What is a mux?
Logic Gates (Digital Perspective)
- Draw a NOT/AND/etc gate symbol.
- Draw a NOT/AND/etc gate from transistors.
- Draw the truth table for NOT/AND/etc gate.
- What is the universal logic gate?
- Convert some binary/hex/oct/decimal number to a different base.
Digital Logic
- What is a truth table?
- Do the K-map for a given truth table.
- What is an FSM?
- What is the difference between a Mealy and Moore FSM?
VLSI/Computer Architecture
Computer Architecture
- Name some computer architectures.
- What type of computer architectures are often used in smartphones/consumer electronics?
- What is a CPU?
- What are some blocks in a CPU?
- What is an ALU?
- What is the program counter?
- How does the contents of the program counter change over time?
- What is the fetch/execute cycle?
- Describe the five-stage pipeline.
- How can you offload tasks from the CPU? What are things you can do in parallel and what are the tradeoffs?
- What can you do to increase the throughput of a CPU?
- What is pipelining?
- What is branch prediction? Describe some branch prediction algorithms.
- What are interrupts? When can they be used and why are they important? How does their usage often differ from that of embedded systems?
- What is microarchitecture?
- What is an instruction set architecture (ISA)?
- What is the difference between microarchitecture and ISA?
- What is RISC-V?
- Does RISC-V specify the ISA or microarchitecture?
- What are some advantages of RISC vs CISC?
- How do you characterize CPU performance?
GPU
- What is a GPU?
- How does a GPU work?
- What does the GPU pipeline look like?
- What is the difference between a GPU and CPU?
- What optimizations does a GPU have so it vastly outperforms CPUs in graphics tasks? What are the tradeoffs?
- How do you characterize GPU performance?
- What are other tasks that GPUs may excel at besides graphics processing? Why?
System on Chip (SoC)
- What is a SoC?
- What are its applications?
- What are some components on a SoC?
- What are some tradeoffs between going for a SoC vs all separate components?
- When designing a system, what other components are needed in addition to a SoC?
- What is a system on module (SoM)? What is the difference/tradeoffs vs a SoC?
- What are some tradeoffs of integration?
- Which blocks of the SoC consume the most power?
Memory
- Where can data and program be stored in memory?
- What is the difference between data and program memory?
- Explain the memory hierarchy. What are the tradeoffs of each? What type of data is stored in each?
- What is a cache?
- What are registers?
- What is RAM?
- What does "random access" refer to?
- What is stack overflow?
- What is the difference between the stack and the heap?
- What is a memory management unit (MMU)? What does it do and why is it needed?
- If I'm operating my computer in space where there can be lots of radiation that can corrupt my memory, what issues can arise? What can I do to be resilient against these effects?
Power/Performance/Thermals
- How does clock frequency impact power, performance, and thermals?
- Why are multiple clock domains needed?
- How does supply voltage impact power, performance, and thermals?
- Why are multiple supply voltages needed?
- How does process, voltage, and temperature (PVT) impact power, performance, and thermals?
- What are process corners? What do they refer to?
- What are typical temperature ranges for validation?
- What can you do to decrease power consumption?
- What can you do to throttle performance?
- What sort of temperature control loops are commonly implemented?
- What is power, performance, area (PPA)? Describe the tradeoffs.
RTL
- Describe any experience you have with RTL.
- Design a clock divider.
- Design an arbiter. What are the different types and their tradeoffs?
- Design a mux.
- What is a module?
- How is RTL reused? Why is this important?
Assembly
- What is assembly? How does it differ from programming languages like C or Python?
- Describe what this given program is doing. How long will it take to run? How many times will {some subroutine} get executed?
Coding
- What sort of coding experience do you have?
- Do you have coding experience in: (these are the three most I get asked about)
- C
- C++
- Python
- What are your strongest coding languages? How would you rate yourself in them?
- What is regex?
Variables
- What are the basic variable types?
- What is the difference between strings and chars? How are strings usually implemented?
- What does the volatile keyword refer to? When should volatile variables be used?
Programming Questions
- Write psuedocode to achieve some given functionality.
- Walk through how a given program works.
- Write code to:
- Reverse a string
- Parse a file to find and/or modify specific text.
- Psuedocode API design.
- Find a substring in a string.
- Check if a string is a palindrome.
System Architecture
"System architecture" is one of the vaguest engineering words with no meaning. I literally but it on my resume for that reason LOL. These questions are mostly focused on systems at a higher level to achieve some given functionality.
- What components does a smartphone/laptop have?
- Design a system to achieve:
- Variable LED brightness
- LED brightness based on ambient brightness to achieve a desired brightness.
- A security system.
- A camera system.
- A tracking system.
- Eye tracking glasses.
- What is redundancy in a system? When is it preferred? How can you design a system with redundancy?
- What are some system design constraints in consumer electronics vs automotive vs aerospace/space/defense vs medical devices?
Measurement
- What tools can you use to measure stuff?
- How familiar are you with:
- DMMs
- Scopes
- VNAs
- Power supplies, maybe with more functions like multiple quadrants or SMUs
- What sample rate/bandwidth will I need to measure a signal?
- How should I measure X signal?
- How can I measure current?
- What is the difference between bandwidth and sampling rate?
- What is a VNA?
- How do I measure resistance/capacitance/inductance/impedance?
DMMs
- What is a DMM?
- What can it measure?
- What is a DMM's sample rate? Does it matter?
- When to use DMM vs scope?
Scopes
- What is an oscilloscope?
- How does an oscilloscope work?
- What are triggers on a scope? How do I use them?
- How do I get current if I'm measuring the voltage across a sense resistor?
- When would I need multiple scope channels?
Scope Probes
- What is a diff probe? When do I need it?
- What is an active probe? When do I need it?
- What does the 10x attenuation do on a probe?
- What is a current probe?
- Probe input impedance - what should it be any why?
- When would I want different probe impedance?
General Debug, Testing, and Validation
This section is just for general debug and testing, some sections may have their own debug, testing, validation, and measurement subsections.
- What tools can you use to debug/test/validate stuff?
- What is your approach to debug/test/validate something?
- Design a system to test x.
- How do you debug software?
- Often times you need to run tests for days, weeks, or months continuously. How do you ensure these tests run smoothly 24/7 for the entire time? What can you do to protect against power outages?
Non-Technical
A lot of these non-technical questions are the generic interview questions but they still do come up.
Intro
- How are you doing? (lmao)
- Introduce yourself.
- What are your interests/goals?
- What are your career goals?
- What are you looking for in this position/company?
- Why are you interested in this position/company?
- Do you have other competing interviews/offers/deadlines?
- When are you available for an internship?
- Do you require visa assistance?
- Why don't you want to return to your previous internship/company? (if applicable)
- What is your desired salary?
- Are you ok with moving to x for an internship?
Behavioral
- What are your strengths/weaknesses?
- How would your friends and peers describe you?
- What is your approach to solving hard problems?
- How do you work under pressure?
- How do you work in groups?
- Tell me about a time where you and a peer/coworker disagreed on something. How did you guys reconcile it?
- Tell me about a time where you needed to juggle many tasks. How did you manage it?
- What is the perfect job for you?
- What do you find important in a company?
- How much do you know about this company/this product?
- Why should I hire you?
- How do objectively assess standards of success? How do you meet these?
- Describe a time where change became a problem. How did you overcome it?
- Describe a time where you encouraged different perspectives in a group setting.
- How do you balance school with extracurricular activities?
- What are your top three skills that contribute to you being a good employee?
- Describe a time of new opportunity for improvement.
- Describe a time where you didn't meet expectations. What happened?
- How have you taken advantage of diversity (like at school)?
- Describe a time you admitted to a mistake.
Technical/Behavioral
Behavioral questions that are more on the technical side or can get more technical, but not technical enough to be placed with the other technical questions.
- Tell me about a project you're proud of.
- Tell me about a time you debugged something/solved a difficult problem.
- What is your approach to debug something?
- If you need to make a presentation about x, how would you present the data?
- What coursework have you taken?
- How familiar are you with:
- Programming
- Some specific programming language
- Some specific software
- Some technical role/function (validation, characterization, design, verification, architecture, etc)
- Some technical subject
- Some specific tools (crimping, soldering, reflow, power tools, etc)
- Some specific measurement device (DMMs, scopes, VNAs, etc)
- What sort of coding experience do you have?
- If you had to give a 20 minute ted talk, what subject would you choose?
- What is a datasheet?
- How do you read it?
- Given this datasheet, find some spec or how something works.
And that's the list! I hope you found it helpful! If you have any questions, please leave a public comment below! I really love it when people ask questions publicly because then everyone can learn from it so please keep that up! I will likely be updating this list as I get more questions/rescan my interview notebooks (At the time of writing this for the first time, this list has 1048 questions).
Appendix
- AOI - Automated Optical Inspection
- BGA - Ball Grid Array
- BLDC - Brushless DC Motor
- C - Capacitor/Capacitance or the programming language
- CSA - Current Sense Amplifier
- DFM - Design for Manufacturing
- DFT - Design for Testing
- DFX - Design for Excellence
- DRC - Design Rule Checking
- ECAD - Electrical Computer-Aided Design
- EIS - Electronic Image Stabilization
- EMI - Electromagnetic Interference
- EMR - Electromechanical Relay
- ESC - Electronic Speed Controller
- FCT - Functional Testing
- FTE/FT - Full-Time Engineer/Full-Time
- ICT - In-Circuit Testing
- IGBT - Insulated-Gate Bipolar Transistor
- IMU - Inertial Measurement Unit
- ISA - Instruction Set Architecture
- ISR - Interrupt Service Routing
- L - Inductor/Inductance
- LDO - Low-Dropout Regulator
- LiPo - Lithium Polymer
- MMU - Memory Management Unit
- NV - Non-Volatile
- OIS - Optical Image Stabilization
- OOP - Object-Oriented Programming
- PoP - Package on Package
- PCB - Printed Circuit Board
- PI - Power Integrity
- PPA - Power, Performance, Area
- PVT - Process/Voltage/Temperature
- R - Resistor/Resistance
- RTOS - Real-Time Operating System
- SI - Signal Integrity
- SI/PI - Signal Integrity/Power Integrity
- SoC - State of Charge (for a battery) or System on Chip
- SoM - System on Module
- SSR - Solid-State Relay
- TL - Transmission Line
Like
93 likes
Comments
Jason
3 years ago
God bless you monty, God bless you really good. Out of curiosity, i'd like to know, how do you pick personal projects and do you have a documented checklist on how to approach the design and implementation of such projects? I am in the process of starting my final year project an FPGA based Router Architecture running on some machine learning algorithm. I have seen that Stanford has an undergraduate course that teaches students how to build these routers in 8 weeks however the machine learning aspect still kind of eludes me and I am seeking out creative ways to kickstart this project. Any ideas would be helpful, thank you!
Gio
3 years ago
Gio was here!!!
Lance Bantoto
3 years ago
Awesome guide Monty!
Gally
3 years ago
Possible to make a printable version?
Derek.L
3 years ago
That’s crazy,man. You are going to famous.. We have leecode for sw engineer, and now montychoy.com here amazing to the hardware guys. follow your website and get into a FANG
Adi
2 years ago
By far one of the most helpful hardware links out there. This list has 99% of the technical questions i hear interview after interview
Brandon V.
2 years ago
Appreciate it
Brian
1 year ago
slayed
Max
1 year ago
thank you
Samar
1 year ago
ABSOLUTE GOAT
Eileen
1 year ago
you rock THANK YOU SO MUCH
HJ
11 months ago
This is AMAZING. YOU are amazing. Thank you!
Kevin
11 months ago
You the real MVP
subtle_bookworm
11 months ago
Truly a remarkable compilation. Thank you for your hard work! Suggestion: Make another post of answers and definition of some of the simple questions in this post
ghoshofx1
9 months ago
ghoshofx1 was here!!!
AC
9 months ago
I have been looking for something like this for a while!! Thank you so much for your work and sharing this!
AJ
7 months ago
you're awesome, thank you so much! you should go deeper into content creation, more articles and maybe videos on YT on your interview experience, tutorials, projects, etc. There's barely any good quality HW content online, I think you'd really find a great number of audience :)
KT
6 months ago
This is FANTASTIC. Thank you so much!!
DN
6 months ago
This list is AMAZING man. You are a real one!
Chaance
5 months ago
This is fantastic, man. It is a great resource. Thank you!
Abdul
5 months ago
I'm Abdul!
Amir
5 months ago
It is a great resource!
Gaurav Patel
4 months ago
Thankyou Monty for this, but we also need some resources about the questions
JM
3 months ago
Good content. Thank you for sharing.
Awesome
3 months ago
Awesome
Tim
1 month ago
This is actually the ultimate list! Extremely helpful!
Ryan
3 weeks ago
Holy CRAP! Absolute LEGENDD!!! THANK YOU!
Krishan Ram
3 years ago
For the diodes section, a possible question could be "What is a Zener diode, and what is it's purpose?"