Altium Designer Intermediate Guide
Altium Designer Intermediate Guide
Glenn Mercier
mercierg@unlv.nevada.edu
Research Engineer, TBE-B311
University of Las Vegas, Nevada
Beginning Guide
Before
Breadboard Advantages
Very
Breadboard
Disadvantages
Unprofessional
appearance
Difficult to troubleshoot due to
human error and poor connections
Works very poorly for high speed
design
Difficult to modify complex SMD
components for prototyping
Excessive capacitance
Difficult to replicate
appearance
Repeatable and controllable stray
inductance and capacitance
Can handle most power
requirements
Can make very compact
Excellent high speed capabilities
Easy to assemble and replicate
design time
Drastically increased schematic-to-finished
product timeframe
Development Cost
Difficult to modify once board is fabricated
Must learn at least a basic form of CAD
software
Quality of PCB can be affected by limited
knowledge of software package
Capabilities vary greatly with different
software packages.
High end CAD software is very expensive
Packages, such
as a BGA, MLF,
QFP are
practically
impossible to
prototype on a
breadboard due
to their small
size and MUST
be designed on
a PCB.
http://content.answers.com/main/content/img/CDE/_MCR
OBGA.GIF
Altium Designer
System Requirements
Getting Started
Start
the software by
clicking
START
PROGRAMS
ALTIUM DESIGNER
Altium Designer 6
Create
a start bar
shortcut if you plan on
using the software a
lot. (shown on right)
Project File
Project
Creating a Project
When the
software
starts, follow
the menu
sequence in
the image to
create a new
PCB Project
Many people
skip this step
and just
create a
schematic
file. This a
huge mistake!
Absolutely
everything in
Altium
Designer is
based on
project files
Project Name
Organization
Adding a Schematic
Drawing
Follow
Schematic Entry
The
Libraries
Similar
For
Once
Types of Libraries
There
Libraries
Libraries
Updated
at
http://www.altium.com/Community/support/Libraries/Designer6libraries/
Altium
Libraries
NOTE: When you create your own schematic and footprint libraries, you
should place them in the same library directory in your project folder
Adding Libraries To A
Project
Adding Libraries
The Search Path modifies the search location when searching for parts.
Adding Libraries
We
Project Hierarchy
By
expanding the
+ next to
libraries, you
should see a list of
all the project
libraries. Make sure
you have all these
libraries installed
before continuing.
Notice
how the
project tree
separates source
documents and
libraries
automatically
Example: Main.SchDoc
Project Documentation
We cant create
a schematic
without
knowing more
details about
the parts well
be using.
Project Documentation
556-ATMEGA8-16AU
806-KUSBX-BS1N-B30
638-172BHC-AN1P23T
649-66506-066LF
The 0805 specification for the LED are actually dimensions of the
chip component itself (Size Code).
Therefore, the larger the numbers, the larger the chip device:
1) 1218 (1 Watt)
http://www.geocities.com/vk3em/smtguide/pics/resistor.jpg
2) SOIC20, Wide
4) SOIC8, Standard
5) SSOP20
http://www.geocities.com/vk3em/smtguide/pics/ic.jpg
Placing Parts
We
Placing Parts
After
clicking place
part from the
previous screen,
you will have an
option to place
from standard
libraries or
database libraries.
Keep this on
standard libraries
Click
the button to
the right of the
History button to
bring up a list of
available libraries.
Creating a Schematic
At the top of the screen, there is a dropdown box which lists available
schematic and integrated libraries (but not PCB footprint libraries). For the
highlighted library, in this case Miscellaneous Devices, there will be a list of
the parts inside that library in the bottom left.
Creating a Schematic
NOTE: The
Atmega8 costs
about $3.50
Creating a Schematic
Creating a Schematic
Creating a Schematic
We
For
It
Creating a Schematic
Looking again at the ordering information available in the datasheet, we know that:
The Chip must be able to work with a 16 MHz clock, we can eliminate all 8MHz rated microcontrollers
The DIP package is 28 pins, we can eliminate any package that has a 28 in the package information
The 32M1 refer to the MLF packaging, we can eliminate all those items
This leaves us with a decision to choose between commercial rated or industrial rated temperature
ranges, Either the ending in -16AC, -16AI, -16AU are acceptable
Creating a Schematic
Creating a Schematic
Why do you think there are three different footprints for a QFP32 ?
Creating a Schematic
Also included are SPICE files and/or IBIS files (more on this
later)
Creating a Schematic
To Pan Left/Right/Up/Down
Pin Functions
Power
Depending on how the pin is set, will determine how the DRC
(Design Rule Check) Interprets the Pin and what connections are
allowed
Type in the
keyword you are
looking for
NOTE: Using
wildcards * before
and after allow for
words such as
xxxUSBxxx to be
recognized.
We are searching
through only the
libraries we added to
the project, so it
should happen very
quickly.
* make sure
include
subdirectories is
ticked.
Click OK again to
add the part
You can do this by copying the AMP Serial Bus USB from the
path given in the available libraries below
C:\Program Files\Altium Designer 6\Library\Amp
Rotating Parts
Component Properties
Component Properties
Component Properties
Mirror
the
USB-B
connector
and orient
the parts
so they
match the
diagram
to the
right.
Programming Header
Although there
are three
matches for the
FT232, We are
actually looking
for the FT232RL
as we will see
on the next
slide
The datasheet
states that the
FT232RL is a 28pin SSOP
package.
Since this
footprint is not
available, we
must create the
part in a custom
library
Right
Double
click the
new PCB library
you created to
open it, and click
on the one titled
PCB Library to
work inside that
library.
This will help you easily create the footprint for the
device
Fill out the rest of the values, you should get the numbers below
NOTE: Watch as you enter values, the graphic on the right will
dynamically change
Accept the automatically entered values for the next few slides until you get to the slide below
Uncheck the use suggested values and change the name to FT232RL
Click Finish and the part will be added to your library
Notice how there are two yellow dots , those are pin
1 indicators so the board is assembled properly
You can now be confident that the FT232RL chip will
fit on this footprint
a PCB footprint is
useless as far as a
schematic is concerned, we
must create a schematic
drawing and link the
drawing with the footprint
we created
Shown to the
right is the pinout
of the device
obtained from
the datasheet
Create a Schematic
library like we
created a PCB
footprint library
Your component should have a descriptive component name and description such as the one below
You must usually define the pin type from reading the
description of what the pin does
There are usually typical applications schematics which will help you properly use the
device.
You should always read each and every pin description to see if you need to add
functionality, but it is always a good starting point to use the typical application sheet
Usually these typical application notes have corresponding notes associated with it that you should
consider.
The following rules for this device are a combination of rules for the USB standard, and for the FT232
These notes should be regarded as bible, written by people who understand and have tested their
product to death.
Now that we have verified that the pins all match the ones in the datasheet (with the
correct pin numbers!) we can move pins around and make it look more like the application
schematic given
This usually allows for a cleaner looking schematic drawing and much easier to reference
the datasheet.
Now we need
to associate
the PCB
Footprint we
created with
the schematic
drawing
Click browse
in the
footprint
model
section
Current Schematic
Programming Interface
We need a
device that
will send our
compiled HEX
code to the
microcontrolle
r.
This type of
device is
called a
programmer
Sparkfun sells
many decent
programmers
that are cheap
($13)
Programming Interface
If you want,
you can see
the schematic
of the
programmer,
and integrate
it onto your
development
board
As you can
see, this is a
simple device
which would
only add a few
components
to your project
Programming Interface
The
specification for
the 2x5 header,
spaced 0.1 apart
perfectly matches
the connection for
the programmer.
Although
you may
not know what these
pins are, we will
assign them to the
programmer header
Find
Net Labels
A
Net Labels
Here is a schematic which is very confusing and would
Net Labels
This is a design
that uses direct
wires for short
connections,
and net labels
for long
connections.
NOTE: Even if
direct wire
connections are
used, its still a
good idea to
give the net a
name for PCB
reasons
Net Labels
Another example
Good
Bad
programming connector
now exactly matches the
pinout of the programmer
we selected to buy
Make the same net labels on the microcontroller as you did on the
programming connector
Make the same net labels on the microcontroller as you did on the
programming connector
Reset Pin
The
Passive Components
Place this part (Dont worry that the footprint isnt SMD
0805)
Passive Components
Change
Passive Components
In
the footprint
section, click the
add button to add
our 0805 footprint to
this capacitor
Passive Components
Passive Components
Passive Components
It is
common
practice
to add a
0.1uF
decouplin
g
capacitor
to EVERY
power pin
per IC
Dont forget we cannot apply 5V across the LEDs. We must use current limiting resistors
To ensure maximum functionality of the development board, rather than hardwiring the
LEDs to a specific port, we will make it so a user can connect any of the three 8-bit ports
Notice how RXD on the microcontroller connects to TXD on the FT232 chip, This is because two transmitting
signals cannot appear on the same line. One pin is an OUTPUT and one is an input.
Because these pins are correctly defined with both parts, The DRC would catch that if we made the mistake
of connecting TXD to TXD
The LEDs here are optional and light when data is being sent or received
I have altered the typical application circuit for this in two ways:
I have not included the ferrite bead , you should include this . You can include a 0805
footprint as a placeholder for the ferrite bead which comes in a chip
All
the parts
are now
properly
numbered
NOTE:
This
step is
necessary
before
working with
simulations
or PCB Layout
Finished Schematic
Smart PDF
I
Error
We
it
A warning will allow an action, but wont be happy about it
Set the Error level or above to see immediate feedback
Fatal error will not allow compilation of the project
Keep
If
Connection Matrix
The next
tab over is
connectio
n matrix.
This is a
quick way
to allow
certain
connectio
ns to be
made or
denied.
Usually
this
doesnt
need to be
changed
PROJECT UPDATE
DUE
WED. 06/04/08 !!
Single page report with the following
What have you done for your project- (Be Specific!!) I expect
this to be mostly schematic design and research at this point
What do you have left to complete
Who is responsible for each part of the design
Schematic Entry
PCB Layout
Implementing Technology (Ex: Mike will be in charge of interfacing the transmitter with a
microcontroller)
Do not think that if you have done no work yet that you are not responsible for the project or that
your test will be easy. The more work you have done by the 9 th, the easier the test should be.
Every group member is responsible if someone is trying to get out of doing work. Do not cover for
anyone else. If I find out that the work was not done by an individual, I will hold the entire group
responsible
If there is a problem with someone not working, you have until the 7th to split from the group and
work on the same project by yourself if you let me know.
Choose the board units as Imperial for this since that is what
most of us are most familiar with
NOTE: You are not stuck with the choice of units that you
choose here. The units specified are ONLY used for the PCB
wizard
NOTE: These settings really dont matter. They exist for the
autorouter which we will not be using
NOTE: ALWAYS be
sure your settings
can be fabricated at
a reasonable price
before setting these
values
Click
Options
Click Board
Options
NOTE: The snap grid and component grid are very important,
we will get into this later though.
This will begin the process to turn your schematic into a PCB
Notice the green check boxes to the right. This means that
each step with the green check mark can be performed
sucessfully.
You are in good shape when no errors occur and this list is
empty
You will see a second row of green check boxes when you
execute the changes. Again, check for errors by checking the
Only show errors
NOTE: Every time you perform an ECO, the results are saved
in a text file in your project directory
Any
The
may have
noticed the words
on the right on
your design.
Leave it where it
is and dont mess
with it.
We
This
is called a
Special String
If
If we type L again,
it will bring up the
board layer lists.
If we put the mouse over one of the green pads, it will tell us information
about the pad, most importantly it will tell us what the error is
For these pads, there is a clearance constraint error between a pad on the
top layer, and another pad on the top layer
DRC
expects a
minimum
spacing
between
different
nets of 8
mils.
NOTE:
There are
many better ways of
determining the
actual spacing, but
we want to keep
things simple for now
the small
lines, these are
collectively referred
to as a Ratsnest.
It is a way of
telling you which
connections need
to be made still
Example: You can
see pin 2 of R12
needs to connect to
Pin 2 of the USB
connector
C7- C11
R12 R16
U2
D9, D10
group the
components as
they are
arranged in the
schematic.
Prioritize the
placement by
organizing the
high speed or
critical
components first
at closest length
R)
R)
PCB Inspector
Start
the PCB
Inspector.
This
PCB Inspector
Hold
The
PCB inspector
shows two objects are
displayed/selected.
PCB Inspector
Change
PCB Inspector
We
Notice
Component Placement
Place
the three
decoupling capacitors on
the bottom layer, and
position them as close to
the power pins as
possible as shown below
Component Placement
The
The
Component Placement
This
Component Placement
Click
This
Component Placement
This
Component Placement
Component Placement
Place
Routing
Now
Routing
Make
a connection
between two
components as
shown to the right.
Notice that the wire
itself is associated
with the net VCC
Routing
By
Routing
You
should
adjust this so
you can easily
see the
highlighted net,
but still see the
outlines of the
other pads
Routing
Press
Routing
Notice
thick
Routing
Routing
Differential pairs
should be kept closer
together
Routing
As a general rule for right now, you want to make the traces
about as large as you can make them.
Why ?
Routing
Routing
The TX and RX
traces from the
FT232 Chip to
the rest of the
chip can be
relatively high
speed (1 MB/s)
For reasons we
will go over
later, this
means we
should try to
maintain the
same geometry
throughout the
trace. (Dont
vary the width)
Routing
Routing
Routing
Routing
Routing
Routing
Routing
Change the Layer Set back to ALL LAYERS and view the entire board.
Routing
Routing
Notice the
dimensions
are
automaticall
y fixed to
the new
distance
between the
arrows
Repeat this
process with
the bottom
pink line
Routing
Routing
Click
Routing
P4 and P5 are not very intuitive to the end user and should
probably be changed to something more descriptive.
Also, the 8-bit LED display can also be changed to Bit0, Bit1,
etc or 1,2,4,8, so a user can easily add the binary
numbers
Change P1 to PORTB
Change P4 to PORTD
Change P2 to PORTC
Change D9 to TX
Change D10 to RX
The changes have taken place and now we each connector is more
descriptive
You can make the font larger or in bold, or change the font itself if
you want to, just double click the text to bring up the menu
Radius = 5 mil
Width = 10 mil
Check the
following
boxes:
Top Layer
Top Overlay
Multi-Layer
Create another
new set called
BOT BOARD
Check the
View from
bottom side
Check the
following
boxes:
Top Layer
Top Overlay
Multi-Layer
The image to the left shows a DRC error because the polarity marking for the
capacitors are too close together. This is not a real error and we dont care about it
The image on the right does not flag for an error, but the bottom overlay for C1 will
not show up properly because of the location of the via.
Does anyone notice anything else wrong with the image to the right ???
It
nets that
there is a
connection
(GND), you can
see it handles it
exactly the same
as any other net,
but has a few
short connectors
that connect the
pad/hole to the
pour
this
process on the
bottom layer
of the board,
also
connecting to
GND
PCB Complete!
Rather
PCB Complete!
Check
PCB Complete!
An
PCB Complete!
From
PCB Complete!
Usually I print
these and
write the value
of each
component
where the
component
goes
PCB Complete!
Follow the
menu
sequence to
obtain the NC
Drill files first
PCB Complete!
Leave these
values as
default unless
you know what
you are doing
Click OK
PCB Complete!
Leave these
values as
default unless
you know what
you are doing
Click OK
PCB Complete!
A PCB with
only holes in it
should appear.
These holes
match the
holes of your
design
Go back to the
PCB
PCB Complete!
Follow the
menu
sequence to
create the
output Gerber
files
PCB Complete!
Leave the
values intact
under the
General tab
PCB Complete!
Under the
Layers tab, click
Plot Layers and
you can either
choose ALL ON
or USED ON.
If you choose
USED ON you
should manually
check the
bottom two
layers called
GPT Top Pad
Master
GPB Bottom Pad
Master
PCB Complete!
Under Drill
Drawing (This
is different
than NC Drill
files) check the
plot all used
layer pairs in
the two
locations at
the left
PCB Complete!
Under Apertures
make sure
Embedded
Apertures are
selected (RS274X)
NOTE: Before
RS274X, there was
RS274D, which did
not contain the
embedded
Apertures, most
everyone requires
RS274-X format
Ignore the
Advanced tab and
click OK
PCB Complete!
Again, depending
on the complexity
of the design and
the capabilities of
your computer, this
could take hours.
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
When you
created the
Gerber files
and NC Drill
files, a new
folder is
automatically
created in
your project
folder called
Project
Outputs
Altium is nice
enough to
register the
file
extensions
with Windows
so you can
see which
each file is
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
PCB Complete!
Be
PCB Complete!
Whats
Special Strings
Type
Special Strings
Click
Double
Special Strings
Shown
Logos
The
Logos
The
Add
Logos
Notice
Logos
Logos
Depending
Logos
Logos
Schematic/PCB Interaction
with Multiple Monitors
Circuit Simulation
Snippets
Snippets
Snippets
To
create a
snippet, simply
highlight the
schematic/pcb
information you
would like to
reuse, right
click, then
select Add to
Snippet
Snippets
You
Snippets
When placing a snippet, you will see a rectangular boundary outline of the object. Once the
location is held, you will place the ENTIRE snippet as shown below.
Notice that nodes, net labels, differential pairs, and component IDs are all pasted from the
snippet.
When pasting a PCB snippet, the footprint, layer information, traces, etc.. Are all pasted from
the snippet
This powerful, simple to use feature is a great timesaving tool when creating multiple projects
Inspector Tools
The
Schematic Inspector
Start
out by
docking the
Schematic
Inspector. I
usually keep
it in the side
dockbar
which is
useful for a
multiplescreen
display.
Schematic Inspector
By
Schematic Inspector
In this
example,
Three
capacitors
are selected
Schematic
Inspector
shows that 3
objects are
selected in
the bottom
of its
taskbar.
From this
stage, any
value
changed
inside the
inspector
will
immediately
be changed
in ALL
SELECTED
OBJECTS
Schematic Inspector
Changes
Schematic Inspector
Allows changing a field with different values (Showing <>) to make all values
uniform
In the example below, component orientation is changed from <> to 90 Degrees.
Immediately each component is rotated to the 90 degree position.
For this example, the lower two capacitors are unchanged, as their value was already
90 degrees, and the top capacitor is rotated from 0 degrees to 90 degrees.
find ALL
capacitors
with a part
comment of
1uF we
change the
following
objects from
ANY to
SAME
Description:
Capacitor
Part
Comment:
1uF
Click
OK
when finished
hitting
Apply or OK,
the Schematic
Inspector
immediately
finds all
matching
parts.
In this case the
three
capacitors we
changed earlier
to 1uF are
highlighted
over the rest of
the schematic,
and selected in
the Inspector.
PCB Inspector
PCB Inspector
We
Project Report
A
quick detour
from the PCB
Inspector allows
us to see a
general report on
the project
From the main
toolbar, click
Reports then
Board information
You will see a
general summary
as shown to the
right, click on the
Report button
Project Report
Select
the
information you
want included in
the report.
Usually it is best
to select all and
then navigate to
when you want in
the report with
hyperlinks
Click Report
when done
selecting objects
Project Report
An
HTML based
report will be
generated with
a table of
contents and
hyperlink
navigation
available
Project Report
The
report
will probably
give more
information
than you will
ever want to
know, such
as a
detailed
breakdown
of the
routing,
layer
information,
vias, tracks,
etc..
Project Report
Shown
below is a
part of the
report on
board holes.
This
contains
EVERY hole
on the
board, and
includes the
drill size of
the hole.
PCB Tab
Bandwidth
Microstrips
Differential Pairs
Signal Integrity
Introduction
Physical Resistance
Physical Inductance
Physical Capacitance
Reflections
Multi-Layer Boards
The
Layer Stack
A
Internal Planes
Layer Stack
Design
> Layer
Stack manager
will show a 3D
representation of
the layer stack
Layer Stack
Impedance Controlled
Routing
Transmission
required if:
lines usually
Microstrip
Stripline
Reflections
Cross Talk
EMI
Output Files
CAM Viewers
CAM Viewers allow the re/viewing of Gerber files.
CAMTastic:
http://www.altium.com/files/learningguides/AR0119%20CAMtastic%20
Introduction.pdf
ViewMate-
http://www.pentalogix.com/Download/download.html
CAMMaster-
Pentalogix
http://www.pentalogix.com/Products/CAMMaster/cammaster.html
CAM350-
Downstream Technology
http://www.downstreamtech.com/cam350.html
GC
GerbTool-
Wise Software
http://www.wssi.com/index.php?option=com_content&task=section
&id=16&Itemid=167
IPC: Certification
IPC
to the
right are some of
the sample
questions
available on the
IPC Website
Homepage
http://www.ipc.org/
Online
http://webvision.ipc.org/scripts/mgr
qispi.dll?APPNAME=IPCWEB&PRGNAME=TOC
FRAME&ARGUMENTS=-N,-N,-A,-A,-N50
Certification
http://dc.ipc.org/certification.htm
Keyboard Shortcuts
References
Bogatin,