Testing Loop Stability PC Simulation or Real Measurement?

Similar documents
Laboratory 4: Feedback and Compensation

Op-Amp Simulation EE/CS 5720/6720. Read Chapter 5 in Johns & Martin before you begin this assignment.

Understanding Power Impedance Supply for Optimum Decoupling

Design of a TL431-Based Controller for a Flyback Converter

Technical Note #3. Error Amplifier Design and Applications. Introduction

1. Oscilloscope is basically a graph-displaying device-it draws a graph of an electrical signal.

Testing a power supply for line and load transients

Lab #9: AC Steady State Analysis

Series and Parallel Resistive Circuits

Inductors in AC Circuits

Programmable-Gain Transimpedance Amplifiers Maximize Dynamic Range in Spectroscopy Systems

Power supply output voltages are dropping with each

WHY DIFFERENTIAL? instruments connected to the circuit under test and results in V COMMON.

SINGLE-SUPPLY OPERATION OF OPERATIONAL AMPLIFIERS

Frequency Response of Filters

Positive Feedback and Oscillators

ε: Voltage output of Signal Generator (also called the Source voltage or Applied

Common Emitter BJT Amplifier Design Current Mirror Design

PHYSICS 111 LABORATORY Experiment #3 Current, Voltage and Resistance in Series and Parallel Circuits

Output Ripple and Noise Measurement Methods for Ericsson Power Modules

ENGINEERING COMMITTEE Interface Practices Subcommittee AMERICAN NATIONAL STANDARD ANSI/SCTE Test Method for AC to DC Power Supplies

Current Loop Tuning Procedure. Servo Drive Current Loop Tuning Procedure (intended for Analog input PWM output servo drives) General Procedure AN-015

LM1084 5A Low Dropout Positive Regulators

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

Electronic WorkBench tutorial

Design A High Performance Buck or Boost Converter With Si9165

Current Probes, More Useful Than You Think

APPLICATION BULLETIN

SERIES-PARALLEL DC CIRCUITS

Designing Stable Compensation Networks for Single Phase Voltage Mode Buck Regulators

Electronics for Analog Signal Processing - II Prof. K. Radhakrishna Rao Department of Electrical Engineering Indian Institute of Technology Madras

6.101 Final Project Report Class G Audio Amplifier

Considering the effects of UPS operation with leading power factor loads

Σ _. Feedback Amplifiers: One and Two Pole cases. Negative Feedback:

RC Circuits and The Oscilloscope Physics Lab X

Experiment #11: LRC Circuit (Power Amplifier, Voltage Sensor)

Chapter 12: The Operational Amplifier

Pulse Width Modulation (PWM) LED Dimmer Circuit. Using a 555 Timer Chip

LM 358 Op Amp. If you have small signals and need a more useful reading we could amplify it using the op amp, this is commonly used in sensors.

Sophomore Physics Laboratory (PH005/105)

DIGITAL-TO-ANALOGUE AND ANALOGUE-TO-DIGITAL CONVERSION

Equipment: Power Supply, DAI, Variable resistance (8311), Variable inductance (8321)

Cable Analysis and Fault Detection using the Bode 100

CHAPTER 11: Flip Flops

S-Band Low Noise Amplifier Using the ATF Application Note G004

Experiment #5, Series and Parallel Circuits, Kirchhoff s Laws

TESTS OF 1 MHZ SIGNAL SOURCE FOR SPECTRUM ANALYZER CALIBRATION 7/8/08 Sam Wetterlin

AS A Low Dropout Voltage Regulator Adjustable & Fixed Output, Fast Response

Electronics. Discrete assembly of an operational amplifier as a transistor circuit. LD Physics Leaflets P

LABORATORY 2 THE DIFFERENTIAL AMPLIFIER

Reading assignment: All students should read the Appendix about using oscilloscopes.

EE 402 RECITATION #13 REPORT

Kit Watt Audio Amplifier

Section 3. Sensor to ADC Design Example

Chapter 9: Controller design

AVX EMI SOLUTIONS Ron Demcko, Fellow of AVX Corporation Chris Mello, Principal Engineer, AVX Corporation Brian Ward, Business Manager, AVX Corporation

LR Phono Preamps. Pete Millett ETF.13.

Physics 221 Experiment 5: Magnetic Fields

HIGH RELIABILITY POWER SUPPLY TESTING

Chapter 19 Operational Amplifiers

Bridgeless PFC Implementation Using One Cycle Control Technique

Constant Current Control for DC-DC Converters

GENERAL POWER SYSTEM WIRING PRACTICES APPLIED TO TECNADYNE DC BRUSHLESS MOTORS

EXPERIMENT NUMBER 5 BASIC OSCILLOSCOPE OPERATIONS

LEP Rectifier circuits

The front end of the receiver performs the frequency translation, channel selection and amplification of the signal.

UNDERSTANDING AND CONTROLLING COMMON-MODE EMISSIONS IN HIGH-POWER ELECTRONICS

Considerations When Specifying a DC Power Supply

FREQUENCY RESPONSE OF AN AUDIO AMPLIFIER

Lab 3 - DC Circuits and Ohm s Law

Loop Bandwidth and Clock Data Recovery (CDR) in Oscilloscope Measurements. Application Note

OPERATIONAL AMPLIFIERS. o/p

How To Calculate The Power Gain Of An Opamp

Application of network analyzer in measuring the performance functions of power supply

Episode 126: Capacitance and the equation C =Q/V

AMERICAN NATIONAL STANDARD

Measuring Insulation Resistance of Capacitors

Use and Application of Output Limiting Amplifiers (HFA1115, HFA1130, HFA1135)

Input and Output Capacitor Selection

Application Note 142 August New Linear Regulators Solve Old Problems AN142-1

Transistor Amplifiers

INTRODUCTION. We are living in an age of Information Technology. Electronics is at the very foundation of the

The Time Constant of an RC Circuit

Programmable Single-/Dual-/Triple- Tone Gong SAE 800

Line Reactors and AC Drives

Lab 1: The Digital Oscilloscope

Cancellation of Load-Regulation in Low Drop-Out Regulators

TDA W Hi-Fi AUDIO POWER AMPLIFIER

Measuring Impedance and Frequency Response of Guitar Pickups

Physics 120 Lab 6: Field Effect Transistors - Ohmic region

ELECTRICAL ENGINEERING

Controller Design in Frequency Domain

PIEZO FILTERS INTRODUCTION

Hands On ECG. Sean Hubber and Crystal Lu

Lab E1: Introduction to Circuits

EE362L, Power Electronics Triac Light Dimmer

Switch Mode Power Supply Topologies

unit : mm With heat sink (see Pd Ta characteristics)

Reading: HH Sections , (pgs , )

Lock - in Amplifier and Applications

Transcription:

Testing Loop Stability PC Simulation or Real Measurement? Background Having designed the control loop within a power supply, motor drive or indeed almost any power electronics product, designers must establish that their target specifications for loop stability have been achieved. Unlike ripple, noise, voltage deviation or recovery time when subjected to a transient load, control loop stability cannot be tested effectively with traditional test instruments such as a voltmeter or oscilloscope. So engineers faced with protracted testing on many separate instruments or costly specialist equipment often work on the assumption that circuit simulations will truly reflect the characteristics of the finished product. However, despite an apparently stable design based upon software simulation, the effect of pcb parasitic reactance, component tolerances in production or varying load conditions in normal operation can result in finished products that may not perform as expected, exhibiting instability or even failure. Techniques used in modern instrumentation now provide engineers with cost effective test instruments that provide direct measurement of this critical design characteristic. Here we look at the subject of loop stability and economic solutions now available to simplify testing. Control Theory Control loop theory deals with the behavior of systems that are changing in time. While being a well established subject, we follow with a brief review of fundamental principals and for the purpose of illustration; we will consider one of the most common examples of this theory, the control loop within a power supply. A regulated power supply is expected to provide its load with a stable output voltage and to do this, it must have the ability to adjust the characteristics of the system to maintain the desired output voltage under changing load conditions. This regulation is achieved using a control circuit that feeds back a proportion of the power supply output for comparison with a known reference signal. This comparison produces an Error Signal that is then used to adjust gain within the power supply system so that the desired output is maintained. The following diagram illustrates this principle, which is true of almost any control loop. Figure 1. R = Reference This is the input to the system A = Amplifier or Gain Stage This is the system under control C = Controlled Variable This is the desired output of the system B = Feedback stage A signal that is proportional to the system output BC = Output from the feedback stage into the summing junction = Summing Junction or Comparator In this case, subtracting BC from R E = Error Signal The output from the comparator By considering the elements in this control loop, we can deduce a simple mathematical term that represents the effect that the loop will have on an input and use this to calculate the output C from any input R. Testing Loop Stability Page 1 of 5

E = R BC C = AE C = A (R BC) = AR ABC C (1 +AB) = AR C A = R 1 + AB A The term is referred to as the Transfer Function of the system and the output of any control ( 1 + AB) system (C) can be found by multiplying the input to the system (R) by the Transfer function, therefore: A C = x R ( 1 + AB) Loop Stability ( ) Despite the apparent simplicity of control theory, analysis of loop stability under conditions that are changing in time becomes quite complex. Any closed loop feedback system can become unstable if, at any frequency, the phase delay round the loop is 360 or more while the loop gain is greater than 1 (0dB). At values close to 360 and 0dB the system can exhibit erratic behaviour even though it will not have sustainable oscillations. In order to preserve controlled behaviour of the closed loop system, two criteria are typically applied: Gain margin: The loop gain should be 20dB or lower when the loop phase delay reaches 360. Phase margin: The phase delay round the loop should be less than 315 (45 margin) when the loop gain is greater than 0dB. The most convenient way to view the frequency response or transfer function of a control loop is a bode plot, from which the gain and phase margin can be established. The following diagram shows a typical plot that may be seen on simulation software, with margin and crossover points shown. Power Supply Control Loop Bode Plot Frequency Hz Gain Crossover Freq 1 10 100 1000 10000 100000 10 0 0 db 0-50 -10 Gain Margin -23dB -100 Gain db -20-30 -150-200 -250 Phase Degrees -40-50 Phase Margin 80-300 -350-360 Figure 2. -60 Gain Phase Phase Crossover Freq -400 Testing Loop Stability Page 2 of 5

Making Real Measurements While software simulation provides a useful engineering tool, it can only offer an approximation of system response based on the information entered into the program and can therefore be an unreliable substitute for real measurements. The first element required to permit real measurements in a closed loop environment is the injection of a disturbance signal. To achieve this, it is necessary to insert a small resistor (10Ω to 100Ω) into the loop at a suitable point where the small resistance has negligible effect (e.g. in series with the feedback resistors). Figure 3. Simplified schematic of a switching power supply Note: When laying out a new pcb it is worth tracking the resistor in permanently so that tests may easily be done at any time without disturbing the wiring. In order to establish the Gain and Phase margin of the control loop, a sweep of discrete frequency disturbance signals should be applied across the inserted resistor via an isolation transformer that will ensure the control loop is not pulled down to earth. At each injected frequency point, the relative amplitude (in db) and the relative phase (in degrees) must be measured either side of the inserted resistor. These values reflect the closed loop gain and loop delay at the respective test frequencies and are used to produce a frequency response plot of the loop from which loop stability can be established. Figure 4. Simplified schematic of a switching power supply showing connections for loop stability measurements Testing Loop Stability Page 3 of 5

Figure 5. Example of an injection transformer being used to inject a disturbance signal into the control loop of an open frame switched mode power supply To effectively measure the relative gain and phase of the injected signal, frequency components other than that of the injected frequency must be rejected and this is best achieved using a DFT (Discreet Fourier Transform) on the measured data from CH1 and CH2 as each selected frequency is injected. Figure 6. Example test configuration with an SMPS being tested by a phase sensitive multimeter with two voltage sensing measurement channels and an inbuilt signal generator connected to the control loop via an injection transformer as shown in Figure 5. By plotting the DFT processed measurement results from CH1 and CH2 directly into a graphic display during the frequency sweep, PC processing is not required to obtain a complete frequency response bode plot. Figure 7. Example of a power supply bode plot under LOW load conditions with gain and phase margin readings selected and a cursor at the gain crossover point. Here it can be seen that despite good gain and phase margin values, system gain and crossover frequency are low, resulting in poor regulation and reduced stability with a rapid load change. Figure 8. Example of a power supply bode plot under FULL load conditions. Here it can be seen that while the gain margin is lower than that under a low load condition, it is still adequate and there is much greater gain over a wide frequency range, which will result in superior regulation and greater stability with a rapid load change. Testing Loop Stability Page 4 of 5

Design Considerations The bode plots shown on Figure 7 and Figure 8 illustrate that in order to establish meaningful performance characteristics of a power supply, it is necessary to measure the transfer function over the range of load conditions under which the power supply will be expected to operate. Having established the transfer function under the chosen load conditions, design changes to achieve the best overall performance require consideration of pole and zero elements within the complete transfer function. A pole element is one that introduces attenuation (-20dB per decade) and negative phase shift while a zero element is one that introduces gain (+20dB per decade) and positive phase shift. The complete transfer function is therefore the combination of pole and zero elements within the control loop. As almost any system exhibits attenuation at higher frequencies, there will usually be more poles than zeros. If we consider the low load transfer function shown in Figure 7, it can be seen that the attenuation at frequencies up to the gain crossover frequency is quite consistent and in the order of 20dB per decade, suggesting a single dominant pole. We have not included a full schematic of the power supply in this article but for the purpose of illustrating a principal, we could consider this dominant pole to be associated with capacitance in the error amplifier stage of the control loop. Reducing the value of capacitance within this stage would increase the pole frequency and therefore also the gain, improving the low frequency regulation. The change in transfer function associated with this modification will of course influence the gain and phase under all load conditions, so it is necessary to repeat tests over the complete load range to ensure that gain and phase margins remain within target limits. Conclusion While PC simulation is a valuable tool at the early stage of a control loop design, an understanding of true control loop characteristics can only be achieved with real measurements on the completed design and modern instrumentation can now provide an accurate and economic solution to this need. Testing Loop Stability Page 5 of 5