Professional Documents
Culture Documents
2) E3004 / UNIT 3/ 1
````````````````````````
UNIT 3
OBJECTIVE
Explain dc analysis.
Explain dc source.
Apply and set up independent dc sources.
Apply and set up dependent dc sources.
Apply and set up two dc sources in the same circuit.
Set up dc analysis
Explain output format.
Draw samples of dc analog circuits.
Measure dc voltage drop across a component.
Measure dc current flow in circuits.
Calculate dc operating point.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 2
INPUT
There are FOUR (4) types of analysis used in simulation process. Each
analysis has its own setup format. The analysis are :
DC Analysis
Transient Analysis
AC Analysis
Fourier Analysis
In this unit, you will learn about DC sources, DC analysis and their setup.
To run dc analysis, the circuit to be simulated has to have dc source. A dc
source generates dc voltage or dc current for the circuit to operate. No dc
analysis can be done to a circuit without a dc source connected to it.
3.1 DC SOURCE
a) Independent dc source
An independent dc source generates voltage or current by itself and
does not depend on other elements in the circuit.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 3
b) Dependent dc source
There are FOUR(4) types of dependent dc sources as listed below.
VCVS - Voltage Controlled Voltage Source
A voltage source that is dependent on the voltage of other
elements.
CCVS – Current Controlled Voltage Source
A voltage source that is dependent on the voltage of other
elements.
VCCS – Voltage Controlled Current Source
A current source that is dependent on the voltage of other
elements.
CCCS – Current Controlled Current Source
A current source that is dependent on the voltage of other
elements.
3.1.1 DC Source Setup
Get a dc source part called VDC from source.slb and place it on the
schematic sheet.
Double click on the dc source graphic and the partname window will
appear.
Highlight the DC = line and key-in the value 10V in the value box. Click
Save Attr button to save the new value.
Highlight the PKGREF = line and key in the designator of the dc source,
V1.
See the diagram below.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 4
If there are TWO(2) dc sources in the circuit, both the sources could
be varied in turns or simultaneously.
You would have to determine first of all, which of the two sources is
the primary source and the secondary source.
To set the attributes for the secondary source, click the nested sweep
box in the DC Sweep window. Key in the attributes of the secondary
source. Finally click ok.
Refer to the diagram below.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 7
ACTIVITY 3a
1. You will now apply what you have learnt from this unit about dc source and
dc analysis setups.
b. For the source, VDC1, get the dc source part from the library
source.slb\vdc
d. Set the attributes for the dc source, VDC1, by clicking twice on the source
graphic and then fill in the attributes.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 8
2. Reinforce your skills by again applying your knowledge to the circuit below.
b. For the sources, V1 and V2, get the dc source part from the library
source.slb\vdc
d. Set the attributes for the dc sources, V1 and V2, by clicking twice on the
source graphics and then fill in the attributes accordingly as illustrated.
e. Set the dc analysis setup. Set V1 as the primary source and V2 as the
secondary source. Set the attributes for V1 first. Then set the attributes for
V2 by clicking the nested sweep box and fill in the attributes as shown.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 10
FEEDBACK 3a
Answer :
Good, better, best; never let it rest till your good is better
Good,
and yourbetter,
betterbest; never let it rest till your good is better
is best.
and your better is best. - Anonymous
- Anonymous
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 11
INPUT
In this unit, you will learn simulation techniques to measure dc voltage and
dc current flow in an electronic circuit.
DC voltage and dc current flow are types of important data that a user
would want to know from a circuit.
Using simulation, the results are generated by Pspice and then compared
with the theoretical values calculated manually. This is to verify the values
calculated.
The above figure shown are the parts VPRINT1 and VPRINT2
hooked across two resistors using wire.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 13
ACTIVITY 3b
a. Calculate manually using a calculator, the voltage drops across all resistors
and current flows in all the circuit branches.
c. Enable dc analysis.
d. Do dc analysis setup.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 22
e. Run simulation.
f. Examine output file.
g. Check and compare the results generated by Pspice with the manually
calculated values.
2. You will still be using the manually calculated results in activity 3b1 and the
schematic drawn in dc2.sch with slight modification. You will now use the
second technique to measure dc voltage in a circuit.
a. Calculate manually using a calculator, the voltage drops across all resistors
and current flows in all the circuit branches.
c. Run simulation.
d. Observe and see whether the voltage drop values are displayed on the
schematic.
e. Check and compare the values with the calculated ones.
f. Which method of determining dc voltage is better in your opinion?
3. You will be using schematic saved as dc1.sch for this activity. This time you
will apply what you have learnt on how to measure current flow in circuit
dc1.sch.
a. Get new part called IPRINT and place it into the circuit dc1.sch in series
as illustrated.
b. Run simulation.
c. Check and compare the values with the calculated ones from activity 3b1.
4. You will be using schematic saved as dc2.sch for this activity. This time you
will apply what you have learnt on how to measure current flow in circuit
dc2.sch.
a. Get new part called IPROBE and place it into
the circuit dc2.sch in series as illustrated.
b. Run simulation
c. Check and compare the values with the
calculated ones from activity 3b1.
d. In your opinion, which current measuring
method is better?
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 24
FEEDBACK 3b
Answer :
“I“Ihear,
hear,I Iknow.
know.I Isee,
see,I Iremember,
remember,I Ido,
do,I Iunderstand.”
understand.”
- -Confucius
Confucius
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 25
INPUT
One of the first things you should do when you are simulating an amplifier circuit is
to check the transistor operating point. If the transistor bias is incorrect, none of the
other analyses will be valid. If another analysis does not make sense, check the
operating point. When Pspice finds the bias point, it assumes that all capacitors are
open circuits and all inductors are short circuits.
For BJT, the Bias Point Detail gives the collector current, the collector-emitter
voltage, and some small-signal model parameters at the bias point. The results of the
Bias Point Detail are contained in the output file.
After you have succesfully wired the the schematic circuit and saved the drawing,
follow these instructions:
i. Select Analysis and then Setup from the Schematic menu bar. You can also
click the button .
ii. Enable the Bias Point Detail button.
iii. Click Close to exit from the Analysis Setup window.
iv. Run the simulation. Click
v. The simulation window will appear as shown below:
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 26
vi. Click File and the Examine Output from the Pspice window pull down menu.
vii. The Windows Text Editor program will run and display the contents of the
output file as shown below:
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 27
viii. Scroll down the output file and you will see the Small Signal Bias
Solution and the Operating Point Information.
ACTIVITY 3c
Find the small signal bias and operating point for the transistor in the circuit below:
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 28
FEEDBACK 3c
Answer :
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 29
Greatminds
mindsdiscuss
discussideas;
ideas;Average
Averageminds
mindsdiscuss
discussevents;
events;Small
Smallminds
minds
Great
discuss people.
discuss people.
- -Elenor
ElenorRoosevelt
Roosevelt
SELF-ASSESSMENT
You are approaching 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 3-1 :
b. Set V2 = 10V and vary the value of V1 from 0V to 10V with the increment of
2V. (10pts.)
c. Get the DC value for :
i. Voltage across every resistor
ii. Current that flows in each resistor (10pts.)
d. Now, vary both V1 and V2 simultenously from 0V to 10V. Get the output
using the method in step (b).
(20pts.)
QUESTION 3-2 :
QUESTION 3-3
FEEDBACK
ANSWERS TO SELF-ASSESSMENT
a.
b.
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 33
V2 = 0V
V2 = 2V
V2 = 4V
V2 = 6V
V2 = 8V
V2 = 10V
ELECTRONIC CIRCUIT SIMULATION PACKAGE (PT. 2) E3004 / UNIT 3/ 34
V2 = 0V
V2 = 2V
V2 = 4V
V2 = 6V
V2 = 8V
V2 = 10V
d. R – analog.slb
VDC – source.slb
AGND - port.slb
b.
c. Ic = IB
= (160 ) (38.5A)
= 6.16 mA
“If
“If AAequals
equalssuccess
success, ,then
thenthe
theformula
formulaisis: :AA==X+Y
X+Y++ZZ. .
XXisiswork.
work.YYisisplay.
play.ZZisiskeep
keepyour
yourmouth
mouthshut.”shut.”
- -Albert
AlbertEinstein
Einstein