Author Topic: Interpreting Bode Plots.  (Read 4303 times)

0 Members and 1 Guest are viewing this topic.

Offline kvrestoTopic starter

  • Regular Contributor
  • *
  • Posts: 164
  • Country: au
Interpreting Bode Plots.
« on: October 19, 2014, 12:04:36 pm »
Hi All.
I’ve bee looking into op amp bode plots so I can determine if a particular inverting op amp configuration is stable. The intention is these amps will interface to sensors, and drive into an ADC, even perhaps another INS amp.
Below are pics of two cct’s, one is configured to amplify the input, and the other is configured to attenuate the input. Included are the bode plots generated by the SPICE program.
Sedra and Smith has a good write up on how to evaluate an amplifier set up with gain to amplify the signal via its bode plot for stability RE: phase, and gain margin, but I can’t find anything on evaluating an op amp configured as an attenuator.
 How do I interpret the bode plot of gain and phase relating to the attenuator? Can anyone help out?

Cheers
kv
 

Offline LvW

  • Frequent Contributor
  • **
  • Posts: 282
  • Country: de
Re: Interpreting Bode Plots.
« Reply #1 on: October 19, 2014, 12:30:00 pm »
kvresto - for evaluation of the stability margin you must display the LOOP GAIN (instead of the closed-loop gain).
Loop gain is the gain of the open loop - that means: Feedback network in series with the open-loop gain of the opamp.

Hint: Because opening the loop will most probably destroy the dc operating point, it is recommended to place the AC voltage source BETWEEN the opamp output and the feedback network. In this case, the loop gain is simply the voltage ratio BETWEEN these both nodes (left and right to the source).
« Last Edit: October 19, 2014, 12:32:45 pm by LvW »
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21657
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Interpreting Bode Plots.
« Reply #2 on: October 19, 2014, 12:33:47 pm »
LMV358 is unity gain stable, by inspection alone, you will have no problem with phase margin.

Tim
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline kg4arn

  • Supporter
  • ****
  • Posts: 271
  • Country: us
Re: Interpreting Bode Plots.
« Reply #3 on: October 19, 2014, 01:10:09 pm »
 kvresto
 
Like the others said before me: stability is not determined by the closed loop gain. 
Stability is determined by the loop gain which = op amp open loop gain * fraction of feedback
 
The open loop gain curves are shown in figure 1 of the data sheet for resistive loads.
The feedback fraction, Beta, for your circuit is 10 /(10 + 1.25) = 0.9 or 20Log 0.9 =   -1dB

You evaluate the phase margin where 1 / Beta meets the open loop gain.  1 / Beta is –20Log 0.9 = +1dB

Your circuit has a 1K resistive load.  Open loop curves are shown for 200 ohm and 2K.  The 1K curve would lie about between the two.  Take the point where that curve intersects the 1dB point (slightly less than 2MHz) and look at the phase margin for that frequency (RED line).  Looks like about 70 degrees of phase margin which is stable.  The bandwidth is slightly less than 2 MHz.

Doing the same thing for your gain circuit (PURPLE line), by my estimation, results in nearly 90 degrees of phase margin at the expense of lower bandwidth of about 200KHz.

I hope this is helpful.
 
 

Offline kvrestoTopic starter

  • Regular Contributor
  • *
  • Posts: 164
  • Country: au
Re: Interpreting Bode Plots.
« Reply #4 on: October 19, 2014, 11:52:23 pm »
Hi kg4arn, thanks for being generous with your time and providing an excellent explanation.

What are the outer limits of phase margin before you begin to say to yourself, its to close for comfort?

LvW, as I'm a pictures man, can you draw one for me? I want to plug it in to SPICE.

cheers
kv.
 

Online coppice

  • Super Contributor
  • ***
  • Posts: 8637
  • Country: gb
Re: Interpreting Bode Plots.
« Reply #5 on: October 20, 2014, 02:57:48 am »
Hi All.
I’ve bee looking into op amp bode plots so I can determine if a particular inverting op amp configuration is stable. The intention is these amps will interface to sensors, and drive into an ADC, even perhaps another INS amp.
Below are pics of two cct’s, one is configured to amplify the input, and the other is configured to attenuate the input. Included are the bode plots generated by the SPICE program.
Sedra and Smith has a good write up on how to evaluate an amplifier set up with gain to amplify the signal via its bode plot for stability RE: phase, and gain margin, but I can’t find anything on evaluating an op amp configured as an attenuator.
 How do I interpret the bode plot of gain and phase relating to the attenuator? Can anyone help out?

Cheers
kv
You said that you want to use the amp to feed an ADC. In that case you need to include a model of the input of the ADC in your circuit, otherwise any stability result from the model will be meaningless. The capacitive inputs of ADCs create serious problems for buffer amps. This issue is well documented, although the true cause and effective solutions are less well documented.
 

Offline LvW

  • Frequent Contributor
  • **
  • Posts: 282
  • Country: de
Re: Interpreting Bode Plots.
« Reply #6 on: October 20, 2014, 06:04:37 am »
LvW, as I'm a pictures man, can you draw one for me? I want to plug it in to SPICE.
As mentioned, place an ac source between Vout and R4 and display the ac voltage vs. frequency for the ratio  Vout/V(input R4).
Thus, you get the loop gain which determines the phase margin.

As to the question how many phase margin is needed: It depends on your application/requiremets.
For example, a phase margin of 30 deg. might be sufficient to ensure stability (against self-oscillations) - however, in the time domain the step response will exhibit a remarkable overshoot. Such an overshoot will disappear for a margin larger than 65 deg.
« Last Edit: October 20, 2014, 06:09:40 am by LvW »
 

Offline kvrestoTopic starter

  • Regular Contributor
  • *
  • Posts: 164
  • Country: au
Re: Interpreting Bode Plots.
« Reply #7 on: October 20, 2014, 08:05:55 am »
Hi coppice, thank you I'll keep it in mind.

LvW, and others, thanks for your input, you have given me some valuable information, I'll go away for a bit and run some SPICE tests.

Cheers
kv.
 

Offline Smokey

  • Super Contributor
  • ***
  • Posts: 2571
  • Country: us
  • Not An Expert
Re: Interpreting Bode Plots.
« Reply #8 on: October 20, 2014, 10:00:26 pm »
There are some good sections on SPICE simulation and real world applications of amplifier bandwidth and stability in the book
http://www.amazon.com/Designing-Audio-Power-Amplifiers-Cordell/dp/007164024X
Audio power amplifiers are just like big opamps in a lot of ways.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf