[go: up one dir, main page]

CN102543196B - Data reading method, memory storage device and controller thereof - Google Patents

Data reading method, memory storage device and controller thereof Download PDF

Info

Publication number
CN102543196B
CN102543196B CN201010588208.1A CN201010588208A CN102543196B CN 102543196 B CN102543196 B CN 102543196B CN 201010588208 A CN201010588208 A CN 201010588208A CN 102543196 B CN102543196 B CN 102543196B
Authority
CN
China
Prior art keywords
physical page
data
threshold voltage
error
voltage
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
Application number
CN201010588208.1A
Other languages
Chinese (zh)
Other versions
CN102543196A (en
Inventor
叶志刚
曾建富
吴宗霖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Phison Electronics Corp
Original Assignee
Phison Electronics Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Phison Electronics Corp filed Critical Phison Electronics Corp
Priority to CN201010588208.1A priority Critical patent/CN102543196B/en
Publication of CN102543196A publication Critical patent/CN102543196A/en
Application granted granted Critical
Publication of CN102543196B publication Critical patent/CN102543196B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses a data reading method, a memory storage device and a controller thereof. The data reading method is used for a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module is provided with a plurality of entity pages. The method comprises the steps of grouping the entity pages into a plurality of entity page groups; and sets a corresponding threshold voltage set for each physical page group. The method also includes reading data from the physical pages of the physical page groups using the corresponding threshold voltage sets, respectively. The method further includes updating the threshold voltage set corresponding to one of the physical page groups when data read from the one of the physical pages of the one of the physical page groups cannot be corrected by the error correction circuit. Therefore, the correctness of the read data can be effectively ensured.

Description

数据读取方法、存储器储存装置及其控制器Data reading method, memory storage device and controller thereof

技术领域 technical field

本发明涉及一种用于可重写式非易失性存储器的数据读取方法,特别是涉及一种在从可重写式非易失性存储器中所读取的数据无法被校正时重新调整读取电压以正确地读取数据的方法,及使用此方法的存储器控制器与存储器储存装置。The invention relates to a data reading method for a rewritable nonvolatile memory, in particular to a method for readjusting when the data read from the rewritable nonvolatile memory cannot be corrected A method of reading voltage to correctly read data, and a memory controller and a memory storage device using the method.

背景技术 Background technique

数字相机、手机与MP3在这几年来的成长十分迅速,使得消费者对数字内容的储存需求也急速增加。由于快闪存储器(Flash Memory)具有数据非易失性、省电、体积小与无机械结构等的特性,适合使用者随身携带作为数字文件传递与交换的储存媒体。固态硬盘(Solid State Drive,SSD)就是以快闪存储器作为储存媒体的一个例子,并且已广泛使用于计算机主机系统中作为主硬盘。Digital cameras, mobile phones, and MP3 players have grown rapidly in recent years, making consumers' demand for digital content storage also increase rapidly. Due to the characteristics of non-volatile data, power saving, small size and no mechanical structure, Flash Memory is suitable for users to carry as a storage medium for digital file transmission and exchange. A solid state drive (Solid State Drive, SSD) is an example of a flash memory as a storage medium, and has been widely used in computer host systems as a main hard drive.

目前的快闪存储器主要分为两种,分别为或非型快闪存储器(NORFlash)及与非型快闪存储器(NAND Flash)。快闪存储器亦可根据每一存储单元可储存的数据位数而区分为多层存储单元(Multi-Level Cell,MLC)快闪存储器及单层存储单元(Single-Level Cell,SLC)快闪存储器。SLC快闪存储器的每个存储单元仅能储存1个位数据,而MLC快闪存储器的每个存储单元可储存至少2个以上的位数据。例如,以4层存储单元快闪存储器为例,每一存储单元可储存2个位数据(即,″11″、″10″、″00″与″01″)。The current flash memory is mainly divided into two types, which are NOR flash memory (NORFlash) and NAND flash memory (NAND Flash). Flash memory can also be divided into multi-level memory cell (Multi-Level Cell, MLC) flash memory and single-level memory cell (Single-Level Cell, SLC) flash memory according to the number of data bits that each memory cell can store. . Each storage unit of the SLC flash memory can only store 1 bit of data, while each storage unit of the MLC flash memory can store at least 2 or more bits of data. For example, taking the 4-layer memory unit flash memory as an example, each memory unit can store 2 bits of data (ie, “11”, “10”, “00” and “01”).

在快闪存储器中,存储单元会由位线(Bit Line)与字线(Word Line)来串起而形成一存储单元阵列(memory cell array)。当控制位线与字线的控制电路在读取或写入数据到存储单元阵列的指定存储单元时,其他非指定的存储单元的浮动电压可能会受到干扰(disturb),进而造成错误位(即,控制电路从存储单元中所读取的数据(亦称为读取数据)与原先所写入的数据(亦称为写入数据不同)。或者,当快闪存储器亦可能因长期闲置、存储器漏电、或是多次擦除或写入等因素而造成磨耗(Wear)情况时,存储单元中的浮动电压亦可能改变而造成错误位。In flash memory, memory cells are connected in series by bit lines (Bit Line) and word lines (Word Line) to form a memory cell array (memory cell array). When the control circuit controlling the bit line and the word line reads or writes data to a specified memory cell of the memory cell array, the floating voltage of other unspecified memory cells may be disturbed (disturb), thereby causing an error bit (i.e. , the data read by the control circuit from the storage unit (also known as read data) is different from the data originally written (also known as written data). Or, when the flash memory may be idle for a long time, the memory In the event of wear caused by electric leakage, multiple erasing or writing, etc., the floating voltage in the memory cell may also change to cause an error bit.

一般来说,存储器储存装置会配置错误校正电路。在写入数据时,错误校正电路会为所写入的数据产生错误校正码,并且在读取数据时,错误校正电路会依据对应的错误校正码来为所读取的数据进行错误校正解码(亦称为错误校正程序),由此更正错误位。然而,错误校正电路所能够校正的错误位数是有限的,一旦所读取的数据的错误位的个数超过错误校正电路所能校正的错误位的个数时,所读取的数据将无法被校正。此时,主机系统将无法正确地从存储器储存装置中读取到正确的数据。由于工艺的演进或存储器本身的硬件架构的特性造成错误位越来越多(如多层存储单元快闪存储器的每一存储单元可储存的位数越多其可能产生的错误位亦较SLC为多),因此,如何确保所读取的数据的正确性,成为本领域技术人员所关注的议题。Generally, memory storage devices are equipped with error correction circuits. When writing data, the error correction circuit will generate an error correction code for the written data, and when reading data, the error correction circuit will perform error correction decoding for the read data according to the corresponding error correction code ( Also known as the error correction procedure), whereby the erroneous bits are corrected. However, the number of error bits that can be corrected by the error correction circuit is limited. Once the number of error bits in the read data exceeds the number of error bits that can be corrected by the error correction circuit, the read data will not be corrected. is corrected. At this time, the host system cannot correctly read the correct data from the memory storage device. Due to the evolution of the process or the characteristics of the hardware architecture of the memory itself, there are more and more error bits (such as the number of bits that each memory cell of the multi-level memory cell flash memory can store is more, and the error bits that may be generated are also higher than those of SLC. Many), therefore, how to ensure the correctness of the read data has become a topic of concern to those skilled in the art.

发明内容 Contents of the invention

本发明提供一种数据读取方法、存储器控制器与存储器储存装置,其能够正确地读取储存于可重写式非易失性存储器中的数据。The invention provides a data reading method, a memory controller and a memory storage device, which can correctly read the data stored in the rewritable non-volatile memory.

本发明范例实施例提出一种数据读取方法,用于一可重写式非易失性存储器模块,其中此可重写式非易失性存储器模块具有多个实体页面。本数据读取方法包括将这些实体页面分组为多个实体页面群;并且为每一实体页面群设定一个对应的阈值电压组,其中每一位组数据读取电压组包括多个阈值电压。本数据读取方法也包括分别地使用对应的阈值电压组从这些实体页面群的实体页面中读取数据。本数据读取方法还包括,当从其中一个实体页面群的其中一个实体页面中读取的数据无法藉由错误校正电路来校正时,更新对应此实体页面群的阈值电压组。An exemplary embodiment of the present invention provides a data reading method for a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages. The data reading method includes grouping these physical pages into multiple physical page groups; and setting a corresponding threshold voltage group for each physical page group, wherein each bit group data reading voltage group includes multiple threshold voltages. The data reading method also includes reading data from the physical pages of the physical page groups using the corresponding threshold voltage groups respectively. The data reading method further includes, when the data read from one of the physical pages of one of the physical page groups cannot be corrected by the error correction circuit, updating the threshold voltage group corresponding to the physical page group.

本发明范例实施例提出一种数据读取方法,用于一可重写式非易失性存储器模块,其中此可重写式非易失性存储器模块具有依序排列的多个实体页面。本数据读取方法包括:使用至少一阈值电压从这些实体页面之中的第一实体页面中获取第一数据;并且判断此第一数据是否可藉由错误校正电路来校正而产生对应第一实体页面的第一已校正数据。本数据读取方法也包括,倘若第一数据无法藉由错误校正电路来校正而产生对应第一实体页面的已校正数据时,从这些实体页面之中的第二实体页面中获取第二数据,其中第二实体页面是邻近第一实体页面,并且第二数据可藉由错误校正电路来校正而产生对应第二实体页面的第二已校正数据。本数据读取方法亦包括:藉由比对第二数据与对应第二实体页面的第二已校正数据来获得一错误位信息;依据此错误位信息来计算至少一补偿电压;藉由所计算的补偿电压来将阈值电压调整成已调整阈值电压;以及使用已调整阈值电压从第一实体页面获取另一第一数据并且藉由错误校正电路来校正此另一第一数据以产生对应第一实体页面的第一已校正数据。An exemplary embodiment of the present invention provides a data reading method for a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages arranged in sequence. The data reading method includes: using at least a threshold voltage to obtain first data from a first physical page among the physical pages; and judging whether the first data can be corrected by an error correction circuit to generate a corresponding first physical page. The first corrected data for the page. The data reading method also includes, if the first data cannot be corrected by the error correction circuit to generate corrected data corresponding to the first physical page, obtaining the second data from the second physical page among the physical pages, Wherein the second physical page is adjacent to the first physical page, and the second data can be corrected by the error correction circuit to generate second corrected data corresponding to the second physical page. The data reading method also includes: obtaining error bit information by comparing the second data with the second corrected data corresponding to the second physical page; calculating at least one compensation voltage according to the error bit information; using the calculated Compensating the voltage to adjust the threshold voltage to an adjusted threshold voltage; and obtaining another first data from the first physical page using the adjusted threshold voltage and correcting the other first data by an error correction circuit to generate a corresponding first physical page The first corrected data for the page.

本发明范例实施例提出一种存储器控制器,用于控制可重写式非易失性存储器模块,其中此可重写式非易失性存储器模块具有多个实体页面。本存储器控制器包括存储器管理电路以及电性连接至此存储器管理电路的主机接口、存储器接口、错误校正电路与读取电压更新电路。存储器管理电路用以将这些实体页面分组为多个实体页面群,为每一实体页面群设定对应的阈值电压组并且分别地使用对应的这些阈值电压组从这些实体页面群的实体页面中读取数据,其中每一位组数据读取电压组包括多个阈值电压。存储器接口用以电性连接至此可重写式非易失性存储器模块。在此,当存储器管理电路从其中一个实体页面群的其中一个实体页面中读取的数据无法藉由错误校正电路来校正时,读取电压更新电路会更新对应此实体页面群的阈值电压组。Exemplary embodiments of the present invention provide a memory controller for controlling a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages. The memory controller includes a memory management circuit, a host interface electrically connected to the memory management circuit, a memory interface, an error correction circuit and a read voltage update circuit. The memory management circuit is used to group these physical pages into a plurality of physical page groups, set a corresponding threshold voltage group for each physical page group, and respectively use the corresponding threshold voltage groups to read from the physical pages of these physical page groups fetching data, wherein each bit group data reading voltage group includes a plurality of threshold voltages. The memory interface is used to electrically connect to the rewritable non-volatile memory module. Here, when the data read by the memory management circuit from one of the physical pages of one of the physical page groups cannot be corrected by the error correction circuit, the read voltage update circuit updates the threshold voltage group corresponding to the physical page group.

本发明范例实施例提出一种存储器控制器,用于控制可重写式非易失性存储器模块,其中此可重写式非易失性存储器模块具有依序排列的多个实体页面。本存储器控制器包括存储器管理电路以及电性连接至此存储器管理电路的主机接口、存储器接口、错误校正电路与读取电压更新电路。存储器接口用以电性连接至可重写式非易失性存储器模块。在此,存储器管理电路用以使用至少一阈值电压从第一实体页面中获取第一数据,并且判断错误校正电路是否可校正此第一数据来产生对应第一实体页面的第一已校正数据。倘若错误校正电路无法校正第一数据来产生对应第一实体页面的已校正数据时,存储器管理电路还用以从第二实体页面中获取第二数据,其中第二实体页面是邻近第一实体页面,并且第二数据可藉由错误校正电路来校正而产生对应第二实体页面的第二已校正数据。读取电压更新电路用以比对第二数据与对应第二实体页面的第二已校正数据来获得一错误位信息,依据此错误位信息来计算至少一补偿电压,并且根据所计算的补偿电压来将阈值电压调整成已调整阈值电压。此外,存储器管理电路还用以使用已调整阈值电压从第一实体页面获取另一第一数据并且错误校正电路校正此另一第一数据以产生对应第一实体页面的第一已校正数据。An exemplary embodiment of the present invention provides a memory controller for controlling a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages arranged in sequence. The memory controller includes a memory management circuit, a host interface electrically connected to the memory management circuit, a memory interface, an error correction circuit and a read voltage update circuit. The memory interface is used to electrically connect to the rewritable non-volatile memory module. Here, the memory management circuit is used to obtain first data from the first physical page using at least one threshold voltage, and determine whether the error correction circuit can correct the first data to generate first corrected data corresponding to the first physical page. If the error correction circuit cannot correct the first data to generate corrected data corresponding to the first physical page, the memory management circuit is further configured to obtain the second data from the second physical page, wherein the second physical page is adjacent to the first physical page , and the second data can be corrected by the error correction circuit to generate second corrected data corresponding to the second physical page. The reading voltage updating circuit is used for comparing the second data with the second corrected data corresponding to the second physical page to obtain error bit information, calculate at least one compensation voltage according to the error bit information, and calculate the compensation voltage according to the calculated compensation voltage to adjust the threshold voltage to the adjusted threshold voltage. In addition, the memory management circuit is also used to obtain another first data from the first physical page using the adjusted threshold voltage, and the error correction circuit corrects the other first data to generate first corrected data corresponding to the first physical page.

本发明范例实施例提出一种存储器储存装置,其包括连接器、可复写式非易失性存储器模块以及存储器控制器。连接器用以电性连接至主机系统。可重写式非易失性存储器模块具有多个实体页面。存储器控制器电性连接至连接器与可重写式非易失性存储器模块,并且具有错误校正电路。存储器控制器用以将这些实体页面分组为多个实体页面群,为每一实体页面群设定对应的阈值电压组并且分别地使用对应的阈值电压组从这些实体页面群的实体页面中读取数据,其中每一位组数据读取电压组包括多个阈值电压。当存储器控制器从这些实体页面群之中的其中一个实体页面群的其中一个实体页面中读取的数据无法藉由错误校正电路来校正时,存储器控制器会更新对应此实体页面群的阈值电压组。An exemplary embodiment of the invention provides a memory storage device, which includes a connector, a rewritable non-volatile memory module, and a memory controller. The connector is used to electrically connect to the host system. The rewritable non-volatile memory module has multiple physical pages. The memory controller is electrically connected to the connector and the rewritable non-volatile memory module, and has an error correction circuit. The memory controller is used to group these physical pages into a plurality of physical page groups, set a corresponding threshold voltage group for each physical page group and use the corresponding threshold voltage group to read data from the physical pages of these physical page groups respectively , wherein each bit group data read voltage group includes a plurality of threshold voltages. When the data read by the memory controller from one of the physical pages of one of the physical page groups cannot be corrected by the error correction circuit, the memory controller updates the threshold voltage corresponding to the physical page group Group.

本发明范例实施例提出一种存储器储存装置,其包括连接器、可重写式非易失性存储器模块以及存储器控制器。连接器用以电性连接至主机系统。可重写式非易失性存储器模块具有多个实体页面。存储器控制器电性连接至连接器与可重写式非易失性存储器模块,并且具有错误校正电路。存储器控制器用以使用至少一阈值电压从这些实体页面之中的第一实体页面中获取第一数据,并且判断错误校正电路是否可校正第一数据来产生对应第一实体页面的第一已校正数据。倘若错误校正电路无法校正第一数据来产生对应第一实体页面的已校正数据时,存储器控制器还用以从这些实体页面之中的第二实体页面中获取第二数据,其中第二实体页面是邻近第一实体页面,并且第二数据可藉由错误校正电路来校正而产生对应第二实体页面的第二已校正数据。此外,存储器控制器还用以比对第二数据与对应第二实体页面的第二已校正数据来获得错误位信息,依据错误位信息来计算至少一补偿电压,并且根据所计算的补偿电压来将上述阈值电压调整成已调整阈值电压。再者,存储器控制器还用以使用此已调整阈值电压从第一实体页面获取另一第一数据并且错误校正电路校正此另一第一数据以产生对应第一实体页面的第一已校正数据。An exemplary embodiment of the invention provides a memory storage device, which includes a connector, a rewritable non-volatile memory module, and a memory controller. The connector is used to electrically connect to the host system. The rewritable non-volatile memory module has multiple physical pages. The memory controller is electrically connected to the connector and the rewritable non-volatile memory module, and has an error correction circuit. The memory controller is used to obtain first data from a first physical page among the physical pages by using at least a threshold voltage, and judge whether the error correction circuit can correct the first data to generate first corrected data corresponding to the first physical page . If the error correction circuit cannot correct the first data to generate corrected data corresponding to the first physical page, the memory controller is further configured to obtain second data from a second physical page among the physical pages, wherein the second physical page is adjacent to the first physical page, and the second data can be corrected by the error correction circuit to generate second corrected data corresponding to the second physical page. In addition, the memory controller is also used to compare the second data with the second corrected data corresponding to the second physical page to obtain error bit information, calculate at least one compensation voltage according to the error bit information, and calculate the compensation voltage according to the calculated compensation voltage. The above-mentioned threshold voltage is adjusted to an adjusted threshold voltage. Moreover, the memory controller is further configured to use the adjusted threshold voltage to obtain another first data from the first physical page, and the error correction circuit corrects the other first data to generate first corrected data corresponding to the first physical page .

基于上述,本发明范例实施例的数据读取方法、存储器控制器与存储器储存装置能够有效地确保所读取的数据的正确性。Based on the above, the data reading method, the memory controller and the memory storage device of the exemplary embodiments of the present invention can effectively ensure the correctness of the read data.

为使本发明的上述特征和优点能更明显易懂,下文特举实施例,并结合附图详细说明如下。In order to make the above-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail with reference to the accompanying drawings.

附图说明 Description of drawings

图1A是根据本发明范例实施例所绘示的主机系统与存储器储存装置。FIG. 1A is a diagram illustrating a host system and a memory storage device according to an exemplary embodiment of the present invention.

图1B是根据本发明范例实施例所绘示的计算机、输入/输出装置与存储器储存装置的示意图。FIG. 1B is a schematic diagram of a computer, an input/output device and a memory storage device according to an exemplary embodiment of the present invention.

图1C是根据本发明另一范例实施例所绘示的主机系统与存储器储存装置的示意图。FIG. 1C is a schematic diagram of a host system and a memory storage device according to another exemplary embodiment of the present invention.

图2是绘示图1A所示的存储器储存装置的概要方块图。FIG. 2 is a schematic block diagram illustrating the memory storage device shown in FIG. 1A .

图3是根据本发明范例实施例所绘示的可重写式非易失性存储器模块的概要方块图。FIG. 3 is a schematic block diagram of a rewritable non-volatile memory module according to an exemplary embodiment of the present invention.

图4是根据本发明范例实施例所绘示储存于存储单元阵列中的写入数据所对应的浮动电压的统计分配图。FIG. 4 is a statistical distribution diagram of floating voltages corresponding to written data stored in a memory cell array according to an exemplary embodiment of the present invention.

图5是根据本发明第一范例实施例所绘示的针对其中一个存储单元的读取运作示意图。FIG. 5 is a schematic diagram of a read operation for one of the memory cells according to the first exemplary embodiment of the present invention.

图6是根据本发明另一范例实施例所绘示的8层存储单元的读取运作示意图。FIG. 6 is a schematic diagram of a read operation of an 8-layer memory unit according to another exemplary embodiment of the present invention.

图7是根据本发明范例实施例所绘示的存储器控制器的概要方块图。FIG. 7 is a schematic block diagram of a memory controller according to an exemplary embodiment of the invention.

图8是根据本发明范例实施例所绘示的管理可重写式非易失性存储器模块的示意图。FIG. 8 is a schematic diagram of managing a rewritable non-volatile memory module according to an exemplary embodiment of the present invention.

图9是根据本发明范例实施例所绘示读取数据的范例。FIG. 9 is an example of read data according to an exemplary embodiment of the present invention.

图10是根据本发明范例实施例所绘示的统计错误位的错误类型的示意图。FIG. 10 is a schematic diagram illustrating error types of statistical error bits according to an exemplary embodiment of the present invention.

图11是根据本发明范例实施例所绘示的数据读取方法的流程图。FIG. 11 is a flowchart of a data reading method according to an exemplary embodiment of the present invention.

附图符号说明Description of reference symbols

1000:主机系统1000: host system

1100:计算机1100: computer

1102:微处理器1102: Microprocessor

1104:随机存取存储器1104: random access memory

1106:输入/输出装置1106: Input/Output Device

1108:系统总线1108: System bus

1110:数据传输接口1110: data transmission interface

1202:鼠标1202: Mouse

1204:键盘1204: keyboard

1206:显示器1206: display

1208:打印机1208: Printer

1212:随身盘1212: Pen drive

1214:存储卡1214: memory card

1216:固态硬盘1216: SSD

1310:数字相机1310: Digital camera

1312:SD卡1312: SD card

1314:MMC卡1314: MMC card

1316:存储棒1316: memory stick

1318:CF卡1318: CF card

1320:嵌入式储存装置1320: Embedded Storage

100:存储器储存装置100: memory storage device

102:连接器102: Connector

104:存储器控制器104: memory controller

106:可重写式非易失性存储器模块106: Rewritable non-volatile memory module

202:存储单元阵列202: memory cell array

204:字线控制电路204: word line control circuit

206:位线控制电路206: Bit line control circuit

208:列解码器208: column decoder

210:数据输入/输出缓冲器210: Data input/output buffer

212:控制电路212: Control circuit

VA:第一阈值电压VA: first threshold voltage

VB:第二阈值电压VB: second threshold voltage

VC:第三阈值电压VC: the third threshold voltage

VD:第四阈值电压VD: fourth threshold voltage

VE:第五阈值电压VE: fifth threshold voltage

VF:第六阈值电压VF: sixth threshold voltage

VG:第七阈值电压VG: seventh threshold voltage

702:存储器管理电路702: memory management circuit

704:主机接口704: host interface

706:存储器接口706: memory interface

708:错误校正电路708: Error Correction Circuit

710:读取电压更新电路710: read voltage update circuit

752:缓冲存储器752: buffer memory

754:电源管理电路754: Power management circuit

410(0)~410(N):实体页面群410(0)~410(N): Entity page group

400(0)-0~400(0)~K:实体页面400(0)-0~400(0)~K: Entity page

1002、1004、1006、1008、1010、1012:区块1002, 1004, 1006, 1008, 1010, 1012: blocks

S1101、S1103、S1105、S1107、S1109、S1111、S1113、S1115:数据读取的步骤S1101, S1103, S1105, S1107, S1109, S1111, S1113, S1115: Steps to read data

具体实施方式 Detailed ways

在本发明范例实施例中,可重写式非易失性存储器模块的实体页面可被分组为多个实体页面群,并且每一实体页面群会配置有对应的阈值电压组。并且,实体页面群的实体页面中的数据会使用对应的阈值电压组来读取。特别是,当所读取的数据无法藉由错误校正电路来校正时,对应的阈值电压组会依据从邻近实体页面中所获取的错误位信息来调整。由于阈值电压组是依据其对应的实体页面群的特性而被调整,因此,使得所读取的数据的正确性更能被保证。以下将详细范例实施例,来说明本发明。In an exemplary embodiment of the present invention, the physical pages of the rewritable non-volatile memory module can be grouped into a plurality of physical page groups, and each physical page group is configured with a corresponding threshold voltage group. And, the data in the physical pages of the physical page group will be read using the corresponding threshold voltage set. Especially, when the read data cannot be corrected by the error correction circuit, the corresponding threshold voltage set is adjusted according to the error bit information obtained from adjacent physical pages. Since the threshold voltage group is adjusted according to the characteristics of its corresponding physical page group, the correctness of the read data can be more guaranteed. The following examples will illustrate the present invention in detail.

一般而言,存储器储存装置(亦称,存储器储存系统)包括可重写式非易失性存储器模块与控制器(亦称,控制电路)。通常存储器储存装置是与主机系统一起使用,以使主机系统可将数据写入至存储器储存装置或从存储器储存装置中读取数据。In general, a memory storage device (also called a memory storage system) includes a rewritable non-volatile memory module and a controller (also called a control circuit). Typically memory storage devices are used with a host system so that the host system can write data to or read data from the memory storage device.

图1A是根据本发明范例实施例所绘示的主机系统与存储器储存装置。FIG. 1A is a diagram illustrating a host system and a memory storage device according to an exemplary embodiment of the present invention.

请参照图1A,主机系统1000一般包括计算机1100与输入/输出(input/output,I/O)装置1106。计算机1100包括微处理器1102、随机存取存储器(random access memory,RAM)1104、系统总线1108与数据传输接口1110。输入/输出装置1106包括如图1B的鼠标1202、键盘1204、显示器1206与打印机1208。必须了解的是,图1B所示的装置非限制输入/输出装置1106,输入/输出装置1106可还包括其他装置。Referring to FIG. 1A , the host system 1000 generally includes a computer 1100 and an input/output (I/O) device 1106 . The computer 1100 includes a microprocessor 1102 , a random access memory (random access memory, RAM) 1104 , a system bus 1108 and a data transmission interface 1110 . The input/output device 1106 includes a mouse 1202, a keyboard 1204, a monitor 1206 and a printer 1208 as shown in FIG. 1B. It must be understood that the device shown in FIG. 1B is not limited to the I/O device 1106, and the I/O device 1106 may also include other devices.

在本发明实施例中,存储器储存装置100是通过数据传输接口1110与主机系统1000的其他元件电性连接。藉由微处理器1102、随机存取存储器1104与输入/输出装置1106的运作可将数据写入至存储器储存装置100或从存储器储存装置100中读取数据。例如,存储器储存装置100可以是如图1B所示的随身盘1212、存储卡1214或固态硬盘(Solid State Drive,SSD)1216等的可重写式非易失性存储器储存装置。In the embodiment of the present invention, the memory storage device 100 is electrically connected with other components of the host system 1000 through the data transmission interface 1110 . Data can be written into the memory storage device 100 or read from the memory storage device 100 by the operation of the microprocessor 1102 , the random access memory 1104 and the input/output device 1106 . For example, the memory storage device 100 may be a rewritable non-volatile memory storage device such as a pen drive 1212, a memory card 1214, or a solid state drive (Solid State Drive, SSD) 1216 as shown in FIG. 1B.

一般而言,主机系统1000可实质地为可与存储器储存装置100配合以储存数据的任意系统。虽然在本范例实施例中,主机系统1000是以计算机系统来作说明,然而,在本发明另一范例实施例中主机系统1000可以是数字相机、摄影机、通信装置、音讯播放器或视讯播放器等系统。例如,在主机系统为数字相机(摄影机)1310时,可重写式非易失性存储器储存装置则为其所使用的SD卡1312、MMC卡1314、存储棒(memory stick)1316、CF卡1318或嵌入式储存装置1320(如图1C所示)。嵌入式储存装置1320包括嵌入式多媒体卡(Embedded MMC,eMMC)。值得一提的是,嵌入式多媒体卡是直接电性连接于主机系统的基板上。In general, the host system 1000 can be virtually any system that can cooperate with the memory storage device 100 to store data. Although in this exemplary embodiment, the host system 1000 is described as a computer system, however, in another exemplary embodiment of the present invention, the host system 1000 may be a digital camera, video camera, communication device, audio player or video player and other systems. For example, when the host system is a digital camera (video camera) 1310, the rewritable nonvolatile memory storage device is an SD card 1312, an MMC card 1314, a memory stick (memory stick) 1316, and a CF card 1318. Or an embedded storage device 1320 (as shown in FIG. 1C ). The embedded storage device 1320 includes an embedded multimedia card (Embedded MMC, eMMC). It is worth mentioning that the embedded multimedia card is directly electrically connected to the substrate of the host system.

图2是绘示图1A所示的存储器储存装置的概要方块图。FIG. 2 is a schematic block diagram illustrating the memory storage device shown in FIG. 1A .

请参照图2,存储器储存装置100包括连接器102、存储器控制器104与可重写式非易失性存储器模块106。Referring to FIG. 2 , the memory storage device 100 includes a connector 102 , a memory controller 104 and a rewritable non-volatile memory module 106 .

在本范例实施例中,连接器102是相容于序列先进附件(Serial AdvancedTechnology Attachment,SATA)标准。然而,必须了解的是,本发明不限于此,连接器102亦可以是符合电气和电子工程师协会(Institute of Electrical andElectronic Engineers,IEEE)1394标准、高速周边零件连接接口(PeripheralComponent Interconnect Express,PCI Express)标准、通用序列总线(UniversalSerial Bus,USB)标准、安全数字(Secure Digital,SD)接口标准、存储棒(Memory Stick,MS)接口标准、多媒体储存卡(Multi Media Card,MMC)接口标准、小型快闪(Compact Flash,CF)接口标准、整合式驱动电子接口(IntegratedDevice Electronics,IDE)标准或其他适合的标准。In this exemplary embodiment, the connector 102 is compatible with the Serial Advanced Technology Attachment (SATA) standard. However, it must be understood that the present invention is not limited thereto, and the connector 102 may also be a high-speed peripheral component connection interface (Peripheral Component Interconnect Express, PCI Express) that complies with the Institute of Electrical and Electronic Engineers (Institute of Electrical and Electronic Engineers, IEEE) 1394 standard Standard, Universal Serial Bus (USB) standard, Secure Digital (Secure Digital, SD) interface standard, Memory Stick (Memory Stick, MS) interface standard, Multi Media Card (Multi Media Card, MMC) interface standard, small fast Flash (Compact Flash, CF) interface standard, Integrated Device Electronics (IDE) standard, or other suitable standards.

存储器控制器104用以执行以硬件型式或固件型式实作的多个逻辑门或控制指令,并且根据主机系统1000的指令在可重写式非易失性存储器模块106中进行数据的写入、读取与擦除等运作。The memory controller 104 is used to execute a plurality of logic gates or control instructions implemented in hardware or firmware, and write data in the rewritable non-volatile memory module 106 according to the instructions of the host system 1000, Read and erase operations.

可重写式非易失性存储器模块106是电性连接至存储器控制器104,并且用以储存主机系统1000所写入的数据。在本范例实施例中,可重写式非易失性存储器模块106为多阶存储单元(Multi Level Cell,MLC)NAND型快闪存储器模块。然而,本发明不限于此,可重写式非易失性存储器模块106亦可是其他快闪存储器模块或其他具有相同特性的存储器模块。The rewritable non-volatile memory module 106 is electrically connected to the memory controller 104 and used for storing data written by the host system 1000 . In this exemplary embodiment, the rewritable non-volatile memory module 106 is a multi-level cell (Multi Level Cell, MLC) NAND flash memory module. However, the present invention is not limited thereto, and the rewritable non-volatile memory module 106 can also be other flash memory modules or other memory modules with the same characteristics.

图3是根据本发明范例实施例所绘示的可重写式非易失性存储器模块的概要方块图。FIG. 3 is a schematic block diagram of a rewritable non-volatile memory module according to an exemplary embodiment of the present invention.

可重写式非易失性存储器模块106包括存储单元阵列202、字线控制电路204、位线控制电路206、列解码器(column decoder)208、数据输入/输出缓冲器210与控制电路212。The rewritable non-volatile memory module 106 includes a memory cell array 202 , a word line control circuit 204 , a bit line control circuit 206 , a column decoder 208 , a data input/output buffer 210 and a control circuit 212 .

存储单元阵列202包括用以储存数据的多个存储单元(图未示)、连接这些存储单元的多条位线(图未示)、多条字线与共用源极线(图未示)。存储单元是以阵列方式配置在位线与字线的交叉点上。当从存储器控制器130接收到写入指令或读取数据时,控制电路212会控制字线控制电路204、位线控制电路206、列解码器208、数据输入/输出缓冲器210来写入数据至存储器阵列202或从存储器阵列202中读取数据,其中字线控制电路204用以控制施予至字线的字线电压,位线控制电路206用以控制位线,列解码器208依据指令中的解码列地址以选择对应的位线,并且数据输入/输出缓冲器210用以暂存数据。The memory cell array 202 includes a plurality of memory cells (not shown) for storing data, a plurality of bit lines (not shown) connecting the memory cells, a plurality of word lines and a common source line (not shown). The memory cells are arranged in an array at intersections of bit lines and word lines. When receiving a write command or reading data from the memory controller 130, the control circuit 212 will control the word line control circuit 204, the bit line control circuit 206, the column decoder 208, and the data input/output buffer 210 to write data To the memory array 202 or read data from the memory array 202, wherein the word line control circuit 204 is used to control the word line voltage given to the word line, the bit line control circuit 206 is used to control the bit line, and the column decoder 208 according to the instruction The decoded column address in is used to select the corresponding bit line, and the data input/output buffer 210 is used to temporarily store data.

在本范例实施例中,可重写式非易失性存储器模块106为MLC NAND型快闪存储器模块,其使用多个浮动电压来代表多位(bits)的数据。具体来说,存储单元阵列202的每一存储单元具有多个储存状态,并且这些储存状态是以多个阈值电压来区分。In this exemplary embodiment, the rewritable non-volatile memory module 106 is an MLC NAND flash memory module, which uses multiple floating voltages to represent multiple bits of data. Specifically, each memory cell of the memory cell array 202 has a plurality of storage states, and the storage states are distinguished by a plurality of threshold voltages.

图4是根据本发明范例实施例所绘示储存于存储单元阵列中的写入数据所对应的浮动电压的统计分配图。FIG. 4 is a statistical distribution diagram of floating voltages corresponding to written data stored in a memory cell array according to an exemplary embodiment of the present invention.

请参照图4,以4阶存储单元NAND型快闪存储器为例,每一存储单元中的浮动电压可依据第一阈值电压VA、第二阈值电压VB与第三阈值电压VC而区分为4种储存状态,并且这些储存状态分别地代表″11″、″10″、″00″与″01″。换言之,每一个储存状态包括最低有效位(Least Significant Bit,LSB)以及最高有效位(Most Significant Bit,MSB)。在本范例实施例中,储存状态(即,″11″、″10″、″00″与″01″)中从左侧算起的第1个位的值为LSB,而从左侧算起的第2个位的值为MSB。因此,在第一范例实施例中,每一存储单元可储存2个位数据。必须了解的是,图3所绘示的浮动电压及其储存状态的对应仅为一个范例。在本发明另一范例实施例中,浮动电压与储存状态的对应亦可是随着浮动电压越大而以″11″、″10″、″01″与″00″排列。或者,浮动电压所对应的储存状态亦可为对实际储存值进行映射或反相后的值,此外,在另一范例时实例中,亦可定义从左侧算起的第1个位的值为MSB,而从左侧算起的第2个位的值为LSB。Please refer to FIG. 4, taking the 4-level memory cell NAND flash memory as an example, the floating voltage in each memory cell can be divided into four types according to the first threshold voltage VA, the second threshold voltage VB and the third threshold voltage VC. storage states, and these storage states respectively represent "11", "10", "00" and "01". In other words, each storage state includes a Least Significant Bit (LSB) and a Most Significant Bit (MSB). In this exemplary embodiment, the value of the first bit from the left in the storage states (ie, "11", "10", "00" and "01") is LSB, and the value from the left The value of the 2nd bit of the MSB. Therefore, in the first exemplary embodiment, each memory cell can store 2 bits of data. It must be understood that the correspondence between the floating voltage and its storage state shown in FIG. 3 is just an example. In another exemplary embodiment of the present invention, the correspondence between the floating voltage and the storage state can also be arranged in "11", "10", "01" and "00" as the floating voltage increases. Alternatively, the storage state corresponding to the floating voltage can also be the value after mapping or inverting the actual storage value. In addition, in another example, the value of the first bit from the left can also be defined is the MSB, and the second bit from the left is the LSB.

在本范例实施例中,每一存储单元可储存2个位数据,因此同一条字线上的存储单元会构成2个实体页面(即,下页面与上页面)的储存空间。也就是说,每一存储单元的LSB是对应下页面,并且每一存储单元的MSB是对应上页面。此外,在存储单元阵列202中数个实体页面会构成一个实体区块,并且实体区块为执行擦除运作的最小单位。亦即,每一实体区块含有最小数目的一并被擦除的存储单元。In this exemplary embodiment, each memory cell can store 2 bits of data, so the memory cells on the same word line constitute the storage space of 2 physical pages (ie, the lower page and the upper page). That is, the LSB of each memory cell corresponds to the lower page, and the MSB of each memory cell corresponds to the upper page. In addition, several physical pages in the memory cell array 202 constitute a physical block, and the physical block is the smallest unit for performing erasing operations. That is, each physical block contains the minimum number of memory cells to be erased together.

存储单元阵列202的存储单元的数据写入是利用注入电压来改变存储单元的浮动电压,以呈现不同的储存状态。例如,当下页面数据为1且上页面数据为1时,控制电路212会控制字线控制电路204不改变存储单元中的浮动电压,而将存储单元的储存状态保持为″11″。当下页面数据为1且上页面数据为0时,字线控制电路204会在控制电路212的控制下改变存储单元中的浮动电压,而将存储单元的储存状态改变为″10″。当下页面数据为0且上页面数据为0时,字线控制电路204会在控制电路212的控制下改变存储单元中的浮动电压,而将存储单元的储存状态改变为″00″。并且,当下页面数据为0且上页面数据为1时,字线控制电路204会在控制电路212的控制下改变存储单元中的浮动电压,而将存储单元的储存状态改变为″01″The data writing of the memory cells of the memory cell array 202 is to use the injection voltage to change the floating voltage of the memory cells to present different storage states. For example, when the data of the lower page is 1 and the data of the upper page is 1, the control circuit 212 controls the word line control circuit 204 not to change the floating voltage of the memory cell, but to keep the storage state of the memory cell as “11”. When the data on the lower page is 1 and the data on the upper page is 0, the word line control circuit 204 changes the floating voltage in the memory cell under the control of the control circuit 212 to change the storage state of the memory cell to "10". When the data on the lower page is 0 and the data on the upper page is 0, the word line control circuit 204 changes the floating voltage in the memory cell under the control of the control circuit 212 to change the storage state of the memory cell to "00". And, when the data on the lower page is 0 and the data on the upper page is 1, the word line control circuit 204 will change the floating voltage in the memory cell under the control of the control circuit 212, and change the storage state of the memory cell to "01"

图5是根据本发明第一范例实施例所绘示的针对其中一个存储单元的读取运作示意图。FIG. 5 is a schematic diagram of a read operation for one of the memory cells according to the first exemplary embodiment of the present invention.

请参照图5,存储单元阵列202的存储单元的数据读取则是使用阈值电压来区分存储单元的浮动电压。在读取下页数据的运作中,字线控制电路204会施予第二阈值电压VB至存储单元并且藉由存储单元的控制栅(controlgate)是否导通和对应的运算式(1)来判断下页数据的值:Please refer to FIG. 5 , the data reading of the memory cells of the memory cell array 202 uses the threshold voltage to distinguish the floating voltage of the memory cells. In the operation of reading the data of the next page, the word line control circuit 204 will apply the second threshold voltage VB to the memory cell and determine whether the control gate of the memory cell is turned on and the corresponding formula (1) Values for the next page of data:

LSB=(VB)Lower_pre1                            (1)LSB=(VB)Lower_pre1 (1)

其中(VB)Lower_pre1表示通过施予第二阈值电压VB而获得的第1下页验证值。Wherein (VB)Lower_pre1 represents the verification value of the first lower page obtained by applying the second threshold voltage VB.

例如,当第二阈值电压VB小于存储单元的浮动电压时,存储单元的控制栅(control gate)不会导通并输出值′0′的第1下页验证值,由此LSB会被识别为0。例如,当第二阈值电压VB大于存储单元的浮动电压时,存储单元的控制栅会导通并输出值′1′的第1下页验证值,由此此LSB会被识别为1。也就是说,用以呈现LSB为1的浮动电压与用以呈现LSB为0的浮动电压可通过第二阈值电压VB而被区分。For example, when the second threshold voltage VB is lower than the floating voltage of the memory cell, the control gate of the memory cell will not be turned on and output the first lower page verification value of '0', thus the LSB will be identified as 0. For example, when the second threshold voltage VB is greater than the floating voltage of the memory cell, the control gate of the memory cell will be turned on and output the first lower page verification value of '1', thus the LSB will be identified as 1. That is to say, the floating voltage used to represent LSB 1 and the floating voltage used to represent LSB 0 can be distinguished by the second threshold voltage VB.

在读取上页数据的运作中,字线控制电路204会分别地施予第三阈值电压VC与第一阈值电压VA至存储单元并且藉由存储单元的控制栅是否导通和对应的运算式(2)来判断上页数据的值:In the operation of reading the data of the upper page, the word line control circuit 204 will respectively apply the third threshold voltage VC and the first threshold voltage VA to the memory cell and determine whether the control gate of the memory cell is turned on and the corresponding calculation formula (2) To judge the value of the data on the previous page:

MSB=((VA)Upper_pre2)xor(~(VC)Upper_pre1)(2)MSB=((VA)Upper_pre2)xor(~(VC)Upper_pre1)(2)

其中(VC)Upper_pre1表示通过施予第三阈值电压VC而获得的第1上页验证值,并且(VA)Upper_pre2表示通过施予第一阈值电压VA而获得的第2上页验证值,其中符号”~”代表反相。此外,在本范例实施例中,当第三阈值电压VC小于存储单元的浮动电压时,存储单元的控制栅不会导通并输出值′0′的第1上页验证值((VC)Upper_pre1),当第一阈值电压VA小于存储单元的浮动电压时,存储单元的控制栅不会导通并输出值′0′的第2上页验证值((VA)Upper_pre2)。Where (VC)Upper_pre1 represents the verification value of the first upper page obtained by applying the third threshold voltage VC, and (VA)Upper_pre2 represents the verification value of the second upper page obtained by applying the first threshold voltage VA, where symbols "~" stands for inversion. In addition, in this exemplary embodiment, when the third threshold voltage VC is lower than the floating voltage of the memory cell, the control gate of the memory cell is not turned on and the first upper page verify value ((VC)Upper_pre1 ), when the first threshold voltage VA is less than the floating voltage of the memory cell, the control gate of the memory cell will not be turned on and output the second upper page verify value ((VA)Upper_pre2) of '0'.

因此,在本范例实施例中,依照运算式(2),当第三阈值电压VC与第一阈值电压VA皆小于存储单元的浮动电压时,在第三阈值电压VC下存储单元的控制栅不会导通并输出值′0′的第1上页验证值并且在第一阈值电压VA下存储单元的控制栅不会导通并输出值′0′的第2上页验证值。此时,MSB会被识别为1。Therefore, in this exemplary embodiment, according to the formula (2), when both the third threshold voltage VC and the first threshold voltage VA are lower than the floating voltage of the memory cell, the control gate of the memory cell does not operate under the third threshold voltage VC. It will be turned on and output the first upper page verification value of '0' and the control gate of the memory cell will not be turned on and output the second upper page verification value of '0' under the first threshold voltage VA. At this time, the MSB will be recognized as 1.

例如,当第三阈值电压VC大于存储单元的浮动电压且第一阈值电压VA小于存储单元的浮动电压小于存储单元的浮动电压时,在第三阈值电压VC下存储单元的控制栅会导通并输出值′1′的第1上页验证值,并且在第一阈值电压VA下存储单元的控制栅不会导通并输出值′0′的第2上页验证值。此时,MSB会被识别为0。For example, when the third threshold voltage VC is greater than the floating voltage of the memory cell and the first threshold voltage VA is smaller than the floating voltage of the memory cell, the control gate of the memory cell will be turned on at the third threshold voltage VC and The first upper page verification value of '1' is output, and the control gate of the memory cell is not turned on under the first threshold voltage VA and the second upper page verification value of '0' is output. At this time, the MSB will be recognized as 0.

例如,当第三阈值电压VC与第一阈值电压VA皆大于存储单元的浮动电压时,在第三阈值电压VC下,存储单元的控制栅会导通并输出值′1′的第1上页验证值,并且在第一阈值电压VA下存储单元的控制栅会导通并输出值′1′的第2上页验证值。此时,MSB会被识别为1。For example, when both the third threshold voltage VC and the first threshold voltage VA are greater than the floating voltage of the memory cell, under the third threshold voltage VC, the control gate of the memory cell will be turned on and the first upper page of the value '1' will be output. verification value, and under the first threshold voltage VA, the control gate of the memory cell will be turned on and output the verification value of '1' on the second upper page. At this time, the MSB will be recognized as 1.

必须了解的是,尽管本发明是以4阶存储单元NAND型快闪存储器来作说明。然而,本发明不限于此,其他多层存储单元NAND型快闪存储器亦可依据上述原理进行数据的读取。It must be understood that although the present invention is described with a 4-level storage unit NAND type flash memory. However, the present invention is not limited thereto, and other multi-level storage unit NAND flash memories can also read data according to the above principles.

例如,以8阶存储单元NAND型快闪存储器为例(如图6所示),每一个储存状态包括左侧算起的第1个位的最低有效位LSB、从左侧算起的第2个位的中间有效位(Center Significant Bit,CSB)以及从左侧算起的第3个位的最高有效位MSB,其中LSB对应下页面,CSB对应中页面,MSB对应上页面。在此范例中,每一存储单元中的浮动电压可依据第一阈值电压VA、第二阈值电压VB、第三阈值电压VC、第四阈值电压VD、第五阈值电压VE、第六阈值电压VF与第七阈值电压VG而区分为8种储存状态(即,″111″、″110″、″100″、″101″、″001″、″000″、″010″与″011″)。For example, taking an 8-level storage unit NAND flash memory as an example (as shown in Figure 6), each storage state includes the least significant bit LSB of the first bit from the left, the second bit from the left The center significant bit (Center Significant Bit, CSB) of the ones digit and the most significant bit MSB of the third digit from the left, where the LSB corresponds to the lower page, the CSB corresponds to the middle page, and the MSB corresponds to the upper page. In this example, the floating voltage in each memory cell can be based on the first threshold voltage VA, the second threshold voltage VB, the third threshold voltage VC, the fourth threshold voltage VD, the fifth threshold voltage VE, the sixth threshold voltage VF 8 storage states (namely, “111”, “110”, “100”, “101”, “001”, “000”, “010” and “011”) are distinguished from the seventh threshold voltage VG.

图7是根据本发明范例实施例所绘示的存储器控制器的概要方块图。FIG. 7 is a schematic block diagram of a memory controller according to an exemplary embodiment of the invention.

请参照图7,存储器控制器104包括存储器管理电路702、主机接口704、存储器接口706、错误校正电路708与读取电压更新电路710。Referring to FIG. 7 , the memory controller 104 includes a memory management circuit 702 , a host interface 704 , a memory interface 706 , an error correction circuit 708 and a read voltage update circuit 710 .

存储器管理电路702用以控制存储器控制器104的整体运作。具体来说,存储器管理电路702具有多个控制指令,并且在存储器储存装置100运作时,这些控制指令会被执行以根据主机系统1000的指令于可重写式非易失性存储器模块106中读取、写入或擦除数据。The memory management circuit 702 is used to control the overall operation of the memory controller 104 . Specifically, the memory management circuit 702 has a plurality of control commands, and when the memory storage device 100 is operating, these control commands will be executed to read in the rewritable non-volatile memory module 106 according to the command of the host system 1000. fetch, write or erase data.

在本范例实施例中,存储器管理电路702的控制指令是以固件型式来实作。例如,存储器管理电路702具有微处理器单元(未绘示)与只读存储器(未绘示),并且这些控制指令是被烧录至此只读存储器中。当存储器储存装置100运作时,这些控制指令会由微处理器单元来执行。In this exemplary embodiment, the control commands of the memory management circuit 702 are implemented in the form of firmware. For example, the memory management circuit 702 has a microprocessor unit (not shown) and a ROM (not shown), and these control instructions are burned into the ROM. When the memory storage device 100 is operating, these control instructions are executed by the microprocessor unit.

在本发明另一范例实施例中,存储器管理电路702的控制指令亦可以程式码型式储存于可重写式非易失性存储器模块106的特定区域(例如,存储器模块中专用于存放系统数据的系统区)中。此外,存储器管理电路702具有微处理器单元(未绘示)、只读存储器(未绘示)及随机存取存储器(未绘示)。特别是,此只读存储器具有驱动码段,并且当存储器控制器104被致能时,微处理器单元会先执行此驱动码段来将储存于可重写式非易失性存储器模块106中的控制指令载入至存储器管理电路702的随机存取存储器中。之后,微处理器单元会运转这些控制指令以执行数据的读取、写入与擦除。此外,在本发明另一范例实施例中,存储器管理电路702的控制指令亦可以一硬件型式来实作。In another exemplary embodiment of the present invention, the control instructions of the memory management circuit 702 can also be stored in a specific area of the rewritable non-volatile memory module 106 (for example, a memory module dedicated to storing system data) system area). In addition, the memory management circuit 702 has a microprocessor unit (not shown), a read only memory (not shown) and a random access memory (not shown). In particular, the ROM has a driver code segment, and when the memory controller 104 is enabled, the microprocessor unit will first execute the driver code segment to store data in the rewritable non-volatile memory module 106. The control instructions are loaded into the random access memory of the memory management circuit 702 . Afterwards, the microprocessor unit runs these control instructions to execute data reading, writing and erasing. In addition, in another exemplary embodiment of the present invention, the control instructions of the memory management circuit 702 can also be implemented in a hardware form.

主机接口704是电性连接至存储器管理电路702并且用以接收与识别主机系统1000所传送的指令与数据。也就是说,主机系统1000所传送的指令与数据会通过主机接口704来传送至存储器管理电路702。在本范例实施例中,主机接口704是相容于SATA标准。然而,必须了解的是本发明不限于此,主机接口704亦可以是相容于PATA标准、IEEE 1394标准、PCI Express标准、USB标准、SD标准、MS标准、MMC标准、CF标准、IDE标准或其他适合的数据传输标准。The host interface 704 is electrically connected to the memory management circuit 702 and is used for receiving and identifying commands and data transmitted by the host system 1000 . That is to say, the commands and data transmitted by the host system 1000 are transmitted to the memory management circuit 702 through the host interface 704 . In this exemplary embodiment, the host interface 704 is compatible with the SATA standard. However, it must be understood that the present invention is not limited thereto, and the host interface 704 can also be compatible with PATA standard, IEEE 1394 standard, PCI Express standard, USB standard, SD standard, MS standard, MMC standard, CF standard, IDE standard or Other suitable data transmission standards.

存储器接口706是电性连接至存储器管理电路702并且用以存取可重写式非易失性存储器模块106。也就是说,欲写入至可重写式非易失性存储器模块106的数据会经由存储器接口706转换为可重写式非易失性存储器模块106所能接受的格式。The memory interface 706 is electrically connected to the memory management circuit 702 and used for accessing the rewritable non-volatile memory module 106 . That is to say, the data to be written into the rewritable nonvolatile memory module 106 is converted into a format acceptable to the rewritable nonvolatile memory module 106 via the memory interface 706 .

错误校正电路708是电性连接至存储器管理电路702并且用以执行错误检查与校正程序以确保数据的正确性。具体来说,当存储器管理电路702从主机系统1000中接收到写入指令时,错误校正电路708会为对应此写入指令的数据产生对应的错误检查与校正码(Error Checking and Correcting Code,ECC Code),并且存储器管理电路702会将对应此写入指令的数据与对应的错误检查与校正码写入至可重写式非易失性存储器模块106中。之后,当存储器管理电路702从可重写式非易失性存储器模块106中读取数据时会同时读取此数据对应的错误检查与校正码,并且错误校正电路708会依据此错误检查与校正码对所读取的数据执行错误检查与校正程序。The error correction circuit 708 is electrically connected to the memory management circuit 702 and used for performing error checking and correction procedures to ensure the correctness of data. Specifically, when the memory management circuit 702 receives a write command from the host system 1000, the error correction circuit 708 will generate a corresponding Error Checking and Correcting Code (ECC) for the data corresponding to the write command. Code), and the memory management circuit 702 writes the data corresponding to the write command and the corresponding ECC code into the rewritable non-volatile memory module 106 . Afterwards, when the memory management circuit 702 reads data from the rewritable non-volatile memory module 106, it will simultaneously read the error checking and correction code corresponding to the data, and the error correction circuit 708 will check and correct the code according to the error checking and correction code. The code performs error checking and correction procedures on the read data.

读取电压更新电路710是电性连接至存储器管理电路702并且用以调整存储器管理电路702从可重写式非易失性存储器模块106时所采用的阈值电压组。调整阈值电压组的方法将配合附图详细描述如后。The read voltage update circuit 710 is electrically connected to the memory management circuit 702 and used for adjusting the threshold voltage set used by the memory management circuit 702 from the rewritable non-volatile memory module 106 . The method for adjusting the threshold voltage group will be described in detail below with reference to the accompanying drawings.

在本发明一范例实施例中,存储器控制器104还包括缓冲存储器752。缓冲存储器752是电性连接至存储器管理电路702并且用以暂存来自于主机系统1000的数据与指令或来自于可重写式非易失性存储器模块106的数据。In an exemplary embodiment of the invention, the memory controller 104 further includes a buffer memory 752 . The buffer memory 752 is electrically connected to the memory management circuit 702 and used for temporarily storing data and instructions from the host system 1000 or data from the rewritable non-volatile memory module 106 .

在本发明一范例实施例中,存储器控制器104还包括电源管理电路754。电源管理电路754是电性连接至存储器管理电路702并且用以控制存储器储存装置100的电源。In an exemplary embodiment of the invention, the memory controller 104 further includes a power management circuit 754 . The power management circuit 754 is electrically connected to the memory management circuit 702 and used for controlling the power of the memory storage device 100 .

图8是根据本发明范例实施例所绘示的管理可重写式非易失性存储器模块的示意图。FIG. 8 is a schematic diagram of managing a rewritable non-volatile memory module according to an exemplary embodiment of the present invention.

请参照图8,存储器管理电路702会将可重写式非易失性存储器模块106的实体页面分组成实体页面群400(0)~400(N)。在本范例实施例中,存储器管理电路702是将属于同一个实体区块的实体页面分组成一个实体页面群。也就是说,在本范例实施中,一个实体页面群内的实体页面正好为一个实体区块的实体页面。然而,本发明不限于此,在本发明另一范例实施例中,存储器管理电路702亦可将属于同一个区块面(plane)的实体页面分组成一个实体页面群或者将每一个实体页面视为单一实体页面群。Referring to FIG. 8 , the memory management circuit 702 groups the physical pages of the rewritable non-volatile memory module 106 into physical page groups 400 ( 0 )˜400 (N). In this exemplary embodiment, the memory management circuit 702 groups the physical pages belonging to the same physical block into a physical page group. That is to say, in this exemplary implementation, the physical pages in a physical page group are exactly the physical pages of a physical block. However, the present invention is not limited thereto. In another exemplary embodiment of the present invention, the memory management circuit 702 may also group physical pages belonging to the same plane into a physical page group or treat each physical page as For a single entity page group.

在本范例实施例中,存储器管理电路702会为每一实体页面群配置独立的阈值电压组。例如,以可复写式非易失性存储器模块106为4阶存储单元NAND型存储器模块的例子中,每一阈值电压组包括第一阈值电压VA、第二阈值电压VB与第三阈值电压VC。并且,存储器管理电路702会采用对应的阈值电压组来读取储存于对应的实体页面群的实体页面中的数据。In this exemplary embodiment, the memory management circuit 702 configures an independent threshold voltage set for each physical page group. For example, in an example where the rewritable non-volatile memory module 106 is a 4-level memory unit NAND memory module, each threshold voltage group includes a first threshold voltage VA, a second threshold voltage VB, and a third threshold voltage VC. Moreover, the memory management circuit 702 uses the corresponding threshold voltage set to read the data stored in the physical page of the corresponding physical page group.

例如,存储器管理电路702会建立读取电压表以记录对应每一实体页面群的阈值电压组。并且,每当欲从实体页面中读取数据时,存储器管理电路702会从读取电压表中识别对应的阈值电压组并且采用所识别的阈值电压组来读取数据。For example, the memory management circuit 702 establishes a read voltage table to record a threshold voltage set corresponding to each physical page group. Moreover, whenever data is to be read from the physical page, the memory management circuit 702 will identify the corresponding threshold voltage group from the read voltage table and use the identified threshold voltage group to read data.

也就是说,当欲从属于实体页面群400(0)的实体页面中读取数据时,存储器管理电路702会采用对应实体页面群400(0)的第一阈值电压VA、第二阈值电压VB与第三阈值电压VC来读取数据,而当欲从属于实体页面群400(N)的实体页面中读取数据时,存储器管理电路702会采用对应实体页面群400(N)的第一阈值电压VA、第二阈值电压VB与第三阈值电压VC来读取数据。That is to say, when data is to be read from a physical page belonging to the physical page group 400(0), the memory management circuit 702 uses the first threshold voltage VA and the second threshold voltage VB corresponding to the physical page group 400(0). and the third threshold voltage VC to read data, and when data is to be read from a physical page belonging to the physical page group 400(N), the memory management circuit 702 will use the first threshold corresponding to the physical page group 400(N) The voltage VA, the second threshold voltage VB and the third threshold voltage VC are used to read data.

特别是,在本范例实施例中,当错误校正电路708无法校正存储器管理电路702从一实体页面中所读取的数据时,存储器管理电路702会从同一个实体页面群的其他实体页面中读取可被错误校正电路708校正的数据,并且读取电压更新电路710会依据可被校正的数据来获取错误位信息以调整对应的阈值电压组。Especially, in this exemplary embodiment, when the error correction circuit 708 cannot correct the data read by the memory management circuit 702 from a physical page, the memory management circuit 702 will read data from other physical pages of the same physical page group. The data that can be corrected by the error correction circuit 708 is fetched, and the read voltage update circuit 710 obtains error bit information according to the correctable data to adjust the corresponding threshold voltage group.

图9是根据本发明范例实施例所绘示读取数据的范例。FIG. 9 is an example of read data according to an exemplary embodiment of the present invention.

请参照图9,倘若存储器管理电路702欲从属于第一实体页面群(例如,实体页面群400(0))的第一实体页面(例如,实体页面400(0)-3)读取数据时,如图9中的符号(1)所示的步骤,存储器管理电路702会采用对应实体页面群400(0)的阈值电压组来从第一实体页面中读取未校正数据(亦称为第一数据)。例如,倘若第一实体页面为下页面时,存储器管理电路702会采用对应实体页面群400(0)的第二阈值电压VB来识别此实体页面中每一位的值。例如,倘若第一实体页面为上页面时,存储器管理电路702会采用对应实体页面群400(0)的第一阈值电压VA与第三阈值电压VC来识别此实体页面中每一位的值。Referring to FIG. 9, if the memory management circuit 702 wants to read data from the first physical page (eg, physical page 400(0)-3) belonging to the first physical page group (eg, physical page group 400(0)) , the step shown by symbol (1) in FIG. 9 , the memory management circuit 702 will use the threshold voltage group corresponding to the physical page group 400 (0) to read uncorrected data from the first physical page (also called the second physical page a data). For example, if the first physical page is the lower page, the memory management circuit 702 will use the second threshold voltage VB corresponding to the physical page group 400(0) to identify the value of each bit in the physical page. For example, if the first physical page is the upper page, the memory management circuit 702 uses the first threshold voltage VA and the third threshold voltage VC corresponding to the physical page group 400(0) to identify the value of each bit in the physical page.

在完成数据的读取后,错误校正电路708会依据对应所读取的未校正数据的错误检查与校正码来进行错误校正程序,并且存储器管理电路702会判断所读取的未校正数据是否可被校正而产生已校正数据。倘若所读取的未校正数据无法被校正时,存储器管理电路702会从以第一实体页面为中心扩散,从邻近的其他实体页面中读取数据,直到所读取的数据能够被错误校正电路708校正为止。After reading the data, the error correction circuit 708 will perform an error correction procedure according to the error checking and correction code corresponding to the read uncorrected data, and the memory management circuit 702 will judge whether the read uncorrected data is valid is corrected to produce corrected data. If the read uncorrected data cannot be corrected, the memory management circuit 702 will spread from the first physical page to read data from other adjacent physical pages until the read data can be corrected by the error correction circuit 708 until correction.

例如,如图9中符号(2)所示的步骤,存储器管理电路702先从实体页面400(0)-4中读取未校正数据。倘若从实体页面400(0)-4中读取的未校正数据仍无法被校正时,如图9中符号(3)所示的步骤,存储器管理电路702会再从实体页面400(0)-2中读取未校正数据。倘若从实体页面400(0)-2中所读取的未校正数据仍无法被校正时,如图9中符号(3)所示的步骤,存储器管理电路702会再从实体页面400(0)-5中读取未校正数据,以此类推。最后,倘若从第二实体页面(例如,实体页面400(0)-5)中所读取的未校正数据(亦称为第二数据)可被校正而产生对应第二实体页面的已校正数据时,存储器管理电路702会将对应第二实体页面的未校正数据与已校正数据传送给读取电压更新电路710。For example, in the step indicated by symbol (2) in FIG. 9 , the memory management circuit 702 first reads uncorrected data from the physical page 400(0)-4. If the uncorrected data read from the physical page 400(0)-4 still cannot be corrected, the memory management circuit 702 will read from the physical page 400(0)- 2 to read uncorrected data. If the uncorrected data read from the physical page 400(0)-2 still cannot be corrected, the memory management circuit 702 will read from the physical page 400(0) Read uncorrected data in -5, and so on. Finally, if the uncorrected data (also referred to as second data) read from the second physical page (eg, physical page 400(0)-5) can be corrected to generate corrected data corresponding to the second physical page , the memory management circuit 702 transmits the uncorrected data and the corrected data corresponding to the second physical page to the read voltage update circuit 710 .

之后,读取电压更新电路710会依据对应第二实体页面的未校正数据与已校正数据来产生补偿电压并且将对应第二实体页面的阈值电压更新成已调整阈值电压。Afterwards, the read voltage update circuit 710 generates a compensation voltage according to the uncorrected data and the corrected data corresponding to the second physical page and updates the threshold voltage corresponding to the second physical page to the adjusted threshold voltage.

具体来说,读取电压更新电路710会依序地比对对应第二实体页面的未校正数据与已校正数据的每一位并且识别其中的错误位。在此所谓错误位是指一个应为某一状态的位并误判为属于另一状态。并且,读取电压更新电路710会统计这些错误位的错误位类型作为错误位信息并且依据错误位信息来产生补偿电压以调整阈值电压。Specifically, the read voltage update circuit 710 sequentially compares each bit of the uncorrected data corresponding to the second physical page with the corrected data and identifies error bits therein. The so-called wrong bit here refers to a bit that should be in a certain state and is misjudged to belong to another state. Moreover, the read voltage update circuit 710 will count the error bit types of these error bits as error bit information and generate a compensation voltage according to the error bit information to adjust the threshold voltage.

图10是根据本发明范例实施例所绘示的统计错误位的错误类型的示意图。FIG. 10 is a schematic diagram illustrating error types of statistical error bits according to an exemplary embodiment of the present invention.

请参照图10,以4阶存储单元NAND型快闪存储器为例,第一位信息读取电压VA是用以区别储存状态″11″与储存状态″10″,第二阈值电压VB是用以区别储存状态″10″与储存状态″00″并且第三阈值电压VC是用以区别储存状态″00″与储存状态″01″。在此,阈值电压左边的状态称为第一储存状态,而阈值电压右边的状态称为第二储存状态。Please refer to FIG. 10 , taking the 4-level memory cell NAND flash memory as an example, the first bit information reading voltage VA is used to distinguish the storage state "11" from the storage state "10", and the second threshold voltage VB is used for The storage state "10" is distinguished from the storage state "00" and the third threshold voltage VC is used to distinguish the storage state "00" from the storage state "01". Here, the state to the left of the threshold voltage is referred to as the first storage state, and the state to the right of the threshold voltage is referred to as the second storage state.

特别是,读取电压更新电路710会为每一阈值电压,统计应为第一储存状态而被误判为第二储存状态的存储单元位(即,第一错误位类型)的数目,并且统计应为第二储存状态而被误判为第一储存状态的存储单元(即,第二错误位类型)的数目。In particular, the read voltage update circuit 710 will count the number of memory cell bits (ie, the first error bit type) that should be in the first storage state but are misjudged as the second storage state for each threshold voltage, and count The number of memory cells that should be in the second storage state but are misjudged as the first storage state (ie, the second error bit type).

如图10所示,区块1002表示应为储存状态″10″而被误判为储存状态″11″的存储单元,区块1004表示应为储存状态″11″而被误判为储存状态″10″的存储单元。特别是,读取电压更新电路710会根据所识别的错误位之中对应区块1002的错误位的数目以及对应区块1004的错误位的数目来产生对应第一阈值电压VA的补偿电压。并且,读取电压更新电路710会将第一阈值电压加上所计算的补偿电压而成为新的第一阈值电压VA(即,已调整阈值电压)。As shown in Figure 10, block 1002 represents the storage unit that should be in the storage state "10" but is misjudged as the storage state "11", and block 1004 represents that it should be in the storage state "11" but is misjudged as the storage state " 10" storage unit. In particular, the read voltage updating circuit 710 generates a compensation voltage corresponding to the first threshold voltage VA according to the number of error bits corresponding to the block 1002 and the number of error bits corresponding to the block 1004 among the identified error bits. Moreover, the read voltage update circuit 710 adds the calculated compensation voltage to the first threshold voltage to form a new first threshold voltage VA (ie, the adjusted threshold voltage).

例如,读取电压更新电路710是使用以下算式(3)来计算补偿电压:For example, the read voltage update circuit 710 uses the following formula (3) to calculate the compensation voltage:

xx == gg ×× loglog 22 (( errorerror 22 errorerror 11 )) -- -- -- (( 33 ))

其中x代表补偿电压,g代表常数,error2代表应为第二储存状态而被误判为第一储存状态的存储单元的数目,error1代表应为第一储存状态而被误判为第二储存状态的存储单元位的数目。Where x represents the compensation voltage, g represents a constant, error2 represents the number of memory cells that should be in the second storage state but are misjudged as the first storage state, and error1 represents the number of memory cells that should be in the first storage state but are misjudged as the second storage state The number of memory cell bits.

类似地,读取电压更新电路710会根据所识别的错误位之中对应区块1006的错误位的数目以及对应区块1008的错误位的数目来产生对应第二阈值电压的补偿电压VB。并且,读取电压更新电路710会将第二阈值电压VB加上所计算的补偿电压而成为新的第二阈值电压VB。Similarly, the read voltage update circuit 710 generates a compensation voltage VB corresponding to the second threshold voltage according to the number of error bits corresponding to the block 1006 and the number of error bits corresponding to the block 1008 among the identified error bits. Moreover, the reading voltage update circuit 710 adds the calculated compensation voltage to the second threshold voltage VB to form a new second threshold voltage VB.

同样的,读取电压更新电路710会根据所识别的错误位之中对应区块1010的错误位的数目以及对应区块1012的错误位的数目来产生对应第三阈值电压的补偿电压VC。并且,读取电压更新电路710会将第三阈值电压VC加上所计算的补偿电压而成为新的第三阈值电压VC。Similarly, the read voltage update circuit 710 generates a compensation voltage VC corresponding to the third threshold voltage according to the number of error bits corresponding to the block 1010 and the number of error bits corresponding to the block 1012 among the identified error bits. Moreover, the reading voltage updating circuit 710 adds the calculated compensation voltage to the third threshold voltage VC to form a new third threshold voltage VC.

然后,存储器管理电路702会采用更新后的阈值电压(即,已调整阈值电压)再次从第一实体页面中读取数据(如图9所示的(5))并且错误校正电路708会校正此数据而获取对应第一实体页面的已校正数据。Then, the memory management circuit 702 will use the updated threshold voltage (that is, the adjusted threshold voltage) to read data from the first physical page again (as shown in (5) in FIG. 9 ) and the error correction circuit 708 will correct this data to obtain corrected data corresponding to the first physical page.

具体来说,由于邻近的实体页面具有类似的物理特性,因此当某一实体页面所读取的数据无法被校正时,藉由分析其邻近实体页面的错误位信息,来调整阈值电压,将可更正确地读取数据。Specifically, since the adjacent physical pages have similar physical characteristics, when the data read by a certain physical page cannot be corrected, by analyzing the error bit information of its adjacent physical pages to adjust the threshold voltage, it will be possible Read data more correctly.

图11是根据本发明范例实施例所绘示的数据读取方法的流程图。FIG. 11 is a flowchart of a data reading method according to an exemplary embodiment of the present invention.

请参照图11,在步骤S1101中,存储器管理电路702会根据读取电压表中对应的阈值电压组来从一个目标实体页面中读取未校正数据。并且在步骤S1103中,存储器管理电路702会判断此未校正数据是否可由错误校正电路708来校正而产生对应此实体页面的已校正数据。Referring to FIG. 11 , in step S1101 , the memory management circuit 702 reads uncorrected data from a target physical page according to the corresponding threshold voltage group in the read voltage table. And in step S1103 , the memory management circuit 702 determines whether the uncorrected data can be corrected by the error correction circuit 708 to generate corrected data corresponding to the physical page.

倘若未校正数据可被校正时,在步骤S1105中,存储器管理电路702会输出已校正数据。If the uncorrected data can be corrected, in step S1105, the memory management circuit 702 outputs the corrected data.

倘若未校正数据无法被校正时,在步骤S1107中,存储器管理电路702会于邻近的实体页面中读取未校正数据。如何选择邻近的实体页面来读取数据,已描述如上,在此不再重复描述。If the uncorrected data cannot be corrected, in step S1107, the memory management circuit 702 reads the uncorrected data from adjacent physical pages. How to select adjacent physical pages to read data has been described above, and will not be repeated here.

之后,在步骤S1109中会判断所读取的未校正数据是否可被错误校正电路708校正。倘若所读取的未校正数据无法被校正时,步骤S1107会再次被执行。Afterwards, in step S1109 , it is determined whether the read uncorrected data can be corrected by the error correction circuit 708 . If the read uncorrected data cannot be corrected, step S1107 will be executed again.

倘若所读取的未校正数据可被校正时,在步骤S1111中,读取电压更新电路710会比对此对应的未校正数据与已校正数据,并且获取错误位信息。If the read uncorrected data can be corrected, in step S1111 , the read voltage update circuit 710 compares the corresponding uncorrected data with the corrected data, and obtains error bit information.

之后,在步骤S1113中,读取电压更新电路710会依据所产生的错误位信息计算补偿电压,并且依据所计算的补偿电压来调整数据位读取电压。Afterwards, in step S1113 , the reading voltage update circuit 710 calculates a compensation voltage according to the generated error bit information, and adjusts the data bit reading voltage according to the calculated compensation voltage.

然后,在步骤S1115中,存储器管理电路7002会依据已调整数据位读取电压更新读取电压表中对应的数据位读取电压组。Then, in step S1115 , the memory management circuit 7002 updates the corresponding data bit read voltage group in the read voltage table according to the adjusted data bit read voltage.

接着,步骤S1101会被执行,以尝试再次从目标实体页面中读取数据。Next, step S1101 will be executed to try to read data from the target entity page again.

例如,在本发明一范例实施例中,存储器管理电路7002会依据不断调整的数据位读取电压组尝试重新读取目标实体页面中的数据,并且在读取一预定次数后能无法获取对应此目标实体页面的已校正数据时,输出错误讯息。For example, in an exemplary embodiment of the present invention, the memory management circuit 7002 will try to re-read the data in the target physical page according to the continuously adjusted data bit read voltage group, and may not be able to obtain the data corresponding to this page after reading a predetermined number of times. An error message is output when the corrected data of the target entity page is used.

综上所述,本发明范例实施例的数据读取方法及使用此方法的存储器储存装置与存储器控制器能够依据更适当的数据位读取电压来更正确地读取数据。此外,当错误校正电路无法将未校正数据成功地校正时,藉由依据从其邻近实体页面所获取的错误位信息来调整数据位读取电压,将能够获取对应的已校正数据,由此提升数据储存的稳定度。To sum up, the data reading method of the exemplary embodiments of the present invention and the memory storage device and memory controller using the method can read data more accurately according to a more appropriate data bit reading voltage. In addition, when the error correction circuit cannot successfully correct the uncorrected data, by adjusting the data bit reading voltage according to the error bit information obtained from its adjacent physical pages, the corresponding corrected data can be obtained, thereby improving Stability of data storage.

虽然本发明已以实施例揭示如上,然其并非用以限定本发明,本领域的技术人员,在不脱离本发明的精神和范围的前提下,可作若干的更动与润饰,故本发明的保护范围是以本发明的权利要求为准。Although the present invention has been disclosed above with the embodiments, it is not intended to limit the present invention. Those skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the present invention The scope of protection is based on the claims of the present invention.

Claims (30)

1.一种数据读取方法,用于一可重写式非易失性存储器模块,其中该可重写式非易失性存储器模块具有多个实体页面,该数据读取方法包括:1. A data reading method for a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages, the data reading method comprising: 将这些实体页面分组为多个实体页面群;Group these entity pages into multiple entity page clusters; 为每一这些实体页面群设定一阈值电压组,其中每一这些阈值电压组包括多个阈值电压;setting a threshold voltage set for each of the physical page groups, wherein each of the threshold voltage sets includes a plurality of threshold voltages; 分别地使用对应的这些阈值电压组从这些实体页面群的这些实体页面中读取数据;以及reading data from the physical pages of the groups of physical pages using the corresponding sets of threshold voltages, respectively; and 当从这些实体页面群之中的其中一个实体页面群的其中一个实体页面中读取的数据无法藉由一错误校正电路来校正时,依据该同一个实体页面群的其它实体页面中的可校正的数据,来更新对应该其中一个实体页面群的该阈值电压组。When the data read from one of the physical pages of one of the physical page groups cannot be corrected by an error correction circuit, according to the correctable data in other physical pages of the same physical page group data to update the threshold voltage group corresponding to one of the physical page groups. 2.如权利要求1所述的数据读取方法,还包括:2. The data reading method as claimed in claim 1, further comprising: 建立一读取电压表,以记录这些实体页面群所对应的这些阈值电压组。A reading voltage table is established to record the threshold voltage groups corresponding to the physical page groups. 3.如权利要求1所述的数据读取方法,其中更新对应该其中一个实体页面群的该阈值电压组的步骤包括:3. The data reading method according to claim 1, wherein the step of updating the threshold voltage group corresponding to one of the physical page groups comprises: 使用对应该其中一个实体页面群的该阈值电压组从该其中一个实体页面群的另一实体页面中获取对应该另一实体页面的一未校正数据,其中该另一实体页面邻近该其中一个实体页面,并且对应该另一实体页面的该未校正数据可藉由该错误校正电路来校正而产生对应该另一实体页面的一已校正数据;Retrieving an uncorrected data corresponding to the other physical page from another physical page of the one of the physical page groups using the threshold voltage set corresponding to the one of the physical page groups, wherein the other physical page is adjacent to the one of the physical pages page, and the uncorrected data corresponding to the other physical page can be corrected by the error correction circuit to generate a corrected data corresponding to the another physical page; 藉由比对对应该另一实体页面的该未校正数据与该已校正数据来获得一错误位信息;Obtaining error bit information by comparing the uncorrected data corresponding to the other physical page with the corrected data; 依据该错误位信息来计算至少一补偿电压;以及calculating at least one compensation voltage according to the error bit information; and 藉由该至少一补偿电压来调整对应该其中一个实体页面群的该阈值电压组中的至少一阈值电压。At least one threshold voltage in the threshold voltage group corresponding to one of the physical page groups is adjusted by the at least one compensation voltage. 4.一种数据读取方法,用于一可重写式非易失性存储器模块,其中该可重写式非易失性存储器模块具有依序排列的多个实体页面,该数据读取方法包括:4. A data reading method for a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages arranged in sequence, the data reading method include: 使用至少一阈值电压从这些实体页面之中的一第一实体页面中获取一第一数据;obtaining a first data from a first physical page among the physical pages using at least a threshold voltage; 判断该第一数据是否可藉由一错误校正电路来校正而产生对应该第一实体页面的一第一已校正数据;judging whether the first data can be corrected by an error correction circuit to generate a first corrected data corresponding to the first physical page; 倘若该第一数据无法藉由该错误校正电路来校正而产生对应该第一实体页面的该已校正数据时,从这些实体页面之中的一第二实体页面中获取一第二数据,其中该第二实体页面邻近该第一实体页面,并且该第二数据可藉由该错误校正电路来校正而产生对应该第二实体页面的一第二已校正数据;If the first data cannot be corrected by the error correction circuit to generate the corrected data corresponding to the first physical page, obtaining a second data from a second physical page among the physical pages, wherein the The second physical page is adjacent to the first physical page, and the second data can be corrected by the error correction circuit to generate a second corrected data corresponding to the second physical page; 藉由比对该第二数据与对应该第二实体页面的该第二已校正数据来获得一错误位信息;Obtaining error bit information by comparing the second data with the second corrected data corresponding to the second physical page; 依据该错误位信息来计算至少一补偿电压;calculating at least one compensation voltage according to the error bit information; 藉由该至少一补偿电压来将该至少一阈值电压调整成至少一已调整阈值电压;以及adjusting the at least one threshold voltage to at least one adjusted threshold voltage by the at least one compensation voltage; and 使用该至少一已调整阈值电压从该第一实体页面获取一另一第一数据并且藉由该错误校正电路来校正该另一第一数据以产生对应该第一实体页面的该第一已校正数据。Obtaining a further first data from the first physical page using the at least one adjusted threshold voltage and correcting the further first data by the error correction circuit to generate the first corrected corresponding to the first physical page data. 5.如权利要求4所述的数据读取方法,其中该第二数据具有多个位,并且每一这些位对应该可重写式非易失性存储器模块的多个储存状态的其中之一,5. The data reading method as claimed in claim 4, wherein the second data has a plurality of bits, and each of these bits corresponds to one of a plurality of storage states of the rewritable non-volatile memory module , 其中这些储存状态包括一第一储存状态与一第二储存状态并且该至少一阈值电压之中的一第一阈值电压用以区分该第一储存状态与该二储存状态,Wherein the storage states include a first storage state and a second storage state and a first threshold voltage among the at least one threshold voltage is used to distinguish the first storage state from the two storage states, 其中藉由比对该第二数据与对应该第二实体页面的该第二已校正数据来获得该错误位信息的步骤包括:The step of obtaining the error bit information by comparing the second data with the second corrected data corresponding to the second physical page includes: 找出该第二数据的这些位之中与该第二已校正数据的对应位不相同的多个错误位;finding a plurality of error bits among the bits of the second data that are different from corresponding bits of the second corrected data; 统计这些错误位之中属于一第一错误位型态的错误位的数目,其中属于该第一错误位型态的错误位是应对应该第一储存状态但被误认为对应该第二储存状态的位;Counting the number of error bits belonging to a first error bit type among the error bits, wherein the error bits belonging to the first error bit type correspond to the first storage state but are mistakenly considered to correspond to the second storage state bit; 统计这些错误位之中属于一第二错误位型态的错误位的数目,其中属于该第二错误位型态的错误位是应对应该第二储存状态但被误认为对应该第一储存状态的位;以及Counting the number of error bits belonging to a second error bit type among the error bits, wherein the error bits belonging to the second error bit type correspond to the second storage state but are mistakenly considered to correspond to the first storage state bits; and 将属于该第一错误位型态的错误位的数目与属于该第二错误位型态的错误位的数目作为该错误位信息。The number of error bits belonging to the first error bit type and the number of error bits belonging to the second error bit type are used as the error bit information. 6.如权利要求5所述的数据读取方法,其中依据该错误位信息计算该至少一补偿电压的步骤包括:6. The data reading method according to claim 5, wherein the step of calculating the at least one compensation voltage according to the error bit information comprises: 依据属于该第一错误位型态的错误位的数目与属于该第二错误位型态的错误位的数目来计算该至少一补偿电压之中的一第一补偿电压。A first compensation voltage among the at least one compensation voltage is calculated according to the number of error bits belonging to the first error bit type and the number of error bits belonging to the second error bit type. 7.如权利要求6所述的数据读取方法,其中藉由该至少一补偿电压来将该至少一阈值电压调整成该至少一已调整阈值电压的步骤包括:7. The data reading method according to claim 6, wherein the step of adjusting the at least one threshold voltage to the at least one adjusted threshold voltage by the at least one compensation voltage comprises: 使用该第一补偿电压将该第一阈值电压调整成该至少一已调整阈值电压之中的一第一已调整阈值电压。The first threshold voltage is adjusted to a first adjusted threshold voltage of the at least one adjusted threshold voltage using the first compensation voltage. 8.如权利要求4所述的数据读取方法,还包括:8. The data reading method as claimed in claim 4, further comprising: 建立一读取电压表,以记录该至少一已调整阈值电压。A reading voltage table is established to record the at least one adjusted threshold voltage. 9.如权利要求8所述的数据读取方法,还包括:9. The data reading method as claimed in claim 8, further comprising: 将这些实体页面分组为多个实体页面群,Group these entity pages into entity page clusters, 其中该第一实体页面与该第二实体页面属于这些实体页面群之中的一第一实体页面群,并且该至少一已调整阈值电压是对应该第一实体页面群。Wherein the first physical page and the second physical page belong to a first physical page group among the physical page groups, and the at least one adjusted threshold voltage corresponds to the first physical page group. 10.如权利要求9所述的数据读取方法,还包括:10. The data reading method as claimed in claim 9, further comprising: 依据该读取电压表使用该至少一已调整阈值电压读取属于该第一实体页面群的其他实体页面。Other physical pages belonging to the first physical page group are read using the at least one adjusted threshold voltage according to the read voltage table. 11.一种存储器控制器,用于控制一可重写式非易失性存储器模块,其中该可重写式非易失性存储器模块具有多个实体页面,该存储器控制器包括:11. A memory controller for controlling a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages, the memory controller comprising: 一存储器管理电路,用以将这些实体页面分组为多个实体页面群,为每一这些实体页面群设定一阈值电压组并且分别地使用对应的这些阈值电压组从这些实体页面群的这些实体页面中读取数据,其中每一这些阈值电压组包括多个阈值电压;a memory management circuit for grouping the physical pages into a plurality of physical page groups, setting a threshold voltage group for each of the physical page groups and using the corresponding reading data in a page, wherein each of the threshold voltage groups includes a plurality of threshold voltages; 一主机接口,电性连接该存储器管理电路;a host interface electrically connected to the memory management circuit; 一存储器接口,电性连接该存储器管理电路,并且用以电性连接至该可重写式非易失性存储器模块;a memory interface electrically connected to the memory management circuit and used to electrically connect to the rewritable non-volatile memory module; 一错误校正电路,电性连接该存储器管理电路;以及an error correction circuit electrically connected to the memory management circuit; and 一读取电压更新电路,电性连接至该存储器管理电路,a read voltage update circuit electrically connected to the memory management circuit, 其中当该存储器管理电路从这些实体页面群之中的其中一个实体页面群的其中一个实体页面中读取的数据无法藉由该错误校正电路来校正时,该读取电压更新电路会依据该同一个实体页面群的其它实体页面中的可校正的数据,来更新对应该其中一个实体页面群的该阈值电压组。Wherein when the data read by the memory management circuit from one of the physical pages of one of the physical page groups cannot be corrected by the error correction circuit, the read voltage update circuit will be based on the same The correctable data in other physical pages of a physical page group is used to update the threshold voltage set corresponding to one of the physical page groups. 12.如权利要求11所述的存储器控制器,其中该存储器管理电路还用以建立一读取电压表,以记录这些实体页面群所对应的这些阈值电压组。12. The memory controller as claimed in claim 11, wherein the memory management circuit is further used to establish a read voltage table to record the threshold voltage groups corresponding to the physical page groups. 13.如权利要求11所述的存储器控制器,其中该存储器管理电路使用对应该其中一个实体页面群的该阈值电压组从该其中一个实体页面群的另一实体页面中获取对应该另一实体页面的一未校正数据,其中该另一实体页面邻近该其中一个实体页面,13. The memory controller of claim 11 , wherein the memory management circuit uses the threshold voltage set corresponding to one of the physical page groups to obtain the corresponding physical page from another physical page of the one physical page group. an uncorrected data page, wherein the other physical page is adjacent to the one physical page, 其中该错误校正电路校正对应该另一实体页面的该未校正数据来校正来产生对应该另一实体页面的一已校正数据,wherein the error correction circuit corrects the uncorrected data corresponding to the other physical page to generate a corrected data corresponding to the another physical page, 其中该读取电压更新电路比对对应该另一实体页面的该未校正数据与该已校正数据来获得一错误位信息,Wherein the read voltage update circuit compares the uncorrected data and the corrected data corresponding to the other physical page to obtain error bit information, 其中该读取电压更新电路依据该错误位信息来计算至少一补偿电压,Wherein the reading voltage update circuit calculates at least one compensation voltage according to the error bit information, 其中该读取电压更新电路使用该至少一补偿电压来调整对应该其中一个实体页面群的该阈值电压组中的至少一阈值电压。Wherein the read voltage update circuit uses the at least one compensation voltage to adjust at least one threshold voltage in the threshold voltage group corresponding to one of the physical page groups. 14.一种存储器控制器,用于控制一可重写式非易失性存储器模块,其中该可重写式非易失性存储器模块具有依序排列的多个实体页面,该存储器控制器包括:14. A memory controller for controlling a rewritable nonvolatile memory module, wherein the rewritable nonvolatile memory module has a plurality of physical pages arranged in sequence, the memory controller comprising : 一存储器管理电路;a memory management circuit; 一主机接口,电性连接该存储器管理电路;a host interface electrically connected to the memory management circuit; 一存储器接口,电性连接该存储器管理电路,并且用以电性连接至该可重写式非易失性存储器模块;a memory interface electrically connected to the memory management circuit and used to electrically connect to the rewritable non-volatile memory module; 一错误校正电路,电性连接该存储器管理电路;以及an error correction circuit electrically connected to the memory management circuit; and 一读取电压更新电路,电性连接至该存储器管理电路,a read voltage update circuit electrically connected to the memory management circuit, 其中该存储器管理电路用以使用至少一阈值电压从这些实体页面之中的一第一实体页面中获取一第一数据,并且判断该错误校正电路是否可校正该第一数据来产生对应该第一实体页面的一第一已校正数据,Wherein the memory management circuit is used to obtain a first data from a first physical page among the physical pages using at least a threshold voltage, and judge whether the error correction circuit can correct the first data to generate corresponding to the first a first corrected data of the entity page, 其中倘若该错误校正电路无法校正该第一数据来产生对应该第一实体页面的该已校正数据时,该存储器管理电路还用以从这些实体页面之中的一第二实体页面中获取一第二数据,其中该第二实体页面邻近该第一实体页面,并且该第二数据可藉由该错误校正电路来校正而产生对应该第二实体页面的一第二已校正数据,Wherein if the error correction circuit cannot correct the first data to generate the corrected data corresponding to the first physical page, the memory management circuit is also used to obtain a first physical page from a second physical page among the physical pages two data, wherein the second physical page is adjacent to the first physical page, and the second data can be corrected by the error correction circuit to generate a second corrected data corresponding to the second physical page, 其中该读取电压更新电路用以比对该第二数据与对应该第二实体页面的该第二已校正数据来获得一错误位信息,并且依据该错误位信息来计算至少一补偿电压,Wherein the read voltage update circuit is used to compare the second data with the second corrected data corresponding to the second physical page to obtain error bit information, and calculate at least one compensation voltage according to the error bit information, 其中该读取电压更新电路还用以根据该至少一补偿电压来将该至少一阈值电压调整成至少一已调整阈值电压,Wherein the read voltage update circuit is further used to adjust the at least one threshold voltage to at least one adjusted threshold voltage according to the at least one compensation voltage, 其中该存储器管理电路还用以使用该至少一已调整阈值电压从该第一实体页面获取一另一第一数据并且该错误校正电路校正该另一第一数据以产生对应该第一实体页面的该第一已校正数据。Wherein the memory management circuit is further configured to use the at least one adjusted threshold voltage to obtain another first data from the first physical page and the error correction circuit corrects the other first data to generate a corresponding to the first physical page The first corrected data. 15.如权利要求14所述的存储器控制器,其中该第二数据具有多个位,并且每一这些位对应该可重写式非易失性存储器模块的多个储存状态的其中之一,15. The memory controller as claimed in claim 14, wherein the second data has a plurality of bits, and each of these bits corresponds to one of a plurality of storage states of the rewritable non-volatile memory module, 其中这些储存状态包括一第一储存状态与一第二储存状态并且该至少一阈值电压之中的一第一阈值电压用以区分该第一储存状态与该二储存状态,Wherein the storage states include a first storage state and a second storage state and a first threshold voltage among the at least one threshold voltage is used to distinguish the first storage state from the two storage states, 其中该读取电压更新电路用以找出该第二数据的这些位之中与该第二已校正数据的对应位不相同的多个错误位,统计这些错误位之中属于一第一错误位型态的错误位的数目,统计这些错误位之中属于一第二错误位型态的错误位的数目并且将属于该第一错误位型态的错误位的数目与属于该第二错误位型态的错误位的数目作为该错误位信息,Wherein the read voltage update circuit is used to find out a plurality of error bits among the bits of the second data that are different from the corresponding bits of the second corrected data, and count the error bits among the error bits belonging to a first error bit The number of error bits of the type, count the number of error bits belonging to a second error bit type among these error bits and compare the number of error bits belonging to the first error bit type with the number of error bits belonging to the second error bit type The number of error bits in the state is used as the error bit information, 其中属于该第一错误位型态的错误位是应对应该第一储存状态但被误认为对应该第二储存状态的位,Wherein the erroneous bit belonging to the first erroneous bit type is a bit corresponding to the first storage state but misidentified as corresponding to the second storage state, 其中属于该第二错误位型态的错误位是应对应该第二储存状态但被误认为对应该第一储存状态的位。The erroneous bits belonging to the second erroneous bit type are bits corresponding to the second storage state but misidentified as corresponding to the first storage state. 16.如权利要求15所述的存储器控制器,其中该读取电压更新电路依据属于该第一错误位型态的错误位的数目与属于该第二错误位型态的错误位的数目来计算该至少一补偿电压之中的一第一补偿电压。16. The memory controller as claimed in claim 15, wherein the read voltage updating circuit calculates according to the number of error bits belonging to the first error bit type and the number of error bits belonging to the second error bit type A first compensation voltage among the at least one compensation voltage. 17.如权利要求16所述的存储器控制器,其中该读取电压更新电路使用该第一补偿电压将该第一阈值电压调整成该至少一已调整阈值电压之中的一第一已调整阈值电压。17. The memory controller of claim 16, wherein the read voltage update circuit adjusts the first threshold voltage to a first adjusted threshold among the at least one adjusted threshold voltage using the first compensation voltage Voltage. 18.如权利要求14所述的存储器控制器,其中该存储器管理电路还用以建立一读取电压表,以记录该至少一已调整阈值电压。18. The memory controller of claim 14, wherein the memory management circuit is further configured to create a read voltage table to record the at least one adjusted threshold voltage. 19.如权利要求18所述的存储器控制器,其中该存储器管理电路还用以将这些实体页面分组为多个实体页面群,19. The memory controller according to claim 18, wherein the memory management circuit is further configured to group the physical pages into a plurality of physical page groups, 其中该第一实体页面与该第二实体页面属于这些实体页面群之中的一第一实体页面群,并且在该读取电压表中该至少一已调整阈值电压是对应该第一实体页面群。Wherein the first physical page and the second physical page belong to a first physical page group among the physical page groups, and the at least one adjusted threshold voltage in the read voltage table corresponds to the first physical page group . 20.如权利要求19所述的存储器控制器,其中该存储器管理电路依据该读取电压表使用该至少一已调整阈值电压读取属于该第一实体页面群的其他实体页面。20. The memory controller of claim 19, wherein the memory management circuit reads other physical pages belonging to the first physical page group using the at least one adjusted threshold voltage according to the read voltage table. 21.一种存储器储存装置,包括:21. A memory storage device comprising: 一连接器,用以电性连接至一主机系统;a connector for electrically connecting to a host system; 一可重写式非易失性存储器模块,具有多个实体页面;以及a rewritable non-volatile memory module having a plurality of physical pages; and 一存储器控制器,电性连接至该连接器与该可重写式非易失性存储器模块,其中该存储器控制器包括:A memory controller electrically connected to the connector and the rewritable non-volatile memory module, wherein the memory controller includes: 一存储器管理电路;a memory management circuit; 一主机接口,电性连接该存储器管理电路;a host interface electrically connected to the memory management circuit; 一存储器接口,电性连接该存储器管理电路,并且用以电性连接至该可重写式非易失性存储器模块;a memory interface electrically connected to the memory management circuit and used to electrically connect to the rewritable non-volatile memory module; 一错误校正电路,电性连接该存储器管理电路;以及an error correction circuit electrically connected to the memory management circuit; and 一读取电压更新电路,电性连接至该存储器管理电路,a reading voltage update circuit electrically connected to the memory management circuit, 其中该存储器管理电路用以将这些实体页面分组为多个实体页面群,为每一这些实体页面群设定一阈值电压组并且分别地使用对应的这些阈值电压组从这些实体页面群的这些实体页面中读取数据,其中每一这些阈值电压组包括多个阈值电压;Wherein the memory management circuit is used to group these physical pages into a plurality of physical page groups, set a threshold voltage group for each of these physical page groups, and use the corresponding threshold voltage groups to select from the entities of these physical page groups reading data in a page, wherein each of the threshold voltage groups includes a plurality of threshold voltages; 其中当该存储器管理电路从这些实体页面群之中的其中一个实体页面群的其中一个实体页面中读取的数据无法藉由该错误校正电路来校正时,该读取电压更新电路会依据该同一个实体页面群的其它实体页面中的可校正的数据,来更新对应该其中一个实体页面群的该阈值电压组。Wherein when the data read by the memory management circuit from one of the physical pages of one of the physical page groups cannot be corrected by the error correction circuit, the read voltage update circuit will be based on the same The correctable data in other physical pages of a physical page group is used to update the threshold voltage set corresponding to one of the physical page groups. 22.如权利要求21所述的存储器储存装置,其中该存储器管理电路还用以建立一读取电压表,以记录这些实体页面群所对应的这些阈值电压组。22. The memory storage device as claimed in claim 21, wherein the memory management circuit is further used to establish a reading voltage table to record the threshold voltage groups corresponding to the physical page groups. 23.如权利要求21所述的存储器储存装置,其中该存储器管理电路使用对应该其中一个实体页面群的该阈值电压组从该其中一个实体页面群的另一实体页面中获取对应该另一实体页面的一未校正数据,其中该另一实体页面邻近该其中一个实体页面,23. The memory storage device of claim 21 , wherein the memory management circuit uses the threshold voltage set corresponding to one of the physical page groups to obtain the corresponding physical page from another physical page of the one physical page group. an uncorrected data page, wherein the other physical page is adjacent to the one physical page, 其中该错误校正电路校正对应该另一实体页面的该未校正数据来校正来产生对应该另一实体页面的一已校正数据,wherein the error correction circuit corrects the uncorrected data corresponding to the other physical page to generate a corrected data corresponding to the another physical page, 其中该读取电压更新电路比对对应该另一实体页面的该未校正数据与该已校正数据来获得一错误位信息,依据该错误位信息来计算至少一补偿电压,并且使用该至少一补偿电压来调整对应该其中一个实体页面群的该阈值电压组中的至少一阈值电压。Wherein the read voltage update circuit compares the uncorrected data and the corrected data corresponding to the other physical page to obtain error bit information, calculates at least one compensation voltage according to the error bit information, and uses the at least one compensation voltage to adjust at least one threshold voltage in the threshold voltage group corresponding to one of the physical page groups. 24.一种存储器储存装置,包括:24. A memory storage device comprising: 一连接器,用以电性连接至一主机系统;a connector for electrically connecting to a host system; 一可重写式非易失性存储器模块,具有依序排列的多个实体页面;以及A rewritable non-volatile memory module has a plurality of physical pages arranged in sequence; and 一存储器控制器,电性连接至该连接器与该可重写式非易失性存储器模块,其中该存储器控制器包括:A memory controller electrically connected to the connector and the rewritable non-volatile memory module, wherein the memory controller includes: 一存储器管理电路;a memory management circuit; 一主机接口,电性连接该存储器管理电路;a host interface electrically connected to the memory management circuit; 一存储器接口,电性连接该存储器管理电路,并且用以电性连接至该可重写式非易失性存储器模块;a memory interface electrically connected to the memory management circuit and used to electrically connect to the rewritable non-volatile memory module; 一错误校正电路,电性连接该存储器管理电路;以及an error correction circuit electrically connected to the memory management circuit; and 一读取电压更新电路,电性连接至该存储器管理电路,a read voltage update circuit electrically connected to the memory management circuit, 其中该存储器管理电路用以使用至少一阈值电压从这些实体页面之中的一第一实体页面中获取一第一数据,并且判断该错误校正电路是否可校正该第一数据来产生对应该第一实体页面的一第一已校正数据,Wherein the memory management circuit is used to obtain a first data from a first physical page among the physical pages using at least a threshold voltage, and judge whether the error correction circuit can correct the first data to generate corresponding to the first a first corrected data of the entity page, 其中倘若该错误校正电路无法校正该第一数据来产生对应该第一实体页面的该已校正数据时,该存储器管理电路还用以从这些实体页面之中的一第二实体页面中获取一第二数据,其中该第二实体页面邻近该第一实体页面,并且该第二数据可藉由该错误校正电路来校正而产生对应该第二实体页面的一第二已校正数据,Wherein if the error correction circuit cannot correct the first data to generate the corrected data corresponding to the first physical page, the memory management circuit is also used to obtain a first physical page from a second physical page among the physical pages two data, wherein the second physical page is adjacent to the first physical page, and the second data can be corrected by the error correction circuit to generate a second corrected data corresponding to the second physical page, 其中该读取电压更新电路用以比对该第二数据与对应该第二实体页面的该第二已校正数据来获得一错误位信息,依据该错误位信息来计算至少一补偿电压,并且根据该至少一补偿电压来将该至少一阈值电压调整成至少一已调整阈值电压,Wherein the read voltage update circuit is used to compare the second data with the second corrected data corresponding to the second physical page to obtain error bit information, calculate at least one compensation voltage according to the error bit information, and according to the at least one compensation voltage to adjust the at least one threshold voltage to at least one adjusted threshold voltage, 其中该存储器管理电路还用以使用该至少一已调整阈值电压从该第一实体页面获取一另一第一数据并且该错误校正电路校正该另一第一数据以产生对应该第一实体页面的该第一已校正数据。Wherein the memory management circuit is further configured to use the at least one adjusted threshold voltage to obtain another first data from the first physical page and the error correction circuit corrects the other first data to generate a corresponding to the first physical page The first corrected data. 25.如权利要求24所述的存储器储存装置,其中该第二数据具有多个位,并且每一这些位对应该可重写式非易失性存储器模块的多个储存状态的其中之一,25. The memory storage device as claimed in claim 24, wherein the second data has a plurality of bits, and each of these bits corresponds to one of a plurality of storage states of the rewritable non-volatile memory module, 其中这些储存状态包括一第一储存状态与一第二储存状态并且该至少一阈值电压之中的一第一阈值电压用以区分该第一储存状态与该二储存状态,Wherein the storage states include a first storage state and a second storage state and a first threshold voltage among the at least one threshold voltage is used to distinguish the first storage state from the two storage states, 其中该读取电压更新电路用以找出该第二数据的这些位之中与该第二已校正数据的对应位不相同的多个错误位,统计这些错误位之中属于一第一错误位型态的错误位的数目,统计这些错误位之中属于一第二错误位型态的错误位的数目并且将属于该第一错误位型态的错误位的数目与属于该第二错误位型态的错误位的数目作为该错误位信息,Wherein the read voltage update circuit is used to find out a plurality of error bits among the bits of the second data that are different from the corresponding bits of the second corrected data, and count the error bits among the error bits belonging to a first error bit The number of error bits of the type, count the number of error bits belonging to a second error bit type among these error bits and compare the number of error bits belonging to the first error bit type with the number of error bits belonging to the second error bit type The number of error bits in the state is used as the error bit information, 其中属于该第一错误位型态的错误位是应对应该第一储存状态但被误认为对应该第二储存状态的位,Wherein the erroneous bit belonging to the first erroneous bit type is a bit corresponding to the first storage state but misidentified as corresponding to the second storage state, 其中属于该第二错误位型态的错误位是应对应该第二储存状态但被误认为对应该第一储存状态的位。The erroneous bits belonging to the second erroneous bit type are bits corresponding to the second storage state but misidentified as corresponding to the first storage state. 26.如权利要求25所述的存储器储存装置,其中该读取电压更新电路依据属于该第一错误位型态的错误位的数目与属于该第二错误位型态的错误位的数目来计算该至少一补偿电压之中的一第一补偿电压。26. The memory storage device of claim 25, wherein the read voltage updating circuit calculates according to the number of error bits belonging to the first error bit type and the number of error bits belonging to the second error bit type A first compensation voltage among the at least one compensation voltage. 27.如权利要求26所述的存储器储存装置,其中该读取电压更新电路使用该第一补偿电压将该第一阈值电压调整成该至少一已调整阈值电压之中的一第一已调整阈值电压。27. The memory storage device of claim 26, wherein the read voltage update circuit uses the first compensation voltage to adjust the first threshold voltage to a first adjusted threshold among the at least one adjusted threshold voltage Voltage. 28.如权利要求24所述的存储器储存装置,其中该存储器管理电路还用以建立一读取电压表,以记录该至少一已调整阈值电压。28. The memory storage device of claim 24, wherein the memory management circuit is further configured to create a read voltage table to record the at least one adjusted threshold voltage. 29.如权利要求28所述的存储器储存装置,其中该存储器管理电路还用以将这些实体页面分组为多个实体页面群,29. The memory storage device as claimed in claim 28, wherein the memory management circuit is further used to group the physical pages into a plurality of physical page groups, 其中该第一实体页面与该第二实体页面属于这些实体页面群之中的一第一实体页面群,并且在该读取电压表中该至少一已调整阈值电压是对应该其第一实体页面群。Wherein the first physical page and the second physical page belong to a first physical page group among the physical page groups, and the at least one adjusted threshold voltage in the read voltage table corresponds to the first physical page thereof group. 30.如权利要求29所述的存储器储存装置,其中该存储器管理电路依据该读取电压表使用该至少一已调整阈值电压读取属于该第一实体页面群的其他实体页面。30. The memory storage device of claim 29, wherein the memory management circuit reads other physical pages belonging to the first physical page group using the at least one adjusted threshold voltage according to the read voltage table.
CN201010588208.1A 2010-12-14 2010-12-14 Data reading method, memory storage device and controller thereof Active CN102543196B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010588208.1A CN102543196B (en) 2010-12-14 2010-12-14 Data reading method, memory storage device and controller thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010588208.1A CN102543196B (en) 2010-12-14 2010-12-14 Data reading method, memory storage device and controller thereof

Publications (2)

Publication Number Publication Date
CN102543196A CN102543196A (en) 2012-07-04
CN102543196B true CN102543196B (en) 2015-06-17

Family

ID=46349887

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010588208.1A Active CN102543196B (en) 2010-12-14 2010-12-14 Data reading method, memory storage device and controller thereof

Country Status (1)

Country Link
CN (1) CN102543196B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102831026A (en) * 2012-08-13 2012-12-19 忆正科技(武汉)有限公司 MLC (multi-level cell) and method for dynamically regulating soft bit read voltage threshold of MLC
KR102077811B1 (en) * 2012-08-29 2020-02-14 에스케이하이닉스 주식회사 Semiconductor memory device and method thereof
CN104102598B (en) * 2013-04-09 2018-04-24 群联电子股份有限公司 Data reading method, control circuit, memory module and memory storage device
KR102564441B1 (en) * 2016-04-11 2023-08-08 에스케이하이닉스 주식회사 Data storage device and operating method thereof
JP2017216025A (en) * 2016-05-31 2017-12-07 東芝メモリ株式会社 Semiconductor memory device
CN109840047B (en) * 2017-11-27 2025-07-11 华为技术有限公司 A method and device for reducing read delay
CN110364216B (en) * 2018-04-09 2022-03-01 合肥沛睿微电子股份有限公司 Solid state disk and operation method thereof
CN108717385B (en) * 2018-05-23 2020-09-29 中国科学院微电子研究所 A data recovery method and system for flash memory
CN111383694A (en) * 2018-12-30 2020-07-07 北京兆易创新科技股份有限公司 Nonvolatile memory and operating method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898751A (en) * 2003-10-29 2007-01-17 赛芬半导体有限公司 Method circuit and system for read error detection in a non-volatile memory array
CN101252020A (en) * 2007-02-22 2008-08-27 海力士半导体有限公司 Read method of memory device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7486561B2 (en) * 2006-06-22 2009-02-03 Sandisk Corporation Method for non-real time reprogramming of non-volatile memory to achieve tighter distribution of threshold voltages

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1898751A (en) * 2003-10-29 2007-01-17 赛芬半导体有限公司 Method circuit and system for read error detection in a non-volatile memory array
CN101252020A (en) * 2007-02-22 2008-08-27 海力士半导体有限公司 Read method of memory device

Also Published As

Publication number Publication date
CN102543196A (en) 2012-07-04

Similar Documents

Publication Publication Date Title
TWI447731B (en) Data reading method, memory storage apparatus and controller thereof
CN102543196B (en) Data reading method, memory storage device and controller thereof
US8510637B2 (en) Data reading method, memory storage apparatus and memory controller thereof
US8832526B2 (en) Data reading method, memory controller, and memory storage device
US9257204B2 (en) Read voltage setting method, and control circuit, and memory storage apparatus using the same
US8289771B2 (en) Data reading method and control circuit and memory controller using the same
US8386860B2 (en) Methods of calculating compensation voltage and adjusting threshold voltage and memory apparatus and controller
US9019770B2 (en) Data reading method, and control circuit, memory module and memory storage apparatus and memory module using the same
US9703698B2 (en) Data writing method, memory controller and memory storage apparatus
CN102693758B (en) Data reading method, memory storage device and memory controller thereof
US9047972B2 (en) Methods, devices, and systems for data sensing
US9025374B2 (en) System and method to update read voltages in a non-volatile memory in response to tracking data
US9257187B2 (en) Data storing method, memory control circuit unit and memory storage apparatus
US8972653B2 (en) Memory management method, and memory controller and memory storage apparatus using the same
US9563508B2 (en) Memory management method, memory control circuit unit and memory storage apparatus
CN102314949B (en) Data reading method, control circuit and memory controller
CN104282339A (en) Read voltage setting method, control circuit and memory storage device
CN104952486B (en) Data storage method, memory control circuit unit and memory storage device
US10522234B2 (en) Bit tagging method, memory control circuit unit and memory storage device
CN102831932B (en) Data reading method, memory controller and memory storage device
US8830750B1 (en) Data reading method, and control circuit, memory module and memory storage apparatus using the same
US20140050024A1 (en) Data reading method, and circuit, rewritable non-volatile memory module and memory storage apparatus using the same
CN104167220B (en) Data reading method, control circuit, memory module and memory storage device
TWI446346B (en) Data reading method, memory storage apparatus and memory controller thereof
TWI490865B (en) Data reading method, memory controller and memory storage apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant