Replies: 3 comments 4 replies
-
I couldn't find any details on the adc hardware in the i.MX RT1062. The datasheet doesn't say much about the actual adc hardware. It does have a handy picture: The switched capacitor acts like a resistor with a max value of 1k according to the datasheet. Otherwise, the datasheet really doesn't contain much in the way of details. Oversampling and then decimating/filter will act as antialiasing, but I don't understand what you're saying when the signal is sampled quickly 8 times. Is that just the successive approximation of this adc or something else? Is there some documentation I can reference? |
Beta Was this translation helpful? Give feedback.
-
I did some more research and found this appnote which describes something called oversampling and averaging. Sounds a lot like what the Teensy hardware might be capable of. The theory says that adc resolution can be improved: "Assuming the noise approximates white noise, the random variable representing the noise is equally distributed with zero mean between ADC codes." To increase the resolution of measurements by oversampling:
where w is the number of additional bits. They then propose that
This formula appears in the teeny cpu's datasheet too where they say the ENOB is 10.1 (minimum) when AVGE=1, AVGS=11. I don't know what AVGS=11 means. So I don't know if we can take advantage of increased resolution. However, that app note also says:
Which means they require an antialiasing filter and the techinque doesn't do any antialiasing on it's own. White noise above nyquist will reflect below nyquist even with an antialiasing filter and this oversample and average technique will reduce that aliased white noise. I think adding an antialias filter would be a good idea. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
In the current Edrumulus hardware design, there is no anti-aliasing filter considered. I measured the spectrum of a typical piezo trigger signal and it did not have a lot of high frequencies. It looks like most of the signal is located below 4 kHz.
However, electrical interference signals might be present which might have higher frequency components. The signal interferer situation may be improved with an anti-aliasing filter.
For a possible anti-aliasing filter, the way the samples are captured in the micro controller should be considered. E.g., for the Teensy hardware, 8 samples are averaged in the ADC hardware. So, we sample at 8 kHz but at every sample point, the signal is sampled very quickly 8 times which results in a non-even sampling with a high sampling rate. I am not sure what influence this averaging has on the design of a possible analog anti-aliasing filter.
Beta Was this translation helpful? Give feedback.
All reactions