Unit 2: Electronic Circuit Simulation Package (Pt. 1) E3004 / UNIT 2
Unit 2: Electronic Circuit Simulation Package (Pt. 1) E3004 / UNIT 2
Unit 2: Electronic Circuit Simulation Package (Pt. 1) E3004 / UNIT 2
1) E3004 / UNIT 2/ 1
UNIT 2
OBJECTIVE
INPUT
In this module, you will use schematic capture method. This means simulating
schematic circuits which are drawn graphically. Another method is to write down
the program called “netlist”. It is like writing program in Pascal, C++ or other
high level languages. Drawing and simulating using schematic capture is of
course much more easier for you. It will easier for you to grasp the concept of
schematic capture simulation if you have little knowledge about netlist and its
contents. It will not be an objective for this module however to teach how to write
netlist.
2.0.1 Netlist
A netlist is a list of statement for each element/component used in the
circuit to be simulated. The netlist could be written manually. It could also
be generated automatically by Pspice from the schematic drawn. A netlist
could be read using any text editor program. A netlist consists of 3
elements :
2.0.1.1 Source element
2.0.1.2 Passive device element
2.0.1.3 Active device element
Below is a factor scale used for the component values in the netlist and in
schematic capture :
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 3
Using the toolbar icons is faster than using the fly down menus. You need to
know some very important tool icons which would assist you in drawing
schematic and in simulation setup. Below are some of the icons on the main menu
that you will tend to use a lot.
Before you start drawing a schematic diagram using the simulation software, you
have to have a blank schematic sheet.
Click on display options on the main menu. A blank schematic page is shown
below.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 6
Click on page size on the main menu. Set the grid on. The dots that appear on the
schematic sheet is called the grid. It is useful in guiding you to place parts on the
schematic sheet.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 7
The first thing to do before you start the drawing is to place your name and class
information on your schematic. This must be done for each new schematic you
create. In the bottom right corner of your schematic is a title block. To see this
block you must switch the page view of the schematic.
Click on view and then entire page.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 8
title block
Zoom into the title block by clicking view and In an point the cursor in the title
block. Doing this a few times and you will see it as below.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 9
To edit the title block, click on the title block icon or double click on the title
block graphic.
You are to edit the information that appears in the title block and key in the
information given below.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 10
The information keyed-in just now will replace the previous information and
displayed in the title block.
Components are called “parts” in Pspice Schematic Capture. All parts are kept in
‘libraries’. You have to browse a library to get a particular part as needed in the
circuit. The term “part” will be used from now onwards.
Click on draw and get new part.
ACTIVITY 2a
a b c g
e
d
f
3. Fill up the blanks for elements in a netlist.
4. Get a blank schematic page and set the page size to A4 size with the grid on.
Netlist
5. Focus on the title block. Edit the text in the title block and place your name,
course, class, institution and date.
6. You are to compile a scrap book that contains the lists of components and
their graphic symbols along with the descriptions for all the components kept
in a library. You may choose any one library from the library list.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 13
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 14
FEEDBACK 2a
Answer :
There are three types of people in this world: those who make things
There are three types of people in this world: those who make things
happen, those who watch things happen and those who wonder what
happen, those who watch things happen and those who wonder what
happened.
happened.
- Mary Kay
- Mary Kay
Ash
Ash
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 15
INPUT
Move the graphic to a place where you want to put the part. This is done by first
highlighting the part and then click and drag the part to the new intended location.
The graphic can also be rotated so that it can be vertically or horizontally
oriented. To rotate a graphic 90 degrees, press Ctrl-R key once. Pressing Ctrl-R
keys a few times will cause the graphic to rotate a few times also.
If you have done mistakes in choosing or placing the parts, you also can delete
that unwanted part by first highlighting that part and then press the delete key.
The parts that you placed on the schematic page need to be edited so that the
values and attributes are the same as the real circuit
Double click on the text or attribute to be edited and key in the new values as
shown below.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 17
Each part on the schematic page needs to be wired-up to form a complete circuit.
To place a wire, click draw and wire. You can also click on the pencil icon of the
tool bar. A pencil graphic will appear on screen.
Place wire
To place a wire between two parts, click the pencil once at at one end of a part
and drag the pencil to the other end of another part.
Pressing esc key once makes the pencil disappear but pressing the space bar after
the esc key will make the pencil reappear.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 18
To run the circuit, you must have at least one ground connection in your circuit.
To place a ground connection, click draw and then get new part.
Key-in “agnd” and the analog ground graphic symbol will be previewed.The
library location where agnd is kept is also listed.
You also need to label the nodes of the circuit. A node is a connection point of
two or more components. It is to identify points in a circuit.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 19
To label the nodes, double click on a wire. When set attribute value window
appear, key in the node label. You can use numbers or alphabets to label the
nodes.
Below is the set attribute value window and a circuit complete with grounding and
nodes labels. ( Points a, b and c are circuit nodes )
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 20
ACTIVITY 2b
FEEDBACK 2b
Answer :
- Coleman
Hawking - Coleman
Hawking
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 22
INPUT
After you have finished the schematic, you need to save it before running
simulation. Simulation will not run if the schematic file is not saved.
Your filename must not exceed 8 characters long and it must have the extension
.sch.
When the file is saved correctly the name of the circuit file is displayed at the top
of the schematic as shown below.
Saved file name
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 23
ACTIVITY 2c
Save the circuit that you have drawn in activity 2b. The filename of the circuit must have
the ‘sch’ extension.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 24
FEEDBACK 2c
Answer :
Please verify filename with your lecturer to see if you have saved it correctly or not!
You were not born a winner, and you were not born a loser. You are
You were not born a winner, and you were not born a loser. You are
what you make yourself be.
what you make yourself be.
- Lou Holtz
- Lou Holtz
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 25
SELF-ASSESSMENT
You are approachinging SUCCESS! Try to answer ALL the questions in this self-
assessment section and check your answers in the feedback section in the next page.
If you encounter any problem please discuss with your lecturer. Try your best and
SUCCESS is on your way! Good-Luck!!!
QUESTION:
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 26
FEEDBACK
ANSWERS TO SELF-ASSESSMENT
“According
“According to
to the
the proverb,
proverb, the
the best
best things
things are
are the
the most
most difficult”
difficult”
-Plutarch
-Plutarch
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 1) E3004 / UNIT 2/ 27