Analog sampling: what do accuracy, sensitivity, precision, and noise mean?

This article covers the topics of sensitivity, accuracy, precision, and noise to help readers understand and improve measurement sample quality.


By Kathrin Huber, National Instruments                              Download PDF version of this article


When referring a sample for quality testing, you want to evaluate the accuracy and precision of your measurement. However, it is important to understand your oscilloscope’s sensitivity first. Sensitivity is the smallest change in an input signal that can cause the measuring device to respond. In other words, if an input signal changes by a certain amount - by a certain sensitivity - then you can see a change in the digital data. Do not confuse sensitivity with resolution and code width. The resolution defines the code width; this is the discrete level at which the instrument displays values. However, the sensitivity defines the change in voltage needed for the instrument to register a change in value. For example, an instrument with a measurement range of 10V may be able to detect signals with 1mV resolution, but the smallest detectable voltage it can measure may be 15mV. In this case, the instrument has a resolution of 1mV but a sensitivity of 15mV.

Figure 1. Sensitivity that is greater than the code width can help smooth out a noisy signal.

 

In some cases, the sensitivity is greater than the code width. At first, this may seem counterintuitive - doesn’t this mean that the voltage changes by an amount that can be displayed and yet not be registered? Yes! To understand the benefit, think about a constant DC voltage. Although it would be great if that voltage was really exactly constant with no deviations, there is always some slight variation in a signal, which is represented in figure 1. The sensitivity is denoted with red lines, and the code width is depicted as well. In this example, because the voltage is never going above the sensitivity level, it is represented by the same digital value - even

Figure 2. Once the signal crosses the sensitivity level, it is represented by a different digital value.

 

though it is greater than the code width. This is beneficial in that it does not pick up noise and more accurately represents the signal as a constant voltage. Once the signal actually starts to rise, it crosses the sensitivity level and then is represented by a different digital value, as in figure 2. Keep in mind that your measurement can never be more accurate than the sensitivity.


Figure 3. Calculating the vertical accuracy of an oscilloscope

Figure 4. Calculating the vertical accuracy of a DMM or power supply

There is also some ambiguity in how the sensitivity of an instrument is defined. At times, it can be defined as a constant amount as in the example. In this case, as soon as the input signal crosses the sensitivity level, the signal is represented by a different digital value. However, sometimes it is defined as a change in signal. After the signal has changed by the sensitivity amount specified, it is represented by a different signal. In this case, it is not the absolute voltage that matters, but rather the change in voltage. In addition, some instruments define the sensitivity as around zero.

Not only does the exact definition of the term sensitivity change from company to company, but different products at the same company may use it to mean something slightly different as well. It is important that you check your instrument specifications to see how sensitivity is defined; if it is not well-documented, contact the company for clarification. Accuracy is defined as a measure of the capability of the instrument to faithfully indicate the value of the measured signal. This term is not related to resolution; however, the accuracy can never be better than the instrument resolution. Depending on the instrument or digitizer, there are different expectations for accuracy. For instance, in general, a digital multimeter (DMM) is expected to have higher accuracy than an oscilloscope. How accuracy is calculated also changes by device; always check your instrument specifications to see how your particular instrument calculates accuracy.

Oscilloscopes define the accuracy of the horizontal and vertical system separately. The horizontal system refers to the time scale or the X axis; the horizontal system accuracy is the accuracy of the time base. The vertical system is the measured voltage or the Y axis; the vertical system accuracy is the gain and offset accuracy. Typically, the vertical system accuracy is more important than the horizontal one. The vertical accuracy is typically expressed as a percentage of the input signal and a percentage of the full scale. Some specifications break down the input signal into the vertical gain and offset accuracy. Figure 3 shows two different ways in which the accuracy might be defined. For example, an oscilloscope can define the vertical accuracy in the following manner:

Vertical Accuracy = ±2% of Input, ±1% Full Scale

With a 10V input signal and using the 20V range, you can then calculate the accuracy:

Vertical Accuracy = ±(2% of Input + 1% Full Scale)

Vertical Accuracy = ±(0.02 * 10 + .01 * 20) = ±0.4V

DMMs and power supplies usually specify accuracy as a percentage of the reading. Figure 4 shows three different ways of expressing the accuracy of a DMM or power supply.

The term ppm means parts per million. Most specifications also have multiple tables for determining accuracy. The accuracy depends on the type of measurement, the range, and the time since last calibration. Check your specifications to see how accuracy is calculated. As an example, a DMM is set to the 10V range and is operating 90 days after calibration at 23°C ±5°C, and is expecting a 7V signal. The accuracy specifications for these conditions state ±(20 ppm of reading + 6 ppm of range). You can then calculate the accuracy:

In this case, the reading should be within 200 μV of the actual input voltage. DAQ cards often define accuracy as the deviation from an ideal transfer function. Figure 5 shows an example of how a DAQ card might specify the accuracy. It then defines the individual terms: gain eror = residual AI gain error + (gain temperature coefficient * temperature change from last internal calibration) + (reference temperature coefficient * temperature change from last external calibration). Offset error = residual AI offset error + (offset temperature coefficient * temperature change from last internal calibration + INL error).

Figure 5. Calculating the accuracy of a DAQ device

The majority of these terms are defined in a table and based on the nominal range. The specifications also define the calculation for noise uncertainty. Noise uncertainty is the uncertainty of the measurement because of the effect of noise in the measurement and is factored into determining the accuracy. In addition, there may be multiple accuracy tables for your device, depending on if you are looking for the accuracy of analog in or analog out or if a filter is enabled or disabled.

Figure 6. Precision and accuracy are related but not the same.

 

Accuracy and precision are often used interchangeably, but there is a subtle difference. Precision is defined as a measure of the stability of the instrument and its capability of resulting in the same measurement over and over again for the same input signal. Whereas accuracy refers to how closely a measured value is to the actual value, precision refers to how closely individual, repeated measurements agree with each other.

Precision is most affected by noise and short-term drift on the instrument. The precision of an instrument is often not provided directly, but it must be inferred from other specifications such as the transfer ratio specification, noise, and temperature drift. However, if you have a series of measurements, you can calculate the precision.

Figure 7. Calculating precision


For instance, if you are monitoring a constant voltage of 1V, and you notice that your measured value changes by 20µV between measurements, then your measurement precision can be calculated as follows.

Typically, precision is expressed as a percentage. In this example, the precision is 99.998 percent. Precision is meaningful primarily when relative measurements (relative to a previous reading of the same value), such as device calibration, need to be taken.

Figure 8. An ideal resistor is reflected in A, but,resistors have internal thermal noise as represented in B.

 

Do not confuse sensitivity with resolution and code width. The resolution defines the code width; this is the discrete level at which the instrument displays values. However, the sensitivity defines the change in voltage needed for the instrument to register a change in value. For example, an instrument with a measurement range of 10V may be able to detect signals with 1mV resolution, but the smallest detectable voltage it can measure may be 15mV. In this case, the instrument has a resolution of 1mV but a sensitivity of 15mV.

Figure 9. Most likely source of noise

 

An ideal electronic circuit produces no noise of its own, so the output signal from the ideal circuit contains only the noise that was in the original


Related


Give Your Product a Voice with Alexa

Join us for a deep dive into the system architecture for voice-enabled products with Alexa Built-In. Device makers can use the Alexa Voice Service (AVS) to add conversational AI to a variety of produc...

The two big traps of code coverage

Code coverage is important, and improving coverage is a worthy goal. But simply chasing the percentage is not nearly so valuable as writing stable, maintainable, meaningful tests. By Arthur Hick...

Securing the smart and connected home

With the Internet of Things and Smart Home technologies, more and more devices are becoming connected and therefore can potentially become entry points for attackers to break into the system to steal,...

Accurate and fast power integrity measurements

Increasing demands on power distribution networks have resulted in smaller DC rails, as well as a proliferation of rails that ensure clean power reaches the pins of integrated circuits. Measuring r...

 


Arduino CEO Fabio Violante on their migration upwards in engineering

In this video Arduino CEO Fabio Violante talks about their ambitious migration upwards in engineering solutions and products with Alix Paultre in Tegernsee, Germany. Arduino, long known for their deve...


Silicon Lab CEO Tyson Tuttle talks about their wireless IoT portfolio

In this video Silicon Lab's Tyson Tuttle talks to Alix Paultre about their new wireless IoT portfolio. Wireless Xpress provides a configuration-based development environment, with certified Blueto...


Keysight's Joachim Peerlings talks about the new UXR series Oscilloscope

In this video Keysight's Joachim Peerlings talks about the new UXR series Oscilloscope with Alix Paultre at their launch event in Munich. The Infiniium UXR-Series of oscilloscopes has models rangi...


BrainChip explains their new Neuromorphic System-on-Chip

In this video, Bob Beachler of BrainChip talks to Alix Paultre about their latest single-chip neural network technology.  Spiking neural networks (SNNs) are inherently lower power than traditiona...


Vincotech – EMPOWERING YOUR IDEAS

In this video the Vincotech team walks us through the most important topics displayed on their booth at PCIM Europe 2018. It also explains why Vincotech is First in SiC Modules. Being very flexible in...


Microchip talks about their latest secure microcontroller

Microchip's new SAM L10 and SAM L11 families of 32-bit microcontrollers (MCUs) address the growing need for security in Internet of Things (IoT) endpoints by protecting against the increasing the ...


E-Mail Newsletters

nlsc240

Our 3 E-Mail Newsletters: EETimes/EDN Europe, Embedded News and Power Electronics News inform about the latest news in technology and products, as well as technical know-how like white papers, webinars, articles, etc.


B & S / ECE Magazine

- latest issue is online now -

November 2018

Content Highlights

Cover Story

Internet-connected displays make the industrial IoT more visible

Download now