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.

THS4520: Stability issue with gain = 0.95

Part Number: THS4520
Other Parts Discussed in Thread: ADS5294, THS4541, THS4551

Hi,

I am experiencing stability issue with the THS4520.

I use it as to drive an ADC (ADS5294) with a gain of 0.95, and some filtering  across the feedback resistor (see attached file).

If I remove C9 and C10, the circuit is stable. Howewer, if I add them, which is what I need, the circuit oscillates, and it oscillates even more if I heat up the amp. I don't understand what is happening, because I thought these capacitors were suppose to help stabilize the op amp. Do you have an idea of what can cause this oscillation ?

I also simulated the circuit phase margin, and it was very stable, both with and without the caps: I have 50 degree phase margin without the caps, and 70 degree with the caps.

I followed TI instructions for the simulation: https://www.youtube.com/watch?v=-cWYHAHhBmM

I am attaching the simulation file, can you please tell me if the simulation is correct?

Thank you. 2626.Full analog chain with gain - stability.TSC

  • Hi,

    What frequency and voltage is your input signal? I will also simulate the circuit to see what happens. However, it may be possible something is wrong with TINA. Can your provide me a schematic of the circuit you built? What is the purpose of C11 and C12? Do you think you can provide a scope shot of this oscillation?

    Thanks!
    -Karan
  • Hello Maxime, 

    You simulation seems correct - did you add those 5pF at the summing junctions - good job, that is a nice noise gain shaping point, I do that differentially. Points, 

    1. I have learned to make sure we are using the most recent model - you had a 2010 model in your file, the online TINA reference design is 2011. I dropped that into the attached file (they reversed the supplies?? fixed that).No real change in phase margin. 

    2. This is a very old model, it is possible that the open loop output impedance (that really messes up phase margin with feedback C) might not be in the model. Was trying to test that, no luck so far. 

    The most recent efforts at FDA modeling made a meticulous effort to capture those effects, and yes they can cause a lot of problems. I have found inserting small series resistors inside the loop at the outputs can be helpful. Stepped through this in detail in this recent article, 

    Your file with updated 2011 model,

    2626.Full analog chain with gain - stability 2011 model.TSC

  • Incidentally, the more modern device in this genre is the THS4541, dropping that very good TINA model into your LG sim shows 58deg phase margin.

    When you are physically testing your channel, do not probe directly on output pins with a 10pF probe - probe through 100ohm isolating resistors.

    Full analog chain with gain - stability THS4541 model.TSC

  • I think I got the open loop output impedance test running ok. Looks like ideal voltage source outputs with no R (or LC). That is a modeling miss, so if you think the physical ckt is oscillating this well could be the source, I inserted 200ohm inside the loop of your original file and it now shows 20deg phase margin - but that 200ohm is not correct - just something better than nothing.
  • Hi Karan,

    Thank you for your feedback. 

    The input signal is a 2Vpp square signal at 5MHz. 

    The purpose of C11 and C12 was to add parasitic capacitance to the circuit to see if I could make it unstable. I should have remove them before sending the TINA file. 

    Even with playing with the value and position of C11 and C12, the simulation always gave me very good phase margin. I think it too good to be true, I am also thinking that the THS4520 model is wrong for simulating phase margin.

    I'll see if I can send you the schematic.

    Maxime

  • Hi Michael,

    Thank you for your feedback.

    If I understood you correctly, the Spice model of the THS4520 cannot simulate properly the phase margin because it doesn't include the open loop output impedance. Am I right?

    Karan, is there a way TI can update the Spice model to correct this?

    If no, does the Spice model of the THS4541 include the open loop output impedance? Is it close enough to the THS4520 to use it for my stability simulation?

    Maxime
  • Hi Maxime, 

    That was my theory - the model test I do showed no open loop Zol in the THS4520 - but these rail to rail out devices physically have a pretty peculiar Zol. I worked a lot on the THS4541 device and model - it does include that correct Aol, Zol and differential input Zi and a lot of other things - it is more reliable for predicting phase margin issues. How I do all of this detailed in a series of articles, 

    This one is background info mainly, 

    https://www.planetanalog.com/author.asp?section_id=3404&doc_id=565056&

     This focuses on the FDA, Using another part I worked on (device and model) the THS4551

    https://www.planetanalog.com/author.asp?section_id=3404&doc_id=565122&

  • Hi Maxime,

    The TINA model unfortunately does appear to be flawed. I don't believe we would be able to get that fixed for you in time. Looking at the typical characteristics plots in the datasheet, it doesn't seem that the THS4520 is very similar to the THS4541 in behavior.

    Secondly the minimum gain for the THS4520 is 1V/V so I understand why it is unstable at a gain of .95. However what you can do is in addition to the capacitor in the feedback, you can add a capacitor between the inputs of the FDA. This puts a zero in the beta curve before the pole added by the capacitors in the feedback. This should help make your circuit stable. You can use the THS4541 in your design as I believe it still meets all your criteria and is a more modern device. As Michael mentioned, your current circuit should be stable. There might be something else causing a problem. Can you provide scope plots of the outputs and inputs?

    Thanks!
    -Karan
  • So yes the THS4541 should work, I did drop it into the circuit and it had ok phase margin. attached

    1. I did not say the THS4520 would be stable, no idea with the poor model. 

    2. Running inverting gain < 1.0 is no problem for any op amp or FDA. If there is a phase margin issue, that will show up in the LG sim where the "Designing attenuators" sections I put into the THS4541 and THS4551 datasheets tell you what to do to improve if necessary. 5417.Full analog chain with gain - stability THS4541 model.TSC

  • I was looking at your LG sim circuit again. Everything looks fine but you are using kind of odd split supplies. Normally the FDA will level shift I/O pins to be above ground and in range so that only maybe a 3.3V single supply is required for this type of app. (negative supply at gnd) That does come up regularly as a question, that I tried to answer in 2nd 1/2 of this article, 

    https://www.planetanalog.com/author.asp?section_id=3404&doc_id=564993

  • Oh, and I remembered now the THS4520 was RRO but not negative rail in, which explains your supplies - they are correct for the THS4520 - for the THS4541, you would be able to go to single 3.3V supply for this.
  • Hi Michael and Karan,

    Thanks a lot for your support, it's helping me a lot!

    To give you some context, I didn't design the board myself, I am taking over it. I didn't see the op amp instability myself, but the previous designer told me about it. The instability was seen on a old revision of the board that we don't have any more unfortunately. I tried reproducing the issue on the latest revision but I couldn't. The difference between the 2 revisions are layout only and are quite minor. The biggest difference I see is in the ground plane: the new revision has the ground plane beneath the op amp circuit, whereas on the "unstable" revision the ground plane was removed beneath the op amp. I initially thought that the parasitic capacitance caused by the ground plane was altering the loop response of the opamp, making it unstable. And if the circuit is that sensitive to parasitic capacitance, I thought that this was hiding a serious instability issue. This is why I did these phase margin simulations, but as you know the results weren't conclusive.

    Based on your answers, here are my conclusion:

    - I wont't be able to simulate the phase margin of the THS4520 because of a model issue

    - After reading the "Designing attenuators" section of the THS4551 datasheet, I understood that C9 and C10 feedback capacitors could cause instability. A properly sized differential capacitor across the op amp inputs can help with this issue. I will therefore add a capacitor footprint for the new revision of the board.

    - The THS4541 and THS4551 are more modern devices with better Spice models that your recommend. I'll see if I can use them instead of the THS4520.

    Maxime
  • Michael,

    It's funny that you talk about the supply because switching the design to single supply is the next objective for the new board revision!

    Each opamp output needs to be able to swing between 0.45V and 1.45V. The common-mode voltage is 0.95V.

    Where should I look on the datasheet to check that I won't get output voltage clipping? Is it the parameter "Minimum Output Voltage Low", which is specified at -1.4V for the THS4520 at -/+ 1.65V split supply (datasheet page 7). If yes, if I decide to use a 3.3V/GND single supply instead, can I say that the minimum output voltage without clipping would be 0V + 1.65V - 1.4V = 0.25V ? 0.25V > 0.45V so I should be correct?

    Why do you say it is different for the THS4541? The datasheet says in page 9 that the minimum output voltage low is Vs- + 0.25V max, which is basically the same thing than whaht I have with the THS4520.

    Maxime
  • So the output swing are very similar between the parts, it is really the input range going to the negative supply for the THS4541 that makes it single supply capable with a bipolar input .
  • So in the file where I dropped in the THS4541 into your original ckt testing LG phase margin, I got 58deg - which is fine how it is. Now if you wanted to model layout parasitics in that ckt, it might change. 

  • Hi,

    If I want to simulate something closer to reality, where should I add parasitic capacitance in the circuit?

    I also have a question about the output common-mode voltage range of the THS4541. According to spec, this opamp is able to swing between 0.45V and 1.45V without clipping. But is the THS4541 able to operate at a common-mode of 0.95V without performance loss? When I check the datasheet page 7, I see that "Common-mode loop supply headroom to negative supply" can be as high as 0.94V, which is very close to the typical 0.95V common-mode voltage given by the ADC. What is the reason for this limitation? What happens if I go below the 0.94V specification?

    Maxime
  • Hello Maxime,

    Are you talking about the THS4541 - most sensitive nodes are the two outputs and input summing junction nodes.

    Your output swing is your required swing on each side I think - and actually usually -1dB below that to avoid clipping for 0.95V input CM 2Vpp max input ADC,s. The physical output stage can run to about 0.2V within the supplies, so their headrooms are fine vs required. The input pins swing to the negative supply and have I think about 1.2V to the positive supply - usually not a limit

    The CM loop is a completely separate circuit and swing range question. Yes, max 0.94 is close - which is why I usually look for a tolerance on the ADC input CM and shift it up some to get headroom

    What happens when the CM control voltage dips to low to the negative supply is current mirrors start to saturate reducing CM loop gain and performance - giving both DC and AC errors.

  • Hello Michael,

    Thanks again for your quick and very efficient feedback.

    When you talk about shifting up the ADC CM voltage, how can it be done? The ADC I'm using is the ADS5294. It has a CM output (set at 0.95V) that I use to set the common-mode voltage of my op amp. But I don't see any way to shift this level, it looks like it fixed.

    Maxime
  • Well you don't have to use the ADC VCm, take your best reference voltage and do a voltage divider to the Vocm input of the FDA (with a filter cap at the pin) I did't look at the ADC Vcm input tolerance but usually at least 50mV so target 0.955V to buy some room to the worst case Vocm headroom to the negative supply of 0.94.
  • I went into the ADC datasheet to see if I could find a Vcm range plot on the inputs, and yes - there is a nice plot in figure 21 showing this, I would say target 1V input Vcm setting the Vocm control at 1V for the FDA - also, if you have any series R from the FDA to the ADC, be sure to account for the sample rate dependent Icm current into the ADC inputs that will give you a small drop in voltage from the output Vcm at the FDA pins. 

  • Hi Michael,

    Thank you.

    I will use a voltage reference to provide 1V VCM to the FDA. Should I use the voltage reference to provide the 1V VCM to the ADC too, or should I let the ADC operate on its internal 0.95V VCM?

    I thought the ADC and the FDA had to have exactly the same common mode voltage in order to operate properly. But after reading your comment and having a closer look on the ADC datasheet, it looks like the ADC can accept a -/+50mV variation around 0.95V on the input common-mode voltage (see datasheet extract below). Do you confirm? 

  • I have an additional question about the THS4541 measurement conditions for the output voltage headroom specification.  

    The datasheet says that the worst-case output voltage high is Vs+ - 0.25V, and that the worst-case output voltage low is Vs- + 0.25V. 

    My first question is: at what load current are specified these voltage? Datasheet says that typical condition is Rload = 499V and Vout = 2Vpp, which would give a current of I = 1V / 499ohm = 2mA. Can TI confirm this?

    My second question is: do these voltages stay the same if the Vocm output common-mode voltage is not at mid-supply (typical measurement condition given in datasheet? WIll I still have 0.25V headroom if I use a 1V output common-mode voltage and a 3.3V/GND supply?

    Thank you,

    Maxime 

  • yes, the internal Vcm in the ADC is provided as a convenience normally to bias the centertap of a transformer coupled interface. You don't have to match it and there is some range on it 1.0V would be good, but really just using an R divider off of whatever other somewhat precise reference is available is good enough - just make sure some caps are there for noise. There is some forgiveness in the accuracy of the FDA Vcm output voltage. 

  • Ok, what is done in final ATE is quite involved but mainly intended to make sure nothing ship with more than 0.25V output headroom on each side and each output. You should not be getting close to those limits unless you are putting too much insertion loss into an interstage filter.

    So say we need 1.8V (-1dBFS) differential into the ADC for full scale - with no insertion loss in the interstage design, each output needs to swing +/-(1.8V/4) = +/-0.45V around the 1.0Vcm voltage. You almost never run into problems on the high side, and this minimum output of 0.55V is well above the 0.25V limit. Those output swing headrooms do not change with the Vcm setting as long as it is in range.