CN111951853B - Method and device for controlling erasing operation and Nand flash memory - Google Patents
Method and device for controlling erasing operation and Nand flash memory Download PDFInfo
- Publication number
- CN111951853B CN111951853B CN201910400126.0A CN201910400126A CN111951853B CN 111951853 B CN111951853 B CN 111951853B CN 201910400126 A CN201910400126 A CN 201910400126A CN 111951853 B CN111951853 B CN 111951853B
- Authority
- CN
- China
- Prior art keywords
- word line
- voltage
- edge
- charge pump
- erase operation
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/08—Address circuits; Decoders; Word-line control circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/14—Circuits for erasing electrically, e.g. erase voltage switching circuits
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/10—Programming or data input circuits
- G11C16/14—Circuits for erasing electrically, e.g. erase voltage switching circuits
- G11C16/16—Circuits for erasing electrically, e.g. erase voltage switching circuits for erasing blocks, e.g. arrays, words, groups
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Read Only Memory (AREA)
Abstract
Description
技术领域technical field
本发明涉及存储领域,尤其涉及一种控制擦除操作的方法、装置以及Nand flash存储器。The invention relates to the field of storage, in particular to a method and device for controlling an erasing operation and a Nand flash memory.
背景技术Background technique
目前Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,存储单元阵列由多个字线组合而成,这些字线中存在边缘字线和中间字线,所谓边缘字线是指在存储单元阵列边缘位置上的两个字线,除去这两个边缘字线以外的字线都为中间字线;电荷泵给存储单元阵列提供操作电压,电荷泵分多级,电荷泵其中一级可以给多个字线提供操作电压,也有极端情况,电荷泵其中一级只给一个字线提供操作电压,这是根据Nand flash存储器的具体情况来决定。At present, Nand flash memory includes: memory cell array, voltage detection unit and charge pump. The memory cell array is composed of multiple word lines. There are edge word lines and middle word lines in these word lines. The two word lines on the edge of the cell array, the word lines except these two edge word lines are the middle word lines; the charge pump provides the operating voltage for the memory cell array, the charge pump is divided into multiple stages, and one stage of the charge pump can be To provide operating voltage for multiple word lines, there are also extreme cases where one stage of the charge pump only provides operating voltage for one word line, which is determined according to the specific conditions of the Nand flash memory.
因Nand flash存储器存储单元阵列自身的特性和排布的方式,导致在对一个字线执行操作时,会对该字线旁边的字线产生一定的影响。假如地址0的字线为边缘字线,对地址0的字线执行读、写、擦等操作,那么地址0字线上存储单元的阈值电压会被相应影响的产生变化,而地址1字线执行读、写、擦等操作时会同时影响地址0和地址2。由上可知边缘字线只受相邻的一个字线影响,但中间字线确同时受相邻的两个字线影响。Due to the characteristics and arrangement of the Nand flash memory cell array itself, when an operation is performed on a word line, it will have a certain impact on the word line next to the word line. If the word line at address 0 is an edge word line, and operations such as reading, writing, and erasing are performed on the word line at address 0, the threshold voltage of the memory cell on the word line at address 0 will be affected accordingly, while the word line at
由于存储单元自身的特性,随着Nand flash存储器使用时间的加长,执行各种操作的次数也随之增多,使得边缘字线的受到的干扰相对于中间字线更大,导致采用相同的操作电压对存储单元阵列执行各种操作时很容易出错,影响了Nand flash存储器的操作可靠性。Due to the characteristics of the memory cell itself, as the usage time of the Nand flash memory increases, the number of operations performed will also increase, making the edge word line more disturbed than the middle word line, resulting in the same operating voltage It is easy to make mistakes when performing various operations on the memory cell array, which affects the operational reliability of the Nand flash memory.
发明内容Contents of the invention
本发明提供一种控制擦除操作的方法、装置以及Nand flash存储器,解决了Nandflash存储器执行部分类型的操作时,因采用相同的电压对存储单元阵列执行操作,导致Nand flash存储器的操作可靠性较低的问题。The present invention provides a method and device for controlling erasing operations and a Nand flash memory, which solves the problem that when the Nandflash memory performs some types of operations, the operating reliability of the Nand flash memory is relatively low due to the use of the same voltage to perform operations on the memory cell array. low problem.
为了解决上述技术问题,本发明实施例提供了一种控制擦除操作的方法,所述方法应用于Nand flash存储器,所述Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,所述存储单元阵列包括:边缘字线和中间字线,所述边缘字线为在所述存储单元阵列边缘位置的两个字线,所述中间字线为在所述存储单元阵列中除边缘位置的两个字线以外的多个字线,所述电荷泵包括:边缘字线电荷泵,所述边缘字线电荷泵为所述边缘字线提供操作电压,每个字线包括多个存储单元;所述方法包括:In order to solve the above-mentioned technical problems, an embodiment of the present invention provides a method for controlling an erasing operation, the method is applied to a Nand flash memory, and the Nand flash memory includes: a memory cell array, a voltage detection unit, and a charge pump. The memory cell array includes: edge word lines and middle word lines, the edge word lines are two word lines at the edge positions of the memory cell array, and the middle word lines are the two word lines at the edge positions in the memory cell array. A plurality of word lines other than two word lines, the charge pump includes: an edge word line charge pump, the edge word line charge pump provides an operating voltage for the edge word line, and each word line includes a plurality of memory cells; The methods include:
接收擦除操作指令,所述擦除操作指令包括:所需执行擦除操作的存储单元的地址;Receive an erase operation instruction, the erase operation instruction includes: the address of the storage unit that needs to perform the erase operation;
确定所述所需执行擦除操作的存储单元的地址所属的字线为目标字线,并判断所述目标字线是否属于所述边缘字线;Determining that the word line to which the address of the memory cell to be erased belongs belongs to the target word line, and judging whether the target word line belongs to the edge word line;
若所述目标字线属于所述边缘字线,则通过所述电压检测单元检测所述目标字线所在的边缘字线的阈值电压是否小于预设电压;If the target word line belongs to the edge word line, detecting whether the threshold voltage of the edge word line where the target word line is located is less than a preset voltage by the voltage detection unit;
若所述阈值电压大于等于所述预设电压,则根据所述预设电压,通过所述边缘字线电荷泵调整针对所述目标字线的擦除操作电压;If the threshold voltage is greater than or equal to the preset voltage, adjusting an erase operation voltage for the target word line through the edge word line charge pump according to the preset voltage;
根据调整后的擦除操作电压,对所述目标字线所在的边缘字线,执行所述擦除操作指令对应的擦除操作。According to the adjusted erasing operation voltage, the erasing operation corresponding to the erasing operation instruction is performed on the edge word line where the target word line is located.
可选地,所述调整后的擦除操作电压的电压值满足预设条件,该预设条件为:针对同一擦除操作,Optionally, the adjusted voltage value of the erasing operation voltage satisfies a preset condition, and the preset condition is: for the same erasing operation,
所述目标字线所在的边缘字线执行该擦除操作需要的擦除循环次数小于等于所述中间字线执行该擦除操作需要的擦除循环次数。The number of erasing cycles required by the edge word line where the target word line is located to perform the erase operation is less than or equal to the number of erase cycles required by the intermediate word line to perform the erase operation.
可选地,所述电荷泵还包括:中间字线电荷泵,所述中间字线电荷泵为所述中间字线提供操作电压,在所述目标字线属于所述边缘字线,则通过所述电压检测单元检测所述目标字线所在的边缘字线的阈值电压是否小于预设电压后,所述方法还包括:Optionally, the charge pump further includes: an intermediate word line charge pump, the intermediate word line charge pump provides an operating voltage for the intermediate word line, and if the target word line belongs to the edge word line, then through the After the voltage detection unit detects whether the threshold voltage of the edge word line where the target word line is located is less than a preset voltage, the method further includes:
若所述阈值电压小于所述预设电压,则通过所述边缘字线电荷泵为所述边缘字线提供擦除操作电压,该擦除操作电压与所述中间字线电荷泵为所述中间字线提供的擦除操作电压大小相等。If the threshold voltage is less than the preset voltage, the edge word line charge pump provides an erase operation voltage for the edge word line, and the erase operation voltage is equal to the intermediate word line charge pump. The erasing operation voltages provided by the word lines are equal in magnitude.
可选地,若所述目标字线属于所述边缘字线,则通过所述电压检测单元检测所述目标字线所在的边缘字线的阈值电压是否小于预设电压,包括:在所述目标字线属于所述边缘字线,且完成针对所述目标字线的擦除操作所需的擦除循环次数大于预设次数的情况下,通过所述电压检测单元检测所述目标字线所在的边缘字线的阈值电压是否小于预设电压。Optionally, if the target word line belongs to the edge word line, using the voltage detection unit to detect whether the threshold voltage of the edge word line where the target word line is located is less than a preset voltage includes: When the word line belongs to the edge word line and the number of erasing cycles required to complete the erasing operation on the target word line is greater than a preset number of times, the voltage detection unit detects where the target word line is located. Whether the threshold voltage of the edge word line is lower than a preset voltage.
可选地,其特征在于,根据所述预设电压,通过所述边缘字线电荷泵调整针对所述目标字线的擦除操作电压,包括:Optionally, it is characterized in that, according to the preset voltage, adjusting the erasing operation voltage for the target word line through the edge word line charge pump includes:
以所述预设电压为基准确定调整幅度;determining the adjustment range based on the preset voltage;
按照所述调整幅度,通过所述边缘字线电荷泵调整针对所述目标字线的擦除操作电压。According to the adjustment range, the erase operation voltage for the target word line is adjusted through the edge word line charge pump.
本发明实施例还提供了一种控制擦除操作的装置,所述装置应用于Nand flash存储器,所述Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,所述存储单元阵列包括:边缘字线和中间字线,所述边缘字线为在所述存储单元阵列边缘位置的两个字线,所述中间字线为在所述存储单元阵列中除边缘位置的两个字线以外的多个字线,所述电荷泵包括:边缘字线电荷泵,所述边缘字线电荷泵为所述边缘字线提供操作电压,每个字线包括多个存储单元;所述装置包括:The embodiment of the present invention also provides a device for controlling an erasing operation, the device is applied to a Nand flash memory, and the Nand flash memory includes: a memory cell array, a voltage detection unit and a charge pump, and the memory cell array includes: An edge word line and an intermediate word line, the edge word lines are two word lines at the edge positions of the memory cell array, and the intermediate word lines are other than the two word lines at the edge positions in the memory cell array A plurality of word lines, the charge pump includes: an edge word line charge pump, the edge word line charge pump provides an operating voltage for the edge word line, each word line includes a plurality of memory cells; the device includes:
接收指令模块,用于接收擦除操作指令,所述擦除操作指令包括:所需执行擦除操作的存储单元的地址;The receiving instruction module is used to receive the erasing operation instruction, and the erasing operation instruction includes: the address of the storage unit required to perform the erasing operation;
确定判断模块,用于确定所述所需执行擦除操作的存储单元的地址所属的字线为目标字线,并判断所述目标字线是否属于所述边缘字线;A determining and judging module, configured to determine that the word line to which the address of the memory cell to be erased belongs belongs to the target word line, and determine whether the target word line belongs to the edge word line;
检测电压模块,用于若所述目标字线属于所述边缘字线,则通过所述电压检测单元检测所述目标字线所在的边缘字线的阈值电压是否小于预设电压;A detection voltage module, configured to detect whether the threshold voltage of the edge word line where the target word line is located is less than a preset voltage through the voltage detection unit if the target word line belongs to the edge word line;
调整电压模块,用于若所述阈值电压大于等于所述预设电压,则根据所述预设电压,通过所述边缘字线电荷泵调整针对所述目标字线的擦除操作电压;A voltage adjustment module, configured to adjust the erase operation voltage for the target word line through the edge word line charge pump according to the preset voltage if the threshold voltage is greater than or equal to the preset voltage;
执行操作模块,用于根据调整后的擦除操作电压,对所述目标字线所在的边缘字线,执行所述擦除操作指令对应的擦除操作。The executing operation module is configured to execute the erasing operation corresponding to the erasing operation instruction on the edge word line where the target word line is located according to the adjusted erasing operation voltage.
可选地,所述电荷泵还包括:中间字线电荷泵,所述中间字线电荷泵为所述中间字线提供操作电压,所述装置还包括:Optionally, the charge pump further includes: an intermediate word line charge pump, the intermediate word line charge pump provides an operating voltage for the intermediate word line, and the device further includes:
提供电压模块,用于若所述阈值电压小于所述预设电压,则通过所述边缘字线电荷泵为所述边缘字线提供擦除操作电压,该擦除操作电压与所述中间字线电荷泵为所述中间字线提供的擦除操作电压大小相等。providing a voltage module, configured to provide an erase operation voltage for the edge word line through the edge word line charge pump if the threshold voltage is less than the preset voltage, and the erase operation voltage is the same as that of the middle word line The erase operation voltages provided by the charge pumps to the middle word lines are equal in magnitude.
可选地,所述装置还包括:Optionally, the device also includes:
检测阈值模块,用于在所述目标字线属于所述边缘字线,且完成针对所述目标字线的擦除操作所需的擦除循环次数大于预设次数的情况下,通过所述电压检测单元检测所述目标字线所在的边缘字线的阈值电压是否小于预设电压。A detection threshold module, configured to pass the voltage when the target word line belongs to the edge word line and the number of erasing cycles required to complete the erasing operation on the target word line is greater than a preset number of times The detection unit detects whether the threshold voltage of the edge word line where the target word line is located is lower than a preset voltage.
可选地,所述调整电压模块包括:Optionally, the voltage adjustment module includes:
确定子模块,用于以所述预设电压为基准确定调整幅度;A determining submodule, configured to determine the adjustment range based on the preset voltage;
调整子模块,用于按照所述调整幅度,通过所述边缘字线电荷泵调整针对所述目标字线的擦除操作电压。The adjustment sub-module is used to adjust the erase operation voltage for the target word line through the edge word line charge pump according to the adjustment range.
本发明实施例还提供了一种Nand flash存储器,所述Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,所述存储单元阵列包括:边缘字线和中间字线,所述边缘字线为在所述存储单元阵列边缘位置的两个字线,所述中间字线为在所述存储单元阵列中除边缘位置的两个字线以外的多个字线,所述电荷泵包括:边缘字线电荷泵和中间字线电荷泵,所述边缘字线电荷泵为所述边缘字线提供操作电压,所述中间字线电荷泵为所述中间字线提供操作电压,每个字线包括多个存储单元;所述Nand flash存储器用于执行以上任一所述的方法。The embodiment of the present invention also provides a Nand flash memory, the Nand flash memory includes: a memory cell array, a voltage detection unit and a charge pump, the memory cell array includes: an edge word line and a middle word line, and the edge word The lines are two word lines at the edge positions of the memory cell array, the middle word lines are multiple word lines in the memory cell array except the two word lines at the edge positions, and the charge pump includes: Edge word line charge pumps and middle word line charge pumps, the edge word line charge pumps provide operating voltages for the edge word lines, the middle word line charge pumps provide operating voltages for the middle word lines, each word line Including a plurality of storage units; the Nand flash memory is used to perform any of the methods described above.
与现有技术相比,本发明提供的一种控制擦除操作的方法、装置以及Nand flash存储器,接收擦除操作指令,确定所需执行擦除操作的存储单元的地址所属的字线为目标字线,并判断目标字线是否属于边缘字线,若目标字线属于边缘字线,则通过电压检测单元检测目标字线所在的边缘字线的阈值电压是否小于预设电压,若阈值电压大于等于预设电压,则根据预设电压,通过边缘字线电荷泵调整针对目标字线的擦除操作电压,根据调整后的擦除操作电压,对目标字线所在的边缘字线,执行擦除操作指令对应的擦除操作。本发明的方案判断所需执行擦除操作的存储单元所属的字线是否为边缘字线,若是边缘字线则调整给边缘字线提供操作电压的电荷泵的供电电压,拉大边缘字线的栅极电压与衬底之间的电压差,使得边缘字线可以被更快地擦除成功,减少边缘字线执行擦除操作时需要的擦除循环次数,从而减少对中间字线的影响,延长整个存储单元阵列的使用寿命的同时,提高了Nand flash存储器操作的可靠性。Compared with the prior art, a method, device and Nand flash memory for controlling an erasing operation provided by the present invention receive an erasing operation instruction, and determine that the word line to which the address of the memory cell that needs to perform the erasing operation belongs is the target Word line, and judge whether the target word line belongs to the edge word line, if the target word line belongs to the edge word line, then detect whether the threshold voltage of the edge word line where the target word line is located is less than the preset voltage through the voltage detection unit, if the threshold voltage is greater than equal to the preset voltage, then according to the preset voltage, the erase operation voltage for the target word line is adjusted through the edge word line charge pump, and the erase operation is performed on the edge word line where the target word line is located according to the adjusted erase operation voltage The erase operation corresponding to the operation instruction. The scheme of the present invention judges whether the word line to which the memory cell to perform the erasing operation belongs is an edge word line, and if it is an edge word line, then adjusts the power supply voltage of the charge pump that provides the operating voltage for the edge word line to enlarge the edge word line. The voltage difference between the gate voltage and the substrate enables the edge word lines to be erased faster and successfully, reducing the number of erase cycles required for the edge word lines to perform an erase operation, thereby reducing the impact on the middle word lines, While prolonging the service life of the entire memory cell array, the reliability of Nand flash memory operation is improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.
图1是本发明实施例的一种控制擦除操作的方法的流程图;FIG. 1 is a flowchart of a method for controlling an erasing operation according to an embodiment of the present invention;
图2是本发明实施例Nand flash存储器内部的示意图;Fig. 2 is the schematic diagram inside the Nand flash memory of the embodiment of the present invention;
图3是本发明实施例的一种控制擦除操作的装置的框图。FIG. 3 is a block diagram of an apparatus for controlling an erasing operation according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.
发明人发现,现有Nand flash存储器存储单元在擦除操作时会产生一个问题:在Nand flash存储器使用了一段时间后,再使用同一电压值的擦除操作电压时,相同的擦除循环次数基本不能同时使得边缘字线和中间字线被擦除成功,一般边缘字线需要更多的擦除循环次数,才可以被擦除成功,但是因为Nand flash存储器是按照块为单位来执行擦除操作的,所以当边缘字线需要更多的擦除循环次数来完成擦除操作时,就会使得中间字线也被执行擦除操作,引起中间字线被擦的过深,严重影响了中间字线的使用寿命,导致Nandflash存储器的擦除可靠性较低。The inventor finds that existing Nand flash memory storage unit can produce a problem when erasing operation: after Nand flash memory has been used for a period of time, when using the erasing operating voltage of the same voltage value again, the same number of erasing cycles is basically The edge word line and the middle word line cannot be erased successfully at the same time. Generally, the edge word line needs more erasing cycles before it can be successfully erased, but because the Nand flash memory performs the erase operation in units of blocks Therefore, when the edge word line needs more erase cycles to complete the erase operation, the middle word line will also be erased, causing the middle word line to be erased too deeply, which seriously affects the middle word line. The service life of the line leads to low erasing reliability of the Nandflash memory.
发明人进一步发现产生上述问题的原因是:因为存储单元特性和边缘字线的特殊性,导致边缘字线在编程操作或者读操作是比中间字线受到的干扰更大,阈值电压会升的更高一些。例如:Nand flash存储器中存储单元阵列共有10个字线,地址分别为wl0、wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8、wl9,其中wl0和wl9为边缘字线,其余的字线为中间字线,假设对这10个字线都执行过编程操作或者读操作,那么wl0和wl9这两个边缘字线相对于wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8这8个中间字线来说,其受到的干扰更大,其阈值电压会比中间字线高。The inventor further found that the reason for the above problems is: because of the characteristics of the memory cell and the particularity of the edge word line, the edge word line is more disturbed than the middle word line in the program operation or read operation, and the threshold voltage will rise more. higher. For example: there are 10 word lines in the storage cell array in the Nand flash memory, and the addresses are wl0, wl1, wl2, wl3, wl4, wl5, wl6, wl7, wl8, wl9, where wl0 and wl9 are edge word lines, and the rest of the word lines are line is the middle word line, assuming that the program operation or read operation has been performed on these 10 word lines, then the two edge word lines wl0 and wl9 are relatively For the 8 middle word lines, they are more disturbed, and their threshold voltages will be higher than those of the middle word lines.
由上产生一个问题,在编程操作或者读操作结束后,再需要对这10个字线执行擦除操作时,因为边缘字线的阈值电压比中间字线的高,所以对这10个字线采用同一个擦除操作电压来执行擦除操作,中间字线会被更快的擦除成功,而边缘字线需要更多次的擦除循环才可以被擦除成功,但擦除操作是以块为单位来执行的,所以在对边缘字线继续执行擦除操作的同时,就可能会使得已经被擦除成功的中间字线被擦的过深,从而缩短中间字线的使用寿命,导致Nand flash存储器擦除操作的可靠性较低。A problem arises from the above. After the program operation or read operation is completed, when it is necessary to perform an erase operation on these 10 word lines, because the threshold voltage of the edge word lines is higher than that of the middle word lines, the 10 word lines Using the same erase operation voltage to perform the erase operation, the middle word line will be erased faster, while the edge word line needs more erase cycles to be erased successfully, but the erase operation is based on It is performed in units of blocks, so while continuing to perform the erase operation on the edge word lines, it may cause the middle word lines that have been successfully erased to be erased too deeply, thereby shortening the service life of the middle word lines, resulting in The reliability of Nand flash memory erase operation is low.
基于以上问题,发明人经过深入研究,结合Nand flash存储器中电荷泵的分级提供操作电压的特性,经过大量实地测试和仿真计算,大胆地、创造性的提出根据操作内容的不用,用电荷泵调整供给边缘字线不同于中间字线的擦除操作电压,解决了上述问题。以下对发明人提出的解决方案进行详细解释和说明。Based on the above problems, the inventor has conducted in-depth research, combined with the characteristics of the operating voltage provided by the charge pump in the Nand flash memory, and after a large number of field tests and simulation calculations, boldly and creatively proposed to use the charge pump to adjust the supply according to the operation content. The erase operation voltage of the edge word lines is different from that of the middle word lines, which solves the above-mentioned problems. The solution proposed by the inventor is explained and illustrated in detail below.
图1示出了本发明实施例的一种控制擦除操作的方法的流程图。该方法应用于Nand flash存储器,Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,存储单元阵列包括:边缘字线和中间字线,边缘字线为在存储单元阵列边缘位置的两个字线,中间字线为在存储单元阵列中除边缘位置的两个字线以外的多个字线,电荷泵包括:边缘字线电荷泵,边缘字线电荷泵为边缘字线提供操作电压,每个字线包括多个存储单元;控制擦除操作的方法包括如下步骤:FIG. 1 shows a flowchart of a method for controlling an erasing operation according to an embodiment of the present invention. This method is applied to Nand flash memory, and Nand flash memory comprises: memory cell array, voltage detection unit and charge pump, and memory cell array comprises: edge word line and middle word line, and edge word line is two at memory cell array edge position The word line, the middle word line is a plurality of word lines in the memory cell array except the two word lines at the edge position, and the charge pump includes: the edge word line charge pump, the edge word line charge pump provides the operating voltage for the edge word line, Each word line includes a plurality of memory cells; the method for controlling the erasing operation includes the following steps:
步骤101:接收擦除操作指令,擦除操作指令包括:所需执行擦除操作的存储单元的地址。Step 101: Receive an erase operation instruction, the erase operation instruction includes: the address of the storage unit to be executed the erase operation.
本发明实施例中,Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,存储单元阵列包括:边缘字线和中间字线,边缘字线为在存储单元阵列边缘位置的两个字线,中间字线为在存储单元阵列中除边缘位置的两个字线以外的多个字线,电压检测单元用于检测存储单元上的阈值电压,电荷泵包括:边缘字线电荷泵,边缘字线电荷泵为边缘字线提供操作电压,在需要执行擦除操作时,首先上位机向Nand flash存储器发送擦除操作指令,Nand flash存储器接收擦除操作指令,该擦除操作指令包括需要执行擦除操作的存储单元的地址。例如:如图2中所示,Nand flash存储器中存储单元阵列包括10个字线,地址分别为wl0、wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8、wl9,其中wl0和wl9为边缘字线,wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8为中间字线,边缘字线电荷泵为wl0和wl9提供操作电压,中间字线电荷泵为wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8提供操作电压。假设需要擦除5个字线上存储单元中的数据,那么擦除操作指令中包括的存储单元地址为对应这5个字线上存储单元的地址。In the embodiment of the present invention, the Nand flash memory includes: a memory cell array, a voltage detection unit and a charge pump, and the memory cell array includes: an edge word line and an intermediate word line, and the edge word line is two word lines at the edge position of the memory cell array , the middle word line is a plurality of word lines except two word lines at the edge position in the memory cell array, the voltage detection unit is used to detect the threshold voltage on the memory cell, and the charge pump includes: edge word line charge pump, edge word line The line charge pump provides the operating voltage for the edge word line. When it is necessary to perform an erase operation, first the host computer sends an erase operation instruction to the Nand flash memory, and the Nand flash memory receives the erase operation instruction. The erase operation instruction includes the need to perform an erase operation. The address of the storage unit for the division operation. For example: as shown in Figure 2, the storage cell array in the Nand flash memory includes 10 word lines, and the addresses are wl0, wl1, wl2, wl3, wl4, wl5, wl6, wl7, wl8, wl9, where wl0 and wl9 are The edge word lines, wl1, wl2, wl3, wl4, wl5, wl6, wl7, wl8 are the middle word lines, the edge word line charge pump provides operating voltage for wl0 and wl9, and the middle word line charge pump is wl1, wl2, wl3, wl4 , wl5, wl6, wl7, wl8 provide operating voltage. Assuming that the data in the storage cells on five word lines needs to be erased, the address of the storage cells included in the erase operation command is the address corresponding to the storage cells on the five word lines.
步骤102:确定所需执行擦除操作的存储单元的地址所属的字线为目标字线,并判断目标字线是否属于边缘字线。Step 102: Determine the word line to which the address of the memory cell to be erased belongs to as the target word line, and determine whether the target word line belongs to the edge word line.
本发明实施例中,在Nand flash存储器接收擦除操作指令后,首先确定擦除操作指令包括的存储单元的地址所属的字线,确定了目标字线后,再判断目标字线是否属于边缘字线。例如图2中,假设擦除操作指令包括的存储单元的地址为:00000H~FFFFFH,其所属的字线包括wl0~wl4,即目标字线中包括wl0~wl4,再对wl0~wl4字线中是否有字线为边缘字线进行判断。In the embodiment of the present invention, after the Nand flash memory receives the erase operation instruction, first determine the word line to which the address of the memory cell included in the erase operation instruction belongs, after determining the target word line, then judge whether the target word line belongs to the edge word Wire. For example, in Figure 2, it is assumed that the address of the storage unit included in the erase operation instruction is: 00000H~FFFFFH, and the word line to which it belongs includes wl0~wl4, that is, the target word line includes wl0~wl4, and then the word line wl0~wl4 Whether any word line is an edge word line is judged.
步骤103:若目标字线属于边缘字线,则通过电压检测单元检测目标字线所在的边缘字线的阈值电压是否小于预设电压。Step 103 : If the target word line belongs to the edge word line, the voltage detection unit detects whether the threshold voltage of the edge word line where the target word line is located is lower than a preset voltage.
本发明实施例中,在判断目标字线属于边缘字线后,通过电压检测单元检测目标字线所在的边缘字线的阈值电压是否小于预设电压。设定预设电压的目的是当边缘字线需要更高的电压差来减少执行擦除操作的擦除循环次数时,需要以预设电压为边缘字线电荷泵提供的擦除操作电压的基准,该预设电压是经过大量的测试以及仿真计算而得出的经验值。例如:图2中,预设电压为6.5V,目标字线中包括wl0~wl4,其中wl0为边缘字线,wl1~wl4为中间字线,通过电压检测单元检测wl0的阈值电压为6.5V,wl1阈值电压为6.3V,wl2阈值电压为6.2V,wl3阈值电压为6.1V,wl4阈值电压为6.0V。当然,一般情况下,为了让Nandflash存储器更快的运行,不会专门针对每个字线去进行阈值电压检测,根据存储单元自身的特性,经过大量的测试和仿真计算,在编程操作或者读操作结束后,各个字线的阈值电压基本都在一个经验值范围内上下浮动,例如边缘字线在编程操作结束后阈值电压一般的经验值为6.8V,那么实际编程操作过后,边缘字线的阈值电压基本就在6.8V上下,偏差不大;中间字线在编程操作结束后阈值电压一般的经验值为6.3V,那么实际编程操作过后,中间字线的阈值电压基本就在6.3V左右,偏差也不大,因此不需要针对每个字线去进行阈值电压检测,若是需要精确控制的话,也可以针对每个字线去进行阈值电压检测,从而达到精确控制的目的。In the embodiment of the present invention, after it is determined that the target word line belongs to the edge word line, the voltage detection unit detects whether the threshold voltage of the edge word line where the target word line is located is lower than a preset voltage. The purpose of setting the preset voltage is to use the preset voltage as the reference for the erase operation voltage provided by the edge word line charge pump when the edge word line needs a higher voltage difference to reduce the number of erase cycles to perform the erase operation. , the preset voltage is an empirical value obtained through a large number of tests and simulation calculations. For example: in Figure 2, the preset voltage is 6.5V, the target word lines include wl0~wl4, where wl0 is the edge word line, wl1~wl4 are the middle word lines, the threshold voltage of wl0 detected by the voltage detection unit is 6.5V, The threshold voltage of wl1 is 6.3V, the threshold voltage of wl2 is 6.2V, the threshold voltage of wl3 is 6.1V, and the threshold voltage of wl4 is 6.0V. Of course, in general, in order to make the Nandflash memory run faster, the threshold voltage detection will not be performed specifically for each word line. After the end, the threshold voltage of each word line basically fluctuates up and down within a range of empirical values. For example, the threshold voltage of the edge word line after the programming operation is generally empirically valued at 6.8V. After the actual programming operation, the threshold voltage of the edge word line The voltage is basically around 6.8V, with little deviation; the general experience value of the threshold voltage of the middle word line after the programming operation is 6.3V, then after the actual programming operation, the threshold voltage of the middle word line is basically around 6.3V, the deviation Therefore, it is not necessary to perform threshold voltage detection for each word line. If precise control is required, threshold voltage detection can also be performed for each word line, so as to achieve the purpose of precise control.
需要说明的是,在Nand flash存储器开始使用或者使用一段时间时期,边缘字线执行擦除操作所需的擦除循环次数和中间字线执行擦除操作所需的擦除循环次数一样或者相差不多,此时并不需要区别对待边缘字线和中间字线,只需使用一样的擦除操作电压就可以保证边缘字线执行擦除操作所需的擦除循环次数和中间字线执行擦除操作所需的擦除循环次数一样或者相差不多。而当使用一样的擦除操作电压时,边缘字线执行擦除操作所需的擦除循环次数比中间字线执行擦除操作所需的擦除循环次数大很多时,就不适合用同一个擦除操作电压来对边缘字线和中间字线执行擦除操作,一般情况下,若是使用一样的擦除操作电压时,边缘字线执行擦除操作所需的擦除循环次数比中间字线执行擦除操作所需的擦除循环次数多3次以上时,就需要对边缘字线单独提供擦除操作电压,此时就需要通过电压检测单元检测边缘字线的阈值电压是否小于预设电压。It should be noted that when the Nand flash memory is used or used for a period of time, the number of erase cycles required for the edge word line to perform the erase operation is the same or similar to the number of erase cycles required for the middle word line to perform the erase operation , it is not necessary to treat the edge word line and the middle word line differently at this time, just use the same erase operation voltage to ensure the number of erase cycles required for the edge word line to perform the erase operation and the middle word line to perform the erase operation The number of erase cycles required is the same or similar. When the same erase operation voltage is used, the number of erase cycles required for the edge word line to perform the erase operation is much greater than the number of erase cycles required for the middle word line to perform the erase operation, so it is not suitable to use the same erase operation voltage. The erase operation voltage is used to perform the erase operation on the edge word line and the middle word line. Generally, if the same erase operation voltage is used, the number of erase cycles required for the edge word line to perform the erase operation is greater than that of the middle word line. When the number of erasing cycles required to perform the erasing operation is more than 3 times, the erasing operation voltage needs to be provided separately for the edge word line, and at this time, it is necessary to detect whether the threshold voltage of the edge word line is lower than the preset voltage through the voltage detection unit .
步骤104:若阈值电压大于等于预设电压,则根据预设电压,通过边缘字线电荷泵调整针对目标字线的擦除操作电压。Step 104: If the threshold voltage is greater than or equal to the preset voltage, adjust the erase operation voltage for the target word line through the edge word line charge pump according to the preset voltage.
本发明实施例中,若检测目标字线所在的边缘字线的阈值电压大于等于预设电压,则根据预设电压,通过边缘字线电荷泵调整针对目标字线的擦除操作电压。例如:如图2中,检测出的wl0的阈值电压为6.5V,等于预设电压6.5V,则根据预设电压6.5V,通过边缘字线电荷泵调整wl0的擦除操作电压。In the embodiment of the present invention, if the detected threshold voltage of the edge word line where the target word line is located is greater than or equal to the preset voltage, the erase operation voltage for the target word line is adjusted by the edge word line charge pump according to the preset voltage. For example, as shown in FIG. 2 , the detected threshold voltage of wl0 is 6.5V, which is equal to the preset voltage of 6.5V. Then, according to the preset voltage of 6.5V, the erase operation voltage of wl0 is adjusted through the edge word line charge pump.
若检测目标字线所在的边缘字线的阈值电压小于预设电压,则在对边缘字线和中间字线同时执行擦除操作时,通过边缘字线电荷泵为边缘字线提供的擦除操作电压与中间字线电荷泵为中间字线提供的擦除操作电压大小相等,即采用同样大小的擦除操作电压对边缘字线和中间字线执行擦除操作。例如:如图2中,若检测出的wl0的阈值电压为6.3V,小于预设电压6.5V,则根据预设电压6.5V,通过边缘字线电荷泵为wl0提供的擦除操作电压与中间字线电荷泵为中间字线提供的擦除操作电压相等。If the threshold voltage of the edge word line where the detection target word line is located is less than the preset voltage, when the erase operation is performed on the edge word line and the middle word line at the same time, the erase operation provided for the edge word line by the edge word line charge pump The voltage is equal to the erase operation voltage provided by the middle word line charge pump for the middle word line, that is, the erase operation is performed on the edge word line and the middle word line with the same erase operation voltage. For example: as shown in Figure 2, if the detected threshold voltage of wl0 is 6.3V, which is less than the preset voltage of 6.5V, then according to the preset voltage of 6.5V, the erase operation voltage provided for wl0 by the edge word line charge pump is the same as that in the middle The word line charge pumps provide equal erase operation voltages for the middle word lines.
可选地,步骤104包括:Optionally,
步骤104a:以预设电压为基准确定调整幅度。Step 104a: Determine the adjustment range based on the preset voltage.
步骤104b:按照调整幅度,通过边缘字线电荷泵调整针对目标字线的擦除操作电压。Step 104b: According to the adjustment range, adjust the erase operation voltage for the target word line through the edge word line charge pump.
本发明实施例中,若检测目标字线所在的边缘字线的阈值电压大于等于预设电压,则以预设电压为基准,确定调整的幅度,若是目标字线的阈值电压远大于预设电压,则通过边缘字线电荷泵以远小于预设电压绝对值的负电压对目标字线执行擦除操作;若是目标字线的阈值电压稍大于预设电压,则通过边缘字线电荷泵以稍小于预设电压绝对值的负电压对目标字线执行擦除操作;若是目标字线的阈值电压等于预设电压,则通过边缘字线电荷泵以预设电压绝对值的负电压对目标字线执行擦除操作。In the embodiment of the present invention, if the threshold voltage of the edge word line where the target word line is detected is greater than or equal to the preset voltage, then the preset voltage is used as a reference to determine the adjustment range, if the threshold voltage of the target word line is much greater than the preset voltage , the erase operation is performed on the target word line with a negative voltage far less than the absolute value of the preset voltage through the edge word line charge pump; if the threshold voltage of the target word line is slightly greater Perform an erase operation on the target word line with a negative voltage less than the absolute value of the preset voltage; if the threshold voltage of the target word line is equal to the preset voltage, use the negative voltage of the absolute value of the preset voltage to the target word line Perform a wipe operation.
例如:如图2中,若检测出的wl0的阈值电压为8.5V,远大于预设电压6.5V,则通过边缘字线电荷泵以-9.0V对wl0执行擦除操作;若检测出的wl0的阈值电压为7.0V,稍大于预设电压6.5V,则通过边缘字线电荷泵以-7.0V对wl0执行擦除操作;若检测出的wl0的阈值电压为6.5V,等于预设电压6.5V,则通过边缘字线电荷泵以-6.5V对wl0执行擦除操作。For example: as shown in Figure 2, if the detected threshold voltage of wl0 is 8.5V, which is much higher than the preset voltage of 6.5V, then the edge word line charge pump will perform an erase operation on wl0 at -9.0V; if the detected wl0 The threshold voltage of wl0 is 7.0V, which is slightly higher than the preset voltage of 6.5V, and the erase operation is performed on wl0 at -7.0V through the edge word line charge pump; if the detected threshold voltage of wl0 is 6.5V, it is equal to the preset voltage of 6.5 V, then perform an erase operation on wl0 at -6.5V through the edge word line charge pump.
步骤105:根据调整后的擦除操作电压,对目标字线所在的边缘字线,执行擦除操作指令对应的擦除操作。Step 105: According to the adjusted erasing operation voltage, perform an erasing operation corresponding to the erasing operation command on the edge word line where the target word line is located.
本发明实施例中,边缘字线电荷泵调整好针对目标字线的擦除操作电压,采用该电压对目标字线所在的边缘字线,执行擦除操作指令对应的擦除操作。调整后的擦除操作电压的电压值满足预设条件,该预设条件为:针对同一擦除操作,目标字线所在的边缘字线执行该擦除操作需要的擦除循环次数小于等于中间字线执行该擦除操作需要的擦除循环次数。In the embodiment of the present invention, the edge word line charge pump adjusts the erase operation voltage for the target word line, and uses the voltage to execute the erase operation corresponding to the erase operation command on the edge word line where the target word line is located. The voltage value of the adjusted erase operation voltage satisfies the preset condition, the preset condition is: for the same erase operation, the number of erase cycles required for the edge word line where the target word line is located to perform the erase operation is less than or equal to that of the middle word The number of erase cycles required for the line to perform the erase operation.
例如:如图2中,假若编程操作后的wl0的阈值电压,按照经验值为8.5V左右,通过边缘字线电荷泵以-9.0V对wl0执行擦除操作需要的擦除循环次数为3次,中间字线电荷泵以-6.0V对wl1~wl4执行擦除操作需要的擦除循环次数为3次,边缘字线执行擦除操作不会再影响中间字线,边缘字线和中间字线同时完成擦除操作;假若编程操作后的wl0的阈值电压,按照经验值为7.0V,则通过边缘字线电荷泵以-7.0V对wl0执行擦除操作需要的擦除循环次数为2次,中间字线电荷泵以-6.0V对wl1~wl4执行擦除操作需要的擦除循环次数为3次,边缘字线执行擦除操作不会再影响中间字线,即使中间字线执行擦除操作比边缘字线需要的擦除循环次数多一次,从而使得边缘字线被多擦一次,但对边缘字线的影响并不大,而且以-7.0V对wl0执行擦除操作需要的擦除循环次数可能也需要3次,此时边缘字线和中间字线都不会彼此影响,边缘字线和中间字线同时完成擦除操作;假若检测出的wl0的阈值电压,按照经验值为6.5V,则通过边缘字线电荷泵以-6.5V对wl0执行擦除操作需要的擦除循环次数为3次,中间字线电荷泵以-6.0V对wl1~wl4执行擦除操作需要的擦除循环次数也为3次,边缘字线执行擦除操作不会再影响中间字线,边缘字线和中间字线同时完成擦除操作。For example: as shown in Figure 2, if the threshold voltage of wl0 after the programming operation is about 8.5V according to experience, the number of erase cycles required to perform the erase operation on wl0 at -9.0V through the edge word line charge pump is 3 times , the middle word line charge pump performs erase operation on wl1~wl4 at -6.0V, the number of erase cycles required is 3 times, and the edge word line erase operation will not affect the middle word line, the edge word line and the middle word line At the same time, the erase operation is completed; if the threshold voltage of wl0 after the programming operation is 7.0V according to experience, the number of erase cycles required to perform the erase operation on wl0 at -7.0V through the edge word line charge pump is 2 times, The charge pump of the middle word line needs to perform the erase operation on wl1~wl4 at -6.0V. The number of erase cycles is 3 times. The erase operation performed on the edge word line will not affect the middle word line, even if the middle word line performs the erase operation. One more erase cycle than the edge word line, so that the edge word line is erased once more, but the impact on the edge word line is not large, and the erase cycle required to perform the erase operation on wl0 at -7.0V The number of times may also need 3 times. At this time, the edge word line and the middle word line will not affect each other, and the edge word line and the middle word line will complete the erase operation at the same time; if the detected threshold voltage of wl0 is 6.5V according to experience , then the number of erasing cycles required to perform the erase operation on wl0 at -6.5V through the edge word line charge pump is 3 times, and the erasing cycle required to perform the erase operation on wl1~wl4 at -6.0V by the middle word line charge pump The number of times is also 3 times, and the erase operation performed on the edge word line will not affect the middle word line, and the edge word line and the middle word line complete the erase operation at the same time.
参照图2,示出了本发明实施例Nand flash存储器内部的示意图,Nand flash存储器中存储单元阵列包括10个字线,地址分别为wl0、wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8、wl9,其中wl0和wl9为边缘字线,wl1、wl2、wl3、wl4、wl5、wl6、wl7、wl8为中间字线,边缘字线电荷泵为wl0和wl9提供操作电压,中间字线电荷泵为wl2、wl3、wl4、wl5、wl6、wl7、wl8提供操作电压,预设电压为6.5V。With reference to Fig. 2, have shown the schematic diagram inside the Nand flash memory of the embodiment of the present invention, the memory cell array in the Nand flash memory comprises 10 word lines, and address is respectively wl0, wl1, wl2, wl3, wl4, wl5, wl6, wl7, wl8, wl9, where wl0 and wl9 are edge word lines, wl1, wl2, wl3, wl4, wl5, wl6, wl7, and wl8 are middle word lines, and the edge word line charge pump provides operating voltage for wl0 and wl9, and the middle word line charges The pump provides operating voltage for wl2, wl3, wl4, wl5, wl6, wl7, wl8, the preset voltage is 6.5V.
假若Nand flash存储器在编程操作结束后,采用相同电压-6.0V对边缘字线和中间字线:wl0、wl1、wl2、wl3、wl4、wl5执行擦除操作,边缘字线wl0执行擦除操作需要擦除循环次数为6次,中间字线:wl1、wl2、wl3、wl4、wl5执行擦除操作需要擦除循环次数为3次,根据经验值,wl0的阈值电压在编程完成后为6.82V,wl1的阈值电压为6.32V,wl2的阈值电压为6.36V,wl3的阈值电压为6.43V,wl4的阈值电压为6.21V,wl5的阈值电压为6.44V,则边缘字线电荷泵以-7.0V对wl0执行擦除操作,中间字线电荷泵依然采用-6.0V对中间字线:wl1、wl2、wl3、wl4、wl5执行擦除操作,此时,wl0执行擦除操作需要擦除循环次数为3次,wl1、wl2、wl3、wl4、wl5执行擦除操作需要擦除循环次数为3次,wl0与wl1、wl2、wl3、wl4、wl5同时完成擦除操作,wl0与中间字线wl1、wl2、wl3、wl4、wl5彼此互不影响。If the Nand flash memory uses the same voltage -6.0V to perform the erase operation on the edge word line and the middle word line: wl0, wl1, wl2, wl3, wl4, wl5 after the programming operation is completed, the edge word line wl0 performs the erase operation. The number of erasing cycles is 6 times, and the middle word lines: wl1, wl2, wl3, wl4, wl5 need to perform the erasing operation for 3 times. According to the empirical value, the threshold voltage of wl0 is 6.82V after programming. The threshold voltage of wl1 is 6.32V, the threshold voltage of wl2 is 6.36V, the threshold voltage of wl3 is 6.43V, the threshold voltage of wl4 is 6.21V, the threshold voltage of wl5 is 6.44V, then the edge word line charge pump is -7.0V Perform the erase operation on wl0, and the middle word line charge pump still uses -6.0V to perform the erase operation on the middle word lines: wl1, wl2, wl3, wl4, and wl5. At this time, the number of erase cycles required for wl0 to perform the erase operation is 3 times, wl1, wl2, wl3, wl4, wl5 need to perform the erase operation for 3 times, wl0 and wl1, wl2, wl3, wl4, wl5 complete the erase operation at the same time, wl0 and the middle word line wl1, wl2 , wl3, wl4, and wl5 do not affect each other.
需要说的是,以上实施中列举的数据只是为了更好的解释本发明实施例而列举的简单数据,并不代表Nand flash存储器实际的具体数据。It should be said that the data enumerated in the above implementation are only simple data enumerated for better explaining the embodiment of the present invention, and do not represent the actual specific data of the Nand flash memory.
图3示出了本发明实施例的一种控制擦除操作的装置的框图,该装置应用于Nandflash存储器,Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,存储单元阵列包括:边缘字线和中间字线,边缘字线为在存储单元阵列边缘位置的两个字线,中间字线为在存储单元阵列中除边缘位置的两个字线以外的多个字线,电荷泵包括:边缘字线电荷泵,边缘字线电荷泵为边缘字线提供操作电压,每个字线包括多个存储单元;控制擦除操作的装置包括:Fig. 3 shows the block diagram of a kind of device of controlling erase operation of the embodiment of the present invention, and this device is applied to Nandflash memory, and Nand flash memory comprises: memory cell array, voltage detection unit and charge pump, and memory cell array comprises: edge The word line and the middle word line, the edge word line is two word lines at the edge position of the memory cell array, the middle word line is a plurality of word lines except the two word lines at the edge position in the memory cell array, and the charge pump includes : Edge word line charge pump, the edge word line charge pump provides operating voltage for the edge word line, each word line includes a plurality of memory cells; the device for controlling the erasing operation includes:
接收指令模块310,用于接收擦除操作指令,擦除操作指令包括:所需执行擦除操作的存储单元的地址;The receiving
确定判断模块320,用于确定所需执行擦除操作的存储单元的地址所属的字线为目标字线,并判断目标字线是否属于边缘字线;Determining the judging
检测电压模块330,用于若目标字线属于边缘字线,则通过电压检测单元检测目标字线所在的边缘字线的阈值电压是否小于预设电压;A
调整电压模块340,用于若阈值电压大于等于预设电压,则根据预设电压,通过边缘字线电荷泵调整针对目标字线的擦除操作电压;The
执行操作模块350,用于根据调整后的擦除操作电压,对目标字线所在的边缘字线,执行擦除操作指令对应的擦除操作。The executing
可选地,电荷泵还包括:中间字线电荷泵,中间字线电荷泵为中间字线提供操作电压,控制擦除操作的装置还包括:Optionally, the charge pump further includes: an intermediate word line charge pump, the intermediate word line charge pump provides an operating voltage for the intermediate word line, and the device for controlling the erasing operation further includes:
提供电压模块,用于若阈值电压小于预设电压,则通过边缘字线电荷泵为边缘字线提供擦除操作电压,该擦除操作电压与中间字线电荷泵为中间字线提供的擦除操作电压大小相等。The voltage supply module is used to provide an erase operation voltage for the edge word line through the edge word line charge pump if the threshold voltage is less than a preset voltage, and the erase operation voltage is the same as that provided by the middle word line charge pump for the erase The operating voltages are equal in magnitude.
可选地,控制擦除操作的装置还包括:Optionally, the device for controlling the erasing operation also includes:
检测阈值模块,用于在目标字线属于边缘字线,且完成针对目标字线的擦除操作所需的擦除循环次数大于预设次数的情况下,通过电压检测单元检测目标字线所在的边缘字线的阈值电压是否小于预设电压。The detection threshold module is used to detect the edge of the target word line through the voltage detection unit when the target word line belongs to the edge word line and the number of erasing cycles required to complete the erasing operation on the target word line is greater than the preset number of times. Whether the threshold voltage of the edge word line is lower than a predetermined voltage.
可选地,调整电压模块包括:Optionally, the voltage adjustment module includes:
确定子模块,用于以预设电压为基准确定调整幅度;A determination sub-module is used to determine the adjustment range based on the preset voltage;
调整子模块,用于按照调整幅度,通过边缘字线电荷泵调整针对目标字线的擦除操作电压。The adjustment sub-module is used to adjust the erasing operation voltage for the target word line through the edge word line charge pump according to the adjustment range.
本发明实施例还提供了一种Nand flash存储器,该Nand flash存储器包括:存储单元阵列、电压检测单元和电荷泵,存储单元阵列包括:边缘字线和中间字线,边缘字线为在存储单元阵列边缘位置的两个字线,中间字线为在存储单元阵列中除边缘位置的两个字线以外的多个字线,电荷泵包括:边缘字线电荷泵和中间字线电荷泵,边缘字线电荷泵为边缘字线提供操作电压,中间字线电荷泵为中间字线提供操作电压,每个字线包括多个存储单元;该Nand flash存储器用于执行步骤101~步骤105任一所述的方法。The embodiment of the present invention also provides a kind of Nand flash memory, and this Nand flash memory comprises: memory cell array, voltage detection unit and charge pump, and memory cell array comprises: edge word line and middle word line, and edge word line is in memory cell The two word lines at the edge position of the array, the middle word line is a plurality of word lines in the memory cell array except the two word lines at the edge position, and the charge pump includes: the edge word line charge pump and the middle word line charge pump, the edge word line charge pump The word line charge pump provides the operating voltage for the edge word line, the middle word line charge pump provides the operating voltage for the middle word line, and each word line includes a plurality of memory cells; the Nand flash memory is used to perform any one of
通过上述实施例,本发明在执行擦除操作时,判断所需执行擦除操作的存储单元所属的字线是否为边缘字线,若是边缘字线则调整给边缘字线提供操作电压的电荷泵的供电电压,拉大边缘字线的栅极电压与衬底之间的电压差,使得边缘字线可以被更快的擦除成功,减少边缘字线执行擦除操作时需要的擦除循环次数,从而减少对中间字线的影响,延长整个存储单元阵列的使用寿命的同时,提高了Nand flash存储器操作的可靠性。Through the above-mentioned embodiments, when performing an erasing operation, the present invention judges whether the word line to which the memory cell that needs to perform the erasing operation belongs is an edge word line, and if it is an edge word line, then adjusts the charge pump that provides the operating voltage for the edge word line The power supply voltage increases the voltage difference between the gate voltage of the edge word line and the substrate, so that the edge word line can be erased faster and successfully, and reduces the number of erase cycles required for the edge word line to perform an erase operation , thereby reducing the impact on the middle word line, prolonging the service life of the entire memory cell array, and improving the reliability of the Nand flash memory operation.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Also, herein, the terms "comprises," "comprising," or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article, or apparatus that includes a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。Embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementations, and the above-mentioned specific implementations are only illustrative, rather than restrictive, and those of ordinary skill in the art will Under the enlightenment of the present invention, many forms can also be made without departing from the gist of the present invention and the protection scope of the claims, and these all belong to the protection of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910400126.0A CN111951853B (en) | 2019-05-14 | 2019-05-14 | Method and device for controlling erasing operation and Nand flash memory |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910400126.0A CN111951853B (en) | 2019-05-14 | 2019-05-14 | Method and device for controlling erasing operation and Nand flash memory |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN111951853A CN111951853A (en) | 2020-11-17 |
| CN111951853B true CN111951853B (en) | 2023-05-05 |
Family
ID=73335713
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910400126.0A Active CN111951853B (en) | 2019-05-14 | 2019-05-14 | Method and device for controlling erasing operation and Nand flash memory |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111951853B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112509628B (en) * | 2020-12-28 | 2021-08-03 | 芯天下技术股份有限公司 | Circuit for improving erasing efficiency of Flash chip and Flash chip |
| US11961572B2 (en) * | 2021-10-27 | 2024-04-16 | Sandisk Technologies, Llc | Edge word line data retention improvement for memory apparatus with on-pitch semi-circle drain side select gate technology |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101095198A (en) * | 2004-12-29 | 2007-12-26 | 桑迪士克股份有限公司 | Word line compensation in non-volatile memory erase operations |
| CN102376367A (en) * | 2010-08-10 | 2012-03-14 | 旺宏电子股份有限公司 | Method and apparatus for performing erase operations on a memory integrated circuit |
| CN107230498A (en) * | 2016-03-24 | 2017-10-03 | 力晶科技股份有限公司 | Nonvolatile semiconductor memory device and erasing method thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7495954B2 (en) * | 2006-10-13 | 2009-02-24 | Sandisk Corporation | Method for partitioned erase and erase verification to compensate for capacitive coupling effects in non-volatile memory |
| US7952927B2 (en) * | 2007-12-05 | 2011-05-31 | Micron Technology, Inc. | Adjusting program and erase voltages in a memory device |
-
2019
- 2019-05-14 CN CN201910400126.0A patent/CN111951853B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101095198A (en) * | 2004-12-29 | 2007-12-26 | 桑迪士克股份有限公司 | Word line compensation in non-volatile memory erase operations |
| CN102376367A (en) * | 2010-08-10 | 2012-03-14 | 旺宏电子股份有限公司 | Method and apparatus for performing erase operations on a memory integrated circuit |
| CN107230498A (en) * | 2016-03-24 | 2017-10-03 | 力晶科技股份有限公司 | Nonvolatile semiconductor memory device and erasing method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN111951853A (en) | 2020-11-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9164836B2 (en) | Cycling endurance extending for memory cells of a non-volatile memory array | |
| US9466379B2 (en) | Semiconductor device and operating method thereof | |
| US8730733B2 (en) | Non-volatile memory device and memory system including the same | |
| US8773910B2 (en) | Programming to mitigate memory cell performance differences | |
| US20100124120A1 (en) | Nonvolatile memory device | |
| US7450432B2 (en) | Method of programming data in a flash memory device | |
| US8670273B2 (en) | Methods for program verifying a memory cell and memory devices configured to perform the same | |
| KR20120066938A (en) | Operating method of semiconductor memory device | |
| US20210073070A1 (en) | Methods and system with dynamic ecc voltage and frequency | |
| US20130033936A1 (en) | Methods to operate a memory cell | |
| JP2012022767A (en) | Soft program of a non-volatile memory block | |
| CN111951853B (en) | Method and device for controlling erasing operation and Nand flash memory | |
| CN103811068A (en) | Method and system for erasing nonvolatile memory | |
| CN100570749C (en) | Method for judging logic state of storage unit of flash memory | |
| CN106486161B (en) | Anti-interference method for NANDFLASH programming | |
| US20100290287A1 (en) | Method circuit and system for operating an array of non-volatile memory ("nvm") cells and a corresponding nvm device | |
| CN113409860B (en) | Nonvolatile memory erasing method and device, storage medium and terminal | |
| US10079065B2 (en) | Reduced voltage nonvolatile flash memory | |
| CN111951863B (en) | Method and device for controlling read operation | |
| US8923068B2 (en) | Low margin read operation with CRC comparision | |
| WO2024032560A1 (en) | Method for over-erase repair, and storage apparatus | |
| KR20120005831A (en) | Memory device and its operation method | |
| TW201601156A (en) | Semiconductor device | |
| CN111951864B (en) | Method and device for controlling read operation and Nand flash memory | |
| CN109427405B (en) | Programming method and programming device of NOR Flash |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| CB02 | Change of applicant information | ||
| CB02 | Change of applicant information |
Address after: Room 101, Floor 1-5, Building 8, Yard 9, Fenghao East Road, Haidian District, Beijing 100094 Applicant after: Zhaoyi Innovation Technology Group Co.,Ltd. Applicant after: XI'AN GEYI ANCHUANG INTEGRATED CIRCUIT Co.,Ltd. Address before: 100083 12 Floors, Block A, Tiangong Building, Science and Technology University, 30 College Road, Haidian District, Beijing Applicant before: GIGADEVICE SEMICONDUCTOR(BEIJING) Inc. Applicant before: XI'AN GEYI ANCHUANG INTEGRATED CIRCUIT Co.,Ltd. |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant |