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.

ADS131M08EVM: Connecting an Accelerometer

Part Number: ADS131M08EVM
Other Parts Discussed in Thread: ADS131M08

Hi,

I am using an ADS131M08EVM to measure the output from an analog +/- 3 g triaxial accelerometer that outputs 0 to about 3.3 V. At 0 g the output is about 1.65 V. What is the proper way to connect the accelerometer to the ADS131M08EVM (connections and jumpers)? Every connection I try seems to significantly drop the voltage measured on my voltmeter and measures incorrectly on the ADS131M08EVM. I am using just one axis of the accelerometer for now, but once this works properly I will duplicate it across all three axes on two accelerometers (six channels).

The accelerometer is on a breakout powered by 5V from an Arduino. I sometimes use the GND from the Arduino and sometimes from the ADS131M08EVM (there seems to be less noise this way). The accelerometer breakout details are here: https://www.adafruit.com/product/163

It seems the maximum voltage swing allowed on the ADS131M08EVM is +/- 1.2 V so perhaps I need to connect the accelerometer to span a 2.4 V range around the midpoint of 1.65 V. Presumably this would not allow the entire +/- 3 g range to be used. How would that be connected? Alternatively, I could scale down the accelerometer voltage signal and then use the entire range. Again, I am not sure how to do that either. Suggestions?

Also, while I’m at it, is there a 5V supply on the ADS131M08EVM that I could use to replace the Arduino?

Sorry, lots of questions.

Thanks,

Larry

  • Hi Larry,

    Thank you for your post. 

    The ADS131M08 accepts an absolute input voltage from -1.3 V to AVDD at Gain < = 4. For Gain > 4, the upper range reduces to AVDD - 1.8 V. This is the voltage that can be safely applied to a single input pin. Differentially, the voltage between AINxP and AINxN must be less than +/- Vref / Gain. This is the voltage which the ADC will convert to a binary value.

    The ground of your accelerometer breakout board should always be reference to the ADC analog ground (AGND) since these are analog input signals. 

    Are you able to scale down the output of the accelerometer? For example, if the output scaled down to 0 V to 2.4 V over the span of -3g to +3g, then you could apply 1.2 V to AINxM (assuming 1.2 V = 0g) and the corresponding differential voltage (AINxP - AINxN) would range from -1.2 V to +1.2 V. You would then only use Gain = 1 in the ADS131M08.

    Regards,

    Ryan

  • Hi Ryan,

     Thanks for the quick reply. If I understand this correctly, as long as I keep the Gain <= 4 there should be no risk of damage to the ADS131M08EVM due to the accelerometer voltages.

     I mentioned previously that when I connect my accelerometer breakout to the ADS131M08EVM that the voltage drops significantly. My connections/jumpers are as follows:

    - 5V supply to the accelerometer breakout comes from the Arduino (I would like to get this from the ADS131M08EVM if possible)

    - ground for the accelerometer breakout comes from the ADS131M08EVM AGND

    - measure one accelerometer with axis oriented at 0 g shows approx. 1.647 V on the voltmeter (as expected, approx. midpoint of 3.3 V)

    - connect the accelerometer signal to the ADS131M08EVM J1 AIN0P

    - jumper placed on JP1 5-6

    - voltage level on the voltmeter drops to 0.096 V

    - voltage level measured on the ADS131M08EVM shows 0.0965 V (4096 samples, 4k sampling rate, Vref = 1.2 V, OSR = 1024, PGAGAIN0 = 1, 24 bits)

     Is the reason for this voltage drop when the ADS131M08EVM is connected due to the interaction between the accelerometer output impedance (32k) and the two 1k resistors in the ADS131M08EVM (connected to ground by the JP1 jumper)? This 2k and 32 k voltage divider should reduce the accelerometer voltage from 1.647 V to 0.097 V, just like I measured. To explore this further, I replaced the accelerometer with a 10k pot (still using the 5 V supply from the Arduino) and adjusted it to vary the voltage input to the ADS131M08EVM from 0 to slightly higher than 1.2 V. The ADS131M08EVM read the same voltages as my voltmeter but only up to 1.2 V. Note that these voltages agreed with the voltage divider calculation using the pot and the two 1 k resistors. Note that these voltages were also much higher when the ADS131M08EVM was not connected.

     So, it seems like I do not need to scale the accelerometer signals because they are already scaled by the two 1k resistors. In fact, they are scaled much more than is necessary. If an accelerometer voltage of 1.647 V converts to about 0.097 V then a fullscale level of 3.3 V (for +3 g) will be about 0.193 V, well below the limit of Vref (1.2 V).

    Does all of this make sense?

     If so, is there a way to boost the accelerometer signals instead of scaling them down (e.g. different resistors in the ADS131M08EVM)? I did try changing the PGAGAIN0 to 2 and 4, and the signal changed accordingly on the ADS131M08EVM (but of course not on the voltmeter). I suppose I could select a higher gain, but I will have to recalculate the safe levels first.

    What is the reason for limiting the reference voltage to 1.2 V and can it be increased?

    Thanks,

    Larry

  • Hi Larry,

    - 5V supply to the accelerometer breakout comes from the Arduino (I would like to get this from the ADS131M08EVM if possible)
    • There is a 5V supply available on R63. There is no test point for this supply, but you could blue-wire a connection to your accelerometer depending on the expected current load. I would keep it to less than 50 mA.

    As you mentioned, by installing JP1[5-6], you are effectively loading your accelerometer output with a 2kohm impedance to GND. It makes sense that this is why your output is drooping, given the 32k source impedance. I recommend leaving the jumpers uninstalled, and connect your accelerometer ground to J1[2]. The positive output can remain connected to J1[1].

    If you want to use the 2k impedance to ground as a way of dividing your input signal, that is another potential solution. These resistors were originally provided to be used as burden resistors, which connect to the secondary side of a Current Transformer (CT) for current measurements. You can also modify these values as you see fit for your testing purposes. 

    The reference voltage for this ADC is fixed by design as this was sufficient for AC and DC metering applications, which was the primary market for this device family. An external reference can be applied to the REFIN pin, but the limit is only from 1.1V to 1.3V.

    Regards,

    Ryan

  • Hi Ryan.

    If I leave the jumpers uninstalled, the voltage on my voltmeter drops from 1.647 V to 1.571 V (not sure why) and pins 1 and 3 are the same level. This means the ADS131M08EVM measures 0 V.

    If instead I connect the jumper to JP1[3-4] then I am using only one of the 1k resistors and the voltage drops to 0.0497 V (i.e., about half of the previous 0.097 V). This agrees with my MicroCap simulation of the circuit. It seems I still need a jumper and putting it on JP1[5-6] provides the highest signal.

    Thanks,

    Larry

  • Hi Larry,

    You're right that the AIN0N input will be driven to the same voltage as AIN0P when JP[5-6] is not installed, that was an oversight on my part. The voltage on AIN0N will just follow the voltage on AIN0P through the 2k impedance. The ADC is measuring differentially (AIN0P-AIN0N), which is why the digital output is close to 0.

    Regards,

    Ryan

  • Hi Ryan,

    Thanks for all the help. Much appreciated.

    Larry