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


Hardware-based AES Encrypted Storage Solution

Secure data encryption is essential for a wide variety of mission-critical applications pertaining to both civilian matters and national security. These sectors both require comprehensive safeguards t...

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...

 

nVent Schroff at Embedded World 2019

The theme of the nVent Schroff booth at Embedded World 2019 was “Experience Expertise – Modularity, Performance, Protection and Design”. Join us as our experts give an overview of th...


Garz & Fricke Interview at Embedded World 2019 with Dr. Arne Dethlefs: We are strengthening our presence in North America

Through its US subsidiary, located in Minnesota, Garz & Fricke is providing support for its growing HMI and Panel-PC business in the USA and Canada while also strengthening its presence in North A...


SECO's innovations at embedded world 2019

In a much larger stand than in previous years, at embedded world 2019 SECO showcases its wide range of solutions and services for the industrial domain and IoT. Among the main innovations, in this vid...


Design and Manufacturing Services at Portwell

Since about two years Portwell is part of the Posiflex Group. Together with KIOSK, the US market leader in KIOSK systems, the Posiflex Group is a strong player in the Retail, KIOSK and Embedded market...


Arrow capabilities in design support

Florian Freund, Engineering Director DACH at Arrow Electronics talks us through Arrow’s transformation from distributor to Technology Platform Provider and how Arrow is positioned in both, Custo...


Arm launches PSA Certified to improve trust in IoT security

Arm’s Platform Security Architecture (PSA) has taken a step forward with the launch of PSA Certified, a scheme where independent labs will verify that IoT devices have the right level of securit...


DIN-Rail Embedded Computers from MEN Mikro

The DIN-Rail system from MEN is a selection of individual pre-fabricated modules that can variably combine features as required for a range of embedded Rail Onboard and Rail Wayside applications. The ...


Embedded Graphics Accelerates AI at the Edge

The adoption of graphics in embedded and AI applications are growing exponentially. While graphics are widely available in the market, product lifecycle, custom change and harsh operating environments...


ADLINK Optimizes Edge AI with Heterogeneous Computing Platforms

With increasing complexity of applications, no single type of computing core can fulfill all application requirements. To optimize AI performance at the edge, an optimized solution will often employ a...


Synchronized Debugging of Multi-Target Systems

The UDE Multi-Target Debug Solution from PLS provides synchronous debugging of AURIX multi-chip systems. A special adapter handles the communication between two MCUs and the UAD3+ access device and pr...


Smart Panel Fulfills Application Needs with Flexibility

To meet all requirement of vertical applications, ADLINK’s Smart Panel is engineered for flexible configuration and expansion to reduce R&D time and effort and accelerate time to market. The...


Artificial Intelligence

Morten Kreiberg-Block, Director of Supplier & Technology Marketing EMEA at Arrow Electronics talks about the power of AI and enabling platforms. Morten shares some examples of traditional designin...


Arrow’s IoT Technology Platform – Sensor to Sunset

Andrew Bickley, Director IoT EMEA at Arrow Electronics talks about challenges in the IoT world and how Arrow is facing those through the Sensor to Sunset approach. Over the lifecycle of the connected ...


AAEON – Spreading Intelligence in the connected World

AAEON is moving from creating the simple hardware to creating the great solutions within Artificial Intelligence and IoT. AAEON is offering the new solutions for emerging markets, like robotics, drone...


Arrow as a Technology Provider drive Solutions selling approach

Amir Sherman, Director of Engineering Solutions & Embedded Technology at Arrow Electronics talks about the transition started couple of years ago from a components’ distributor to Technology...


Riding the Technology wave

David Spragg, VP, Engineering – EMEA at Arrow Electronics talks about improvements in software and hardware enabling to utilize the AI capabilities. David shares how Arrow with its solutions is ...


ASIC Design Services explains their Core Deep Learning framework for FPGA design

In this video Robert Green from ASIC Design Services describes their Core Deep Learning (CDL) framework for FPGA design at electronica 2018 in Munich, Germany. CDL technology accelerates Convolutional...


Microchip explains some of their latest smart home and facility solutions

In this video Caesar from Microchip talks about the company's latest smart home solutions at electronica 2018 in Munich, Germany. One demonstrator shown highlights the convenience and functionalit...


Infineon explains their latest CoolGaN devices at electronica 2018

In this video Infineon talks about their new CoolGaN 600 V e-mode HEMTs and GaN EiceDRIVER ICs, offering a higher power density enabling smaller and lighter designs, lower overall system cost. The nor...


Analog Devices demonstrates a novel high-efficiency charge pump with hybrid tech

In this video Frederik Dostal from Analog Devices explains a very high-efficiency charge-pump demonstration at their boot at electronica 2018 in Munich, Germany. Able to achieve an operating efficienc...