450 likes | 619 Views
Analog Electronics Workshop Stability. March 13, 2013. The Culprits. Capacitive Loads!. Cable/Shield Drive!. MOSFET Gate Drive!. Reference Buffers!. High Feedback Network Impedance!. High-Source Impedance or Low-Power Circuits!. Attenuators!. Transimpedance Amplifiers!.
E N D
Analog Electronics WorkshopStability March 13, 2013
The Culprits Capacitive Loads! Cable/Shield Drive! MOSFET Gate Drive! Reference Buffers! High Feedback Network Impedance! High-Source Impedance or Low-Power Circuits! Attenuators! Transimpedance Amplifiers!
Recognize Stability Issues • Oscilloscope - Transient Domain Analysis: • Oscillations or Ringing • Overshoots • Unstable DC Voltages • High Distortion
Recognize Stability Issues • Gain / Phase Analyzer - Frequency Domain: Peaking, Unexpected Gains, Rapid Phase Shifts
Fundamental Cause of Amplifier Stability Issues • Too much delay in the feedback network
Poles and Bode Plots • Pole Location = fP • Magnitude = -20dB/Decade Slope • Slope begins at fP and continues down as frequency increases • Actual Function = -3dB down @ fP • Phase= -45°/Decade Slope through fP • Decade Above fP Phase = -84.3° • Decade Below fP Phase = -5.7°
Zeros and Bode Plots • Zero Location = fZ • Magnitude = +20dB/Decade Slope • Slope begins at fZ and continues up as frequency increases • Actual Function = +3dB up @ fZ • Phase = +45°/Decade Slope through fZ • Decade Above fZ Phase = +84.3° • Decade Below fZ Phase = 5.7°
Op-Amp Loop Gain Model VOUT/VIN = Acl = Aol/(1+Aolβ) If Aol >> 1 then Acl ≈ 1/β Aol: Open Loop Gain β: Feedback Factor Acl: Closed Loop Gain
Stability Criteria using 1/β & Aol At fcl: Loop Gain (Aolb) = 1 Rate-of-Closure @ fcl = (Aol slope – 1/β slope) *20dB/decade Rate-of-Closure @ fcl = STABLE **40dB/decade Rate-of-Closure@ fcl = UNSTABLE
Unity Gain Buffer Determine the issue: Pole in AOL!! ROC = 40dB/decade!! Phase Margin 0!! NG = 1V/V = 0dB
Stability Options Unity-Gain circuits can only be stabilized by modifying the AOL load
Method 1: Riso - Design Ensure Good Phase Margin: 1.) Find: fcl and f(AOL = 20dB) 2.) Set Riso to create AOL zero: Good: f(zero) = Fcl for PM ≈ 45 degrees. Better: f(zero) = F(AOL = 20dB) will yield slightly less than 90 degrees phase margin fcl = 222.74kHz f(AOL = 20dB) = 70.41kHz
Method 1: Riso Theory: Adds a zero to the Loaded AOL response to cancel the pole
Method 1: Riso When to use: Works well when DC accuracy is not important, or when loads are very light
Method 1: Riso - Disadvantage Disadvantage: Voltage drop across Riso may not be acceptable
Riso Lab • Simulation • Measurement
TINA Exercise-Stability • Vin Settings • Square Wave Settings
TINA Exercise-Stability • Analysis->Transient • View->Separate Curves
TINA Exercise-Stability • Open switch and re-run transient analysis • Stable, but DC offset
NI myDAQ Exercise-Riso Populate U1 with OPA627 Ensure J2 is installed
NI myDAQ Exercise-Riso • Launch FGEN • FGEN Settings • Square Wave • Frequency=5kHz • Amplitude=0.2Vpp • Signal Route=AO(0) • Run
NI myDAQ Exercise-Riso • Launch Scope • Scope Settings • Source = AI(0) • Scale V/Div = 50mV • Time/Div = 50us • Trigger Type = Edge • Run • Change Acquisition Mode to Run Once • Click Run for each acquisition
NI myDAQ Exercise-Riso Lab Results TINA Results
NI myDAQ Exercise-Stability Lab Results-High Resolution
NI myDAQ Exercise-Riso Remove J2 This puts Riso in signal path Vpp=189.11mV Repeatedly remove and insert J2 Notice output swing
What about DC offset? Remember the voltage drop across Riso causes DC inaccuracy
Method 2: Riso + DF Theory: Features a low-frequency feedback to cancel the Riso drop and a high-frequency feedback to create the AOL pole and zero.
Method 2: Riso + DF When to Use: Only practical solution for very large capacitive loads ≥ 10uF When DC accuracy must be preserved across different current loads
Riso+DF Lab • Measurement
NI myDAQ Exercise Move OPA627 from U1 to U2
NI myDAQ Exercise-Riso+DF • Launch FGEN • FGEN Settings • Square Wave • Frequency=100Hz • Amplitude=0.2Vpp • Signal Route=AO(1) • Run
NI myDAQ Exercise-Riso+DF • Launch Scope • Scope Settings • Source = AI(1) • Scale V/Div = 50mV • Time/Div = 2ms • Trigger Type = Edge • Run • Change Acquisition Mode to Run Once • Click Run for each acquisition
NI myDAQ Exercise-Riso+DF Riso+DF Riso *Note: Reduced frequency due to Riso+DF settling time
Further Reading Presentation Article Series