Upload
ahmed58cn
View
245
Download
0
Embed Size (px)
Citation preview
8/6/2019 Cadence Presentation
1/17
Getting Started with Cadence
Compiled by Ryan JohnsonApril 24, 2002
Open Orcad Capture under Engineering
Software
Under FILE,
choose NEW, PROJECT
The following box should appear
To simulate a design, choose Analog
or Mixed A/D.
Choose where you will save it and
what you
willc
all it.
ClickOK
8/6/2019 Cadence Presentation
2/17
In the next box, choose if you want to
create a blankproject or
one based on an existing project.
ClickOK.
A blank schematic page will appear.
This is where you will draw your schematic.
Important:
N
otic
e that there is a PSpic
e menu
on the menu
bar.I
f this is not there, you
will not be able to simulate your circuit.
8/6/2019 Cadence Presentation
3/17
When youcreate a new project, a windowwill appear that shows the design
hierarchy. This is where youcan
access all the files associated with
your project.
It keeps a list of things such as:
Schematics
Parts used
Simulation profiles
Libraries used
Etc
To get to this window from your schematic,
choose the Windowtoolbar and then
choose the name of the project you
want to view (*.opj)
8/6/2019 Cadence Presentation
4/17
Getting Familiar with the Toolbars
The top of the schematic page will have the following toolbar:
Zoom buttons are here:
The parts that youuse will be listed here for easy access:
These buttons are used for measurements on your schematic during simulations:
These buttons are used for creating a new simulation profile, changing the profile
characteristics, and running your simulation:
8/6/2019 Cadence Presentation
5/17
This toolbar gives shortcuts for building the circuit.
Place a part button:
Draw a wire button:
Place power node button:
Place GND button:
8/6/2019 Cadence Presentation
6/17
To place a part on your schematic,
in Place menu,
choose Part.
The following box will appearYou have to add the specific
libraries to your project of the
parts you will use.
ChooseAdd Library
Circuit Creation
8/6/2019 Cadence Presentation
7/17
The libraries that contain parts that will
allow you
to simu
late are fou
nd infolders labeled PSpice.
These parts have PSpice model
attributes with them.
Choose the libraries that you want to add.
Sometimes it is hard to know what
library parts are in. If youknow
the name of the part that you want,
youcan also search for the part.
8/6/2019 Cadence Presentation
8/17
The parts found in the library are
listed here:
Select the part that you want to
place.
Your project profile
will keep a
record of each type
of part youuse in a
place called
Design Cache.
8/6/2019 Cadence Presentation
9/17
To change the values of the parts, double clickon the part. The
following page should appear:
To view only the Spice (or simulation) properties of the components,
change this box to Orcad-PSpice. Once done, the page will only show
the parameters that affect simulations. Change the value of the
component, clickApply,and exit the page.
8/6/2019 Cadence Presentation
10/17
While you place your parts, use the wire button to place wires.
I
t is fou
nd on the right-hand side toolbar. Mak
e su
rethat you have good connections.
Cadence is really picky about which GNDyouuse when simulating a
circuit. To get this GND,choose the GNDbutton.
The following box should appear where youcan add a
library that contains the proper GND. The library shouldonce again come from the PSpice folder as these parts have
simulation attributes
with them. The best
way to know that you
have the right one is bychecking if it has a
zero next to it.
8/6/2019 Cadence Presentation
11/17
If you need to change the internal parameters of the component, clickon the component so
that it is highlighted. Under the Edit menu, choose PSpice Model. The following
widow
should appear.
Change the parameters
that need to be
changed, and then save
it. This will force the
same parameters
for this type of
component in
this project. Next
time that youuse this
piece in this project,
it will have these
changed parameters.
8/6/2019 Cadence Presentation
12/17
There are a couple of different ways to checkfor errors in your circuit. The first is bycreating
a netlist.
Under the PSpice menu, choose Create Netlist.
Youcan view the netlist bychoosingView Netlist, under the same PSpice menu.
The next way is to actually simulate the circuit.
To simulate, you need to create a new simulation profile. Under the PSpice menu,
choose New Simulation Profile. The following window will appear so that youcanname it. Youcan also choose which schematic you want it to associate with.
8/6/2019 Cadence Presentation
13/17
Once you have named it, clickOK, and the following simulation settings widow will pop up.
This is where youchoose what you want to do when you simulate.
In this menu, youcan choose
what type if simulation to
do (Transient, DC Sweep,
AC Sweep, or Bias Pt)
There are options for each
type of simulation.
If you want to restore your
last simulation data
points, you would click
to this menu. The last
simulation will not be
overwritten.
Once you have everything figured to how you want it, clickOK. To simulate, you need
to push the play button.
8/6/2019 Cadence Presentation
14/17
Once you push Run, the following widow will appear as Spice checks for errors and
completes the simulation.
8/6/2019 Cadence Presentation
15/17
Then, the simulation results will appear.
If you have measurement markers placed on the circuit, the waveforms will appear. If not,
then you need to tell Spice which results to display.
To do this, in Spice chooseTrace,Add Trace. The following window will appear. Choose
the results you would
like to view.
8/6/2019 Cadence Presentation
16/17
Sample Circuit
(with Sample Simulation)
out1
V2
12V
out2
Q4Q2N2222
V
V1
V3
-12V
VEE
0
C1
5p
RBIAS20k
V
RS2
1k
Q2Q2N2222
VDD
0
Q3Q2N2222
RC210k
VEE
Q1Q2N2222
RC110k
0
VDD
RS1
1k
8/6/2019 Cadence Presentation
17/17