I remember saving a link to this... http://www.edaboard.com/nextoldesttoentry1570.html
page. Be sure to hit the "next" button at the bottom of the page to go to Part 2 where there is discussion of acquisition time.
Possibly something of value there.
I remember saving a link to this... http://www.edaboard.com/nextoldesttoentry1570.html
page. Be sure to hit the "next" button at the bottom of the page to go to Part 2 where there is discussion of acquisition time.
Possibly something of value there.
Last edited by Heckler; - 21st July 2015 at 05:13.
Dwight
These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.
The only part I cant understand is the line he somehow calculated 40 + 38.4 us = 78.4 uS .. where did that 40 come from ?
40 us is the value the author arbitrarely gives as acquisition time "sampleus parameter".
Remember:
A too high acquisition time will give issues when the analog input approch the V(ref+)
A too low acquisition time will give issues when the analog input approch the zero
So, if you do not see any issues in your reading at the extreme of the reading field then the acquisition time used is correct!
Ciao, complimenti per il tuo italiano!
Al.
Last edited by aratti; - 21st July 2015 at 14:37.
All progress began with an idea
Where do you get this from?A too high acquisition time will give issues when the analog input approch the V(ref+)
A too low acquisition time will give issues when the analog input approch the zero
The aquisition time is the MINIMUM amount of time you have to wait for the holding capacitor (and it's RC network) to fully charge/discharge to the voltage level you're sampling.
If you set the acquisition time too low then you won't have allowed enough time for the charge on the capacitor to reach the desired level, and you'll get an incorrect conversion. It doesn't matter so much if the input is near Vref or zero, it'll be wrong.
If you're measuring a DC voltage, there is no "too high" an aquisition time.
From the charging function of a capacitor!Where do you get this from?
Al.
All progress began with an idea
So you're saying that if you wait too long the voltage on your sampling capacitor will be wrong?
If you put a small RC network across a voltage source, what will the voltage across the capacitor be if you wait a second? A minute? An hour?
You cannot use the full function because it is foundamentally a logaritmic function. For the ADC convertion you need a linear function. Once time, resistence and capacity are fixed than the charging function depend only from the voltage applied. If during the charging time you do not pass the 1T point of the function, than the charging function can be considered "quasi liner" and the system work. In other words you can deduce the value of the voltage applied. If you pass the 1T point then thing become more complicated since from that point on the function is purely logaritmic.
Cheers
Al.
All progress began with an idea
Bookmarks