PWM-CM model in LTspice. Simulation Description

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

Christophe Basso Technical Fellow IEEE Senior Member

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

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

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

Wide Input Voltage Boost Controller

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

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

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

Designing low-frequency decoupling using SIMPLIS

Voltage-Mode Buck Regulators

Another Compensator Design Example

Advances in Averaged Switch Modeling

Lecture 8 ECEN 4517/5517

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

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

BUCK Converter Control Cookbook

DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION. 500KHz, 18V, 2A Synchronous Step-Down Converter

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

Features MIC2193BM. Si9803 ( 2) 6.3V ( 2) VDD OUTP COMP OUTN. Si9804 ( 2) Adjustable Output Synchronous Buck Converter

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

DC->DC Power Converters

Current Mode PWM Controller

LINEAR MODELING OF A SELF-OSCILLATING PWM CONTROL LOOP

Chapter 2 Buck PWM DC DC Converter

ECEN 5807 Modeling and Control of Power Electronic Systems

ADT7350. General Description. Applications. Features. Typical Application Circuit. Aug / Rev. 0.

EUP V/12V Synchronous Buck PWM Controller DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit. 1

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

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

Lecture 4 ECEN 4517/5517

New Techniques for Testing Power Factor Correction Circuits

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

Lead Free. (Note 2) Note: 1. RoHS revision Glass and High Temperature Solder Exemptions Applied, see EU Directive Annex Notes 5 and 7.

Practical Testing Techniques For Modern Control Loops

Testing and Stabilizing Feedback Loops in Today s Power Supplies

(b) 25% (b) increases

Loop Compensation of Voltage-Mode Buck Converters

ACE726C. 500KHz, 18V, 2A Synchronous Step-Down Converter. Description. Features. Application

Introduction to Modeling of Switched Mode Power Converters Using MATLAB and Simulink

User s Manual ISL71218MEVAL1Z. User s Manual: Evaluation Board. High Reliability Space

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

idesyn id8802 2A, 23V, Synchronous Step-Down DC/DC

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

Homework Assignment 07

Exclusive Technology Feature. SIMPLIS Simulation Tames Analysis of Stability, Transient Response, and Startup For DC-DC Converters

Controller for RF Power Amplifier Boost Converter

Current Mode PWM Controller

UC3842 PROVIDES LOW-COST CURRENT-MODE CONTROL

Advanced Regulating Pulse Width Modulators

Operational Amplifier BME 360 Lecture Notes Ying Sun

FEATURES DESCRIPTION APPLICATIONS PACKAGE REFERENCE

Dimensions in inches (mm) .268 (6.81).255 (6.48) .390 (9.91).379 (9.63) .045 (1.14).030 (.76) 4 Typ. Figure 1. Typical application circuit.

EE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

ADT7350. General Description. Features. Applications. Typical Application Circuit. Sep / Rev. 0.

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts)

Novel Low Cost Green-Power PWM Controller

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

EUP3452A. 2A,30V,300KHz Step-Down Converter DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit

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

Current Mode PWM Controller

SINGLE STAGE LOW FREQUENCY ELECTRONIC BALLAST FOR HID LAMPS

Using Sipex PWM Controllers for Boost Conversion

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

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

DC/DC Converter. Introduction

3A, 24V Asynchronous Step Down DC/DC Converter

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

Chapter 13 Oscillators and Data Converters

INTRODUCTION PROPOSED SOLUTION STEPS TAKEN. MATLAB Simulation

Title. Description. Date 16 th August, Revision 1.1 RD W Telecoms DC/DC PSU Input : 37Vdc to 60Vdc Output : 32V/10A

SG1524/SG2524/SG3524 REGULATING PULSE WIDTH MODULATOR DESCRIPTION FEATURES HIGH RELIABILITY FEATURES - SG1524 BLOCK DIAGRAM

HIGH VOLTAGE SYNCHRONOUS SWITCHING REGULATOR CONTROLLER

MP2303 3A, 28V, 340KHz Synchronous Rectified Step-Down Converter

5. Active Conditioning for a Distributed Power System

Experiment 8 Frequency Response

SUMMARY REFERENCE OVERVIEW

ANP012. Contents. Application Note AP2004 Buck Controller

Chapter 10 Feedback ECE 3120 Microelectronics II Dr. Suketu Naik

AND8291/D. >85% Efficient 12 to 5 VDC Buck Converter

ECE4902 C Lab 5 MOSFET Common Source Amplifier with Active Load Bandwidth of MOSFET Common Source Amplifier: Resistive Load / Active Load

Features MIC2194BM VIN EN/ UVLO CS OUTP VDD FB. 2k COMP GND. Adjustable Output Buck Converter MIC2194BM UVLO

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

FEATURES

RAD HARD 3.5A SWITCHING REGULATOR

Constant Current Control for DC-DC Converters

Input Limiter for ADCs

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

EE 501 Lab 4 Design of two stage op amp with miller compensation

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

Designing A Medium-Power Resonant LLC Converter Using The NCP1395

EUP A,40V,200KHz Step-Down Converter

While the Riso circuit is both simple to implement and design it has a big disadvantage in precision circuits. The voltage drop from Riso is

Dual Regulators - Synchronous Buck PWM DC-DC and Linear Controller

Switched-mode power supply control circuit

Micro DC-DC Converter Family Isolated Remote Sense

Physics 116A Notes Fall 2004

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

Project 6: Oscillator Circuits

Chapter 10 Switching DC Power Supplies

Transcription:

Doc: 002 Rev: 0.02 PWM-CM model in LTspice Simulation Description Author: Mark Dimattina REVISION HISTORY Issue Date Change Prepared 0.01 03/09/2017 First Issue MD 0.02 05/09/2017 Minor Formatting Changes MD PWM-CM model in LTspice.docx Page 1 of 14

CONTENTS 1 Introduction... 3 2 Changes to the PWM-CM Model... 3 3 PWM-CM Buck Verfication... 6 3.1 Sub-Harmonic Oscillations... 7 4 PWM-CM Boost... 8 4.1 Sub-Harmonic Oscillations... 10 4.2 RT9297 Slope Compensation Value... 11 5 Buck-Boost Negative Output... 12 6 Buck-Boost Negative Input... 13 FIGURES Figure 1 PWM-CM... 3 Figure 2 LP Filtered signals... 3 Figure 3 V(a_c_lim) with Dead zone... 4 Figure 4 LP Filtered Duty Cycle dc and d2x... 4 Figure 5 New DCM-CCM Toggle Mechanism... 5 Figure 6 Diode conduction Duty d2... 5 Figure 7 Parameters... 6 Figure 8 PWM-CM... 6 Figure 9 PWM-CM2... 6 Figure 10 Comparative Converter Response to Fig 2-81 from [1]... 7 Figure 11 Sub-harmonic Oscillations in a Buck Converter... 7 Figure 12 Boost Parameters... 8 Figure 13 Boost RT9297 Example... 8 Figure 14 Boost RT9297 Example, Bode Plot... 9 Figure 15 Boost RT9297 Example, Transient Response... 9 Figure 16 Boost Sub-harmonic oscillations... 10 Figure 17 Open Loop Gain for Different Compensation Ramp Values: SlopeAmp = 0.4 to 2.0... 11 Figure 18 Buck-Boost Negative Output Parameters... 12 Figure 19 Buck-Boost Negative Output... 12 Figure 20 Buck-Boost, Neg O/P, Bode Plot... 12 Figure 21 Buck-Boost Negative Input Parameters... 13 Figure 22 Buck-Boost Negative Input... 13 Figure 23 Buck-Boost, Neg I/P, Input Bode Plot... 14 TABLES No table of figures entries found. PWM-CM model in LTspice.docx Page 2 of 14

1 INTRODUCTION Many engineers face the challenge of designing power supplies quickly and without the advantage of expensive simulators. LTspice is a fully featured SPICE program and provides engineers, working for budget conscience companies, a means of simulating their designs. Quite often designs are taken from application notes and the design needs to be tweaked to meet the product requirements. For example a change in output voltage, output current or output capacitance may require a change in the loop compensation components. An accurate averaged model provides a means to iteratively test new loop compensation values in a timely manner. The PWM-CM model from [1] Switch-Mode Power Supplies by Christophe Basso allows the designer to analyse their power supply designs and with some small modifications can be made to work consistently in LTspice. 2 CHANGES TO THE PWM-CM MODEL Figure 1 PWM-CM In LTspice the original PWM-CM model occasionally has difficulty finding a DC bias point and will often stop during a Transient simulation with a Time step too small error. This occurrence of this error can be reduced by adding single pole, low pass filters to some signals. Firstly though, some simplification of the equations will also help the Transient simulation. In the denominator of B dc_pwm, V(a, p) V(cx, p) can be changed to V(a_c) so the transistor s duty cycle dcx = V(d2) * V(c_p) / V(a_c). Where the a_c signal is the filtered V(a, cx) signal from B 17, c_p signal is the filtered V(cx, p) signal from B 19 and V(d2) is the diode conduction duty. Figure 2 LP Filtered signals PWM-CM model in LTspice.docx Page 3 of 14

The denominator of B dc_pwm is V(a_c) and this requires limiting to avoid a "div by 0" error. Also, for a Boost Converter the V(a_c) signal will be negative so limiting the signal to a minimum value will not work for a Boost converter. To keep a common model for Buck and Boost converters an a_c_lim signal with a dead zone of +/- 1 mv was introduced. Figure 3 V(a_c_lim) with Dead zone The output of the duty cycle calculation dc is also filtered to help with the Transient simulation. Figure 4 LP Filtered Duty Cycle dc and d2x The pole of the filters is scaled by the switching frequency Fs. The filters where R = R_lp have a cut off frequency of 1592 F s and the filters where R = 10*R_lp have a cut off frequency of 159 F s. These filters are scaled by the switching frequency to be more effective at low frequencies and less intrusive at high frequencies. The original model had a switched resonating cap C s and switching this cap often caused Time step too small errors. Also, when operating in DCM with C s switched out the current sources B Ipc and B Imju were driving into the converters inductor also causing Time step too small errors. To solve both of these issues the inductor was moved inside the model. This allows the current flowing from p to c to be calculated for CCM and DCM at the same time with the mode_det signal simply choosing the appropriate current. A new intermediate current I_pk is calculated from the original B Ipc V(Vc) / {Ri} and the first half of B Imju -{Se} * V(dc) / ({Ri}*{Fs}). The magnitude of the peak current (I_pk_mag) is calculated ( V(Vc) - {SlopeAmp} * V(dc) ) / {Ri} and the magnitude of the minimum peak current due to the minimum On-Time (I_pk_min_mag) is calculated V(a_c_mag) * {D_min / (Fs * L ) }. The final value of I_pk is the larger of these 2 values. By determining the direction of the current with the polarity of V(a, c) the resistance of R i is positive for Boost as well as Buck converters. (In the original model R i was negative for Boost converters). PWM-CM model in LTspice.docx Page 4 of 14

Figure 5 New DCM-CCM Toggle Mechanism Now that the inductor s peak current (I_pk) is available the calculation for the diode conduction duty d2x can be simplified. A small offset of 1 V is added to the denominator to avoid a div by zero error. To make the model work for synchronous converters as well, a new parameter sync was introduced. The signal d2_fw represents the freewheeling diode s conduction duty time. This allows current to flow out of the output capacitors back into the source when the load is removed for synchronous converters. Figure 6 Diode conduction Duty d2 PWM-CM model in LTspice.docx Page 5 of 14

3 PWM-CM BUCK VERFICATION The circuit values that resulted in the Averaged AC converter response of Figure 2-81 of [1] were entered into LTspice. The response of the PWM-CM model and the PWM-CM2 model look almost identical to Figure 2-81 in the text. Figure 7 Parameters Figure 8 PWM-CM Figure 9 PWM-CM2 PWM-CM model in LTspice.docx Page 6 of 14

Figure 10 Comparative Converter Response to Fig 2-81 from [1] 3.1 SUB-HARMONIC OSCILLATIONS For a Buck converter sub-harmonic oscillations can be predicted using the averaged model by analysing the Open Loop Response of the circuit. When the phase increases close to F s /2, sub-harmonic oscillations will be present in the output. In this case sub-harmonic oscillations are present when V out = 6 V but not at V out = 5 V. V out = 6 V V out = 5 V Figure 11 Sub-harmonic Oscillations in a Buck Converter PWM-CM model in LTspice.docx Page 7 of 14

4 PWM-CM BOOST Like the original PWM-CM, the PWM-CM2 can be configured to operate as a Boost converter but the PWM_CM2 works with a positive resistance value for the sense resistor R i. Figure 12 Boost Parameters Figure 13 Boost RT9297 Example PWM-CM model in LTspice.docx Page 8 of 14

I out = 30 ma I out = 500 ma Figure 14 Boost RT9297 Example, Bode Plot The lower frequency at the 0dB point of the DCM response (30 ma) in the Bode plot predicts the slower DCM Transient Response. Figure 15 Boost RT9297 Example, Transient Response PWM-CM model in LTspice.docx Page 9 of 14

4.1 SUB-HARMONIC OSCILLATIONS Setting the slope compensation ramp to 0 V and comparing the 500-mA CCM responses for V out = 8 V and 12 V provides a good example of a response without sub-harmonic oscillations (V out = 8 V) and a response with sub-harmonic oscillations (V out = 12 V). When the phase increases close to F s /2, sub-harmonic oscillations will be present in the output. Unlike the Buck example, for the Boost converter the phase wrap occurs at -180 deg when sub-harmonic oscillations are not present. Vout = 12 V Vout = 8 V Figure 16 Boost Sub-harmonic oscillations PWM-CM model in LTspice.docx Page 10 of 14

4.2 RT9297 SLOPE COMPENSATION VALUE The component values used in the Boost example are started in the Loop Compensation section of the data sheet. The data sheet, however, does not give a value for the compensation ramp. Figure 17 shows the open loop response does not change much for different compensation ramp values. A value of 0.8 was used for the previous Boost simulations. Figure 17 Open Loop Gain for Different Compensation Ramp Values: SlopeAmp = 0.4 to 2.0 PWM-CM model in LTspice.docx Page 11 of 14

5 BUCK-BOOST NEGATIVE OUTPUT The Buck-Boost with negative output configuration for the PWM-CM2 is shown in Figure 19. The PWM-CM2 control voltage CM_Vc is still referenced to GND but for most Buck controllers the error amp is referenced to the negative rail CM_p. In this example the feedback voltage is level shifted to GND potential via E 1. Figure 18 Buck-Boost Negative Output Parameters Figure 19 Buck-Boost Negative Output V out = 7 V V out = 5 V Figure 20 Buck-Boost, Neg O/P, Bode Plot When the phase increases close to F s /2, sub-harmonic oscillations will be present in the output. PWM-CM model in LTspice.docx Page 12 of 14

6 BUCK-BOOST NEGATIVE INPUT The Buck-Boost with negative input configuration for the PWM-CM2 is shown in Figure 22. The PWM-CM2 control voltage CM_Vc is still referenced to GND but for most Boost controllers the error amp is referenced to the negative rail CM_a. In this example the feedback voltage is still referenced to GND but a practical implementation may require a separate shunt regulator like the LM385 to provide a reference and a convenient way to level shift the feedback to the negative input power source. Figure 21 Buck-Boost Negative Input Parameters Figure 22 Buck-Boost Negative Input PWM-CM model in LTspice.docx Page 13 of 14

V out = 6 V V out = 4 V Figure 23 Buck-Boost, Neg I/P, Input Bode Plot Once again, when the phase increases close to Fs/2, sub-harmonic oscillations will be present in the output. PWM-CM model in LTspice.docx Page 14 of 14