Professional Documents
Culture Documents
AltiumTricksAndStandards|mbedded.ninja
mbedded.ninja
Theembeddedengineeringwebsitethat'sgotyourback.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
1/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Contents
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
2/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Contents
1. Overview
2. Schematic Symbol Snap
3. One PCB Per PcbDoc And PcbPrj File
4. Folder Structure
5. Stopping Rooms From Being Added To The PCB
6. My Vias/Tracks disappear WhenIm Routing!
7. Version Control Systems
8. The Board Shape
9. PCB Layer Standards
10. Layer Colours
11. PCB Symbol Naming Convention
12.
1.
13. Component Description Standards
1. Capacitors
2. Resistor Description
14. Quickly Adding Vias To Nets
15. Getting To Datasheets Quickly
16. Using Transparent Layers
17. Direct Connect For Specific Pads
18. Opening Internet Links In External Web Browser
19. Removing Exposed-Pad Vias That Are Automatically Added By The Footprint Wizard
Overview
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
3/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Overview
After using Altium for many years, you begin to pick up on little tricks to make your PCB design life easier.
This page is intended to help you fast-track that!
It pays to have some basic standards/protocolswhen working with Altium, otherwise things can get ugly real
quick.
4/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Folder Structure
Create a different folder for each project With all the files Altium creates for a project, directories can get
really, really messy.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
5/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
AscreenshotshowinghowtostopAltiumfromaddingroomstothePCB.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
6/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
7/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Note that Mechanical 1 (the board outline), Mechanical 2 (PCB info) and Mechanical 11/12 (the dimension
layers) are notchosen by Altium , but ratherjust personal preferences.
Layer
Usage
Mechanical
Board outline (it is not recommended to use just the keep-out layer,
1 (M1)
Mechanical
2 (M2)
Mechanical
3 (M3)
Mechanical
11 (M11)
Mechanical
12 (M12)
Mechanical
13 (M13)
Mechanical
14 (M14)
Mechanical
15 (M15)
Mechanical
16 (M16)
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
8/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
PairingmechanicallayersinAltium.
Layer Colours
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
9/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Layer Colours
I find that when using many Altium layers, the default colour scheme can get very confusing. To make
things simple to understand, I like using a hot and cold colour scheme.
All layers related to the top side (Top Layer, Top Overlay, Top Paste, Top Solder, Top Dimensions, Top
Component Outlines/3D Bodies, and Top Courtyard are all chosen to be hot colours, while conversely all the
bottom side layers are chosen to be cold colours.
AnexampleshowingtheuseofhotandcoldPCBlayercoloursinAltiumtohelpdistinguishbetweentopandbottomassociated
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
10/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
objects.
Here is a table showing the RGB values I set various layers to:
Layer Name
RGB Value
Top Layer
255, 0, 0
Top Silkscreen
Top Soldermask
Top Paste
Bottom Layer
Bottom Silkscreen
Bottom Soldermask
Bottom Paste
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
11/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
12/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
generic to least generic (this allows for good grouping when sorting alphanumerically). The symbol
reference is set the manufacturers part number, as this has to be a unique field.
Capacitors
SearchingthroughanAltiumschematiclibrary.
e.g.
1 Capacitor, Ceramic, 0603, 10nF, 35V,X7R,5%
Resistor Description
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
13/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Resistor Description
1 Resistor,<package size (imperial)>, <resistance>, <tolerance>, <rated power>
e.g.
1 Resistor, 0402, 2.70k, 1%,63mW
Note thatthe Omega symbol (aka the Ohm symbol) is not supported in the PCB editor as part of the
component description.You can use the symbol R instead.
Parameter Value
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
14/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
This can be repeated for as many component links as you wish. The URL can be any valid path (i.e. the path
to a file on your computer/server, or to a website URL). They can be added to both schematic library
component parameters, and component library parameters which will the be released to a vault. The
component links get added to the References sub-menu when you right-click on the component in the
Altium schematic editor.
For example, I would add these component parameters to a buffer IC:
Parameter Name
Parameter Value
ComponentLink1Description
Datasheet
ComponentLink1URL
http://www.ti.com/lit/ds/symlink/sn74lv126a.pdf
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
15/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
AddingaspecialcomponentlinktothecomponentsdatasheetinAltium.
I would then be able to quickly go to the datasheet by right-clicking the component, navigating to the
References sub-menu, and clicking Datasheet.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
16/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Quicklygoingtothecomponentdatasheetbyusingacomponentlink
parameterinAlitum.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
17/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
18/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
TurningonthetransparentlayeroptioninAltium.Veryusefulwhenroutingcomplexmulti-layerboards!
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
19/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
AnexampleofthePCBviewinAltiumwhenusingtransparentlayers.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
20/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
Aterminalblockpadwithdirectconnectionstoapolygon(+24V-MOTOR)and
apadwiththermalreliefconnections(GND).
The simplestway to do this is to add a custom pad region around the pin of interest. However, this is time
consuming as you have to do it for every pin and on every layer. A better way is to use pad classes.
To add pads to a pad class, first take note of the component the pad is part of in the Altium PCB editor, and
the pin number of the pad itself (e.g. component J3, pin number 2). Now click Design->Classes.Navigate the
folder Pad Classes,and add a new pad class called DirectConnect (the exact name does not matter). Now
add all thedesired pads to this new pad class.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
21/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
AddingpadstothenewDirectConnectpadclass.
We now need to make a direct connect rule for all pads in this pad class.Click close, and now click Design>Rules. Add a new Polygon Connect Style rule. Select Advanced (Query) for the first object match, and
then enter InPadClass('DirectConnect') into the Full Query window. Change the Connect Style to
Direct Connect.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
22/29
2/19/2016
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
AltiumTricksAndStandards|mbedded.ninja
23/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
MakinganewDirectConnectruleforthepadclass.
Save and exit the Rules dialog, and rebuild your polygons. Done! You should now have direct connects to all
the pads you added to the DirectConnect pad class. If you want to do the same thing for power planes, add
a similarPower Plane Connect Style rule for the same pad class, as shown in the above picture. If you want
to add pads to class which dont belong to any component, look for them under Free-xx (e.g. Free-0) in the
pad classes dialogue.
If all the pads that you are wanting to direct connect are located in the same area, you may want to use a
PCBroom object to envelop all the pads instead of adding each pad to apad class. Another disadvantage of
the pad class trick is that this direct connection information will be lost if you change the designator (or
worse still, will be assigned to completely wrong pads who just happen to have the same name as the old
ones).
Note: Direct connect rules can also be added to specific pins on the schematic, through the pin editor menu
for a selected component. However, as of Altium v15.1, this feature seems buggy, and causes basic (as vital)
features like Compile and Update Changes To PCB to crash from that point on.
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
24/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
CheckingOpeninternetlinksinexternalwebbrowserwillstop
Altiumfromtryingtoopenthem.
25/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
because of the inflexibility to change them during the PCB design stage. Without unlocking the primitives of
the footprint (which I do not recommend you do unless absolutely needed), there is no way tomodify these
vias during the PCB design. You may wish to move them to allow for nets to pass underneath the component
footprint on another layer, you may wish to add morefor better thermal properties, or you may wish to
remove them altogether because it recommends for that specific chip to leave the thermal pad unconnected.
For these reasons, I recommend that you delete these automatically added vias from all affectedcomponent
footprints, and instead add vias as needed during the PCBrouting stage of the design process.
ThefootprintwizardinAltium
Irecommendthatyouremove
theseviasandinsteadaddthem
asneededatthePCBrouting
stageofthedesignprocess.
hasautomaticallyaddedthree
thermalviastothisQFN
package.
Also,Iprefertorenamethe
thermalpintopinnumber0.
SHARETHIS:
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
26/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
More
LIKETHIS:
Like
Onebloggerlikesthis.
4Comments
Recommend
CladLab
Share
Login
SortbyBest
Jointhediscussion
JorgeCubas amonthago
Hello,isitpossibleforyoutosendmetheviewconfiguration(layercolorsconfiguration
file)tomyemail?iwastryingtodoitlikeyoursbutijustdon'tgetitthatgood..
cubas89@gmail.comthankyouverymuch!!
Reply Share
gbmhunter
Mod >JorgeCubas
amonthago
Hi,I'llseeifIcangetaconfig.filesavedanduploadittothispageforeveryoneto
downloadiftheywish.
Reply Share
VicMain 10monthsago
Thanksverymuchforthetips,someofthesehavebeenannoyingmeforawhile!!I've
doneafairlylarge(over12K)partsdatabase,includingthecomponentlinks,andallthe
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
27/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
doneafairlylarge(over12K)partsdatabase,includingthecomponentlinks,andallthe
necessaryinfoaboutalltheparts..WithpartsthathaveapadI'vefounditusefultoadda
soldermaskcutoutonthebottomsopartscanberemoveeasilybyhand.
Reply Share
gbmhunter
Mod >VicMain
10monthsago
A12kpartdatabaseismassive!:O.Haveyoulooked/usedanyAltiumvault
componentsbefore?
Reply Share
WHAT'STHIS?
ALSOONCLADLAB
SiteWideDisappearanceOfMostImages
HowToUnbrickAPICkit3
2comments3yearsago
4commentsayearago
gbmhunterIt'satabannoyingaye!Ialso
viki2000Justtoletyouknow,myproblem
missbeingabletoaddasinglepicthrough
their"AddNextGenGallery"button,the
wasahardwareproblemandwassolved.See
herethesolution:
AFunctionPointerBasedStateMachine
2commentsayearago
gbmhunterIhaveusedthisonbothAtmel
BingoPlayersCryJustALittle
[OriginalMix]
1comment4yearsago
AVR'sandPSoC3/5's.However,Idoprefer
theRTOSapproach(usingthreadsto
Subscribe
AddDisqustoyoursiteAddDisqusAdd
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
gbmhunterDouh!Doesn'tnativelyembed
thevideo...
Privacy
28/29
2/19/2016
AltiumTricksAndStandards|mbedded.ninja
http://www.mbedded.ninja/electronics/general/altium/altiumtricksandstandards
29/29