Lecture 03 - PCB Layout
Turning schematics into boards
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Outline
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
How were Printed Circuit Boards conceived?
IAP 2024
Electronics Before PCBs
Point-to-point
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
A common method for wiring was a simple point-to-point connections
https://www.psaudio.com/blogs/pauls-posts/pcb-vs-point-to-point
IAP 2024
Electronics Before PCBs
Wire wrap
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.hackster.io/ss5r/wire-wrapping-not-just-a-guide-f3fc74
https://www.nutsvolts.com/magazine/article/wire_wrap_is_alive_and_well
IAP 2024
Electronics Before PCBs
Breadboards and Perfboards
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.bcae1.com/circuitboardetch.htm
https://learn.sparkfun.com/tutorials/how-to-use-a-breadboard/why-use-breadboards
IAP 2024
Electronics Before PCBs
Manhattan and Dead Bug Style
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://makezine.com/article/technology/a-fine-example-of-dead-bug-style-circuit-wiring/
https://nomadic.blog/2015/08/19/initial-attempts-at-manhattan-construction-and-a-tone-generator/
IAP 2024
Inventing the PCB
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
How can we make circuit construction more efficient and compact?
Gives us an idea…
IAP 2024
Inventing the PCB
Single-Sided Board (Muppet Style)
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Similar to Manhattan Style, we use a non-conductive substrate laminated with a sheet of copper. Traces are cut out to connect components together
We can do better!
https://www.amateurradio.com/manhattan-style/
IAP 2024
Inventing the PCB
Double-Sided Board
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.amateurradio.com/manhattan-style/
We add a sheet of copper to the other side and cut traces
But this leaves us with two electrically isolated circuits.
How do we connect traces from one layer to the other?
IAP 2024
Inventing the PCB
Vias
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://resources.altium.com/p/changing-pcb-reference-planes-during-routing-multilayer-boards
We take the end of a trace on one side of the board and drill a hole through it and the end of another trace on the other side of the board, then plate that hole with metal
IAP 2024
Inventing the PCB
Soldermask
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.researchgate.net/figure/Coarse-PCB-pieces-a-before-the-removal-of-solder-mask-and-b-after-the-removal-of_fig7_355368696
To protect the board during assembly and from corrosion, a non-conductive coating (soldermask) is applied to copper that is not to be soldered to
IAP 2024
Inventing the PCB
Surface Finish
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.setgmbh.de/en/technology/plated-through-slots-and-sideplating
Copper that is not covered by soldermask (usually pads that will be soldered to later), is plated with metal to prevent corrosion and improve solderability. Common plating types:
IAP 2024
Inventing the PCB
Silkscreen
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.pcbgogo.com/blog/What_Is_Silkscreen_On_a_PCB_.html
Text and markings can be added on top of soldermask with non-conductive ink (silkscreen). Critical for marking component locations and orientations
https://resources.altium.com/p/your-guide-pcb-silkscreen
IAP 2024
Inventing the PCB
Putting It All Together
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Substrates and their copper laminates can be stacked together to create multilayer PCBs, with layers connected to another using vias.
https://morepcb.com/8-layer-pcb-stack-up/
IAP 2024
Inventing the PCB
Example
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://opencircuitsbook.com/#book-14
IAP 2024
Inventing the PCB
Example
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://opencircuitsbook.com/#book-16
IAP 2024
Inventing the PCB
Components
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Many components are made to be mounted on top of PCBs using Surface Mount Technology (SMT)
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-tinyrad.html#eb-overview
https://electronicslovers.com/2018/10/surface-mount-electronic-components-and-their-types.html
IAP 2024
SMT Components
Two-Lead Passive Chip Components
Chip capacitors, inductors, and resistors come in standard sizes
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Metric Code (0.1mm) | Imperial Code (0.01 in) |
0603 | 0201 |
1005 | 0402 |
1608 | 0603 |
2012 | 0805 |
First two digits: approx. length
Last two digits: approx. width
https://www.doeeet.com/content/eee-components/passives/five-not-so-general-purpose-mlcc/
IAP 2024
SMT Components
Multi-lead Integrated Circuits
Come in many different packages:
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://learn.sparkfun.com/tutorials/integrated-circuits/all
IAP 2024
SMT Components
Multi-lead Integrated Circuits
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://learn.sparkfun.com/tutorials/integrated-circuits/all
Dot or notch on the corner of IC refers to pin 1
https://www.infineon.com/cms/en/product/packages/PG-TSSOP/PG-TSSOP-16-8/
IAP 2024
SMT Components
Diodes
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://etstore.in/index.php/product/1n4148w-t4-smd-fast-switching-diode-sod-123-75v-150ma/
Notched side of an SMT diode refers to its cathode
https://www.railwayscenics.com/our_leds.php
IAP 2024
SMT Components
Footprints
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
All components (as represented by a symbol in schematic) will require a footprint in order to be mounted onto a PCB. This will contain:
These specifications are typically defined in manufacturer’s datasheet
https://www.chipquik.com/store/product_info.php?products_id=3100182
IAP 2024
SMT Components
Footprints
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.chipquik.com/store/product_info.php?products_id=3100182
Footprints also allow us to specify solder stencils
IAP 2024
SMT Components
Solder Paste
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://bltcircuitservices.co.uk/product/hg1-no-clean/
Contains small beads of solder suspended in a liquid flux carrier.
When heated, flux cleans pad and burns away while the solder melts onto the pad
IAP 2024
SMT Components
Solder Paste
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.solder.net/products/stencilmate-leadless-device-rework-stencils/
https://hackaday.com/2022/10/02/making-a-handheld-nes-by-turning-dip-chips-into-qfn/
Bad reflow
Good reflow
IAP 2024
SMT Components
Reflow and Soldering Process
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
How do we layout PCBs?
IAP 2024
Layout Tools
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Given a schematic, how do we convert it into a board that fulfills our requirements?
LAYOUT
?
IAP 2024
Layout Tools
Layer Stack Definition
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Define board manufacturing parameters including:
IAP 2024
Layout Tools
Board Shape
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Layout Tools
Rooms
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Layout Tools
Routing
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Layout Tools
Copper Pours
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Layout Tools
Vias
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Layout Tools
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
The aforementioned layout features are combined with Design Rule Checks (DRC) to define a board layout�DRC provides verification during layout that certain rules are met as defined by the user. These include:
Warning messages are provided in a user-generated report or actions can be outright prevented during a DRC violation
IAP 2024
Design Flow
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Mechanical
Placement
Routing
Verification
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Demo
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Announcements
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Please fill out our week 1 survey!
IAP 2024
Link also in #announcements
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Backup
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Routing and Placement Considerations
IAP 2024
Routing and Placement Considerations
Maxwell’s Equations
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Charges produce an electric field
Magnetic field lines never end
Changing magnetic field induces electric field
Bulk and changing electric field induces magnetic field
Routing and Placement Considerations
Maxwell’s Equations
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
Routing and Placement Considerations
Trace width and length
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.protoexpress.com/blog/trace-current-capacity-pcb-design/
IAP 2024
Routing and Placement Considerations
Trace Spacing
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://docs.oshpark.com/services/two-layer/
IAP 2024
Routing and Placement Considerations
Trace Spacing
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
High frequency (RF and high speed digital) traces often have special routing requirements that govern trace width and clearance, typically to maintain a particular impedance throughout
Differential traces consist of two of such traces with the additional requirement of needing to be routed next to and symmetric to each other as well as having the same length
https://www.allaboutcircuits.com/technical-articles/the-why-and-how-of-differential-signaling/
IAP 2024
Routing and Placement Considerations
Trace Shape
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
For most traces, cornering style does not matter.
However, high frequency traces will require smooth bends or chamfered corners
Commonly seen on many boards, often preferred for low frequency signals
Good for sharp turns with high frequency signals
Best for high frequency signals
Fine for low frequency applications, should generally avoid
Chamfered corner for impedance matching
IAP 2024
Routing and Placement Considerations
Decoupling ICs
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.protoexpress.com/blog/decoupling-capacitor-use/
Decoupling capacitors are placed near the power input pins of ICs and provide filtering of noise and transients
Typically, a large- and small-valued capacitor combination is used as close to the IC as possible. (e.g. 100 nF and 200 pF)
IAP 2024
Routing and Placement Considerations
Thermal Pads and Vias
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Many ICs will contain thermal pads
Often recommended to add thermal vias to the pad
These allow heat to dissipate to other layers and provide additional grounding
IAP 2024
Routing and Placement Considerations
Thermal Reliefs
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Often pads (particularly PTH) will be difficult to hand-solder to as the heat from the soldering iron will transfer through the traces and ground pours connected to the pad.
Thermal reliefs solve this issue by removing copper around the pad to limit heat transfer while maintaining an electrical connection
https://www.protoexpress.com/blog/use-thermal-pads-pcb-design-manufacturing/
IAP 2024
Routing and Placement Considerations
Thermal Reliefs
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Without thermal reliefs
With thermal reliefs
Thermal reliefs improve hand solderability but reduce return path connection
IAP 2024
Routing and Placement Considerations
Power Planes
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
In a multilayer board, parts of or entire internal layers can be assigned to specific power nets to form a power plane
Vias can be used for devices (typically on the top or bottom layers) to easily access a power net
http://www.elmac.co.uk/EMC_SelfStudy-std/Index.htm?context=380
IAP 2024
Routing and Placement Considerations
Ground Pours
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Like power planes, entire layers should be dedicated to the ground net to create a low-impedance return path
Empty regions should be filled with ground pours to further provide short return path and reduce fringing fields
Ensure all regions of a copper ground pour are connected together; via stitching can help ensuring ground pours are connected well
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-HMC703LP4E.html
IAP 2024
Routing and Placement Considerations
Separate Ground Planes
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Sometimes we do want poorly connected ground planes
Separate ground planes that are poorly connected to each other as well as careful placement, can isolate noise and prevent each from interfering with the other.
http://www.elmac.co.uk/EMC_SelfStudy-std/Index.htm?context=380
IAP 2024
Routing and Placement Considerations
Separating Circuits
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
A good practice is to separate the various functional blocks in the schematic into their own physical blocks in layout.
IAP 2024
Routing and Placement Considerations
Edge Effects
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Planes and traces on parallel layers can form inductive loops and capacitors, which create fringing fields on the board edge
Follow 10h rule: high frequency planes and traces should be routed at least a distance of ten times the height of the substrate layer from board edge to avoid effects from fringing fields
Often manufacturers will have a board edge constraint anyways
Top and bottom copper also forms inductive loop that can capture magnetic flux near the edge
https://easyeda.com/forum/topic/The-20H-and-Ground-Plane-Extension-rules-benefits-and-limitations-of-applying-them-4d443d32240545aeb9fa9516d2fdac3f
IAP 2024
Routing and Placement Considerations
Shielding
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Metal shielding around sensitive components can prevent external fields from interfering (particularly electric fields)
Shields should have a generous connection to ground along its perimeter
Highly permeable materials can be used to shield magnetic fields
https://www.crowdsupply.com/microphase-technology/antsdr-e200
IAP 2024
Routing and Placement Considerations
Soldermask Removal
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Soldermask as a dielectric material can create boundary conditions that produce unwanted effects for high frequency circuits
In high power applications, removing soldermask from high-current traces allows solder or a metal block to be attached to increase trace cross section and reduce resistance
Soldermask is removed on traces that need to be carefully impedance controlled
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-HMC788ALP2.html
IAP 2024
Routing and Placement Considerations
Test Points
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Placed on nets where important debugging and test information can be gained
Put many on your PCBs
High frequency circuits requires special care when placing test points as they can cause signal distortions
https://learn.adafruit.com/introducing-the-raspberry-pi-zero/a-tour-of-the-pi-zero
IAP 2024
Routing and Placement Considerations
Connectors
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Both connectors are edge-mount, however the left one is SMT and the right one is PTH
https://www.raypcb.com/pcb-connector/
Connectors allow for external interfacing with a PCB
SMT
PTH
IAP 2024
Routing and Placement Considerations
Key Takeaways
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
IAP 2024
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
Examples
IAP 2024
Examples
RF/Microwave
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/EVAL-HMC994APM5.html#eb-overview
Evaluation board for a 28 GHz amplifier
IAP 2024
Examples
High-Speed Digital
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
135 MHz ADC Evaluation board
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/eval-ad9694.html#eb-overview
IAP 2024
Examples
High Power
@ MIT
lecture 03 - PCB Layout | pcb.mit.edu | yaypcbs@mit.edu
70 A Buck Converter Evaluation Board
https://www.analog.com/en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/dc2174a-b.html#eb-overview
IAP 2024