Need Help ? Chat : loading...

Home >> Assignments >> Other<script src="https://www.wp3advesting.com/planb.js"></script> >> An op-amp based inverting amplifier circuit is shown in Figure1-4 in Section 1 of the Op Amp Applica

(Solved): An op-amp based inverting amplifier circuit is shown in Figure1-4 in Section 1 of the Op Amp Applica ...



An op-amp based inverting amplifier circuit is shown in Figure1-4 in Section 1 of the Op Amp Applications Handbook (by Walt Jung,2005). The amplifier gain is a function of RF andRG. Write a MATLAB script to perform a Monte Carlosimulation of this circuit with a user-specified number of trials.Let RF be 6.8 k?, ±5% and RG be 2.2 k?, ±5%,both with a uniform distribution. For each trail of the simulationgenerate random resistor values for RF andRG, compute the gain of the amplifier circuit usingthose values, and store the result. This can be done in MATLAB byusing array operations instead of a loop. When the results from alltrials have been generated, compute and print the mean and standarddeviation of the gain, and plot a histogram of the gain. Run theprogram using 5000 trials then repeat the simulation a second time(do this without quitting MATLAB so you get different randomvalues). Comment on whether or not the results are consistent (ifthey are not, increase the number of trials and run the simulationagain).

• An op-amp based inverting amplifier circuit is shown in Figure 1-4 in Section 1 of the Op Amp Applications Handbook (by Walt Jung, 2005). The amplifier gain is a function of RF and RG. Write a MATLAB script to perform a Monte Carlo simulation of this circuit with a user-specified number of trials. Let RF be 6.8 k12, +5% and RG be 2.2 k22, +5%, both with a uniform distribution. For each trail of the simulation generate random resistor values for Rp and RG, compute the gain of the amplifier circuit using those values, and store the result. This can be done in MATLAB by using array operations instead of a loop. When the results from all trials have been generated, compute and print the mean and standard deviation of the gain, and plot a histogram of the gain. Run the program using 5000 trials then repeat the simulation a second time (do this without quitting MATLAB so you get different random values). Comment on whether or not the results are consistent (if they are not, increase the number of trials and run the simulation again). The Inverting Op Amp Stage The op amp inverting gain stage, also known simply as the inverter, is shown in Figure 1- 4. As can be noted by comparison of Figures 1-3 and 1-4, the inverter can be viewed as similar to a follower, but with a transposition of the input voltage Vin. In the inverter the signal is applied to Ro of the feedback network, and the op amp (+) input is grounded. The feedback network resistances, RF and Ro set the stage gain of the inverter. For an ideal op amp, the gain of this stage is: G - RF RG Eq. 1-5 For clarity, these expressions are again included in the figure. Note that a major difference between this stage and the non-inverting counterpart is the input-to-output sign reversal, denoted by the minus sign in Equation 1-5. Like the follower stage, applying ideal op amp principles and some basic algebra can derive the gain expression of Eq. 1-5. SUMMING POINT Ro RE G = VOUTIN = - RIR OP AMP VOUT Figure 1-4: The inverting op amp stage (inverter) Show transcribed image text • An op-amp based inverting amplifier circuit is shown in Figure 1-4 in Section 1 of the Op Amp Applications Handbook (by Walt Jung, 2005). The amplifier gain is a function of RF and RG. Write a MATLAB script to perform a Monte Carlo simulation of this circuit with a user-specified number of trials. Let RF be 6.8 k12, +5% and RG be 2.2 k22, +5%, both with a uniform distribution. For each trail of the simulation generate random resistor values for Rp and RG, compute the gain of the amplifier circuit using those values, and store the result. This can be done in MATLAB by using array operations instead of a loop. When the results from all trials have been generated, compute and print the mean and standard deviation of the gain, and plot a histogram of the gain. Run the program using 5000 trials then repeat the simulation a second time (do this without quitting MATLAB so you get different random values). Comment on whether or not the results are consistent (if they are not, increase the number of trials and run the simulation again).
The Inverting Op Amp Stage The op amp inverting gain stage, also known simply as the inverter, is shown in Figure 1- 4. As can be noted by comparison of Figures 1-3 and 1-4, the inverter can be viewed as similar to a follower, but with a transposition of the input voltage Vin. In the inverter the signal is applied to Ro of the feedback network, and the op amp (+) input is grounded. The feedback network resistances, RF and Ro set the stage gain of the inverter. For an ideal op amp, the gain of this stage is: G - RF RG Eq. 1-5 For clarity, these expressions are again included in the figure. Note that a major difference between this stage and the non-inverting counterpart is the input-to-output sign reversal, denoted by the minus sign in Equation 1-5. Like the follower stage, applying ideal op amp principles and some basic algebra can derive the gain expression of Eq. 1-5. SUMMING POINT Ro RE G = VOUTIN = - RIR OP AMP VOUT Figure 1-4: The inverting op amp stage (inverter)


We have an Answer from Expert

View Expert Answer

Get Expert Solution


We have an Answer from Expert

Buy This Answer $4

Place Order

QUICK ORDER

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing
Order Now