Practical Testing Techniques For Modern Control Loops

Similar documents
Testing and Stabilizing Feedback Loops in Today s Power Supplies

Testing Power Sources for Stability

Specify Gain and Phase Margins on All Your Loops

Testing Power Factor Correction Circuits For Stability

A 40 MHz Programmable Video Op Amp

New Techniques for Testing Power Factor Correction Circuits

Designer Series XV. by Dr. Ray Ridley

BUCK Converter Control Cookbook

Minimizing Input Filter Requirements In Military Power Supply Designs

Core Technology Group Application Note 2 AN-2

THE K FACTOR: A NEW MATHEMATICAL TOOL FOR STABILITY ANALYSIS AND SYNTHESIS

PHYS 536 The Golden Rules of Op Amps. Characteristics of an Ideal Op Amp

Constant Current Control for DC-DC Converters

Boosting output in high-voltage op-amps with a current buffer

L02 Operational Amplifiers Applications 1

Physics 303 Fall Module 4: The Operational Amplifier

OPERATIONAL AMPLIFIERS (OP-AMPS) II

CHAPTER 9 FEEDBACK. NTUEE Electronics L.H. Lu 9-1

An Analog Phase-Locked Loop

Analog Electronics. Lecture Pearson Education. Upper Saddle River, NJ, All rights reserved.

Analog CMOS Interface Circuits for UMSI Chip of Environmental Monitoring Microsystem

Linear Regulators: Theory of Operation and Compensation

LINEAR MODELING OF A SELF-OSCILLATING PWM CONTROL LOOP

Opamp stability using non-invasive methods

DESIGN AND ANALYSIS OF FEEDBACK CONTROLLERS FOR A DC BUCK-BOOST CONVERTER

LDO Regulator Stability Using Ceramic Output Capacitors

Microelectronic Circuits - Fifth Edition Sedra/Smith Copyright 2004 by Oxford University Press, Inc.

A 24 V Chopper Offset-Stabilized Operational Amplifier with Symmetrical RC Notch Filters having sub-10 µv offset and over-120db CMRR

PURPOSE: NOTE: Be sure to record ALL results in your laboratory notebook.

Fast IC Power Transistor with Thermal Protection

Lecture 2: Non-Ideal Amps and Op-Amps

Chapter 9: Operational Amplifiers

Chapter 10 Switching DC Power Supplies

AN increasing number of video and communication applications

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

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

Experiment 1: Amplifier Characterization Spring 2019

Bipolar Emitter-Follower: Output Pin Compensation

Operational Amplifiers

Inverting input R 2. R 1 Output

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

EE301 Electronics I , Fall

3 Circuit Theory. 3.2 Balanced Gain Stage (BGS) Input to the amplifier is balanced. The shield is isolated

Chapter 13 Oscillators and Data Converters

CHAPTER 3. Instrumentation Amplifier (IA) Background. 3.1 Introduction. 3.2 Instrumentation Amplifier Architecture and Configurations

SRM TM A Synchronous Rectifier Module. Figure 1 Figure 2

Applied Electronics II

Low Cost, General Purpose High Speed JFET Amplifier AD825

ELT 215 Operational Amplifiers (LECTURE) Chapter 5

1. An engineer measures the (step response) rise time of an amplifier as. Estimate the 3-dB bandwidth of the amplifier. (2 points)

Homework Assignment 06

4.5V to 32V Input High Current LED Driver IC For Buck or Buck-Boost Topology CN5816. Features: SHDN COMP OVP CSP CSN

Chapter 9: Operational Amplifiers

Chapter 2. Operational Amplifiers

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

EECE488: Analog CMOS Integrated Circuit Design Set 7 Opamp Design

Common-emitter amplifier, no feedback, with reference waveforms for comparison.

9 Feedback and Control

ELC224 Final Review (12/10/2009) Name:

ECEN 474/704 Lab 5: Frequency Response of Inverting Amplifiers

Lecture 2 Analog circuits. Seeing the light..

Current Feedback Amplifiers

Constant Current Control for DC-DC Converters

Homework Assignment 07

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

Assume availability of the following components to DESIGN and DRAW the circuits of the op. amp. applications listed below:

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

An Oscillator is a circuit which produces a periodic waveform at its output with only the dc supply voltage at the input. The output voltage can be

EE 210 Lab Exercise #5: OP-AMPS I

Operational Amplifier as A Black Box

Op Amp Booster Designs

Lecture #2 Operational Amplifiers

Advanced Operational Amplifiers

Lecture 4 ECEN 4517/5517

Current Feedback Loop Gain Analysis and Performance Enhancement

Power supplies are one of the last holdouts of true. The Purpose of Loop Gain DESIGNER SERIES

Operational Amplifier BME 360 Lecture Notes Ying Sun

SC Series. SC Series High Voltage Power Supply

CURRENT MODE PWM CONTROLLER LM3842A/3A/4A/5A

UNITRODE CORPORATION APPLICATION NOTE THE UC3902 LOAD SHARE CONTROLLER AND ITS PERFORMANCE IN DISTRIBUTED POWER SYSTEMS by Laszlo Balogh Unitrode Corp

Single Supply, Rail to Rail Low Power FET-Input Op Amp AD820

HAQ Series High Temperature High Voltage Power Supply

CMOS Operational-Amplifier

Revision History. Contents

DLVP A OPERATOR S MANUAL

ELECTRICAL CIRCUITS 6. OPERATIONAL AMPLIFIERS PART III DYNAMIC RESPONSE

Integrated Circuit: Classification:

Current-mode PWM controller

State Machine Oscillators

Lesson number one. Operational Amplifier Basics

DATASHEET HS-1145RH. Features. Applications. Ordering Information. Pinout

SAR (successive-approximation-register) ADCs

Homework Assignment 03 Solution

The UC3902 Load Share Controller and Its Performance in Distributed Power Systems

Audio level control with resistive optocouplers.

TL082 Wide Bandwidth Dual JFET Input Operational Amplifier

Reduce Load Capacitance in Noise-Sensitive, High-Transient Applications, through Implementation of Active Filtering

UMAINE ECE Morse Code ROM and Transmitter at ISM Band Frequency

EE LINEAR INTEGRATED CIRCUITS & APPLICATIONS

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

Transcription:

VENABLE TECHNICAL PAPER # 16 Practical Testing Techniques For Modern Control Loops Abstract: New power supply designs are becoming harder to measure for gain margin and phase margin. This measurement is important because step load testing does not measure critical parameters such as conditional stability. Measuring gain and phase of the feedback versus frequency requires finding a point in the loop to inject a test signal. The signal at this point must be confined to a single path, with a low source impedance and high load impedance. One such point is the connection between the voltage error amplifier and the pulse width modulator (PWM) comparator, but that point has been moved inside most PWM integrated circuits and is no longer accessible. A second point is in series with the output of single-output supplies but this point is rapidly becoming inaccessible or invalid with the inclusion of multiple output voltages feeding a single summing node. A new technique has been developed which does not suffer from either of these limitations and which can be implemented on virtually any PWM chip. This paper describes this technique and gives examples of how to apply it to various types of integrated circuits. Why Measure Feedback Loops? Most people are interested in the transient response of a power supply, i.e., how fast it responds to changes in load or line voltage. A common method of determining transient response is to do step load testing. Unfortunately, step load testing does not tell the whole story. Step load testing does not reveal conditionally stable loops (loops where the total phase shift reaches 360 at a frequency when there is still gain around the loop). Sometimes, step load testing does not reveal the stability of the loop at all, particularly when the loop is fast and the rise time of the step is slow. This slow step rise time is not unusual in the built-in step generators of many electronic loads. A Bode plot (plot of log gain versus log frequency and linear phase versus log frequency) gives all the information necessary to evaluate a loop. Gain and phase margins are taken directly from the plot. Conditionally stable loops are instantly revealed. Transient response time is proportional to the reciprocal of the loop bandwidth and the amount of ringing is easily predictable from the measured phase margin. Figure 1 shows an unconditionally stable loop. Figure 2 shows a conditionally stable loop. Conditionally stable loops are not desirable because the gain can drop Practical Testing Techniques Venable Industries All Rights Reserved Page 1

and cause the loop to oscillate. In unconditionally stable loops, the gain must rise to cause oscillation. Figure 1. Unconditionally stable loop Figure 2. Conditionally stable loop. This is not desirable. How Loops Were Measured When power supplies were built from discrete components, every point in the circuit was accessible. The criteria for making a loop measurement was to find a place in the loop where the signal was confined to a single path and the impedance looking into the circuit input was much higher than the impedance of the circuit output. There were two of these points in most switching power supplies. One was at the connection between the voltage error amplifier and the comparator that set the pulse width. (This point exists in both voltage mode and current mode circuits.) The other point was the connection between the output of the power supply and the input of the voltage error amplifier. Figure 3 is a simplified schematic showing the two possible injection points. Practical Testing Techniques Venable Industries All Rights Reserved Page 2

Figure 3. Simplified schematic showing possible injection points Impedance Criteria Meeting the impedance criteria of high input impedance and low output impedance made testing easy, but meeting the impedance criteria was not absolutely necessary if the right software tools were available. The actual equation for loop gain is Equation 1. where Gain is the measured loop gain, Zinis the input impedance and Zout is the output impedance. If the input and output impedances can be measured or calculated and if Venable software tools are available for doing complex multiplication and division of the various transfer functions, this limitation can be overcome. Practical Testing Techniques Venable Industries All Rights Reserved Page 3

Signal Injection in a Simple Power Supply Measuring loop gain and phase shift consists of inserting an error voltage in series with the loop and then measuring the voltage with respect to signal ground on each side of the injection voltage. The ratio of the output voltage to input voltage (in both magnitude and phase) is the loop gain, and this measurement is repeated at enough points across the frequency band to create a smooth plot. The technique for inserting this error voltage is to put a small resistor in series with the loop (small compared to the input impedance) and then to connect a voltage source across this resistor, usually in the form of a transformer output winding. The transformer input winding is driven from a variable frequency oscillator. Figure 4 shows the signal injection technique. Figure 4. Signal injection technique Signal Injection in a Complex Power Supply New power supply designs are becoming more difficult to test as the single path needed for injection is either inside an integrated circuit or changed into multiple paths by new circuit topologies. Figure 5 is a "worst case" scenario, though a very common topology in contemporary power supplies. This topology uses a TL431 or equivalent "programmable zener" to sense the output voltage. Practical Testing Techniques Venable Industries All Rights Reserved Page 4

Figure 5. Signal injection in a complex power supply There are three loops in the output. One is directly from the raw 5-volt line through a resistor and opto-coupler diode. Because the capacitor from cathode to gate of the TL431 holds the cathode at a relatively fixed voltage with respect to signal ground, an AC signal on the 5-volt output causes AC current in the opto-coupler diode without requiring any signal to pass through the TL431. At higher frequencies (above a few hundred Hz) this is the dominant signal path and the one that has most effect on loop stability. In order to avoid the phase shift of the second-stage L-C filter, the opto-coupler diode portion of the circuitry is commonly powered from before the filter. The 2nd and 3rd feedback paths are the dividers from the 5 volt and 12 volt outputs respectively. To avoid having one output be closely regulated and wide voltage swings on the other, both outputs are used in the feedback. In this way, neither output is well regulated but neither has extreme voltage fluctuations. Regulation is adequate for most applications. These three signal paths are in parallel. Each can be measured, but none of them represents the entire loop. The signal after the opto-coupler transistor is confined to a single path but the impedance ratio is indeterminate since the input impedance of the compensation pin of the PWM chip is not specified. It is possible to measure the input impedance and compensate the measured gain using the formula above and Venable transfer function math software. Actually, without the compensation technique just mentioned, this topology is still untestable but can be made testable with a few minor changes using the new signal injection technique described below. New Signal Injection Technique The new injection technique involves putting the injection signal in an op-amp feedback path rather than in series with the input or output. Randy Wagner of Autec suggested it to us. While it is frequently not possible to break the connection between the error amplifier and the comparator in a PWM chip, it is almost always possible to access this point since it is provided as a "compensation pin" to connect feedback from the op-amp output to the inverting input. Figures 6 and 7 show the conventional and the new signal injection points. Practical Testing Techniques Venable Industries All Rights Reserved Page 5

Figure 6. Conventional signal injection technique Figure 7. New signal injection technique The gain of an op-amp is given by the ratio of feedback impedance to input impedance, Zf / Zi. If the feedback impedance is connected across the op-amp as in Figure 6, the output voltage of the op-amp is given by the ratio of the feedback impedance to the input impedance. The injection voltage is added in series after the op-amp. If, however, an injection voltage is connected in series with the feedback network as shown in Figure 7 then the output voltage of the op-amp will be the ratio of the two impedances plus the signal source voltage. This is exactly the condition when the signal source is connected in series with the output of the op-amp as it would be with conventional injection techniques (as shown in Figure 6). Modifications Needed to Existing Designs In order to inject in the feedback network, the op-amp inside the PWM chip must be used. (It is now frequently bypassed.) For chips with both inverting and non-inverting inputs available, the chip can simply be wired as a unity gain buffer. For chips with an internal connection to the noninverting input, the chip can be wired as an inverting buffer and the opto-coupler transistor can be reconnected from the reference voltage to the op-amp input rather than from the op-amp output to ground. Figures 8 and 9 show the new connections for each type of op-amp. Practical Testing Techniques Venable Industries All Rights Reserved Page 6

Figure 8. Both inputs available. Figure 9. Inverting input available. Biasing For Desired Operating Point In most cases, the circuit will work as a unity-gain inverting buffer with no additional biasing since the voltage range will be essentially 0 to 5 volts if the opto-coupler transistor is tied to the +5 volt chip reference voltage. If it were necessary to change the gain or the DC operating point of the source, it can be easily done by changing the ratio of the feedback resistor to the input resistor to some value other than one, and/or by adding bias resistors from the inverting input to either ground or the +5 volt reference. Relating Feedback Loop Measurements (Bode Plots) to Transient Response There is a direct correlation between frequency response and time response of a circuit. Power supply response time to a step load change is proportional to the reciprocal of the feedback loop bandwidth, and the amount of ringing is related to phase margin (phim). A phase margin of 72 gives no ringing or overshoot. A phase margin of 60 gives one overshoot but no undershoot or ringing. A phase margin of 45 gives a few cycles of ringing but has low settling time. Practical Testing Techniques Venable Industries All Rights Reserved Page 7

The total voltage excursion from a step load is given by Equation 2. where: delta V = peak voltage excursion in volts delta I = step load current in amps C = output filter capacitance in farads and f = bandwidth of the voltage feedback loop in Hertz The time to recover is given by: Equation 3. where: t = time to recover in seconds f = bandwidth of voltage feedback loop in Hertz phi m = phase margin of voltage feedback loop in degrees Conclusions A new injection point in series with the error amplifier feedback network is available on virtually every PWM chip, and solves the problem of how to inject a test signal when the signal path cannot be broken. It also solves the problem of how to test frequency response of the feedback loop when the voltage-sensing amplifier on the secondary side has no single feedback path. Bode plots are essential design tools which reveal problems such as conditional stability. Step load testing does not reveal this problem and sometimes does not measure stability at all if the step is slow compared to the loop bandwidth. Bode plot testing should be used on all new designs. Frequency response analyzers such as the AP Instruments Model 102B and Analysis Systems like the Venable Industries Model 260 and Model 350 can perform all the necessary tests. In addition Practical Testing Techniques Venable Industries All Rights Reserved Page 8

they can measure conducted susceptibility, conducted emissions, filter response, power line harmonics, impedance, and component parasitic such as capacitor ESR and ESL. Frequency response analyzers are like oscilloscopes in the frequency domain. The advantage of frequency domain is that the data directly relates to particular components in a circuit. It is easy to see exactly how much and in which direction to change a particular component value to improve performance. Practical Testing Techniques Venable Industries All Rights Reserved Page 9