eCircuit  Center 
EE Design Series - DVM 1

About SPICE | SPICE Basics | Running SPICE | CIRCUIT COLLECTION
SPICE Commands | SPICE Downloads | About | Contact | Home

Error Budget Analysis

Part 2 - Gain Errors

pic

INTRO

In Part 1, the Error Budget Analysis was introduced by finding the Offset Errors of the Digital Voltmeter..

Here in Part 2, we'll apply the same Key Concepts to find the Gain Errors of the DVM. You may find calcuating the Gain Sensitivities a bit more interesting and challenging.

 

Back to Design Series
 

OFFSET AND GAIN ERRORS

 

MAX BUDGET

 

CIRCUIT WITH ERRORS

Here's a view of the instrument's Offset and Gain errors. We'll meed to find the errors for both the 4V and 20V Ranges.

pic

ATTENUATOR GAINS

 

ERROR SOURCES

Offset Errors Value
ADC Offset (Zero) Error 2 LSBs
ADC Resolution Error 1/2 LSBs
SW1 Off-State Leakage Current 1nA
SW2 Off-State Leakage Current 1nA
Gain Errors Value
R1 Tolerance 1%
R2 Tolerance 1%
ADC Gain (Span) Error 2 LSBs
Voltage Reference Error 50mV

 

R1 TOLERANCE

Typically, you'll see Resistor Tolerances (∆R/R) and Gain Errors (∆K/K) expressed as normalized ratios

 

R2 TOLERANCE

 

ADC GAIN ERROR

 

VREF (ADC) ERROR

 

GAIN SENSITIVITY CALCS

A walk-through of calculations below showcases the simple, yet powerful Difference Method for calculating Sensitvities!

NOTE! Sensitivities can also be calculated by the Derivative (Calculus) Method by deriving the partial derivatives. However, the formulas become so unwiedly (even for smmple circuits) that the marginal accuracy gained is not worth the time or risk of mistakes / typos.

 

R1 TOLERANCE

Find the Gain Sensitivity

 

R2 TOLERANCE

Find the Gain Sensitivity

 

ADC GAIN ERROR

Find the Gain Sensitivity

 

VREF (ADC) ERROR

Find the Gain Sensitivity

 

TOTAL GAIN ERRORS

Worst Case Analysis estimates the total error under the most unfavoable conditions: all errors at their maximum limit AND in the same polaritiy.

Does the Total Error fly under the Error Budget (Requirements)?

The GOOD News - We've completed the Gain Error Analysis, congratulations!

The BAD News (that's really GOOD News) - We've uncovered that the design does NOT MEET SPEC on the 20V Range!


 

HANDS-ON REDESIGN

Play in the Excel file - modify values, see what happens!

Redesign 20V Range

 

NEXT UP

We completed the Hardware Design, so now let's tackle the Sofware Design.

Back to Design Series