Electronics · From prototype to reliable hardware
PCB placement, return paths and decoupling
A PCB can connect every correct net and still create a noisy supply or a misleading measurement. The missing information is often in the current loop, the edge speed or the physical route between a capacitor and the pins it serves.
Lesson preparation and course links
Use the device, signal and embedded-system lessons to connect power budgets and electrical interfaces to physical implementation.
Back to the Electronics chapterAfter reading, you can
Explain why board geometry matters, compare edge time with propagation delay, and separate layout-rule checking from performance verification.
A PCB implements connections in a physical structure
A printed circuit board, or PCB, holds components and connects their terminals through copper features. A trace is a narrow conductor; a plane is a broad conductor; a via connects copper between layers. A stackup describes the order and materials of those layers. The schematic specifies which terminals share a net, while the stackup and layout influence the impedance, coupling and heat flow of the physical implementation.
Placement is the choice of component positions and orientations. It affects whether sensitive paths can be short, decoupling connections can be local and connectors can be accessed. A footprint must match the package dimensions and pin numbering. Review these physical commitments before treating routing as a task of drawing any available line between two endpoints. A board that matches its netlist can still have unsuitable electrical behaviour.
Follow the outward path and its return
Current completes a loop. Return current is the current flowing back toward the source, often through a reference plane. It distributes among available paths according to their impedances, rather than selecting one magical shortest route. At low frequency, resistance strongly influences this distribution. At high frequency, the changing magnetic field and inductance make the relationship between a signal trace and its nearby reference conductor especially important.
With an uninterrupted nearby reference plane, high-frequency return current is commonly concentrated near the trace’s projection onto that plane. A slot or split beneath the trace can force a detour, increasing loop area and coupling to other circuits. Calling every copper region ground does not make it an equipotential surface at all frequencies. Review the return path when a signal changes layers or crosses a plane boundary, not only the visible forward trace.
Edge speed matters as well as clock frequency
Rise time is the interval over which a signal changes between specified low and high percentages. A slowly repeating signal can still have a very fast edge. Fast edges contain high-frequency components, so interconnect effects can matter even when the clock frequency sounds modest. A transmission-line model describes propagation along a structure when delay and reflections cannot be ignored for the required waveform accuracy.
Assume a board propagation speed of 150 mm/ns. A 60 mm path then has 0.40 ns one-way delay and 0.80 ns round-trip delay. Compare that with a 2 ns edge: the reflection can return during a substantial part of the transition. The comparison motivates a distributed review; it is not a universal length cutoff or a complete termination design. Actual speed and impedance depend on the stackup and geometry.
Decoupling is local charge delivery through a loop
A decoupling capacitor helps supply a nearby device’s changing current while limiting supply-voltage disturbance. The relevant circuit includes the capacitor, the supply and return connections, and the device pins. A large printed capacitance value alone does not make that loop low impedance. Equivalent series resistance, ESR, models part of the capacitor’s dissipative behaviour; equivalent series inductance, ESL, models inductive effects of the component and its connections.
For an ideal reservoir, voltage change is ΔV = IΔt/C. A 100 nF capacitor supplying 20 mA for 10 ns would change by 2 mV. A separate assumed 1 nH series inductance subjected to a 20 mA change in 2 ns produces LΔI/Δt = 10 mV. These simplified contributions show why short connections matter. Real capacitor bias dependence, tolerances, resonances and device recommendations still need checking; adding arbitrary capacitors can introduce additional interactions.
Turn manufacturing requirements into explicit rules
A design rule is a checkable constraint, such as minimum trace width, copper clearance, drill size or distance from the board edge. A net class groups connections that share selected rules. Choose these rules from the fabrication process, voltage, current, impedance and reliability requirements of the actual design; a software default is not an engineering justification.
Check schematic-to-PCB parity, incomplete connections, footprint assignments and copper zones after the final routing changes. A zone is a filled copper area whose actual connections depend on its current fill and clearances. Review the generated manufacturing files and drill information, including outlines and layer assignments. A three-dimensional rendering can reveal mechanical conflicts but cannot establish every electrical or manufacturing property of the board.
A clean rule check answers a limited question
Design-rule checking asks whether the represented board meets the configured rules. It does not prove the rules were appropriate, the library pinout was right, the return path was adequate or the manufactured assembly will pass its performance tests. Keep a list of requirements that are checked by layout review, calculation, simulation and later measurement.
Use the same outward-and-return reasoning when investigating ringing, crosstalk or an unexpected sensor offset. Ringing is an oscillatory response after a transition; crosstalk is unwanted coupling between paths. Change one supported hypothesis at a time and compare the affected waveform or measurement. Retain the exact board revision and test arrangement so that an improvement can be distinguished from an unrelated change in probing or operating conditions.
Compare ideal capacitance with connection inductance
An assumed 100 nF local capacitor supplies an additional 20 mA for 10 ns. Its ideal charge change is ΔQ = IΔt = 2 × 10⁻¹⁰ C, so ΔV = ΔQ/C = 0.002 V = 2 mV.
For a separate assumed connection inductance of 1 nH and a current change of 20 mA in 2 ns, the inductive voltage magnitude is 1 × 10⁻⁹ × 0.020/(2 × 10⁻⁹) = 0.010 V = 10 mV. Increasing that inductance to 5 nH raises this contribution to 50 mV while the ideal capacitor calculation remains 2 mV.
The maxima need not occur at the same instant, so these values are not a solved transient waveform. They are a useful check on a flawed argument: increasing capacitance alone cannot remove the voltage associated with a long inductive connection. Complete the device-specific model and observe the appropriate pins under a defined current transient.
Try the reasoning
Why can a 100 kHz digital signal still require a high-speed layout review?
Show the answer and reasoning
Its repetition rate does not specify its edge time. Nanosecond transitions contain much higher-frequency components, so propagation delay, coupling and return-path geometry may matter even at a low clock frequency.
Using the assumed 150 mm/ns propagation speed, what are one-way and round-trip delays for a 90 mm route?
Show the answer and reasoning
One-way delay is 90/150 = 0.60 ns. Round-trip delay is 1.20 ns. Compare those times with the transition and settling requirements; they do not by themselves determine a universal routing limit.
Does a ground-net label make a split plane an ideal zero-voltage conductor?
Show the answer and reasoning
No. The label states intended connectivity. Physical resistance and inductance still produce distributed voltages, and a split can force return-current detours.
Why might a larger capacitor fail to solve a supply spike?
Show the answer and reasoning
The current path includes ESR, ESL and connection inductance as well as capacitance. A spike dominated by rapid current change through inductance needs a review of the local loop and device-specific network, not only a larger nominal C.
A board passes all configured design rules. Name two things still requiring separate evidence.
Show the answer and reasoning
The correctness of the package pin mapping and the suitability of the high-frequency return path are two examples. Rule appropriateness, thermal behaviour and measured performance also need evidence outside a generic DRC pass.
What to carry forward
A useful PCB review follows the signal, its return, its supply-current loop and the actual rule set before it relies on a clean checker report.
References
Sources supporting this lesson’s explanations and examples.
- SCAA082A — High-Speed Layout GuidelinesAlexander Weiler, Alexander Pakosta and Ankur Verma; Texas InstrumentsReference guide · PDF
- MT-101 — Decoupling TechniquesAnalog DevicesReference guide · PDF
- KiCad 9.0 PCB Editor Reference Manual — Board Setup, Design Rules Checking and Fabrication OutputsKiCad ProjectReference guide