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.

ADS122C04: I am getting a large error on the output of the ADC

Part Number: ADS122C04


I’m currently using the ADS122C04 to ratiometrically measure two 2-wire RTD inputs.  My circuit is below:   

Rref is a 0.1% resistor. I looked at the voltage across my “test” RTDs (resistors) with an Oscope and it does look a bit noisy (maybe reduce the frequency of my filter?), but I would think that when I tried it with the highest sample rate, the final ADC output would have been at least more similar to the “ideal” value, but it was exactly the same as with 20SPS. For example, with a 100 ohm resistor, I’m measuring a voltage across the test resistor of 99.2 mV with a multimeter. My output code in hex is 1D1213 (1905171 in decimal). I then reverse calculate out the voltage drop across the resistor to be 93.7mV (which in temperature land is -16 deg C, as opposed to the 0 deg C it is supposed to be-->BIG ERROR). I also tried increasing the gain to see if that would reduce the error—no such luck. I’m not sure if my calculation is incorrect, or some register setting is incorrect, or if the noise is affecting it or what. The way I calculate it is:

VDIFF IN = [(2 * Vref/gain)/224] * code in decimal

I have set the registers as follows:

Config Reg 0: 0x04 (AINP = AIN0, AINN = AIN1, Gain = 4, PGA Enabled)

Config Reg 1: 0x02 (20SPS, Normal Mode, Single-shot, External Ref, Temp mode disabled)

Config Reg 2: 0x06 (Counter disabled, Data Integrity disabled, Current sources off, IDAC 1000uA)

Config Reg 3: 0xA0 (IDAC1 à REFP, IDAC2 disabled)

 

I have read back the registers and the values returned are correct, so I’m sure the I2C interface is working correctly. Any help you could provide would be appreciated and if I can answer any questions that make my setup more clear, please let me know.

  • Hi Katrina,

    I think you failed to take into account the voltage drop across the 100 Ohm filter resistor in the current path for the reference.  The actual reference voltage becomes (1650 +100 Ohms) * 1000uA = 1.750 V and the LSB value equal to approximately 52nV.  If you multiply the LSB times the output code of 1905171 you will see a voltage much closer to the expected at 99.36mV.  The slight differences from the multimeter can be explained by assumptions of specific values such as the IDAC current output being exactly 1000uA and the resistors also being their exact values.

    You may just want to remove the filter resistor(s) on the reference.  As the current is flowing through the device REFP pin to the resistor R159, there is no direct impact as a filter.  R159 will just add error due to drift of the resistor and precision of the resistor.  I would suggest removing R158, R159 (you could just replace with 0 Ohm), C160 and C162 and only leaving C161 as the differential cap across the reference resistor.

    Best regards,

    Bob B

  • I can't believe I didn't see that--you spend so much time looking at a schematic that you don't really "see" individual pieces anymore.  That was my issue--thank you so much and I will take your advice.