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.

ADS1256

Other Parts Discussed in Thread: ADS1256

I have a customer with the following issue below. Please advise.

I am using TI’s 23-bit ADC, ADS1256IDB, and have some conversion problems.  If I lower the sampling rate to get better accuracy, the results are wildly inconsistent below the 1 kS/s setting.  I am using a 6.25 MHz clock, so the sampling rate scales as 6.25 / 7.68 * SR.  I have also slowed the switching time between inputs as I do this.  Six of the inputs are tied to an amplified ground signal, so 0 V plus any offset and noise, and the seventh input is tied to a 2.5 V reference.  None of these signals are changing except of the small amount of noise on any.

  • Hi Ignacio,

    Could you elaborate on what you mean by wildly inconsistent? Do you mean that you are reading back random erratic values or that you continuously read back the result for a near ground input making you wonder if the internal mux is cycling? Depending on how your program is written to read back the data, it may be that you are reading back the data while the output register is being updated resulting in what would look like as an erratic reading. We recommend monitoring the /DRDY line to monitor when a new conversion is ready. When the line drops, the output register has been updated with a new conversion result and is ready to be read back. If you are not monitoring the /DRDY line and it happens to poll during a read back sequence (indicating an output register update), the result becomes invalid and it would read back as an erratic reading.

    Now if the problem is that the converter just seems to read back the ground floor, I have to wonder if the mux is cycling at all. I would consider putting different voltages on the individual ADC inputs to check to see if the input mux is cycling at all. If it is, then it may just be that your calculated time delay is different than what the converter time delay is. Using the /DRDY pin as an interrupt would be the safest way to know when the mux has successfully cycled through the channels and a new conversion result is available.

    Once you can verify if the mux is cycling we can dig deeper.

    Regards,

    Tony Calabria

  • Here is what came back from the customer in response to your questions:

    We know the Mux is changing because it works correctly at higher sample rates.  The state machine monitors the DRDY line to wait for it to deassert before reading values.  The only question I have is – how many clock pulses should be sent for the SYNC, WAIT commands (which are 8-bit values).  I only send 8 clocks, since it’s an 8-bit command.  Do those need 32-clocks?  I don’t think so, since we read correctly at the higher sample rates, but I’d like to confirm that that’s not an issue.

  • Hi Ignacio,

    You only need to send 8 bit transfer words to send the command. One thing to note is that there are SCLK speed restrictions based on the master clock frequency. I would take a look at the t1 timing spec in relation to your customer's timing to make sure that they are within the limits. In fact, a lot of the timing specs are going to vary with changing the master clock frequency so make sure you look at that. t11 may be a spec they are violating as well.

    Regards,

    Tony Calabria

  • Look at the attached picture.  This is the ADC’s selected input pin and notice how much noise is on it.  A voltmeter measures 8 mV average.  Ignore in the picture what looks to be a -50 mV offset as there is something wrong with my oscilloscope.  The noise repeats every 13.6 ms.  The unselected input pins measure less than 500 µV with a voltmeter and are a flat line using the oscilloscope.

     

    There is an op-amp driving the pin with it amplifying 0 V on its input and an output impedance of 100 to 500 ohms (I give a range because each selected ADC input pin looks the same but the amplifier is a little different, but in all cases the input to the amplifier is 0 V).

     

    The ADC is set for auto-cal off,  buffer off, clock out off, PGA = 2, data rate is 814 S/s (6.25 MHz clock).

     

    Any idea what is causing so much noise?

    P.S.  I have the buffer disabled because the op-amps could go to their rails of 4.5 V and -0.5 V and these violate the common-mode input range of the buffer.  The data sheet states that inputs outside of this range could affect the conversion accuracy of the other inputs that are in the range.

     

    Also, 8 mV is what I read as the converted voltage.

    I should also mention there is a capacitance of 100 nF to 1 µF on the ADC input signals.

     

     

  • Hi Ignacio,

    Oscilloscope pictures are probably the best way to really understand what is going on rather than a multimeter result. Here, we are able to see what is going on and at what frequency this behavior is occurring rather than a DMM average reading. Correct me if I am wrong, but I assume that this scope picture is taken after the driving op amps and just prior to the input to the ADC where the 100nF to 1uF cap is placed. There are a few things I would first have the customer try to try to nail down the source of this -

     - Could you first have them enable the internal buffer of the ADS1256 for testing. I am curious if this behavior is still there when the ADC inputs are high impedance with the ADC's internal buffer enabled.

    - Second, could you have them increase and decrease the master clock frequency to effectively change the data rate. I am interested in seeing if the amplitude of these 'spikes' change or if the frequency in which they appear changes as the clock is changed.

    As I understand it, this test is done with the inputs connected to ground along with AINCOM connected to ground. I assume all grounds share a common ground and are not split analog ground and digital ground. If you could pass along a schematic that would be best to help me see the system as a whole. I understand that posting on the forum may not be the best for you so I can contact you directly through email if you would like.

    Thanks,

    Tony Calabria

  • I am just going to contact Ignacio directly to get to the root of this.

    -Tony