Module Orcad
Module Orcad
LAB MODULE
CO5 : OrCAD
LEVEL OF COMPLEXITY
1 2 3 4 5 6
√ √ √ √
Table of Contents
i
Laboratory Manual for Engineering Skills CO5: OrCAD
LAB 1
Figure 1-1
1 The Initial Window of OrCAD Capture
3. This option will invoke the New Project dialog box, as shown in Figure 1.2 below.
You should name your project as LAB1
LAB1, and create new project using PC Board
Wizard and select your own project folder as shown in Figure 1.3.
1
Laboratory Manual for Engineering Skills CO5: OrCAD
4. Then, PCB Project Wizard dialog box as shown in figure below displays,
displays just click
Next to continue.
2
Laboratory Manual for Engineering Skills CO5: OrCAD
5. The next step is to load libraries of parts which will be available to you when you
are drawing the circuit schematics. The dialog box is for adding and removing
libraries is shown Figure
igure 1.5 below. You might add or remove the libraries later,
later
now click Finish and continue to draw the schematic.
Figure 1-5
5 Add or Remove Libraries Dialog Box
6. Figure 1-6 below shows the user interface of OrCAD Capture when it is tiled
vertically. Noticed that there are 3 child windows inside the OrCAD Capture
parent window.
i. Project manager window (lab1.opj) – this window lists all the relevant
information of the project.
ii. Schematic design window – this is where you will do your schematic
design.
iii. Session log window – this window list all your activity and output.
3
Laboratory Manual for Engineering Skills CO5: OrCAD
1. On the right hand side of the user interface, you will find the toolbar that is
needed to aid you in your drawing. Description of the toolbar is available in Table
1-1 below.
Tool Description
Place part to place any parts from OrCAD ca
capture library
Place wire to place wire on design
Place net alias to name any net on the design
to connect two crossing wire, place once again to cancel
Place junction
the connection
Place power to tag any net to power source
Place ground to tag any net to ground source
Place no connect To indicate any pin as a no connect pin
4
Laboratory Manual for Engineering Skills CO5: OrCAD
R1 R2
10k 47k U1
NE555
7
DSCHG 3
5 OUT
4 CV R3
6 RST 470
2 THR
GND
8 TRG
VCC
TRIGGER D1
1
C1 SW1 LED
0.01uF C2
100uF
3. When finish drawing the schematic, select all component from the Edit menu or
by pressing Ctrl+A. Then, from Edit menu, click Properties or Ctrl+E to edit the
properties of all the parts. The window as in figure below appears. Choose filter
by Layout. Select Parts tab.
5
Laboratory Manual for Engineering Skills CO5: OrCAD
6
Laboratory Manual for Engineering Skills CO5: OrCAD
7
Laboratory Manual for Engineering Skills CO5: OrCAD
4. If DRC does not give any error, proceed to creating netlist for PCB Layout.
Layout If
otherwise, you must identify and fix the problems.
8
Laboratory Manual for Engineering Skills CO5: OrCAD
+9V +9V
J1
1
2
R1 R2 CONN_2
10k 47k U1
NE555
7
DSCHG 3
5 OUT
4 CV
6 RST
2 THR
GND
8 TRG
VCC
TRIGGER
D1
1
LED
SW1
C1
0.01uF C2
100uF
6. To create netlist for PCB, cchoose Tools>Create Netlist or click button from
the toolbar. Netlist menu as in Figure 1-15 below appear.. Select the desired
netlist type by clicking
ing the Layout tab. Click OK to create netlist. Save your design
by clicking OK for the next dialog box. Be sure that the user properties are set to
inches.
9
Laboratory Manual for Engineering Skills CO5: OrCAD
LAB 2
2.2 Introduction
2.2.1 OrCAD Layout
1. OrCAD Layout is a powerful circuit board layout tool that has all the automated
functions you need to quickly complete you board. The chart in the figure below
illustrated Layout’s design flow.
10
Laboratory Manual for Engineering Skills CO5: OrCAD
2. Figure above shows that by using OrCAD Capture, we can create a Layout- Layout
compatible netlist. This netlist contains design information that Layout uses to
produce the board. Next step is placing component
components s by using OrCAD Layout, we
can either manually route or autoroute the board. As an output, OrCAD Layout
will produces hardcopy on printers and plotters, and also Gerber files for Gerber
photoplotter, and a wide variety of report files. We can preview or e even
ven edit a
Gerber files with Layout’s external Gerber editor known as GerbTool.
1. All PCB are divided into layers. OrCAD Layout supports up to 30 routing layers, it
displays the PCB from a top view. Layers can be a copper layers or
documentation
tation layers. Base on this consideration, we need to clarify this
particular information such as number of layers, size and shape of the PCB, PCB
fabrication plant specifications that include minimum trace and space width,
plating reduction and available drills.
1. Run OrCAD Layout program, select options File>New as shown in figure below.
Figure 2-2
2 Initial Window of OrCAD Layout
2. Layout window will appear with Load Template File dialog box as shown in Figure
2-3 below, choose DEFAULT template to use in this design. Template can be
found in folder OrCAD>Layout>DATA.
11
Laboratory Manual for Engineering Skills CO5: OrCAD
3. Next, Load Netlist Source dialog box appear. You need to load your netlist file
that you have created in the previous session, which is PCB1_YOURNAME.MNL
as shown in figure below.
12
Laboratory Manual for Engineering Skills CO5: OrCAD
4. You will be asked to save your board file, save your board as
PCB1_YOURNAME in your own folder as shown below.
13
Laboratory Manual for Engineering Skills CO5: OrCAD
5. If there were no error during AutoECO process, your design will appear to be as
in figure below. However if there are errors,
error , Layout might abort the process and
you will need to identify and fix the problem accordingly.
1. If you are in the process of running AutoECO and it is unable to find a designated
footprint, the ‘Link
Link Footprint to Component
Component’ dialog box appears. Choose one of
the options in the dialog box to reresolve the error so that the AutoECO process
can continue.
14
Laboratory Manual for Engineering Skills CO5: OrCAD
Figure 2
2-8 Select Footprint Dialog Window
3. Choose the Add button in the Select Footprint dialog box to add additional
footprint libraries,
raries, if necessary.
15
Laboratory Manual for Engineering Skills CO5: OrCAD
1. OrCAD design window settings are controlled by system settings and user
settings. To change system settings, select options Option>System Settings.
Dialog box as in figure below display.
16
Laboratory Manual for Engineering Skills CO5: OrCAD
2. Choose Obstacles tool using button, right click in the window and choose
New. Draw the obstacle as shown in figure below.
17
Laboratory Manual for Engineering Skills CO5: OrCAD
3. Left click and then right click on the obstacles, choose Properties. Edit Obstacles
dialog box display as shown in figure below. Select Obstacles Type to Board
Outline.
18
Laboratory Manual for Engineering Skills CO5: OrCAD
4. Now, click on the button to view the spreadsheet and select Layers. Layers
spreadsheet as in figure 2
2-13 appears.
5. Click on the layer type column of layer name TOP, right cl click
ick and choose
properties. Select Layer Type to Unused Routing as shown in figure below. Do
the same modification to INNER1 and INNER2 layers. As routing will be on the
bottom layer only, the PCB is a single layer board (single
(single-sided
sided PCB). Click OK
and close
se Layers dialog box.
19
Laboratory Manual for Engineering Skills CO5: OrCAD
6. In order to begin routing, you need to set net properties, choose the spreadsheet
toolbar again and select Nets. The Nets spreadsheet displays as shown in figure
below.
7. Double click on net you want to edit, the Edit Net dialog box displays as shown in
figure below. Modify the sett
settings that you want and click OK. Try changing
anging the
+9V and GND net width to 20 mils.
20
Laboratory Manual for Engineering Skills CO5: OrCAD
21
Laboratory Manual for Engineering Skills CO5: OrCAD
Figure 2-18
18 Sample of a Completed Board Routing
9. Next, after the routing is done, choose Auto>Cleanup to smoothes the route on
the board.
10. If there any modification that need to be done to route, you can click on the
button and click on the particular net and do manual routing.
22
Laboratory Manual for Engineering Skills CO5: OrCAD
LAB 3
3.1 Objectives
At the end of this session you should be able to:
to:-
(i) create new schematic part
(ii) create new footprint
(iii) updating design of printed circuit board
2. Run your OrCAD Capture software and create new library by clicking
File>New>Library. A Project Manager Window will appear indicating new library
has been created. Maximize your Project Manager Window if necessary.
23
Laboratory Manual for Engineering Skills CO5: OrCAD
3. Our library need to be saved in our preferred location, therefore, click on the
library name as indicated in figure 3-2
2 above, then click File>Save As. A Save As
dialogue box popped-out
out
24
Laboratory Manual for Engineering Skills CO5: OrCAD
4. In the ‘Save As’ dialogue box, select the location and give name to the library as
‘Libary1.olb’. Choose ‘D:‘D:\Orcad\your_name\Lab3’
Lab3’ as your destination folder.
Ensure that in ‘save as type’ combo box, ‘capture library (*.olb)’ is selected. Click
‘save’ to save the library. You have created a blank library named as library1 at
this point.
5. In order to create a new part in the library, click the library name in the Project
Manager Window to highlight it, then click Design>New Part. A New Part
properties window will popped
popped-out
25
Laboratory Manual for Engineering Skills CO5: OrCAD
7. Blank part editor as Figure 3-66 above appears. The dotted line shows the area
that you can use to draw your part. You may adjust its size by clicking at any
corner of it, and drag it to the size you want. Next, click Place>Rectangle and
draw the body outline of your part.
8. Click Place>Pin to add pins to the part. When adding pins, dialogue box as in
figure 3-7
7 appears. You have to add 2 pins named ‘1’ and ‘2’ to the part, ensure
that the pin shape configured to ‘Dot’ and pin type configured to ‘Passive’. Note
26
Laboratory Manual for Engineering Skills CO5: OrCAD
that after adding pin, the pin name appears above the pin line, and the pin
number appears next to its line.
9. After completion of your work, your part should look like this. Close the part editor
window to go back to project manager window. Ensure that you save your work
when prompted.
Figure 3-9 OrCAD Capture Library with the New Part in the List
27
Laboratory Manual for Engineering Skills CO5: OrCAD
10. Your project manager window will show that your library now has one part in it.
Click File>Save to save it. At this point you have finished creating your part with
CONN_2 as its name.
2. Run OrCAD Layout program, select Tools>Library Manager. The dialog window
as shown in figure below will appear.
28
Laboratory Manual for Engineering Skills CO5: OrCAD
3. To create new footprint, click on tab Create New FootprintO, the dialog box as
shown in figure below display. Put CONN_J1 to the Name of Footprint and
choose English as Units. Click OK.
29
Laboratory Manual for Engineering Skills CO5: OrCAD
5. At first, you will be given a pin and a few text in your footprint design window. At
first we have to modify the padstack. Click the pin and press escape to release it
back. This is to make the pin to be the current focus object. Open the
spreadsheet>padstacks, a pad stack table appears, with the padstack in use for
pad 1 is highlighted. Modify the pad height and pa pad
d width of DRILL and
DRLDWG to the correct drill size of Ø1.3mm
30
Laboratory Manual for Engineering Skills CO5: OrCAD
6. Now, you have to add another pin to it. Click spreadsheet on your toolbar, and
click footprint, a footprint window
wind appears. Right-click
click on ‘Pad 1’ and click new to
add new pin. An ‘Add Pad’ window appears for adding the details of the new pad.
Key in as indicated in the following figure. When you click OK, the pad list and the
footprint design will be updated to reflect
ref the changes you have made.
7. Next you have to draw the physical border of the part, you use obstacle to draw
them. Click on the obstacle toolbar, right
right-click on any part of your
our drawing area,
click new to begin drawing new obstacle. But, before you begin, right-click
right click once
again and choose properties to set properties of your obstacle. Key in the details
as in the following figure.
31
Laboratory Manual for Engineering Skills CO5: OrCAD
Figure 3
3-17 Save Footprint Dialog Window
32
Laboratory Manual for Engineering Skills CO5: OrCAD
2. Click Place part and choose Add Library button to add your previously design
part library. Select the library file that have been created before. You may have to
browse to your previousous folder to access the file.
33
Laboratory Manual for Engineering Skills CO5: OrCAD
Figure 3-20
3 Place Connector onto the Circuit
4. Edit the properties of both of the connectors, use the same PCB footprint that
you’ve already created as its footprint. For updating purpose, you’ll need to once
again annotate the design and create its new netlist.
34
Laboratory Manual for Engineering Skills CO5: OrCAD
Figure 3-21
21 Netlist Changed Notification Window
6. Your design now has been updated, start placing component and routing as
usual,
sual, but this time configure your PCB to be a double layer PCB. Change Layer
Type of layer INNER 1 and INNER 2 to Unused Routing but leaving TOP and
BOTTOM Layer Type to Routing. Start routing the board by choosing autoroute
mode. Save and close your work
work.
35
Laboratory Manual for Engineering Skills CO5: OrCAD
LAB 4
4.1 Objectives
This lab is an exercise for you. After performing this lab exercise you should be able
to:-
(i) Create a double-sided printed circuit board
(ii) Produce Gerber files
4.2 Procedure
1. Run OrCAD Capture program, draw a circuit as in Appendix B, save the project
as PCB2_yourname into your own folder. List of all the component involve are as
follows.
2. Find the correct footprints for each one of the part by referring to Library Manager
of OrCAD Layout. Verify with instructor before proceed to the next step.
3. When finish, start annotating and create netlist for the schematic.
4. Open OrCAD Layout program, load netlist file and save the board as
PCB2_yourname.
36
Laboratory Manual for Engineering Skills CO5: OrCAD
6. When finish, view the spreadsheet and select Layers. Change Layer Type of the
layer INNER1 and INNER2 to Unused Routing but leaving TOP a and
nd BOTTOM
layer type to Routing.
9. If there are no errors, proceed with creating Gerber files for the board. Select
Options>Gerber SettingOto view the settings, for post process settings select
Options>Post SettingO
10. To produce Gerber files for the board, select Auto>Run Post Processors. Click
OK to both of the dialog boxes that appear as shown below.
37
Laboratory Manual for Engineering Skills CO5: OrCAD
11. To view a Gerber file of the design, from OrCAD Layout window, select
Tools>GerbTool>Open.
Open. Choose file PCB2_YOURNAME and click OK. Show the
PCB2_YOURNAME-GerbTool
GerbTool window to the instructor for verification.
38
Laboratory Manual for Engineering Skills CO5: OrCAD
39
Laboratory Manual for Engineering Skills CO5: OrCAD
Component Footprint
LM7812/TO TO220AB
LM7805/TO TO220AB
TRANSFORMER BLKCON.100/VH/TM1SQS/W.100/4
R AX/.450X.100/.034
CON2 BLKCON.100/VH/TM1SQS/W.100/2
LED CYL/D.225/LS.100/.031
BRIDGE BLKCON.100/VH/TM1SQS/W.100/4
C (C1) CYL/D.350/LS.200/.031
C (C2 and C3) CYL/D.200/LS.100/.031
Table B 1 PCB Footprint for LAB 4
40
Laboratory Manual for Engineering Skills CO5: OrCAD
TO220AB BLKCON.100/VH/TM1SQS/W.100/4
AX/.450X.100/.034 BLKCON.100/VH/TM1SQS/W.100/2
CYL/D.225/LS.100/.031 CYL/D.350/LS.200/.031
CYL/D.200/LS.100/.031
Table B 2 PCB Footprint for LAB 4
41
J2
OUTPUT
+5V
+5V
1
+24V 2
INPUT
1
240V
D2
T1 CON2
1 5 U1 LED
J1 1
CON2 2 2 - + 4 R+ 1 2
GND
VIN VOUT
4 8
D1 C1 C2 R1
TRANSFORMER BRIDGE 100uF LM7805/TO 10uF 470
3
-24V
3
+12V
U2 J3
OUTPUT
+12V
R+ 1 2 1
GND
VIN VOUT 2
C3 D3
LM7812/TO 10uF CON2
3
LED
R2
680
42