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.

How to solve Data distortion on the output of the ADC1672 when using it in its Evaluation board form

Other Parts Discussed in Thread: THS4520, ADS1672

Good day,

We are using the ADC1672 from TI as it comes in its evaluation board.  In our application we have a mother board that connects directly to the ADC1672 EVM board.  We have tested the performance of the acquisition and it is good. However, if the input voltages are close to the saturation voltage the converted data gets distorted in a “twos complement wrapping around” form.  This is described in the illustrations and text below.  We have two hypotheses for the cause of this problem but would like to confirm about these with a TI FAE and see what the potential solution is for this problem.

 

Setup description:

 

The ADC1672 EVM is connected to a PCB that has a microcontroller. The micro interfaces with the ADC1672 and provides it with the signal to start conversion and gets the acquired data through I2C interface provided.

 

A differential signal is supplied to the ADC1672EVM.  It centered almost at 2.5V.  There is a small offset (about 0.05V) that due to the tolerances of the components we have we cannot control. However, we do not believe this would be the problem as within the ADC1672EVM module this signal is being fed to the THS4520 differential amplifier, which uses a precise common reference from the board.

 

From the ADC's data sheet:

 

 

Problem description

 

The examples below show data acquired from the ADC1672EVM interfacing with our microcontroller.  The first two graphs correspond to input signals with a voltage leve well below the rails.

 The graph shows the raw digitized data (already converted to decimal format) for an input signal with 1.1V peak as it is delivered by the ADS1672. It is clear that there is a wide gap around 8000000 (the Y axis on the graph is in Hex), which indicates that the signal is way below saturation. 

 

The graph below shows the same data after the two's complement in a bipolar scale.  We can now see that the signal has a small positive DC offset (the signal's mid point is above 0V)

 

 

Note that there is a small DC offset in the signal.  It can be better seen in the signal before the two’s complement. The lobes at the bottom are larger than those at the top.

 

The signal below is close to the saturation point. However, because the differential driver is introducing a small DC offset, the level of the signal is enough to distort the output.

The "half point" in the graph below should have been at around 8388608 (i.e 2^23).  If the signal was perfectly balanced, the red line would be a straight horizontal and the peak A should have been larger than B.  The offset that produces the distortion.

 

 

The graph below shows the data after the 2's complement conversion. As expected the point B and all its similar points in the sequence have the sign inverted.

 

 

 

We believe that the problem is caused by an offset on the 2.5V reference voltage between the output of the REF5025 chip and the reference that the ADC1672 “sees”. At this time this offset is estimated to be at about 0.12V, which is enough to produce the errors seen above.

 

The question is how can we minimize the offset voltage on the board? Should we get a new board, replace components?

 

As plan B we could consider defining an amplitude band around the saturation voltages such that it  covers the DC offset. Any sample that falls within the band is considered to be saturated and it must be either discarded or replaced with another value.  This can be easily implemented in the FPGA that interfaces with our microcontroller.

 

 

 

 

Below is the resulting time series  after the ADC data is complemented to two (bipolar scale). The red line was corrected and it distorted the signal, but the resulting distortion is significantly less than in the original case (blue)

 

 

 

This correction technique would not work if  the signal was totally saturated as all samples would fall within the band to discard. There would not be any samples to replace them with.

 

  • There appears to be some confusion on the operation of the device.  The ADS1672 data output is in TWO's COMPLEMENT format; it is not straight binary (please see Table 9 screenshot in the original post).  Therefore, the dual graphs maybe confusion the issue a little.  From the same table, once the input signal is above or below the limits, the output code clips at a constant value.  If the input signal is not symmetrical or there is a slight offset, this could result in one side of the signal clipping before the other - and therefore producing some kind of offset.

  • Hi Greg,

    Thanks for taking the time to reply to my post.  I do understand that the ADS1672 produces data in Two's complement format.  The dual graphs I placed in my post were only to clarify why I was having the problem.   You are right, it occurs when the signals are not symmetrical.  As I mentioned in my post we are using the ADS1672 in its Evaluation Board form - i.e. we bought the evaluation pcb ADS1672EVM and connected it to our system. In fact we designed our circuit's with a connector to directly plug in the evaluation board.

    My problem is not so much with the ADS1672 but with the way in which it is used in the Eval board ADS1672EVM .  I checked the schematics and I think there is a disconnect between the Voltage references in the board.  The ADS1672 (U6)  is connected to a differential voltage reference provided by (U1 and U4), while the differential amplifier (U2) that drives the input to the ADS1672 sees another voltage reference (U3).  I do not think there could be a perfect match between these two references. I believe that any offset between the two could unbalance and make the ADS1672 see an unsymmetric input signal.

    Am I right in the observations above? and if so, then why was the evaluation board designed like that?

    Thanks

     

  • There isn't a match between the references...one is a 3.0V reference, the other a 2.5V reference.  They provide different functions in the circuit:

    REFP/REFN provide the reference for the data converter....this sets the range of the data converter.

    The other reference is for the differential amp common mode voltage.  This was chosen at VDD/2 (2.5V in this case) to provide maximum signal swing (+/-5V) without distortion due to running into the op-amp rails.

  • Greg Hupp said:

    There isn't a match between the references...one is a 3.0V reference, the other a 2.5V reference.  They provide different functions in the circuit:

    REFP/REFN provide the reference for the data converter....this sets the range of the data converter.

    The other reference is for the differential amp common mode voltage.  This was chosen at VDD/2 (2.5V in this case) to provide maximum signal swing (+/-5V) without distortion due to running into the op-amp rails.

     

    Greg,

    Thanks for the clarification. I did overlook the values of the references.  I did further reading into the specs of the ADS1672 and the fully differential opamp THS4520 that drives the signals to the AINP and AINN ports of the ADS1672. 

    Let me discuss the following scenario. Assume that:

    1.- The Reference Input to the ADS1672 is set to 3V 2.- The CM input of the THS4520 is set to 2.5V+0.1V, with 0.1V being a relatively small offset error on the 2.5V reference.  3.- The input signal is a sinusoidal centered at 0 with an amplitude of 0.9V or 1.8V peak to peak  (which is a little more than half of the 3.0V reference voltage)

    From the specs of the THS4520 I say that its differential output will be centered at 2.6V and oscillate between 2.6 +/- (0.9V) = +3.5V and 1.7V

    I also think that the ADS1672, because it has differential inputs it should eliminate the 0.1V offset and it will only "see" a input signal of 0.9V of amplitude centered at whatever voltage the ADS1672 thinks is the 0 reference.  The converted value I would assume should be centered around 0 (or 800000H after the two;s complement)

    Please let me know if you agree with the conclusions I made about how the ADS1672 deals with the offset in the differential input signals.

    Thanks

    Shoys

     

  • Greg,

     

    I think the message I just posted did not come out as I wanted. Please ignore that one and instead read this one.

     

    Greg,

    Thanks for the clarification. I did overlook the values of the references.  I did further reading into the specs of the ADS1672 and the fully differential opamp THS4520 that drives the signals to the AINP and AINN ports of the ADS1672. 

    Let me discuss the following scenario. Assume that:

    1.  The Reference Input to the ADS1672 is set to 3V
    2.  The CM input of the THS4520 is set to 2.5V+0.1V  (with 0.1V being a relatively small offset error on what would be an ideal 2.5V reference)
    3.  The input signal is a sinusoidal centered at 0 with an amplitude of 0.9V or 1.8V peak to peak  (which is a little more than half of the 3.0V reference voltage)

    From the specs of the THS4520 I say that its differential output will be centered at 2.6V and oscillate between 2.6 +/- (0.9V)  i.e between +3.5V and 1.7V

    I also think that the ADS1672, because it has differential inputs it should eliminate the 0.1V offset and "see" a input signal of 0.9V of amplitude centered at whatever voltage the ADS1672 thinks is the 0 reference.  The converted value I would assume should be centered around 0 (or 800000H after the two;s complement)

    Please let me know your comments about this scenario and conclusions.

    Thanks

    Shoys

  • Shoys  -

    On the common mode of the signal, it really shouldn't matter if there is any offset on not.  The signal is differential, so a small offset shouldn't affect anything...unless the offset got big enough to cause common mode input problems on the ADC.  But the 0.1V offset that you are talking about shouldn't affect the signal.

  • Greg,

    If a small offset in the input does not affect the operation of the ADC, then I do not understand then what is causing the erroneous clipping that I am getting in my signal when it is close to saturation.

    The examples I showed at the begining of this thread show an unbalance in the differential inputs to the DAC. I calculated that unbalancing voltage to be 0.12V.  When the amplitude is low I can get the signal properly converted to straight binary from the ADC output, which is in 2's complement.  However, when the amplitude is larger, close to saturation, then the small unbalancing offset (0.12V) that I have in my signals will affect the final value I get when I convert the ADC output to straight binary.

    Why is this?

    Let me know your comments

     

    Shoys

     

  • Shoys -

    It is a little unclear why you are analyzing the data as straight binary.  From prior messages, the data output is in Two's compliment format so the inversion at the top of the waveform is normal behavior when viewing two's compliment data near the limits in straight binary format.

    As far as offset goes, the ADC will have some offset that is just inherent to the ADC.  This is usually a pretty small amount.  In terms of the differential signal, different common mode voltages should not affect the converted result as the signal is differential.  However, any potential offsets of the actual signal, would still be converted by the ADC and should as an offset in the output data.  Potential signal offsets:

    • it is possible that your input signal still has a small DC offset
    • Mismatch of gain around differential amplifier (mismatch in Ri and Rf in the feedback path)
    • Output signal offset introduced by differential amp itself

    Probably your best option is to look at the signal (differentially) before, after op-amp, and the ADC data (two's compliment) to determine were in the chain the offset in being introduced.  It may turn out to be several place, and therefore an accumulation over the signal chain.