Salta al contenuto
Note per Studenti Non-Idealities of Operational Amplifiers Report

Non-Idealities of Operational Amplifiers

In questa pagina 7

Up to here the op-amp was ideal (Ideal Operational Amplifier and Basic ConfigurationsThe operational amplifier (op-amp) is a differential amplifier with very high gain, vO = A (vNI - vINV); in the ideal model A is infinite, input resistance infinite, output resistance zero, bandwidth infinite, and with negative feedback to the inverting input the output settles where the differential voltage is zero (virtual short, no input current), which gives the non-inverting amplifier (gain 1 + R2/R1) and the inverting amplifier (gain -R2/R1, input resistance R1).Ideal Operational Amplifier and Basic Configurations →). The real component is described by a linear model that adds the main effects; in the linear region (output between the two supplies) superposition holds, so each non-ideality can be studied alone.

The model

Effect of finite gain (static)

Formula (inverting amplifier with finite gain). For an inverting amplifier with ideal gain −R2/R1-R_2/R_1 and op-amp gain AA (no longer a virtual short: vD=vO/Av_D=v_O/A): Av=−R2R1⋅AA+(1+R2/R1)=−R2R1⋅11+1+R2/R1A.A_v=-\frac{R_2}{R_1}\cdot\frac{A}{A+(1+R_2/R_1)}=-\frac{R_2}{R_1}\cdot\frac1{1+\dfrac{1+R_2/R_1}{A}}. If ∣A∣≫1+R2/R1|A|\gg 1+R_2/R_1 the ideal value is recovered. The factor 11+G/A\dfrac{1}{1+G/A}, with G=1+R2/R1G=1+R_2/R_1, is the same for the non-inverting amplifier (ideal gain GG): Av=G1+G/A=A1+A/GA_v=\dfrac{G}{1+G/A}=\dfrac{A}{1+A/G}. This is the structure of a feedback system with direct gain AA and feedback factor β=1/G=R1/(R1+R2)\beta=1/G=R_1/(R_1+R_2): Av=A1+AβA_v=\dfrac{A}{1+A\beta}.

With finite gain the resistances change too: the input resistance of the inverting amplifier is Rin=R1+R21+AR_{in}=R_1+\dfrac{R_2}{1+A} (the −- node is no longer a virtual ground), and the output resistance of circuits with negative feedback is Rout=RO1+AβR_{out}=\dfrac{R_O}{1+A\beta}: with RO=100 ΩR_O=100\ \Omega, A=105A=10^5 and β=0.1\beta=0.1, Rout=0.01 ΩR_{out}=0.01\ \Omega (practically zero: feedback "hides" ROR_O).

Example. With R2/R1=9R_2/R_1=9 and A=105A=10^{5}: Av=−91+10/105≈−8.9991A_v=-\frac{9}{1+10/10^{5}}\approx-8.9991, an error of 0.01%0.01\% with respect to −9-9.

Gain-bandwidth product

Formula (gain-bandwidth product). With A(jω)=A01+jω/ωAA(j\omega)=\dfrac{A_0}{1+j\omega/\omega_A} and A0≫GA_0\gg G: Av(jω)=A1+A/G≃G1+jω/ωB,ωB=ωAA0G=ωTG.A_v(j\omega)=\frac{A}{1+A/G}\simeq\frac{G}{1+j\omega/\omega_B},\qquad\omega_B=\frac{\omega_AA_0}{G}=\frac{\omega_T}{G}. The circuit is a low-pass with gain GG and bandwidth ωT/G\omega_T/G: gain times bandwidth is constant (equal to ωT\omega_T). The more gain, the less bandwidth.

Example. A0=105A_0=10^5, fT=1 MHzf_T=1\ \mathrm{MHz} (fA=10 Hzf_A=10\ \mathrm{Hz}): for G=10G=10 the bandwidth is fT/G=100 kHzf_T/G=100\ \mathrm{kHz}, for G=100G=100 it is 10 kHz10\ \mathrm{kHz} (checked numerically computing A/(1+Aβ)A/(1+A\beta): −3 dB-3\ \mathrm{dB} frequencies of 100.0 kHz100.0\ \mathrm{kHz} and 10.01 kHz10.01\ \mathrm{kHz}).

Grafico interattivo: Bode diagram of the open-loop gain A (A0 = 10^5, f_A = 10 Hz) and of the closed-loop gains with G = 10 and G = 100 (x: f in Hz, y: dB): each closed-loop curve is flat at the value G up to its bandwidth (100 kHz and 10 kHz) and then joins the curve of A, which falls 20 dB/decade and is 0 dB at f_T = A0 f_A = 1 MHz

Effect of the offset voltage VOSV_{OS}

Formula (error due to the offset voltage). Switch off the signal and take VOSV_{OS} as input. In an inverting amplifier VOSV_{OS} is in series with the non-inverting input, so for this contribution the circuit is a non-inverting amplifier: vO=−R2R1VS+(1+R2R1)VOS.v_O=-\frac{R_2}{R_1}V_S+\Big(1+\frac{R_2}{R_1}\Big)V_{OS}. The second term is an error of known maximum amplitude and unknown sign.

Example. R1=1 kΩR_1=1\ \mathrm{k\Omega}, R2=99 kΩR_2=99\ \mathrm{k\Omega} and ∣VOS∣=2 mV|V_{OS}|=2\ \mathrm{mV}: error up to 100⋅2 mV=0.2 V100\cdot2\ \mathrm{mV}=0.2\ \mathrm V at the output with zero input. It is corrected with a trimmer that applies to the non-inverting terminal a small adjustable voltage, tuned to get vO=0v_O=0 with VS=0V_S=0 (valid only at the calibration temperature, because VOSV_{OS} varies with temperature and age).

Effect of the input currents

Formula (error due to the input currents). With VS=0V_S=0 and an inverting amplifier with the ++ terminal grounded: vINV=vNI=0v_{INV}=v_{NI}=0, no current in R1R_1, so all of IINVI_{INV} comes from R2R_2: vO=R2(IB−IOS2)≃R2IB(∣IB∣≫∣IOS∣).v_O=R_2\Big(I_B-\frac{I_{OS}}2\Big)\simeq R_2I_B\quad(|I_B|\gg|I_{OS}|).

Example. R2=100 kΩR_2=100\ \mathrm{k\Omega} and IB=80 nAI_B=80\ \mathrm{nA}: vO≃100 kΩ⋅80 nA=8 mVv_O\simeq100\ \mathrm{k\Omega}\cdot80\ \mathrm{nA}=8\ \mathrm{mV}.

Compensation: insert R3R_3 in series with the ++ terminal. With R3=R1∥R2R_3=R_1\|R_2 the voltage on the ++ terminal (−R3INI-R_3I_{NI}) compensates the drop on the parallel R1∥R2R_1\|R_2 due to IINVI_{INV} and the contribution of IBI_B cancels: what remains is vO=−R2IOSv_O=-R_2I_{OS}, much smaller if ∣IOS∣≪∣IB∣|I_{OS}|\ll|I_B|. If instead IB≃IOSI_B\simeq I_{OS} the compensation is useless (it worsens).

Slew rate and power bandwidth

Definition (slew rate and maximum undistorted frequency). The internal stages have a maximum current to charge the internal capacitors, so the output cannot change faster than SR=∣dvOdt∣max(V/μs).SR=\left|\frac{dv_O}{dt}\right|_{max}\quad(\mathrm V/\mu\mathrm s). For a sinusoid vO=Vpsin⁡ωtv_O=V_p\sin\omega t the maximum slope is ωVp\omega V_p and there is no distortion if ωVp≤SR\omega V_p\le SR, i.e. fmax=SR2πVp.f_{max}=\frac{SR}{2\pi V_p}.

Example. With SR=0.5 V/μsSR=0.5\ \mathrm{V/\mu s} and Vp=10 VV_p=10\ \mathrm V: fmax=0.5⋅1062π⋅10=7.96 kHzf_{max}=\dfrac{0.5\cdot10^6}{2\pi\cdot10}=7.96\ \mathrm{kHz}; at higher frequencies the sine wave becomes triangular. Unlike the bandwidth limit ωT/G\omega_T/G (valid for small signals), slew rate is a large-signal limit: it depends on the amplitude.

Common mistakes

  • Using the virtual short as if AA were infinite at any frequency.
  • Forgetting that the error of VOSV_{OS} is multiplied by 1+R2/R11+R_2/R_1 also in the inverting amplifier.
  • Adding the effects of VOSV_{OS} and IBI_B with definite signs: the sign of VOSV_{OS} is unknown and a maximum modulus is given.
  • Confusing the small-signal bandwidth (ωT/G\omega_T/G) with the slew-rate limit.

Versione ripasso

Key statements and formulas

  • Open-loop gain: A(jω)=A01+jω/ωAA(j\omega)=\frac{A_0}{1+j\omega/\omega_A}, A0A_0 typically 10410^4 to 10610^6; ωT=A0ωA\omega_T=A_0\omega_A is the gain-bandwidth product.
  • Other parameters: output resistance ROR_O (below 100 Ω100\ \Omega), input resistances RDR_D (between inputs) and RCMR_{CM} (to ground), output limited between VEEV_{EE} and VCCV_{CC}, slew rate.
  • Input currents: INI=IB+IOS2I_{NI}=I_B+\frac{I_{OS}}{2}, IINV=IB−IOS2I_{INV}=I_B-\frac{I_{OS}}{2}; IB=INI+IINV2I_B=\frac{I_{NI}+I_{INV}}{2}, IOS=INI−IINVI_{OS}=I_{NI}-I_{INV}; IOSI_{OS} about an order of magnitude below IBI_B.
  • Offset voltage VOSV_{OS}: known maximum modulus, unknown sign; generator in series with an input.
  • Finite gain: inverting Av=−R2R1⋅11+(1+R2/R1)/AA_v=-\frac{R_2}{R_1}\cdot\frac{1}{1+(1+R_2/R_1)/A}; in general Av=A1+AβA_v=\frac{A}{1+A\beta}, β=R1R1+R2\beta=\frac{R_1}{R_1+R_2}.
  • Resistances with finite gain: inverting Rin=R1+R21+AR_{in}=R_1+\frac{R_2}{1+A}; negative feedback Rout=RO1+AβR_{out}=\frac{R_O}{1+A\beta}.
  • Gain-bandwidth product: G=1+R2R1G=1+\frac{R_2}{R_1}, A0≫GA_0\gg G: Av≃G1+jω/ωBA_v\simeq\frac{G}{1+j\omega/\omega_B}, ωB=ωTG\omega_B=\frac{\omega_T}{G}; gain times bandwidth constant.
  • VOSV_{OS} error: vO=−R2R1VS+(1+R2R1)VOSv_O=-\frac{R_2}{R_1}V_S+\big(1+\frac{R_2}{R_1}\big)V_{OS}. IBI_B error: vO=R2(IB−IOS2)≃R2IBv_O=R_2\big(I_B-\frac{I_{OS}}{2}\big)\simeq R_2I_B; with R3=R1∥R2R_3=R_1\|R_2 on the ++ terminal, vO=−R2IOSv_O=-R_2I_{OS}.
  • Slew rate: SR=∣dvOdt∣maxSR=\left|\frac{dv_O}{dt}\right|_{max}; no distortion for a sinusoid if f≤fmax=SR2πVpf\le f_{max}=\frac{SR}{2\pi V_p}. Large-signal limit, different from the small-signal bandwidth ωT/G\omega_T/G.

Main steps of the examples

  • R2/R1=9R_2/R_1=9, A0=105A_0=10^5: Av=−91+10/105≈−8.9991A_v=-\frac{9}{1+10/10^5}\approx-8.9991, error 0.01%0.01\%.
  • RO=100 ΩR_O=100\ \Omega, A=105A=10^5, β=0.1\beta=0.1: Rout=0.01 ΩR_{out}=0.01\ \Omega.
  • fT=1 MHzf_T=1\ \mathrm{MHz}: G=10G=10 gives 100 kHz100\ \mathrm{kHz}, G=100G=100 gives 10 kHz10\ \mathrm{kHz} (exact −3 dB-3\ \mathrm{dB} points 100.0100.0 and 10.01 kHz10.01\ \mathrm{kHz}).
  • R1=1 kΩR_1=1\ \mathrm{k\Omega}, R2=99 kΩR_2=99\ \mathrm{k\Omega}, ∣VOS∣=2 mV|V_{OS}|=2\ \mathrm{mV}: maximum error 0.2 V0.2\ \mathrm V.
  • R2=100 kΩR_2=100\ \mathrm{k\Omega}, IB=80 nAI_B=80\ \mathrm{nA}: vO≃8 mVv_O\simeq8\ \mathrm{mV}.
  • SR=0.5 V/μsSR=0.5\ \mathrm{V/\mu s}, Vp=10 VV_p=10\ \mathrm V: fmax=7.96 kHzf_{max}=7.96\ \mathrm{kHz}; above it the sine becomes triangular.

Typical mistakes

  • Virtual short as if AA were infinite at any frequency.
  • Forgetting that the VOSV_{OS} error is multiplied by 1+R2/R11+R_2/R_1 also in the inverting amplifier.
  • Giving VOSV_{OS} a fixed sign: use the maximum modulus.
  • Confusing small-signal bandwidth with slew rate.

Teoria collegata