eCircuit  Center 
EE Design Series - DVM 1

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

Basic Voltmeter Test

sch

INTRO

Finally! After a safe Initial Bring-Up, it's time to test drive our complete Digital Voltmeter. Two key test categories are:

The Full Functional Test adds code to toggle between the 4V and 20V Ranges using a Pushbutton. (For the Initial Bring-up, the voltage range was selected manually by setting a variable in the code.)

The Accuracy Test answers this critical question - does our instrument meet our Accuracy Spec as chosen in our Requirements?

Back to Design Series
 

ANALOG + ARDUINO SCHEMATIC

Here's the schematic of the Solderless Breadboard and connections to the Arduino UNO Board.

sch

 

PROTOBOARD + ARDUINO LAYOUT

Check out a suggested physical layout of the voltmeter.

sch

 

FULL FUNCTIONAL TEST

The Basic Voltmeter code verifies that many hardware and software functions operate correctly.

 

How can we verify all of the above functions? By applying an input signal Vin=3.3V and displaying key variables in the Serial Monitor, you get an excellent view into the voltmeter's inner workings.

TEST TRACKER

 

ACCURACY TEST

How can you verify the accuracy of the voltmeter? We'll apply the Comparison Test which compares the voltmeter's reading to another instrument that serves as a Reference Standard.


COMPARISON TEST

Just a few steps accomplish the test:

  1. Choose a stable voltage source to measure.
  2. Measure the voltage with the voltmeter under test (Vm).
  3. Measure the voltage with the reference voltmeter (Vm_ref).
  4. Calculate the Accuracy.
  5. Apply the Decision Rule.


ACCURACY CALCULATION

The measured Accuracy must include the uncertainty of the reference voltmeter.

  Accuracy = |Error Measured| + |Uncertainty of Reference Standard|
                   = |Vm - Vm_ref|      + |Offset_err + Gain_err*Reading|


REFERENCE STANDARD

 

DECISION RULE

The instrument will PASS or FAIL based on a simple decision.

   If Accuracy < Accuracy_Spec_Limit, then PASS, else FAIL

The Accuracy_Spec_Limit was previously determined in the Requirements Phase of the project.

 

NUMERICAL EXAMPLE (4V Range)

 

TEST TRACKER / CALCULATOR

 

 

NEXT UP

Congratulations on completing a journey down the long and winding road of a project design! The last step brings us full-circle back to our original driving mission - measure the health of common household batteries.

Back to Design Series