use the oversamplling followed by '' decimation method ''to increasee the ADC resolution and not normal averagingLTC2485 I2C Data FormatAny tricks to generate triangle wave to add to analog signal for oversampling?About the meaning of “oversampling”Delta Sigma Converters: ResolutionSampling rate analog to digital converterQuestion about the registers of an ADCOptimal tradeoff between ADC bit depth and sampling rateWhy can't you just average ADC samples to get more resolution from an ADC?Resolution enhancement for a 2wire PT100 setup with ADC and no external amplificationA question about 16 bit ADC representation

Why can't RGB or bicolour LEDs produce a decent yellow?

Can you book a one-way ticket to the UK on a visa?

Is a vector space automatically spacelike if it has a basis of spacelike vectors?

Why was the Ancient One so hesitant to teach Dr. Strange the art of sorcery?

How to send a packet across NAT to local machine

Would an 8% reduction in drag outweigh the weight addition from this custom CFD-tested winglet?

When a land becomes a creature, is it untapped?

What are the implications of the new alleged key recovery attack preprint on SIMON?

What's special about a Bunsen burner?

51% attack - apparently very easy? refering to CZ's "rollback btc chain" - How to make sure such corruptible scenario can never happen so easily?

Reaction of borax with NaOH

What does i386 mean on macOS Mojave?

Extrude the faces of a cube symmetrically along XYZ

What is the significance of 4200 BCE in context of farming replacing foraging in Europe?

What to do if SUS scores contradict qualitative feedback?

Drawing lines to nearest point

Repair a file using Audacity?

How could a Lich maintain the appearance of being alive without magic?

Create a list of all possible Boolean configurations of three constraints

How to make a language evolve quickly?

Can the sorting of a list be verified without comparing neighbors?

Noob at soldering, can anyone explain why my circuit won't work?

What's the word for the soldier salute?

Was this a power play by Daenerys?



use the oversamplling followed by '' decimation method ''to increasee the ADC resolution and not normal averaging


LTC2485 I2C Data FormatAny tricks to generate triangle wave to add to analog signal for oversampling?About the meaning of “oversampling”Delta Sigma Converters: ResolutionSampling rate analog to digital converterQuestion about the registers of an ADCOptimal tradeoff between ADC bit depth and sampling rateWhy can't you just average ADC samples to get more resolution from an ADC?Resolution enhancement for a 2wire PT100 setup with ADC and no external amplificationA question about 16 bit ADC representation






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1












$begingroup$


To increase the 12-bit resolution of ADC from 12 bit to 14 bit , this can be done through 'oversampling and decimation method'
An Atmel Application note says that




The higher the number of samples averaged is, the more selective the low-pass filter will be, and the better the interpolation. The extra samples, m, achieved by oversampling the signal are added, just as in normal averaging, but the result are not divided by m as in normal averaging. Instead the result is right shifted by n, where n is the desired extra bit of resolution, to scale the answer correctly. Right shifting a binary number once is equal to dividing the binary number by a factor of 2.



It is important to remember that normal averaging does not increase the resolution of the conversion. Decimation, or Interpolation, is the averaging method, which combined with oversampling, which increases the resolution




This reference clearly says that in decimation method the result is right shifted by the desired extra bit of resolution, and not divided by m as in normal average.



  1. So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?


  2. It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?










share|improve this question









New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$











  • $begingroup$
    How do you define "normal averaging"?
    $endgroup$
    – TimWescott
    2 hours ago










  • $begingroup$
    "but what if we don't use a binary number" - all numbers are binary numbers in a microcontroller.
    $endgroup$
    – brhans
    2 hours ago










  • $begingroup$
    @TimWescott: It's "defined" (sort of) in the paper.
    $endgroup$
    – Dave Tweed
    2 hours ago

















1












$begingroup$


To increase the 12-bit resolution of ADC from 12 bit to 14 bit , this can be done through 'oversampling and decimation method'
An Atmel Application note says that




The higher the number of samples averaged is, the more selective the low-pass filter will be, and the better the interpolation. The extra samples, m, achieved by oversampling the signal are added, just as in normal averaging, but the result are not divided by m as in normal averaging. Instead the result is right shifted by n, where n is the desired extra bit of resolution, to scale the answer correctly. Right shifting a binary number once is equal to dividing the binary number by a factor of 2.



It is important to remember that normal averaging does not increase the resolution of the conversion. Decimation, or Interpolation, is the averaging method, which combined with oversampling, which increases the resolution




This reference clearly says that in decimation method the result is right shifted by the desired extra bit of resolution, and not divided by m as in normal average.



  1. So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?


  2. It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?










share|improve this question









New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$











  • $begingroup$
    How do you define "normal averaging"?
    $endgroup$
    – TimWescott
    2 hours ago










  • $begingroup$
    "but what if we don't use a binary number" - all numbers are binary numbers in a microcontroller.
    $endgroup$
    – brhans
    2 hours ago










  • $begingroup$
    @TimWescott: It's "defined" (sort of) in the paper.
    $endgroup$
    – Dave Tweed
    2 hours ago













1












1








1





$begingroup$


To increase the 12-bit resolution of ADC from 12 bit to 14 bit , this can be done through 'oversampling and decimation method'
An Atmel Application note says that




The higher the number of samples averaged is, the more selective the low-pass filter will be, and the better the interpolation. The extra samples, m, achieved by oversampling the signal are added, just as in normal averaging, but the result are not divided by m as in normal averaging. Instead the result is right shifted by n, where n is the desired extra bit of resolution, to scale the answer correctly. Right shifting a binary number once is equal to dividing the binary number by a factor of 2.



It is important to remember that normal averaging does not increase the resolution of the conversion. Decimation, or Interpolation, is the averaging method, which combined with oversampling, which increases the resolution




This reference clearly says that in decimation method the result is right shifted by the desired extra bit of resolution, and not divided by m as in normal average.



  1. So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?


  2. It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?










share|improve this question









New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






$endgroup$




To increase the 12-bit resolution of ADC from 12 bit to 14 bit , this can be done through 'oversampling and decimation method'
An Atmel Application note says that




The higher the number of samples averaged is, the more selective the low-pass filter will be, and the better the interpolation. The extra samples, m, achieved by oversampling the signal are added, just as in normal averaging, but the result are not divided by m as in normal averaging. Instead the result is right shifted by n, where n is the desired extra bit of resolution, to scale the answer correctly. Right shifting a binary number once is equal to dividing the binary number by a factor of 2.



It is important to remember that normal averaging does not increase the resolution of the conversion. Decimation, or Interpolation, is the averaging method, which combined with oversampling, which increases the resolution




This reference clearly says that in decimation method the result is right shifted by the desired extra bit of resolution, and not divided by m as in normal average.



  1. So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?


  2. It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?







microcontroller adc






share|improve this question









New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.










share|improve this question









New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








share|improve this question




share|improve this question








edited 2 hours ago









Dave Tweed

126k10156272




126k10156272






New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.








asked 2 hours ago









AliAli

61




61




New contributor



Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




New contributor




Ali is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • $begingroup$
    How do you define "normal averaging"?
    $endgroup$
    – TimWescott
    2 hours ago










  • $begingroup$
    "but what if we don't use a binary number" - all numbers are binary numbers in a microcontroller.
    $endgroup$
    – brhans
    2 hours ago










  • $begingroup$
    @TimWescott: It's "defined" (sort of) in the paper.
    $endgroup$
    – Dave Tweed
    2 hours ago
















  • $begingroup$
    How do you define "normal averaging"?
    $endgroup$
    – TimWescott
    2 hours ago










  • $begingroup$
    "but what if we don't use a binary number" - all numbers are binary numbers in a microcontroller.
    $endgroup$
    – brhans
    2 hours ago










  • $begingroup$
    @TimWescott: It's "defined" (sort of) in the paper.
    $endgroup$
    – Dave Tweed
    2 hours ago















$begingroup$
How do you define "normal averaging"?
$endgroup$
– TimWescott
2 hours ago




$begingroup$
How do you define "normal averaging"?
$endgroup$
– TimWescott
2 hours ago












$begingroup$
"but what if we don't use a binary number" - all numbers are binary numbers in a microcontroller.
$endgroup$
– brhans
2 hours ago




$begingroup$
"but what if we don't use a binary number" - all numbers are binary numbers in a microcontroller.
$endgroup$
– brhans
2 hours ago












$begingroup$
@TimWescott: It's "defined" (sort of) in the paper.
$endgroup$
– Dave Tweed
2 hours ago




$begingroup$
@TimWescott: It's "defined" (sort of) in the paper.
$endgroup$
– Dave Tweed
2 hours ago










1 Answer
1






active

oldest

votes


















3












$begingroup$

I wouldn't take that application note too seriously — it contains many errors, both conceptual1 and typographical.



Adding up a bunch of samples and then scaling the sum by some factor, no matter what you call it, IS averaging. It's also filtering. It is, in fact, just one special case of a finite impulse response (FIR) filter, in which every sample gets its own scale factor and then they get added together to create the result.




So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?




It's all the same thing in the end.




It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?




Just use ordinary division if the divisor isn't a power of 2.




1 For example, "white" noise is NOT equivalent to "gaussian" noise, although many natural noise sources are both gaussian AND white.






share|improve this answer











$endgroup$








  • 3




    $begingroup$
    Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
    $endgroup$
    – TimWescott
    1 hour ago











Your Answer






StackExchange.ifUsing("editor", function ()
return StackExchange.using("schematics", function ()
StackExchange.schematics.init();
);
, "cicuitlab");

StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "135"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);






Ali is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f438039%2fuse-the-oversamplling-followed-by-decimation-method-to-increasee-the-adc-re%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3












$begingroup$

I wouldn't take that application note too seriously — it contains many errors, both conceptual1 and typographical.



Adding up a bunch of samples and then scaling the sum by some factor, no matter what you call it, IS averaging. It's also filtering. It is, in fact, just one special case of a finite impulse response (FIR) filter, in which every sample gets its own scale factor and then they get added together to create the result.




So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?




It's all the same thing in the end.




It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?




Just use ordinary division if the divisor isn't a power of 2.




1 For example, "white" noise is NOT equivalent to "gaussian" noise, although many natural noise sources are both gaussian AND white.






share|improve this answer











$endgroup$








  • 3




    $begingroup$
    Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
    $endgroup$
    – TimWescott
    1 hour ago















3












$begingroup$

I wouldn't take that application note too seriously — it contains many errors, both conceptual1 and typographical.



Adding up a bunch of samples and then scaling the sum by some factor, no matter what you call it, IS averaging. It's also filtering. It is, in fact, just one special case of a finite impulse response (FIR) filter, in which every sample gets its own scale factor and then they get added together to create the result.




So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?




It's all the same thing in the end.




It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?




Just use ordinary division if the divisor isn't a power of 2.




1 For example, "white" noise is NOT equivalent to "gaussian" noise, although many natural noise sources are both gaussian AND white.






share|improve this answer











$endgroup$








  • 3




    $begingroup$
    Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
    $endgroup$
    – TimWescott
    1 hour ago













3












3








3





$begingroup$

I wouldn't take that application note too seriously — it contains many errors, both conceptual1 and typographical.



Adding up a bunch of samples and then scaling the sum by some factor, no matter what you call it, IS averaging. It's also filtering. It is, in fact, just one special case of a finite impulse response (FIR) filter, in which every sample gets its own scale factor and then they get added together to create the result.




So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?




It's all the same thing in the end.




It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?




Just use ordinary division if the divisor isn't a power of 2.




1 For example, "white" noise is NOT equivalent to "gaussian" noise, although many natural noise sources are both gaussian AND white.






share|improve this answer











$endgroup$



I wouldn't take that application note too seriously — it contains many errors, both conceptual1 and typographical.



Adding up a bunch of samples and then scaling the sum by some factor, no matter what you call it, IS averaging. It's also filtering. It is, in fact, just one special case of a finite impulse response (FIR) filter, in which every sample gets its own scale factor and then they get added together to create the result.




So, the question is, why do we need to use decimation method instead of the normal averaging after the oversampling to increase the ADC resolution?




It's all the same thing in the end.




It says above "Right shifting a binary number once is equal to dividing the binary number by a factor of 2", but what if we don't use a binary number, how do we use the decimation method in this case?




Just use ordinary division if the divisor isn't a power of 2.




1 For example, "white" noise is NOT equivalent to "gaussian" noise, although many natural noise sources are both gaussian AND white.







share|improve this answer














share|improve this answer



share|improve this answer








edited 2 hours ago

























answered 2 hours ago









Dave TweedDave Tweed

126k10156272




126k10156272







  • 3




    $begingroup$
    Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
    $endgroup$
    – TimWescott
    1 hour ago












  • 3




    $begingroup$
    Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
    $endgroup$
    – TimWescott
    1 hour ago







3




3




$begingroup$
Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
$endgroup$
– TimWescott
1 hour ago




$begingroup$
Although, the distinction that the paper is making (however badly) is that whatever method you use for averaging (or filtering), you need to save the least significant bits. If you average 16 samples, you (roughly) reduce the RMS noise by a factor of 4. If you don't keep the two additional "good" bits one way or another, you lose the advantage. Whether you do that by shifting, or multiplying by floats, or whatever -- it still needs to be done.
$endgroup$
– TimWescott
1 hour ago










Ali is a new contributor. Be nice, and check out our Code of Conduct.









draft saved

draft discarded


















Ali is a new contributor. Be nice, and check out our Code of Conduct.












Ali is a new contributor. Be nice, and check out our Code of Conduct.











Ali is a new contributor. Be nice, and check out our Code of Conduct.














Thanks for contributing an answer to Electrical Engineering Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

Use MathJax to format equations. MathJax reference.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2felectronics.stackexchange.com%2fquestions%2f438039%2fuse-the-oversamplling-followed-by-decimation-method-to-increasee-the-adc-re%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown