40
ECE 477 Digital Systems Senior Design Project © 2011 by D. G. Meyer © 2011 by D. G. Meyer Module 5 PCB Fabrication Process and Layout Basics

Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

ECE 477 Digital SystemsSenior Design Project

© 2011 by D. G. Meyer© 2011 by D. G. Meyer

Module 5PCB Fabrication Process

and Layout Basics

Page 2: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

OutlineOutline�� OverviewOverview�� PCB fabrication processPCB fabrication process�� Typical PCB fabrication tolerancesTypical PCB fabrication tolerances�� Basic layout guidelinesBasic layout guidelines�� EMI considerations (reference: EMI considerations (reference: AN1259AN1259))�� Layout tipsLayout tips

Page 3: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

OverviewOverview�� Objective:Objective: To understand the PCB To understand the PCB

fabrication process and the fabrication process and the impact impact this has this has on PCB designon PCB design–– No fabrication process is idealNo fabrication process is ideal

•• machine tolerancesmachine tolerances•• machine tolerancesmachine tolerances•• chemical processeschemical processes

–– We can design for it!We can design for it!•• tolerances are welltolerances are well--understoodunderstood•• with understanding, we can design for with understanding, we can design for

the manufacturing tolerancesthe manufacturing tolerances

Page 4: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

PCB fabrication process (1/5)PCB fabrication process (1/5)

�� Quick overview:Quick overview:–– Copper foilCopper foil–– SubstrateSubstrate–– LaminationLamination–– LaminationLamination–– EtchEtch–– DrillDrill–– PlatePlate–– Solder maskSolder mask–– Silkscreen (legend)Silkscreen (legend)

Page 5: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

PCB fabrication process (2/5)PCB fabrication process (2/5)� Copper foil

– electro -plated onto a large drum then scraped off (typical)

– one side very smooth, one rough � Substrate

– FR4 (fiberglass reinforced multi -functional – FR4 (fiberglass reinforced multi -functional epoxy)

– others: FR2– various Tg (glass transition temperature)

� Lamination– copper foil applied to both sides of

laminate and then bonded using heat and pressure

Page 6: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

PCB fabrication process (3/5)PCB fabrication process (3/5)

� Etching– this is where the circuit becomes real– etch -resist applied, pattern is exposed– uncured resist is washed off and then – uncured resist is washed off and then

the pattern is etched– common etchants: FeCl, Ammonia– solvent/abrasive wash to remove etch -

resist– PCB then washed to remove residues

from solvents and abrasive process

Page 7: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

PCB fabrication process (4/5)PCB fabrication process (4/5)

� Drill / Plate– this is how the connections are made

between layers– holes drilled through where connections

are desiredare desired– PCB then immersed in a plating solution

where a thin layer of copper forms inside the barrel of the hole

– once enough copper is deposited this way, then on to electro -plating, where ~1 mil of copper is plated on

– if a gold -plate finish is required, typically applied at this time

Page 8: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

PCB fabrication process (5/5)PCB fabrication process (5/5)� Solder mask

– protects metal from corrosion, short circuits

– also prevents solder from sticking– applied as a liquid, then cured with UV– applied as a liquid, then cured with UV– myriad of colors available, green most

common� Silkscreen (legend)

– labels everything: components, notes, warnings, logos

– similar process to making T -shirts– applied as a liquid, then cured– several colors, white most common

Page 9: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Typical PCB fabrication tolerancesTypical PCB fabrication tolerances

� Drills: +5/-3 mils diameter, 5 mil center– drill sizing and plating tolerance– smallest drill size 20 mil

� Layer -to-layer alignment: +/ - 3 mils� Layer -to-layer alignment: +/ - 3 mils� Minimum annular ring: 5 mils

– minimum pad: hole size + 20 mil� Etched feature size: +/- 1 mil

– smallest trace/space: 6/6, 8/8 preferred� Solder mask registration: +/- 3 mil� Silkscreen registration: +/- 10 mil

Page 10: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

More about annular ringsMore about annular rings� Example VIA

– pads on opposite layers – connected by a plated hole– ideal configuration shown

5mil

5mil

� Registration tolerance– 5 mils

� Remainder is called annular ring� If there is not enough remaining

metal, the via will make an unreliable connection

Page 11: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Tolerances for your PCBTolerances for your PCB

� Course account pays for only one board –we will not buy you a “replacement”

� If the fab house ( http://www.4pcb.com ) makes a mistake (rare), they will promptly makes a mistake (rare), they will promptly re-make your board

� Although some tolerances listed are better, please follow our rules for best results

Page 12: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”
Page 13: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”
Page 14: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Basic Layout GuidelinesBasic Layout Guidelines�� Minimum trace/space size should be Minimum trace/space size should be 1010--12 mil12 mil�� Power and ground traces should be as “big as Power and ground traces should be as “big as

possible” (possible” ( at leastat least 4040--60 mil, 100 mil better60 mil, 100 mil better ))�� Decoupling capacitorsDecoupling capacitors should be placed should be placed as as

close to each IC as possible close to each IC as possible –– follow each follow each manufacturer’s recommendations for size and manufacturer’s recommendations for size and manufacturer’s recommendations for size and manufacturer’s recommendations for size and quantityquantity

�� Use Use surface mountsurface mount components to save spacecomponents to save space�� Provide Provide spacespace and and mechanical supportmechanical support for for

connectors, heat sinks, and standoffs (used to connectors, heat sinks, and standoffs (used to mount board in mount board in case/enclosure)case/enclosure)

�� Incorporate Incorporate headersheaders to provide access to key to provide access to key signalssignals

Page 15: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

EMI Considerations� Source of EMI include microcontrollers,

electrostatic discharges, transmitters, transient power components, AC supplies, and lightning

� Within a microcontroller system, the digital clock circuitry is usually the biggest generator of wide-band noiseband noise

Page 16: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

EMI Coupling Paths� Through conductors (wire running through a

noisy environment)

Page 17: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

EMI Coupling Paths (2)� Through common impedances (shared power

supply and ground wires)

Page 18: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

EMI Coupling Paths (3)� Through electromagnetic radiation

Page 19: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Designing for Electromagnetic Compatibility (EMC)

� A circuit is electrically compatible if it does not affect and or become affected by its environment

� Remedies– decrease emissions – can be suppressed at

source through proper system design (and possibly adding shielding to contain the possibly adding shielding to contain the emission)

– increase immunity – susceptibility to noise can be decreased by “hardening” the circuit’s design and using shielding to protect the circuit

Page 20: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Separation of circuits on a PCB

– pay close attention to the potential routing of circuits between subsystems

Page 21: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

An Undersized Trace

Page 22: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Ground layout is the most important PCB layout design

consideration – most EMI problems can be resolved us ing practical and efficient grounding methods

� Noise can be coupled into other circuits by common impedance

� Dynamic DC offset can be created that produces a hi gh-frequency AC component of noise that affects low -level frequency AC component of noise that affects low -level analog circuitry

Page 23: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Ground layout design tips

– separate digital logic and low-level analog circuit s– provide as many parallel pathways to ground as poss ible

(becomes a “ground plane” in the limit, and decreas es inductance of ground return)

– if ground plane is uneconomical, use single -point (star -– if ground plane is uneconomical, use single -point (star -point) grounding – lowers common impedance coupling among subsystems

– to decrease trace inductance, use as short and wide a trace as possible

– use 45-degree turns instead of 90-degree turns to decrease transmission reflections

– decrease the size of all ground loops as much as possible (e.g., single-point power system)

Page 24: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Single-point power system for 2-layer PCB

Page 25: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� IC decoupling capacitor placement

– should be as physically close to IC as possible (fo r surface mount components, place capacitor halfway between V DD and GND)

– use 0.1 µF (surface mount, ceramic) decoupling capacitors for system frequencies up to 15 MHzcapacitors for system frequencies up to 15 MHz

– above 15 MHz, use 0.01 µF decoupling capacitors

Page 26: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Location of Bypass Capacitors for 68HC12

Page 27: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Power terminal decoupling capacitor placement

– sometimes called a “bulk” capacitor – should be placed as close to the power input terminal (connector) as po ssible

– a small (0.1 µF) capacitor should also be used to d ecouple high frequency noise at the power input terminal

– purpose of bulk capacitor is to help recharge the I C decoupling capacitorsdecoupling capacitors

– value is not critical, but should be able to rechar ge 15-20 ICs (multiple bulk capacitors may be used if there are more than 15-20 ICs)

Page 28: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� High frequency noise filters

– use if additional filtering needed to isolate a cir cuit for noise on the power lines

– place filter as close to part as possible– ferrite beads can also be used to filter out unwant ed

system noisesystem noise

Page 29: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Signal layout

– most sensitive digital signals are clock, reset, and interrupt lines

– if analog and digital signals have to be mixed, make sure the lines cross each other at 90º angles (reduces cross -coupling)angles (reduces cross -coupling)

– ATD performance can be severely impacted by reference voltage inputs (route directly from power supply and low -pass filter using combination of 1 K resistor and 1.0 µF capacitor)

Page 30: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

General Layout Guidelines� Crystal or ceramic resonator circuit layout

Page 31: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Layout Tips Layout Tips -- 11�� Keep parts that belong close together on Keep parts that belong close together on

layout close together on schematic layout close together on schematic (especially bypass capacitors)(especially bypass capacitors)

�� Print layout in Print layout in 1:1 scale1:1 scale and compare and compare footprints with footprints with your actualyour actual partsparts beforebefore doing doing any routingany routingany routingany routing

�� Spend extra time positioning parts Spend extra time positioning parts intelligently to reduce work when routingintelligently to reduce work when routing

�� Try to keep power/ground traces at least 40 Try to keep power/ground traces at least 40 mil (goal of 100 mil is better)mil (goal of 100 mil is better)

�� Minimize Minimize viasvias…but don’t be afraid to use …but don’t be afraid to use themthem

Page 32: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Layout Tips Layout Tips -- 22�� Don’t use 90Don’t use 90 °° (or acute) angles when (or acute) angles when routing routing

traces traces –– chamfer/bevel them whenever chamfer/bevel them whenever possible (routing tool typically enforces this)possible (routing tool typically enforces this)

�� Take mounting into consideration (route Take mounting into consideration (route connectors on bottom side, and save space connectors on bottom side, and save space for standoffs/screws)for standoffs/screws)for standoffs/screws)for standoffs/screws)

�� Use copper pour for ground when possible to Use copper pour for ground when possible to reduce noise/EMIreduce noise/EMI

�� Separate digital/analog grounds, and tie Separate digital/analog grounds, and tie together at a together at a single point onlysingle point only

�� Surface mount resistors and capacitors Surface mount resistors and capacitors should be should be type 1206type 1206 wherever wherever possiblepossible

Page 33: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Layout Tips Layout Tips -- 33�� Avoid acute angles in traces (they are “acid Avoid acute angles in traces (they are “acid

traps” and can cause problems with etching)traps” and can cause problems with etching)�� Use larger power traces and orient your power Use larger power traces and orient your power

supplies and supply lines near where they are supplies and supply lines near where they are used, and put them in a place where they will used, and put them in a place where they will have minimum interference (e.g., away from have minimum interference (e.g., away from have minimum interference (e.g., away from have minimum interference (e.g., away from GPS or RF modules)GPS or RF modules)

�� If a clean (rising) edge is needed, be sure to If a clean (rising) edge is needed, be sure to match the impedance of the trace to the IC match the impedance of the trace to the IC with a resistor next to the IC driving the signalwith a resistor next to the IC driving the signal

Page 34: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

Layout Tips Layout Tips -- 44�� Outline board in copper (required as part of Outline board in copper (required as part of

board manufacturing process)board manufacturing process)�� Provide an ample number of Provide an ample number of test pointstest points

(suggest header that breaks out all (suggest header that breaks out all significant microcontroller signal pins)significant microcontroller signal pins)

�� Include labels “top”, “bottom”, and “group Include labels “top”, “bottom”, and “group name”name”

�� Be aware that connector pinBe aware that connector pin --out may differ out may differ based on gender (watch out for inadvertent based on gender (watch out for inadvertent “mirroring” of pin“mirroring” of pin --out)out)

�� Start even earlier than you thought you Start even earlier than you thought you would have to would have to startstart

Page 35: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

ECE 477 – Module 5Clicker QuizClicker Quiz

Page 36: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

1. The primary reason to “chamfer” corners (using 45°turns, instead of using 90° turns) on PCB layout traces is to: turns, instead of using 90° turns) on PCB layout traces is to:

A. decrease the size of ground loopsB. decrease noise radiationC. decrease trace capacitanceD. decrease trace inductanceE. none of the above

Page 37: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

2. The primary goal of a single-point power and groundstrategy on a PCB layout is to: strategy on a PCB layout is to:

A. decrease the size of ground loopsB. decrease noise radiationC. decrease trace capacitanceD. decrease trace inductanceE. none of the above

Page 38: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

3. The main reason for avoiding acute angles between traces on a PCB layout is to: traces on a PCB layout is to:

A. decrease the size of ground loopsB. decrease noise radiationC. decrease trace capacitanceD. decrease trace inductanceE. none of the above

Page 39: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

4. If the system operating frequency is above 15 MHz, the 4. If the system operating frequency is above 15 MHz, the value of decoupling capacitor used should be:

A. 0.01 µFB. 0.1 µF C. 1.0 µF D. 10 µFE. none of the above

Page 40: Module 5 PCB Fabrication Process and Layout Basics...Basic Layout Guidelines Minimum trace/space size should be 1100--12 mil12 mil Power and ground traces should be as “big as possible”

5. The purpose of a “bulk” capacitor, connected in parallel with the input power and ground terminals of the PCB, is to: with the input power and ground terminals of the PCB, is to:

A. provide additional “ripple” filtering of the power supply voltage

B. suppress noise generated by the board from being radiated

C. reduce the power supply regulation requirementD. recharge the decoupling capacitorsE. none of the above