Professional Documents
Culture Documents
Yale Cadance OrCAD Layout Tutorial
Yale Cadance OrCAD Layout Tutorial
www.eng.yale.edu/ee-labs/morse/app_help/layout.htm
Capture is the central schematic entry program in the three program suite by Cadance
called OrCAD. This suite also consists of Pspice (circuit simulation software) and Layout
(circuit board layout) packages.
Overview:
This simple tutorial is designed to walk the user through a very basic PCB board design
layout providing some hints along the way. It does NOT cover all of the features of
Layout, so become familiar with the online manuals that come with the package.
Mechanical Design:
Designing a PCB is as much a mechanical engineering problem as it is an electrical one.
Important issues to consider BEFORE designing the PCB are:
Packaging-
Is the PCB going into an enclosure?
If so, you should have a sample of the enclosure to test fit the design.
How will I mount the PCB to the enclosure?
Think about mounting holes and standoffs.
At least 3 fasteners are required for PCB stability.
Make sure you design in enough clearances so the PCB and components
dont hit.
Is the design serviceable?
On a prototype, plan on disassembling and reassembling it often during
the development process.
Having to unsolder wires or remove connectors would have a major
impact on the development time.
What about board height?
Because the Layout CAD packages are all 2D this is one area where many
mistakes are made.
Be sure to design the package so the tallest components clear.
Be sure the components that generate heat have adequate ventilation.
If a component needs a heatsink be sure to check for clearance with
adjacent components.
Connectors:
Connectors are another major source of problems.
Check to be sure there is enough clearance, not only for the connector on
the PCB, but also the mating
connector.
Using a wire harness for off board components like potentiometers,
connectors, and
displays can be time consuming and cause reliability issues.
1
Think about mounting as many system components as possible directly to
the PCB.
2
Select Capture CIS
At the window prompt select PCB Design Studio with Capture CIS
The package will take a few seconds to load. Then select File
New and Project
3
At the window prompt enter the project name.
4
Select Analog or MixedA/D if you are going to do circuit simulation using Pspice or
PCBoard wizard if you want to make a board layout.
Select Schematic if you just need to draw your circuit design schematic.
In this case we will select PC board wizard.
When asked for libraries, add all of them to the used library list.
The only drawback to doing this is a longer load time for the project.
5
When you enter the schematic you will need to select footprints for the components you
are using.
To see the available footprints we will need to open Layout and the Library Manager.
Getting footprints from Layout Libraries:
Run Layout Plus.
6
In Layout select Tools Library Manager
In the libraries window the available footprint libraries are shown.
7
Browse the various libraries and note some are for through hole parts, connectors, surface
mount components etc.
8
Compare the data sheet information you have gathered against these libraries and record
the correct library for each component.
If your footprint is not in the standard library you will have to make one.
Running through this following example will get you familiar with the Library editor, but
you should consult the on-line manuals for help in creating a part footprint.
9
Editing footprints:
Besides drawing the schematic, each part now needs to have a footprint associated with
it.
Double Click on the LM741 part enter the footprint as DIP.100/8/W.300/L.450
Apply the changes and minimize the edit window.
Double click on each resistor and change the footprint to AX/.500X.100/.031
Apply the changes for each part.
Double click on each connector and change the footprint to
POLCON.100/VH/TM1SQS/W.300/4
Apply the changes for each part.
You can see that if you had many duplicate parts it would be easier to edit the first
occurrence then copy and paste the rest.
Before you enter these footprints look at them in the Layout plus Library Manager.
Net List:
Save the schematic and close the schematic page.
Open tools and create net list.
Select Layout tab.
Be sure to put the *.MNL file in a unique folder.
Latter many more design files will be generated and it will be much easier to sort them
out if the design is by itself.
Click on OK
10
The net list that Layout needs has been created. The file has the name of the project
.MNL
Layout:
Now lets go back to Layout Plus that we opened earlier.
Close the Library Manager.
Select file and new.
11
Technology template:
Technology templates have a .TCH extension, and enable you to set design standards for
the board you want to make.
In particular, technology templates can define the board layer structure, default grids,
spacing,
Track widths, padstack descriptions, default colors, and Gerber output settings.
The technology templates provided with Layout are listed below. For
information on using your own technology template, see Layout's online
help.
12
2BET_THR.TCH - Used for through-hole boards; two tracks
are allowed between standard DIP IC pins; a standard DIP IC pin
has a 54 mils pad and a 34 mils drill; routing and via grids are 20
mils; placement grid is 100 mils; route spacing is 8 mils.
3BET_ANY.TCH - Used for through-hole or surface-mount
boards; three tracks are allowed between standard DIP IC pins; a
standard DIP IC pin has a 50 mils pad and a 34 mils drill; routing
and via grids are 12 1/2 mils; placement grid is 50 mils; route
spacing is 6 mils.
CERAMIC.TCH - Used for ceramic chip modules.
DEFAULT.TCH - Used as the default technology template for
PCB translators. You might use this technology template for
translation and then load another later as you are working on the
board.
386LIB.TCH - Used as the default technology template for
translation of PCB386 library files. With this technology template,
you can maintain the color settings of your library.
HYBRID.TCH - Used for hybrid chips.
JUMP5535.TCH - Used for single-layer boards; 55 mils vias
with 35 mils drill.
JUMP6035.TCH - Used for single-layer boards; 60 mils vias
with 35 mils drill.
JUMP6238.TCH - Used for single-layer boards; 62 mils vias
with 38 mils drill.
MCM.TCH - Used for multiple-chip modules.
METRIC.TCH - Used for metric boards.
PADS.TCH - Used for boards created using PADS software.
PROTEL.TCH - Used for boards created using Protel
software.
Board template:
Board template files or *.TPL files include the .TCH but have a predetermined board
outline. This is handy if you are making a board to plug into a PC for instance.
There are approximately 70 *.TPL types. (see Layout's online help)
We wont use the *.TPL for this example.
The output file generated by layout for your project will be a *.MAX file.
In our example we will pick 1BET_ANY.TCH
13
Click on Apply ECO
14
If no errors occur then accept this ECO
Layout will load the .TCH file and the *.MNL file that contains the net list.
15
You may need to select view and zoom out to view entire design.
Board outline:
First you need to move the Datum off of the title block.
The Datum is the 0,0 origin point for your board.
Select Tool Dimension Select tool
Select Tool Dimension Move Datum
Now click on the Datum and move it where the lower left corner of your board will be.
Next we need to define the board outline. Select Tool Obstacle select tool.
16
Placing components:
Components can be placed automatically by selecting Auto Place Board
The board can be Unplaced by selecting Auto Unplace Board
For simple non-critical designs auto place may work. It is usually NOT beneficial when
connectors or mixed analog/digital circuitry are involved.
To manually place a component select tool component select tool
Click on PIN 1 of the component. All position information is usually represented by
Datum to PIN 1 of the component.
Move the component so Pin 1 (Square pin) is over the Datum. The position display
should indicate 0,0
17
The component is positioned and placed by observing the position indicator, and left
clicking the mouse when in position.
The component can also be placed using a table.
Select the part with the left mouse button then right click the mouse and click on
Properties
18
We will place pin 1 of this connector .4 over and .2 up from the Datum (remember all
dimensions are in thousandths of an inch.)
Notice the Locked selection. When a component is locked it cannot be moved
manually or by the auto place.
So, using this feature you could manually place the critical components and auto place
the rest.
Place the remaining components on the PCB.
19
Mounting Holes:
Holes are not part of the Capture schematic and have to be added in layout.
First we need to pick and define a mounting hole size.
Select File Library Manager
20
Select the LAYOUT library
Look at MTHOLE1
Select Tool Padstack Select from Spreadsheet
Scroll down to the 100R110 section
Double click on the name.
Change the name to 100R125 and select Non-Plated
21
Change the size of the holes in the DRLDWG and DRILL to 125 (A 4-40 screw
clearance hole)
22
Select Save As
Change the name to 125MTHOLE
Create new library MYLIB.LLB
23
Verify that 125MTHOLE is in MYLIB.LLB
Close the library manager. (This file MYLIB.LLB is where any custom footprints for
components would also be stored.)
In the tutorial we will not address the creation of new footprints but they are created with
the Library Manager.
24
For the other three holes we will copy and paste.
25
Selecting Layers:
Select Tool Layer Select from spreadsheet
26
Since we are making a simple double sided board we need to turn off the inner layers and
planes.
Double click on Layer Type for GND and set to Unused Routing
Do the same for the Power, Inner1, and Inner2 layers.
Close the spreadsheet.
Auto Route:
Select Auto Autoroute Board
The autorouter will connect the traces based on the netlist.
27
The top traces are blue and the bottom traces are red.
At this point we can turn off the top and bottom AST layers which are used to make
assembly drawings and are for documentation purposes only.
In the layer window scroll to AST (assembly top) and press the - key
Each layer can be displayed or not in this manner.
28
Text Cleanup:
The white text is the silkscreen that will be printed on the board.
Select Tool Text and click on the 6 for the first mounting hole and delete. (We
dont need markers for holes)
Repeat for the other holes.
With this tool you can move text around or create text using the New feature.
Add Yale University to the board.
29
At this point it is highly recommended to print the top and bottom layers including the
board outline and holes 1:1 (Full size) on a laser printer.
A mechanical prototype board can now be made. Cut out the printed image and tape the
top and bottom view to some 1/16 cardboard.
Using this template, tall components and connectors can be attached and mounting holes
cut out.
Then the design can be checked for fit in the final enclosure.
This step is a cheap and easy way to find mechanical errors before any PC boards are
ordered.
30
Click on OK any errors will be reported.
Select Auto Cleanup design
31
Gerber files:
The file exchange protocol with the PCB fabrication vendor uses Gerber Files.
To generate these files you need to do the Post Processing.
Select Auto PostProcessing
Contact the design house to verify which files they require.
32