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.

Analog front end for ADS1278

Other Parts Discussed in Thread: ADS1278, ADS1258, ADS1274, ADS1278EVM-PDK, ADCPRO, OMAP3530, OPA1632, THS4521, THS4140, ADS1178

Hello,

I am in the beginning stages of designing an analog buffer for the ADS1278. I'm considering the THS452x series of differential amps. The question I have is about the Vcom pin on the amp. If I intend for the ADC to be bipolar (+/- 2.5V), should I ground the Vcom pin of the amp or attach it to the Vcom pin of the ADS1278? I guess I am unsure of its purpose. Does it add a DC offset to the output?

Any help will be appreciated

Thanks

Kyle

  • Hi Kyle,

    First off, the ADS1278 is a single supply device, you will need to power it the AVDD from a 5V supply. The Vcom pin from the ADS1278 is an output and equal to AVdd/2 or 2.5V in this situation. You will want to connect that to the Vcom pin of the amplifier setting the common mode point to midscale. From there, your input signal into your ADC will be centered around 2.5V.

    Now, the THS452x family of parts are 5.5V parts maximum, meaning that you will have problems using them with split supplies (+/-2.5V) to drive the input to the ADS1278. The absolute input voltage spec on page 3 of the ADS1278 data sheet explains that the device can only accept inputs within 0.1V of the supply voltages (-100mV to 5.1V).

    A couple options - First, you could use an amplifier with higher split supplies (+/-10V possibly). This would allow you to have a +/-2.5V input to your amplifier and shift it up to center it around 2.5V to input into the ADS1278. A second solution would be to use an ADC that can be run off of split supplies such as possibly the ADS1258. This device allows you to power the analog off of split supplies to accept signals within 100mV of the supply rails (+/-2.6V in this case). However, you lose the benefit of simultaneous sampling between the channels as this architecture includes a internal mux on the front end.

    Regards,

    Tony Calabria

  • Tony,

    Thank you for your reply.

    Below is  from page 23 of the ADS1278 datasheet:

     

     

     

    Analog Inputs (AINP, AINN)

     

     

    The ADS1274/78 measures each differential input signal VIN = (AINP AINN) against the common differential reference VREF = (VREFP VREFN). The most positive measurable differential input is +VREF, which produces the most positive digital output code of 7FFFFFh. Likewise, the most negative measurable differential input is VREF, which produces the most negative digital output code of 800000h.

    If VREF = (VREFP VREFN), VREFP = 2.5V, and VREFN = 0V, then VREF = 2.5V. According to the above sited paragraph, the most positive value is +2.5V and the most negative value should be -2.5V.

    We have a ADS1278EVM in our lab that we have been using for data collection the past few weeks and I'm about 98% positive that it reads +/-2.5V.

    Please tell me if I am mistaken because we have a lot riding on this design working as it does on the EVM. Except for a spurious MSB flip problem, but that is another post for another day :)

    Thanks for your help

    Kyle

  • Kyle,

    Here's a screenshot from the ADS1278EVM-PDK plug-in with ADCPro, while I'm applying a 5V peak to peak sinusoid with no offset on channel 1:

     

    Just looking at the EVM, I can see why you may be confused here. Without looking at the schematic the EVM certainly makes it appear as though the ADS1278 is taking a -2.5 V input. What's actually happening though is the buffering op amps on the board add a 2.5V offset to the signal (the common mode voltage from the ADS1278) and the ADS1278 resolves the voltage with respect to the common mode.

    So when Tony says the input range is only within 0.1V of the supply voltages (-100mV to 5.1V), he is still correct even though the output codes you get from the ADS1278 will make a 0 V input (measured directly at the input pins) look like -2.5 V because 0V is -2.5 V from the common mode.

  • Kevin,

    I will look at our EVM again in a couple of days (our current one got fried during lightning storm, new one on the way). We are not using the PDK, we only have the ADC EVM. We have not been using the onboard amplifiers, they are bypassed using the switches on the EVM and are not powered due to removing J4, J15, and J16. We are using a OMAP3530 to receive the data over McBSP. We have not tested a wide range of input voltages. We have been applying +2.51V to channel 1 via a DC power supply just to test our software development. This generates the code 7FFFFF. If the DC supply is set to 0V, then the output code goes to ~000000 (of course not perfect all 0s, lower bits are random noise). When the DC supply leads are then reversed and the voltage is set to 2.51V, meaning -2.51V to ADC, the output code is 800000. I have not personaly swept through the negative voltages, but pretty sure the code 800000 doesn't appear until the DC supply exceeds -2.5V.

    Our new ADC EVM will be in possibly tomorrow and I will test this again to make sure I am telling you correctly. I don't want to waste anyone's time if I am incorrect.

    Kevin, since you seem to have the system availabe and working, could you try inputing a sin wave that is 5Vpp with the switch set to read directly from the terminal blocks bypassing the amplifiers. With VREF @ 2.5V.

    Thanks

  • We see the signal clipped, as the datasheet describes...just a little bit lower voltage than what the datasheet says

  • Kevin,

    Thank you for doing that test. Now I know that I definitely need an analog front end. Does anyone have any suggestions on a low power differential op amp with at least +/-7V rails with good noise charateristics?

    Thanks to Tony as well for his insight.

    Kyle

  • Kyle,

    On our EVM we use the OPA1632, but it's a little power hungry. It'd be easier to suggest a good amp for you if you could give us some idea what input you're expecting to see for your end application.

    You've mentioned that you want to use the whole range of the ADC, which we can make happen with a variety of op amps, but depending on what you're planning on actually feeding the Op Amp the suggestion here could be different.

  • Also, as a follow up, selecting an op amp also depends on how much of your power budget you've allocated for your analog front end and how many channels of the ADC you plan on using. A single OPA1632 is not that bad as far as power goes, but if you're using all 8 channels of the ADS1278 and have a 1632 on every channel you'll be using a lot of power. Our EVM gets a little toasty with 8 of those on board.

  • We are designing a field deployable DAQ device that will be battery powered. As of right now there is no specific power budget for the analog buffers (or anything else for that matter), but since the device is going to be battey powered and expected to run at least 2 weeks in the field, the lower the power draw the better. The end device will be used to attach a number of different sensors. Since it will be sold to numerous customers these sensor types are really unknown, so once a dynamic range is . Our end device will have 16 channels (2 ADS1278  daisy-chained), the power of the op amps will add up quick. I have seen the 8 OPA1632 on the EVM in action and thats not pretty. There seems to be a gap in the differential op amp market. The devices like the THS4521 that come in quad packs and have low power draw have too low of rails, and everything with high enough rails seems to be geared more toward audio with very high power requirements. Package type is also very important due to large number of these devices.

    I have spent a little time going through options available and havent found one that stands out as a solution yet.

  • Kyle,

    Finding an op amp that prescribes to all of your requirements is going to be difficult. A low power, wide supply, small package, differential op amp would kind of be a "magic bullet" op amp if you catch my meaning. The OPA1632 does look very nasty on our board, but I should also mention to you that much of the problems that those amplifiers create on our board are directly related to the supply rails and power consumption that we are used to facing on the MMB0 platform.

    As you may have noticed from looking at the schematic the supply rails for the OPA1632s are boosted up from 5V from the MMB0. When you boost you gain voltage, but lose current. The op amps, however, still need to draw current to drive the ADS1278 so the board gets toasty. You probably would not have as much heat present in your system, assuming you were able to provide sufficient supply rails without boosting.

    We are looking into replacing the OPA1632 on our EVM with the THS4521 on single +5V supplies. That will eliminate the need for boost and 8 of the THS4521s will still be lower power than a single OPA1632. The sacrifice, however, is that we cannot apply a bipolar signal directly to the inputs of these amps like we can with the 1632. I bring all of this up because these are the same design decisions you're going to have to make with regard to your system. If you need to support a wide range of unknown sensor outputs, then you're going to have to sacrifice some power for your analog front end.

    THS414X amplifiers may work well for you, they have tremendously wide supplies to support as many of your "mystery sensors" you may encounter and the current draw isn't terrible given the super wide range. THS4140, in particular, has a simple power down pin to drop your current consumption down to 1.2 mA if you're not continuously collecting data.

    If you can bear the current consumption then the OPA1632 may work fine for you. If you can get some more information on the output you may see from sensors you may be able to work with the THS4521.

    Have you considered these? If so, what did you not like about them. I can try to get in contact with some of our stronger op amp experts and see if they can help us find a good solution for you.

  • Kevin,

    I understand that what I am looking for doesnt really exsist. We are planning on finding a happy middle ground between power and dynamic range. Just like any other data logging device you purchase this one will have set input range. We have no customer specific requirements so we are free to pick what we please.

    Thank you for your help and suggestions

    kyle

  • Kevin,

    I dont want to "beat a dead horse" but I need help explaining this ADS1278 issue. We have the EVM running stand alone and using an OMAP3530 to read the data in over McBSP3. The EVM is in Frame-Sync mode with fclk and sclk being 2MHz. The jumpers J15, J16, and J4 have been removed so I am positive that the OPA1632 amps are not powered. We are running in low power mode with the clk div set to 1. All channels are powered down except channel 1. The SW for channel 1 is in the TBK position.

    I would like someone to help me understand the files I have attached in the ZIP folder. I provided JPEGS of Matlab plots and raw data files used to produce them. I also included the Matlab script we are using to parse the raw files. The data files are the raw bits read in from McBSP.

    The sine wave was input centered at 0V, freq of 60Hz, and 4.7Vpk-pk. As you can see in the sine JPEG, our system is not clipping. Also I provided DC voltage plots as well.

    I need to understand the disconect between your test and ours before I finish these custom boards and send them off to be made.

    thank you

    Kyle

    ADC1278 test.zip
  • Kyle,

    How exactly are you providing this signal to the EVM? Is the input signal single ended or differential?

  • I was applying the signal single-ended.

     Meaning our function generator outputs the sine wave on its positive terminal and its system ground is on the negative terminal

  • Okay, so you've got a single-ended signal coming out of your function generator which has two terminals; positive (signal) terminal and negative (ground) terminal. Precisely how do you have those connected to the EVM?

    My worry is that you have your positive terminal connected to J9.2 and your negative terminal connected to J9.1 (or the reverse) as shown below:

    Yes, this silkscreen is for the ADS1178. It's a quick and handy image from the EVM User's Guide, for this purpose they're the same.

    If your set-up is like the picture above, then you need to make sure that your negative terminal at J9.1 is also connected to ground from the board. Alternatively you could connect J9.1 directly to ground on the board or from your power supplies and connect the ground from your function generator to your power supply grounds. If you don't the negative terminal of your function generator will be floating with respect to the ground of your power supplies and the EVM and some strange things like what you've described can happen.

  • Kevin,

    On the silkscreen above my signals are connected to the terminal block in  the following configuration:

    function generator positive connected to NP1

    function generator negative connected to NN1

    It is strange that a floating negative terminal could cause an unipolar ADC to become bipolar. Seems like at best it would alter the voltage read a little but hard to believe that the sine wave would still come out with no distortion and the only "negative" outcome be that the ADC start reading voltages that are out of its normal range.

    Have any of your colleagues seen this type of behavior before?

    What happens if you drive your EVM single ended in the same matter? I have 2 that perform in the exact same way using two different function generators.

    I will test grounding the function generator negative(NN1) in the morning when i return to work. I will also test using the balanced output of the function generator (i believe it has this ability). Another question is, what will occur when we sell this equipment to customers and they attach single ended sensor like i have the function generator? We use plenty of our National Instruments ADC equipment in this matter with no issues. Our customers use a wide range of sensor types, some differential and some single ended. We can not plan on the end user only using one type of sensor.

    Thanks

    Kyle

  • Kyle,

    Let me try to go item by item and address your comments in this post.

    "It is strange that a floating negative terminal could cause an unipolar ADC to become bipolar. Seems like at best it would alter the voltage read a little but hard to believe that the sine wave would still come out with no distortion and the only "negative" outcome be that the ADC start reading voltages that are out of it's normal range."

    The ADS1278 is not transforming from a unipolar converter to a bipolar converter, it's just the illusion of such a thing happening. The negative terminal of the device is not truly just floating. Sure, when you've applied your negative generator output to the negative terminal it is floating with respect to ground but the outcome can make something like this appear truly mysterious. Lets try to take a look through this stuff under some different circumstances.

    Let me preface all of the figures to follow with the state of my set-up. My input signal is a +/-2.5V Sinusoid at 1KHz. I am using the EVM-PDK with the OPA1632 not powered, and switched out of the system. Additionally, I have removed R17 and R18 so the buffering amplifiers are completely removed from the system. All of my inputs will be applied to channel AIN1.

    The figure below is with my positive generator output connected to AIN1+, AIN1- is floating, and the negative output of my generator is connected to EVM GND.

    As another example case, here is the same test but without even sharing ground between the EVM and my generator:

    Perhaps these results fall more aligned with what you were expecting to see from a true floating terminal. Now, lets revert to the set-up I showed in the silkscreen image from my previous post. I'll probe the input signals with respect to EVM GND so we know exactly what the ADS1278 is actually seeing.

    Purple is the signal at AIN1+ (Positive Generator Output)
    Orange is the signal at AIN1- (Negative Generator Output)
    Red is the difference of these two signals.

    So, what we see in this figure is the signal the converter is actually seeing. As you can tell, this signal is not truly bi-polar. There's a few things going on here. First of all, you don't have any sort of common ground between your signal source and your EVM. Because of that, the negative output of your generator is actually around 2.5V because there is no common reference voltages between these two things. Second, the ADS1278's internal behavior may be cause a little pull up on the signal applied to your negative terminal. It's hard to say since we don't have a common ground reference between these signals to begin with.

    For the rest of your post...

    "Have any of your colleagues seen this type of behavior before?"

    Short answer, yes.

    "What happens if you drive your EVM single ended in the same matter? I have 2 that perform in the exact same way using two different function generators."

    The same thing happens, see the above explanations and images.


  • Kevin,

    I am at home today but here are a few images a co-woker emailed me this morning:

    This image is with the function generator single ended and the AINN1 terminal jumpered to ADC gnd.

     

    This image is with the function generator driving the input differentially, i have also included an a screen shot of input signal:

     

     

    The following image is with the function generator differential and the function generator referenced to ADC ground:

    We dont see the type of distortion that you see on your test. I will test more signals and different configurations when i return to work tomorrow. It looks like to be assured that the systems will peform as need in all situations we will have to take the power consumption hit and use a similiar bipolar front end that TI has on the EVM.

    Thanks

    Kyle

     

     

  • Hi Kyle,

    There are four pictures here that I will comment on one by one.

    - First picture, using the function generator single ended - Since you connected the ground of the function generator to the ADC, the behavior that you see is exactly what I would expect. Once your input exceed about -0.6V below ground, the ESD diode kicks in and clamps the input voltage.

    - Second picture, Function generator - From my understanding, you are inputting a 2V differential signal. Each input has its own 1V amplitude 180 degrees out of phase of one another to give you your signal.

    - Third picture, ADC converted result without sharing the grounds - Think of the ground not necessarily as a common ground but as a reference point for all your voltages on your board. As you have it here, the reference point (ground) for your EVM board is different than your reference point (ground) of your generator. These two grounds are essentially 'floating' from one another. Therefore, the common mode point of your input signal is floating relative to your EVM ground reference point. In testing we have seen a ground from one device 'float' as much as 30V from a ground of a second device. As Kevin showed in the previous post, the two differential input signals relative to one another will give you the sine wave you expect, but if you look at each input relative to the EVM ground, they are both going to appear a little different.

    - Fourth picture - Connecting the source ground to the EVM ground - As I can see it here, the amplitude of your converted result is attenuated to about +/-1.6V. This is because when you connect the two grounds together, you are fixing the common mode input point to 0V. As you do this, either your positive or negative input signal will be exceeding the absolute input range spec (AGND-0.1V) causing the ESD diodes to kick in and clip one of the two signals. The ESD diodes kick in around -0.6V and will clip the signal. That is why your amplitude of your signal looks like +/-1.6V (1V+0.6V) as opposed to +/-2V.

    I read that your concern is when you have a customer attach a sensor to the input. When they do so, that sensor will be sharing the same ground as the ADC so the fourth picture is the most accurate representation of what they can expect. You need to select a differential driving amplifier for the ADS1278, so just make sure that it has a pin used to set the common mode of the output (OPA1632 on the EVM shows a working example). The ADS1278 has a common mode out which is the midpoint of the two supplies. This will make sure the common mode of the differential input signal to the ADC is set to 2.5V. Therefore, you will not have problems with a +/-2V input differential signal which may come from your sensor.

    Regards,

    Tony Calabria

  • To continue trying to solidify this, the reason you're not seeing distortion on any of the signals you've shown here like the pictures I've shown you is because you're not doing the same thing that I described in those tests, or at least you've not described it as such in any of your text.

    The distorted signals were with AIN1- actually floating. There was nothing connected to that pin at all. Not even the negative output from the generator. The only thing that was connected was the positive output from my generator to AIN1+. I did this all to try to help clarify what is happening in the case that you apply the negative terminal of a single ended function generator to AIN- and the positive terminal to AIN+. Purely for illustration purposes, it is in no way something correct to do.

  • Kevin and Tony,

    Thank you gentlemen for your time, effort, and above all patience on this issue. I have identified some diff analog buffers that i will use for the front end.

    Again, Thanks

    Kyle

  • Kyle,

    It's what we're here for. Glad we could help you get your head around this stuff, differential signaling can be tricky sometimes. Let us know if you need any further assistance with your design.