Electrical engineering · study library

Engineering Primers

130 pages. Every page has a bar along the bottom: Back, Prev and Next in the order listed here, and Index to return. New to a topic? Start with EE Basics and use Next.

Recently added

last 10
  1. 22 NovPressure SensorsSensing & Analog
  2. 17 NovLDO Loop SimulatorPower
  3. 13 NovPhase-Locked LoopsSensing & Analog
  4. 12 NovCAN Protocol & FrameCAN
  5. 12 NovHow Ethernet WorksVehicle & Industrial Networks
  6. 12 NovEthernet MAC–PHY InterfacesVehicle & Industrial Networks
  7. 10 NovPCI: how the parallel bus worksHigh-Speed Serial Links
  8. 9 NovPCI Express: how it worksHigh-Speed Serial Links
  9. 8 NovPCIe Gen 5High-Speed Serial Links
  10. 8 NovPCIe Gen 6High-Speed Serial Links

EE Basics

11

Start here. A first-principles path from Maxwell's equations to the op-amp; each step builds on the one before it, with full derivations.

Step 1Maxwell's EquationsThe four laws of electromagnetism, each derived from its physical starting point.Step 2Charge, Current, Voltage, Power and EnergyKCL and KVL from Maxwell, Ohm's law from electron motion, Poynting energy flow, RMS and real power.Step 3ResistorsResistivity and temperature, dividers and bridges, self-heating, Johnson noise, skin effect, parasitics.Step 4CapacitorsCapacitance from Gauss's law, RC transients, the half-energy loss, kT/C noise, ESR, ESL and dielectrics.Step 5InductorsInductance from Ampère and Faraday, magnetic circuits and gaps, saturation, transformers, RLC resonance.Step 6RLC NetworksAll fourteen R, L and C one-ports: RC and RL transients, LC resonance, series and parallel RLC, the six series–parallel mixtures, Q and damping, impedance plots. With an explorer.Step 7DiodesCarrier statistics, built-in potential, depletion from Poisson, the Shockley equation, recovery, Schottky.Step 8Bipolar Junction TransistorsCollector current and β from device physics, Early effect, hybrid-π, amplifier stages, diff pair, f_T.
Step 9FETsMOS capacitor, threshold, the square law from the gradual channel, subthreshold swing, small-signal model, power MOSFET limit.
Step 10Operational AmplifiersFeedback from scratch, standard circuits, gain-bandwidth, compensation, slew rate, DC errors and noise.Step 11First Principles in PracticeApplying the basics: getting to a defensible number from conservation laws and material properties.

Communication interfaces

How devices talk to each other

Eight sections, from buses between chips on one board to CAN and vehicle networks, high-speed serial links such as PCIe and USB, camera and display links, the electrical signaling underneath them all, the driver topologies that put bits on the wire, and the design practice common to every interface.

Board-Level Buses

3

Chip-to-chip serial buses on one board: how the wires, edges and bits work, with worked transactions.

CAN

3

Controller Area Network end to end: the physical layer on the twisted pair, the protocol and its frames, and CAN FD.

Vehicle & Industrial Networks

5

Buses that leave the board: in-vehicle and industrial Ethernet networks.

High-Speed Serial Links

6

Multi-gigabit links to storage and peripherals: lanes, encoding, equalization and link training, each followed through a worked transfer from flash to processor.

PrimerPCI: how the parallel bus worksConventional PCI cycle by cycle: signals, reflected-wave simulator and timing budget, transaction builder (waits, DEVSEL timing, retry, disconnect, master abort), arbitration simulator, CF8h/IDSEL configuration, interrupt swizzle, bridges, bandwidth, PCI-X.PrimerPCI Express: how it worksWhy PCIe replaced PCI and PCI-X (parallel-bus timing simulator), root complex, switches and endpoints, depth-first enumeration, config space, ECAM and BAR sizing, TLP classes, flow-control credit simulator, Gen 1–7 compared, form factors, PCIe vs USB, Ethernet, CXL.PrimerPCIe Gen 4NVMe SSD to CPU over x4 at 16 GT/s: OSI layer map and encapsulation, NRZ/PAM4 and 8b/10b/128b/130b with a line-coding playground, every signal, reset timing, 128b/130b lane striping of real TLPs, TX presets with an eye simulator, LTSSM, a 4 KB NVMe read packet by packet, loss-budget and via-stub calculators.PrimerPCIe Gen 5GPU on x16 at 32 GT/s: OSI layer map, NRZ with 128b/130b and precoding, x16 lane striping, retimers and channel budget, link training, a 1 MiB host-to-GPU copy with tags and read-bandwidth calculator.PrimerPCIe Gen 6CXL memory expander on x8 at 64 GT/s: OSI and CXL layers, PAM4 eye simulator, 256-byte FLIT packer, FEC/CRC error injection, L0p, a CXL.mem load with latency budget.PrimerUSB 3.1USB-C SSD to host at 10 Gb/s: OSI layer map and encapsulation, NRZ, 8b/10b, 128b/132b, NRZI, BMC and LFPS with a line-coding playground, interactive Type-C pinout and CC handshake, LFPS and link training, eye simulator, a 4 KB Bulk-Only Transport read packet by packet, loss budget, comparison with PCIe.

Camera & Display Links

5

High-speed links that carry sensor and display data: protocols, SerDes and link budgets.

Signaling & Line Coding

10

How bits become voltages on a wire: electrical standards, line codes and multi-level signaling.

Driver Topologies

10

The output stage behind every interface: how each topology drives the wire, derived from the transistor up, with worked numbers and calculators.

Start hereDriver Topologies: OverviewThe four decisions that separate one output stage from another, a family tree, a side-by-side comparison with numbers, every equation in the set, and how to choose.Single-endedPush-Pull (CMOS / Totem Pole)On-resistance and drive strength, levels and noise margins, RC versus saturating edges, CV²f and crowbar power, series termination, ground bounce, contention and back-powering.Single-endedTri-StateEnable logic, what high-Z really is, floating buses, pull resistors and bus keepers, turnaround overlap and contention energy, loaded-line impedance.Single-endedOpen-Drain / Open-CollectorWired-AND, RC rise and current-sink fall, the pull-up window, current-source pull-ups and accelerators, MOSFET level shifting, I²C, 1-Wire and the LIN physical layer.DifferentialDominant / Recessive (CAN)Differential open-drain: transceiver output stage and levels, the undriven recessive edge, interactive bitwise arbitration, loop delay versus length, split termination, fault protection.DifferentialDifferential Push-Pull (RS-422 / RS-485)The H-bridge driver, common-mode rejection and twisted pairs, unit loads and 54 Ω, termination and stubs, fail-safe bias, reach versus data rate.High-speedLVDSCurrent steering through 100 Ω, offset voltage and common-mode feedback, power against CMOS, termination errors, skew to common-mode conversion, the LVDS family.High-speedCMLDifferential pair with 50 Ω pull-ups: levels by termination, where the speed comes from, return loss, AC-coupling capacitors and baseline wander, de-emphasis, CML versus SST.High-speedLVPECLEmitter-follower outputs, levels referenced to VCC, VCC − 2 V termination in four forms, noise to jitter and ADC clock SNR, power.PracticeConnecting the FamiliesSwing and common-mode checks, AC coupling and receiver bias, worked LVPECL, LVDS, CML, HCSL and CMOS connections, and a DC-coupling checker.

Interface Engineering

5

Design practice that applies to every interface: choosing one, transmission lines, SI and EMC, review checklists and the governing standards.

Memory: DRAM and SRAM

10

How DRAM and SRAM work and how each DDR generation talks to its controller: cells, sense amplifiers, decoders, banks, commands and timing, then DDR3, DDR4, DDR5, LPDDR4 and LPDDR5 signal by signal with block and timing diagrams.

Step 1How DDR Memory WorksThe 1T1C cell and charge sharing, banks and the row buffer, the command state machine, core timing, source-synchronous strobes, prefetch, signal groups and SSTL/POD/LVSTL levels. With a levels calculator.SRAMHow SRAM WorksThe 6T cell and its butterfly curve, read disturb and write margin, the sizing conflict, precharge, column mux, sense amp and write driver, decoders, an asynchronous SRAM to step through with pin timing, banking, ECC interleaving and FinFET cells. With twelve simulators.InteractiveDRAM Array SimulatorA 4-row × 8-column bank with row decoder, sense amps and column mux that you step through stage by stage: write, read, precharge, refresh and leakage, with waveforms, true and anti-cells, temperature and auto-refresh.Step 2DRAM Evolution: DDR, LPDDR, GDDR, HBMWhy bandwidth rose while latency stayed flat, the family tree and timeline, DDR3 to DDR6 status, LPDDR to LPDDR6, GDDR NRZ to PAM3, HBM, signaling changes and where each is used.Step 3DDR3 and DDR3LBlock diagram with every pin, SSTL and center-tap termination, the command truth table, activate–read and write edge by edge, write leveling and fly-by routing.Step 4DDR4ACT_n and bank groups, POD12 and trained VrefDQ, DBI, CRC and CA parity, a bank-group-interleaved read, write with DBI. With a DBI calculator.Step 5DDR5CS_n + CA0–13 two-cycle commands, POD11 with 4-tap DFE, command-driven ODT, on-die ECC, subchannels and the RDIMM with RCD, PMIC and SPD hub. With a DFE estimator.Step 6LPDDR4 and LPDDR4Xx16 channels, six-wire CA and two-clock commands, LVSTL to ground, no DLL, tDQS2DQ and the DQS oscillator, frequency set points and CBT.Step 7LPDDR5 and LPDDR5XCK for commands and WCK for data, RDQS, DDR command bus, WCK2CK sync, 0.5 V I/O, bank-group modes, link ECC and DVFS. With a WCK/CK calculator.ReferenceDDR Memory GlossaryAbout 160 terms across DDR3–DDR5 and LPDDR4–LPDDR5: what each is, how it works and why it matters, searchable and filterable by category and generation, linked into the primers.

PCB Design

11

Board-level design from the stack-up up: power delivery, signal integrity and manufacturability for high-current compute boards.

Step 1Loop InductanceWhat it is, an intuitive picture and bench examples, where return current flows, partial and mutual inductance, what raises and lowers it, and how the stack-up sets it. With a loop explorer.Step 2Stack-up for High-Current Compute BoardsTarget impedance, plane-pair inductance, why extra power–ground pairs help, via depth, decoupling count, IR drop, a worked 12-layer stack and a calculator.Step 3Stack-up SimulatorInteractive 6-, 8-, 10- and 12-layer stack-ups: cavity inductance, via depth, capacitor count, DC drop, impedance and rule checks, compared side by side.Step 412-Layer HDI (2+N+2) Stack-upWhy the layers of a Tegra-class HDI board land where they do: BGA escape and microvia aspect ratio, impedance with thin dielectrics, return paths, power delivery, and why 12 layers.Step 5Stack-up DesignerInteractive 4- to 16-layer stack-up editor: presets, live cross-section, eleven rule checks, impedance solver, plane capacitance and DC drop, share links and fab-note export.Step 6Controlled Impedance from First PrinciplesZ₀ from L′ and C′, what a field solver computes, effective permittivity, where IPC-2141 fails, differential pairs, dispersion, sensitivity and TDR. With an impedance calculator.Step 7Signal Integrity FundamentalsWhen a trace becomes a transmission line, reflections and the bounce diagram, termination schemes, NEXT and FEXT crosstalk, loss and ISI, return paths and ground bounce. With a reflection simulator and crosstalk estimator.Step 8PDN Target Impedance and Decoupling StrategyFrom load step to target impedance to capacitor bank: bulk sizing from regulator bandwidth, MLCC count from the inductance budget, anti-resonance and damping. With a full network calculator.Step 9Lumped RLC Model of the Decoupling NetworkRegulator to die as an RLC ladder for a Tegra-class rail: plane, via and ball resistance and inductance from first principles, the ladder impedance, first, second and third droop in closed form, a state-space step response, and what resistance costs and buys. With an interactive model.Step 10Via DesignBarrel inductance and pad capacitance, vias as transmission lines, stub resonance and back-drilling, antipads, return-path and power vias, microvias. With a via calculator.Step 11Material SelectionDk and Df and why Dk falls with frequency, dielectric versus conductor loss, copper roughness, glass-weave skew, thermal and reliability properties. With a loss calculator.

Power

12

Converters, decoupling and protection.

Compute Architecture

2

Board architecture around compute modules and central compute units.

Sensing & Analog

8

Front ends, oscillators and amplifiers.

PrimerCapacitive SensingFrom charge to grippers.InteractiveAnalog Front Ends: Touch and IMUExcitation, charge amplifiers, demodulation, ADCs and calibration for projected-capacitive touch panels and MEMS accelerometers and gyros. Clickable signal chains with drill-down topics.InteractivePressure SensorsEnd to end: the piezoresistive MEMS die and its package, diaphragm mechanics, piezoresistance, the Wheatstone bridge with worked numbers for rising and falling pressure, the chopper-PGA and ratiometric ΣΔ front end, the compensation polynomial and factory calibration, and the I²C/SPI output bytes. With a bridge explorer, calibration lab and signal tracer.PrimerPhase-Locked LoopsThe charge-pump PLL circuit by circuit: Pierce crystal reference, PFD, charge pump, loop filter, LC and ring VCOs, pulse-swallow divider and lock detector, the full schematic with every section marked, a 25 MHz → 2.5 GHz design with a loop-filter designer, and a cycle-by-cycle lock simulator.VisualRelaxation Oscillator PhasesPhase-by-phase walk through a relaxation oscillator.PrimerAmplifier ClassesClass A through D and beyond.InteractiveAnalog FiltersPoles, order and Q; Butterworth, Chebyshev, Bessel and elliptic; Sallen-Key and MFB active filters; anti-aliasing in front of ADCs; filters on real boards. With a filter designer.PrimerSwitched-Capacitor CircuitsThe switched-capacitor resistor, parasitic-insensitive integrators, sample-and-hold, SAR DACs, CDS and charge pumps; kT/C noise, charge injection and settling. With a sizing calculator.

Wireless Integration

1

Getting radios to work inside the product that contains them.

Hardware Development

5

From concept to mass production: process, design practice, test, validation and debug.

No primers match.