0574.Solving Op Amp Stability 2013_Part 2

  • Upload
    diaddd

  • View
    46

  • Download
    0

Embed Size (px)

DESCRIPTION

parrt 2

Citation preview

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    1/60

    Solving Op Amp Stability IssuesPart 2

    (For Voltage Feedback Op Amps)

    Tim Green & Collin Wells

    Precision Analog Linear Applications1

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    2/60

    StabilityTricks and Rules-of-Thumb

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    3/60

    180

    0

    135

    45

    10 100 1k 10k 100k 1M 10M

    Frequency

    (Hz)90

    (degrees)

    -45

    fp1

    fp2 fz1

    fcl

    90o

    Phase Margin

    at fcl

    45o

    Phase Buffer

    away from

    180o

    Phase Shift

    90

    o

    Phase Shift

    at fcl

    3

    Loop Gain Bandwidth Rule: 45 degrees for f < fcl

    Aol(Loop Gain) Phase Plot

    Loop Stability Criteria:< -180 degree phase shift at fcl

    Design for: < -135 degree phase shift at all frequencies < fclWhy?:

    Because Aol is not always Typical

    Power-up, Power-down, Power-transientUndefined TypicalAol

    Allows for phase shift due to real world Layout & Component Parasitics

    Prevent excessive ringing due to phase margin dip near fcl

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    4/60

    4

    +

    -

    +

    -

    VIN

    RI

    RF

    VOUT

    CL

    CnRn

    0

    20

    40

    60

    80

    100

    10M1M100k10k1k100101

    Frequency (Hz)

    A

    (dB)

    fcl

    fp1

    fp2

    fz1

    fp3

    Aol

    1/Beta

    VOUT

    /VIN

    Loop Gain View: Poles: fp1, fp2, fz1; Zero: fp3

    Rules of Thumb for Good Loop Stability:

    Place fp3 within a decade of fz1

    fp1 and fz1 = -135phase shift at fz1

    fp3 < decade will keep phase from dipping further

    Place fp3 at least a decade below fcl

    Allows Aol curve to shift to the left by one decade

    Frequency Decade Rules for Loop GainFor 45OPhase Buffer away from 180OPhase Shift

    Aol 1/b Loop Gainfp1 pole ----- pole

    fp2 pole ----- polefz1 ----- zero pole

    fp3 ----- pole zero

    Note locations of poles in zeroes in Aol and 1/plots

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    5/60

    1 10 100 1K 10K 100K 1M 10M

    -45

    -90

    0

    +45

    +90

    Frequency (Hz)

    Phase

    Shift(deg)

    Frequency (Hz)

    Phase

    Sh

    ift(deg)

    1 10 100 1K 10K 100K 1M 10M

    +45

    0

    +90

    +135

    +180

    fcl

    fp1

    fz1

    fp3

    fp2

    Individual Pole & Zero Plot

    Final Plot

    45O

    Phase Buffer 5

    Frequency Decade Rules for Loop GainPhase Plot Prediction

    At fcl:Phase Shift = 135O

    Phase Margin = 45O

    Aol 1/b Loop Gainfp1 pole ----- pole

    fp2 pole ----- pole

    fz1 ----- zero pole

    fp3 ----- pole zero

    Note locations of poles in zeroes in Aol and 1/plots

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    6/60

    6

    Op Amp Circuits & Second Order Systems

    0

    20

    40

    60

    80

    100

    10M1M100k10k1k100101

    Frequency (Hz)

    A

    (dB)

    Aol

    1/Beta

    fp1

    fp2

    fcl

    +

    -

    +

    -

    VIN

    RFRI

    4.7k 4.7k

    VOUT

    Most Op Amps are dominated by Two Poles:

    Aol curve shows a low frequency pole, fp1

    Aol curve also has a high frequency pole, fp2

    Often fp2 is at fcl for unity gain

    This yields 45 degrees phase margin at unity gain

    Most Op Amp Circuits are

    adequately analyzed,

    simulated, and real world

    tested using well-known

    second order system

    response behavior.

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    7/60

    7

    Control Loop - Second Order System

    G(s)R(s) C(s)

    1:Overdamped

    1:DampedCritically

    0:StableMarginally

    10:dUnderdampe

    :AC)and(StepResponseLoopClosed

    ratiodamping

    (rad/s)frequencynatural

    n

    2

    nn

    2

    2

    n

    :where

    s2s

    R(s)

    C(s)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    8/60

    8

    Closed Loop Peaking inAC Frequency Sweep vs Phase Margin

    From: Dorf, Richard C. Modern Control Systems. Addison-WesleyPublishing Company. Reading, Massachusetts. Third Edition, 1981.

    Phase Margin AC Peaking

    @wn

    90 -7dB

    80 -5dB

    70 -4dB

    60 -1dB

    50 +1dB

    40 +3dB

    30 +6dB

    20 +9dB

    13 +10dB

    10 +14dB

    *

    * Phase Margin:

    1) Measure closed loop AC peaking in dB

    2) Find dB peaking on graph above and read closest damping ratio, 3) Use damping ratio, , to find phase margin using Slide 75 graph

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    9/60

    9

    Transient Real World Stability Test

    Test Tips:

    Choose test frequency

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    10/60

    10

    2nd Order Transient Curves

    From: Dorf, Richard C. Modern Control Systems. Addison-WesleyPublishing Company. Reading, Massachusetts. Third Edition, 1981.

    Overshoot Phase Margin

    (%) (deg)

    10 57.5

    15 50

    20 42.5

    25 40

    30 35

    35 32.5

    40 30

    45 27.5

    50 25

    * Phase Margin:

    1) Measure closed loop transient overshoot (%)

    2) Find overshoot on graph above and read closest damping ratio, 3) Use damping ratio, , or Overshoot (%) to find phase margin using Slide 75 graph

    ** 25%

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    11/60

    11

    2nd Order Damping Ratio, Overshoot, Phase Margin

    40% = Overshoot

    = 0.3

    fM = 30deg

    = 0.3

    Overshoot = 40%, Phase Margin = 30 degrees

    1. Start at % Overshoot on x-axis

    2. Read up to Damping Ratio on Percent Maximum Overshoot curve

    3. Read Across to Damping Ratio on y-axis4. Use Damping Ratio to read across to Phase Margin curve.

    Overshoot Phase Margin

    (%) (deg)

    10 57.5

    15 50

    20 42.5

    25 40

    30 35

    35 32.5

    40 30

    45 27.5

    50 25

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    12/60

    12

    When ROis really ZO!!

    OPA627 has RO OPA2376 has ZO

    Resistive

    Resistive

    Capacitive Inductive

    OPA2376OPA627

    Note:Some op amps have ZOcharacteristics other than pureresistanceconsult data sheet / manufacturer / SPICE Model

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    13/60

    13

    Open Loop Output ImpedanceSPICE Measurement

    ic)(LogarithmVout(ohms)Zout

    ic)(LogarithmVoutto(dB)utConvert Vo

    VoutZo

    Zounloadedfor0AValueDCIG1

    GeneratorCurrentACisIG1

    AnalysisACSPICERun

    :TestZoSPICE

    T

    Frequency (Hz)

    1 10 100 1k 10k 100k 1M 10M 100M

    Ro(ohms)

    53.5

    54.0

    54.5

    55.0

    55.5

    Vcc 15V

    Vee 15V

    IG1

    L1 1TH

    C1 1TF

    Vout

    +

    -

    +

    U1 OPA627E

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    14/60

    14

    Summary for StabilityFor Stabi l i ty Loop Gain Analysis all we need is:1) Aolfrom op amp data sheet or macromodel

    2) 1/basic by application, modified for stability3) Z_Loadgiven by application

    4) ZoOp Amp open loop, small signal AC output impedance

    from op amp data sheet or macromodel

    Stability General Comments:1) Stability by modifying 1/bwill decrease closed loop bandwidth

    2) Stability compensation can slow large signal response (charging of caps)check it3) Simulate AC Transfer function (Closed Loop AC Response) as final check

    4) Simulate Small Signal Transient Response as final check

    5) DC operation in the lab does not guarantee stability

    6) Marginal stability can cause undesired overshoot and ringing

    7) DC circuits can get real world transient inputs from supplies, inputs, or output

    8) That ringing in your circuit is notyour Grandmothers dial telephoneT

    Time (s)

    100u 150u 200u 250u 300u

    VOUT

    33.64m

    64.94m

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    15/60

    15

    Acknowledgements

    Jerald Graeme Books:

    http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60

    A special thanks to Jerald Graeme, whom we honorably dub The Godfather of

    1/ for his work at Burr-Brow n Corpo rat ion in research and wr i t ing aboutOp Amp Stabi l i ty using 1/Jerald Graeme Brief Biography:From: http://electronicdesign.com/analog/jerald-graeme

    When ICs and op amps were separate devices, Jerald Graeme was among the first to develop a combined IC

    op amp while at Burr-Brown, in a 1968 team effort with Motorola. He designed many more op amps and video

    amplifiers whose precision, high speed, or low drift amplification made them a very useful component in a

    variety of analog applications. Nine U.S. patents and numerous foreign counterparts resulted from these

    designs. The internationally acknowledged authority on electronic amplifiers wrote five very popular books about

    op amps, the latest being Photodiode Amplifiers: Op Amp Solutions and Optimizing Op Amp Performance. The

    latter, subtitled "A new approach for maximizing op amp behavior in circuit designs without extensive

    mathematical analysis," offers design equations and models that reflect real-world op amp behavior and makes

    analysis of difficult-looking configurations easy. Graeme's earlier books are: Op Amps: Design and Application,

    Designing with Operational Amplifiers, and Amplifier Applications of Op Amps. He expects signal processingwith op amps to be the domain of digital devices, but they will still require an analog interface to integrate with

    real-world items like process control or avionics.

    http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://electronicdesign.com/analog/jerald-graemehttp://electronicdesign.com/analog/jerald-graemehttp://electronicdesign.com/analog/jerald-graemehttp://electronicdesign.com/analog/jerald-graemehttp://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60http://www.amazon.com/Jerald-G.-Graeme/e/B001HO9X60
  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    16/60

    16

    Acknowledgements

    Op Amp Stability Series

    Tim Green, Senior Analog Applications Engineer

    Texas Instruments

    http://www.en-

    genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712

    http://www.en-genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712http://www.en-genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712http://www.en-genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712http://www.en-genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712http://www.en-genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712http://www.en-genius.net/site/zones/acquisitionZONE/technical_notes/acqt_050712
  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    17/60

    17

    Appendix

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    18/60

    18

    Appendix Index1) Op Amp Output Impedance2) Pole and Zero: Magnitude and Phase on Bode Plots

    3) Dual Feedback Paths and 1/b

    4) Non-Loop Stability Problems

    5) Stability: Riso (Output Cload)

    6) Stability: High Gain and CF (Output Cload)

    7) Stability: CF Non-Inverting (Input Cload)

    8) Stability: CF Inverting (Input Cload)9) Stability: Noise Gain Inverting & Non-Inverting (Output Cload)

    10) Stability: Noise Gain and CF (Output Cload)

    11) Stability: Output Pin Compensation (Output Cload)

    12) Stability: Riso w/Dual Feedback (Output Cload)

    Zo, 1/b, Aol Technique13) Stability: Discrete Difference Amplifier (Output Cload)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    19/60

    19

    Appendix IndexAppendix No. Title Description/StabilityTechnique When to use the StabilityTechnique

    1 Op Amp Output Impedance Zo vs Zout difference and datasheet curves Zo is a key parameter for stability analysis

    2

    Pole and Zero:

    Magnitude and Phase on Bode Plots

    Closed loop magnitude and phase shifts of a signal

    frequency due to poles and zeroes on a Bode Plot

    Magnitude and phase shift at a frequency of

    interest for closed loop poles and zeroes

    3 Dual Feedback Paths and 1/How to avoid problems when using dual feedback

    paths for stability compensation

    Key tool in analyzing op amp circuits that use

    dual feedback for stability

    4 Non-Loop Stability Problems

    Oscillations and causes not seen in loop gain stability

    simulations

    Check all designs to avoid oscillations that do

    not show up in SPICE simulation

    5 Riso (Output Cload) Stability: Isolation resistor with feedback at op amp

    Output Cload, Note: accuracy of output is

    dependent upon load current

    6 High Gain and CF (Output Cload) Stability: High gain circuits and a feedback capacitor Output Cload, closed loop gain >20dB

    7 CF Non-Inverting (Input Cload) Stability: Non-inverting gain and feedback capacitor

    Input Cload, non-inverting gain, large value

    input resistor

    8 CF Inverting (Input Cload) Stability: Inverting gain and feedback capacitor

    Input Cload, non-inverting gain, large value

    input resistor, photodiode type circuits

    9

    Noise Gain Inverting and

    Non-Inverting (Output Cload) Stability: Noise Gain added by input R-C network Output Cload, closed loop gain 20dB

    11 Output Pin Compensation (Output Cload) Stability: Series R-C on op amp output to ground

    Output Cload, no access to -input, monolithic,

    integrated difference amplifiers, complex

    feedback where not practical to use -input

    12

    Riso w/Dual Feedback (Output Cload)

    - Zo, 1/, Aol Technique

    Stability: Isolation resistor with two feedback paths -

    analysis by Zo, 1/, and Aol technique

    Output Cload, some additional Vdrop across

    isolation resistor is okay, accurate Vout at load

    13 Discrete Difference Amplifier (Output Cload) Stability: Balanced use of noise gain (series R-C)

    Output Cload, difference amp configuration,

    any closed loop gain

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    20/60

    1) Op Amp Output Impedance

    Open Loop (ZO)&

    Closed Loop (ZOUT)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    21/60

    21

    Op Amps and Output Resistance

    +

    -

    RDIFF

    xAol

    RO-IN

    +IN

    -

    +

    VE

    Op Amp Model

    1A

    VOUT

    VO

    RF

    RI

    IOUTVFB

    ROUT= VOUT/IOUT

    From: Frederiksen, Thomas M. Intuitive Operational Amplifiers.McGraw-Hill Book Company. New York. Revised Edition. 1988.

    Definition of Terms:

    RO= Op Amp Open LoopOutput Resistance

    ROUT= Op Amp Closed LoopOutput Resistance

    ROUT= RO/ (1+Ao l)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    22/60

    22

    1)b= VFB / VOUT = [VOUT (RI/ {RF+ RI})]/VOUT= RI/ (RF+ RI)

    2) ROUT= VOUT / IOUT

    3) VO= -VEAol

    4) VE= VOUT[RI / (RF+ RI)]

    5) VOUT= VO+ IOUTRO

    6) VOUT= -VEAol + IOUTRO Substitute 3) into 5) for VO

    7) VOUT= -VOUT[RI/(RF+ RI)] Aol+ IOUTRO Substitute 4) into 6) for VE

    8) VOUT+ VOUT[RI/(RF+ RI)] Aol = IOUTRO Rearrange 7) to get VOUTterms on left

    9) VOUT= IOUTRO/ {1+[RIAol/(RF+RI)]} Divide in 8) to get VOUTon left

    10) ROUT= VOUT/IOUT=[ IOUTRO/ {1+[RIAol / (RF+RI)]} ] / IOUT

    Divide both sides of 9) by IOUTto get ROUT [from 2)] on left

    11) ROUT= RO / (1+Aol) Substitute 1) into 10)

    Derivat ion of ROUT(Closed Loop Outpu t Resistance)

    ROUT= RO/ (1+Ao l)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    23/60

    23

    ROUTvs RO

    ROdoes NOTchange when Closed Loop feedback

    is used

    ROUTis the effect of RO, Aol, and controlling VO

    Closed Loop feedback () forces VOto increase ordecrease as needed to accommodate VOloading

    Closed Loop () increase or decrease in VOappears atVOUTas a reduction in RO

    ROUTincreases as Loop Gain (Aol) decreases

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    24/60

    24

    When ROis really ZO!!

    OPA627 has RO OPA2376 has ZO

    Resistive

    Resistive

    Capacitive Inductive

    OPA2376OPA627

    Note:Some op amps have ZOcharacteristics other than pureresistanceconsult data sheet / manufacturer

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    25/60

    25

    With Complex ZO, Accurate Models are Key!

    -

    +

    +

    4

    3

    5

    1

    2

    U1 OPA2376

    V1 2.5V

    V2 2.5V

    IG1 0

    L1 1TH

    C1 1TFVout

    ic)(LogarithmVout(ohms)Zout

    ic)(LogarithmVoutto(dB)utConvert Vo

    VoutZo

    Zounloadedfor0AValueDCIG1GeneratorCurrentACisIG1

    AnalysisACSPICERun

    :ZoMacroAmpOpofTestSPICE

    T

    Frequency (Hz)

    10 100 1k 10k 100k 1M 10M

    Impe

    dance(ohms)

    100.00m

    1.00

    10.00

    100.00

    1.00k

    400uA Load

    OPA2376

    f

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    26/60

    26

    Some Data Sheets Specify ZOUT NOTZO

    1

    1

    2

    2

    3

    3

    Aol

    1R

    Aol1

    RR

    OUT

    OOUT

    b

    :AolofInverseisROUT

    Recognize ROUTinstead of RO:

    ROUTinversely proportional to Aol

    ROUTtypically

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    27/60

    27

    Some Data Sheets Specify ZOUTNOTZO

    b

    b

    200R11

    R100

    Aol1

    RR

    OO

    OOUT

    (0dB)1Aol10MHz,f1,Afor100R

    :(0dB)1AolwhereRfromRCompute

    VOUT

    OUTO

    Point frequency Aol

    ROUT (AV=1)

    Datasheet

    ROUT (AV=1)

    Computed---------- (Hz) (dB) (ohms) (ohms)

    1 10M 0 100 RO = 200

    2 100k 40 2 2

    3 10k 60 0.2 0.2

    1

    2

    3

    TLC082

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    28/60

    28

    2) Pole and Zero:Magnitude & Phase on Bode Plots

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    29/60

    Formulae for Pole and Zero Calculations

    29

    2

    210

    fp

    f1

    1LOG20dB)Magnitude(

    poleoffrequencyfp

    signaloffrequencyf:where

    fforMagnitudePole

    2

    2

    10fz

    f1LOG20dB)Magnitude(

    poleoffrequencyfz

    signaloffrequencyf:where

    fforMagnitudeZero

    )fp

    f(tan)degPhase( 1

    poleoffrequencyfp

    signaloffrequencyf

    :where

    fforShiftPhasePole

    )fz

    f(tan)degPhase( 1

    poleoffrequencyfz

    signaloffrequencyf

    :where

    fforShiftPhaseZero

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    30/60

    Closed Loop Gain: Magnitude and Phase

    30

    )1fz

    f(tan)

    1fz

    f(tan)

    2fp

    f(tan)

    1fp

    f(tan(deg)Phase

    2fz

    f1LOG20

    1fz

    f1LOG20

    2fp

    f1

    1LOG20

    1fp

    f1

    1LOG20KLOG20dB)Magnitude(

    1111

    2

    2

    102

    2

    10

    2

    210

    2

    21010

    V/VinGainDCK

    2zerooffrequencyfz2

    1zerooffrequencyfz1

    2poleoffrequencyfp21poleoffrequencyfp1

    signaloffrequencyf

    :where

    :ffrequencyforPhaseandMagnitudeLoopClosed

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    31/60

    Closed Loop Gain: Magnitude and Phase

    31)

    3e004766055.1

    f(tan)

    00974485.10

    f(tan(deg)Phase

    )3e004766055.1(

    f1

    1LOG20

    )00974485.10(

    f1

    1LOG20)100(LOG20dB)Magnitude(

    )

    2fp

    f(tan)

    1fp

    f(tan(deg)Phase

    2fp

    f1

    1LOG20

    1fp

    f1

    1LOG20KLOG20dB)Magnitude(

    11

    2

    210

    2

    21010

    11

    2

    210

    2

    21010

    V/VinGainDCK

    pole2offrequencyfp21poleoffrequencyfp1

    signaloffrequencyf

    :where

    :ffrequencyforPhaseandMagnitudeLoopClosed-

    ++

    U1 OPA364

    V1 2.5V

    V2 2.5V

    RF 99kOhm

    RI 1kOhm

    VOUT

    +

    VIN

    CF 1.6nF

    R1 1kOhm

    C1 15.9uF

    kHz004766055.1nF6.1k992

    1

    CFRF2

    12fp

    Hz00974485.10F9.15k12

    1

    1C1R2

    11fp

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    32/60

    Closed Loop Gain: Magnitude and Phase

    32

    T

    Gain(dB)

    -140

    -120

    -100

    -80

    -60

    -40

    -20

    0

    20

    40

    Frequency (Hz)

    1 10 100 1k 10k 100k 1M 10M

    Phase[deg]

    -180.00

    -135.00

    -90.00

    -45.00

    0.00

    [A]

    [B] Gain :

    VOUT B:(3.924588k; -24.084018)

    Phase : VOUT B:(3.924588k; -163.475026)

    Gain :

    VOUT A:(92.20173; 20.624635)

    Phase :

    VOUT A:(92.20173; -89.067371)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    33/60

    Spice Compared with Calculated Analysis

    33

    SPICE AC Analysis:

    For best accuracy use highest resolution

    i.e. maximum Number of Points

    Note:

    1) SPICE analysis accounts for loop gain effects and closed loop phase shifts

    due to op amp Aol.

    2) Calculated results do not account for loop gain effects and closed loop phase shifts

    due to op amp Aol.

    f Magnitude Magnitude Phase Phase(Hz) (dB) (dB) (deg) (deg)

    ---------- Calculated SPICE Calculated SPICE

    9.22017300E+01 20.6263744 20.624635 -89.04706182 -89.067371

    3.92458800E+03 -23.97775119 -24.084018 -165.49354967 -163.475026

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    34/60

    Closed Loop Gain: Magnitude and Phase

    34

    R1 1kOhm

    C1 15.9uF

    +

    VG1

    -

    +

    -

    +

    DC Gain 100RF 99kOhm

    CF 1.6nF-

    +

    -

    +

    Buff er 1 VOUT

    SPICE Ideal Op Amp & Poles: Equivalent Circuit

    Note:

    1) SPICE - Ideal Circuit analysis matches Calculated results.

    2) No loop gain effect or closed loop phase shifts due to op amp Aol.

    f Magnitude Magnitude Phase Phase

    (Hz) (dB) (dB) (deg) (deg)

    ---------- Calculated SPICE - Ideal Calculated SPICE - Ideal

    9.22017300E+01 20.6263744 20.626374 -89.04706182 -89.047062

    3.92458800E+03 -23.97775119 -23.977751 -165.49354967 -165.49355

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    35/60

    Closed Loop Gain: Magnitude and Phase

    35

    SPICE Ideal Op Amp & Poles: Equivalent CircuitT

    Gain(dB)

    -160

    -140

    -120

    -100

    -80

    -60

    -40

    -20

    0

    20

    40

    Frequency (Hz)

    1 10 100 1k 10k 100k 1M 10M

    Phase[deg]

    -180

    -135

    -90

    -45

    0

    [B]

    [A] SPICE Poles-Magnitude and Phas eIdeal Op Amp Circuit

    Gain :

    VOUT B:(3.924588k; -23.977751)

    Phase :

    VOUT B:(3.924588k; -165.49355)

    Gain :

    VOUT A:(92.20173; 20.626374)

    Phase :

    VOUT A:(92.20173; -89.047062)

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    36/60

    36

    3) Dual Feedback Paths and 1/

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    37/60

    37

    Dual Feedback Networks:Analyze & Plot each FB#? 1/

    Smallest FB#? dominates 1/

    1/= 1 / (1 + 2)

    1/relative to VO

    Note: VO = Op Amp Aol Output before

    Ro for this Dual Feedback Example

    Analogy:Two people are talking in your ear. Which

    one do you hear? The one talking the loudest!

    Dual Feedback:Op amp has two feedback paths

    talking to it. It listens to the one that feeds back the

    largest voltage (= VFB / VOUT). This implies the

    smallest 1/!

    Dual Feedback and 1/Concept

    0

    20

    40

    60

    80

    100

    10M1M100k10k1k100101

    Frequency (Hz)

    A(

    dB)

    Aol

    1/Beta[1/(b1 + b2)]

    FB#1

    b

    fcl

    FB#2

    b

    +

    -

    +

    -

    VOUT

    CLRiso

    CF

    RF

    RI

    VIN

    RO

    FB#1

    FB#2

    VO

    VOA

    Dual Feedback and 1/

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    38/60

    38

    Answer:

    TheLargest

    (Smallest 1/)willdominate!

    Dual Feedback and 1/

    How will the two feedbacks combine?

    -

    Large

    Small

    Small 1/

    Large 1/

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    39/60

    39

    0

    20

    40

    60

    80

    100

    10M1M100k10k1k100101

    Frequency (Hz)

    A

    (dB)

    Aol

    1/Beta

    FB#1

    fcl

    FB#2

    1/Beta

    Dual Feedback and the BIG NOT

    Dual Feedback and the BIG NOT:

    1/Slope changes from +20db/decadeto -20dB/decade Implies a complex conjugate pole in the 1/Plot with small damping ratio, .

    Implies a complex conjugate zero in the Aol(Loop Gain Plot) with small damping ratio, . +/-90phase shift at frequency of complex zero/complex pole.

    Phase slope from +/-90/decade slope to +/-180in narrow band near frequency

    of complex zero/complex pole depending upon damping ratio, .

    Complex zero/complex pole can cause severegain peaking in closed loop response.

    WARNING:This can be

    hazardous to your circuit!

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    40/60

    40

    Complex Conjugate Pole Phase Example

    From: Dorf, Richard C. Modern Control Systems. Addison-Wesley Publishing Company. Reading, Massachusetts.

    Third Edition, 1981.

    D l F db k d 1/ E l

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    41/60

    41

    Dual Feedback and 1/Example

    VCC 12

    RF 100k

    VO

    VEE 12

    REF02Trim

    Out

    Vin

    Gnd

    U2 REF02

    VREF

    Riso 26.7

    CL 10u

    Vout

    CF 82n

    -

    ++

    U1 OPA177E

    FB#1

    FB#2

    5V

    5V

    5V

    Dual Feedback:

    FB#1 through RF forces accurate Vout across CL

    FB#2 through CF dominates at high frequency for stability

    Riso provides isolation between FB#1 and FB#2

    Z E t l M d l f D l F db k A l i

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    42/60

    VFB CF 82n

    Vout

    CL 10u

    Riso 26.7

    VREFREF02

    Trim

    Out

    Vin

    Gnd

    U2 REF02

    VOA

    Ro 60

    -

    +

    -

    +

    VCV1

    VEE 12

    VO

    RF 100k

    VCC 12

    -

    ++

    U1 OPA177Ex1

    Zo External Model 4.9991V4.9991V

    4.999V

    4.9991V

    4.999V

    42

    Zo External Model for Dual Feedback Analysis

    Zo External Model:

    VCV1 ideally isolates U1 so U1 only provides data sheet AolSet Ro to match measured Ro

    Analyze with unloaded Ro (largest Ro) which creates worst instability

    Use 1/on Aol stability analysis

    1/, taken from VOA will include the effects of Zo, Riso and CL

    D l F db k FB#1 A d FB#2

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    43/60

    43

    Dual Feedback, FB#1 And FB#2

    VFB CF 82n

    Vout

    CL 10u

    Riso 26.7

    VREFREF02

    Trim

    Out

    Vin

    Gnd

    U2 REF02

    VOA

    Ro 60

    -

    +

    -

    +

    VCV1

    VEE 12

    VO

    RF 100k

    VCC 12

    -

    ++

    U1 OPA177Ex1

    Zo External Model 4.9991V4.9991V

    4.999V

    4.9991V

    4.999V

    FB#1 and FB#2 1/ Analysis:

    There is only one net voltage fed back as to the -input of the op amp_net = _FB#1 + _FB#2

    This implies that the largest will dominate smallest 1/ will dominate

    Analyze FB#1 with CF = open since it will only dominate at high frequencies

    Analyze FB#2 with CL = short since it is at least 10x CF

    FB#1

    FB#2

    D l F db k d 1/ E l

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    44/60

    44

    Dual Feedback and 1/ExampleT

    Aol

    FB#1 1/b

    Frequency (Hz)

    10m 100m 1 10 100 1k 10k 100k 1M 10M

    Gain(dB)

    -40

    -20

    0

    20

    40

    60

    80

    100

    120

    140

    160

    FB#1 1/b

    Aol

    fza

    fzx

    fpc

    1/b

    1/bFB#11/bFB#2

    Vout/Vin

    fcl

    D al Feedback and 1/ Create the BIG NOT

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    45/60

    45

    Dual Feedback and 1/Create the BIG NOT

    VCC 12

    RF 100k

    VO

    VEE 12

    -

    +

    -

    +VCV1 Ro 60

    VOA

    REF02Trim

    Out

    Vin

    Gnd

    U2 REF02

    VREF

    Riso 26.7

    CL 10u

    Vout

    VFBLT 1T

    CT 1T

    +

    VG1

    Vtrim

    CF 220p

    -

    ++

    U1 OPA177E x1

    Aol = VOA

    FB#1: 1/Beta1= VOA / VFB

    Loop Gain = VFB

    Zo Ex ternal Model1.2298V

    4.999V

    4.9991V

    4.999V

    4.9991V

    4.9991V

    Dual Feedback and 1/ Create the BIG NOT

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    46/60

    46

    Dual Feedback and 1/Create the BIG NOT

    T

    Aol

    FB#1 1/b

    Frequency (Hz)

    10m 100m 1 10 100 1k 10k 100k 1M 10M

    Gain(dB)

    -40

    -20

    0

    20

    40

    60

    80

    100

    120

    140

    160

    FB#1 1/b

    Aol

    fzafpc

    1/b

    1/bFB#11/bFB#2 fcl

    Dual Feedback and 1/ Create the BIG NOT

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    47/60

    T

    Aol

    BIG NOT 1/

    Frequency (Hz)

    10m 100m 1 10 100 1k 10k 100k 1M 10M

    G

    ain(dB)

    -40

    -20

    0

    20

    40

    60

    80

    100

    120

    140

    160

    Aol

    BIG NOT 1/

    fcl

    47

    Dual Feedback and 1/Create the BIG NOT

    STABLE???

    ???

    BIG NOT 1/:At fcl rate-of-closure rule-of-thumb says circuit is stable but is it?

    BIGNOT

    Dual Feedback and 1/ Create the BIG NOT

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    48/60

    48

    Dual Feedback and 1/ Create the BIG NOT

    STABLE???

    ???

    BIG NOT Loop Gain:

    Loop Gainphase shift >135 degrees (

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    49/60

    49

    Dual Feedback and 1/Create the BIG NOT

    VCC 12

    RF 100k

    VO

    VEE 12

    -

    +

    -

    +

    VCV1 Ro 60

    VOA

    REF02Trim

    Out

    Vin

    Gnd

    U2 REF02

    VREF

    Riso 26.7

    CL 10u

    Vout

    VFB

    Vtrim

    CF 220p

    +

    Vin-

    ++

    U1 OPA177E

    x1

    DC=0V

    Transient=10mVpp

    f =100Hz, 10ns rise/f all

    Zo External Model1.2298V

    4.999V

    4.9991V

    4.999V

    4.9991V

    4.9991V

    Dual Feedback and 1/ Create the BIG NOT

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    50/60

    50

    Dual Feedback and 1/Create the BIG NOTT

    Time (s)

    0.00 2.50m 5.00m 7.50m 10.00m

    VO

    4.34

    5.38

    VOA

    3.04

    6.10

    Vin

    -100.00m

    100.00m

    Vout

    4.76

    5.17STABLE

    BIG NOT Transient Stability Test:

    Excessive ringing and marginal stability are apparent. Real world implementation and

    use may cause even more severe oscillations. We do not want this in production!

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    51/60

    4) Non-Loop Stability Problems

    Non-Loop Stability

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    52/60

    52

    Non Loop Stability

    Loop Frequencies

    RB+

    PCB Traces

    Supply Bypass

    Ground Loops

    Output Stage Oscillations

    Non-Loop Stabi l i ty

    Oscillations NOT predicted by Loop Gain (Aol) Analysisor

    SPICE Simulations

    Non Loop Stability: Loop Frequency Definitions

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    53/60

    53

    Non-Loop Stability:Loop Frequency Definitions

    0

    20

    40

    60

    80

    100

    10M1M100k10k1k100101

    Frequency (Hz)

    A(dB) b

    VOUT/VIN

    Aol

    fcl

    SSBW

    (Small Signal BandWidth)

    fGBW

    fcl:

    Where Loop Gain (Aol) = 1

    fGBW:

    Where Op Amp Aol Curve crosses 0dB

    (Unity Gain Bandwidth)

    Non-Loop Stability: ? Diagnostic Questions ?

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    54/60

    54

    Non-Loop Stability: ? Diagnostic Questions ?

    Frequency of oscillation (fosc)?

    When does the oscillation occur?

    Oscillates Unloaded?

    Oscillates with VIN=0?

    Non-Loop Stability: fosc < fGBW

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    55/60

    55

    Non Loop Stability:RB+ Resistor

    +

    -

    +

    -

    VIN

    RF

    RI

    100k

    100k

    RB+

    VOUT

    +

    -

    +

    -

    VIN

    RF

    RI

    100k

    100k

    RB+

    49.9k

    VOUT

    CB+

    0.01For

    0.1F

    fosc fGBW

    oscillates unloaded? -- may or may not

    oscillates with VIN=0? -- may or may not

    +

    -

    +

    -

    VIN

    RF

    RI

    100k

    100k

    RB+

    49.9k

    VOUT

    +

    -

    VNOISE

    Ib

    Ib

    RB+ is Ib current match resistor to

    reduce Vos errors due to Ib.

    RB+ can create high impedance

    node acting as antenna pickup for

    unwanted positive feedback.

    Many Op Amps have low Ib so error is

    small. Evaluate DC errors w/o RB+.

    If you use RB+ bypass

    it in parallel with 0.1F

    capacitor.

    PROBLEM

    SOLUTION

    SOLUTION

    Non-Loop Stability: fosc < fGBW

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    56/60

    56

    Non Loop Stability:PCB Traces

    fosc fGBW

    oscillates unloaded? -- may or may not

    oscillates with VIN=0? -- may or may not

    DO NOTroute high current, low impedance output traces near high

    impedance input traces. Unwanted positive feedback path.

    DOroute high current output traces adjacent to each other (on top of each

    other in a multi-layer PCB) to form a twisted pair for EMI cancellation.

    +

    -

    +

    -

    VIN

    VOUT

    RI RF

    Rs

    GND

    Non-Loop Stability: fosc < fGBW

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    57/60

    57

    Non Loop Stability:Supply Lines

    Gain

    StagePower

    Stage

    RL

    IL

    -vs

    Rs

    +

    -

    +vs

    Ls

    CL

    Load current, IL, flows through power

    supply resistance, Rs, due to PCB traceor wiring. Modulated supply voltages

    appear at Op Amp Power pins.

    Modulated signal couples into amplifier

    which relies on supply pins as AC

    Ground.

    Power supply lead inductance, Ls,

    interacts with a capacitive load,

    CL, to form an oscillatory LC, highQ, tank circuit.

    fosc fGBW

    oscillates unloaded? -- no

    oscillates with VIN=0? -- may or may not

    PROBLEM PROBLEM

    Non-Loop Stability:P S l Li D l

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    58/60

    58

    Proper Supply Line Decouple

    +

    -

    RHF

    RHF

    CHF

    CHF

    CLF

    CLF

    +VS

    -VS

    < 4 in

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    59/60

    59

    Non Loop Stability:Ground Loops

    +

    -+

    - -VS

    +VS

    RL

    RGyRGx

    RGv

    RGw

    RFRI

    Ground

    IL

    VIN

    VOUT

    oscillates unloaded? -- no

    oscillates with VIN=0? -- yes

    +

    -+

    - -VS

    +VS

    RL

    RFRI

    RG

    Star

    Ground

    Point

    VIN

    VOUT

    Ground loops are created from load current

    flowing through parasitic resistances. If part

    of VOUT is fed back to Op Amp +input,

    positive feedback and oscillations can occur.

    Parasitic resistances can be made to look

    like a common mode input by using a

    Single-Point or Star ground connection.

    SOLUTION

    PROBLEM

    Non-Loop Stability: fosc > fGBW

  • 5/25/2018 0574.Solving Op Amp Stability 2013_Part 2

    60/60

    60

    p yOutput Stages

    -VS

    L

    O

    A

    D

    oscillates unloaded? -- no

    oscillates with VIN=0? -- no

    Some Op Amps use composite output

    stages, usually on the negative output, that

    contain local feedback paths. Under reactive

    loads these output stages can oscillate.

    The Output R-C Snubber Network lowersthe high frequency gain of the output stage

    preventing unwanted oscillations under

    reactive loads.

    +

    -

    +

    -

    VIN

    RF

    RI

    100k

    100k

    VOUT

    RSN

    CSN

    10to 100

    .F to 1FPROBLEM SOLUTION