element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Publications
  • Learn
  • More
Publications
Blog Predicting Circuit Performance: An Error Budget Gives You Wiggle Room
  • Blog
  • Documents
  • Events
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Publications to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: DaveYoung
  • Date Created: 31 Jan 2012 3:26 AM Date Created
  • Views 687 views
  • Likes 2 likes
  • Comments 3 comments
  • Design
  • dyoung
Related
Recommended

Predicting Circuit Performance: An Error Budget Gives You Wiggle Room

DaveYoung
DaveYoung
31 Jan 2012

imageMany people have heard of power budgets where an engineer sums up the power consumed by each part in a design under the different modes of operation to determine if there are any problems with power supplies or battery life (it is also a great double-check on an individual part's power consumption for thermal reasons).  The same type of operation can be carried out on analog circuits to see if the sum of all part errors is too much for a design to reliably work.

 

Like the power budget, error budgets are used to give the designer some visibility into how a circuit will perform under different circumstances beyond what small-batch prototype testing can prove out.  How can performance be guaranteed over the entire specification range promised by the part manufacturers?  How does the unit operate at different temperatures?  What happens to the circuits' accuracy over time?   Clearly this type of calculation can become quite involved!  However there are several situations where a solid error budget can be useful:

 

  • When a part goes obsolete, it can be difficult to determine if a slightly different part will cause the circuit to not work correctly in all situations.  Having an error budget on hand will make this decision easier.

  • The error budget process is an excellent way to review a design even before a prototype is built.

  • It is a great troubleshooting tool, offering suggestions on parts that are major contributors to error and susceptible to manufacturing defects or counterfeit parts.

  • Error budgets are a source of exquisite documentation (in case the lead designer is hit by a bus, god forbid).

  • They are an excellent way to price out desired performance improvements.  Marketing wants 1% better accuracy?  No problem – according to the error budget one can use the selected, higher grade op-amp at an increased cost of $10 per unit.

 

Given all of these excellent uses for an error budget, why are they not used by analog hardware engineers everywhere?  Well, they are time consuming, challenging, and involve a huge number of calculations done in Excel.  They are also not always required as most circuits are not so sensitive and/or critical as to require this type of rigor in reviews.  But in some cases a good error budget can make a big difference.

 

How does one create an error budget?  The question that must be answered for each component is, “What error does this part create, and how does that error change the output?”  An engineer can take this question to incredible depths, calculating the effect of many possible sources of error.   However with experience (or guidance) the engineer can recognize components and specs that are most concerning and focus on those.

 

So let's jump right into a very simple example for the sake of discussion; an inverting op amp with a gain of -10:

 

image

 

As any circuits book will write, the output of this circuit in the ideal case will be:

 

OUT =  IN * (-R2/R1)  

 

What else is going on when it is built in the real world?  While there are many error sources associated with the LM741 op amp, we will just pick out a couple for this example and use 1% toleranced resistors.  In order to save us from complicated statistics used by people who are very serious about their measurement uncertainty we will use worst-case figures from the datasheet.  This will make the calculations much easier but the designer must remember that the result of our error budget will show the very unlikely case of all errors from all parts being at their worst spec at the same time.

  • Input Bias Current:         1.5uA, acting on a feedback resistance of 10kohms

(seen by the op amp as 15mV of input offset voltage error)

  • Input Offset Voltage:      6mV

  • Resistor Tolerance:       1%

 

How do these error sources appear in the schematic in their worst-case configuration?  See the figure below with I1 being input bias current, V1 being Input Offset Voltage, and resistors adjusted in the worst way possible (1% each in opposite directions):

 

image

 

Now that we have identified the error sources we want to focus on, how can we calculate their impact on the output?  There are two types of errors we will consider: offset and gain.  An offset error changes the output by the same amount no matter what the input signal may be.  In this -10x amplifier example, the input offset voltage is an offset error and will be the same at all input signal levels.  A gain error, on the other hand, will cause a different error depending on the input signal. Here we see the resistor tolerance as a gain error since a 1% change in resistance will throw off the gain by 1%.  If the input voltage is 0, there will be 0V of error from gain because 1% of 0 is still 0.  However if the input signal is 1V, the gain will be 1% higher (i.e. -10.1x instead of -10x), casuing an error of 100mV at the output.

 

The best way to consider these errors together is to keep them in a table.  Below is a table showing all effects of the errors pointed out above:

 

Error OffsetGain
Input Bias Current15mV
Input Offset Voltage6mV
R1 Tolerance
1.00%
R2 Tolerance
1.00%



TOTAL ERROR21mV2.00%

 

Based on these results, a designer could expect some significant errors!  If the input was 1V with this worst-case situation, the output would be -10.221V instead of the desired -10V!

 

Of course this is a trivial example that is too simple to show the real power of error budgets as a design tool.  A design with many stages of gain and error sources that are sensitive to time/temperature can quickly get complicated enough to require such a formal process.  In these cases an error budget can be a true life (or job) saver!

 

For the interested reader who has been emboldened by this simple circuit a more complicated example can be found on page 12-16 of 'Op-Amps for Everyone' by TI where they discuss how error budgets can be used with ADC circuits.   I can say from experience that an engineer can spend ages honing these error budgeting skills, and this is a great place to start!

  • Sign in to reply
Parents
  • gervasi
    gervasi over 13 years ago

    Components' actual values are said to be bimodally distributed toward the edges of tolerance because parts closer to the nominal value are sorted out and sold as tighter tolerance parts.  So the worst cases adding up against you will come up more frequently than if actual values followed a Gaussian distribution.

     

    I wonder if you can get away with taking the root sum of squares (RSS) if the parts follow a Gaussian distribution.  I encountered this on a mechanical design.  When I linearly added up the worst case of all of these parts, I got a ridiculously large number.  I wanted to use RSS.  The mechanical engineers ended up working out a compromise between RSS and linear summation.  I guess to do it right you'd have to know the probability distribution function of the value of each component and you'd have to know what percentage failure you can tolerate.

     

    BTW, I love that book "Op-Amps for Everyone".

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • gervasi
    gervasi over 13 years ago

    Components' actual values are said to be bimodally distributed toward the edges of tolerance because parts closer to the nominal value are sorted out and sold as tighter tolerance parts.  So the worst cases adding up against you will come up more frequently than if actual values followed a Gaussian distribution.

     

    I wonder if you can get away with taking the root sum of squares (RSS) if the parts follow a Gaussian distribution.  I encountered this on a mechanical design.  When I linearly added up the worst case of all of these parts, I got a ridiculously large number.  I wanted to use RSS.  The mechanical engineers ended up working out a compromise between RSS and linear summation.  I guess to do it right you'd have to know the probability distribution function of the value of each component and you'd have to know what percentage failure you can tolerate.

     

    BTW, I love that book "Op-Amps for Everyone".

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • DaveYoung
    DaveYoung over 13 years ago in reply to gervasi

    Charles, you're totally right.  Finding the most accurate representation of an error source is a HUGE challenge.  Even once you have all the required manufacturing information, the link I added to the "guide to measurement uncertainty" gives a taste of how to calculate errors given a desired confidence interval and expected error distribution.  In in many cases, they show that is absolutly acceptable to make adjustments to account for gaussian error distributions (or many other distributions), but it is TOUGH getting through that heavy of spec reading!

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube