About SPICE |
SPICE Basics |
Running SPICE |
CIRCUIT COLLECTION
SPICE Commands |
SPICE Downloads |
About |
Contact |
Home
Inverting Op Amp
The inverting provides a great insight into Error Budget Analysis! We'll do a teardown of this critical and challenging analysis. You'll get
For tutorials on Key Concepts and other circuits, goto EBA Series
For the same magnitiude of gain, which has the larger errors, the Non-Inverting (K = +5) versus the Inverting (K = -5) config?
We'll start with basic error definitions of an amplifier block. What are Offset and Gain Errors?
The max budget (target spec) for amplifier has been chosen as:
Description Initial Drift OFFSET ERRORS voff, Input Offset Voltage
ibn, Input Bias Current (Neg)
ibp, Input Bias Current (Pos)1 mV
10 nA
10 nA10 uV / C
1 nA / C
1 nA / CGAIN ERRORS R2_Tol
R1_Tol0.1 %
0.1 %100 ppm / C
100 ppm / C
Temperature
Amplifier
Errors
The Non-Inverting Amplfier nicely showcases the EBA method. You can modify the analysis for the Inverting or other Op Amp configurations.
While the steps may seem more detailed than needed for simpler errors,
the value of creating a systematic approach will pay off when
analyzing more complex, multi-stage designs.
Because voff is modelled as voltage in series with the pos input,
it gets amplified just like the non-inverting gain:
Knon = vo / vp = R2/R1+1 = +6.0
Description | Initial Errors | Drift Errors |
Error Source: e | voff = 1mV | voff_TC = 10uV/C |
Pick Analysis Node: Va | vo | vo |
Calc Sensitivity: S How does e impact Va? |
S = vo / voff = R2/R1+1 = 6 |
S = 6 |
Calc Offset Error at Analysis Node Initial: ∆Voffset = e * S Drift: ∆Voffset = e * ∆T * S |
∆Voffset = 1mV * 6 = 6mV |
∆Voffset = 10uV/C * 30C * 6 = 1.8 mV |
Calc Gain from Input to Analysis Node: Ka = Va / Vin |
Ka = vin/vo = -R2/R1 = -5 |
Ka = -5 |
Calc Error RTI (Referred-to-Input): ∆voffset_RTI = ∆voffset / Ka |
∆voffset_RTI = 6mV / -5 = -1.2mV |
∆voffset_RTI = 1.8mV / -5 = -0.36mV |
The op amp acts like a transimpedance amplifier converting the current ibn to a voltage vo = ibn*(-R2).
Description | Initial Errors | Drift Errors |
Error Source: e | ibn = 10nA | ibn_TC = 1nA/C |
Pick Analysis Node: Va | vo | vo |
Calc Sensitivity: S How does e impact Va? |
S = vo / ibn = -R2 = -50000 |
S = -50000 |
Calc Offset Error at Analysis Node Initial: ∆Voffset = e * S Drift: ∆Voffset = e * ∆T * S |
∆Voffset = 10nA * -50000 = -0.5mV |
∆Voffset = 1nA/C * 30C * -50000 = -1.5mV |
Calc Gain from Input to Analysis Node: Ka = Va / Vin |
Ka = vin/vo = -R2/R1 = -5 |
Ka = -5 |
Calc Error RTI (Referred-to-Input): ∆voffset_RTI = ∆voffset / Ka |
∆voffset_RTI = -0.500mV / -5 = 0.100mV |
∆voffset_RTI = -1.50mV / -5 = 0.30mV |
Easy to analyze - ibp flows into Rp creating a voltage, then gets amplified by the non-inverting signal gain.
Description | Initial Errors | Drift Errors |
Error Source: e | ibp = 10nA | ibp_TC = 1nA/C |
Pick Analysis Node: Va | vo | vo |
Calc Sensitivity: S How does e impact Va? |
S = vo / ibp = Rp*(R2/R1+1) = 500*6 = 3000 |
S = 3000 |
Calc Offset Error at Analysis Node Initial: ∆Voffset = e * S Drift: ∆Voffset = e * ∆T * S |
∆Voffset = 10nA * 3000 = 0.030mV |
∆Voffset = 1nA/C * 30C * 3000 = 0.090mV |
Calc Gain from Input to Analysis Node: Ka = Va / Vin |
Ka = vin/vo = -R2/R1 = -5 |
Ka = -5 |
Calc Error RTI (Referred-to-Input): ∆voffset_RTI = ∆voffset / Ka |
∆voffset_RTI = 0.030mV / -5 = -0.006mV |
∆voffset_RTI = 0.090mV / -5 = -0.018mV |
Gain errors often require more effort when calculating the Sensitivity S. You need to write the gain equation and then apply calculus (Difference Method) to find S.
Description | Initial Errors | Drift Errors |
Error Source: e | R2_Tol = 0.1% |
R1_TC = 100ppm/C = 0.0001%/C |
Pick Analysis Node: Va | vo | vo |
Calc Sensitivity: S How does e impact Gain K? Apply Difference Method: S = (∆K/K) / (∆R/R) where ∆K/K = (K'-K)/K |
K = -R2/R1 R2 = 50k R1 =10k K = -50k/10k = -5.0 K'= -50k*1.01/10k = -5.05 ∆R/R = 0.01 S = (∆K/K) / (∆R/R) = 1.0 |
S = 1.0 |
Calc Gain Error at Analysis Node Initial: ∆K/K = e * S Drift: ∆K/K = e * ∆T * S |
∆K/K = 0.1% * 1 = 0.1% |
∆K/K = 100ppm/C*30C*1.0 = 3000ppm = 0.30% |
Normailzed gain errors can be referred to input as-is, no RTI calc needed. |
Description | Initial Errors | Drift Errors |
Error Source: e | R1_Tol = 0.1% |
R1_TC = 100ppm/C = 0.0001%/C |
Pick Analysis Node: Va | vo | vo |
Calc Sensitivity: S How does e impact Gain K? Apply Difference Method: S = (∆K/K) / (∆R/R) where ∆K/K = (K'-K)/K |
K = -R2/R1 R2 = 50k R1 =10k K = -50k/10k = -5.0 K'= -50k/(10k*1.01) = -4.95 ∆R/R = 0.01 S = (∆K/K) / (∆R/R) = -1.0 |
S = -1.0 |
Calc Gain Error at Analysis Node Initial: ∆K/K = e * S Drift: ∆K/K = e * ∆T * S |
∆K/K = 0.1% * -1 = -0.1% |
∆K/K = 100ppm/C*30C*-1.0 = -3000ppm = -0.30% |
Normalized gain errors can be referred to input as-is, no RTI calc needed. |
Let's review the Gain & Offset errors.
Description Initial (V) Drift (V) OFFSET ERRORS Input Offset Voltage
Input Bias Current (Neg)
Input Bias Current (Pos)-1.200 mV
0.100 mV
-0.006 mV-0.360 mV
0.300 mV
-0.018 mVGAIN ERRORS R2_Tol
R1_Tol0.1 %
-0.1 %0.3 %
-0.3 %
Calculate the total using Worst Case Analysis. WCA assumes the most unfavorable conditions: all errors at their maximum limit AND in the same polarity.
Does the Total Error fly under the Max Error Budget (Requirements)?
Calculate the total using Worst Case Analysis.
Does the Total Error fly under the Max Error Budget (Requirements)?
An Excel file was created to implement the error budget analysis.
3 Worksheets
Worksheet Enter Calculate CIRCUIT CALC Circuit values Signal gains, levels and error Sensitivities OFFSET Offset error sources Offset errors and totals GAIN Gain error Sources Gain errors and totals
While 3 worksheets seems over-the-top for smaller circuits, you'll find a big advantage when analyzing more complex circuits or multi-stage systems!
Try the hands-on spreadsheet!
Back to EBA Series