# Patent

## Title
Method and system for communicating filter compensation coefficients for a digital power control system

## Abstract

A method and system is provided for programming the digital filter compensation coefficients of a digitally controlled switched mode power supply within a distributed power system. The distributed power system comprises a plurality of point-of-load (POL) regulators each comprising at least one power switch adapted to convey power to a load and a digital controller adapted to control operation of the power switch responsive to a feedback measurement. The digital controller further comprises a digital filter having a transfer function defined by plural filter coefficients. A serial data bus operatively connects each of the plurality of POL regulators. A system controller is connected to the serial data bus and is adapted to communicate digital data to the plurality of POL regulators via the serial data bus. The digital data includes programming data for programming the plural filter coefficients. The system controller further comprises a user interface adapted to receive the programming data therefrom.

## Background
RELATED APPLICATION DATA
This patent application is a divisional application pursuant to 35 U.S.C. § 120 to U.S. patent application Ser. No. 10/889,806, filed Jul. 12, 2004, now issued as U.S. Pat. No. 7,249,267 on Jul. 24, 2007, which claims priority to provisional patent application Ser. No. 60/544,553, filed Feb. 12, 2004, and which also claims priority as a continuation-in-part pursuant to 35 § U.S.C. § 120 to patent applications Ser. No. 10/361,667, filed Feb. 10, 2003 now U.S. Pat. No. 6,933,709, and Ser. No. 10/326,222, filed Dec. 21, 2002 now U.S. Pat. No. 7,000,125.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to power supply circuits, and more particularly to digital power control systems and methods for programming parameters of switched mode power supply circuits.
2. Description of Related Art
Switched mode power supplies are known in the art to convert an available direct current (DC) or alternating current (AC) level voltage to another DC level voltage. A buck converter is one particular type of switched mode power supply that provides a regulated DC output voltage to a load by selectively storing energy in an output inductor coupled to the load by switching the flow of current into the output inductor. It includes two power switches that are typically provided by MOSFET transistors. A filter capacitor coupled in parallel with the load reduces ripple of the output current. A pulse width modulation (PWM) control circuit is used to control the gating of the power switches in an alternating manner to control the flow of current in the output inductor. The PWM control circuit uses signals communicated via a feedback loop reflecting the output voltage and/or current level to adjust the duty cycle applied to the power switches in response to changing load conditions.
Conventional PWM control circuits are constructed using analog circuit components, such as operational amplifiers, comparators and passive components like resistors and capacitors for loop compensation, and some digital circuit components like logic gates and flip-flops. But, it is desirable to use entirely digital circuitry instead of the analog circuit components since digital circuitry takes up less physical space, draws less power, and allows the implementation of programmability features or adaptive control techniques.
A conventional digital control circuit includes an analog-to-digital converter (ADC) that converts an error signal representing the difference between a signal to be controlled (e.g., output voltage (Vo)) and a reference into a digital signal having n bits. The digital control circuit uses the digital error signal to control a digital pulse width modulator, which provides control signals to the power switches having a duty cycle such that the output value of the power supply tracks the reference. The digital control circuit may further include a digital filter, such as an infinite impulse response (IIR) filter having an associate transfer function. The transfer function includes compensation coefficients that define the operation of the IIR filter. It is desirable to have the ability to alter or program these compensation coefficients in order to define the operation of the digital filter for particular load conditions.
Since electronic systems frequently need power provided at several different discrete voltage and current levels, it is known to distribute an intermediate bus voltage throughout the electronic system, and include an individual point-of-load (“POL”) regulator, e.g., a switched mode DC/DC converter, at the point of power consumption within the electronic system. Particularly, a POL regulator would be included with each respective electronic circuit to convert the intermediate bus voltage to the level required by the electronic circuit. An electronic system may include multiple POL regulators to convert the intermediate bus voltage into each of the multiple voltage levels. Ideally, the POL regulator would be physically located adjacent to the corresponding electronic circuit so as to minimize the length of the low voltage, high current lines through the electronic system. The intermediate bus voltage can be delivered to the multiple POL regulators using low current lines that minimize loss.
With this distributed approach, there is a need to coordinate the control and monitoring of the POL regulators of the power system. The POL regulators generally operate in conjunction with a power supply controller that activates, programs, and monitors the individual POL regulators. It is known in the art for the controller to use a multi-connection parallel bus to activate and program each POL regulator. For example, the parallel bus may communicate an enable/disable bit for turning each POL regulator on and off, and voltage identification (VID) code bits for programming the output voltage set-point of the POL regulators. The controller may further use additional connections to monitor the voltage/current that is delivered by each POL regulator so as to detect fault conditions of the POL regulators. A drawback with such a control system is that it adds complexity and size to the overall electronic system.
Thus, it would be advantageous to provide a system and method for digitally controlling a switched mode power supply that overcomes these and other drawbacks of the prior art. It would further be advantageous to provide a system and method for controlling and monitoring the operation of a digitally controlled switched mode power supply within a distributed power system. More particularly, it would be advantageous to provide a system and method for programming the digital filter compensation coefficients of a digitally controlled switched mode power supply within a distributed power system.
SUMMARY OF THE INVENTION
The present invention overcomes the drawbacks of the prior art to provide a system and method for programming the digital filter compensation coefficients of a digitally controlled switched mode power supply within a distributed power system.
In an embodiment of the invention, a power control system comprises a plurality of point-of-load (POL) regulators each comprising at least one power switch adapted to convey power to a load and a digital controller adapted to control operation of the power switch responsive to a feedback measurement. The digital controller further comprises a digital filter having a transfer function defined by plural filter coefficients. A serial data bus operatively connects each of the plurality of POL regulators. A system controller is connected to the serial data bus and is adapted to communicate digital data to the plurality of POL regulators via the serial data bus. The digital data includes programming data for programming the plural filter coefficients. The system controller further comprises a user interface adapted to receive the programming data therefrom.
In another embodiment of the invention, a method of controlling a plurality of point-of-load (POL) regulators is provided. Each POL regulator comprises at least one power switch adapted to convey power to a load and a digital controller adapted to control operation of the power switch responsive to a feedback measurement. The digital controller further comprises a digital filter having a transfer function defined by plural filter coefficients. The method includes the steps of: (a) receiving programming data for programming the plural filter coefficients; (b) transmitting the programming data serially over a common data bus operably connected to the plurality of POL regulators; and (c) programming the plural filter coefficients of respective ones of the POL regulators in accordance with the programming data. More particularly, the receiving step further comprises receiving the programming data from a user.
In yet another embodiment of the invention, a point-of-load regulator comprises a power conversion circuit adapted to convert an intermediate voltage to an output voltage. The power conversion circuit comprises at least one power switch adapted to convey power to a load and a digital controller adapted to control operation of the power switch responsive to a feedback measurement. The digital controller further comprises a digital filter having a transfer function defined by plural filter coefficients. A serial data bus interface is adapted to communicate programming information from an external serial data bus connected thereto. A controller is connected to the serial data bus interface and the power conversion circuit, and is adapted to determine the plural filter coefficients from programming data received via the serial data bus interface.
In yet another embodiment of the invention, a method for programming a power control system is provided. The power control system includes a plurality of point-of-load (POL) regulators each comprising at least one power switch adapted to convey power to a load and a digital controller adapted to control operation of the power switch responsive to a feedback measurement. The digital controller further comprises a digital filter having a transfer function defined by plural filter coefficients. The method comprises: (a) displaying at least one screen simulating operation of an exemplary point-of-load regulator, said at least one screen including user selectable values for characteristics of the exemplary point-of-load regulator; (b) receiving user input to select the user selectable values; (c) calculating digital filter coefficients corresponding to the user input; and (d) selectively communicating data corresponding to the calculated filter coefficients to at least one of the plurality of point-of-load regulators for programming said digital filter.
A more complete understanding of the system and method of communicating filter coefficients to a plurality of point-of-load regulators in a power system will be afforded to those skilled in the art, as well as a realization of additional advantages and objects thereof, by a consideration of the following detailed description of the preferred embodiment. Reference will be made to the appended sheets of drawings, which will first be described briefly.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 depicts a switched mode power supply having a digital control circuit;
FIG. 2 depicts a windowed flash ADC that provides high and low saturation signals;
FIG. 3 depicts a digital controller having an infinite impulse response filter and error controller;
FIG. 4 depicts an exemplary control system for communicating filter compensation coefficients in accordance with an embodiment of the present invention;
FIG. 5 depicts an exemplary POL regulator of the POL control system;
FIG. 6 depicts an exemplary system controller of the POL control system;
FIG. 7 is an exemplary screen shot depicting a graphical user interface (GUI) for simulating operation of a POL regulator; and
FIG. 8 is an exemplary screen shot depicting a GUI for programming the compensation coefficients of the digital controller.



DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT
The present invention provides a method for digitally controlling a switched mode power supply. More particularly, the invention provides a a system and method for programming the digital filter compensation coefficients of a digitally controlled switched mode power supply within a distributed power system. In the detailed description that follows, like element numerals are used to describe like elements illustrated in one or more figures.
FIG. 1 depicts an exemplary switched mode power supply 10 having a digital control circuit in accordance with an embodiment of the present invention. The power supply 10 comprises a buck converter topology to convert an input DC voltage Vin to an output DC voltage Vo applied to a resistive load 20 (Rload). The power supply 10 includes a pair of power switches 12, 14 provided by MOSFET devices. The source terminal of the high side power switch 12 is coupled to the input voltage Vin, the source terminal of the low side power switch 14 is connected to ground, and the drain terminals of the power switches 12, 14 are coupled together to define a phase node. An output inductor 16 is coupled in series between the phase node and the terminal providing the output voltage Vo, and a capacitor 18 is coupled in parallel with the resistive load Rload. Respective drivers 22, 24 alternatingly drive the gate terminals of the power switches 12, 14. In turn, the drivers 22, 24 are controlled by a digital control circuit 30 (described below). The opening and closing of the power switches 12, 14 provides an intermediate voltage having a generally rectangular waveform at the phase node, and the filter formed by the output inductor 16 and capacitor 18 converts the rectangular waveform into a substantially DC output voltage Vo.
The digital control circuit 30 receives a feedback signal from the output portion of the power supply 10. As shown in FIG. 1, the feedback signal corresponds to the output voltage Vo, though it should be appreciated that the feedback signal could alternatively (or additionally) correspond to the output current drawn by the resistive load Rload or any other signal representing a parameter to be controlled by the digital control circuit 30. The feedback path may further include a voltage divider (not shown) to reduce the detected output voltage Vo to a representative voltage level. The digital control circuit 30 provides a pulse width modulated waveform having a duty cycle controlled to regulate the output voltage Vo (or output current) at a desired level. Even though the exemplary power supply 10 is illustrated as having a buck converter topology, it should be understood that the use of feedback loop control of the power supply 10 using the digital control circuit 30 is equally applicable to other known power supply topologies, such as boost and buck-boost converters in both isolated and non-isolated configurations, and to different control strategies known as voltage mode, current mode, charge mode and/or average current mode controllers.
More particularly, the digital control circuit 30 includes analog-to-digital converter (ADC) 32, digital controller 34, and digital pulse width modulator (DPWM) 36. The ADC 32 further comprises a windowed flash ADC that receives as inputs the feedback signal (i.e., output voltage Vo) and a voltage reference (Ref) and produces a digital voltage error signal (VEdk) representing the difference between the inputs (Ref−Vo). The digital controller 34 has a transfer function G(z) that transforms the voltage error signal VEdk to a digital output provided to the DPWM 36, which converts the signal into a waveform having a proportional pulse width (PWMk). The digital controller 34 receives as inputs filter compensation coefficients used in the transfer function G(z), as will be further described below. As discussed above, the pulse-modulated waveform PWMk produced by the DPWM 36 is coupled to the gate terminals of the power switches 12, 14 through the respective drivers 22, 24.
FIG. 2 depicts an exemplary windowed flash ADC 40 for use in the digital control circuit 30. The ADC 40 receives as inputs the voltage reference Ref and the output voltage Vo. The voltage reference is applied to the center of a resistor ladder that includes resistors 42A, 42B, 42C, 42D connected in series between the reference voltage terminal and a current source connected to a positive supply voltage (VDD), and resistors 44A, 44B, 44C, 44D connected in series between the reference voltage terminal and a current source connected to ground. The resistors each have corresponding resistance values to define together with the current sources a plurality of voltage increments ranging above and below the voltage reference Ref. The magnitude of the resistance values and/or current sources can be selected to define the LSB resolution of the ADC 40. An array of comparators is connected to the resistor ladder, including a plurality of positive side comparators 46A, 46B, 46C, 46D and a plurality of negative side comparators 48A, 48B, 48C, 48D. The positive side comparators 46A, 46B, 46C, 46D each have a non-inverting input terminal connected to the output voltage Vo, and an inverting input terminal connected to respective ones of the resistors 42A, 42B, 42C, 42D. Likewise, the negative side comparators 48A, 48B, 48C each have a non-inverting input terminal connected to the output voltage Vo, and an inverting input terminal connected to respective ones of the resistors 44A, 44B, 44C, 44D. Negative side comparator 48D has a non-inverting input terminal connected to ground and the inverting input terminal connected to the output voltage Vo. It should be appreciated that a greater number of resistors and comparators may be included to increase the number of voltage increments and hence the range of the ADC 40, and that a limited number of resistors and comparators is shown in FIG. 2 for exemplary purposes only.
The ADC 40 further includes a logic device 52 coupled to output terminals of comparators 46A, 46B, 46C and 48A, 48B, 48C. The logic device 52 receives the comparator outputs and provides a multi-bit (e.g., 4-bit) parallel output representing the voltage error VEdk. By way of example, an output voltage Vo that exceeds the reference voltage Ref by one voltage increment (e.g., 5 mV) would cause the outputs of comparators 46B, 46A, 48A, 48B, and 48C to go high, while the outputs of comparators 46C, 46D and 48D remain low. The logic device 52 would interpret this as logic level 9 (or binary 1001) and produce an associated voltage error signal VEdk. It should be understood that the voltage reference Ref is variable so as to shift the window of the ADC 40. If the output voltage Vo exceeds the highest voltage increment of the resistor ladder, the output terminal of comparator 46D provides a HIGH saturation signal. Similarly, if the output voltage Vo is lower than the lowest voltage increment of the resistor ladder, the output terminal of comparator 48D provides a LOW saturation signal.
In FIG. 3, a digital controller having a digital filter and ADC 40 is depicted. The digital filter further comprises an infinite impulse response (IIR) filter that produces an output PWM′k from previous voltage error inputs VEdk and previous outputs PWM′k. As discussed above, ADC 40 provides the voltage error inputs VEdk. The digital filter outputs PWM′k are provided to the digital pulse width modulator (DPWM) 36, which provides the pulse width modulated control signal (PWMk) to the power supply power switches.
The IIR filter is illustrated in block diagram form and includes a first plurality of delay registers 72, 74, . . . , 76 (each labeled z−1), a first plurality of mathematical operators (multipliers) with coefficients 71, 73, . . . , 77 (labeled C0, C1, . . . , Cn), a second plurality of mathematical operators (adders) 92, 94, 96, a second plurality of delay registers 82, 84, . . . , 86 (each labeled z−1), and a third plurality of mathematical operators (multipliers) with coefficients 83, 87 (labeled B1, . . . , Bn). Each of the first delay registers 72, 74, 76 holds a previous sample of the voltage error VEdk, which is then weighted by a respective one of the coefficients 71, 73, 77. Likewise, each of the second delay registers 82, 84, 86 holds a previous sample of the output PWM′k, which is then weighted by a respective one of the coefficients 83, 87. The adders 92, 94, and 96 combine the weighted input and output samples. It should be appreciated that a greater number of delay registers and coefficients may be included in the IIR filter, and that a limited number is shown in FIG. 3 for exemplary purposes only. The digital filter structure shown in FIG. 3 is an exemplary implementation of the following transfer function G(z):




  
    G
    ⁡
    
      (
      z
      )
    
  
  =
  
    
      
        PWM
        ⁡
        
          (
          z
          )
        
      
      
        VEd
        ⁡
        
          (
          z
          )
        
      
    
    =
    
      
        
          C
          0
        
        +
        
          
            C
            1
          
          ·
          
            z
            
              -
              1
            
          
        
        +
        
          
            C
            2
          
          ·
          
            z
            
              -
              2
            
          
        
        +
        ...
        +
        
          
            C
            n
          
          ·
          
            z
            
              -
              n
            
          
        
      
      
        1
        -
        
          
            B
            1
          
          ·
          
            z
            
              -
              1
            
          
        
        -
        
          
            B
            2
          
          ·
          
            z
            
              -
              2
            
          
        
        -
        ...
        -
        
          
            B
            n
          
          ·
          
            z
            
              -
              n
            
          
        
      
    
  




The error controller 62 receives a plurality of input signals reflecting error conditions of the ADC 40 and the digital filter. Specifically, the error controller 62 receives the HIGH and LOW saturation signals from the ADC 40 reflecting that the output voltage Vo is above and below the voltage window of the ADC, respectively. Each of the mathematical operators (adders) 92, 94, 96 provides an overflow signal to the error controller 62 reflecting an overflow condition (i.e., carry bit) of the mathematical operators. The digital filter further includes a range limiter 81 that clips the output PWM′k if upper or lower range limits are reached. In that situation, the range limiter 81 provides the error controller 62 with a corresponding limit signal.
The error controller 62 uses these input signals to alter the operation of the digital filter in order to improve the responsiveness of the digital filter to changing load conditions. The error controller 62 is coupled to each of the first plurality of delay registers 72, 74, 76 and second plurality of delay registers 82, 84, 86 to enable the resetting and/or presetting of the value stored therein. As used herein, “resetting” refers to the setting of the value to an initial value (e.g., zero), whereas “presetting” refers to the setting of the value to another predetermined number. Particularly, the error controller 62 can replace the previous samples of the voltage error VEdk and output PWM′k with predetermined values that change the behavior of the power supply. The error controller 62 receives as external inputs data values to be used as coefficients 71, 73, . . . , 77 and 83, . . . , 87. It should be appreciated that the characteristics of the digital filter can be programmed by selection of appropriate data values for the coefficients 71, 73, . . . , 77 and 83, . . . , 87.
The digital controller further includes multiplexer 64 that enables selection between the PWM′k output signal and a predetermined output signal provided by the error controller 62. A select signal provided by the error controller 62 determines which signal passes through the multiplexer 64. When the ADC 40 goes into HIGH or LOW saturation, the error controller 62 sets the PWM′k signal to a specific predetermined value (or sequence of values that are dependent in part on the previous samples) by controlling the multiplexer 64. In order to recover smoothly from such a condition, the error controller can also alter the delayed input and output samples by reloading the first plurality of delay registers 72, 74, 76, and second plurality of delay registers 82, 84, 86. This will assure a controlled behavior of the feedback loop as the ADC 40 recovers from saturation.
By way of example, if the ADC 40 experiences a positive saturation, i.e., the LOW signal changing from a low state to a high state, the PWM′k sample can be reset to zero to help to reduce the error. By resetting the PWM′k sample to zero, the pulse width delivered to the high side power switch 12 of the power supply 10 goes to zero, effectively shutting off power to the resistive load 20 (see FIG. 1). In order to recover from this situation smoothly, the samples PWM′k-1, PWM′k-2, . . . , PWM′k-n can also be reset to zero or preset to another value in order to allow a smooth recovery. Likewise, if the ADC 40 experiences a negative saturation, i.e., the HIGH signal changing from a low state to a high state, the PWM′k sample can be preset to a maximum value to increase the pulse width delivered to the high side power switch 12 to reduce the error. Also, when an internal numeric overflow of the digital filter occurs, the error controller 62 can take actions to prevent uncontrolled command of the power switches of the power supply, such as altering the input and output samples of the digital filters.
In an embodiment of the invention, the switched mode power supply of FIG. 1 further comprises a point-of-load (“POL”) regulator located at the point of power consumption within the electronic system. A power control system includes a plurality of like POL regulators, at least one data bus operatively connecting the plurality of POL regulators, and a system controller connected to the data bus and adapted to send and receive digital data to and from the plurality of POL regulators. The system controller would communicate data over the serial bus in order to program the digital filter transfer function G(z) with the values of the coefficients 71, 73, . . . , 77 and 83, . . . , 87.
Referring now to FIG. 4, a POL control system 100 is shown in accordance with an embodiment of the present invention. Specifically, the POL control system 100 includes a system controller 102, a front-end regulator 104, and a plurality of POL regulators 106, 108, 110, 112, and 114 arranged in an array. The POL regulators depicted herein include, but are not limited to, point-of-load regulators, power-on-load regulators, DC/DC converters, voltage regulators, and all other programmable voltage or current regulating devices generally known to those skilled in the art. An intra-device interface is provided between individual ones of the POL regulators to control specific interactions, such as current share or paralleling, e.g., current share interface (CS1) provided between POL0 106 and POL1 108, and CS2 provided between POL4 112 and POLn 114. In the exemplary configuration shown in FIG. 4, POL0 106 and POL1 108 operate in parallel mode to produce output voltage VO1 with increased current capability, POL2 110 produces output voltage VO2, and POL4 112 and POLn 114 operate in parallel mode to produce output voltage VO3, though it should be appreciate that other combinations and other numbers of POL regulators could be advantageously utilized.
The front-end regulator 104 provides an intermediate voltage to the plurality of POL regulators over an intermediate voltage bus, and may simply comprise another POL regulator. The system controller 102 and front-end regulator 104 may be integrated together in a single unit, or may be provided as separate devices. Alternatively, the front-end regulator 104 may provide a plurality of intermediate voltages to the POL regulators over a plurality of intermediate voltage buses. The system controller 102 may draw its power from the intermediate voltage bus.
The system controller 102 communicates with the plurality of POL regulators by writing and/or reading digital data (either synchronously or asynchronous) via a uni-directional or bi-directional serial bus, illustrated in FIG. 4 as the synch/data bus. The synch/data bus may comprise a two-wire serial bus (e.g., I2C) that allows data to be transmitted asynchronously or a single-wire serial bus that allows data to be transmitted synchronously (i.e., synchronized to a clock signal). In order to address any specific POL in the array, each POL is identified with a unique address, which may be hardwired into the POL or set by other methods. For example, the system controller 102 communicates data over the synch/data bus to program the digital filter transfer function G(z) coefficients of each POL regulator. The system controller 102 also communicates with the plurality of POL regulators for fault management over a second uni-directional or bi-directional serial bus, illustrated in FIG. 4 as the OK/fault bus. By grouping plural POL regulators together by connecting them to a common OK/fault bus allows the POL regulators have the same behavior in the case of a fault condition. Also, the system controller 102 communicates with a user system via a user interface bus for programming, setting, and monitoring of the POL control system 10. Lastly, the system controller 102 communicates with the front-end regulator 104 over a separate line to disable operation of the front-end regulator.
An exemplary POL regulator 106 of the POL control system 10 is illustrated in greater detail in FIG. 5. The other POL regulators of FIG. 4 have substantially identical configuration. The POL regulator 106 includes a power conversion circuit 142 (e.g., the switched mode power supply 10 of FIG. 1), a serial interface 144, a POL controller 146, default configuration memory 148, and hardwired settings interface 150. The power conversion circuit 142 transforms an input voltage (Vi) to the desired output voltage (VO) according to settings received through the serial interface 144, the hardwired settings 150 or default settings. The power conversion circuit 142 may also include monitoring sensors for output voltage, current, temperature and other parameters that are used for local control and also communicated back to the system controller through the serial interface 144. The power conversion circuit 142 may also generate a Power Good (PG) output signal for stand-alone applications in order to provide a simplified monitoring function. The serial interface 144 receives and sends commands and messages to the system controller 102 via the synch/data and OK/fault serial buses. The default configuration memory 148 stores the default configuration for the POL regulator 106 in cases where no programming signals are received through the serial interface 144 or hardwired settings interface 150. The default configuration is selected such that the POL regulator 106 will operate in a “safe” condition in the absence of programming signals.
The hardwired settings interface 150 communicates with external connections to program the POL regulator without using the serial interface 144. The hardwired settings interface 150 may include as inputs the address setting (Addr) of the POL to alter or set some of the settings as a function of the address (i.e., the identifier of the POL), e.g., phase displacement, enable/disable bit (En), trim, VID code bits, and selecting different (pre-defined) sets of digital filter coefficients optimized for different output filter configurations. Further, the address identifies the POL regulator during communication operations through the serial interface 144. The trim input allows the connection of one or more external resistors to define an output voltage level for the POL regulator. Similarly, the VID code bits can be used to program the POL regulator for a desired output voltage/current level. The enable/disable bit allows the POL regulator to be turned on/off by toggling a digital high/low signal.
The POL controller 146 receives and prioritizes the settings of the POL regulator. If no settings information is received via either the hardwired settings interface 150 or the serial interface 144, the POL controller 146 accesses the parameters stored in the default configuration memory 148. Alternatively, if settings information is received via the hardwired settings interface 150, then the POL controller 146 will apply those parameters. Thus, the default settings apply to all of the parameters that cannot be or are not set through hard wiring. The settings received by the hardwired settings interface 150 can be overwritten by information received via the serial interface 144. The POL regulator can therefore operate in a stand-alone mode, a fully programmable mode, or a combination thereof. This programming flexibility enables a plurality of different power applications to be satisfied with a single generic POL regulator, thereby reducing the cost and simplifying the manufacture of POL regulators.
By way of example, the system controller 102 communicates data values to a particular POL regulator 106 via the synch/data bus for programming the digital filter coefficients. The data values are received by the serial interface 144 and communicated to the POL controller 146. The POL controller then communicates the data values to the power conversion circuit 142 along with suitable instructions to program the digital filter coefficients.
An exemplary system controller 102 of the POL control system 100 is illustrated in FIG. 6. The system controller 102 includes a user interface 122, a POL interface 124, a controller 126, and a memory 128. The user interface 122 sends and receives messages to/from the user via the user interface bus. The user interface bus may be provided by a serial or parallel bi-directional interface using standard interface protocols, e.g., an I2C interface. User information such as monitoring values or new system settings would be transmitted through the user interface 122. The POL interface 124 transforms data to/from the POL regulators via the synch/data and OK/fault serial buses. The POL interface 124 communicates over the synch/data serial bus to transmit setting data and receive monitoring data, and communicates over the OK/fault serial bus to receive interrupt signals indicating a fault condition in at least one of the connected POL regulators. The memory 128 comprises a non-volatile memory storage device used to store the system set-up parameters (e.g., output voltage, current limitation set-point, timing data, etc.) for the POL regulators connected to the system controller 102. Optionally, a secondary, external memory 132 may also be connected to the user interface 122 to provide increased memory capacity for monitoring data or setting data.
The controller 126 is operably connected to the user interface 122, the POL interface 124, and the memory 128. The controller 126 has an external port for communication a disable signal (FE DIS) to the front-end regulator 104. At start-up of the POL control system 100, the controller 126 reads from the internal memory 128 (and/or the external memory 132) the system settings and programs the POL regulators accordingly via the POL interface 124. Each of the POL regulators is then set up and started in a prescribed manner based on the system programming. During normal operation, the controller 126 decodes and executes any command or message coming from the user or the POL regulators. The controller 126 monitors the performance of the POL regulators and reports this information back to the user through the user interface 122. The POL regulators may also be programmed by the user through the controller 126 to execute specific, autonomous reactions to faults, such as over current or over voltage conditions. Alternatively, the POL regulators may be programmed to only report fault conditions to the system controller 102, which will then determine the appropriate corrective action in accordance with predefined settings, e.g., shut down the front-end regulator via the FE DIS control line.
A monitoring block 130 may optionally be provided to monitor the state of one or more voltage or current levels of other power systems not operably connected to the controller 102 via the synch/data or OK/fault buses. The monitoring block 130 may provide this information to the controller 126 for reporting to the user through the user interface in the same manner as other information concerning the POL control system 10. This way, the POL control system 10 can provide some backward compatibility with power systems that are already present in an electronic system.
As discussed above, the system controller 102 has an interface for communicating with a user system for programming and monitoring performance of the POL control system. The user system would include a computer coupled to the interface, either directly or through a network, having suitable software adapted to communicate with the system controller 102. As known in the art, the computer would be equipped with a graphics-based user interface (GUI) that incorporates movable windows, icons and a mouse, such as based on the Microsoft WindowsTM interface. The GUI may include standard preprogrammed formats for representing text and graphics, as generally understood in the art. Information received from the system controller 102 is displayed on the computer screen by the GUI, and the user can program and monitor the operation of the POL control system by making changes on the particular screens of the GUI.
FIG. 7 illustrates an exemplary screen shot of a GUI used for simulating operation of a POL regulator. The screen shot illustrates a POL regulator having a topology corresponding to the exemplary switched mode power supply 10 described above with respect to FIG. 1. The POL regulator includes a pair of power switches provided by MOSFET devices, an output inductor LO, and a capacitor CO 18. Output terminals of the POL regulator are coupled to a load resistance RL through a pi-filter defined by a series inductance L1 and internal resistance RL1, capacitance C1 and internal resistance RC1 at a first end of the pi-filter, and capacitance C2 and internal resistance RC2 at a second end of the pi-filter. The POL regulator further includes a control circuit that provides a PWM drive signal to the power switches, and receives as feedback signals the output current ILO and output voltage VO. The output voltage may be sensed from either end of the transmission line by setting a switch.
The GUI permits a user to define values of various parameters of the POL regulator in order to simulate its operation. Each user definable parameter includes a field that permits a user to enter desired data values. The user can select parameters of the output voltages, such as by defining the voltage at the first end of the pi-filter V1, the voltage at the second end of the pi-filter V2, voltage delay, rise and fall times, and power switch drive pulse width and period. The user can also select load distribution parameters, including defining the resistances, capacitances and inductance of the pi-filter. The user can also define the load resistance and load current characteristics.
Once the user has selected desired parameters for the POL regulator, the GUI can run a simulation based on the selected parameters. FIG. 8 illustrates an exemplary screen shot of a GUI in which the transfer function G(z) for the POL regulator is shown graphically. The transfer function is illustrated graphically in terms of variations of gain magnitude and phase with respect to frequency. As part of the simulation, the filter coefficients are calculated for the digital filter of the digital PWM and displayed on the screen. The user can alter the shape of the gain plots using slide potentiometers that adjust the poles and zeros of the transfer function, and can repeat the simulation of the POL regulator until satisfied with the performance results. The user can then opt to apply the selected digital filter coefficients to an individual POL regulator or group of POL regulators or all groups of POL regulators on a particular printed circuit board by selection of an appropriate button. This action would cause the selected filter coefficients to be stored in non-volatile memory contained within the system controller 102, and in turn communicated to each appropriate POL regulator via the synch/data bus as discussed above.
Having thus described a preferred embodiment of a system and method for programming the digital filter compensation coefficients of a digitally controlled switched mode power supply within a distributed power system, it should be apparent to those skilled in the art that certain advantages of the system have been achieved. It should also be appreciated that various modifications, adaptations, and alternative embodiments thereof may be made within the scope and spirit of the present invention. The invention is further defined by the following claims.

## Claims

1. A point-of-load regulator comprising:
a power conversion circuit for converting an intermediate voltage to an output voltage, said power conversion circuit comprising at least one power switch for conveying power to a load and a digital controller for controlling operation of said at least one power switch responsive to a feedback measurement, said digital controller further comprising:
a digital filter having a transfer function defined by plural filter coefficients;
an analog-to-digital converter providing a digital error signal representing a difference between said output measurement and a reference value, said digital filter providing a digital control output based on a sum of current and previous error signals and previous control outputs;
an error controller for modifying operation of said digital filter upon an error condition; and
a digital pulse width modulator providing a control signal to said at least one power switch, said control signal having a pulse width corresponding to said digital control output;

a serial data bus interface for communicating programming information from an external serial data bus connected thereto; and
a controller connected to said serial data bus interface and said power conversion circuit, said controller being used to determine said plural filter coefficients from programming data received via said serial data bus interface.

2. The point-of-toad regulator of claim 1, wherein said analog-to-digital converter further comprises a windowed flash analog-to-digital converter.

3. The point-of-load regulator of claim 2, wherein said windowed flash analog-to-digital converter provides a HIGH signal reflecting a negative saturation of said analog-to-digital converter and a LOW signal reflecting a positive saturation of said analog-to-digital converter.

4. The point-of-load regulator of claim 1, wherein said digital filter further comprises an infinite impulse response filter.

5. The point-of-load regulator of claim 4, wherein said infinite impulse response filter provides the following transfer function G(z):




  
    G
    ⁡
    
      (
      z
      )
    
  
  =
  
    
      
        PWM
        ⁡
        
          (
          z
          )
        
      
      
        VEd
        ⁡
        
          (
          z
          )
        
      
    
    =
    
      
        
          C
          0
        
        +
        
          
            C
            1
          
          ·
          
            z
            
              -
              1
            
          
        
        +
        
          
            C
            2
          
          ·
          
            z
            
              -
              2
            
          
        
        +
        ...
        +
        
          
            C
            n
          
          ·
          
            z
            
              -
              n
            
          
        
      
      
        1
        -
        
          
            B
            1
          
          ·
          
            z
            
              -
              1
            
          
        
        -
        
          
            B
            2
          
          ·
          
            z
            
              -
              2
            
          
        
        -
        ...
        -
        
          
            B
            n
          
          ·
          
            z
            
              -
              n
            
          
        
      
    
  




wherein PWM(z) is the digital control output, VEd(z) is the error signal, C0 . . . Cn are input side coefficients, and B1 . . . Bn are output side coefficients.

6. The point-of-load regulator of claim 1, wherein said digital filter further comprises a range limiter for clipping said digital control output if upper or lower range limits are reached.

7. The point-of-load regulator of claim 6, wherein said range limiter provides a limit signal to said error controller if said upper or lower range limits are reached.

8. The point-of-load regulator of claim 1, wherein said digital controller further comprises a multiplexer coupled to said error controller and to said digital filter, said error controller providing an alternative digital control output to said multiplexer that passes to said digital pulse width modulator upon said error condition.

9. The point-of-load regulator of claim 1, wherein said error controller is further used to preset at least one of said previous error signals with predetermined values upon said error condition.

10. The point-of-load regulator of claim 1, wherein said error controller is further adapted used to preset at least one of said previous control outputs with predetermined values upon said error condition.

11. The point-of-load regulator of claim 1, wherein said error controller is further used to reset at least one of said previous error signals to initial values upon said error condition.

12. The point-of-load regulator of claim 1, wherein said error controller is further used to reset at least one of said previous control outputs to initial values upon said error condition.

13. The point-of-load regulator of claim 1, wherein said error condition further comprises a saturation of said analog-to-digital converter.

14. The point-of-load regulator of claim 1, wherein said error condition further comprises a mathematical overflow of said digital filter.