Author Topic: Analogue input accuracy calaulation method  (Read 2781 times)

0 Members and 1 Guest are viewing this topic.

Offline RossTopic starter

  • Contributor
  • Posts: 31
  • Country: nz
Analogue input accuracy calaulation method
« on: November 20, 2017, 09:58:22 pm »
Hi all,

Before I ask my question I want to apologies if this is a simple question already answered on this forum or on the web. I have been unable to find anything, probably due to not knowing the technical name for the process makes it harder to search for.

In specifications for devices that use ADC (say a DMM) the accuracy is given as %range +%measurement (can be expressed in different ways). I wonder how this is calculated?

Thanks Ross
 

Offline HalFET

  • Frequent Contributor
  • **
  • Posts: 512
  • Country: 00
Re: Analogue input accuracy calaulation method
« Reply #1 on: November 20, 2017, 10:10:13 pm »
You mean how they calculate the possible error range when using a component, or how it is measured in the first place?
 

Offline RossTopic starter

  • Contributor
  • Posts: 31
  • Country: nz
Re: Analogue input accuracy calaulation method
« Reply #2 on: November 20, 2017, 10:22:13 pm »
You mean how they calculate the possible error range when using a component, or how it is measured in the first place?

I was thinking that both would be part of the answer, but if not then I am more interested in the calculation part?
 

Online beanflying

  • Super Contributor
  • ***
  • Posts: 7392
  • Country: au
  • Toys so very many Toys.
Re: Analogue input accuracy calaulation method
« Reply #3 on: November 21, 2017, 12:04:36 am »
In theory it is best done by calibration against known standards in a calibrated Lab or at least referenced against standards much more accurate than the meter.

It could also be done mathematically which is what you are thinking but without a specific circuit and all component values and complete data sheets this cant be done and it very complex for all but the simplest circuits.

I have for example just finished a couple of Voltage references and apart from 2 filter Caps, minimal wires and a small proto board there is just one Chip containing the Zener . So in this case providing you have minimised copper losses, noise (caps and power supply) and met the data sheet specs claiming this reference for example at X +- Y microV would be ok. BUT when you get to this level (lack of) Temperature Coefficients and short and long term drift are much larger than the initial spec. So a complete Spec would X +- Y +- Z/degC +- Qppm/time ......   This reference for example is way more accurate than my 3 1/2 and 4 1/2 digit Multimeters and more stable than my 6 1/2 digit which drifts more than it does. Confused yet  :o

What I suspect happens in the case of some manufacturers is they break out a dart board throw a bunch of darts and take an average  :palm:
Coffee, Food, R/C and electronics nerd in no particular order. Also CNC wannabe, 3D printer and Laser Cutter Junkie and just don't mention my TEA addiction....
 

Offline RossTopic starter

  • Contributor
  • Posts: 31
  • Country: nz
Re: Analogue input accuracy calaulation method
« Reply #4 on: November 22, 2017, 08:32:26 pm »
In theory it is best done by calibration against known standards in a calibrated Lab or at least referenced against standards much more accurate than the meter.

Thanks fro your reply, just to be on the same page, when you say using a know standard, this is using feeding in a known accurate voltage into the ADC and the output is recorded?

I assume this would be done at different voltages over the range of ADC measurement then feed into some maths to get the %range + %reading? If I am correct what is the maths?
 

Offline nfmax

  • Super Contributor
  • ***
  • Posts: 1630
  • Country: gb
Re: Analogue input accuracy calaulation method
« Reply #5 on: November 22, 2017, 08:55:35 pm »
The % of reading + % of range error specification comes from the implied model of the measurement error: a linear scale factor error plus a constant offset (on each range). The % values come from the maximum allowed values of each.
 

Online beanflying

  • Super Contributor
  • ***
  • Posts: 7392
  • Country: au
  • Toys so very many Toys.
Re: Analogue input accuracy calaulation method
« Reply #6 on: November 22, 2017, 09:42:05 pm »
In the case of multimeters it is the meters accuracy as a whole that is tested and not just the ADC. A lot of modern meters are then tweaked in software against a standard or known voltage, current or resistance etc. to improve their calibration. Old school they would have had trim pots in the circuitry to do the same thing.

Writing a meters %range and %reading also must take into account any non linearity of the overall meters design. In theory these figures are also a worst case figure on the meters produced so some will be well inside this spec and none outside.

Two of my meters below both 5 year old against a 5V Reference (4.99989 at 20 degrees this morning) meters turned on for about 5 minutes and the reference has been running for several days.

Victor 86B spec on DC 400mV/4V/40V/400V/1000V   ±(0.5%+4)

So for a 5V nominal input this could be 5 +- 0.025V+0.04 or 5 +- 0.065 both meters are well within their spec.

Dropping the same across a badly constructed voltage divider (measured 0.99957Vdc) of Vishay 0.005% resistors

For this nominal 1V input spec would be 1+-.005+.004 or 1+-0.009

once again the meter is well within spec. This would then be repeated for AC, Resistance and all the other ranges.

To arrive at this 'assumption' however I am relying on my Agilent 34401A being perfectly calibrated which I have no real way of knowing as it lapsed 2 years ago. Due to it's accuracy and precision I have a high degree of 'certainty' that the figures I used from it are more than up to the task of calibrating my Victor meters due to their lower accuracy and precision. If it was in calibration I would have a reference to a known standard and could actually put a number to that 'certainty'.

There is a thread running in the metrology section on the forum about getting started with some links to good reading. :)
Coffee, Food, R/C and electronics nerd in no particular order. Also CNC wannabe, 3D printer and Laser Cutter Junkie and just don't mention my TEA addiction....
 

Offline RossTopic starter

  • Contributor
  • Posts: 31
  • Country: nz
Re: Analogue input accuracy calaulation method
« Reply #7 on: November 30, 2017, 08:35:47 pm »
The % of reading + % of range error specification comes from the implied model of the measurement error: a linear scale factor error plus a constant offset (on each range). The % values come from the maximum allowed values of each.

Thanks nfmax, I think I understand the definition of accuracy error and how to apply it from a given spec to obtain an error for a give measurement range. My questions is how these spec are obtained. For example if I am a DMM manufacture and I want obtain the error spec for the product. How is it calculated?

Apologies for my delayed response.
 

Offline RossTopic starter

  • Contributor
  • Posts: 31
  • Country: nz
Re: Analogue input accuracy calaulation method
« Reply #8 on: November 30, 2017, 08:44:19 pm »
There is a thread running in the metrology section on the forum about getting started with some links to good reading. :)

Thanks for your reply and sorry for the delayed response. I cannot seem to find the thread you are taking about in the metrology, never been good at searching forums. Can you provide me a link or the title of the tread? Sorry to be a pain.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 30421
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Analogue input accuracy calaulation method
« Reply #9 on: November 30, 2017, 09:07:32 pm »
A little tip for expressing plus/minus in posts on this forum.

Use the + from your keyboard then highlight the + with your mouse and use the Underline button above.

Looks something like this before posting [ u ] + [ / u ] (spaces added)
Comes out like this: +
Avid Rabid Hobbyist.
 

Offline CopperCone

  • Super Contributor
  • ***
  • Posts: 1415
  • Country: us
  • *knock knock*
Re: Analogue input accuracy calaulation method
« Reply #10 on: November 30, 2017, 10:10:56 pm »
I think about the measurement you take being a error bar with the tolerances specified.

So I just imagine its fuzzy between this and that.

The error bar is also there to simply the span calculation.

No doubt, everything would benefit from some kind of complex polynomial with 100 measurement points. Look at the INL for a ADC. You could smooth that out, like the equation for RTDs (calsen van dusen or something like this).

You could have it bang on at 10v, but at 1V it might be off because of INL. They calculate it based on the tollerance of the components (worst case specified by manufacturer) and the INL of the ADC. The INL is small though, most likely.

If you get into the nitty gritty, for alot of things, single point calibrations suck unless the transfer function is known and a equation to match that function to the measurement is used. Most likely this would require significant computational power.  :popcorn:

And a "best fit" line might be difficult to generate. Probably would result in some beastly polynomial for random things.

not to mention some large number of sample points.
« Last Edit: November 30, 2017, 10:19:03 pm by CopperCone »
 

Online beanflying

  • Super Contributor
  • ***
  • Posts: 7392
  • Country: au
  • Toys so very many Toys.
Re: Analogue input accuracy calaulation method
« Reply #11 on: November 30, 2017, 11:03:12 pm »
Thanks for your reply and sorry for the delayed response. I cannot seem to find the thread you are taking about in the metrology, never been good at searching forums. Can you provide me a link or the title of the tread? Sorry to be a pain.

https://www.eevblog.com/forum/metrology/how-do-i-get-started-98964/

Getting to the more nerdy 6+ digit readings sees stated %accuracy very very low on equipment and Temperature Coefficients or TempCo drift cause a lot of the error or uncertainty in the readings. If you want to see hyper nerdish talk of that check out the LTZ1000 thread  :popcorn:
Coffee, Food, R/C and electronics nerd in no particular order. Also CNC wannabe, 3D printer and Laser Cutter Junkie and just don't mention my TEA addiction....
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf