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.

ADS1232 Problem

Other Parts Discussed in Thread: ADS1232

 Hello Sirs,

I have a difficulty with ADS1232 in my project.It converts the input data wrongly .while no analog value is applying in AINP1 and AIPN1 it converts and shows some wrong datas on  DRDY/DOUT.this converted data is changing very fast and sometimes too slowly.they are something like some overshoots on output !   in my last project I used the schematic that I'm using right now for ADC section.I had no problem with ADS1232 in the last project .I appreciate if you help me.I will attach and send you the schematics if it is needed.

P.S. My email address : anssarri@gmail.com

Regards.

  • Saeed,

    For your ADS1232, in what way is the data wrong? Is the data off by a gain error? Is the data corrupted?

    Even with the inputs floating, the converter will attempt to measure a signal and the inputs may float to unusual values.

    Let me know what you are seeing (and be specific and descriptive about your system). Also, I'll need you to describe your setup (what gain you're using, what reference, input sources,  oscillator speeds, data rate, if power-down or syncs are used) and anything else that might help understand your system.

    Also, it would help to take scope photos of the communications. That includes the SCLK and DRDYn/DOUT lines. Scope plots can be compared to serial interface diagrams shown on Figure 46 on the datasheet.

    Joseph Wu

  • Joseph,

    Thank  you  for  your consideration.I'm going to design a new digital scale.when I started this project I had designed another system under ADS1232 with above setup and it have been working with no problem so far.it was a digital scale with the 30Kgr capacity and 1gr degree.for this project,my setup is :

    GAIN1 = GAIN0 = 5v    ,   TEMP = 0v , Ref Voltage = 5 v,  Oscillator = 4.9152 MHZ ,no power down or sync are used.I used this setup for 30Kgr project too.

    As I mentioned before I receive wrong data from ADS1232.for example ,I connected AINP1 and AINN1into the outputs of a loadcell.the ADS1232 converted and sent blow values while there was no pressure on the loadcell :

    000000   ,     007000    ,    000002    ,    200000   ,   023040   , 000890   and  so on.there was no sequence between the output values they were changing fast and slow randomly.

    Then I disconnected and replace  SpeedDRDYn/DOUT  ,  PDOWN  and  CLCK from my new design with  the  ones from that  30Kgr project  ADS1232 section through 4 wires.the data values that I read were :

    007504   ,  007505 ,  007504   ,  007505 ,007504   ,  007505 ,007504   ,  007505 ,007504   ,  007505 and so on.It worked with no problem.when I pressed the loadcell

    the values increased up to about 200000 and after releasing the pressure from loadcell, it came back to 007504 as supposed to be.

    And my questions :

    Is there any probability that the problem is comming from the material of PCB ?

    or

    A noise from the power lines or the ground paths surrounding the ADC section ?

    Please give me your suggestions .

    P.S. I'm sure about the performance of Capacities,Resistors and other devices

     

    Saeed Ansari

  • Hello,

    No more suggestion for my problem ?

    Grateful if you help me.

     

    Saeed Ansari

  • In debugging what you have, I would make a few measurements.

    First, I would measure the refernce pins to make sure the reference is getting to the REFP and REFN pins. There should be 5V on pins 16 and 15. Then I would measure the input pins AINP1 and AINN1 (if those are the input you are using. Those would be pins 11 and 12. You should note that you are currently in a gain of 128V/V, so the signals you are looking at are very small. Even 200000(dec) which is the largest deviation is almost 0.9mV in signal. Just make sure that when everything is hooked up, that there is a signal and a reference going to the ADC. Measurements should be made at the pins just to make sure the signals are reaching the ADC. You could also reduce your gain to 1 or 2 just to see that you have a realistic reading from the ADC. You can also check to see that the load cell is changing the input when it is pressed.

    After that, I would disconnect the load cell (to make sure the problem isn't there) and then short the inputs. This should give you the least amount of noise in any given measurement. I would then take an ADC measurement to see if this does indeed give output codes close to 000000h.

    I'm not sure if its possible the problem is coming from the PCB material. I would think this is unlikely.

    It is certainly possible that the noise from power lines and ground paths can disrupt a reading. However, the amount of noise seems to be too large. I would need to know more about your circuit, including the schematic and layout. I would also need to know about how the load cell is driven. I would also check to see if there is a problem in the schematic or layout to see if there is a problem in the hookup of the circuit.

    Joseph Wu

  • Joseph,

    I myself   think  the problem relates to power supply noise.consequently I want to change some GND and VCC paths surrounding  the ADC section to disappear this problem.

    Anyhow,please give me your email address I send you my schematics and PCB for applying your suggestions to the final PCB too.

    P.S. My email address is  : anssarri@nospam.gmail.com

    Regards.

    Saeed Ansari

  • Saeed,

    I've looked through your layout and I don't see too much that would be a problem.

    In comparison between your old and newer layout, I see that they are very similar to each other. However, I noticed that you use a completely different reference scheme, with a resistor divider supplying a lower voltage. Is there a reason for this? It certainly changes the input range and may decrease the performance. Generally, I wouldn't have expected this to degrade performance to the level you describe, but it might be an issue.

    Also, how do you connect the analog and digital grounds on this design? It's not shown on the schematic (that I could find). This may also cause ground loop problems and create extra noise for the ADC.

    As for the layout, the suggestions I have are generic suggestions that I would normally make.
    1. I wouldn't run any signals or vias under the device. In general these can create or pick up EMI disturbances and create noise in the measurement.
    2. When running the signal path, make sure that they run away from the the digital lines particularly SCLK and CLK. When I refer to the signal path, this would be any line going into the inputs and the reference.
    3. The ground plane under the device should be continuous, without lines running through it (or vias as mentioned before).
    4. Ground and supply connections should be direct to the local connection on the board. Both ground and supplies can be susceptible to digital currents which can cause spikes in voltage with longer ground or supply traces.
    5. Supply decoupling caps can also help reduce noise. These should be placed on the supply near the ADC. In the old design, the reference was the supply and had a capacitor. In the new design, this is no longer the case.

    In the comparison between the old and new designs, I would try to revert as much back to the old design as possible. See if you can reset the reference back to the supply instead of having a resistor divider. Also, I would try to clean up the power supply (by using an external supply) and see if the noise drops as well. As I'd mentioned before, I would check to see that a shorted input gives generally good results (disconnect the load cell and short inputs).

    Joseph Wu