[go: up one dir, main page]

WO2015077312A1 - Output regulation with dynamic digital control loop compensation - Google Patents

Output regulation with dynamic digital control loop compensation Download PDF

Info

Publication number
WO2015077312A1
WO2015077312A1 PCT/US2014/066364 US2014066364W WO2015077312A1 WO 2015077312 A1 WO2015077312 A1 WO 2015077312A1 US 2014066364 W US2014066364 W US 2014066364W WO 2015077312 A1 WO2015077312 A1 WO 2015077312A1
Authority
WO
WIPO (PCT)
Prior art keywords
voltage
current
input voltage
generating
signal representing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/US2014/066364
Other languages
French (fr)
Inventor
Arthur Lionel STEVENS
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TerraLux Inc
Original Assignee
TerraLux Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US14/083,731 external-priority patent/US8975826B1/en
Priority claimed from US14/083,784 external-priority patent/US9209689B2/en
Application filed by TerraLux Inc filed Critical TerraLux Inc
Publication of WO2015077312A1 publication Critical patent/WO2015077312A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M3/00Conversion of DC power input into DC power output
    • H02M3/02Conversion of DC power input into DC power output without intermediate conversion into AC
    • H02M3/04Conversion of DC power input into DC power output without intermediate conversion into AC by static converters
    • H02M3/10Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of DC power input into DC power output without intermediate conversion into AC by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • H05B45/3725Switched mode power supply [SMPS]
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/30Driver circuits
    • H05B45/37Converter circuits
    • H05B45/3725Switched mode power supply [SMPS]
    • H05B45/375Switched mode power supply [SMPS] using buck topology
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0016Control circuits providing compensation of output voltage deviations using feedforward of disturbance parameters
    • H02M1/0022Control circuits providing compensation of output voltage deviations using feedforward of disturbance parameters the disturbance parameters being input voltage fluctuations

Definitions

  • Embodiments of the present invention relate generally to voltage and/or current regulation and, more specifically, to regulating voltage and/or current in DC-to-DC converters.
  • An ideal regulator circuit generates a constant output voltage or current for use by a particular circuit or application, despite changes in the load placed on the regulator and/or changes in an input voltage, current, temperature, noise, and other variables.
  • Real-world regulators are not ideal, and changes to some or all of these conditions produce undesirable changes in the output voltage or current.
  • FIG. 1 illustrates a circuit diagram of an exemplary inverted buck regulator 100.
  • An input voltage Vj n is applied to a terminal of a load RL and a load current ID flows through the load RL, thereby developing a load voltage VL-
  • the load current I D also flows through an inductor L and a switch S.
  • the opening and closing of the switch S is controlled by a pulse-width modulation circuit 102; the duty cycle D of the PWM pulses 104 may be varied to maintain a constant output voltage Vo
  • the output voltage VL and/or the output current I D are sampled by a voltage/current measurement circuit 106; a controller 108 receives a sensor signal 110 and adjusts the PWM circuit 102 accordingly.
  • the inductor L serves to keep the current through the load constant and the capacitor tries to keep the voltage across the load constant.
  • a high-frequency rectangular-shaped PWM waveform with a certain duty cycle D is filtered by a second-order filter (L + C) to extract the DC value for use by the load. Since there are two energy-storage elements (L stores magnetic energy and C stores electrical energy), the system is second-order.
  • Some existing systems measure the inductor current I D directly, attempt to detect any changes in it, and modify the PWM pulses to reduce the magnitude of the changes.
  • Other systems may measure the inductor current I D indirectly (by, for example, converting it to a voltage via the use of a small current-sense resistor in series with the load R L ).
  • Each of these measurement techniques requires complex, precise, and/or expensive circuitry; the voltage across the current-sense resistor, for example, may be very small and require very precise measurement.
  • various aspects of the systems and methods described herein reduce, eliminate, or otherwise compensate for variations in a regulated output current or voltage due to undesired variations in an input voltage.
  • the undesired variations may be the result of, for example, variations in rectified AC line voltage.
  • the compensated output current or voltage may be used to drive any electronic circuit, such as LED lights or lamps, digital or computer circuitry, or any other system or circuit.
  • a digital compensator detects time-varying or periodic variations in the input voltage and, via the use of an iterative-learning control (“ILC”) system, a repetitive-control (“RC”) system, or a run-to-run control (“R2R”) system, generates a compensating signal based on prior behavior of the time variance.
  • a version of the input voltage is sampled, processed, and combined with a sampled version of the output current or voltage in such a way as to eliminate dependence on the input voltage therefrom.
  • a system for regulating an output voltage or current given an input voltage includes an analog-to-digital converter for sampling a signal representing a load current or voltage, a digital controller for (i) detecting a time-varying disturbance in the input voltage and (ii) generating a compensating signal based at least in part thereon, and a modulator for varying the load current or voltage based at least in part on the compensating signal to thereby substantially remove effects of the time-varying disturbance therefrom.
  • the modulator may be a pulse-width modulator in an inverted floating Buck regulator circuit.
  • the digital controller may include at least one of a repetitive controller, an iterative- learning controller, or run-to-run controller.
  • the digital controller may implement a transfer function for generating the output signal.
  • a current-sense resistor may translate the output current to a voltage.
  • a filter may remove high-frequency components of the signal representing the load current or voltage.
  • An amplifier may amplify the signal representing the load current or voltage.
  • a switch may vary the load current or voltage based on an output of the pulse-width modulator.
  • a source of the time-varying disturbance may include a power transformer or a rectifier.
  • An LED light source may generate light, the output voltage or current being applied thereto.
  • a system for regulating an output voltage or current includes inverting floating Buck regulator circuitry for controlling the voltage or current through a load, a pulse-width modulator for operating the Buck regulator circuitry, and a digital controller for (i) detecting a time-varying disturbance in the input voltage and (ii) varying a duty cycle of the pulse-width modulator to substantially remove effects of the time-varying disturbance from the output voltage or current.
  • a method for regulating an output voltage or current given an input voltage includes sampling a signal representing a load current or voltage, detecting a time- varying disturbance in the input voltage, generating a compensating signal based at least in part thereon, and varying the load current or voltage based at least in part on the compensating signal to thereby remove effects of the time-varying disturbance therefrom.
  • a source of the time-varying disturbance may include a power transformer or a rectifier.
  • the time-varying disturbance may repeat periodically.
  • Generating the compensating signal may include synthesizing an actuation sequence in a current repetition based on a tracking error detected in a prior repetition.
  • Generating the compensating signal may include generating a model of the time-varying disturbance.
  • the compensating signal may vary a duty cycle of a pulse-width modulator that varies the load voltage or current.
  • a system for regulating an output voltage or current given an input voltage includes a first analog-to-digital converter for sampling a signal representing a load current or voltage, a second analog-to-digital converter for sampling a signal representing an input voltage, a digital controller for (i) generating a signal representing an inverted version of the sampled signal representing the input voltage, (ii) multiplying the signal representing the inverted version of the input voltage with the sampled signal representing the load current or voltage to thereby remove a dependency of the load current or voltage on the input voltage, and (iii) generating a feedback signal based at least in part on the multiplication, the feedback signal being independent to changes in the input voltage, and a pulse-width modulator for varying the load current or voltage based on the feedback signal.
  • a resistor divider may generate the signal representing an input voltage.
  • the first and second analog-to-digital converters may be time-multiplexed portions of one analog-to-digital converter.
  • the digital controller may include at least one of a repetitive controller, an iterative- learning controller, or run-to-run controller.
  • the digital controller may implement a transfer function for generating the output signal.
  • a current-sense resistor may translate the output current to a voltage.
  • a filter may remove high-frequency components of the signal representing the load current or voltage. The digital controller may further detect when the input voltage is zero and prevents a division-by-zero error.
  • a method for regulating an output voltage or current given an input voltage includes sampling a signal representing a load current or voltage, sampling a signal representing an input voltage, generating a signal representing an inverted version of the sampled signal representing the input voltage, multiplying the signal representing the inverted version of the input voltage with the sampled signal representing the load current or voltage to thereby remove a dependency of the load current or voltage on the input voltage, generating a feedback signal based at least in part on a result of the multiplication, wherein the feedback signal is independent to changes in the input voltage, and varying the load current or voltage based on the feedback signal.
  • a source of the time-varying disturbance may include a power transformer or a rectifier.
  • the time-varying disturbance may repeat periodically.
  • the signal representing the input voltage may be generated by scaling the input voltage.
  • Generating the feedback signal may include synthesizing an actuation sequence in a current repetition based on a tracking error detected in a prior repetition.
  • Generating the feedback signal may include generating a model of the time-varying disturbance.
  • a system for regulating an output voltage or current includes a terminal for receiving an input voltage and control loop circuitry having a loop gain controlling the output voltage or current, the control loop circuitry including a nonlinear element holding the loop gain substantially constant notwithstanding variations in the input voltage.
  • FIG. 1 is a circuit diagram of an exemplary inverted buck circuit
  • FIG. 2 is a graph of inductor current
  • FIG. 3 is a circuit diagram of an inverted buck circuit in accordance with an embodiment of the present invention.
  • FIG. 4 is a graph of a current-sense voltage waveform in accordance with an embodiment of the present invention.
  • FIG. 5 is a block-diagram model of inverted buck regulator dynamics without a compensated control loop in accordance with an embodiment of the present invention.
  • FIG. 6 is a block-diagram model of inverted buck regulator dynamics with a compensated control loop in accordance with an embodiment of the present invention.
  • a regulator produces an output current I D that is independent of changes in an input voltage Vj n .
  • a dynamic compensator circuit such as a “repetitive control” (RC) circuit or “iterative learning control” (ILC) circuit) analyzes periodic disturbances in the input voltage Vj n and actively compensates for them.
  • the input voltage Vj n is combined with a feedback control signal in such a way to cancel out the effects of any variation in V m - .
  • a signal that includes an inverted version of Vj n may be created and multiplied against a PWM feedback signal (which may include a non-inverted version of V m - ), thereby removing the dependence of V 1 ⁇ 4 on the PWM feedback signal and removing the dependence of the output current or voltage on Vj n .
  • the PWM circuit 102 produces a rectangular- shaped waveform 104 that is passed to the controlled switching device S.
  • the switch S assumes a first state (e.g., either "on” or “off) when the waveform 104 is at a first level (e.g., either "high” or “low") and assumes a second, opposite state when the waveform 104 is at a second level different from (e.g., opposite to) the first level.
  • the configuration of circuit 100 allows the switching device S to be driven with reference to a common ground rail, thereby simplifying the switch drive circuitry.
  • the duty cycle D is therefore defined as:
  • the output voltage V 0 may be expressed in terms of the input voltage V in and the load voltage VL:
  • the load voltage VL may be related to the input voltage Vj n :
  • Equation (8) reveals that the load voltage V L is directly proportional to the duty cycle D for a given input supply voltage V in .
  • the controller 108 may be designed to automatically adjust the PWM duty cycle D using measurements of either the output voltage Vo or the load current ID-
  • An example of an application of the topology of the circuit 100 is a simple hysteretic circuit.
  • the load current I D through the load R L is controlled to remain constant.
  • the load current ID may be expressed as:
  • the load current I D depends only on the duty cycle, D. If the load resistance R L varies, however, due to the addition or removal of load elements and/or to changes in the circuit environment, the load current I D is measured and the duty cycle D is adjusted accordingly to keep the load current I D constant and at its desired value. In a floating buck controller, the load current I D flows through the inductor in the controller, so measuring the inductor current I L is equivalent to measuring the load current I D .
  • FIG. 2 illustrates a graph 200 of an inductor current I L waveform 202 in which the inductor current I L is always nonzero (known as a continuous-conduction mode, or "CCM").
  • the waveform 202 varies from a minimum value I m and increases to a maximum value I p during t on time periods; the waveform 202 decreases during periods of t cff back down to the minimum value I m (for a total change of Ai L ).
  • the average current I L is given by:
  • FIG. 3 illustrates a circuit 300 for regulating a current I D through a load R L .
  • the load R L is a string of LEDs 302; the load may be any load, however, such as an electronic circuit, computer system or component, or any other device that requires regulated current or voltage.
  • Input power is received by the circuit 300 from an input source providing a voltage Vj n .
  • An inductor L stores and releases power from the input voltage Vj n , and a diode Dl is used to discharge current through the inductor L.
  • a load capacitor C may be placed in parallel with the load R L .
  • the circuit 300 also includes a switch S controlled by a PWM circuit 304, which in turn is controlled by a controller 306 (which receives input from an analog-to-digital converter (ADC) 308).
  • a resistor R s converts a current I s to a voltage Vs, which is amplified by an amplifier 310 and filtered with an analog filter 312. The output of the analog filter 312 is digitized by the ADC 308.
  • the diode Dl may be a zener or other type of diode
  • the inductor L may be a coil or other type of inductor
  • the capacitor C may be a ceramic or electrolytic capacitor
  • the switch S may be include or more MOSFETs, bipolar-junction transistors, or any other voltage- or current-controlled device capable of switching in response to a received input.
  • the amplifier 310 may be an op amp or similar device
  • the analog filter 312 may include a resistor R f and a capacitor C f .
  • the PWM circuit 304, controller 306, and ADC 308 are implemented using digital logic.
  • a microprocessor FPGA, ASIC,
  • microcontroller or other type of digital circuit may include logic gates and memory elements for implementing these components.
  • Software and/or firmware instructions may be used in conjunction with the digital circuit(s) to implement the components.
  • the PWM circuit 304 may be a dedicated circuit on the microprocessor or it may be a general-purpose circuit that implements the functionality of a PWM system via the use of software and/or firmware instructions.
  • embodiments of the present invention may be provided as one or more computer-readable programs embodied on or in one or more articles of manufacture.
  • the article of manufacture may be any suitable hardware apparatus, such as, for example, a floppy disk, a hard disk, a CD ROM, a CD-RW, a CD-R, a DVD ROM, a DVD- RW, a DVD-R, a flash memory card, a PROM, a RAM, a ROM, or a magnetic tape.
  • the computer-readable programs may be implemented in any programming language. Some examples of languages that may be used include C, C++, or JAVA.
  • the software programs may be further translated into machine language or virtual machine instructions and stored in a program file in that form. The program file may then be stored on or in one or more of the articles of manufacture.
  • the analog components may be replaced by using digital logic, or vice-versa.
  • the analog filter 312 may be implemented as a digital filter, or the PWM circuit 304 may be an analog circuit.
  • the present invention is not limited to any particular implementation or design choices. It should also be noted that the presence of a control loop can, in some circumstances, permit omission of the capacitor C; the result, however, will be more flicker since the filter order decreases.
  • a resistor R s is inserted in series with the switch S.
  • the resistor R s produces a voltage proportional to the current I s flowing in the switch circuit (and hence also through the resistor R s ) as shown in FIG. 4.
  • the voltage V s across the resistor R s is referenced to ground potential, and thus its average value may be measured more easily than that of the inductor current I L .
  • the average of the current I s flowing through the sense resistor, Rs is given by
  • a graph 400 of a waveform 402 of the average value of the voltage V s across the sense resistor R s appears in Figure 4. From equation (8), the average current in the inductor is:
  • an amplifier 310 amplifies the voltage Vs across the sense resistor R s ; the amplified voltage is filtered with an analog filter 312.
  • the controller 306 may implement a digital-control algorithm for comparing the amplified, filtered, and digitized signal to a reference and generate a control signal for the PWM accordingly.
  • FIG. 5 shows a block diagram of a control-loop representation 500 of the regulator 300 shown in FIG. 3.
  • an amplifier block 504 represents the amplifier 310 of FIG. 3
  • an analog filter block 506 represents the analog filter 312
  • the microprocessor 502 implements the PWM circuit 304, controller 306 (which may correspond to the dynamic compensator 510), and ADC 308.
  • the voltage V s across the current-sensing resistor R s is amplified using an amplifier 504 having a gain K A and then filtered by a first-order RC analog filter 506 that includes a resistor R f and a capacitor C f .
  • a first-order RC analog filter 506 that includes a resistor R f and a capacitor C f .
  • Any type or order of filter 506 is within the scope of the present invention, however.
  • the filter 506 may have unity DC gain and a cutoff frequency of a radians per second, where:
  • the filter 506 filters out any high-frequency component(s) of the switching frequency to provide a smoothed and scaled version of the average value of current I s .
  • the filter 506 also acts as an anti-aliasing filter for the digital control loop, explained in greater detail below.
  • An ADC 508 converts the amplified and smoothed signal from V s into a binary voltage for use by the digital control algorithm implemented in (e.g.) firmware inside the microprocessor 502.
  • the digital-control algorithm components implemented using the microprocessor 502 are implemented using analog circuitry, in which case, no ADC would be required.
  • R s , R L , and K A are known because they may be determined from the properties of the chosen devices, as is the duty cycle D, because it is a parameter determined by the controller 306.
  • the ADC 308 takes samples of the filtered voltage at uniform time intervals of T s seconds and converts the filtered voltage to a sequence of binary values.
  • the values from the ADC are subtracted (using a subtracter/comparator 516) from a setpoint value I S p, which represents the desired load current, to form an error signal E(z).
  • a discrete-time controller algorithm block 510 implements a z-domain transfer function G(z) and processes the error signal E(z) to produce an actuation signal U(z), which is fed to the PWM module 512.
  • the PWM module 512 produces a rectangular-shaped signal (or any other type or shape of signal suitable for controlling the switch S), as discussed above.
  • a zero-order-hold (“ZOH") block 514 is associated with the ADC and is included in the model 500 to represent the discrete-time updating of the value of D (in accordance with a sampling frequency T s ) and does not necessarily correspond to a real- world component in FIG. 3.
  • the analog filter 506 produces an output proportional to the average of its input; the filtered voltage VF at the input to the ADC 506 is thus given by:
  • the gain-bandwidth product of the amplifier 504 must be sufficiently high so that its frequency response is flat over the range of the bandwidth of the control loop illustrated in FIG. 5.
  • the cutoff frequency of the analog filter may be lower in frequency than the sampling rate of the controller but higher than that of the rate of fluctuation of V 1 ⁇ 4 (which may occur at 120 Hz for a full-wave rectified 60 Hz mains input voltage Vj n ).
  • the filter 506 may have a cutoff frequency of 1200 Hz with an ADC sampling rate of 10 kHz.
  • VF may be approximately constant between the sampling instants. Therefore, the low-frequency gain of the transfer function in Equation (21) is also approximately constant and is given by:
  • Vj n includes a time-varying component that negatively impacts the feedback-path gain by causing it to vary as well.
  • the input voltage Vjn may be generated using a full-wave rectifier that is powered using a 60 Hz alternating-current (AC) voltage source supplied by, for example, a power transformer.
  • the full-wave rectified signal may be filtered by smoothing capacitors to produce a DC pulsating voltage waveform having an amplitude that undulates at a frequency of 120 Hz.
  • the changing value of the voltage Vj n acts to modulate the loop gain, which adversely affects the regulation performance over each half cycle of the 60 Hz mains voltage.
  • V in could vary from 17 V at the peak of the rectified waveform to a value at or near zero volts, depending on (for example) the size of a supply-rail smoothing capacitor.
  • the loop gain modulated by Vj n represents a periodic disturbance in the rectified AC input voltage case, as described above, this periodic disturbance may be reduced or eliminated by the compensator 510 producing a counteracting modulation signal based on the desired current I S p to change the load current I D in such a way that the unwanted periodic disturbance is cancelled.
  • the compensator 510 may implement an iterative- learning control (“ILC”) system, a repetitive-control (“RC”) system, or a run-to-run control (“R2R”) system.
  • ILC iterative- learning control
  • RC repetitive-control
  • R2R run-to-run control
  • ILC and RC controllers are adaptive controllers that adjust a control action, u, for a repetition j, by synthesizing a suitable actuation sequence based on a tracking error measured in a prior repetition (j - 1).
  • ILC and RC controllers modify the actuation signal of the control system directly.
  • ILC and RC controllers may compensate for the effects of disturbances if they are the same for every repetition, because the system learns from previous iterations and injects correction signals via feed-forward.
  • a non- learning controller produces the same tracking error on each pass of the repetition because no such changes are made.
  • ILC/RC systems do not require that the reference or disturbance signals be known or measurable, only that these signals remain unchanged from iteration to iteration.
  • ILC systems may be most appropriate for batch processes (in which a procedure is performed and then stops after which it is repeated again at a later time); RC systems may be most appropriate for continuous processes (in which a procedure is performed repeatedly over and over again without any pause between the iterations).
  • the initial conditions are set to the same value at the start of each step; in a continuous process, the final conditions of the previous repetition become the initial conditions for the present repetition.
  • Control theories, including RC and ILC methodologies are well understood and described in, for example, "The Internal Model Principle of Control Theory" by Francis B. A. and Wonham W.
  • a repetition may be represented using a collection of vectors, each having a total of n samples.
  • the vectors may be of finite-time duration, in contrast to the more usual infinite duration vectors in ordinary control system analysis.
  • the disturbance w(k) describes any repeating deterministic disturbance sequence. Such a disturbance is not confined to signals such as sinusoids; it may be a time-indexed sequence of any arbitrary shape, provided that it is identical (or
  • An ILC system may account for an error via the use of a "learning matrix.”
  • Equation (5) shows that the actuation sequence for the iteration (j + 1) is the same as that for the previous iteration, j, but with a correction factor added that depends on the error sequence of the A iteration.
  • the ILC control algorithm then calculates the actual control input actuation sequence u(j + 1, k) for repetition (j + I) for all the k values up to n.
  • the sequence d(k) is the repetitive disturbance entering the system.
  • e(j, k) (I - PL)e(j - 1, k) (29) which may be expanded out from the initial iteration e(0, k) as
  • u(j + l, k) u(j, k) + Le(j, k + 1) (32) is implementable in practice because, when calculating u(j+l, k) for iteration (j+1 ), the entire data set of sequences for u(j, k) and e(j, k) are available, because they are stored in memory, so we have access to the error at sample time (k + 1).
  • the error at time step k for iteration j is given by
  • e(j, k + l) y d (k + I) - P(q)u(j, k + I) - d(k + I) (34) so e(j, k + I), which is available when u(j + 1, k) is calculated, may be regarded as a prediction or anticipation of the disturbance at time step (k + I), that is, it anticipates the disturbance d(k + I).
  • RC systems may be applicable to situations in which continuous repetitive processes occur, such as a continuous, uniform disturbance in an input voltage Vj n .
  • RC systems may deal with the frequency domain and be based on the use of the Internal Model Principle, which roughly states that, to completely reject a disturbance or perfectly track an input trajectory, the control loop must contain a model of the disturbance or input signal.
  • a sampled signal sequence of length N samples for a duration of T seconds can be made to repeat with period T seconds by passing it through a filter H(z).
  • a model of this sinusoid is included in the control system.
  • Such a system is a special case of the repetitive generator of Equation (37).
  • Other design techniques can also be used to design the control system using many "modern control" theory methods, as one of skill in the art will understand; these other control theories are all within the scope of the present invention.
  • the parameters oi L(q) and Q(q) may be designed to ensure overall system stability and convergence of the tracking error for repetitive disturbances.
  • the present invention is not limited to any particular type of compensator 510 or any particular number or arrangement of components therein; one of skill in the art will understand that the functionality of the compensator 510 may be implemented in a variety of ways (e.g., as an RC system, an ILC system, and/or a combination RC/ILC system selectable by the compensator or a higher-level control system based on analysis of the disturbance pattern).
  • the functionality of the compensator 510 may be implemented in a variety of ways (e.g., as an RC system, an ILC system, and/or a combination RC/ILC system selectable by the compensator or a higher-level control system based on analysis of the disturbance pattern).
  • FIG. 6 illustrates a system 600 in which the microprocessor 502 of FIG. 5 is modified to measure a value of V m - and compensate for its influence.
  • a resistive potential divider 602, including resistors Ri and R 2 is connected between Vj n and ground and is used to obtain a scaled version of the Vj n value.
  • the scale factor ⁇ is given by
  • Vj n is scaled by other means (an active-device circuit, for example) or is unsealed.
  • the scaled voltage [3V m may be sampled by an additional sampler 604 and ADC 606.
  • the second sampler 604 and ADC 606 may run at the same sampling rate T s as the first ADC 508 and thereby provide output values sequentially within each sampling period.
  • the sampling rate for use with the first ADC 508 may be chosen to be much higher than 120 Hz, a different, slower sampling rate may be used with the second ADC 606 for gathering the slower-changing V 1 ⁇ 4 values.
  • This slower sampling rate may be, for example, 500 Hz.
  • the first ADC 508 is modified to include multiple channels that may be multiplexed to sample and convert two values in an interleaved or time- multiplexed fashion (at the same or different sampling rates) and thus combine the
  • the sampled values produced by the second sampler 604 and the second ADC 606 are passed to a computation block 608 that computes a value Kc that corresponds to a reciprocal value of V , thereby introducing a nonlinear cancellation gain in the overall loop gain expression.
  • Kc 1 / Vj n ; in other embodiments, Kc is proportional to 1 / Vi n - A multiplier 610 multiplies the value output from the first ADC 508 with the
  • the computation block 608 may include a digital multiplier, divider, accumulator, adder/subtracter, or any other type of computational circuitry.
  • the computation block may be implemented using the controller 306 or with a second controller. As stated above with reference to the controller 306, the computation block may be implemented using any combination of analog or digital circuitry, software, and/or firmware.
  • the algorithm in the computation block 608 includes a test for this condition (e.g., an if-then statement in firmware code) and, if it is encountered, sets the value of the gain to a predetermined maximum allowable value.
  • a test for this condition e.g., an if-then statement in firmware code

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Dc-Dc Converters (AREA)

Abstract

A digital compensator detects time-varying or periodic variations in the input voltage and, via the use of an iterative-learning control ("ILC") system, a repetitive-control ("RC") system, or a run-to-run control ("R2R") system, generates a compensating signal based on prior behavior of the time variance.

Description

OUTPUT REGULATION WITH DYNAMIC DIGITAL CONTROL LOOP
COMPENSATION
CROSS REFERENCE
[0001] This application claims priority to and the benefit of U.S. Patent Application Serial Nos. 14/083,731 and 14/083,784, both filed on November 19, 2013, which are hereby incorporated herein by reference in their entirety.
TECHNICAL FIELD
[0002] Embodiments of the present invention relate generally to voltage and/or current regulation and, more specifically, to regulating voltage and/or current in DC-to-DC converters.
BACKGROUND
[0003] An ideal regulator circuit generates a constant output voltage or current for use by a particular circuit or application, despite changes in the load placed on the regulator and/or changes in an input voltage, current, temperature, noise, and other variables. Real-world regulators, however, are not ideal, and changes to some or all of these conditions produce undesirable changes in the output voltage or current.
[0004] One type of voltage regulator uses a DC-to-DC converter called an inverted or "floating" buck converter to step down a larger input DC voltage to a smaller output DC voltage. Inverted buck converters may be used, in particular, in applications that do not require a grounded load, such as LED lighting systems. FIG. 1 illustrates a circuit diagram of an exemplary inverted buck regulator 100. An input voltage Vjn is applied to a terminal of a load RL and a load current ID flows through the load RL, thereby developing a load voltage VL- The load current ID also flows through an inductor L and a switch S. The opening and closing of the switch S is controlled by a pulse-width modulation circuit 102; the duty cycle D of the PWM pulses 104 may be varied to maintain a constant output voltage Vo The output voltage VL and/or the output current ID are sampled by a voltage/current measurement circuit 106; a controller 108 receives a sensor signal 110 and adjusts the PWM circuit 102 accordingly.
[0005] The inductor L serves to keep the current through the load constant and the capacitor tries to keep the voltage across the load constant. Thus a high-frequency rectangular-shaped PWM waveform with a certain duty cycle D is filtered by a second-order filter (L + C) to extract the DC value for use by the load. Since there are two energy-storage elements (L stores magnetic energy and C stores electrical energy), the system is second-order.
[0006] One problem with the circuit 100 of FIG. 1, however, is that it is susceptible to variations in the input voltage; the output current, for example, may undesirably vary if the input voltage varies. Some existing systems measure the inductor current ID directly, attempt to detect any changes in it, and modify the PWM pulses to reduce the magnitude of the changes. Other systems may measure the inductor current ID indirectly (by, for example, converting it to a voltage via the use of a small current-sense resistor in series with the load RL). Each of these measurement techniques, however, requires complex, precise, and/or expensive circuitry; the voltage across the current-sense resistor, for example, may be very small and require very precise measurement. Furthermore, existing systems may only reduce, not eliminate, changes in the output current ID produced by a change in Vjn (for example), and this reduction may be insufficient to meet the needs of a given consumer of the produced output current. Finally, because existing systems only react to changes in the output current ID after they occur, the time it takes to detect and correct for these changes may be unacceptable. A need therefore exists for a regulator that produces an output current (or voltage) that is independent of any changes in an input voltage (or current).
SUMMARY
[0007] In general, various aspects of the systems and methods described herein reduce, eliminate, or otherwise compensate for variations in a regulated output current or voltage due to undesired variations in an input voltage. The undesired variations may be the result of, for example, variations in rectified AC line voltage. The compensated output current or voltage may be used to drive any electronic circuit, such as LED lights or lamps, digital or computer circuitry, or any other system or circuit. In one embodiment, a digital compensator detects time-varying or periodic variations in the input voltage and, via the use of an iterative-learning control ("ILC") system, a repetitive-control ("RC") system, or a run-to-run control ("R2R") system, generates a compensating signal based on prior behavior of the time variance. In another embodiment, a version of the input voltage is sampled, processed, and combined with a sampled version of the output current or voltage in such a way as to eliminate dependence on the input voltage therefrom.
[0008] In a first aspect, a system for regulating an output voltage or current given an input voltage includes an analog-to-digital converter for sampling a signal representing a load current or voltage, a digital controller for (i) detecting a time-varying disturbance in the input voltage and (ii) generating a compensating signal based at least in part thereon, and a modulator for varying the load current or voltage based at least in part on the compensating signal to thereby substantially remove effects of the time-varying disturbance therefrom.
[0009] The modulator may be a pulse-width modulator in an inverted floating Buck regulator circuit. The digital controller may include at least one of a repetitive controller, an iterative- learning controller, or run-to-run controller. The digital controller may implement a transfer function for generating the output signal. A current-sense resistor may translate the output current to a voltage. A filter may remove high-frequency components of the signal representing the load current or voltage. An amplifier may amplify the signal representing the load current or voltage. A switch may vary the load current or voltage based on an output of the pulse-width modulator. A source of the time-varying disturbance may include a power transformer or a rectifier. An LED light source may generate light, the output voltage or current being applied thereto.
[0010] In another aspect, a system for regulating an output voltage or current includes inverting floating Buck regulator circuitry for controlling the voltage or current through a load, a pulse-width modulator for operating the Buck regulator circuitry, anda digital controller for (i) detecting a time-varying disturbance in the input voltage and (ii) varying a duty cycle of the pulse-width modulator to substantially remove effects of the time-varying disturbance from the output voltage or current.
[0011] In another aspect, a method for regulating an output voltage or current given an input voltage includes sampling a signal representing a load current or voltage, detecting a time- varying disturbance in the input voltage, generating a compensating signal based at least in part thereon, and varying the load current or voltage based at least in part on the compensating signal to thereby remove effects of the time-varying disturbance therefrom. [0012] A source of the time-varying disturbance may include a power transformer or a rectifier. The time-varying disturbance may repeat periodically. Generating the compensating signal may include synthesizing an actuation sequence in a current repetition based on a tracking error detected in a prior repetition. Generating the compensating signal may include generating a model of the time-varying disturbance. The compensating signal may vary a duty cycle of a pulse-width modulator that varies the load voltage or current.
[0013] In another aspect, a system for regulating an output voltage or current given an input voltage includes a first analog-to-digital converter for sampling a signal representing a load current or voltage, a second analog-to-digital converter for sampling a signal representing an input voltage, a digital controller for (i) generating a signal representing an inverted version of the sampled signal representing the input voltage, (ii) multiplying the signal representing the inverted version of the input voltage with the sampled signal representing the load current or voltage to thereby remove a dependency of the load current or voltage on the input voltage, and (iii) generating a feedback signal based at least in part on the multiplication, the feedback signal being independent to changes in the input voltage, and a pulse-width modulator for varying the load current or voltage based on the feedback signal.
[0014] A resistor divider may generate the signal representing an input voltage. The first and second analog-to-digital converters may be time-multiplexed portions of one analog-to-digital converter. The digital controller may include at least one of a repetitive controller, an iterative- learning controller, or run-to-run controller. The digital controller may implement a transfer function for generating the output signal. A current-sense resistor may translate the output current to a voltage. A filter may remove high-frequency components of the signal representing the load current or voltage. The digital controller may further detect when the input voltage is zero and prevents a division-by-zero error.
[0015] In another aspect, a method for regulating an output voltage or current given an input voltage includes sampling a signal representing a load current or voltage, sampling a signal representing an input voltage, generating a signal representing an inverted version of the sampled signal representing the input voltage, multiplying the signal representing the inverted version of the input voltage with the sampled signal representing the load current or voltage to thereby remove a dependency of the load current or voltage on the input voltage, generating a feedback signal based at least in part on a result of the multiplication, wherein the feedback signal is independent to changes in the input voltage, and varying the load current or voltage based on the feedback signal.
[0016] A source of the time-varying disturbance may include a power transformer or a rectifier. The time-varying disturbance may repeat periodically. The signal representing the input voltage may be generated by scaling the input voltage. Generating the feedback signal may include synthesizing an actuation sequence in a current repetition based on a tracking error detected in a prior repetition. Generating the feedback signal may include generating a model of the time-varying disturbance.
[0017] In another aspect, a system for regulating an output voltage or current includes a terminal for receiving an input voltage and control loop circuitry having a loop gain controlling the output voltage or current, the control loop circuitry including a nonlinear element holding the loop gain substantially constant notwithstanding variations in the input voltage.
[0018] These and other objects, along with advantages and features of the present invention herein disclosed, will become more apparent through reference to the following description, the accompanying drawings, and the claims. Furthermore, it is to be understood that the features of the various embodiments described herein are not mutually exclusive and can exist in various combinations and permutations. As used herein, the term "substantially" means ±10% and, in some embodiments, ±5%.
BRIEF DESCRIPTION OF THE DRAWINGS
[0019] In the drawings, like reference characters generally refer to the same parts throughout the different views. In the following description, various embodiments of the present invention are described with reference to the following drawings, in which:
[0020] FIG. 1 is a circuit diagram of an exemplary inverted buck circuit;
[0021] FIG. 2 is a graph of inductor current;
[0022] FIG. 3 is a circuit diagram of an inverted buck circuit in accordance with an embodiment of the present invention;
[0023] FIG. 4 is a graph of a current-sense voltage waveform in accordance with an embodiment of the present invention; [0024] FIG. 5 is a block-diagram model of inverted buck regulator dynamics without a compensated control loop in accordance with an embodiment of the present invention; and
[0025] FIG. 6 is a block-diagram model of inverted buck regulator dynamics with a compensated control loop in accordance with an embodiment of the present invention.
DETAILED DESCRIPTION
[0026] In various embodiments of the present invention, a regulator produces an output current ID that is independent of changes in an input voltage Vjn. In one embodiment, a dynamic compensator circuit (such as a "repetitive control" (RC) circuit or "iterative learning control" (ILC) circuit) analyzes periodic disturbances in the input voltage Vjn and actively compensates for them. In another embodiment, the input voltage Vjn is combined with a feedback control signal in such a way to cancel out the effects of any variation in Vm- . For example, a signal that includes an inverted version of Vjn may be created and multiplied against a PWM feedback signal (which may include a non-inverted version of Vm- ), thereby removing the dependence of V¼ on the PWM feedback signal and removing the dependence of the output current or voltage on Vjn.
[0027] Returning to the circuit 100 of FIG. 1, the PWM circuit 102 produces a rectangular- shaped waveform 104 that is passed to the controlled switching device S. The switch S assumes a first state (e.g., either "on" or "off) when the waveform 104 is at a first level (e.g., either "high" or "low") and assumes a second, opposite state when the waveform 104 is at a second level different from (e.g., opposite to) the first level. The configuration of circuit 100 allows the switching device S to be driven with reference to a common ground rail, thereby simplifying the switch drive circuitry. The PWM waveform 104 has a period of T seconds and is at a high value (e.g., 3 V) for ton seconds and at or near zero for tcff seconds such that T = ton + t0ff. The duty cycle D is therefore defined as:
which is the amount of time per period T that the waveform 104 is high. Subtracting the duty cycle D from unity gives the amount of time per period T that the waveform 104 is low or zero. (2)
[0028] When the switch S is closed for a duration ton, the current through the inductor L increases linearly according to the equation
— Ψ
[0029] When the switch S is open for a duration tcff, the stored energy in the inductor L is released through the diode Dl , the load resistance RL and the load capacitance C, according the equation
Figure imgf000009_0001
[0030] Under equilibrium conditions, the changes in inductor current during charging and discharging are equal (a state known as "voltseconds balance"). In other words, if the current in the inductor L increases by a certain amount during ton, it decreases by that same amount during tQff. In this state, the following condition holds:
Figure imgf000009_0002
This equation may be re-written as:
(6)
In addition, the output voltage V0 may be expressed in terms of the input voltage Vin and the load voltage VL:
Using equations (1), (6), and (7), the load voltage VL may be related to the input voltage Vjn:
[0031] Equation (8) reveals that the load voltage VL is directly proportional to the duty cycle D for a given input supply voltage Vin. As shown in FIG. 1 , the controller 108 may be designed to automatically adjust the PWM duty cycle D using measurements of either the output voltage Vo or the load current ID- An example of an application of the topology of the circuit 100 is a simple hysteretic circuit.
[0032] In one embodiment of the present invention, the load current ID through the load RL is controlled to remain constant. The load current ID may be expressed as:
Figure imgf000010_0001
[0033] Thus, given a constant load resistance RL and a constant supply voltage Vjn, the load current ID depends only on the duty cycle, D. If the load resistance RL varies, however, due to the addition or removal of load elements and/or to changes in the circuit environment, the load current ID is measured and the duty cycle D is adjusted accordingly to keep the load current ID constant and at its desired value. In a floating buck controller, the load current ID flows through the inductor in the controller, so measuring the inductor current IL is equivalent to measuring the load current ID.
[0034] FIG. 2 illustrates a graph 200 of an inductor current IL waveform 202 in which the inductor current IL is always nonzero (known as a continuous-conduction mode, or "CCM"). The waveform 202 varies from a minimum value Im and increases to a maximum value Ip during ton time periods; the waveform 202 decreases during periods of tcff back down to the minimum value Im (for a total change of AiL). The average current IL is given by:
Figure imgf000010_0002
where Im > 0 during CCM.
[0035] FIG. 3 illustrates a circuit 300 for regulating a current ID through a load RL. In this embodiment, the load RL is a string of LEDs 302; the load may be any load, however, such as an electronic circuit, computer system or component, or any other device that requires regulated current or voltage. Input power is received by the circuit 300 from an input source providing a voltage Vjn. An inductor L stores and releases power from the input voltage Vjn, and a diode Dl is used to discharge current through the inductor L. A load capacitor C may be placed in parallel with the load RL. The circuit 300 also includes a switch S controlled by a PWM circuit 304, which in turn is controlled by a controller 306 (which receives input from an analog-to-digital converter (ADC) 308). A resistor Rs converts a current Is to a voltage Vs, which is amplified by an amplifier 310 and filtered with an analog filter 312. The output of the analog filter 312 is digitized by the ADC 308.
[0036] In this embodiment, several of the components are implemented in digital logic, while others are or include analog components; the present invention is not limited to any particular implementation (analog, digital or mixed-signal), however, for any component or group of components. Here, the diode Dl may be a zener or other type of diode; the inductor L may be a coil or other type of inductor; the capacitor C may be a ceramic or electrolytic capacitor; and the switch S may be include or more MOSFETs, bipolar-junction transistors, or any other voltage- or current-controlled device capable of switching in response to a received input. The amplifier 310 may be an op amp or similar device; the analog filter 312 may include a resistor Rf and a capacitor Cf.
[0037] In this embodiment, the PWM circuit 304, controller 306, and ADC 308 are implemented using digital logic. For example, a microprocessor, FPGA, ASIC,
microcontroller, or other type of digital circuit may include logic gates and memory elements for implementing these components. Software and/or firmware instructions may be used in conjunction with the digital circuit(s) to implement the components. For example, the PWM circuit 304 may be a dedicated circuit on the microprocessor or it may be a general-purpose circuit that implements the functionality of a PWM system via the use of software and/or firmware instructions.
[0038] It should also be noted that embodiments of the present invention may be provided as one or more computer-readable programs embodied on or in one or more articles of manufacture. The article of manufacture may be any suitable hardware apparatus, such as, for example, a floppy disk, a hard disk, a CD ROM, a CD-RW, a CD-R, a DVD ROM, a DVD- RW, a DVD-R, a flash memory card, a PROM, a RAM, a ROM, or a magnetic tape. In general, the computer-readable programs may be implemented in any programming language. Some examples of languages that may be used include C, C++, or JAVA. The software programs may be further translated into machine language or virtual machine instructions and stored in a program file in that form. The program file may then be stored on or in one or more of the articles of manufacture.
[0039] In other embodiments, the analog components may be replaced by using digital logic, or vice-versa. For example, the analog filter 312 may be implemented as a digital filter, or the PWM circuit 304 may be an analog circuit. The present invention is not limited to any particular implementation or design choices. It should also be noted that the presence of a control loop can, in some circumstances, permit omission of the capacitor C; the result, however, will be more flicker since the filter order decreases.
[0040] In the embodiment illustrated in FIG. 3, as mentioned above, a resistor Rs is inserted in series with the switch S. The resistor Rs produces a voltage proportional to the current Is flowing in the switch circuit (and hence also through the resistor Rs) as shown in FIG. 4. The voltage Vs across the resistor Rs is referenced to ground potential, and thus its average value may be measured more easily than that of the inductor current IL. The average of the current Is flowing through the sense resistor, Rs, is given by
* ~ 2 (I D which shows a dependence of Is on the duty cycle D. The voltage across the current sense resistor Rs is: v; =
(12) and the average value of Vs is thus given by: ψ D(Vm + Vp) DR,{Im * fp}
01 ~ ·> ~ -?
(13)
[0041] A graph 400 of a waveform 402 of the average value of the voltage Vs across the sense resistor Rs appears in Figure 4. From equation (8), the average current in the inductor is:
-r- \ -- )
-——
(14)
Because the load current always flows through the inductor, average ID = average II, SO:
> D = -— = 4 = *
(15)
The average voltage across Vs is: (16) so that:
Vs :=== .: /> >.'. === 7atj.D¾
(17) where Iav is the average load current. A measurement of average Vs therefore gives average ID according to:
DR.,
(18)
[0042] Referring to FIGS. 3 and 4, an amplifier 310 amplifies the voltage Vs across the sense resistor Rs; the amplified voltage is filtered with an analog filter 312. As explained in greater detail below, the controller 306 may implement a digital-control algorithm for comparing the amplified, filtered, and digitized signal to a reference and generate a control signal for the PWM accordingly.
[0043] FIG. 5 shows a block diagram of a control-loop representation 500 of the regulator 300 shown in FIG. 3. In this embodiment, an amplifier block 504 represents the amplifier 310 of FIG. 3, an analog filter block 506 represents the analog filter 312, and the microprocessor 502 implements the PWM circuit 304, controller 306 (which may correspond to the dynamic compensator 510), and ADC 308.
[0044] The voltage Vs across the current-sensing resistor Rs is amplified using an amplifier 504 having a gain KA and then filtered by a first-order RC analog filter 506 that includes a resistor Rf and a capacitor Cf. Any type or order of filter 506 is within the scope of the present invention, however. The filter 506 may have unity DC gain and a cutoff frequency of a radians per second, where:
RfCf ( 1 )
[0045] The filter 506 filters out any high-frequency component(s) of the switching frequency to provide a smoothed and scaled version of the average value of current Is. The filter 506 also acts as an anti-aliasing filter for the digital control loop, explained in greater detail below. An ADC 508 converts the amplified and smoothed signal from Vs into a binary voltage for use by the digital control algorithm implemented in (e.g.) firmware inside the microprocessor 502. In other embodiments, as described above, the digital-control algorithm components implemented using the microprocessor 502 are implemented using analog circuitry, in which case, no ADC would be required.
[0046] The values of Rs, RL, and KA are known because they may be determined from the properties of the chosen devices, as is the duty cycle D, because it is a parameter determined by the controller 306. The ADC 308 takes samples of the filtered voltage at uniform time intervals of Ts seconds and converts the filtered voltage to a sequence of binary values. The values from the ADC are subtracted (using a subtracter/comparator 516) from a setpoint value ISp, which represents the desired load current, to form an error signal E(z). A discrete-time controller algorithm block 510 implements a z-domain transfer function G(z) and processes the error signal E(z) to produce an actuation signal U(z), which is fed to the PWM module 512. The PWM module 512 produces a rectangular-shaped signal (or any other type or shape of signal suitable for controlling the switch S), as discussed above. A zero-order-hold ("ZOH") block 514 is associated with the ADC and is included in the model 500 to represent the discrete-time updating of the value of D (in accordance with a sampling frequency Ts) and does not necessarily correspond to a real- world component in FIG. 3.
[0047] The analog filter 506 produces an output proportional to the average of its input; the filtered voltage VF at the input to the ADC 506 is thus given by:
Vr ^ MM (20)
The gain-bandwidth product of the amplifier 504 must be sufficiently high so that its frequency response is flat over the range of the bandwidth of the control loop illustrated in FIG. 5.
[0048] The transfer function from the duty cycle signal D to the input voltage VF at the ADC 506 is given by:
Figure imgf000014_0001
where the variable s is the Laplace transform operator in the ^-domain. [0049] The cutoff frequency of the analog filter may be lower in frequency than the sampling rate of the controller but higher than that of the rate of fluctuation of V¼ (which may occur at 120 Hz for a full-wave rectified 60 Hz mains input voltage Vjn). For example, the filter 506 may have a cutoff frequency of 1200 Hz with an ADC sampling rate of 10 kHz. With these or similar design parameters of the filter 506, VF may be approximately constant between the sampling instants. Therefore, the low-frequency gain of the transfer function in Equation (21) is also approximately constant and is given by:
A -—
(22) which, when applied to Equation (21), yields:
Figure imgf000015_0001
The feedback path gain, H, at low frequencies varies directly with respect to Vjn:
(24)
[0050] In various systems, as discussed above, Vjn includes a time-varying component that negatively impacts the feedback-path gain by causing it to vary as well. For example, the input voltage Vjn may be generated using a full-wave rectifier that is powered using a 60 Hz alternating-current (AC) voltage source supplied by, for example, a power transformer. The full-wave rectified signal may be filtered by smoothing capacitors to produce a DC pulsating voltage waveform having an amplitude that undulates at a frequency of 120 Hz. Hence the changing value of the voltage Vjn acts to modulate the loop gain, which adversely affects the regulation performance over each half cycle of the 60 Hz mains voltage. At high values of Vjn, for example, the loop gain will be high, providing high-accuracy current regulation. As Vjn drops, however, the regulation performance degrades, perhaps to an unacceptable level. For a 12 V AC power supply, for example, Vin could vary from 17 V at the peak of the rectified waveform to a value at or near zero volts, depending on (for example) the size of a supply-rail smoothing capacitor.
[0051] Because the loop gain modulated by Vjn represents a periodic disturbance in the rectified AC input voltage case, as described above, this periodic disturbance may be reduced or eliminated by the compensator 510 producing a counteracting modulation signal based on the desired current ISp to change the load current ID in such a way that the unwanted periodic disturbance is cancelled. For example, the compensator 510 may implement an iterative- learning control ("ILC") system, a repetitive-control ("RC") system, or a run-to-run control ("R2R") system.
[0052] In general, ILC and RC controllers are adaptive controllers that adjust a control action, u, for a repetition j, by synthesizing a suitable actuation sequence based on a tracking error measured in a prior repetition (j - 1). Unlike ordinary adaptive controllers, which adjust controller parameters such as gain and polynomial coefficients, ILC and RC controllers modify the actuation signal of the control system directly. ILC and RC controllers may compensate for the effects of disturbances if they are the same for every repetition, because the system learns from previous iterations and injects correction signals via feed-forward. By contrast, a non- learning controller produces the same tracking error on each pass of the repetition because no such changes are made. ILC/RC systems do not require that the reference or disturbance signals be known or measurable, only that these signals remain unchanged from iteration to iteration. ILC systems may be most appropriate for batch processes (in which a procedure is performed and then stops after which it is repeated again at a later time); RC systems may be most appropriate for continuous processes (in which a procedure is performed repeatedly over and over again without any pause between the iterations). For a batch process, the initial conditions are set to the same value at the start of each step; in a continuous process, the final conditions of the previous repetition become the initial conditions for the present repetition. Control theories, including RC and ILC methodologies, are well understood and described in, for example, "The Internal Model Principle of Control Theory" by Francis B. A. and Wonham W. M., (Automatica, vol. 12, pp 457^-65, 1976); "Survey of iterative learning control, repetitive control and run-to-run control" by Wang Y., Gao F., and Doyle F. J., (Journal of Process Control, vol 19, pp 1598-1600, 2009); "Iterative learning control and repetitive control for engineering practice" by Longman R. W., (International Journal of Control, vol. 73, no. 10, pp 930-954, 2000); and "A Survey of Iterative Learning Control" by Bristow D. A., Tharayil M. and, Alleyne A. G., (IEEE Control Systems Magazine, pp 96-114, June 2006), which are hereby incorporated by reference in their entireties. [0053] In general, a discrete-time control system may be described by the state space formulation given below in Equations (25) and (26): x(k) = Ax(k - l) + Bu(k - l) + w(k - l) (25) y(k) = Cx(k) (26) where x(k) is the state vector, u(k) is the input vector, y(k) is the output vector, w(k) is a disturbance sequence, and k is the discrete-time sample number (1 , n). A repetition may be represented using a collection of vectors, each having a total of n samples. The vectors may be of finite-time duration, in contrast to the more usual infinite duration vectors in ordinary control system analysis. The disturbance w(k) describes any repeating deterministic disturbance sequence. Such a disturbance is not confined to signals such as sinusoids; it may be a time-indexed sequence of any arbitrary shape, provided that it is identical (or
approximately so) for every repetition.
[0054] An ILC system may account for an error via the use of a "learning matrix." A typical ILC learning law is of the form u(j + l, k) = u(j, k) + Le(j, k) (27) where L is the learning gain matrix. Equation (5) shows that the actuation sequence for the iteration (j + 1) is the same as that for the previous iteration, j, but with a correction factor added that depends on the error sequence of the A iteration. The vectors u(j, k) and e(j, k) are each filled with n samples (for k = 1 to n) of the actuation and error sequences, respectively, for repetition number j. The ILC control algorithm then calculates the actual control input actuation sequence u(j + 1, k) for repetition (j + I) for all the k values up to n.
[0055] The control law of equation (27) may be represented for a plant described by y(j, k) = P(q)u(j, k) + d(k) (28) where P(q) is the discrete-time plant transfer function, P(z), in the corresponding time domain difference equation notation, with q being the forward shift operator such that qu(k) = u(k + 1). The sequence d(k) is the repetitive disturbance entering the system.
[0056] If the learning matrix is chosen correctly and the system is asymptotically stable, the error signal decays to zero with time. In this situation, the shape of the actuation sequence (or signal), u, will be such that the repetitive disturbance occurring each iteration will be cancelled during each pass. The behavior of the error from one repetition to the next, follows the equation
e(j, k) = (I - PL)e(j - 1, k) (29) which may be expanded out from the initial iteration e(0, k) as
e(j, k) = (I - PL e(0, k) (30)
To ensure that asymptotic convergence to zero of the error occurs, it is generally necessary to ensure that all the eigenvalues of the matrix (I - PL) are less than unity, i.e.
Figure imgf000018_0001
The simplest practical ILC control law is a proportional type where L is simply a gain. A non- causal control law of the form
u(j + l, k) = u(j, k) + Le(j, k + 1) (32) is implementable in practice because, when calculating u(j+l, k) for iteration (j+1 ), the entire data set of sequences for u(j, k) and e(j, k) are available, because they are stored in memory, so we have access to the error at sample time (k + 1). The error at time step k for iteration j is given by
e(j, k) = yd(k) - P(q)u(j, k) - d(k) (33) and therefore
e(j, k + l) = yd(k + I) - P(q)u(j, k + I) - d(k + I) (34) so e(j, k + I), which is available when u(j + 1, k) is calculated, may be regarded as a prediction or anticipation of the disturbance at time step (k + I), that is, it anticipates the disturbance d(k + I). A more general learning control law is given by
(j + h k) = Q(q) [u(j, k) + L(q)e(j, k + I)] (35)
In this case, we have a dynamic learning gain matrix L(q) and an additional filter Q(q) to help with asymptotic stability. For this system, convergence and asymptotic stability is achieved only if
\ \ i(Q(I - LP)) k \ \ < l Vi (36) [0057] RC systems may be applicable to situations in which continuous repetitive processes occur, such as a continuous, uniform disturbance in an input voltage Vjn. RC systems may deal with the frequency domain and be based on the use of the Internal Model Principle, which roughly states that, to completely reject a disturbance or perfectly track an input trajectory, the control loop must contain a model of the disturbance or input signal. Consider the following simple discrete-time transfer function:
A sampled signal sequence of length N samples for a duration of T seconds can be made to repeat with period T seconds by passing it through a filter H(z). Using the Internal Model Principle, if the disturbance is a pure sinusoid, a model of this sinusoid is included in the control system. Such a system is a special case of the repetitive generator of Equation (37). Other design techniques can also be used to design the control system using many "modern control" theory methods, as one of skill in the art will understand; these other control theories are all within the scope of the present invention. The parameters oi L(q) and Q(q) may be designed to ensure overall system stability and convergence of the tracking error for repetitive disturbances.
[0058] The present invention is not limited to any particular type of compensator 510 or any particular number or arrangement of components therein; one of skill in the art will understand that the functionality of the compensator 510 may be implemented in a variety of ways (e.g., as an RC system, an ILC system, and/or a combination RC/ILC system selectable by the compensator or a higher-level control system based on analysis of the disturbance pattern).
[0059] In another embodiment of the present invention, the influence of Vjn is removed from the control loop and hence the output current ID. FIG. 6 illustrates a system 600 in which the microprocessor 502 of FIG. 5 is modified to measure a value of Vm- and compensate for its influence. A resistive potential divider 602, including resistors Ri and R2, is connected between Vjn and ground and is used to obtain a scaled version of the Vjn value. The scale factor β is given by
Figure imgf000020_0001
In other embodiments, Vjn is scaled by other means (an active-device circuit, for example) or is unsealed.
[0060] The scaled voltage [3Vm may be sampled by an additional sampler 604 and ADC 606. The second sampler 604 and ADC 606 may run at the same sampling rate Ts as the first ADC 508 and thereby provide output values sequentially within each sampling period.
Alternatively, because the sampling rate for use with the first ADC 508 may be chosen to be much higher than 120 Hz, a different, slower sampling rate may be used with the second ADC 606 for gathering the slower-changing V¼ values. This slower sampling rate may be, for example, 500 Hz. In another embodiment, the first ADC 508 is modified to include multiple channels that may be multiplexed to sample and convert two values in an interleaved or time- multiplexed fashion (at the same or different sampling rates) and thus combine the
functionality of both the first 508 and second 606 ADCs.
[0061] The sampled values produced by the second sampler 604 and the second ADC 606 are passed to a computation block 608 that computes a value Kc that corresponds to a reciprocal value of V , thereby introducing a nonlinear cancellation gain in the overall loop gain expression. In one embodiment, Kc = 1 / Vjn; in other embodiments, Kc is proportional to 1 / Vin- A multiplier 610 multiplies the value output from the first ADC 508 with the
compensation gain Kc to thereby produce a signal that no longer has a component of Vjn (i.e., a signal that does not depend on Vjn). The output of the multiplier 610 is then subtracted from the current setpoint ISp with the subtracter 516. Thus, the transfer functions between VF and V3 and hence between the PWM output and V3 will be constant and independent of Vin.
[0062] The computation block 608 may include a digital multiplier, divider, accumulator, adder/subtracter, or any other type of computational circuitry. Referring again to FIG. 3, the computation block may be implemented using the controller 306 or with a second controller. As stated above with reference to the controller 306, the computation block may be implemented using any combination of analog or digital circuitry, software, and/or firmware.
[0063] In one embodiment, to prevent a division by zero occurring in the event that Vjn reaches zero, the algorithm in the computation block 608 includes a test for this condition (e.g., an if-then statement in firmware code) and, if it is encountered, sets the value of the gain to a predetermined maximum allowable value.
[0064] Certain embodiments of the present invention were described above. It is, however, expressly noted that the present invention is not limited to those embodiments, but rather the intention is that additions and modifications to what was expressly described herein are also included within the scope of the invention. Moreover, it is to be understood that the features of the various embodiments described herein were not mutually exclusive and can exist in various combinations and permutations, even if such combinations or permutations were not made express herein, without departing from the spirit and scope of the invention. In fact, variations, modifications, and other implementations of what was described herein will occur to those of ordinary skill in the art without departing from the spirit and the scope of the invention. As such, the invention is not to be defined only by the preceding illustrative description.
[0065] What is claimed is:

Claims

1. A system for regulating an output voltage or current given an input voltage, the system comprising:
an analog-to-digital converter for sampling a signal representing a load current or voltage;
a digital controller for:
i. detecting a time-varying disturbance in the input voltage; and ii. generating a compensating signal based at least in part thereon; and a modulator for varying the load current or voltage based at least in part on the compensating signal to thereby substantially remove effects of the time-varying disturbance therefrom.
2. The system of claim 1 , wherein the modulator is a pulse-width modulator in an inverted floating Buck regulator circuit.
3. The system of claim 1, wherein the digital controller comprises at least one of a repetitive controller, an iterative-learning controller, or run-to-run controller.
4. The system of claim 1 , wherein the digital controller implements a transfer function for generating the output signal.
5. The system of claim 1, further comprising a current-sense resistor for translating the output current to a voltage.
6. The system of claim 1, further comprising a filter for removing high-frequency components of the signal representing the load current or voltage.
7. The system of claim 1, further comprising an amplifier for amplifying the signal representing the load current or voltage.
8. The system of claim 2, further comprising a switch for varying the load current or voltage based on an output of the pulse-width modulator.
9. The system of claim 1, wherein a source of the time-varying disturbance comprises a power transformer or a rectifier.
10. The system of claim 1, further comprising an LED light source for generating light, the output voltage or current being applied thereto.
11. A system for regulating an output voltage or current, the system comprising:
inverting floating Buck regulator circuitry for controlling the voltage or current through a load;
a pulse-width modulator for operating the Buck regulator circuitry; and
a digital controller for:
i. detecting a time-varying disturbance in the input voltage; and ii. varying a duty cycle of the pulse-width modulator to substantially
remove effects of the time-varying disturbance from the output voltage or current.
12. A method for regulating an output voltage or current given an input voltage, the method comprising:
sampling a signal representing a load current or voltage;
detecting a time- varying disturbance in the input voltage;
generating a compensating signal based at least in part thereon; and
varying the load current or voltage based at least in part on the compensating signal to thereby remove effects of the time-varying disturbance therefrom.
13. The method of claim 12, wherein a source of the time-varying disturbance comprises a power transformer or a rectifier.
14. The method of claim 12, wherein the time-varying disturbance repeats periodically.
15. The method of claim 12, wherein generating the compensating signal comprises synthesizing an actuation sequence in a current repetition based on a tracking error detected in a prior repetition.
16. The method of claim 12, wherein generating the compensating signal comprises generating a model of the time-varying disturbance.
17. The method of claim 10, wherein the compensating signal varies a duty cycle of a
A/76546676.1 pulse-width modulator that varies the load voltage or current.
18. A system for regulating an output voltage or current given an input voltage, the system comprising:
a first analog-to-digital converter for sampling a signal representing a load current or voltage;
a second analog-to-digital converter for sampling a signal representing an input voltage; a digital controller for:
i. generating a signal representing an inverted version of the sampled signal representing the input voltage;
ii. multiplying the signal representing the inverted version of the input voltage with the sampled signal representing the load current or voltage to thereby remove a dependency of the load current or voltage on the input voltage; and
iii. generating a feedback signal based at least in part on the multiplication, the feedback signal being independent to changes in the input voltage; and
a pulse-width modulator for varying the load current or voltage based on the feedback signal.
19. The system of claim 18, further comprising a resistor divider for generating the signal representing an input voltage.
20. The system of claim 18, wherein the first and second analog-to-digital converters are time-multiplexed portions of one analog-to-digital converter.
21. The system of claim 18, wherein the digital controller comprises at least one of a repetitive controller, an iterative-learning controller, or run-to-run controller.
22. The system of claim 18, wherein the digital controller implements a transfer function for generating the output signal.
23. The system of claim 18, further comprising a current-sense resistor for translating the output current to a voltage.
24. The system of claim 18, further comprising a filter for removing high-frequency components of the signal representing the load current or voltage.
25. The system of claim 18, wherein the digital controller further detects when the input voltage is zero and prevents a division-by-zero error.
26. A method for regulating an output voltage or current given an input voltage, the method comprising:
sampling a signal representing a load current or voltage;
sampling a signal representing an input voltage;
generating a signal representing an inverted version of the sampled signal representing the input voltage;
multiplying the signal representing the inverted version of the input voltage with the sampled signal representing the load current or voltage to thereby remove a dependency of the load current or voltage on the input voltage;
generating a feedback signal based at least in part on a result of the multiplication, wherein the feedback signal is independent to changes in the input voltage; and
varying the load current or voltage based on the feedback signal.
27. The method of claim 26, wherein a source of the time-varying disturbance comprises a power transformer or a rectifier.
28. The method of claim 26, wherein the time-varying disturbance repeats periodically.
29. The method of claim 26, further comprising generating the signal representing the input voltage by scaling the input voltage.
30. The method of claim 26, wherein generating the feedback signal comprises synthesizing an actuation sequence in a current repetition based on a tracking error detected in a prior repetition.
31. The method of claim 26, wherein generating the feedback signal comprises generating a model of the time-varying disturbance.
32. A system for regulating an output voltage or current, the system comprising:
A/76546676.1 a terminal for receiving an input voltage; and
control loop circuitry having a loop gain controlling the output voltage or current, the control loop circuitry including a nonlinear element holding the loop gain substantially constant notwithstanding variations in the input voltage.
PCT/US2014/066364 2013-11-19 2014-11-19 Output regulation with dynamic digital control loop compensation Ceased WO2015077312A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
US14/083,731 US8975826B1 (en) 2013-11-19 2013-11-19 Output regulation with dynamic digital control loop compensation
US14/083,784 US9209689B2 (en) 2013-11-19 2013-11-19 Output regulation with nonlinear digital control loop compensation
US14/083,731 2013-11-19
US14/083,784 2013-11-19

Publications (1)

Publication Number Publication Date
WO2015077312A1 true WO2015077312A1 (en) 2015-05-28

Family

ID=53180091

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2014/066364 Ceased WO2015077312A1 (en) 2013-11-19 2014-11-19 Output regulation with dynamic digital control loop compensation

Country Status (1)

Country Link
WO (1) WO2015077312A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108736716A (en) * 2018-06-22 2018-11-02 武汉理工大学 A kind of digital imitative current controller and its control method of DC/DC converters
CN111665890A (en) * 2019-03-08 2020-09-15 深圳市必易微电子有限公司 Floating type constant voltage circuit
CN114879796A (en) * 2022-06-24 2022-08-09 北京芯格诺微电子有限公司 Digital-analog mixed low dropout linear voltage regulator capable of realizing output voltage regulation

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5438505A (en) * 1991-02-05 1995-08-01 Lambda Electronics, Inc. Adaptive control method for power converters
US20060119336A1 (en) * 2004-12-08 2006-06-08 Kiawe Forest, Llc Adaptive digital voltage regulator
EP2299577A1 (en) * 2009-09-18 2011-03-23 DET International Holding Limited Digital slope compensation for current mode control
US8288953B1 (en) * 2010-01-19 2012-10-16 Texas Instruments Incorporated Buck constant average current regulation of light emitting diodes

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5438505A (en) * 1991-02-05 1995-08-01 Lambda Electronics, Inc. Adaptive control method for power converters
US20060119336A1 (en) * 2004-12-08 2006-06-08 Kiawe Forest, Llc Adaptive digital voltage regulator
EP2299577A1 (en) * 2009-09-18 2011-03-23 DET International Holding Limited Digital slope compensation for current mode control
US8288953B1 (en) * 2010-01-19 2012-10-16 Texas Instruments Incorporated Buck constant average current regulation of light emitting diodes

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
H. S. BAE ET AL.: "Digital state feedback control and feed-forward compensation for a parallel module DC-DC converter using the pole placement technique", APPLIED POWER ELECTRONICS CONFERENCE AND EXPOSITION, APEC 2008. TWENTY-THIRD ANNUAL IEEE, 24 February 2008 (2008-02-24), AUSTIN, TEXAS, pages 1722 - 1727, XP031253485 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108736716A (en) * 2018-06-22 2018-11-02 武汉理工大学 A kind of digital imitative current controller and its control method of DC/DC converters
CN108736716B (en) * 2018-06-22 2023-11-28 武汉理工大学 A digital imitation current controller for DC/DC converter and its control method
CN111665890A (en) * 2019-03-08 2020-09-15 深圳市必易微电子有限公司 Floating type constant voltage circuit
CN114879796A (en) * 2022-06-24 2022-08-09 北京芯格诺微电子有限公司 Digital-analog mixed low dropout linear voltage regulator capable of realizing output voltage regulation
CN114879796B (en) * 2022-06-24 2022-10-21 北京芯格诺微电子有限公司 Digital-analog mixed low dropout linear voltage regulator capable of realizing output voltage regulation

Similar Documents

Publication Publication Date Title
US8975826B1 (en) Output regulation with dynamic digital control loop compensation
US9209689B2 (en) Output regulation with nonlinear digital control loop compensation
US7719248B1 (en) Discontinuous conduction mode (DCM) using sensed current for a switch-mode converter
CN102957320B (en) Digital controller for dc/dc converters
CN103513685B (en) Current mode voltage regulator with auto-compensation
US10396655B2 (en) Power factor correction circuit, control method and controller
US9515642B2 (en) Pulse modulation control in a DC-DC converter circuit
JP7216650B2 (en) X-ray source device for generating X-ray radiation
US20110101937A1 (en) Voltage Regulator with Virtual Remote Sensing
TWI551020B (en) Power converter with average current limiting
US9906125B2 (en) Power circuit with switching frequency control circuit and control method thereof
US10361554B1 (en) Techniques for determining inductances
KR101389639B1 (en) On-time compensation for switching power converters
WO2015077312A1 (en) Output regulation with dynamic digital control loop compensation
CN111431401B (en) Method and device for stably controlling power converter
Hagen et al. Applying digital technology to PWM control-loop designs
Shehada et al. Comparison of relay feedback tuning and other tuning methods for a digitally controlled buck converter
US9516719B2 (en) Active flicker cancellation in lighting systems
Platon et al. Simple and digital implementation of PI controller used in voltage-mode control
US7315150B1 (en) Method of power conversion and apparatus which achieves high power factor correction using ripple current mode control
WO2014011738A2 (en) Tracking converters with input output linearization control
CN112350574B (en) Digital Fixed On-Time Controller for DC Converters
Condon et al. Control of limit cycles in buck converters
Baki Modelling and control of DC to DC converter (buck)
Ghosh et al. A Novel Approach to Control a DC-DC Converter Using its Empirical Physical Model

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14863950

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14863950

Country of ref document: EP

Kind code of ref document: A1