Authored by
May 2007
Table of Contents
1. Introduction.......................................................................................................1
2. Setup...................................................................................................................1
3. Making a Symbol ..............................................................................................2
4. Footprints...........................................................................................................5
5. Making Footprints ............................................................................................7
6. Loading the Netlist............................................................................................10
7. Opening the Netlist in Layout..........................................................................13
8. Making the Board Outline ...............................................................................15
9. Placing the Board..............................................................................................17
10. Setting up to Route the Board........................................................................18
11. Making a Copper Pour...................................................................................19
12. Layers...............................................................................................................22
13. Routing the Board...........................................................................................23
13. Printing the Mask ...........................................................................................25
15. Exposing the Board.........................................................................................25
References.................................................................................................................26
1.
Introduction
This tutorial is written to teach the reader Printed Circuit Board (PCB) design of a two
layer PCB using the OrCAD Layout and the Capture family of programs. OrCAD
version 10.1 was used for this tutorial. In addition, this tutorial contains procedural
details for in-house fabrication of PCBs. A detailed description of the PCB fabrication
process using photo development, and etching of the copper clad board is included.
Although this tutorial may generally be useful for all undergraduate students of electrical
engineering, it is specifically designed and written for the students in the
Communications Systems Design courses at Rutgers, The State University of New Jersey
to teach them how to make a semi-complicated PCB if is this is what there project calls
for.
The first step in the design of these boards is to familiarize yourself with the OrCAD
family of products, particularly OrCAD Capture which is used to draw the schematic
diagram, and also OrCAD Layout which is used for the actual layout design of the PCB.
The simulation process using PSPICE will not be mentioned since it does not directly
relate to PCB design, however It may be important to familiarize yourself with its
functions incase a design is to be simulated before it is built on a hardware level.
If possible, it is recommended that the design is prototyped by construction on a
breadboard and the fnctionality tested before making the PCB. Once the circuit is made
on PCB it is very hard to troubleshoot and change. With this said, it is understood that in
high frequency designs, breadboarding is not possible. Therefore several trials of PCB
prototypes may have to be designed and fabricated in to have a fully functional circuit or
system.
I would like to point out that being able to fabricate your own PCBs in-house at the
Microelectronics Research Laboratory (MERL) is a very valuable task which is rather
inexpensive and has a very fast turnaround time.
2.
Setup
The first step in this process is to open your OrCAD capture program. Go to the File
New Project. When the popup box is given choose your location to save your files,
specify a unique name, and create the project using the Schematic option.
A black schematic screen is now opened so that you are ready to start creating your
schematic. (note: it is assumed that the student is familiar with using the PSPICE
program). Before we begin with the actual design, it is a good idea to set up your
libraries. This is important for the following two reasons. First it is convenient to have a
single list of components so that you do not have to search through multiple libraries
every time a new part is needed, and the second reason is that certain components are not
found in the given libraries and the schematic symbol will have to be made. First, I will
teach you how to make a simple schematic symbol.
Timothy Gramiccioni
Page 1 of 26
3.
Making a Symbol
To make the library click on File New Library. Now, if you minimize your
schematic template there will be a box that looks like Figure 1.
Timothy Gramiccioni
Page 2 of 26
Timothy Gramiccioni
Page 3 of 26
Specify the name and pin number according to the components data sheet. Follow these
steps for each appropriate pin. When you are finished click on rectangle tool; shown as
the forth icon from the bottom on the toolbar above. Now drag a rectangle in accordance
with the dotted line shown as the components perimeter.
Follow these steps for each component needed to be made in your schematic. If you need
components that already exist such as a resistor you simply click on the component
press CTRL + c (to copy) click on your library and press CTRL + v to paste the
component in your library. Often the component will give you extra parameters (shown
as a Schmitt trigger symbol in the AND gate); these can be deleted to make your library
nice and neat.
Now that you are done with your library it is time to start making your schematic. Route
the schematic according to your design exactly as if you are using Capture for a PSPICE
simulation. Instead of using the zero ground, it is safe to use any ground that you choose.
Note in the figure below that I have route power in a similar fashion as ground using the
VCC_Bar power connector, and labeling it accordingly. This is an important step to
follow which will make PCB design much easier as you will see later.
Timothy Gramiccioni
Page 4 of 26
4.
Footprints
A footprint is a set of copper pads that corresponds directly to the component leads. This
step is one of the most crucial steps to the design of the PCB. Any mix-up in a footprint
WILL ruin your entire design. Therefore extra-special care must be taken when
matching a footprint to the corresponding component.
To get to the footprint library manger, first open OrCAD Layout, and click on Tools
Library manager. The Library manger screen should appear looking something like the
following in Fig. 5.
Page 5 of 26
Timothy Gramiccioni
Page 6 of 26
5.
Making Footprints
To start this process, click on the Create New Footprint button in the library manager.
A popup box will ask you for the name of the component, and the units required. Click
on the units specified for the footprint (Note: This is normally going to be English. The
unit mils stand for one millionth of an inch, NOT millimeters). Next, if you are making
the footprint for an IC, you can Use the Pad Array Generator, otherwise just press
OK. If you are using the Pad Array Generator, then put in the parameters needed to
make the pad. You will now see a circle in the center of your black screen. This circle
represents a Pad which is the way in which one pin will be mounted to your PCB.
Depending on which component we are designing, this pad may have to be changed.
Next, I will show the design of the footprint for a power jack. For through-hole
components, make sure that your pads are large enough to manually drill through while
allowing enough room for the pins. I recommend using a pad that has a copper section
no less then 80 mils. To ensure this, click on the circle with a 1 in it in the toolbar, as
shown in the toolbar figure below.
Timothy Gramiccioni
Page 7 of 26
Next, select padstacks, and the pad that you are using should be highlighted. Change the
parameters to the following as shown in Fig. 9.
Page 8 of 26
The dimensions can be determined from the X,Y coordinates in the top left corner of the
screen. Make sure that you follow the pin out according to the way in which you
connected your design in Capture. To add a new pin, right click your mouse and select
new. To place the part, left click. When you are complete making your pads, you must
make a place outline around your component. To do this, click on the following icon:
This is the Obstacle tool. Right click and select new, right click again and click on
properties. The Edit Obstacle screen will appear as shown in Fig. 11.
Timothy Gramiccioni
Page 9 of 26
6.
Before we start there are still a few things that must be done in Capture. After all of your
footprints are found and made, we can designate the component to its determined
footprint. To do this, open your design in Capture. Select all of the components in the
design by holding CTRL and pressing the A key. Again, hold CTRL, and press
the E key. Click on the parts tab on the bottom left of the screen that pops up. This
will open a spreadsheet of all your components. Scroll over on this screen until you
reach the footprints column. Type in the name of the footprints you have found for each
component.
Timothy Gramiccioni
Page 10 of 26
Page 11 of 26
Timothy Gramiccioni
Page 12 of 26
7.
Open Layout and click on File New. The Auto ECO screen will appear. The Auto
ECO screen is shown in Fig. 17.
In the Input layout TCH or MAX file box, press the Browse icon, and select the
default.tch file. In the Input MNL file box, browse for the netlist file that was
created. This file should be in the folder to which you have saved your Capture project.
Once this is done click Apply ECO.
A new file will open in your Layout program, and you will have a blank page with your
footprints and some connections that look similar to Fig. 18.
Timothy Gramiccioni
Page 13 of 26
Timothy Gramiccioni
Page 14 of 26
8.
The next step in the process requires making of the board outline. To make this outline,
first select Tools Dimension Move Datum. The datum is where the (0,0)
coordinates will be marked. This should be the in lower left corner of your board. Click
at a place on the screen where you want your datum, and the start of your board to be.
Next, select the obstacle tool which I have introduced before, and change its properties to
Board Outline as shown in Fig. 19. Make sure this is also set to Global Layer for the
Obstacle Layer.
Timothy Gramiccioni
Page 15 of 26
Before we start placing components, some user design settings must be changed. Go to
Options System Settings and change the settings as shown in Fig. 20.
Timothy Gramiccioni
Page 16 of 26
9.
To rotate a component you can click on the component and press R. To place a
component on the bottom layer, from the top layer, right click on the component and
click opposite.
After the board is placed, it should look something like Fig. 21.
Timothy Gramiccioni
Page 17 of 26
10.
Before routing the board, there are numerous things that must be taken care of first. To
start off, it may be useful to change the color of certain nets. For instance, your ground
nets, power nets, and clock nets should each be changed to a distinct color to make them
stand out and to ensure that they are not confused with other nets. The reason for this is
that these are very important nets that should be manually routed so that the traces are
short and straight. This will help guarantee that your circuit is working at peak
performance.
and selecting nets. A
We can start out by clicking on the View Spreadsheet icon
list of your nets will be given. You can begin by right clicking on your ground net and
selecting change color. You can change this net to any color you want (avoid red since it
will blend in with a copper pour). Do this for all of the important nets. You can see that
I have already done this in the image above (ground nets are green, power is blue). In the
same spreadsheet, it is necessary to change the trace width. I recommend that you do not
use a trace width any smaller then 15 mils, since there will be problems when etching.
Timothy Gramiccioni
Page 18 of 26
11.
A copper pour is put on the bottom layer of the board, and will act as a ground plane. To
set up for a copper pour click on Options User Preferences. The following window as
seen in Fig. 23 will appear.
Timothy Gramiccioni
Page 19 of 26
Timothy Gramiccioni
Page 20 of 26
Timothy Gramiccioni
Page 21 of 26
12. Layers
The last thing that must be done before routing is to select the layers that we will use, and
deselect the rest of the layers. Click the spreadsheet icon and choose layers. For this
board we will only be using the bottom and the top layers. There are other layers that
will be selected as routing layers from default. Hold CTRL and click on all the other
layers as I have shown in the following picture and set them to unused routing. (leave the
doc and drill layers as they are since they will not affect anything.
Timothy Gramiccioni
Page 22 of 26
Timothy Gramiccioni
Page 23 of 26
Timothy Gramiccioni
Page 24 of 26
Make sure that every trace is checked by hand to make sure that all of the connections are
made. It is possible to use the tool Auto Design Rule Check to make sure that all of
the connections are made. There will almost always be errors, however, you can check
and
the errors and make sure that they are not important by clicking on the Error tool
then the Query tool , and click on an error. The error number and the error type can be
seen in the Query window.
The board design is now done, and it is now time to fabricate the board.
15.
Take each transparency, and make sure that they are aligned with each other by lining up
all of the vias. Next, take a double sided presensitized copper clad board which has a
positive photoresist, and slip this board in between the two transparencies making sure
that the transparencies are still aligned.
Expose each side of the board to an Ultraviolet light source for 8 min on each side. It is
crucial to make sure that the transparencies do not move. If there is a slight movement,
the vias will not line up, and there will be problems when drilling your board.
NOTE:
After the board is exposed, submerge the board in a bath of sodium hydroxide (NaOH)
solution mixed to the ratio of 1 part NaOH to to 10 parts water. Lightly brush the board
to agitate the photoresist. The photo-resist that was exposed to the UV light will
dissolve, but the photo-resist that was not exposed to the UV will still be present. Make
Timothy Gramiccioni
Page 25 of 26
References
1. Data Sheet, Hex inverter, Fairchild Semiconductor Corp., Available at:
http://www.fairchildsemi.com/ds/74/74AC04.pdf, February, 2005.
2. Data Sheet, Power connector, CUI Inc, Available at:
http://www.cui.com/pdffiles/PJ-102A.pdf, June, 2006.
3. An OrCAD tutorial for ELEC 424, Rice University, Available at:
http://www.ece.rice.edu/~jdw/orcad/OrCAD_Tutorial/docs/tutorial.pdf, Spring 2002.
4. OrCAD Layout Users Guide, Available at:
http://www.egr.msu.edu/eceshop/pdf/layug.pdf, 1998.
Timothy Gramiccioni
Page 26 of 26