# Patent

## Title
Regulation of recovery rates in charge pumps

## Abstract

A method is presented of setting a frequency of a clock for a charge pump system including the clock and a charge pump. This includes setting an initial value for the frequency of the clock and, while operating the charge pump system using the clock running at the initial frequency value, determining the ramp rate of an output voltage for the charge pump during a recovery phase. The frequency of the clock is then adjusted so that the ramp rate of the output voltage for the charge pump during the recovery phase falls in a range not exceeding a predetermined maximum rate. A charge pump system is also described that includes a register having a settable value, where the charge pump clock frequency is responsive to the register value, and count and comparison circuitry is connectable to receive the pump's output voltage and the clock signal and determine from them the number of clock cycles the charge pump uses to recover from a reset value to a predetermined value.

## Background
FIELD OF THE INVENTION
This invention pertains generally to the field of charge pumps and more particularly to methods of governing the rate of recovery in charge pumps.
BACKGROUND
Charge pumps use a switching process to provide a DC output voltage larger than its DC input voltage. In general, a charge pump will have a capacitor coupled to switches between an input and an output. During one clock half cycle, the charging half cycle, the capacitor couples in parallel to the input or power supply voltage so as to charge up to the input voltage. During a second clock cycle, the transfer half cycle, the charged capacitor couples in series with the input voltage so as to provide an output voltage twice the level of the input voltage. This process is illustrated in FIGS. 1a and 1b. In FIG. 1a, the capacitor 5 is arranged in parallel with the input voltage VIN to illustrate the charging half cycle. In FIG. 1b, the charged capacitor 5 is arranged in series with the input voltage to illustrate the transfer half cycle. As seen in FIG. 1b, the positive terminal of the charged capacitor 5 will thus be 2*VIN with respect to ground.
Charge pumps are used in many contexts. For example, they are used as peripheral circuits on flash memory and other non-volatile memories to generate many of the needed operating voltages, such as programming or erase voltages, from a lower power supply voltage. A number of charge pump designs are known in the art and these use a regulation scheme to provide the desired output level. As the accuracy of the output can be important for the application in which it is being used, and as the accuracy of the output level depends on the regulation of the charge pump, there are consequently often needs to improve the ability of the regulation to track the output level.
SUMMARY OF THE INVENTION
An exemplary embodiment presents a method of setting a frequency of a clock for a charge pump system including the clock and a charge pump. This includes setting an initial value for the frequency of the clock and, while operating the charge pump system using the clock running at the initial frequency value, determining the ramp rate of an output voltage for the charge pump during a recovery phase. The frequency of the clock is then adjusted so that the ramp rate of the output voltage for the charge pump during the recovery phase falls in a range not exceeding a predetermined maximum rate.
According to another aspect, a charge pump system is presented. The system includes a clock circuit to provide a clock signal, a charge pump to provide an output voltage, where the charge pump is connected receive the clock signal and operate at the clock circuit's frequency, and a regulator circuit connected receive the output voltage and provide a regulation voltage derived from the output voltage to the charge pump. The system also includes a register having a settable value, where the clock frequency is responsive to the register value, and count and comparison circuitry connectable to receive the output voltage and the clock signal and determine from them the number of clock cycles the charge pump uses to recover from a reset value to a predetermined value.
Various aspects, advantages, features and embodiments of the present invention are included in the following description of exemplary examples thereof which description should be taken in conjunction with the accompanying drawings. All patents, patent applications, articles, other publications, documents and things referenced herein are hereby incorporated herein by this reference in their entirety for all purposes. To the extent of any inconsistency or conflict in the definition or use of terms between any of the incorporated publications, documents or things and the present application, those of the present application shall prevail.



BRIEF DESCRIPTION OF THE DRAWINGS
The various aspects and features of the present invention may be better understood by examining the following figures, in which:
FIG. 1a is a simplified circuit diagram of the charging half cycle in a generic charge pump.
FIG. 1b is a simplified circuit diagram of the transfer half cycle in a generic charge pump.
FIG. 2 is a top-level block diagram for a regulated charge pump.
FIG. 3 illustrates how a possible read disturb can occur from a charge pump having too rapid a ramp rate during its recovery phase.
FIG. 4 illustrates a method of determining the recovery time in a charge pump system.
FIG. 5 shows an exemplary flow for the trimming of the clock rate for a charge pump.
FIG. 6 shows some components in an exemplary embodiment of a trimmable charge pump system.



DETAILED DESCRIPTION
In a typical charge pump system, the charge pump will have several stages and the rate at which these switch between the charging half cycle of FIG. 1A and the transfer half cycle of FIG. 1B is set by the clock frequency supplied to the pump. As the pump system is intended to supply a certain output voltage at a sufficient current level, and quickly return to and maintain these levels when the output is applied to a load, the pump system is designed to meet the required specification. In contrast to a typical pump system, which is designed to recover to the prescribed levels above a certain rate, the system and methods described here present a charge pump system where the clock frequency is trimmable so that the rate of recovery does not recover too rapidly.
Due to the differ location and conditions on a circuit being supplied by a charge pump, as well as die-to-die variations, the actual ramp rate of the level supplied from the pump output when it arrives at different elements can vary significantly. In the typical current design, the pump designer will need to guarantee that the ramp rate meets a minimum value in the spec for the “slowest” elements for performance proposed. However, meeting this minimum performance for the “slowest” elements makes the ramp rate in the “fastest” supply condition very fast. (For example, in the case of a non-volatile memory device where the various elements of the memory array will, due to path differences from the pump output to different memory cells, experience slower or faster ramp rates when driven by the pump. Different parts of the array would get different level from same pump.) It has been observed that if the ramp rate is too fast, this can lead undesirable results.
To stay with the non-volatile memory device example, it has been observed in silicon that too a fast ramp rate on a charge pump's output could cause some issues read disturbs such as hot electron injection into memory cells. In an exemplary embodiment, to resolve such hot electron injection related failures, the system uses a slowed down (relative to maximum available value) pump clock such that the ramp rate is slower. Thus, rather than just considering a ramp rate above some minimum value, a maximum ramp rate is also considered and the pump clock adjusted accordingly. In most applications, this may also lead to the timing budget being elongated due to the ramp rate of pump output being is too slow for the slowest elements using the pump output. As the ramp rate can be controlled by the pump clock frequency, instead of having a fixed pump clock frequency for every die, according to one aspect presented here, the system uses a trimmable clock frequency, trimming the pump clock frequency by checking the ramp rate of the output.
In one exemplary embodiment for the current pump design, a voltage detector circuit generates a “flag” signal to count how much time it takes for this flag signal to generate. If it is slower than expectation, the pump clock frequency is increased to place the ramp rate into a desired range—that is, increased to be high enough, but also not too fast. Hence, the design can have a consistent ramp rate of pump output across die-to-die or lot-to-lot transistor variations.
FIG. 2 is a top-level block diagram of a typical charge pump arrangement. As shown in FIG. 201, the charge pump 201 has as inputs a clock signal and a voltage Vreg and provides an output Vout. The voltage Vreg is provided by the regulator 203, which has as inputs a reference voltage Vref and Vout. The regulator block 203 regulates the value of Vreg such that k*Vout=Vref, where, by adjusting the value of k, the desired value of Vout can be obtained. The value k can be implemented as, for example, a resistor ratio and is typically adjusted through a digital to analog converter, as will be familiar in the art. (Although not shown, the regulator (203) will also be connected to receive the voltage Vext from the external power supply to the chip.) Regulator 203 can take other supply voltages, not just Vext. Vref is a fixed reference value, such as provided by band-gap generator (not shown) with a voltage of, say, 1.2 volts. Clock_High is a clock (not shown) input to the Pump 201.
More information on prior art charge pumps, such Dickson type pumps and charge pumps generally, can be found, for example, in “Charge Pump Circuit Design” by Pan and Samaddar, McGraw-Hill, 2006, or “Charge Pumps: An Overview”, Pylarinos and Rogers, Department of Electrical and Computer Engineering University of Toronto, available on the webpage “www.eecg.toronto.edu/ ̃kphang/ece1371/chargepumps.pdf”. Further information on various other charge pump aspects and designs can be found in U.S. Pat. Nos. 5,436,587; 6,370,075; 6,556,465; 6,760,262; 6,801,454; 6,922,096; 7,030,683; 7,135,910; 7,372,320; 7,368,979; 7,443,735; and 7,440,342; US patent publications 2007-0139099-A1 and 2008-0024096-A1; and application Ser. No. 10/842,910 filed on May 10, 2004; Ser. No. 11/295,906 filed on Dec. 6, 2005; Ser. No. 11/303,387 filed on Dec. 16, 2005; Ser. No. 11/497,465 filed on Jul. 31, 2006; Ser. No. 11/523,875 filed on Sep. 19, 2006; Ser. Nos. 11/845,903 and 11/845,939, both filed Aug. 28, 2007; Ser. Nos. 11/955,221 and 11/995,237, both filed on Dec. 12, 2007; and Ser. No. 12/135,945, filed Jun. 9, 2008.
When operating, the charge pump tries to accurately maintain Vout at the desired level as part of the regulation process. However, when the output is initially connected to drive a load, Vout will typically drop below the desired value and then come back up and recover to the desired value (the recovery phase). Once back up to the desired range for Vout, the pump tries to maintain the output in this range (the regulation phase). In the prior art, pumps are generally designed to recovery as quickly as is practically possible—or, perhaps more typically, to at least recover more quickly than some minimum value—since the purpose of the charge pump is to maintain the desired Vout value while supply the needed current.
The output of the pump will be typically be used by many elements on a device. Thus, in previous charge pump arrangements, the pump design would be optimized to meet a given recovery specification for the worst case conditions. All of the timing parameters would correspondingly be optimized in these worst conditions, as having too slow a recovery specification would negatively affect device performance. As noted above, however, as the output of the charge pump is delivered to elements of the circuit with differing loads and connected to the pump by different paths, the resultant ramp rate for a given pump clock frequency can differ; and, as also noted above, it is found that too fast a ramp rate could affect the reliability of a device. FIG. 3 can be used to illustrate an example of this effect.
FIG. 3 shows some EEPROM memory cells arranged into a NAND string. (More detail for various examples of non-volatile memory systems with such an arrangement of cells can be found in U.S. Pat. No. 7,120,051 or U.S. patent application Ser. No. 11/759,909, for example, which are wholly incorporated by reference here and which can referred to in order to provide context for the simplified discussion given here.) In FIG. 3, a string of, here, five floating gate transistors (311, 313, 321, 315, and 317) are arranged in series on a substrate 301 between a pair of select transistors 303 and 305. In a read operation of the cell 321, the select gates 303 and 305 on either end of the string are turned on using a select gate voltage of Vsg. In FIG. 3, the memory cell selected for sensing is cell 321 in the center of the string. In this example, a voltage BR is applied to the control gate of cell 321. In order to the conduction of cell 321 at this control gate voltage, the other memory cells (311, 313, 315, 317) in the string must be turned fully on, regardless of the data pattern stored on these cells, so that they do not affect the determination of the state on selected cell 321. The voltage applied to these non-selected cells 311, 313, 315, 317 is labeled Vread. As the value of Vread should be sufficiently high enough to turn on a memory cell for any of the data levels (here corresponding to amount of charge stored on the floating gate) the cells may hold, this level is often provided by a charge pump.
In actual implementation, the voltage level on the non-selected memory cells will naturally not instantaneously go to Vread. As the voltage is supplied from the pump, the output of the pump will be pulled down as this load is applied, go into recovery mode, and ramp back up to regulated level of Vread. As the path (through selection circuits, multiplexers, etc.) from the pump to the corresponding word lines may not all be the same, the actual values on the non-selected cells as they ramp up to Vread can vary. This difference in ramp rate between different wordlines can lead to a localized boosting, particularly for some data patterns. This can lead to a large drain-source voltage difference across some devices, with a boosted voltage Vboost on one side while the other side is at ground, and lead to punch-through and hot carrier injection into cell 313. To resolve this type of read disturb possibility, the pump clock frequency can be set slower, so that the maximum such ramp rate of the pump output is controlled by the pump, instead of just being limited by RC parasitics between the pump and the control gate of the cells. In addition to setting the pump clock frequency, optimization of the device may also include altering other timing parameters on the device accordingly.
An exemplary method determination of the ramp rate for the charge pump can be illustrated using FIG. 4. In FIG. 4, the waveform 401 represents Vout from the charge pump. Between t0 and t1 the pump is in recovery phase, ramping up to level at the regulation phase from where it had dropped to when connected to the load. To determine how long it takes for the pump output to recover, the number of clock cycles (the waveform elk 403) between t0 and t1 are counted. This can be done by a counter which is started when an enable signal (the waveform en_elk_counter 405) is asserted at t0 and de-asserted when it determines the regulation level has been reached at t1. As the clock frequency is known, the recovery time can be determined and adjusted as needed to put the ramp rate into the desired range by a process such as that of the flow of FIG. 5.
FIG. 5 is an exemplary flow for setting the pump clock frequency. In this embodiment, the trimming process starts with the clock frequency slow enough so that maximum ramp rate is not exceeded and then incrementally increased as needed to be above the minimum rate, where the step size of increment is small enough to avoid overshooting the upper rate.
After starting the process, the pump and the counter are enabled at 501. This correspond to the signal en_clk_counter 403 of FIG. 4 going high at time t0. Once the output of the pump reaches the desired output, corresponding to time t1 of FIG. 4, the counter is stopped at 503. As both the number of clock cycles needed for the pump output to recover and the clock frequency are known, the ramp rate can be determined and compared with the desired ramp rate at 505. The maximum and minimum ramp rates can be predetermined values, or, in some embodiments, can be dynamically determined; for example, these values could be determined by the controller's firmware based, say, on the rate of read disturbs. If the ramp rate is determined to be faster than the minimum end of the desired range, the clock frequency is acceptable and the process ends (507). If not, the clock frequency is adjusted, the pump reset, and the ramp rate checked again.
In the flow of FIG. 5, the pump is reset at 511 and the clock frequency adjusted at 513. Although FIG. 5 shows the pump reset first, more generally the order of 511 and 513 can be changed or both can be done at the same time, as long as the are both done before returning to 501. As the embodiment of FIG. 5 starts with clock frequency slow enough so that the ramp rate will not exceed the maximum desired rate, the clock frequency is increased at 513, with the increment size being small enough the it will not cause overshoot. Once the pump is reset and the frequency adjusted, the process goes through 501, 503, 505 again, either ending at 507 or going through another iteration if needed.
A number of variations on the process of FIG. 5 could alternately be used. For example, the initial clock frequency could be taking high enough to have the ramp rate above the minimum of the desired range and then checked at 505 to see whether ramp is below the maximum. In this case, the clock rate would instead be incrementally decreased at 513 if the comparison of 505 found the ramp rate too fast. More generally, the comparison of 505 could check the ramp rate against both the upper and lower values for the desired range and adjust either up or down at 513 as appropriate. In any of the variations, the step size for the increment at 513 can be fixed for all needed iterations or variable, but in any case the change should not be so great so at to take the ramp rate from too slow to too fast (or vice versa) in a single iteration of 513. Also, the process here is primarily described in terms of an initial trimming operation done before the device is sent out to users, it can also be implemented as part of a dynamic process. For example, going back to the exemplary application as a peripheral circuit on a non-volatile memory, if the controller finds a relatively large amount of error that could be due to read disturb, the trimming process could be invoked and the pump clock frequency reset as needed. As noted above, there may be other parameters on the system where the charge pump is being used that would be adjusted based on the clock frequency, but as these will be specific to application, these are not included in the flow of FIG. 5.
FIG. 6 is a bock diagram of some of the elements in an embodiment of a pump system with a trimmable clock frequency. The pump 601 and regulator 603 respectively correspond to pump 201 and regulator 203 of FIG. 2 and can be any of the various designs, such as those in the references cited above. The clock CLK 605 provides the clock signal to the pump at a frequency dependent of the value set in the register 609. Both pump output Vout and the clock frequency are supplied to the compare/count block 607, which can implemented in hardware, firmware, or some combination of these. When the en_clk_counter signal (403, FIG. 4) is asserted at t0, the pump 601 ramps up while the compare/count block 607 keeps track of the number clock cycles while comparing Vout against the reference value, outputting the value CNT to indicate the number cycles between t0 and t1. (The connection of the control signal en_clk_counter to pump 601 and compare/count element 607 is not shown.) As the number of clock cycles and the clock frequency are known, the ramp rate can be determined and the value of the register 609 adjusted as needed, indicated by the input SET. The discussion here has mainly been in the context of an initial trimming process, where the CNT signal is read out and the SET value for the register 609 set from outside. In other embodiments, the value of SET could be determined on the system itself: for example, this function could be schematically included in the block 607, which would provide SET to the register 609. (Although shown combined in FIG. 6, the various functions described for block 607 could be distributed over several elements according to the implementation.)
Although the charge pump system described above can implemented as a separate circuit, it will typically occur as a peripheral element on a larger system. Returning to the example of a non-volatile memory system, such system are commonly formed of a controller chip and one or more memory chips. Although the charge pump can be on the controller or a separate chip, it is more commonly formed as a peripheral element on one or more memory chips. As all of the memory chips are usually the same, they would all have a pump circuit, although some of these may be disabled so that one or more of the chips will supply other chips. In such system, the pump 601, regulator 603, and maybe also the clock CLK 605 and register 609 could be placed on a memory chip, with the compare/count elements on either the controller or the memory chip, although other embodiments can distribute these elements differently.
Although the invention has been described with reference to particular embodiments, the description is only an example of the invention's application and should not be taken as a limitation. Consequently, various adaptations and combinations of features of the embodiments disclosed are within the scope of the invention as encompassed by the following claims.

## Claims

1. A method of setting a frequency of a clock for a charge pump system including said clock and a charge pump, the method comprising:
setting an initial value for the frequency of the clock;
while operating the charge pump system using the clock running at the initial frequency value, determining the ramp rate of an output voltage for the charge pump during a recovery phase; and
based upon the determined ramp rate, subsequently adjusting the frequency of the clock so that the ramp rate of the output voltage for the charge pump during the recovery phase falls in a range not exceeding a maximum rate, wherein determining the ramp rate of the output voltage for the charge pump during a recovery phase includes counting the a number of clock cycles the output voltage requires to reach a reference value.

2. The method of claim 1, wherein the clock frequency is adjusted so that the range is above a minimum rate.

3. The method of claim 1, wherein in the charge pump system includes a non-volatile register whose value governs the clock frequency, the method further comprising:
setting the register value according to the adjusted clock frequency.

4. The method of claim 1, wherein the method is performed as part of an initial trimming process.

5. A method of setting a frequency of a clock for a charge pump system including said clock and a charge pump, the method comprising:
setting an initial value for the frequency of the clock;
while operating the charge pump system using the clock running at the initial frequency value, determining the ramp rate of an output voltage for the charge pump during a recovery phase; and
based upon the determined ramp rate, subsequently adjusting the frequency of the clock so that the ramp rate of the output voltage for the charge pump during the recover base falls in a range not exceeding a maximum rate, wherein determining the ramp rate includes:
maintaining a count of a number of clock cycles; and
determining the value of the count at which the output voltage reaches a reference level.

6. The method of claim 1, wherein adjusting the frequency includes:
performing a first adjustment of the frequency;
while operating the charge pump system using the clock running at the first adjusted frequency value, determining the ramp rate of the output voltage for the charge pump during a recovery phase; and
further adjusting the frequency of the clock.

7. The method of claim 1, wherein adjusting the frequency includes increasing the clock frequency.

8. The method of claim 1, wherein adjusting the frequency includes decreasing the clock frequency.

9. The method of claim 1, wherein the charge pump is a peripheral element on a circuit, the method further comprising:
subsequent to adjusting the frequency of the clock, adjusting one or more operating parameters on the circuit based upon the value to which the clock frequency is adjusted.

10. A charge pump system, comprising:
a clock circuit to provide a clock signal;
a charge pump to provide an output voltage, the charge pump connected receive the clock signal and operate at the frequency thereof;
a regulator circuit connected receive the output voltage and provide a regulation voltage derived therefrom to the charge pump;
a register having a settable value, where the clock frequency is responsive to the register value; and
count and comparison circuitry connectable to receive the output voltage and the clock signal and determine therefrom a number of clock cycles the charge pump uses to recover from a reset value to a predetermined value.

11. The charge pump system of claim 10, wherein the number of clock cycles the charge pump uses to recover is accessible from externally to the charge pump system and the register value is settable from externally to the charge pump system.

12. The charge pump system of claim 10, further comprising:
logic circuitry connectable to receive the number of clock cycles the charge pump uses to recover, determine the ramp rate of the charge pump during recovery, and adjust the register values in response to said ramp rate.

13. The charge pump system of claim 10, wherein the charge pump is a peripheral circuit on a non-volatile memory chip.