





Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






EEL 3302 Electronics I : PSPICE Assignment # Due Date: March 6th, 2006, 5 pm. Burn the necessary files on a cd and hand them over to the TA. This assignment will be submitted on a cd using the following procedure:
In the subject line type the following: name_PSPICE e.g. Subject: AnnJoseph_PSPICE Zip up all files in the directory you created so that the simulation will run when we receive it. Please include your name and Student ID number on each schematic page so you can be properly identified.
Grading Your grade will be assigned as follows:
TEST YOUR SCHEMATIC BY MAILING IT TO YOURSELF BEFORE SUBMISTION!!! Spice project philosophy:
You are allowed, and encouraged, to work together to assist each other on your project.
All work submitted for grading must clearly represent individual and independent work. Therefore each person must submit an individual assignment based upon his/her work.
Your submission of this assignment certifies that you understand the above and confirm that the work you submitted is yours and yours alone.
ZERO TOLERANCE AND NO WARNINGS will be given. Punishment for cheating will result in a grade of “FF” for the course followed by expulsion from the University.
See the USF policy at http://www.ugs.usf.edu/catalogs/0304/adadap.htm
Part 1. Bode Plots
A. For the following circuit, find the values of R1 and C1 such that the 3dB frequency of the circuit is 1KHz.. You must use a value of resistance, Rsn# equal to the last four digits of your Student ID #. The name of the part for the input source is VAC. Its magnitude must be set to 1, so that the transfer function may be easily evaluated at Vout.. You s hould perform a hand calculation first to approximate R1 and C1.
You should place a pin at the output and name it Vout to do so click on the place power button on the right hand side of the screen as shown below.
Vin 1Vac 0Vdc
C Z
R Y
Rsn#
X
0
Vout
T his window will open up a number of symbols by which you may use to name certain nodes. In the CAPSYM library, click on the part VCC as shown below. If the CAPSYM library is not present, you may simply add it by click on the Add Library and selecting it from the library folder. Next double click on the name VCC and place it in your schematic. You may rotate the pin by right clicking on it. Double left clicking on the name VCC will allow you to rename the pin to Vout
After you have entered, the sweep information, run the simulation, and the PSpice A/D Lite window will appear. Select TRACE from the top of the screen, then ‘add trace’. Click on the Functions or Macros button and select Plot Window Templates as shown below. You will now need to use the Bode Plot template provided for you.
Select Bode Plot dB – separate(1)
This will now place the expression “Bode Plot dB – separate()” into the Trace Expression box. This box can be used to form any mathematical expression. The simulation variables, which are available to form expressions, are shown on the left. Voltages and currents expect arguments that tell specifically what voltage and current is to be plotted. The voltage V(Vout) designates the voltage at the node Vout just like the current through R1 is specified by I(R1). You must now fill in the brackets for the template to know what voltage it is to plot. This is why a pin was placed at the output, so that the node could be named. Enter V(Vout) inside the brackets for the Trace Expression: “Bode Plot dB – separate(V(Vout))”, and a Bode plot will appear giving both magnitude in dB, and the phase angle in degrees. Use the toggle cursor button, and the mark label button as in PSpice Assignment 1 to help verify, and tweak your component values. You will also want to change the sweep frequency to a much marrow margin around the 3dB point, so that a lesser amount of interpellation will occur. You may also increase the number of points per decade for the sweep as well. Notice there is a specific amount of attenuation until the 3dB frequency. Also check to make sure that you have a 45° phase margin at the 3dB point. Many times it is easier to check the phase margin on this type of plot than it is to compare where the 3dB is. A sample output is shown on the following page.
Part 2. IV Characteristics of the NPN and PNP BJT
The following simulations will help you gain a better understanding of the NPN BJT and the PNP BJT, and the difference between them. It will also show you how the base current controls the collector and emitter current. Create a new project with the appropriate name convention, and draw the following two schematics shown below. Label each terminal as shown. Your only task here will be the proper simulation of both circuits. Use the Q2N2222 for the NPN BJT, and the Q2N3906 for the PNP BJT.
Required Simulations:
Create two separate simulation profiles for each of the following DC Sweeps. Under the options for the DC Sweep you will have to check on the box for Secondary Sweep to enter the Secondary Sweep information.
Both plots will resemble the ones on the following page. Notice that the emitter current is plotted for the PNP BJT. PSpice will plot a negative value for collector current for the PNP BJT to designate the current’s direction. The emitter current and the collector current are approximately equal. You may plot the emitter current for the PNP, or you may multiply the collector current by –1 in the trace expression box to force it to be plotted on the positive y-axis.