Lab 4 - EE 420L
Pre-lab work
Non inverting W/ gain 1 (figure 4) Non inverting W/gain 5 (figure 5) Non inverting W/gain 10 (figure 6)
For the above experiments, we used the 3db corner frequency to measure the bandwidth of the different gains. For a gain of 1, when the output is about 70 mv (.707*1mV), the frequency at that value will be the 3db frequency in which this case it is around 670KHz. For the gain of 5, when the output is .707mV (.707*1V), that will be the value of the bandwidth which in this case is 106KHz. For the gain of 10, when the output is 1.41 (.707*2V), that will be the value of the bandwidth which is 40KHz. Notice that these values are a little lower that the ones approximated form the data sheet. The reason for this is beucase the values on the data sheet are for when the supply voltage on the rails of the op-amp is 30V but for this experiment we are only using 5V. If a 30V rail were to be used, our results will match closely to the datasheet (see figure 7). Figure 7 shows a gain of 1 with a noninverting op-amp at 1MHz. It can be seen that for this case the op-amp operates fine at 1Mhz compared to figure 4 where even at 600KHz, the output is reduced. One might say that in figure 7 there is still a gain of 1 at 1Mhz which would mean that the 3db cornor frequency is going to be higher (until the output is 141mV). The reasoning for this is that the values on the data sheet are esimates and if we increase the frequency of figure 7 a little we wil see the output fall to 141mV quickly. Therefore the same idea applies for the gains of 5 and 10, if we used a Vcc of 30 volts, we will get closer simulations to that of the datasheet.
Non inverting gain 1 W/ 30V rail (figure 7)
Inverting w/Gain 1 (figure9)
Inverting w/Gain 5 (figure 10)
Calculating the 3db corner frequency for the inverting topology is exactly the same as the noninverting (frequency when Vout=.707*Vin). From figure 9 the 3db frequency of a gain of -1 is ~650KHz. From figure 10, the 3db frequency of a gain of -5 is ~87K. From figure 11, the 3db frequency of a gain of -10 is ~33KHz. The estimations of these gains from the data sheet are the same as the estimations for the non-inverting topology, the negative sign from the inverting topology just represents a phase shift which can be seen in each of the figures 9-11. It can also be seen that the 3db frequencies of the corresponding gains from the non-inverting topology to the inverting topology are similar. The reason why these results are not exactly the same as the data sheet are also the same, beucase the data sheet simulates the op-amp with a 30V rail and we are using a 5V rail. Increasing the rail voltage, will yield better resutls.
Results
Approximation | Non-inverting topology | inverting | |
1 or -1 | 1MHz | 650KHz | |
5 or -5 | 300KHz | 106KHz | 87KHz |
10 or -10 | 100KHz | 40KHz | 33KHz |
Experiment 4 Design two circuit for measuring the slew rate of the LM324, one circuit should use a pulse input while the other should use a sinewave input.
For the most part, we used the same circuit to measure both the slew rate of a pulse and sinewave input. We used the inverting topology with a gain of 10 with the input being at a higher amplitude, similar to figure 8 (but with a gain of 10). The reason why we choose a higer gain than for example 1, is that with a larger gain, there is a larger change in voltage in a larger time, therfore we can get a more accurate measurment.The slew rate of a circuit depends on both the amplitude and frequency of the circuit becuase the slew rate can be achieved by increasing one or the other (or both), therefore by increasing both, we can generate the maximumin slew rate with a reasonable input signal. Since we are using a higher amplitude in the input, we will have to increase our rails so that our circuit will not saturate. For this experiment, we increased our rail to 15 V.
For the square wave input as seen in figure 12, we can see the output slewing when the input is 720mV at a frequency at 420KHz. The slew rate being defined as the maximum change in voltage per unit time can be calculated by dividing the peak to peak voltage by the rise time (452mV/876ns=.52V/us).This means that the maximum voltage change in this circuit is that the output can change about .5 volts every microsecond. The data sheet value for this op-amp is .4V/us. The circuit in figure 12 slews becuase the input square wave changes from the pos peak to the negative peak quicker than the slew rate can respons, therefore when the output is tring to go high becuase the input went high, before it can reach that peak voltage, the input is now low and it trys to go to the low voltage. This process repeats and the output will never go to either the high or low voltages of the input. By increasing the frequency or amplitude, the slew rate will not change significantly becuase of the fact that it depends on both frequency and amplitude. If we were to increase the amplitude, nothing should change becuase this will just be increasing the voltage that the output can never reach anyway but the amplidtude will matter if it were to be decreased. If we were to increase the frequency, that will make the peak to peak value smaller becuase it will give less time for the output to respond but at the same time, the rise time sill also be decrease which means that the two effects would cancel each other out.
Slew rate of square wave input (figure 12) Slew rate of sine wave input (figure 13)
The same idea is applied to the sine wave input of why we chose the gain and amplitude of the input, so that we can achieve the max slew ratethrough a reasonable input. The slew rate of a sine wave input to the LM324 op-amp (figure 13) is .69V/uS (184mV/265nS=.69V/uS).