University topic explanations and practice

University › Science and Engineering › Analog Electronic Circuits

Analog Electronic Circuits · Op-Amp Models · 76

State the ideal op-amp assumptions and apply the virtual short and virtual ground principles to a circuit. Inverting and non-inverting configurations.

No installation

Learning Outcomes

Topic Explanation

Basic rules of the ideal model

The operational amplifier is a high-gain differential amplifier that magnifies the voltage difference between the two input terminals. In the ideal model, the input impedance is assumed to be infinite, the output impedance is zero, the open loop gain is infinite and the bandwidth is unlimited. From these assumptions two useful analysis rules are derived: no current flows into the circuit from the input terminals, and if negative feedback is installed, the two input voltages become equal to each other. The second rule is called virtual short circuit; Although there is no physical conduction path between the ends, the potential difference is close to zero. Thanks to these two rules, a complex circuit is reduced to a simple equation written with resistance ratios. The student's first job is to verify whether the circuit operates in the linear region; If the output reaches the feed limit, the virtual short rule becomes invalid and the calculation is incorrect. The ideal model is a benchmark of what the real circuit should approach; In order to understand where the differences come from, it is necessary to add the missing effects of the model one by one.

Differential input and common-mode voltage

In an operational amplifier, one of the inputs is marked plus (V+) and the other is marked minus (V−). The output voltage is equal to the differential voltage multiplied by the gain, with the relation A · (V+ − V−). When the same voltage is applied to the two inputs, the difference is zero and the output ideally does not change; In the real circuit, a small output occurs due to a small coefficient called common mode gain. The ratio of differential gain to common mode gain is the common mode suppression ratio, calculated in decibels by 20 · log(Ad/Acm). The ratio of an element with a differential gain of 100000 and a common mode gain of 1 is 100000, that is, 100 decibels. Common mode voltage is the voltage seen by both ends simultaneously and is defined around the midpoint of the supply. The acceptable common mode range of inputs is specified in the datasheet; Beyond this range, the input transistors become saturated and the differential rule loses its validity. In measurement circuits, this range is often the determining constraint since both ends of the sensor are on the same amplified voltage.

Open-loop gain and the need for feedback

Open loop gain is the number of times the differential voltage is amplified without feedback and is typically between 100000 and 1000000. Such a large gain alone is useless; Even an offset of 1 millivolt drags the output to hundreds of volts. Feedback couples the gain to the resistance ratios by returning a portion of the output to the reverse input. The closed-loop gain is approximately written as A/(1 + A·β); If A·β is much greater than one, the result approaches 1/β. For example, if A = 100000 and β = 0.1, the closed loop gain is 9.999...; The resistance ratio is very close to 10. As the feedback factor increases, the dependence of the gain on the element decreases, the bandwidth increases and the nonlinear distortion becomes smaller. Since the product of gain and bandwidth remains roughly constant, lowering the gain increases the bandwidth. This trade-off is one of the most frequently used balance points in analog design.

Inverting and non-inverting configurations

In the inverting structure, the input signal is given to the negative input through resistor R1, resistor R2 provides feedback from the output to the negative input, and the positive input is connected to ground. The negative input is at zero volts due to virtual ground; Since there is no input current, the current passing through R1 passes through R2 and the gain becomes −R2/R1. If R1 = 1 kΩ and R2 = 10 kΩ, the gain is −10; 0.2 volt input produces −2 volts at the output. In the non-inverting structure, the signal is given directly to the positive input, the feedback returns to the negative input with a divider and the gain is 1 + R2/R1; with the same resistors the gain is 11. The input resistance of the inverting structure is approximately equal to R1, while the input resistance of the non-inverting structure is very high; In weak sources such as sensors, this difference determines the selection. In a non-invertible structure, the gain cannot be reduced below one; To reduce the gain to 1, a unit gain buffer is used, connecting the output directly to the negative input. The buffer is commonly used as an intermediate layer because it takes a high impedance source and produces a low impedance output.

Origin of input offset voltage

In a real operational amplifier, the two input transistors are not exactly equivalent; A small mismatch produces a small output voltage even when the inputs are equal voltage. The differential voltage that must be applied to the inputs to cancel this effect is called the input offset voltage and its typical value is a few millivolts. The offset voltage is reflected to the output by multiplying it with the closed loop gain; An offset of 2 millivolts and a gain of 11 produces an output error of approximately 22 millivolts. In sensitive measurements, this error may be larger than the signal itself. Offset voltage also varies with temperature; The change per degree Celsius is called offset drift and is given in the data sheet as microvolts per degree Celsius. In elements with offset reset terminals, the offset can be reduced with an external adjustment resistor; however, drift is not eliminated with this setting. Lowering the offset requires balanced transistor matching, appropriate temperature range, and an automatic reset cycle if necessary.

Input bias currents and compensation resistor

A small current is required to bias the input transistors; These currents are called input bias current and vary between picoampere and nanoampere in current elements. Bias current creates a voltage drop on the source impedance and this drop is reflected on the output as an offset. When a current of 80 nanoamperes passes through a 10 kΩ source resistor, an error of 0.8 millivolts occurs; If the source resistance is 1 MΩ, the error increases to 80 millivolts. If the bias currents of the two inputs are close to each other, most of the error can be canceled out by making the equivalent resistance appearing to the negative input equal to the resistance appearing to the positive input. In the inverting structure, the balancing resistor placed at the positive input is selected to the parallel value of R1 and R2; If R1 = 1 kΩ and R2 = 10 kΩ, approximately 909 ohms would be appropriate. This method assumes that the bias currents are equal; If the equality is weak, the difference current disrupts the balancing. In high impedance sources, field effect input elements are preferred instead of bias current; When making a decision, the temperature dependence as well as the absolute value of the current should be examined.

Output impedance and load driving

In the ideal model, the output impedance is zero; In the real circuit, the output resistance of the output layer is between a few ohms and a few hundred ohms. Low output impedance means the output voltage changes little when the load changes. For example, if there is a 50 ohm output resistor and a 1 kΩ load, the load voltage will be approximately 95 percent of the no-load value; At 100 ohm load, this ratio drops to 33 percent. The output current is also limited; A typical element can deliver current between 10 and 40 milliamps, and when this limit is exceeded, internal protection is activated. The capacitive load creates an additional pole with the output resistance and reduces the phase margin; Even a load of several hundred picofarads can cause oscillation in some elements. The solution is to put a small series resistor between the output and the load, or verify the capacitive load stability of the element from the data sheet. When choosing a driver, not only the voltage and current limits should be considered, but also whether the load is resistive or capacitive.

Slew rate and full-power bandwidth

Slew rate is the maximum speed at which the output voltage can change per unit time and is expressed in volts per microsecond. This limit is caused by the rate at which internal current sources fill the capacitors and is visible for large signals. The maximum rate of change of a sine signal is found by the relation 2 · π · f · Vp; 1 megahertz and 1 volt peak width requires approximately 6.28 volts per microsecond. An element rated at 0.5 volts per microsecond cannot produce this signal; the output takes the form of a triangle instead of a sine. In contrast, for 20 kilohertz and 10 volt peak width, the required speed is 1.26 volts per microsecond, and a 2 volt per microsecond element would be sufficient. Full power bandwidth describes the highest frequency at which the slew rate limit does not come into play and is calculated by SR/(2 · π · Vp). Small signal bandwidth is not the same as full power bandwidth; The gain-band product in the datasheet is only valid for small signals. The peak width and frequency of the signal should be taken into consideration together in the design.

Common-mode and power-supply rejection ratios

The common mode suppression ratio is the differential gain divided by the common mode gain and is expressed in decibels. An element with a differential gain of 100000 and a common mode gain of 1 produces a ratio of 100 decibels; 1 volt interference coming to two inputs at the same time has an effect of only 10 microvolts on the output. The supply voltage suppression ratio shows how much the fluctuation in the supply line is reflected on the output; If a 1 millivolt supply change causes a 1 microvolt output change, the ratio is 1000, that is, 60 decibels. These rates worsen with frequency; a 20 decibel drop at high frequency is common. The 100 nanofarad ceramic capacitor, placed very close to the supply pins, conducts the high-frequency current to ground with a local loop and prevents the interference from spreading to the card. When the distance of the capacitor to the pins exceeds a few centimeters, the path inductance increases its effect and the improvement disappears. In precision analog circuits, supply filtering is as important a design decision as gain and offset.

Stability and capacitive load effects

Negative feedback works on the assumption of stability; but in real circuits, delay and additional poles create phase shift. If the open loop gain suddenly exceeds the total phase shift and reaches 180 degrees, the feedback turns positive and the circuit oscillates. Phase margin is the difference in phase shift to 180 degrees at the frequency where the gain is unity; A phase margin of less than 45 degrees is considered not sufficient. The capacitive load adds a new pole along with the output resistance and reduces the phase margin. Many elements become unstable at loads above 100 picofarads; If the capacitive load limit is specified in the data sheet, this value should not be exceeded. To increase stability, a small capacitor parallel to the feedback resistor can be added to reduce the high frequency gain, or a series isolation resistor can be placed at the output. Stability not only prevents oscillation but also determines the rate of spillover of the transient response; With insufficient phase margin, the step response oscillates for a long time. Therefore, stability analysis is an integral part of bandwidth calculation.

Key Points

Worked Examples

Worked Example

Worked Example

Worked Example

Worked Example

Worked Example

Worked Example

Common Mistakes

Tips

Practice Questions

  1. 1. What is the input impedance of an ideal operational amplifier?
  2. 2. What value does the open loop gain take in an ideal operational amplifier?
  3. 3. What is the voltage difference between the two inputs under negative feedback?
  4. 4. What potential is the inverting input end of the inverting circuit?
  5. 5. Which expression is the closed loop gain in the non-inverting configuration?
  6. 6. What is the closed loop gain in inverting configuration?
  7. 7. What is the input offset voltage?
  8. 8. What is the input bias current?
  9. 9. In what unit is slew rate expressed?
  10. 10. What is the full power bandwidth relation?
  11. 11. What ratio does CMRR represent?
  12. 12. What does PSRR measure?
  13. 13. What is the purpose of the small capacitors placed close to the supply pins?
  14. 14. What is the output impedance in the ideal operational amplifier?
  15. 15. What is the output of the unit gain buffer circuit?
  16. 16. What is the input common mode range?
  17. VOLUME 17 What do offset reset terminals do?
  18. 18. How does the bias current error change when the source impedance increases?
  19. 19. In which structure is the noise gain equal to the closed loop gain?
  20. 20. How does capacitive load affect stability?
  21. 21. If R2 = 10 kΩ and R1 = 1 kΩ, what is the non-inverting gain?
  22. 22. If R2 = 10 kΩ and R1 = 1 kΩ, what is the inverting gain?
  23. 23. If Vos = 2 mV and noise gain is 11, what is the approximate output offset?
  24. 24. Can the element with SR = 0.5 V/µs produce 1 MHz, 1 Vp sine?
  25. 25. If 80 nA bias current passes through a 10 kΩ resistor, how many mV will the voltage error be?
  26. 26 CMRR = 80 dB corresponds to how many times the ratio?
  27. 27 If the closed loop gain is 10, what is the approximate feedback coefficient?
  28. 28 If the differential gain is 100000 and the common mode gain is 1, how many dB is the CMRR?
  29. 29 If the supply changes by 1 mV and the output changes by 1 µV, how many dB is the PSRR?
  30. 30 Under what circumstances does the virtual short principle apply?
  31. 31 What happens when the output rests on the feed rail?
  32. 32 Approximately what is the input resistance in the inverting structure?
  33. 33 How is the input resistance of the non-inverting structure compared to the inverting structure?
  34. 34 How does the ideal op-amp output change if V+ > V−?
  35. 35 Why is the supply capacitor placed close to the pins?
  36. 36 What is the name given to the change of offset voltage with temperature?
  37. 37 In which waveform is the slew rate limit most evident?
  38. 38 When do input protection diodes conduct?
  39. 39 Approximately what is the minimum slew rate required for 20 kHz, 10 Vp sine wave?
  40. 40 If R1 = 2 kΩ and R2 = 8 kΩ, what is the inverting gain?

Source: Inspired by open curricula of Turkish universities; the explanation is written originally.

Kaynak: Türkiye üniversitelerinin açık ders planlarından esinlenilmiştir; anlatım özgün olarak yazılmıştır.