A circuit and method for smooth control of charge pump startup power consumption

By subdividing the charge pump boost process into multiple stages and adjusting the clock frequency and voltage of the charge pump, the problem of high power consumption of embedded NOR FLASH when the charge pump is working is solved, and the power consumption control is consistent with Flash erasing and writing. sex.

CN114915164BActive Publication Date: 2024-09-03BEIJING CEC HUADA ELECTRONIC DESIGN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210361633.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-07
Publication Date
2024-09-03
Estimated Expiration
2042-04-07

AI Technical Summary

Technical Problem

Embedded NOR FLASH consumes a lot of power when the charge pump is working during the data erasing and writing process, which limits the application scenarios of the product. It is especially difficult to control the power consumption in a low range when the charge pump is operating at full load.

Method used

The charge pump startup power consumption smoothing control method is adopted, and the voltage dividing circuit, frequency dividing counting circuit, voltage detection circuit and control circuit form a loop to subdivide the charge pump boosting process into multiple stages, and adjust the time and voltage of each stage. Amplitude, realize the ladder boost of the charge pump, and adjust the clock frequency and the voltage of the charge pump according to the actual situation to minimize power consumption.

Benefits of technology

It effectively controls the power consumption of the charge pump in the startup and establishment stages, ensuring that the power consumption of the charge pump in different operating modes is within a predetermined range, and improves the depth consistency of Flash erasing and writing, and reduces the voltage establishment waveform under different process conditions. difference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114915164B
    Figure CN114915164B
Patent Text Reader

Abstract

The present invention discloses a method for controlling the power consumption of a charge pump startup in a Flash circuit. By designing a plurality of loops composed of a frequency division counting module, a logic control module, a level conversion module, a voltage division circuit, a voltage detection module, a clock generation module, a charge pump module, etc., which are both independent and interrelated, and using the logic control module, the establishment process of each charge pump voltage is subdivided into a plurality of stages, and the clock frequency, the number of boost (or buck) stages, the boost amplitude, and the PUMP capacity are adjusted according to different usage scenarios, so that the charge pump can reach the target potential accurately and controllably according to a specific step-like wave pattern, and the power consumption control of each stage of the charge pump boost is also completed in the process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of non-volatile memory, and in particular to ultra-low power consumption embedded FLASH. Background Art

[0002] As a type of non-volatile memory, embedded NOR FLASH is widely used in our daily life. However, due to its structural characteristics and working mode, especially during data erasing and writing, we need to use a charge pump circuit to raise the input low voltage to a high voltage. Taking floating gate P-FLASH as an example ( Figure 1 ), when programming, high voltage is applied to the CG end and negative voltage is applied to the BL end, and electrons are injected into the floating gate in a BTBT manner; when erasing, negative voltage is applied to the CG end and positive voltage is applied to other ends, and the electrons in the floating gate are removed by the FN effect. However, during the operation of the charge pump, especially during the establishment of a large-load high-voltage signal, the current consumption is extremely large, which not only puts higher requirements on BG, but also limits the application scenarios of the product. Based on this, we hope that FLASH can control the power consumption in a relatively low range in different working modes, even in the mode that requires the charge pump to operate at full load. Summary of the invention

[0003] To achieve the above requirements, the present invention provides a charge pump (pump) startup power consumption smoothing control method, which is implemented by providing a voltage divider circuit that provides a signal proportional to the charge pump voltage, a frequency division counting circuit that is responsible for providing the charge pump basic clock and has a timing function, a voltage detection circuit that detects the current charge pump output voltage, a clock circuit that generates the clock required by the charge pump, a charge pump, and a loop composed of a control circuit responsible for controlling the above circuits. The method is based on different FLASH operating modes and corresponding charge pump load conditions, and uses a control circuit to accept the charge pump establishment into several stages with adjustable number of segments and relatively fixed total time.

[0004] From the beginning of the charge pump, the control circuit will control the frequency division counting circuit to select the corresponding frequency division clock to the clock circuit, which is used to generate the charge pump clock to drive the charge pump to boost. At the same time, the charge pump voltage will feed back the voltage division point to the voltage detection circuit through the voltage division circuit. Once the voltage division point potential reaches the set value of the control circuit, the detection circuit will transmit a flag signal to the control circuit. After that, the control circuit will stop the charge pump clock or reduce the charge pump clock amplitude according to the actual situation to stabilize the charge pump voltage at the current potential.

[0005] Then when this period of time is over, the frequency division counting circuit outputs a flag signal and enters the next timing. The control circuit will reselect the reference voltage of the voltage detection circuit or control the level conversion module to reselect the voltage division ratio of the charge pump voltage. At the same time, it will select the next stage of clock division according to the actual situation to provide the clock generation circuit with a charge pump clock. The change of the charge pump clock causes the charge pump main circuit to continue to boost the voltage until it reaches the next voltage value set by the control circuit.

[0006] This process is repeated, and the charge pump gradually increases the voltage step by step according to the set time and the set target until the final potential is reached.

[0007] The key point of this method is that the control circuit divides the charge pump voltage establishment into many stages, and the charge pump establishment is characterized by a step-by-step voltage boost. Because the control circuit will adjust the length of each time period and the voltage boost amplitude accordingly, the charge pump establishment is different from the general linear step waveform, and can be a nonlinear curve-like voltage boost. Since the clock frequency and capacity of each stage of the charge pump boost are controlled, the power consumption can be suppressed to the maximum extent within the predetermined range during the charge pump startup and establishment stages. At the same time, since each stage of the charge pump boost is strictly controlled, it is relatively easy to achieve exactly the same voltage establishment waveform under different process angles, which will be of great benefit to controlling the consistency of the Flash erase depth.

[0008] Theoretically, as long as the boost time is long enough and the boost amplitude of each stage is small enough, the power consumption of the charge pump during the boost stage can be infinitely close to the value after the stability is established. However, different working modes basically have strict requirements on the establishment time of each voltage signal, so it is necessary to more reasonably allocate the number of boost stages of the charge pump, the time of each stage and the boost amplitude.

[0009] This method is applicable to power consumption control when both positive voltage charge pump and negative voltage charge pump are established.

[0010] The present invention designs a loop composed of a plurality of frequency division counting modules, a logic control module, a level conversion module, a voltage division circuit, a voltage detection module, a clock generation module, and a charge pump module, which can be controlled independently and have certain correlations (refer to Figure 2 Figure 3 ).

[0011] When used to generate a positive level, the control loop (100) responsible for the positive level includes a frequency division counting circuit (101), a control circuit (102), a level conversion module (103), a voltage division circuit (104), a voltage detection circuit (105), a clock circuit (106) and a charge pump (107). Wherein:

[0012] Frequency division counting circuit (101): input port includes clock signal OSC with error range meeting the requirement, bus control signal OP from control circuit (102) <x1:y1>,ON <x2:y2>and reset signal rstp; the output ports are respectively the clock signal OSCP connected to the clock circuit (106) after frequency division and the bus signal vppramp output to the control circuit (102) <m1:0>;

[0013] Control circuit (102): input signals include charge pump boost flag signal vdetp from voltage detection circuit (105) and bus signal vppramp from frequency division counting circuit (101) <m1:0>, the number of bus bits is related to the number of boost steps; the output signals are the bus signals OP and OP of the clock circuit (106) respectively. <x0:y0>, connected to the bus signal OP in the voltage divider circuit (104) <x4:y4>, to the OP of the level conversion module (103) <x3:y3>signal, a ripple control signal OP_RPP output to the voltage detection circuit (105) and a bus control signal OP_RPP output to the frequency division counting circuit (101). <x1:y1>,ON <x2:y2>And reset signal rstp;

[0014] The level conversion module (103) receives the low level bus signal OP from the voltage control circuit (102). <x3:y3>, output high level bus signal HVOP <x3:y3>to the voltage divider circuit (104);

[0015] The voltage divider circuit (104) has an input terminal connected to a low level bus signal OP <x4:y4>and high-level bus signal HVOP <x3:y3>, outputting fdbkp and vrefp signals to the in-phase / inverting input terminals of the comparator / amplifier in the voltage detection circuit (105);

[0016] The voltage detection circuit (105) is connected to the fdbkp and vrefp signals of the voltage divider circuit (104) and the OP_RPP of the control circuit (102) respectively; then, the vddr and ckenb1 are output to the clock circuit (106), the former is used as the power supply of part of the circuit, and the latter controls the start and stop of the charge pump clock, and also outputs the flag signal vdetp to the control circuit (102) for its internal logic switching;

[0017] The clock circuit (106) has input signals including OP from the control circuit (102) and <x0:y0>, the clock signals OSCP and vddr of the frequency division counting circuit (101) and the signal ckenb1 of the voltage detection circuit (105); its output end is 4 phase non-overlapping clocks ck1p, ck2p, ck3p, ck4p, and all 4 signals are connected to the positive charge pump circuit (107);

[0018] The input end of the charge pump (107) circuit receives clock signals ck1p, ck2p, ck3p, ck4p and outputs a high-voltage signal VPPI, which provides high voltage for some ports of the storage unit and also supplies power to some devices in the voltage divider circuit (104) and the level conversion module (103).

[0019] When used to generate a negative level, the control loop (200) responsible for the negative level includes a frequency division counting circuit (201), a control circuit (202), a level conversion module (203), a voltage division circuit (204), a voltage detection circuit (205), a clock circuit (206) and a charge pump (207). Its overall architecture and control concept are similar to those of the positive level control loop (100), and the internal circuit structures of each module are somewhat different. Among them:

[0020] The frequency division counting circuit (201) has an input port including a clock signal OSC shared with the frequency division counting circuit (101), a bus control signal OP from the control circuit (202) <x6:y6>,ON <x7:y7>and reset signal rstn; the output port has clock division signal OSCN and bus signal vnnramp <m2:0>, respectively connected to the clock circuit (206) and the control circuit (202).

[0021] Control circuit (202): input signals include charge pump boost flag signal vdetn from voltage detection circuit (205) and bus signal vnnramp from frequency division counting circuit (201) <m2:0>; There is a bus signal OP at the output <x5:y5>,ON <x6:y6>,ON <x7:y7>,ON <x8:y8>,ON <x9:y9>They are connected to the clock circuit (206), the frequency division counting circuit (201), the level conversion module (203) and the voltage division circuit (204) in sequence, and also output a signal OP_RPN to the voltage detection circuit (205) and a reset signal rstn to the frequency division counting circuit (201).

[0022] The level conversion module (203) receives the low level bus signal OP from the voltage control circuit (202). <x8:y8>, output high level bus signal HVOP <x8:y8>to the voltage divider circuit (204).

[0023] The voltage divider circuit (204) has an input terminal connected to a low level bus signal OP <x9:y9>and high-level bus signal HVOP <x8:y8>, output fdbkn to the inverting input terminal of the comparator / amplifier in the voltage detection circuit (205).

[0024] The voltage detection circuit (205) is connected to the fdbkn of the voltage divider circuit (204) and the OP_RPN of the control circuit (202) respectively; thereafter, it outputs vssr and ckenb2 to the clock circuit (206) and outputs a flag signal vdetn to the control circuit (202).

[0025] The clock circuit (206, the input signals include OP from the control circuit (202) <x5:y5>, the clock signals OSCP and vssr of the frequency division counting circuit (201) and the signal ckenb2 of the voltage detection circuit (205); its output end is 4 phase non-overlapping clocks ck1n, ck2n, ck3n, ck4n, and all 4 signals are connected to the negative charge pump circuit (207).

[0026] The input end of the charge pump (207) receives clock signals ck1n, ck2n, ck3n, ck4n, and outputs a negative voltage signal VNNI, which supplies power to some ports of the storage unit, the voltage divider circuit (204) and the level conversion module (203).

[0027] According to the positive and negative pump voltages and load conditions required by FLASH in different working modes, and under the premise of meeting the design requirements, the establishment time of each loop is allocated and each pump signal is established in sequence.

[0028] Preferably, a longer setup time is allocated to the pump high voltage signal with a heavier load and greater power consumption, and the setup time of the signal with a lighter load is appropriately shortened.

[0029] Preferably, the next signal is established after the establishment of one pump signal is completed. If there are strict speed requirements, and the establishment intervals of the pump signals inevitably overlap (under the premise of balancing the output capacity and area limitations of the charge pump), optimize the establishment order of the pump signals to ensure that their respective power consumption intervals do not overlap. If the above is still difficult to achieve, the establishment speed must be strictly controlled.

[0030] For each high-voltage signal to be established, if it is allowed to be boosted from the initial potential to the target potential without restriction, there must be an interval where the charge pump power consumption is relatively heavy in relation to its circuit structure, working mode and load conditions. Combining this information and design requirements, the present invention configures the establishment time of the pump signal through a control circuit and divides it into several interval segments, and each segment can independently set the time length and voltage increase.

[0031] Optionally, the entire pump signal establishment phase can be divided into several segments, each with the same length and voltage rise. If the pump voltage load is heavy, the establishment interval can be divided into more and smaller intervals as much as possible within the design, so as to control each segment more finely. (Refer to Figure 4 )

[0032] Optionally, you can configure fewer segments and a larger boost amplitude in the interval with less power consumption during the pump signal establishment process, and configure more segments, longer time and a smaller boost amplitude in the stage with severe power consumption, so as to reasonably utilize the establishment time and maximize power consumption control. (Refer to Figure 5 )

[0033] The control circuit 102 / 202 sends the configuration information to the frequency division counting circuit, controls the timing circuit 101 / 201 to time and receives the flag signal after each timing is completed, thereby completing the time monitoring and management of the pump high voltage signal in the entire establishment interval.

[0034] The control circuit 102 / 202 will compile the corresponding OP control signal according to the information of the current boost stage (segment number) and the expected voltage corresponding to the segment set in advance, and then send it to the voltage divider circuit 104 / 204 to manage the voltage divider circuit. Through the change of the OP control signal, the voltage divider circuit 104 / 204 adjusts the voltage of the voltage divider point fdbkp, vrefp or fdbkn, vrefn in the order of Ry, Rx, S0n* or Rn, Rm, S1m*, and then sends the voltage divider point signal to the voltage detection circuit 105 / 205.

[0035] The specific voltage divider circuit includes two groups of resistor voltage divider circuits. The voltage divider circuit 104 includes two groups of resistor voltage divider circuits, VPPI-gnd and VREF-gnd.

[0036] The VPPI-gnd resistor string is divided into two parts, Rx and Ry, by the voltage divider point fdbkp. The resistance of Rx and Ry is adjustable by adding a PMOS switch tube in parallel with the resistor, thereby changing the overall resistance of the VPPI-gnd path and the proportional relationship of the voltage divider point fdbk. Combined with the fusion capacitor of the voltage divider point and the charge pump output voltage, the reaction speed of the pump boost in the initial stage is guaranteed on the one hand, and the excessive consumption of the pump current after the pump voltage increases is avoided on the other hand.

[0037] The VREF-gnd resistor string uses multiple series resistors to generate many voltage divider points and select the signal OP through the switch. <x4:y4>Select the voltage divider point.

[0038] A feature of this voltage divider circuit is that it is adjusted in the order of VPPI-gnd, VREF-gnd resistor strings, that is, the order of fdbkp and vrefp. The level shift does not need to be flipped at a higher potential, and vrefp does not need to work in a lower voltage range. The operating point of the internal device of the comparator / amplifier can be easily guaranteed, which reduces the demand on the comparator / amplifier.

[0039] The voltage divider circuit 204 includes two groups of resistor voltage dividers, VREF-gnd and VREF-VNNI. Its control concept is the same as that of the voltage divider circuit (104). The voltage of VNNI is controlled by adjusting Rn, Rm, and VREF-gnd in the VREF-VNNI resistor string in sequence.

[0040] The voltage detection circuit 105 / 205 compares the voltages of the in-phase input terminal and the inverting input terminal. Once fdbkp is higher than vrefp or gvss is higher than fdbkn, the ckenb* enable signal can be controlled to terminate the charge pump clock (in 106 / 206) according to the requirements of different modes, or suppress the vddr potential / raise the vssr potential, dynamically reduce the charge pump clock amplitude and driving capability, and stabilize the charge pump output voltage within a certain range. Because there is a certain proportional relationship between fdbkp and VPPI and vrefn-fdbkn and VNNI, the stable voltage should be the expected voltage of this interval. In the remaining time of this interval, since the charge pump voltage only needs to be maintained, the charge consumption is extremely reduced, and the average power consumption of this interval is reduced as a whole.

[0041] Through the above control, each charge pump control loop can output a step wave with independently controllable time and voltage. In theory, as long as the design allows, the pump signal setup time can be extended as much as possible and divided into enough intervals to ensure that the boost amplitude of each section is small enough so that the power consumption of the charge pump setup section is infinitely close to the average power consumption when stable. However, faster and more reliable has always been the development direction of flash. In addition to the inability to extend the setup time indefinitely, too many sections will not only increase the control complexity but also lead to an increase in area. Therefore, it is an issue that requires careful consideration to reasonably configure the setup time and number of sections of each pump in different working modes.

[0042] Optionally, the pump signal adopts a step size and the boost amplitude is the same, that is, a control method established by a linear step.

[0043] Optionally, the pump signal is established by using a nonlinear step waveform with a shorter step length and a larger boost amplitude in the initial stage, and a longer step length and a smaller boost amplitude in the later stage. This method and the linear step establishment method can achieve basically the same established waveform under different process angles, which also means that the discreteness of the bitcell programming / erasing threshold under different process angles is also smaller.

[0044] Preferably, the establishment of each pump voltage is staggered, that is, after one pump is established, the other pump signals are established. When establishing the pump signal, the clock start and stop of other established pumps are controlled by ckenb*. Until the last pump signal is established, the clock control mode of the previously established pump signal is switched back to the dynamic adjustment vddr / vssr mode, that is, the charge pump clock amplitude is controlled to reduce the pump signal ripple in the stable stage. (For individual pump high-voltage signals that have little impact on the bitcell programming / erasing effect, ckenb* can still be selected to control the clock start and stop mode to minimize power consumption)

[0045] Preferably, for a high voltage signal with a light load in a specific working mode, a slower charge pump clock frequency is used after the pump is established, or even during the establishment process (depending on the actual situation).

[0046] Preferably, in the initial stage of establishing the pump signal, since the charge pump capability is relatively strong and may involve power consumption steps, a method of switching the charge pump clock frequency from low to high is selected.

[0047] Optionally, in the initial stage of establishing the pump signal, since the charge pump capability is relatively strong, the charge pump clock amplitude is limited to limit the power consumption of the charge pump.

[0048] The frequency division counting clock (101) of the present invention has two functions: one is to generate multiple frequency division signals of the clock OSC and pass them through OP <x1:y1>Select one as the clock signal OSCP; the other is the counter function, which is determined by OP <x2:y2>Controls the number of boost stages and the adjustable time length of each stage to generate the decoding signal vppramp <m1:0>. There is no innovation in the frequency division counting clock structure. Both the output signal and the mode switching are only adapted to the requirements of loop control and charge pump boost mode. The level conversion module (103), clock circuit (106), and charge pump (107) all adopt relatively mature designs. The clock circuit (106) cooperates with the charge pump (107), and its capabilities match the capacity and working requirements of the Flash. There is nothing special about the above parts;

[0049] The voltage divider circuit (104) adopts a dual sequential adjustment method of the voltage divider point and the reference voltage point to balance the consumption area, the voltage divider point reaction speed and the PUMP power consumption;

[0050] The voltage detection circuit retains both comparator and differential amplifier modes to increase control flexibility.

[0051] The control circuit (102) coordinates the normal operation of the entire loop, determines the number of charge pump boost stages and duration according to different working modes, and controls the PUMP base clock frequency of the divided counting clock (101) and the charge pump supply voltage, charge pump working mode and ripple and other indicators by receiving the flag signal of the voltage detection circuit (105) and the divided counting clock (101).

[0052] The control circuit (102) generates a control signal OP for selecting the number of segments and adjusting the step level length according to the circuit operation mode. <x2:y2>, controlling the frequency division counter (101) to count; through vppramp <m1:0>The signal obtains the charge pump boost stage information and automatically adjusts the OP <x1:y1>, switch the output frequency division signal and generate OP <x3:y3>and OP <x4:y4>To adjust the voltage division ratio and the potential of the voltage division point, and then control the voltage of each section; combined with the state of the boost flag signal vdetp, the OP can be automatically configured <x1:y1>and OP_RPP signals to adjust the charge pump clock amplitude and VPPI ripple;

[0053] The control circuit (202) has the same control concept as the control circuit (102), but is controlled independently from the control circuit (102).

[0054] The level conversion module (103) is composed of a plurality of level shifts that can convert a VDD voltage domain signal into a VPPI high voltage domain signal, and outputs a VPPI voltage domain control signal for adjusting the voltage division ratio of the VPPI-gnd resistor string; since the present invention adopts a method of sequentially adjusting the fdbkp and vrefp signals, the requirements on the flipping range and timing of the level shift are reduced to a certain extent, and the simple level shift structure is also conducive to saving area;

[0055] The circuit of the level conversion module (203) is different from that of the level conversion module (103) in that a level shift circuit capable of converting a signal from a VDD voltage domain to a VNNI negative voltage domain is used.

[0056] The voltage divider circuit (104) is composed of two groups of resistor voltage divider circuits, VPPI-gnd and VREF-gnd; the voltage divider circuit (204) includes two groups of resistor voltage divider circuits, VREF-gnd and VREF-VNNI. The control concept is the same as that of the voltage divider circuit (104). The fdbkn point potential is adjusted in the order of Rn, Rm, VREF-gnd in the VREF-VNNI resistor string to achieve control of the VNNI voltage.

[0057] The voltage detection circuit (105) has two different modes, one is a comparator mode, and the other is an amplifier mode. The mode is switched by OP_RPP control. When OP_RPP is low, it is in comparator mode, and when it is high, it works in amplifier mode. In the comparator mode, a ckenb1 enable signal is provided, and the charge pump clock is started and stopped by its flip change, aiming to minimize power consumption; in the amplifier mode, a VDDR level signal is provided by controlling the VDD transmission path, and the charge pump clock amplitude is controlled by its level change, aiming to reduce the ripple of the output voltage VPPI when the charge pump is working;

[0058] The voltage detection circuit (205) is the same as the voltage detection circuit (105) and also has two modes: a comparator and an amplifier. However, due to the different potential values ​​of the input differential signal, it is controlled independently from 105.

[0059] The clock circuit (106) receives and processes the OSCP clock signal within a certain frequency range, and optionally provides a four-phase non-overlapping clock for the charge pump. The circuit includes a clock timing processing module of clockgen1, a buffer, and a boost0 / 1 clock amplification module. Optionally, boost0 is powered by a vddr signal and generates ck1p / ck2p to connect to the main capacitor of the charge pump transmission path to provide charge for VPPI; boost1 is powered by a vdd power supply and generates ck3p / ck4p to connect to the gate capacitor of the transmission tube, which is responsible for the connection between each section of the pump. OP <x0:y0>Used to adjust the driving capability of each phase clock and the clock amplitude output by the Boost module (the output amplitude under zero load is vdd / vddr or 2vdd / 2vddr);

[0060] The control method of the clock circuit (206) is the same as that of the clock circuit (106), providing a four-phase clock to the negative charge pump. However, in view of the charge pump structure, load and capacity requirements, its internal timing adjustment and driving capability are different from those of (106).

[0061] The charge pump (107) adopts an improved Dickson structure, and a CMOS cross-coupling structure may also be selected according to actual needs. This module is used to generate positive high voltage;

[0062] The charge pump (207) adopts an improved Dickson structure, and a CMOS cross-coupled structure may also be selected according to actual needs. This module is used to generate negative high voltage. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 :Schematic diagram of voltage application for programming and erasing voltage of P-Flash Bitcell;

[0064] Figure 2 : Positive voltage pump control loop diagram of the present invention;

[0065] Figure 3 : Negative voltage pump control loop diagram of the present invention;

[0066] Figure 4 : An example of a pump step-up voltage boost;

[0067] Figure 5 : An example of a pump step-up voltage boost;

[0068] Figure 6 :P-flash a charge pump to establish power consumption control example;

[0069] Figure 7 : Figure 6 Waveform diagram of control mode; DETAILED DESCRIPTION

[0070] The technical solution of the present invention is further described below in conjunction with the accompanying drawings.

[0071] Figure 6 A control scheme for the charge pump to establish a stable range during the erase operation of P-FLASH. Figure 1 P-FLASH Bitcell needs to generate positive high voltage and negative high voltage when erasing. Combined with the specific circuit, the charge pump power supply is VDD15, the typical value is 1.5V, and we need to generate a VPPI signal of about 10V and a VNNI signal of about -10V through the charge pump.

[0072] Since VPPI has a heavy load and high power consumption pressure, we configured a longer setup time and more segments for it to maximize the power consumption performance during the setup process. Relatively speaking, VNNI has a lighter load and less power consumption pressure, so we configured a shorter time and fewer segment control for VNNI. In addition, since the P-FLASH erase time is long, the restrictions on the pump setup time are relatively loose. To achieve better results, we adopted a solution that first VPPI and then VNNI, in which the positive and negative pumps are established separately and the pump signal is established in a linear step.

[0073] The VPPI establishment process can be divided into 5 stages according to the control method, generating a total of 39 steps. The voltage boost amplitude in the first 3 stages is relatively large. To control the slope, the step length is appropriately lengthened. The Ry adjustment method is adopted, and the target potential is 3.5V. The fourth stage is divided into 16 small sections. To reduce the level shift scenario at high voltage, the Rx adjustment method is adopted to control the voltage of each section (refer to Figure 2 In the 104 voltage divider circuit), the voltage rise in this stage is reduced to 0.25V, the step size is adjusted to 4.5u, and the target potential is 7.5V; the fifth stage is divided into 16 small sections, and the step-by-step voltage increase is achieved by adjusting the reference voltage from 0.9 to 1.2V. Since the output current capacity of the charge pump is weakened and the power consumption is relatively large in this stage, we reduce the voltage rise of each section to ensure stable power consumption, and the final target potential is 10V.

[0074] VNNI has relatively low power consumption in the P-FLASH erasing operation. Accordingly, we configure three stages according to the control mode to generate a total of 16 small steps. The first stage includes 5 steps, with a step length of 5.2u and a voltage increase of 0.75u. The voltage is controlled by adjusting Rm (refer to Figure 3 204 voltage divider circuit), the target point is -3.75V; the second stage also includes 5 steps, the voltage increase is also 0.75u, but the output voltage is controlled by adjusting Rn, and the target point is -7.5V; the third stage is divided into 6 small sections. As the output voltage of the charge pump gradually increases, its current output capacity decreases. In order to stabilize the power consumption, the voltage drop in this stage is adjusted to 0.5V per section, and the step length is shortened to 3.5u. By adjusting vrefn from 0.9V to 1.2V, VNNI is controlled to ensure the same drop to -10V potential.

[0075] Specifically, since the initial voltage of VPPI is the power supply VDD15, which allows a certain deviation, the VPPI signals with different initial values ​​are unified to a potential of 2V through a step-up in the first stage. Since the output voltage of the charge pump control in the first two stages is low and the capacity is surplus, in order to control power consumption, the charge pump clock is deliberately reduced (4.5Mhz->9Mhz), and the clock amplitude is also reduced to VDD15 x 1. In the third stage, the charge pump clock frequency is adjusted to the normal frequency (18Mhz), but the amplitude is still maintained at VDD15 x 1. Until the fifth stage, when the amplitude of VDD15 x 1 can no longer meet the demand, the charge pump clock is adjusted to VDD15 x 2, but due to the instantaneous power consumption surge at the beginning of the adjustment, the first small section of the fifth stage is set to only maintain the potential for pump boosting to adapt to the sudden change in charge pump capacity and smooth power consumption.

[0076] Similarly, for VNNI, the initial first stage is strong enough, and the charge pump clock frequency and amplitude are set to be reduced (4.5Mhz) and reduced (VDD15 x 1). In the second stage, the charge pump clock frequency is adjusted to 9Mhz, and in the third stage, in order to improve the charge pump capacity to meet the demand, the charge pump clock amplitude is adjusted to VDD15 x 2. Similar to the 5th stage of VPPI, the first small section is also used to ensure that the voltage remains unchanged to improve the possible sudden increase in power consumption.

[0077] On the whole, VPPI and VNNI are both established in a step-by-step manner. The control circuit 102 / 202 configures different target voltages and specific power consumption adjustment methods for each section. The loop 100 / 200 associates the current voltage of the charge pump through the voltage divider circuit 104 / 204, and confirms whether the charge pump voltage reaches the target voltage by comparing it with the reference potential. In each section of the establishment phase, after VPPI and VNNI reach the target potential, the vddr and vssr potentials are adjusted to control the clock amplitude to reduce ripples and also reduce power consumption (in principle, it is more conducive to saving power consumption by controlling the clock start and stop, but the instantaneous power consumption during the switching of each section may be increased). After the VPPI is established, it will switch to the VPPI charge pump clock start and stop mode to reduce the superposition of the power consumption from the VPPI charge pump during the VNNI establishment phase, but after the VNNI is established, the vddr control ripple method will be restored.

[0078] Depend on Figure 7 It can be seen that through the control of this solution, the average power consumption of VDD15 (main power consumption in the erase phase) in the 1us interval is controlled within 630uA under different process angles, different temperatures and power supply voltages during the entire erasure operation, especially during the establishment of the pump signal, and is very stable without significant changes. In comparison, the indicator was about 1.5mA before the implementation of this solution, which is a significant improvement.

[0079] For programming mode, the timing constraints are more stringent, the control method is more complicated than the erasing action, and the time configuration is more calculated, but the basic control idea is the same as the erasing action, and the improvement effect is also obvious. The 1us average power consumption can also be controlled at a level comparable to the erasing action. The specific control scheme and waveform will not be repeated here.

[0080] In addition, in order to explain the method of the present invention more intuitively, this example deliberately uses a linear step boost method. In fact, according to the power consumption characteristics and load conditions when the pump is established, the use of a nonlinear step boost method can gain more benefits in terms of establishment time, and the power consumption can also be controlled to be no higher than the linear step control method.

[0081] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the design principles and technical solutions of the present invention are included in the protection scope of the present invention.

Claims

1. A circuit for smoothing power consumption when starting a charge pump, characterized in that: It includes a control loop (100) responsible for generating a positive level and a control loop (200) responsible for generating a negative level, both of which are composed of a frequency division counting circuit, a control circuit, a level conversion module, a voltage division circuit, a voltage detection circuit, a clock circuit and a charge pump; wherein: The control loop (100) responsible for generating a positive level comprises a frequency division counting circuit (101), a control circuit (102), a level conversion module (103), a voltage division circuit (104), a voltage detection circuit (105), a clock circuit (106) and a positive charge pump circuit (107), wherein: The frequency division counting circuit (101) is used to generate the start and stop flag signals of each stage of the charge pump boost and the charge pump basic clocks of multiple frequencies; the level conversion module (103) is used to generate the high-voltage control signal for controlling the switch opening and closing of the voltage division circuit (104); the voltage division circuit (104) is used to generate the same-phase and opposite-phase input signals of the voltage detection circuit (105); the voltage detection circuit (105) is used to detect the output voltage of the positive charge pump circuit (107) and provide an indication flag signal indicating that the boost target has been reached according to the target potential of each stage; the clock circuit (106) is used to generate the multi-phase clock required by the positive charge pump circuit (107); the positive charge pump circuit (107) is used to raise the power supply voltage to the target voltage and drive the corresponding port of the FLASH storage unit; the control circuit (102) is used to control all modules in the loop to work normally; The frequency division counting circuit (101): the input port includes a clock signal OSC whose error range meets the requirements, a bus control signal OP from the control circuit (102) <x1:y1>,ON <x2:y2>and reset signal rstp; the output ports are respectively the clock signal OSCP connected to the clock circuit (106) after frequency division and the bus signal vppramp output to the control circuit (102) <m1:0> ;< / m1:0> The control circuit (102): the input signal includes the charge pump boost flag signal vdetp from the voltage detection circuit (105) and the bus signal vppramp from the frequency division counting circuit (101) <m1:0>, the number of bus bits is related to the number of boost steps; the output signals are the bus signals OP and OP of the clock circuit (106) respectively. <x0:y0>, connected to the bus signal OP in the voltage divider circuit (104) <x4:y4>, to the OP of the level conversion module (103) <x3:y3>signal, a ripple control signal OP_RPP output to the voltage detection circuit (105) and a bus control signal OP_RPP output to the frequency division counting circuit (101). <x1:y1>,ON <x2:y2> and reset signal rstp; The level conversion module (103) receives the low-level bus signal OP from the voltage control circuit (102). <x3:y3>, output high level bus signal HVOP <x3:y3> to the voltage divider circuit (104); The voltage divider circuit (104) is composed of two groups of resistor voltage divider circuits, VPPI-gnd and VREF-gnd; the input end is connected to the low-level bus signal OP <x4:y4>and high-level bus signal HVOP <x3:y3> , outputting a voltage division detection point fdbkp signal and a reference voltage vrefp signal to the in-phase / inverting input terminal of a comparator / amplifier in a voltage detection circuit (105); The voltage detection circuit (105) is connected to the fdbkp and vrefp signals of the voltage divider circuit (104) and the OP_RPP of the control circuit (102) respectively; then, it outputs vddr and ckenb1 to the clock circuit (106), the former being used as the power supply for part of the circuit, and the latter controlling the start and stop of the charge pump clock; in addition, it also outputs a flag signal vdetp to the control circuit (102) for its internal logic switching; The clock circuit (106) has input signals including OP from the control circuit (102) <x0:y0> , the clock signals OSCP and vddr of the frequency division counting circuit (101) and the signal ckenb1 of the voltage detection circuit (105); its output end is 4 phase non-overlapping clocks ck1p, ck2p, ck3p, ck4p, and all 4 signals are connected to the positive charge pump circuit (107); The positive charge pump circuit (107) receives pump clock signals ck1p, ck2p, ck3p, ck4p at its input end, and outputs a charge pump voltage, namely a high-voltage signal VPPI, which provides high voltage for some ports of the memory bit cell and also supplies power to some devices in the voltage divider circuit (104) and the level conversion module (103); The control loop (200) responsible for generating a negative level comprises a frequency division counting circuit (201), a control circuit (202), a level conversion module (203), a voltage division circuit (204), a voltage detection circuit (205), a clock circuit (206) and a negative charge pump circuit (207); wherein: The frequency division counting circuit (201): the input port includes a clock signal OSC shared with the frequency division counting circuit (101), a bus control signal OP from the control circuit (202) <x6:y6>,ON <x7:y7>and reset signal rstn; the output port has clock division signal OSCN and bus signal vnnramp <m2:0> , respectively connected to the clock circuit (206) and the control circuit (202);< / m2:0> The control circuit (202): the input signal includes the charge pump boost flag signal vdetn from the voltage detection circuit (205) and the bus signal vnnramp from the frequency division counting circuit (201) <m2:0>; There is a bus signal OP at the output <x5:y5>,ON <x6:y6>,ON <x7:y7>,ON <x8:y8>,ON <x9:y9> They are connected to the clock circuit (206), the frequency division counting circuit (201), the level conversion module (203) and the voltage division circuit (204) in sequence, and also output a signal OP_RPN to the voltage detection circuit (205) and a reset signal rstn to the frequency division counting circuit (201);< / x9:y9> The level conversion module (203) receives the low-level bus signal OP from the voltage control circuit (202). <x8:y8>, output high level bus signal HVOP <x8:y8> to the voltage divider circuit (204);< / x8:y8> The voltage divider circuit (204) is composed of two groups of resistor voltage divider circuits, VNNI-gnd and VREF-gnd; the input end is connected to the low-level bus signal OP <x9:y9>and high-level bus signal HVOP <x8:y8> , outputting the voltage division detection point fdbkn to the inverting input terminal of the comparator / amplifier in the voltage detection circuit (205);< / x8:y8> The voltage detection circuit (205) is respectively connected to the reference voltage gvss, the voltage division detection point fdbkn of the voltage division circuit (204) and OP_RPN of the control circuit (202); thereafter, it outputs vssr and ckenb2 to the clock circuit (206) and outputs a flag signal vdetn to the control circuit (202); The clock circuit (206, the input signals include OP from the control circuit (202) <x5:y5> , the clock signals OSCP and vssr of the frequency division counting circuit (201) and the signal ckenb2 of the voltage detection circuit (205); its output end is 4 phase non-overlapping clocks ck1n, ck2n, ck3n, ck4n, and all 4 signals are connected to the negative charge pump circuit (207);< / x5:y5> The negative charge pump circuit (207) receives pump clock signals ck1n, ck2n, ck3n, ck4n at its input end, and outputs a charge pump voltage, i.e. a negative voltage signal VNNI, which supplies power to some ports of the memory bit cell, the voltage divider circuit (204) and the level conversion module (203).

2. A method for smoothing power consumption during charge pump startup, based on the circuit of claim 1, comprising: Step 1: The control circuit divides the charge pump voltage into a number of boost stages according to different working modes, and its voltage waveform is characterized by step boost; Step 2: The control circuit adjusts the duration and boost amplitude of each stage according to the load and timing requirements, so that the charge pump voltage is established in a nonlinear form; Step 3: The voltage divider circuit saves area and realizes smooth switching of multiple step voltages by adjusting the voltage divider detection point and the reference voltage in sequence; Step 4: By adjusting the resistance value of the voltage divider circuit, a fast response of the voltage divider detection point signal and a low current consumption of the voltage divider circuit are taken into consideration; Step 5: The control circuit is responsible for adjusting the clock frequency and PUMP capacity at all stages of the charge pump boost process to reduce ineffective power consumption; Step 6: The control circuit and the frequency division counting circuit control the duration and voltage increase of each stage in the charge pump voltage boost process to improve the consistency of the erase depth of the FLASH storage unit under different process angles.