Altium
Altium
Talks:
• Jan 21 Introduction to PCB layout
• Mar 16 (TBC) Invited talk: PCB Fabrication
Credits:
• Unless explicitly stated all source material is from the Altium website and
Altium training documents.
• [B1] Complete PCB Design Using OrCad Capture and Layout \ Kraig Mitzner, 2007
3
PCB Design Flow
4
Typical PCB Design flow Separate tools
or integrated
environments
Front-end design
and capture
http://e2e.ti.com/
Typical PCB Design flow
Front-end design
and capture
Typical PCB Design flow
Placement
Physical
PCB
Design
Routing
DRC check
Typical PCB Design flow
Typical PCB Design flow Separate tools
or integrated
environments
Front-end design
and capture
http://e2e.ti.com/
How to install
Altium Designer 2018
10
How to install Altium 2018
• Link to instructions:
https://www.ece.ubc.ca/~eng-services/Altium/
– Create an account at Altium Live:
email: [email protected] (fast)
http://live.altium.com/#signin (slow & not linked to our license)
– Download Altium v2018
– Connect to license server
3
See instructions online
Best training material is on the Altium website. Info is updated, but beware that
menus and options change between versions. ver 2018 <> ver 2016
Overview of Altium Designer
15
Altium Designer 2018
A unified design environment
System requirements (MS W7, W8, W10)
Libraries
&
Vault Explorer
Projects
Messages
23
Design example
L298 Motor Driver Board
( by Matt Winship) 3D View on Layout Editor
L298_Motor_Driver_Board_Datasheet.pdf
Create project files
1. Project file
2. Schematic file
3. PCB file
Q-LN298HS
Additional Parts 391.IntLib
C-Block2
PartsDatabaseV16.1.IntLib
G-Cap
PartsDatabaseV16.1.IntLib
T-DiodeRect
PartsDatabaseV16.1.IntLib
Steps to create the Schematic
1. Load libraries
2. Draw the schematic
Set electrical type for connector pins
3. Compile Project:
Project → Project Options
More on: Compiling and Verifying the Design
4. Place no ERC labels if necessary
Modify connection matrix with caution
More on: No ERC Directive
Wiring Tips
• Left-click or <Enter> to anchor the wire at the cursor position.
• <Backspace> () to remove the last anchor point.
• <Spacebar> to toggle the direction of the corner.
• <Shift+Spacebar> to cycle through all possible corner modes.
• Right-click or <Esc> to exit wire placement mode.
• To graphically edit the shape of a wire, Click once to select it
first, then Click and hold on a segment or vertex to move it.
• Whenever a wire crosses the connection point of a
component, or is terminated on another wire, a junction will
automatically be created.
• A wire that crosses the end of a pin will connect to that pin,
even if you delete the junction.
• To move a placed component and drag connected wires with
it, hold down the Ctrl key while moving the component, or
select Move » Drag.
About Libraries
More on: Understanding Models, Components and Libraries
• Component representations
for different phases of design:
– Schematic symbol
– PCB footprint
– SPICE model definitions
– Signal integrity description
– 3D graphical description
Libraries = collection of components
Difficult to
solder by hand
39
LM298 Motor Driver Board Layout
• Size 1.2” x 2”
• 2 layers
• Mounting holes
• Thick traces for V-
and V+
• Power planes
for Vs and GND
7. Route
8. Draw a board outline, add labels (group #)
9. DRC Check
Working units
• Imperial (inches) • Metric (mm)
• 1/1000th of an inch = 1 • 1 mm ≠ 1mil !
mil = 1thou • Common unit in SM
• 100mils (0.1”) is a parts
common dimension
45
Design transfer
Design >> Update PCB Document …
Setup steps
1mil = 25μm 49
PCB Anatomy: Layer Stackup
Design >> Layer Stack Manager …
This will enable additional layers as required
This is a two-sided board with only: Top Layer & Bottom Layer
50
Working with Layers
• Use the tabs at the bottom of the editor to switch
between layers
<Shift>
<S>
Configuring the Display Layers
• Electrical layers
32 signal layers and 16 internal power plane layers.
• Mechanical layers
32 general purpose mechanical layers, used for design tasks such
as dimensions, fabrication details, assembly instructions, or special
purpose tasks such as glue dot layers. These layers can be
selectively included in print and Gerber output generation. They can
also be paired, meaning that objects placed on one of the paired
layers in the library editor, will flip to the other layer in the pair when
the component is flipped to the bottom side of the board.
• Special layers
these include the top and bottom silkscreen layers, the solder and
paste mask layers, drill layers, the Keep-Out layer (used to define
the electrical boundaries), the multilayer (used for multilayer pads
and vias), the connection layer, DRC error layer, grid layers, hole
layers, and other display-type layers.
52
Mechanical Layers
• Multi-purpose layers
• E.g. Altium supports 32 Mechanical layers: M1 … M32
• Typically
– M1 Board outline
– M2 PCB manufacturing info
– M11-M12 Top and bottom layer dimensions
– M13 Top layer 3D models and mechanical outlines
– M14 Bottom layer 3D models and mechanical outlines
– M15 Top layer assembly information
– M16 Bottom layer assembly information
53
Positioning components & routing
54
Positioning components & routing
• When placing components:
– Try to align parts (same orientation)
– Ensure that labels are all set in the same direction
– Beware of bulky connectors (use 3D view with
caution)
Yellow (top overlay) lines
in footprints typically mark
the physical boundaries of a part
However you must be cautious and
think about it.
This footprint includes the space taken
by a heatsink, but does not show it in
the 3D view
Ref [B1]
Negative view:
Copper planes, Drill
holes, Solder Masks
56
Determining trace width
• Shift+S to cycle single layer mode on and off, ideal when there are
many objects on multiple layers.
• Spacebar to toggle the corner direction (for all but any angle mode).
#70 .028" .025" via holes, fine lead devices such as trim pots etc.
#65 .035" .032" IC's, 1/4 watt resistors, small diodes, ripple caps etc.
#62 .038" .035" Square posted pins that measure .025" on the flat.
TO-220 packages, IDC type square posted headers,
#58 .042" .039" 1/2 watt resistors, 1N9000 series diodes, IC chip
carriers, etc.
#55 .052" .049" larger connectors, transformer leads, etc.
#44 .086" .083" TO-220 mounting holes, screw holes, general mounting
64
Ref [B1]
Types of Vias
• Types of via holes:
– Plated and un-plated through-hole, blind, buried
65
Ref [B1]
Solder mask
• Solder mask or solder resist:
– Thin polymer layer deposited on top and bottom layers
– Protects outer layers from oxidation and prevents solder bridges
– Allows for wave or reflow soldering of components
– Holes are opened with photolithography wherever components
will be soldered
– Default color is green, but any other color is possible
Source: Printed Circuit Board Basics: An Introduction to the PCB Industry, by: Michael Flatt
66
Ref [B1]
• Legend or silkscreen:
– Applied on top of the
solder resist
– Can be applied to one or
both outer layers
– Default color is white but
any other color is
possible
Tip: add (Top) and (Bottom)
67
Instructions for ELEC391
fabrication submissions
68
Submission Instructions
• No limits to # of boards (7 deadlines)
• Cost: $25 + $10/ sq-in, from project budget
• Submission dates:
Midnight, Mondays
Feb 3, Feb 10, Feb 17, Feb 24,
Mar 2, Mar 9, Mar 16
we will check submissions and accept fixes
until 5PM the following Tuesday M T W Th F Sa S
M T W Th F Sa S
• Turn around: 5-6 business days
• Work within the given guidelines
• Verify PCB layout and design - prior to design submission
• Submissions will be rejected if guidelines are not followed69
We will panelize your designs to speed up
fabrication and reduce costs
Body:
Total number of boards to fabricate:
Name of boards to fabricate and number of copies for each
71
Design constrains 1/2
1) Layers:
1) Maximum number of electrical layers = 2
73
How to load design rule file
• DRC file and these same instructions from here
• Download and save as “.RUL” file
• On your PCB design select:
Design >> Rules
• On the 'PCB Rules and Constrains Editor', Right
click anywhere on the left column
– Select: Import Rules
– Select all rules in window (using shift and mouse or
<Ctrl> +<A>) → OK
– Browse to select .RUL file
– Clear existing rules prior to import? → NO
74
• Component clearance and (electrical) clearance:
– Minimum distance = 7 mil
• (Routing) width:
– Minimum trace width = 7 mil
• Annular ring size:
– Minimum annular ring size = 7 mil
– Minimum annular ring size for vias = 5 mil
• Board outline clearance: 10mils
• No limit to allowed hole sizes
75
PCB Design Best Practices
Best Practices: Estimating board size
• Before starting layout it is good to
have an idea of the target size of
wasteful
the PCB board and all other
relevant dimensions.
78
Background: Apple Macintosh PCB from http://www.digibarn.com/collections
Best Practices: Routing strategy
• On two sided boards keep traces perpendicular as much as possible
• Avoid 90 degree bends in tracks (reduced chances of acid traps)
• Keep traces a short as possible
• Always connect a trace to the center of the pad
• Use teardrops (Tools >> tear drops), and use vias to avoid lockout
• Do not place vias under SMD pads
• Layout first all critical traces
e.g. CLK, diff pairs, controlled length
• Polygons as fills:
Connect to GND (EMC), or do not leave ‘dead copper’
• Rout nicely
[Ref 3] 79
Best Practices: Labelling
• Always sign your design: add date,
version, and name of board
80
Best Practices: Finishing touches
• Add mounting holes
• Confirm Board Information
– Properties panel: Board information section (when no
objects are selected)
– Click on Reports and select:
• Board Specifications
• Non-Plated Hole Size
• Plated Hole Size
• Using the hole size editor:
– Minimize the total number of holes sizes
– Verify that all vias are the same size (if possible)
• Verify that there are no unwanted leftovers on
any Mechanical layer
81
Online resources
1. Ten best practices of PCB design – EDN
Magazine, Edwin Robledo & Mark Toth
82