1

I would like to generate stable volts from 0 to 5 and to minimize Gibbs phenomenon without losing measurement data. I get much sudden peaks in Raspberry Pi 1/2 which I can control by adding low-pass and/or high-pass filters after Raspberry but this is losing too much measurement data. These peaks correspond to Gibbs phenomenon and they are not because of a wiring problem and not because of Nyquist frequency.

Devices

I can detect the phenomenon with the sampling rates 500 MHz and 200 MHz by having the signal from Raspberry Pi 1/2 with standard ADCs (testing next week with a set of other ADCs). Here some pictures from 354 and 322 LeCroy Oscilloscopes (cheap) with 500 MHz and 200 MHz respectively when sigma delta ADC:

enter image description here

enter image description here

To increase the rate cannot minimize the source of the phenomenon. Processing of the data does not affect the creation of the event.

ADCs

I want to affect the formation of this event by affecting the ADC converter. The default converters of Raspberry cause much such an event. One thread about some basics.

Some ADCs

  • sigma delta ADCs, review here
  • non-sigma delta ADCs: MCP3008 (10 bit, 200 kHz), ADS1113 (16 bit, 860 Hz)
  • I2C: PCF8591 discussed here
  • ADS1113/4/5 (can be a good ones)

There must be better precision ADC converters. Better options

  • SAR (Successive Approximation) ADCs

Frequency and precision

I cannot give any answer about the frequency because it is determined by the internals of Raspberry Pi 1/2 where the limiting components are most likely ADCs. Low-pass filter works but it loses quite much data. Probably, the precision of 12 bits is ok.

Which precision ADC converters are good for Raspberry Pi in minimizing the sudden peaks?

  • 2
    I don't understand the problem. What are these sudden peaks? It's hardly an ADC problem if it correctly detects sudden peaks. What you describe sounds like a wiring problem. Could you explain what you are trying to measure, at what rate and precision? – joan Jul 22 '15 at 9:38
  • Answered your questions in the body. – Léo Léopold Hertz 준영 Jul 22 '15 at 9:47
  • 1
    @Masi A quick google suggests that sigma delta ADCs suffer from Gibbs phenomenom. SAR ADCs should be okay. You have presented no evidence that Gibbs phenomenom is actually what you are seeing. What ADC are you using? What are you sampling? How fast are you sampling? How are you processing the data? Is this just a theoretical exercice? – joan Jul 23 '15 at 9:45
  • 1
    To recommend an ADC, we need to know the sample rate you need, or the frequencies of the signal you are interested in. Is precision/number of bits important? Anyway, my feeling is that you should low-pass filter the signal before the ADC. – Frepa Jul 23 '15 at 13:01
  • 1
    True @Masi, Nyqvist is maybe not so relevant, but I think filtering might be. Apparently, sigma-delta ADC:s suffer from overshoot when sampling signals with fast edges. That document proposes to use a filter with a smooth cutoff when you're interested in the time-domain, to minimize overshoot. But then you of course will not see very sharp pulse edges either. Or indeed use a different, non-sigma-delta ADC. MCP3008 (10 bit, 200 kHz) is often mentioned on this site, ADS1113(16 bit, 860 Hz) is probably good if fast enough for you – Frepa Jul 26 '15 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.