Exclusive Technology Feature. Loop Control: Hand Calculations or Automation? Stabilizing CCM Flyback Converters. ISSUE: December 2009

Similar documents
Using an automated Excel spreadsheet to compensate a flyback converter operated in current-mode. Christophe Basso, David Sabatié

Modeling The Effects of Leakage Inductance On Flyback Converters (Part 2): The Average Model

Analyzing The Effect Of Voltage Drops On The DC Transfer Function Of The Buck Converter

Christophe Basso Technical Fellow IEEE Senior Member

CONTENTS. Chapter 1. Introduction to Power Conversion 1. Basso_FM.qxd 11/20/07 8:39 PM Page v. Foreword xiii Preface xv Nomenclature

Foundations (Part 2.C) - Peak Current Mode PSU Compensator Design

Lecture 8 ECEN 4517/5517

LDO Regulator Stability Using Ceramic Output Capacitors

Peak Current Mode Control Stability Analysis & Design. George Kaminski Senior System Application Engineer September 28, 2018

+ - 1 V. Figure 1. An External Sense Resistor Monitors the Current Circulating in the Primary Inductor of this Flyback Power Supply

BUCK Converter Control Cookbook

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

Fundamentals of Power Electronics

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

Chapter 3 : Closed Loop Current Mode DC\DC Boost Converter

Testing Power Sources for Stability

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

Testing and Stabilizing Feedback Loops in Today s Power Supplies

ISSUE: April Fig. 1. Simplified block diagram of power supply voltage loop.

Positive to Negative Buck-Boost Converter Using LM267X SIMPLE SWITCHER Regulators

Regulator 2.dwg: a simplified linear voltage regulator. This is a multi-sheet template:

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

PSIM SmartCtrl link. SmartCtrl Tutorial. PSIM SmartCtrl link Powersim Inc.

Vishay Siliconix AN724 Designing A High-Frequency, Self-Resonant Reset Forward DC/DC For Telecom Using Si9118/9 PWM/PSM Controller.

Understanding Op Amp Dynamic Response In A Type-2 Compensator (Part 2): The Two Poles

E Typical Application and Component Selection AN 0179 Jan 25, 2017

Methodology for testing a regulator in a DC/DC Buck Converter using Bode 100 and SpCard

Meeting The Standby Power Specification In LED TVs With A Single Power Supply

Digitally controlled voltage mode schemes provide equivalent performance to current mode control

Wide Input Voltage Boost Controller

LED Driver Specifications

Advances in Averaged Switch Modeling

Voltage-Mode Buck Regulators

Core Technology Group Application Note 2 AN-2

Comparing the UC3842, UCC3802, and UCC3809 Primary Side PWM Controllers. Table 1. Feature comparison of the three controllers.

EVALUATION KIT AVAILABLE 28V, PWM, Step-Up DC-DC Converter PART V IN 3V TO 28V

DC/DC Converter. Introduction

A7221A DC-DC CONVERTER/BUCK (STEP-DOWN) 600KHz, 16V, 2A SYNCHRONOUS STEP-DOWN CONVERTER

466 IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 13, NO. 3, MAY A Single-Switch Flyback-Current-Fed DC DC Converter

Designer Series XV. by Dr. Ray Ridley

Chapter 10 Switching DC Power Supplies

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

ZETA Converter Inductor Analysis

Preliminary. Synchronous Buck PWM DC-DC Controller FP6329/A. Features. Description. Applications. Ordering Information.

Designing a Multi-Phase Asynchronous Buck Regulator Using the LM2639

The Effect of Ripple Steering on Control Loop Stability for a CCM PFC Boost Converter

Design of Isolated Converters Using Simple Switchers

Practical Testing Techniques For Modern Control Loops

Load Transient Tool User Manual

Lecture 4 ECEN 4517/5517

A New Small-Signal Model for Current-Mode Control Raymond B. Ridley

Filter Design in Continuous Conduction Mode (CCM) of Operation; Part 2 Boost Regulator

AVERAGE CURRENT MODE CONTROL IN POWER ELECTRONIC CONVERTERS ANALOG VERSUS DIGITAL. K. D. Purton * and R. P. Lisner**

Demystifying active-clamp flyback loop compensation. Pei-Hsin Liu

Design Type III Compensation Network For Voltage Mode Step-down Converters

Class #7: Experiment L & C Circuits: Filters and Energy Revisited

EE320L Electronics I. Laboratory. Laboratory Exercise #6. Current-Voltage Characteristics of Electronic Devices. Angsuman Roy

Design of Isolated Converters Using Simple Switchers

Practical Control Design for Power Supplies. Power Seminar 2004/2005

AT2596 3A Step Down Voltage Switching Regulators

Designing A Medium-Power Resonant LLC Converter Using The NCP1395

AT7450 2A-60V LED Step-Down Converter

EE155/255 F16 Midterm

Final Exam. Anyone caught copying or allowing someone to copy from them will be ejected from the exam.

Bipolar Emitter-Follower: Output Pin Compensation

Chapter 6: Converter circuits

FEATURES DESCRIPTION APPLICATIONS PACKAGE REFERENCE

Linear Regulators: Theory of Operation and Compensation

LM2698 SIMPLE SWITCHER 1.35A Boost Regulator

New Techniques for Testing Power Factor Correction Circuits

3A Step-Down Voltage Regulator

The ASD5001 is available in SOT23-5 package, and it is rated for -40 to +85 C temperature range.

THERE has been a growing interest, in recent years, in the

A Novel Control Method to Minimize Distortion in AC Inverters. Dennis Gyma

Low Pass Filter Introduction

Positive Feedback and Oscillators

MP2355 3A, 23V, 380KHz Step-Down Converter

EUP3410/ A,16V,380KHz Step-Down Converter DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit

Micro DC-DC Converter Family Isolated Remote Sense

Microcontroller based peak current mode control using digital slope compensation

Vishay Siliconix AN718 Powering the Pentium VRE with the Si9145 Voltage Mode Controlled PWM Converter

Loop Compensation of Voltage-Mode Buck Converters

VOLTAGE MODE CONTROL OF SOFT SWITCHED BOOST CONVERTER BY TYPE II & TYPE III COMPENSATOR

Op Amp Booster Designs

MP2305 2A, 23V Synchronous Rectified Step-Down Converter

AN726. Vishay Siliconix AN726 Design High Frequency, Higher Power Converters With Si9166

MP1482 2A, 18V Synchronous Rectified Step-Down Converter

MP V Input, 2A Output Step Down Converter

Minimizing Input Filter Requirements In Military Power Supply Designs

Keywords: No-opto flyback, synchronous flyback converter, peak current mode controller

Experiment 8 Frequency Response

Testing Power Factor Correction Circuits For Stability

Exclusive Technology Feature. Leakage Inductance (Part 2): Overcoming Power Losses And EMI. Leakage Inductance-Induced Ringing. ISSUE: November 2015

Reduction of Voltage Stresses in Buck-Boost-Type Power Factor Correctors Operating in Boundary Conduction Mode

Constant Current Control for DC-DC Converters

Chapter 6. Small signal analysis and control design of LLC converter

SIMULATION WITH THE BOOST TOPOLOGY ECE562: Power Electronics I COLORADO STATE UNIVERSITY. Modified in Fall 2011

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Is Now Part of To learn more about ON Semiconductor, please visit our website at

Transcription:

ISSUE: December 2009 Loop Control: Hand Calculations or Automation? by Christophe Basso, ON Semiconductor, Toulouse, France Loop control is an important part in the design of a switching power supply, however for various reasons, it is often considered at the very end of the project, when the main components have already been selected and are populating the prototype. Through simple trial and error it is sometimes possible to get the impression that a design delivering an acceptable transient response on the oscilloscope is ready for production, but this is a very unwise (and potentially costly) policy. Stray and parasitic elements often remain hidden during these prototype tests. In the factory, the dispersions of these parameters, combined with silicon lot-to-lot variations, can make converters fail in quantity at the final test. To avoid such stressful situations, design engineers should spend time analyzing the loop in detail. This article details how use of automated design tools could be a path worth exploring. Stabilizing CCM Flyback Converters Popular in the notebook adapters market, the flyback converter operated in current-mode control lends itself very well to low-cost but rugged system designs. A typical application of such a converter appears in Fig. 1. The controller in this particular case is ON Semiconductor s NCP1271, which operates in fixed-frequency current-mode control and includes a number of useful features. These include timer-based short-circuit protection, frequency modulation for an EMI-friendly signature and a skip-cycle function that operates in soft mode to meet new standby power requirements while generating no acoustic noise. Usually, these converters are designed to operate in continuous conduction mode (CCM) at low line to reduce conduction losses, but they will naturally transition to the discontinuous conduction mode (DCM) of operation at high line. In this example, we will assume that the hardware design is done, implying the selection of the transformer primary inductance L p, the turns ratio N of the transformer and the rest of the elements only the TL431 needs to be addressed. Fig. 1. A typical flyback converter design using an NCP1271 controller, which features a frequency-jittered oscillator. 2009 How2Power. All rights reserved. Page 1 of 1

The first thing that must be done is to obtain the control-to-output transfer function of the current-mode flyback converter, also known as the open-loop plant transfer function. There are four ways that this can be achieved: 1. By analytically deriving the small-signal model of the converter in question and using an automated mathematical tool to extract the magnitude and phase of the power-stage response. Details on the factors relating to the magnitude of CCM current-mode flyback appear in Reference 1 and are described below in Equation 1. The various poles and zeros are seen here but also the double subharmonic poles located at half the switching frequency f n and affected by a quality coefficient Q p : H( f ) = 20log G 10 0 2 2 2 f f f 1+ 1+ 1+ f f 2 z1 z z3 2 2 2 2 f f f 1+ 1 + p f f Q 1 n n p 1 (Eqn. 1) The phase also needs to be separately calculated to make sure a complete Bode plot is generated. The negative sign on the second term of Equation 2 shows that f z2 is actually a right half-plane zero (RHPZ): 1 f 1 f 1 f 1 f 1 f 1 arg H( f ) = tan tan + tan tan tan 2 f Q z1 z2 z3 p1 n p f 1 n (Eqn. 2) These formulas imply the separate calculation of each of their elements and require great care in computing and plotting of the final results. Also, they are only valid for CCM. If the converter transitions to DCM, these expressions will need to be updated with new ones, further lengthening the study. If we assume that an understanding of the technique needed to derive these results is required, then a practical implementation of these formulas will be restricted to someone at ease with complex mathematical analysis. 2. The second option makes use of a SPICE large- or small-signal averaged model. This does not shield the design engineer from needing to know what might hide behind the model, but they will no longer have to manipulate tedious equations. First, a SPICE model automatically computes the operating point and tells the engineer whether the converter operates in CCM or in DCM. It then selects the appropriate equation arrangement for the mode of operation. At that point, the engineer simply presses the start button and the Spice tool generates an ac plot in little more than a second. 3. Automated software is another possibility. ON Semiconductor has released an automated spreadsheet that handles all these details for the engineer. By populating the component values for L p, N, input voltage, etc, and then updating the spreadsheet, the required information can be quickly obtained. This approach will be covered in more detail later. 2009 How2Power. All rights reserved. Page 2 of 2

4. The last option is to build a prototype and try to extract the ac response of the power stage via a network analyzer. This operation is relatively easy when testing a power supply whose loop is already stabilized and the engineer simply wants to confirm his calculations by a bench measurement. But in cases where the power supply is not stabilized, or is barely stable, the task gets far more complicated. However, a combination of option 4 with one of the previously discussed options will ensure that engineers build a rugged and stable prototype in the smallest amount of time. A New Automated Tool As already made clear, compensating a flyback converter requires a reasonable degree of knowledge of control loop theory. Engineers are often tempted to circumvent this requirement by just going to the laboratory and playing with the resistor and capacitor values until the step response looks good. On several visits that I personally made to customers sites in the past, I saw this kind of approach being taken. Despite the warnings I expressed, the boards went into full production, and only a few months later, the manufacturing lines had to be stopped due to unexpected instabilities at the final test stage. For those who do not have the time needed to derive the equations, it is worth considering an automated tool that can do all the math. This was the reasoning behind ON Semiconductor s development of its automated Excel-based spreadsheet, which features several separated tabs, starting from the component values up to the final bill-of-materials. The user simply enters the component values for the converter section and presses OK. The user then sees the power-stage response, as illustrated in Fig. 2 (right side), confirming the peaking and the CCM operation. In this example, the duty-cycle is 55% and the gain flattens to 19.6 db at dc. Fig. 2: ON Semiconductor automated spreadsheet tool - The left-side opening screen invites the user to fill up the component values calculated. Once OK is pressed, the power stage tab appears and unveils the power stage ac response (shown on right). The software then damps the subharmonic poles by selecting the right amount of compensation ramp (Figure 3). The spreadsheet calculates the equivalent quality coefficient, Q p, and checks how much ramp compensation is necessary to reduce it below 1. In theory, it reduces the risk of overcompensation given by the other calculation methods, which solely rely on the inductor down slope and consider a duty-cycle excursion of up to 100%. Next, the user is required to enter the optocoupler characteristics, consisting of a current transfer ratio (CTR) and a pole whose position depends on the pull-up or pull-down resistor. In the given example, the CTR is 30% and the pole is found to be at 4 khz. A tutorial available with the software package details how to characterize the optocoupler and its role must be well understood when designing the power supply. 2009 How2Power. All rights reserved. Page 3 of 3

Figure 3: Once the power stage ac response has been obtained, the next step is to evaluate the necessary amount of ramp compensation and its effect on the power-stage response. Then, the optocoupler tab will appear and let the user enter the measured pole. As Figure 4 depicts, the type 2 compensator offers the needed 25 boost by placing a zero at 635 Hz and a pole at 1.5 khz (left). The software implements the k factor technique, which places the crossover frequency in the geometric mean of the selected pole and zero. Finally, as confirmed by Figure 4 right side, the loop gain exhibits a crossover point close to 1 khz with an adequate phase margin. Figure 4: The proposed compensator for a 60 phase margin on the left shows a boost of 25, very close to what was originally calculated. Once compensated, the resulting phase margin corresponds to the exact figure (shown on the right). 2009 How2Power. All rights reserved. Page 4 of 4

A button in the upper right corner lets the user change the operating points (in particular the input voltage and the output current). When the update button is pressed, the software recomputes the power-stage characteristics, keeping the compensator parameters constant. It then displays the loop gain, accounting for the changes you requested. The user can then quickly check if the power supply remains stable when it transitions from CCM to DCM, for example. Output capacitor equivalent series resistance (ESR) and optocoupler CTR are among the parameters that can also be swept. At the end, Fig. 5 offers a view of the TL431 and all its calculated values. The right panel indicates ways to practically implement ramp compensation. As an NCP1271 was selected, the insertion of a simple resistor from the sensing element to the current-sense pin does the job instantaneously. To improve overall noise immunity and avoid noise pick up by long copper traces, it is recommended that a small capacitor of at least 100 pf be placed in parallel with the optocoupler. This capacitor should be located very close to the controller. Fig. 5: Finally, the software shows the required TL431 configuration with its associated components (left). It also explains how to implement ramp compensation either generically or by using the internal NCP1271 circuitry (right). Several experiments have been carried out to check the validity of the compensation strategy adopted in the spreadsheet. Experience shows that the final results collected on the bench with a network analyzer are very close to the final goal. Most of the discrepancies come from capacitor ESR or the optocoupler characteristics. It is important to pay close attention to those factors before running the software and loop control. The spreadsheet can be downloaded from the Internet (see Reference 2). Conclusion This article describes several possible solutions that can be applied to stabilize the loop in power supply projects. Whatever solution is chosen, it is important to understand the parameters involved in the design of a TL431-based compensator. If design software or simulation tools can quickly suggest a working circuit, it is in the design engineer s interest to understand the analytical steps behind the compensator calculations. This knowledge allows engineers to challenge the delivered results and detect a flaw in their approach. But it also enables them to improve the final result by placing emphasis on a particular parameter whose importance is greatest in their eyes. 2009 How2Power. All rights reserved. Page 5 of 5

References 1. C. Basso, Switch Mode Power Supplies: SPICE Simulations and Practical Designs, McGraw-Hill, 2008. 2. Details can be found at http://www.onsemi.com/pub/collateral/flyback%20dws.xls.zip About the Author Christophe Basso is an application engineering director at ON Semiconductor in Toulouse, France. He has originated numerous integrated circuits among which the NCP120X series has set new standards for low standby power converters. SPICE simulation is also one of his favorite subjects and he has authored his second book on the subject, Switch-Mode Power Supplies: SPICE Simulations and Practical Designs, published by McGraw-Hill in 2008. His work was positively reviewed in several magazines and in a recent PELS newsletter. Christophe holds a BSEE-equivalent from the Montpellier University, France and an MSEE from the Institut National Polytechnique de Toulouse, France. He holds 7 patents on power conversion and often publishes papers in conferences and trade magazines. He will conduct a new tutorial on loop compensators at the next APEC 2010 conference. For further reading on loop compensation, see the How2Power Design Guide, search the Design Area category and select Control Methods as the subcategory. To narrow your search, try entering keywords such as control loop, stability, or compensation. 2009 How2Power. All rights reserved. Page 6 of 6