This invention relates to improved control systems and methods for switch mode power supplies. A preferred embodiment of the present invention is referred to by the inventors as “LeftBrane”.
A generalised switch mode power supply comprises an energy transfer device for transferring energy cyclically from an input to an output of a power supply (in a flyback regulator design), a switching device coupled to the input of the power supply and to the energy transfer device, and a control system for controlling the switching device in response to a feedback signal to regulate the output voltage of the power supply by regulating the energy transferred per cycle. The switch has two states, a first state in which energy is stored in the energy transfer device, and a second state for transferring the store energy to the power supply output. Typically the energy transfer device comprises an inductor or transformer and the switching device is controlled by a series of pulses, the transfer of power between the input and the output of the power supply being regulated by either pulse width modulation or pulse frequency (period) modulation. The data sheet for the iWatt iW2201 power supply controller also describes pulse “density” or rate modulation (which is similar to pulse Frequency modulation).
There are many ways of deriving a feedback signal for the control system to regulate the power supply—for example if a transformer is used as the energy transfer device an additional or auxiliary winding on the transformer can be used to sense the reflected second voltage, which approximates to the power supply output voltage. Alternatively some form of more direct feedback from the power supply output may be employed, generally in the case employing some form of isolation between the output and input such as an opto-isolator or pulse transformer.
In this specification we will refer to two modes of operating a switch mode power supply control system, a static mode in which feedback is from the secondary or output side of the power supply, typically monitoring the dc output voltage or some other secondary side voltage dependent thereon, and a dynamic mode which infers a voltage at the output side of the power supply by sensing the state of the energy transfer device, for example by using an auxiliary winding as described above.
Background prior art relating to dynamic mode sensing can be found WO 03/047079, US 2003/0132739, US 2003/0128018, US 2004/0037094, US 2004/0052095, US 2002/0001204, U.S. Pat. No. 4,975,823, U.S. Pat. No. 5,936,852 and JP03/265462A.
When switch 20 is opened there is some initial high frequency noise and ringing in the secondary voltage after which this settles down to an approximately constant (but slightly decaying) plateau whilst the secondary current ramps down to zero. As the secondary current approaches zero the plateau voltage reaches a knee where it falls off steeply to zero; this is then followed by further ringing resulting from self resonance in the transformer in combination with stray capacitance including the off-capacitance of the switch. The output voltage is approximately equal to the plateau voltage of the secondary less a diode drop and resistance losses. These losses are most accurately determined by measuring the plateau voltage shortly before the knee, as described in the prior art, for example US 2004/0052095 (paragraphs 49 to 60 of which hereby incorporated by reference), for example, by measuring back a fixed time off set from the point at which the secondary voltage falls to zero.
Separately to the above-described static and dynamic mode circuit configurations switch mode power supplies are commonly described as working in either a continuous conduction mode (CCM) or in a discontinuous conduction mode (DCM). In DCM the energy stored in the energy transfer device falls to substantially zero between power switching cycles; where the energy transfer device comprises a transformer then the secondary current goes to approximately zero between each cycle. By contrast in CCM the energy transferred in one cycle depends upon that transferred in previous cycles, and where the energy transfer device comprises a transformer the secondary current rarely or substantially never falls to zero. A critical conduction mode is also sometimes referred to in which, to the arrangement of
A control system for a switch mode power supply capable of operating in both discontinous (DCM) and discontinuous (CCM) conduction modes would be of benefit.
According to a first aspect of the present invention there is therefore provided a control system for a switch mode power supply (SMPS), the SMPS having a input side for receiving a power supply input and an output side for providing a dc output voltage, said input and output side of said SMPS being coupled by a transformer, the control system having two operating modes, a first mode for regulating an output voltage of the power supply responsive to a feedback signal derived from a dc voltage on said power supply output side dependent upon said output voltage, and a second mode for regulating an output voltage of the power supply responsive to a feedback signal derived from an auxiliary winding of said transformer, said control system having a feedback input to receive a said feedback signal, a control output for regulating said output voltage, and a mode selector coupled to said feedback input to select one of said first and second control system operating modes responsive to said feedback signal.
Broadly speaking, therefore, the first operating mode of the control system corresponds to the above described static mode and the second operating mode to a dynamic operating mode. Preferably the control system is implemented digitally and operates on a per power switching cycle basis, that is re-evaluating the control output each power switching cycle. In embodiments automatic detection and selection of static and dynamic operating modes to support primary and secondary (input and output) side sensing modes facilitates provision of a versatile control system, for example as an integrated circuit, which may easily be incorporated into a wide variety of different switch mode power supply designs.
In preferred embodiments the feedback signal is digitised and the first or static mode is selected if no transition in the digitised signal are detected for a number of power switching cycles. The presence of oscillations in the feedback signal or transitions in the digitised signal can be used to select the second or dynamic mode. Additionally or alternatively the dynamic mode may be set by comparison of the feedback signal with respect to a zero voltage reference level since the ringing in the secondary output voltage after this has fallen to zero is reflected back to the auxiliary winding and can thus drive the feedback signal below nought volts.
In preferred embodiments the control output is responsive to a value of the feedback signal at a sampling time and the control system is configured to select the sampling time responsive to the operating mode. Preferably in the static mode the feedback signal is sampled at a time when a current in an input or primary side winding of the transformer is at or near it's peak value. In the dynamic mode the feedback signal is preferably sampled at a time having a substantially fixed backwards offset from a time when a current in an output or secondary side winding of the transformer is substantially zero. The backwards offset need not necessarily be fixed but since the frequency of the ringing does not change there is no need to vary the offset. In static mode the time for sampling the feedback signal (or a signal derived from this) may be determined from a drive signal driving a switching device, as previously described, switching power to the input or primary side winding of the transformer.
In preferred embodiments the control output comprises a digital signal output, for example a bus, and the feedback signal is digitised prior to sampling. More particularly the sampled digitised feedback signal is preferably derived from a comparison of the feedback signal with a reference level (this reference level may take account of diode and other losses in the secondary or output side of the power supply). In particularly preferred embodiments the control system also includes a current sense input to receive a current sense signal which is combined with the feedback signal for the comparison so that the comparator in effect makes a comparison of the feedback signal plus a current sense signal with the reference (although in embodiments, for convenience, the actual comparison may be between a combination of a voltage reference and current sense signal and the feedback signal, to achieve the same overall effect. Preferably the current sense signal is responsive to a current following in the switch mode power supply input side to provide power to the energy transfer device (or transformer) during the first part of a power switching cycle. The current sense signal may comprise, for example a voltage across a current sense resistor in the primary circuit of the transformer.
Thus in another aspect the invention provides a control system for a switch mode power supply (SMPS), the SMPS having an input side for receiving a power supply input and an output side for providing a dc output voltage, said input and output sides of said SMPS being coupled by an energy transfer device, said control system having a feedback input to receive a feedback signal responsive to said dc output voltage, and a control output for regulating said output voltage, said control system further comprising a current sense input to receive a current sense signal, and wherein said control system is configured to output a control signal dependent upon a combination of said feedback signal and said current sense signal for regulating said output voltage.
Preferably the control system is configured such that the switch mode power supply operates in a continuous induction mode. Preferably, as previously mentioned, a digital signal is generated internally by comparing a combination of the feedback signal, current sense signal and a reference level to, in effect, determine whether the feedback signal plus a proportion of the current sense signal is greater or less than a reference value. This provides a digital, preferably 1 bit value which may be sampled at intervals to determine whether more or less energy is to be supplied to the energy transfer device each power switching cycle. Optionally the length of a pulse of this digital comparator output may be employed additionally or alternatively to determining whether the combination of the feedback signal and current sense signal is above or below the reference level at a sampling time.
In a related aspect the invention also provides a method of controlling a switch mode power supply (SMPS), the SMPS having an input side for receiving a power supply input and an output side for providing a dc output voltage, said input and output sides of said SMPS being coupled by an energy transfer device, the method comprising: receiving a feedback signal responsive to said de output voltage; receiving a current sense signal responsive to a current flowing in said SMPS input side and providing power to said energy transfer device; and controlling said SMPS output voltage responsive to a combination of said feedback signal and said current sense signal.
The invention further provides a control system for a switch mode power supply, the SMPS having a input side for receiving a power supply input and an output side for providing a de output voltage, said input and output side of said SMPS being coupled by a transformer, the control system having a feedback input to receive a feedback signal (FB) responsive to a voltage in said output side of said SMPS, and a control output to provide a control signal (DEMAND) for regulating said dc output voltage, the control system further comprising a first comparator coupled to said feedback input to compare a signal from said feedback input with a first reference level to provide a first digitised signal (FLY), and a second comparator with a second reference level to provide a second digitised signal (FBD), and a control system to provide said control signal responsive to said first and second digitised signals.
As previously mentioned the feedback signal may be derived either statically, for example from the dc output power supply, preferably using some form of isolation, or dynamically, for example from an additional or auxiliary transformer winding. In preferred embodiments the control system further comprises a first store or fifo coupled to an output of the first comparator to store a history of the first digitised signal, the sampling time being dependent upon this history. This may be used to identify transitions for selecting a static or dynamic mode of operation and may also be used in the determination of dynamic mode sample timing. A similar store or fifo is preferably also provided for the second comparator (the FBD signal) since this facilitates going back in time from an edge of the first digitised signal (FLY) in a dynamic mode of operation as the FLY edge is later than the FBD edge. Further preferably, as previously mentioned, the feedback signal is combined with the signal from a current sense input to generate the second digitised signal.
The invention further provides a switch mode power supply (SMPS) controller for a SMPS having an input side for receiving a power supply input and an output side for providing a dc output voltage, said input and output sides of said SMPS being coupled by a transformer, the controller having two operating modes, a first mode for regulating an output voltage of the power supply responsive to a feedback signal derived from a dc voltage on said power supply output side dependent upon said output voltage, and a second mode for regulating an output voltage of the power supply responsive to a feedback signal derived from an auxiliary winding of said transformer.
In a related method the invention provides a method of implementing a control system for a switch mode power supply (SMPS), the SMPS having a input side for receiving a power supply input and an output side for providing a dc output voltage, said input and output side of said SMPS being coupled by a transformer, the method comprising: providing two control system operating modes, a first mode for regulating an output voltage of the power supply responsive to a feedback signal derived from a dc voltage on said power supply output side dependent upon said output voltage, and a second mode for regulating an output voltage of the power supply responsive to a feedback signal derived from an auxiliary winding of said transformer; receiving a said feedback signal; selecting one of said first and second control system operating modes responsive to said feedback signal; and outputting a control signal for regulating said SMPS output voltage to implement said control system in accordance with said selected operating mode.
Aspects of the invention also provide a control system for a switch mode power supply configured to operate in accordance with the above described methods and including means for implementing these methods.
The above described control systems and signal processors may be implemented in dedicated hardware including, for example, an integrated circuit such as an ASIC (application specific integrated circuit) or FPGA (field programmable gate array) or in software, or in a combination of two.
Thus in a further aspect the invention provides processor control code, in particular on a carrier, for implementing the above described control systems and signal processor. The carrier may comprise any conventional data carrier such as a disk, CD- or DVD-ROM, programmed memory such as read only memory (firmware) or a data carrier such as an optical or electrical signal carrier. The processor control code may comprise a code and/or data in a conventional programming language such as C, or microcode, or code for setting up or controlling an ASIC or FPGA, or RTL code, or code for a hardware description language such as Verilog (trademark), VHDL or SystemC. As the skilled person will appreciate such code and/or data may be distributed between a plurality of coupled components in communication with one or other.
Broadly speaking in embodiments of the invention a combination of two signals, a feedback signal (derived from the transformer auxiliary primary winding) and a current sense signal (derived from a current sensing resistor) from the switch mode power supply circuit are compared with a voltage reference to produce a digital demand signal indicating whether more or less power is to be transferred per switching cycle from the input to the output side of the power supply. This demand signal can be used to control a switching signal to a switching device switching power to the transformer, thereby providing overall loop control. The controller selects either a static or dynamic feedback mode by monitoring the activity of a digitised version of the feedback signal, thereby altering the sample timing of a second digitised version of the feedback signal to produce the demand signal. The second digitised version of the feedback signal is derived by comparing a combination of the feedback on current sense signals with a reference. In the static mode the second version of the feedback signal is sampled at the end of the switch ON period so that the value of the peak primary current is included in the feedback term. In a dynamic mode the second version of the digitised feedback signal is sampled at the end of the flyback period when both the primary and secondary currents are approximately zero.
The various above described aspects of the invention may be combined in any permutation.
These and other aspects of the present invention will now be further described, by way of example only, with reference to the accompanying figures in which:
Aspects of the invention will now be described detail by describing a circuit referred to by the inventors as “LeftBrane”, which is a preferred embodiment of the present invention.
The present invention forms a key part of a circuit used to control a switch mode power supply (SMPS) system. Typically, this invention will be implemented as part of a Power Integrated circuit as shown in
RightBrane is described in full after the description of LeftBrane to help provide a complete description of a control system of which a preferred embodiment of the present invention is a constituent part. Optionally a “BraneScan” module (not shown in
The overall purpose of the LeftBrane is to collate and analyze feedback data from the switch mode power supply supplied to it via a number of analog comparators. The result of this analysis is passed onto the RightBrane in the form of a DEMAND signal (typically, for example, a binary signal) which indicates whether more or less power should be supplied to the switch mode power supply.
In this detailed description of an embodiment of the present invention we will refer (as mentioned above) to two modes of operating a switch mode power supply control system, a Static mode in which feedback is from the secondary or output side of the power supply, typically monitoring the dc output voltage or some other secondary side voltage dependent thereon, and a Dynamic mode which infers a voltage at the output side of the power supply by sensing the state of the energy transfer device, for example by using an auxiliary winding on the primary side.
In the example circuits of
The LeftBrane circuit will now be described in detail. The functional inputs and outputs of the LeftBrane are shown in Table 1 below.
The prime function of the LeftBrane is to produce a DEMAND signal (typically, for example, a binary signal) which indicates to the RightBrane (or other control system) whether the output voltage is above or below its target. This informs the RightBrane (or other arrangement) as to whether less or more power needs to be transferred to maintain the correct output voltage. This data is then processed by the RightBrane to determine the appropriate power level. In preferred embodiments of a complete system the DEMAND signal is provided to a RightBrane system which forms another part of the overall control system, but in other arrangements any circuit which is capable of regulating responsive to a DEMAND-type signal may be employed.
Data derived from the feedback input FB, is provided to the LeftBrane in the form of two signals, FLY and FBD, which indicate the 0V and 5.0V crossings of FB, respectively.
The FBD signal is sampled by the LeftBrane in order to determine whether the power level needs to be increased or decreased. The FLY signal is used to determine when the FBD should be sampled depending on the feedback mode as described below.
All inputs need to be synchronized to the local clock to prevent meta-stability. The FLY and FBD signals are then shifted into FIFOs so that their history is stored.
In either STATIC or DYNAMIC modes, the FBD sampled value controls whether the DEMAND signal should indicate an increase or decrease in power level. If the sampled FBD is high then the DEMAND indicates a decrease, if the sampled FBD is low then the DEMAND indicates an increase. The DEMAND signal changes in time for the next power switching cycle as shown in
In the present embodiment, DEMAND is implemented as a 2-bit bus, with the least significant bit used to represent the DEMAND state as described above and the most significant bit used to indicate an error condition (Over Temperature) which when active forces the system to the minimum power level. Unless specifically stated, the term DEMAND within this description refers only to the least significant bit. Table 2 shows the meaning of each DEMAND value.
The LeftBrane Synchronization logic is shown in
The FBD, FLY and OTP inputs into the LeftBrane come directly from analog (and hence asynchronous) comparators, so need to be synchronised to the digital clock domain. The DRIVE input can be asynchronously cleared in the RightBrane, so also needs to be synchronised into the LeftBrane. The CYCLE input can be used without synchronization, as the LeftBrane and RightBrane operate within the same digital clock domain. The synchronization logic is also used to determine the rising and falling edges of some of these inputs for use in the control algorithm.
After synchronization, The FBD input is shifted into a FIFO (12-bits long in the present embodiment), which forms part of the DYNAMIC mode sampling routine.
In STATIC Mode, the FBD input is sampled just before the end of the power switch conduction period, as shown in
In practice, this is achieved by sampling FBD_INT when the falling edge of DRIVE is detected and flagged by the DRIVE_FE signal. The paths taken by DRIVE and FBD to generate DRIVE_FE and FBD_INT have matched synchronization delays, so give a good representation of the actual FBD value at the time that DRIVE went low. The delay through the gate driver block helps ensure that the captured value of FBD represents the FB value at the end of the POWER SWITCH conduction period, rather than at the start of the SMPS flyback period. The operation of the state machine managing the sampling of FBD in Static mode is shown in
When the LeftBrane is in DYNAMIC mode, the FBD sampling point is specified to be ¼ of the flyback oscillation period before the first falling edge of FLY. Typical waveforms for DYNAMIC Mode operation are shown in
Central to Dynamic mode operation is the ability to measure the resonant frequency of the SMPS flyback. From this measurement a value FLY_QUART, ¼ of the flyback oscillation period can be calculated. In every switching cycle where a full flyback oscillation occurs, the period of that oscillation is measured, between the first and second falling edges of the FLY signal. In practice, a count is initiated on the first falling edge of FLY using a counter FLY_COUNT (6-bits in the present embodiment). If a full oscillation occurs, the final value of FLY_COUNT is loaded into a register FLY_COUNT_ROLL_SEED (again 6-bits in the present embodiment). Note that at higher power levels, a full oscillation may not occur due to DRIVE being asserted, so FLY_COUNT_ROLL_SEED is not updated and the previous value retained. FLY_QUART is essentially FLY_COUNT_ROLL_SEED divided by 4, with an error compensation technique to take any remainder from the division into account. The error compensation mechanism is discussed in more detail later.
The flyback counter increments the FLY_COUNT value every clock cycle, while the flyback counter enable state machine is in the ENABLE COUNT state. On the falling edge of the next FLY, the state machine disables the counter and the count value is transferred into the capture register, FLY_COUNT_ROLL_SEED. If a complete flyback oscillation does not occur, the FLY_COUNT value is discarded. Once the FLY_COUNT value has been transferred or discarded, indicated by the FLY_COUNT_EN signal going inactive, it is reset ready for the next power switching cycle. In the present embodiment, the counter is reset to a non-zero constant FLY_COUNT_INIT, which is set to an appropriate starting value to obtain the optimal measurement of the flyback oscillation period. The flyback counter should be designed to have the capacity to measure the maximum flyback oscillation period, which the overall switch mode power supply can reasonably be expected to encounter. Nonetheless, the flyback counter is equipped with a protection mechanism, which holds the counter at its maximum value, should it be reached, rather than let it roll back over to zero.
The captured value, FLY_COUNT_ROLL_SEED should not significantly change from cycle to cycle, as it is determined by the characteristics of the transformer and other parts of the SMPS system. A +/−1 clock cycle variation may occur due to clock granularity.
State flow diagrams for the Flyback Counter Enable State Machine and Flyback Counter itself are shown in
The operation of the Dynamic Mode Feedback Capture State Machine is shown in
A successful measurement will cause the FLY_COUNT_ROLL_SEED value to be greater than the FLY_COUNT_INIT value and indicates that the LeftBrane is no longer calibrating.
Once Calibration has occurred, the circuit must ensure that the value of FBD is correctly captured at a sampling point ¼ of the flyback oscillation period before the first falling edge of FLY. Until the falling edge of FLY, the circuit does not know where this sampling point occurs. To compensate for this, a historical record of FBD is created in the FBD_SHIFT register, which is 12-bits long in the present embodiment. Once FLY_FE indicates that the FLY signal has fallen, the circuit can index back into the FBD_SHIFT register to determine the value of FBD at a time ¼ of a flyback oscillation period prior to the FLY falling edge.
The effect of the divide error reduction counter is best described with a numerical example, using decimal number values.
Without the divide error reduction counter a flyback oscillation period of for example 23 would result in a FLY_QUART value of 5, that is 23/4 less the remainder. Thus there would be an average error of 0.75 on FLY_QUART. However with the error reduction counter in place, the same starting value of 23 would produce FLY_QUART values of (23+0)/4=5, (23+1)/4=6, (23+2)/4=6, (23+3)/4=6 giving a mean value of 5.75.
The FLY_QUART value is used to index into the FBD shift register, as shown in
As previously stated, a 2-bit DEMAND signal is passed to the RightBrane, determined by the sampled FBD value and the operating state of the LeftBrane module given by the LB_STATE bus. An overview of the circuit which implements this function is shown in
For Critical Mode Conduction (CRM), the power switch should be turned on again at the trough of the first flyback oscillation. Switching on during subsequent troughs gives pseudo or quasi Zero Voltage Switching (qZVS), which is desirable to achieve high efficiency by minimizing the losses associated with the power switch turn-off transition. This behaviour is shown in
The LeftBrane determines the optimum firing window for DRIVE when in DYNAMIC mode, and passes this information to the RightBrane. The RightBrane will use this information if ZVS Mode is selected, otherwise, it will be ignored. The circuit used to achieve this is shown in
In the present embodiment ZVSGO is triggered as soon as the falling edge of FLY is detected within the LeftBrane. Given that there will be a delay due to the gate driver and the ‘inertia’ of the power switch, which typically approximates to ¼ of the flyback oscillation period then this mechanism ensures the power switch turn on occurs close to the bottom of the flyback oscillation troughs. An extension of the present embodiment would be to use the existing FLY_QUART value as a delay following the point at which the FLY signal goes low. This with suitable delay compensation would give a very accurate indication of the bottom of the flyback trough.
The LeftBrane can be summarized as a circuit which interprets data provided on its FBD and FLY inputs to build up a detailed picture of the configuration and state of the switch mode power supply it is helping control and then passes appropriate power demand data on its DEMAND bus output to another part of the control circuit.
Thus broadly speaking, as described above, the function of LeftBrane is to interpret the state of the SMPS output voltage and determine whether it is above or below a required value, providing a DEMAND signal. The DEMAND signal (typically, for example, a binary signal) indicates whether more or less energy needs to be transferred to the SMPS output in order to maintain the correct output voltage. In preferred embodiments of a complete system the DEMAND signal is provided to the RightBrane system, which forms another part of the overall control system, but in other arrangements any circuit which provides a suitable signal may be employed. Broadly speaking the function of the RightBrane (or other circuit) is to control the SMPS in accordance with the DEMAND signal to regulate the output voltage.
For completeness, the RightBrane circuit (see again
The key internal signals and sub-blocks within RightBrane are shown in
RightBrane processes the DEMAND signal and calculates which one of eight pre-defined power levels should be deployed to best maintain the SMPS output at the required voltage. The power level value, PL, directly determines the pulse width and switching period for the DRIVE signal. DRIVE provides the input to a buffering gate driver block outside the scope of the present invention which in turn drives the gate of the power MOSFET (or similar high voltage switching device) which facilitates the transfer of energy into the SMPS transformer. In the present embodiment, DEMAND is implemented as a 2-bit bus, with the least significant bit used to represent the DEMAND state as described above and the most significant bit used to indicate an error condition (Over Temperature) which when active forces the system to the minimum power level. Unless specifically stated, the term DEMAND within this description refers only to the least significant bit.
Other signals provided by the LeftBrane to the RightBrane are as follows: ZVSGO indicates that the SMPS Flyback oscillation is at a trough value—or local minimum voltage. For high efficiency operation, RightBrane has a Quasi Zero Voltage Switching Mode, selected by the active-low ZVSEN_N input, in which the start of a new switching cycle is held back until a Flyback oscillation trough value is reached. OCP, or Over Current Protection, indicates that the current within the power switching device has reached a permitted maximum value and that the DRIVE signal to the switching device should be turned off immediately. CSBLANK is used to mask the OCP function, for a short time after the switching device is turned on, when the current is allowed briefly to exceed its limits to accommodate a permitted short current spike which can occur due to the leakage inductance within the SMPS transformer.
The present embodiment has eight discrete power levels. The power level currently in use is determined by the 3-bit PL bus. The PL bus value is derived from the most significant 3-bits of the output of the 6-bit power level ALU, PL_ALU. Each power switching cycle, PL_ALU is adjusted by a 6-bit, power level adjust value, PL_DELTA. An FIR process is applied to the DEMAND signal, to determine the required value for PL_DELTA.
The decision to derive eight discrete power levels from a 6-bit ALU was made in order to give a cost-effective solution with a high level of precision and a good dynamic response. However, this invention is fully applicable to other ALU sizes and numbers of power levels.
The present embodiment uses a 16-bit counter, RB_COUNT, which controls the timing of events within the RightBrane. It counts from zero up to the value of the period for the current power switching cycle. However, this invention is equally applicable to other sizes of counter.
RB_COUNT begins incrementing from zero at the start of a new power cycle when it has completed its count for the previous power cycle AND it is enabled by the ZVS_TRIG signal.
The internal version of the DRIVE signal, DRIVE_raw, is set into its active state by the combination of RB_COUNT being 0 and ZVS_TRIG being active. This internal signal stays high until the counter reaches the pulse width value, determined by the present power level. As DRIVE_raw goes active, RB_COUNT increments to 1 on the same clock edge. This is part of the sequence of events labelled 1 in
The output version of the DRIVE signal differs from DRIVE_raw in that it is asynchronously forced inactive if an over current protection (OCP) condition is detected. When the asynchronously latched fersion of OCP called OCP_x is active, the DRIVE output is reset to its inactive state.
Any OCP event seen is captured, if it is not being blanked by CSBLANK, and latched in the form of OCP_x. The events triggered by OCP are numbered 3 in
The RightBrane takes the DEMAND input from the LeftBrane and uses it to determine the optimum on-time and frequency of the DRIVE signal for each power switching cycle. The data path for this is shown in
DEMAND[0] is fed into a shift register, which is updated at the time RB_COUNT increments to 5, see the events numbered 5 in
DEMAND_HISTORY VECTOR updates whenever either DEMAND changes (see the events numbered 10A in
The new power level is calculated as the RightBrane counter, RB_COUNT, increments to 4 (see the events numbered 6 in
The resulting 3-bit power level, PL, is then used in the lookup table for the period and pulse_width values for the DRIVE signal. The lookup tables' contents are shown in Table 5, with an alternative implementation with a greater range of power shown in Table 6 (see below) The new values for the pulse width and switching cycle period are updated the clock cycle after PL is updated. See number 8 in
The on-time and cycle-time for each power level are defined in terms of digital clock periods, with values chosen to give power levels that are spaced logarithmically. Tables 3 and 4 additionally give an indication of the relative power delivered. The data in Table 4 is also represented in graphical form as a ‘power curve’ in
The RightBrane can be summarized as a circuit which analyses data provided on its DEMAND bus input and selects the appropriate power switch on times and power switch frequency values to correctly regulate the output of the switch mode power supply it is helping to control.
No doubt many other effective alternatives will occur to the skilled person. It will be understood that the invention is not limited to the described embodiments and encompasses modifications apparent to those skilled in the art lying within the spirit and scope of the claims appended hereto.
Number | Date | Country | Kind |
---|---|---|---|
0427894.1 | Dec 2004 | GB | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/GB2005/050242 | 12/13/2005 | WO | 00 | 11/5/2009 |
Number | Date | Country | |
---|---|---|---|
60646889 | Jan 2005 | US |