Yet More On Decoupling, Part 2: ring the changes, change the rings Kendall Castor-Perry

Similar documents
Figure AC circuit to be analyzed.

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

Testing Power Sources for Stability

Understanding, measuring, and reducing output noise in DC/DC switching regulators

LDO Regulator Stability Using Ceramic Output Capacitors

The Filter Wizard issue 22: Active filters that still work even when their amplifiers don t Kendall Castor-Perry

Decoupling capacitor uses and selection

KM4110/KM mA, Low Cost, +2.7V & +5V, 75MHz Rail-to-Rail Amplifiers

Background (What Do Line and Load Transients Tell Us about a Power Supply?)

When input, output and feedback voltages are all symmetric bipolar signals with respect to ground, no biasing is required.

Linear Regulators: Theory of Operation and Compensation

Probe Considerations for Low Voltage Measurements such as Ripple

AN-1106 Custom Instrumentation Amplifier Design Author: Craig Cary Date: January 16, 2017

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

Application Note. Piezo Amplifier. Piezoelectric Amplifier Connection. accelinstruments.com

Low Noise 300mA LDO Regulator General Description. Features

HIGH POWER DUAL OPERATIONAL AMPLIFIER

The Filter Wizard issue 21: A Fast-Settling Bias Voltage Filter with High Ripple Rejection Kendall Castor-Perry

Industry s First 0.8µV RMS Noise LDO Has 79dB Power Supply Rejection Ratio at 1MHz Amit Patel

Ultra-Low Noise Ultra-Fast 300mA LDO Regulator. Features

Lab 3-mod: Diode Circuits

UNIVERSITY OF UTAH ELECTRICAL ENGINEERING DEPARTMENT

Decoupling capacitor placement

Balanced Transmitter and Receiver II Rod Elliott (ESP) / Uwe Beis * Updated 01 April 2002

DEPARTMENT OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCE MASSACHUSETTS INSTITUTE OF TECHNOLOGY CAMBRIDGE, MASSACHUSETTS 02139

Testing and Stabilizing Feedback Loops in Today s Power Supplies

ECE3204 D2015 Lab 1. See suggested breadboard configuration on following page!

id id mA, Low Dropout, Low Noise Ultra-Fast With Soft Start CMOS LDO Regulator Features General Description Applications

EE 233 Circuit Theory Lab 2: Amplifiers

Minimalist Discrete Hi-Fi Preamp

AltiumLive 2017: Component selection for EMC

University of Michigan EECS 311: Electronic Circuits Fall 2009 LAB 2 NON IDEAL OPAMPS

High Speed FET-INPUT OPERATIONAL AMPLIFIERS

Controlling Input Ripple and Noise in Buck Converters

Designing low-frequency decoupling using SIMPLIS

Frequency Selective Circuits

STATION NUMBER: LAB SECTION: Filters. LAB 6: Filters ELECTRICAL ENGINEERING 43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

Power Supply Considerations for DDX Amplifiers

EE 233 Circuit Theory Lab 3: First-Order Filters

Designing a Multi-Phase Asynchronous Buck Regulator Using the LM2639

CLC1011, CLC2011, CLC4011 Low Power, Low Cost, Rail-to-Rail I/O Amplifiers

THE LIBRARY OF GROUNDING PROBLEMS

Lab 2: Linear and Nonlinear Circuit Elements and Networks

Passive Probe Ground Lead Effects

Class D audio-power amplifiers: Interactive simulations assess device and filter performance

Single-Supply, High Speed, Triple Op Amp with Charge Pump ADA4858-3

LT Spice Getting Started Very Quickly. First Get the Latest Software!

Rail-to-Rail, High Output Current Amplifier AD8397

Analogue circuit design for RF immunity

EE320L Electronics I. Laboratory. Laboratory Exercise #2. Basic Op-Amp Circuits. Angsuman Roy. Department of Electrical and Computer Engineering

Keywords: linear regulators, LDO, transient, input protection, PSRR, power supply noise

Physics 160 Lecture 11. R. Johnson May 4, 2015

Experiment 1: Instrument Familiarization (8/28/06)

Lecture 2 Analog circuits. Seeing the light..

E B C. Two-Terminal Behavior (For testing only!) TO-92 Case Circuit Symbol

Experiment 1: Amplifier Characterization Spring 2019

150-mA Ultra Low-Noise LDO Regulator With Error Flag and Discharge Option

University of Michigan EECS 311: Electronic Circuits Fall 2008 LAB 4 SINGLE STAGE AMPLIFIER

Laboratory 8 Operational Amplifiers and Analog Computers

KH103 Fast Settling, High Current Wideband Op Amp

Fixed Frequency Control vs Constant On-Time Control of Step-Down Converters

Week 8 AM Modulation and the AM Receiver

Experiment 1: Instrument Familiarization

Constant Current Control for DC-DC Converters

Miniproject: AM Radio

Component Selection for DDX Amplifiers

250mA HIGH-SPEED BUFFER

Low Cost, General Purpose High Speed JFET Amplifier AD825

Bipolar Emitter-Follower: Output Pin Compensation

140mW Headphone Amplifier with Unity-gain Stable

OPERATIONAL AMPLIFIERS (OP-AMPS) II

3A Step-Down Voltage Regulator

University of Jordan School of Engineering Electrical Engineering Department. EE 219 Electrical Circuits Lab

UNIT 2. Q.1) Describe the functioning of standard signal generator. Ans. Electronic Measurements & Instrumentation

Application Guidelines for Non-Isolated Converters AN Input Filtering for Austin Lynx Series POL Modules

The Facts about the Input Impedance of Power and Ground Planes

INPUT: 110/220VAC. Parallel Input Series Input Parallel Output Series Output (W/CT)

Simulating Inductors and networks.

The Micromega MyAMP. A serious design challenge

User s Manual ISL15102IRZ-EVALZ. User s Manual: Evaluation Board. Industrial Analog and Power

Lecture 2 Analog circuits...or How to detect the Alarm beacon

I1 19u 5V R11 1MEG IDC Q7 Q2N3904 Q2N3904. Figure 3.1 A scaled down 741 op amp used in this lab

MP2313 High Efficiency 1A, 24V, 2MHz Synchronous Step Down Converter

A 7ns, 6mA, Single-Supply Comparator Fabricated on Linear s 6GHz Complementary Bipolar Process

12. Output Ripple Attenuator Module (MicroRAM )

High Performance ZVS Buck Regulator Removes Barriers To Increased Power Throughput In Wide Input Range Point-Of-Load Applications

Unit 3: Introduction to Op- amps and Diodes

Cascode Oscillation in Audio Amplifiers

A Basis for LDO and It s Thermal Design

THE PHYSICAL MAP GENERAL DESCRIPTION APPLICATIONS BLOCK DIAGRAM FEATURES SHENZHEN XPTEK TECHNOLOGY CO., LTD

The Causes and Impact of EMI in Power Systems; Part 1. Chris Swartz

YB1210R 300mA, Ultra-Low-Noise, High PSRR LDO Regulator

Homework Assignment 11

TUNED AMPLIFIERS 5.1 Introduction: Coil Losses:

Mini Project 2 Single Transistor Amplifiers. ELEC 301 University of British Columbia

id9309 Ultra-Low Noise Ultra-Fast 300mA LDO Regulator Features

SGM MHz, 48μA, Rail-to-Rail I/O CMOS Operational Amplifier

Project 1 Final System Design and Performance Report. Class D Amplifier

HIGH VOLTAGE/HIGH CURRENT OPERATIONAL AMPLIFIER

HA MHz, High Slew Rate, High Output Current Buffer. Description. Features. Applications. Ordering Information. Pinouts.

Transcription:

Page 1 of 9 Yet More On Decoupling, Part 2: ring the changes, change the rings Kendall Castor-Perry This article was published on EDN: http://www.edn.com/design/powermanagement/4412870/why-bypass-caps-make-a-difference---part-2--power-supplyexcitation-and-ringing Previously on Yet more... we built up a pair of regulators with output capacitors, and connected them to some decoupling caps with a short length of copper trace. We looked at the impedance at these decoupling caps, and saw some peaks. What happens when we start taking some current from these imperfect supplies? Figures 2.1 and 2.2 show what happens in the time domain when we take a squarewave current switching between 0 and +10 ma at 100 khz from the positive regulator, and one switching between -10 ma and 0 on the negative regulator. The rationale is that later on, we ll either be taking current from the +ve rail, or dumping it into the ve rail. Remember that the regulators have a static load of 20 ma as well, so we are not taking regulator current down to zero. The swept parameter is once again the value of the local decoupling capacitor, 22 nf (top trace, blue) to 470 nf (bottom trace, pink), and the traces are offset from the top down by 10 mv each time. 5.025V v(plus)@1 v(plus)@2-0.01 v(plus)@3-0.02 v(plus)@4-0.03 v(plus)@5-0.04 5.020V 5.015V 5.010V 5.005V 5.000V 4.995V 4.990V 4.985V 4.980V 4.975V 4.970V 4.965V 0µs 5µs 10µs 15µs 20µs 25µs 30µs 35µs 40µs 45µs 50µs Figure 2.1: pinging the positive rail with 100 khz 0 to +10 ma square wave, 5 mv/div, traces spread by 10 mv.

Page 2 of 9 As expected, the smallest capacitor shows the highest amplitude of additional ringing, occurring at the highest frequency. As the capacitor value goes up, the magnitude of the ringing falls. Constant in all this is the effective impedance at the 100 khz fundamental, which seems to be about 0.7 ohms for either supply. Note that these voltages are in phase. The frequent assumption about the supply variations being symmetrical around ground is not true in this case; indeed, hardly ever true. -5.025V V(minus)@1 v(minus)@2-0.01 v(minus)@3-0.02 v(minus)@4-0.03 v(minus)@5-0.04-5.030v -5.035V -5.040V -5.045V -5.050V -5.055V -5.060V -5.065V -5.070V -5.075V -5.080V -5.085V 0µs 5µs 10µs 15µs 20µs 25µs 30µs 35µs 40µs 45µs 50µs Figure 2.2: pinging the negative rail with 100 khz 0-10 ma square wave, 5 mv/div, traces spread by 10 mv. The high frequency ringing looks unsightly and may well impact our circuits what could we do about that? We need some damping somewhere, perhaps by adding some series resistance to one of the capacitors. This will help to dissipate stored energy in the resonant circuits more rapidly, reducing the Q. Now, with other regulator designs we might have been forced to have this extra series resistance, because some LDO designs are not stable when the main output capacitor has too low an ESR. Often in those designs a tantalum capacitor is used, so let s pick one. AVX have another useful utility on their download page, SpiTanII, which assists with the selection of tantalum capacitors, and the associated SPICE library contains models which accurately portray the frequency-dependent loss of that type of cap. This should lead to much more accurate simulation than just guessing a resistive ESR value. A 2.2 uf 1206- sized part (TPSA225K016R1800, same footprint as the ceramic previously deployed, and with 16 V working voltage) was chosen; it has a rated maximum ESR of 1.8 ohms at 100 khz, which is about as good as it gets for a small tantalum. Important tip: fit this capacitor the right way round in your simulations. In the simulation world as well as in the real world, the tantalum capacitor doesn t work properly under reverse polarity!

Page 3 of 9 5.025V v(plus)@1 v(plus)@2-0.01 v(plus)@3-0.02 v(plus)@4-0.03 v(plus)@5-0.04 5.020V 5.015V 5.010V 5.005V 5.000V 4.995V 4.990V 4.985V 4.980V 4.975V 4.970V 4.965V 0µs 5µs 10µs 15µs 20µs 25µs 30µs 35µs 40µs 45µs 50µs Figure 2.3: same as fig 2.1 but using a 2.2 uf tantalum output cap on the +ve regulator. What a difference; a lot less high frequency rubbish (especially on the ve rail which is not shown). The impedance curves show why; with the tantalum capacitor, the +ve regulator particularly is still showing some peaking just below 1 MHz. Still, looks like an improvement, but we will keep testing this choice in the work to come, to see what consequences the ringing has.

Page 4 of 9 90dB V(plus) V(minus) v(plus)/i(c7) 80dB 70dB 60dB 50dB 40dB 30dB 20dB 10dB 0dB -10dB -20dB -30dB -40dB 100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz Figure 2.4: impedance plots of the supply rails with tantalum capacitors. Contrast with figure 1.2 in part 1. Can you hear me? Most of this work is concerned with effects in the MHz region, but in passing, let s look at what happens with lower frequency stimulation of the rails. This may be interesting for people working on audio applications. Figure 2.5 shows the rail impedances as we step up the regulator output capacitor from our current 2.2 uf up to a whopping 2200 uf (ESR was set at 0.1 ohm for all of them, as might come from a physically large aluminium electrolytic used in audio circuits). The decoupling capacitor was fixed at 100 nf; none of the high frequency effects pointed out earlier are relevant at this timescale. As the capacitance value increases, the audio band impedance becomes flatter, then finally rather less flat as the very largest capacitor does a better job than the regulator does. Figure 2.6 shows the voltage response of the +ve rail to a test current of 0-10 ma at 333 Hz.

Page 5 of 9 90dB V(plus) V(minus) v(plus)/i(c7) 80dB 70dB 60dB 50dB 40dB 30dB 20dB 10dB 0dB -10dB -20dB -30dB -40dB 100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz Figure 2.5: rail impedance as we increase the regulator output cap from 2.2 uf up to 2200 uf, decade steps. This is with the noise bypass caps. As the output capacitor increases, it provides progressively more support for the regulator. Going only on the traces in figure 2.6, it looks like a 220 uf capacitor would do a good job of delivering an uncoloured, frequency-independent output impedance in the audio band. The square-wave response for the 2200 uf is actually less accurate, though judgements like these will depend on the actual test frequency and there s no one right answer.

Page 6 of 9 5.022V v(plus)@1 v(plus)@2-0.02 v(plus)@3-0.04 v(plus)@4-0.06 5.016V 5.010V 5.004V 4.998V 4.992V 4.986V 4.980V 4.974V 4.968V 4.962V 4.956V 4.950V 0.0ms 0.5ms 1.0ms 1.5ms 2.0ms 2.5ms 3.0ms 3.5ms 4.0ms 4.5ms Figure 2.6: voltage on the rails when 0-10 ma squarewave at 333 Hz is applied. 2.2 uf top, 2200 uf bottom. Remember that we suppressed some impedance peaking at 10 khz in part 1 by adding the noise bypass capacitors. What happens if we lift these off and run this test again?: The resulting rail impedance is shown in figure 2.7; the location of the peak falls as the output capacitor is increased, but even with an enormous 2200 uf capacitor it s still well into the audible band. The consequences of this peak are clear in the current transient test. Perhaps it s not surprising that advocates of ultimate audio quality insist that capacitor selection can have an effect on a system s sonic performance even where you d think it couldn t, like on the output of a regulator. Fit those noise bypass caps!

Page 7 of 9 90dB V(plus) V(minus) v(plus)/i(c7) 80dB 70dB 60dB 50dB 40dB 30dB 20dB 10dB 0dB -10dB -20dB -30dB -40dB 100Hz 1KHz 10KHz 100KHz 1MHz 10MHz 100MHz Figure 2.7: as figure 2.5 but with the noise bypass capacitors removed. Note the resonant peak in the audio band.

Page 8 of 9 5.05V v(plus)@1 v(plus)@2-0.02 v(plus)@3-0.04 v(plus)@4-0.06 5.04V 5.03V 5.02V 5.01V 5.00V 4.99V 4.98V 4.97V 4.96V 4.95V 0.0ms 0.5ms 1.0ms 1.5ms 2.0ms 2.5ms 3.0ms 3.5ms 4.0ms 4.5ms Figure 2.8: the response of figure 2.7 to the 0-10 ma 333 Hz square wave. Talk about ringing! Still to come: we ll look at real operational amplifiers (well, models of them, anyway) and see what actually happens at their output when their supply pins are waved around. And then we ll bring those amplifiers and the power supply from this part together. It won t be pretty! To be continued... Takeaways from this part: Whatever the LDO datasheet says, high-esr output capacitors give better control of high frequency supply resonances The smaller you make the main ceramic decoupling capacitor, the faster and larger will be the ringing that occurs on a load current step this is a smallsignal effect and occurs for any current change, not just large ones. If you are designing audio circuits which don t have impeccable power supply rejection, the LDO regulator impedance bump could cause coloration as it usually occurs within the audio band. Huge output capacitors don t cure it, in fact they could make it worse. Use that noise bypass connection. 2013 Postscript Several people expressed surprise at the phase relationship between the waveforms shown on the +ve and ve supply rails in the many simulation plots in this part. If the

Page 9 of 9 load current were flowing directly between the two supply rails, then of course both would shift towards zero. But with the current-steering behaviour of a typical class B amplifier push-pull output stage, the current is either flowing out of the +ve regulator or it s flowing into the ve regulator. So a bipolar squarewave load current taken from the amplifier causes an in-phase squarewave voltage shift in both supply rails. The serious consequence of this becomes much more apparent in later instalments. I also underplayed the importance of having set a static load current on the regulator. The figure legends talk about a load current change of 0 to 10 ma, but in fact it is 20 ma to 30 ma. The output stages of typical regulators don t behave cleanly at very low currents in simulation or in the real world. I encountered that very problem the following year with a high frequency filter built using amplifiers with very low quiescent current but delivering quite a lot of current to a capacitor-coupled load. The original local regulator on the board, providing the single supply rail to the filter, showed a noticeable tail on the output voltage when it stopped supplying any current because the amplifier was sinking load current, and taking very little current from the supply. This tail got picked up on an inadequately bypassed bias voltage and produced an error that took some tracking down. I referred several times to the regulator s noise bypass capacitor, and this caused a bit of confusion because there was no schematic in part 2 to remind people what that meant. It s the additional capacitor that you can fit to some regulators I chose in order to reduce the output noise contribution of the regulator s internal reference. It does this by reducing the closed-loop bandwidth of the regulator, which in turn pushes its apparent output inductance down. If you ve got the space and budget, I really recommend using regulators with this capability, whatever you re doing. Changing to a cheaper regulator has got several USB audio customers into trouble recently. The USB data transfer causes a supply current modulation at 1 khz, and that can cause a subtle gain modulation in many audio DACs, because their transfer characteristic is proportional to the supply voltage. The 1 khz ripple on the supply was about 300 microvolts in one case, undetectable on a scope, but sticking out like a sore thumb as -80 dbc modulation products spaced away from the test signal by 1 khz on each side. So it was very hard to spot when the test signal frequency was 1 khz (work it out). Don t use 1 khz as the default test signal frequency in a USB audio system!