EE 420L - Lab 4

Op-amps II, gain-bandwidth product and slewing 

 

Authored by Nicholas Moya

February 26th, 2015

moyan1@unlv.nevada.edu

  

This lab report details the function of the LM324 op-amp and answers questions detailing its gain (for both the non-inverting and inverting topology), gainbandwidth product, frequency, and slew rate.

The following questions and experiments operate the op-amp with VCC+ = +5V and VCC- = 0V.

 

(Q) Estimate, using the datasheet, the bandwidths for non-inverting op-amp topologies having gains of 1, 5, and 10.

 

 open_loop_frequency_response.JPG gain_bandwidth_product.JPG

 

 (A) We can calculate a bandwidth given a gain in two ways:

 

 Gain 1:

 1) First, we may look at the Open Loop Frequency Response graph and, given our gain, we may trace an approximation of our bandwidth. A gain of 1 V/V equates to 0 dB making our bandwidth about 1MHz.

 

 2) A second way of calculating our bandwidth is to use our Wide Gain Bandwidth equation:

                                  Gain Bandwidth = Gain x Frequency

 

 Thus, if our Wide Gain Bandwidth is 1.3MHz, and our gain is 1 V/V, we can say:

                                  1.3M = 1 x f

 which of course means:

                                   f = 1.3MHz

 

 Gain 5:

1) A gain of 5 V/V translates to about 14 dB, which we can trace to a frequency of about 300kHz.

2) Using the Gain Bandwidth equation, we calculate a bandwidth frequency of about 260kHz.

 

 Gain 10:

1) A gain of 10 V/V translates to about 20 dB, which we can trace to a frequency of about 100kHz.

2) Using the Gain Bandwidth equation, we calculate a bandwidth frequency of about 130kHz.

 

 (Q) Experimentally verify these estimates assuming a common-mode voltage of 2.5 V.

 

 Gain 1:

 gain_1.JPG

 Non-inverting topology, gain of 1 V/V, 2.5 VCM

 

 To calculate the bandwidth at the gain of 1, we must find the frequency at which 

                                    Vout = (1/sqrt(2))*Vin

 for Vin = 200mV, this means Vout = 144mV and we find this output at a frequency of 400kHz.

 

 WP_20150225_20_24_33_Pro.jpg          WP_20150225_20_24_27_Pro.jpg
 Frequency generator at 400kHz, Vin = 100mV                                       Oscilloscope displaying Vin = 200mV, Vout = 144mV, frequency = 400kHz

 

 

GainVinVoutFrequency
1 V/V200mV144mV400kHz

 

 NOTE: we always set our Vpp on our frequency generator to be half the actual Vpp so that we get acurate measurements.

 

 Gain 5:

 gain_5.JPG

 Non-inverting topology, gain of 5 V/V, 2.5 VCM

 

 WP_20150225_20_26_40_Pro.jpg         WP_20150225_20_26_34_Pro.jpg
 Frequency generator at 89kHz, Vin = 1.24V                                       Oscilloscope displaying Vin = 200mV, Vout = 700mV, frequency = 89kHz

 

GainVinVoutFrequency
5 V/V200mV700mV89kHz

 

 Gain 10:

 gain_10.JPG

 Non-inverting topology, gain of 10 V/V, 2.5 VCM

 

 WP_20150225_20_29_27_Pro.jpg        WP_20150225_20_29_21_Pro.jpg
 Frequency generator at 64kHz, Vin = 10mV                                       Oscilloscope displaying Vin = 118mV, Vout = 720mV, frequency = 64kHz

 

GainVinVoutFrequency
10 V/V118mV720mV64kHz

 

 (Q) Repeat these steps using the inverting op-amp topology having gains of -1, -5, and -10.

 

 gain_-1.JPG gain_-5.JPG  gain_-10.JPG

Inverting topology, gain of -1 V/V, 2.5 VCM               Inverting topology, gain of -5 V/V, 2.5 VCM                Inverting topology, gain of -10 V/V, 2.5 VCM

 

 The results of the inverting topology are similar to the non-inverting topology, the only difference being a 180 degree phase shift. Thus we can collect the data onto a table for both topologies.

GainCalculated FrequencyMeasured FrequencyAccuracy
+/- 11.3MHz400kHz30%
+/- 5260kHz89kHz34%
+/- 10130kHz64kHz50%

 The reason our accuracy is so off is because the bandwidth calulations are bases of of a VDD = 30V and -VDD = 0. Thus, if we increased our VDD, we would see more accurate results.

 

 (Q) Design two circuits for measuring the slew-rate of the LM324. One circuit should use a pulse input while the other should use a sinewave input.

 

 (A1) A simple way of measuring the slew rate, is to measure the time it takes from a output voltage to reach the input voltage of a 1 V/V gain. The input voltage will be the pulse and the output, the sinewave.

 

 WP_20150225_20_33_40_Pro.jpg

Slew rate of Pulse input with sinewave output.

 

Slew Rate = (1.78V/5.640us) = 0.3156V/uS

This is slightly different from the data sheet value wich is 0.4V/uS.

 

 (A2) Of course, another easy way of calculating the slew rate is to do the same thing with a sinewave input and sinewave output.

 

 WP_20150225_20_39_04_Pro.jpg

 Sinewave input (yellow), sinewave output (blue)

 

Slew Rate = (1.28V/3.65us) = 0.3507V/uS

This is slightly different from the data sheet value wich is 0.4V/uS.

 

 Conclusion

 This lab highlighted the trade off between gain and bandwidth (higher gain = smaller bandwidth, higher bandwidth = smaller gain) and the limitations of the slew rate (speed) of an op-amp. We should be careful in our design in op-amp circuits, in that we operate them in their appropriate frequencies for their given gains and that our frequencies are not so fast that our op-amp can't match the output in time.