Lab 4 - EE 420L

Authored by: WENLAN WU (Stephen)

E-mail: wuw2@unlv.nevada.edu

Date: 3/3/2014

 


Pre-lab work

1. Watch op_amp_II video, understand gain-bandwidth product, unity-gain frequency,open-loop gain, close-loop gain, slew rate.

2. Read data sheet of LM324 amplifier (LM324.txt). If you want to know how to use the SPICE model in LTspice, please review the instructions.


Lab description

Lab4 is to utilize the LM324 op-amp.

For non-inverting op-amp:

1. After watching the video, using the gain-bandwidth product to estimate the BW for non-inverting opamp having gains of 1, 5, and 10.

2. Build up the real circuit to verify these estimations, VCM=2.5V. Show the scope result and discuss any difference between estimations and experimental results.

3. For the final experimental simulatioin result, please show at least four pairs of input and output signal and set input with four different frequencies: @ low frequency, f1 and f2; @f3=f3dB; @f4=fun. The f1 and f2 help show opamp having flat dc gain. The f3 indicates that output signal decreases by increasing the frequency. The fun is the frequency at which |Av|=0dB. 

4. It is better to generate a table of output @ different input frequency. And then use the Excel to show the Bode Plot result.


For inversting op-amp

1. After watching the video, using the gain-bandwidth product to estimate the BW for inverting opamp having gains of -1, -5, and -10.

2. Build up the real circuit to verify these estimations, VCM=2.5V. Show the scope result and discuss any difference between estimations and experimental results.

3. For the final experimental simulatioin result, please show at least four pairs of input and output signal and set input with four different frequencies: @ low frequency, f1 and f2; @f3=f3dB; @f4=fun. 

4. It is better to generate a table of output @ different input frequency. And then use the Excel to show the Bode Plot result.


Measure the slew-rate of LM324.

1. Use a pusle input to experiment the slew-rate

2. Use a sinewave input to experiment the slew-rate

In your report, please discuss the design and any differences.


Finally, Don't forget to backup your report and work directory on your computer or dropbox and upload it to the CMOSedu.com for the future study and discussion.


Lab4: 

Review datasheet of LM324

From the datasheet we know the gain-bandwidth of LM324 is 1.3MHz.

1.JPG

Before making the experiment, please read the knowledge related to non-inverting and inverting op-amp.

For non-inverting op-amp

1. If |Av|=1 V/V, the BW=fun=1.3MHz. If |Av|=5 V/V, BW=260kHz. If |Av|=10 V/V, BW= 130kHz.

2. Design the |Av|=1V/V non-inverting op-amp.  The LTspice schematic and AC analysis result are shown as below(Please use PCB and devices to build up the LTspice model.). The measured BW is 1.32MHz@AV=1V/V.

3.JPG 2.JPG

The following figure is the experimental transient result. The output signal is equal to the input signal @1kHz. Due to the datasheet's GBP is at VDD=30V, when we change the VDD to 5V, the GBP will also change. In the unity-gain opamp, I get that when the frequency goes up to 700kHz, the output amplitude starts to reduce. That means the fun=GBP=700k @5V.

f1noninverting.png
f2noinverting.PNG


Design the |Av|=5V/V non-inverting op-amp.  The LTspice schematic and AC analysis result are shown as below. The measured BW is 388kHz@AV=5V/V.


18v1.jpg 18.jpg


Now based on the GBP=700k, we build up the second circuit on board. For the |Av|=5 opamp, its frequency in experiment is supposed to be 140kHz. That means, at this point, the gain reduced 3dB(|Av|=3.55). Thus if the input amplitude is 200mV, the output amplitude at f3dB is 709mV.

f3noninverting.PNG


Design the |Av|=10V/V non-inverting op-amp.  The LTspice schematic and AC analysis result are shown as below. The measured BW is 162kHz@AV=10V/V.

 17v1.jpg 17.jpg


Also based on the GBP=700k, we build up the third circuit on board. For the |Av|=10 opamp, its frequency in experiment is supposed to be 70kHz. That means, at this point, the gain reduced 3dB(|Av|=7). Thus if the input amplitude is 200mV, the output amplitude at f3dB is 1400mV.

f4noninverting.PNG



3. Discussion

Why the simulation BWs are higher than experimental BWs?


For inverting op-amp

1. If Av=-R2/R1=-1 V/V, the BW=1.3MHz/(1+|Av|)=1.3MHz/2=650kHz. If Av=-5 V/V, BW=1.3MHz/(1+|Av|)=1.3MHz/6=216.7kHz. If Av=-10 V/V, BW= 1.3MHz/(1+|Av|)=1.3MHz/11=118kHz.

2.Design the Av=-RF/RI=-1V/V inverting op-amp.  The LTspice schematic and AC analysis result are shown as below. The measured BW is 794kHz@AV=-1V/V.

4.JPG 5.JPG

Build up the first inverting opamp. Get the experimental result like the following. The output signal goes down 3dB @500kHz.


TEK00013.PNG

TEK00014.PNG


Design the Av=-RF/RI=-5V/V inverting op-amp.  The LTspice schematic and AC analysis result are shown as below. The measured BW is 315kHz@AV=-5V/V.

6.JPG 7.JPG

Build up the second inverting opamp and get the experimental result like the following. The output signal goes down 3dB @150kHz.

TEK00015.PNGTEK00016.PNG
TEK00016.PNG


Design the Av=-RF/RI=-10V/V inverting op-amp.  The LTspice schematic and AC analysis result are shown as below.The measured BW is 153kHz@AV=-10V/V.

9.JPG 8.JPG

Build up the final inverting opamp and get the experimental result like the following. The output signal goes down 3dB @70kHz.


tek00018.png

TEK00019.PNG

3. Discussion

Why these BWs from the experimental result is smaller than the BWs from the LTspice models?


Measure Slew Rate:

1. From the datasheet, we can get the following entry shown the slew rate of LM324.

10.JPG

2. Use a pulse input signal to measure LM324 slew rate. The circuit and simulation result is shown as below. The output from 10% to 90% needs 4.8us. So the SR=(3.2-0.36)/4.8u=0.59V/us.

12.JPG 11.JPG

3. Use a sinewave input signal to measure LM324 slew rate. The circuit and simlation result is shown as below. As discussed in opamp_II video, the input frequency should be not greater than SR/(2*pi*Vo)=4V/us  /6.28=63.7kHz. So the input frequency is set as 64kHz and the amplitude is 1. The simulation result shows that the slew rate is exactly 400kV/s=0.4V/us.

14.JPG 13.JPG

4. Discussion

Why the largest output is not 5V, roughly 3.7V, why? And the first SR measured is higher than datasheet value? 

From the datasheet, the high level ooutput voltage shown below is 3.5V for VCC=+5V.

19.JPG


Summary:

From above experiments, we study gain-bandwidth product, slew rate. We learned the relationship between frequency, close-loop gain, unity-gain frequency and gain-bandwidth product. Besides, Two methods can be used to measure slew rate. 


Backup:

Right click the mouse to compress the lab4 fold into "lab4.rar". And backup to study folder (e.x. dropbox) or email to myself.

 backup.JPG
 

Return to the listing of my labs

Return to the whole class reports

Return to the EE421L

Return to the CMOSedu.com