Voltage generating circuit
By designing a voltage generation circuit including a comparator and a voltage divider circuit in a semiconductor memory device, the problems of increased circuit area, cost and reduced accuracy caused by high-voltage components are solved, and a high-precision voltage output is achieved.
Patent Information
- Application Number
- CN202310832318.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-24
- Filing Date
- 2023-07-07
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2043-07-07
AI Technical Summary
Existing semiconductor memory devices require high voltages in incremental step pulse programming and incremental step pulse erasing operations, but the use of high-voltage components leads to increased circuit area, increased cost, and reduced output accuracy under high temperature and high voltage conditions. .
A voltage generation circuit is designed, including a first comparator, a boost circuit and an output circuit. By comparing the reference voltage and the feedback voltage, the control signal is generated, and the use of high-voltage components is reduced. The voltage divider circuit is used to independently control the boost voltage and drive. voltage to achieve accurate voltage output.
In reducing the use of high-voltage components, the accuracy of voltage generation is improved, production costs are reduced, and circuit area is reduced.
Smart Images

Figure CN119024914A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a voltage generating circuit, and in particular to a voltage generating circuit suitable for a semiconductor storage device. Background Art
[0002] For semiconductor storage devices such as NAND or NOR flash memory, high voltages need to be generated when performing incremental step pulse programming (ISPP) and incremental step pulse erase (ISPE). Generally speaking, these high voltages are boosted by a charge pump and stably provided to the word line via a voltage regulator. In order to make the threshold voltage distribution of the storage unit more concentrated, it is more important to generate a high-precision high voltage. Therefore, a large number of high-voltage components (such as potential shifters) must be prepared in the voltage generation circuit, which not only increases the circuit area, but also increases the production cost. In addition, under high temperature and high pressure, the off-leakage current (Ioff leakage) and impedance of the high-voltage components change greatly, resulting in poor linearity of voltage regulation and reduced accuracy of the high voltage. Summary of the invention
[0003] The present invention provides a voltage generating circuit, which can accurately generate a required voltage while reducing the use of high-voltage components (such as a potential shifter).
[0004] The voltage generating circuit of the present invention includes a first comparator, a boosting circuit, a second comparator and an output circuit. The first comparator is used to compare a first reference voltage with a first feedback voltage generated based on a first output node, and to generate a first control signal according to the comparison result. The boosting circuit is coupled to the first comparator and the first output node, and is controlled by the first control signal to output the boosted voltage to the first output node. The second comparator is used to compare the second reference voltage with a second feedback voltage generated based on the second output node, and to generate a second control signal according to the comparison result. The output circuit is coupled to the first output node, the second output node and the second comparator, receives the boosted voltage, and is controlled by the second control signal to convert the boosted voltage into a driving voltage and output it to the second output node. The boosted voltage is determined by the first reference voltage, and the driving voltage is determined by the second reference voltage.
[0005] Based on the above, the voltage generating circuit of the present invention can reduce the use of high-voltage components to achieve the purpose of reducing the area, and can solve the problem of poor output accuracy caused by high-voltage components.
[0006] In order to make the above features and advantages of the present invention more clearly understood, embodiments are given below with reference to the accompanying drawings for detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0007] Figure 1 is a circuit diagram of a voltage generating circuit according to an embodiment of the present invention;
[0008] Figure 2 is a circuit diagram of a current source circuit according to an embodiment of the present invention;
[0009] Figure 3 is a circuit diagram of a current source circuit according to another embodiment of the present invention. DETAILED DESCRIPTION
[0010] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.
[0011] Please refer to Figure 1 The voltage generating circuit 100 is suitable for providing a stable voltage for a semiconductor memory device such as a NAND type or a NOR type flash memory to perform a read operation, a program operation, and an erase operation, including a step voltage used in performing incremental step pulse programming and incremental step pulse erase operations. The voltage generating circuit 100 includes a first comparator CMP1, a second comparator CMP2, a boost circuit 110, an output circuit 120, a first feedback circuit 130, a second feedback circuit 140, and a current source circuit 150.
[0012] The non-inverting input terminal of the first comparator CMP1 receives the first reference voltage Vref1, and the inverting input terminal receives the first feedback voltage Vfb1 generated based on the first output node HV_G. The first comparator CMP1 is used to compare the first reference voltage Vref1 with the first feedback voltage Vfb1, and generate a first control signal Sc1 according to the comparison result. For example, when the first reference voltage Vref1 is greater than the first feedback voltage Vfb1, the first comparator CMP1 generates the first control signal Sc1 of a high logic level, and when the first reference voltage Vref1 is less than the first feedback voltage Vfb1, the first comparator CMP1 generates the first control signal Sc1 of a low logic level.
[0013] The boost circuit 110 is, for example, a charge pump, coupled to the first comparator CMP1 and the first output node HV_G. The boost circuit 110 can be controlled by the first control signal Sc1 to output the boost voltage Vcp to the first output node HV_G. For example, the boost circuit 110 can respond to the first control signal Sc1 of a high logic level and continue to increase the boost voltage Vcp until the first control signal Sc1 changes to a low logic level.
[0014] The inverting input terminal of the second comparator CMP2 receives the second reference voltage Vref2, and the non-inverting input terminal receives the second feedback voltage Vfb2 generated based on the second output node HV_S. The second comparator CMP2 is used to compare the second reference voltage Vref1 with the second feedback voltage Vfb2, and generate a second control signal Sc2 according to the comparison result. For example, when the second feedback voltage Vfb2 is greater than the second reference voltage Vref2, the second comparator CMP2 generates a second control signal Sc2 of a high logic level, and when the second feedback voltage Vfb2 is less than the second reference voltage Vref2, the second comparator CMP2 generates a second control signal Sc2 of a low logic level.
[0015] The output circuit 120 is coupled to the first output node HV_G, the second output node HV_S and the second comparator CMP2. The output circuit 120 receives the boost voltage Vcp, and is controlled by the second control signal Sc2 to convert the boost voltage Vcp into a driving voltage Vds and output it to the second output node HV_S. In terms of circuit structure, the output circuit 120 includes a diode D, a first N-type field effect transistor N1, an output resistor Rout, a second N-type field effect transistor N2 and a first protection transistor Q1. The anode of the diode D is coupled to the first output node HV_G. The drain of the first N-type field effect transistor N1 is coupled to the cathode of the diode D, and the source of the first N-type field effect transistor N1 is coupled to the second output node HV_S. The first end of the output resistor Rout is coupled to the first output node HV_G, and the second end of the output resistor Rout is coupled to the gate of the first N-type field effect transistor N1. The source of the second N-type field effect transistor N2 is coupled to the ground potential (0 volt), and the gate of the second N-type field effect transistor N2 is coupled to the output terminal of the second comparator CMP2 to receive the second control signal Sc2. The first protection transistor Q1 has a first terminal coupled to the drain of the second N-type field effect transistor N2, a second terminal coupled to the gate of the first N-type field effect transistor N1, and a control terminal coupled to the ground potential.
[0016] The first feedback circuit 130 is coupled to the inverting input terminal of the first comparator CMP and the first output node HV_G. The first feedback circuit 130 can generate a first feedback voltage Vfb1 to the inverting input terminal of the first comparator CMP1 according to the boost voltage Vcp. In terms of circuit structure, the first feedback circuit 130 includes a first resistor R1, a second resistor R2, a first enabling transistor QE1 and a second protection transistor Q2. The first resistor R1 is coupled between the first output node HV_G and the first feedback node ND1. The second resistor R2 is coupled between the first feedback node ND1 and the ground potential. The first enabling transistor QE1 is connected in series with the second resistor R2 on the circuit path between the first feedback node ND1 and the ground potential, and is configured to be turned on or off according to the enable signal EN. The first end of the second protection transistor Q2 is coupled to the first feedback node ND1, the second end is coupled to the inverting input terminal of the first comparator CMP1, and the control end is coupled to the ground potential.
[0017] The second feedback circuit 140 is coupled to the non-inverting input terminal and the second output node HV_S of the second comparator CMP2. The second feedback circuit 140 can generate a second feedback voltage Vfb2 to the non-inverting input terminal of the second comparator CMP2 according to the driving voltage Vds. In terms of circuit structure, the second feedback circuit 140 includes a third resistor R3, a fourth resistor R4, a second enabling transistor QE2 and a third protection transistor Q3. The third resistor R3 is coupled between the second output node HV_S and the second feedback node ND2. The fourth resistor R4 is coupled between the second feedback node ND2 and the ground potential. The second enabling transistor QE2 is connected in series with the fourth resistor R4 on the circuit path between the second feedback node ND2 and the ground potential, and is configured to be turned on or off according to the enable signal EN. The first end of the third protection transistor Q3 is coupled to the second feedback node ND2, the second end is coupled to the non-inverting input terminal of the second comparator CMP2, and the control end is coupled to the ground potential. The first protection transistor Q1 , the second protection transistor Q2 , and the third protection transistor Q3 are basically in a normally on state, and can play a role in protecting other components.
[0018] The current source circuit 150 is coupled to the first comparator CMP1 and the second comparator CMP2 . The current source circuit 150 operates at the power supply voltage VDD and can adjust the first reference voltage Vref1 according to the first voltage generating code VS1 and the second voltage generating code VS2 , and adjust the second reference voltage Vref2 according to the first voltage generating code VS1 .
[0019] In this embodiment, the boost voltage Vcp is determined by the first reference voltage Vref1, and the driving voltage Vds is determined by the second reference voltage Vref2. When the voltage generating circuit 100 is activated, the first enabling transistor QE1 and the second enabling transistor QE2 are turned on due to receiving the enabling signal EN of a high logic level. According to the voltage divider circuit formed by the first resistor R1 and the second resistor R2, the boost voltage Vcp can be expressed as follows (1):
[0020] Vcp=Vfb1*(R1+R2) / R2 (1)
[0021] The boost circuit 110 will continue to increase the boost voltage Vcp until the first control signal Sc1 changes to a low logic level. Therefore, the boost voltage Vcp will enter a steady state when the first feedback voltage Vfb1 is equal to the first reference voltage Vref1. At this time, the boost voltage Vcp can be expressed as follows:
[0022] Vcp=Vref1*(R1+R2) / R2 (2)
[0023] Similarly, according to the voltage divider circuit formed by the third resistor R3 and the fourth resistor R4, the driving voltage Vds can be expressed as follows:
[0024] Vds=Vfb2*(R3+R4) / R4 (3)
[0025] exist Figure 1 In the embodiment, when the second control signal Sc2 is at a low logic level, the second N-type field effect transistor N2 is turned off and the first N-type field effect transistor N1 is turned on. In this case, the driving voltage Vds will be changed with the boost voltage Vcp until the second control signal Sc2 changes to a high logic level to turn on the second N-type field effect transistor N2 and turn off the first N-type field effect transistor N1. Therefore, the driving voltage Vds will enter a steady state when the second feedback voltage Vfb2 is equal to the second reference voltage Vref2. At this time, the driving voltage Vds can be expressed as follows:
[0026] Vds=Vref2*(R3+R4) / R4 (4)
[0027] As shown in the above formula (2) and formula (4), through the circuit structure of the voltage generating circuit 100 of the embodiment of the present invention, the boost voltage Vcp can be adjusted according to the first reference voltage Vref1, the driving voltage Vds can be adjusted according to the second reference voltage Vref2, and the voltage difference between the first output node HV_G and the second output node HV_S can be independently controlled. In this way, the boost voltage Vcp and the driving voltage Vds can be accurately generated for use in various operations of the semiconductor memory device while reducing the use of high-voltage components (such as level shifters).
[0028] In practical applications, the first resistor R1 and the third resistor R3 can be selected as 114k ohms, and the second resistor R2 and the fourth resistor R4 can be selected as 6k ohms. Those skilled in the art can make appropriate adjustments according to their actual needs.
[0029] The following examples illustrate the implementation details of the current source circuit. Figure 1 and Figure 2 , the current source circuit 150A includes a first current source CS1, a second current source CS2, a fifth resistor R5 and a sixth resistor R6. The first end of the first current source CS1 is coupled to the power supply voltage VDD, and the second end is coupled to the non-inverting input terminal of the first comparator CMP1. The first end of the fifth resistor R5 is coupled to the second end of the first current source CS1, and the second end is coupled to the ground potential. The first end of the second current source CS2 is coupled to the power supply voltage VDD, and the second end is coupled to the inverting input terminal of the second comparator CMP2. The first end of the sixth resistor R6 is coupled to the second end of the second current source CS2, and the second end is coupled to the ground potential. The first current source CS1 is configured to generate a first reference current Iref1 according to the first voltage generating code VS1 and the second voltage generating code VS2 to provide the first reference voltage Vref1 to the non-inverting input terminal of the first comparator CMP1. At this time, the boost voltage Vcp can be expressed as follows:
[0030] Vcp=Iref1*R5*(R1+R2) / R2 (5)
[0031] The second current source CS2 is configured to generate a second reference current Iref2 according to the first voltage generation code VS1 to provide the second reference voltage Vref2 to the inverting input terminal of the second comparator CMP2. At this time, the driving voltage Vds can be expressed as follows:
[0032] Vds=Iref2*R6*(R3+R4) / R4 (6)
[0033] In practical applications, the fifth resistor R5 and the sixth resistor R6 can be selected to be 100k ohms, and those skilled in the art can make appropriate adjustments according to actual needs.
[0034] Another embodiment is given below to illustrate the implementation details of the current source circuit. Figure 1 and Figure 3 The current source circuit 150B includes a bias circuit 300, a fine-tuning current generating circuit 310, a basic current generating circuit 320, an over-driving current generating circuit 330 and a current mirror circuit 340. The bias circuit 300 is used to generate a bias current Ibias (eg, 4 μA).
[0035] The fine-tuning current generating circuit 310 is coupled to the bias circuit 300. The fine-tuning current generating circuit 310 can generate a plurality of weighted currents Iw1-Iw6 in a binary weighted increasing manner based on the bias current Ibias, and select a current to be summed from the weighted currents Iw1-Iw6 according to the first voltage generating code VS1 to generate the fine-tuning current Itrim. The current values of the weighted currents Iw1-Iw6 are respectively increased in a binary weighted manner from low to high based on the mirror ratio of the transistors in the circuit. For example, the weighted current Iw1 is 0.1 microamperes, the weighted current Iw2 is 0.2 microamperes, the weighted current Iw3 is 0.4 microamperes, the weighted current Iw4 is 0.8 microamperes, the weighted current Iw5 is 1.6 microamperes, and the weighted current Iw6 is 3.2 microamperes.
[0036] The basic current generating circuit 320 is coupled to the bias circuit 300 and the fine-tuning current generating circuit 310. The basic current generating circuit 320 is used to generate a basic current Ib. The basic current Ib is used to generate a minimum driving voltage Vds, such as 5.7 microamperes.
[0037] The over-driving current generating circuit 330 is coupled to the bias circuit 300. The over-driving current generating circuit 330 can generate an over-driving current Iov according to the second voltage generating code VS2. The driving current Iov can be used to determine the voltage difference between the boost voltage Vcp and the driving voltage Vds.
[0038] The current mirror circuit 340 is coupled to the bias circuit 300, the fine-tuning current generating circuit 310, the basic current generating circuit 320 and the over-driving current generating circuit 330. The current mirror circuit 340 can add up the fine-tuning current Itrim, the basic current Ib and the over-driving current Iov to generate a first reference current Iref1 to provide a first reference voltage Vref1 to the non-inverting input terminal of the first comparator CMP1, and can add up the fine-tuning current Itrim and the basic current Ib to generate a second reference current Iref2 to provide a second reference voltage Vref2 to the inverting input terminal of the second comparator CMP2. In other words, the first reference current Iref1 is equal to the sum of the fine-tuning current Itrim, the basic current Ib and the over-driving current Iov, and the second reference current Iref2 is equal to the sum of the fine-tuning current Itrim and the basic current Ib. At this time, the boost voltage Vcp can be expressed as follows (7), and the drive voltage Vds can be expressed as follows (8):
[0039] Vcp=(Ib+Itrim+Iov)*R5*(R1+R2) / R2 (7)
[0040] Vds=(Ib+Itrim)*R6*(R3+R4) / R4 (8)
[0041] In terms of circuit structure, the current mirror circuit 340 includes a third enabling transistor QE3, first to eleventh P-type field effect transistors P1-P11, a third N-type field effect transistor N3, a fourth N-type field effect transistor N4, a fifth resistor R5 and a sixth resistor R6. A first terminal of the third enabling transistor QE3 is coupled to a power supply voltage VDD, and a control terminal is coupled to an anti-enable signal ENB. A source of the first P-type field effect transistor P1 is coupled to a second terminal of the third enabling transistor QE3. A source of the second P-type field effect transistor P2 is coupled to a drain of the first P-type field effect transistor P1, and a drain of the second P-type field effect transistor P2 is coupled to a gate of the first P-type field effect transistor P1, a fine-tuning current generating circuit 310 and a basic current generating circuit 320. A source of the third P-type field effect transistor is coupled to a second terminal of the third enabling transistor QE3, and a gate of the third P-type field effect transistor is coupled to a gate of the first P-type field effect transistor P1. The source of the fourth P-type field effect transistor P4 is coupled to the drain of the third P-type field effect transistor P3, the drain of the fourth P-type field effect transistor P4 is coupled to the inverting input terminal of the second comparator CMP2, and the gate of the fourth P-type field effect transistor P4 is coupled to the gate of the second P-type field effect transistor P2. The source of the fifth P-type field effect transistor P5 is coupled to the second terminal of the third enabling transistor QE3, and the gate of the fifth P-type field effect transistor P5 is coupled to the gate of the first P-type field effect transistor P1. The source of the sixth P-type field effect transistor P6 is coupled to the drain of the fifth P-type field effect transistor P5, the drain of the sixth P-type field effect transistor P6 is coupled to the non-inverting input terminal of the first comparator CMP1, and the gate of the sixth P-type field effect transistor P6 is coupled to the gate of the second P-type field effect transistor P2. The source of the seventh P-type field effect transistor P7 is coupled to the second terminal of the third enabling transistor QE3. The source of the eighth P-type field effect transistor P8 is coupled to the drain of the seventh P-type field effect transistor P7, the drain of the eighth P-type field effect transistor P8 is coupled to the drain of the sixth P-type field effect transistor P6, and the gate of the eighth P-type field effect transistor P8 is coupled to the gate of the second P-type field effect transistor P2. The source of the ninth P-type field effect transistor P9 is coupled to the second end of the third enabling transistor QE3, and the gate of the ninth P-type field effect transistor P9 is coupled to the gate of the seventh P-type field effect transistor. The source of the tenth P-type field effect transistor P10 is coupled to the drain of the ninth P-type field effect transistor P9, the drain of the tenth P-type field effect transistor P10 is coupled to the gate of the ninth P-type field effect transistor P9 and the over-driving current generating circuit 330, and the gate of the tenth P-type field effect transistor P10 is coupled to the gate of the second P-type field effect transistor P2. The source of the eleventh P-type field effect transistor P11 is coupled to the power supply voltage VDD, the drain and gate of the eleventh P-type field effect transistor P11 are commonly coupled to the gate of the second P-type field effect transistor P2. The drain of the third N-type field effect transistor N3 is coupled to the drain of the eleventh P-type field effect transistor P11, and the gate of the third N-type field effect transistor N3 is coupled to the bias circuit 300.The drain of the fourth N-type field effect transistor N4 is coupled to the source of the third N-type field effect transistor N3, the source of the fourth N-type field effect transistor N4 is coupled to the ground potential, and the gate of the fourth N-type field effect transistor N4 is coupled to the bias circuit 300. The first end of the fifth resistor R5 is coupled to the drain of the sixth P-type field effect transistor P6, and the second end is coupled to the ground potential. The first end of the sixth resistor R6 is coupled to the drain of the fourth P-type field effect transistor P4, and the second end is coupled to the ground potential.
[0042] The bias circuit 300 includes a third current source CS3, a fifth N-type field effect transistor N5, a fourth current source CS4, a sixth N-type field effect transistor N6, a seventh N-type field effect transistor N7, a fourth enable transistor QE4 and a fifth enable transistor QE5. A first end of the third current source CS3 is coupled to a power supply voltage VDD. A drain and a gate of the fifth N-type field effect transistor N5 are commonly coupled to a second end of the third current source CS3 and a gate of the third N-type field effect transistor N3 in the current mirror circuit 340, and a source of the fifth N-type field effect transistor N5 is coupled to a ground potential. A first end of the fourth current source CS4 is coupled to a power supply voltage VDD. A drain of the sixth N-type field effect transistor N6 is coupled to a second end of the fourth current source CS4, and a gate of the sixth N-type field effect transistor N6 is coupled to a gate of the third N-type field effect transistor N3. The drain of the seventh N-type field effect transistor N7 is coupled to the source of the sixth N-type field effect transistor N6, the gate of the seventh N-type field effect transistor N7 is coupled to the drain of the sixth N-type field effect transistor N6 and the gate of the fourth N-type field effect transistor N4 in the current mirror circuit 340, and the source of the seventh N-type field effect transistor N7 is coupled to the ground potential. The first terminal of the fourth enable transistor QE4 is coupled to the drain of the fifth N-type field effect transistor N5, the second terminal is coupled to the ground potential, and the control terminal is coupled to the anti-enable signal ENB. The first terminal of the fifth enable transistor QE5 is coupled to the drain of the sixth N-type field effect transistor, the second terminal is coupled to the ground potential, and the control terminal is coupled to the anti-enable signal ENB.
[0043] The fine-tuning current generating circuit 310 includes an eighth to a twenty-seventh N-type field effect transistor N8-N27. The drain of the eighth N-type field effect transistor N8 is coupled to the drain of the second P-type field effect transistor P2 in the current mirror circuit 340, and the gate of the eighth N-type field effect transistor N8 is coupled to the first coding signal TR1. The drain of the ninth N-type field effect transistor N9 is coupled to the source of the eighth N-type field effect transistor N8. The drain of the tenth N-type field effect transistor N10 is coupled to the source of the ninth N-type field effect transistor N9, and the gate of the tenth N-type field effect transistor N10 is coupled to the gate of the ninth N-type field effect transistor N9 and the gate of the sixth N-type field effect transistor in the bias circuit 300. The drain of the eleventh N-type field effect transistor N11 is coupled to the source of the tenth N-type field effect transistor N10. The drain of the twelfth N-type field effect transistor N12 is coupled to the source of the eleventh N-type field effect transistor N11, the source of the twelfth N-type field effect transistor N12 is coupled to the ground potential, and the gate of the twelfth N-type field effect transistor N12 is coupled to the gate of the eleventh N-type field effect transistor N11 and the gate of the seventh N-type field effect transistor N7 in the bias circuit 300. The drain of the thirteenth N-type field effect transistor N13 is coupled to the drain of the second P-type field effect transistor P2, and the gate of the thirteenth N-type field effect transistor N13 is coupled to the second encoding signal TR2. The drain of the fourteenth N-type field effect transistor N14 is coupled to the source of the thirteenth N-type field effect transistor N13, and the gate of the fourteenth N-type field effect transistor N14 is coupled to the gate of the sixth N-type field effect transistor N6. The drain of the fifteenth N-type field effect transistor N15 is coupled to the source of the fourteenth N-type field effect transistor N14, the source of the fifteenth N-type field effect transistor N15 is coupled to the ground potential, and the gate of the fifteenth N-type field effect transistor N15 is coupled to the gate of the seventh N-type field effect transistor N7. The drain of the sixteenth N-type field effect transistor N16 is coupled to the drain of the second P-type field effect transistor P2, and the gate of the sixteenth N-type field effect transistor N16 is coupled to the third encoding signal TR3. The drain of the seventeenth N-type field effect transistor N17 is coupled to the source of the sixteenth N-type field effect transistor N16, and the gate of the seventeenth N-type field effect transistor N17 is coupled to the gate of the sixth N-type field effect transistor N6. The drain of the eighteenth N-type field effect transistor N18 is coupled to the source of the seventeenth N-type field effect transistor N17, the source of the eighteenth N-type field effect transistor N18 is coupled to the ground potential, and the gate of the eighteenth N-type field effect transistor N18 is coupled to the gate of the seventh N-type field effect transistor N7. The drain of the nineteenth N-type field effect transistor N19 is coupled to the drain of the second P-type field effect transistor P2, and the gate of the nineteenth N-type field effect transistor N19 is coupled to the fourth coding signal TR4. The drain of the twentieth N-type field effect transistor N20 is coupled to the source of the nineteenth N-type field effect transistor N19, and the gate of the twentieth N-type field effect transistor N20 is coupled to the gate of the sixth N-type field effect transistor N6.The drain of the twenty-first N-type field effect transistor N21 is coupled to the source of the twentieth N-type field effect transistor N20, the source of the twenty-first N-type field effect transistor N21 is coupled to the ground potential, and the gate of the twenty-first N-type field effect transistor N21 is coupled to the gate of the seventh N-type field effect transistor. The drain of the twenty-second N-type field effect transistor N22 is coupled to the drain of the second P-type field effect transistor of the twenty-second N-type field effect transistor N22, and the gate of the twenty-second N-type field effect transistor N22 is coupled to the fifth encoding signal TR5. The drain of the twenty-third N-type field effect transistor N23 is coupled to the source of the twenty-second N-type field effect transistor N22, and the gate of the twenty-third N-type field effect transistor N23 is coupled to the gate of the sixth N-type field effect transistor N6. The drain of the twenty-fourth N-type field effect transistor N24 is coupled to the source of the twenty-third N-type field effect transistor N23, the source of the twenty-fourth N-type field effect transistor N24 is coupled to the ground potential, and the gate of the twenty-fourth N-type field effect transistor N24 is coupled to the gate of the seventh N-type field effect transistor N7. The drain of the twenty-fifth N-type field effect transistor N25 is coupled to the drain of the second P-type field effect transistor P2, and the gate of the twenty-fifth N-type field effect transistor N25 is coupled to the sixth encoding signal. The drain of the twenty-sixth N-type field effect transistor N26 is coupled to the source of the twenty-fifth N-type field effect transistor N25, and the gate of the twenty-sixth N-type field effect transistor N26 is coupled to the gate of the sixth N-type field effect transistor N6. The drain of the twenty-seventh N-type field effect transistor N27 is coupled to the source of the twenty-sixth N-type field effect transistor N26, the source of the twenty-seventh N-type field effect transistor N27 is coupled to the ground potential, and the gate of the twenty-seventh N-type field effect transistor N27 is coupled to the gate of the seventh N-type field effect transistor N7.
[0044] The basic current generating circuit 320 includes a twenty-eighth N-type field effect transistor N28 and a twenty-ninth N-type field effect transistor N29. The drain of the twenty-eighth N-type field effect transistor N28 is coupled to the drain of the second P-type field effect transistor P2 in the current mirror circuit 340, and the gate of the twenty-eighth N-type field effect transistor N28 is coupled to the gate of the sixth N-type field effect transistor N6 in the bias circuit 300. The drain of the twenty-ninth N-type field effect transistor N29 is coupled to the source of the twenty-eighth N-type field effect transistor N28, the source of the twenty-ninth N-type field effect transistor N29 is coupled to the ground potential, and the gate of the twenty-ninth N-type field effect transistor N29 is coupled to the gate of the seventh N-type field effect transistor N7 in the bias circuit 300.
[0045] In operation, the logic level of the anti-enable signal ENB is complementary to the logic level of the enable signal EN. When the voltage generating circuit 100 is activated, the third enable transistor QE3 is turned on due to receiving the anti-enable signal ENB of the low logic level, and the fourth enable transistor QE4 and the fifth enable transistor QE5 are turned off due to receiving the anti-enable signal ENB of the low logic level. In this way, the fifth P-type field effect transistor P5, the sixth P-type field effect transistor P6, the seventh P-type field effect transistor P7, and the eighth P-type field effect transistor P8 are turned on. Figure 3 A first reference current Iref1 is generated by summing up the trimming current Itrim, the base current Ib and the overdrive current Iov on a circuit path formed by connecting in parallel with each other and in series with the fifth resistor R5. A second reference current Iref2 is generated by summing up the trimming current Itrim and the base current Ib on a circuit path formed by connecting in series the third P-type field effect transistor P3, the fourth P-type field effect transistor P4 and the sixth resistor R6.
[0046] In addition, the six bits of the first voltage generating code VS1 are used as the first to sixth coding signals TR1-TR6 and are respectively input to the gates of the eighth N-type field effect transistor N8, the thirteenth N-type field effect transistor N13, the sixteenth N-type field effect transistor N16, the nineteenth N-type field effect transistor N19, the twenty-second N-type field effect transistor N22 and the twenty-fifth N-type field effect transistor N25 to control the conduction or disconnection of these transistors. By combining the six bits of the first voltage generating code VS1, 64 kinds of fine-tuning currents Itrim can be set. In this way, the fine-tuning current Itrim can be adjusted during the incremental step pulse programming and incremental step pulse erasing operations to generate appropriate boost voltage Vcp and drive voltage Vds.
[0047] It is worth mentioning that the internal structure of the basic current generating circuit 320 may be similar to the internal structure of the overdriving current generating circuit 330, thereby generating the overdriving current Iov according to the second voltage generating code VS2, but the present invention is not limited thereto.
[0048] In summary, the voltage generating circuit of the present invention can not only reduce the occupied area, but also effectively improve the accuracy of the output voltage while reducing the use of high-voltage components, thereby reducing the production cost.
[0049] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A voltage generating circuit, characterized in that: include: A first comparator, used for comparing a first reference voltage with a first feedback voltage generated based on the first output node, and generating a first control signal according to a comparison result; A boost circuit, coupled to the first comparator and the first output node, and controlled by the first control signal to output a boosted voltage to the first output node; A second comparator, used for comparing a second reference voltage with a second feedback voltage generated based on a second output node, and generating a second control signal according to a comparison result; as well as an output circuit coupled to the first output node, the second output node and the second comparator, receiving the boosted voltage, and being controlled by the second control signal to convert the boosted voltage into a driving voltage and output it to the second output node, The boost voltage is determined by the first reference voltage, and the driving voltage is determined by the second reference voltage.
2. The voltage generating circuit according to claim 1, characterized in that: When the first reference voltage is greater than the first feedback voltage, the first comparator generates the first control signal of a high logic level, and when the first reference voltage is less than the first feedback voltage, the first comparator generates the first control signal of a low logic level.
3. The voltage generating circuit according to claim 1, characterized in that: When the second feedback voltage is greater than the second reference voltage, the second comparator generates the second control signal of a high logic level, and when the second feedback voltage is less than the second reference voltage, the second comparator generates the second control signal of a low logic level.
4. The voltage generating circuit according to claim 1, characterized in that: The boost circuit continuously increases the boost voltage in response to the first control signal of a high logic level until the first control signal changes to a low logic level, and the boost voltage enters a steady state when the first feedback voltage is equal to the first reference voltage.
5. The voltage generating circuit according to claim 1, characterized in that: The output circuit comprises: a diode, an anode of which is coupled to the first output node; A first N-type field effect transistor, a drain of which is coupled to the cathode of the diode, and a source of which is coupled to the second output node; an output resistor, a first end of which is coupled to the first output node, and a second end of which is coupled to the gate of the first N-type field effect transistor; A second N-type field effect transistor, a source of which is coupled to the ground potential, and a gate of which receives the second control signal; and The first protection transistor has a first terminal coupled to the drain of the second N-type field effect transistor, a second terminal coupled to the gate of the first N-type field effect transistor, and a control terminal coupled to the ground potential.
6. The voltage generating circuit according to claim 5, characterized in that: When the second control signal is at a low logic level, the second N-type field effect transistor is turned off and the first N-type field effect transistor is turned on. In this case, the drive voltage is changed with the boost voltage until the second control signal is converted to a high logic level to turn on the second N-type field effect transistor and turn off the first N-type field effect transistor. The drive voltage enters a steady state when the second feedback voltage is equal to the second reference voltage.
7. The voltage generating circuit according to claim 1, characterized in that: Also includes: The first feedback circuit is coupled to the inverting input terminal of the first comparator and the first output node, and generates the first feedback voltage to the inverting input terminal of the first comparator according to the boost voltage.
8. The voltage generating circuit according to claim 7, characterized in that: The first feedback circuit comprises: A first resistor coupled between the first output node and a first feedback node, wherein the first feedback node is coupled to the inverting input terminal of the first comparator; and The second resistor is coupled between the first feedback node and the ground potential.
9. The voltage generating circuit according to claim 8, characterized in that: The first feedback circuit further includes: a first enabling transistor connected in series with the second resistor on a circuit path between the first feedback node and the ground potential, and configured to be turned on or off according to an enabling signal; and A second protection transistor has a first terminal coupled to the first feedback node, a second terminal coupled to the inverting input terminal of the first comparator, and a control terminal coupled to the ground potential.
10. The voltage generating circuit according to claim 1, characterized in that: Also includes: The second feedback circuit is coupled to the non-inverting input terminal of the second comparator and the second output node, and generates the second feedback voltage to the non-inverting input terminal of the second comparator according to the driving voltage.
11. The voltage generating circuit according to claim 10, characterized in that: The second feedback circuit comprises: a third resistor coupled between the second output node and a second feedback node, wherein the second feedback node is coupled to the non-inverting input terminal of the second comparator; and The fourth resistor is coupled between the second feedback node and a ground potential.
12. The voltage generating circuit according to claim 11, characterized in that: The second feedback circuit further includes: a second enabling transistor connected in series with the fourth resistor on a circuit path between the second feedback node and the ground potential, and configured to be turned on or off according to the enabling signal; and A third protection transistor has a first terminal coupled to the second feedback node, a second terminal coupled to the non-inverting input terminal of the second comparator, and a control terminal coupled to the ground potential.
13. The voltage generating circuit according to claim 1, characterized in that: Also includes: The current source circuit is coupled to the first comparator and the second comparator. The current source circuit operates under a power supply voltage, adjusts the first reference voltage according to a first voltage generation code and a second voltage generation, and adjusts the second reference voltage according to the first voltage generation code.
14. The voltage generating circuit according to claim 13, characterized in that: The current source circuit comprises: A first current source, a first terminal of which is coupled to the power supply voltage, and a second terminal of which is coupled to the non-inverting input terminal of the first comparator; a fifth resistor, a first end of which is coupled to the second end of the first current source, and a second end of which is coupled to the ground potential; A second current source, a first terminal of which is coupled to the power supply voltage, and a second terminal of which is coupled to the inverting input terminal of the second comparator; and a sixth resistor, a first end of which is coupled to the second end of the second current source, and a second end of which is coupled to the ground potential, The first current source is configured to generate a first reference current according to the first voltage generating code and the second voltage generating code to provide the first reference voltage to the non-inverting input terminal of the first comparator, and the second current source is configured to generate a second reference current according to the first voltage generating code to provide the second reference voltage to the inverting input terminal of the second comparator.
15. The voltage generating circuit according to claim 13, characterized in that: The current source circuit comprises: A bias circuit for generating a bias current; a fine-tuning current generating circuit coupled to the bias circuit, generating a plurality of weighted currents in a binary weighted incremental manner based on the bias current, and selecting a summed current from the plurality of weighted currents according to the first voltage generating code to generate a fine-tuning current; A basic current generating circuit, coupled to the bias circuit and the fine-tuning current generating circuit, for generating a basic current; an over-driving current generating circuit, coupled to the bias circuit, generating an over-driving current according to the second voltage generating code; and A current mirror circuit is coupled to the bias circuit, the fine-tuning current generating circuit, the base current generating circuit and the over-drive current generating circuit, and generates a first reference current by summing up the fine-tuning current, the base current and the over-drive current to provide the first reference voltage to the non-inverting input terminal of the first comparator, and generates a second reference current by summing up the fine-tuning current and the base current to provide the second reference voltage to the inverting input terminal of the second comparator.
Citation Information
Patent Citations
Voltage regulator with current sink for diverting external current and digital amplifier including the same
CN101201638A
DC-DC converter
CN105322786A
Voltage generating circuit and semiconductor memory device
CN106531221A
Semiconductor memory device and voltage generation circuit
CN110097911A
Voltage generator, nonvolatile memory device comprising voltage generator, and method of operating voltage generator
US20120063244A1
