

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
A design project for an operational amplifier circuit in which students are required to calculate circuit elements, write the netlist or spice deck using an ascii text editor, and perform a spice simulation. The project involves using specific spice model statements for jfet and bjts, labeling node numbers, specifying dc bias values, and calculating various circuit parameters such as gain, bandwidth product, and slew rate. Students must also perform various spice analyses to verify the circuit's performance.
Typology: Study Guides, Projects, Research
1 / 3
This page cannot be seen from the preview
Don't miss anything!


ECE3050 Summer 2005 Design Project
The figure shows the circuit diagram of an operational amplifier. The object of this assignment is to calculate the circuit elements and perform a SPICE simulation. You must write the netlist or SPICE deck for the assignment. You are not permitted to use a schematic editor to generate the netlist. To do this, you use an ascii text editor. Such an editor is part of both PSpice, Notepad, or Wordpad
. The first line of the netlist must be a title line. You can title it ECE 3050 DESIGN PROJECT. A suggested name for the ascii netlist file is opamp.cir. Comment lines must be preceded by an asterisk. Continuation lines must be preceded by a plus sign followed by a space. Write the netlist using all capital letters.
For the JFET and BJTs in the circuit, you are to use the following SPICE MODEL statements:
J 1 .MODEL MNJF1 NJF BETA=5E-4 VTO=-3 LAMBDA=0. Q 1 , Q 2 , Q 5 − Q 7 .MODEL MNPN1 NPN IS=1.26E-14 BF=149 VA= Q 3 , Q 4 , Q 8 .MODEL MPNP1 PNP IS=1.26E-14 BF=149 VA=
where BF for the BJT is its β. The other parameters should be self explanatory. In your calculations for the resistors, you can neglect the Early effect, i.e. set VA = ∞ and λ = 0. In addition, with the exception of Q 5 and Q 6 , neglect all BJT base currents, i.e. set IB = 0.
First, label the node numbers for each node in the circuit. The ground node must be labeled 0. Voltage sources are of the form VX N1 N2 AC ACVAL DC DCVAL, where VX is the source name, N is the positive node, N2 is the negative node, ACVAL is the ac phasor value, and DCVA is the dc value. Current sources are of the form IX N1 N2 AC ACVAL DC DCVAL. The arrow in the current source symbol points from the N1 node to the N2 node. Resistors and capacitors are specified as RX N1 N2 VALUE and CX N1 N2 VALUE. BJTs are specified as QX NC NB NE QMDL, where QX is the BJT name, NC, NB, and NE, respectively, are the collector, base, and emitter nodes, and QMDL is the model name. JFETs are specified as JX ND NG NS JMDL, where JX is the JFET name, ND, NG, and NS, respectively, are the drain, gate, and source nodes, and JMDL is the model name.
The first step in any design is to specify the dc bias values. These are specified to be V +^ = 18 V, V −^ = −18 V, VO = 0 V, ID 1 = 1.5 mA, IC 3 = 0.5 mA, IC 4 = 1.5 mA, IC 6 = 2 mA, and IE 7 = IE 8 = 2 mA. The small-signal ac gain with feedback can be approximated by the equation
vo vi
This is the familiar gain formula for the non-inverting op-amp amplifier. The gain is specified to have a value of 10 (20 dB). The value of RF 2 is to be 10 kΩ. The value of CF is to be calculated so that 1 / (2πRF 1 CF ) = 10 Hz. The value of RL is specified to be RL = 1 kΩ. The value of both R 1 A and R 1 B are specified to be equal to RF 2. The value of C 1 is to be calculated so that 1 / (2πR 1 B C 1 ) = 10 Hz. The values of RE 7 and RE 8 are to be 10 Ω.
The circuit is to be designed for the gain-bandwidth product fx = 1 MHz and the slew rate SR = 10 V/ μs. The approximate design equations which set these parameters are
fx =
4 π (re + RE ) Cc
2 Cc
where re = 2VT /ID 1. You can use these equations to solve for the values of RE and Cc. The default value of VT in SPICE is 25 .86 mV. This value should be used in the calculations.
The voltage across RE 6 is specified to be 0. 5 VBE 6 , where VBE 6 is the base-emitter voltage. You can use the transistor collector current equation to calculate VBE 6. To calculate RC 1 , use the transistor collector current equation to calculate VEB 3 and VEB 4. Then neglect the base currents in Q 3 and Q 4 to calculate RC 1 = (VEB 3 + VEB 4 ) /IC 1. The current through R 5 is specified to be 20 IB 6. The voltage across RE 6 is specified to be equal to VBE 6. If the base currents in Q 7 and Q 8 are neglected, the current through the VBE multiplier is equal to IC 6. The VBE multiplier is to be designed so that IE 5 = 0. 9 IC 6 and the current through R 3 is 0. 1 IC 6.
SPICE Analyses:
Verify that this frequency mul- tiplied by the mid-frequency gain of 10 is equal to fx.
Plot the open-loop gain as a function of frequency by plotting Vo/ (Vb 1 − Vb 2 ).
Perform a dot-TRAN analysis using a voltage step at the input of value 1 V. Plot the output voltage as a function of time and evaluate the maximum slope. This should be equal to the positive slew rate. With 1 V input, the output should rise to 10 V.
Perform a dot-TRAN analysis using a voltage step at the input of value −1 V. Plot the output voltage as a function of time and evaluate the maximum slope. This should be equal to the negative slew rate. With −1 V input, the output should fall to −10 V.
Perform a dot-TRAN analysis using a sine wave at the input with a frequency of 1 kHz. Increase the amplitude of the sine wave until the op amp is driven just to the clipping level. Is the clipping symmetrical? Obtain a plot of the output voltage.
Set Vi = 0, replace RL with a 1 A ac current source. Perform a dot-AC analysis and plot Vo as a function of frequency using log-log scales. This plot is a plot of the small-signal output impedance of the op amp.
In your write-up, include calculations, a copy of the circuit diagram with all SPICE nodes numbered, and a copy of the netlist. Include a copy of the dot-OUT file showing all dc bias currents and voltages. Include all frequency response plots and all transient response plots. Title all plots and label pertinent values on the plots, e.g. mid-band gain, lower cutoff frequency, upper cutoff frequency, gain-bandwidth product, slew rates, etc.