This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADS1158: sampling questions

Part Number: ADS1158

The datasheet says that the fixed-channel data rate is 125 kSPS, and the auto-scan data rate for 16 channels is 23.7 kSPS/Channel.   This doesn’t seem possible to me, because 125ksps/16 = 7.8ksps.  How can this part sample each channel at 23.7kSPS, yet only be capable of 125ksps on a single channel?

Since this is a delta-sigma converter, I believe there is latency between when a sample is captured, and when it appears at the digital interface.  How do I figure out what this latency is?

When switching between ADC channels (or auto-scanning), is there extra delay required to “flush” the digital filter data from the previous ADC channel? 

  • Hi Nicholas,

    I agree that the autoscan is a little confusing.  Basically for autoscan you need a sinc1 response so that the digital filter is single-cycle settling (each conversion result is fully valid).  The fastest rate for this mode of operation is 23.7ksps.  So the scan rate becomes 23.7ksps/channel for actual throughput.  The fixed channel mode allows up to 125ksps which uses a different digital filter response.

    As the ADC is oversampling there is some latency, but with the sinc1 filter you can think of this as basically an average over the conversion period.  As the mux changes internally for autoscan, there is no additional latency due to digital filter as it is flushed for each conversion when the conversion starts.

    Where you might see an issue is with analog settling between channels.

    Best regards,

    Bob B

  • your explanation doesn’t seem to be consistent with the datasheet.

    First, there is no sinc1 response filter described in the datasheet.  Also, in Figure 29:

    The auto-scan data rate is shown on the sinc5 digital filter response.    The text also says:

    So, I think a sinc1 filter is probably not present.  Thoughts?

  • Hi Nicholas,

    This is kind of a complicated part as there is a sinc5 followed by an sinc1 averager.  What actually happens depends on fixed channel or auto-scan mode selection, CHOP and DLY settings.

    Let's go back to your original questions.

    The datasheet says that the fixed-channel data rate is 125 kSPS, and the auto-scan data rate for 16 channels is 23.7 kSPS/Channel.   This doesn’t seem possible to me, because 125ksps/16 = 7.8ksps.  How can this part sample each channel at 23.7kSPS, yet only be capable of 125ksps on a single channel?

    The answer is 125ksps/5 is about 25ksps.  Note that the maximum for a single channel in auto-scan is 23.7ksps.  Does that help clarify a little?  The full 16 channel conversions takes about 700us (1/(23.7ksps/16)) which is stated in the datasheet on page 11.

    Since this is a delta-sigma converter, I believe there is latency between when a sample is captured, and when it appears at the digital interface.  How do I figure out what this latency is?

    I'm not quite sure here what you are asking for here.  Delta-Sigma ADCs are oversampling and there is always some latency involved.  For a sinc5 digital filter, the data requires 5 complete conversions for valid data and thus the lower data rate when using auto-scan.

    When switching between ADC channels (or auto-scanning), is there extra delay required to “flush” the digital filter data from the previous ADC channel? 

    There is some overhead to complete the conversion, switch channels and flush the digital filter.  The overhead is the difference in the theoretical and the actual times which is about 2.2us.  Additional delay can be added to compensate for any analog settling, but will reduce the overall throughput.

    So, I think a sinc1 filter is probably not present.  Thoughts?

    The digital filter output response will follow the sinc5 response in the graphs.  The averager that follows is a sinc1 response.  For the 23.7ksps, the averager is set to 'no averaging'.  The auto-scan mode does all of the work for you in the end and removes the overhead of manually communicating for the mux switching, restarting the conversion, and monitoring the DRDY for a single channel result after 5 conversions periods.

    I hope that makes it more clear.

    Best regards,

    Bob B

  • Hi Bob,

    Thank you for the clarifications! I think just one final follow up:

    AS per the table below and note 3, if all 16 channel are active and if we consider DRATE, let’s say 10, will it result into data rate 15123/16 = 945 SPS/ per channel?

    Table 3. Data Rates(1)

     

     

    DRATE[1:0]

     

    Num_Ave(2)

    DATA RATE AUTO-SCAN MODE (SPS)(3)

    DATA RATE FIXED-CHANNEL MODE (SPS)

    3dB BANDWIDTH (Hz)

    11

    1

    23739

    125000

    25390

    10

    4

    15123

    31250

    12402

    01

    16

    6168

    7813

    3418

    00

    64

    1831

    1953

    869

    (1) fCLK = 16MHz, Chop = 0, and Delay = 0.

    • Num_Ave is the number of averages performed by the digital filter second stage.
    • In Auto-Scan mode, the data rate listed is for a single channel; the effective data rate for multiple channels (on a per-channel basis) is the value shown in Figure 29 and Figure 30 divided by the number of active channels in a scan loop.
  • Hi Nick,

    Bob was supporting this question for me while I was out.

    Yes, your statement is correct assuming the parameters in the customer's system match those in footnote #1 (fCLK = 16MHz, Chop = 0, and Delay = 0)

    -Bryan

  • Hi Bob/Bryan,

    In Auto scan mode, if we are utilizing all 16 channel, and lets say I am using 8usec time delay, no chopping, and 4 averages, with this config, let's say I am getting around 800/900 samples per second data rate. Can we accurately capture a 5 kHz sine wave on one channel ? What parameter will tell us if can get accurate capture or not?

  • Hi Ranjita,

    I saw you asked this same question in a different e2e post. I will close out this thread then and answer your question there.

    -Bryan