Optimizing System Operation Using a Flexible Digital PWM Controller

Similar documents
AN294. Si825X FREQUENCY COMPENSATION SIMULATOR FOR D IGITAL BUCK CONVERTERS

Design Consideration with AP3041

Power Factor Correction in Digital World. Abstract. 1 Introduction. 3 Advantages of Digital PFC over traditional Analog PFC.

CHAPTER 6 DEVELOPMENT OF A CONTROL ALGORITHM FOR BUCK AND BOOST DC-DC CONVERTERS USING DSP

6. HARDWARE PROTOTYPE AND EXPERIMENTAL RESULTS

INTEGRATED CIRCUITS. AN109 Microprocessor-compatible DACs Dec

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

CHAPTER 6 PHASE LOCKED LOOP ARCHITECTURE FOR ADC

2A, 23V, 380KHz Step-Down Converter

Improving Loop-Gain Performance In Digital Power Supplies With Latest- Generation DSCs

CHAPTER 4 HARDWARE DEVELOPMENT OF STATCOM

Digital Power-Conversion for the Analog Engineer

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

CONVERTING 1524 SWITCHING POWER SUPPLY DESIGNS TO THE SG1524B

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

Current-mode PWM controller

UCD9240 Digital Synchronous Buck Controller

Power Efficient Digital LDO Regulator with Transient Response Boost Technique K.K.Sree Janani 1, M.Balasubramani 2

Electric Bike BLDC Hub Motor Control Using the Z8FMC1600 MCU

Integrated Circuit Design for High-Speed Frequency Synthesis

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

Application - Power Factor Correction (PFC) with XMC TM. XMC microcontrollers July 2016

SRM TM A Synchronous Rectifier Module. Figure 1 Figure 2

Increasing Performance Requirements and Tightening Cost Constraints

Digital PWM IC Control Technology and Issues

Research and design of PFC control based on DSP

CHAPTER 8 PHOTOMULTIPLIER TUBE MODULES

LM12L Bit + Sign Data Acquisition System with Self-Calibration

1MHz, 3A Synchronous Step-Down Switching Voltage Regulator

Digital Control Technologies for Switching Power Converters

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

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

Programmable, Off-Line, PWM Controller

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

Hello, and welcome to this presentation of the STM32L4 comparators. It covers the main features of the ultra-lowpower comparators and some

Testing and Stabilizing Feedback Loops in Today s Power Supplies

ANALOG-TO-DIGITAL CONVERTER FOR INPUT VOLTAGE MEASUREMENTS IN LOW- POWER DIGITALLY CONTROLLED SWITCH-MODE POWER SUPPLY CONVERTERS

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

CHAPTER-5 DESIGN OF DIRECT TORQUE CONTROLLED INDUCTION MOTOR DRIVE

Controller for RF Power Amplifier Boost Converter

Limit-Cycle Based Auto-Tuning System for Digitally Controlled Low-Power SMPS

DC/DC-Converters in Parallel Operation with Digital Load Distribution Control

Hello, and welcome to this presentation of the FlexTimer or FTM module for Kinetis K series MCUs. In this session, you ll learn about the FTM, its

Digital Controller Chip Set for Isolated DC Power Supplies

Digital PWM IC Control Technology and Issues

Digital Power: Consider The Possibilities

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

Chapter 2 MODELING AND CONTROL OF PEBB BASED SYSTEMS

Current Mode PWM Controller

Multi-Output Power-Supply Controller

Using the SG6105 to Control a Half-Bridge ATX Switching Power Supply. Vcc. 2uA. Vref. Delay 300 msec. Delay. 3 sec V2.5. 8uA. Error Amp. 1.6Mohm.

SG2525A SG3525A REGULATING PULSE WIDTH MODULATORS

EUP A,30V,1.2MHz Step-Down Converter DESCRIPTION FEATURES APPLICATIONS. Typical Application Circuit

Analog I/O. ECE 153B Sensor & Peripheral Interface Design Winter 2016

Lab 23 Microcomputer-Based Motor Controller

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

Advances in Averaged Switch Modeling

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

HM V 2A 500KHz Synchronous Step-Down Regulator

High-Efficiency Forward Transformer Reset Scheme Utilizes Integrated DC-DC Switcher IC Function

DIGITAL FILTERING OF MULTIPLE ANALOG CHANNELS

CHAPTER IV DESIGN AND ANALYSIS OF VARIOUS PWM TECHNIQUES FOR BUCK BOOST CONVERTER

BSNL TTA Question Paper Control Systems Specialization 2007

Getting the Most From Your Portable DC/DC Converter: How To Maximize Output Current For Buck And Boost Circuits

AD9772A - Functional Block Diagram

Automotive Surge Suppression Devices Can Be Replaced with High Voltage IC

MICROCONTROLLER BASED BOOST PID MUNAJAH BINTI MOHD RUBAEE

Current Mode PWM Controller

Current Rebuilding Concept Applied to Boost CCM for PF Correction

FEATURES DESCRIPTION APPLICATIONS PACKAGE REFERENCE

Practical Testing Techniques For Modern Control Loops

Simple Methods for Detecting Zero Crossing

CHAPTER 3 APPLICATION OF THE CIRCUIT MODEL FOR PHOTOVOLTAIC ENERGY CONVERSION SYSTEM

Transient Response Boosted D-LDO Regulator Using Starved Inverter Based VTC

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

Multi-Output, Individual On/Off Control Power-Supply Controller

ML4818 Phase Modulation/Soft Switching Controller

WD3122EC. Descriptions. Features. Applications. Order information. High Efficiency, 28 LEDS White LED Driver. Product specification

1X6610 Signal/Power Management IC for Integrated Driver Module

Experiment 9. PID Controller

BLOCK DIAGRAM OF THE UC3625

Procidia Control Solutions Dead Time Compensation

Speed Feedback and Current Control in PWM DC Motor Drives

Universal Input Switchmode Controller

SMBus Multi-Output Power-Supply Controller

Phase Shift Resonant Controller

Single Phase Two-Channel Interleaved PFC Operating in CrM Using the MC56F82xxx Family of Digital Signal Controllers

DC Link. Charge Controller/ DC-DC Converter. Gate Driver. Battery Cells. System Controller

This chapter discusses the design issues related to the CDR architectures. The

HM V 3A 500KHz Synchronous Step-Down Regulator

Regulating Pulse Width Modulators

Type of loads Active load torque: - Passive load torque :-

Techcode. 1.6A 32V Synchronous Rectified Step-Down Converte TD1529. General Description. Features. Applications. Package Types DATASHEET

SR A, 30V, 420KHz Step-Down Converter DESCRIPTION FEATURES APPLICATIONS TYPICAL APPLICATION

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

Digital Logic, Algorithms, and Functions for the CEBAF Upgrade LLRF System Hai Dong, Curt Hovater, John Musson, and Tomasz Plawski

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

Hello, and welcome to this presentation of the STM32 Digital Filter for Sigma-Delta modulators interface. The features of this interface, which

UPSC Electrical Engineering Syllabus

HM8113B. 3A,4.5V-16V Input,500kHz Synchronous Step-Down Converter FEATURES GENERAL DESCRIPTION APPLICATIONS TYPICAL APPLICATION

Transcription:

Optimizing System Operation Using a Flexible Digital PWM Controller Ka Leung Silicon Laboratories Inc. 7000 West William Cannon Drive, Austin, TX 78735 Email: Ka.leung@silabs.com Abstract - This paper describes a mixed-signal integrated circuit implemented in low-cost CMOS technology optimized for dc/dc and ac/dc converter applications. The device is partitioned into a hardware digital controller comprised of a digital signal processor (DSP) controller and an instructionbased microcontroller (MCU) system management processor section. The hardware digital controller includes a high-speed differential analog-to-digital converter (ADC), a low temperature-coefficient voltage-reference digital-to-analog converter (DAC), a programmable infinite-impulse response compensator, a digital pulse width modulator () finite state machine and necessary protection circuits (e.g., current limiting circuits) to perform a high-bandwidth fully independent control loop function. The MCU-based system management processor section includes an 8-channel selfsequencing ADC, a 50 MIPs 8051-based MCU with 64K bytes of program memory and four 16-bit timers to perform medium bandwidth control loop and system monitoring functions. Other system functions include a high-precision oscillator, phase-locked-loop (PLL) based clock multiplier, UART and GPIO ports making a flexible system-on-a-chip solution for a wide range of power supply applications. This architecture generates a throughput that exceeds a DSP-only solution by moving system task loading away from the processor. Examples of several applications are also presented. Introduction Digital power supply control offers system performance, efficiency and cost advantages over traditional analog approaches. Performance gain is made possible through adaptive and non-linear control response, such as manipulating switching waveforms on-the-fly to achieve dynamic performance optimization. Higher efficiency is obtained through digital optimization, compensation and mode switching. From the power supply manufacturer s point-ofview, cost reduction results from a lower external component count. At the same time, reliability is improved with the elimination of external analog components, which pose aging and drifting concerns. In-system programmability provides the manufacturer the ability to generate more product variants primarily through software modifications. A fully independent hardware-based digital controller provides a stable digital control loop that has user definable parameters that, once defined, are determinative of the overall power supply operation. The on-chip MCU adds intelligence to the power supply by monitoring the operation of the digital controller during operation and, if necessary, reparameterizing the digital controller to effect temporary or permanent changes to the operation thereof. The MCU operates to: 1) monitor fault situations such as over current, under voltage, over voltage and over temperature, 2) control power supply start up, shut down and current sharing, etc. Digital control has been widely used in motor applications where control complexity and monitoring features are high. Because of lower operating switching frequencies, a general purpose MCU or a DSP is ideal for this type of application. For practical reasons, in switched-mode power supplies it is desirable to reduce both passive component size and transient response time. Thus, the operating switching frequency has to be increased to a range of hundreds of kilohertz to megahertz. Smaller inductor size and faster dynamic response associated with such applications demands that the digital controller operate at higher processing speeds. However, in order to be commercially successful, the digital controller must be low cost and low complexity (to minimize the learning curve of system design-in) and still deliver high performance. This argues against a fully DSP solution, with its inherent time consuming and complex programming requirements The first section of this paper describes the detailed chip architecture and demonstrates its control flexibility. The last section describes four digital-control power supply applications: dynamic power efficiency optimization, digital current sensing, transient-triggered non-linear control and digital power-factor correction. SYSCLKIN DEBUG PORT 6 Phases Gate Control Hardware Digital Controller Multiphase Interrupt Control 2% 25Mhz OSC, and LFO Reset Control Hardware Debug Monitor s System Management Processor 50MIPS 8051 CPU DSP Filter Engine Cycle-by-cycle Current er and OCP ADC s & Detectors 16K/32K FLASH 1280B RAM 12-BIT 200Ksps ADC Auto Scan 10MHz ADC Configuration s Temp Sensor 4x 16-BIT Timers SMBus 3 CH PCA I/O Port Latches UART Vref DAC 8 MUX Vref PORT 0 PORT 1 Fig. 1. Digital Power Supply Controller Block Diagram Chip Architecture Figure 1 shows a block diagram of a flexible digital power supply controller designed to address a wide range of switched mode power supplies applications including isolated dc-dc converters, non-isolated dc-dc converters and power factor correction rectifiers. The device is partitioned into a power supply specific hardware block DSP to provide a high bandwidth, fully independent digital control loop function and a software programmable system management processor I/O (8) I/O (8) VREF IPK

section to provide system functionality. The hardware block control path includes a high-speed differential ADC, a voltage-reference DAC, a programmable infinite-impulse response compensator and a six-phase finite state machine. The reference DAC, ADC and compensator together generate a duty cycle control signal to modulate six independently controlled phase outputs of the. Protection circuits providing cycle-by-cycle current limiting and fault detection are integral parts of the hardware digital control loop. The system management processor section provides an instruction-based engine, including an 8-channel self-sequencing ADC, a 50 MIPs 8051-based MCU, four 16- bit timers and other system peripheral I/O. They together provide system initialization, control loop optimization, fault recovery, housekeeping, communication interface, soft start/stop and other user-defined functions. Other system functions include a high-precision (2.0%) oscillator, PLL clock multiplier for providing all necessary clocks to DSP and MCU, program storage non-volatile memory for user-defined program, UART and GPIO ports. To facilitate interfacing between two processors, there are provided monitor registers and configuration registers. Digital Control Loop The magnitude of the voltage transient of a switching regulator resulting from a change in load current (di/dt) is determined by the values of the inductance, capacitance, equivalent series resistance (ESR) of capacitor and controller response delay. The ESR of the output capacitor causes the output to drop at the instance of a load current change. After that, a time delay results between the onset of a load current change and the new update of duty cycle, which is characterized by the latency of the controller loop. The DSP controller responds with duty cycle changes and then the inductor current starts to change at a rate proportional to the inductor voltage divided by the total inductance. Since the engine provides up to three pairs of non-overlapping phases of gating signals for the power train switches, effective total inductance of all phase inductors is reduced by a factor of three. The fast response of the controller loop is supported by using a high sampling rate, low latency, windowed ADC. Extended full-scale range of the ADC prevents output from saturation and does not slow down transient recovery even at the worst-case di/dt event. The DSP compensator and the process the ADC s output at 200MHz and exhibit less than 400ns control loop delay. Latency from external gate drives, power switchers, switching delay and ADC antialiasing filter constitute a limiting factor of the control bandwidth. ADC and Reference DAC The control loop front end, shown in Figure 2, is comprised of a differential input, 6-bit 10MHz Flash ADC with programmable LSB size. It digitizes the difference between the sense output voltage,, and the programmable voltage reference with a programmable resolution ranging from 2mV to 24mV. This range allows the ADC to modify control loop gain on the fly and prevents limit cycle oscillation. The digitizer captures sensed output voltage up to 25 times in a 400 khz switching cycle to reduce control loop latency. Figure 3 illustrates how the pulse duty cycle is extended momentarily to react to output voltage drop. VREF ADC1EN EOC1IRQ Bandgap Voltage Reference ADC1CN RES3 RES2 RES1 REFDAC REFDACH RADC(8) RES0 - RADC(7) RADC(6) RADC(5) 10Mhz 6-Bit ADC REFDACL RADC(4) TRDETEN RDAC0(8:3) RADC(3) RADC(2) RADC(1) RADC(0) TRDETCN TRIIRQ TRAN(5) TRAN(4) TRAN(3) - TRAN(2) TRAN(1) 11:6 TRAN(0) ADC1DAT ADC1(5) ADC1(4) IN ADC1(3) ADC1(2) THRES Transient Detector ADC1(1) ADC1(0) Fig. 2. Control loop front end Compensator Input MUX 0 1 2 3 To DSP compensator PIDCN PIDINSEL1 PIDINSEL0 Output Transient Interrupt TRIIRQ Fig. 3. Transient response improved by fast ADC update The transient detector monitors the output of the ADC at a 0.1uS interval and asserts a transient interrupt when the absolute value of the ADC output exceeds the limits of a predefined value. The response to a transient detector interrupt can be programmed to increase the loop gain, reconfigure the pulse waveform or control mode switching. The set point of the power supply is defined by the output of a 9-bit reference DAC. The reference DAC includes an internal band-gap voltage reference with 0.5% accuracy over a temperature range of -40 to 125ºC. An external voltage reference may be connected to the VREF pin to attain a better accuracy and the internal reference disabled by a configuration register. The reference DAC provides a 1.8MHz bandwidth and 2uS settling time useful for power supply soft start and power factor correction. The DAC also has 2.4mV resolution at a 1.25V voltage reference. The reference DAC can also be used for dynamic voltage positioning and power factor correction which will be described in the application sections. A 4-channel MUX provides the system management processor section the ability to route one of multiple different analog inputs to the digital controller section. Channel 0 is the output of ADC. The sampling rate of the DSP is automatically adjusted to the sampling rate of the ADC to perform highspeed control loop operation. Channel 1 comprises the difference between (as measured by a 12-bit ADC)

and input of reference DAC. Channel 1 is useful in standby or soft start applications where lower bandwidth control is preferable. Channel 2 is a 2 s complement zero input for use in system debug. Channel 3 is written directly by the MCU for low bandwidth control loop applications. DSP Filters and Dithering The digital control loop front-end data at the output of the differential ADC is processed by a DSP filter, which provides necessary compensation to maintain adequate control-loop phase margin. The DSP filter consists of a cascade of a proportional-integral-derivative (PID) filter and low-pass filter as shown in Figure 4. All coefficients are dynamically programmable enabling the system management processor section to optimize control loop response in situations such as changes in loading conditions and input voltage. One of two low-pass filters can be selected through the configuration register for use by the PID filter. Both low-pass filters are useful in removing high frequency power supply noise caused by the zeros of the PID filter. The PID filter output is a sum of the proportional gain (Kp), the integration gain (Ki) and the derivative gain (Kd) terms derived from the error signal of the differential ADC. Increasing the proportional gain increases the power supply response to changes in the error signal but decreases system damping and stability. Step response overshoot and ringing could be caused by too large a value of the proportional gain term. Unlike proportional gain (which reduces instantaneous error), integral gain reduces steady state error to zero. The amount of time the power supply takes to reach its steady state condition is inversely proportional to the integral gain. Instability and oscillation can also be caused by too large a value of the integral term. Should the integrator input not achieve a zero value, integration will continue until the integrator output is saturated at a maximum or a minimum. This integrator wind-out adversely affects control loop response because the integrator requires additional recovery time to return to its normal operating range as the loop attempts recovery. One cause of wind-out is cycle-by-cycle current limiting which truncates the PWM duty cycle. During this event, the integration action can be inhibited. The derivative term improves stability, reduces step-response overshoot and reduces step-response time. The derivative term is proportional to the rate of change of the error signal and therefore improves controller reaction time by predicting changes in the error. Following an output disturbance, the supply output returns to its nominal value at a faster rate as Kd increases. However, output overshoot can be caused by too much damping from the derivative term. An output disturbance is introduced when the load is suddenly connected to the supply output, causing an increase in output current and a decrease in output voltage. The proportional and derivative outputs react immediately to correct the error. By comparison, the integrator output moves slower, but provides precise control to return the output of the supply to its nominal value. The PID transfer function provides one pole and two zeros. The output of the PID filter is passed to one of two low-pass filters. The first low-pass filter has two programmable poles and one zero at one-half of the sampling frequency. This filter s high sampling rates, typically 10MHz, updates the multiple times in a given switching cycle to provide for fast transient response. This filter also has a non-unity DC gain to allow a transient interrupt routine to temporarily boost control loop gain for faster recovery. The second low-pass filter, also known as decimation SINC filter, has multiple zeros, which can be chosen to place at the switching frequency and its harmonics to minimize switching noise of the power supply in the control loop. PIDKPCN KP5 KP4 KP3 KP2 KP1 KP0 From Compensator Input MUX PIDKDCN KD5 KD4 KD3 KD2 KD1 KD0 P PIDKICN INTCLEAR KI6 KI5 KI4 KI3 KI2 KI1 KI0 Integrator Hold Enable I INTHLDEN FILTERSEL D PIDCN DITHER(2) DITHER(1) DITHER(0) Random Number Generator PIDA1CN A1(7) A1(6) A1(5) A1(4) A1(3) A1(2) A1(1) A1(0) PIDDECCN DEC(7) DEC(6) DEC(5) DEC(4) DEC(3) DEC(2) DEC(1) DEC(0) a0 PIDA2CN A2(6) A2(5) A2(4) A2(3) A2(2) A2(1) A2(0) PIDCN: FILTERSEL PIDA0CN PIDA0(7) PIDA0(6) PIDA0(5) PIDA0(4) PIDA0(3) PIDA0(2) PIDA0(1) PIDA0(0) PIDA3CN A3(6) A3(5) A3(4) A3(3) A3(2) A3(1) A3(0) Filter Output MUX Fig. 4. DSP compensator block diagram a3 PIDCN PIDUN PIDUN(7) PIDUN(6) PIDUN(5) PIDUN(4) PIDUN(3) PIDUN(2) PIDUN(1) PIDUN(0) Dithering controls low frequency oscillation tones by breaking up limit cycle sequence and improves effective resolution of the without increasing clock frequency beyond practical levels. The dither has a Gaussian noise distribution property and is generated digitally by a linear feedback shift register. The generates up to six timing phases that can be hardware or software modulated in real time. The is designed to accommodate an isolated or non-isolated power supply topology, which provides the user the flexibility to apply different phase modulation schemes to the power supply. The flexibility of the relies on the fact that phase-to-phase timing can be programmed for a fixed dead time, or the system management processor section can dynamically vary the dead time during converter operation to account for temperature, loading and input voltage variation. The can be clocked at 25MHz, 50MHz or 200 MHz. As shown in Figure 5, the main input of the is u(n) from the compensator output MUX, this value representing a duty cycle. The multiplexer, the input MUX, selects either the output of the DSP filter or a software generated output from the system management processor section as the modulation source. The MUX input is connected to a pair of registers to control a symmetry locking function. This symmetry locking function is useful in applications where the duty cycle of the is slaved to a selected master pulse. The symmetry lock output is connected to a plurality of limiter circuits which allows the system management processor section the ability to offset and set limits of u(n), which results in setting minimums and maximums for the duty cycle of the output gating pulse. This results in up to four individual corrected u(n) functions. The heart of the is a finitestate-machine (FSM) based timing generator, each edge of each phase of the having a separate FSM provided for the control thereof. Each edge of each phase output of u(n) to PIDUN(8)

has a timing dependency on any of the other phases or on itself. The dependency is set up by initiation of individual configuration registers for each FSM. Once initialized, the input to each FSM is hardware-modulated to select from one of the four corrected u(n) functions, and each u(n) can be fed into the timing generator of each FSM. Positive, negative or MCU-controlled phases, overlapping or non-overlapping, can be implemented with this architecture. u(n) from Filter Output MUX u(n) OUTPUT REGISTER Input MUX Symmetry Lock Symmetry Lock Symmetry Lock Symmetry Lock er er er er u(n0) u(n1) u(n2) u(n3) Phase Polarity at Start-of-Cycle Finte-State Machine Switching Cycle Length Fig. 5. block diagram Phase Output Bypass PH1 PH2 PH3 PH4 PH5 PH6 Output Bypass s: ENABLE Input OCP Fault Software Bypass As shown in Figure 6, each edge of each phase is controlled by one of either a u(n)-modulated, an absolute or a relative command to construct the output pulse of each phase. By providing this FSM-based architecture, each edge of each phase output pulse can be defined separately so as to generate the associated edge virtually independent of the other edges. With such an architecture based in hardware, each FSM decision requires only one or two clock cycles as compared to an instruction-based engine. PHnL_SEL(2) PHnL_SEL(1) PHnL_SEL(0) PHnL_EDGE PHnL_PH2) PHnL_PH(1) PHnL_PH(0) PH1 - PH6 Feedback Reference automatically during over-current protection or when an external pin is enabled. The bypass operation can also be initiated by the system management processor section in software. Each of these bypass conditions have an associated programmable stop pattern. System Management Processor Section The system management processor section, shown in Figure 1, implements a standard 8051 organization and peripherals. The MCU core employs a pipelined architecture that executes most if its instructions in one or two system clock cycles; and the MCU is capable of running at 50MHz, and has a peak throughput of 50MIPs. The analog front-end of the MCU consists of a 12-bit, 200ksps ADC and associated auto sequencing logic, limit registers and temperature sensor. The ADC has 8 input channels, and each channel has a corresponding output register and limit detector. The limit detectors compare the converted output to userprogrammed limits and generate an MCU interrupt when these limits are exceeded. The ADC is also equipped with auto sequencing logic, which does not require MCU supervision during data conversion. The auto-sequencing feature automates the analog data acquisition process and enables system protection functions, such as input over-voltage protection, input under-voltage lockout, output voltage monitoring and over-temperature protections, to be implemented in firmware. The MCU has an internal temperature sensor, which monitors chip temperature from - 55C to 125ºC. The temperature monitoring is also useful in providing necessary compensation to optimize power efficiency of switchers and gate drivers. The system management processor section also features four counter/timers for use with device peripherals or for general purpose use. Other system functions include a high-precision oscillator, a PLL-based clock multiplier, a UART and two GPIO ports. PHn_POL PH_POL PHnL(8) PHnL(8) PHn_CNTL1 PHnL(7) PHnL(6) PHnL(5) PHnL(4) PHnL(3) PHnL(2) PHnL(1) PHnL(0) PHn_CNTL1 PHnL(7) PHnL(6) PHnL(5) PHnL(4) PHnL(3) PHnL(2) PHnL(1) PHnL(0) PHnL_SEL(2) PHnL_SEL(1) PHnL_SEL(0) PHnL_EDGE PHnL_PH2) PHnL_PH(1) PHnL_PH(0) PH1 - PH6 Feedback u(n0) u(n1) u(n2) u(n3) Relative Absolute u(n0) u(n1) u(n2) u(n3) Relative Absolute Control Timing Reference Control Timing LEADING EDGE TRAILING EDGE Sequencial INITIALIZATION Fig. 6. finite-state machine block diagram (n=1, 2, 3, 4, 5 or 6) Phase output bypass logic provides safe stop states for all phase outputs in the event of a predetermined existing condition. When this predetermined condition occurs, the bypass logic overrides the output by forcing each phase output into user-defined states during power supply shutdown, thus placing the power supply in a known safe state. The bypass logic can be programmed to occur Phase Output Bypass PHn Output Application #1 - Power efficiency optimization An integrated digital power supply controller has the potential to provide different ways to optimize power efficiency. In some digital-based systems, such as CPUs and DSPs, higher processing speed can be achieved with an increase in power supply voltage while standby-mode operation only requires a lower processing speed. In this case, power supply voltage can be dynamically adjusted to minimize total power consumption. In a switched mode power supply, it is desirable to maintain high power efficiency over a wide range of loads. The power saving operation could possibly be implemented by applying pulse skipping, pulse frequency modulation scheme, switching between buck and synchronous-buck conversion or switching between continuous and discontinuous conduction modes. The bypass logic in the device allows pulses to skip switching cycle(s). The programmable switching cycle length and input MUX provides a means to modulate the switching frequency under lighter loads. A discontinuous conduction mode at lighter loads is realized by turning the synchronous rectifier of the supply off when the inductor current crosses zero. In a low output voltage switched power supply based on synchronous buck, the adaptive dead-time adjustment can minimize loss due to body diode conduction

and short-circuit currents of power switches. Figure 7 illustrates a mesh plot of dead times of a synchronous buck when optimized by using a close-loop search algorithm for a minimum duty cycle. the output of the differential ADC and generates an interrupt to the system management processing section when the output of the differential ADC exceeds a user-defined range. The transient detector interrupt can trigger a change in loop compensation or simply increase the compensator gain. However, widening loop bandwidth can lead to instability. A detecting method shown in Figure 9 can be used to detect an actual onset of instability. The system management processing section monitors the pattern of the output voltage error signal after transient detection is executed. Upon detection of instability, the gain of the programmable DSP compensator is reduced and the system returns to a regulation with a slower dynamic response but with adequate phase margin. Fig. 7. Digital dead time optimization Application #2 - Digital current sensing Inductor current sensing is useful in applications such as overcurrent protection, current-mode control, current sharing and providing necessary information to optimize power supply efficiency. Figure 8 illustrates lossless current sensing by the technique of digital-filtering the voltage across the inductor of a bulk converter. Fig. 8. Digital current sensing Application #3 - Transient-triggered nonlinear control In steady state operation, due to the high DC gain of PID filter integrator term, the output of the differential ADC will typically operate between /- 1LSB range. A perturbation at the power supply output causes the ADC output to move beyond this range. In this case, the transient detector monitors Fig. 9. Transient with nonlinear control Application #4 - Digital power factor correction Figure 10 illustrates an implementation of a digital power factor correction pre-regulator. The high bandwidth current loop is handled by the hardware digital controller while the slower voltage loop is handled by system management processing section. Conclusion In this paper, we discussed the architecture of a digital power supply controller chip, implemented in low-cost CMOS technology, consisting of a hardware-based mixed signal DSP providing the core digital control functionality and an instruction-based processing section having an 8051-based MCU at the heart. The hardware digital controller handles high-bandwidth control loop function. The MCU-based processing section handles the medium bandwidth controlloop and housekeeping functions. Other system functions include an internal oscillator, a PLL clock multiplier, a program storage non-volatile memory, a UART and GPIO ports making a complete highly versatile system-on-a-chip solution for a wide range of power supply applications. This architecture generates a throughput that exceeds a DSP-only solution by moving system task loading away from the instruction-based processor. This flexible architecture allows applications in dc-dc converters, ac-dc power factor correction regulators, isolated and non-isolated switched power supplies where high efficiency, high speed, high dynamic response, control complexity and cost are critical.

Fig. 10. Digital power factor correction rectifier